antd-management-fast-framework 2.1.0 → 2.1.1
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/es/index.js +3 -9771
- package/package.json +7 -7
- package/es/configGroup/configGeneral.d.ts +0 -28
- package/es/configGroup/configGeneral.js +0 -36
- package/es/configGroup/index.d.ts +0 -2
- package/es/configGroup/themeCollection.d.ts +0 -7
- package/es/configGroup/themeCollection.js +0 -9
- package/es/configGroup/webpackPlugin.d.ts +0 -4
- package/es/configGroup/webpackPlugin.js +0 -351
- package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
- package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
- package/es/customComponents/Bootstrap/index.d.ts +0 -3
- package/es/customComponents/Bootstrap/index.js +0 -67
- package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
- package/es/customComponents/DataPreviewDrawer/index.js +0 -169
- package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
- package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
- package/es/customComponents/MobileContainor/index.d.ts +0 -8
- package/es/customComponents/index.d.ts +0 -5
- package/es/framework/AuthorizationWrapper/index.js +0 -108
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
- package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
- package/es/framework/Common/CommonInternal/index.d.ts +0 -167
- package/es/framework/Common/InternalMake/index.d.ts +0 -9
- package/es/framework/Common/index.js +0 -39
- package/es/framework/Core/index.js +0 -38
- package/es/framework/CustomWrapper/Supplement/index.js +0 -67
- package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
- package/es/framework/DataDrawer/Base/index.js +0 -335
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
- package/es/framework/DataForm/BaseAddForm/index.js +0 -261
- package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
- package/es/framework/DataListView/Base/index.js +0 -1261
- package/es/framework/DataListView/BatchAction/index.js +0 -73
- package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
- package/es/framework/DataListView/ColumnSetting/index.js +0 -319
- package/es/framework/DataListView/DensityAction/index.js +0 -63
- package/es/framework/DataMenuContainer/index.js +0 -282
- package/es/framework/DataModal/Base/index.js +0 -231
- package/es/framework/DataModal/BaseAddModal/index.js +0 -72
- package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
- package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
- package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
- package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
- package/es/framework/DataOperation/Base/index.js +0 -322
- package/es/framework/DataOperation/BaseView/index.js +0 -83
- package/es/framework/DataOperation/BaseWindow/index.js +0 -330
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
- package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
- package/es/framework/DataSingleView/DataCore/index.js +0 -260
- package/es/framework/DataSingleView/DataLoad/index.js +0 -151
- package/es/framework/DataTabContainer/index.js +0 -254
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
- package/es/framework/LayoutWrapper/index.d.ts +0 -2
- package/es/framework/Wrapper/index.js +0 -59
- package/es/get.js +0 -28
- package/es/getPrototypeOf.js +0 -76
- package/es/index2.js +0 -2075
- package/es/index3.js +0 -383
- package/es/models/index.d.ts +0 -1
- package/es/models/schedulingControl.d.ts +0 -46
- package/es/models/schedulingControl.js +0 -171
- package/es/objectSpread2.js +0 -40
- package/es/services/schedulingControl.js +0 -135
- package/es/slicedToArray.js +0 -43
- package/es/toConsumableArray.js +0 -19
- package/es/toPropertyKey.js +0 -19
- package/es/typeof.js +0 -11
- package/es/unsupportedIterableToArray.js +0 -16
- package/es/utils/appListDataAssist.js +0 -69
- package/es/utils/applicationAssist.js +0 -28
- package/es/utils/bootstrap.js +0 -58
- package/es/utils/layoutSettingAssist.js +0 -60
- package/es/utils/metaDataAssist.js +0 -69
- package/es/utils/storageAssist.js +0 -153
|
@@ -1,335 +0,0 @@
|
|
|
1
|
-
import { _ as _toConsumableArray } from '../../../toConsumableArray.js';
|
|
2
|
-
import { _ as _objectSpread2 } from '../../../objectSpread2.js';
|
|
3
|
-
import { _ as _extends } from '../../../index2.js';
|
|
4
|
-
import { _ as _inherits, a as _classCallCheck, e as _assertThisInitialized, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
5
|
-
import { Layout, Form, Affix, Row, Col, Space, Divider, Drawer } from 'antd';
|
|
6
|
-
import React, { Fragment } from 'react';
|
|
7
|
-
import { cardConfig, drawerConfig } from 'antd-management-fast-common/es/utils/constants';
|
|
8
|
-
import { isFunction, isArray, defaultFormState, isUndefined } from 'antd-management-fast-common/es/utils/tools';
|
|
9
|
-
import FlexBox from 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
10
|
-
import { buildDropdownEllipsis, buildDropdownButton, buildDropdown, buildButton, buildCustomSelect } from 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
11
|
-
import { iconBuilder } from 'antd-management-fast-component/es/customComponents/Icon';
|
|
12
|
-
import IconInfo from 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
13
|
-
import BaseWindow from '../../DataOperation/BaseWindow/index.js';
|
|
14
|
-
import '../../../unsupportedIterableToArray.js';
|
|
15
|
-
import '../../../toPropertyKey.js';
|
|
16
|
-
import '../../../typeof.js';
|
|
17
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
18
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
34
|
-
import '../../../utils/metaDataAssist.js';
|
|
35
|
-
import '../../../index3.js';
|
|
36
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
37
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
38
|
-
import '../../../utils/storageAssist.js';
|
|
39
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
40
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
41
|
-
import '../../Core/index.js';
|
|
42
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
43
|
-
import '../../DataOperation/Base/index.js';
|
|
44
|
-
import '../../AuthorizationWrapper/index.js';
|
|
45
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
46
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
47
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
48
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
49
|
-
|
|
50
|
-
var styles = {"mainContainor":"index_mainContainor__OlU-H","contentContainor":"index_contentContainor__Ghkie","titleText":"index_titleText__teFu7","bottomBar":"index_bottomBar__xN76n"};
|
|
51
|
-
|
|
52
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
53
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
54
|
-
var Footer = Layout.Footer,
|
|
55
|
-
Content = Layout.Content;
|
|
56
|
-
var Base = /*#__PURE__*/function (_BaseWindow) {
|
|
57
|
-
_inherits(Base, _BaseWindow);
|
|
58
|
-
var _super = _createSuper(Base);
|
|
59
|
-
function Base(props) {
|
|
60
|
-
var _this;
|
|
61
|
-
_classCallCheck(this, Base);
|
|
62
|
-
_this = _super.call(this, props);
|
|
63
|
-
_this.onClose = function () {
|
|
64
|
-
var afterClose = _this.props.afterClose;
|
|
65
|
-
if (isFunction(afterClose)) {
|
|
66
|
-
afterClose();
|
|
67
|
-
}
|
|
68
|
-
};
|
|
69
|
-
_this.buildTitlePrevText = function () {
|
|
70
|
-
return '';
|
|
71
|
-
};
|
|
72
|
-
_this.buildTitleText = function () {
|
|
73
|
-
var pageName = _this.state.pageName;
|
|
74
|
-
return pageName;
|
|
75
|
-
};
|
|
76
|
-
_this.buildTitleSubText = function () {
|
|
77
|
-
return '';
|
|
78
|
-
};
|
|
79
|
-
_this.renderTitleIcon = function () {
|
|
80
|
-
return iconBuilder.form();
|
|
81
|
-
};
|
|
82
|
-
_this.renderTitle = function () {
|
|
83
|
-
var prevText = _this.buildTitlePrevText();
|
|
84
|
-
var subText = _this.buildTitleSubText();
|
|
85
|
-
subText = checkStringIsNullOrWhiteSpace(subText) ? '' : "\uFF1A\u3010".concat(subText, "\u3011");
|
|
86
|
-
return "".concat(prevText).concat(_this.buildTitleText() || '信息详情').concat(subText);
|
|
87
|
-
};
|
|
88
|
-
_this.buildFormLayout = function () {
|
|
89
|
-
return 'vertical';
|
|
90
|
-
};
|
|
91
|
-
_this.buildNotificationPlacement = function () {
|
|
92
|
-
return "bottomLeft";
|
|
93
|
-
};
|
|
94
|
-
_this.renderForm = function () {
|
|
95
|
-
var _this$state = _this.state,
|
|
96
|
-
metaData = _this$state.metaData,
|
|
97
|
-
metaListData = _this$state.metaListData,
|
|
98
|
-
metaExtra = _this$state.metaExtra,
|
|
99
|
-
metaOriginalData = _this$state.metaOriginalData;
|
|
100
|
-
var initialValues = _this.buildInitialValues({
|
|
101
|
-
metaData: metaData,
|
|
102
|
-
metaListData: metaListData,
|
|
103
|
-
metaExtra: metaExtra,
|
|
104
|
-
metaOriginalData: metaOriginalData
|
|
105
|
-
});
|
|
106
|
-
var otherFormProps = _this.establishFormAdditionalConfig();
|
|
107
|
-
return /*#__PURE__*/React.createElement(Form, _extends({
|
|
108
|
-
ref: _this.formRef,
|
|
109
|
-
initialValues: initialValues,
|
|
110
|
-
className: _this.getFormClassName(),
|
|
111
|
-
layout: _this.buildFormLayout()
|
|
112
|
-
}, otherFormProps), _this.formContent());
|
|
113
|
-
};
|
|
114
|
-
_this.establishCardCollectionConfig = function () {
|
|
115
|
-
return null;
|
|
116
|
-
};
|
|
117
|
-
_this.establishWrapperTypeConfig = function () {
|
|
118
|
-
return {
|
|
119
|
-
mode: cardConfig.wrapperType.drawer
|
|
120
|
-
};
|
|
121
|
-
};
|
|
122
|
-
_this.formContent = function () {
|
|
123
|
-
return _this.buildCardCollection(_this.establishCardCollectionConfig());
|
|
124
|
-
};
|
|
125
|
-
_this.renderContentContainor = function () {
|
|
126
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
127
|
-
className: styles.contentContainor
|
|
128
|
-
}, _this.renderForm());
|
|
129
|
-
};
|
|
130
|
-
_this.renderCloseButton = function (option) {
|
|
131
|
-
var o = _objectSpread2(_objectSpread2(_objectSpread2({}, {
|
|
132
|
-
type: 'default',
|
|
133
|
-
icon: iconBuilder.closeCircle(),
|
|
134
|
-
text: '关闭'
|
|
135
|
-
}), option || {}), {
|
|
136
|
-
handleClick: function handleClick() {
|
|
137
|
-
_this.onClose();
|
|
138
|
-
}
|
|
139
|
-
});
|
|
140
|
-
return _this.renderGeneralButton(o);
|
|
141
|
-
};
|
|
142
|
-
_this.buildBottomBarInnerExtraConfigList = function () {
|
|
143
|
-
return [];
|
|
144
|
-
};
|
|
145
|
-
_this.buildBottomBarInnerDefaultConfigList = function () {
|
|
146
|
-
return [{
|
|
147
|
-
buildType: drawerConfig.bottomBarBuildType.close
|
|
148
|
-
}];
|
|
149
|
-
};
|
|
150
|
-
_this.buildBottomBarInnerLeftItemConfigList = function () {
|
|
151
|
-
return [];
|
|
152
|
-
};
|
|
153
|
-
_this.buildBottomBarInnerRightItemConfigList = function () {
|
|
154
|
-
var bottomBarInnerExtraConfigList = _this.buildBottomBarInnerExtraConfigList();
|
|
155
|
-
var bottomBarInnerDefaultConfigList = _this.buildBottomBarInnerDefaultConfigList();
|
|
156
|
-
return [].concat(_toConsumableArray(bottomBarInnerExtraConfigList), _toConsumableArray(bottomBarInnerDefaultConfigList));
|
|
157
|
-
};
|
|
158
|
-
_this.renderBottomBarRightBox = function () {
|
|
159
|
-
var rightConfigList = _this.buildBottomBarInnerRightItemConfigList();
|
|
160
|
-
return _this.renderBottomBarInnerBox(rightConfigList);
|
|
161
|
-
};
|
|
162
|
-
_this.renderBottomBarLeftBox = function () {
|
|
163
|
-
var leftConfigList = _this.buildBottomBarInnerLeftItemConfigList();
|
|
164
|
-
return _this.renderBottomBarInnerBox(leftConfigList);
|
|
165
|
-
};
|
|
166
|
-
_this.renderBottomBarInnerBox = function (configList) {
|
|
167
|
-
if (!isArray(configList) || configList.length <= 0) {
|
|
168
|
-
return null;
|
|
169
|
-
}
|
|
170
|
-
var components = [];
|
|
171
|
-
var that = _assertThisInitialized(_this);
|
|
172
|
-
configList.forEach(function (item, index) {
|
|
173
|
-
if ((item || null) != null) {
|
|
174
|
-
var _hidden$buildType$ico = _objectSpread2(_objectSpread2({}, {
|
|
175
|
-
hidden: false,
|
|
176
|
-
buildType: null,
|
|
177
|
-
icon: null,
|
|
178
|
-
text: '',
|
|
179
|
-
component: null
|
|
180
|
-
}), item),
|
|
181
|
-
hidden = _hidden$buildType$ico.hidden,
|
|
182
|
-
itemBuildType = _hidden$buildType$ico.buildType,
|
|
183
|
-
itemIcon = _hidden$buildType$ico.icon,
|
|
184
|
-
itemText = _hidden$buildType$ico.text,
|
|
185
|
-
itemComponent = _hidden$buildType$ico.component;
|
|
186
|
-
var itemHidden = hidden;
|
|
187
|
-
if (!hidden && itemBuildType === drawerConfig.bottomBarBuildType.component && (itemComponent || null) == null) {
|
|
188
|
-
itemHidden = true;
|
|
189
|
-
}
|
|
190
|
-
if (!itemHidden) {
|
|
191
|
-
var itemKey = "drawer_bottomBar_button_key_".concat(index);
|
|
192
|
-
var itemAdjust = item;
|
|
193
|
-
switch (itemBuildType) {
|
|
194
|
-
case drawerConfig.bottomBarBuildType.close:
|
|
195
|
-
itemAdjust = _this.renderCloseButton(item);
|
|
196
|
-
break;
|
|
197
|
-
case drawerConfig.bottomBarBuildType.save:
|
|
198
|
-
itemAdjust = _this.renderSaveButton(_objectSpread2(_objectSpread2({}, item), {
|
|
199
|
-
handleClick: function handleClick(e) {
|
|
200
|
-
that.handleOk(e);
|
|
201
|
-
}
|
|
202
|
-
}));
|
|
203
|
-
break;
|
|
204
|
-
case drawerConfig.bottomBarBuildType.generalButton:
|
|
205
|
-
itemAdjust = _this.renderGeneralButton(item);
|
|
206
|
-
break;
|
|
207
|
-
case cardConfig.extraBuildType.flexSelect:
|
|
208
|
-
itemAdjust = buildCustomSelect(item);
|
|
209
|
-
break;
|
|
210
|
-
case drawerConfig.bottomBarBuildType.button:
|
|
211
|
-
itemAdjust = buildButton(item);
|
|
212
|
-
break;
|
|
213
|
-
case drawerConfig.bottomBarBuildType.dropdown:
|
|
214
|
-
itemAdjust = buildDropdown(_objectSpread2(_objectSpread2({}, item), {
|
|
215
|
-
placement: 'topRight'
|
|
216
|
-
}));
|
|
217
|
-
break;
|
|
218
|
-
case drawerConfig.bottomBarBuildType.dropdownButton:
|
|
219
|
-
itemAdjust = buildDropdownButton(_objectSpread2(_objectSpread2({}, item), {
|
|
220
|
-
placement: 'topRight'
|
|
221
|
-
}));
|
|
222
|
-
break;
|
|
223
|
-
case drawerConfig.bottomBarBuildType.dropdownEllipsis:
|
|
224
|
-
itemAdjust = buildDropdownEllipsis(_objectSpread2(_objectSpread2({}, item), {
|
|
225
|
-
placement: 'topRight'
|
|
226
|
-
}));
|
|
227
|
-
break;
|
|
228
|
-
case drawerConfig.bottomBarBuildType.iconInfo:
|
|
229
|
-
itemAdjust = /*#__PURE__*/React.createElement(IconInfo, {
|
|
230
|
-
icon: itemIcon,
|
|
231
|
-
text: itemText
|
|
232
|
-
});
|
|
233
|
-
break;
|
|
234
|
-
case drawerConfig.bottomBarBuildType.component:
|
|
235
|
-
itemAdjust = itemComponent || null;
|
|
236
|
-
break;
|
|
237
|
-
default:
|
|
238
|
-
itemAdjust = item;
|
|
239
|
-
break;
|
|
240
|
-
}
|
|
241
|
-
components.push( /*#__PURE__*/React.createElement(Fragment, {
|
|
242
|
-
key: itemKey
|
|
243
|
-
}, itemAdjust));
|
|
244
|
-
}
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
return components;
|
|
248
|
-
};
|
|
249
|
-
_this.renderBottomBar = function () {
|
|
250
|
-
var bottomBarLeftBox = _this.renderBottomBarLeftBox();
|
|
251
|
-
var bottomBarRightBox = _this.renderBottomBarRightBox();
|
|
252
|
-
return /*#__PURE__*/React.createElement(Footer, null, /*#__PURE__*/React.createElement(Affix, {
|
|
253
|
-
offsetBottom: 0
|
|
254
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
255
|
-
className: styles.bottomBar
|
|
256
|
-
}, /*#__PURE__*/React.createElement(Row, null, /*#__PURE__*/React.createElement(Col, {
|
|
257
|
-
span: 24,
|
|
258
|
-
style: {
|
|
259
|
-
textAlign: 'right'
|
|
260
|
-
}
|
|
261
|
-
}, /*#__PURE__*/React.createElement(FlexBox, {
|
|
262
|
-
flexAuto: "left",
|
|
263
|
-
left: /*#__PURE__*/React.createElement(FlexBox, {
|
|
264
|
-
flexAuto: "right",
|
|
265
|
-
style: {
|
|
266
|
-
height: '100%'
|
|
267
|
-
},
|
|
268
|
-
leftStyle: {
|
|
269
|
-
height: '100%'
|
|
270
|
-
},
|
|
271
|
-
left: /*#__PURE__*/React.createElement(Space, {
|
|
272
|
-
split: /*#__PURE__*/React.createElement(Divider, {
|
|
273
|
-
type: "vertical"
|
|
274
|
-
}),
|
|
275
|
-
style: {
|
|
276
|
-
height: '100%'
|
|
277
|
-
}
|
|
278
|
-
}, bottomBarLeftBox),
|
|
279
|
-
right: /*#__PURE__*/React.createElement("div", null)
|
|
280
|
-
}),
|
|
281
|
-
right: /*#__PURE__*/React.createElement(Space, {
|
|
282
|
-
split: /*#__PURE__*/React.createElement(Divider, {
|
|
283
|
-
type: "vertical"
|
|
284
|
-
})
|
|
285
|
-
}, bottomBarRightBox)
|
|
286
|
-
}))))));
|
|
287
|
-
};
|
|
288
|
-
var defaultState = defaultFormState();
|
|
289
|
-
_this.state = _objectSpread2(_objectSpread2({}, defaultState), {
|
|
290
|
-
title: '',
|
|
291
|
-
width: 820,
|
|
292
|
-
height: 256,
|
|
293
|
-
visible: false,
|
|
294
|
-
dataLoading: false,
|
|
295
|
-
showBottomBar: false,
|
|
296
|
-
submitApiPath: '',
|
|
297
|
-
placement: 'right'
|
|
298
|
-
});
|
|
299
|
-
return _this;
|
|
300
|
-
}
|
|
301
|
-
_createClass(Base, [{
|
|
302
|
-
key: "renderFurther",
|
|
303
|
-
value: function renderFurther() {
|
|
304
|
-
var _this$state2 = this.state,
|
|
305
|
-
visible = _this$state2.visible,
|
|
306
|
-
width = _this$state2.width,
|
|
307
|
-
height = _this$state2.height,
|
|
308
|
-
showBottomBar = _this$state2.showBottomBar,
|
|
309
|
-
placement = _this$state2.placement;
|
|
310
|
-
var maskClosable = this.props.maskClosable;
|
|
311
|
-
var titleIcon = this.renderTitleIcon();
|
|
312
|
-
return /*#__PURE__*/React.createElement(Drawer, {
|
|
313
|
-
title: /*#__PURE__*/React.createElement("span", null, titleIcon, titleIcon ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", {
|
|
314
|
-
className: styles.titleText
|
|
315
|
-
}), " ", this.renderTitle()) : this.renderTitle()),
|
|
316
|
-
destroyOnClose: false,
|
|
317
|
-
width: width,
|
|
318
|
-
height: height,
|
|
319
|
-
placement: placement,
|
|
320
|
-
open: visible || false,
|
|
321
|
-
maskClosable: isUndefined(maskClosable) ? false : maskClosable,
|
|
322
|
-
onClose: this.onClose,
|
|
323
|
-
bodyStyle: {
|
|
324
|
-
padding: 0
|
|
325
|
-
},
|
|
326
|
-
extra: this.buildExtraAction()
|
|
327
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
328
|
-
className: styles.mainContainor
|
|
329
|
-
}, /*#__PURE__*/React.createElement(Layout, null, /*#__PURE__*/React.createElement(Content, null, this.renderContentContainor()), showBottomBar ? this.renderBottomBar() : null), this.renderOther()));
|
|
330
|
-
}
|
|
331
|
-
}]);
|
|
332
|
-
return Base;
|
|
333
|
-
}(BaseWindow);
|
|
334
|
-
|
|
335
|
-
export { Base as default };
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../../../objectSpread2.js';
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, e as _assertThisInitialized, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
3
|
-
import { _ as _get } from '../../../get.js';
|
|
4
|
-
import { drawerConfig } from 'antd-management-fast-common/es/utils/constants';
|
|
5
|
-
import { iconBuilder } from 'antd-management-fast-component/es/customComponents/Icon';
|
|
6
|
-
import BaseNeedlessLoadDrawer from '../BaseNeedlessLoadDrawer/index.js';
|
|
7
|
-
import '../../../toPropertyKey.js';
|
|
8
|
-
import '../../../typeof.js';
|
|
9
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
10
|
-
import '../Base/index.js';
|
|
11
|
-
import '../../../toConsumableArray.js';
|
|
12
|
-
import '../../../unsupportedIterableToArray.js';
|
|
13
|
-
import '../../../index2.js';
|
|
14
|
-
import 'antd';
|
|
15
|
-
import 'react';
|
|
16
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
17
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
34
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
35
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
36
|
-
import '../../../utils/metaDataAssist.js';
|
|
37
|
-
import '../../../index3.js';
|
|
38
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
39
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
40
|
-
import '../../../utils/storageAssist.js';
|
|
41
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
42
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
43
|
-
import '../../Core/index.js';
|
|
44
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
45
|
-
import '../../DataOperation/BaseWindow/index.js';
|
|
46
|
-
import '../../DataOperation/Base/index.js';
|
|
47
|
-
import '../../AuthorizationWrapper/index.js';
|
|
48
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
49
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
50
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
51
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
52
|
-
|
|
53
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
54
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
55
|
-
var BaseAddDrawer = /*#__PURE__*/function (_BaseNeedlessLoadDraw) {
|
|
56
|
-
_inherits(BaseAddDrawer, _BaseNeedlessLoadDraw);
|
|
57
|
-
var _super = _createSuper(BaseAddDrawer);
|
|
58
|
-
function BaseAddDrawer(props) {
|
|
59
|
-
var _this;
|
|
60
|
-
_classCallCheck(this, BaseAddDrawer);
|
|
61
|
-
_this = _super.call(this, props);
|
|
62
|
-
_this.adjustWhenDidMount = function () {
|
|
63
|
-
_this.fillData({});
|
|
64
|
-
};
|
|
65
|
-
_this.buildBottomBarInnerDefaultConfigList = function () {
|
|
66
|
-
var buttonProcessing = _this.getSaveButtonProcessing();
|
|
67
|
-
var that = _assertThisInitialized(_this);
|
|
68
|
-
return [{
|
|
69
|
-
buildType: drawerConfig.bottomBarBuildType.generalButton,
|
|
70
|
-
type: 'primary',
|
|
71
|
-
icon: iconBuilder.save(),
|
|
72
|
-
text: '保存',
|
|
73
|
-
disabled: buttonProcessing,
|
|
74
|
-
handleClick: function handleClick(e) {
|
|
75
|
-
that.handleOk(e);
|
|
76
|
-
}
|
|
77
|
-
}, {
|
|
78
|
-
buildType: drawerConfig.bottomBarBuildType.close
|
|
79
|
-
}];
|
|
80
|
-
};
|
|
81
|
-
_this.state = _objectSpread2(_objectSpread2({}, _this.state), {
|
|
82
|
-
showBottomBar: true
|
|
83
|
-
});
|
|
84
|
-
return _this;
|
|
85
|
-
}
|
|
86
|
-
_createClass(BaseAddDrawer, null, [{
|
|
87
|
-
key: "getDerivedStateFromProps",
|
|
88
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
89
|
-
return _get(_getPrototypeOf(BaseAddDrawer), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
90
|
-
}
|
|
91
|
-
}]);
|
|
92
|
-
return BaseAddDrawer;
|
|
93
|
-
}(BaseNeedlessLoadDrawer);
|
|
94
|
-
|
|
95
|
-
export { BaseAddDrawer as default };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { _ as _get } from '../../../get.js';
|
|
3
|
-
import Base from '../Base/index.js';
|
|
4
|
-
import '../../../toPropertyKey.js';
|
|
5
|
-
import '../../../typeof.js';
|
|
6
|
-
import '../../../toConsumableArray.js';
|
|
7
|
-
import '../../../unsupportedIterableToArray.js';
|
|
8
|
-
import '../../../objectSpread2.js';
|
|
9
|
-
import '../../../index2.js';
|
|
10
|
-
import 'antd';
|
|
11
|
-
import 'react';
|
|
12
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
13
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
14
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
15
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
34
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
35
|
-
import '../../../utils/metaDataAssist.js';
|
|
36
|
-
import '../../../index3.js';
|
|
37
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
38
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
39
|
-
import '../../../utils/storageAssist.js';
|
|
40
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
41
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
42
|
-
import '../../Core/index.js';
|
|
43
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
44
|
-
import '../../DataOperation/BaseWindow/index.js';
|
|
45
|
-
import '../../DataOperation/Base/index.js';
|
|
46
|
-
import '../../AuthorizationWrapper/index.js';
|
|
47
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
48
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
49
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
50
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
51
|
-
|
|
52
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
53
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
54
|
-
var BaseLoadDrawer = /*#__PURE__*/function (_Base) {
|
|
55
|
-
_inherits(BaseLoadDrawer, _Base);
|
|
56
|
-
var _super = _createSuper(BaseLoadDrawer);
|
|
57
|
-
function BaseLoadDrawer() {
|
|
58
|
-
var _this;
|
|
59
|
-
_classCallCheck(this, BaseLoadDrawer);
|
|
60
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
61
|
-
args[_key] = arguments[_key];
|
|
62
|
-
}
|
|
63
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
64
|
-
_this.doOtherWhenChangeVisibleToShow = function (preProps, preState, snapshot) {
|
|
65
|
-
_this.reloadData({
|
|
66
|
-
dataLoading: true
|
|
67
|
-
}, null, 300);
|
|
68
|
-
};
|
|
69
|
-
return _this;
|
|
70
|
-
}
|
|
71
|
-
_createClass(BaseLoadDrawer, null, [{
|
|
72
|
-
key: "getDerivedStateFromProps",
|
|
73
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
74
|
-
return _get(_getPrototypeOf(BaseLoadDrawer), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
78
|
-
}]);
|
|
79
|
-
return BaseLoadDrawer;
|
|
80
|
-
}(Base);
|
|
81
|
-
|
|
82
|
-
export { BaseLoadDrawer as default };
|
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../../../objectSpread2.js';
|
|
2
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
3
|
-
import { _ as _get } from '../../../get.js';
|
|
4
|
-
import { formNameCollection, datetimeFormat } from 'antd-management-fast-common/es/utils/constants';
|
|
5
|
-
import { formatDatetime } from 'antd-management-fast-common/es/utils/tools';
|
|
6
|
-
import Base from '../Base/index.js';
|
|
7
|
-
import '../../../toPropertyKey.js';
|
|
8
|
-
import '../../../typeof.js';
|
|
9
|
-
import '../../../toConsumableArray.js';
|
|
10
|
-
import '../../../unsupportedIterableToArray.js';
|
|
11
|
-
import '../../../index2.js';
|
|
12
|
-
import 'antd';
|
|
13
|
-
import 'react';
|
|
14
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
15
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
34
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
35
|
-
import '../../../utils/metaDataAssist.js';
|
|
36
|
-
import '../../../index3.js';
|
|
37
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
38
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
39
|
-
import '../../../utils/storageAssist.js';
|
|
40
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
41
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
42
|
-
import '../../Core/index.js';
|
|
43
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
44
|
-
import '../../DataOperation/BaseWindow/index.js';
|
|
45
|
-
import '../../DataOperation/Base/index.js';
|
|
46
|
-
import '../../AuthorizationWrapper/index.js';
|
|
47
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
48
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
49
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
50
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
51
|
-
|
|
52
|
-
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
|
|
53
|
-
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
54
|
-
var BaseNeedlessLoadDrawer = /*#__PURE__*/function (_Base) {
|
|
55
|
-
_inherits(BaseNeedlessLoadDrawer, _Base);
|
|
56
|
-
var _super = _createSuper(BaseNeedlessLoadDrawer);
|
|
57
|
-
function BaseNeedlessLoadDrawer(props) {
|
|
58
|
-
var _this;
|
|
59
|
-
_classCallCheck(this, BaseNeedlessLoadDrawer);
|
|
60
|
-
_this = _super.call(this, props);
|
|
61
|
-
_this.resetDataAfterLoad = false;
|
|
62
|
-
_this.doOtherWhenChangeVisibleToShow = function (preProps, preState, snapshot) {
|
|
63
|
-
var form = _this.getTargetForm();
|
|
64
|
-
if (!form) {
|
|
65
|
-
return;
|
|
66
|
-
}
|
|
67
|
-
form.resetFields();
|
|
68
|
-
};
|
|
69
|
-
_this.buildInitialValues = function () {
|
|
70
|
-
return _this.fillDefaultInitialValues();
|
|
71
|
-
};
|
|
72
|
-
_this.fillDefaultInitialValues = function () {
|
|
73
|
-
var initialValues = {};
|
|
74
|
-
initialValues[formNameCollection.createTime.name] = formatDatetime({
|
|
75
|
-
data: new Date(),
|
|
76
|
-
format: datetimeFormat.yearMonthDayHourMinute
|
|
77
|
-
});
|
|
78
|
-
return initialValues;
|
|
79
|
-
};
|
|
80
|
-
_this.state = _objectSpread2({}, _this.state);
|
|
81
|
-
return _this;
|
|
82
|
-
}
|
|
83
|
-
_createClass(BaseNeedlessLoadDrawer, null, [{
|
|
84
|
-
key: "getDerivedStateFromProps",
|
|
85
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
86
|
-
return _get(_getPrototypeOf(BaseNeedlessLoadDrawer), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
90
|
-
}]);
|
|
91
|
-
return BaseNeedlessLoadDrawer;
|
|
92
|
-
}(Base);
|
|
93
|
-
|
|
94
|
-
export { BaseNeedlessLoadDrawer as default };
|