@autobest-ui/components 1.3.0 → 2.0.0
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/esm/accordion/Item.d.ts +1 -1
- package/esm/accordion/Item.js +5 -3
- package/esm/accordion/index.d.ts +1 -1
- package/esm/accordion/index.js +5 -3
- package/esm/affix/PortalAffix.js +7 -7
- package/esm/affix/index.js +19 -17
- package/esm/carousel/index.js +16 -14
- package/esm/checkbox/index.js +19 -17
- package/esm/collapse/index.js +13 -11
- package/esm/confirm/index.d.ts +1 -1
- package/esm/confirm/index.js +14 -14
- package/esm/date-picker/calendar/Day.d.ts +1 -1
- package/esm/date-picker/calendar/Day.js +11 -11
- package/esm/date-picker/calendar/MonthYear.js +8 -8
- package/esm/date-picker/calendar/grid/index.js +18 -18
- package/esm/date-picker/calendar/index.js +7 -5
- package/esm/date-picker/calendar/types.js +1 -0
- package/esm/date-picker/index.js +15 -13
- package/esm/drawer/Child.js +6 -6
- package/esm/drawer/index.js +11 -9
- package/esm/ellipsis/index.js +4 -4
- package/esm/guide/index.d.ts +4 -5
- package/esm/guide/index.js +19 -19
- package/esm/index.d.ts +0 -1
- package/esm/index.js +0 -1
- package/esm/input-number/index.d.ts +4 -4
- package/esm/input-number/index.js +27 -25
- package/esm/lazy-image/index.d.ts +3 -3
- package/esm/lazy-image/index.js +6 -4
- package/esm/link-list/index.js +24 -22
- package/esm/link-list/style/index.css +1 -1
- package/esm/loading/index.d.ts +7 -2
- package/esm/loading/index.js +20 -26
- package/esm/loading/style/index.css +1 -1
- package/esm/loading/style/index.scss +0 -10
- package/esm/loading-bar/index.d.ts +1 -0
- package/esm/loading-bar/index.js +3 -3
- package/esm/loading-container/index.js +6 -6
- package/esm/loading-icon/index.js +12 -12
- package/esm/mask/index.js +4 -4
- package/esm/message/index.js +14 -14
- package/esm/modal/Affix.d.ts +1 -0
- package/esm/modal/Affix.js +1 -1
- package/esm/modal/Title.js +9 -9
- package/esm/modal/getPopupLocation.js +1 -1
- package/esm/modal/index.d.ts +1 -1
- package/esm/modal/index.js +21 -19
- package/esm/modal/style/index.css +1 -1
- package/esm/move/index.d.ts +1 -1
- package/esm/move/index.js +14 -12
- package/esm/popover/index.js +9 -9
- package/esm/portal/index.js +5 -3
- package/esm/script/index.js +8 -6
- package/esm/select/index.d.ts +3 -3
- package/esm/select/index.js +34 -36
- package/esm/show-more/index.js +14 -12
- package/esm/skeleton/Item.js +3 -3
- package/esm/skeleton/index.js +11 -15
- package/esm/style.css +9 -10
- package/esm/table/body/BodyRow.js +8 -8
- package/esm/table/body/CheckIcon.js +7 -7
- package/esm/table/body/index.d.ts +1 -1
- package/esm/table/body/index.js +6 -6
- package/esm/table/header/CheckIcon.js +6 -6
- package/esm/table/header/HeaderCell.d.ts +1 -1
- package/esm/table/header/HeaderCell.js +10 -8
- package/esm/table/header/HeaderRow.d.ts +1 -0
- package/esm/table/header/HeaderRow.js +2 -2
- package/esm/table/index.d.ts +3 -7
- package/esm/table/index.js +20 -18
- package/esm/table/interface.js +1 -0
- package/esm/tabs/index.d.ts +1 -1
- package/esm/tabs/index.js +14 -12
- package/esm/tooltip/index.d.ts +1 -0
- package/esm/tooltip/index.js +1 -1
- package/esm/trigger/bottomAlign.js +2 -2
- package/esm/trigger/getPopupLocation.js +2 -1
- package/esm/trigger/index.d.ts +4 -4
- package/esm/trigger/index.js +24 -22
- package/esm/trigger/leftAlign.js +2 -2
- package/esm/trigger/rightAlign.js +2 -2
- package/esm/trigger/topAlign.js +2 -2
- package/esm/trigger/utils.js +2 -2
- package/lib/accordion/Item.d.ts +1 -1
- package/lib/accordion/Item.js +5 -3
- package/lib/accordion/index.d.ts +1 -1
- package/lib/accordion/index.js +5 -3
- package/lib/affix/PortalAffix.js +7 -7
- package/lib/affix/index.js +19 -17
- package/lib/carousel/index.js +16 -14
- package/lib/checkbox/index.js +19 -17
- package/lib/collapse/index.js +13 -11
- package/lib/confirm/index.d.ts +1 -1
- package/lib/confirm/index.js +14 -14
- package/lib/date-picker/calendar/Day.d.ts +1 -1
- package/lib/date-picker/calendar/Day.js +12 -12
- package/lib/date-picker/calendar/MonthYear.js +9 -9
- package/lib/date-picker/calendar/grid/index.js +18 -18
- package/lib/date-picker/calendar/index.js +8 -6
- package/lib/date-picker/calendar/types.js +5 -1
- package/lib/date-picker/index.js +15 -13
- package/lib/date-picker/utils.js +8 -8
- package/lib/drawer/Child.js +6 -6
- package/lib/drawer/index.js +11 -9
- package/lib/ellipsis/index.js +4 -4
- package/lib/guide/index.d.ts +4 -5
- package/lib/guide/index.js +19 -20
- package/lib/index.d.ts +0 -1
- package/lib/index.js +54 -62
- package/lib/input-number/index.d.ts +4 -4
- package/lib/input-number/index.js +27 -25
- package/lib/lazy-image/index.d.ts +3 -3
- package/lib/lazy-image/index.js +6 -4
- package/lib/link-list/index.js +24 -22
- package/lib/link-list/style/index.css +1 -1
- package/lib/loading/index.d.ts +7 -2
- package/lib/loading/index.js +20 -27
- package/lib/loading/style/index.css +1 -1
- package/lib/loading/style/index.scss +0 -10
- package/lib/loading-bar/index.d.ts +1 -0
- package/lib/loading-bar/index.js +3 -3
- package/lib/loading-container/index.js +6 -6
- package/lib/loading-icon/index.js +12 -12
- package/lib/mask/index.js +4 -4
- package/lib/message/index.js +14 -14
- package/lib/modal/Affix.d.ts +1 -0
- package/lib/modal/Affix.js +1 -1
- package/lib/modal/Title.js +9 -9
- package/lib/modal/getPopupLocation.js +1 -1
- package/lib/modal/index.d.ts +1 -1
- package/lib/modal/index.js +22 -20
- package/lib/modal/style/index.css +1 -1
- package/lib/move/index.d.ts +1 -1
- package/lib/move/index.js +14 -12
- package/lib/popover/index.js +9 -9
- package/lib/portal/index.js +5 -3
- package/lib/script/index.js +8 -6
- package/lib/select/index.d.ts +3 -3
- package/lib/select/index.js +34 -36
- package/lib/show-more/index.js +14 -12
- package/lib/skeleton/Item.js +3 -3
- package/lib/skeleton/index.js +11 -15
- package/lib/style.css +9 -10
- package/lib/table/body/BodyRow.js +8 -8
- package/lib/table/body/CheckIcon.js +7 -7
- package/lib/table/body/index.d.ts +1 -1
- package/lib/table/body/index.js +6 -6
- package/lib/table/header/CheckIcon.js +6 -6
- package/lib/table/header/HeaderCell.d.ts +1 -1
- package/lib/table/header/HeaderCell.js +10 -8
- package/lib/table/header/HeaderRow.d.ts +1 -0
- package/lib/table/header/HeaderRow.js +2 -2
- package/lib/table/index.d.ts +3 -7
- package/lib/table/index.js +20 -18
- package/lib/table/interface.js +5 -1
- package/lib/tabs/index.d.ts +1 -1
- package/lib/tabs/index.js +14 -12
- package/lib/tooltip/index.d.ts +1 -0
- package/lib/tooltip/index.js +1 -1
- package/lib/trigger/align.js +24 -24
- package/lib/trigger/bottomAlign.js +3 -3
- package/lib/trigger/constants.js +1 -1
- package/lib/trigger/getPopupLocation.js +2 -1
- package/lib/trigger/index.d.ts +4 -4
- package/lib/trigger/index.js +25 -23
- package/lib/trigger/leftAlign.js +3 -3
- package/lib/trigger/ref.js +1 -1
- package/lib/trigger/rightAlign.js +3 -3
- package/lib/trigger/topAlign.js +3 -3
- package/lib/trigger/utils.js +4 -4
- package/package.json +1 -1
- package/esm/use-config/index.d.ts +0 -5
- package/esm/use-config/index.js +0 -13
- package/esm/use-config/style/index.css +0 -0
- package/esm/use-config/style/index.d.ts +0 -1
- package/esm/use-config/style/index.js +0 -1
- package/esm/use-config/style/index.scss +0 -0
- package/lib/use-config/index.d.ts +0 -5
- package/lib/use-config/index.js +0 -21
- package/lib/use-config/style/index.css +0 -0
- package/lib/use-config/style/index.d.ts +0 -1
- package/lib/use-config/style/index.js +0 -1
- package/lib/use-config/style/index.scss +0 -0
package/lib/modal/Title.js
CHANGED
|
@@ -15,11 +15,11 @@ function Times(_a) {
|
|
|
15
15
|
closable = _a.closable;
|
|
16
16
|
|
|
17
17
|
if (closable) {
|
|
18
|
-
return _react.default.createElement("span", {
|
|
19
|
-
className: prefixCls
|
|
18
|
+
return /*#__PURE__*/_react.default.createElement("span", {
|
|
19
|
+
className: "".concat(prefixCls, "-times"),
|
|
20
20
|
onMouseDown: onClose,
|
|
21
21
|
onTouchStart: onClose
|
|
22
|
-
}, _react.default.createElement("svg", {
|
|
22
|
+
}, /*#__PURE__*/_react.default.createElement("svg", {
|
|
23
23
|
viewBox: "64 64 896 896",
|
|
24
24
|
className: "",
|
|
25
25
|
"data-icon": "close",
|
|
@@ -28,7 +28,7 @@ function Times(_a) {
|
|
|
28
28
|
fill: "currentColor",
|
|
29
29
|
"aria-hidden": "true",
|
|
30
30
|
focusable: "false"
|
|
31
|
-
}, _react.default.createElement("path", {
|
|
31
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
32
32
|
d: "M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 0 0 203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"
|
|
33
33
|
})));
|
|
34
34
|
}
|
|
@@ -43,22 +43,22 @@ function Title(_a) {
|
|
|
43
43
|
onClose = _a.onClose;
|
|
44
44
|
|
|
45
45
|
if (title) {
|
|
46
|
-
return _react.default.createElement("div", {
|
|
47
|
-
className: prefixCls
|
|
48
|
-
}, title, _react.default.createElement(Times, {
|
|
46
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
47
|
+
className: "".concat(prefixCls, "-title")
|
|
48
|
+
}, title, /*#__PURE__*/_react.default.createElement(Times, {
|
|
49
49
|
prefixCls: prefixCls,
|
|
50
50
|
closable: closable,
|
|
51
51
|
onClose: onClose
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
return _react.default.createElement(Times, {
|
|
55
|
+
return /*#__PURE__*/_react.default.createElement(Times, {
|
|
56
56
|
prefixCls: prefixCls,
|
|
57
57
|
closable: closable,
|
|
58
58
|
onClose: onClose
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
var _default = _react.default.memo(Title);
|
|
62
|
+
var _default = /*#__PURE__*/_react.default.memo(Title);
|
|
63
63
|
|
|
64
64
|
exports.default = _default;
|
|
@@ -15,7 +15,7 @@ function getPopupLocation(_a) {
|
|
|
15
15
|
var clientSize = (0, _utils.getAvailSize)(true);
|
|
16
16
|
var popupSize = (0, _utils.getElementSize)(element);
|
|
17
17
|
var doubleLimit = popupLimitSpacing * 2;
|
|
18
|
-
var height = popupSize.height > clientSize.height - doubleLimit ? clientSize.height - doubleLimit
|
|
18
|
+
var height = popupSize.height > clientSize.height - doubleLimit ? "".concat(clientSize.height - doubleLimit, "px") : '';
|
|
19
19
|
|
|
20
20
|
if (placement === 'top') {
|
|
21
21
|
return {
|
package/lib/modal/index.d.ts
CHANGED
|
@@ -77,7 +77,7 @@ interface ModalStates {
|
|
|
77
77
|
cacheVisible: boolean;
|
|
78
78
|
}
|
|
79
79
|
declare class Modal extends React.Component<ModalProps, ModalStates> {
|
|
80
|
-
static Affix: React.ComponentType<Required<
|
|
80
|
+
static Affix: React.ComponentType<Required<Omit<import("../portal").PortalProps, "didUpdate">>>;
|
|
81
81
|
static cacheOpenedIds: number[];
|
|
82
82
|
openId: number;
|
|
83
83
|
prefixCls: string;
|
package/lib/modal/index.js
CHANGED
|
@@ -17,12 +17,12 @@ var _utils = require("@autobest-ui/utils");
|
|
|
17
17
|
|
|
18
18
|
var _portal = _interopRequireDefault(require("../portal"));
|
|
19
19
|
|
|
20
|
+
var _mask = _interopRequireDefault(require("../mask"));
|
|
21
|
+
|
|
20
22
|
var _Title = _interopRequireDefault(require("./Title"));
|
|
21
23
|
|
|
22
24
|
var _Affix = _interopRequireDefault(require("./Affix"));
|
|
23
25
|
|
|
24
|
-
var _mask = _interopRequireDefault(require("../mask"));
|
|
25
|
-
|
|
26
26
|
var _getPopupLocation = _interopRequireDefault(require("./getPopupLocation"));
|
|
27
27
|
|
|
28
28
|
var __extends = void 0 && (void 0).__extends || function () {
|
|
@@ -33,7 +33,7 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
33
33
|
d.__proto__ = b;
|
|
34
34
|
} || function (d, b) {
|
|
35
35
|
for (var p in b) {
|
|
36
|
-
if (
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -41,6 +41,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
return function (d, b) {
|
|
44
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
45
|
+
|
|
44
46
|
_extendStatics(d, b);
|
|
45
47
|
|
|
46
48
|
function __() {
|
|
@@ -70,8 +72,8 @@ function (_super) {
|
|
|
70
72
|
_this.openId = getId();
|
|
71
73
|
_this.prefixCls = 'ab-modal';
|
|
72
74
|
_this.scrollBarSize = 0;
|
|
73
|
-
_this.popupRef = _react.default.createRef();
|
|
74
|
-
_this.maskRef = _react.default.createRef();
|
|
75
|
+
_this.popupRef = /*#__PURE__*/_react.default.createRef();
|
|
76
|
+
_this.maskRef = /*#__PURE__*/_react.default.createRef();
|
|
75
77
|
/**
|
|
76
78
|
* 全局事件回调
|
|
77
79
|
* @param event
|
|
@@ -156,11 +158,11 @@ function (_super) {
|
|
|
156
158
|
currentDocument.style.overflow = 'hidden';
|
|
157
159
|
|
|
158
160
|
if ((0, _utils.hasVerticalScrollbar)(_this.scrollBarSize)) {
|
|
159
|
-
currentDocument.style.paddingRight = _this.scrollBarSize
|
|
161
|
+
currentDocument.style.paddingRight = "".concat(_this.scrollBarSize, "px");
|
|
160
162
|
|
|
161
163
|
if (element && element.parentNode) {
|
|
162
164
|
var parentNode = element.parentNode;
|
|
163
|
-
parentNode.style.paddingRight = _this.scrollBarSize
|
|
165
|
+
parentNode.style.paddingRight = "".concat(_this.scrollBarSize, "px");
|
|
164
166
|
}
|
|
165
167
|
}
|
|
166
168
|
}
|
|
@@ -195,9 +197,9 @@ function (_super) {
|
|
|
195
197
|
var popupHeight = height || _this.props.height;
|
|
196
198
|
|
|
197
199
|
if (!popupHeight || popupHeight === 'auto') {
|
|
198
|
-
lastChild.style.maxHeight = "calc(100vh - .3rem - "
|
|
200
|
+
lastChild.style.maxHeight = "calc(100vh - .3rem - ".concat(placement === 'top' && top ? top : '0px', " - ").concat(firstChildHeight, "px)");
|
|
199
201
|
} else {
|
|
200
|
-
lastChild.style.maxHeight = "calc(100% - "
|
|
202
|
+
lastChild.style.maxHeight = "calc(100% - ".concat(firstChildHeight, "px)");
|
|
201
203
|
}
|
|
202
204
|
});
|
|
203
205
|
}
|
|
@@ -382,27 +384,27 @@ function (_super) {
|
|
|
382
384
|
title = _b.title,
|
|
383
385
|
placement = _b.placement,
|
|
384
386
|
top = _b.top;
|
|
385
|
-
var maxHeight = "calc(100vh - .3rem - "
|
|
386
|
-
return _react.default.createElement("div", {
|
|
387
|
-
className: (0, _classnames.default)(cls, className, (_a = {}, _a[cls
|
|
388
|
-
}, _react.default.createElement(_reactTransitionGroup.CSSTransition, {
|
|
387
|
+
var maxHeight = "calc(100vh - .3rem - ".concat(placement === 'top' && top ? top : '0px', ")");
|
|
388
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
389
|
+
className: (0, _classnames.default)(cls, className, (_a = {}, _a["".concat(cls, "-center")] = placement === 'center', _a["".concat(this.prefixCls, "-hidden")] = !visible && !this.state.isUserOperated, _a))
|
|
390
|
+
}, /*#__PURE__*/_react.default.createElement(_reactTransitionGroup.CSSTransition, {
|
|
389
391
|
in: visible,
|
|
390
392
|
timeout: 300,
|
|
391
|
-
classNames: cls
|
|
393
|
+
classNames: "".concat(cls, "-fade"),
|
|
392
394
|
onEnter: this.onEnter,
|
|
393
395
|
onEntered: this.onEntered,
|
|
394
396
|
onExited: this.onExited,
|
|
395
397
|
appear: true
|
|
396
398
|
}, function (state) {
|
|
397
|
-
return _react.default.createElement("div", {
|
|
398
|
-
className: cls
|
|
399
|
+
return /*#__PURE__*/_react.default.createElement("div", {
|
|
400
|
+
className: "".concat(cls, "-content"),
|
|
399
401
|
style: state !== 'exited' ? {
|
|
400
402
|
width: width,
|
|
401
403
|
height: height,
|
|
402
404
|
maxHeight: maxHeight
|
|
403
405
|
} : undefined,
|
|
404
406
|
ref: _this.popupRef
|
|
405
|
-
}, _react.default.createElement(_Title.default, {
|
|
407
|
+
}, /*#__PURE__*/_react.default.createElement(_Title.default, {
|
|
406
408
|
prefixCls: cls,
|
|
407
409
|
closable: closable,
|
|
408
410
|
onClose: _this.onClose,
|
|
@@ -417,16 +419,16 @@ function (_super) {
|
|
|
417
419
|
var visible = this.props.visible; // 插入元素,不使用传送门, 和当前元素同级
|
|
418
420
|
|
|
419
421
|
if (this.props.isInsertNode) {
|
|
420
|
-
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_mask.default, {
|
|
422
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_mask.default, {
|
|
421
423
|
visible: visible,
|
|
422
|
-
className: (0, _classnames.default)((_a = {}, _a[this.prefixCls
|
|
424
|
+
className: (0, _classnames.default)((_a = {}, _a["".concat(this.prefixCls, "-hidden")] = !visible && !this.state.isUserOperated, _a)),
|
|
423
425
|
timeout: 500,
|
|
424
426
|
ref: this.maskRef
|
|
425
427
|
}), this.renderPopup());
|
|
426
428
|
}
|
|
427
429
|
|
|
428
430
|
if (visible || this.popupRef.current) {
|
|
429
|
-
return _react.default.createElement(_portal.default, null, _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(_mask.default, {
|
|
431
|
+
return /*#__PURE__*/_react.default.createElement(_portal.default, null, /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_mask.default, {
|
|
430
432
|
visible: visible,
|
|
431
433
|
timeout: 500,
|
|
432
434
|
ref: this.maskRef
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ab-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:101;overflow:auto;outline:0}.ab-modal.ab-modal-center{text-align:center}.ab-modal.ab-modal-center:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:
|
|
1
|
+
.ab-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:101;overflow:auto;outline:0}.ab-modal.ab-modal-center{text-align:center}.ab-modal.ab-modal-center:before{display:inline-block;width:0;height:100%;vertical-align:middle;content:""}.ab-modal.ab-modal-center .ab-modal-content{top:0;text-align:left;display:inline-block;vertical-align:middle}.ab-modal-content{position:relative;background-color:#fff;max-width:calc(100vw - .3rem);margin-left:auto;margin-right:auto;overflow:auto;-webkit-overflow-scrolling:touch;transition:transform .3s,opacity .3s cubic-bezier(.7,.3,.1,1);z-index:101}.ab-modal-title{position:relative;width:100%}.ab-modal-title .ab-modal-times{top:50%;transform:translateY(-50%)}.ab-modal-times{position:absolute;top:.12rem;right:.12rem;font-size:.15rem;color:#b0b0b0;cursor:pointer}.ab-modal-times svg{display:block}.ab-modal-times:hover{color:#333}.ab-modal-hidden{display:none}@media only screen and (max-width:767px){.ab-modal-content{width:calc(100vw - .3rem)}}.ab-modal-fade-appear,.ab-modal-fade-enter{transform:translate3d(0,-30px,0);opacity:0}.ab-modal-fade-appear-active,.ab-modal-fade-enter-active{transform:translateZ(0);opacity:1}.ab-modal-fade-enter-done{transform:translateZ(0);opacity:1}.ab-modal-fade-exit{transform:translateZ(0);opacity:1}.ab-modal-fade-exit-active{transform:translate3d(0,-30px,0);opacity:0}.ab-modal-fade-exit-done{display:none}
|
package/lib/move/index.d.ts
CHANGED
|
@@ -107,6 +107,6 @@ declare class Move extends React.Component<MoveProps> {
|
|
|
107
107
|
setElementInfo(element: any): void;
|
|
108
108
|
onTransitionEnd: () => void;
|
|
109
109
|
getDomNode(): HTMLElement;
|
|
110
|
-
render(): React.ReactElement<any, string |
|
|
110
|
+
render(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
111
111
|
}
|
|
112
112
|
export default Move;
|
package/lib/move/index.js
CHANGED
|
@@ -33,7 +33,7 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
33
33
|
d.__proto__ = b;
|
|
34
34
|
} || function (d, b) {
|
|
35
35
|
for (var p in b) {
|
|
36
|
-
if (
|
|
36
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
39
|
|
|
@@ -41,6 +41,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
41
41
|
};
|
|
42
42
|
|
|
43
43
|
return function (d, b) {
|
|
44
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
45
|
+
|
|
44
46
|
_extendStatics(d, b);
|
|
45
47
|
|
|
46
48
|
function __() {
|
|
@@ -104,7 +106,7 @@ function (_super) {
|
|
|
104
106
|
_this.isTouchScale = false; // 强制刷新元素位置
|
|
105
107
|
|
|
106
108
|
_this.isForceUpdatePlacement = false;
|
|
107
|
-
_this.moveRef = _react.default.createRef();
|
|
109
|
+
_this.moveRef = /*#__PURE__*/_react.default.createRef();
|
|
108
110
|
_this.updateTimer = null;
|
|
109
111
|
|
|
110
112
|
_this.refreshInfo = function (el, prevProps) {
|
|
@@ -374,34 +376,34 @@ function (_super) {
|
|
|
374
376
|
}
|
|
375
377
|
|
|
376
378
|
this.updateTimer = setTimeout(function () {
|
|
377
|
-
var
|
|
379
|
+
var currentElement = _this.getDomNode();
|
|
378
380
|
|
|
379
|
-
if (!
|
|
381
|
+
if (!currentElement) {
|
|
380
382
|
return;
|
|
381
383
|
}
|
|
382
384
|
|
|
383
|
-
_this.refreshInfo(
|
|
385
|
+
_this.refreshInfo(currentElement, prevProps);
|
|
384
386
|
|
|
385
387
|
var isTouch = (0, _utils.isTouchScreen)();
|
|
386
388
|
|
|
387
389
|
if (!_this.startHandler) {
|
|
388
390
|
var eventType = isTouch ? 'touchstart' : 'mousedown';
|
|
389
|
-
_this.startHandler = (0, _utils.addEventListener)(
|
|
390
|
-
return _this.onStart(ev,
|
|
391
|
+
_this.startHandler = (0, _utils.addEventListener)(currentElement, eventType, function (ev) {
|
|
392
|
+
return _this.onStart(ev, currentElement);
|
|
391
393
|
});
|
|
392
394
|
} // 不支持Touch的设备监听滚动
|
|
393
395
|
|
|
394
396
|
|
|
395
397
|
if (_this.props.scalable && !isTouch && !_this.mousewheelHandler) {
|
|
396
|
-
_this.mousewheelHandler = (0, _utils.addEventListener)(
|
|
397
|
-
return _this.onMousewheel(ev,
|
|
398
|
+
_this.mousewheelHandler = (0, _utils.addEventListener)(currentElement, 'wheel', function (ev) {
|
|
399
|
+
return _this.onMousewheel(ev, currentElement);
|
|
398
400
|
});
|
|
399
401
|
} // 加入 resize 监听
|
|
400
402
|
|
|
401
403
|
|
|
402
404
|
if (_this.props.monitorWindowResize && !_this.resizeHandler) {
|
|
403
405
|
_this.resizeHandler = (0, _utils.addEventListener)(window, 'resize', (0, _utils.throttleWithRAF)(function () {
|
|
404
|
-
return _this.refreshInfo(
|
|
406
|
+
return _this.refreshInfo(currentElement, prevProps);
|
|
405
407
|
}));
|
|
406
408
|
}
|
|
407
409
|
}, 0);
|
|
@@ -461,7 +463,7 @@ function (_super) {
|
|
|
461
463
|
};
|
|
462
464
|
|
|
463
465
|
Move.prototype.setElementInfo = function (element) {
|
|
464
|
-
element.style.transform = "translate("
|
|
466
|
+
element.style.transform = "translate(".concat(this.currentObj.left, "px, ").concat(this.currentObj.top, "px) scale(").concat(this.currentScaleSize, ")");
|
|
465
467
|
};
|
|
466
468
|
|
|
467
469
|
Move.prototype.getDomNode = function () {
|
|
@@ -478,7 +480,7 @@ function (_super) {
|
|
|
478
480
|
var child = _react.default.Children.only(children);
|
|
479
481
|
|
|
480
482
|
if (ReactIs.isElement(child) && !ReactIs.isFragment(child)) {
|
|
481
|
-
return _react.default.cloneElement(child, {
|
|
483
|
+
return /*#__PURE__*/_react.default.cloneElement(child, {
|
|
482
484
|
ref: this.moveRef,
|
|
483
485
|
onTransitionEnd: this.onTransitionEnd,
|
|
484
486
|
className: (0, _classnames.default)(this.prefixCls, child.props.className)
|
package/lib/popover/index.js
CHANGED
|
@@ -66,30 +66,30 @@ function Popover(props) {
|
|
|
66
66
|
|
|
67
67
|
|
|
68
68
|
if (closeIcon) {
|
|
69
|
-
return _react.default.cloneElement(closeIcon, {
|
|
69
|
+
return /*#__PURE__*/_react.default.cloneElement(closeIcon, {
|
|
70
70
|
onClick: onHidePopup
|
|
71
71
|
});
|
|
72
72
|
}
|
|
73
73
|
|
|
74
|
-
return _react.default.createElement("i", {
|
|
75
|
-
className: (0, _classnames.default)(cls
|
|
74
|
+
return /*#__PURE__*/_react.default.createElement("i", {
|
|
75
|
+
className: (0, _classnames.default)("".concat(cls, "-close"), closeClassName),
|
|
76
76
|
onClick: onHidePopup
|
|
77
77
|
}, "\xD7");
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
var innerClass = (0, _classnames.default)(cls
|
|
80
|
+
var innerClass = (0, _classnames.default)("".concat(cls, "-inner"), innerClassName, (_a = {}, _a["".concat(cls, "-inner-expand")] = !hiddenClose, _a));
|
|
81
81
|
|
|
82
82
|
function renderPopup() {
|
|
83
|
-
return _react.default.createElement(_react.default.Fragment, null, renderClose(), _react.default.createElement("i", {
|
|
84
|
-
className: (0, _classnames.default)(cls
|
|
83
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, renderClose(), /*#__PURE__*/_react.default.createElement("i", {
|
|
84
|
+
className: (0, _classnames.default)("".concat(cls, "-arrow"), arrowClassName),
|
|
85
85
|
style: arrowStyle
|
|
86
|
-
}), _react.default.createElement("div", {
|
|
86
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
87
87
|
className: innerClass
|
|
88
88
|
}, tip));
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
return _react.default.createElement(_trigger.default, __assign({}, props, {
|
|
92
|
-
wrapClassName: (0, _classnames.default)(cls
|
|
91
|
+
return /*#__PURE__*/_react.default.createElement(_trigger.default, __assign({}, props, {
|
|
92
|
+
wrapClassName: (0, _classnames.default)("".concat(cls, "-wrap "), props.wrapClassName),
|
|
93
93
|
ref: triggerEl,
|
|
94
94
|
hiddenArrow: false,
|
|
95
95
|
popup: renderPopup,
|
package/lib/portal/index.js
CHANGED
|
@@ -19,7 +19,7 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
19
19
|
d.__proto__ = b;
|
|
20
20
|
} || function (d, b) {
|
|
21
21
|
for (var p in b) {
|
|
22
|
-
if (
|
|
22
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
25
|
|
|
@@ -27,6 +27,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
27
27
|
};
|
|
28
28
|
|
|
29
29
|
return function (d, b) {
|
|
30
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
31
|
+
|
|
30
32
|
_extendStatics(d, b);
|
|
31
33
|
|
|
32
34
|
function __() {
|
|
@@ -77,10 +79,10 @@ function (_super) {
|
|
|
77
79
|
|
|
78
80
|
Portal.prototype.render = function () {
|
|
79
81
|
if (this.container) {
|
|
80
|
-
return _reactDom.default.createPortal(this.props.children, this.container);
|
|
82
|
+
return /*#__PURE__*/_reactDom.default.createPortal(this.props.children, this.container);
|
|
81
83
|
}
|
|
82
84
|
|
|
83
|
-
return _react.default.createElement(_react.default.Fragment, null);
|
|
85
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null);
|
|
84
86
|
};
|
|
85
87
|
|
|
86
88
|
Portal.getContainer = function () {
|
package/lib/script/index.js
CHANGED
|
@@ -17,7 +17,7 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
17
17
|
d.__proto__ = b;
|
|
18
18
|
} || function (d, b) {
|
|
19
19
|
for (var p in b) {
|
|
20
|
-
if (
|
|
20
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
|
|
@@ -25,6 +25,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
return function (d, b) {
|
|
28
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
29
|
+
|
|
28
30
|
_extendStatics(d, b);
|
|
29
31
|
|
|
30
32
|
function __() {
|
|
@@ -81,7 +83,7 @@ function (_super) {
|
|
|
81
83
|
if (isRefresh || preProps.beforeCode !== beforeCode) {
|
|
82
84
|
// 这里只支持在url改变时,删除code, 并不对code进行判断来删除url的script, 原因是没有这种需求
|
|
83
85
|
if (cancelable && preProps && preProps.beforeCode !== beforeCode) {
|
|
84
|
-
var preCodeElement = document.querySelector("script[data-src='"
|
|
86
|
+
var preCodeElement = document.querySelector("script[data-src='".concat(preProps.url, "']"));
|
|
85
87
|
|
|
86
88
|
if (preCodeElement && preCodeElement.remove) {
|
|
87
89
|
preCodeElement.remove();
|
|
@@ -95,16 +97,16 @@ function (_super) {
|
|
|
95
97
|
|
|
96
98
|
|
|
97
99
|
if (isRefresh || url !== preProps.url) {
|
|
98
|
-
var scriptsElement = document.querySelector("script[src='"
|
|
100
|
+
var scriptsElement = document.querySelector("script[src='".concat(url, "']")); // 如果已经存在, 警告, 并终止执行
|
|
99
101
|
|
|
100
102
|
if (scriptsElement) {
|
|
101
103
|
// eslint-disable-next-line no-console
|
|
102
|
-
console.error("Src: "
|
|
104
|
+
console.error("Src: ".concat(url, " has been created, the corresponding callback will no longer be executed, Please use it directly"));
|
|
103
105
|
return;
|
|
104
106
|
}
|
|
105
107
|
|
|
106
108
|
if (cancelable && preProps && url !== preProps.url) {
|
|
107
|
-
var preScriptsElement = document.querySelector("script[src='"
|
|
109
|
+
var preScriptsElement = document.querySelector("script[src='".concat(preProps.url, "']"));
|
|
108
110
|
|
|
109
111
|
if (preScriptsElement && preScriptsElement.remove) {
|
|
110
112
|
preScriptsElement.remove();
|
|
@@ -136,7 +138,7 @@ function (_super) {
|
|
|
136
138
|
onRemove = _a.onRemove;
|
|
137
139
|
|
|
138
140
|
if (cancelable && url) {
|
|
139
|
-
var scriptsElement = document.querySelector("script[src='"
|
|
141
|
+
var scriptsElement = document.querySelector("script[src='".concat(url, "']"));
|
|
140
142
|
|
|
141
143
|
if (scriptsElement && scriptsElement.remove) {
|
|
142
144
|
scriptsElement.remove();
|
package/lib/select/index.d.ts
CHANGED
|
@@ -110,8 +110,8 @@ declare class Select extends React.Component<SelectProps, SelectStates> {
|
|
|
110
110
|
triggerSelect: (status?: boolean) => void;
|
|
111
111
|
onTriggerSelect: () => void;
|
|
112
112
|
onSelecting(ev: React.MouseEvent | React.TouchEvent, item: any): void;
|
|
113
|
-
renderTitle(): React.ReactElement<any, string |
|
|
114
|
-
renderBottom(): React.ReactElement<any, string |
|
|
113
|
+
renderTitle(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
114
|
+
renderBottom(): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
115
115
|
/**
|
|
116
116
|
* 下拉框内容
|
|
117
117
|
*/
|
|
@@ -120,7 +120,7 @@ declare class Select extends React.Component<SelectProps, SelectStates> {
|
|
|
120
120
|
* 根据value获取当前的name,并显示出来
|
|
121
121
|
* @returns {*}
|
|
122
122
|
*/
|
|
123
|
-
getCurrentName():
|
|
123
|
+
getCurrentName(): NameValue;
|
|
124
124
|
render(): JSX.Element;
|
|
125
125
|
}
|
|
126
126
|
export default Select;
|
package/lib/select/index.js
CHANGED
|
@@ -23,7 +23,7 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
23
23
|
d.__proto__ = b;
|
|
24
24
|
} || function (d, b) {
|
|
25
25
|
for (var p in b) {
|
|
26
|
-
if (
|
|
26
|
+
if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
29
|
|
|
@@ -31,6 +31,8 @@ var __extends = void 0 && (void 0).__extends || function () {
|
|
|
31
31
|
};
|
|
32
32
|
|
|
33
33
|
return function (d, b) {
|
|
34
|
+
if (typeof b !== "function" && b !== null) throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
35
|
+
|
|
34
36
|
_extendStatics(d, b);
|
|
35
37
|
|
|
36
38
|
function __() {
|
|
@@ -70,18 +72,14 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
|
|
|
70
72
|
return t;
|
|
71
73
|
};
|
|
72
74
|
|
|
73
|
-
var
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
for (var r = Array(s), k = 0, i = 0; i < il; i++) {
|
|
79
|
-
for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) {
|
|
80
|
-
r[k] = a[j];
|
|
75
|
+
var __spreadArray = void 0 && (void 0).__spreadArray || function (to, from, pack) {
|
|
76
|
+
if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
|
|
77
|
+
if (ar || !(i in from)) {
|
|
78
|
+
if (!ar) ar = Array.prototype.slice.call(from, 0, i);
|
|
79
|
+
ar[i] = from[i];
|
|
81
80
|
}
|
|
82
81
|
}
|
|
83
|
-
|
|
84
|
-
return r;
|
|
82
|
+
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
83
|
};
|
|
86
84
|
|
|
87
85
|
var Select =
|
|
@@ -132,7 +130,7 @@ function (_super) {
|
|
|
132
130
|
|
|
133
131
|
if (columnCount <= 1) {
|
|
134
132
|
return {
|
|
135
|
-
list: [
|
|
133
|
+
list: [__spreadArray([], options, true)]
|
|
136
134
|
};
|
|
137
135
|
} // 对columnCount值,进行分列,返回一个新的多维数组
|
|
138
136
|
|
|
@@ -144,7 +142,7 @@ function (_super) {
|
|
|
144
142
|
var startIndex = maxRow * (i - 1);
|
|
145
143
|
var endIndex = maxRow * i;
|
|
146
144
|
var columnList = options.slice(startIndex, endIndex);
|
|
147
|
-
list.push(
|
|
145
|
+
list.push(__spreadArray([], columnList, true));
|
|
148
146
|
}
|
|
149
147
|
|
|
150
148
|
return {
|
|
@@ -178,8 +176,8 @@ function (_super) {
|
|
|
178
176
|
|
|
179
177
|
var child = _react.default.Children.only(title);
|
|
180
178
|
|
|
181
|
-
return _react.default.cloneElement(child, {
|
|
182
|
-
className: (0, _classnames.default)(this.prefixCls
|
|
179
|
+
return /*#__PURE__*/_react.default.cloneElement(child, {
|
|
180
|
+
className: (0, _classnames.default)("".concat(this.prefixCls, "-title"), child.props.className)
|
|
183
181
|
});
|
|
184
182
|
};
|
|
185
183
|
|
|
@@ -192,8 +190,8 @@ function (_super) {
|
|
|
192
190
|
|
|
193
191
|
var child = _react.default.Children.only(bottom);
|
|
194
192
|
|
|
195
|
-
return _react.default.cloneElement(child, {
|
|
196
|
-
className: (0, _classnames.default)(this.prefixCls
|
|
193
|
+
return /*#__PURE__*/_react.default.cloneElement(child, {
|
|
194
|
+
className: (0, _classnames.default)("".concat(this.prefixCls, "-bottom"), child.props.className)
|
|
197
195
|
});
|
|
198
196
|
};
|
|
199
197
|
/**
|
|
@@ -205,25 +203,25 @@ function (_super) {
|
|
|
205
203
|
var _this = this;
|
|
206
204
|
|
|
207
205
|
var cls = this.prefixCls;
|
|
208
|
-
return _react.default.createElement(_react.default.Fragment, null, this.renderTitle(), _react.default.createElement("div", {
|
|
209
|
-
className: cls
|
|
206
|
+
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, this.renderTitle(), /*#__PURE__*/_react.default.createElement("div", {
|
|
207
|
+
className: "".concat(cls, "-content")
|
|
210
208
|
}, this.state.list.map(function (col, index) {
|
|
211
|
-
return _react.default.createElement("ul", {
|
|
212
|
-
className: cls
|
|
209
|
+
return /*#__PURE__*/_react.default.createElement("ul", {
|
|
210
|
+
className: "".concat(cls, "-col"),
|
|
213
211
|
key: index
|
|
214
212
|
}, col.map(function (item) {
|
|
215
213
|
var _a;
|
|
216
214
|
|
|
217
215
|
if (item.unselect) {
|
|
218
|
-
return _react.default.createElement("li", {
|
|
219
|
-
key: item.value
|
|
220
|
-
className: (0, _classnames.default)(item.className, cls
|
|
216
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
217
|
+
key: "".concat(item.value, "1"),
|
|
218
|
+
className: (0, _classnames.default)(item.className, "".concat(cls, "-unselect"))
|
|
221
219
|
}, item.name);
|
|
222
220
|
}
|
|
223
221
|
|
|
224
|
-
return _react.default.createElement("li", {
|
|
222
|
+
return /*#__PURE__*/_react.default.createElement("li", {
|
|
225
223
|
key: item.value,
|
|
226
|
-
className: (0, _classnames.default)(item.className, (_a = {}, _a[cls
|
|
224
|
+
className: (0, _classnames.default)(item.className, (_a = {}, _a["".concat(cls, "-active")] = item.value === _this.props.value, _a)),
|
|
227
225
|
onClick: function onClick(ev) {
|
|
228
226
|
return _this.onSelecting(ev, item);
|
|
229
227
|
}
|
|
@@ -271,8 +269,8 @@ function (_super) {
|
|
|
271
269
|
|
|
272
270
|
var cls = this.prefixCls;
|
|
273
271
|
var currentName = this.getCurrentName();
|
|
274
|
-
return _react.default.createElement(_trigger.default, __assign({}, extraProps, {
|
|
275
|
-
wrapClassName: (0, _classnames.default)(cls
|
|
272
|
+
return /*#__PURE__*/_react.default.createElement(_trigger.default, __assign({}, extraProps, {
|
|
273
|
+
wrapClassName: (0, _classnames.default)("".concat(cls, "-wrap"), dropClassName),
|
|
276
274
|
visible: visible,
|
|
277
275
|
trigger: "click",
|
|
278
276
|
isTransformHorizontalDirection: true,
|
|
@@ -280,20 +278,20 @@ function (_super) {
|
|
|
280
278
|
popupLimitSpacing: 10,
|
|
281
279
|
popup: this.getSelectPopup(),
|
|
282
280
|
onVisibleChange: this.triggerSelect
|
|
283
|
-
}), _react.default.createElement("div", {
|
|
284
|
-
className: (0, _classnames.default)([cls
|
|
281
|
+
}), /*#__PURE__*/_react.default.createElement("div", {
|
|
282
|
+
className: (0, _classnames.default)(["".concat(cls, "-input-group"), className, (_a = {}, _a["".concat(cls, "-active")] = visible, _a.disabled = disabled, _a)]),
|
|
285
283
|
onClick: this.onTriggerSelect
|
|
286
|
-
}, _react.default.createElement("div", {
|
|
287
|
-
className: (0, _classnames.default)([cls
|
|
288
|
-
}, currentName || placeholder), hiddenIcon ? null : _react.default.createElement("span", {
|
|
289
|
-
className: cls
|
|
284
|
+
}, /*#__PURE__*/_react.default.createElement("div", {
|
|
285
|
+
className: (0, _classnames.default)(["".concat(cls, "-input-control"), (_b = {}, _b["".concat(cls, "-focused")] = visible, _b["".concat(cls, "-empty")] = !currentName, _b)])
|
|
286
|
+
}, currentName || placeholder), hiddenIcon ? null : /*#__PURE__*/_react.default.createElement("span", {
|
|
287
|
+
className: "".concat(cls, "-icon")
|
|
290
288
|
}, typeof icon === 'function' ? icon() : icon)));
|
|
291
289
|
}; // 默认值
|
|
292
290
|
|
|
293
291
|
|
|
294
292
|
Select.defaultProps = {
|
|
295
293
|
title: null,
|
|
296
|
-
icon: _react.default.createElement("svg", {
|
|
294
|
+
icon: /*#__PURE__*/_react.default.createElement("svg", {
|
|
297
295
|
viewBox: "64 64 896 896",
|
|
298
296
|
"data-icon": "down",
|
|
299
297
|
fill: "currentColor",
|
|
@@ -301,7 +299,7 @@ function (_super) {
|
|
|
301
299
|
height: "1em",
|
|
302
300
|
"aria-hidden": "true",
|
|
303
301
|
focusable: "false"
|
|
304
|
-
}, _react.default.createElement("path", {
|
|
302
|
+
}, /*#__PURE__*/_react.default.createElement("path", {
|
|
305
303
|
d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"
|
|
306
304
|
})),
|
|
307
305
|
placeholder: 'Please select',
|