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.
Files changed (197) hide show
  1. package/es/components/ApplicationWrapper/index.d.ts +9 -9
  2. package/es/components/Bootstrap/index.d.ts +3 -3
  3. package/es/components/DataPreviewDrawer/index.d.ts +31 -31
  4. package/es/components/LoadingOverlay/index.d.ts +6 -6
  5. package/es/components/MobileContainor/MobileHtmlPreviewBox/index.d.ts +10 -10
  6. package/es/components/MobileContainor/MobilePreviewArea/index.d.ts +75 -75
  7. package/es/components/MobileContainor/MobilePreviewDrawer/index.d.ts +54 -54
  8. package/es/components/MobileContainor/index.d.ts +8 -8
  9. package/es/components/index.d.ts +5 -5
  10. package/es/configs/index.d.ts +2 -2
  11. package/es/configs/themeCollection.d.ts +7 -7
  12. package/es/configs/webpackPlugin.d.ts +4 -4
  13. package/es/framework/AuthorizationWrapper/index.d.ts +11 -12
  14. package/es/framework/ButtonExtension/SelectButton/Base/index.d.ts +14 -14
  15. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.d.ts +18 -18
  16. package/es/framework/ButtonExtension/SelectButton/index.d.ts +6 -6
  17. package/es/framework/ButtonExtension/index.d.ts +1 -1
  18. package/es/framework/Common/InternalBuild/index.d.ts +26 -26
  19. package/es/framework/Common/InternalFlow/index.d.ts +149 -149
  20. package/es/framework/Common/InternalLayout/index.d.ts +9 -9
  21. package/es/framework/Common/InternalTabFlow/index.d.ts +12 -12
  22. package/es/framework/Common/index.d.ts +3 -3
  23. package/es/framework/Core/index.d.ts +20 -20
  24. package/es/framework/CustomWrapper/Supplement/index.d.ts +9 -9
  25. package/es/framework/CustomWrapper/SupplementCore/index.d.ts +18 -18
  26. package/es/framework/CustomWrapper/SupplementWrapper/index.d.ts +3 -3
  27. package/es/framework/CustomWrapper/index.d.ts +3 -3
  28. package/es/framework/DataDrawer/Base/index.d.ts +55 -55
  29. package/es/framework/DataDrawer/BaseAddDrawer/index.d.ts +19 -19
  30. package/es/framework/DataDrawer/BaseLoadDrawer/index.d.ts +4 -4
  31. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.d.ts +6 -6
  32. package/es/framework/DataDrawer/BaseSaveDrawer/index.d.ts +4 -4
  33. package/es/framework/DataDrawer/BaseUpdateDrawer/index.d.ts +3 -3
  34. package/es/framework/DataDrawer/index.d.ts +14 -14
  35. package/es/framework/DataForm/BaseAddForm/index.d.ts +34 -34
  36. package/es/framework/DataForm/BaseUpdateForm/index.d.ts +9 -9
  37. package/es/framework/DataForm/BaseUpdateFormContent/index.d.ts +3 -3
  38. package/es/framework/DataForm/BaseUpdateFormTab/index.d.ts +4 -4
  39. package/es/framework/DataForm/index.d.ts +10 -10
  40. package/es/framework/DataListView/Base/index.d.ts +180 -180
  41. package/es/framework/DataListView/BatchAction/index.d.ts +21 -21
  42. package/es/framework/DataListView/ColumnSetting/DndItem.d.ts +7 -7
  43. package/es/framework/DataListView/ColumnSetting/index.d.ts +2 -2
  44. package/es/framework/DataListView/DensityAction/index.d.ts +6 -6
  45. package/es/framework/DataListView/index.d.ts +10 -10
  46. package/es/framework/DataMenuContainer/index.d.ts +28 -28
  47. package/es/framework/DataModal/Base/index.d.ts +65 -65
  48. package/es/framework/DataModal/BaseAddModal/index.d.ts +3 -3
  49. package/es/framework/DataModal/BaseLoadModal/index.d.ts +4 -4
  50. package/es/framework/DataModal/BaseNeedlessLoadModal/index.d.ts +35 -35
  51. package/es/framework/DataModal/BaseSelectModal/index.d.ts +28 -28
  52. package/es/framework/DataModal/BaseUpdateModal/index.d.ts +3 -3
  53. package/es/framework/DataModal/BaseUpdateTransferModal/index.d.ts +44 -44
  54. package/es/framework/DataModal/index.d.ts +16 -16
  55. package/es/framework/DataMultiPageView/InnerMultiPage/index.d.ts +4 -4
  56. package/es/framework/DataMultiPageView/MultiPage/index.d.ts +32 -32
  57. package/es/framework/DataMultiPageView/MultiPageDrawer/index.d.ts +69 -69
  58. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.d.ts +10 -10
  59. package/es/framework/DataMultiPageView/index.d.ts +10 -10
  60. package/es/framework/DataOperation/Base/index.d.ts +76 -76
  61. package/es/framework/DataOperation/BaseView/index.d.ts +10 -10
  62. package/es/framework/DataOperation/BaseWindow/index.d.ts +89 -89
  63. package/es/framework/DataOperation/index.d.ts +8 -8
  64. package/es/framework/DataSinglePageView/InnerSinglePage/index.d.ts +5 -5
  65. package/es/framework/DataSinglePageView/SinglePage/index.d.ts +32 -32
  66. package/es/framework/DataSinglePageView/SinglePageDrawer/index.d.ts +71 -71
  67. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.d.ts +13 -13
  68. package/es/framework/DataSinglePageView/index.d.ts +10 -10
  69. package/es/framework/DataSingleView/DataCore/index.d.ts +30 -30
  70. package/es/framework/DataSingleView/DataLoad/index.d.ts +51 -51
  71. package/es/framework/DataSingleView/index.d.ts +6 -6
  72. package/es/framework/DataTabContainer/index.d.ts +36 -36
  73. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.d.ts +24 -24
  74. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldInteractiveBase/index.d.ts +19 -19
  75. package/es/framework/FieldExtension/SelectFieldDrawer/index.d.ts +6 -6
  76. package/es/framework/FieldExtension/index.d.ts +4 -4
  77. package/es/framework/Wrapper/index.d.ts +3 -3
  78. package/es/framework/index.d.ts +17 -17
  79. package/es/index.css +1 -1
  80. package/es/index.d.ts +5 -5
  81. package/es/index.js +3 -9771
  82. package/es/modelBuilders/currentOperator.d.ts +26 -0
  83. package/es/modelBuilders/entrance.d.ts +40 -0
  84. package/es/modelBuilders/index.d.ts +1 -1
  85. package/es/modelBuilders/schedulingControl.d.ts +48 -68
  86. package/es/services/currentOperator.d.ts +2 -0
  87. package/es/services/entrance.d.ts +6 -0
  88. package/es/services/schedulingControl.d.ts +4 -4
  89. package/es/utils/applicationListDataAssist.d.ts +5 -4
  90. package/es/utils/applicationListDataCacheAssist.d.ts +24 -24
  91. package/es/utils/bootstrap.d.ts +4 -4
  92. package/es/utils/configAssist.d.ts +1 -1
  93. package/es/utils/currentOperatorAssist.d.ts +19 -5
  94. package/es/utils/definition.d.ts +4 -4
  95. package/es/utils/index.d.ts +10 -8
  96. package/es/utils/interfaceSettingAssist.d.ts +10 -0
  97. package/es/utils/interfaceSettingCacheAssist.d.ts +18 -0
  98. package/es/utils/metaDataAssist.d.ts +5 -5
  99. package/es/utils/schedulingControlAssist.d.ts +34 -10
  100. package/es/utils/signInAssist.d.ts +6 -0
  101. package/package.json +24 -21
  102. package/es/configGroup/configGeneral.d.ts +0 -28
  103. package/es/configGroup/configGeneral.js +0 -36
  104. package/es/configGroup/index.d.ts +0 -2
  105. package/es/configGroup/themeCollection.d.ts +0 -7
  106. package/es/configGroup/themeCollection.js +0 -9
  107. package/es/configGroup/webpackPlugin.d.ts +0 -4
  108. package/es/configGroup/webpackPlugin.js +0 -351
  109. package/es/customComponents/ApplicationProvider/index.d.ts +0 -12
  110. package/es/customComponents/ApplicationWrapper/index.d.ts +0 -9
  111. package/es/customComponents/Bootstrap/index.d.ts +0 -3
  112. package/es/customComponents/Bootstrap/index.js +0 -67
  113. package/es/customComponents/DataPreviewDrawer/index.d.ts +0 -31
  114. package/es/customComponents/DataPreviewDrawer/index.js +0 -169
  115. package/es/customComponents/LoadingOverlay/index.d.ts +0 -6
  116. package/es/customComponents/LoadingOverloay/index.d.ts +0 -3
  117. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.d.ts +0 -10
  118. package/es/customComponents/MobileContainor/MobileHtmlPreviewBox/index.js +0 -83
  119. package/es/customComponents/MobileContainor/MobilePreviewArea/index.d.ts +0 -75
  120. package/es/customComponents/MobileContainor/MobilePreviewArea/index.js +0 -193
  121. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.d.ts +0 -54
  122. package/es/customComponents/MobileContainor/MobilePreviewDrawer/index.js +0 -157
  123. package/es/customComponents/MobileContainor/index.d.ts +0 -8
  124. package/es/customComponents/index.d.ts +0 -5
  125. package/es/framework/AuthorizationWrapper/index.js +0 -108
  126. package/es/framework/ButtonExtension/SelectButton/Base/index.js +0 -98
  127. package/es/framework/ButtonExtension/SelectButton/InteractiveBase/index.js +0 -149
  128. package/es/framework/Common/CardCollectionItemContent/index.d.ts +0 -14
  129. package/es/framework/Common/CommonInternal/index.d.ts +0 -167
  130. package/es/framework/Common/InternalMake/index.d.ts +0 -9
  131. package/es/framework/Common/index.js +0 -39
  132. package/es/framework/Core/index.js +0 -38
  133. package/es/framework/CustomWrapper/Supplement/index.js +0 -67
  134. package/es/framework/CustomWrapper/SupplementCore/index.js +0 -131
  135. package/es/framework/CustomWrapper/SupplementWrapper/index.js +0 -61
  136. package/es/framework/DataDrawer/Base/index.js +0 -335
  137. package/es/framework/DataDrawer/BaseAddDrawer/index.js +0 -95
  138. package/es/framework/DataDrawer/BaseLoadDrawer/index.js +0 -82
  139. package/es/framework/DataDrawer/BaseNeedlessLoadDrawer/index.js +0 -94
  140. package/es/framework/DataDrawer/BaseSaveDrawer/index.js +0 -85
  141. package/es/framework/DataDrawer/BaseUpdateDrawer/index.js +0 -83
  142. package/es/framework/DataForm/BaseAddForm/index.js +0 -261
  143. package/es/framework/DataForm/BaseUpdateForm/index.js +0 -183
  144. package/es/framework/DataForm/BaseUpdateFormContent/index.js +0 -72
  145. package/es/framework/DataForm/BaseUpdateFormTab/index.js +0 -66
  146. package/es/framework/DataListView/Base/index.js +0 -1261
  147. package/es/framework/DataListView/BatchAction/index.js +0 -73
  148. package/es/framework/DataListView/ColumnSetting/DndItem.js +0 -116
  149. package/es/framework/DataListView/ColumnSetting/index.js +0 -319
  150. package/es/framework/DataListView/DensityAction/index.js +0 -63
  151. package/es/framework/DataMenuContainer/index.js +0 -282
  152. package/es/framework/DataModal/Base/index.js +0 -231
  153. package/es/framework/DataModal/BaseAddModal/index.js +0 -72
  154. package/es/framework/DataModal/BaseLoadModal/index.js +0 -80
  155. package/es/framework/DataModal/BaseNeedlessLoadModal/index.js +0 -106
  156. package/es/framework/DataModal/BaseSelectModal/index.js +0 -74
  157. package/es/framework/DataModal/BaseUpdateModal/index.js +0 -62
  158. package/es/framework/DataModal/BaseUpdateTransferModal/index.js +0 -140
  159. package/es/framework/DataMultiPageView/InnerMultiPage/index.js +0 -82
  160. package/es/framework/DataMultiPageView/MultiPage/index.js +0 -299
  161. package/es/framework/DataMultiPageView/MultiPageDrawer/index.js +0 -457
  162. package/es/framework/DataMultiPageView/MultiPageSelectDrawer/index.js +0 -123
  163. package/es/framework/DataOperation/Base/index.js +0 -322
  164. package/es/framework/DataOperation/BaseView/index.js +0 -83
  165. package/es/framework/DataOperation/BaseWindow/index.js +0 -330
  166. package/es/framework/DataSinglePageView/InnerSinglePage/index.js +0 -82
  167. package/es/framework/DataSinglePageView/SinglePage/index.js +0 -254
  168. package/es/framework/DataSinglePageView/SinglePageDrawer/index.js +0 -438
  169. package/es/framework/DataSinglePageView/SinglePageSelectDrawer/index.js +0 -126
  170. package/es/framework/DataSingleView/DataCore/index.js +0 -260
  171. package/es/framework/DataSingleView/DataLoad/index.js +0 -151
  172. package/es/framework/DataTabContainer/index.js +0 -254
  173. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldBase/index.js +0 -158
  174. package/es/framework/FieldExtension/SelectFieldDrawer/SelectFieldDrawerBase/index.js +0 -159
  175. package/es/framework/LayoutWrapper/index.d.ts +0 -2
  176. package/es/framework/Wrapper/index.js +0 -59
  177. package/es/get.js +0 -28
  178. package/es/getPrototypeOf.js +0 -76
  179. package/es/index2.js +0 -2075
  180. package/es/index3.js +0 -383
  181. package/es/models/index.d.ts +0 -1
  182. package/es/models/schedulingControl.d.ts +0 -46
  183. package/es/models/schedulingControl.js +0 -171
  184. package/es/objectSpread2.js +0 -40
  185. package/es/services/schedulingControl.js +0 -135
  186. package/es/slicedToArray.js +0 -43
  187. package/es/toConsumableArray.js +0 -19
  188. package/es/toPropertyKey.js +0 -19
  189. package/es/typeof.js +0 -11
  190. package/es/unsupportedIterableToArray.js +0 -16
  191. package/es/utils/appListDataAssist.js +0 -69
  192. package/es/utils/applicationAssist.js +0 -28
  193. package/es/utils/bootstrap.js +0 -58
  194. package/es/utils/layoutSettingAssist.d.ts +0 -2
  195. package/es/utils/layoutSettingAssist.js +0 -60
  196. package/es/utils/metaDataAssist.js +0 -69
  197. package/es/utils/storageAssist.js +0 -153
@@ -1,351 +0,0 @@
1
- import { _ as _slicedToArray } from '../slicedToArray.js';
2
- import '../unsupportedIterableToArray.js';
3
-
4
- // Copyright Joyent, Inc. and other Node contributors.
5
- //
6
- // Permission is hereby granted, free of charge, to any person obtaining a
7
- // copy of this software and associated documentation files (the
8
- // "Software"), to deal in the Software without restriction, including
9
- // without limitation the rights to use, copy, modify, merge, publish,
10
- // distribute, sublicense, and/or sell copies of the Software, and to permit
11
- // persons to whom the Software is furnished to do so, subject to the
12
- // following conditions:
13
- //
14
- // The above copyright notice and this permission notice shall be included
15
- // in all copies or substantial portions of the Software.
16
- //
17
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
18
- // OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19
- // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
20
- // NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
21
- // DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
22
- // OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
23
- // USE OR OTHER DEALINGS IN THE SOFTWARE.
24
-
25
- // resolves . and .. elements in a path array with directory names there
26
- // must be no slashes, empty elements, or device names (c:\) in the array
27
- // (so also no leading and trailing slashes - it does not distinguish
28
- // relative and absolute paths)
29
- function normalizeArray(parts, allowAboveRoot) {
30
- // if the path tries to go above the root, `up` ends up > 0
31
- var up = 0;
32
- for (var i = parts.length - 1; i >= 0; i--) {
33
- var last = parts[i];
34
- if (last === '.') {
35
- parts.splice(i, 1);
36
- } else if (last === '..') {
37
- parts.splice(i, 1);
38
- up++;
39
- } else if (up) {
40
- parts.splice(i, 1);
41
- up--;
42
- }
43
- }
44
-
45
- // if the path is allowed to go above the root, restore leading ..s
46
- if (allowAboveRoot) {
47
- for (; up--; up) {
48
- parts.unshift('..');
49
- }
50
- }
51
-
52
- return parts;
53
- }
54
-
55
- // Split a filename into [root, dir, basename, ext], unix version
56
- // 'root' is just a slash, or nothing.
57
- var splitPathRe =
58
- /^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/;
59
- var splitPath = function(filename) {
60
- return splitPathRe.exec(filename).slice(1);
61
- };
62
-
63
- // path.resolve([from ...], to)
64
- // posix version
65
- function resolve() {
66
- var resolvedPath = '',
67
- resolvedAbsolute = false;
68
-
69
- for (var i = arguments.length - 1; i >= -1 && !resolvedAbsolute; i--) {
70
- var path = (i >= 0) ? arguments[i] : '/';
71
-
72
- // Skip empty and invalid entries
73
- if (typeof path !== 'string') {
74
- throw new TypeError('Arguments to path.resolve must be strings');
75
- } else if (!path) {
76
- continue;
77
- }
78
-
79
- resolvedPath = path + '/' + resolvedPath;
80
- resolvedAbsolute = path.charAt(0) === '/';
81
- }
82
-
83
- // At this point the path should be resolved to a full absolute path, but
84
- // handle relative paths to be safe (might happen when process.cwd() fails)
85
-
86
- // Normalize the path
87
- resolvedPath = normalizeArray(filter(resolvedPath.split('/'), function(p) {
88
- return !!p;
89
- }), !resolvedAbsolute).join('/');
90
-
91
- return ((resolvedAbsolute ? '/' : '') + resolvedPath) || '.';
92
- }
93
- // path.normalize(path)
94
- // posix version
95
- function normalize(path) {
96
- var isPathAbsolute = isAbsolute(path),
97
- trailingSlash = substr(path, -1) === '/';
98
-
99
- // Normalize the path
100
- path = normalizeArray(filter(path.split('/'), function(p) {
101
- return !!p;
102
- }), !isPathAbsolute).join('/');
103
-
104
- if (!path && !isPathAbsolute) {
105
- path = '.';
106
- }
107
- if (path && trailingSlash) {
108
- path += '/';
109
- }
110
-
111
- return (isPathAbsolute ? '/' : '') + path;
112
- }
113
- // posix version
114
- function isAbsolute(path) {
115
- return path.charAt(0) === '/';
116
- }
117
-
118
- // posix version
119
- function join() {
120
- var paths = Array.prototype.slice.call(arguments, 0);
121
- return normalize(filter(paths, function(p, index) {
122
- if (typeof p !== 'string') {
123
- throw new TypeError('Arguments to path.join must be strings');
124
- }
125
- return p;
126
- }).join('/'));
127
- }
128
-
129
-
130
- // path.relative(from, to)
131
- // posix version
132
- function relative(from, to) {
133
- from = resolve(from).substr(1);
134
- to = resolve(to).substr(1);
135
-
136
- function trim(arr) {
137
- var start = 0;
138
- for (; start < arr.length; start++) {
139
- if (arr[start] !== '') break;
140
- }
141
-
142
- var end = arr.length - 1;
143
- for (; end >= 0; end--) {
144
- if (arr[end] !== '') break;
145
- }
146
-
147
- if (start > end) return [];
148
- return arr.slice(start, end - start + 1);
149
- }
150
-
151
- var fromParts = trim(from.split('/'));
152
- var toParts = trim(to.split('/'));
153
-
154
- var length = Math.min(fromParts.length, toParts.length);
155
- var samePartsLength = length;
156
- for (var i = 0; i < length; i++) {
157
- if (fromParts[i] !== toParts[i]) {
158
- samePartsLength = i;
159
- break;
160
- }
161
- }
162
-
163
- var outputParts = [];
164
- for (var i = samePartsLength; i < fromParts.length; i++) {
165
- outputParts.push('..');
166
- }
167
-
168
- outputParts = outputParts.concat(toParts.slice(samePartsLength));
169
-
170
- return outputParts.join('/');
171
- }
172
-
173
- var sep = '/';
174
- var delimiter = ':';
175
-
176
- function dirname(path) {
177
- var result = splitPath(path),
178
- root = result[0],
179
- dir = result[1];
180
-
181
- if (!root && !dir) {
182
- // No dirname whatsoever
183
- return '.';
184
- }
185
-
186
- if (dir) {
187
- // It has a dirname, strip trailing slash
188
- dir = dir.substr(0, dir.length - 1);
189
- }
190
-
191
- return root + dir;
192
- }
193
-
194
- function basename(path, ext) {
195
- var f = splitPath(path)[2];
196
- // TODO: make this comparison case-insensitive on windows?
197
- if (ext && f.substr(-1 * ext.length) === ext) {
198
- f = f.substr(0, f.length - ext.length);
199
- }
200
- return f;
201
- }
202
-
203
-
204
- function extname(path) {
205
- return splitPath(path)[3];
206
- }
207
- var path = {
208
- extname: extname,
209
- basename: basename,
210
- dirname: dirname,
211
- sep: sep,
212
- delimiter: delimiter,
213
- relative: relative,
214
- join: join,
215
- isAbsolute: isAbsolute,
216
- normalize: normalize,
217
- resolve: resolve
218
- };
219
- function filter (xs, f) {
220
- if (xs.filter) return xs.filter(f);
221
- var res = [];
222
- for (var i = 0; i < xs.length; i++) {
223
- if (f(xs[i], i, xs)) res.push(xs[i]);
224
- }
225
- return res;
226
- }
227
-
228
- // String.prototype.substr - negative index don't work in IE8
229
- var substr = 'ab'.substr(-1) === 'b' ?
230
- function (str, start, len) { return str.substr(start, len) } :
231
- function (str, start, len) {
232
- if (start < 0) start = str.length + start;
233
- return str.substr(start, len);
234
- }
235
- ;
236
-
237
- function getModulePackageName(module) {
238
- if (!module.context) return null;
239
- var nodeModulesPath = path.join(__dirname, '../node_modules/');
240
- if (module.context.substring(0, nodeModulesPath.length) !== nodeModulesPath) {
241
- return null;
242
- }
243
- var moduleRelativePath = module.context.substring(nodeModulesPath.length);
244
- var _moduleRelativePath$s = moduleRelativePath.split(path.sep),
245
- _moduleRelativePath$s2 = _slicedToArray(_moduleRelativePath$s, 1),
246
- moduleDirName = _moduleRelativePath$s2[0];
247
- var packageName = moduleDirName; // handle tree shaking
248
-
249
- if (packageName && packageName.match('^_')) {
250
- // eslint-disable-next-line prefer-destructuring
251
- var matchResult = packageName.match(/^_(@?[^@]+)/) || [];
252
- if (matchResult.length > 0) {
253
- packageName = packageName.match(/^_(@?[^@]+)/)[1];
254
- }
255
- }
256
- return packageName;
257
- }
258
- var webpackPlugin = function webpackPlugin(config) {
259
- // console.dir(config);
260
- // config.profile(true);
261
-
262
- // optimize chunks
263
- config.optimization
264
- // .minimize(process.env.NODE_ENV === 'production' ? true : false)
265
- // share the same chunks across different modules
266
- .runtimeChunk(false).splitChunks({
267
- chunks: 'async',
268
- name: 'vendors',
269
- // minSize: 30000,
270
- // minChunks: 1, // 模块被引用>=1次,便分割
271
- // maxAsyncRequests: 5, // 异步加载chunk的并发请求数量<=5
272
- // maxInitialRequests: 3, // 一个入口并发加载的chunk数量<=3
273
- maxInitialRequests: Infinity,
274
- cacheGroups: {
275
- // default: {
276
- // // 模块缓存规则,设置为false,默认缓存组将禁用
277
- // minChunks: 2, // 模块被引用>=2次,拆分至vendors公共模块
278
- // priority: -20, // 优先级
279
- // reuseExistingChunk: true, // 默认使用已有的模块
280
- // },
281
- vendors: {
282
- test: function test(module) {
283
- var packageName = getModulePackageName(module) || '';
284
- if (packageName) {
285
- return ['antd', 'bizcharts', 'gg-editor', 'g6', '@antv', 'l7', 'gg-editor-core', 'bizcharts-plugin-slider', 'classnames', 'lodash', 'numeral'].includes(packageName);
286
- }
287
- return false;
288
- },
289
- name: function name(module) {
290
- var packageName = getModulePackageName(module);
291
- if (packageName) {
292
- if (['bizcharts', '@antv/data-set', '@ant-design/icons', '@antv/l7', '@antv/l7-maps', 'gg-editor'].indexOf(packageName) >= 0) {
293
- return 'viz'; // visualization package
294
- }
295
- }
296
-
297
- return 'misc';
298
- }
299
- }
300
- }
301
- });
302
- };
303
- var webpackPlugin5 = function webpackPlugin5(config, _ref) {
304
- var env = _ref.env;
305
- config.module.rule('mjs-rule').test(/.m?js/).resolve.set('fullySpecified', false);
306
- config.optimization.store["delete"]('noEmitOnErrors');
307
- console.log({
308
- currentEnv: env
309
- });
310
- config.merge({
311
- // mode: 'development',
312
- optimization: {
313
- emitOnErrors: true,
314
- minimize: env === 'production',
315
- concatenateModules: env === 'production',
316
- splitChunks: {
317
- // chunks: 'async',
318
- // minSize: 1,
319
- // minChunks: 2,
320
- // automaticNameDelimiter: '.',
321
- cacheGroups: {
322
- "default": {
323
- minChunks: 2,
324
- priority: -20,
325
- reuseExistingChunk: true
326
- },
327
- viz: {
328
- test: function test(module) {
329
- var packageName = getModulePackageName(module) || '';
330
- if (packageName) {
331
- return ['antd', 'bizcharts', 'gg-editor', 'g6', '@antv', 'l7', 'gg-editor-core', 'bizcharts-plugin-slider', 'classnames', 'lodash', 'numeral'].includes(packageName);
332
- }
333
- return false;
334
- }
335
- },
336
- misc: {
337
- test: function test(module) {
338
- var packageName = getModulePackageName(module) || '';
339
- if (packageName) {
340
- return !['antd', 'bizcharts', 'gg-editor', 'g6', '@antv', 'l7', 'gg-editor-core', 'bizcharts-plugin-slider', 'classnames', 'lodash', 'numeral'].includes(packageName);
341
- }
342
- return false;
343
- }
344
- }
345
- }
346
- }
347
- }
348
- });
349
- };
350
-
351
- export { webpackPlugin, webpackPlugin5 };
@@ -1,12 +0,0 @@
1
- export class ApplicationProvider extends BaseComponent {
2
- constructor(properties: any);
3
- store: null;
4
- initDva: () => void;
5
- renderFurther(): JSX.Element;
6
- }
7
- export namespace ApplicationProvider {
8
- namespace defaultProps {
9
- const prepareModel: null;
10
- }
11
- }
12
- import { BaseComponent } from "antd-management-fast-component/es/customComponents/BaseComponent";
@@ -1,9 +0,0 @@
1
- export class ApplicationWrapper extends BaseComponent {
2
- renderFurther(): JSX.Element;
3
- }
4
- export namespace ApplicationWrapper {
5
- namespace defaultProps {
6
- const prepareModel: null;
7
- }
8
- }
9
- import { BaseComponent } from "antd-management-fast-component/es/BasicComponents/BaseComponent";
@@ -1,3 +0,0 @@
1
- export class Bootstrap extends BaseComponent {
2
- }
3
- import { BaseComponent } from "antd-management-fast-component/es/BasicComponents/BaseComponent";
@@ -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 React from 'react';
3
- import { useLocation, useParams } from 'umi';
4
- import { setCurrentLocation, setCurrentParams } from 'antd-management-fast-common/es/utils/routeAssist';
5
- import BaseComponent from 'antd-management-fast-component/es/customComponents/BaseComponent';
6
- import { applicationInit } from '../../utils/bootstrap.js';
7
- import '../../toPropertyKey.js';
8
- import '../../typeof.js';
9
- import 'antd-management-fast-common/es/utils/core';
10
- import 'antd-management-fast-common/es/utils/dva';
11
- import 'antd-management-fast-common/es/utils/tools';
12
- import '../../utils/appListDataAssist.js';
13
- import '../../index3.js';
14
- import '../../toConsumableArray.js';
15
- import '../../unsupportedIterableToArray.js';
16
- import 'antd-management-fast-common/es/utils/actionAssist';
17
- import 'antd-management-fast-common/es/utils/dynamicSetting';
18
- import '../../utils/storageAssist.js';
19
- import 'antd-management-fast-common/es/utils/globalStorageAssist';
20
- import 'antd-management-fast-common/es/utils/localStorageAssist';
21
- import '../../utils/metaDataAssist.js';
22
- import '../../objectSpread2.js';
23
-
24
- 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); }; }
25
- 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; } }
26
- var AnalysisRouteParams = function AnalysisRouteParams() {
27
- try {
28
- var location = useLocation();
29
- setCurrentLocation(location);
30
- } catch (error) {
31
- console.log(error);
32
- setCurrentLocation({});
33
- }
34
- try {
35
- var routeParams = useParams();
36
- setCurrentParams(routeParams);
37
- } catch (error) {
38
- console.log(error);
39
- setCurrentParams({});
40
- }
41
- return /*#__PURE__*/React.createElement(React.Fragment, null);
42
- };
43
- var Bootstrap = /*#__PURE__*/function (_BaseComponent) {
44
- _inherits(Bootstrap, _BaseComponent);
45
- var _super = _createSuper(Bootstrap);
46
- function Bootstrap() {
47
- var _this;
48
- _classCallCheck(this, Bootstrap);
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.doWorkBeforeAdjustDidMount = function () {
54
- applicationInit();
55
- };
56
- return _this;
57
- }
58
- _createClass(Bootstrap, [{
59
- key: "renderFurther",
60
- value: function renderFurther() {
61
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(AnalysisRouteParams, null));
62
- }
63
- }]);
64
- return Bootstrap;
65
- }(BaseComponent);
66
-
67
- export { Bootstrap as default };
@@ -1,31 +0,0 @@
1
- export class DataPreviewDrawer extends Base {
2
- renderPresetTitleIcon: () => any;
3
- renderPresetTitle: () => any;
4
- establishCardCollectionConfig: () => {
5
- list: {
6
- title: {
7
- icon: JSX.Element;
8
- text: string;
9
- };
10
- items: {
11
- lg: number;
12
- type: string;
13
- fieldData: {
14
- label: string;
15
- helper: string;
16
- };
17
- value: string;
18
- }[];
19
- }[];
20
- };
21
- }
22
- export namespace DataPreviewDrawer {
23
- namespace defaultProps {
24
- const title: string;
25
- const icon: JSX.Element;
26
- const placement: string;
27
- const width: number;
28
- const dataType: number;
29
- }
30
- }
31
- import { Base } from "../../framework/DataDrawer/Base";
@@ -1,169 +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 parse from 'html-react-parser';
4
- import { dataTypeCollection, cardConfig } from 'antd-management-fast-common/es/utils/constants';
5
- import { toNumber } from 'antd-management-fast-common/es/utils/tools';
6
- import Base from '../../framework/DataDrawer/Base/index.js';
7
- import '../../toPropertyKey.js';
8
- import '../../typeof.js';
9
- import '../../toConsumableArray.js';
10
- import '../../unsupportedIterableToArray.js';
11
- import '../../index2.js';
12
- import 'antd';
13
- import 'react';
14
- import 'antd-management-fast-common/es/utils/dynamicSetting';
15
- import 'antd-management-fast-common/es/utils/requestAssistor';
16
- import 'antd-management-fast-component/es/customComponents/AnimalBox/FadeBox';
17
- import 'antd-management-fast-component/es/customComponents/AnimalBox/QueueBox';
18
- import 'antd-management-fast-component/es/customComponents/AudioUpload';
19
- import 'antd-management-fast-component/es/customComponents/ColorText';
20
- import 'antd-management-fast-component/es/customComponents/Editor/TinymceWrapper';
21
- import 'antd-management-fast-component/es/customComponents/FileBase64Upload';
22
- import 'antd-management-fast-component/es/customComponents/FileUpload';
23
- import 'antd-management-fast-component/es/customComponents/FlexBox';
24
- import 'antd-management-fast-component/es/customComponents/FlexText';
25
- import 'antd-management-fast-component/es/customComponents/FunctionComponent';
26
- import 'antd-management-fast-component/es/customComponents/FunctionSupplement/Whether';
27
- import 'antd-management-fast-component/es/customComponents/HelpBox';
28
- import 'antd-management-fast-component/es/customComponents/HelpCard';
29
- import 'antd-management-fast-component/es/customComponents/HtmlBox';
30
- import 'antd-management-fast-component/es/customComponents/Icon';
31
- import 'antd-management-fast-component/es/customComponents/IconInfo';
32
- import 'antd-management-fast-component/es/customComponents/ImageBox';
33
- import 'antd-management-fast-component/es/customComponents/ImageUpload';
34
- import 'antd-management-fast-component/es/customComponents/VideoUpload';
35
- import '../../utils/metaDataAssist.js';
36
- import '../../index3.js';
37
- import 'antd-management-fast-common/es/utils/actionAssist';
38
- import 'antd-management-fast-common/es/utils/dva';
39
- import '../../utils/storageAssist.js';
40
- import 'antd-management-fast-common/es/utils/globalStorageAssist';
41
- import 'antd-management-fast-common/es/utils/localStorageAssist';
42
- import '../../framework/Core/index.js';
43
- import 'antd-management-fast-component/es/customComponents/BaseComponent';
44
- import '../../framework/DataOperation/BaseWindow/index.js';
45
- import '../../framework/DataOperation/Base/index.js';
46
- import '../../framework/AuthorizationWrapper/index.js';
47
- import 'antd-management-fast-common/es/utils/authority';
48
- import '../../framework/CustomWrapper/SupplementWrapper/index.js';
49
- import '../../framework/CustomWrapper/Supplement/index.js';
50
- import '../../framework/CustomWrapper/SupplementCore/index.js';
51
-
52
- var styles = {"previewContainor":"index_previewContainor__OziF3","contentContainor":"index_contentContainor__FrF9H"};
53
-
54
- function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
55
- function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
56
- var DataPreviewDrawer = /*#__PURE__*/function (_Base) {
57
- _inherits(DataPreviewDrawer, _Base);
58
- var _super = _createSuper(DataPreviewDrawer);
59
- function DataPreviewDrawer(props) {
60
- var _this;
61
- _classCallCheck(this, DataPreviewDrawer);
62
- _this = _super.call(this, props);
63
- _this.loadDataAfterMount = false;
64
- _this.resetDataAfterLoad = false;
65
- _this.renderTitleIcon = function () {
66
- var icon = _this.props.icon;
67
- return icon;
68
- };
69
- _this.renderTitle = function () {
70
- var title = _this.props.title;
71
- return title || '';
72
- };
73
- _this.establishCardCollectionConfig = function () {
74
- var _this$props = _this.props,
75
- dataType = _this$props.dataType,
76
- data = _this$props.data;
77
- var list = [{
78
- title: {
79
- icon: iconBuilder.contacts(),
80
- text: '说明'
81
- },
82
- items: [{
83
- lg: 24,
84
- type: cardConfig.contentItemType.onlyShowText,
85
- fieldData: {
86
- label: '',
87
- helper: ''
88
- },
89
- value: '本次操作的记录描述,请细心察看'
90
- }]
91
- }];
92
- if (toNumber(dataType) === dataTypeCollection.commonValue.flag) {
93
- list.push({
94
- title: {
95
- icon: iconBuilder.contacts(),
96
- text: '操作内容'
97
- },
98
- items: [{
99
- lg: 24,
100
- type: cardConfig.contentItemType.onlyShowText,
101
- fieldData: {
102
- label: '操作内容',
103
- helper: ''
104
- },
105
- value: data
106
- }]
107
- });
108
- } else if (dataType === dataTypeCollection.jsonObject.flag || dataType === dataTypeCollection.jsonObjectList.flag) {
109
- list.push({
110
- title: {
111
- icon: iconBuilder.contacts(),
112
- text: '数据变更'
113
- },
114
- items: [{
115
- lg: 24,
116
- type: cardConfig.contentItemType.jsonView,
117
- value: data
118
- }]
119
- });
120
- } else {
121
- list.push({
122
- title: {
123
- icon: iconBuilder.contacts(),
124
- text: '操作内容'
125
- },
126
- items: [{
127
- lg: 24,
128
- type: cardConfig.contentItemType.onlyShowText,
129
- fieldData: {
130
- label: '操作内容',
131
- helper: ''
132
- },
133
- value: data
134
- }]
135
- });
136
- }
137
- return {
138
- list: list
139
- };
140
- };
141
- _this.renderContentContainor = function () {
142
- var _this$props2 = _this.props,
143
- dataType = _this$props2.dataType,
144
- data = _this$props2.data;
145
- if (dataType === dataTypeCollection.html.flag) {
146
- return /*#__PURE__*/React.createElement("div", {
147
- className: styles.previewContainor
148
- }, parse(data));
149
- }
150
- return /*#__PURE__*/React.createElement("div", {
151
- className: styles.contentContainor
152
- }, _this.renderForm());
153
- };
154
- _this.state = _objectSpread2(_objectSpread2({}, _this.state), {
155
- showBottomBar: true
156
- });
157
- return _this;
158
- }
159
- return _createClass(DataPreviewDrawer);
160
- }(Base);
161
- DataPreviewDrawer.defaultProps = {
162
- title: '',
163
- icon: iconBuilder.form(),
164
- placement: 'left',
165
- width: 380,
166
- dataType: dataTypeCollection.commonValue.flag
167
- };
168
-
169
- export { DataPreviewDrawer as default };
@@ -1,6 +0,0 @@
1
- export class LoadingOverlay extends React.PureComponent<any, any, any> {
2
- constructor(props: any);
3
- constructor(props: any, context: any);
4
- render(): JSX.Element;
5
- }
6
- import React from "react";
@@ -1,3 +0,0 @@
1
- export class Bootstrap extends BaseComponent {
2
- }
3
- import { BaseComponent } from "antd-management-fast-component/es/customComponents/BaseComponent";
@@ -1,10 +0,0 @@
1
- export class MobileHtmlPreviewBox extends MobilePreviewArea {
2
- buildContent: () => JSX.Element;
3
- renderPresetInnerView: () => JSX.Element;
4
- }
5
- export namespace MobileHtmlPreviewBox {
6
- namespace defaultProps {
7
- const html: string;
8
- }
9
- }
10
- import { MobilePreviewArea } from "../MobilePreviewArea";