antd-management-fast-framework 2.1.0 → 2.1.2
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/components/ApplicationWrapper/index.d.ts +9 -9
- package/es/components/Bootstrap/index.d.ts +3 -3
- package/es/components/DataPreviewDrawer/index.d.ts +31 -31
- package/es/components/LoadingOverlay/index.d.ts +6 -6
- package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -10
- package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -75
- package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -54
- package/es/components/MobileContainor/index.d.ts +8 -8
- package/es/components/index.d.ts +5 -5
- package/es/configs/index.d.ts +2 -2
- package/es/configs/themeCollection.d.ts +7 -7
- package/es/configs/webpackPlugin.d.ts +4 -4
- package/es/framework/AuthorizationWrapper/index.d.ts +11 -12
- package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +14 -14
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +18 -18
- package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -6
- package/es/framework/ButtonExtension/index.d.ts +1 -1
- package/es/framework/Common/InternalBuild/index.d.ts +26 -26
- package/es/framework/Common/InternalFlow/index.d.ts +149 -149
- package/es/framework/Common/InternalLayout/index.d.ts +9 -9
- package/es/framework/Common/InternalTabFlow/index.d.ts +12 -12
- package/es/framework/Common/index.d.ts +3 -3
- package/es/framework/Core/index.d.ts +20 -20
- package/es/framework/CustomWrapper/Supplement/index.d.ts +9 -9
- package/es/framework/CustomWrapper/SupplementCore/index.d.ts +18 -18
- package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +3 -3
- package/es/framework/CustomWrapper/index.d.ts +3 -3
- package/es/framework/DataDrawer/Base/index.d.ts +55 -55
- package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +19 -19
- package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +4 -4
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +6 -6
- package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -4
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +3 -3
- package/es/framework/DataDrawer/index.d.ts +14 -14
- package/es/framework/DataForm/BaseAddForm/index.d.ts +34 -34
- package/es/framework/DataForm/BaseUpdateForm/index.d.ts +9 -9
- package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +3 -3
- package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +4 -4
- package/es/framework/DataForm/index.d.ts +10 -10
- package/es/framework/DataListView/Base/index.d.ts +180 -180
- package/es/framework/DataListView/BatchAction/index.d.ts +21 -21
- package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +7 -7
- package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -2
- package/es/framework/DataListView/DensityAction/index.d.ts +6 -6
- package/es/framework/DataListView/index.d.ts +10 -10
- package/es/framework/DataMenuContainer/index.d.ts +28 -28
- package/es/framework/DataModal/Base/index.d.ts +65 -65
- package/es/framework/DataModal/BaseAddModal/index.d.ts +3 -3
- package/es/framework/DataModal/BaseLoadModal/index.d.ts +4 -4
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +35 -35
- package/es/framework/DataModal/BaseSelectModal/index.d.ts +28 -28
- package/es/framework/DataModal/BaseUpdateModal/index.d.ts +3 -3
- package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +44 -44
- package/es/framework/DataModal/index.d.ts +16 -16
- package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +4 -4
- package/es/framework/DataMultiPageView/MultiPage/index.d.ts +32 -32
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +69 -69
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +10 -10
- package/es/framework/DataMultiPageView/index.d.ts +10 -10
- package/es/framework/DataOperation/Base/index.d.ts +76 -76
- package/es/framework/DataOperation/BaseView/index.d.ts +10 -10
- package/es/framework/DataOperation/BaseWindow/index.d.ts +89 -89
- package/es/framework/DataOperation/index.d.ts +8 -8
- package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +5 -5
- package/es/framework/DataSinglePageView/SinglePage/index.d.ts +32 -32
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +71 -71
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +13 -13
- package/es/framework/DataSinglePageView/index.d.ts +10 -10
- package/es/framework/DataSingleView/DataCore/index.d.ts +30 -30
- package/es/framework/DataSingleView/DataLoad/index.d.ts +51 -51
- package/es/framework/DataSingleView/index.d.ts +6 -6
- package/es/framework/DataTabContainer/index.d.ts +36 -36
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +24 -24
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldInteractiveBase/index.d.ts +19 -19
- package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -6
- package/es/framework/FieldExtension/index.d.ts +4 -4
- package/es/framework/Wrapper/index.d.ts +3 -3
- package/es/framework/index.d.ts +17 -17
- package/es/index.css +1 -1
- package/es/index.d.ts +5 -5
- package/es/index.js +3 -9771
- package/es/modelBuilders/currentOperator.d.ts +26 -0
- package/es/modelBuilders/entrance.d.ts +40 -0
- package/es/modelBuilders/index.d.ts +1 -1
- package/es/modelBuilders/schedulingControl.d.ts +48 -68
- package/es/services/currentOperator.d.ts +2 -0
- package/es/services/entrance.d.ts +6 -0
- package/es/services/schedulingControl.d.ts +4 -4
- package/es/utils/applicationListDataAssist.d.ts +5 -4
- package/es/utils/applicationListDataCacheAssist.d.ts +24 -24
- package/es/utils/bootstrap.d.ts +4 -4
- package/es/utils/configAssist.d.ts +1 -1
- package/es/utils/currentOperatorAssist.d.ts +19 -5
- package/es/utils/definition.d.ts +4 -4
- package/es/utils/index.d.ts +10 -8
- package/es/utils/interfaceSettingAssist.d.ts +10 -0
- package/es/utils/interfaceSettingCacheAssist.d.ts +18 -0
- package/es/utils/metaDataAssist.d.ts +5 -5
- package/es/utils/schedulingControlAssist.d.ts +34 -10
- package/es/utils/signInAssist.d.ts +6 -0
- package/package.json +24 -21
- 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.d.ts +0 -2
- package/es/utils/layoutSettingAssist.js +0 -60
- package/es/utils/metaDataAssist.js +0 -69
- package/es/utils/storageAssist.js +0 -153
|
@@ -1,261 +0,0 @@
|
|
|
1
|
-
import { _ as _objectSpread2 } from '../../../objectSpread2.js';
|
|
2
|
-
import { _ as _extends } from '../../../index2.js';
|
|
3
|
-
import { _ as _inherits, a as _classCallCheck, e as _assertThisInitialized, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
4
|
-
import { FloatButton, Avatar, Form } from 'antd';
|
|
5
|
-
import React from 'react';
|
|
6
|
-
import { PageContainer } from '@ant-design/pro-layout';
|
|
7
|
-
import { formNameCollection, datetimeFormat } from 'antd-management-fast-common/es/utils/constants';
|
|
8
|
-
import { pretreatmentRequestParams } from 'antd-management-fast-common/es/utils/requestAssistor';
|
|
9
|
-
import { logObject, isUndefined, showWarningMessage, formatDatetime, defaultFormState, getDerivedStateFromPropsForUrlParams } from 'antd-management-fast-common/es/utils/tools';
|
|
10
|
-
import { decorateAvatar } from 'antd-management-fast-component/es/customComponents/DecorateAvatar';
|
|
11
|
-
import { buildPageHeaderTitle, buildPageHeaderTagWrapper, pageHeaderExtraContent } from 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
12
|
-
import { iconBuilder } from 'antd-management-fast-component/es/customComponents/Icon';
|
|
13
|
-
import DataCore from '../../DataSingleView/DataCore/index.js';
|
|
14
|
-
import '../../../toPropertyKey.js';
|
|
15
|
-
import '../../../typeof.js';
|
|
16
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
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/IconInfo';
|
|
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/BaseView/index.js';
|
|
44
|
-
import '../../DataOperation/Base/index.js';
|
|
45
|
-
import '../../AuthorizationWrapper/index.js';
|
|
46
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
47
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
48
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
49
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
50
|
-
|
|
51
|
-
var styles = {"customContainor":"index_customContainor__BUpmd","heading":"index_heading__r6Qoi","pageNameBox":"index_pageNameBox__a7cii","pageTagBox":"index_pageTagBox__ZeaKd"};
|
|
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 BackTop = FloatButton.BackTop;
|
|
56
|
-
var BaseAddForm = /*#__PURE__*/function (_DataCore) {
|
|
57
|
-
_inherits(BaseAddForm, _DataCore);
|
|
58
|
-
var _super = _createSuper(BaseAddForm);
|
|
59
|
-
function BaseAddForm(props) {
|
|
60
|
-
var _this;
|
|
61
|
-
_classCallCheck(this, BaseAddForm);
|
|
62
|
-
_this = _super.call(this, props);
|
|
63
|
-
_this.loadDataAfterMount = false;
|
|
64
|
-
_this.resetDataAfterLoad = false;
|
|
65
|
-
_this.formRef = /*#__PURE__*/React.createRef();
|
|
66
|
-
_this.adjustWhenDidMount = function () {
|
|
67
|
-
_this.fillData();
|
|
68
|
-
};
|
|
69
|
-
_this.getTargetForm = function () {
|
|
70
|
-
return _this.formRef.current;
|
|
71
|
-
};
|
|
72
|
-
_this.fillData = function () {
|
|
73
|
-
var initialValues = _this.buildInitialValues();
|
|
74
|
-
if (initialValues == null) {
|
|
75
|
-
var form = _this.getTargetForm();
|
|
76
|
-
if (form != null) {
|
|
77
|
-
form.setFieldsValue(initialValues);
|
|
78
|
-
_this.afterSetFieldsValue(initialValues);
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
};
|
|
82
|
-
_this.afterFillForm = function (initialValues) {};
|
|
83
|
-
_this.setFormFieldsValue = function (v) {
|
|
84
|
-
var form = _this.getTargetForm();
|
|
85
|
-
if (form != null) {
|
|
86
|
-
form.setFieldsValue(v);
|
|
87
|
-
_this.afterSetFieldsValue(v);
|
|
88
|
-
}
|
|
89
|
-
};
|
|
90
|
-
_this.afterSetFieldsValue = function (v) {};
|
|
91
|
-
_this.handleFormReset = function () {
|
|
92
|
-
var form = _this.getTargetForm();
|
|
93
|
-
if (!form) {
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
form.resetFields();
|
|
97
|
-
_this.reloadData();
|
|
98
|
-
};
|
|
99
|
-
_this.supplementSubmitRequestParams = function (o) {
|
|
100
|
-
return o;
|
|
101
|
-
};
|
|
102
|
-
_this.validate = function (e) {
|
|
103
|
-
var form = _this.getTargetForm();
|
|
104
|
-
var validateFields = form.validateFields;
|
|
105
|
-
var that = _assertThisInitialized(_this);
|
|
106
|
-
var submitApiPath = that.state.submitApiPath;
|
|
107
|
-
validateFields().then(function (values) {
|
|
108
|
-
var submitData = pretreatmentRequestParams(values);
|
|
109
|
-
submitData = that.supplementSubmitRequestParams(submitData);
|
|
110
|
-
var checkResult = that.checkSubmitData(submitData);
|
|
111
|
-
if (checkResult) {
|
|
112
|
-
that.setState({
|
|
113
|
-
processing: true
|
|
114
|
-
}, function () {
|
|
115
|
-
that.setState({
|
|
116
|
-
dispatchComplete: false
|
|
117
|
-
}, function () {
|
|
118
|
-
that.dispatchApi({
|
|
119
|
-
type: submitApiPath,
|
|
120
|
-
payload: submitData
|
|
121
|
-
}).then(function (remoteData) {
|
|
122
|
-
if (that.mounted) {
|
|
123
|
-
var dataSuccess = remoteData.dataSuccess;
|
|
124
|
-
if (dataSuccess) {
|
|
125
|
-
var metaListData = remoteData.list,
|
|
126
|
-
metaData = remoteData.data,
|
|
127
|
-
metaExtra = remoteData.extra;
|
|
128
|
-
that.afterSubmitSuccess({
|
|
129
|
-
singleData: metaData || null,
|
|
130
|
-
listData: metaListData || [],
|
|
131
|
-
extraData: metaExtra || null,
|
|
132
|
-
responseOriginalData: remoteData || null,
|
|
133
|
-
submitData: submitData || null
|
|
134
|
-
});
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
that.setState({
|
|
138
|
-
processing: false,
|
|
139
|
-
dispatchComplete: true
|
|
140
|
-
});
|
|
141
|
-
})["catch"](function (res) {
|
|
142
|
-
logObject(res);
|
|
143
|
-
that.setState({
|
|
144
|
-
processing: false,
|
|
145
|
-
dispatchComplete: true
|
|
146
|
-
});
|
|
147
|
-
});
|
|
148
|
-
});
|
|
149
|
-
});
|
|
150
|
-
}
|
|
151
|
-
})["catch"](function (error) {
|
|
152
|
-
var errorFields = error.errorFields;
|
|
153
|
-
if (!isUndefined(errorFields)) {
|
|
154
|
-
var m = [];
|
|
155
|
-
Object.values(errorFields).forEach(function (o) {
|
|
156
|
-
m.push(o.errors[0]);
|
|
157
|
-
});
|
|
158
|
-
var maxLength = 5;
|
|
159
|
-
var beyondMax = false;
|
|
160
|
-
if (m.length > maxLength) {
|
|
161
|
-
m.length = maxLength;
|
|
162
|
-
beyondMax = true;
|
|
163
|
-
}
|
|
164
|
-
var errorMessage = m.join(', ');
|
|
165
|
-
if (beyondMax) {
|
|
166
|
-
errorMessage += ' ...';
|
|
167
|
-
}
|
|
168
|
-
showWarningMessage({
|
|
169
|
-
message: errorMessage
|
|
170
|
-
});
|
|
171
|
-
} else {
|
|
172
|
-
showRuntimeError({
|
|
173
|
-
message: error
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
|
-
_this.pageHeaderLogo = function () {
|
|
179
|
-
return /*#__PURE__*/React.createElement(Avatar, {
|
|
180
|
-
shape: "square",
|
|
181
|
-
icon: iconBuilder.plus()
|
|
182
|
-
});
|
|
183
|
-
};
|
|
184
|
-
_this.buildInitialValues = function () {
|
|
185
|
-
return _this.fillDefaultInitialValues();
|
|
186
|
-
};
|
|
187
|
-
_this.fillDefaultInitialValues = function () {
|
|
188
|
-
var initialValues = {};
|
|
189
|
-
initialValues[formNameCollection.createTime.name] = formatDatetime({
|
|
190
|
-
data: new Date(),
|
|
191
|
-
format: datetimeFormat.yearMonthDayHourMinute
|
|
192
|
-
});
|
|
193
|
-
return initialValues;
|
|
194
|
-
};
|
|
195
|
-
_this.renderModalInner = function () {
|
|
196
|
-
var initialValues = _this.buildInitialValues();
|
|
197
|
-
var formLayout = _this.buildFormLayout();
|
|
198
|
-
var otherFormProps = _this.establishFormAdditionalConfig();
|
|
199
|
-
return /*#__PURE__*/React.createElement(Form, _extends({
|
|
200
|
-
ref: _this.formRef,
|
|
201
|
-
layout: formLayout,
|
|
202
|
-
initialValues: initialValues,
|
|
203
|
-
className: _this.getFormClassName()
|
|
204
|
-
}, otherFormProps), _this.formContent());
|
|
205
|
-
};
|
|
206
|
-
_this.buildNotificationDescription = function (_ref) {
|
|
207
|
-
_ref.singleData;
|
|
208
|
-
_ref.listData;
|
|
209
|
-
_ref.extraData;
|
|
210
|
-
_ref.responseOriginalData;
|
|
211
|
-
_ref.submitData;
|
|
212
|
-
return "\u6570\u636E\u5DF2\u7ECF\u4FDD\u5B58\u6210\u529F\uFF0C\u8BF7\u8FDB\u884C\u4E0B\u4E00\u6B65\u64CD\u4F5C\u3002";
|
|
213
|
-
};
|
|
214
|
-
var defaultState = defaultFormState();
|
|
215
|
-
_this.state = _objectSpread2(_objectSpread2({}, defaultState), {
|
|
216
|
-
dataLoading: false
|
|
217
|
-
});
|
|
218
|
-
return _this;
|
|
219
|
-
}
|
|
220
|
-
_createClass(BaseAddForm, [{
|
|
221
|
-
key: "renderFurther",
|
|
222
|
-
value: function renderFurther() {
|
|
223
|
-
var _this2 = this;
|
|
224
|
-
var _this$state = this.state,
|
|
225
|
-
defaultAvatarIcon = _this$state.defaultAvatarIcon,
|
|
226
|
-
showPageHeaderAvatar = _this$state.showPageHeaderAvatar,
|
|
227
|
-
dataLoading = _this$state.dataLoading,
|
|
228
|
-
reloading = _this$state.reloading,
|
|
229
|
-
avatarImageLoadResult = _this$state.avatarImageLoadResult;
|
|
230
|
-
var avatarProps = showPageHeaderAvatar ? decorateAvatar(this.establishPageHeaderAvatarConfig(), defaultAvatarIcon, showPageHeaderAvatar, dataLoading, reloading, avatarImageLoadResult, function () {
|
|
231
|
-
_this2.onPageHeaderAvatarLoadErrorCallback();
|
|
232
|
-
}) : null;
|
|
233
|
-
return /*#__PURE__*/React.createElement(PageContainer, {
|
|
234
|
-
className: styles.customContainor,
|
|
235
|
-
avatar: avatarProps,
|
|
236
|
-
title: buildPageHeaderTitle(this.getPageName(), this.establishPageHeaderTitlePrefix()),
|
|
237
|
-
subTitle: this.buildPageHeaderSubTitle(),
|
|
238
|
-
tags: buildPageHeaderTagWrapper(this.establishPageHeaderTagConfig()),
|
|
239
|
-
extra: this.buildExtraAction(),
|
|
240
|
-
content: this.renderPageHeaderContent(),
|
|
241
|
-
extraContent: pageHeaderExtraContent(this.establishPageHeaderExtraContentConfig())
|
|
242
|
-
// onBack={() => {
|
|
243
|
-
// this.backToList();
|
|
244
|
-
// }}
|
|
245
|
-
}, /*#__PURE__*/React.createElement("div", {
|
|
246
|
-
className: styles.containorBox,
|
|
247
|
-
style: {
|
|
248
|
-
overflowX: 'hidden'
|
|
249
|
-
}
|
|
250
|
-
}, this.renderFormWrapper(), this.renderOther()), /*#__PURE__*/React.createElement(BackTop, null));
|
|
251
|
-
}
|
|
252
|
-
}], [{
|
|
253
|
-
key: "getDerivedStateFromProps",
|
|
254
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
255
|
-
return getDerivedStateFromPropsForUrlParams(nextProps, prevState);
|
|
256
|
-
}
|
|
257
|
-
}]);
|
|
258
|
-
return BaseAddForm;
|
|
259
|
-
}(DataCore);
|
|
260
|
-
|
|
261
|
-
export { BaseAddForm as default };
|
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, e as _assertThisInitialized, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { pretreatmentRequestParams } from 'antd-management-fast-common/es/utils/requestAssistor';
|
|
3
|
-
import { isFunction, logObject, isUndefined, showWarningMessage } from 'antd-management-fast-common/es/utils/tools';
|
|
4
|
-
import DataLoad from '../../DataSingleView/DataLoad/index.js';
|
|
5
|
-
import '../../../toPropertyKey.js';
|
|
6
|
-
import '../../../typeof.js';
|
|
7
|
-
import '../../../objectSpread2.js';
|
|
8
|
-
import '../../DataSingleView/DataCore/index.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-component/es/customComponents/AnimalBox/FadeBox';
|
|
15
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
33
|
-
import '../../../utils/metaDataAssist.js';
|
|
34
|
-
import '../../../index3.js';
|
|
35
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
36
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
37
|
-
import '../../../utils/storageAssist.js';
|
|
38
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
39
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
40
|
-
import '../../Core/index.js';
|
|
41
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
42
|
-
import '@ant-design/pro-layout';
|
|
43
|
-
import 'antd-management-fast-component/es/customComponents/DecorateAvatar';
|
|
44
|
-
import '../../DataOperation/BaseView/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 BaseUpdateForm = /*#__PURE__*/function (_DataSingleView) {
|
|
55
|
-
_inherits(BaseUpdateForm, _DataSingleView);
|
|
56
|
-
var _super = _createSuper(BaseUpdateForm);
|
|
57
|
-
function BaseUpdateForm() {
|
|
58
|
-
var _this;
|
|
59
|
-
_classCallCheck(this, BaseUpdateForm);
|
|
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.goToUpdateWhenProcessed = false;
|
|
65
|
-
_this.handleFormReset = function () {
|
|
66
|
-
var form = _this.getTargetForm();
|
|
67
|
-
if (!form) {
|
|
68
|
-
return;
|
|
69
|
-
}
|
|
70
|
-
form.resetFields();
|
|
71
|
-
_this.reloadData();
|
|
72
|
-
};
|
|
73
|
-
_this.supplementSubmitRequestParams = function (o) {
|
|
74
|
-
return o;
|
|
75
|
-
};
|
|
76
|
-
_this.afterCheckSubmitRequestParams = function (o) {
|
|
77
|
-
return o;
|
|
78
|
-
};
|
|
79
|
-
_this.execSubmitApi = function () {
|
|
80
|
-
var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
81
|
-
var afterSubmitCallback = arguments.length > 1 ? arguments[1] : undefined;
|
|
82
|
-
var submitApiPath = _this.state.submitApiPath;
|
|
83
|
-
if ((submitApiPath || '') === '') {
|
|
84
|
-
var text = "\u7F3A\u5C11 submitApiPath \u914D\u7F6E\uFF01";
|
|
85
|
-
showRuntimeError({
|
|
86
|
-
message: text
|
|
87
|
-
});
|
|
88
|
-
return;
|
|
89
|
-
}
|
|
90
|
-
var submitData = pretreatmentRequestParams(values || {});
|
|
91
|
-
submitData = _this.supplementSubmitRequestParams(submitData);
|
|
92
|
-
var checkResult = _this.checkSubmitData(submitData);
|
|
93
|
-
submitData = _this.afterCheckSubmitRequestParams(submitData);
|
|
94
|
-
if (checkResult) {
|
|
95
|
-
var that = _assertThisInitialized(_this);
|
|
96
|
-
that.setState({
|
|
97
|
-
processing: true
|
|
98
|
-
}, function () {
|
|
99
|
-
that.setState({
|
|
100
|
-
dispatchComplete: false
|
|
101
|
-
}, function () {
|
|
102
|
-
that.dispatchApi({
|
|
103
|
-
type: submitApiPath,
|
|
104
|
-
payload: submitData
|
|
105
|
-
}).then(function (remoteData) {
|
|
106
|
-
if (that.mounted) {
|
|
107
|
-
var dataSuccess = remoteData.dataSuccess;
|
|
108
|
-
if (dataSuccess) {
|
|
109
|
-
var metaListData = remoteData.list,
|
|
110
|
-
metaData = remoteData.data,
|
|
111
|
-
metaExtra = remoteData.extra;
|
|
112
|
-
that.afterSubmitSuccess({
|
|
113
|
-
singleData: metaData || null,
|
|
114
|
-
listData: metaListData || [],
|
|
115
|
-
extraData: metaExtra || null,
|
|
116
|
-
responseOriginalData: remoteData || null,
|
|
117
|
-
submitData: submitData || null
|
|
118
|
-
});
|
|
119
|
-
}
|
|
120
|
-
if (isFunction(afterSubmitCallback)) {
|
|
121
|
-
afterSubmitCallback();
|
|
122
|
-
}
|
|
123
|
-
that.setState({
|
|
124
|
-
processing: false,
|
|
125
|
-
dispatchComplete: true
|
|
126
|
-
});
|
|
127
|
-
}
|
|
128
|
-
})["catch"](function (res) {
|
|
129
|
-
logObject(res);
|
|
130
|
-
that.setState({
|
|
131
|
-
processing: false,
|
|
132
|
-
dispatchComplete: true
|
|
133
|
-
});
|
|
134
|
-
});
|
|
135
|
-
});
|
|
136
|
-
});
|
|
137
|
-
}
|
|
138
|
-
};
|
|
139
|
-
_this.validate = function (e) {
|
|
140
|
-
var form = _this.getTargetForm();
|
|
141
|
-
if (form == null) {
|
|
142
|
-
return;
|
|
143
|
-
}
|
|
144
|
-
var validateFields = form.validateFields;
|
|
145
|
-
validateFields().then(function (values) {
|
|
146
|
-
_this.execSubmitApi(values, function () {
|
|
147
|
-
if (_this.goToUpdateWhenProcessed) {
|
|
148
|
-
_this.reloadByUrl();
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
})["catch"](function (error) {
|
|
152
|
-
var errorFields = error.errorFields;
|
|
153
|
-
if (!isUndefined(errorFields)) {
|
|
154
|
-
var m = [];
|
|
155
|
-
Object.values(errorFields).forEach(function (o) {
|
|
156
|
-
m.push(o.errors[0]);
|
|
157
|
-
});
|
|
158
|
-
var maxLength = 5;
|
|
159
|
-
var beyondMax = false;
|
|
160
|
-
if (m.length > maxLength) {
|
|
161
|
-
m.length = maxLength;
|
|
162
|
-
beyondMax = true;
|
|
163
|
-
}
|
|
164
|
-
var errorMessage = m.join(', ');
|
|
165
|
-
if (beyondMax) {
|
|
166
|
-
errorMessage += ' ...';
|
|
167
|
-
}
|
|
168
|
-
showWarningMessage({
|
|
169
|
-
message: errorMessage
|
|
170
|
-
});
|
|
171
|
-
} else {
|
|
172
|
-
showRuntimeError({
|
|
173
|
-
message: error
|
|
174
|
-
});
|
|
175
|
-
}
|
|
176
|
-
});
|
|
177
|
-
};
|
|
178
|
-
return _this;
|
|
179
|
-
}
|
|
180
|
-
return _createClass(BaseUpdateForm);
|
|
181
|
-
}(DataLoad);
|
|
182
|
-
|
|
183
|
-
export { BaseUpdateForm as default };
|
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { FloatButton } from 'antd';
|
|
3
|
-
import React from 'react';
|
|
4
|
-
import BaseUpdateForm from '../BaseUpdateForm/index.js';
|
|
5
|
-
import '../../../toPropertyKey.js';
|
|
6
|
-
import '../../../typeof.js';
|
|
7
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
8
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
9
|
-
import '../../DataSingleView/DataLoad/index.js';
|
|
10
|
-
import '../../../objectSpread2.js';
|
|
11
|
-
import '../../DataSingleView/DataCore/index.js';
|
|
12
|
-
import '../../../index2.js';
|
|
13
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
14
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
15
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
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 '@ant-design/pro-layout';
|
|
44
|
-
import 'antd-management-fast-component/es/customComponents/DecorateAvatar';
|
|
45
|
-
import '../../DataOperation/BaseView/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 BackTop = FloatButton.BackTop;
|
|
56
|
-
var BaseUpdateFormContent = /*#__PURE__*/function (_BaseUpdateForm) {
|
|
57
|
-
_inherits(BaseUpdateFormContent, _BaseUpdateForm);
|
|
58
|
-
var _super = _createSuper(BaseUpdateFormContent);
|
|
59
|
-
function BaseUpdateFormContent() {
|
|
60
|
-
_classCallCheck(this, BaseUpdateFormContent);
|
|
61
|
-
return _super.apply(this, arguments);
|
|
62
|
-
}
|
|
63
|
-
_createClass(BaseUpdateFormContent, [{
|
|
64
|
-
key: "renderFurther",
|
|
65
|
-
value: function renderFurther() {
|
|
66
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, this.renderFormWrapper(), this.renderOther(), /*#__PURE__*/React.createElement(BackTop, null));
|
|
67
|
-
}
|
|
68
|
-
}]);
|
|
69
|
-
return BaseUpdateFormContent;
|
|
70
|
-
}(BaseUpdateForm);
|
|
71
|
-
|
|
72
|
-
export { BaseUpdateFormContent as default };
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import BaseUpdateFormContent from '../BaseUpdateFormContent/index.js';
|
|
3
|
-
import '../../../toPropertyKey.js';
|
|
4
|
-
import '../../../typeof.js';
|
|
5
|
-
import 'antd';
|
|
6
|
-
import 'react';
|
|
7
|
-
import '../BaseUpdateForm/index.js';
|
|
8
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
9
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
10
|
-
import '../../DataSingleView/DataLoad/index.js';
|
|
11
|
-
import '../../../objectSpread2.js';
|
|
12
|
-
import '../../DataSingleView/DataCore/index.js';
|
|
13
|
-
import '../../../index2.js';
|
|
14
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
15
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
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 '@ant-design/pro-layout';
|
|
45
|
-
import 'antd-management-fast-component/es/customComponents/DecorateAvatar';
|
|
46
|
-
import '../../DataOperation/BaseView/index.js';
|
|
47
|
-
import '../../DataOperation/Base/index.js';
|
|
48
|
-
import '../../AuthorizationWrapper/index.js';
|
|
49
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
50
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
51
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
52
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
53
|
-
|
|
54
|
-
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); }; }
|
|
55
|
-
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; } }
|
|
56
|
-
var BaseUpdateFormTab = /*#__PURE__*/function (_BaseUpdateFormConten) {
|
|
57
|
-
_inherits(BaseUpdateFormTab, _BaseUpdateFormConten);
|
|
58
|
-
var _super = _createSuper(BaseUpdateFormTab);
|
|
59
|
-
function BaseUpdateFormTab() {
|
|
60
|
-
_classCallCheck(this, BaseUpdateFormTab);
|
|
61
|
-
return _super.apply(this, arguments);
|
|
62
|
-
}
|
|
63
|
-
return _createClass(BaseUpdateFormTab);
|
|
64
|
-
}(BaseUpdateFormContent);
|
|
65
|
-
|
|
66
|
-
export { BaseUpdateFormTab as default };
|