antd-management-fast-framework 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +3 -9771
- package/package.json +7 -7
- package/es/configGroup/configGeneral.d.ts +0 -28
- package/es/configGroup/configGeneral.js +0 -36
- package/es/configGroup/index.d.ts +0 -2
- package/es/configGroup/themeCollection.d.ts +0 -7
- package/es/configGroup/themeCollection.js +0 -9
- package/es/configGroup/webpackPlugin.d.ts +0 -4
- package/es/configGroup/webpackPlugin.js +0 -351
- package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
- package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
- package/es/customComponents/Bootstrap/index.d.ts +0 -3
- package/es/customComponents/Bootstrap/index.js +0 -67
- package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
- package/es/customComponents/DataPreviewDrawer/index.js +0 -169
- package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
- package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
- package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
- package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
- package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
- package/es/customComponents/MobileContainor/index.d.ts +0 -8
- package/es/customComponents/index.d.ts +0 -5
- package/es/framework/AuthorizationWrapper/index.js +0 -108
- package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
- package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
- package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
- package/es/framework/Common/CommonInternal/index.d.ts +0 -167
- package/es/framework/Common/InternalMake/index.d.ts +0 -9
- package/es/framework/Common/index.js +0 -39
- package/es/framework/Core/index.js +0 -38
- package/es/framework/CustomWrapper/Supplement/index.js +0 -67
- package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
- package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
- package/es/framework/DataDrawer/Base/index.js +0 -335
- package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
- package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
- package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
- package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
- package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
- package/es/framework/DataForm/BaseAddForm/index.js +0 -261
- package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
- package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
- package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
- package/es/framework/DataListView/Base/index.js +0 -1261
- package/es/framework/DataListView/BatchAction/index.js +0 -73
- package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
- package/es/framework/DataListView/ColumnSetting/index.js +0 -319
- package/es/framework/DataListView/DensityAction/index.js +0 -63
- package/es/framework/DataMenuContainer/index.js +0 -282
- package/es/framework/DataModal/Base/index.js +0 -231
- package/es/framework/DataModal/BaseAddModal/index.js +0 -72
- package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
- package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
- package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
- package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
- package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
- package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
- package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
- package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
- package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
- package/es/framework/DataOperation/Base/index.js +0 -322
- package/es/framework/DataOperation/BaseView/index.js +0 -83
- package/es/framework/DataOperation/BaseWindow/index.js +0 -330
- package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
- package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
- package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
- package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
- package/es/framework/DataSingleView/DataCore/index.js +0 -260
- package/es/framework/DataSingleView/DataLoad/index.js +0 -151
- package/es/framework/DataTabContainer/index.js +0 -254
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
- package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
- package/es/framework/LayoutWrapper/index.d.ts +0 -2
- package/es/framework/Wrapper/index.js +0 -59
- package/es/get.js +0 -28
- package/es/getPrototypeOf.js +0 -76
- package/es/index2.js +0 -2075
- package/es/index3.js +0 -383
- package/es/models/index.d.ts +0 -1
- package/es/models/schedulingControl.d.ts +0 -46
- package/es/models/schedulingControl.js +0 -171
- package/es/objectSpread2.js +0 -40
- package/es/services/schedulingControl.js +0 -135
- package/es/slicedToArray.js +0 -43
- package/es/toConsumableArray.js +0 -19
- package/es/toPropertyKey.js +0 -19
- package/es/typeof.js +0 -11
- package/es/unsupportedIterableToArray.js +0 -16
- package/es/utils/appListDataAssist.js +0 -69
- package/es/utils/applicationAssist.js +0 -28
- package/es/utils/bootstrap.js +0 -58
- package/es/utils/layoutSettingAssist.js +0 -60
- package/es/utils/metaDataAssist.js +0 -69
- package/es/utils/storageAssist.js +0 -153
|
@@ -1,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 };
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { getDerivedStateFromPropsForUrlParams } from 'antd-management-fast-common/es/utils/tools';
|
|
3
|
-
import SupplementCore from '../SupplementCore/index.js';
|
|
4
|
-
import '../../../toPropertyKey.js';
|
|
5
|
-
import '../../../typeof.js';
|
|
6
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
7
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
8
|
-
import '../../../index2.js';
|
|
9
|
-
import '../../../objectSpread2.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/localStorageAssist';
|
|
39
|
-
import '../../Core/index.js';
|
|
40
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
41
|
-
|
|
42
|
-
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); }; }
|
|
43
|
-
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; } }
|
|
44
|
-
|
|
45
|
-
/**
|
|
46
|
-
* 该类作为特有项目的补充,视具体项目进行增部方法
|
|
47
|
-
*
|
|
48
|
-
* @class Index
|
|
49
|
-
* @extends {Common}
|
|
50
|
-
*/
|
|
51
|
-
var Supplement = /*#__PURE__*/function (_SupplementCore) {
|
|
52
|
-
_inherits(Supplement, _SupplementCore);
|
|
53
|
-
var _super = _createSuper(Supplement);
|
|
54
|
-
function Supplement() {
|
|
55
|
-
_classCallCheck(this, Supplement);
|
|
56
|
-
return _super.apply(this, arguments);
|
|
57
|
-
}
|
|
58
|
-
_createClass(Supplement, null, [{
|
|
59
|
-
key: "getDerivedStateFromProps",
|
|
60
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
61
|
-
return getDerivedStateFromPropsForUrlParams(nextProps, prevState);
|
|
62
|
-
}
|
|
63
|
-
}]);
|
|
64
|
-
return Supplement;
|
|
65
|
-
}(SupplementCore);
|
|
66
|
-
|
|
67
|
-
export { Supplement as default };
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { getTokenObject } from 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
3
|
-
import { pretreatmentRemoteSingleData } from 'antd-management-fast-common/es/utils/requestAssistor';
|
|
4
|
-
import { C as Common } from '../../../index2.js';
|
|
5
|
-
import '../../../toPropertyKey.js';
|
|
6
|
-
import '../../../typeof.js';
|
|
7
|
-
import '../../../objectSpread2.js';
|
|
8
|
-
import 'antd';
|
|
9
|
-
import 'react';
|
|
10
|
-
import 'antd-management-fast-common/es/utils/constants';
|
|
11
|
-
import 'antd-management-fast-common/es/utils/dynamicSetting';
|
|
12
|
-
import 'antd-management-fast-common/es/utils/tools';
|
|
13
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
|
|
14
|
-
import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
|
|
15
|
-
import 'antd-management-fast-component/es/customComponents/AudioUpload';
|
|
16
|
-
import 'antd-management-fast-component/es/customComponents/ColorText';
|
|
17
|
-
import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
|
|
18
|
-
import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
|
|
19
|
-
import 'antd-management-fast-component/es/customComponents/FileUpload';
|
|
20
|
-
import 'antd-management-fast-component/es/customComponents/FlexBox';
|
|
21
|
-
import 'antd-management-fast-component/es/customComponents/FlexText';
|
|
22
|
-
import 'antd-management-fast-component/es/customComponents/FunctionComponent';
|
|
23
|
-
import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
|
|
24
|
-
import 'antd-management-fast-component/es/customComponents/HelpBox';
|
|
25
|
-
import 'antd-management-fast-component/es/customComponents/HelpCard';
|
|
26
|
-
import 'antd-management-fast-component/es/customComponents/HtmlBox';
|
|
27
|
-
import 'antd-management-fast-component/es/customComponents/Icon';
|
|
28
|
-
import 'antd-management-fast-component/es/customComponents/IconInfo';
|
|
29
|
-
import 'antd-management-fast-component/es/customComponents/ImageBox';
|
|
30
|
-
import 'antd-management-fast-component/es/customComponents/ImageUpload';
|
|
31
|
-
import 'antd-management-fast-component/es/customComponents/VideoUpload';
|
|
32
|
-
import '../../../utils/metaDataAssist.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/localStorageAssist';
|
|
38
|
-
import '../../Core/index.js';
|
|
39
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
40
|
-
|
|
41
|
-
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); }; }
|
|
42
|
-
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; } }
|
|
43
|
-
var SupplementCore = /*#__PURE__*/function (_Common) {
|
|
44
|
-
_inherits(SupplementCore, _Common);
|
|
45
|
-
var _super = _createSuper(SupplementCore);
|
|
46
|
-
function SupplementCore() {
|
|
47
|
-
var _this;
|
|
48
|
-
_classCallCheck(this, SupplementCore);
|
|
49
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
50
|
-
args[_key] = arguments[_key];
|
|
51
|
-
}
|
|
52
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
53
|
-
_this.getUploadTokenObject = function () {
|
|
54
|
-
return getTokenObject();
|
|
55
|
-
};
|
|
56
|
-
_this.pretreatmentImageUploadRemoteResponse = function (response) {
|
|
57
|
-
var result = {
|
|
58
|
-
image: ''
|
|
59
|
-
};
|
|
60
|
-
var v = pretreatmentRemoteSingleData(response);
|
|
61
|
-
var dataSuccess = v.dataSuccess;
|
|
62
|
-
if (dataSuccess) {
|
|
63
|
-
var imageUrl = v.data.imageUrl;
|
|
64
|
-
result = {
|
|
65
|
-
image: imageUrl || ''
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
return result;
|
|
69
|
-
};
|
|
70
|
-
_this.pretreatmentFileBase64UploadRemoteResponse = function (response) {
|
|
71
|
-
var result = {
|
|
72
|
-
image: ''
|
|
73
|
-
};
|
|
74
|
-
var v = pretreatmentRemoteSingleData(response);
|
|
75
|
-
var dataSuccess = v.dataSuccess;
|
|
76
|
-
if (dataSuccess) {
|
|
77
|
-
var fileBase64 = v.data.fileBase64;
|
|
78
|
-
result = {
|
|
79
|
-
fileBase64: fileBase64 || ''
|
|
80
|
-
};
|
|
81
|
-
}
|
|
82
|
-
return result;
|
|
83
|
-
};
|
|
84
|
-
_this.pretreatmentVideoUploadRemoteResponse = function (response) {
|
|
85
|
-
var result = {
|
|
86
|
-
video: ''
|
|
87
|
-
};
|
|
88
|
-
var v = pretreatmentRemoteSingleData(response);
|
|
89
|
-
var dataSuccess = v.dataSuccess;
|
|
90
|
-
if (dataSuccess) {
|
|
91
|
-
var videoUrl = v.data.videoUrl;
|
|
92
|
-
result = {
|
|
93
|
-
video: videoUrl || ''
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
return result;
|
|
97
|
-
};
|
|
98
|
-
_this.pretreatmentAudioUploadRemoteResponse = function (response) {
|
|
99
|
-
var result = {
|
|
100
|
-
audio: ''
|
|
101
|
-
};
|
|
102
|
-
var v = pretreatmentRemoteSingleData(response);
|
|
103
|
-
var dataSuccess = v.dataSuccess;
|
|
104
|
-
if (dataSuccess) {
|
|
105
|
-
var audioUrl = v.data.audioUrl;
|
|
106
|
-
result = {
|
|
107
|
-
audio: audioUrl || ''
|
|
108
|
-
};
|
|
109
|
-
}
|
|
110
|
-
return result;
|
|
111
|
-
};
|
|
112
|
-
_this.pretreatmentFileUploadRemoteResponse = function (response) {
|
|
113
|
-
var result = {
|
|
114
|
-
file: ''
|
|
115
|
-
};
|
|
116
|
-
var v = pretreatmentRemoteSingleData(response);
|
|
117
|
-
var dataSuccess = v.dataSuccess;
|
|
118
|
-
if (dataSuccess) {
|
|
119
|
-
var fileUrl = v.data.fileUrl;
|
|
120
|
-
result = {
|
|
121
|
-
file: fileUrl || ''
|
|
122
|
-
};
|
|
123
|
-
}
|
|
124
|
-
return result;
|
|
125
|
-
};
|
|
126
|
-
return _this;
|
|
127
|
-
}
|
|
128
|
-
return _createClass(SupplementCore);
|
|
129
|
-
}(Common);
|
|
130
|
-
|
|
131
|
-
export { SupplementCore as default };
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { _ as _inherits, a as _classCallCheck, b as _createClass, c as _getPrototypeOf, d as _possibleConstructorReturn } from '../../../getPrototypeOf.js';
|
|
2
|
-
import { getDerivedStateFromPropsForUrlParams } from 'antd-management-fast-common/es/utils/tools';
|
|
3
|
-
import Supplement from '../Supplement/index.js';
|
|
4
|
-
import '../../../toPropertyKey.js';
|
|
5
|
-
import '../../../typeof.js';
|
|
6
|
-
import '../SupplementCore/index.js';
|
|
7
|
-
import 'antd-management-fast-common/es/utils/globalStorageAssist';
|
|
8
|
-
import 'antd-management-fast-common/es/utils/requestAssistor';
|
|
9
|
-
import '../../../index2.js';
|
|
10
|
-
import '../../../objectSpread2.js';
|
|
11
|
-
import 'antd';
|
|
12
|
-
import 'react';
|
|
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/localStorageAssist';
|
|
40
|
-
import '../../Core/index.js';
|
|
41
|
-
import 'antd-management-fast-component/es/customComponents/BaseComponent';
|
|
42
|
-
|
|
43
|
-
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); }; }
|
|
44
|
-
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; } }
|
|
45
|
-
var SupplementWrapper = /*#__PURE__*/function (_Supplement) {
|
|
46
|
-
_inherits(SupplementWrapper, _Supplement);
|
|
47
|
-
var _super = _createSuper(SupplementWrapper);
|
|
48
|
-
function SupplementWrapper() {
|
|
49
|
-
_classCallCheck(this, SupplementWrapper);
|
|
50
|
-
return _super.apply(this, arguments);
|
|
51
|
-
}
|
|
52
|
-
_createClass(SupplementWrapper, null, [{
|
|
53
|
-
key: "getDerivedStateFromProps",
|
|
54
|
-
value: function getDerivedStateFromProps(nextProps, prevState) {
|
|
55
|
-
return getDerivedStateFromPropsForUrlParams(nextProps, prevState);
|
|
56
|
-
}
|
|
57
|
-
}]);
|
|
58
|
-
return SupplementWrapper;
|
|
59
|
-
}(Supplement);
|
|
60
|
-
|
|
61
|
-
export { SupplementWrapper as default };
|