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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-framework",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "> TODO: description",
5
5
  "homepage": "https://github.com/kityandhero/antd-management-fast-framework#readme",
6
6
  "license": "ISC",
@@ -52,8 +52,8 @@
52
52
  "@ant-design/pro-layout": "^7.10.0",
53
53
  "@umijs/max": "^4.0.57",
54
54
  "antd": "^5.3.0",
55
- "antd-management-fast-common": "^2.1.0",
56
- "antd-management-fast-component": "^2.1.0",
55
+ "antd-management-fast-common": "^2.1.1",
56
+ "antd-management-fast-component": "^2.1.1",
57
57
  "classnames": "^2.3.2",
58
58
  "dayjs": "^1.11.7",
59
59
  "easy-soft-dva": "^3.6.120",
@@ -108,8 +108,8 @@
108
108
  "cross-env": "^7.0.3",
109
109
  "cssnano": "^5.1.15",
110
110
  "documentation": "^14.0.1",
111
- "easy-soft-develop": "^2.0.174",
112
- "eslint": "^8.35.0",
111
+ "easy-soft-develop": "^2.0.175",
112
+ "eslint": "^8.36.0",
113
113
  "eslint-config-airbnb": "^19.0.4",
114
114
  "eslint-config-airbnb-typescript": "^17.0.0",
115
115
  "eslint-config-prettier": "^8.7.0",
@@ -127,14 +127,14 @@
127
127
  "eslint-plugin-unicorn": "^46.0.0",
128
128
  "husky": "^8.0.3",
129
129
  "jest": "^29.5.0",
130
- "lint-staged": "^13.1.2",
130
+ "lint-staged": "^13.2.0",
131
131
  "npm-check-updates": "^16.7.12",
132
132
  "prettier": "^2.8.4",
133
133
  "prettier-plugin-organize-imports": "^3",
134
134
  "prettier-plugin-packagejson": "^2",
135
135
  "prop-types": "^15.8.1",
136
136
  "rimraf": "^4.4.0",
137
- "rollup": "^3.19.0",
137
+ "rollup": "^3.19.1",
138
138
  "rollup-plugin-copy": "^3.4.0",
139
139
  "rollup-plugin-dts": "^5.2.0",
140
140
  "rollup-plugin-livereload": "^2.0.5",
@@ -1,28 +0,0 @@
1
- export function buildConfig(packageImport: any): {
2
- mfsu: {
3
- shared: {
4
- react: {
5
- singleton: boolean;
6
- requiredVersion: any;
7
- };
8
- 'react-dom': {
9
- singleton: boolean;
10
- requiredVersion: any;
11
- };
12
- };
13
- };
14
- hash: boolean;
15
- antd: {};
16
- access: {};
17
- model: {};
18
- initialState: {};
19
- request: {};
20
- dva: {};
21
- history: {
22
- type: string;
23
- };
24
- locale: {
25
- default: string;
26
- };
27
- layout: {};
28
- };
@@ -1,36 +0,0 @@
1
- function buildConfig(packageImport) {
2
- var deps = packageImport.dependencies;
3
- return {
4
- mfsu: {
5
- shared: {
6
- react: {
7
- singleton: true,
8
- requiredVersion: deps['react']
9
- },
10
- 'react-dom': {
11
- singleton: true,
12
- requiredVersion: deps['react-dom']
13
- }
14
- }
15
- },
16
- hash: true,
17
- antd: {},
18
- access: {},
19
- model: {},
20
- initialState: {},
21
- request: {},
22
- dva: {},
23
- history: {
24
- type: 'hash'
25
- },
26
- locale: {
27
- // 默认使用 src/locales/zh-CN.ts 作为多语言文件
28
- "default": 'zh-CN'
29
- // baseSeparator: '-',
30
- },
31
-
32
- layout: {}
33
- };
34
- }
35
-
36
- export { buildConfig };
@@ -1,2 +0,0 @@
1
- export * from "./themeCollection";
2
- export * from "./webpackPlugin";
@@ -1,7 +0,0 @@
1
- export namespace themeCollection {
2
- const list: {
3
- key: string;
4
- fileName: string;
5
- theme: string;
6
- }[];
7
- }
@@ -1,9 +0,0 @@
1
- var configGeneral = {
2
- list: [{
3
- key: 'dark',
4
- fileName: 'dark.css',
5
- theme: 'dark'
6
- }]
7
- };
8
-
9
- export { configGeneral };
@@ -1,4 +0,0 @@
1
- export function webpackPlugin(config: any): void;
2
- export function webpackPlugin5(config: any, { env }: {
3
- env: any;
4
- }): void;
@@ -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";