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,322 +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 { notification } from 'antd';
|
|
4
|
-
import { isFunction, showSuccessMessage, showWarningMessage } from 'antd-management-fast-common/es/utils/tools';
|
|
5
|
-
import AuthorizationWrapper from '../../AuthorizationWrapper/index.js';
|
|
6
|
-
import '../../../toPropertyKey.js';
|
|
7
|
-
import '../../../typeof.js';
|
|
8
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
9
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
10
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
11
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
12
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
13
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
14
|
-
import '../../../index2.js';
|
|
15
|
-
import 'react';
|
|
16
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
17
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
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/Icon';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
34
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
35
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
36
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
37
|
-
import '../../../utils/metaDataAssist.js';
|
|
38
|
-
import '../../../index3.js';
|
|
39
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
40
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
41
|
-
import '../../../utils/storageAssist.js';
|
|
42
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
43
|
-
import '../../Core/index.js';
|
|
44
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
45
|
-
|
|
46
|
-
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); }; }
|
|
47
|
-
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; } }
|
|
48
|
-
var Base = /*#__PURE__*/function (_AuthorizationWrapper) {
|
|
49
|
-
_inherits(Base, _AuthorizationWrapper);
|
|
50
|
-
var _super = _createSuper(Base);
|
|
51
|
-
function Base() {
|
|
52
|
-
var _this;
|
|
53
|
-
_classCallCheck(this, Base);
|
|
54
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
55
|
-
args[_key] = arguments[_key];
|
|
56
|
-
}
|
|
57
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
58
|
-
_this.resetDataAfterLoad = true;
|
|
59
|
-
_this.supplementLoadRequestParams = function (o) {
|
|
60
|
-
return o;
|
|
61
|
-
};
|
|
62
|
-
_this.buildInitialValues = function (_ref) {
|
|
63
|
-
var _ref$metaData = _ref.metaData,
|
|
64
|
-
metaData = _ref$metaData === void 0 ? null : _ref$metaData,
|
|
65
|
-
_ref$metaListData = _ref.metaListData,
|
|
66
|
-
metaListData = _ref$metaListData === void 0 ? [] : _ref$metaListData,
|
|
67
|
-
_ref$metaExtra = _ref.metaExtra,
|
|
68
|
-
metaExtra = _ref$metaExtra === void 0 ? null : _ref$metaExtra,
|
|
69
|
-
_ref$metaOriginalData = _ref.metaOriginalData,
|
|
70
|
-
metaOriginalData = _ref$metaOriginalData === void 0 ? null : _ref$metaOriginalData;
|
|
71
|
-
if (_this.resetDataAfterLoad || false) {
|
|
72
|
-
return _this.fillInitialValuesAfterLoad({
|
|
73
|
-
metaData: metaData,
|
|
74
|
-
metaListData: metaListData,
|
|
75
|
-
metaExtra: metaExtra,
|
|
76
|
-
metaOriginalData: metaOriginalData
|
|
77
|
-
});
|
|
78
|
-
}
|
|
79
|
-
return {};
|
|
80
|
-
};
|
|
81
|
-
_this.fillInitialValuesAfterLoad = function (_ref2) {
|
|
82
|
-
_ref2.metaData;
|
|
83
|
-
_ref2.metaListData;
|
|
84
|
-
_ref2.metaExtra;
|
|
85
|
-
_ref2.metaOriginalData;
|
|
86
|
-
var text = "if property “resetDataAfterLoad” is true, fillInitialValuesAfterLoad need overload to fill from,if you don't want to do this,need set “resetDataAfterLoad” to false 。";
|
|
87
|
-
showRuntimeError({
|
|
88
|
-
message: text
|
|
89
|
-
});
|
|
90
|
-
return {};
|
|
91
|
-
};
|
|
92
|
-
_this.checkSubmitData = function (o) {
|
|
93
|
-
if ((o || null) == null) {
|
|
94
|
-
var text = '提交的数据不能为空';
|
|
95
|
-
showRuntimeError({
|
|
96
|
-
message: text
|
|
97
|
-
});
|
|
98
|
-
return false;
|
|
99
|
-
}
|
|
100
|
-
return _this.checkSubmitRequestParams(o);
|
|
101
|
-
};
|
|
102
|
-
_this.checkSubmitRequestParams = function (o) {
|
|
103
|
-
return true;
|
|
104
|
-
};
|
|
105
|
-
_this.subjoinDataOnAfterOK = function () {
|
|
106
|
-
return {};
|
|
107
|
-
};
|
|
108
|
-
_this.doAfterSubmitSuccess = function (_ref3) {
|
|
109
|
-
var _ref3$singleData = _ref3.singleData,
|
|
110
|
-
singleData = _ref3$singleData === void 0 ? null : _ref3$singleData,
|
|
111
|
-
_ref3$listData = _ref3.listData,
|
|
112
|
-
listData = _ref3$listData === void 0 ? [] : _ref3$listData,
|
|
113
|
-
_ref3$extraData = _ref3.extraData,
|
|
114
|
-
extraData = _ref3$extraData === void 0 ? null : _ref3$extraData,
|
|
115
|
-
_ref3$responseOrigina = _ref3.responseOriginalData,
|
|
116
|
-
responseOriginalData = _ref3$responseOrigina === void 0 ? null : _ref3$responseOrigina,
|
|
117
|
-
_ref3$submitData = _ref3.submitData,
|
|
118
|
-
submitData = _ref3$submitData === void 0 ? null : _ref3$submitData;
|
|
119
|
-
var afterOK = _this.props.afterOK;
|
|
120
|
-
_this.doOtherAfterSubmitSuccess({
|
|
121
|
-
singleData: singleData,
|
|
122
|
-
listData: listData,
|
|
123
|
-
extraData: extraData,
|
|
124
|
-
responseOriginalData: responseOriginalData,
|
|
125
|
-
submitData: submitData
|
|
126
|
-
});
|
|
127
|
-
_this.sendSubmitSuccessMessage({
|
|
128
|
-
singleData: singleData,
|
|
129
|
-
listData: listData,
|
|
130
|
-
extraData: extraData,
|
|
131
|
-
responseOriginalData: responseOriginalData,
|
|
132
|
-
submitData: submitData
|
|
133
|
-
});
|
|
134
|
-
_this.sendSubmitSuccessNotification({
|
|
135
|
-
singleData: singleData,
|
|
136
|
-
listData: listData,
|
|
137
|
-
extraData: extraData,
|
|
138
|
-
responseOriginalData: responseOriginalData,
|
|
139
|
-
submitData: submitData
|
|
140
|
-
});
|
|
141
|
-
if (isFunction(afterOK)) {
|
|
142
|
-
var subjoinData = _this.subjoinDataOnAfterOK();
|
|
143
|
-
afterOK({
|
|
144
|
-
singleData: singleData,
|
|
145
|
-
listData: listData,
|
|
146
|
-
extraData: extraData,
|
|
147
|
-
responseOriginalData: responseOriginalData,
|
|
148
|
-
submitData: submitData,
|
|
149
|
-
subjoinData: subjoinData || {}
|
|
150
|
-
});
|
|
151
|
-
}
|
|
152
|
-
};
|
|
153
|
-
_this.doOtherAfterSubmitSuccess = function (_ref4) {
|
|
154
|
-
_ref4.singleData;
|
|
155
|
-
_ref4.listData;
|
|
156
|
-
_ref4.extraData;
|
|
157
|
-
_ref4.responseOriginalData;
|
|
158
|
-
_ref4.submitData;
|
|
159
|
-
};
|
|
160
|
-
_this.sendSubmitSuccessMessage = function (_ref5) {
|
|
161
|
-
var _ref5$singleData = _ref5.singleData,
|
|
162
|
-
singleData = _ref5$singleData === void 0 ? null : _ref5$singleData,
|
|
163
|
-
_ref5$listData = _ref5.listData,
|
|
164
|
-
listData = _ref5$listData === void 0 ? [] : _ref5$listData,
|
|
165
|
-
_ref5$extraData = _ref5.extraData,
|
|
166
|
-
extraData = _ref5$extraData === void 0 ? null : _ref5$extraData,
|
|
167
|
-
_ref5$responseOrigina = _ref5.responseOriginalData,
|
|
168
|
-
responseOriginalData = _ref5$responseOrigina === void 0 ? null : _ref5$responseOrigina,
|
|
169
|
-
_ref5$submitData = _ref5.submitData,
|
|
170
|
-
submitData = _ref5$submitData === void 0 ? null : _ref5$submitData;
|
|
171
|
-
var _type$text$_this$buil = _objectSpread2(_objectSpread2({}, {
|
|
172
|
-
type: 'success',
|
|
173
|
-
text: ''
|
|
174
|
-
}), _this.buildMessage({
|
|
175
|
-
singleData: singleData,
|
|
176
|
-
listData: listData,
|
|
177
|
-
extraData: extraData,
|
|
178
|
-
responseOriginalData: responseOriginalData,
|
|
179
|
-
submitData: submitData
|
|
180
|
-
})),
|
|
181
|
-
type = _type$text$_this$buil.type,
|
|
182
|
-
text = _type$text$_this$buil.text;
|
|
183
|
-
if (!checkStringIsNullOrWhiteSpace(text)) {
|
|
184
|
-
setTimeout(function () {
|
|
185
|
-
requestAnimationFrame(function () {
|
|
186
|
-
if (type === 'success') {
|
|
187
|
-
showSuccessMessage({
|
|
188
|
-
message: text
|
|
189
|
-
});
|
|
190
|
-
}
|
|
191
|
-
if (type === 'warn') {
|
|
192
|
-
showWarningMessage({
|
|
193
|
-
message: text
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
});
|
|
197
|
-
}, 700);
|
|
198
|
-
}
|
|
199
|
-
};
|
|
200
|
-
_this.buildMessage = function (_ref6) {
|
|
201
|
-
var _ref6$singleData = _ref6.singleData,
|
|
202
|
-
singleData = _ref6$singleData === void 0 ? null : _ref6$singleData,
|
|
203
|
-
_ref6$listData = _ref6.listData,
|
|
204
|
-
listData = _ref6$listData === void 0 ? [] : _ref6$listData,
|
|
205
|
-
_ref6$extraData = _ref6.extraData,
|
|
206
|
-
extraData = _ref6$extraData === void 0 ? null : _ref6$extraData,
|
|
207
|
-
_ref6$responseOrigina = _ref6.responseOriginalData,
|
|
208
|
-
responseOriginalData = _ref6$responseOrigina === void 0 ? null : _ref6$responseOrigina,
|
|
209
|
-
_ref6$submitData = _ref6.submitData,
|
|
210
|
-
submitData = _ref6$submitData === void 0 ? null : _ref6$submitData;
|
|
211
|
-
return {
|
|
212
|
-
type: _this.buildMessageType(),
|
|
213
|
-
text: _this.buildMessageText({
|
|
214
|
-
singleData: singleData,
|
|
215
|
-
listData: listData,
|
|
216
|
-
extraData: extraData,
|
|
217
|
-
responseOriginalData: responseOriginalData,
|
|
218
|
-
submitData: submitData
|
|
219
|
-
})
|
|
220
|
-
};
|
|
221
|
-
};
|
|
222
|
-
_this.buildMessageType = function () {
|
|
223
|
-
return 'success';
|
|
224
|
-
};
|
|
225
|
-
_this.buildMessageText = function (_ref7) {
|
|
226
|
-
_ref7.singleData;
|
|
227
|
-
_ref7.listData;
|
|
228
|
-
_ref7.extraData;
|
|
229
|
-
_ref7.responseOriginalData;
|
|
230
|
-
_ref7.submitData;
|
|
231
|
-
return '';
|
|
232
|
-
};
|
|
233
|
-
_this.sendSubmitSuccessNotification = function (_ref8) {
|
|
234
|
-
var _ref8$singleData = _ref8.singleData,
|
|
235
|
-
singleData = _ref8$singleData === void 0 ? null : _ref8$singleData,
|
|
236
|
-
_ref8$listData = _ref8.listData,
|
|
237
|
-
listData = _ref8$listData === void 0 ? [] : _ref8$listData,
|
|
238
|
-
_ref8$extraData = _ref8.extraData,
|
|
239
|
-
extraData = _ref8$extraData === void 0 ? null : _ref8$extraData,
|
|
240
|
-
_ref8$responseOrigina = _ref8.responseOriginalData,
|
|
241
|
-
responseOriginalData = _ref8$responseOrigina === void 0 ? null : _ref8$responseOrigina,
|
|
242
|
-
_ref8$submitData = _ref8.submitData,
|
|
243
|
-
submitData = _ref8$submitData === void 0 ? null : _ref8$submitData;
|
|
244
|
-
var _type$placement$messa = _objectSpread2(_objectSpread2({}, {
|
|
245
|
-
type: 'success',
|
|
246
|
-
placement: 'bottomRight',
|
|
247
|
-
message: '操作执行通知',
|
|
248
|
-
description: ''
|
|
249
|
-
}), {
|
|
250
|
-
type: _this.buildNotificationType(),
|
|
251
|
-
placement: _this.buildNotificationPlacement(),
|
|
252
|
-
message: _this.buildNotificationMessage(),
|
|
253
|
-
description: _this.buildNotificationDescription({
|
|
254
|
-
singleData: singleData,
|
|
255
|
-
listData: listData,
|
|
256
|
-
extraData: extraData,
|
|
257
|
-
responseOriginalData: responseOriginalData,
|
|
258
|
-
submitData: submitData
|
|
259
|
-
})
|
|
260
|
-
}),
|
|
261
|
-
type = _type$placement$messa.type,
|
|
262
|
-
placement = _type$placement$messa.placement,
|
|
263
|
-
messageText = _type$placement$messa.message,
|
|
264
|
-
description = _type$placement$messa.description;
|
|
265
|
-
if (!checkStringIsNullOrWhiteSpace(description)) {
|
|
266
|
-
setTimeout(function () {
|
|
267
|
-
requestAnimationFrame(function () {
|
|
268
|
-
if (type === 'info') {
|
|
269
|
-
notification.info({
|
|
270
|
-
placement: placement,
|
|
271
|
-
message: messageText,
|
|
272
|
-
description: description
|
|
273
|
-
});
|
|
274
|
-
}
|
|
275
|
-
if (type === 'success') {
|
|
276
|
-
notification.success({
|
|
277
|
-
placement: placement,
|
|
278
|
-
message: messageText,
|
|
279
|
-
description: description
|
|
280
|
-
});
|
|
281
|
-
}
|
|
282
|
-
if (type === 'warning') {
|
|
283
|
-
notification.warning({
|
|
284
|
-
placement: placement,
|
|
285
|
-
message: messageText,
|
|
286
|
-
description: description
|
|
287
|
-
});
|
|
288
|
-
}
|
|
289
|
-
if (type === 'error') {
|
|
290
|
-
notification.error({
|
|
291
|
-
placement: placement,
|
|
292
|
-
message: messageText,
|
|
293
|
-
description: description
|
|
294
|
-
});
|
|
295
|
-
}
|
|
296
|
-
});
|
|
297
|
-
}, 700);
|
|
298
|
-
}
|
|
299
|
-
};
|
|
300
|
-
_this.buildNotificationType = function () {
|
|
301
|
-
return "success";
|
|
302
|
-
};
|
|
303
|
-
_this.buildNotificationPlacement = function () {
|
|
304
|
-
return "bottomRight";
|
|
305
|
-
};
|
|
306
|
-
_this.buildNotificationMessage = function () {
|
|
307
|
-
return "\u64CD\u4F5C\u6267\u884C\u901A\u77E5";
|
|
308
|
-
};
|
|
309
|
-
_this.buildNotificationDescription = function (_ref9) {
|
|
310
|
-
_ref9.singleData;
|
|
311
|
-
_ref9.listData;
|
|
312
|
-
_ref9.extraData;
|
|
313
|
-
_ref9.responseOriginalData;
|
|
314
|
-
_ref9.submitData;
|
|
315
|
-
return "\u5DF2\u6210\u529F\u66F4\u65B0\u4FE1\u606F\uFF0C\u8BF7\u7EE7\u7EED\u5176\u4ED6\u64CD\u4F5C\u3002";
|
|
316
|
-
};
|
|
317
|
-
return _this;
|
|
318
|
-
}
|
|
319
|
-
return _createClass(Base);
|
|
320
|
-
}(AuthorizationWrapper);
|
|
321
|
-
|
|
322
|
-
export { Base as default };
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import Base from '../Base/index.js';
|
|
3
|
-
import '../../../toPropertyKey.js';
|
|
4
|
-
import '../../../typeof.js';
|
|
5
|
-
import '../../../objectSpread2.js';
|
|
6
|
-
import 'antd';
|
|
7
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
8
|
-
import '../../AuthorizationWrapper/index.js';
|
|
9
|
-
import 'antd-management-fast-common/es/utils/authority';
|
|
10
|
-
import '../../CustomWrapper/SupplementWrapper/index.js';
|
|
11
|
-
import '../../CustomWrapper/Supplement/index.js';
|
|
12
|
-
import '../../CustomWrapper/SupplementCore/index.js';
|
|
13
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
14
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
15
|
-
import '../../../index2.js';
|
|
16
|
-
import 'react';
|
|
17
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
18
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
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/FlexBox';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
32
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
33
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
34
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
35
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
36
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
37
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
38
|
-
import '../../../utils/metaDataAssist.js';
|
|
39
|
-
import '../../../index3.js';
|
|
40
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
41
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
42
|
-
import '../../../utils/storageAssist.js';
|
|
43
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
44
|
-
import '../../Core/index.js';
|
|
45
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
46
|
-
|
|
47
|
-
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); }; }
|
|
48
|
-
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; } }
|
|
49
|
-
var BaseView = /*#__PURE__*/function (_Base) {
|
|
50
|
-
_inherits(BaseView, _Base);
|
|
51
|
-
var _super = _createSuper(BaseView);
|
|
52
|
-
function BaseView() {
|
|
53
|
-
var _this;
|
|
54
|
-
_classCallCheck(this, BaseView);
|
|
55
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
56
|
-
args[_key] = arguments[_key];
|
|
57
|
-
}
|
|
58
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
59
|
-
_this.afterSubmitSuccess = function (_ref) {
|
|
60
|
-
var _ref$singleData = _ref.singleData,
|
|
61
|
-
singleData = _ref$singleData === void 0 ? null : _ref$singleData,
|
|
62
|
-
_ref$listData = _ref.listData,
|
|
63
|
-
listData = _ref$listData === void 0 ? [] : _ref$listData,
|
|
64
|
-
_ref$extraData = _ref.extraData,
|
|
65
|
-
extraData = _ref$extraData === void 0 ? null : _ref$extraData,
|
|
66
|
-
_ref$responseOriginal = _ref.responseOriginalData,
|
|
67
|
-
responseOriginalData = _ref$responseOriginal === void 0 ? null : _ref$responseOriginal,
|
|
68
|
-
_ref$submitData = _ref.submitData,
|
|
69
|
-
submitData = _ref$submitData === void 0 ? null : _ref$submitData;
|
|
70
|
-
_this.doAfterSubmitSuccess({
|
|
71
|
-
singleData: singleData,
|
|
72
|
-
listData: listData,
|
|
73
|
-
extraData: extraData,
|
|
74
|
-
responseOriginalData: responseOriginalData,
|
|
75
|
-
submitData: submitData
|
|
76
|
-
});
|
|
77
|
-
};
|
|
78
|
-
return _this;
|
|
79
|
-
}
|
|
80
|
-
return _createClass(BaseView);
|
|
81
|
-
}(Base);
|
|
82
|
-
|
|
83
|
-
export { BaseView as default };
|