@kaiheila/ui-components 0.1.6 → 0.1.9
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/dist/main.css +103 -78
- package/dist/ui-components.js +72 -13
- package/package.json +1 -1
package/dist/main.css
CHANGED
|
@@ -100,21 +100,15 @@ textarea {
|
|
|
100
100
|
border-radius: 50%;
|
|
101
101
|
}
|
|
102
102
|
.kaihei-loading-spin:before {
|
|
103
|
-
border: 3px solid
|
|
104
|
-
}
|
|
105
|
-
.theme-dark .kaihei-loading-spin:before {
|
|
106
|
-
border-color: rgba(237, 238, 240, 0.07);
|
|
103
|
+
border: 3px solid var(--border-color);
|
|
107
104
|
}
|
|
108
105
|
.kaihei-loading-spin:after {
|
|
109
106
|
animation-duration: 0.6s;
|
|
110
107
|
border: 3px solid transparent;
|
|
111
|
-
border-top-color:
|
|
108
|
+
border-top-color: var(--text-tip-color);
|
|
112
109
|
-webkit-animation: loaderSpin 0.6s linear infinite;
|
|
113
110
|
animation: loaderSpin 0.6s linear infinite;
|
|
114
111
|
}
|
|
115
|
-
.theme-dark .kaihei-loading-spin:after {
|
|
116
|
-
border-top-color: rgba(153, 155, 161, 0.5);
|
|
117
|
-
}
|
|
118
112
|
.kaihei-loading-spin.block-loading-spin {
|
|
119
113
|
display: block;
|
|
120
114
|
margin-left: auto;
|
|
@@ -250,9 +244,10 @@ textarea {
|
|
|
250
244
|
.chuanyu-button.size-sm {
|
|
251
245
|
height: 32px;
|
|
252
246
|
min-width: 80px;
|
|
253
|
-
font-size:
|
|
247
|
+
font-size: 14px;
|
|
254
248
|
padding: 0 12px;
|
|
255
249
|
border-radius: 8px;
|
|
250
|
+
line-height: 32px;
|
|
256
251
|
}
|
|
257
252
|
.chuanyu-button.size-md {
|
|
258
253
|
height: 36px;
|
|
@@ -264,7 +259,7 @@ textarea {
|
|
|
264
259
|
.chuanyu-button.size-lg {
|
|
265
260
|
height: 40px;
|
|
266
261
|
min-width: 88px;
|
|
267
|
-
font-size:
|
|
262
|
+
font-size: 14px;
|
|
268
263
|
padding: 0 16px;
|
|
269
264
|
border-radius: 12px;
|
|
270
265
|
}
|
|
@@ -292,14 +287,18 @@ textarea {
|
|
|
292
287
|
opacity: 0.5;
|
|
293
288
|
background-color: var(--color-primary);
|
|
294
289
|
}
|
|
295
|
-
.chuanyu-button.type-primary
|
|
290
|
+
.chuanyu-button.type-simple-primary {
|
|
296
291
|
background-color: transparent;
|
|
297
292
|
color: var(--color-primary);
|
|
298
293
|
}
|
|
299
|
-
.chuanyu-button.type-primary
|
|
294
|
+
.chuanyu-button.type-simple-primary:hover {
|
|
300
295
|
background-color: var(--color-primary);
|
|
301
296
|
color: #fff;
|
|
302
297
|
}
|
|
298
|
+
.chuanyu-button.type-simple-primary:active {
|
|
299
|
+
background-color: var(--color-primary-active);
|
|
300
|
+
color: #fff;
|
|
301
|
+
}
|
|
303
302
|
.chuanyu-button.type-appprimary {
|
|
304
303
|
background-color: var(--color-primary);
|
|
305
304
|
}
|
|
@@ -441,12 +440,6 @@ textarea {
|
|
|
441
440
|
width: 18px;
|
|
442
441
|
line-height: 1;
|
|
443
442
|
}
|
|
444
|
-
.chuanyu-button.loading .btn-loading-ico .kaihei-loading-spin:before {
|
|
445
|
-
border-color: #edeef0;
|
|
446
|
-
}
|
|
447
|
-
.chuanyu-button.loading .btn-loading-ico .kaihei-loading-spin:after {
|
|
448
|
-
border-top-color: rgba(153, 155, 161, 0.5);
|
|
449
|
-
}
|
|
450
443
|
.size-sm .button-loading-spin {
|
|
451
444
|
transform-origin: 50%;
|
|
452
445
|
transform: scale(0.9);
|
|
@@ -715,18 +708,12 @@ textarea {
|
|
|
715
708
|
.search-input {
|
|
716
709
|
position: relative;
|
|
717
710
|
display: flex;
|
|
711
|
+
align-items: center;
|
|
712
|
+
padding: 0 16px;
|
|
713
|
+
height: 40px;
|
|
714
|
+
font-size: 14px;
|
|
718
715
|
border-radius: 12px;
|
|
719
|
-
line-height: 20px;
|
|
720
716
|
border: 1px solid var(--border-color);
|
|
721
|
-
font-size: 14px;
|
|
722
|
-
}
|
|
723
|
-
.search-input.md {
|
|
724
|
-
height: 32px;
|
|
725
|
-
line-height: 32px;
|
|
726
|
-
}
|
|
727
|
-
.search-input.md .button-clear,
|
|
728
|
-
.search-input.md .button-search {
|
|
729
|
-
font-size: 24px;
|
|
730
717
|
}
|
|
731
718
|
.search-input.noborder {
|
|
732
719
|
border-color: transparent;
|
|
@@ -740,8 +727,8 @@ textarea {
|
|
|
740
727
|
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
741
728
|
}
|
|
742
729
|
.search-input input {
|
|
743
|
-
|
|
744
|
-
width:
|
|
730
|
+
flex: 1;
|
|
731
|
+
min-width: 0;
|
|
745
732
|
height: 100%;
|
|
746
733
|
border: none;
|
|
747
734
|
background: transparent;
|
|
@@ -752,13 +739,13 @@ textarea {
|
|
|
752
739
|
}
|
|
753
740
|
.search-input .button-clear,
|
|
754
741
|
.search-input .button-search {
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
cursor: pointer;
|
|
742
|
+
display: flex;
|
|
743
|
+
margin-left: 16px;
|
|
744
|
+
width: 24px;
|
|
745
|
+
height: 24px;
|
|
746
|
+
font-size: 24px;
|
|
761
747
|
color: var(--text-tip-color);
|
|
748
|
+
cursor: pointer;
|
|
762
749
|
}
|
|
763
750
|
.search-input .button-clear:hover,
|
|
764
751
|
.search-input .button-search:hover {
|
|
@@ -766,7 +753,20 @@ textarea {
|
|
|
766
753
|
}
|
|
767
754
|
.search-input .button-clear:active,
|
|
768
755
|
.search-input .button-search:active {
|
|
769
|
-
color: var(--text-
|
|
756
|
+
color: var(--text-color);
|
|
757
|
+
}
|
|
758
|
+
.search-input .button-clear svg,
|
|
759
|
+
.search-input .button-search svg {
|
|
760
|
+
width: 24px;
|
|
761
|
+
height: 24px;
|
|
762
|
+
}
|
|
763
|
+
.search-input.sm {
|
|
764
|
+
height: 32px;
|
|
765
|
+
padding: 0 8px;
|
|
766
|
+
}
|
|
767
|
+
.search-input.sm .button-clear,
|
|
768
|
+
.search-input.sm .button-search {
|
|
769
|
+
margin-left: 8px;
|
|
770
770
|
}
|
|
771
771
|
.number-input {
|
|
772
772
|
display: flex;
|
|
@@ -889,11 +889,7 @@ textarea {
|
|
|
889
889
|
padding: 6px 32px 6px 12px;
|
|
890
890
|
border-radius: 16px;
|
|
891
891
|
border-width: 0;
|
|
892
|
-
background-color: var(--
|
|
893
|
-
}
|
|
894
|
-
.selector-contain.type-ghost:not([disabled]) .selector-select:hover {
|
|
895
|
-
background-color: var(--color-primary);
|
|
896
|
-
color: white;
|
|
892
|
+
background-color: var(--menu-background);
|
|
897
893
|
}
|
|
898
894
|
.selector-contain.simple .selector-select {
|
|
899
895
|
border: none;
|
|
@@ -962,12 +958,17 @@ textarea {
|
|
|
962
958
|
}
|
|
963
959
|
.selector-select .dropdown-icon {
|
|
964
960
|
position: absolute;
|
|
961
|
+
display: flex;
|
|
965
962
|
top: 50%;
|
|
966
963
|
transform: translateY(-50%);
|
|
967
964
|
right: 10px;
|
|
968
965
|
font-size: 24px;
|
|
969
966
|
transition: transform 0.2s;
|
|
970
967
|
}
|
|
968
|
+
.selector-select .dropdown-icon svg {
|
|
969
|
+
width: 24px;
|
|
970
|
+
height: 24px;
|
|
971
|
+
}
|
|
971
972
|
.selector-option {
|
|
972
973
|
position: absolute;
|
|
973
974
|
width: 100%;
|
|
@@ -1057,11 +1058,16 @@ textarea {
|
|
|
1057
1058
|
}
|
|
1058
1059
|
.selector-search-select .dropdown-icon {
|
|
1059
1060
|
position: absolute;
|
|
1061
|
+
display: flex;
|
|
1060
1062
|
top: 50%;
|
|
1061
1063
|
transform: translateY(-50%);
|
|
1062
1064
|
right: 10px;
|
|
1063
1065
|
font-size: 24px;
|
|
1064
|
-
transition: transform
|
|
1066
|
+
transition: transform 0.2s;
|
|
1067
|
+
}
|
|
1068
|
+
.selector-search-select .dropdown-icon svg {
|
|
1069
|
+
width: 24px;
|
|
1070
|
+
height: 24px;
|
|
1065
1071
|
}
|
|
1066
1072
|
.selector-search-select input {
|
|
1067
1073
|
width: 100%;
|
|
@@ -1104,7 +1110,7 @@ textarea {
|
|
|
1104
1110
|
|
|
1105
1111
|
.custom-tooltip {
|
|
1106
1112
|
padding: 4px 8px;
|
|
1107
|
-
color: #
|
|
1113
|
+
color: #fff;
|
|
1108
1114
|
font-size: 14px;
|
|
1109
1115
|
line-height: 20px;
|
|
1110
1116
|
word-break: break-all;
|
|
@@ -1112,7 +1118,7 @@ textarea {
|
|
|
1112
1118
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
|
|
1113
1119
|
z-index: 100;
|
|
1114
1120
|
pointer-events: none;
|
|
1115
|
-
border-radius:
|
|
1121
|
+
border-radius: 10px;
|
|
1116
1122
|
}
|
|
1117
1123
|
.custom-tooltip.useMaxWidth {
|
|
1118
1124
|
max-width: 160px;
|
|
@@ -1132,7 +1138,7 @@ textarea {
|
|
|
1132
1138
|
body .__react_component_tooltip.type-info {
|
|
1133
1139
|
background-color: #121315;
|
|
1134
1140
|
padding: 4px 8px;
|
|
1135
|
-
color: #
|
|
1141
|
+
color: #fff;
|
|
1136
1142
|
font-size: 14px;
|
|
1137
1143
|
line-height: 20px;
|
|
1138
1144
|
word-break: break-all;
|
|
@@ -1140,7 +1146,7 @@ body .__react_component_tooltip.type-info {
|
|
|
1140
1146
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
|
|
1141
1147
|
z-index: 100;
|
|
1142
1148
|
pointer-events: none;
|
|
1143
|
-
border-radius:
|
|
1149
|
+
border-radius: 10px;
|
|
1144
1150
|
}
|
|
1145
1151
|
body .__react_component_tooltip.type-info.useMaxWidth {
|
|
1146
1152
|
max-width: 160px;
|
|
@@ -1188,7 +1194,7 @@ body .__react_component_tooltip.type-info.place-left:after {
|
|
|
1188
1194
|
}
|
|
1189
1195
|
body .__react_component_tooltip.type-success {
|
|
1190
1196
|
padding: 4px 8px;
|
|
1191
|
-
color: #
|
|
1197
|
+
color: #fff;
|
|
1192
1198
|
font-size: 14px;
|
|
1193
1199
|
line-height: 20px;
|
|
1194
1200
|
word-break: break-all;
|
|
@@ -1196,8 +1202,8 @@ body .__react_component_tooltip.type-success {
|
|
|
1196
1202
|
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.2);
|
|
1197
1203
|
z-index: 100;
|
|
1198
1204
|
pointer-events: none;
|
|
1199
|
-
border-radius:
|
|
1200
|
-
background-color: #
|
|
1205
|
+
border-radius: 10px;
|
|
1206
|
+
background-color: #64dc00;
|
|
1201
1207
|
}
|
|
1202
1208
|
body .__react_component_tooltip.type-success.useMaxWidth {
|
|
1203
1209
|
max-width: 160px;
|
|
@@ -1215,21 +1221,21 @@ body .__react_component_tooltip.type-success .user-fullname {
|
|
|
1215
1221
|
vertical-align: middle;
|
|
1216
1222
|
}
|
|
1217
1223
|
body .__react_component_tooltip.type-success.place-right:after {
|
|
1218
|
-
border-right-color: #
|
|
1224
|
+
border-right-color: #64dc00;
|
|
1219
1225
|
}
|
|
1220
1226
|
body .__react_component_tooltip.type-success.place-top:after {
|
|
1221
|
-
border-top-color: #
|
|
1227
|
+
border-top-color: #64dc00;
|
|
1222
1228
|
}
|
|
1223
1229
|
body .__react_component_tooltip.type-success.place-bottom:after {
|
|
1224
|
-
border-bottom-color: #
|
|
1230
|
+
border-bottom-color: #64dc00;
|
|
1225
1231
|
}
|
|
1226
1232
|
body .__react_component_tooltip.type-success.place-left:after {
|
|
1227
|
-
border-left-color: #
|
|
1233
|
+
border-left-color: #64dc00;
|
|
1228
1234
|
}
|
|
1229
1235
|
body .__react_component_tooltip.type-dark {
|
|
1230
1236
|
margin-top: 0;
|
|
1231
1237
|
padding: 4px 8px;
|
|
1232
|
-
border-radius:
|
|
1238
|
+
border-radius: 10px;
|
|
1233
1239
|
max-width: 136px;
|
|
1234
1240
|
max-height: 62px;
|
|
1235
1241
|
font-size: 12px;
|
|
@@ -1268,23 +1274,42 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1268
1274
|
width: 80px;
|
|
1269
1275
|
}
|
|
1270
1276
|
.ui-switch small {
|
|
1271
|
-
background-color: var(--text-tip-color);
|
|
1272
|
-
border-radius: 100%;
|
|
1273
1277
|
width: 12px;
|
|
1274
1278
|
height: 12px;
|
|
1275
1279
|
position: absolute;
|
|
1276
1280
|
top: 50%;
|
|
1277
1281
|
margin-top: -6px;
|
|
1278
1282
|
left: 2px;
|
|
1279
|
-
transition:
|
|
1283
|
+
transition: 200ms ease-out all;
|
|
1284
|
+
}
|
|
1285
|
+
.ui-switch small::before {
|
|
1286
|
+
content: '';
|
|
1287
|
+
position: absolute;
|
|
1288
|
+
left: 0;
|
|
1289
|
+
top: 0;
|
|
1290
|
+
bottom: 0;
|
|
1291
|
+
right: 0;
|
|
1292
|
+
border-radius: 6px;
|
|
1293
|
+
background-color: var(--text-tip-color);
|
|
1294
|
+
transition: 200ms ease-out all;
|
|
1280
1295
|
}
|
|
1281
1296
|
.ui-switch.checked {
|
|
1282
1297
|
border-color: var(--color-primary);
|
|
1283
1298
|
}
|
|
1284
1299
|
.ui-switch.checked small {
|
|
1285
|
-
left: 14px;
|
|
1300
|
+
left: calc(100% - 14px);
|
|
1301
|
+
}
|
|
1302
|
+
.ui-switch.checked small::before {
|
|
1286
1303
|
background-color: var(--color-primary);
|
|
1287
1304
|
}
|
|
1305
|
+
.ui-switch:active small::before {
|
|
1306
|
+
left: 0;
|
|
1307
|
+
right: -100%;
|
|
1308
|
+
}
|
|
1309
|
+
.ui-switch.checked:active small::before {
|
|
1310
|
+
right: 0;
|
|
1311
|
+
left: -100%;
|
|
1312
|
+
}
|
|
1288
1313
|
/*wider switch text moves small further to the right*/
|
|
1289
1314
|
.ui-switch.wide.checked small {
|
|
1290
1315
|
left: 52px;
|
|
@@ -1339,12 +1364,14 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1339
1364
|
display: flex;
|
|
1340
1365
|
justify-content: center;
|
|
1341
1366
|
align-items: center;
|
|
1342
|
-
border
|
|
1343
|
-
border-width: 1px;
|
|
1367
|
+
border: 1px solid var(--border-color);
|
|
1344
1368
|
}
|
|
1345
1369
|
.kaihei-auth-switch .auth-status-item .xy-iconfont {
|
|
1346
1370
|
font-size: 24px;
|
|
1347
1371
|
}
|
|
1372
|
+
.kaihei-auth-switch .auth-status-item:hover {
|
|
1373
|
+
background-color: var(--menu-hover);
|
|
1374
|
+
}
|
|
1348
1375
|
.kaihei-auth-switch .auth-status-item.close-status {
|
|
1349
1376
|
border-top-left-radius: 8px;
|
|
1350
1377
|
border-bottom-left-radius: 8px;
|
|
@@ -1368,22 +1395,12 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1368
1395
|
.kaihei-auth-switch .auth-status-item.default-status {
|
|
1369
1396
|
border-left-width: 0;
|
|
1370
1397
|
border-right-width: 0;
|
|
1371
|
-
color:
|
|
1398
|
+
color: var(--text-tip-color);
|
|
1372
1399
|
}
|
|
1373
1400
|
.kaihei-auth-switch .auth-status-item.default-status.active {
|
|
1374
1401
|
color: white;
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
border-color: #dddddd;
|
|
1378
|
-
}
|
|
1379
|
-
.theme-light .kaihei-auth-switch .auth-status-item.default-status.active {
|
|
1380
|
-
background-color: #dddddd;
|
|
1381
|
-
}
|
|
1382
|
-
.theme-dark .kaihei-auth-switch .auth-status-item {
|
|
1383
|
-
border-color: rgba(255, 255, 255, 0.38);
|
|
1384
|
-
}
|
|
1385
|
-
.theme-dark .kaihei-auth-switch .auth-status-item.default-status.active {
|
|
1386
|
-
background-color: rgba(255, 255, 255, 0.38);
|
|
1402
|
+
background-color: var(--text-tip-color);
|
|
1403
|
+
border-color: var(--text-tip-color);
|
|
1387
1404
|
}
|
|
1388
1405
|
|
|
1389
1406
|
.textarea-box {
|
|
@@ -1475,17 +1492,25 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1475
1492
|
}
|
|
1476
1493
|
.time-selector-select .dropdown-icon {
|
|
1477
1494
|
position: absolute;
|
|
1495
|
+
display: flex;
|
|
1496
|
+
top: 50%;
|
|
1497
|
+
margin-top: -12px;
|
|
1478
1498
|
right: 8px;
|
|
1479
1499
|
font-size: 24px;
|
|
1480
1500
|
color: var(--text-description-color);
|
|
1481
1501
|
transition: transform 200ms linear;
|
|
1482
1502
|
}
|
|
1503
|
+
.time-selector-select .dropdown-icon svg {
|
|
1504
|
+
width: 24px;
|
|
1505
|
+
height: 24px;
|
|
1506
|
+
}
|
|
1483
1507
|
.time-selector-option {
|
|
1484
1508
|
position: absolute;
|
|
1485
1509
|
width: 100%;
|
|
1486
1510
|
display: flex;
|
|
1487
1511
|
flex-wrap: wrap;
|
|
1488
|
-
|
|
1512
|
+
margin-top: 4px;
|
|
1513
|
+
border-radius: 12px;
|
|
1489
1514
|
background-color: var(--color-grey-bg);
|
|
1490
1515
|
box-shadow: var(--box-shadow);
|
|
1491
1516
|
overflow: hidden;
|
|
@@ -1498,7 +1523,7 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1498
1523
|
width: 100%;
|
|
1499
1524
|
text-align: center;
|
|
1500
1525
|
line-height: 40px;
|
|
1501
|
-
border-top: 1px solid var(--
|
|
1526
|
+
border-top: 1px solid var(--color-line);
|
|
1502
1527
|
cursor: pointer;
|
|
1503
1528
|
}
|
|
1504
1529
|
.time-selector-option .footer:hover {
|
|
@@ -1514,12 +1539,12 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1514
1539
|
height: 210px;
|
|
1515
1540
|
}
|
|
1516
1541
|
.time-selector-hour {
|
|
1517
|
-
border-right: 1px solid var(--
|
|
1542
|
+
border-right: 1px solid var(--color-line);
|
|
1518
1543
|
}
|
|
1519
1544
|
.time-selector-item {
|
|
1520
1545
|
height: 32px;
|
|
1521
1546
|
line-height: 32px;
|
|
1522
|
-
border-radius:
|
|
1547
|
+
border-radius: 8px;
|
|
1523
1548
|
text-align: center;
|
|
1524
1549
|
margin-bottom: 2px;
|
|
1525
1550
|
}
|
package/dist/ui-components.js
CHANGED
|
@@ -2803,7 +2803,7 @@ module.exports = require("react-dom");
|
|
|
2803
2803
|
/* 6 */
|
|
2804
2804
|
/***/ (function(module) {
|
|
2805
2805
|
|
|
2806
|
-
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.
|
|
2806
|
+
module.exports = JSON.parse("{\"name\":\"@kaiheila/ui-components\",\"version\":\"0.1.8\",\"description\":\"开黑啦 UI Components\",\"main\":\"dist/ui-components.js\",\"scripts\":{\"build\":\"webpack\",\"demo\":\"webpack-dev-server --config webpack.config.demo.js\"},\"keywords\":[\"UI\",\"Components\"],\"author\":\"yangchuan\",\"license\":\"ISC\",\"files\":[\"dist\"],\"devDependencies\":{\"@babel/core\":\"^7.15.5\",\"@babel/preset-env\":\"^7.15.6\",\"@babel/preset-react\":\"^7.14.5\",\"@webpack-cli/serve\":\"^1.6.0\",\"babel-loader\":\"^8.2.2\",\"classnames\":\"^2.3.1\",\"css-loader\":\"^2.1.1\",\"html-webpack-plugin\":\"^4.5.2\",\"less\":\"^4.1.2\",\"less-loader\":\"^5.0.0\",\"mini-css-extract-plugin\":\"^0.8.0\",\"prop-types\":\"^15.7.2\",\"react\":\"^16.9.0\",\"react-dom\":\"^16.9.0\",\"react-tooltip\":\"^4.2.21\",\"style-loader\":\"^1.0.0\",\"url-loader\":\"^2.1.0\",\"webpack\":\"^4.40.2\",\"webpack-cli\":\"^3.3.1\",\"webpack-dev-server\":\"^3.2.1\"},\"peerDependencies\":{\"react\":\"^16.9.0\",\"react-dom\":\"^16.9.0\"},\"browserslist\":{\"production\":[\">0.2%\",\"not dead\",\"not op_mini all\"],\"development\":[\"last 1 chrome version\",\"last 1 firefox version\",\"last 1 safari version\"]}}");
|
|
2807
2807
|
|
|
2808
2808
|
/***/ }),
|
|
2809
2809
|
/* 7 */
|
|
@@ -4703,7 +4703,7 @@ var search_input_SearchInput = /*#__PURE__*/function (_Component) {
|
|
|
4703
4703
|
_this$props$placehold = _this$props.placeholder,
|
|
4704
4704
|
placeholder = _this$props$placehold === void 0 ? '' : _this$props$placehold,
|
|
4705
4705
|
_this$props$size = _this$props.size,
|
|
4706
|
-
size = _this$props$size === void 0 ? '
|
|
4706
|
+
size = _this$props$size === void 0 ? '' : _this$props$size,
|
|
4707
4707
|
_this$props$type = _this$props.type,
|
|
4708
4708
|
type = _this$props$type === void 0 ? '' : _this$props$type;
|
|
4709
4709
|
return /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
@@ -4723,11 +4723,35 @@ var search_input_SearchInput = /*#__PURE__*/function (_Component) {
|
|
|
4723
4723
|
type: "text",
|
|
4724
4724
|
placeholder: placeholder
|
|
4725
4725
|
}), value == '' ? /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4726
|
-
className: "button-search
|
|
4727
|
-
}
|
|
4726
|
+
className: "button-search"
|
|
4727
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4728
|
+
t: "1655350445297",
|
|
4729
|
+
viewBox: "0 0 1024 1024",
|
|
4730
|
+
version: "1.1",
|
|
4731
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4732
|
+
pId: "4996",
|
|
4733
|
+
width: "200",
|
|
4734
|
+
height: "200"
|
|
4735
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4736
|
+
d: "M484.693333 130.56a350.122667 350.122667 0 0 1 269.226667 574.037333l132.352 132.394667a32 32 0 0 1-41.642667 48.384l-3.584-3.114667-132.437333-132.394666A350.122667 350.122667 0 1 1 484.693333 130.602667z m0 64a286.122667 286.122667 0 1 0 0 572.245333 286.122667 286.122667 0 0 0 0-572.202666z",
|
|
4737
|
+
pId: "4997",
|
|
4738
|
+
fill: "currentColor"
|
|
4739
|
+
}))) : /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4728
4740
|
onClick: this.clear,
|
|
4729
|
-
className: "button-clear
|
|
4730
|
-
}
|
|
4741
|
+
className: "button-clear"
|
|
4742
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4743
|
+
t: "1655352871719",
|
|
4744
|
+
viewBox: "0 0 1024 1024",
|
|
4745
|
+
version: "1.1",
|
|
4746
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4747
|
+
pId: "5254",
|
|
4748
|
+
width: "200",
|
|
4749
|
+
height: "200"
|
|
4750
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4751
|
+
d: "M380.352 326.912l5.312 4.48L511.936 457.6l126.4-126.272a38.4 38.4 0 0 1 58.752 49.024l-4.48 5.312-126.336 126.272 126.4 126.4a38.4 38.4 0 0 1-49.024 58.752l-5.312-4.48L512 566.336l-126.272 126.4a38.4 38.4 0 0 1-58.752-49.024l4.48-5.312L457.6 512 331.328 385.664a38.4 38.4 0 0 1 49.024-58.752z",
|
|
4752
|
+
pId: "5255",
|
|
4753
|
+
fill: "currentColor"
|
|
4754
|
+
}))));
|
|
4731
4755
|
}
|
|
4732
4756
|
}]);
|
|
4733
4757
|
|
|
@@ -5651,8 +5675,20 @@ var selector_Selector = /*#__PURE__*/function (_Component) {
|
|
|
5651
5675
|
__html: printEmoji(label)
|
|
5652
5676
|
}
|
|
5653
5677
|
})), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
5654
|
-
className: "
|
|
5655
|
-
}
|
|
5678
|
+
className: "dropdown-icon"
|
|
5679
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5680
|
+
t: "1655362138862",
|
|
5681
|
+
viewBox: "0 0 1024 1024",
|
|
5682
|
+
version: "1.1",
|
|
5683
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5684
|
+
pId: "5770",
|
|
5685
|
+
width: "200",
|
|
5686
|
+
height: "200"
|
|
5687
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5688
|
+
d: "M286.144 448.192l24.512 23.808 23.104 21.632 21.76 19.584 20.736 17.472c107.392 87.488 171.52 84.672 281.664-8.448l21.248-18.56 22.4-20.608 23.808-22.72 12.416-12.16a10.752 10.752 0 0 0-7.552-18.432H293.76a10.752 10.752 0 0 0-7.616 18.432z",
|
|
5689
|
+
pId: "5771",
|
|
5690
|
+
fill: "currentColor"
|
|
5691
|
+
})))), this.renderOptions(list, showList), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5656
5692
|
className: "ab-shadow",
|
|
5657
5693
|
ref: this.loadShadowRef
|
|
5658
5694
|
}));
|
|
@@ -5951,7 +5987,6 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
5951
5987
|
ref: this.selectRef,
|
|
5952
5988
|
onClick: this.toggle
|
|
5953
5989
|
}, /*#__PURE__*/external_react_default.a.createElement("input", {
|
|
5954
|
-
className: "search-input",
|
|
5955
5990
|
type: "text",
|
|
5956
5991
|
value: keyword,
|
|
5957
5992
|
onChange: function onChange(event) {
|
|
@@ -5970,8 +6005,20 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
5970
6005
|
}, placeholder ? placeholder : '请选择') : /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
5971
6006
|
className: "selector-search-label"
|
|
5972
6007
|
}, label)), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
5973
|
-
className: "
|
|
5974
|
-
}
|
|
6008
|
+
className: "dropdown-icon"
|
|
6009
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
6010
|
+
t: "1655362138862",
|
|
6011
|
+
viewBox: "0 0 1024 1024",
|
|
6012
|
+
version: "1.1",
|
|
6013
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6014
|
+
pId: "5770",
|
|
6015
|
+
width: "200",
|
|
6016
|
+
height: "200"
|
|
6017
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
6018
|
+
d: "M286.144 448.192l24.512 23.808 23.104 21.632 21.76 19.584 20.736 17.472c107.392 87.488 171.52 84.672 281.664-8.448l21.248-18.56 22.4-20.608 23.808-22.72 12.416-12.16a10.752 10.752 0 0 0-7.552-18.432H293.76a10.752 10.752 0 0 0-7.616 18.432z",
|
|
6019
|
+
pId: "5771",
|
|
6020
|
+
fill: "currentColor"
|
|
6021
|
+
})))), showList ? /*#__PURE__*/external_react_default.a.createElement("ul", {
|
|
5975
6022
|
className: "selector-search-option theme-scroll-bar",
|
|
5976
6023
|
style: optionsStyle
|
|
5977
6024
|
}, list) : null);
|
|
@@ -6987,8 +7034,20 @@ var time_selector_TimeSelector = /*#__PURE__*/function (_Component) {
|
|
|
6987
7034
|
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
6988
7035
|
className: "time-selector-label"
|
|
6989
7036
|
}, "".concat(hour.toString().padStart(2, '0'), ":").concat(minute.toString().padStart(2, '0'))), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
6990
|
-
className: "
|
|
6991
|
-
}
|
|
7037
|
+
className: "dropdown-icon"
|
|
7038
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
7039
|
+
t: "1655362138862",
|
|
7040
|
+
viewBox: "0 0 1024 1024",
|
|
7041
|
+
version: "1.1",
|
|
7042
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7043
|
+
pId: "5770",
|
|
7044
|
+
width: "200",
|
|
7045
|
+
height: "200"
|
|
7046
|
+
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
7047
|
+
d: "M286.144 448.192l24.512 23.808 23.104 21.632 21.76 19.584 20.736 17.472c107.392 87.488 171.52 84.672 281.664-8.448l21.248-18.56 22.4-20.608 23.808-22.72 12.416-12.16a10.752 10.752 0 0 0-7.552-18.432H293.76a10.752 10.752 0 0 0-7.616 18.432z",
|
|
7048
|
+
pId: "5771",
|
|
7049
|
+
fill: "currentColor"
|
|
7050
|
+
})))), displayOption && /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
6992
7051
|
className: "time-selector-option",
|
|
6993
7052
|
ref: function ref(e) {
|
|
6994
7053
|
return _this2.optionRef = e;
|