amis-core 3.6.4 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/Root.js +1 -1
- package/esm/RootRenderer.js +3 -2
- package/esm/SchemaRenderer.js +4 -1
- package/esm/Scoped.d.ts +6 -0
- package/esm/Scoped.js +45 -7
- package/esm/StatusScoped.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +3 -5
- package/esm/actions/Action.js +31 -27
- package/esm/actions/AjaxAction.js +1 -1
- package/esm/actions/BreakAction.js +1 -1
- package/esm/actions/BroadcastAction.js +1 -1
- package/esm/actions/CmptAction.js +65 -26
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +1 -1
- package/esm/actions/CustomAction.js +4 -3
- package/esm/actions/DialogAction.js +1 -1
- package/esm/actions/DrawerAction.js +1 -1
- package/esm/actions/EmailAction.js +1 -1
- package/esm/actions/LinkAction.js +9 -4
- package/esm/actions/LoopAction.js +1 -1
- package/esm/actions/PageAction.js +1 -1
- package/esm/actions/ParallelAction.js +1 -1
- package/esm/actions/StatusAction.js +1 -1
- package/esm/actions/SwitchAction.js +1 -1
- package/esm/actions/ToastAction.js +1 -1
- package/esm/components/CustomStyle.d.ts +1 -2
- package/esm/components/CustomStyle.js +19 -6
- package/esm/components/ErrorBoundary.js +1 -1
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +12 -9
- package/esm/components/PopOver.js +8 -5
- package/esm/env.d.ts +4 -0
- package/esm/env.js +1 -1
- package/esm/envOverwrite.js +1 -1
- package/esm/factory.js +14 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.js +14 -7
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.d.ts +4 -3
- package/esm/renderers/Form.js +216 -150
- package/esm/renderers/Item.d.ts +1 -0
- package/esm/renderers/Item.js +17 -17
- package/esm/renderers/Options.d.ts +5 -0
- package/esm/renderers/Options.js +188 -57
- package/esm/renderers/Placeholder.js +1 -1
- package/esm/renderers/builtin.js +1 -1
- package/esm/renderers/register.js +1 -1
- package/esm/renderers/wrapControl.js +39 -30
- package/esm/store/app.d.ts +2 -2
- package/esm/store/app.js +4 -3
- package/esm/store/combo.d.ts +79 -55
- package/esm/store/combo.js +1 -1
- package/esm/store/crud.d.ts +3 -2
- package/esm/store/crud.js +18 -4
- package/esm/store/form.d.ts +33 -23
- package/esm/store/form.js +5 -5
- package/esm/store/formItem.d.ts +2 -1
- package/esm/store/formItem.js +3 -2
- package/esm/store/iRenderer.d.ts +1 -1
- package/esm/store/iRenderer.js +10 -3
- package/esm/store/index.js +1 -1
- package/esm/store/list.d.ts +1 -1
- package/esm/store/list.js +18 -13
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.d.ts +2 -2
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.d.ts +2 -1
- package/esm/store/pagination.js +3 -2
- package/esm/store/root.d.ts +2 -2
- package/esm/store/root.js +4 -3
- package/esm/store/service.d.ts +2 -2
- package/esm/store/service.js +11 -7
- package/esm/store/status.js +1 -1
- package/esm/store/table.d.ts +69 -47
- package/esm/store/table.js +54 -25
- package/esm/store/table2.d.ts +14 -3
- package/esm/store/table2.js +22 -9
- package/esm/theme.js +1 -1
- package/esm/types.d.ts +7 -0
- package/esm/utils/Animation.js +1 -1
- package/esm/utils/ColorScale.js +1 -1
- package/esm/utils/DataSchema.js +1 -1
- package/esm/utils/DataScope.js +1 -1
- package/esm/utils/RootClose.js +1 -1
- package/esm/utils/SimpleMap.js +1 -1
- package/esm/utils/api.js +1 -1
- package/esm/utils/arraySlice.js +1 -1
- package/esm/utils/attachmentAdpator.js +1 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/browser.d.ts +1 -0
- package/esm/utils/browser.js +11 -0
- package/esm/utils/columnsSplit.js +1 -1
- package/esm/utils/concatData.d.ts +8 -0
- package/esm/utils/concatData.js +39 -0
- package/esm/utils/dataMapping.js +1 -1
- package/esm/utils/date.js +1 -1
- package/esm/utils/debug.js +1 -1
- package/esm/utils/decodeEntity.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/esm/utils/errors.js +1 -1
- package/esm/utils/escapeHtml.js +1 -1
- package/esm/utils/filter-schema.js +1 -1
- package/esm/utils/filter.js +1 -1
- package/esm/utils/formatDuration.js +1 -1
- package/esm/utils/formula.js +1 -1
- package/esm/utils/getVariable.js +1 -1
- package/esm/utils/grammar.js +1 -1
- package/esm/utils/handleAction.js +1 -1
- package/esm/utils/helper.d.ts +14 -2
- package/esm/utils/helper.js +49 -14
- package/esm/utils/highlight.js +3 -2
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- package/esm/utils/index.d.ts +3 -0
- package/esm/utils/isPureVariable.js +1 -1
- package/esm/utils/json-schema-2-amis-schema.js +1 -1
- package/esm/utils/keyToPath.js +1 -1
- package/esm/utils/labelToString.d.ts +1 -0
- package/esm/utils/labelToString.js +38 -0
- package/esm/utils/makeSorter.js +1 -1
- package/esm/utils/math.js +1 -1
- package/esm/utils/memoryParse.js +1 -1
- package/esm/utils/normalizeLink.js +1 -1
- package/esm/utils/normalizeOptions.js +1 -1
- package/esm/utils/object.js +1 -1
- package/esm/utils/offset.js +1 -1
- package/esm/utils/offsetParent.js +1 -1
- package/esm/utils/optionValueCompare.js +1 -1
- package/esm/utils/position.js +1 -1
- package/esm/utils/prettyBytes.js +1 -1
- package/esm/utils/renderer-event.js +19 -3
- package/esm/utils/replaceText.js +9 -11
- package/esm/utils/resize-sensor.js +1 -1
- package/esm/utils/resolveCondition.js +1 -1
- package/esm/utils/resolveVariable.js +1 -1
- package/esm/utils/resolveVariableAndFilter.js +1 -1
- package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/esm/utils/scrollPosition.js +1 -1
- package/esm/utils/string2regExp.d.ts +1 -1
- package/esm/utils/string2regExp.js +4 -3
- package/esm/utils/stripNumber.js +1 -1
- package/esm/utils/style-helper.d.ts +24 -5
- package/esm/utils/style-helper.js +49 -21
- package/esm/utils/style.js +1 -1
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.d.ts +1 -0
- package/esm/utils/tokenize.js +10 -3
- package/esm/utils/tpl-builtin.js +1 -1
- package/esm/utils/tpl-lodash.js +1 -1
- package/esm/utils/tpl.js +6 -8
- package/esm/utils/uncontrollable.js +1 -1
- package/esm/utils/validateId.d.ts +16 -0
- package/esm/utils/validateId.js +154 -0
- package/esm/utils/validations.js +16 -8
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.js +3 -2
- package/lib/SchemaRenderer.js +4 -1
- package/lib/Scoped.d.ts +6 -0
- package/lib/Scoped.js +45 -6
- package/lib/StatusScoped.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +3 -5
- package/lib/actions/Action.js +31 -27
- package/lib/actions/AjaxAction.js +1 -1
- package/lib/actions/BreakAction.js +1 -1
- package/lib/actions/BroadcastAction.js +1 -1
- package/lib/actions/CmptAction.js +65 -26
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +1 -1
- package/lib/actions/CustomAction.js +4 -3
- package/lib/actions/DialogAction.js +1 -1
- package/lib/actions/DrawerAction.js +1 -1
- package/lib/actions/EmailAction.js +1 -1
- package/lib/actions/LinkAction.js +9 -4
- package/lib/actions/LoopAction.js +1 -1
- package/lib/actions/PageAction.js +1 -1
- package/lib/actions/ParallelAction.js +1 -1
- package/lib/actions/StatusAction.js +1 -1
- package/lib/actions/SwitchAction.js +1 -1
- package/lib/actions/ToastAction.js +1 -1
- package/lib/components/CustomStyle.d.ts +1 -2
- package/lib/components/CustomStyle.js +19 -6
- package/lib/components/ErrorBoundary.js +1 -1
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +11 -8
- package/lib/components/PopOver.js +8 -5
- package/lib/env.d.ts +4 -0
- package/lib/env.js +1 -1
- package/lib/envOverwrite.js +1 -1
- package/lib/factory.js +14 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.js +19 -4
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.d.ts +4 -3
- package/lib/renderers/Form.js +216 -150
- package/lib/renderers/Item.d.ts +1 -0
- package/lib/renderers/Item.js +17 -17
- package/lib/renderers/Options.d.ts +5 -0
- package/lib/renderers/Options.js +188 -57
- package/lib/renderers/Placeholder.js +1 -1
- package/lib/renderers/builtin.js +1 -1
- package/lib/renderers/register.js +1 -1
- package/lib/renderers/wrapControl.js +38 -29
- package/lib/store/app.d.ts +2 -2
- package/lib/store/app.js +4 -3
- package/lib/store/combo.d.ts +55 -31
- package/lib/store/combo.js +1 -1
- package/lib/store/crud.d.ts +3 -2
- package/lib/store/crud.js +18 -4
- package/lib/store/form.d.ts +23 -13
- package/lib/store/form.js +5 -5
- package/lib/store/formItem.d.ts +2 -1
- package/lib/store/formItem.js +3 -2
- package/lib/store/iRenderer.d.ts +1 -1
- package/lib/store/iRenderer.js +10 -3
- package/lib/store/index.js +1 -1
- package/lib/store/list.d.ts +1 -1
- package/lib/store/list.js +18 -14
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.d.ts +2 -2
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.d.ts +2 -1
- package/lib/store/pagination.js +3 -2
- package/lib/store/root.d.ts +2 -2
- package/lib/store/root.js +4 -3
- package/lib/store/service.d.ts +2 -2
- package/lib/store/service.js +11 -7
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +49 -27
- package/lib/store/table.js +54 -26
- package/lib/store/table2.d.ts +14 -3
- package/lib/store/table2.js +22 -9
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +7 -0
- package/lib/utils/Animation.js +1 -1
- package/lib/utils/ColorScale.js +1 -1
- package/lib/utils/DataSchema.js +1 -1
- package/lib/utils/DataScope.js +1 -1
- package/lib/utils/RootClose.js +1 -1
- package/lib/utils/SimpleMap.js +1 -1
- package/lib/utils/api.js +1 -1
- package/lib/utils/arraySlice.js +1 -1
- package/lib/utils/attachmentAdpator.js +1 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/browser.d.ts +1 -0
- package/lib/utils/browser.js +15 -0
- package/lib/utils/columnsSplit.js +1 -1
- package/lib/utils/concatData.d.ts +8 -0
- package/lib/utils/concatData.js +43 -0
- package/lib/utils/dataMapping.js +1 -1
- package/lib/utils/date.js +1 -1
- package/lib/utils/debug.js +1 -1
- package/lib/utils/decodeEntity.js +1 -1
- package/lib/utils/dom.js +1 -1
- package/lib/utils/errors.js +1 -1
- package/lib/utils/escapeHtml.js +1 -1
- package/lib/utils/filter-schema.js +1 -1
- package/lib/utils/filter.js +1 -1
- package/lib/utils/formatDuration.js +1 -1
- package/lib/utils/formula.js +1 -1
- package/lib/utils/getVariable.js +1 -1
- package/lib/utils/grammar.js +1 -1
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/helper.d.ts +14 -2
- package/lib/utils/helper.js +50 -12
- package/lib/utils/highlight.js +3 -2
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/isPureVariable.js +1 -1
- package/lib/utils/json-schema-2-amis-schema.js +1 -1
- package/lib/utils/keyToPath.js +1 -1
- package/lib/utils/labelToString.d.ts +1 -0
- package/lib/utils/labelToString.js +46 -0
- package/lib/utils/makeSorter.js +1 -1
- package/lib/utils/math.js +1 -1
- package/lib/utils/memoryParse.js +1 -1
- package/lib/utils/normalizeLink.js +1 -1
- package/lib/utils/normalizeOptions.js +1 -1
- package/lib/utils/object.js +1 -1
- package/lib/utils/offset.js +1 -1
- package/lib/utils/offsetParent.js +1 -1
- package/lib/utils/optionValueCompare.js +1 -1
- package/lib/utils/position.js +1 -1
- package/lib/utils/prettyBytes.js +1 -1
- package/lib/utils/renderer-event.js +19 -3
- package/lib/utils/replaceText.js +8 -14
- package/lib/utils/resize-sensor.js +1 -1
- package/lib/utils/resolveCondition.js +1 -1
- package/lib/utils/resolveVariable.js +1 -1
- package/lib/utils/resolveVariableAndFilter.js +1 -1
- package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
- package/lib/utils/scrollPosition.js +1 -1
- package/lib/utils/string2regExp.d.ts +1 -1
- package/lib/utils/string2regExp.js +4 -3
- package/lib/utils/stripNumber.js +1 -1
- package/lib/utils/style-helper.d.ts +24 -5
- package/lib/utils/style-helper.js +49 -21
- package/lib/utils/style.js +1 -1
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.d.ts +1 -0
- package/lib/utils/tokenize.js +10 -2
- package/lib/utils/tpl-builtin.js +1 -1
- package/lib/utils/tpl-lodash.js +1 -1
- package/lib/utils/tpl.js +5 -7
- package/lib/utils/uncontrollable.js +1 -1
- package/lib/utils/validateId.d.ts +16 -0
- package/lib/utils/validateId.js +160 -0
- package/lib/utils/validations.js +16 -8
- package/package.json +4 -3
- package/LICENSE +0 -201
package/esm/store/service.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* amis-core
|
|
2
|
+
* amis-core v6.1.0
|
|
3
3
|
* Copyright 2018-2024 fex
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -10,6 +10,7 @@ import { isEmpty } from '../utils/helper.js';
|
|
|
10
10
|
import { ServerError } from '../utils/errors.js';
|
|
11
11
|
import { normalizeApiResponseData } from '../utils/api.js';
|
|
12
12
|
import { replaceText } from '../utils/replaceText.js';
|
|
13
|
+
import { concatData } from '../utils/concatData.js';
|
|
13
14
|
import { isObject, extendObject } from '../utils/object.js';
|
|
14
15
|
|
|
15
16
|
var ServiceStore = iRendererStore
|
|
@@ -45,8 +46,11 @@ var ServiceStore = iRendererStore
|
|
|
45
46
|
if (busying === void 0) { busying = true; }
|
|
46
47
|
self.busying = busying;
|
|
47
48
|
}
|
|
48
|
-
function reInitData(data, replace) {
|
|
49
|
+
function reInitData(data, replace, concatFields) {
|
|
49
50
|
if (replace === void 0) { replace = false; }
|
|
51
|
+
if (concatFields) {
|
|
52
|
+
data = concatData(data, self.data, concatFields);
|
|
53
|
+
}
|
|
50
54
|
var newData = extendObject(self.pristine, data, !replace);
|
|
51
55
|
self.data = self.pristine = newData;
|
|
52
56
|
}
|
|
@@ -92,7 +96,7 @@ var ServiceStore = iRendererStore
|
|
|
92
96
|
self.updatedAt = Date.now();
|
|
93
97
|
replace = !!api.replaceData;
|
|
94
98
|
data_1 = __assign(__assign({}, (replace ? {} : self.data)), normalizeApiResponseData(json.data));
|
|
95
|
-
reInitData(data_1, replace);
|
|
99
|
+
reInitData(data_1, replace, api.concatDataFields);
|
|
96
100
|
self.hasRemoteData = true;
|
|
97
101
|
if (!(options && options.onSuccess)) return [3 /*break*/, 4];
|
|
98
102
|
ret = options.onSuccess(json, data_1);
|
|
@@ -158,7 +162,7 @@ var ServiceStore = iRendererStore
|
|
|
158
162
|
if (!isEmpty(json.data) || json.ok) {
|
|
159
163
|
self.updatedAt = Date.now();
|
|
160
164
|
json.data &&
|
|
161
|
-
self.updateData(normalizeApiResponseData(json.data), undefined, !!api.replaceData);
|
|
165
|
+
self.updateData(normalizeApiResponseData(json.data), undefined, !!api.replaceData, api.concatDataFields);
|
|
162
166
|
self.hasRemoteData = true;
|
|
163
167
|
}
|
|
164
168
|
if (!!json.ok) return [3 /*break*/, 2];
|
|
@@ -229,7 +233,7 @@ var ServiceStore = iRendererStore
|
|
|
229
233
|
if (!isEmpty(json.data) || json.ok) {
|
|
230
234
|
self.updatedAt = Date.now();
|
|
231
235
|
json.data &&
|
|
232
|
-
self.updateData(normalizeApiResponseData(json.data), undefined, !!api.replaceData);
|
|
236
|
+
self.updateData(normalizeApiResponseData(json.data), undefined, !!api.replaceData, api.concatDataFields);
|
|
233
237
|
}
|
|
234
238
|
if (!!json.ok) return [3 /*break*/, 4];
|
|
235
239
|
if (!(options && options.onFailed)) return [3 /*break*/, 3];
|
|
@@ -343,7 +347,7 @@ var ServiceStore = iRendererStore
|
|
|
343
347
|
}, normalizeApiResponseData(json.data));
|
|
344
348
|
self.schemaKey = '' + Date.now();
|
|
345
349
|
isObject(json.data.data) &&
|
|
346
|
-
self.updateData(json.data.data, undefined, !!api.replaceData);
|
|
350
|
+
self.updateData(json.data.data, undefined, !!api.replaceData, api.concatDataFields);
|
|
347
351
|
}
|
|
348
352
|
updateMessage((_h = (_g = (_f = api === null || api === void 0 ? void 0 : api.messages) === null || _f === void 0 ? void 0 : _f.success) !== null && _g !== void 0 ? _g : json.msg) !== null && _h !== void 0 ? _h : (options && options.successMessage));
|
|
349
353
|
// 配置了获取成功提示后提示,默认是空不会提示。
|
|
@@ -390,7 +394,7 @@ var ServiceStore = iRendererStore
|
|
|
390
394
|
case 2:
|
|
391
395
|
json = _a.sent();
|
|
392
396
|
json.ok &&
|
|
393
|
-
self.updateData(json.data, undefined, !!api.replaceData);
|
|
397
|
+
self.updateData(json.data, undefined, !!api.replaceData, api.concatDataFields);
|
|
394
398
|
if (!json.ok) {
|
|
395
399
|
throw new Error(json.msg);
|
|
396
400
|
}
|
package/esm/store/status.js
CHANGED
package/esm/store/table.d.ts
CHANGED
|
@@ -301,6 +301,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
301
301
|
formsRef: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IArrayType<import("mobx-state-tree").IType<any, any, any>>, [undefined]>;
|
|
302
302
|
maxKeepItemSelectionLength: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
303
303
|
keepItemSelectionOnPageChange: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
304
|
+
maxItemSelectionLength: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
304
305
|
exportExcelLoading: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
305
306
|
searchFormExpanded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
306
307
|
lazyRenderAfter: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
@@ -324,7 +325,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
324
325
|
setTopStore(value: any): void;
|
|
325
326
|
initData(data?: object, skipSetPristine?: boolean): void;
|
|
326
327
|
reset(): void;
|
|
327
|
-
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined): void;
|
|
328
|
+
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined): void;
|
|
328
329
|
changeValue(name: string, value: any, changePristine?: boolean | undefined, force?: boolean | undefined, otherModifier?: ((data: Object) => void) | undefined): void;
|
|
329
330
|
setCurrentAction(action: object): void;
|
|
330
331
|
openDialog(ctx: any, additonal?: object | undefined, callback?: ((ret: any) => void) | undefined, scoped?: import("..").IScopedContext | undefined): void;
|
|
@@ -334,6 +335,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
334
335
|
getDialogScoped(): import("..").IScopedContext | null;
|
|
335
336
|
getDrawerScoped(): import("..").IScopedContext | null;
|
|
336
337
|
} & {
|
|
338
|
+
getSelectionUpperLimit: () => number;
|
|
337
339
|
readonly columnsData: ({
|
|
338
340
|
label: any;
|
|
339
341
|
type: string;
|
|
@@ -456,7 +458,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
456
458
|
setTopStore(value: any): void;
|
|
457
459
|
initData(data?: object, skipSetPristine?: boolean): void;
|
|
458
460
|
reset(): void;
|
|
459
|
-
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined): void;
|
|
461
|
+
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined): void;
|
|
460
462
|
changeValue(name: string, value: any, changePristine?: boolean | undefined, force?: boolean | undefined, otherModifier?: ((data: Object) => void) | undefined): void;
|
|
461
463
|
setCurrentAction(action: object): void;
|
|
462
464
|
openDialog(ctx: any, additonal?: object | undefined, callback?: ((ret: any) => void) | undefined, scoped?: import("..").IScopedContext | undefined): void;
|
|
@@ -473,7 +475,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
473
475
|
markBusying: (busying?: boolean) => void;
|
|
474
476
|
fetchInitData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
475
477
|
fetchData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
476
|
-
reInitData: (data: object | undefined, replace?: boolean) => void;
|
|
478
|
+
reInitData: (data: object | undefined, replace?: boolean, concatFields?: string | string[] | undefined) => void;
|
|
477
479
|
updateMessage: (msg?: string | undefined, error?: boolean) => void;
|
|
478
480
|
clearMessage: () => void;
|
|
479
481
|
setHasRemoteData: () => void;
|
|
@@ -573,7 +575,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
573
575
|
} & {
|
|
574
576
|
focus: () => void;
|
|
575
577
|
blur: () => void;
|
|
576
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
578
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
579
|
+
name?: string | undefined;
|
|
577
580
|
extraName?: string | undefined;
|
|
578
581
|
required?: boolean | undefined;
|
|
579
582
|
unique?: boolean | undefined;
|
|
@@ -642,7 +645,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
642
645
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
643
646
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
644
647
|
closeDialog: (result?: any) => void;
|
|
645
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
648
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
646
649
|
changeEmitedValue: (value: any) => void;
|
|
647
650
|
addSubFormItem: (item: {
|
|
648
651
|
id: string;
|
|
@@ -1082,7 +1085,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1082
1085
|
} & {
|
|
1083
1086
|
focus: () => void;
|
|
1084
1087
|
blur: () => void;
|
|
1085
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1088
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1089
|
+
name?: string | undefined;
|
|
1086
1090
|
extraName?: string | undefined;
|
|
1087
1091
|
required?: boolean | undefined;
|
|
1088
1092
|
unique?: boolean | undefined;
|
|
@@ -1151,7 +1155,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1151
1155
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1152
1156
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1153
1157
|
closeDialog: (result?: any) => void;
|
|
1154
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1158
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1155
1159
|
changeEmitedValue: (value: any) => void;
|
|
1156
1160
|
addSubFormItem: (item: {
|
|
1157
1161
|
id: string;
|
|
@@ -1595,7 +1599,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1595
1599
|
} & {
|
|
1596
1600
|
focus: () => void;
|
|
1597
1601
|
blur: () => void;
|
|
1598
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1602
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
1603
|
+
name?: string | undefined;
|
|
1599
1604
|
extraName?: string | undefined;
|
|
1600
1605
|
required?: boolean | undefined;
|
|
1601
1606
|
unique?: boolean | undefined;
|
|
@@ -1664,7 +1669,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1664
1669
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1665
1670
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1666
1671
|
closeDialog: (result?: any) => void;
|
|
1667
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
1672
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
1668
1673
|
changeEmitedValue: (value: any) => void;
|
|
1669
1674
|
addSubFormItem: (item: {
|
|
1670
1675
|
id: string;
|
|
@@ -2104,7 +2109,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2104
2109
|
} & {
|
|
2105
2110
|
focus: () => void;
|
|
2106
2111
|
blur: () => void;
|
|
2107
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2112
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2113
|
+
name?: string | undefined;
|
|
2108
2114
|
extraName?: string | undefined;
|
|
2109
2115
|
required?: boolean | undefined;
|
|
2110
2116
|
unique?: boolean | undefined;
|
|
@@ -2173,7 +2179,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2173
2179
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2174
2180
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2175
2181
|
closeDialog: (result?: any) => void;
|
|
2176
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2182
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2177
2183
|
changeEmitedValue: (value: any) => void;
|
|
2178
2184
|
addSubFormItem: (item: {
|
|
2179
2185
|
id: string;
|
|
@@ -2622,7 +2628,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2622
2628
|
} & {
|
|
2623
2629
|
focus: () => void;
|
|
2624
2630
|
blur: () => void;
|
|
2625
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2631
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
2632
|
+
name?: string | undefined;
|
|
2626
2633
|
extraName?: string | undefined;
|
|
2627
2634
|
required?: boolean | undefined;
|
|
2628
2635
|
unique?: boolean | undefined;
|
|
@@ -2691,7 +2698,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2691
2698
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2692
2699
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2693
2700
|
closeDialog: (result?: any) => void;
|
|
2694
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
2701
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
2695
2702
|
changeEmitedValue: (value: any) => void;
|
|
2696
2703
|
addSubFormItem: (item: {
|
|
2697
2704
|
id: string;
|
|
@@ -3131,7 +3138,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3131
3138
|
} & {
|
|
3132
3139
|
focus: () => void;
|
|
3133
3140
|
blur: () => void;
|
|
3134
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3141
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3142
|
+
name?: string | undefined;
|
|
3135
3143
|
extraName?: string | undefined;
|
|
3136
3144
|
required?: boolean | undefined;
|
|
3137
3145
|
unique?: boolean | undefined;
|
|
@@ -3200,7 +3208,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3200
3208
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3201
3209
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3202
3210
|
closeDialog: (result?: any) => void;
|
|
3203
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3211
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3204
3212
|
changeEmitedValue: (value: any) => void;
|
|
3205
3213
|
addSubFormItem: (item: {
|
|
3206
3214
|
id: string;
|
|
@@ -3644,7 +3652,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3644
3652
|
} & {
|
|
3645
3653
|
focus: () => void;
|
|
3646
3654
|
blur: () => void;
|
|
3647
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3655
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
3656
|
+
name?: string | undefined;
|
|
3648
3657
|
extraName?: string | undefined;
|
|
3649
3658
|
required?: boolean | undefined;
|
|
3650
3659
|
unique?: boolean | undefined;
|
|
@@ -3713,7 +3722,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3713
3722
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3714
3723
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3715
3724
|
closeDialog: (result?: any) => void;
|
|
3716
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
3725
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
3717
3726
|
changeEmitedValue: (value: any) => void;
|
|
3718
3727
|
addSubFormItem: (item: {
|
|
3719
3728
|
id: string;
|
|
@@ -4153,7 +4162,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4153
4162
|
} & {
|
|
4154
4163
|
focus: () => void;
|
|
4155
4164
|
blur: () => void;
|
|
4156
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4165
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4166
|
+
name?: string | undefined;
|
|
4157
4167
|
extraName?: string | undefined;
|
|
4158
4168
|
required?: boolean | undefined;
|
|
4159
4169
|
unique?: boolean | undefined;
|
|
@@ -4222,7 +4232,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4222
4232
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4223
4233
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4224
4234
|
closeDialog: (result?: any) => void;
|
|
4225
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4235
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4226
4236
|
changeEmitedValue: (value: any) => void;
|
|
4227
4237
|
addSubFormItem: (item: {
|
|
4228
4238
|
id: string;
|
|
@@ -4666,7 +4676,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4666
4676
|
} & {
|
|
4667
4677
|
focus: () => void;
|
|
4668
4678
|
blur: () => void;
|
|
4669
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4679
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
4680
|
+
name?: string | undefined;
|
|
4670
4681
|
extraName?: string | undefined;
|
|
4671
4682
|
required?: boolean | undefined;
|
|
4672
4683
|
unique?: boolean | undefined;
|
|
@@ -4735,7 +4746,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4735
4746
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4736
4747
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4737
4748
|
closeDialog: (result?: any) => void;
|
|
4738
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
4749
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
4739
4750
|
changeEmitedValue: (value: any) => void;
|
|
4740
4751
|
addSubFormItem: (item: {
|
|
4741
4752
|
id: string;
|
|
@@ -5175,7 +5186,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5175
5186
|
} & {
|
|
5176
5187
|
focus: () => void;
|
|
5177
5188
|
blur: () => void;
|
|
5178
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5189
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5190
|
+
name?: string | undefined;
|
|
5179
5191
|
extraName?: string | undefined;
|
|
5180
5192
|
required?: boolean | undefined;
|
|
5181
5193
|
unique?: boolean | undefined;
|
|
@@ -5244,7 +5256,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5244
5256
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5245
5257
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5246
5258
|
closeDialog: (result?: any) => void;
|
|
5247
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5259
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5248
5260
|
changeEmitedValue: (value: any) => void;
|
|
5249
5261
|
addSubFormItem: (item: {
|
|
5250
5262
|
id: string;
|
|
@@ -5604,7 +5616,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5604
5616
|
readonly persistKey: string;
|
|
5605
5617
|
} & {
|
|
5606
5618
|
setInited: (value: boolean) => void;
|
|
5607
|
-
setValues: (values: object, tag?: object | undefined, replace?: boolean | undefined) => void;
|
|
5619
|
+
setValues: (values: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined) => void;
|
|
5608
5620
|
setValueByName: (name: string, value: any, isPristine?: boolean, force?: boolean) => void;
|
|
5609
5621
|
trimValues: () => void;
|
|
5610
5622
|
submit: (fn?: ((values: object) => Promise<any>) | undefined, hooks?: (() => Promise<any>)[] | undefined, failedMessage?: string | undefined, validateErrCb?: (() => void) | undefined, throwErrors?: boolean | undefined) => Promise<any>;
|
|
@@ -5690,7 +5702,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5690
5702
|
setTopStore(value: any): void;
|
|
5691
5703
|
initData(data?: object, skipSetPristine?: boolean): void;
|
|
5692
5704
|
reset(): void;
|
|
5693
|
-
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined): void;
|
|
5705
|
+
updateData(data?: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined): void;
|
|
5694
5706
|
changeValue(name: string, value: any, changePristine?: boolean | undefined, force?: boolean | undefined, otherModifier?: ((data: Object) => void) | undefined): void;
|
|
5695
5707
|
setCurrentAction(action: object): void;
|
|
5696
5708
|
openDialog(ctx: any, additonal?: object | undefined, callback?: ((ret: any) => void) | undefined, scoped?: import("..").IScopedContext | undefined): void;
|
|
@@ -5707,7 +5719,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5707
5719
|
markBusying: (busying?: boolean) => void;
|
|
5708
5720
|
fetchInitData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
5709
5721
|
fetchData: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
5710
|
-
reInitData: (data: object | undefined, replace?: boolean) => void;
|
|
5722
|
+
reInitData: (data: object | undefined, replace?: boolean, concatFields?: string | string[] | undefined) => void;
|
|
5711
5723
|
updateMessage: (msg?: string | undefined, error?: boolean) => void;
|
|
5712
5724
|
clearMessage: () => void;
|
|
5713
5725
|
setHasRemoteData: () => void;
|
|
@@ -5807,7 +5819,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5807
5819
|
} & {
|
|
5808
5820
|
focus: () => void;
|
|
5809
5821
|
blur: () => void;
|
|
5810
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5822
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5823
|
+
name?: string | undefined;
|
|
5811
5824
|
extraName?: string | undefined;
|
|
5812
5825
|
required?: boolean | undefined;
|
|
5813
5826
|
unique?: boolean | undefined;
|
|
@@ -5876,7 +5889,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5876
5889
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5877
5890
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5878
5891
|
closeDialog: (result?: any) => void;
|
|
5879
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
5892
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
5880
5893
|
changeEmitedValue: (value: any) => void;
|
|
5881
5894
|
addSubFormItem: (item: {
|
|
5882
5895
|
id: string;
|
|
@@ -6316,7 +6329,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6316
6329
|
} & {
|
|
6317
6330
|
focus: () => void;
|
|
6318
6331
|
blur: () => void;
|
|
6319
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6332
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6333
|
+
name?: string | undefined;
|
|
6320
6334
|
extraName?: string | undefined;
|
|
6321
6335
|
required?: boolean | undefined;
|
|
6322
6336
|
unique?: boolean | undefined;
|
|
@@ -6385,7 +6399,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6385
6399
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6386
6400
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6387
6401
|
closeDialog: (result?: any) => void;
|
|
6388
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6402
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6389
6403
|
changeEmitedValue: (value: any) => void;
|
|
6390
6404
|
addSubFormItem: (item: {
|
|
6391
6405
|
id: string;
|
|
@@ -6829,7 +6843,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6829
6843
|
} & {
|
|
6830
6844
|
focus: () => void;
|
|
6831
6845
|
blur: () => void;
|
|
6832
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6846
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
6847
|
+
name?: string | undefined;
|
|
6833
6848
|
extraName?: string | undefined;
|
|
6834
6849
|
required?: boolean | undefined;
|
|
6835
6850
|
unique?: boolean | undefined;
|
|
@@ -6898,7 +6913,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6898
6913
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6899
6914
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6900
6915
|
closeDialog: (result?: any) => void;
|
|
6901
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
6916
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
6902
6917
|
changeEmitedValue: (value: any) => void;
|
|
6903
6918
|
addSubFormItem: (item: {
|
|
6904
6919
|
id: string;
|
|
@@ -7338,7 +7353,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7338
7353
|
} & {
|
|
7339
7354
|
focus: () => void;
|
|
7340
7355
|
blur: () => void;
|
|
7341
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7356
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7357
|
+
name?: string | undefined;
|
|
7342
7358
|
extraName?: string | undefined;
|
|
7343
7359
|
required?: boolean | undefined;
|
|
7344
7360
|
unique?: boolean | undefined;
|
|
@@ -7407,7 +7423,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7407
7423
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7408
7424
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7409
7425
|
closeDialog: (result?: any) => void;
|
|
7410
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7426
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7411
7427
|
changeEmitedValue: (value: any) => void;
|
|
7412
7428
|
addSubFormItem: (item: {
|
|
7413
7429
|
id: string;
|
|
@@ -7856,7 +7872,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7856
7872
|
} & {
|
|
7857
7873
|
focus: () => void;
|
|
7858
7874
|
blur: () => void;
|
|
7859
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7875
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
7876
|
+
name?: string | undefined;
|
|
7860
7877
|
extraName?: string | undefined;
|
|
7861
7878
|
required?: boolean | undefined;
|
|
7862
7879
|
unique?: boolean | undefined;
|
|
@@ -7925,7 +7942,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7925
7942
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7926
7943
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7927
7944
|
closeDialog: (result?: any) => void;
|
|
7928
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
7945
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
7929
7946
|
changeEmitedValue: (value: any) => void;
|
|
7930
7947
|
addSubFormItem: (item: {
|
|
7931
7948
|
id: string;
|
|
@@ -8365,7 +8382,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8365
8382
|
} & {
|
|
8366
8383
|
focus: () => void;
|
|
8367
8384
|
blur: () => void;
|
|
8368
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8385
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8386
|
+
name?: string | undefined;
|
|
8369
8387
|
extraName?: string | undefined;
|
|
8370
8388
|
required?: boolean | undefined;
|
|
8371
8389
|
unique?: boolean | undefined;
|
|
@@ -8434,7 +8452,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8434
8452
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8435
8453
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8436
8454
|
closeDialog: (result?: any) => void;
|
|
8437
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8455
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8438
8456
|
changeEmitedValue: (value: any) => void;
|
|
8439
8457
|
addSubFormItem: (item: {
|
|
8440
8458
|
id: string;
|
|
@@ -8878,7 +8896,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8878
8896
|
} & {
|
|
8879
8897
|
focus: () => void;
|
|
8880
8898
|
blur: () => void;
|
|
8881
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8899
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
8900
|
+
name?: string | undefined;
|
|
8882
8901
|
extraName?: string | undefined;
|
|
8883
8902
|
required?: boolean | undefined;
|
|
8884
8903
|
unique?: boolean | undefined;
|
|
@@ -8947,7 +8966,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8947
8966
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8948
8967
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8949
8968
|
closeDialog: (result?: any) => void;
|
|
8950
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
8969
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
8951
8970
|
changeEmitedValue: (value: any) => void;
|
|
8952
8971
|
addSubFormItem: (item: {
|
|
8953
8972
|
id: string;
|
|
@@ -9387,7 +9406,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9387
9406
|
} & {
|
|
9388
9407
|
focus: () => void;
|
|
9389
9408
|
blur: () => void;
|
|
9390
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9409
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9410
|
+
name?: string | undefined;
|
|
9391
9411
|
extraName?: string | undefined;
|
|
9392
9412
|
required?: boolean | undefined;
|
|
9393
9413
|
unique?: boolean | undefined;
|
|
@@ -9456,7 +9476,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9456
9476
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9457
9477
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9458
9478
|
closeDialog: (result?: any) => void;
|
|
9459
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9479
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9460
9480
|
changeEmitedValue: (value: any) => void;
|
|
9461
9481
|
addSubFormItem: (item: {
|
|
9462
9482
|
id: string;
|
|
@@ -9900,7 +9920,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9900
9920
|
} & {
|
|
9901
9921
|
focus: () => void;
|
|
9902
9922
|
blur: () => void;
|
|
9903
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9923
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
9924
|
+
name?: string | undefined;
|
|
9904
9925
|
extraName?: string | undefined;
|
|
9905
9926
|
required?: boolean | undefined;
|
|
9906
9927
|
unique?: boolean | undefined;
|
|
@@ -9969,7 +9990,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9969
9990
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9970
9991
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9971
9992
|
closeDialog: (result?: any) => void;
|
|
9972
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
9993
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
9973
9994
|
changeEmitedValue: (value: any) => void;
|
|
9974
9995
|
addSubFormItem: (item: {
|
|
9975
9996
|
id: string;
|
|
@@ -10409,7 +10430,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10409
10430
|
} & {
|
|
10410
10431
|
focus: () => void;
|
|
10411
10432
|
blur: () => void;
|
|
10412
|
-
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10433
|
+
config: ({ name, extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
10434
|
+
name?: string | undefined;
|
|
10413
10435
|
extraName?: string | undefined;
|
|
10414
10436
|
required?: boolean | undefined;
|
|
10415
10437
|
unique?: boolean | undefined;
|
|
@@ -10478,7 +10500,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10478
10500
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10479
10501
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
10480
10502
|
closeDialog: (result?: any) => void;
|
|
10481
|
-
changeTmpValue: (value: any, changeReason?: "input" | "
|
|
10503
|
+
changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
|
|
10482
10504
|
changeEmitedValue: (value: any) => void;
|
|
10483
10505
|
addSubFormItem: (item: {
|
|
10484
10506
|
id: string;
|
|
@@ -10838,7 +10860,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10838
10860
|
readonly persistKey: string;
|
|
10839
10861
|
} & {
|
|
10840
10862
|
setInited: (value: boolean) => void;
|
|
10841
|
-
setValues: (values: object, tag?: object | undefined, replace?: boolean | undefined) => void;
|
|
10863
|
+
setValues: (values: object, tag?: object | undefined, replace?: boolean | undefined, concatFields?: string | string[] | undefined) => void;
|
|
10842
10864
|
setValueByName: (name: string, value: any, isPristine?: boolean, force?: boolean) => void;
|
|
10843
10865
|
trimValues: () => void;
|
|
10844
10866
|
submit: (fn?: ((values: object) => Promise<any>) | undefined, hooks?: (() => Promise<any>)[] | undefined, failedMessage?: string | undefined, validateErrCb?: (() => void) | undefined, throwErrors?: boolean | undefined) => Promise<any>;
|