@kaiheila/ui-components 0.1.12 → 0.1.15
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 +50 -53
- package/dist/ui-components.js +94 -8
- package/package.json +1 -1
package/Readme.md
CHANGED
package/dist/main.css
CHANGED
|
@@ -243,6 +243,7 @@ textarea {
|
|
|
243
243
|
.chuanyu-button.disabled,
|
|
244
244
|
.chuanyu-button:disabled {
|
|
245
245
|
cursor: not-allowed;
|
|
246
|
+
opacity: 0.5;
|
|
246
247
|
}
|
|
247
248
|
.chuanyu-button.size-xs {
|
|
248
249
|
font-size: 12px;
|
|
@@ -294,19 +295,15 @@ textarea {
|
|
|
294
295
|
.chuanyu-button.type-primary:not(.disabled):active {
|
|
295
296
|
background-color: var(--color-primary-active);
|
|
296
297
|
}
|
|
297
|
-
.chuanyu-button.type-primary:disabled {
|
|
298
|
-
opacity: 0.5;
|
|
299
|
-
background-color: var(--color-primary);
|
|
300
|
-
}
|
|
301
298
|
.chuanyu-button.type-simple-primary {
|
|
302
299
|
background-color: transparent;
|
|
303
300
|
color: var(--color-primary);
|
|
304
301
|
}
|
|
305
|
-
.chuanyu-button.type-simple-primary:hover {
|
|
302
|
+
.chuanyu-button.type-simple-primary:not(.disabled):hover {
|
|
306
303
|
background-color: var(--color-primary);
|
|
307
304
|
color: #fff;
|
|
308
305
|
}
|
|
309
|
-
.chuanyu-button.type-simple-primary:active {
|
|
306
|
+
.chuanyu-button.type-simple-primary:not(.disabled):active {
|
|
310
307
|
background-color: var(--color-primary-active);
|
|
311
308
|
color: #fff;
|
|
312
309
|
}
|
|
@@ -316,13 +313,9 @@ textarea {
|
|
|
316
313
|
.chuanyu-button.type-appprimary:not(.disabled):hover {
|
|
317
314
|
background-color: var(--color-primary-hover);
|
|
318
315
|
}
|
|
319
|
-
.chuanyu-button.type-appprimary:active {
|
|
316
|
+
.chuanyu-button.type-appprimary:not(.disabled):active {
|
|
320
317
|
background-color: var(--color-primary-active);
|
|
321
318
|
}
|
|
322
|
-
.chuanyu-button.type-appprimary:disabled {
|
|
323
|
-
opacity: 0.5;
|
|
324
|
-
background-color: var(--color-primary);
|
|
325
|
-
}
|
|
326
319
|
.chuanyu-button.type-danger {
|
|
327
320
|
background-color: var(--color-error);
|
|
328
321
|
}
|
|
@@ -372,10 +365,6 @@ textarea {
|
|
|
372
365
|
.chuanyu-button.type-simple:not(.disabled):active {
|
|
373
366
|
background-color: var(--button-simple-active);
|
|
374
367
|
}
|
|
375
|
-
.chuanyu-button.type-simple:disabled {
|
|
376
|
-
opacity: 0.5;
|
|
377
|
-
background-color: transparent;
|
|
378
|
-
}
|
|
379
368
|
.chuanyu-button.type-default {
|
|
380
369
|
color: var(--text-description-color);
|
|
381
370
|
background-color: var(--button-default);
|
|
@@ -387,9 +376,8 @@ textarea {
|
|
|
387
376
|
background-color: var(--button-default-active);
|
|
388
377
|
}
|
|
389
378
|
.chuanyu-button.type-default:disabled {
|
|
390
|
-
cursor: not-allowed;
|
|
391
379
|
opacity: 0.5;
|
|
392
|
-
background:
|
|
380
|
+
background-color: var(--button-default);
|
|
393
381
|
}
|
|
394
382
|
.chuanyu-button.type-ghost {
|
|
395
383
|
color: var(--text-description-color);
|
|
@@ -402,21 +390,17 @@ textarea {
|
|
|
402
390
|
.chuanyu-button.type-ghost:not(.disabled):active {
|
|
403
391
|
background-color: var(--button-simple-active);
|
|
404
392
|
}
|
|
405
|
-
.chuanyu-button.type-ghost:disabled {
|
|
406
|
-
cursor: not-allowed;
|
|
407
|
-
opacity: 0.5;
|
|
408
|
-
}
|
|
409
393
|
.chuanyu-button.type-ghost-danger {
|
|
410
394
|
color: var(--color-error);
|
|
411
395
|
border-color: var(--color-error);
|
|
412
396
|
border-width: 1px;
|
|
413
397
|
border-style: solid;
|
|
414
398
|
}
|
|
415
|
-
.chuanyu-button.type-ghost-danger:hover {
|
|
399
|
+
.chuanyu-button.type-ghost-danger:not(.disabled):hover {
|
|
416
400
|
color: var(--color-error-hover);
|
|
417
401
|
border-color: var(--color-error-hover);
|
|
418
402
|
}
|
|
419
|
-
.chuanyu-button.type-ghost-danger:active {
|
|
403
|
+
.chuanyu-button.type-ghost-danger:not(.disabled):active {
|
|
420
404
|
color: var(--color-error-hover);
|
|
421
405
|
border-color: var(--color-error-hover);
|
|
422
406
|
}
|
|
@@ -425,10 +409,10 @@ textarea {
|
|
|
425
409
|
background-color: transparent;
|
|
426
410
|
border: 1px solid rgba(228, 75, 77);
|
|
427
411
|
}
|
|
428
|
-
.chuanyu-button.type-simple-danger:hover {
|
|
412
|
+
.chuanyu-button.type-simple-danger:not(.disabled):hover {
|
|
429
413
|
border: 1px solid rgba(230, 93, 95);
|
|
430
414
|
}
|
|
431
|
-
.chuanyu-button.type-simple-danger:active {
|
|
415
|
+
.chuanyu-button.type-simple-danger:not(.disabled):active {
|
|
432
416
|
background-color: rgba(228, 75, 77, 0.1);
|
|
433
417
|
}
|
|
434
418
|
.chuanyu-button.loading .loading-ico {
|
|
@@ -803,28 +787,32 @@ textarea {
|
|
|
803
787
|
.number-input input {
|
|
804
788
|
color: var(--text-color);
|
|
805
789
|
border: none;
|
|
806
|
-
padding:
|
|
790
|
+
padding: 0;
|
|
807
791
|
width: 42px;
|
|
808
|
-
height:
|
|
792
|
+
height: 32px;
|
|
809
793
|
font-size: 14px;
|
|
810
|
-
text-align: center;
|
|
811
|
-
vertical-align: bottom;
|
|
812
794
|
background-color: transparent;
|
|
795
|
+
display: flex;
|
|
796
|
+
align-items: center;
|
|
797
|
+
justify-content: center;
|
|
798
|
+
text-align: center;
|
|
813
799
|
}
|
|
814
800
|
.number-input .xy-iconfont {
|
|
815
|
-
display:
|
|
816
|
-
width:
|
|
817
|
-
height:
|
|
818
|
-
border-radius:
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
line-height: 24px;
|
|
801
|
+
display: flex;
|
|
802
|
+
width: 32px;
|
|
803
|
+
height: 32px;
|
|
804
|
+
border-radius: 8px;
|
|
805
|
+
font-size: 16px;
|
|
806
|
+
border: 1px solid var(--color-controls);
|
|
807
|
+
align-items: center;
|
|
808
|
+
justify-content: center;
|
|
824
809
|
cursor: pointer;
|
|
825
810
|
}
|
|
826
811
|
.number-input .xy-iconfont:not(.disabled):hover {
|
|
827
|
-
|
|
812
|
+
background: var(--menu-hover);
|
|
813
|
+
}
|
|
814
|
+
.number-input .xy-iconfont:not(.disabled):active {
|
|
815
|
+
background: var(--menu-active);
|
|
828
816
|
}
|
|
829
817
|
.number-input .xy-iconfont.disabled {
|
|
830
818
|
opacity: 0.5;
|
|
@@ -1006,11 +994,13 @@ textarea {
|
|
|
1006
994
|
margin-top: 4px;
|
|
1007
995
|
border-radius: 12px;
|
|
1008
996
|
padding: 8px;
|
|
1009
|
-
z-index: 1000;
|
|
1010
997
|
max-height: 240px;
|
|
998
|
+
font-size: 14px;
|
|
999
|
+
line-height: 20px;
|
|
1011
1000
|
overflow-y: auto;
|
|
1012
1001
|
background-color: var(--color-grey-bg);
|
|
1013
1002
|
box-shadow: var(--box-shadow);
|
|
1003
|
+
z-index: 1000;
|
|
1014
1004
|
}
|
|
1015
1005
|
.selector-option.fixed {
|
|
1016
1006
|
position: fixed;
|
|
@@ -1055,21 +1045,26 @@ textarea {
|
|
|
1055
1045
|
}
|
|
1056
1046
|
.selector-search-select {
|
|
1057
1047
|
position: relative;
|
|
1048
|
+
display: flex;
|
|
1058
1049
|
width: 100%;
|
|
1059
1050
|
padding: 9px 48px 9px 16px;
|
|
1060
1051
|
border-radius: 12px;
|
|
1061
1052
|
border: 1px solid var(--border-color);
|
|
1062
1053
|
}
|
|
1063
|
-
.selector-search-select
|
|
1054
|
+
.selector-search-select.disabled {
|
|
1055
|
+
cursor: not-allowed;
|
|
1056
|
+
opacity: 0.5;
|
|
1057
|
+
}
|
|
1058
|
+
.selector-search-select:not(.disabled):hover {
|
|
1064
1059
|
border-color: var(--border-hover-color);
|
|
1065
1060
|
}
|
|
1066
|
-
.selector-search-select:active,
|
|
1067
|
-
.selector-search-select.active {
|
|
1061
|
+
.selector-search-select:not(.disabled):active,
|
|
1062
|
+
.selector-search-select:not(.disabled).active {
|
|
1068
1063
|
border-color: var(--border-hover-color);
|
|
1069
1064
|
box-shadow: 0 0 0 3px var(--border-active-color);
|
|
1070
1065
|
}
|
|
1071
|
-
.selector-search-select:active .dropdown-icon,
|
|
1072
|
-
.selector-search-select.active .dropdown-icon {
|
|
1066
|
+
.selector-search-select:not(.disabled):active .dropdown-icon,
|
|
1067
|
+
.selector-search-select:not(.disabled).active .dropdown-icon {
|
|
1073
1068
|
transform: translateY(-50%) rotate(180deg);
|
|
1074
1069
|
}
|
|
1075
1070
|
.selector-search-select .selector-search-label {
|
|
@@ -1102,7 +1097,8 @@ textarea {
|
|
|
1102
1097
|
height: 16px;
|
|
1103
1098
|
}
|
|
1104
1099
|
.selector-search-select input {
|
|
1105
|
-
|
|
1100
|
+
padding: 0;
|
|
1101
|
+
height: 20px;
|
|
1106
1102
|
width: 100%;
|
|
1107
1103
|
border: none;
|
|
1108
1104
|
cursor: default;
|
|
@@ -1316,7 +1312,7 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1316
1312
|
transition: 200ms ease-out all;
|
|
1317
1313
|
}
|
|
1318
1314
|
.ui-switch small::before {
|
|
1319
|
-
content:
|
|
1315
|
+
content: "";
|
|
1320
1316
|
position: absolute;
|
|
1321
1317
|
left: 0;
|
|
1322
1318
|
top: 0;
|
|
@@ -1335,11 +1331,11 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1335
1331
|
.ui-switch.checked small::before {
|
|
1336
1332
|
background-color: var(--color-primary);
|
|
1337
1333
|
}
|
|
1338
|
-
.ui-switch:active small::before {
|
|
1334
|
+
.ui-switch:active:not(.disabled) small::before {
|
|
1339
1335
|
left: 0;
|
|
1340
1336
|
right: -100%;
|
|
1341
1337
|
}
|
|
1342
|
-
.ui-switch.checked:active small::before {
|
|
1338
|
+
.ui-switch.checked:active:not(.disabled) small::before {
|
|
1343
1339
|
right: 0;
|
|
1344
1340
|
left: -100%;
|
|
1345
1341
|
}
|
|
@@ -1357,7 +1353,7 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1357
1353
|
right: 10%;
|
|
1358
1354
|
top: 25%;
|
|
1359
1355
|
z-index: 0;
|
|
1360
|
-
color: #
|
|
1356
|
+
color: #a9a9a9;
|
|
1361
1357
|
}
|
|
1362
1358
|
.ui-switch .on {
|
|
1363
1359
|
display: none;
|
|
@@ -1390,8 +1386,12 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1390
1386
|
cursor: pointer;
|
|
1391
1387
|
}
|
|
1392
1388
|
.kaihei-auth-switch.disabled {
|
|
1389
|
+
opacity: 0.5;
|
|
1393
1390
|
cursor: not-allowed;
|
|
1394
1391
|
}
|
|
1392
|
+
.kaihei-auth-switch:not(.disabled) .auth-status-item:hover {
|
|
1393
|
+
background-color: var(--menu-hover);
|
|
1394
|
+
}
|
|
1395
1395
|
.kaihei-auth-switch .auth-status-item {
|
|
1396
1396
|
flex: 1;
|
|
1397
1397
|
display: flex;
|
|
@@ -1402,9 +1402,6 @@ body .__react_component_tooltip.type-dark.place-right:after {
|
|
|
1402
1402
|
.kaihei-auth-switch .auth-status-item .xy-iconfont {
|
|
1403
1403
|
font-size: 24px;
|
|
1404
1404
|
}
|
|
1405
|
-
.kaihei-auth-switch .auth-status-item:hover {
|
|
1406
|
-
background-color: var(--menu-hover);
|
|
1407
|
-
}
|
|
1408
1405
|
.kaihei-auth-switch .auth-status-item.close-status {
|
|
1409
1406
|
border-top-left-radius: 8px;
|
|
1410
1407
|
border-bottom-left-radius: 8px;
|
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.14\",\"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 */
|
|
@@ -4454,16 +4454,58 @@ var number_input_NumberInput = /*#__PURE__*/function (_Component) {
|
|
|
4454
4454
|
min = _this$props2.min,
|
|
4455
4455
|
max = _this$props2.max,
|
|
4456
4456
|
maxLength = _this$props2.maxLength;
|
|
4457
|
+
console.log('console log to chrome min', min);
|
|
4457
4458
|
return /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
4458
4459
|
className: "number-input"
|
|
4459
4460
|
}, /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4460
|
-
className: external_classnames_default()('xy-iconfont
|
|
4461
|
+
className: external_classnames_default()('xy-iconfont', {
|
|
4461
4462
|
disabled: inputValue <= min
|
|
4462
4463
|
}),
|
|
4463
4464
|
onClick: function onClick() {
|
|
4464
4465
|
return _this2.onConfirm(inputValue - step);
|
|
4465
4466
|
}
|
|
4466
|
-
}
|
|
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", {
|
|
4467
4509
|
type: "text",
|
|
4468
4510
|
value: inputValue,
|
|
4469
4511
|
maxLength: maxLength,
|
|
@@ -4473,13 +4515,54 @@ var number_input_NumberInput = /*#__PURE__*/function (_Component) {
|
|
|
4473
4515
|
return _this2.onConfirm(target.value);
|
|
4474
4516
|
}
|
|
4475
4517
|
}), /*#__PURE__*/external_react_default.a.createElement("span", {
|
|
4476
|
-
className: external_classnames_default()('xy-iconfont
|
|
4518
|
+
className: external_classnames_default()('xy-iconfont', {
|
|
4477
4519
|
disabled: inputValue >= max
|
|
4478
4520
|
}),
|
|
4479
4521
|
onClick: function onClick() {
|
|
4480
4522
|
return _this2.onConfirm(inputValue + step);
|
|
4481
4523
|
}
|
|
4482
|
-
}
|
|
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
|
+
})))))))))));
|
|
4483
4566
|
}
|
|
4484
4567
|
}]);
|
|
4485
4568
|
|
|
@@ -6003,10 +6086,12 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
6003
6086
|
filterData = _this$state.filterData,
|
|
6004
6087
|
optionsStyle = _this$state.optionsStyle;
|
|
6005
6088
|
var _this$props2 = this.props,
|
|
6089
|
+
_this$props2$disabled = _this$props2.disabled,
|
|
6090
|
+
disabled = _this$props2$disabled === void 0 ? false : _this$props2$disabled,
|
|
6006
6091
|
placeholder = _this$props2.placeholder,
|
|
6007
6092
|
renderOption = _this$props2.renderOption,
|
|
6008
|
-
_this$props2$
|
|
6009
|
-
disabledValues = _this$props2$
|
|
6093
|
+
_this$props2$disabled2 = _this$props2.disabledValues,
|
|
6094
|
+
disabledValues = _this$props2$disabled2 === void 0 ? [] : _this$props2$disabled2,
|
|
6010
6095
|
_this$props2$labelKey = _this$props2.labelKey,
|
|
6011
6096
|
labelKey = _this$props2$labelKey === void 0 ? 'label' : _this$props2$labelKey,
|
|
6012
6097
|
_this$props2$valueKey = _this$props2.valueKey,
|
|
@@ -6038,7 +6123,8 @@ var selector_search_SelectorSearch = /*#__PURE__*/function (_Component) {
|
|
|
6038
6123
|
className: "selector-search-contain"
|
|
6039
6124
|
}, /*#__PURE__*/external_react_default.a.createElement("div", {
|
|
6040
6125
|
className: external_classnames_default()('selector-search-select theme-input-bg-base', {
|
|
6041
|
-
'active': showList
|
|
6126
|
+
'active': showList,
|
|
6127
|
+
disabled: disabled
|
|
6042
6128
|
}),
|
|
6043
6129
|
ref: this.selectRef,
|
|
6044
6130
|
onClick: this.toggle
|