@kaiheila/ui-components 0.1.11 → 0.1.14
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/Readme.md +2 -0
- package/dist/main.css +73 -31
- package/dist/ui-components.js +161 -46
- package/package.json +1 -1
package/Readme.md
CHANGED
package/dist/main.css
CHANGED
|
@@ -100,15 +100,21 @@ textarea {
|
|
|
100
100
|
border-radius: 50%;
|
|
101
101
|
}
|
|
102
102
|
.kaihei-loading-spin:before {
|
|
103
|
-
border: 3px solid
|
|
103
|
+
border: 3px solid rgba(0, 0, 0, 0.12);
|
|
104
|
+
}
|
|
105
|
+
.theme-dark .kaihei-loading-spin:before {
|
|
106
|
+
border-color: rgba(255, 255, 255, 0.12);
|
|
104
107
|
}
|
|
105
108
|
.kaihei-loading-spin:after {
|
|
106
109
|
animation-duration: 0.6s;
|
|
107
110
|
border: 3px solid transparent;
|
|
108
|
-
border-top-color:
|
|
111
|
+
border-top-color: rgba(0, 0, 0, 0.32);
|
|
109
112
|
-webkit-animation: loaderSpin 0.6s linear infinite;
|
|
110
113
|
animation: loaderSpin 0.6s linear infinite;
|
|
111
114
|
}
|
|
115
|
+
.theme-dark .kaihei-loading-spin:after {
|
|
116
|
+
border-top-color: rgba(255, 255, 255, 0.32);
|
|
117
|
+
}
|
|
112
118
|
.kaihei-loading-spin.block-loading-spin {
|
|
113
119
|
display: block;
|
|
114
120
|
margin-left: auto;
|
|
@@ -227,6 +233,10 @@ textarea {
|
|
|
227
233
|
text-align: center;
|
|
228
234
|
outline: none;
|
|
229
235
|
border: 0 none;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
white-space: nowrap;
|
|
238
|
+
text-overflow: ellipsis;
|
|
239
|
+
max-width: 100%;
|
|
230
240
|
/*按钮大小*/
|
|
231
241
|
/*按钮颜色样式*/
|
|
232
242
|
}
|
|
@@ -253,6 +263,7 @@ textarea {
|
|
|
253
263
|
height: 36px;
|
|
254
264
|
min-width: 80px;
|
|
255
265
|
font-size: 14px;
|
|
266
|
+
line-height: 36px;
|
|
256
267
|
padding: 0 12px;
|
|
257
268
|
border-radius: 12px;
|
|
258
269
|
}
|
|
@@ -440,6 +451,12 @@ textarea {
|
|
|
440
451
|
width: 18px;
|
|
441
452
|
line-height: 1;
|
|
442
453
|
}
|
|
454
|
+
.chuanyu-button.loading .btn-loading-ico .kaihei-loading-spin:before {
|
|
455
|
+
border-color: rgba(255, 255, 255, 0.4);
|
|
456
|
+
}
|
|
457
|
+
.chuanyu-button.loading .btn-loading-ico .kaihei-loading-spin:after {
|
|
458
|
+
border-top-color: rgba(255, 255, 255, 0.72);
|
|
459
|
+
}
|
|
443
460
|
.size-sm .button-loading-spin {
|
|
444
461
|
transform-origin: 50%;
|
|
445
462
|
transform: scale(0.9);
|
|
@@ -504,6 +521,15 @@ textarea {
|
|
|
504
521
|
vertical-align: middle;
|
|
505
522
|
box-sizing: border-box;
|
|
506
523
|
}
|
|
524
|
+
.kaihei-checkbox-mute.type-appprimary:hover:not(.disabled) {
|
|
525
|
+
border-color: var(--color-primary);
|
|
526
|
+
}
|
|
527
|
+
.kaihei-checkbox-mute.type-danger:hover:not(.disabled) {
|
|
528
|
+
border-color: var(--color-error);
|
|
529
|
+
}
|
|
530
|
+
.kaihei-checkbox-mute svg {
|
|
531
|
+
visibility: hidden;
|
|
532
|
+
}
|
|
507
533
|
.kaihei-checkbox-mute.active {
|
|
508
534
|
display: inline-flex;
|
|
509
535
|
justify-content: center;
|
|
@@ -520,6 +546,9 @@ textarea {
|
|
|
520
546
|
.kaihei-checkbox-mute.active:before {
|
|
521
547
|
color: white;
|
|
522
548
|
}
|
|
549
|
+
.kaihei-checkbox-mute.active svg {
|
|
550
|
+
visibility: visible;
|
|
551
|
+
}
|
|
523
552
|
.kaihei-checkbox-mute.disabled {
|
|
524
553
|
opacity: 0.5;
|
|
525
554
|
cursor: not-allowed;
|
|
@@ -774,28 +803,32 @@ textarea {
|
|
|
774
803
|
.number-input input {
|
|
775
804
|
color: var(--text-color);
|
|
776
805
|
border: none;
|
|
777
|
-
padding:
|
|
806
|
+
padding: 0;
|
|
778
807
|
width: 42px;
|
|
779
|
-
height:
|
|
808
|
+
height: 32px;
|
|
780
809
|
font-size: 14px;
|
|
781
|
-
text-align: center;
|
|
782
|
-
vertical-align: bottom;
|
|
783
810
|
background-color: transparent;
|
|
811
|
+
display: flex;
|
|
812
|
+
align-items: center;
|
|
813
|
+
justify-content: center;
|
|
814
|
+
text-align: center;
|
|
784
815
|
}
|
|
785
816
|
.number-input .xy-iconfont {
|
|
786
|
-
display:
|
|
787
|
-
width:
|
|
788
|
-
height:
|
|
789
|
-
border-radius:
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
line-height: 24px;
|
|
817
|
+
display: flex;
|
|
818
|
+
width: 32px;
|
|
819
|
+
height: 32px;
|
|
820
|
+
border-radius: 8px;
|
|
821
|
+
font-size: 16px;
|
|
822
|
+
border: 1px solid var(--color-controls);
|
|
823
|
+
align-items: center;
|
|
824
|
+
justify-content: center;
|
|
795
825
|
cursor: pointer;
|
|
796
826
|
}
|
|
797
827
|
.number-input .xy-iconfont:not(.disabled):hover {
|
|
798
|
-
|
|
828
|
+
background: var(--menu-hover);
|
|
829
|
+
}
|
|
830
|
+
.number-input .xy-iconfont:not(.disabled):active {
|
|
831
|
+
background: var(--menu-active);
|
|
799
832
|
}
|
|
800
833
|
.number-input .xy-iconfont.disabled {
|
|
801
834
|
opacity: 0.5;
|
|
@@ -892,7 +925,7 @@ textarea {
|
|
|
892
925
|
}
|
|
893
926
|
.selector-contain.simple .selector-select {
|
|
894
927
|
border: none;
|
|
895
|
-
padding: 0
|
|
928
|
+
padding: 0 16px 0 0;
|
|
896
929
|
line-height: 1;
|
|
897
930
|
box-shadow: none;
|
|
898
931
|
color: var(--text-description-color);
|
|
@@ -903,6 +936,9 @@ textarea {
|
|
|
903
936
|
box-shadow: none;
|
|
904
937
|
color: var(--text-color);
|
|
905
938
|
}
|
|
939
|
+
.selector-contain.simple .selector-select .dropdown-icon {
|
|
940
|
+
right: 0;
|
|
941
|
+
}
|
|
906
942
|
.selector-option.simple {
|
|
907
943
|
margin-left: 50%;
|
|
908
944
|
margin-top: 10px;
|
|
@@ -925,7 +961,7 @@ textarea {
|
|
|
925
961
|
display: flex;
|
|
926
962
|
position: relative;
|
|
927
963
|
width: 100%;
|
|
928
|
-
padding: 9px
|
|
964
|
+
padding: 9px 48px 9px 16px;
|
|
929
965
|
border: 1px solid var(--border-color);
|
|
930
966
|
border-radius: 12px;
|
|
931
967
|
cursor: pointer;
|
|
@@ -960,13 +996,13 @@ textarea {
|
|
|
960
996
|
display: flex;
|
|
961
997
|
top: 50%;
|
|
962
998
|
transform: translateY(-50%);
|
|
963
|
-
right:
|
|
999
|
+
right: 16px;
|
|
964
1000
|
font-size: 24px;
|
|
965
1001
|
transition: transform 0.2s;
|
|
966
1002
|
}
|
|
967
1003
|
.selector-select .dropdown-icon svg {
|
|
968
|
-
width:
|
|
969
|
-
height:
|
|
1004
|
+
width: 16px;
|
|
1005
|
+
height: 16px;
|
|
970
1006
|
}
|
|
971
1007
|
.selector-option {
|
|
972
1008
|
position: absolute;
|
|
@@ -974,11 +1010,13 @@ textarea {
|
|
|
974
1010
|
margin-top: 4px;
|
|
975
1011
|
border-radius: 12px;
|
|
976
1012
|
padding: 8px;
|
|
977
|
-
z-index: 1000;
|
|
978
1013
|
max-height: 240px;
|
|
1014
|
+
font-size: 14px;
|
|
1015
|
+
line-height: 20px;
|
|
979
1016
|
overflow-y: auto;
|
|
980
1017
|
background-color: var(--color-grey-bg);
|
|
981
1018
|
box-shadow: var(--box-shadow);
|
|
1019
|
+
z-index: 1000;
|
|
982
1020
|
}
|
|
983
1021
|
.selector-option.fixed {
|
|
984
1022
|
position: fixed;
|
|
@@ -1023,8 +1061,9 @@ textarea {
|
|
|
1023
1061
|
}
|
|
1024
1062
|
.selector-search-select {
|
|
1025
1063
|
position: relative;
|
|
1064
|
+
display: flex;
|
|
1026
1065
|
width: 100%;
|
|
1027
|
-
padding: 9px
|
|
1066
|
+
padding: 9px 48px 9px 16px;
|
|
1028
1067
|
border-radius: 12px;
|
|
1029
1068
|
border: 1px solid var(--border-color);
|
|
1030
1069
|
}
|
|
@@ -1051,6 +1090,7 @@ textarea {
|
|
|
1051
1090
|
overflow: hidden;
|
|
1052
1091
|
text-overflow: ellipsis;
|
|
1053
1092
|
vertical-align: middle;
|
|
1093
|
+
line-height: 20px;
|
|
1054
1094
|
}
|
|
1055
1095
|
.selector-search-select .selector-search-label.none {
|
|
1056
1096
|
color: var(--text-tip-color);
|
|
@@ -1060,15 +1100,17 @@ textarea {
|
|
|
1060
1100
|
display: flex;
|
|
1061
1101
|
top: 50%;
|
|
1062
1102
|
transform: translateY(-50%);
|
|
1063
|
-
right:
|
|
1103
|
+
right: 16px;
|
|
1064
1104
|
font-size: 24px;
|
|
1065
1105
|
transition: transform 0.2s;
|
|
1066
1106
|
}
|
|
1067
1107
|
.selector-search-select .dropdown-icon svg {
|
|
1068
|
-
width:
|
|
1069
|
-
height:
|
|
1108
|
+
width: 16px;
|
|
1109
|
+
height: 16px;
|
|
1070
1110
|
}
|
|
1071
1111
|
.selector-search-select input {
|
|
1112
|
+
padding: 0;
|
|
1113
|
+
height: 20px;
|
|
1072
1114
|
width: 100%;
|
|
1073
1115
|
border: none;
|
|
1074
1116
|
cursor: default;
|
|
@@ -1487,21 +1529,21 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1487
1529
|
}
|
|
1488
1530
|
.time-selector-select:active .dropdown-icon,
|
|
1489
1531
|
.time-selector-select.active .dropdown-icon {
|
|
1490
|
-
transform: rotate(180deg);
|
|
1532
|
+
transform: translateY(-50%) rotate(180deg);
|
|
1491
1533
|
}
|
|
1492
1534
|
.time-selector-select .dropdown-icon {
|
|
1493
1535
|
position: absolute;
|
|
1494
1536
|
display: flex;
|
|
1495
1537
|
top: 50%;
|
|
1496
|
-
|
|
1497
|
-
right:
|
|
1538
|
+
transform: translateY(-50%);
|
|
1539
|
+
right: 16px;
|
|
1498
1540
|
font-size: 24px;
|
|
1499
1541
|
color: var(--text-description-color);
|
|
1500
1542
|
transition: transform 200ms linear;
|
|
1501
1543
|
}
|
|
1502
1544
|
.time-selector-select .dropdown-icon svg {
|
|
1503
|
-
width:
|
|
1504
|
-
height:
|
|
1545
|
+
width: 16px;
|
|
1546
|
+
height: 16px;
|
|
1505
1547
|
}
|
|
1506
1548
|
.time-selector-option {
|
|
1507
1549
|
position: absolute;
|
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.13\",\"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 */
|
|
@@ -3315,10 +3315,41 @@ var checkbox_Checkbox = /*#__PURE__*/function (_Component) {
|
|
|
3315
3315
|
})), multe ? /*#__PURE__*/external_react_default.a.createElement("a", {
|
|
3316
3316
|
onClick: this.handleClick,
|
|
3317
3317
|
className: external_classnames_default()('kaihei-checkbox-mute', {
|
|
3318
|
-
'active
|
|
3318
|
+
'active': checked,
|
|
3319
3319
|
disabled: disabled
|
|
3320
3320
|
}, 'type-' + type)
|
|
3321
|
-
}
|
|
3321
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
3322
|
+
width: "12px",
|
|
3323
|
+
height: "12px",
|
|
3324
|
+
viewBox: "0 0 12 12",
|
|
3325
|
+
version: "1.1",
|
|
3326
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
3327
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3328
|
+
id: "\u57FA\u7840\u7840\u4EF6",
|
|
3329
|
+
stroke: "none",
|
|
3330
|
+
strokeWidth: "1",
|
|
3331
|
+
fill: "none",
|
|
3332
|
+
fillRule: "evenodd"
|
|
3333
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3334
|
+
id: "\u63A7\u4EF6",
|
|
3335
|
+
transform: "translate(-117.000000, -2389.000000)"
|
|
3336
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3337
|
+
id: "\u72B6\u6001",
|
|
3338
|
+
transform: "translate(80.000000, 2387.000000)"
|
|
3339
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3340
|
+
id: "\u5B8C\u6210",
|
|
3341
|
+
transform: "translate(35.000000, 0.000000)"
|
|
3342
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
3343
|
+
id: "\u6B63\u786E",
|
|
3344
|
+
transform: "translate(2.000000, 2.000000)"
|
|
3345
|
+
}, /*#__PURE__*/external_react_default.a.createElement("polyline", {
|
|
3346
|
+
id: "\u8DEF\u5F84-9",
|
|
3347
|
+
stroke: "#FFFFFF",
|
|
3348
|
+
strokeWidth: "2",
|
|
3349
|
+
strokeLinecap: "round",
|
|
3350
|
+
strokeLinejoin: "round",
|
|
3351
|
+
points: "2.26 5.84768747 4.06476748 8.90524154 10.1330175 2.90524154"
|
|
3352
|
+
})))))))) : /*#__PURE__*/external_react_default.a.createElement("a", {
|
|
3322
3353
|
onClick: this.handleClick,
|
|
3323
3354
|
className: external_classnames_default()("kaihei-checkbox ".concat(checked ? ' active' : ''), {
|
|
3324
3355
|
disabled: disabled
|
|
@@ -4423,16 +4454,58 @@ var number_input_NumberInput = /*#__PURE__*/function (_Component) {
|
|
|
4423
4454
|
min = _this$props2.min,
|
|
4424
4455
|
max = _this$props2.max,
|
|
4425
4456
|
maxLength = _this$props2.maxLength;
|
|
4457
|
+
console.log('console log to chrome min', min);
|
|
4426
4458
|
return /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
4427
4459
|
className: "number-input"
|
|
4428
4460
|
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4429
|
-
className: external_classnames_default()('xy-iconfont
|
|
4461
|
+
className: external_classnames_default()('xy-iconfont', {
|
|
4430
4462
|
disabled: inputValue <= min
|
|
4431
4463
|
}),
|
|
4432
4464
|
onClick: function onClick() {
|
|
4433
4465
|
return _this2.onConfirm(inputValue - step);
|
|
4434
4466
|
}
|
|
4435
|
-
}
|
|
4467
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4468
|
+
width: "16px",
|
|
4469
|
+
height: "16px",
|
|
4470
|
+
viewBox: "0 0 16 16",
|
|
4471
|
+
version: "1.1"
|
|
4472
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4473
|
+
id: "\u5F39\u7A97",
|
|
4474
|
+
stroke: "none",
|
|
4475
|
+
"stroke-width": "1",
|
|
4476
|
+
fill: "none",
|
|
4477
|
+
"fill-rule": "evenodd"
|
|
4478
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4479
|
+
id: "\u8FDB\u6B65\u5668",
|
|
4480
|
+
transform: "translate(-635.000000, -255.000000)"
|
|
4481
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4482
|
+
id: "\u52A9\u529B\u670D\u52A1\u5668",
|
|
4483
|
+
transform: "translate(333.000000, 41.000000)"
|
|
4484
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4485
|
+
id: "\u7F16\u7EC4-2",
|
|
4486
|
+
transform: "translate(24.000000, 164.000000)"
|
|
4487
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4488
|
+
id: "\u7F16\u7EC4-39",
|
|
4489
|
+
transform: "translate(270.000000, 42.000000)"
|
|
4490
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4491
|
+
id: "\u51CF\u5C11",
|
|
4492
|
+
transform: "translate(8.000000, 8.000000)"
|
|
4493
|
+
}, /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4494
|
+
id: "\u77E9\u5F62",
|
|
4495
|
+
x: "0",
|
|
4496
|
+
y: "0",
|
|
4497
|
+
width: "16",
|
|
4498
|
+
height: "16",
|
|
4499
|
+
rx: "4"
|
|
4500
|
+
}), /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4501
|
+
id: "\u5F62\u72B6\u7ED3\u5408",
|
|
4502
|
+
fill: "#999999",
|
|
4503
|
+
transform: "translate(8.000000, 8.000000) rotate(-270.000000) translate(-8.000000, -8.000000) ",
|
|
4504
|
+
x: "7",
|
|
4505
|
+
y: "2",
|
|
4506
|
+
width: "2",
|
|
4507
|
+
height: "12"
|
|
4508
|
+
}))))))))), /*#__PURE__*/external_react_default.a.createElement("input", {
|
|
4436
4509
|
type: "text",
|
|
4437
4510
|
value: inputValue,
|
|
4438
4511
|
maxLength: maxLength,
|
|
@@ -4442,13 +4515,54 @@ var number_input_NumberInput = /*#__PURE__*/function (_Component) {
|
|
|
4442
4515
|
return _this2.onConfirm(target.value);
|
|
4443
4516
|
}
|
|
4444
4517
|
}), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4445
|
-
className: external_classnames_default()('xy-iconfont
|
|
4518
|
+
className: external_classnames_default()('xy-iconfont', {
|
|
4446
4519
|
disabled: inputValue >= max
|
|
4447
4520
|
}),
|
|
4448
4521
|
onClick: function onClick() {
|
|
4449
4522
|
return _this2.onConfirm(inputValue + step);
|
|
4450
4523
|
}
|
|
4451
|
-
}
|
|
4524
|
+
}, /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
4525
|
+
width: "16px",
|
|
4526
|
+
height: "16px",
|
|
4527
|
+
viewBox: "0 0 16 16",
|
|
4528
|
+
version: "1.1"
|
|
4529
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4530
|
+
id: "\u5F39\u7A97",
|
|
4531
|
+
stroke: "none",
|
|
4532
|
+
"stroke-width": "1",
|
|
4533
|
+
fill: "none",
|
|
4534
|
+
"fill-rule": "evenodd"
|
|
4535
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4536
|
+
id: "\u8FDB\u6B65\u5668",
|
|
4537
|
+
transform: "translate(-709.000000, -255.000000)"
|
|
4538
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4539
|
+
id: "\u52A9\u529B\u670D\u52A1\u5668",
|
|
4540
|
+
transform: "translate(333.000000, 41.000000)"
|
|
4541
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4542
|
+
id: "\u7F16\u7EC4-2",
|
|
4543
|
+
transform: "translate(24.000000, 164.000000)"
|
|
4544
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4545
|
+
id: "\u7F16\u7EC4-39",
|
|
4546
|
+
transform: "translate(270.000000, 42.000000)"
|
|
4547
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4548
|
+
id: "\u63A7\u4EF6/\u8F93\u5165\u6846\u5907\u4EFD-2",
|
|
4549
|
+
transform: "translate(74.000000, 0.000000)"
|
|
4550
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
4551
|
+
id: "\u6DFB\u52A0",
|
|
4552
|
+
transform: "translate(8.000000, 8.000000)"
|
|
4553
|
+
}, /*#__PURE__*/external_react_default.a.createElement("rect", {
|
|
4554
|
+
id: "\u77E9\u5F62",
|
|
4555
|
+
x: "0",
|
|
4556
|
+
y: "0",
|
|
4557
|
+
width: "16",
|
|
4558
|
+
height: "16",
|
|
4559
|
+
rx: "4"
|
|
4560
|
+
}), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
4561
|
+
d: "M8,2 C8.55228475,2 9,2.44771525 9,3 L9,7 L13,7 C13.5522847,7 14,7.44771525 14,8 C14,8.55228475 13.5522847,9 13,9 L9,9 L9,13 C9,13.5522847 8.55228475,14 8,14 C7.44771525,14 7,13.5522847 7,13 L7,9 L3,9 C2.44771525,9 2,8.55228475 2,8 C2,7.44771525 2.44771525,7 3,7 L7,7 L7,3 C7,2.44771525 7.44771525,2 8,2 Z",
|
|
4562
|
+
id: "\u5F62\u72B6\u7ED3\u5408",
|
|
4563
|
+
fill: "#999999",
|
|
4564
|
+
transform: "translate(8.000000, 8.000000) rotate(-270.000000) translate(-8.000000, -8.000000) "
|
|
4565
|
+
})))))))))));
|
|
4452
4566
|
}
|
|
4453
4567
|
}]);
|
|
4454
4568
|
|
|
@@ -5427,6 +5541,40 @@ function printEmoji(str) {
|
|
|
5427
5541
|
});
|
|
5428
5542
|
return str;
|
|
5429
5543
|
}
|
|
5544
|
+
// CONCATENATED MODULE: ./src/components/icon/IconDropDown.jsx
|
|
5545
|
+
|
|
5546
|
+
function IconDropDown() {
|
|
5547
|
+
return /*#__PURE__*/external_react_default.a.createElement("svg", {
|
|
5548
|
+
width: "16px",
|
|
5549
|
+
height: "16px",
|
|
5550
|
+
viewBox: "0 0 16 16",
|
|
5551
|
+
version: "1.1",
|
|
5552
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
5553
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5554
|
+
id: "\u57FA\u7840\u7840\u4EF6",
|
|
5555
|
+
stroke: "none",
|
|
5556
|
+
strokeWidth: "1",
|
|
5557
|
+
fill: "none",
|
|
5558
|
+
fillRule: "evenodd"
|
|
5559
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5560
|
+
id: "\u63A7\u4EF6",
|
|
5561
|
+
transform: "translate(-1136.000000, -236.000000)"
|
|
5562
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5563
|
+
id: "\u4E0B\u62C9\u6846",
|
|
5564
|
+
transform: "translate(848.000000, 224.000000)"
|
|
5565
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5566
|
+
id: "\u5C55\u5F00",
|
|
5567
|
+
transform: "translate(288.000000, 12.000000)"
|
|
5568
|
+
}, /*#__PURE__*/external_react_default.a.createElement("g", {
|
|
5569
|
+
id: "\u77E9\u5F62",
|
|
5570
|
+
opacity: "0.100000001"
|
|
5571
|
+
}), /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5572
|
+
d: "M8.70710678,6.20710678 L12.2928932,9.79289322 12.6834175,10.1834175 12.6834175,10.8165825 12.2928932,11.2071068 C12.1053568,11.3946432 11.8510029,11.5 11.5857864,11.5 L4.41421356,11.5 C3.86192881,11.5 3.41421356,11.0522847 3.41421356,10.5 C3.41421356,10.2347835 3.5195704,9.9804296 3.70710678,9.79289322 L7.29289322,6.20710678 C7.68341751,5.81658249 8.31658249,5.81658249 8.70710678,6.20710678 Z",
|
|
5573
|
+
id: "\u4E09\u89D2\u5F62",
|
|
5574
|
+
fill: "currentColor",
|
|
5575
|
+
transform: "translate(8.000000, 8.500000) rotate(-180.000000) translate(-8.000000, -8.500000) "
|
|
5576
|
+
}))))));
|
|
5577
|
+
}
|
|
5430
5578
|
// CONCATENATED MODULE: ./src/components/selector/selector.jsx
|
|
5431
5579
|
function selector_typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { selector_typeof = function _typeof(obj) { return typeof obj; }; } else { selector_typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return selector_typeof(obj); }
|
|
5432
5580
|
|
|
@@ -5463,6 +5611,7 @@ function selector_defineProperty(obj, key, value) { if (key in obj) { Object.def
|
|
|
5463
5611
|
|
|
5464
5612
|
|
|
5465
5613
|
|
|
5614
|
+
|
|
5466
5615
|
var selector_Selector = /*#__PURE__*/function (_Component) {
|
|
5467
5616
|
selector_inherits(Selector, _Component);
|
|
5468
5617
|
|
|
@@ -5677,19 +5826,7 @@ var selector_Selector = /*#__PURE__*/function (_Component) {
|
|
|
5677
5826
|
}
|
|
5678
5827
|
})), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
5679
5828
|
className: "dropdown-icon"
|
|
5680
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
5681
|
-
t: "1655362138862",
|
|
5682
|
-
viewBox: "0 0 1024 1024",
|
|
5683
|
-
version: "1.1",
|
|
5684
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5685
|
-
pId: "5770",
|
|
5686
|
-
width: "200",
|
|
5687
|
-
height: "200"
|
|
5688
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
5689
|
-
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",
|
|
5690
|
-
pId: "5771",
|
|
5691
|
-
fill: "currentColor"
|
|
5692
|
-
})))), this.renderOptions(list, showList), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5829
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), this.renderOptions(list, showList), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5693
5830
|
className: "ab-shadow",
|
|
5694
5831
|
ref: this.loadShadowRef
|
|
5695
5832
|
}));
|
|
@@ -5753,6 +5890,7 @@ function selector_search_defineProperty(obj, key, value) { if (key in obj) { Obj
|
|
|
5753
5890
|
|
|
5754
5891
|
|
|
5755
5892
|
|
|
5893
|
+
|
|
5756
5894
|
var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
5757
5895
|
selector_search_inherits(SelectorSearch, _Component);
|
|
5758
5896
|
|
|
@@ -6007,19 +6145,7 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
6007
6145
|
className: "selector-search-label"
|
|
6008
6146
|
}, label)), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
6009
6147
|
className: "dropdown-icon"
|
|
6010
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
6011
|
-
t: "1655362138862",
|
|
6012
|
-
viewBox: "0 0 1024 1024",
|
|
6013
|
-
version: "1.1",
|
|
6014
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
6015
|
-
pId: "5770",
|
|
6016
|
-
width: "200",
|
|
6017
|
-
height: "200"
|
|
6018
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
6019
|
-
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",
|
|
6020
|
-
pId: "5771",
|
|
6021
|
-
fill: "currentColor"
|
|
6022
|
-
})))), showList ? /*#__PURE__*/external_react_default.a.createElement("ul", {
|
|
6148
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), showList ? /*#__PURE__*/external_react_default.a.createElement("ul", {
|
|
6023
6149
|
className: "selector-search-option theme-scroll-bar",
|
|
6024
6150
|
style: optionsStyle
|
|
6025
6151
|
}, list) : null);
|
|
@@ -6858,6 +6984,7 @@ function time_selector_defineProperty(obj, key, value) { if (key in obj) { Objec
|
|
|
6858
6984
|
|
|
6859
6985
|
|
|
6860
6986
|
|
|
6987
|
+
|
|
6861
6988
|
var time_selector_TimeSelector = /*#__PURE__*/function (_Component) {
|
|
6862
6989
|
time_selector_inherits(TimeSelector, _Component);
|
|
6863
6990
|
|
|
@@ -7036,19 +7163,7 @@ var time_selector_TimeSelector = /*#__PURE__*/function (_Component) {
|
|
|
7036
7163
|
className: "time-selector-label"
|
|
7037
7164
|
}, "".concat(hour.toString().padStart(2, '0'), ":").concat(minute.toString().padStart(2, '0'))), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
7038
7165
|
className: "dropdown-icon"
|
|
7039
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
7040
|
-
t: "1655362138862",
|
|
7041
|
-
viewBox: "0 0 1024 1024",
|
|
7042
|
-
version: "1.1",
|
|
7043
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
7044
|
-
pId: "5770",
|
|
7045
|
-
width: "200",
|
|
7046
|
-
height: "200"
|
|
7047
|
-
}, /*#__PURE__*/external_react_default.a.createElement("path", {
|
|
7048
|
-
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",
|
|
7049
|
-
pId: "5771",
|
|
7050
|
-
fill: "currentColor"
|
|
7051
|
-
})))), displayOption && /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
7166
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), displayOption && /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
7052
7167
|
className: "time-selector-option",
|
|
7053
7168
|
ref: function ref(e) {
|
|
7054
7169
|
return _this2.optionRef = e;
|