@kdcloudjs/kdesign 1.7.19 → 1.7.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +51 -0
- package/dist/kdesign-complete.less +337 -240
- package/dist/kdesign.css +270 -240
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +766 -850
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +3 -3
- package/dist/kdesign.min.js +9 -9
- package/dist/kdesign.min.js.map +1 -1
- package/es/button/style/token.less +1 -0
- package/es/checkbox/checkbox.js +5 -5
- package/es/checkbox/style/index.css +2 -0
- package/es/checkbox/style/index.less +2 -0
- package/es/checkbox/style/token.less +1 -1
- package/es/city-picker/city-picker.d.ts +3 -23
- package/es/city-picker/city-picker.js +351 -124
- package/es/city-picker/interface.d.ts +57 -0
- package/es/city-picker/interface.js +3 -0
- package/es/city-picker/option.d.ts +4 -0
- package/es/city-picker/option.js +42 -0
- package/es/city-picker/style/index.css +264 -239
- package/es/city-picker/style/index.less +262 -218
- package/es/city-picker/style/mixin.less +26 -3
- package/es/city-picker/style/token.less +42 -14
- package/es/config-provider/compDefaultProps.d.ts +15 -0
- package/es/config-provider/compDefaultProps.js +16 -1
- package/es/input/style/token.less +2 -8
- package/es/select/select.js +25 -15
- package/es/tree/tree.js +61 -57
- package/es/tree/treeNode.js +1 -6
- package/es/tree-select/interface.d.ts +1 -0
- package/es/tree-select/style/index.css +4 -1
- package/es/tree-select/style/index.less +5 -1
- package/es/tree-select/style/token.less +1 -0
- package/es/tree-select/tree-select.js +18 -4
- package/lib/button/style/token.less +1 -0
- package/lib/checkbox/checkbox.js +4 -4
- package/lib/checkbox/style/index.css +2 -0
- package/lib/checkbox/style/index.less +2 -0
- package/lib/checkbox/style/token.less +1 -1
- package/lib/city-picker/city-picker.d.ts +3 -23
- package/lib/city-picker/city-picker.js +350 -123
- package/lib/city-picker/interface.d.ts +57 -0
- package/lib/city-picker/interface.js +11 -0
- package/lib/city-picker/option.d.ts +4 -0
- package/lib/city-picker/option.js +55 -0
- package/lib/city-picker/style/index.css +264 -239
- package/lib/city-picker/style/index.less +262 -218
- package/lib/city-picker/style/mixin.less +26 -3
- package/lib/city-picker/style/token.less +42 -14
- package/lib/config-provider/compDefaultProps.d.ts +15 -0
- package/lib/config-provider/compDefaultProps.js +16 -1
- package/lib/input/style/token.less +2 -8
- package/lib/select/select.js +25 -15
- package/lib/tree/tree.js +60 -56
- package/lib/tree/treeNode.js +1 -6
- package/lib/tree-select/interface.d.ts +1 -0
- package/lib/tree-select/style/index.css +4 -1
- package/lib/tree-select/style/index.less +5 -1
- package/lib/tree-select/style/token.less +1 -0
- package/lib/tree-select/tree-select.js +20 -6
- package/package.json +1 -1
- package/es/city-picker/city-group.d.ts +0 -8
- package/es/city-picker/city-group.js +0 -38
- package/es/city-picker/city-list.d.ts +0 -12
- package/es/city-picker/city-list.js +0 -55
- package/es/city-picker/city-panel-item.d.ts +0 -13
- package/es/city-picker/city-panel-item.js +0 -22
- package/es/city-picker/city-panel.d.ts +0 -17
- package/es/city-picker/city-panel.js +0 -153
- package/es/city-picker/city-search-panel.d.ts +0 -9
- package/es/city-picker/city-search-panel.js +0 -44
- package/es/city-picker/no-data.d.ts +0 -3
- package/es/city-picker/no-data.js +0 -18
- package/es/city-picker/utils/grouping.d.ts +0 -7
- package/es/city-picker/utils/grouping.js +0 -24
- package/lib/city-picker/city-group.d.ts +0 -8
- package/lib/city-picker/city-group.js +0 -51
- package/lib/city-picker/city-list.d.ts +0 -12
- package/lib/city-picker/city-list.js +0 -68
- package/lib/city-picker/city-panel-item.d.ts +0 -13
- package/lib/city-picker/city-panel-item.js +0 -35
- package/lib/city-picker/city-panel.d.ts +0 -17
- package/lib/city-picker/city-panel.js +0 -166
- package/lib/city-picker/city-search-panel.d.ts +0 -9
- package/lib/city-picker/city-search-panel.js +0 -57
- package/lib/city-picker/no-data.d.ts +0 -3
- package/lib/city-picker/no-data.js +0 -31
- package/lib/city-picker/utils/grouping.d.ts +0 -7
- package/lib/city-picker/utils/grouping.js +0 -30
package/dist/kdesign.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* @kdcloudjs/kdesign v1.7.
|
|
3
|
+
* @kdcloudjs/kdesign v1.7.20
|
|
4
4
|
*
|
|
5
5
|
* Copyright 2020-present, Kingdee, Inc.
|
|
6
6
|
* All rights reserved.
|
|
@@ -4966,6 +4966,8 @@ template {
|
|
|
4966
4966
|
width: 100%;
|
|
4967
4967
|
cursor: inherit;
|
|
4968
4968
|
opacity: 0;
|
|
4969
|
+
inset: 0;
|
|
4970
|
+
z-index: 1;
|
|
4969
4971
|
}
|
|
4970
4972
|
.kd-checkbox-children {
|
|
4971
4973
|
display: -webkit-inline-box;
|
|
@@ -5328,7 +5330,16 @@ template {
|
|
|
5328
5330
|
普通组件内部自身层级应设置在0-100间
|
|
5329
5331
|
*/
|
|
5330
5332
|
/* ----------- zIndex ——————---- end */
|
|
5331
|
-
|
|
5333
|
+
/* 多行显示省略号 */
|
|
5334
|
+
/* 单行显示省略号 */
|
|
5335
|
+
/** 浮层箭头样式 **/
|
|
5336
|
+
.kd-city-picker {
|
|
5337
|
+
position: relative;
|
|
5338
|
+
-webkit-box-sizing: border-box;
|
|
5339
|
+
box-sizing: border-box;
|
|
5340
|
+
background-color: transparent;
|
|
5341
|
+
cursor: pointer;
|
|
5342
|
+
vertical-align: middle;
|
|
5332
5343
|
display: -webkit-box;
|
|
5333
5344
|
display: -ms-flexbox;
|
|
5334
5345
|
display: flex;
|
|
@@ -5336,204 +5347,179 @@ template {
|
|
|
5336
5347
|
-webkit-box-direction: normal;
|
|
5337
5348
|
-ms-flex-direction: column;
|
|
5338
5349
|
flex-direction: column;
|
|
5339
|
-
position: relative;
|
|
5340
|
-
border-bottom: 1px solid #999;
|
|
5341
5350
|
}
|
|
5342
|
-
.kd-city-picker-
|
|
5343
|
-
|
|
5344
|
-
display: -webkit-box;
|
|
5345
|
-
display: -ms-flexbox;
|
|
5346
|
-
display: flex;
|
|
5347
|
-
-webkit-box-align: center;
|
|
5348
|
-
-ms-flex-align: center;
|
|
5349
|
-
align-items: center;
|
|
5350
|
-
-webkit-box-pack: justify;
|
|
5351
|
-
-ms-flex-pack: justify;
|
|
5352
|
-
justify-content: space-between;
|
|
5353
|
-
font-size: 14px;
|
|
5354
|
-
color: #999999;
|
|
5355
|
-
letter-spacing: 0;
|
|
5356
|
-
line-height: 21px;
|
|
5351
|
+
.kd-city-picker-selector:hover .kd-city-picker-icon-active {
|
|
5352
|
+
color: #3761ca;
|
|
5357
5353
|
}
|
|
5358
|
-
.kd-city-picker-
|
|
5359
|
-
margin-bottom: 9px;
|
|
5360
|
-
font-size: 12px;
|
|
5354
|
+
.kd-city-picker-description {
|
|
5361
5355
|
color: #666666;
|
|
5362
|
-
|
|
5363
|
-
line-height: 18px;
|
|
5356
|
+
font-size: 12px;
|
|
5364
5357
|
}
|
|
5365
|
-
.kd-city-picker-
|
|
5366
|
-
|
|
5358
|
+
.kd-city-picker-visible .kd-city-picker-icon-active {
|
|
5359
|
+
color: #3761ca;
|
|
5367
5360
|
}
|
|
5368
|
-
.kd-city-picker-
|
|
5369
|
-
|
|
5370
|
-
outline: none;
|
|
5371
|
-
-webkit-box-flex: 1;
|
|
5372
|
-
-ms-flex-positive: 1;
|
|
5373
|
-
flex-grow: 1;
|
|
5374
|
-
width: 50%;
|
|
5375
|
-
color: #212121;
|
|
5361
|
+
.kd-city-picker-visible div.kd-city-picker-show-search .kd-city-picker-selection-item {
|
|
5362
|
+
color: var(--kd-c-city-picker-placeholder-color-text, #b2b2b2);
|
|
5376
5363
|
}
|
|
5377
|
-
.kd-city-picker-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
|
-
|
|
5383
|
-
|
|
5384
|
-
|
|
5385
|
-
transition: transform 0.2s ease, -webkit-transform 0.2s ease;
|
|
5364
|
+
.kd-city-picker-icon-arrow {
|
|
5365
|
+
display: -webkit-inline-box;
|
|
5366
|
+
display: -ms-inline-flexbox;
|
|
5367
|
+
display: inline-flex;
|
|
5368
|
+
-webkit-box-align: center;
|
|
5369
|
+
-ms-flex-align: center;
|
|
5370
|
+
align-items: center;
|
|
5371
|
+
vertical-align: middle;
|
|
5386
5372
|
}
|
|
5387
|
-
.kd-city-picker-
|
|
5373
|
+
.kd-city-picker-icon-arrow-up {
|
|
5388
5374
|
-webkit-transform: rotate(180deg);
|
|
5389
5375
|
transform: rotate(180deg);
|
|
5376
|
+
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5377
|
+
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5378
|
+
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5379
|
+
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5390
5380
|
}
|
|
5391
|
-
.kd-city-picker-
|
|
5381
|
+
.kd-city-picker-icon-arrow-down {
|
|
5382
|
+
-webkit-transform: rotate(0deg);
|
|
5383
|
+
transform: rotate(0deg);
|
|
5384
|
+
-webkit-transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5385
|
+
transition: -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5386
|
+
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5387
|
+
transition: transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1), -webkit-transform calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5388
|
+
}
|
|
5389
|
+
.kd-city-picker-icon-clear {
|
|
5392
5390
|
opacity: 0;
|
|
5393
|
-
|
|
5394
|
-
|
|
5395
|
-
|
|
5391
|
+
z-index: 1;
|
|
5392
|
+
position: absolute;
|
|
5393
|
+
background: #fff;
|
|
5394
|
+
-webkit-transition: opacity 0.15s ease;
|
|
5395
|
+
transition: opacity 0.15s ease;
|
|
5396
5396
|
}
|
|
5397
|
-
.kd-city-picker-
|
|
5398
|
-
|
|
5399
|
-
height: var(--kd-c-city-picker-panel-sizing-height, 373px);
|
|
5400
|
-
font-size: var(--kd-c-city-picker-panel-font-size, 12px);
|
|
5401
|
-
line-height: 18px;
|
|
5402
|
-
letter-spacing: 0;
|
|
5397
|
+
.kd-city-picker-icon-clear:hover {
|
|
5398
|
+
color: var(--kd-c-city-picker-color-border-hover, var(--kd-g-color-theme, #5582f3));
|
|
5403
5399
|
}
|
|
5404
|
-
.kd-city-picker-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5400
|
+
.kd-city-picker-placeholder {
|
|
5401
|
+
position: absolute;
|
|
5402
|
+
color: var(--kd-c-city-picker-placeholder-color-text, #b2b2b2);
|
|
5403
|
+
overflow: hidden;
|
|
5404
|
+
white-space: nowrap;
|
|
5405
|
+
text-overflow: ellipsis;
|
|
5406
|
+
right: 24px;
|
|
5407
|
+
left: 0;
|
|
5412
5408
|
}
|
|
5413
|
-
.kd-city-picker-
|
|
5414
|
-
|
|
5415
|
-
cursor: pointer;
|
|
5416
|
-
padding: 3px 0;
|
|
5409
|
+
.kd-city-picker-borderless {
|
|
5410
|
+
border: none;
|
|
5417
5411
|
}
|
|
5418
|
-
.kd-city-picker-
|
|
5419
|
-
|
|
5420
|
-
z-index: 1;
|
|
5412
|
+
.kd-city-picker-underline {
|
|
5413
|
+
border-bottom: 1px solid var(--kd-c-city-picker-color-border, var(--kd-g-color-input, #999));
|
|
5421
5414
|
}
|
|
5422
|
-
.kd-city-picker-
|
|
5423
|
-
|
|
5424
|
-
background: #fff;
|
|
5415
|
+
.kd-city-picker-underline:hover:not(.kd-city-picker-disabled) {
|
|
5416
|
+
border-bottom: 1px solid var(--kd-c-city-picker-color-border-hover, var(--kd-g-color-theme, #5582f3));
|
|
5425
5417
|
}
|
|
5426
|
-
.kd-city-picker-
|
|
5427
|
-
|
|
5418
|
+
.kd-city-picker-bordered {
|
|
5419
|
+
border: 1px solid var(--kd-c-city-picker-border-color-border, var(--kd-g-color-border-strong, #d9d9d9));
|
|
5420
|
+
padding-left: var(--kd-c-city-picker-bordered-spacing-padding-left, 8px) !important;
|
|
5421
|
+
border-radius: var(--kd-c-city-picker-bordered-radius-border, 2px);
|
|
5428
5422
|
}
|
|
5429
|
-
.kd-city-picker-
|
|
5430
|
-
|
|
5431
|
-
content: '';
|
|
5432
|
-
top: 0;
|
|
5433
|
-
left: 0;
|
|
5434
|
-
right: 0;
|
|
5435
|
-
bottom: 0;
|
|
5436
|
-
z-index: -2;
|
|
5437
|
-
background: var(--kd-c-city-picker-color-background, var(--kd-g-color-background-contain, #fafafa));
|
|
5438
|
-
border-radius: 2px 4px 0 0;
|
|
5439
|
-
-webkit-transform: scaleY(1.25) perspective(18px) rotateX(10deg);
|
|
5440
|
-
transform: scaleY(1.25) perspective(18px) rotateX(10deg);
|
|
5441
|
-
-webkit-transform-origin: bottom left;
|
|
5442
|
-
transform-origin: bottom left;
|
|
5443
|
-
-webkit-box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
5444
|
-
box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
5445
|
-
}
|
|
5446
|
-
.kd-city-picker-panel-container .kd-city-picker-header .kd-city-picker-header-internation {
|
|
5447
|
-
width: 108px;
|
|
5448
|
-
margin-left: -13px;
|
|
5449
|
-
}
|
|
5450
|
-
.kd-city-picker-panel-container .kd-city-picker-header .kd-city-picker-header-internation::before {
|
|
5451
|
-
position: absolute;
|
|
5452
|
-
content: '';
|
|
5453
|
-
top: 0;
|
|
5454
|
-
left: 0;
|
|
5455
|
-
right: 0;
|
|
5456
|
-
bottom: 0;
|
|
5457
|
-
z-index: -2;
|
|
5458
|
-
background: var(--kd-c-city-picker-color-background, var(--kd-g-color-background-contain, #fafafa));
|
|
5459
|
-
border-radius: 4px 4px 0 0;
|
|
5460
|
-
-webkit-transform: scaleY(1.25) perspective(18px) rotateX(10deg);
|
|
5461
|
-
transform: scaleY(1.25) perspective(18px) rotateX(10deg);
|
|
5462
|
-
-webkit-transform-origin: bottom;
|
|
5463
|
-
transform-origin: bottom;
|
|
5464
|
-
-webkit-box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
5465
|
-
box-shadow: 0 -1px 2px 0 rgba(0, 0, 0, 0.2);
|
|
5466
|
-
}
|
|
5467
|
-
.kd-city-picker-panel-item {
|
|
5468
|
-
margin: 4px 6px;
|
|
5469
|
-
padding: 3px 6px;
|
|
5470
|
-
color: #212121;
|
|
5471
|
-
width: 72px;
|
|
5472
|
-
cursor: pointer;
|
|
5423
|
+
.kd-city-picker-bordered:hover:not(.kd-city-picker-disabled) {
|
|
5424
|
+
border: 1px solid var(--kd-c-city-picker-color-border-hover, var(--kd-g-color-theme, #5582f3));
|
|
5473
5425
|
}
|
|
5474
|
-
.kd-city-picker-
|
|
5475
|
-
|
|
5476
|
-
border-radius: 2px;
|
|
5426
|
+
.kd-city-picker-bordered .kd-city-picker-suffix {
|
|
5427
|
+
padding-right: 8px;
|
|
5477
5428
|
}
|
|
5478
|
-
.kd-city-picker-
|
|
5479
|
-
|
|
5480
|
-
padding: 0 20px 12px 20px;
|
|
5481
|
-
background: #fff;
|
|
5482
|
-
-webkit-box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
|
|
5483
|
-
box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.2);
|
|
5484
|
-
border-radius: 0 var(--kd-c-city-picker-panel-radius-border, var(--kd-g-radius-border, 2px)) var(--kd-c-city-picker-panel-radius-border, var(--kd-g-radius-border, 2px)) var(--kd-c-city-picker-panel-radius-border, var(--kd-g-radius-border, 2px));
|
|
5429
|
+
.kd-city-picker-bordered .kd-city-picker-placeholder {
|
|
5430
|
+
padding-left: var(--kd-c-city-picker-bordered-spacing-padding-left, 8px);
|
|
5485
5431
|
}
|
|
5486
|
-
.kd-city-picker-
|
|
5432
|
+
.kd-city-picker-wrapper {
|
|
5433
|
+
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
5434
|
+
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
5435
|
+
padding: var(--kd-c-city-picker-wrapper-spacing-padding, 1px 24px 1px 0);
|
|
5436
|
+
max-width: 100%;
|
|
5437
|
+
color: #212121;
|
|
5487
5438
|
display: -webkit-box;
|
|
5488
5439
|
display: -ms-flexbox;
|
|
5489
5440
|
display: flex;
|
|
5441
|
+
-ms-flex-wrap: wrap;
|
|
5442
|
+
flex-wrap: wrap;
|
|
5490
5443
|
-webkit-box-align: center;
|
|
5491
5444
|
-ms-flex-align: center;
|
|
5492
5445
|
align-items: center;
|
|
5493
|
-
|
|
5494
|
-
|
|
5446
|
+
cursor: pointer;
|
|
5447
|
+
-webkit-box-sizing: border-box;
|
|
5448
|
+
box-sizing: border-box;
|
|
5449
|
+
overflow-y: auto;
|
|
5450
|
+
overflow-x: hidden;
|
|
5451
|
+
position: relative;
|
|
5495
5452
|
}
|
|
5496
|
-
.kd-city-picker-
|
|
5497
|
-
|
|
5498
|
-
|
|
5499
|
-
|
|
5500
|
-
-
|
|
5501
|
-
|
|
5502
|
-
|
|
5503
|
-
|
|
5453
|
+
.kd-city-picker-wrapper:hover .kd-city-picker-icon-clear {
|
|
5454
|
+
opacity: 1;
|
|
5455
|
+
}
|
|
5456
|
+
.kd-city-picker-wrapper .kd-city-picker-icon-clear {
|
|
5457
|
+
color: var(--kd-c-city-picker-icon-clear-color-text, #d9d9d9);
|
|
5458
|
+
}
|
|
5459
|
+
.kd-city-picker-wrapper .kd-city-picker-icon-clear:hover {
|
|
5460
|
+
color: var(--kd-c-city-picker-icon-clear-color-text-hover, #999);
|
|
5461
|
+
}
|
|
5462
|
+
.kd-city-picker-show-search {
|
|
5463
|
+
cursor: text;
|
|
5464
|
+
}
|
|
5465
|
+
.kd-city-picker-dropdown {
|
|
5466
|
+
display: block;
|
|
5467
|
+
left: 0;
|
|
5468
|
+
z-index: var(--kd-c-city-picker-z-index, var(--kd-g-z-index-popper, 1050));
|
|
5504
5469
|
-webkit-box-sizing: border-box;
|
|
5505
5470
|
box-sizing: border-box;
|
|
5506
|
-
|
|
5507
|
-
|
|
5471
|
+
margin: 0;
|
|
5472
|
+
overflow: auto;
|
|
5473
|
+
font-size: var(--kd-c-city-picker-dropdown-font-size, 12px);
|
|
5474
|
+
font-variant: initial;
|
|
5475
|
+
background-color: var(--kd-c-city-picker-dropdown-color-background, var(--kd-g-color-background, #fff));
|
|
5476
|
+
border-radius: var(--kd-c-city-picker-radius-border, var(--kd-g-radius-border, 2px));
|
|
5477
|
+
outline: none;
|
|
5478
|
+
-webkit-box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
5479
|
+
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
5480
|
+
}
|
|
5481
|
+
.kd-city-picker-dropdown .kd-tabs-tab-list {
|
|
5482
|
+
width: 100%;
|
|
5483
|
+
}
|
|
5484
|
+
.kd-city-picker-dropdown .kd-tabs-tab-list > span {
|
|
5485
|
+
width: 50%;
|
|
5486
|
+
}
|
|
5487
|
+
.kd-city-picker-dropdown .kd-tabs-tab-list .kd-tab-pane {
|
|
5508
5488
|
text-align: center;
|
|
5509
5489
|
}
|
|
5510
|
-
.kd-city-picker-
|
|
5511
|
-
|
|
5490
|
+
.kd-city-picker-dropdown .kd-tabs-tab-list .kd-tab-pane-type-line {
|
|
5491
|
+
padding: 0 12px;
|
|
5492
|
+
font-size: 12px;
|
|
5512
5493
|
}
|
|
5513
|
-
.kd-city-picker-
|
|
5514
|
-
|
|
5515
|
-
border-bottom: 2px solid var(--kd-c-city-picker-color, var(--kd-g-color-theme, #5582f3));
|
|
5494
|
+
.kd-city-picker-dropdown .kd-tabs-noContainer {
|
|
5495
|
+
height: unset;
|
|
5516
5496
|
}
|
|
5517
|
-
.kd-city-picker-
|
|
5518
|
-
|
|
5519
|
-
flex-shrink: 1;
|
|
5497
|
+
.kd-city-picker-dropdown .kd-tabs-right-arrows {
|
|
5498
|
+
display: none;
|
|
5520
5499
|
}
|
|
5521
|
-
.kd-city-picker-
|
|
5500
|
+
.kd-city-picker-dropdown-empty {
|
|
5501
|
+
height: 48px;
|
|
5522
5502
|
display: -webkit-box;
|
|
5523
5503
|
display: -ms-flexbox;
|
|
5524
5504
|
display: flex;
|
|
5525
|
-
-
|
|
5526
|
-
flex-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5505
|
+
-webkit-box-align: center;
|
|
5506
|
+
-ms-flex-align: center;
|
|
5507
|
+
align-items: center;
|
|
5508
|
+
-webkit-box-pack: center;
|
|
5509
|
+
-ms-flex-pack: center;
|
|
5510
|
+
justify-content: center;
|
|
5511
|
+
color: #b2b2b2;
|
|
5512
|
+
font-size: 14px;
|
|
5530
5513
|
}
|
|
5531
|
-
.kd-city-picker-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5514
|
+
.kd-city-picker-dropdown-common {
|
|
5515
|
+
height: 32px;
|
|
5516
|
+
line-height: 32px;
|
|
5517
|
+
padding: 0 12px;
|
|
5518
|
+
background: #fafafa;
|
|
5519
|
+
color: var(--kd-c-city-picker-footer-color-text, var(--kd-g-color-text-primary, #212121));
|
|
5535
5520
|
}
|
|
5536
|
-
.kd-city-picker-
|
|
5521
|
+
.kd-city-picker-dropdown-loading {
|
|
5522
|
+
height: 48px;
|
|
5537
5523
|
display: -webkit-box;
|
|
5538
5524
|
display: -ms-flexbox;
|
|
5539
5525
|
display: flex;
|
|
@@ -5543,113 +5529,154 @@ template {
|
|
|
5543
5529
|
-webkit-box-pack: center;
|
|
5544
5530
|
-ms-flex-pack: center;
|
|
5545
5531
|
justify-content: center;
|
|
5546
|
-
width: 32px;
|
|
5547
|
-
height: 32px;
|
|
5548
|
-
color: #999;
|
|
5549
|
-
margin-right: 32px;
|
|
5550
|
-
-ms-flex-negative: 0;
|
|
5551
|
-
flex-shrink: 0;
|
|
5552
|
-
-webkit-box-flex: 0;
|
|
5553
|
-
-ms-flex-positive: 0;
|
|
5554
|
-
flex-grow: 0;
|
|
5555
5532
|
}
|
|
5556
|
-
.kd-city-picker-
|
|
5533
|
+
.kd-city-picker-list {
|
|
5534
|
+
padding: 8px 0;
|
|
5535
|
+
max-height: 320px;
|
|
5536
|
+
overflow-y: auto;
|
|
5537
|
+
}
|
|
5538
|
+
.kd-city-picker-list-item {
|
|
5539
|
+
position: relative;
|
|
5540
|
+
display: block;
|
|
5541
|
+
font-weight: normal;
|
|
5542
|
+
font-size: var(--kd-c-city-picker-dropdown-font-size, 12px);
|
|
5543
|
+
min-height: var(--kd-c-city-picker-item-sizing-height, 22px);
|
|
5544
|
+
padding: 5px 12px;
|
|
5545
|
+
color: var(--kd-c-city-picker-footer-color-text, var(--kd-g-color-text-primary, #212121));
|
|
5546
|
+
line-height: var(--kd-c-city-picker-dropdown-line-height, 22px);
|
|
5557
5547
|
display: -webkit-box;
|
|
5558
5548
|
display: -ms-flexbox;
|
|
5559
5549
|
display: flex;
|
|
5560
|
-
-ms-flex-wrap: wrap;
|
|
5561
|
-
flex-wrap: wrap;
|
|
5562
|
-
}
|
|
5563
|
-
.kd-city-picker-city-table .kd-city-picker-city-table-cell {
|
|
5564
|
-
margin: 4px 6px;
|
|
5565
|
-
padding: 3px 6px;
|
|
5566
|
-
color: var(--kd-c-city-picker-panel-item-color, var(--kd-g-color-text-primary, #212121));
|
|
5567
5550
|
cursor: pointer;
|
|
5568
|
-
|
|
5551
|
+
}
|
|
5552
|
+
.kd-city-picker-list-item-content {
|
|
5569
5553
|
overflow: hidden;
|
|
5570
5554
|
white-space: nowrap;
|
|
5571
5555
|
text-overflow: ellipsis;
|
|
5572
5556
|
}
|
|
5573
|
-
.kd-city-picker-
|
|
5574
|
-
|
|
5575
|
-
|
|
5557
|
+
.kd-city-picker-list-item-info {
|
|
5558
|
+
color: var(--kd-c-city-picker-placeholder-color-text, #b2b2b2);
|
|
5559
|
+
white-space: nowrap;
|
|
5576
5560
|
}
|
|
5577
|
-
.kd-city-picker-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
color: #
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5561
|
+
.kd-city-picker-list-item:hover {
|
|
5562
|
+
background-color: var(--kd-c-city-picker-color-background, #f5f5f5);
|
|
5563
|
+
}
|
|
5564
|
+
.kd-city-picker-list-item-selected:not(.kd-city-picker-list-item-disabled) {
|
|
5565
|
+
background-color: var(--kd-c-city-picker-color-background-selected, #f2f6ff);
|
|
5566
|
+
}
|
|
5567
|
+
.kd-city-picker-list-item-disabled {
|
|
5568
|
+
color: var(--kd-c-city-picker-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
5569
|
+
cursor: not-allowed;
|
|
5570
|
+
background-color: var(--kd-c-city-picker-item-color-background-disabled, #fff);
|
|
5571
|
+
}
|
|
5572
|
+
.kd-city-picker-highlight {
|
|
5573
|
+
color: #5582f3;
|
|
5574
|
+
}
|
|
5575
|
+
.kd-city-picker-size-small {
|
|
5576
|
+
min-height: var(--kd-c-city-picker-sizing-height-small, 24px);
|
|
5577
|
+
max-height: calc(var(--kd-c-city-picker-sizing-height-small, 24px) * 3 - 10px);
|
|
5578
|
+
font-size: var(--kd-c-city-picker-font-size-small, 12px);
|
|
5579
|
+
}
|
|
5580
|
+
.kd-city-picker-size-middle {
|
|
5581
|
+
min-height: var(--kd-c-city-picker-sizing-height-middle, 30px);
|
|
5582
|
+
max-height: calc(var(--kd-c-city-picker-sizing-height-middle, 30px) * 3 - 10px);
|
|
5583
|
+
font-size: var(--kd-c-city-picker-font-size-middle, 14px);
|
|
5597
5584
|
}
|
|
5598
|
-
.kd-city-picker-
|
|
5585
|
+
.kd-city-picker-size-large {
|
|
5586
|
+
min-height: var(--kd-c-city-picker-sizing-height-large, 36px);
|
|
5587
|
+
max-height: calc(var(--kd-c-city-picker-sizing-height-large, 36px) * 3 - 10px);
|
|
5588
|
+
font-size: var(--kd-c-city-picker-font-size-large, 16px);
|
|
5589
|
+
}
|
|
5590
|
+
.kd-city-picker-suffix {
|
|
5591
|
+
right: 0;
|
|
5592
|
+
position: absolute;
|
|
5599
5593
|
display: -webkit-box;
|
|
5600
5594
|
display: -ms-flexbox;
|
|
5601
5595
|
display: flex;
|
|
5602
|
-
-webkit-box-
|
|
5603
|
-
-ms-flex
|
|
5604
|
-
|
|
5596
|
+
-webkit-box-flex: 0;
|
|
5597
|
+
-ms-flex: 0;
|
|
5598
|
+
flex: 0;
|
|
5599
|
+
-ms-flex-wrap: wrap;
|
|
5600
|
+
flex-wrap: wrap;
|
|
5605
5601
|
-webkit-box-align: center;
|
|
5606
5602
|
-ms-flex-align: center;
|
|
5607
5603
|
align-items: center;
|
|
5608
|
-
|
|
5604
|
+
-webkit-box-pack: center;
|
|
5605
|
+
-ms-flex-pack: center;
|
|
5606
|
+
justify-content: center;
|
|
5607
|
+
margin-left: 8px;
|
|
5609
5608
|
cursor: pointer;
|
|
5610
5609
|
}
|
|
5611
|
-
.kd-city-picker-
|
|
5612
|
-
|
|
5610
|
+
.kd-city-picker-focused {
|
|
5611
|
+
border-color: var(--kd-c-city-picker-color-border-foucs, var(--kd-g-color-theme, #5582f3)) !important;
|
|
5612
|
+
}
|
|
5613
|
+
.kd-city-picker-focused .kd-city-picker-content-item {
|
|
5614
|
+
color: var(--kd-c-city-picker-placeholder-color-text, #b2b2b2);
|
|
5613
5615
|
}
|
|
5614
|
-
.kd-city-picker-
|
|
5616
|
+
.kd-city-picker-disabled {
|
|
5617
|
+
background-color: var(--kd-c-city-picker-color-background-disabled, #fff);
|
|
5618
|
+
color: var(--kd-c-city-picker-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
|
|
5619
|
+
padding-right: 0;
|
|
5620
|
+
border-color: #e5e5e5;
|
|
5621
|
+
}
|
|
5622
|
+
.kd-city-picker-disabled:hover {
|
|
5623
|
+
cursor: not-allowed;
|
|
5624
|
+
}
|
|
5625
|
+
.kd-city-picker-disabled .kd-city-picker-suffix {
|
|
5626
|
+
color: var(--kd-c-city-picker-arrow-icon-color-text-disabled, #b2b2b2);
|
|
5627
|
+
}
|
|
5628
|
+
.kd-city-picker-disabled.kd-city-picker-bordered {
|
|
5629
|
+
padding-right: var(--kd-c-city-picker-bordered-spacing-padding-left, 8px);
|
|
5630
|
+
}
|
|
5631
|
+
.kd-city-picker-content {
|
|
5632
|
+
display: -webkit-box;
|
|
5633
|
+
display: -ms-flexbox;
|
|
5634
|
+
display: flex;
|
|
5635
|
+
width: 100%;
|
|
5636
|
+
font-size: 14px;
|
|
5637
|
+
}
|
|
5638
|
+
.kd-city-picker-content-search {
|
|
5639
|
+
-webkit-box-flex: 1;
|
|
5640
|
+
-ms-flex: 1;
|
|
5641
|
+
flex: 1;
|
|
5642
|
+
position: relative;
|
|
5643
|
+
}
|
|
5644
|
+
.kd-city-picker-content-search-input {
|
|
5645
|
+
outline: 0;
|
|
5646
|
+
border-radius: 0;
|
|
5647
|
+
border: none;
|
|
5648
|
+
background: transparent;
|
|
5649
|
+
height: 100%;
|
|
5650
|
+
width: 100%;
|
|
5651
|
+
cursor: pointer;
|
|
5652
|
+
}
|
|
5653
|
+
.kd-city-picker-content-item {
|
|
5654
|
+
display: inline-block;
|
|
5655
|
+
position: absolute;
|
|
5656
|
+
left: 0;
|
|
5657
|
+
right: 0;
|
|
5615
5658
|
overflow: hidden;
|
|
5616
5659
|
white-space: nowrap;
|
|
5617
5660
|
text-overflow: ellipsis;
|
|
5618
|
-
-webkit-box-flex: 0;
|
|
5619
|
-
-ms-flex-positive: 0;
|
|
5620
|
-
flex-grow: 0;
|
|
5621
|
-
-ms-flex-negative: 0;
|
|
5622
|
-
flex-shrink: 0;
|
|
5623
|
-
max-width: 168px;
|
|
5624
5661
|
}
|
|
5625
|
-
.kd-city-picker-
|
|
5626
|
-
-webkit-box-flex:
|
|
5627
|
-
-ms-flex
|
|
5628
|
-
flex
|
|
5629
|
-
-
|
|
5630
|
-
|
|
5631
|
-
max-width: 112px;
|
|
5662
|
+
.kd-city-picker-content-info {
|
|
5663
|
+
-webkit-box-flex: 1;
|
|
5664
|
+
-ms-flex: 1;
|
|
5665
|
+
flex: 1;
|
|
5666
|
+
text-align: right;
|
|
5667
|
+
color: var(--kd-c-city-picker-placeholder-color-text, #b2b2b2);
|
|
5632
5668
|
overflow: hidden;
|
|
5633
5669
|
white-space: nowrap;
|
|
5634
5670
|
text-overflow: ellipsis;
|
|
5635
|
-
text-align: right;
|
|
5636
|
-
color: #999999;
|
|
5637
|
-
}
|
|
5638
|
-
.kd-city-picker-search-keyword {
|
|
5639
|
-
color: var(--kd-c-city-picker-color, var(--kd-g-color-theme, #5582f3));
|
|
5640
5671
|
}
|
|
5641
|
-
.kd-city-picker
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
-webkit-
|
|
5648
|
-
|
|
5649
|
-
align-items: center;
|
|
5650
|
-
-webkit-box-pack: center;
|
|
5651
|
-
-ms-flex-pack: center;
|
|
5652
|
-
justify-content: center;
|
|
5672
|
+
.kd-city-picker.topLeft.hidden,
|
|
5673
|
+
.kd-city-picker.bottomLeft.hidden,
|
|
5674
|
+
.kd-city-picker.topRight.hidden,
|
|
5675
|
+
.kd-city-picker.bottomRight.hidden {
|
|
5676
|
+
opacity: 0;
|
|
5677
|
+
visibility: hidden;
|
|
5678
|
+
-webkit-transition: all calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5679
|
+
transition: all calc(0.3s - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
|
|
5653
5680
|
}
|
|
5654
5681
|
|
|
5655
5682
|
/* ----------- color ——————---- start */
|
|
@@ -19516,7 +19543,7 @@ textarea {
|
|
|
19516
19543
|
z-index: var(--kd-c-tree-select-z-index, var(--kd-g-z-index-popper, 1050));
|
|
19517
19544
|
-webkit-box-sizing: border-box;
|
|
19518
19545
|
box-sizing: border-box;
|
|
19519
|
-
padding:
|
|
19546
|
+
padding: var(--kd-c-tree-select-dropdown-spacing-padding-vertical, 8px) 0;
|
|
19520
19547
|
margin: 0;
|
|
19521
19548
|
overflow: auto;
|
|
19522
19549
|
font-size: var(--kd-c-tree-select-dropdown-font-size, 12px);
|
|
@@ -19528,6 +19555,9 @@ textarea {
|
|
|
19528
19555
|
box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
|
|
19529
19556
|
max-height: 200px;
|
|
19530
19557
|
}
|
|
19558
|
+
.kd-tree-select-dropdown .kd-tree {
|
|
19559
|
+
padding: 0;
|
|
19560
|
+
}
|
|
19531
19561
|
.kd-tree-select-dropdown .kd-tree-node-item {
|
|
19532
19562
|
padding: 0 var(--kd-c-tree-select-dropdown-node-spacing-padding-horizontal, 16px);
|
|
19533
19563
|
}
|