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
package/es/index3.js DELETED
@@ -1,383 +0,0 @@
1
- import { _ as _typeof$1 } from './typeof.js';
2
-
3
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
4
- try {
5
- var info = gen[key](arg);
6
- var value = info.value;
7
- } catch (error) {
8
- reject(error);
9
- return;
10
- }
11
- if (info.done) {
12
- resolve(value);
13
- } else {
14
- Promise.resolve(value).then(_next, _throw);
15
- }
16
- }
17
- function _asyncToGenerator(fn) {
18
- return function () {
19
- var self = this,
20
- args = arguments;
21
- return new Promise(function (resolve, reject) {
22
- var gen = fn.apply(self, args);
23
- function _next(value) {
24
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
25
- }
26
- function _throw(err) {
27
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
28
- }
29
- _next(undefined);
30
- });
31
- };
32
- }
33
-
34
- var regeneratorRuntimeExports = {};
35
- var regeneratorRuntime$1 = {
36
- get exports(){ return regeneratorRuntimeExports; },
37
- set exports(v){ regeneratorRuntimeExports = v; },
38
- };
39
-
40
- var _typeofExports = {};
41
- var _typeof = {
42
- get exports(){ return _typeofExports; },
43
- set exports(v){ _typeofExports = v; },
44
- };
45
-
46
- (function (module) {
47
- function _typeof(obj) {
48
- "@babel/helpers - typeof";
49
-
50
- return (module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) {
51
- return typeof obj;
52
- } : function (obj) {
53
- return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj;
54
- }, module.exports.__esModule = true, module.exports["default"] = module.exports), _typeof(obj);
55
- }
56
- module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
57
- })(_typeof);
58
-
59
- (function (module) {
60
- var _typeof = _typeofExports["default"];
61
- function _regeneratorRuntime() {
62
-
63
- /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
64
- module.exports = _regeneratorRuntime = function _regeneratorRuntime() {
65
- return exports;
66
- }, module.exports.__esModule = true, module.exports["default"] = module.exports;
67
- var exports = {},
68
- Op = Object.prototype,
69
- hasOwn = Op.hasOwnProperty,
70
- defineProperty = Object.defineProperty || function (obj, key, desc) {
71
- obj[key] = desc.value;
72
- },
73
- $Symbol = "function" == typeof Symbol ? Symbol : {},
74
- iteratorSymbol = $Symbol.iterator || "@@iterator",
75
- asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
76
- toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
77
- function define(obj, key, value) {
78
- return Object.defineProperty(obj, key, {
79
- value: value,
80
- enumerable: !0,
81
- configurable: !0,
82
- writable: !0
83
- }), obj[key];
84
- }
85
- try {
86
- define({}, "");
87
- } catch (err) {
88
- define = function define(obj, key, value) {
89
- return obj[key] = value;
90
- };
91
- }
92
- function wrap(innerFn, outerFn, self, tryLocsList) {
93
- var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
94
- generator = Object.create(protoGenerator.prototype),
95
- context = new Context(tryLocsList || []);
96
- return defineProperty(generator, "_invoke", {
97
- value: makeInvokeMethod(innerFn, self, context)
98
- }), generator;
99
- }
100
- function tryCatch(fn, obj, arg) {
101
- try {
102
- return {
103
- type: "normal",
104
- arg: fn.call(obj, arg)
105
- };
106
- } catch (err) {
107
- return {
108
- type: "throw",
109
- arg: err
110
- };
111
- }
112
- }
113
- exports.wrap = wrap;
114
- var ContinueSentinel = {};
115
- function Generator() {}
116
- function GeneratorFunction() {}
117
- function GeneratorFunctionPrototype() {}
118
- var IteratorPrototype = {};
119
- define(IteratorPrototype, iteratorSymbol, function () {
120
- return this;
121
- });
122
- var getProto = Object.getPrototypeOf,
123
- NativeIteratorPrototype = getProto && getProto(getProto(values([])));
124
- NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
125
- var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
126
- function defineIteratorMethods(prototype) {
127
- ["next", "throw", "return"].forEach(function (method) {
128
- define(prototype, method, function (arg) {
129
- return this._invoke(method, arg);
130
- });
131
- });
132
- }
133
- function AsyncIterator(generator, PromiseImpl) {
134
- function invoke(method, arg, resolve, reject) {
135
- var record = tryCatch(generator[method], generator, arg);
136
- if ("throw" !== record.type) {
137
- var result = record.arg,
138
- value = result.value;
139
- return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
140
- invoke("next", value, resolve, reject);
141
- }, function (err) {
142
- invoke("throw", err, resolve, reject);
143
- }) : PromiseImpl.resolve(value).then(function (unwrapped) {
144
- result.value = unwrapped, resolve(result);
145
- }, function (error) {
146
- return invoke("throw", error, resolve, reject);
147
- });
148
- }
149
- reject(record.arg);
150
- }
151
- var previousPromise;
152
- defineProperty(this, "_invoke", {
153
- value: function value(method, arg) {
154
- function callInvokeWithMethodAndArg() {
155
- return new PromiseImpl(function (resolve, reject) {
156
- invoke(method, arg, resolve, reject);
157
- });
158
- }
159
- return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
160
- }
161
- });
162
- }
163
- function makeInvokeMethod(innerFn, self, context) {
164
- var state = "suspendedStart";
165
- return function (method, arg) {
166
- if ("executing" === state) throw new Error("Generator is already running");
167
- if ("completed" === state) {
168
- if ("throw" === method) throw arg;
169
- return doneResult();
170
- }
171
- for (context.method = method, context.arg = arg;;) {
172
- var delegate = context.delegate;
173
- if (delegate) {
174
- var delegateResult = maybeInvokeDelegate(delegate, context);
175
- if (delegateResult) {
176
- if (delegateResult === ContinueSentinel) continue;
177
- return delegateResult;
178
- }
179
- }
180
- if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
181
- if ("suspendedStart" === state) throw state = "completed", context.arg;
182
- context.dispatchException(context.arg);
183
- } else "return" === context.method && context.abrupt("return", context.arg);
184
- state = "executing";
185
- var record = tryCatch(innerFn, self, context);
186
- if ("normal" === record.type) {
187
- if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
188
- return {
189
- value: record.arg,
190
- done: context.done
191
- };
192
- }
193
- "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
194
- }
195
- };
196
- }
197
- function maybeInvokeDelegate(delegate, context) {
198
- var methodName = context.method,
199
- method = delegate.iterator[methodName];
200
- if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator["return"] && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
201
- var record = tryCatch(method, delegate.iterator, context.arg);
202
- if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
203
- var info = record.arg;
204
- return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
205
- }
206
- function pushTryEntry(locs) {
207
- var entry = {
208
- tryLoc: locs[0]
209
- };
210
- 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
211
- }
212
- function resetTryEntry(entry) {
213
- var record = entry.completion || {};
214
- record.type = "normal", delete record.arg, entry.completion = record;
215
- }
216
- function Context(tryLocsList) {
217
- this.tryEntries = [{
218
- tryLoc: "root"
219
- }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
220
- }
221
- function values(iterable) {
222
- if (iterable) {
223
- var iteratorMethod = iterable[iteratorSymbol];
224
- if (iteratorMethod) return iteratorMethod.call(iterable);
225
- if ("function" == typeof iterable.next) return iterable;
226
- if (!isNaN(iterable.length)) {
227
- var i = -1,
228
- next = function next() {
229
- for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
230
- return next.value = undefined, next.done = !0, next;
231
- };
232
- return next.next = next;
233
- }
234
- }
235
- return {
236
- next: doneResult
237
- };
238
- }
239
- function doneResult() {
240
- return {
241
- value: undefined,
242
- done: !0
243
- };
244
- }
245
- return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
246
- value: GeneratorFunctionPrototype,
247
- configurable: !0
248
- }), defineProperty(GeneratorFunctionPrototype, "constructor", {
249
- value: GeneratorFunction,
250
- configurable: !0
251
- }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
252
- var ctor = "function" == typeof genFun && genFun.constructor;
253
- return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
254
- }, exports.mark = function (genFun) {
255
- return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
256
- }, exports.awrap = function (arg) {
257
- return {
258
- __await: arg
259
- };
260
- }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
261
- return this;
262
- }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
263
- void 0 === PromiseImpl && (PromiseImpl = Promise);
264
- var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
265
- return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
266
- return result.done ? result.value : iter.next();
267
- });
268
- }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
269
- return this;
270
- }), define(Gp, "toString", function () {
271
- return "[object Generator]";
272
- }), exports.keys = function (val) {
273
- var object = Object(val),
274
- keys = [];
275
- for (var key in object) keys.push(key);
276
- return keys.reverse(), function next() {
277
- for (; keys.length;) {
278
- var key = keys.pop();
279
- if (key in object) return next.value = key, next.done = !1, next;
280
- }
281
- return next.done = !0, next;
282
- };
283
- }, exports.values = values, Context.prototype = {
284
- constructor: Context,
285
- reset: function reset(skipTempReset) {
286
- if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
287
- },
288
- stop: function stop() {
289
- this.done = !0;
290
- var rootRecord = this.tryEntries[0].completion;
291
- if ("throw" === rootRecord.type) throw rootRecord.arg;
292
- return this.rval;
293
- },
294
- dispatchException: function dispatchException(exception) {
295
- if (this.done) throw exception;
296
- var context = this;
297
- function handle(loc, caught) {
298
- return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
299
- }
300
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
301
- var entry = this.tryEntries[i],
302
- record = entry.completion;
303
- if ("root" === entry.tryLoc) return handle("end");
304
- if (entry.tryLoc <= this.prev) {
305
- var hasCatch = hasOwn.call(entry, "catchLoc"),
306
- hasFinally = hasOwn.call(entry, "finallyLoc");
307
- if (hasCatch && hasFinally) {
308
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
309
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
310
- } else if (hasCatch) {
311
- if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
312
- } else {
313
- if (!hasFinally) throw new Error("try statement without catch or finally");
314
- if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
315
- }
316
- }
317
- }
318
- },
319
- abrupt: function abrupt(type, arg) {
320
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
321
- var entry = this.tryEntries[i];
322
- if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
323
- var finallyEntry = entry;
324
- break;
325
- }
326
- }
327
- finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
328
- var record = finallyEntry ? finallyEntry.completion : {};
329
- return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
330
- },
331
- complete: function complete(record, afterLoc) {
332
- if ("throw" === record.type) throw record.arg;
333
- return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
334
- },
335
- finish: function finish(finallyLoc) {
336
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
337
- var entry = this.tryEntries[i];
338
- if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
339
- }
340
- },
341
- "catch": function _catch(tryLoc) {
342
- for (var i = this.tryEntries.length - 1; i >= 0; --i) {
343
- var entry = this.tryEntries[i];
344
- if (entry.tryLoc === tryLoc) {
345
- var record = entry.completion;
346
- if ("throw" === record.type) {
347
- var thrown = record.arg;
348
- resetTryEntry(entry);
349
- }
350
- return thrown;
351
- }
352
- }
353
- throw new Error("illegal catch attempt");
354
- },
355
- delegateYield: function delegateYield(iterable, resultName, nextLoc) {
356
- return this.delegate = {
357
- iterator: values(iterable),
358
- resultName: resultName,
359
- nextLoc: nextLoc
360
- }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
361
- }
362
- }, exports;
363
- }
364
- module.exports = _regeneratorRuntime, module.exports.__esModule = true, module.exports["default"] = module.exports;
365
- })(regeneratorRuntime$1);
366
-
367
- // TODO(Babel 8): Remove this file.
368
-
369
- var runtime = regeneratorRuntimeExports();
370
- var regenerator = runtime;
371
-
372
- // Copied from https://github.com/facebook/regenerator/blob/main/packages/runtime/runtime.js#L736=
373
- try {
374
- regeneratorRuntime = runtime;
375
- } catch (accidentalStrictMode) {
376
- if ((typeof globalThis === "undefined" ? "undefined" : _typeof$1(globalThis)) === "object") {
377
- globalThis.regeneratorRuntime = runtime;
378
- } else {
379
- Function("r", "regeneratorRuntime = r")(runtime);
380
- }
381
- }
382
-
383
- export { _asyncToGenerator as _, regenerator as r };
@@ -1 +0,0 @@
1
- export * from "./schedulingControl";
@@ -1,46 +0,0 @@
1
- export function buildSchedulingControlModel(): {
2
- namespace: string;
3
- state: {
4
- data: typeof tacitlyState.data;
5
- };
6
- effects: {
7
- singleListAppList({ payload, alias }: {
8
- payload: any;
9
- alias: any;
10
- }, { call, put }: {
11
- call: any;
12
- put: any;
13
- }): Generator<any, {}, unknown>;
14
- singleListApplicationListSimulation({ payload, alias }: {
15
- payload: any;
16
- alias: any;
17
- }, { call, put }: {
18
- call: any;
19
- put: any;
20
- }): Generator<any, {}, unknown>;
21
- getMetaData({ payload, alias }: {
22
- payload: any;
23
- alias: any;
24
- }, { call, put }: {
25
- call: any;
26
- put: any;
27
- }): Generator<any, {}, unknown>;
28
- getMetaDataSimulation({ payload, alias }: {
29
- payload: any;
30
- alias: any;
31
- }, { call, put }: {
32
- call: any;
33
- put: any;
34
- }): Generator<any, {}, unknown>;
35
- configLayoutSetting({ payload, alias }: {
36
- payload: any;
37
- alias: any;
38
- }, { put }: {
39
- put: any;
40
- }): Generator<any, any, unknown>;
41
- };
42
- reducers: {
43
- reducerData(state: any, action: any, namespace: any): any;
44
- };
45
- };
46
- import { tacitlyState } from "antd-management-fast-common/es/utils/dvaAssist";
@@ -1,171 +0,0 @@
1
- import { _ as _objectSpread2 } from '../objectSpread2.js';
2
- import { r as regenerator } from '../index3.js';
3
- import { tacitlyState, reducerNameCollection, reducerDefaultParams, reducerCollection } from 'antd-management-fast-common/es/utils/dva';
4
- import { pretreatmentRemoteListData, pretreatmentRemoteSingleData } from 'antd-management-fast-common/es/utils/requestAssistor';
5
- import { singleListAppListData, singleListAppListDataSimulation, getMetaDataData, getMetaDataSimulation } from '../services/schedulingControl.js';
6
- import '../toPropertyKey.js';
7
- import '../typeof.js';
8
- import 'antd-management-fast-common/es/utils/constants';
9
- import 'antd-management-fast-common/es/utils/dynamicSetting';
10
- import 'antd-management-fast-common/es/utils/tools';
11
-
12
- var schedulingControl = {
13
- namespace: 'schedulingControl',
14
- state: _objectSpread2({}, tacitlyState),
15
- effects: {
16
- singleListAppList: function singleListAppList(_ref, _ref2) {
17
- var payload = _ref.payload,
18
- alias = _ref.alias;
19
- var call = _ref2.call,
20
- put = _ref2.put;
21
- return /*#__PURE__*/regenerator.mark(function _callee() {
22
- var response, dataAdjust;
23
- return regenerator.wrap(function _callee$(_context) {
24
- while (1) switch (_context.prev = _context.next) {
25
- case 0:
26
- _context.next = 2;
27
- return call(singleListAppListData, payload);
28
- case 2:
29
- response = _context.sent;
30
- dataAdjust = pretreatmentRemoteListData({
31
- source: response
32
- });
33
- _context.next = 6;
34
- return put(_objectSpread2({
35
- type: reducerNameCollection.reducerData,
36
- payload: dataAdjust,
37
- alias: alias
38
- }, reducerDefaultParams));
39
- case 6:
40
- return _context.abrupt("return", dataAdjust);
41
- case 7:
42
- case "end":
43
- return _context.stop();
44
- }
45
- }, _callee);
46
- })();
47
- },
48
- singleListAppListSimulation: function singleListAppListSimulation(_ref3, _ref4) {
49
- var payload = _ref3.payload,
50
- alias = _ref3.alias;
51
- var call = _ref4.call,
52
- put = _ref4.put;
53
- return /*#__PURE__*/regenerator.mark(function _callee2() {
54
- var response, dataAdjust;
55
- return regenerator.wrap(function _callee2$(_context2) {
56
- while (1) switch (_context2.prev = _context2.next) {
57
- case 0:
58
- _context2.next = 2;
59
- return call(singleListAppListDataSimulation, payload);
60
- case 2:
61
- response = _context2.sent;
62
- dataAdjust = pretreatmentRemoteListData({
63
- source: response
64
- });
65
- _context2.next = 6;
66
- return put(_objectSpread2({
67
- type: reducerNameCollection.reducerData,
68
- payload: dataAdjust,
69
- alias: alias
70
- }, reducerDefaultParams));
71
- case 6:
72
- return _context2.abrupt("return", dataAdjust);
73
- case 7:
74
- case "end":
75
- return _context2.stop();
76
- }
77
- }, _callee2);
78
- })();
79
- },
80
- getMetaData: function getMetaData(_ref5, _ref6) {
81
- var payload = _ref5.payload,
82
- alias = _ref5.alias;
83
- var call = _ref6.call,
84
- put = _ref6.put;
85
- return /*#__PURE__*/regenerator.mark(function _callee3() {
86
- var response, dataAdjust;
87
- return regenerator.wrap(function _callee3$(_context3) {
88
- while (1) switch (_context3.prev = _context3.next) {
89
- case 0:
90
- _context3.next = 2;
91
- return call(getMetaDataData, payload);
92
- case 2:
93
- response = _context3.sent;
94
- dataAdjust = pretreatmentRemoteSingleData({
95
- source: response
96
- });
97
- _context3.next = 6;
98
- return put(_objectSpread2({
99
- type: reducerNameCollection.reducerData,
100
- payload: dataAdjust,
101
- alias: alias
102
- }, reducerDefaultParams));
103
- case 6:
104
- return _context3.abrupt("return", dataAdjust);
105
- case 7:
106
- case "end":
107
- return _context3.stop();
108
- }
109
- }, _callee3);
110
- })();
111
- },
112
- getMetaDataSimulation: function getMetaDataSimulation$1(_ref7, _ref8) {
113
- var payload = _ref7.payload,
114
- alias = _ref7.alias;
115
- var call = _ref8.call,
116
- put = _ref8.put;
117
- return /*#__PURE__*/regenerator.mark(function _callee4() {
118
- var response, dataAdjust;
119
- return regenerator.wrap(function _callee4$(_context4) {
120
- while (1) switch (_context4.prev = _context4.next) {
121
- case 0:
122
- _context4.next = 2;
123
- return call(getMetaDataSimulation, payload);
124
- case 2:
125
- response = _context4.sent;
126
- dataAdjust = pretreatmentRemoteSingleData({
127
- source: response
128
- });
129
- _context4.next = 6;
130
- return put(_objectSpread2({
131
- type: reducerNameCollection.reducerData,
132
- payload: dataAdjust,
133
- alias: alias
134
- }, reducerDefaultParams));
135
- case 6:
136
- return _context4.abrupt("return", dataAdjust);
137
- case 7:
138
- case "end":
139
- return _context4.stop();
140
- }
141
- }, _callee4);
142
- })();
143
- },
144
- configLayoutSetting: function configLayoutSetting(_ref9, _ref10) {
145
- var payload = _ref9.payload,
146
- alias = _ref9.alias;
147
- var put = _ref10.put;
148
- return /*#__PURE__*/regenerator.mark(function _callee5() {
149
- return regenerator.wrap(function _callee5$(_context5) {
150
- while (1) switch (_context5.prev = _context5.next) {
151
- case 0:
152
- _context5.next = 2;
153
- return put(_objectSpread2({
154
- type: reducerNameCollection.reducerData,
155
- payload: payload,
156
- alias: alias
157
- }, reducerDefaultParams));
158
- case 2:
159
- return _context5.abrupt("return", payload);
160
- case 3:
161
- case "end":
162
- return _context5.stop();
163
- }
164
- }, _callee5);
165
- })();
166
- }
167
- },
168
- reducers: _objectSpread2({}, reducerCollection)
169
- };
170
-
171
- export { schedulingControl as default };
@@ -1,40 +0,0 @@
1
- import { _ as _toPropertyKey } from './toPropertyKey.js';
2
-
3
- function _defineProperty(obj, key, value) {
4
- key = _toPropertyKey(key);
5
- if (key in obj) {
6
- Object.defineProperty(obj, key, {
7
- value: value,
8
- enumerable: true,
9
- configurable: true,
10
- writable: true
11
- });
12
- } else {
13
- obj[key] = value;
14
- }
15
- return obj;
16
- }
17
-
18
- function ownKeys(object, enumerableOnly) {
19
- var keys = Object.keys(object);
20
- if (Object.getOwnPropertySymbols) {
21
- var symbols = Object.getOwnPropertySymbols(object);
22
- enumerableOnly && (symbols = symbols.filter(function (sym) {
23
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
24
- })), keys.push.apply(keys, symbols);
25
- }
26
- return keys;
27
- }
28
- function _objectSpread2(target) {
29
- for (var i = 1; i < arguments.length; i++) {
30
- var source = null != arguments[i] ? arguments[i] : {};
31
- i % 2 ? ownKeys(Object(source), !0).forEach(function (key) {
32
- _defineProperty(target, key, source[key]);
33
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) {
34
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
35
- });
36
- }
37
- return target;
38
- }
39
-
40
- export { _objectSpread2 as _, _defineProperty as a };