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,108 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../getPrototypeOf.js';
|
|
2
|
-
import { checkHasAuthority } from 'antd-management-fast-common/es/utils/authority';
|
|
3
|
-
import { redirectToPath, isFunction, getDerivedStateFromPropsForUrlParams } from 'antd-management-fast-common/es/utils/tools';
|
|
4
|
-
import SupplementWrapper from '../CustomWrapper/SupplementWrapper/index.js';
|
|
5
|
-
import '../../toPropertyKey.js';
|
|
6
|
-
import '../../typeof.js';
|
|
7
|
-
import '../CustomWrapper/Supplement/index.js';
|
|
8
|
-
import '../CustomWrapper/SupplementCore/index.js';
|
|
9
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
10
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
11
|
-
import '../../index2.js';
|
|
12
|
-
import '../../objectSpread2.js';
|
|
13
|
-
import 'antd';
|
|
14
|
-
import 'react';
|
|
15
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
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/FunctionComponent';
|
|
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/Icon';
|
|
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/localStorageAssist';
|
|
42
|
-
import '../Core/index.js';
|
|
43
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
44
|
-
|
|
45
|
-
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); }; }
|
|
46
|
-
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; } }
|
|
47
|
-
var AuthorizationWrapper = /*#__PURE__*/function (_SupplementWrapper) {
|
|
48
|
-
_inherits(AuthorizationWrapper, _SupplementWrapper);
|
|
49
|
-
var _super = _createSuper(AuthorizationWrapper);
|
|
50
|
-
function AuthorizationWrapper() {
|
|
51
|
-
var _this;
|
|
52
|
-
_classCallCheck(this, AuthorizationWrapper);
|
|
53
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
54
|
-
args[_key] = arguments[_key];
|
|
55
|
-
}
|
|
56
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
57
|
-
_this.componentAuthority = null;
|
|
58
|
-
_this.doDidMountTask = function () {
|
|
59
|
-
var needDoOther = false;
|
|
60
|
-
if (_this.componentAuthority == null) {
|
|
61
|
-
_this.init();
|
|
62
|
-
needDoOther = true;
|
|
63
|
-
} else if (_this.checkAuthority(_this.componentAuthority)) {
|
|
64
|
-
_this.init();
|
|
65
|
-
needDoOther = true;
|
|
66
|
-
} else {
|
|
67
|
-
var text = "\u7F3A\u5C11\u6743\u9650\uFF1A".concat(_this.componentAuthority);
|
|
68
|
-
showRuntimeError({
|
|
69
|
-
message: text
|
|
70
|
-
});
|
|
71
|
-
redirectToPath('/exception/404');
|
|
72
|
-
}
|
|
73
|
-
if (needDoOther) {
|
|
74
|
-
_this.adjustWhenDidMount();
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
_this.checkAuthority = function (auth) {
|
|
78
|
-
return checkHasAuthority(auth);
|
|
79
|
-
};
|
|
80
|
-
_this.getCurrentOperator = function () {
|
|
81
|
-
var currentOperator = _this.props.global.currentOperator;
|
|
82
|
-
return currentOperator;
|
|
83
|
-
};
|
|
84
|
-
_this.reloadCurrentOperator = function () {
|
|
85
|
-
var callback = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
|
|
86
|
-
_this.dispatchApi({
|
|
87
|
-
type: 'global/getCurrentOperator',
|
|
88
|
-
payload: {
|
|
89
|
-
force: true
|
|
90
|
-
}
|
|
91
|
-
}).then(function () {
|
|
92
|
-
if (isFunction(callback)) {
|
|
93
|
-
callback();
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
|
-
};
|
|
97
|
-
return _this;
|
|
98
|
-
}
|
|
99
|
-
_createClass(AuthorizationWrapper, null, [{
|
|
100
|
-
key: "getDerivedStateFromProps",
|
|
101
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
102
|
-
return getDerivedStateFromPropsForUrlParams(nextProps, prevState);
|
|
103
|
-
}
|
|
104
|
-
}]);
|
|
105
|
-
return AuthorizationWrapper;
|
|
106
|
-
}(SupplementWrapper);
|
|
107
|
-
|
|
108
|
-
export { AuthorizationWrapper as default };
|
|
@@ -1,98 +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 { Button } from 'antd';
|
|
5
|
-
import { showRuntimeError } from 'antd-management-fast-common/es/utils/tools';
|
|
6
|
-
import SupplementWrapper from '../../../CustomWrapper/SupplementWrapper/index.js';
|
|
7
|
-
import '../../../../toPropertyKey.js';
|
|
8
|
-
import '../../../../typeof.js';
|
|
9
|
-
import '../../../CustomWrapper/Supplement/index.js';
|
|
10
|
-
import '../../../CustomWrapper/SupplementCore/index.js';
|
|
11
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
12
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
13
|
-
import '../../../../index2.js';
|
|
14
|
-
import 'react';
|
|
15
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
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/FunctionComponent';
|
|
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/Icon';
|
|
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/localStorageAssist';
|
|
42
|
-
import '../../../Core/index.js';
|
|
43
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
44
|
-
|
|
45
|
-
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); }; }
|
|
46
|
-
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; } }
|
|
47
|
-
var Base = /*#__PURE__*/function (_SupplementWrapper) {
|
|
48
|
-
_inherits(Base, _SupplementWrapper);
|
|
49
|
-
var _super = _createSuper(Base);
|
|
50
|
-
function Base(props) {
|
|
51
|
-
var _this;
|
|
52
|
-
_classCallCheck(this, Base);
|
|
53
|
-
_this = _super.call(this, props);
|
|
54
|
-
_this.loadDataAfterMount = false;
|
|
55
|
-
_this.showSelect = function () {
|
|
56
|
-
var text = 'showSelect 方法需要在上层进行实现';
|
|
57
|
-
showRuntimeError({
|
|
58
|
-
message: text
|
|
59
|
-
});
|
|
60
|
-
};
|
|
61
|
-
_this.getFieldData = function () {
|
|
62
|
-
return {
|
|
63
|
-
fieldText: '',
|
|
64
|
-
fieldTitle: '',
|
|
65
|
-
placeholder: '请选择'
|
|
66
|
-
};
|
|
67
|
-
};
|
|
68
|
-
_this.renderButton = function () {
|
|
69
|
-
var _this$props = _this.props,
|
|
70
|
-
children = _this$props.children,
|
|
71
|
-
buttonProps = _this$props.buttonProps;
|
|
72
|
-
var p = _objectSpread2(_objectSpread2({}, buttonProps || []), {
|
|
73
|
-
onClick: function onClick() {
|
|
74
|
-
_this.showSelect();
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
return /*#__PURE__*/React.createElement(Button, p, children);
|
|
78
|
-
};
|
|
79
|
-
_this.state = _objectSpread2(_objectSpread2({}, _this.state), {
|
|
80
|
-
selectData: null
|
|
81
|
-
});
|
|
82
|
-
return _this;
|
|
83
|
-
}
|
|
84
|
-
_createClass(Base, [{
|
|
85
|
-
key: "renderFurther",
|
|
86
|
-
value: function renderFurther() {
|
|
87
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, this.renderButton(), this.renderOther());
|
|
88
|
-
}
|
|
89
|
-
}], [{
|
|
90
|
-
key: "getDerivedStateFromProps",
|
|
91
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
92
|
-
return _get(_getPrototypeOf(Base), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
93
|
-
}
|
|
94
|
-
}]);
|
|
95
|
-
return Base;
|
|
96
|
-
}(SupplementWrapper);
|
|
97
|
-
|
|
98
|
-
export { Base as default };
|
|
@@ -1,149 +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 { selectModeCollection } from 'antd-management-fast-common/es/utils/constants';
|
|
5
|
-
import { toNumber, isFunction } 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 'antd';
|
|
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/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 InteractiveBase = /*#__PURE__*/function (_Base) {
|
|
49
|
-
_inherits(InteractiveBase, _Base);
|
|
50
|
-
var _super = _createSuper(InteractiveBase);
|
|
51
|
-
function InteractiveBase(props) {
|
|
52
|
-
var _this;
|
|
53
|
-
_classCallCheck(this, InteractiveBase);
|
|
54
|
-
_this = _super.call(this, props);
|
|
55
|
-
_this.showSelect = function () {
|
|
56
|
-
var selectMode = _this.props.selectMode;
|
|
57
|
-
if (toNumber(selectMode) === selectModeCollection.drawer) {
|
|
58
|
-
_this.showDrawer();
|
|
59
|
-
}
|
|
60
|
-
if (toNumber(selectMode) === selectModeCollection.modal) {
|
|
61
|
-
_this.showModal();
|
|
62
|
-
}
|
|
63
|
-
};
|
|
64
|
-
_this.showDrawer = function () {
|
|
65
|
-
_this.setState({
|
|
66
|
-
drawerVisible: true
|
|
67
|
-
});
|
|
68
|
-
};
|
|
69
|
-
_this.afterDrawerClose = function () {
|
|
70
|
-
_this.setState({
|
|
71
|
-
drawerVisible: false
|
|
72
|
-
});
|
|
73
|
-
};
|
|
74
|
-
_this.afterDrawerSelectSuccess = function (o) {
|
|
75
|
-
_this.afterSelectSuccessCore(o);
|
|
76
|
-
};
|
|
77
|
-
_this.showModal = function () {
|
|
78
|
-
_this.setState({
|
|
79
|
-
modalVisible: true
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
_this.afterModalSelectSuccess = function (o) {
|
|
83
|
-
_this.setState({
|
|
84
|
-
modalVisible: false
|
|
85
|
-
});
|
|
86
|
-
_this.afterSelectSuccessCore(o);
|
|
87
|
-
};
|
|
88
|
-
_this.afterModalCancel = function () {
|
|
89
|
-
_this.setState({
|
|
90
|
-
modalVisible: false
|
|
91
|
-
});
|
|
92
|
-
};
|
|
93
|
-
_this.afterSelectSuccessCore = function (o) {
|
|
94
|
-
if ((o || null) == null) {
|
|
95
|
-
return;
|
|
96
|
-
}
|
|
97
|
-
var afterSelect = _this.props.afterSelect;
|
|
98
|
-
_this.setState({
|
|
99
|
-
selectData: o
|
|
100
|
-
});
|
|
101
|
-
if (isFunction(afterSelect)) {
|
|
102
|
-
afterSelect(o);
|
|
103
|
-
}
|
|
104
|
-
};
|
|
105
|
-
_this.renderSelectDrawer = function () {
|
|
106
|
-
var text = '需要实现 renderSelectDrawer 方法';
|
|
107
|
-
showRuntimeError({
|
|
108
|
-
message: text
|
|
109
|
-
});
|
|
110
|
-
};
|
|
111
|
-
_this.renderSelectModal = function () {
|
|
112
|
-
var text = '需要实现 renderSelectModal 方法';
|
|
113
|
-
showRuntimeError({
|
|
114
|
-
message: text
|
|
115
|
-
});
|
|
116
|
-
};
|
|
117
|
-
_this.renderOther = function () {
|
|
118
|
-
var selectMode = _this.props.selectMode;
|
|
119
|
-
if (toNumber(selectMode) === selectModeCollection.drawer) {
|
|
120
|
-
return _this.renderSelectDrawer();
|
|
121
|
-
}
|
|
122
|
-
if (toNumber(selectMode) === selectModeCollection.modal) {
|
|
123
|
-
return _this.renderSelectModal();
|
|
124
|
-
}
|
|
125
|
-
var text = '无效的选择项渲染模式';
|
|
126
|
-
showRuntimeError({
|
|
127
|
-
message: text
|
|
128
|
-
});
|
|
129
|
-
return null;
|
|
130
|
-
};
|
|
131
|
-
_this.state = _objectSpread2(_objectSpread2({}, _this.state), {
|
|
132
|
-
drawerVisible: false,
|
|
133
|
-
modalVisible: false
|
|
134
|
-
});
|
|
135
|
-
return _this;
|
|
136
|
-
}
|
|
137
|
-
_createClass(InteractiveBase, null, [{
|
|
138
|
-
key: "getDerivedStateFromProps",
|
|
139
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
140
|
-
return _get(_getPrototypeOf(InteractiveBase), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
|
|
141
|
-
}
|
|
142
|
-
}]);
|
|
143
|
-
return InteractiveBase;
|
|
144
|
-
}(Base);
|
|
145
|
-
InteractiveBase.defaultProps = {
|
|
146
|
-
selectMode: selectModeCollection.drawer
|
|
147
|
-
};
|
|
148
|
-
|
|
149
|
-
export { InteractiveBase as default };
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export class AmfCardCollectionItemContent extends BaseComponent {
|
|
2
|
-
renderFurther(): JSX.Element;
|
|
3
|
-
}
|
|
4
|
-
export namespace AmfCardCollectionItemContent {
|
|
5
|
-
namespace defaultProps {
|
|
6
|
-
const mode: any;
|
|
7
|
-
const justify: string;
|
|
8
|
-
const align: string;
|
|
9
|
-
const gutter: number;
|
|
10
|
-
const items: never[];
|
|
11
|
-
const index: number;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
import { BaseComponent } from "antd-management-fast-component/es/customComponents/BaseComponent";
|
|
@@ -1,167 +0,0 @@
|
|
|
1
|
-
export class Common {
|
|
2
|
-
static getDerivedStateFromProps(nextProperties: any, previousState: any): any;
|
|
3
|
-
constructor(properties: any);
|
|
4
|
-
showExtraActionDivider: boolean;
|
|
5
|
-
loadRemoteRequestAfterMount: boolean;
|
|
6
|
-
lastRequestingData: {
|
|
7
|
-
type: string;
|
|
8
|
-
payload: {};
|
|
9
|
-
};
|
|
10
|
-
state: {
|
|
11
|
-
backPath: string;
|
|
12
|
-
showReloadButton: boolean;
|
|
13
|
-
loadApiPath: string;
|
|
14
|
-
pageName: string;
|
|
15
|
-
metaData: null;
|
|
16
|
-
metaExtra: null;
|
|
17
|
-
metaListData: never[];
|
|
18
|
-
metaOriginalData: null;
|
|
19
|
-
dataLoading: boolean;
|
|
20
|
-
processing: boolean;
|
|
21
|
-
reloading: boolean;
|
|
22
|
-
searching: boolean;
|
|
23
|
-
refreshing: boolean;
|
|
24
|
-
paging: boolean;
|
|
25
|
-
firstLoadSuccess: boolean;
|
|
26
|
-
loadSuccess: boolean;
|
|
27
|
-
urlParams: null;
|
|
28
|
-
externalData: null;
|
|
29
|
-
};
|
|
30
|
-
checkNeedUpdate: (preProperties: any, preState: any, snapshot: any) => boolean;
|
|
31
|
-
getMetaData: () => {};
|
|
32
|
-
doLoadRemoteRequest: () => void;
|
|
33
|
-
beforeFirstLoadRequest: (submitData: any) => void;
|
|
34
|
-
beforeReLoadRequest: (submitData: any) => void;
|
|
35
|
-
beforeRequest: (submitData: any) => void;
|
|
36
|
-
afterGetFirstRequestResult: (submitData: any, responseData: any) => void;
|
|
37
|
-
afterGetRequestResult: (submitData: any, responseData: any) => void;
|
|
38
|
-
afterGetReLoadRequestResult: (submitData: any, responseData: any) => void;
|
|
39
|
-
getRequestingData(): {
|
|
40
|
-
type: string;
|
|
41
|
-
payload: {};
|
|
42
|
-
};
|
|
43
|
-
setRequestingData(parameters: any, callback: any): void;
|
|
44
|
-
clearRequestingData(): void;
|
|
45
|
-
initLoadRequestParams: (o: any) => any;
|
|
46
|
-
supplementLoadRequestParams: (o: any) => any;
|
|
47
|
-
checkLoadRequestParams: (o: any) => boolean;
|
|
48
|
-
initLoad: ({ otherState, delay, callback }: {
|
|
49
|
-
otherState?: {} | undefined;
|
|
50
|
-
delay?: number | undefined;
|
|
51
|
-
callback?: null | undefined;
|
|
52
|
-
}) => void;
|
|
53
|
-
adjustLoadApiPath: () => string;
|
|
54
|
-
initLoadCore: ({ requestData, delay, callback }: {
|
|
55
|
-
requestData: any;
|
|
56
|
-
delay?: number | undefined;
|
|
57
|
-
callback: any;
|
|
58
|
-
}) => void;
|
|
59
|
-
loadFromApi: ({ requestData, callback }: {
|
|
60
|
-
requestData: any;
|
|
61
|
-
callback: any;
|
|
62
|
-
}) => void;
|
|
63
|
-
pageListData: (otherState: any, callback?: null, delay?: number) => void;
|
|
64
|
-
reloadData: (otherState: any, callback?: null, delay?: number) => void;
|
|
65
|
-
searchData: (otherState: any, callback?: null, delay?: number) => void;
|
|
66
|
-
refreshData: (otherState: any, callback?: null, delay?: number) => void;
|
|
67
|
-
reloadGlobalData: ({ successCallback, failCallback }: {
|
|
68
|
-
successCallback?: null | undefined;
|
|
69
|
-
failCallback?: null | undefined;
|
|
70
|
-
}) => void;
|
|
71
|
-
afterFirstLoadSuccess: () => void;
|
|
72
|
-
afterLoadSuccess: ({ metaData, metaListData, metaExtra, metaOriginalData, }: {
|
|
73
|
-
metaData?: null | undefined;
|
|
74
|
-
metaListData?: any[] | undefined;
|
|
75
|
-
metaExtra?: null | undefined;
|
|
76
|
-
metaOriginalData?: null | undefined;
|
|
77
|
-
}) => void;
|
|
78
|
-
afterReloadSuccess: () => void;
|
|
79
|
-
backToList: () => void;
|
|
80
|
-
checkWorkDoing(): boolean;
|
|
81
|
-
reloadByUrl(): void;
|
|
82
|
-
renderPresetOther: () => null;
|
|
83
|
-
renderPresetFormNowTimeField: (data: any) => JSX.Element;
|
|
84
|
-
renderPresetFormCreateTimeField: (name?: string, helper?: string, label?: string, formItemLayout?: null) => JSX.Element;
|
|
85
|
-
renderPresetFormUpdateTimeField: (name?: string, helper?: string, label?: string, formItemLayout?: null) => JSX.Element;
|
|
86
|
-
renderPresetFormRadioCore: (listDataSource: any, adjustListDataCallback?: null) => JSX.Element;
|
|
87
|
-
renderPresetSearchInput: (label: any, name: any, helper?: null, icon?: JSX.Element, inputProperties?: {}, canOperate?: boolean, formItemLayout?: {}) => JSX.Element;
|
|
88
|
-
renderPresetSearchInputNumber: (label: any, name: any, helper?: null, icon?: JSX.Element, inputProperties?: {}, canOperate?: boolean, formItemLayout?: {}) => JSX.Element;
|
|
89
|
-
renderPresetFormDisplay: (label: any, content: any, formItemLayout?: {}, useDisplayBoxStyle?: boolean) => JSX.Element;
|
|
90
|
-
renderPresetFormHiddenWrapper: (children: any, hidden?: boolean) => JSX.Element;
|
|
91
|
-
renderPresetFormInputFieldData: (fieldData: any, required?: boolean, icon?: JSX.Element, inputProperties?: {}, canOperate?: boolean, formItemLayout?: {}, reminderPrefix?: string, hidden?: boolean) => JSX.Element;
|
|
92
|
-
renderPresetFormInput: (label: any, name: any, required?: boolean, helper?: null, icon?: JSX.Element, inputProperties?: {}, canOperate?: boolean, formItemLayout?: {}, reminderPrefix?: string, hidden?: boolean) => JSX.Element;
|
|
93
|
-
renderPresetFormPassword: (label: any, name: any, required?: boolean, helper?: null, icon?: JSX.Element, inputProperties?: {}, canOperate?: boolean, formItemLayout?: {}) => JSX.Element;
|
|
94
|
-
renderPresetFormOnlyShowText: (label: any, value: any, helper?: null, formItemLayout?: {}, requiredForShow?: boolean) => JSX.Element;
|
|
95
|
-
renderPresetJsonView: (value: any, theme?: string) => JSX.Element;
|
|
96
|
-
renderPresetFormButton: (config: any, formItemLayout?: {}) => JSX.Element;
|
|
97
|
-
renderPresetFormActionItem: (component: any, formItemLayout?: {}) => JSX.Element | null;
|
|
98
|
-
renderPresetFormOnlyShowTextarea: (label: any, value: any, helper?: null, textAreaProperties?: null, formItemLayout?: {}) => JSX.Element;
|
|
99
|
-
renderPresetFormText: (label: any, value: any, helper?: null, formItemLayout?: {}) => JSX.Element;
|
|
100
|
-
renderPresetFormRadio: (label: any, name: any, renderItemFunction: any, helper?: null, onChangeCallback?: null, formItemLayout?: null, required?: boolean, otherProperties?: null) => JSX.Element;
|
|
101
|
-
renderPresetSearchFormSelect: (label: any, name: any, options: any, helper?: null) => JSX.Element;
|
|
102
|
-
getOtherButtonDisabled: () => boolean;
|
|
103
|
-
getSaveButtonDisabled: () => any;
|
|
104
|
-
getSaveButtonLoading: () => any;
|
|
105
|
-
getSaveButtonProcessing: () => boolean;
|
|
106
|
-
getSaveButtonIcon: () => JSX.Element;
|
|
107
|
-
getDisabledButtonIcon: () => JSX.Element;
|
|
108
|
-
renderPresetDisabledButton: (text?: string) => JSX.Element;
|
|
109
|
-
renderPresetSaveButton: ({ icon, text, handleClick, disabled, processing, hidden, }: {
|
|
110
|
-
icon: any;
|
|
111
|
-
text: any;
|
|
112
|
-
handleClick: any;
|
|
113
|
-
disabled?: boolean | undefined;
|
|
114
|
-
processing?: boolean | undefined;
|
|
115
|
-
hidden?: boolean | undefined;
|
|
116
|
-
}) => JSX.Element;
|
|
117
|
-
establishFormAdditionalConfig: () => {};
|
|
118
|
-
renderPresetRefreshButton: (properties?: null) => JSX.Element;
|
|
119
|
-
beforeVideoUpload: (file: any) => boolean;
|
|
120
|
-
pretreatmentImageUploadRemoteResponse: (response: any) => never;
|
|
121
|
-
pretreatmentFileBase64UploadRemoteResponse: (response: any) => never;
|
|
122
|
-
pretreatmentVideoUploadRemoteResponse: (response: any) => never;
|
|
123
|
-
pretreatmentAudioUploadRemoteResponse: (response: any) => never;
|
|
124
|
-
pretreatmentFileUploadRemoteResponse: (response: any) => never;
|
|
125
|
-
establishToolBarConfig: () => null;
|
|
126
|
-
buildToolBar: () => JSX.Element | null;
|
|
127
|
-
buildToolBarWrapper: () => JSX.Element | null;
|
|
128
|
-
establishWrapperTypeConfig: () => {
|
|
129
|
-
mode: string;
|
|
130
|
-
};
|
|
131
|
-
establishHelpConfig: () => null;
|
|
132
|
-
buildHelp: () => JSX.Element | null;
|
|
133
|
-
buildHelpWrapper: () => JSX.Element | null;
|
|
134
|
-
establishSiderTopAreaConfig: () => null;
|
|
135
|
-
renderPresetSiderTopArea: () => JSX.Element | null;
|
|
136
|
-
establishSiderBottomAreaConfig: () => null;
|
|
137
|
-
renderPresetSiderBottomArea: () => JSX.Element | null;
|
|
138
|
-
buildCardCollectionArea: (config?: null) => JSX.Element | null;
|
|
139
|
-
renderPresetSiderArea: () => JSX.Element | null;
|
|
140
|
-
establishPageContentLayoutSiderConfig: () => {};
|
|
141
|
-
establishPageContentLayoutConfig: () => {};
|
|
142
|
-
buildCardCollection: (config: any) => JSX.Element;
|
|
143
|
-
buildCardCollectionItem: ({ config: cardItemConfig, key: cardItemKey, mode, justify: justifyGeneral, align: alignGeneral, }: {
|
|
144
|
-
config: any;
|
|
145
|
-
key: any;
|
|
146
|
-
mode?: any;
|
|
147
|
-
justify?: string | undefined;
|
|
148
|
-
align?: string | undefined;
|
|
149
|
-
}) => JSX.Element | null;
|
|
150
|
-
buildCardCollectionItemContent: ({ mode, justify, align, gutter, items: contentItems, index: contentIndex, }: {
|
|
151
|
-
mode: any;
|
|
152
|
-
justify: any;
|
|
153
|
-
align: any;
|
|
154
|
-
gutter?: number | undefined;
|
|
155
|
-
items: any;
|
|
156
|
-
index: any;
|
|
157
|
-
}) => JSX.Element;
|
|
158
|
-
buildByExtraBuildType: ({ keyPrefix, configList }: {
|
|
159
|
-
keyPrefix?: string | undefined;
|
|
160
|
-
configList: any;
|
|
161
|
-
}) => JSX.Element[];
|
|
162
|
-
establishExtraActionConfig: () => null;
|
|
163
|
-
establishExtraActionGroupConfig: () => null;
|
|
164
|
-
establishExtraActionEllipsisConfig: () => null;
|
|
165
|
-
buildExtraBackAction: () => null;
|
|
166
|
-
buildExtraAction: () => JSX.Element;
|
|
167
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class InternalMake extends InternalBuild {
|
|
2
|
-
makePresetSiderTopArea: () => JSX.Element | null;
|
|
3
|
-
makePresetSiderBottomArea: () => JSX.Element | null;
|
|
4
|
-
makePresetSiderArea: () => JSX.Element;
|
|
5
|
-
makePresetContentArea: () => null;
|
|
6
|
-
makePresetPageContent: () => JSX.Element;
|
|
7
|
-
makePresetPageBody: () => JSX.Element;
|
|
8
|
-
}
|
|
9
|
-
import { InternalBuild } from "../InternalBuild";
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export { C as default } from '../../index2.js';
|
|
2
|
-
import '../../objectSpread2.js';
|
|
3
|
-
import '../../getPrototypeOf.js';
|
|
4
|
-
import 'antd';
|
|
5
|
-
import 'react';
|
|
6
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
7
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
8
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
9
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
10
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
11
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
12
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
13
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
14
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
15
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
29
|
-
import '../../utils/metaDataAssist.js';
|
|
30
|
-
import '../Core/index.js';
|
|
31
|
-
import '../../toPropertyKey.js';
|
|
32
|
-
import '../../typeof.js';
|
|
33
|
-
import '../../index3.js';
|
|
34
|
-
import 'antd-management-fast-common/es/utils/actionAssist';
|
|
35
|
-
import 'antd-management-fast-common/es/utils/dva';
|
|
36
|
-
import '../../utils/storageAssist.js';
|
|
37
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
38
|
-
import 'antd-management-fast-common/es/utils/localStorageAssist';
|
|
39
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
@@ -1,38 +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 { defaultCoreState, getDerivedStateFromPropsForUrlParamsCore } from 'antd-management-fast-common/es/utils/tools';
|
|
4
|
-
import BaseComponent from 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
5
|
-
import '../../toPropertyKey.js';
|
|
6
|
-
import '../../typeof.js';
|
|
7
|
-
|
|
8
|
-
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); }; }
|
|
9
|
-
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; } }
|
|
10
|
-
var Core = /*#__PURE__*/function (_BaseComponent) {
|
|
11
|
-
_inherits(Core, _BaseComponent);
|
|
12
|
-
var _super = _createSuper(Core);
|
|
13
|
-
function Core(props) {
|
|
14
|
-
var _this;
|
|
15
|
-
_classCallCheck(this, Core);
|
|
16
|
-
_this = _super.call(this, props);
|
|
17
|
-
_this.lastLoadParams = null;
|
|
18
|
-
_this.doDidMountTask = function () {
|
|
19
|
-
_this.adjustWhenDidMount();
|
|
20
|
-
};
|
|
21
|
-
_this.adjustWhenDidMount = function () {};
|
|
22
|
-
_this.lastLoadParams = null;
|
|
23
|
-
var defaultState = defaultCoreState();
|
|
24
|
-
_this.state = _objectSpread2({}, defaultState);
|
|
25
|
-
return _this;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29
|
-
_createClass(Core, null, [{
|
|
30
|
-
key: "getDerivedStateFromProps",
|
|
31
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
32
|
-
return getDerivedStateFromPropsForUrlParamsCore();
|
|
33
|
-
}
|
|
34
|
-
}]);
|
|
35
|
-
return Core;
|
|
36
|
-
}(BaseComponent);
|
|
37
|
-
|
|
38
|
-
export { Core as default };
|