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.
Files changed (97) hide show
  1. package/es/index.js +3 -9771
  2. package/package.json +7 -7
  3. package/es/configGroup/configGeneral.d.ts +0 -28
  4. package/es/configGroup/configGeneral.js +0 -36
  5. package/es/configGroup/index.d.ts +0 -2
  6. package/es/configGroup/themeCollection.d.ts +0 -7
  7. package/es/configGroup/themeCollection.js +0 -9
  8. package/es/configGroup/webpackPlugin.d.ts +0 -4
  9. package/es/configGroup/webpackPlugin.js +0 -351
  10. package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
  11. package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
  12. package/es/customComponents/Bootstrap/index.d.ts +0 -3
  13. package/es/customComponents/Bootstrap/index.js +0 -67
  14. package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
  15. package/es/customComponents/DataPreviewDrawer/index.js +0 -169
  16. package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
  17. package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
  18. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
  19. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
  20. package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
  21. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
  22. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
  23. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
  24. package/es/customComponents/MobileContainor/index.d.ts +0 -8
  25. package/es/customComponents/index.d.ts +0 -5
  26. package/es/framework/AuthorizationWrapper/index.js +0 -108
  27. package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
  28. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
  29. package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
  30. package/es/framework/Common/CommonInternal/index.d.ts +0 -167
  31. package/es/framework/Common/InternalMake/index.d.ts +0 -9
  32. package/es/framework/Common/index.js +0 -39
  33. package/es/framework/Core/index.js +0 -38
  34. package/es/framework/CustomWrapper/Supplement/index.js +0 -67
  35. package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
  36. package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
  37. package/es/framework/DataDrawer/Base/index.js +0 -335
  38. package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
  39. package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
  40. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
  41. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
  42. package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
  43. package/es/framework/DataForm/BaseAddForm/index.js +0 -261
  44. package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
  45. package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
  46. package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
  47. package/es/framework/DataListView/Base/index.js +0 -1261
  48. package/es/framework/DataListView/BatchAction/index.js +0 -73
  49. package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
  50. package/es/framework/DataListView/ColumnSetting/index.js +0 -319
  51. package/es/framework/DataListView/DensityAction/index.js +0 -63
  52. package/es/framework/DataMenuContainer/index.js +0 -282
  53. package/es/framework/DataModal/Base/index.js +0 -231
  54. package/es/framework/DataModal/BaseAddModal/index.js +0 -72
  55. package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
  56. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
  57. package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
  58. package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
  59. package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
  60. package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
  61. package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
  62. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
  63. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
  64. package/es/framework/DataOperation/Base/index.js +0 -322
  65. package/es/framework/DataOperation/BaseView/index.js +0 -83
  66. package/es/framework/DataOperation/BaseWindow/index.js +0 -330
  67. package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
  68. package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
  69. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
  70. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
  71. package/es/framework/DataSingleView/DataCore/index.js +0 -260
  72. package/es/framework/DataSingleView/DataLoad/index.js +0 -151
  73. package/es/framework/DataTabContainer/index.js +0 -254
  74. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
  75. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
  76. package/es/framework/LayoutWrapper/index.d.ts +0 -2
  77. package/es/framework/Wrapper/index.js +0 -59
  78. package/es/get.js +0 -28
  79. package/es/getPrototypeOf.js +0 -76
  80. package/es/index2.js +0 -2075
  81. package/es/index3.js +0 -383
  82. package/es/models/index.d.ts +0 -1
  83. package/es/models/schedulingControl.d.ts +0 -46
  84. package/es/models/schedulingControl.js +0 -171
  85. package/es/objectSpread2.js +0 -40
  86. package/es/services/schedulingControl.js +0 -135
  87. package/es/slicedToArray.js +0 -43
  88. package/es/toConsumableArray.js +0 -19
  89. package/es/toPropertyKey.js +0 -19
  90. package/es/typeof.js +0 -11
  91. package/es/unsupportedIterableToArray.js +0 -16
  92. package/es/utils/appListDataAssist.js +0 -69
  93. package/es/utils/applicationAssist.js +0 -28
  94. package/es/utils/bootstrap.js +0 -58
  95. package/es/utils/layoutSettingAssist.js +0 -60
  96. package/es/utils/metaDataAssist.js +0 -69
  97. package/es/utils/storageAssist.js +0 -153
@@ -1,158 +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, Divider } from 'antd';
5
- import React from 'react';
6
- import { isFunction } from 'antd-management-fast-common/es/utils/tools';
7
- import { iconBuilder } from 'antd-management-fast-component/es/customComponents/Icon';
8
- import SupplementWrapper from '../../../CustomWrapper/SupplementWrapper/index.js';
9
- import '../../../../toPropertyKey.js';
10
- import '../../../../typeof.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 '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/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 SelectFieldBase = /*#__PURE__*/function (_SupplementWrapper) {
48
- _inherits(SelectFieldBase, _SupplementWrapper);
49
- var _super = _createSuper(SelectFieldBase);
50
- function SelectFieldBase(props) {
51
- var _this;
52
- _classCallCheck(this, SelectFieldBase);
53
- _this = _super.call(this, props);
54
- _this.loadDataAfterMount = false;
55
- _this.clearSelect = function () {
56
- var afterClearSelect = _this.props.afterClearSelect;
57
- _this.setState({
58
- selectData: null
59
- });
60
- if (isFunction(afterClearSelect)) {
61
- afterClearSelect();
62
- }
63
- };
64
- _this.showSelect = function () {
65
- var text = 'showSelect 方法需要在上层进行实现';
66
- showRuntimeError({
67
- message: text
68
- });
69
- };
70
- _this.getFieldData = function () {
71
- return {
72
- fieldText: '',
73
- fieldTitle: '',
74
- placeholder: '请选择'
75
- };
76
- };
77
- _this.renderField = function () {
78
- var _this$props = _this.props,
79
- dataLoading = _this$props.dataLoading,
80
- processing = _this$props.processing,
81
- loadSuccess = _this$props.loadSuccess,
82
- label = _this$props.label,
83
- helper = _this$props.helper,
84
- formItemLayout = _this$props.formItemLayout,
85
- showClear = _this$props.showClear;
86
- var _ref = _this.getFieldData() || {
87
- fieldText: '',
88
- fieldTitle: '',
89
- fieldPlaceholder: '请选择'
90
- },
91
- fieldText = _ref.fieldText,
92
- fieldTitle = _ref.fieldTitle,
93
- fieldPlaceholder = _ref.fieldPlaceholder;
94
- return _this.renderFormOnlyShowInput(label, (fieldText || '') === '' ? null : fieldText, helper || null, iconBuilder.form(), {
95
- placeholder: "".concat(fieldPlaceholder).concat(fieldTitle),
96
- readOnly: true,
97
- addonAfter: /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Button, {
98
- style: {
99
- border: '0px solid #d9d9d9',
100
- backgroundColor: '#fafafa',
101
- height: '30px',
102
- paddingLeft: 0,
103
- paddingRight: 0
104
- },
105
- disabled: dataLoading || processing || !loadSuccess,
106
- title: "\u9009\u62E9".concat(fieldTitle),
107
- onClick: function onClick(e) {
108
- return _this.showSelect(e);
109
- }
110
- }, iconBuilder.search()), showClear ? /*#__PURE__*/React.createElement(Divider, {
111
- type: "vertical",
112
- style: {
113
- paddingLeft: 2,
114
- paddingRight: 2
115
- }
116
- }) : null, showClear ? /*#__PURE__*/React.createElement(Button, {
117
- style: {
118
- border: '0px solid #d9d9d9',
119
- backgroundColor: '#fafafa',
120
- height: '30px',
121
- paddingLeft: 0,
122
- paddingRight: 0
123
- },
124
- disabled: dataLoading || processing || !loadSuccess,
125
- title: "\u6E05\u9664\u9009\u62E9",
126
- onClick: function onClick() {
127
- return _this.clearSelect();
128
- }
129
- }, iconBuilder.closeCircle()) : null)
130
- }, formItemLayout);
131
- };
132
- _this.state = _objectSpread2(_objectSpread2({}, _this.state), {
133
- selectData: null
134
- });
135
- return _this;
136
- }
137
- _createClass(SelectFieldBase, [{
138
- key: "renderFurther",
139
- value: function renderFurther() {
140
- return /*#__PURE__*/React.createElement(React.Fragment, null, this.renderField(), this.renderOther());
141
- }
142
- }], [{
143
- key: "getDerivedStateFromProps",
144
- value: function getDerivedStateFromProps(nextProps, prevState) {
145
- return _get(_getPrototypeOf(SelectFieldBase), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
146
- }
147
- }]);
148
- return SelectFieldBase;
149
- }(SupplementWrapper);
150
- SelectFieldBase.defaultProps = {
151
- dataLoading: false,
152
- processing: false,
153
- loadSuccess: true,
154
- required: false,
155
- showClear: true
156
- };
157
-
158
- export { SelectFieldBase as default };
@@ -1,159 +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, showWarningMessage, isFunction } from 'antd-management-fast-common/es/utils/tools';
6
- import SelectFieldBase from '../SelectFieldBase/index.js';
7
- import '../../../../toPropertyKey.js';
8
- import '../../../../typeof.js';
9
- import 'antd';
10
- import 'react';
11
- import 'antd-management-fast-component/es/customComponents/Icon';
12
- import '../../../CustomWrapper/SupplementWrapper/index.js';
13
- import '../../../CustomWrapper/Supplement/index.js';
14
- import '../../../CustomWrapper/SupplementCore/index.js';
15
- import 'antd-management-fast-common/es/utils/globalStorageAssist';
16
- import 'antd-management-fast-common/es/utils/requestAssistor';
17
- import '../../../../index2.js';
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/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 SelectFieldInteractiveBase = /*#__PURE__*/function (_SelectFieldBase) {
49
- _inherits(SelectFieldInteractiveBase, _SelectFieldBase);
50
- var _super = _createSuper(SelectFieldInteractiveBase);
51
- function SelectFieldInteractiveBase(props) {
52
- var _this;
53
- _classCallCheck(this, SelectFieldInteractiveBase);
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
- var _ref = _this.getFieldData() || {
96
- fieldTitle: '',
97
- fieldPlaceholder: '请选择'
98
- },
99
- fieldTitle = _ref.fieldTitle,
100
- fieldPlaceholder = _ref.fieldPlaceholder;
101
- showWarningMessage({
102
- message: "".concat(fieldPlaceholder).concat(fieldTitle)
103
- });
104
- return;
105
- }
106
- var afterSelect = _this.props.afterSelect;
107
- _this.setState({
108
- selectData: o
109
- });
110
- if (isFunction(afterSelect)) {
111
- afterSelect(o);
112
- }
113
- };
114
- _this.renderSelectDrawer = function () {
115
- var text = '需要实现 renderSelectDrawer 方法';
116
- showRuntimeError({
117
- message: text
118
- });
119
- };
120
- _this.renderSelectModal = function () {
121
- var text = '需要实现 renderSelectModal 方法';
122
- showRuntimeError({
123
- message: text
124
- });
125
- };
126
- _this.renderOther = function () {
127
- var selectMode = _this.props.selectMode;
128
- if (toNumber(selectMode) === selectModeCollection.drawer) {
129
- return _this.renderSelectDrawer();
130
- }
131
- if (toNumber(selectMode) === selectModeCollection.modal) {
132
- return _this.renderSelectModal();
133
- }
134
- var text = '无效的选择项渲染模式';
135
- showRuntimeError({
136
- message: text
137
- });
138
- return null;
139
- };
140
- _this.state = _objectSpread2(_objectSpread2({}, _this.state), {
141
- drawerVisible: false,
142
- modalVisible: false
143
- });
144
- return _this;
145
- }
146
- _createClass(SelectFieldInteractiveBase, null, [{
147
- key: "getDerivedStateFromProps",
148
- value: function getDerivedStateFromProps(nextProps, prevState) {
149
- return _get(_getPrototypeOf(SelectFieldInteractiveBase), "getDerivedStateFromProps", this).call(this, nextProps, prevState);
150
- }
151
- }]);
152
- return SelectFieldInteractiveBase;
153
- }(SelectFieldBase);
154
- SelectFieldInteractiveBase.defaultProps = {
155
- showClear: true,
156
- selectMode: selectModeCollection.drawer
157
- };
158
-
159
- export { SelectFieldInteractiveBase as default };
@@ -1,2 +0,0 @@
1
- export class LayoutWrapper {
2
- }
@@ -1,59 +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 { C as Common } from '../../index2.js';
4
- import '../../toPropertyKey.js';
5
- import '../../typeof.js';
6
- import '../../objectSpread2.js';
7
- import 'antd';
8
- import 'react';
9
- import 'antd-management-fast-common/es/utils/constants';
10
- import 'antd-management-fast-common/es/utils/dynamicSetting';
11
- import 'antd-management-fast-common/es/utils/requestAssistor';
12
- import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
13
- import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
14
- import 'antd-management-fast-component/es/customComponents/AudioUpload';
15
- import 'antd-management-fast-component/es/customComponents/ColorText';
16
- import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
17
- import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
18
- import 'antd-management-fast-component/es/customComponents/FileUpload';
19
- import 'antd-management-fast-component/es/customComponents/FlexBox';
20
- import 'antd-management-fast-component/es/customComponents/FlexText';
21
- import 'antd-management-fast-component/es/customComponents/FunctionComponent';
22
- import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
23
- import 'antd-management-fast-component/es/customComponents/HelpBox';
24
- import 'antd-management-fast-component/es/customComponents/HelpCard';
25
- import 'antd-management-fast-component/es/customComponents/HtmlBox';
26
- import 'antd-management-fast-component/es/customComponents/Icon';
27
- import 'antd-management-fast-component/es/customComponents/IconInfo';
28
- import 'antd-management-fast-component/es/customComponents/ImageBox';
29
- import 'antd-management-fast-component/es/customComponents/ImageUpload';
30
- import 'antd-management-fast-component/es/customComponents/VideoUpload';
31
- import '../../utils/metaDataAssist.js';
32
- import '../../index3.js';
33
- import 'antd-management-fast-common/es/utils/actionAssist';
34
- import 'antd-management-fast-common/es/utils/dva';
35
- import '../../utils/storageAssist.js';
36
- import 'antd-management-fast-common/es/utils/globalStorageAssist';
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 Wrapper = /*#__PURE__*/function (_Common) {
44
- _inherits(Wrapper, _Common);
45
- var _super = _createSuper(Wrapper);
46
- function Wrapper() {
47
- _classCallCheck(this, Wrapper);
48
- return _super.apply(this, arguments);
49
- }
50
- _createClass(Wrapper, null, [{
51
- key: "getDerivedStateFromProps",
52
- value: function getDerivedStateFromProps(nextProps, prevState) {
53
- return getDerivedStateFromPropsForUrlParams(nextProps, prevState);
54
- }
55
- }]);
56
- return Wrapper;
57
- }(Common);
58
-
59
- export { Wrapper as default };
package/es/get.js DELETED
@@ -1,28 +0,0 @@
1
- import { c as _getPrototypeOf } from './getPrototypeOf.js';
2
-
3
- function _superPropBase(object, property) {
4
- while (!Object.prototype.hasOwnProperty.call(object, property)) {
5
- object = _getPrototypeOf(object);
6
- if (object === null) break;
7
- }
8
- return object;
9
- }
10
-
11
- function _get() {
12
- if (typeof Reflect !== "undefined" && Reflect.get) {
13
- _get = Reflect.get.bind();
14
- } else {
15
- _get = function _get(target, property, receiver) {
16
- var base = _superPropBase(target, property);
17
- if (!base) return;
18
- var desc = Object.getOwnPropertyDescriptor(base, property);
19
- if (desc.get) {
20
- return desc.get.call(arguments.length < 3 ? target : receiver);
21
- }
22
- return desc.value;
23
- };
24
- }
25
- return _get.apply(this, arguments);
26
- }
27
-
28
- export { _get as _ };
@@ -1,76 +0,0 @@
1
- import { _ as _toPropertyKey } from './toPropertyKey.js';
2
- import { _ as _typeof } from './typeof.js';
3
-
4
- function _defineProperties(target, props) {
5
- for (var i = 0; i < props.length; i++) {
6
- var descriptor = props[i];
7
- descriptor.enumerable = descriptor.enumerable || false;
8
- descriptor.configurable = true;
9
- if ("value" in descriptor) descriptor.writable = true;
10
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
11
- }
12
- }
13
- function _createClass(Constructor, protoProps, staticProps) {
14
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
15
- if (staticProps) _defineProperties(Constructor, staticProps);
16
- Object.defineProperty(Constructor, "prototype", {
17
- writable: false
18
- });
19
- return Constructor;
20
- }
21
-
22
- function _classCallCheck(instance, Constructor) {
23
- if (!(instance instanceof Constructor)) {
24
- throw new TypeError("Cannot call a class as a function");
25
- }
26
- }
27
-
28
- function _setPrototypeOf(o, p) {
29
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
30
- o.__proto__ = p;
31
- return o;
32
- };
33
- return _setPrototypeOf(o, p);
34
- }
35
-
36
- function _inherits(subClass, superClass) {
37
- if (typeof superClass !== "function" && superClass !== null) {
38
- throw new TypeError("Super expression must either be null or a function");
39
- }
40
- subClass.prototype = Object.create(superClass && superClass.prototype, {
41
- constructor: {
42
- value: subClass,
43
- writable: true,
44
- configurable: true
45
- }
46
- });
47
- Object.defineProperty(subClass, "prototype", {
48
- writable: false
49
- });
50
- if (superClass) _setPrototypeOf(subClass, superClass);
51
- }
52
-
53
- function _assertThisInitialized(self) {
54
- if (self === void 0) {
55
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
56
- }
57
- return self;
58
- }
59
-
60
- function _possibleConstructorReturn(self, call) {
61
- if (call && (_typeof(call) === "object" || typeof call === "function")) {
62
- return call;
63
- } else if (call !== void 0) {
64
- throw new TypeError("Derived constructors may only return object or undefined");
65
- }
66
- return _assertThisInitialized(self);
67
- }
68
-
69
- function _getPrototypeOf(o) {
70
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
71
- return o.__proto__ || Object.getPrototypeOf(o);
72
- };
73
- return _getPrototypeOf(o);
74
- }
75
-
76
- export { _inherits as _, _classCallCheck as a, _createClass as b, _getPrototypeOf as c, _possibleConstructorReturn as d, _assertThisInitialized as e };