@kaiheila/ui-components 0.1.10 → 0.1.13
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 +69 -32
- package/dist/ui-components.js +164 -48
- 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;
|
|
@@ -886,14 +919,13 @@ textarea {
|
|
|
886
919
|
color: var(--text-description-color);
|
|
887
920
|
}
|
|
888
921
|
.selector-contain.type-ghost .selector-select {
|
|
889
|
-
padding: 6px 32px 6px
|
|
922
|
+
padding: 6px 32px 6px 16px;
|
|
890
923
|
border-radius: 16px;
|
|
891
|
-
border-width: 0;
|
|
892
924
|
background-color: var(--menu-background);
|
|
893
925
|
}
|
|
894
926
|
.selector-contain.simple .selector-select {
|
|
895
927
|
border: none;
|
|
896
|
-
padding: 0
|
|
928
|
+
padding: 0 16px 0 0;
|
|
897
929
|
line-height: 1;
|
|
898
930
|
box-shadow: none;
|
|
899
931
|
color: var(--text-description-color);
|
|
@@ -904,6 +936,9 @@ textarea {
|
|
|
904
936
|
box-shadow: none;
|
|
905
937
|
color: var(--text-color);
|
|
906
938
|
}
|
|
939
|
+
.selector-contain.simple .selector-select .dropdown-icon {
|
|
940
|
+
right: 0;
|
|
941
|
+
}
|
|
907
942
|
.selector-option.simple {
|
|
908
943
|
margin-left: 50%;
|
|
909
944
|
margin-top: 10px;
|
|
@@ -926,7 +961,7 @@ textarea {
|
|
|
926
961
|
display: flex;
|
|
927
962
|
position: relative;
|
|
928
963
|
width: 100%;
|
|
929
|
-
padding: 9px
|
|
964
|
+
padding: 9px 48px 9px 16px;
|
|
930
965
|
border: 1px solid var(--border-color);
|
|
931
966
|
border-radius: 12px;
|
|
932
967
|
cursor: pointer;
|
|
@@ -961,13 +996,13 @@ textarea {
|
|
|
961
996
|
display: flex;
|
|
962
997
|
top: 50%;
|
|
963
998
|
transform: translateY(-50%);
|
|
964
|
-
right:
|
|
999
|
+
right: 16px;
|
|
965
1000
|
font-size: 24px;
|
|
966
1001
|
transition: transform 0.2s;
|
|
967
1002
|
}
|
|
968
1003
|
.selector-select .dropdown-icon svg {
|
|
969
|
-
width:
|
|
970
|
-
height:
|
|
1004
|
+
width: 16px;
|
|
1005
|
+
height: 16px;
|
|
971
1006
|
}
|
|
972
1007
|
.selector-option {
|
|
973
1008
|
position: absolute;
|
|
@@ -1025,7 +1060,7 @@ textarea {
|
|
|
1025
1060
|
.selector-search-select {
|
|
1026
1061
|
position: relative;
|
|
1027
1062
|
width: 100%;
|
|
1028
|
-
padding: 9px
|
|
1063
|
+
padding: 9px 48px 9px 16px;
|
|
1029
1064
|
border-radius: 12px;
|
|
1030
1065
|
border: 1px solid var(--border-color);
|
|
1031
1066
|
}
|
|
@@ -1052,6 +1087,7 @@ textarea {
|
|
|
1052
1087
|
overflow: hidden;
|
|
1053
1088
|
text-overflow: ellipsis;
|
|
1054
1089
|
vertical-align: middle;
|
|
1090
|
+
line-height: 20px;
|
|
1055
1091
|
}
|
|
1056
1092
|
.selector-search-select .selector-search-label.none {
|
|
1057
1093
|
color: var(--text-tip-color);
|
|
@@ -1061,15 +1097,16 @@ textarea {
|
|
|
1061
1097
|
display: flex;
|
|
1062
1098
|
top: 50%;
|
|
1063
1099
|
transform: translateY(-50%);
|
|
1064
|
-
right:
|
|
1100
|
+
right: 16px;
|
|
1065
1101
|
font-size: 24px;
|
|
1066
1102
|
transition: transform 0.2s;
|
|
1067
1103
|
}
|
|
1068
1104
|
.selector-search-select .dropdown-icon svg {
|
|
1069
|
-
width:
|
|
1070
|
-
height:
|
|
1105
|
+
width: 16px;
|
|
1106
|
+
height: 16px;
|
|
1071
1107
|
}
|
|
1072
1108
|
.selector-search-select input {
|
|
1109
|
+
height: 19px;
|
|
1073
1110
|
width: 100%;
|
|
1074
1111
|
border: none;
|
|
1075
1112
|
cursor: default;
|
|
@@ -1488,21 +1525,21 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1488
1525
|
}
|
|
1489
1526
|
.time-selector-select:active .dropdown-icon,
|
|
1490
1527
|
.time-selector-select.active .dropdown-icon {
|
|
1491
|
-
transform: rotate(180deg);
|
|
1528
|
+
transform: translateY(-50%) rotate(180deg);
|
|
1492
1529
|
}
|
|
1493
1530
|
.time-selector-select .dropdown-icon {
|
|
1494
1531
|
position: absolute;
|
|
1495
1532
|
display: flex;
|
|
1496
1533
|
top: 50%;
|
|
1497
|
-
|
|
1498
|
-
right:
|
|
1534
|
+
transform: translateY(-50%);
|
|
1535
|
+
right: 16px;
|
|
1499
1536
|
font-size: 24px;
|
|
1500
1537
|
color: var(--text-description-color);
|
|
1501
1538
|
transition: transform 200ms linear;
|
|
1502
1539
|
}
|
|
1503
1540
|
.time-selector-select .dropdown-icon svg {
|
|
1504
|
-
width:
|
|
1505
|
-
height:
|
|
1541
|
+
width: 16px;
|
|
1542
|
+
height: 16px;
|
|
1506
1543
|
}
|
|
1507
1544
|
.time-selector-option {
|
|
1508
1545
|
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
|
|
|
@@ -5535,8 +5684,9 @@ var selector_Selector = /*#__PURE__*/function (_Component) {
|
|
|
5535
5684
|
noTheme = _this$props2.noTheme,
|
|
5536
5685
|
_this$props2$simple = _this$props2.simple,
|
|
5537
5686
|
simple = _this$props2$simple === void 0 ? false : _this$props2$simple,
|
|
5538
|
-
optionsWidth = _this$props2.optionsWidth
|
|
5539
|
-
|
|
5687
|
+
optionsWidth = _this$props2.optionsWidth,
|
|
5688
|
+
optionStyle = _this$props2.optionStyle;
|
|
5689
|
+
var baseStyle = optionStyle || {};
|
|
5540
5690
|
|
|
5541
5691
|
if (optionsWidth) {
|
|
5542
5692
|
baseStyle.width = optionsWidth;
|
|
@@ -5676,19 +5826,7 @@ var selector_Selector = /*#__PURE__*/function (_Component) {
|
|
|
5676
5826
|
}
|
|
5677
5827
|
})), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
5678
5828
|
className: "dropdown-icon"
|
|
5679
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
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", {
|
|
5829
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), this.renderOptions(list, showList), /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
5692
5830
|
className: "ab-shadow",
|
|
5693
5831
|
ref: this.loadShadowRef
|
|
5694
5832
|
}));
|
|
@@ -5752,6 +5890,7 @@ function selector_search_defineProperty(obj, key, value) { if (key in obj) { Obj
|
|
|
5752
5890
|
|
|
5753
5891
|
|
|
5754
5892
|
|
|
5893
|
+
|
|
5755
5894
|
var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
5756
5895
|
selector_search_inherits(SelectorSearch, _Component);
|
|
5757
5896
|
|
|
@@ -6006,19 +6145,7 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
6006
6145
|
className: "selector-search-label"
|
|
6007
6146
|
}, label)), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
6008
6147
|
className: "dropdown-icon"
|
|
6009
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
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", {
|
|
6148
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), showList ? /*#__PURE__*/external_react_default.a.createElement("ul", {
|
|
6022
6149
|
className: "selector-search-option theme-scroll-bar",
|
|
6023
6150
|
style: optionsStyle
|
|
6024
6151
|
}, list) : null);
|
|
@@ -6857,6 +6984,7 @@ function time_selector_defineProperty(obj, key, value) { if (key in obj) { Objec
|
|
|
6857
6984
|
|
|
6858
6985
|
|
|
6859
6986
|
|
|
6987
|
+
|
|
6860
6988
|
var time_selector_TimeSelector = /*#__PURE__*/function (_Component) {
|
|
6861
6989
|
time_selector_inherits(TimeSelector, _Component);
|
|
6862
6990
|
|
|
@@ -7035,19 +7163,7 @@ var time_selector_TimeSelector = /*#__PURE__*/function (_Component) {
|
|
|
7035
7163
|
className: "time-selector-label"
|
|
7036
7164
|
}, "".concat(hour.toString().padStart(2, '0'), ":").concat(minute.toString().padStart(2, '0'))), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
7037
7165
|
className: "dropdown-icon"
|
|
7038
|
-
}, /*#__PURE__*/external_react_default.a.createElement("
|
|
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", {
|
|
7166
|
+
}, /*#__PURE__*/external_react_default.a.createElement(IconDropDown, null))), displayOption && /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
7051
7167
|
className: "time-selector-option",
|
|
7052
7168
|
ref: function ref(e) {
|
|
7053
7169
|
return _this2.optionRef = e;
|