antd-management-fast-framework 1.12.13 → 1.12.18
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/License.txt +21 -0
- package/es/customComponents/AMap/UIPoiPicker.js +1 -1
- package/es/customComponents/AMap/UIPositionPicker.js +1 -1
- package/es/customComponents/ActiveChart/index.js +1 -1
- package/es/customComponents/AnimalBox/FadeBox/index.js +1 -1
- package/es/customComponents/AnimalBox/QueueBox/index.js +1 -1
- package/es/customComponents/AnimalBox/QueueListBox/index.js +1 -1
- package/es/customComponents/AnimalBox/RotateBox/index.js +1 -1
- package/es/customComponents/AudioUpload/index.js +1 -1
- package/es/customComponents/Authorized/PromiseRender.js +1 -1
- package/es/customComponents/Canvas/Bubbly/index.js +1 -1
- package/es/customComponents/Canvas/Core/index.js +1 -1
- package/es/customComponents/Canvas/RadarScanning/index.js +1 -1
- package/es/customComponents/Canvas/Spirit/index.js +1 -1
- package/es/customComponents/CenterBox/index.js +1 -1
- package/es/customComponents/Charts/Bar/index.js +1 -1
- package/es/customComponents/Charts/ChartCard/index.js +1 -1
- package/es/customComponents/Charts/Pie/index.js +1 -1
- package/es/customComponents/Charts/TagCloud/index.js +1 -1
- package/es/customComponents/Charts/WaterWave/index.js +1 -1
- package/es/customComponents/Charts/autoHeight.js +1 -1
- package/es/customComponents/ColorText/index.js +1 -1
- package/es/customComponents/Countdown/index.js +1 -1
- package/es/customComponents/DataPreviewDrawer/index.js +1 -1
- package/es/customComponents/DecorateAvatar/index.js +1 -1
- package/es/customComponents/DisplayCopyData/index.js +1 -1
- package/es/customComponents/EditableItem/index.js +1 -1
- package/es/customComponents/EditableLinkGroup/index.js +1 -1
- package/es/customComponents/Editor/TinymceWrapper/index.js +1 -1
- package/es/customComponents/Ellipsis/index.js +1 -1
- package/es/customComponents/EllipsisCustom/index.js +1 -1
- package/es/customComponents/EverySpace/index.js +1 -1
- package/es/customComponents/Exception/index.js +1 -1
- package/es/customComponents/FigureRange/index.js +1 -1
- package/es/customComponents/FileBase64Upload/index.js +1 -1
- package/es/customComponents/FileUpload/index.js +1 -1
- package/es/customComponents/FlexBox/index.js +1 -1
- package/es/customComponents/FlexText/index.js +1 -1
- package/es/customComponents/FooterToolbar/index.js +1 -1
- package/es/customComponents/FromDisplayItem/index.js +1 -1
- package/es/customComponents/HelpBox/index.js +1 -1
- package/es/customComponents/HelpCard/index.js +1 -1
- package/es/customComponents/HtmlBox/index.js +1 -1
- package/es/customComponents/IconInfo/index.js +1 -1
- package/es/customComponents/ImageBox/index.js +1 -1
- package/es/customComponents/ImageContentPreview/index.js +1 -1
- package/es/customComponents/ImageUpload/index.js +1 -1
- package/es/customComponents/Login/LoginItem.js +1 -1
- package/es/customComponents/Login/LoginTab.js +1 -1
- package/es/customComponents/Login/index.js +1 -1
- package/es/customComponents/MobileContainor/ContentView/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/GalaxyNote8/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/IPhone5S/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/Iphone8/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/Iphone8plus/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/IphoneX/index.js +1 -1
- package/es/customComponents/MobileContainor/Devices/RoughSketch/index.js +1 -1
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +1 -1
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +1 -1
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +1 -1
- package/es/customComponents/MobileContainor/MobileSimulation/index.js +1 -1
- package/es/customComponents/NoticeIconCustom/index.js +1 -1
- package/es/customComponents/PercentageBox/index.js +1 -1
- package/es/customComponents/PriceBox/index.js +1 -1
- package/es/customComponents/StandardTable/index.js +1 -1
- package/es/customComponents/StandardTableCustom/index.js +1 -1
- package/es/customComponents/StatusBar/index.js +1 -1
- package/es/customComponents/TagSelect/index.js +1 -1
- package/es/customComponents/TimeLineCustom/index.js +1 -1
- package/es/customComponents/VerticalBox/index.js +1 -1
- package/es/customComponents/VideoUpload/index.js +1 -1
- package/es/framework/AuthorizationWrapper/index.js +1 -1
- package/es/framework/Base/index.d.ts +4 -0
- package/es/framework/Base/index.js +7 -1
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +1 -1
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +1 -1
- package/es/framework/Common/index.js +1 -1
- package/es/framework/Core/index.js +1 -1
- package/es/framework/CustomBase/index.js +1 -1
- package/es/framework/CustomWrapper/Supplement/index.js +1 -1
- package/es/framework/CustomWrapper/SupplementCore/index.js +1 -1
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +1 -1
- package/es/framework/DataDrawer/Base/index.js +1 -1
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +1 -1
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +1 -1
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +1 -1
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +1 -1
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +1 -1
- package/es/framework/DataForm/BaseAddForm/index.js +1 -1
- package/es/framework/DataForm/BaseUpdateForm/index.js +1 -1
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +1 -1
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +1 -1
- package/es/framework/DataListView/Base/index.js +8 -8
- package/es/framework/DataListView/DensityAction/index.js +1 -1
- package/es/framework/DataMenuContainer/index.js +1 -1
- package/es/framework/DataModal/Base/index.js +1 -1
- package/es/framework/DataModal/BaseAddModal/index.js +1 -1
- package/es/framework/DataModal/BaseLoadModal/index.js +1 -1
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +1 -1
- package/es/framework/DataModal/BaseSelectModal/index.js +1 -1
- package/es/framework/DataModal/BaseUpdateModal/index.js +1 -1
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +1 -1
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +1 -1
- package/es/framework/DataMultiPageView/MultiPage/index.js +1 -1
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +1 -0
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +3 -2
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +1 -1
- package/es/framework/DataOperation/Base/index.js +1 -1
- package/es/framework/DataOperation/BaseView/index.js +1 -1
- package/es/framework/DataOperation/BaseWindow/index.js +1 -1
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +1 -1
- package/es/framework/DataSinglePageView/SinglePage/index.js +1 -1
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +12 -3
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +6 -1
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +5 -3
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +4 -1
- package/es/framework/DataSingleView/DataCore/index.js +1 -1
- package/es/framework/DataSingleView/DataLoad/index.js +1 -1
- package/es/framework/DataTabContainer/index.js +1 -1
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +1 -1
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +1 -1
- package/es/framework/Wrapper/index.js +1 -1
- package/es/utils/Yuan.js +1 -1
- package/es/utils/tools.js +2 -4
- package/package.json +47 -46
- package/CHANGELOG.md +0 -633
|
@@ -17,7 +17,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
17
17
|
|
|
18
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
19
|
|
|
20
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
21
|
|
|
22
22
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
23
|
|
|
@@ -131,7 +131,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
131
131
|
|
|
132
132
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
133
133
|
|
|
134
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
134
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
135
135
|
|
|
136
136
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
137
137
|
|
|
@@ -1021,8 +1021,6 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
1023
|
_this.renderCardExtraAction = function () {
|
|
1024
|
-
var _React$createElement;
|
|
1025
|
-
|
|
1026
1024
|
var _this$state5 = _this.state,
|
|
1027
1025
|
listViewMode = _this$state5.listViewMode,
|
|
1028
1026
|
tableSize = _this$state5.tableSize,
|
|
@@ -1061,16 +1059,18 @@ var ListBase = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
|
1061
1059
|
|
|
1062
1060
|
return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_tooltip.default, {
|
|
1063
1061
|
title: "\u5237\u65B0\u672C\u9875"
|
|
1064
|
-
}, /*#__PURE__*/_react.default.createElement(_button.default,
|
|
1062
|
+
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
1065
1063
|
shape: "circle",
|
|
1066
1064
|
style: {
|
|
1067
1065
|
color: '#000',
|
|
1068
1066
|
border: 0
|
|
1069
1067
|
},
|
|
1070
|
-
loading: refreshing
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1068
|
+
loading: refreshing,
|
|
1069
|
+
icon: /*#__PURE__*/_react.default.createElement(_icons.ReloadOutlined, null),
|
|
1070
|
+
onClick: function onClick() {
|
|
1071
|
+
_this.refreshData();
|
|
1072
|
+
}
|
|
1073
|
+
})));
|
|
1074
1074
|
};
|
|
1075
1075
|
|
|
1076
1076
|
_this.renderListViewItem = function (record, index) {
|
|
@@ -41,7 +41,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
41
41
|
|
|
42
42
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
43
43
|
|
|
44
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
44
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
46
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
@@ -37,7 +37,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
37
37
|
|
|
38
38
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
39
39
|
|
|
40
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
40
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
41
41
|
|
|
42
42
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
43
43
|
|
|
@@ -49,7 +49,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
49
49
|
|
|
50
50
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
51
51
|
|
|
52
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
52
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
53
53
|
|
|
54
54
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
55
55
|
|
|
@@ -27,7 +27,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
27
27
|
|
|
28
28
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -17,7 +17,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
17
17
|
|
|
18
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
19
|
|
|
20
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
21
|
|
|
22
22
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -25,7 +25,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
25
25
|
|
|
26
26
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -17,7 +17,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
17
17
|
|
|
18
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
19
|
|
|
20
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
21
|
|
|
22
22
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
23
|
|
|
@@ -47,7 +47,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
47
47
|
|
|
48
48
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
49
49
|
|
|
50
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
50
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
51
51
|
|
|
52
52
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
53
53
|
|
|
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
23
23
|
|
|
24
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -31,7 +31,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
31
31
|
|
|
32
32
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
33
33
|
|
|
34
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
34
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
35
35
|
|
|
36
36
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
37
37
|
|
|
@@ -81,7 +81,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
81
81
|
|
|
82
82
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
83
83
|
|
|
84
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
84
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
85
85
|
|
|
86
86
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
87
87
|
|
|
@@ -505,7 +505,8 @@ var MultiPageDrawer = /*#__PURE__*/function (_MultiPage) {
|
|
|
505
505
|
|
|
506
506
|
MultiPageDrawer.defaultProps = {
|
|
507
507
|
hideDrawerAfterSelect: true,
|
|
508
|
-
confirmSelect: true
|
|
508
|
+
confirmSelect: true,
|
|
509
|
+
width: 820
|
|
509
510
|
};
|
|
510
511
|
var _default = MultiPageDrawer;
|
|
511
512
|
exports.default = _default;
|
|
@@ -35,7 +35,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
35
35
|
|
|
36
36
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -33,7 +33,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
33
33
|
|
|
34
34
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
35
35
|
|
|
36
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
36
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
37
37
|
|
|
38
38
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
39
39
|
|
|
@@ -17,7 +17,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
17
17
|
|
|
18
18
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
19
19
|
|
|
20
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
20
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
21
21
|
|
|
22
22
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
23
23
|
|
|
@@ -27,7 +27,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
27
27
|
|
|
28
28
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
29
29
|
|
|
30
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
30
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
31
31
|
|
|
32
32
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
33
33
|
|
|
@@ -23,7 +23,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
23
23
|
|
|
24
24
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
25
25
|
|
|
26
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
26
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
27
27
|
|
|
28
28
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
29
29
|
|
|
@@ -29,7 +29,7 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
29
29
|
|
|
30
30
|
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
31
31
|
|
|
32
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
32
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
33
33
|
|
|
34
34
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
35
35
|
|
|
@@ -49,9 +49,11 @@ declare class SinglePageDrawer extends SinglePage {
|
|
|
49
49
|
*/
|
|
50
50
|
executeOtherAfterDoOtherWhenChangeVisible: (preProps: any, preState: any, snapshot: any) => void;
|
|
51
51
|
onClose: () => void;
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
52
|
+
/**
|
|
53
|
+
* 选择数据
|
|
54
|
+
* @param {*} handleData
|
|
55
|
+
*/
|
|
56
|
+
selectRecord: ({ handleData }: any) => void;
|
|
55
57
|
renderTitleIcon: () => JSX.Element;
|
|
56
58
|
hideDrawer: () => void;
|
|
57
59
|
establishWrapperTypeConfig: () => {
|
|
@@ -61,4 +63,11 @@ declare class SinglePageDrawer extends SinglePage {
|
|
|
61
63
|
renderContentContainor: () => JSX.Element;
|
|
62
64
|
renderDrawerInner: () => JSX.Element;
|
|
63
65
|
}
|
|
66
|
+
declare namespace SinglePageDrawer {
|
|
67
|
+
export namespace defaultProps {
|
|
68
|
+
export const hideDrawerAfterSelect: boolean;
|
|
69
|
+
export const confirmSelect: boolean;
|
|
70
|
+
export const width: number;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
64
73
|
import SinglePage from "../SinglePage";
|
|
@@ -77,7 +77,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
77
77
|
|
|
78
78
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
79
79
|
|
|
80
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
80
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
81
81
|
|
|
82
82
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
83
83
|
|
|
@@ -481,5 +481,10 @@ var SinglePageDrawer = /*#__PURE__*/function (_SinglePage) {
|
|
|
481
481
|
return SinglePageDrawer;
|
|
482
482
|
}(_SinglePage2.default);
|
|
483
483
|
|
|
484
|
+
SinglePageDrawer.defaultProps = {
|
|
485
|
+
hideDrawerAfterSelect: true,
|
|
486
|
+
confirmSelect: true,
|
|
487
|
+
width: 820
|
|
488
|
+
};
|
|
484
489
|
var _default = SinglePageDrawer;
|
|
485
490
|
exports.default = _default;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
export default SinglePageSelectDrawer;
|
|
2
|
-
declare class SinglePageSelectDrawer
|
|
3
|
-
|
|
2
|
+
declare class SinglePageSelectDrawer {
|
|
3
|
+
static getDerivedStateFromProps(nextProps: any, prevState: any): any;
|
|
4
|
+
selectRecord: ({ handleData }: {
|
|
5
|
+
handleData: any;
|
|
6
|
+
}) => void;
|
|
4
7
|
renderSelectButton: ({ confirm, text: textSource, icon: iconSource, handleData, showIcon, }: {
|
|
5
8
|
confirm?: boolean | undefined;
|
|
6
9
|
text?: string | undefined;
|
|
@@ -9,4 +12,3 @@ declare class SinglePageSelectDrawer extends SinglePageDrawer {
|
|
|
9
12
|
showIcon?: boolean | undefined;
|
|
10
13
|
}) => JSX.Element | null;
|
|
11
14
|
}
|
|
12
|
-
import SinglePageDrawer from "../SinglePageDrawer";
|
|
@@ -35,7 +35,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
35
35
|
|
|
36
36
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -114,5 +114,8 @@ var SinglePageSelectDrawer = /*#__PURE__*/function (_SinglePageDrawer) {
|
|
|
114
114
|
return SinglePageSelectDrawer;
|
|
115
115
|
}(_SinglePageDrawer2.default);
|
|
116
116
|
|
|
117
|
+
_SinglePageDrawer2.default.defaultProps = {
|
|
118
|
+
width: 820
|
|
119
|
+
};
|
|
117
120
|
var _default = SinglePageSelectDrawer;
|
|
118
121
|
exports.default = _default;
|
|
@@ -61,7 +61,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
61
61
|
|
|
62
62
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
63
63
|
|
|
64
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
64
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
65
65
|
|
|
66
66
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
67
67
|
|
|
@@ -25,7 +25,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
25
25
|
|
|
26
26
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
27
27
|
|
|
28
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
28
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
29
29
|
|
|
30
30
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
31
31
|
|
|
@@ -49,7 +49,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
49
49
|
|
|
50
50
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
51
51
|
|
|
52
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
52
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
53
53
|
|
|
54
54
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
55
55
|
|
|
@@ -41,7 +41,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
41
41
|
|
|
42
42
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
43
43
|
|
|
44
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
44
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
45
45
|
|
|
46
46
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
47
47
|
|
|
@@ -35,7 +35,7 @@ function _get() { if (typeof Reflect !== "undefined" && Reflect.get) { _get = Re
|
|
|
35
35
|
|
|
36
36
|
function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf(object); if (object === null) break; } return object; }
|
|
37
37
|
|
|
38
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
38
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
39
39
|
|
|
40
40
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
41
41
|
|
|
@@ -19,7 +19,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
19
19
|
|
|
20
20
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
21
|
|
|
22
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
23
|
|
|
24
24
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
25
|
|
package/es/utils/Yuan.js
CHANGED
|
@@ -19,7 +19,7 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
|
|
19
19
|
|
|
20
20
|
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
|
|
21
21
|
|
|
22
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); }
|
|
22
|
+
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
|
|
23
23
|
|
|
24
24
|
function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
|
|
25
25
|
|
package/es/utils/tools.js
CHANGED
|
@@ -1377,9 +1377,7 @@ function getRandomColor(_ref19) {
|
|
|
1377
1377
|
count: count,
|
|
1378
1378
|
format: format,
|
|
1379
1379
|
alpha: alpha
|
|
1380
|
-
});
|
|
1381
|
-
// 16,
|
|
1382
|
-
// )}`.substr(-6)}`;
|
|
1380
|
+
});
|
|
1383
1381
|
}
|
|
1384
1382
|
|
|
1385
1383
|
function getBrowserInfoCore() {
|
|
@@ -1831,7 +1829,7 @@ function isFunction(value) {
|
|
|
1831
1829
|
}
|
|
1832
1830
|
|
|
1833
1831
|
function isArray(value) {
|
|
1834
|
-
return
|
|
1832
|
+
return Array.isArray(value);
|
|
1835
1833
|
}
|
|
1836
1834
|
|
|
1837
1835
|
function isObject(o) {
|