amis-core 3.5.2 → 3.6.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.d.ts +1 -1
- package/esm/RootRenderer.js +2 -2
- package/esm/SchemaRenderer.js +1 -1
- package/esm/Scoped.d.ts +2 -0
- package/esm/Scoped.js +49 -7
- package/esm/StatusScoped.js +1 -1
- package/esm/WithRootStore.js +1 -1
- package/esm/WithStore.js +27 -12
- package/esm/actions/Action.js +30 -22
- package/esm/actions/AjaxAction.js +2 -2
- package/esm/actions/BreakAction.js +1 -1
- package/esm/actions/BroadcastAction.js +1 -1
- package/esm/actions/CmptAction.js +31 -32
- package/esm/actions/ContinueAction.js +1 -1
- package/esm/actions/CopyAction.js +3 -3
- package/esm/actions/CustomAction.js +1 -1
- 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 +5 -5
- 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 +3 -3
- package/esm/components/CustomStyle.js +1 -1
- package/esm/components/ErrorBoundary.d.ts +20 -0
- package/esm/components/ErrorBoundary.js +41 -0
- package/esm/components/LazyComponent.js +1 -1
- package/esm/components/Overlay.js +1 -1
- package/esm/components/PopOver.d.ts +4 -0
- package/esm/components/PopOver.js +66 -3
- package/esm/env.d.ts +9 -0
- package/esm/env.js +1 -1
- package/esm/envOverwrite.d.ts +1 -1
- package/esm/envOverwrite.js +15 -35
- package/esm/factory.js +1 -1
- package/esm/index.d.ts +2 -1
- package/esm/index.js +5 -4
- package/esm/locale.js +1 -1
- package/esm/polyfills.js +1 -1
- package/esm/renderers/Form.d.ts +10 -4
- package/esm/renderers/Form.js +64 -32
- package/esm/renderers/Item.d.ts +54 -0
- package/esm/renderers/Item.js +1 -1
- package/esm/renderers/Options.d.ts +5 -1
- package/esm/renderers/Options.js +11 -9
- 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 +10 -17
- package/esm/store/app.js +1 -1
- package/esm/store/combo.d.ts +1154 -48
- package/esm/store/combo.js +10 -3
- package/esm/store/crud.d.ts +9 -1
- package/esm/store/crud.js +50 -15
- package/esm/store/form.d.ts +480 -20
- package/esm/store/form.js +1 -1
- package/esm/store/formItem.d.ts +23 -1
- package/esm/store/formItem.js +103 -15
- package/esm/store/iRenderer.js +1 -1
- package/esm/store/index.js +1 -1
- package/esm/store/list.js +1 -1
- package/esm/store/manager.js +1 -1
- package/esm/store/modal.js +1 -1
- package/esm/store/node.js +1 -1
- package/esm/store/pagination.js +1 -1
- package/esm/store/root.js +1 -1
- package/esm/store/service.js +1 -1
- package/esm/store/status.js +1 -1
- package/esm/store/table.d.ts +1078 -42
- package/esm/store/table.js +64 -6
- package/esm/store/table2.js +1 -4
- package/esm/theme.js +1 -1
- package/esm/types.d.ts +8 -2
- 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 +3 -1
- package/esm/utils/autobind.js +1 -1
- package/esm/utils/columnsSplit.js +1 -1
- 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.d.ts +2 -1
- package/esm/utils/filter-schema.js +14 -5
- 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 +2 -2
- package/esm/utils/helper.js +37 -29
- package/esm/utils/highlight.js +1 -1
- package/esm/utils/icon.js +1 -1
- package/esm/utils/image.js +1 -1
- 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/makeSorter.js +1 -1
- package/esm/utils/math.js +8 -5
- 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 +15 -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.d.ts +7 -0
- package/esm/utils/renderer-event.js +30 -18
- package/esm/utils/replaceText.js +1 -1
- 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.js +1 -1
- package/esm/utils/stripNumber.js +1 -1
- package/esm/utils/style-helper.js +12 -15
- package/esm/utils/style.js +3 -2
- package/esm/utils/toNumber.js +1 -1
- package/esm/utils/tokenize.js +1 -1
- package/esm/utils/tpl-builtin.js +1 -1
- package/esm/utils/tpl-lodash.js +1 -1
- package/esm/utils/tpl.js +1 -1
- package/esm/utils/uncontrollable.js +1 -1
- package/esm/utils/validations.js +1 -1
- package/lib/Root.js +1 -1
- package/lib/RootRenderer.d.ts +1 -1
- package/lib/RootRenderer.js +2 -2
- package/lib/SchemaRenderer.js +1 -1
- package/lib/Scoped.d.ts +2 -0
- package/lib/Scoped.js +48 -6
- package/lib/StatusScoped.js +1 -1
- package/lib/WithRootStore.js +1 -1
- package/lib/WithStore.js +26 -11
- package/lib/actions/Action.js +29 -21
- package/lib/actions/AjaxAction.js +2 -2
- package/lib/actions/BreakAction.js +1 -1
- package/lib/actions/BroadcastAction.js +1 -1
- package/lib/actions/CmptAction.js +31 -32
- package/lib/actions/ContinueAction.js +1 -1
- package/lib/actions/CopyAction.js +3 -3
- package/lib/actions/CustomAction.js +1 -1
- 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 +5 -5
- 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 +3 -3
- package/lib/components/CustomStyle.js +1 -1
- package/lib/components/ErrorBoundary.d.ts +20 -0
- package/lib/components/ErrorBoundary.js +52 -0
- package/lib/components/LazyComponent.js +1 -1
- package/lib/components/Overlay.js +1 -1
- package/lib/components/PopOver.d.ts +4 -0
- package/lib/components/PopOver.js +64 -1
- package/lib/env.d.ts +9 -0
- package/lib/env.js +1 -1
- package/lib/envOverwrite.d.ts +1 -1
- package/lib/envOverwrite.js +18 -34
- package/lib/factory.js +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.js +6 -3
- package/lib/locale.js +1 -1
- package/lib/polyfills.js +1 -1
- package/lib/renderers/Form.d.ts +10 -4
- package/lib/renderers/Form.js +64 -32
- package/lib/renderers/Item.d.ts +54 -0
- package/lib/renderers/Item.js +1 -1
- package/lib/renderers/Options.d.ts +5 -1
- package/lib/renderers/Options.js +11 -9
- 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 +10 -17
- package/lib/store/app.js +1 -1
- package/lib/store/combo.d.ts +1154 -49
- package/lib/store/combo.js +10 -3
- package/lib/store/crud.d.ts +9 -1
- package/lib/store/crud.js +50 -15
- package/lib/store/form.d.ts +480 -21
- package/lib/store/form.js +1 -1
- package/lib/store/formItem.d.ts +23 -1
- package/lib/store/formItem.js +104 -15
- package/lib/store/iRenderer.js +1 -1
- package/lib/store/index.js +1 -1
- package/lib/store/list.js +1 -1
- package/lib/store/manager.js +1 -1
- package/lib/store/modal.js +1 -1
- package/lib/store/node.js +1 -1
- package/lib/store/pagination.js +1 -1
- package/lib/store/root.js +1 -1
- package/lib/store/service.js +1 -1
- package/lib/store/status.js +1 -1
- package/lib/store/table.d.ts +1078 -43
- package/lib/store/table.js +63 -5
- package/lib/store/table2.js +1 -4
- package/lib/theme.js +1 -1
- package/lib/types.d.ts +8 -2
- 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 +3 -1
- package/lib/utils/autobind.js +1 -1
- package/lib/utils/columnsSplit.js +1 -1
- 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.d.ts +2 -1
- package/lib/utils/filter-schema.js +14 -4
- 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 +2 -2
- package/lib/utils/helper.js +36 -28
- package/lib/utils/highlight.js +1 -1
- package/lib/utils/icon.js +1 -1
- package/lib/utils/image.js +1 -1
- 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/makeSorter.js +1 -1
- package/lib/utils/math.js +8 -5
- 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 +15 -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.d.ts +7 -0
- package/lib/utils/renderer-event.js +30 -18
- package/lib/utils/replaceText.js +1 -1
- 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.js +1 -1
- package/lib/utils/stripNumber.js +1 -1
- package/lib/utils/style-helper.js +12 -15
- package/lib/utils/style.js +3 -2
- package/lib/utils/toNumber.js +1 -1
- package/lib/utils/tokenize.js +1 -1
- package/lib/utils/tpl-builtin.js +1 -1
- package/lib/utils/tpl-lodash.js +1 -1
- package/lib/utils/tpl.js +1 -1
- package/lib/utils/uncontrollable.js +1 -1
- package/lib/utils/validations.js +1 -1
- package/package.json +3 -3
package/esm/store/table.d.ts
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import { SnapshotIn, IAnyModelType, Instance } from 'mobx-state-tree';
|
|
3
3
|
import { IFormStore } from './form';
|
|
4
|
+
export declare enum SELECTED_STATUS {
|
|
5
|
+
ALL = 0,
|
|
6
|
+
PARTIAL = 1,
|
|
7
|
+
NONE = 2
|
|
8
|
+
}
|
|
4
9
|
export declare const Column: import("mobx-state-tree").IModelType<{
|
|
5
10
|
label: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6
11
|
type: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").ISimpleType<string>, [undefined]>;
|
|
@@ -60,7 +65,11 @@ export declare const Row: import("mobx-state-tree").IModelType<{
|
|
|
60
65
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
61
66
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
62
67
|
}, {
|
|
68
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
69
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
63
70
|
readonly expandable: boolean;
|
|
71
|
+
childrenSelected(): SELECTED_STATUS;
|
|
72
|
+
readonly partial: boolean;
|
|
64
73
|
readonly checked: boolean;
|
|
65
74
|
readonly modified: boolean;
|
|
66
75
|
getDataWithModifiedChilden(): any;
|
|
@@ -172,7 +181,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
172
181
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
173
182
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
174
183
|
}, {
|
|
184
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
185
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
175
186
|
readonly expandable: boolean;
|
|
187
|
+
childrenSelected(): SELECTED_STATUS;
|
|
188
|
+
readonly partial: boolean;
|
|
176
189
|
readonly checked: boolean;
|
|
177
190
|
readonly modified: boolean;
|
|
178
191
|
getDataWithModifiedChilden(): any;
|
|
@@ -228,7 +241,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
228
241
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
229
242
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
230
243
|
}, {
|
|
244
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
245
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
231
246
|
readonly expandable: boolean;
|
|
247
|
+
childrenSelected(): SELECTED_STATUS;
|
|
248
|
+
readonly partial: boolean;
|
|
232
249
|
readonly checked: boolean;
|
|
233
250
|
readonly modified: boolean;
|
|
234
251
|
getDataWithModifiedChilden(): any;
|
|
@@ -288,6 +305,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
288
305
|
searchFormExpanded: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
289
306
|
lazyRenderAfter: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
290
307
|
tableLayout: import("mobx-state-tree").IType<string | undefined, string, string>;
|
|
308
|
+
theadHeight: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
291
309
|
}, {
|
|
292
310
|
readonly parentStore: any;
|
|
293
311
|
readonly __: any;
|
|
@@ -507,6 +525,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
507
525
|
joinValues: boolean;
|
|
508
526
|
extractValue: boolean;
|
|
509
527
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
528
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
510
529
|
expressionsInOptions: boolean;
|
|
511
530
|
selectFirst: boolean;
|
|
512
531
|
autoFill: any;
|
|
@@ -522,6 +541,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
522
541
|
inputGroupControl: any;
|
|
523
542
|
colIndex: any;
|
|
524
543
|
rowIndex: any;
|
|
544
|
+
pagination: any;
|
|
545
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
525
546
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
526
547
|
readonly parentStore: any;
|
|
527
548
|
readonly __: any;
|
|
@@ -542,13 +563,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
542
563
|
readonly valid: boolean;
|
|
543
564
|
readonly errClassNames: string;
|
|
544
565
|
readonly lastSelectValue: string;
|
|
566
|
+
readonly enableSourcePagination: boolean;
|
|
567
|
+
readonly sourcePageNum: number;
|
|
568
|
+
readonly sourcePerPageNum: number;
|
|
569
|
+
readonly sourceTotalNum: number;
|
|
545
570
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
546
571
|
splitExtraValue(value: any): any[];
|
|
547
572
|
getMergedData(data: any): any;
|
|
548
573
|
} & {
|
|
549
574
|
focus: () => void;
|
|
550
575
|
blur: () => void;
|
|
551
|
-
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 }: {
|
|
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 }: {
|
|
552
577
|
extraName?: string | undefined;
|
|
553
578
|
required?: boolean | undefined;
|
|
554
579
|
unique?: boolean | undefined;
|
|
@@ -581,6 +606,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
581
606
|
name: string;
|
|
582
607
|
path: string;
|
|
583
608
|
} | undefined;
|
|
609
|
+
pagination?: {
|
|
610
|
+
enable?: boolean | undefined;
|
|
611
|
+
page?: number | undefined;
|
|
612
|
+
perPage?: number | undefined;
|
|
613
|
+
} | undefined;
|
|
584
614
|
}) => void;
|
|
585
615
|
validate: (data: Object, hook?: any, customRules?: {
|
|
586
616
|
[propName: string]: any;
|
|
@@ -591,10 +621,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
591
621
|
rule: string;
|
|
592
622
|
})[], tag?: string) => void;
|
|
593
623
|
clearError: (tag?: string | undefined) => void;
|
|
624
|
+
setPagination: (params: {
|
|
625
|
+
page?: number | undefined;
|
|
626
|
+
perPage?: number | undefined;
|
|
627
|
+
total?: number | undefined;
|
|
628
|
+
}) => void;
|
|
594
629
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
595
630
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
596
631
|
extendsOptions?: boolean | undefined;
|
|
597
632
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
633
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
598
634
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
599
635
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
600
636
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -606,7 +642,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
606
642
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
607
643
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
608
644
|
closeDialog: (result?: any) => void;
|
|
609
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
645
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
610
646
|
changeEmitedValue: (value: any) => void;
|
|
611
647
|
addSubFormItem: (item: {
|
|
612
648
|
id: string;
|
|
@@ -651,6 +687,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
651
687
|
joinValues: boolean;
|
|
652
688
|
extractValue: boolean;
|
|
653
689
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
690
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
654
691
|
expressionsInOptions: boolean;
|
|
655
692
|
selectFirst: boolean;
|
|
656
693
|
autoFill: any;
|
|
@@ -666,6 +703,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
666
703
|
inputGroupControl: any;
|
|
667
704
|
colIndex: any;
|
|
668
705
|
rowIndex: any;
|
|
706
|
+
pagination: any;
|
|
707
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
669
708
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
670
709
|
readonly parentStore: any;
|
|
671
710
|
readonly __: any;
|
|
@@ -686,6 +725,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
686
725
|
readonly valid: boolean;
|
|
687
726
|
readonly errClassNames: string;
|
|
688
727
|
readonly lastSelectValue: string;
|
|
728
|
+
readonly enableSourcePagination: boolean;
|
|
729
|
+
readonly sourcePageNum: number;
|
|
730
|
+
readonly sourcePerPageNum: number;
|
|
731
|
+
readonly sourceTotalNum: number;
|
|
689
732
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
690
733
|
splitExtraValue(value: any): any[];
|
|
691
734
|
getMergedData(data: any): any;
|
|
@@ -729,6 +772,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
729
772
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
730
773
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
731
774
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
775
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
732
776
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
733
777
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
734
778
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -744,6 +788,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
744
788
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
745
789
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
746
790
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
791
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
792
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
747
793
|
}, {
|
|
748
794
|
readonly parentStore: any;
|
|
749
795
|
readonly __: any;
|
|
@@ -764,6 +810,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
764
810
|
readonly valid: boolean;
|
|
765
811
|
readonly errClassNames: string;
|
|
766
812
|
readonly lastSelectValue: string;
|
|
813
|
+
readonly enableSourcePagination: boolean;
|
|
814
|
+
readonly sourcePageNum: number;
|
|
815
|
+
readonly sourcePerPageNum: number;
|
|
816
|
+
readonly sourceTotalNum: number;
|
|
767
817
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
768
818
|
splitExtraValue(value: any): any[];
|
|
769
819
|
getMergedData(data: any): any;
|
|
@@ -811,6 +861,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
811
861
|
joinValues: boolean;
|
|
812
862
|
extractValue: boolean;
|
|
813
863
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
864
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
814
865
|
expressionsInOptions: boolean;
|
|
815
866
|
selectFirst: boolean;
|
|
816
867
|
autoFill: any;
|
|
@@ -826,6 +877,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
826
877
|
inputGroupControl: any;
|
|
827
878
|
colIndex: any;
|
|
828
879
|
rowIndex: any;
|
|
880
|
+
pagination: any;
|
|
881
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
829
882
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
830
883
|
readonly parentStore: any;
|
|
831
884
|
readonly __: any;
|
|
@@ -846,6 +899,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
846
899
|
readonly valid: boolean;
|
|
847
900
|
readonly errClassNames: string;
|
|
848
901
|
readonly lastSelectValue: string;
|
|
902
|
+
readonly enableSourcePagination: boolean;
|
|
903
|
+
readonly sourcePageNum: number;
|
|
904
|
+
readonly sourcePerPageNum: number;
|
|
905
|
+
readonly sourceTotalNum: number;
|
|
849
906
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
850
907
|
splitExtraValue(value: any): any[];
|
|
851
908
|
getMergedData(data: any): any;
|
|
@@ -889,6 +946,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
889
946
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
890
947
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
891
948
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
949
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
892
950
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
893
951
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
894
952
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -904,6 +962,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
904
962
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
905
963
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
906
964
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
965
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
966
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
907
967
|
}, {
|
|
908
968
|
readonly parentStore: any;
|
|
909
969
|
readonly __: any;
|
|
@@ -924,6 +984,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
924
984
|
readonly valid: boolean;
|
|
925
985
|
readonly errClassNames: string;
|
|
926
986
|
readonly lastSelectValue: string;
|
|
987
|
+
readonly enableSourcePagination: boolean;
|
|
988
|
+
readonly sourcePageNum: number;
|
|
989
|
+
readonly sourcePerPageNum: number;
|
|
990
|
+
readonly sourceTotalNum: number;
|
|
927
991
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
928
992
|
splitExtraValue(value: any): any[];
|
|
929
993
|
getMergedData(data: any): any;
|
|
@@ -970,6 +1034,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
970
1034
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
971
1035
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
972
1036
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1037
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
973
1038
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
974
1039
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
975
1040
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -985,6 +1050,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
985
1050
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
986
1051
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
987
1052
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1053
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1054
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
988
1055
|
}, {
|
|
989
1056
|
readonly parentStore: any;
|
|
990
1057
|
readonly __: any;
|
|
@@ -1005,13 +1072,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1005
1072
|
readonly valid: boolean;
|
|
1006
1073
|
readonly errClassNames: string;
|
|
1007
1074
|
readonly lastSelectValue: string;
|
|
1075
|
+
readonly enableSourcePagination: boolean;
|
|
1076
|
+
readonly sourcePageNum: number;
|
|
1077
|
+
readonly sourcePerPageNum: number;
|
|
1078
|
+
readonly sourceTotalNum: number;
|
|
1008
1079
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1009
1080
|
splitExtraValue(value: any): any[];
|
|
1010
1081
|
getMergedData(data: any): any;
|
|
1011
1082
|
} & {
|
|
1012
1083
|
focus: () => void;
|
|
1013
1084
|
blur: () => void;
|
|
1014
|
-
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 }: {
|
|
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 }: {
|
|
1015
1086
|
extraName?: string | undefined;
|
|
1016
1087
|
required?: boolean | undefined;
|
|
1017
1088
|
unique?: boolean | undefined;
|
|
@@ -1044,6 +1115,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1044
1115
|
name: string;
|
|
1045
1116
|
path: string;
|
|
1046
1117
|
} | undefined;
|
|
1118
|
+
pagination?: {
|
|
1119
|
+
enable?: boolean | undefined;
|
|
1120
|
+
page?: number | undefined;
|
|
1121
|
+
perPage?: number | undefined;
|
|
1122
|
+
} | undefined;
|
|
1047
1123
|
}) => void;
|
|
1048
1124
|
validate: (data: Object, hook?: any, customRules?: {
|
|
1049
1125
|
[propName: string]: any;
|
|
@@ -1054,10 +1130,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1054
1130
|
rule: string;
|
|
1055
1131
|
})[], tag?: string) => void;
|
|
1056
1132
|
clearError: (tag?: string | undefined) => void;
|
|
1133
|
+
setPagination: (params: {
|
|
1134
|
+
page?: number | undefined;
|
|
1135
|
+
perPage?: number | undefined;
|
|
1136
|
+
total?: number | undefined;
|
|
1137
|
+
}) => void;
|
|
1057
1138
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
1058
1139
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1059
1140
|
extendsOptions?: boolean | undefined;
|
|
1060
1141
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1142
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1061
1143
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1062
1144
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1063
1145
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1069,7 +1151,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1069
1151
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1070
1152
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1071
1153
|
closeDialog: (result?: any) => void;
|
|
1072
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
1154
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1073
1155
|
changeEmitedValue: (value: any) => void;
|
|
1074
1156
|
addSubFormItem: (item: {
|
|
1075
1157
|
id: string;
|
|
@@ -1114,6 +1196,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1114
1196
|
joinValues: boolean;
|
|
1115
1197
|
extractValue: boolean;
|
|
1116
1198
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1199
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1117
1200
|
expressionsInOptions: boolean;
|
|
1118
1201
|
selectFirst: boolean;
|
|
1119
1202
|
autoFill: any;
|
|
@@ -1129,6 +1212,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1129
1212
|
inputGroupControl: any;
|
|
1130
1213
|
colIndex: any;
|
|
1131
1214
|
rowIndex: any;
|
|
1215
|
+
pagination: any;
|
|
1216
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1132
1217
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1133
1218
|
readonly parentStore: any;
|
|
1134
1219
|
readonly __: any;
|
|
@@ -1149,6 +1234,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1149
1234
|
readonly valid: boolean;
|
|
1150
1235
|
readonly errClassNames: string;
|
|
1151
1236
|
readonly lastSelectValue: string;
|
|
1237
|
+
readonly enableSourcePagination: boolean;
|
|
1238
|
+
readonly sourcePageNum: number;
|
|
1239
|
+
readonly sourcePerPageNum: number;
|
|
1240
|
+
readonly sourceTotalNum: number;
|
|
1152
1241
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1153
1242
|
splitExtraValue(value: any): any[];
|
|
1154
1243
|
getMergedData(data: any): any;
|
|
@@ -1192,6 +1281,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1192
1281
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1193
1282
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1194
1283
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1284
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1195
1285
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1196
1286
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1197
1287
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1207,6 +1297,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1207
1297
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1208
1298
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1209
1299
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1300
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1301
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1210
1302
|
}, {
|
|
1211
1303
|
readonly parentStore: any;
|
|
1212
1304
|
readonly __: any;
|
|
@@ -1227,6 +1319,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1227
1319
|
readonly valid: boolean;
|
|
1228
1320
|
readonly errClassNames: string;
|
|
1229
1321
|
readonly lastSelectValue: string;
|
|
1322
|
+
readonly enableSourcePagination: boolean;
|
|
1323
|
+
readonly sourcePageNum: number;
|
|
1324
|
+
readonly sourcePerPageNum: number;
|
|
1325
|
+
readonly sourceTotalNum: number;
|
|
1230
1326
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1231
1327
|
splitExtraValue(value: any): any[];
|
|
1232
1328
|
getMergedData(data: any): any;
|
|
@@ -1274,6 +1370,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1274
1370
|
joinValues: boolean;
|
|
1275
1371
|
extractValue: boolean;
|
|
1276
1372
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1373
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1277
1374
|
expressionsInOptions: boolean;
|
|
1278
1375
|
selectFirst: boolean;
|
|
1279
1376
|
autoFill: any;
|
|
@@ -1289,6 +1386,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1289
1386
|
inputGroupControl: any;
|
|
1290
1387
|
colIndex: any;
|
|
1291
1388
|
rowIndex: any;
|
|
1389
|
+
pagination: any;
|
|
1390
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1292
1391
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1293
1392
|
readonly parentStore: any;
|
|
1294
1393
|
readonly __: any;
|
|
@@ -1309,6 +1408,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1309
1408
|
readonly valid: boolean;
|
|
1310
1409
|
readonly errClassNames: string;
|
|
1311
1410
|
readonly lastSelectValue: string;
|
|
1411
|
+
readonly enableSourcePagination: boolean;
|
|
1412
|
+
readonly sourcePageNum: number;
|
|
1413
|
+
readonly sourcePerPageNum: number;
|
|
1414
|
+
readonly sourceTotalNum: number;
|
|
1312
1415
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1313
1416
|
splitExtraValue(value: any): any[];
|
|
1314
1417
|
getMergedData(data: any): any;
|
|
@@ -1352,6 +1455,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1352
1455
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1353
1456
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1354
1457
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1458
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1355
1459
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1356
1460
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1357
1461
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1367,6 +1471,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1367
1471
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1368
1472
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1369
1473
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1474
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1475
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1370
1476
|
}, {
|
|
1371
1477
|
readonly parentStore: any;
|
|
1372
1478
|
readonly __: any;
|
|
@@ -1387,6 +1493,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1387
1493
|
readonly valid: boolean;
|
|
1388
1494
|
readonly errClassNames: string;
|
|
1389
1495
|
readonly lastSelectValue: string;
|
|
1496
|
+
readonly enableSourcePagination: boolean;
|
|
1497
|
+
readonly sourcePageNum: number;
|
|
1498
|
+
readonly sourcePerPageNum: number;
|
|
1499
|
+
readonly sourceTotalNum: number;
|
|
1390
1500
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1391
1501
|
splitExtraValue(value: any): any[];
|
|
1392
1502
|
getMergedData(data: any): any;
|
|
@@ -1437,6 +1547,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1437
1547
|
joinValues: boolean;
|
|
1438
1548
|
extractValue: boolean;
|
|
1439
1549
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1550
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1440
1551
|
expressionsInOptions: boolean;
|
|
1441
1552
|
selectFirst: boolean;
|
|
1442
1553
|
autoFill: any;
|
|
@@ -1452,6 +1563,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1452
1563
|
inputGroupControl: any;
|
|
1453
1564
|
colIndex: any;
|
|
1454
1565
|
rowIndex: any;
|
|
1566
|
+
pagination: any;
|
|
1567
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1455
1568
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1456
1569
|
readonly parentStore: any;
|
|
1457
1570
|
readonly __: any;
|
|
@@ -1472,13 +1585,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1472
1585
|
readonly valid: boolean;
|
|
1473
1586
|
readonly errClassNames: string;
|
|
1474
1587
|
readonly lastSelectValue: string;
|
|
1588
|
+
readonly enableSourcePagination: boolean;
|
|
1589
|
+
readonly sourcePageNum: number;
|
|
1590
|
+
readonly sourcePerPageNum: number;
|
|
1591
|
+
readonly sourceTotalNum: number;
|
|
1475
1592
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1476
1593
|
splitExtraValue(value: any): any[];
|
|
1477
1594
|
getMergedData(data: any): any;
|
|
1478
1595
|
} & {
|
|
1479
1596
|
focus: () => void;
|
|
1480
1597
|
blur: () => void;
|
|
1481
|
-
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 }: {
|
|
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 }: {
|
|
1482
1599
|
extraName?: string | undefined;
|
|
1483
1600
|
required?: boolean | undefined;
|
|
1484
1601
|
unique?: boolean | undefined;
|
|
@@ -1511,6 +1628,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1511
1628
|
name: string;
|
|
1512
1629
|
path: string;
|
|
1513
1630
|
} | undefined;
|
|
1631
|
+
pagination?: {
|
|
1632
|
+
enable?: boolean | undefined;
|
|
1633
|
+
page?: number | undefined;
|
|
1634
|
+
perPage?: number | undefined;
|
|
1635
|
+
} | undefined;
|
|
1514
1636
|
}) => void;
|
|
1515
1637
|
validate: (data: Object, hook?: any, customRules?: {
|
|
1516
1638
|
[propName: string]: any;
|
|
@@ -1521,10 +1643,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1521
1643
|
rule: string;
|
|
1522
1644
|
})[], tag?: string) => void;
|
|
1523
1645
|
clearError: (tag?: string | undefined) => void;
|
|
1646
|
+
setPagination: (params: {
|
|
1647
|
+
page?: number | undefined;
|
|
1648
|
+
perPage?: number | undefined;
|
|
1649
|
+
total?: number | undefined;
|
|
1650
|
+
}) => void;
|
|
1524
1651
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
1525
1652
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1526
1653
|
extendsOptions?: boolean | undefined;
|
|
1527
1654
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1655
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1528
1656
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1529
1657
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1530
1658
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1536,7 +1664,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1536
1664
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1537
1665
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1538
1666
|
closeDialog: (result?: any) => void;
|
|
1539
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
1667
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1540
1668
|
changeEmitedValue: (value: any) => void;
|
|
1541
1669
|
addSubFormItem: (item: {
|
|
1542
1670
|
id: string;
|
|
@@ -1581,6 +1709,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1581
1709
|
joinValues: boolean;
|
|
1582
1710
|
extractValue: boolean;
|
|
1583
1711
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1712
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1584
1713
|
expressionsInOptions: boolean;
|
|
1585
1714
|
selectFirst: boolean;
|
|
1586
1715
|
autoFill: any;
|
|
@@ -1596,6 +1725,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1596
1725
|
inputGroupControl: any;
|
|
1597
1726
|
colIndex: any;
|
|
1598
1727
|
rowIndex: any;
|
|
1728
|
+
pagination: any;
|
|
1729
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1599
1730
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1600
1731
|
readonly parentStore: any;
|
|
1601
1732
|
readonly __: any;
|
|
@@ -1616,6 +1747,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1616
1747
|
readonly valid: boolean;
|
|
1617
1748
|
readonly errClassNames: string;
|
|
1618
1749
|
readonly lastSelectValue: string;
|
|
1750
|
+
readonly enableSourcePagination: boolean;
|
|
1751
|
+
readonly sourcePageNum: number;
|
|
1752
|
+
readonly sourcePerPageNum: number;
|
|
1753
|
+
readonly sourceTotalNum: number;
|
|
1619
1754
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1620
1755
|
splitExtraValue(value: any): any[];
|
|
1621
1756
|
getMergedData(data: any): any;
|
|
@@ -1659,6 +1794,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1659
1794
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1660
1795
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1661
1796
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1797
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1662
1798
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1663
1799
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1664
1800
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1674,6 +1810,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1674
1810
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1675
1811
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1676
1812
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1813
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1814
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1677
1815
|
}, {
|
|
1678
1816
|
readonly parentStore: any;
|
|
1679
1817
|
readonly __: any;
|
|
@@ -1694,6 +1832,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1694
1832
|
readonly valid: boolean;
|
|
1695
1833
|
readonly errClassNames: string;
|
|
1696
1834
|
readonly lastSelectValue: string;
|
|
1835
|
+
readonly enableSourcePagination: boolean;
|
|
1836
|
+
readonly sourcePageNum: number;
|
|
1837
|
+
readonly sourcePerPageNum: number;
|
|
1838
|
+
readonly sourceTotalNum: number;
|
|
1697
1839
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1698
1840
|
splitExtraValue(value: any): any[];
|
|
1699
1841
|
getMergedData(data: any): any;
|
|
@@ -1741,6 +1883,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1741
1883
|
joinValues: boolean;
|
|
1742
1884
|
extractValue: boolean;
|
|
1743
1885
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1886
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1744
1887
|
expressionsInOptions: boolean;
|
|
1745
1888
|
selectFirst: boolean;
|
|
1746
1889
|
autoFill: any;
|
|
@@ -1756,6 +1899,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1756
1899
|
inputGroupControl: any;
|
|
1757
1900
|
colIndex: any;
|
|
1758
1901
|
rowIndex: any;
|
|
1902
|
+
pagination: any;
|
|
1903
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1759
1904
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1760
1905
|
readonly parentStore: any;
|
|
1761
1906
|
readonly __: any;
|
|
@@ -1776,6 +1921,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1776
1921
|
readonly valid: boolean;
|
|
1777
1922
|
readonly errClassNames: string;
|
|
1778
1923
|
readonly lastSelectValue: string;
|
|
1924
|
+
readonly enableSourcePagination: boolean;
|
|
1925
|
+
readonly sourcePageNum: number;
|
|
1926
|
+
readonly sourcePerPageNum: number;
|
|
1927
|
+
readonly sourceTotalNum: number;
|
|
1779
1928
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1780
1929
|
splitExtraValue(value: any): any[];
|
|
1781
1930
|
getMergedData(data: any): any;
|
|
@@ -1819,6 +1968,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1819
1968
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1820
1969
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1821
1970
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1971
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1822
1972
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1823
1973
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1824
1974
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1834,6 +1984,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1834
1984
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1835
1985
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1836
1986
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1987
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1988
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1837
1989
|
}, {
|
|
1838
1990
|
readonly parentStore: any;
|
|
1839
1991
|
readonly __: any;
|
|
@@ -1854,6 +2006,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1854
2006
|
readonly valid: boolean;
|
|
1855
2007
|
readonly errClassNames: string;
|
|
1856
2008
|
readonly lastSelectValue: string;
|
|
2009
|
+
readonly enableSourcePagination: boolean;
|
|
2010
|
+
readonly sourcePageNum: number;
|
|
2011
|
+
readonly sourcePerPageNum: number;
|
|
2012
|
+
readonly sourceTotalNum: number;
|
|
1857
2013
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1858
2014
|
splitExtraValue(value: any): any[];
|
|
1859
2015
|
getMergedData(data: any): any;
|
|
@@ -1900,6 +2056,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1900
2056
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1901
2057
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1902
2058
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2059
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1903
2060
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1904
2061
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1905
2062
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1915,6 +2072,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1915
2072
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1916
2073
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1917
2074
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2075
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2076
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1918
2077
|
}, {
|
|
1919
2078
|
readonly parentStore: any;
|
|
1920
2079
|
readonly __: any;
|
|
@@ -1935,13 +2094,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1935
2094
|
readonly valid: boolean;
|
|
1936
2095
|
readonly errClassNames: string;
|
|
1937
2096
|
readonly lastSelectValue: string;
|
|
2097
|
+
readonly enableSourcePagination: boolean;
|
|
2098
|
+
readonly sourcePageNum: number;
|
|
2099
|
+
readonly sourcePerPageNum: number;
|
|
2100
|
+
readonly sourceTotalNum: number;
|
|
1938
2101
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1939
2102
|
splitExtraValue(value: any): any[];
|
|
1940
2103
|
getMergedData(data: any): any;
|
|
1941
2104
|
} & {
|
|
1942
2105
|
focus: () => void;
|
|
1943
2106
|
blur: () => void;
|
|
1944
|
-
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 }: {
|
|
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 }: {
|
|
1945
2108
|
extraName?: string | undefined;
|
|
1946
2109
|
required?: boolean | undefined;
|
|
1947
2110
|
unique?: boolean | undefined;
|
|
@@ -1974,6 +2137,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1974
2137
|
name: string;
|
|
1975
2138
|
path: string;
|
|
1976
2139
|
} | undefined;
|
|
2140
|
+
pagination?: {
|
|
2141
|
+
enable?: boolean | undefined;
|
|
2142
|
+
page?: number | undefined;
|
|
2143
|
+
perPage?: number | undefined;
|
|
2144
|
+
} | undefined;
|
|
1977
2145
|
}) => void;
|
|
1978
2146
|
validate: (data: Object, hook?: any, customRules?: {
|
|
1979
2147
|
[propName: string]: any;
|
|
@@ -1984,10 +2152,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1984
2152
|
rule: string;
|
|
1985
2153
|
})[], tag?: string) => void;
|
|
1986
2154
|
clearError: (tag?: string | undefined) => void;
|
|
2155
|
+
setPagination: (params: {
|
|
2156
|
+
page?: number | undefined;
|
|
2157
|
+
perPage?: number | undefined;
|
|
2158
|
+
total?: number | undefined;
|
|
2159
|
+
}) => void;
|
|
1987
2160
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
1988
2161
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1989
2162
|
extendsOptions?: boolean | undefined;
|
|
1990
2163
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2164
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1991
2165
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1992
2166
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1993
2167
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1999,7 +2173,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
1999
2173
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2000
2174
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2001
2175
|
closeDialog: (result?: any) => void;
|
|
2002
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
2176
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2003
2177
|
changeEmitedValue: (value: any) => void;
|
|
2004
2178
|
addSubFormItem: (item: {
|
|
2005
2179
|
id: string;
|
|
@@ -2044,6 +2218,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2044
2218
|
joinValues: boolean;
|
|
2045
2219
|
extractValue: boolean;
|
|
2046
2220
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2221
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2047
2222
|
expressionsInOptions: boolean;
|
|
2048
2223
|
selectFirst: boolean;
|
|
2049
2224
|
autoFill: any;
|
|
@@ -2059,6 +2234,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2059
2234
|
inputGroupControl: any;
|
|
2060
2235
|
colIndex: any;
|
|
2061
2236
|
rowIndex: any;
|
|
2237
|
+
pagination: any;
|
|
2238
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2062
2239
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2063
2240
|
readonly parentStore: any;
|
|
2064
2241
|
readonly __: any;
|
|
@@ -2079,6 +2256,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2079
2256
|
readonly valid: boolean;
|
|
2080
2257
|
readonly errClassNames: string;
|
|
2081
2258
|
readonly lastSelectValue: string;
|
|
2259
|
+
readonly enableSourcePagination: boolean;
|
|
2260
|
+
readonly sourcePageNum: number;
|
|
2261
|
+
readonly sourcePerPageNum: number;
|
|
2262
|
+
readonly sourceTotalNum: number;
|
|
2082
2263
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2083
2264
|
splitExtraValue(value: any): any[];
|
|
2084
2265
|
getMergedData(data: any): any;
|
|
@@ -2122,6 +2303,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2122
2303
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2123
2304
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2124
2305
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2306
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2125
2307
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2126
2308
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2127
2309
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2137,6 +2319,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2137
2319
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2138
2320
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2139
2321
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2322
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2323
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2140
2324
|
}, {
|
|
2141
2325
|
readonly parentStore: any;
|
|
2142
2326
|
readonly __: any;
|
|
@@ -2157,6 +2341,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2157
2341
|
readonly valid: boolean;
|
|
2158
2342
|
readonly errClassNames: string;
|
|
2159
2343
|
readonly lastSelectValue: string;
|
|
2344
|
+
readonly enableSourcePagination: boolean;
|
|
2345
|
+
readonly sourcePageNum: number;
|
|
2346
|
+
readonly sourcePerPageNum: number;
|
|
2347
|
+
readonly sourceTotalNum: number;
|
|
2160
2348
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2161
2349
|
splitExtraValue(value: any): any[];
|
|
2162
2350
|
getMergedData(data: any): any;
|
|
@@ -2204,6 +2392,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2204
2392
|
joinValues: boolean;
|
|
2205
2393
|
extractValue: boolean;
|
|
2206
2394
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2395
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2207
2396
|
expressionsInOptions: boolean;
|
|
2208
2397
|
selectFirst: boolean;
|
|
2209
2398
|
autoFill: any;
|
|
@@ -2219,6 +2408,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2219
2408
|
inputGroupControl: any;
|
|
2220
2409
|
colIndex: any;
|
|
2221
2410
|
rowIndex: any;
|
|
2411
|
+
pagination: any;
|
|
2412
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2222
2413
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2223
2414
|
readonly parentStore: any;
|
|
2224
2415
|
readonly __: any;
|
|
@@ -2239,6 +2430,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2239
2430
|
readonly valid: boolean;
|
|
2240
2431
|
readonly errClassNames: string;
|
|
2241
2432
|
readonly lastSelectValue: string;
|
|
2433
|
+
readonly enableSourcePagination: boolean;
|
|
2434
|
+
readonly sourcePageNum: number;
|
|
2435
|
+
readonly sourcePerPageNum: number;
|
|
2436
|
+
readonly sourceTotalNum: number;
|
|
2242
2437
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2243
2438
|
splitExtraValue(value: any): any[];
|
|
2244
2439
|
getMergedData(data: any): any;
|
|
@@ -2282,6 +2477,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2282
2477
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2283
2478
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2284
2479
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2480
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2285
2481
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2286
2482
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2287
2483
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2297,6 +2493,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2297
2493
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2298
2494
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2299
2495
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2496
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2497
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2300
2498
|
}, {
|
|
2301
2499
|
readonly parentStore: any;
|
|
2302
2500
|
readonly __: any;
|
|
@@ -2317,6 +2515,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2317
2515
|
readonly valid: boolean;
|
|
2318
2516
|
readonly errClassNames: string;
|
|
2319
2517
|
readonly lastSelectValue: string;
|
|
2518
|
+
readonly enableSourcePagination: boolean;
|
|
2519
|
+
readonly sourcePageNum: number;
|
|
2520
|
+
readonly sourcePerPageNum: number;
|
|
2521
|
+
readonly sourceTotalNum: number;
|
|
2320
2522
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2321
2523
|
splitExtraValue(value: any): any[];
|
|
2322
2524
|
getMergedData(data: any): any;
|
|
@@ -2372,6 +2574,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2372
2574
|
joinValues: boolean;
|
|
2373
2575
|
extractValue: boolean;
|
|
2374
2576
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2577
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2375
2578
|
expressionsInOptions: boolean;
|
|
2376
2579
|
selectFirst: boolean;
|
|
2377
2580
|
autoFill: any;
|
|
@@ -2387,6 +2590,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2387
2590
|
inputGroupControl: any;
|
|
2388
2591
|
colIndex: any;
|
|
2389
2592
|
rowIndex: any;
|
|
2593
|
+
pagination: any;
|
|
2594
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2390
2595
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2391
2596
|
readonly parentStore: any;
|
|
2392
2597
|
readonly __: any;
|
|
@@ -2407,13 +2612,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2407
2612
|
readonly valid: boolean;
|
|
2408
2613
|
readonly errClassNames: string;
|
|
2409
2614
|
readonly lastSelectValue: string;
|
|
2615
|
+
readonly enableSourcePagination: boolean;
|
|
2616
|
+
readonly sourcePageNum: number;
|
|
2617
|
+
readonly sourcePerPageNum: number;
|
|
2618
|
+
readonly sourceTotalNum: number;
|
|
2410
2619
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2411
2620
|
splitExtraValue(value: any): any[];
|
|
2412
2621
|
getMergedData(data: any): any;
|
|
2413
2622
|
} & {
|
|
2414
2623
|
focus: () => void;
|
|
2415
2624
|
blur: () => void;
|
|
2416
|
-
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 }: {
|
|
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 }: {
|
|
2417
2626
|
extraName?: string | undefined;
|
|
2418
2627
|
required?: boolean | undefined;
|
|
2419
2628
|
unique?: boolean | undefined;
|
|
@@ -2446,6 +2655,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2446
2655
|
name: string;
|
|
2447
2656
|
path: string;
|
|
2448
2657
|
} | undefined;
|
|
2658
|
+
pagination?: {
|
|
2659
|
+
enable?: boolean | undefined;
|
|
2660
|
+
page?: number | undefined;
|
|
2661
|
+
perPage?: number | undefined;
|
|
2662
|
+
} | undefined;
|
|
2449
2663
|
}) => void;
|
|
2450
2664
|
validate: (data: Object, hook?: any, customRules?: {
|
|
2451
2665
|
[propName: string]: any;
|
|
@@ -2456,10 +2670,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2456
2670
|
rule: string;
|
|
2457
2671
|
})[], tag?: string) => void;
|
|
2458
2672
|
clearError: (tag?: string | undefined) => void;
|
|
2673
|
+
setPagination: (params: {
|
|
2674
|
+
page?: number | undefined;
|
|
2675
|
+
perPage?: number | undefined;
|
|
2676
|
+
total?: number | undefined;
|
|
2677
|
+
}) => void;
|
|
2459
2678
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
2460
2679
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2461
2680
|
extendsOptions?: boolean | undefined;
|
|
2462
2681
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2682
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2463
2683
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2464
2684
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2465
2685
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2471,7 +2691,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2471
2691
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2472
2692
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2473
2693
|
closeDialog: (result?: any) => void;
|
|
2474
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
2694
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2475
2695
|
changeEmitedValue: (value: any) => void;
|
|
2476
2696
|
addSubFormItem: (item: {
|
|
2477
2697
|
id: string;
|
|
@@ -2516,6 +2736,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2516
2736
|
joinValues: boolean;
|
|
2517
2737
|
extractValue: boolean;
|
|
2518
2738
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2739
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2519
2740
|
expressionsInOptions: boolean;
|
|
2520
2741
|
selectFirst: boolean;
|
|
2521
2742
|
autoFill: any;
|
|
@@ -2531,6 +2752,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2531
2752
|
inputGroupControl: any;
|
|
2532
2753
|
colIndex: any;
|
|
2533
2754
|
rowIndex: any;
|
|
2755
|
+
pagination: any;
|
|
2756
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2534
2757
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2535
2758
|
readonly parentStore: any;
|
|
2536
2759
|
readonly __: any;
|
|
@@ -2551,6 +2774,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2551
2774
|
readonly valid: boolean;
|
|
2552
2775
|
readonly errClassNames: string;
|
|
2553
2776
|
readonly lastSelectValue: string;
|
|
2777
|
+
readonly enableSourcePagination: boolean;
|
|
2778
|
+
readonly sourcePageNum: number;
|
|
2779
|
+
readonly sourcePerPageNum: number;
|
|
2780
|
+
readonly sourceTotalNum: number;
|
|
2554
2781
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2555
2782
|
splitExtraValue(value: any): any[];
|
|
2556
2783
|
getMergedData(data: any): any;
|
|
@@ -2594,6 +2821,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2594
2821
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2595
2822
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2596
2823
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2824
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2597
2825
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2598
2826
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2599
2827
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2609,6 +2837,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2609
2837
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2610
2838
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2611
2839
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2840
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2841
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2612
2842
|
}, {
|
|
2613
2843
|
readonly parentStore: any;
|
|
2614
2844
|
readonly __: any;
|
|
@@ -2629,6 +2859,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2629
2859
|
readonly valid: boolean;
|
|
2630
2860
|
readonly errClassNames: string;
|
|
2631
2861
|
readonly lastSelectValue: string;
|
|
2862
|
+
readonly enableSourcePagination: boolean;
|
|
2863
|
+
readonly sourcePageNum: number;
|
|
2864
|
+
readonly sourcePerPageNum: number;
|
|
2865
|
+
readonly sourceTotalNum: number;
|
|
2632
2866
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2633
2867
|
splitExtraValue(value: any): any[];
|
|
2634
2868
|
getMergedData(data: any): any;
|
|
@@ -2676,6 +2910,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2676
2910
|
joinValues: boolean;
|
|
2677
2911
|
extractValue: boolean;
|
|
2678
2912
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2913
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2679
2914
|
expressionsInOptions: boolean;
|
|
2680
2915
|
selectFirst: boolean;
|
|
2681
2916
|
autoFill: any;
|
|
@@ -2691,6 +2926,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2691
2926
|
inputGroupControl: any;
|
|
2692
2927
|
colIndex: any;
|
|
2693
2928
|
rowIndex: any;
|
|
2929
|
+
pagination: any;
|
|
2930
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2694
2931
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2695
2932
|
readonly parentStore: any;
|
|
2696
2933
|
readonly __: any;
|
|
@@ -2711,6 +2948,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2711
2948
|
readonly valid: boolean;
|
|
2712
2949
|
readonly errClassNames: string;
|
|
2713
2950
|
readonly lastSelectValue: string;
|
|
2951
|
+
readonly enableSourcePagination: boolean;
|
|
2952
|
+
readonly sourcePageNum: number;
|
|
2953
|
+
readonly sourcePerPageNum: number;
|
|
2954
|
+
readonly sourceTotalNum: number;
|
|
2714
2955
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2715
2956
|
splitExtraValue(value: any): any[];
|
|
2716
2957
|
getMergedData(data: any): any;
|
|
@@ -2754,6 +2995,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2754
2995
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2755
2996
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2756
2997
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2998
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2757
2999
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2758
3000
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2759
3001
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2769,6 +3011,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2769
3011
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2770
3012
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2771
3013
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3014
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3015
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2772
3016
|
}, {
|
|
2773
3017
|
readonly parentStore: any;
|
|
2774
3018
|
readonly __: any;
|
|
@@ -2789,6 +3033,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2789
3033
|
readonly valid: boolean;
|
|
2790
3034
|
readonly errClassNames: string;
|
|
2791
3035
|
readonly lastSelectValue: string;
|
|
3036
|
+
readonly enableSourcePagination: boolean;
|
|
3037
|
+
readonly sourcePageNum: number;
|
|
3038
|
+
readonly sourcePerPageNum: number;
|
|
3039
|
+
readonly sourceTotalNum: number;
|
|
2792
3040
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2793
3041
|
splitExtraValue(value: any): any[];
|
|
2794
3042
|
getMergedData(data: any): any;
|
|
@@ -2835,6 +3083,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2835
3083
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2836
3084
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2837
3085
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3086
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2838
3087
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2839
3088
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2840
3089
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2850,6 +3099,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2850
3099
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2851
3100
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2852
3101
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3102
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3103
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2853
3104
|
}, {
|
|
2854
3105
|
readonly parentStore: any;
|
|
2855
3106
|
readonly __: any;
|
|
@@ -2870,13 +3121,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2870
3121
|
readonly valid: boolean;
|
|
2871
3122
|
readonly errClassNames: string;
|
|
2872
3123
|
readonly lastSelectValue: string;
|
|
3124
|
+
readonly enableSourcePagination: boolean;
|
|
3125
|
+
readonly sourcePageNum: number;
|
|
3126
|
+
readonly sourcePerPageNum: number;
|
|
3127
|
+
readonly sourceTotalNum: number;
|
|
2873
3128
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2874
3129
|
splitExtraValue(value: any): any[];
|
|
2875
3130
|
getMergedData(data: any): any;
|
|
2876
3131
|
} & {
|
|
2877
3132
|
focus: () => void;
|
|
2878
3133
|
blur: () => void;
|
|
2879
|
-
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 }: {
|
|
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 }: {
|
|
2880
3135
|
extraName?: string | undefined;
|
|
2881
3136
|
required?: boolean | undefined;
|
|
2882
3137
|
unique?: boolean | undefined;
|
|
@@ -2909,6 +3164,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2909
3164
|
name: string;
|
|
2910
3165
|
path: string;
|
|
2911
3166
|
} | undefined;
|
|
3167
|
+
pagination?: {
|
|
3168
|
+
enable?: boolean | undefined;
|
|
3169
|
+
page?: number | undefined;
|
|
3170
|
+
perPage?: number | undefined;
|
|
3171
|
+
} | undefined;
|
|
2912
3172
|
}) => void;
|
|
2913
3173
|
validate: (data: Object, hook?: any, customRules?: {
|
|
2914
3174
|
[propName: string]: any;
|
|
@@ -2919,10 +3179,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2919
3179
|
rule: string;
|
|
2920
3180
|
})[], tag?: string) => void;
|
|
2921
3181
|
clearError: (tag?: string | undefined) => void;
|
|
3182
|
+
setPagination: (params: {
|
|
3183
|
+
page?: number | undefined;
|
|
3184
|
+
perPage?: number | undefined;
|
|
3185
|
+
total?: number | undefined;
|
|
3186
|
+
}) => void;
|
|
2922
3187
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
2923
3188
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2924
3189
|
extendsOptions?: boolean | undefined;
|
|
2925
3190
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3191
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2926
3192
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2927
3193
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2928
3194
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2934,7 +3200,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2934
3200
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2935
3201
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2936
3202
|
closeDialog: (result?: any) => void;
|
|
2937
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
3203
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2938
3204
|
changeEmitedValue: (value: any) => void;
|
|
2939
3205
|
addSubFormItem: (item: {
|
|
2940
3206
|
id: string;
|
|
@@ -2979,6 +3245,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2979
3245
|
joinValues: boolean;
|
|
2980
3246
|
extractValue: boolean;
|
|
2981
3247
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3248
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2982
3249
|
expressionsInOptions: boolean;
|
|
2983
3250
|
selectFirst: boolean;
|
|
2984
3251
|
autoFill: any;
|
|
@@ -2994,6 +3261,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
2994
3261
|
inputGroupControl: any;
|
|
2995
3262
|
colIndex: any;
|
|
2996
3263
|
rowIndex: any;
|
|
3264
|
+
pagination: any;
|
|
3265
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2997
3266
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2998
3267
|
readonly parentStore: any;
|
|
2999
3268
|
readonly __: any;
|
|
@@ -3014,6 +3283,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3014
3283
|
readonly valid: boolean;
|
|
3015
3284
|
readonly errClassNames: string;
|
|
3016
3285
|
readonly lastSelectValue: string;
|
|
3286
|
+
readonly enableSourcePagination: boolean;
|
|
3287
|
+
readonly sourcePageNum: number;
|
|
3288
|
+
readonly sourcePerPageNum: number;
|
|
3289
|
+
readonly sourceTotalNum: number;
|
|
3017
3290
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3018
3291
|
splitExtraValue(value: any): any[];
|
|
3019
3292
|
getMergedData(data: any): any;
|
|
@@ -3057,6 +3330,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3057
3330
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3058
3331
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3059
3332
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3333
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3060
3334
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3061
3335
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3062
3336
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3072,6 +3346,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3072
3346
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3073
3347
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3074
3348
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3349
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3350
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3075
3351
|
}, {
|
|
3076
3352
|
readonly parentStore: any;
|
|
3077
3353
|
readonly __: any;
|
|
@@ -3092,6 +3368,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3092
3368
|
readonly valid: boolean;
|
|
3093
3369
|
readonly errClassNames: string;
|
|
3094
3370
|
readonly lastSelectValue: string;
|
|
3371
|
+
readonly enableSourcePagination: boolean;
|
|
3372
|
+
readonly sourcePageNum: number;
|
|
3373
|
+
readonly sourcePerPageNum: number;
|
|
3374
|
+
readonly sourceTotalNum: number;
|
|
3095
3375
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3096
3376
|
splitExtraValue(value: any): any[];
|
|
3097
3377
|
getMergedData(data: any): any;
|
|
@@ -3139,6 +3419,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3139
3419
|
joinValues: boolean;
|
|
3140
3420
|
extractValue: boolean;
|
|
3141
3421
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3422
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3142
3423
|
expressionsInOptions: boolean;
|
|
3143
3424
|
selectFirst: boolean;
|
|
3144
3425
|
autoFill: any;
|
|
@@ -3154,6 +3435,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3154
3435
|
inputGroupControl: any;
|
|
3155
3436
|
colIndex: any;
|
|
3156
3437
|
rowIndex: any;
|
|
3438
|
+
pagination: any;
|
|
3439
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3157
3440
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3158
3441
|
readonly parentStore: any;
|
|
3159
3442
|
readonly __: any;
|
|
@@ -3174,6 +3457,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3174
3457
|
readonly valid: boolean;
|
|
3175
3458
|
readonly errClassNames: string;
|
|
3176
3459
|
readonly lastSelectValue: string;
|
|
3460
|
+
readonly enableSourcePagination: boolean;
|
|
3461
|
+
readonly sourcePageNum: number;
|
|
3462
|
+
readonly sourcePerPageNum: number;
|
|
3463
|
+
readonly sourceTotalNum: number;
|
|
3177
3464
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3178
3465
|
splitExtraValue(value: any): any[];
|
|
3179
3466
|
getMergedData(data: any): any;
|
|
@@ -3217,6 +3504,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3217
3504
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3218
3505
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3219
3506
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3507
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3220
3508
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3221
3509
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3222
3510
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3232,6 +3520,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3232
3520
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3233
3521
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3234
3522
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3523
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3524
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3235
3525
|
}, {
|
|
3236
3526
|
readonly parentStore: any;
|
|
3237
3527
|
readonly __: any;
|
|
@@ -3252,6 +3542,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3252
3542
|
readonly valid: boolean;
|
|
3253
3543
|
readonly errClassNames: string;
|
|
3254
3544
|
readonly lastSelectValue: string;
|
|
3545
|
+
readonly enableSourcePagination: boolean;
|
|
3546
|
+
readonly sourcePageNum: number;
|
|
3547
|
+
readonly sourcePerPageNum: number;
|
|
3548
|
+
readonly sourceTotalNum: number;
|
|
3255
3549
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3256
3550
|
splitExtraValue(value: any): any[];
|
|
3257
3551
|
getMergedData(data: any): any;
|
|
@@ -3302,6 +3596,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3302
3596
|
joinValues: boolean;
|
|
3303
3597
|
extractValue: boolean;
|
|
3304
3598
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3599
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3305
3600
|
expressionsInOptions: boolean;
|
|
3306
3601
|
selectFirst: boolean;
|
|
3307
3602
|
autoFill: any;
|
|
@@ -3317,6 +3612,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3317
3612
|
inputGroupControl: any;
|
|
3318
3613
|
colIndex: any;
|
|
3319
3614
|
rowIndex: any;
|
|
3615
|
+
pagination: any;
|
|
3616
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3320
3617
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3321
3618
|
readonly parentStore: any;
|
|
3322
3619
|
readonly __: any;
|
|
@@ -3337,13 +3634,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3337
3634
|
readonly valid: boolean;
|
|
3338
3635
|
readonly errClassNames: string;
|
|
3339
3636
|
readonly lastSelectValue: string;
|
|
3637
|
+
readonly enableSourcePagination: boolean;
|
|
3638
|
+
readonly sourcePageNum: number;
|
|
3639
|
+
readonly sourcePerPageNum: number;
|
|
3640
|
+
readonly sourceTotalNum: number;
|
|
3340
3641
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3341
3642
|
splitExtraValue(value: any): any[];
|
|
3342
3643
|
getMergedData(data: any): any;
|
|
3343
3644
|
} & {
|
|
3344
3645
|
focus: () => void;
|
|
3345
3646
|
blur: () => void;
|
|
3346
|
-
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 }: {
|
|
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 }: {
|
|
3347
3648
|
extraName?: string | undefined;
|
|
3348
3649
|
required?: boolean | undefined;
|
|
3349
3650
|
unique?: boolean | undefined;
|
|
@@ -3376,6 +3677,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3376
3677
|
name: string;
|
|
3377
3678
|
path: string;
|
|
3378
3679
|
} | undefined;
|
|
3680
|
+
pagination?: {
|
|
3681
|
+
enable?: boolean | undefined;
|
|
3682
|
+
page?: number | undefined;
|
|
3683
|
+
perPage?: number | undefined;
|
|
3684
|
+
} | undefined;
|
|
3379
3685
|
}) => void;
|
|
3380
3686
|
validate: (data: Object, hook?: any, customRules?: {
|
|
3381
3687
|
[propName: string]: any;
|
|
@@ -3386,10 +3692,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3386
3692
|
rule: string;
|
|
3387
3693
|
})[], tag?: string) => void;
|
|
3388
3694
|
clearError: (tag?: string | undefined) => void;
|
|
3695
|
+
setPagination: (params: {
|
|
3696
|
+
page?: number | undefined;
|
|
3697
|
+
perPage?: number | undefined;
|
|
3698
|
+
total?: number | undefined;
|
|
3699
|
+
}) => void;
|
|
3389
3700
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
3390
3701
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3391
3702
|
extendsOptions?: boolean | undefined;
|
|
3392
3703
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3704
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3393
3705
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3394
3706
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3395
3707
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3401,7 +3713,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3401
3713
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3402
3714
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3403
3715
|
closeDialog: (result?: any) => void;
|
|
3404
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
3716
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3405
3717
|
changeEmitedValue: (value: any) => void;
|
|
3406
3718
|
addSubFormItem: (item: {
|
|
3407
3719
|
id: string;
|
|
@@ -3446,6 +3758,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3446
3758
|
joinValues: boolean;
|
|
3447
3759
|
extractValue: boolean;
|
|
3448
3760
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3761
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3449
3762
|
expressionsInOptions: boolean;
|
|
3450
3763
|
selectFirst: boolean;
|
|
3451
3764
|
autoFill: any;
|
|
@@ -3461,6 +3774,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3461
3774
|
inputGroupControl: any;
|
|
3462
3775
|
colIndex: any;
|
|
3463
3776
|
rowIndex: any;
|
|
3777
|
+
pagination: any;
|
|
3778
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3464
3779
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3465
3780
|
readonly parentStore: any;
|
|
3466
3781
|
readonly __: any;
|
|
@@ -3481,6 +3796,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3481
3796
|
readonly valid: boolean;
|
|
3482
3797
|
readonly errClassNames: string;
|
|
3483
3798
|
readonly lastSelectValue: string;
|
|
3799
|
+
readonly enableSourcePagination: boolean;
|
|
3800
|
+
readonly sourcePageNum: number;
|
|
3801
|
+
readonly sourcePerPageNum: number;
|
|
3802
|
+
readonly sourceTotalNum: number;
|
|
3484
3803
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3485
3804
|
splitExtraValue(value: any): any[];
|
|
3486
3805
|
getMergedData(data: any): any;
|
|
@@ -3524,6 +3843,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3524
3843
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3525
3844
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3526
3845
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3846
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3527
3847
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3528
3848
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3529
3849
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3539,6 +3859,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3539
3859
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3540
3860
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3541
3861
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3862
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3863
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3542
3864
|
}, {
|
|
3543
3865
|
readonly parentStore: any;
|
|
3544
3866
|
readonly __: any;
|
|
@@ -3559,6 +3881,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3559
3881
|
readonly valid: boolean;
|
|
3560
3882
|
readonly errClassNames: string;
|
|
3561
3883
|
readonly lastSelectValue: string;
|
|
3884
|
+
readonly enableSourcePagination: boolean;
|
|
3885
|
+
readonly sourcePageNum: number;
|
|
3886
|
+
readonly sourcePerPageNum: number;
|
|
3887
|
+
readonly sourceTotalNum: number;
|
|
3562
3888
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3563
3889
|
splitExtraValue(value: any): any[];
|
|
3564
3890
|
getMergedData(data: any): any;
|
|
@@ -3606,6 +3932,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3606
3932
|
joinValues: boolean;
|
|
3607
3933
|
extractValue: boolean;
|
|
3608
3934
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3935
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3609
3936
|
expressionsInOptions: boolean;
|
|
3610
3937
|
selectFirst: boolean;
|
|
3611
3938
|
autoFill: any;
|
|
@@ -3621,6 +3948,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3621
3948
|
inputGroupControl: any;
|
|
3622
3949
|
colIndex: any;
|
|
3623
3950
|
rowIndex: any;
|
|
3951
|
+
pagination: any;
|
|
3952
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3624
3953
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3625
3954
|
readonly parentStore: any;
|
|
3626
3955
|
readonly __: any;
|
|
@@ -3641,6 +3970,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3641
3970
|
readonly valid: boolean;
|
|
3642
3971
|
readonly errClassNames: string;
|
|
3643
3972
|
readonly lastSelectValue: string;
|
|
3973
|
+
readonly enableSourcePagination: boolean;
|
|
3974
|
+
readonly sourcePageNum: number;
|
|
3975
|
+
readonly sourcePerPageNum: number;
|
|
3976
|
+
readonly sourceTotalNum: number;
|
|
3644
3977
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3645
3978
|
splitExtraValue(value: any): any[];
|
|
3646
3979
|
getMergedData(data: any): any;
|
|
@@ -3684,6 +4017,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3684
4017
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3685
4018
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3686
4019
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4020
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3687
4021
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3688
4022
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3689
4023
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3699,6 +4033,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3699
4033
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3700
4034
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3701
4035
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4036
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4037
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3702
4038
|
}, {
|
|
3703
4039
|
readonly parentStore: any;
|
|
3704
4040
|
readonly __: any;
|
|
@@ -3719,6 +4055,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3719
4055
|
readonly valid: boolean;
|
|
3720
4056
|
readonly errClassNames: string;
|
|
3721
4057
|
readonly lastSelectValue: string;
|
|
4058
|
+
readonly enableSourcePagination: boolean;
|
|
4059
|
+
readonly sourcePageNum: number;
|
|
4060
|
+
readonly sourcePerPageNum: number;
|
|
4061
|
+
readonly sourceTotalNum: number;
|
|
3722
4062
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3723
4063
|
splitExtraValue(value: any): any[];
|
|
3724
4064
|
getMergedData(data: any): any;
|
|
@@ -3765,6 +4105,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3765
4105
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3766
4106
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3767
4107
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4108
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3768
4109
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3769
4110
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3770
4111
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3780,6 +4121,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3780
4121
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3781
4122
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3782
4123
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4124
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4125
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3783
4126
|
}, {
|
|
3784
4127
|
readonly parentStore: any;
|
|
3785
4128
|
readonly __: any;
|
|
@@ -3800,13 +4143,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3800
4143
|
readonly valid: boolean;
|
|
3801
4144
|
readonly errClassNames: string;
|
|
3802
4145
|
readonly lastSelectValue: string;
|
|
4146
|
+
readonly enableSourcePagination: boolean;
|
|
4147
|
+
readonly sourcePageNum: number;
|
|
4148
|
+
readonly sourcePerPageNum: number;
|
|
4149
|
+
readonly sourceTotalNum: number;
|
|
3803
4150
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3804
4151
|
splitExtraValue(value: any): any[];
|
|
3805
4152
|
getMergedData(data: any): any;
|
|
3806
4153
|
} & {
|
|
3807
4154
|
focus: () => void;
|
|
3808
4155
|
blur: () => void;
|
|
3809
|
-
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 }: {
|
|
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 }: {
|
|
3810
4157
|
extraName?: string | undefined;
|
|
3811
4158
|
required?: boolean | undefined;
|
|
3812
4159
|
unique?: boolean | undefined;
|
|
@@ -3839,6 +4186,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3839
4186
|
name: string;
|
|
3840
4187
|
path: string;
|
|
3841
4188
|
} | undefined;
|
|
4189
|
+
pagination?: {
|
|
4190
|
+
enable?: boolean | undefined;
|
|
4191
|
+
page?: number | undefined;
|
|
4192
|
+
perPage?: number | undefined;
|
|
4193
|
+
} | undefined;
|
|
3842
4194
|
}) => void;
|
|
3843
4195
|
validate: (data: Object, hook?: any, customRules?: {
|
|
3844
4196
|
[propName: string]: any;
|
|
@@ -3849,10 +4201,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3849
4201
|
rule: string;
|
|
3850
4202
|
})[], tag?: string) => void;
|
|
3851
4203
|
clearError: (tag?: string | undefined) => void;
|
|
4204
|
+
setPagination: (params: {
|
|
4205
|
+
page?: number | undefined;
|
|
4206
|
+
perPage?: number | undefined;
|
|
4207
|
+
total?: number | undefined;
|
|
4208
|
+
}) => void;
|
|
3852
4209
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
3853
4210
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3854
4211
|
extendsOptions?: boolean | undefined;
|
|
3855
4212
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4213
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3856
4214
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3857
4215
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3858
4216
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3864,7 +4222,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3864
4222
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3865
4223
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3866
4224
|
closeDialog: (result?: any) => void;
|
|
3867
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
4225
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3868
4226
|
changeEmitedValue: (value: any) => void;
|
|
3869
4227
|
addSubFormItem: (item: {
|
|
3870
4228
|
id: string;
|
|
@@ -3909,6 +4267,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3909
4267
|
joinValues: boolean;
|
|
3910
4268
|
extractValue: boolean;
|
|
3911
4269
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4270
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3912
4271
|
expressionsInOptions: boolean;
|
|
3913
4272
|
selectFirst: boolean;
|
|
3914
4273
|
autoFill: any;
|
|
@@ -3924,6 +4283,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3924
4283
|
inputGroupControl: any;
|
|
3925
4284
|
colIndex: any;
|
|
3926
4285
|
rowIndex: any;
|
|
4286
|
+
pagination: any;
|
|
4287
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3927
4288
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3928
4289
|
readonly parentStore: any;
|
|
3929
4290
|
readonly __: any;
|
|
@@ -3944,6 +4305,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3944
4305
|
readonly valid: boolean;
|
|
3945
4306
|
readonly errClassNames: string;
|
|
3946
4307
|
readonly lastSelectValue: string;
|
|
4308
|
+
readonly enableSourcePagination: boolean;
|
|
4309
|
+
readonly sourcePageNum: number;
|
|
4310
|
+
readonly sourcePerPageNum: number;
|
|
4311
|
+
readonly sourceTotalNum: number;
|
|
3947
4312
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3948
4313
|
splitExtraValue(value: any): any[];
|
|
3949
4314
|
getMergedData(data: any): any;
|
|
@@ -3987,6 +4352,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
3987
4352
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3988
4353
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3989
4354
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4355
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3990
4356
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3991
4357
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3992
4358
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4002,6 +4368,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4002
4368
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4003
4369
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4004
4370
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4371
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4372
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4005
4373
|
}, {
|
|
4006
4374
|
readonly parentStore: any;
|
|
4007
4375
|
readonly __: any;
|
|
@@ -4022,6 +4390,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4022
4390
|
readonly valid: boolean;
|
|
4023
4391
|
readonly errClassNames: string;
|
|
4024
4392
|
readonly lastSelectValue: string;
|
|
4393
|
+
readonly enableSourcePagination: boolean;
|
|
4394
|
+
readonly sourcePageNum: number;
|
|
4395
|
+
readonly sourcePerPageNum: number;
|
|
4396
|
+
readonly sourceTotalNum: number;
|
|
4025
4397
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4026
4398
|
splitExtraValue(value: any): any[];
|
|
4027
4399
|
getMergedData(data: any): any;
|
|
@@ -4069,6 +4441,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4069
4441
|
joinValues: boolean;
|
|
4070
4442
|
extractValue: boolean;
|
|
4071
4443
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4444
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4072
4445
|
expressionsInOptions: boolean;
|
|
4073
4446
|
selectFirst: boolean;
|
|
4074
4447
|
autoFill: any;
|
|
@@ -4084,6 +4457,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4084
4457
|
inputGroupControl: any;
|
|
4085
4458
|
colIndex: any;
|
|
4086
4459
|
rowIndex: any;
|
|
4460
|
+
pagination: any;
|
|
4461
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4087
4462
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4088
4463
|
readonly parentStore: any;
|
|
4089
4464
|
readonly __: any;
|
|
@@ -4104,6 +4479,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4104
4479
|
readonly valid: boolean;
|
|
4105
4480
|
readonly errClassNames: string;
|
|
4106
4481
|
readonly lastSelectValue: string;
|
|
4482
|
+
readonly enableSourcePagination: boolean;
|
|
4483
|
+
readonly sourcePageNum: number;
|
|
4484
|
+
readonly sourcePerPageNum: number;
|
|
4485
|
+
readonly sourceTotalNum: number;
|
|
4107
4486
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4108
4487
|
splitExtraValue(value: any): any[];
|
|
4109
4488
|
getMergedData(data: any): any;
|
|
@@ -4147,6 +4526,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4147
4526
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4148
4527
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4149
4528
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4529
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4150
4530
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4151
4531
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4152
4532
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4162,6 +4542,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4162
4542
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4163
4543
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4164
4544
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4545
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4546
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4165
4547
|
}, {
|
|
4166
4548
|
readonly parentStore: any;
|
|
4167
4549
|
readonly __: any;
|
|
@@ -4182,6 +4564,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4182
4564
|
readonly valid: boolean;
|
|
4183
4565
|
readonly errClassNames: string;
|
|
4184
4566
|
readonly lastSelectValue: string;
|
|
4567
|
+
readonly enableSourcePagination: boolean;
|
|
4568
|
+
readonly sourcePageNum: number;
|
|
4569
|
+
readonly sourcePerPageNum: number;
|
|
4570
|
+
readonly sourceTotalNum: number;
|
|
4185
4571
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4186
4572
|
splitExtraValue(value: any): any[];
|
|
4187
4573
|
getMergedData(data: any): any;
|
|
@@ -4232,6 +4618,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4232
4618
|
joinValues: boolean;
|
|
4233
4619
|
extractValue: boolean;
|
|
4234
4620
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4621
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4235
4622
|
expressionsInOptions: boolean;
|
|
4236
4623
|
selectFirst: boolean;
|
|
4237
4624
|
autoFill: any;
|
|
@@ -4247,6 +4634,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4247
4634
|
inputGroupControl: any;
|
|
4248
4635
|
colIndex: any;
|
|
4249
4636
|
rowIndex: any;
|
|
4637
|
+
pagination: any;
|
|
4638
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4250
4639
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4251
4640
|
readonly parentStore: any;
|
|
4252
4641
|
readonly __: any;
|
|
@@ -4267,13 +4656,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4267
4656
|
readonly valid: boolean;
|
|
4268
4657
|
readonly errClassNames: string;
|
|
4269
4658
|
readonly lastSelectValue: string;
|
|
4659
|
+
readonly enableSourcePagination: boolean;
|
|
4660
|
+
readonly sourcePageNum: number;
|
|
4661
|
+
readonly sourcePerPageNum: number;
|
|
4662
|
+
readonly sourceTotalNum: number;
|
|
4270
4663
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4271
4664
|
splitExtraValue(value: any): any[];
|
|
4272
4665
|
getMergedData(data: any): any;
|
|
4273
4666
|
} & {
|
|
4274
4667
|
focus: () => void;
|
|
4275
4668
|
blur: () => void;
|
|
4276
|
-
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 }: {
|
|
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 }: {
|
|
4277
4670
|
extraName?: string | undefined;
|
|
4278
4671
|
required?: boolean | undefined;
|
|
4279
4672
|
unique?: boolean | undefined;
|
|
@@ -4306,6 +4699,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4306
4699
|
name: string;
|
|
4307
4700
|
path: string;
|
|
4308
4701
|
} | undefined;
|
|
4702
|
+
pagination?: {
|
|
4703
|
+
enable?: boolean | undefined;
|
|
4704
|
+
page?: number | undefined;
|
|
4705
|
+
perPage?: number | undefined;
|
|
4706
|
+
} | undefined;
|
|
4309
4707
|
}) => void;
|
|
4310
4708
|
validate: (data: Object, hook?: any, customRules?: {
|
|
4311
4709
|
[propName: string]: any;
|
|
@@ -4316,10 +4714,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4316
4714
|
rule: string;
|
|
4317
4715
|
})[], tag?: string) => void;
|
|
4318
4716
|
clearError: (tag?: string | undefined) => void;
|
|
4717
|
+
setPagination: (params: {
|
|
4718
|
+
page?: number | undefined;
|
|
4719
|
+
perPage?: number | undefined;
|
|
4720
|
+
total?: number | undefined;
|
|
4721
|
+
}) => void;
|
|
4319
4722
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
4320
4723
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4321
4724
|
extendsOptions?: boolean | undefined;
|
|
4322
4725
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4726
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4323
4727
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4324
4728
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4325
4729
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4331,7 +4735,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4331
4735
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4332
4736
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4333
4737
|
closeDialog: (result?: any) => void;
|
|
4334
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
4738
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4335
4739
|
changeEmitedValue: (value: any) => void;
|
|
4336
4740
|
addSubFormItem: (item: {
|
|
4337
4741
|
id: string;
|
|
@@ -4376,6 +4780,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4376
4780
|
joinValues: boolean;
|
|
4377
4781
|
extractValue: boolean;
|
|
4378
4782
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4783
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4379
4784
|
expressionsInOptions: boolean;
|
|
4380
4785
|
selectFirst: boolean;
|
|
4381
4786
|
autoFill: any;
|
|
@@ -4391,6 +4796,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4391
4796
|
inputGroupControl: any;
|
|
4392
4797
|
colIndex: any;
|
|
4393
4798
|
rowIndex: any;
|
|
4799
|
+
pagination: any;
|
|
4800
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4394
4801
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4395
4802
|
readonly parentStore: any;
|
|
4396
4803
|
readonly __: any;
|
|
@@ -4411,6 +4818,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4411
4818
|
readonly valid: boolean;
|
|
4412
4819
|
readonly errClassNames: string;
|
|
4413
4820
|
readonly lastSelectValue: string;
|
|
4821
|
+
readonly enableSourcePagination: boolean;
|
|
4822
|
+
readonly sourcePageNum: number;
|
|
4823
|
+
readonly sourcePerPageNum: number;
|
|
4824
|
+
readonly sourceTotalNum: number;
|
|
4414
4825
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4415
4826
|
splitExtraValue(value: any): any[];
|
|
4416
4827
|
getMergedData(data: any): any;
|
|
@@ -4454,6 +4865,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4454
4865
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4455
4866
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4456
4867
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4868
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4457
4869
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4458
4870
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4459
4871
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4469,6 +4881,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4469
4881
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4470
4882
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4471
4883
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4884
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4885
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4472
4886
|
}, {
|
|
4473
4887
|
readonly parentStore: any;
|
|
4474
4888
|
readonly __: any;
|
|
@@ -4489,6 +4903,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4489
4903
|
readonly valid: boolean;
|
|
4490
4904
|
readonly errClassNames: string;
|
|
4491
4905
|
readonly lastSelectValue: string;
|
|
4906
|
+
readonly enableSourcePagination: boolean;
|
|
4907
|
+
readonly sourcePageNum: number;
|
|
4908
|
+
readonly sourcePerPageNum: number;
|
|
4909
|
+
readonly sourceTotalNum: number;
|
|
4492
4910
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4493
4911
|
splitExtraValue(value: any): any[];
|
|
4494
4912
|
getMergedData(data: any): any;
|
|
@@ -4536,6 +4954,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4536
4954
|
joinValues: boolean;
|
|
4537
4955
|
extractValue: boolean;
|
|
4538
4956
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4957
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4539
4958
|
expressionsInOptions: boolean;
|
|
4540
4959
|
selectFirst: boolean;
|
|
4541
4960
|
autoFill: any;
|
|
@@ -4551,6 +4970,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4551
4970
|
inputGroupControl: any;
|
|
4552
4971
|
colIndex: any;
|
|
4553
4972
|
rowIndex: any;
|
|
4973
|
+
pagination: any;
|
|
4974
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4554
4975
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4555
4976
|
readonly parentStore: any;
|
|
4556
4977
|
readonly __: any;
|
|
@@ -4571,6 +4992,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4571
4992
|
readonly valid: boolean;
|
|
4572
4993
|
readonly errClassNames: string;
|
|
4573
4994
|
readonly lastSelectValue: string;
|
|
4995
|
+
readonly enableSourcePagination: boolean;
|
|
4996
|
+
readonly sourcePageNum: number;
|
|
4997
|
+
readonly sourcePerPageNum: number;
|
|
4998
|
+
readonly sourceTotalNum: number;
|
|
4574
4999
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4575
5000
|
splitExtraValue(value: any): any[];
|
|
4576
5001
|
getMergedData(data: any): any;
|
|
@@ -4614,6 +5039,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4614
5039
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4615
5040
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4616
5041
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5042
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4617
5043
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4618
5044
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4619
5045
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4629,6 +5055,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4629
5055
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4630
5056
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4631
5057
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5058
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5059
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4632
5060
|
}, {
|
|
4633
5061
|
readonly parentStore: any;
|
|
4634
5062
|
readonly __: any;
|
|
@@ -4649,6 +5077,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4649
5077
|
readonly valid: boolean;
|
|
4650
5078
|
readonly errClassNames: string;
|
|
4651
5079
|
readonly lastSelectValue: string;
|
|
5080
|
+
readonly enableSourcePagination: boolean;
|
|
5081
|
+
readonly sourcePageNum: number;
|
|
5082
|
+
readonly sourcePerPageNum: number;
|
|
5083
|
+
readonly sourceTotalNum: number;
|
|
4652
5084
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4653
5085
|
splitExtraValue(value: any): any[];
|
|
4654
5086
|
getMergedData(data: any): any;
|
|
@@ -4695,6 +5127,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4695
5127
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4696
5128
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4697
5129
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5130
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4698
5131
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4699
5132
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4700
5133
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4710,6 +5143,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4710
5143
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4711
5144
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4712
5145
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5146
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5147
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4713
5148
|
}, {
|
|
4714
5149
|
readonly parentStore: any;
|
|
4715
5150
|
readonly __: any;
|
|
@@ -4730,13 +5165,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4730
5165
|
readonly valid: boolean;
|
|
4731
5166
|
readonly errClassNames: string;
|
|
4732
5167
|
readonly lastSelectValue: string;
|
|
5168
|
+
readonly enableSourcePagination: boolean;
|
|
5169
|
+
readonly sourcePageNum: number;
|
|
5170
|
+
readonly sourcePerPageNum: number;
|
|
5171
|
+
readonly sourceTotalNum: number;
|
|
4733
5172
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4734
5173
|
splitExtraValue(value: any): any[];
|
|
4735
5174
|
getMergedData(data: any): any;
|
|
4736
5175
|
} & {
|
|
4737
5176
|
focus: () => void;
|
|
4738
5177
|
blur: () => void;
|
|
4739
|
-
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 }: {
|
|
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 }: {
|
|
4740
5179
|
extraName?: string | undefined;
|
|
4741
5180
|
required?: boolean | undefined;
|
|
4742
5181
|
unique?: boolean | undefined;
|
|
@@ -4769,6 +5208,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4769
5208
|
name: string;
|
|
4770
5209
|
path: string;
|
|
4771
5210
|
} | undefined;
|
|
5211
|
+
pagination?: {
|
|
5212
|
+
enable?: boolean | undefined;
|
|
5213
|
+
page?: number | undefined;
|
|
5214
|
+
perPage?: number | undefined;
|
|
5215
|
+
} | undefined;
|
|
4772
5216
|
}) => void;
|
|
4773
5217
|
validate: (data: Object, hook?: any, customRules?: {
|
|
4774
5218
|
[propName: string]: any;
|
|
@@ -4779,10 +5223,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4779
5223
|
rule: string;
|
|
4780
5224
|
})[], tag?: string) => void;
|
|
4781
5225
|
clearError: (tag?: string | undefined) => void;
|
|
5226
|
+
setPagination: (params: {
|
|
5227
|
+
page?: number | undefined;
|
|
5228
|
+
perPage?: number | undefined;
|
|
5229
|
+
total?: number | undefined;
|
|
5230
|
+
}) => void;
|
|
4782
5231
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
4783
5232
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4784
5233
|
extendsOptions?: boolean | undefined;
|
|
4785
5234
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
5235
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4786
5236
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4787
5237
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4788
5238
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4794,7 +5244,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4794
5244
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4795
5245
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4796
5246
|
closeDialog: (result?: any) => void;
|
|
4797
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
5247
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4798
5248
|
changeEmitedValue: (value: any) => void;
|
|
4799
5249
|
addSubFormItem: (item: {
|
|
4800
5250
|
id: string;
|
|
@@ -4839,6 +5289,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4839
5289
|
joinValues: boolean;
|
|
4840
5290
|
extractValue: boolean;
|
|
4841
5291
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5292
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4842
5293
|
expressionsInOptions: boolean;
|
|
4843
5294
|
selectFirst: boolean;
|
|
4844
5295
|
autoFill: any;
|
|
@@ -4854,6 +5305,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4854
5305
|
inputGroupControl: any;
|
|
4855
5306
|
colIndex: any;
|
|
4856
5307
|
rowIndex: any;
|
|
5308
|
+
pagination: any;
|
|
5309
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4857
5310
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4858
5311
|
readonly parentStore: any;
|
|
4859
5312
|
readonly __: any;
|
|
@@ -4874,6 +5327,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4874
5327
|
readonly valid: boolean;
|
|
4875
5328
|
readonly errClassNames: string;
|
|
4876
5329
|
readonly lastSelectValue: string;
|
|
5330
|
+
readonly enableSourcePagination: boolean;
|
|
5331
|
+
readonly sourcePageNum: number;
|
|
5332
|
+
readonly sourcePerPageNum: number;
|
|
5333
|
+
readonly sourceTotalNum: number;
|
|
4877
5334
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4878
5335
|
splitExtraValue(value: any): any[];
|
|
4879
5336
|
getMergedData(data: any): any;
|
|
@@ -4917,6 +5374,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4917
5374
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4918
5375
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4919
5376
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5377
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4920
5378
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4921
5379
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4922
5380
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4932,6 +5390,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4932
5390
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4933
5391
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4934
5392
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5393
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5394
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4935
5395
|
}, {
|
|
4936
5396
|
readonly parentStore: any;
|
|
4937
5397
|
readonly __: any;
|
|
@@ -4952,6 +5412,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4952
5412
|
readonly valid: boolean;
|
|
4953
5413
|
readonly errClassNames: string;
|
|
4954
5414
|
readonly lastSelectValue: string;
|
|
5415
|
+
readonly enableSourcePagination: boolean;
|
|
5416
|
+
readonly sourcePageNum: number;
|
|
5417
|
+
readonly sourcePerPageNum: number;
|
|
5418
|
+
readonly sourceTotalNum: number;
|
|
4955
5419
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4956
5420
|
splitExtraValue(value: any): any[];
|
|
4957
5421
|
getMergedData(data: any): any;
|
|
@@ -4999,6 +5463,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
4999
5463
|
joinValues: boolean;
|
|
5000
5464
|
extractValue: boolean;
|
|
5001
5465
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5466
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5002
5467
|
expressionsInOptions: boolean;
|
|
5003
5468
|
selectFirst: boolean;
|
|
5004
5469
|
autoFill: any;
|
|
@@ -5014,6 +5479,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5014
5479
|
inputGroupControl: any;
|
|
5015
5480
|
colIndex: any;
|
|
5016
5481
|
rowIndex: any;
|
|
5482
|
+
pagination: any;
|
|
5483
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5017
5484
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5018
5485
|
readonly parentStore: any;
|
|
5019
5486
|
readonly __: any;
|
|
@@ -5034,6 +5501,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5034
5501
|
readonly valid: boolean;
|
|
5035
5502
|
readonly errClassNames: string;
|
|
5036
5503
|
readonly lastSelectValue: string;
|
|
5504
|
+
readonly enableSourcePagination: boolean;
|
|
5505
|
+
readonly sourcePageNum: number;
|
|
5506
|
+
readonly sourcePerPageNum: number;
|
|
5507
|
+
readonly sourceTotalNum: number;
|
|
5037
5508
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5038
5509
|
splitExtraValue(value: any): any[];
|
|
5039
5510
|
getMergedData(data: any): any;
|
|
@@ -5077,6 +5548,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5077
5548
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5078
5549
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5079
5550
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5551
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5080
5552
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5081
5553
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5082
5554
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5092,6 +5564,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5092
5564
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5093
5565
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5094
5566
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5567
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5568
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5095
5569
|
}, {
|
|
5096
5570
|
readonly parentStore: any;
|
|
5097
5571
|
readonly __: any;
|
|
@@ -5112,6 +5586,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5112
5586
|
readonly valid: boolean;
|
|
5113
5587
|
readonly errClassNames: string;
|
|
5114
5588
|
readonly lastSelectValue: string;
|
|
5589
|
+
readonly enableSourcePagination: boolean;
|
|
5590
|
+
readonly sourcePageNum: number;
|
|
5591
|
+
readonly sourcePerPageNum: number;
|
|
5592
|
+
readonly sourceTotalNum: number;
|
|
5115
5593
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5116
5594
|
splitExtraValue(value: any): any[];
|
|
5117
5595
|
getMergedData(data: any): any;
|
|
@@ -5141,7 +5619,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5141
5619
|
saveRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
5142
5620
|
reset: (cb?: ((data: any) => void) | undefined, resetData?: boolean) => void;
|
|
5143
5621
|
syncOptions: import("lodash").DebouncedFunc<() => void>;
|
|
5144
|
-
setCanAccessSuperData: (value?: boolean) => void;
|
|
5622
|
+
setCanAccessSuperData: (value?: boolean) => void;
|
|
5145
5623
|
deleteValueByName: (name: string) => void;
|
|
5146
5624
|
getLocalPersistData: () => void;
|
|
5147
5625
|
setLocalPersistData: (keys?: string[] | undefined) => void;
|
|
@@ -5281,6 +5759,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5281
5759
|
joinValues: boolean;
|
|
5282
5760
|
extractValue: boolean;
|
|
5283
5761
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5762
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5284
5763
|
expressionsInOptions: boolean;
|
|
5285
5764
|
selectFirst: boolean;
|
|
5286
5765
|
autoFill: any;
|
|
@@ -5296,6 +5775,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5296
5775
|
inputGroupControl: any;
|
|
5297
5776
|
colIndex: any;
|
|
5298
5777
|
rowIndex: any;
|
|
5778
|
+
pagination: any;
|
|
5779
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5299
5780
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5300
5781
|
readonly parentStore: any;
|
|
5301
5782
|
readonly __: any;
|
|
@@ -5316,13 +5797,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5316
5797
|
readonly valid: boolean;
|
|
5317
5798
|
readonly errClassNames: string;
|
|
5318
5799
|
readonly lastSelectValue: string;
|
|
5800
|
+
readonly enableSourcePagination: boolean;
|
|
5801
|
+
readonly sourcePageNum: number;
|
|
5802
|
+
readonly sourcePerPageNum: number;
|
|
5803
|
+
readonly sourceTotalNum: number;
|
|
5319
5804
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5320
5805
|
splitExtraValue(value: any): any[];
|
|
5321
5806
|
getMergedData(data: any): any;
|
|
5322
5807
|
} & {
|
|
5323
5808
|
focus: () => void;
|
|
5324
5809
|
blur: () => void;
|
|
5325
|
-
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 }: {
|
|
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 }: {
|
|
5326
5811
|
extraName?: string | undefined;
|
|
5327
5812
|
required?: boolean | undefined;
|
|
5328
5813
|
unique?: boolean | undefined;
|
|
@@ -5355,6 +5840,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5355
5840
|
name: string;
|
|
5356
5841
|
path: string;
|
|
5357
5842
|
} | undefined;
|
|
5843
|
+
pagination?: {
|
|
5844
|
+
enable?: boolean | undefined;
|
|
5845
|
+
page?: number | undefined;
|
|
5846
|
+
perPage?: number | undefined;
|
|
5847
|
+
} | undefined;
|
|
5358
5848
|
}) => void;
|
|
5359
5849
|
validate: (data: Object, hook?: any, customRules?: {
|
|
5360
5850
|
[propName: string]: any;
|
|
@@ -5365,10 +5855,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5365
5855
|
rule: string;
|
|
5366
5856
|
})[], tag?: string) => void;
|
|
5367
5857
|
clearError: (tag?: string | undefined) => void;
|
|
5858
|
+
setPagination: (params: {
|
|
5859
|
+
page?: number | undefined;
|
|
5860
|
+
perPage?: number | undefined;
|
|
5861
|
+
total?: number | undefined;
|
|
5862
|
+
}) => void;
|
|
5368
5863
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
5369
5864
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
5370
5865
|
extendsOptions?: boolean | undefined;
|
|
5371
5866
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
5867
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
5372
5868
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5373
5869
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5374
5870
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -5380,7 +5876,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5380
5876
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5381
5877
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5382
5878
|
closeDialog: (result?: any) => void;
|
|
5383
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
5879
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5384
5880
|
changeEmitedValue: (value: any) => void;
|
|
5385
5881
|
addSubFormItem: (item: {
|
|
5386
5882
|
id: string;
|
|
@@ -5425,6 +5921,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5425
5921
|
joinValues: boolean;
|
|
5426
5922
|
extractValue: boolean;
|
|
5427
5923
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5924
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5428
5925
|
expressionsInOptions: boolean;
|
|
5429
5926
|
selectFirst: boolean;
|
|
5430
5927
|
autoFill: any;
|
|
@@ -5440,6 +5937,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5440
5937
|
inputGroupControl: any;
|
|
5441
5938
|
colIndex: any;
|
|
5442
5939
|
rowIndex: any;
|
|
5940
|
+
pagination: any;
|
|
5941
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5443
5942
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5444
5943
|
readonly parentStore: any;
|
|
5445
5944
|
readonly __: any;
|
|
@@ -5460,6 +5959,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5460
5959
|
readonly valid: boolean;
|
|
5461
5960
|
readonly errClassNames: string;
|
|
5462
5961
|
readonly lastSelectValue: string;
|
|
5962
|
+
readonly enableSourcePagination: boolean;
|
|
5963
|
+
readonly sourcePageNum: number;
|
|
5964
|
+
readonly sourcePerPageNum: number;
|
|
5965
|
+
readonly sourceTotalNum: number;
|
|
5463
5966
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5464
5967
|
splitExtraValue(value: any): any[];
|
|
5465
5968
|
getMergedData(data: any): any;
|
|
@@ -5503,6 +6006,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5503
6006
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5504
6007
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5505
6008
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6009
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5506
6010
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5507
6011
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5508
6012
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5518,6 +6022,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5518
6022
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5519
6023
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5520
6024
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6025
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6026
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5521
6027
|
}, {
|
|
5522
6028
|
readonly parentStore: any;
|
|
5523
6029
|
readonly __: any;
|
|
@@ -5538,6 +6044,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5538
6044
|
readonly valid: boolean;
|
|
5539
6045
|
readonly errClassNames: string;
|
|
5540
6046
|
readonly lastSelectValue: string;
|
|
6047
|
+
readonly enableSourcePagination: boolean;
|
|
6048
|
+
readonly sourcePageNum: number;
|
|
6049
|
+
readonly sourcePerPageNum: number;
|
|
6050
|
+
readonly sourceTotalNum: number;
|
|
5541
6051
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5542
6052
|
splitExtraValue(value: any): any[];
|
|
5543
6053
|
getMergedData(data: any): any;
|
|
@@ -5585,6 +6095,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5585
6095
|
joinValues: boolean;
|
|
5586
6096
|
extractValue: boolean;
|
|
5587
6097
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6098
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5588
6099
|
expressionsInOptions: boolean;
|
|
5589
6100
|
selectFirst: boolean;
|
|
5590
6101
|
autoFill: any;
|
|
@@ -5600,6 +6111,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5600
6111
|
inputGroupControl: any;
|
|
5601
6112
|
colIndex: any;
|
|
5602
6113
|
rowIndex: any;
|
|
6114
|
+
pagination: any;
|
|
6115
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5603
6116
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5604
6117
|
readonly parentStore: any;
|
|
5605
6118
|
readonly __: any;
|
|
@@ -5620,6 +6133,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5620
6133
|
readonly valid: boolean;
|
|
5621
6134
|
readonly errClassNames: string;
|
|
5622
6135
|
readonly lastSelectValue: string;
|
|
6136
|
+
readonly enableSourcePagination: boolean;
|
|
6137
|
+
readonly sourcePageNum: number;
|
|
6138
|
+
readonly sourcePerPageNum: number;
|
|
6139
|
+
readonly sourceTotalNum: number;
|
|
5623
6140
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5624
6141
|
splitExtraValue(value: any): any[];
|
|
5625
6142
|
getMergedData(data: any): any;
|
|
@@ -5663,6 +6180,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5663
6180
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5664
6181
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5665
6182
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6183
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5666
6184
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5667
6185
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5668
6186
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5678,6 +6196,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5678
6196
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5679
6197
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5680
6198
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6199
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6200
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5681
6201
|
}, {
|
|
5682
6202
|
readonly parentStore: any;
|
|
5683
6203
|
readonly __: any;
|
|
@@ -5698,6 +6218,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5698
6218
|
readonly valid: boolean;
|
|
5699
6219
|
readonly errClassNames: string;
|
|
5700
6220
|
readonly lastSelectValue: string;
|
|
6221
|
+
readonly enableSourcePagination: boolean;
|
|
6222
|
+
readonly sourcePageNum: number;
|
|
6223
|
+
readonly sourcePerPageNum: number;
|
|
6224
|
+
readonly sourceTotalNum: number;
|
|
5701
6225
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5702
6226
|
splitExtraValue(value: any): any[];
|
|
5703
6227
|
getMergedData(data: any): any;
|
|
@@ -5744,6 +6268,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5744
6268
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5745
6269
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5746
6270
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6271
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5747
6272
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5748
6273
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5749
6274
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5759,6 +6284,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5759
6284
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5760
6285
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5761
6286
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6287
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6288
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5762
6289
|
}, {
|
|
5763
6290
|
readonly parentStore: any;
|
|
5764
6291
|
readonly __: any;
|
|
@@ -5779,13 +6306,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5779
6306
|
readonly valid: boolean;
|
|
5780
6307
|
readonly errClassNames: string;
|
|
5781
6308
|
readonly lastSelectValue: string;
|
|
6309
|
+
readonly enableSourcePagination: boolean;
|
|
6310
|
+
readonly sourcePageNum: number;
|
|
6311
|
+
readonly sourcePerPageNum: number;
|
|
6312
|
+
readonly sourceTotalNum: number;
|
|
5782
6313
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5783
6314
|
splitExtraValue(value: any): any[];
|
|
5784
6315
|
getMergedData(data: any): any;
|
|
5785
6316
|
} & {
|
|
5786
6317
|
focus: () => void;
|
|
5787
6318
|
blur: () => void;
|
|
5788
|
-
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 }: {
|
|
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 }: {
|
|
5789
6320
|
extraName?: string | undefined;
|
|
5790
6321
|
required?: boolean | undefined;
|
|
5791
6322
|
unique?: boolean | undefined;
|
|
@@ -5818,6 +6349,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5818
6349
|
name: string;
|
|
5819
6350
|
path: string;
|
|
5820
6351
|
} | undefined;
|
|
6352
|
+
pagination?: {
|
|
6353
|
+
enable?: boolean | undefined;
|
|
6354
|
+
page?: number | undefined;
|
|
6355
|
+
perPage?: number | undefined;
|
|
6356
|
+
} | undefined;
|
|
5821
6357
|
}) => void;
|
|
5822
6358
|
validate: (data: Object, hook?: any, customRules?: {
|
|
5823
6359
|
[propName: string]: any;
|
|
@@ -5828,10 +6364,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5828
6364
|
rule: string;
|
|
5829
6365
|
})[], tag?: string) => void;
|
|
5830
6366
|
clearError: (tag?: string | undefined) => void;
|
|
6367
|
+
setPagination: (params: {
|
|
6368
|
+
page?: number | undefined;
|
|
6369
|
+
perPage?: number | undefined;
|
|
6370
|
+
total?: number | undefined;
|
|
6371
|
+
}) => void;
|
|
5831
6372
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
5832
6373
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
5833
6374
|
extendsOptions?: boolean | undefined;
|
|
5834
6375
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6376
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
5835
6377
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5836
6378
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5837
6379
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -5843,7 +6385,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5843
6385
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5844
6386
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5845
6387
|
closeDialog: (result?: any) => void;
|
|
5846
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
6388
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5847
6389
|
changeEmitedValue: (value: any) => void;
|
|
5848
6390
|
addSubFormItem: (item: {
|
|
5849
6391
|
id: string;
|
|
@@ -5888,6 +6430,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5888
6430
|
joinValues: boolean;
|
|
5889
6431
|
extractValue: boolean;
|
|
5890
6432
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6433
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5891
6434
|
expressionsInOptions: boolean;
|
|
5892
6435
|
selectFirst: boolean;
|
|
5893
6436
|
autoFill: any;
|
|
@@ -5903,6 +6446,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5903
6446
|
inputGroupControl: any;
|
|
5904
6447
|
colIndex: any;
|
|
5905
6448
|
rowIndex: any;
|
|
6449
|
+
pagination: any;
|
|
6450
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5906
6451
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5907
6452
|
readonly parentStore: any;
|
|
5908
6453
|
readonly __: any;
|
|
@@ -5923,6 +6468,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5923
6468
|
readonly valid: boolean;
|
|
5924
6469
|
readonly errClassNames: string;
|
|
5925
6470
|
readonly lastSelectValue: string;
|
|
6471
|
+
readonly enableSourcePagination: boolean;
|
|
6472
|
+
readonly sourcePageNum: number;
|
|
6473
|
+
readonly sourcePerPageNum: number;
|
|
6474
|
+
readonly sourceTotalNum: number;
|
|
5926
6475
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5927
6476
|
splitExtraValue(value: any): any[];
|
|
5928
6477
|
getMergedData(data: any): any;
|
|
@@ -5966,6 +6515,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5966
6515
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5967
6516
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5968
6517
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6518
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5969
6519
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5970
6520
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5971
6521
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5981,6 +6531,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
5981
6531
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5982
6532
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5983
6533
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6534
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6535
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5984
6536
|
}, {
|
|
5985
6537
|
readonly parentStore: any;
|
|
5986
6538
|
readonly __: any;
|
|
@@ -6001,6 +6553,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6001
6553
|
readonly valid: boolean;
|
|
6002
6554
|
readonly errClassNames: string;
|
|
6003
6555
|
readonly lastSelectValue: string;
|
|
6556
|
+
readonly enableSourcePagination: boolean;
|
|
6557
|
+
readonly sourcePageNum: number;
|
|
6558
|
+
readonly sourcePerPageNum: number;
|
|
6559
|
+
readonly sourceTotalNum: number;
|
|
6004
6560
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6005
6561
|
splitExtraValue(value: any): any[];
|
|
6006
6562
|
getMergedData(data: any): any;
|
|
@@ -6048,6 +6604,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6048
6604
|
joinValues: boolean;
|
|
6049
6605
|
extractValue: boolean;
|
|
6050
6606
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6607
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6051
6608
|
expressionsInOptions: boolean;
|
|
6052
6609
|
selectFirst: boolean;
|
|
6053
6610
|
autoFill: any;
|
|
@@ -6063,6 +6620,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6063
6620
|
inputGroupControl: any;
|
|
6064
6621
|
colIndex: any;
|
|
6065
6622
|
rowIndex: any;
|
|
6623
|
+
pagination: any;
|
|
6624
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6066
6625
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6067
6626
|
readonly parentStore: any;
|
|
6068
6627
|
readonly __: any;
|
|
@@ -6083,6 +6642,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6083
6642
|
readonly valid: boolean;
|
|
6084
6643
|
readonly errClassNames: string;
|
|
6085
6644
|
readonly lastSelectValue: string;
|
|
6645
|
+
readonly enableSourcePagination: boolean;
|
|
6646
|
+
readonly sourcePageNum: number;
|
|
6647
|
+
readonly sourcePerPageNum: number;
|
|
6648
|
+
readonly sourceTotalNum: number;
|
|
6086
6649
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6087
6650
|
splitExtraValue(value: any): any[];
|
|
6088
6651
|
getMergedData(data: any): any;
|
|
@@ -6126,6 +6689,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6126
6689
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6127
6690
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6128
6691
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6692
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6129
6693
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6130
6694
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6131
6695
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6141,6 +6705,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6141
6705
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6142
6706
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6143
6707
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6708
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6709
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6144
6710
|
}, {
|
|
6145
6711
|
readonly parentStore: any;
|
|
6146
6712
|
readonly __: any;
|
|
@@ -6161,6 +6727,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6161
6727
|
readonly valid: boolean;
|
|
6162
6728
|
readonly errClassNames: string;
|
|
6163
6729
|
readonly lastSelectValue: string;
|
|
6730
|
+
readonly enableSourcePagination: boolean;
|
|
6731
|
+
readonly sourcePageNum: number;
|
|
6732
|
+
readonly sourcePerPageNum: number;
|
|
6733
|
+
readonly sourceTotalNum: number;
|
|
6164
6734
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6165
6735
|
splitExtraValue(value: any): any[];
|
|
6166
6736
|
getMergedData(data: any): any;
|
|
@@ -6211,6 +6781,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6211
6781
|
joinValues: boolean;
|
|
6212
6782
|
extractValue: boolean;
|
|
6213
6783
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6784
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6214
6785
|
expressionsInOptions: boolean;
|
|
6215
6786
|
selectFirst: boolean;
|
|
6216
6787
|
autoFill: any;
|
|
@@ -6226,6 +6797,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6226
6797
|
inputGroupControl: any;
|
|
6227
6798
|
colIndex: any;
|
|
6228
6799
|
rowIndex: any;
|
|
6800
|
+
pagination: any;
|
|
6801
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6229
6802
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6230
6803
|
readonly parentStore: any;
|
|
6231
6804
|
readonly __: any;
|
|
@@ -6246,13 +6819,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6246
6819
|
readonly valid: boolean;
|
|
6247
6820
|
readonly errClassNames: string;
|
|
6248
6821
|
readonly lastSelectValue: string;
|
|
6822
|
+
readonly enableSourcePagination: boolean;
|
|
6823
|
+
readonly sourcePageNum: number;
|
|
6824
|
+
readonly sourcePerPageNum: number;
|
|
6825
|
+
readonly sourceTotalNum: number;
|
|
6249
6826
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6250
6827
|
splitExtraValue(value: any): any[];
|
|
6251
6828
|
getMergedData(data: any): any;
|
|
6252
6829
|
} & {
|
|
6253
6830
|
focus: () => void;
|
|
6254
6831
|
blur: () => void;
|
|
6255
|
-
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 }: {
|
|
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 }: {
|
|
6256
6833
|
extraName?: string | undefined;
|
|
6257
6834
|
required?: boolean | undefined;
|
|
6258
6835
|
unique?: boolean | undefined;
|
|
@@ -6285,6 +6862,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6285
6862
|
name: string;
|
|
6286
6863
|
path: string;
|
|
6287
6864
|
} | undefined;
|
|
6865
|
+
pagination?: {
|
|
6866
|
+
enable?: boolean | undefined;
|
|
6867
|
+
page?: number | undefined;
|
|
6868
|
+
perPage?: number | undefined;
|
|
6869
|
+
} | undefined;
|
|
6288
6870
|
}) => void;
|
|
6289
6871
|
validate: (data: Object, hook?: any, customRules?: {
|
|
6290
6872
|
[propName: string]: any;
|
|
@@ -6295,10 +6877,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6295
6877
|
rule: string;
|
|
6296
6878
|
})[], tag?: string) => void;
|
|
6297
6879
|
clearError: (tag?: string | undefined) => void;
|
|
6880
|
+
setPagination: (params: {
|
|
6881
|
+
page?: number | undefined;
|
|
6882
|
+
perPage?: number | undefined;
|
|
6883
|
+
total?: number | undefined;
|
|
6884
|
+
}) => void;
|
|
6298
6885
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
6299
6886
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6300
6887
|
extendsOptions?: boolean | undefined;
|
|
6301
6888
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6889
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6302
6890
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6303
6891
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6304
6892
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6310,7 +6898,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6310
6898
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6311
6899
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6312
6900
|
closeDialog: (result?: any) => void;
|
|
6313
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
6901
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6314
6902
|
changeEmitedValue: (value: any) => void;
|
|
6315
6903
|
addSubFormItem: (item: {
|
|
6316
6904
|
id: string;
|
|
@@ -6355,6 +6943,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6355
6943
|
joinValues: boolean;
|
|
6356
6944
|
extractValue: boolean;
|
|
6357
6945
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6946
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6358
6947
|
expressionsInOptions: boolean;
|
|
6359
6948
|
selectFirst: boolean;
|
|
6360
6949
|
autoFill: any;
|
|
@@ -6370,6 +6959,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6370
6959
|
inputGroupControl: any;
|
|
6371
6960
|
colIndex: any;
|
|
6372
6961
|
rowIndex: any;
|
|
6962
|
+
pagination: any;
|
|
6963
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6373
6964
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6374
6965
|
readonly parentStore: any;
|
|
6375
6966
|
readonly __: any;
|
|
@@ -6390,6 +6981,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6390
6981
|
readonly valid: boolean;
|
|
6391
6982
|
readonly errClassNames: string;
|
|
6392
6983
|
readonly lastSelectValue: string;
|
|
6984
|
+
readonly enableSourcePagination: boolean;
|
|
6985
|
+
readonly sourcePageNum: number;
|
|
6986
|
+
readonly sourcePerPageNum: number;
|
|
6987
|
+
readonly sourceTotalNum: number;
|
|
6393
6988
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6394
6989
|
splitExtraValue(value: any): any[];
|
|
6395
6990
|
getMergedData(data: any): any;
|
|
@@ -6433,6 +7028,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6433
7028
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6434
7029
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6435
7030
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7031
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6436
7032
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6437
7033
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6438
7034
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6448,6 +7044,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6448
7044
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6449
7045
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6450
7046
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7047
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7048
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6451
7049
|
}, {
|
|
6452
7050
|
readonly parentStore: any;
|
|
6453
7051
|
readonly __: any;
|
|
@@ -6468,6 +7066,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6468
7066
|
readonly valid: boolean;
|
|
6469
7067
|
readonly errClassNames: string;
|
|
6470
7068
|
readonly lastSelectValue: string;
|
|
7069
|
+
readonly enableSourcePagination: boolean;
|
|
7070
|
+
readonly sourcePageNum: number;
|
|
7071
|
+
readonly sourcePerPageNum: number;
|
|
7072
|
+
readonly sourceTotalNum: number;
|
|
6471
7073
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6472
7074
|
splitExtraValue(value: any): any[];
|
|
6473
7075
|
getMergedData(data: any): any;
|
|
@@ -6515,6 +7117,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6515
7117
|
joinValues: boolean;
|
|
6516
7118
|
extractValue: boolean;
|
|
6517
7119
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7120
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6518
7121
|
expressionsInOptions: boolean;
|
|
6519
7122
|
selectFirst: boolean;
|
|
6520
7123
|
autoFill: any;
|
|
@@ -6530,6 +7133,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6530
7133
|
inputGroupControl: any;
|
|
6531
7134
|
colIndex: any;
|
|
6532
7135
|
rowIndex: any;
|
|
7136
|
+
pagination: any;
|
|
7137
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6533
7138
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6534
7139
|
readonly parentStore: any;
|
|
6535
7140
|
readonly __: any;
|
|
@@ -6550,6 +7155,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6550
7155
|
readonly valid: boolean;
|
|
6551
7156
|
readonly errClassNames: string;
|
|
6552
7157
|
readonly lastSelectValue: string;
|
|
7158
|
+
readonly enableSourcePagination: boolean;
|
|
7159
|
+
readonly sourcePageNum: number;
|
|
7160
|
+
readonly sourcePerPageNum: number;
|
|
7161
|
+
readonly sourceTotalNum: number;
|
|
6553
7162
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6554
7163
|
splitExtraValue(value: any): any[];
|
|
6555
7164
|
getMergedData(data: any): any;
|
|
@@ -6593,6 +7202,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6593
7202
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6594
7203
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6595
7204
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7205
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6596
7206
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6597
7207
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6598
7208
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6608,6 +7218,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6608
7218
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6609
7219
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6610
7220
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7221
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7222
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6611
7223
|
}, {
|
|
6612
7224
|
readonly parentStore: any;
|
|
6613
7225
|
readonly __: any;
|
|
@@ -6628,6 +7240,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6628
7240
|
readonly valid: boolean;
|
|
6629
7241
|
readonly errClassNames: string;
|
|
6630
7242
|
readonly lastSelectValue: string;
|
|
7243
|
+
readonly enableSourcePagination: boolean;
|
|
7244
|
+
readonly sourcePageNum: number;
|
|
7245
|
+
readonly sourcePerPageNum: number;
|
|
7246
|
+
readonly sourceTotalNum: number;
|
|
6631
7247
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6632
7248
|
splitExtraValue(value: any): any[];
|
|
6633
7249
|
getMergedData(data: any): any;
|
|
@@ -6674,6 +7290,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6674
7290
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6675
7291
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6676
7292
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7293
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6677
7294
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6678
7295
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6679
7296
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6689,6 +7306,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6689
7306
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6690
7307
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6691
7308
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7309
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7310
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6692
7311
|
}, {
|
|
6693
7312
|
readonly parentStore: any;
|
|
6694
7313
|
readonly __: any;
|
|
@@ -6709,13 +7328,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6709
7328
|
readonly valid: boolean;
|
|
6710
7329
|
readonly errClassNames: string;
|
|
6711
7330
|
readonly lastSelectValue: string;
|
|
7331
|
+
readonly enableSourcePagination: boolean;
|
|
7332
|
+
readonly sourcePageNum: number;
|
|
7333
|
+
readonly sourcePerPageNum: number;
|
|
7334
|
+
readonly sourceTotalNum: number;
|
|
6712
7335
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6713
7336
|
splitExtraValue(value: any): any[];
|
|
6714
7337
|
getMergedData(data: any): any;
|
|
6715
7338
|
} & {
|
|
6716
7339
|
focus: () => void;
|
|
6717
7340
|
blur: () => void;
|
|
6718
|
-
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 }: {
|
|
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 }: {
|
|
6719
7342
|
extraName?: string | undefined;
|
|
6720
7343
|
required?: boolean | undefined;
|
|
6721
7344
|
unique?: boolean | undefined;
|
|
@@ -6748,6 +7371,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6748
7371
|
name: string;
|
|
6749
7372
|
path: string;
|
|
6750
7373
|
} | undefined;
|
|
7374
|
+
pagination?: {
|
|
7375
|
+
enable?: boolean | undefined;
|
|
7376
|
+
page?: number | undefined;
|
|
7377
|
+
perPage?: number | undefined;
|
|
7378
|
+
} | undefined;
|
|
6751
7379
|
}) => void;
|
|
6752
7380
|
validate: (data: Object, hook?: any, customRules?: {
|
|
6753
7381
|
[propName: string]: any;
|
|
@@ -6758,10 +7386,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6758
7386
|
rule: string;
|
|
6759
7387
|
})[], tag?: string) => void;
|
|
6760
7388
|
clearError: (tag?: string | undefined) => void;
|
|
7389
|
+
setPagination: (params: {
|
|
7390
|
+
page?: number | undefined;
|
|
7391
|
+
perPage?: number | undefined;
|
|
7392
|
+
total?: number | undefined;
|
|
7393
|
+
}) => void;
|
|
6761
7394
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
6762
7395
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6763
7396
|
extendsOptions?: boolean | undefined;
|
|
6764
7397
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
7398
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6765
7399
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6766
7400
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6767
7401
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6773,7 +7407,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6773
7407
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6774
7408
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6775
7409
|
closeDialog: (result?: any) => void;
|
|
6776
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
7410
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6777
7411
|
changeEmitedValue: (value: any) => void;
|
|
6778
7412
|
addSubFormItem: (item: {
|
|
6779
7413
|
id: string;
|
|
@@ -6818,6 +7452,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6818
7452
|
joinValues: boolean;
|
|
6819
7453
|
extractValue: boolean;
|
|
6820
7454
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7455
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6821
7456
|
expressionsInOptions: boolean;
|
|
6822
7457
|
selectFirst: boolean;
|
|
6823
7458
|
autoFill: any;
|
|
@@ -6833,6 +7468,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6833
7468
|
inputGroupControl: any;
|
|
6834
7469
|
colIndex: any;
|
|
6835
7470
|
rowIndex: any;
|
|
7471
|
+
pagination: any;
|
|
7472
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6836
7473
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6837
7474
|
readonly parentStore: any;
|
|
6838
7475
|
readonly __: any;
|
|
@@ -6853,6 +7490,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6853
7490
|
readonly valid: boolean;
|
|
6854
7491
|
readonly errClassNames: string;
|
|
6855
7492
|
readonly lastSelectValue: string;
|
|
7493
|
+
readonly enableSourcePagination: boolean;
|
|
7494
|
+
readonly sourcePageNum: number;
|
|
7495
|
+
readonly sourcePerPageNum: number;
|
|
7496
|
+
readonly sourceTotalNum: number;
|
|
6856
7497
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6857
7498
|
splitExtraValue(value: any): any[];
|
|
6858
7499
|
getMergedData(data: any): any;
|
|
@@ -6896,6 +7537,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6896
7537
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6897
7538
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6898
7539
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7540
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6899
7541
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6900
7542
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6901
7543
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6911,6 +7553,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6911
7553
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6912
7554
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6913
7555
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7556
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7557
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6914
7558
|
}, {
|
|
6915
7559
|
readonly parentStore: any;
|
|
6916
7560
|
readonly __: any;
|
|
@@ -6931,6 +7575,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6931
7575
|
readonly valid: boolean;
|
|
6932
7576
|
readonly errClassNames: string;
|
|
6933
7577
|
readonly lastSelectValue: string;
|
|
7578
|
+
readonly enableSourcePagination: boolean;
|
|
7579
|
+
readonly sourcePageNum: number;
|
|
7580
|
+
readonly sourcePerPageNum: number;
|
|
7581
|
+
readonly sourceTotalNum: number;
|
|
6934
7582
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6935
7583
|
splitExtraValue(value: any): any[];
|
|
6936
7584
|
getMergedData(data: any): any;
|
|
@@ -6978,6 +7626,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6978
7626
|
joinValues: boolean;
|
|
6979
7627
|
extractValue: boolean;
|
|
6980
7628
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7629
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6981
7630
|
expressionsInOptions: boolean;
|
|
6982
7631
|
selectFirst: boolean;
|
|
6983
7632
|
autoFill: any;
|
|
@@ -6993,6 +7642,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
6993
7642
|
inputGroupControl: any;
|
|
6994
7643
|
colIndex: any;
|
|
6995
7644
|
rowIndex: any;
|
|
7645
|
+
pagination: any;
|
|
7646
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6996
7647
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6997
7648
|
readonly parentStore: any;
|
|
6998
7649
|
readonly __: any;
|
|
@@ -7013,6 +7664,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7013
7664
|
readonly valid: boolean;
|
|
7014
7665
|
readonly errClassNames: string;
|
|
7015
7666
|
readonly lastSelectValue: string;
|
|
7667
|
+
readonly enableSourcePagination: boolean;
|
|
7668
|
+
readonly sourcePageNum: number;
|
|
7669
|
+
readonly sourcePerPageNum: number;
|
|
7670
|
+
readonly sourceTotalNum: number;
|
|
7016
7671
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7017
7672
|
splitExtraValue(value: any): any[];
|
|
7018
7673
|
getMergedData(data: any): any;
|
|
@@ -7056,6 +7711,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7056
7711
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7057
7712
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7058
7713
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7714
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7059
7715
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7060
7716
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7061
7717
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7071,6 +7727,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7071
7727
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7072
7728
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7073
7729
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7730
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7731
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7074
7732
|
}, {
|
|
7075
7733
|
readonly parentStore: any;
|
|
7076
7734
|
readonly __: any;
|
|
@@ -7091,6 +7749,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7091
7749
|
readonly valid: boolean;
|
|
7092
7750
|
readonly errClassNames: string;
|
|
7093
7751
|
readonly lastSelectValue: string;
|
|
7752
|
+
readonly enableSourcePagination: boolean;
|
|
7753
|
+
readonly sourcePageNum: number;
|
|
7754
|
+
readonly sourcePerPageNum: number;
|
|
7755
|
+
readonly sourceTotalNum: number;
|
|
7094
7756
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7095
7757
|
splitExtraValue(value: any): any[];
|
|
7096
7758
|
getMergedData(data: any): any;
|
|
@@ -7146,6 +7808,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7146
7808
|
joinValues: boolean;
|
|
7147
7809
|
extractValue: boolean;
|
|
7148
7810
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7811
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7149
7812
|
expressionsInOptions: boolean;
|
|
7150
7813
|
selectFirst: boolean;
|
|
7151
7814
|
autoFill: any;
|
|
@@ -7161,6 +7824,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7161
7824
|
inputGroupControl: any;
|
|
7162
7825
|
colIndex: any;
|
|
7163
7826
|
rowIndex: any;
|
|
7827
|
+
pagination: any;
|
|
7828
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7164
7829
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7165
7830
|
readonly parentStore: any;
|
|
7166
7831
|
readonly __: any;
|
|
@@ -7181,13 +7846,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7181
7846
|
readonly valid: boolean;
|
|
7182
7847
|
readonly errClassNames: string;
|
|
7183
7848
|
readonly lastSelectValue: string;
|
|
7849
|
+
readonly enableSourcePagination: boolean;
|
|
7850
|
+
readonly sourcePageNum: number;
|
|
7851
|
+
readonly sourcePerPageNum: number;
|
|
7852
|
+
readonly sourceTotalNum: number;
|
|
7184
7853
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7185
7854
|
splitExtraValue(value: any): any[];
|
|
7186
7855
|
getMergedData(data: any): any;
|
|
7187
7856
|
} & {
|
|
7188
7857
|
focus: () => void;
|
|
7189
7858
|
blur: () => void;
|
|
7190
|
-
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 }: {
|
|
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 }: {
|
|
7191
7860
|
extraName?: string | undefined;
|
|
7192
7861
|
required?: boolean | undefined;
|
|
7193
7862
|
unique?: boolean | undefined;
|
|
@@ -7220,6 +7889,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7220
7889
|
name: string;
|
|
7221
7890
|
path: string;
|
|
7222
7891
|
} | undefined;
|
|
7892
|
+
pagination?: {
|
|
7893
|
+
enable?: boolean | undefined;
|
|
7894
|
+
page?: number | undefined;
|
|
7895
|
+
perPage?: number | undefined;
|
|
7896
|
+
} | undefined;
|
|
7223
7897
|
}) => void;
|
|
7224
7898
|
validate: (data: Object, hook?: any, customRules?: {
|
|
7225
7899
|
[propName: string]: any;
|
|
@@ -7230,10 +7904,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7230
7904
|
rule: string;
|
|
7231
7905
|
})[], tag?: string) => void;
|
|
7232
7906
|
clearError: (tag?: string | undefined) => void;
|
|
7907
|
+
setPagination: (params: {
|
|
7908
|
+
page?: number | undefined;
|
|
7909
|
+
perPage?: number | undefined;
|
|
7910
|
+
total?: number | undefined;
|
|
7911
|
+
}) => void;
|
|
7233
7912
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
7234
7913
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7235
7914
|
extendsOptions?: boolean | undefined;
|
|
7236
7915
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
7916
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7237
7917
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7238
7918
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7239
7919
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7245,7 +7925,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7245
7925
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7246
7926
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7247
7927
|
closeDialog: (result?: any) => void;
|
|
7248
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
7928
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7249
7929
|
changeEmitedValue: (value: any) => void;
|
|
7250
7930
|
addSubFormItem: (item: {
|
|
7251
7931
|
id: string;
|
|
@@ -7290,6 +7970,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7290
7970
|
joinValues: boolean;
|
|
7291
7971
|
extractValue: boolean;
|
|
7292
7972
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7973
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7293
7974
|
expressionsInOptions: boolean;
|
|
7294
7975
|
selectFirst: boolean;
|
|
7295
7976
|
autoFill: any;
|
|
@@ -7305,6 +7986,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7305
7986
|
inputGroupControl: any;
|
|
7306
7987
|
colIndex: any;
|
|
7307
7988
|
rowIndex: any;
|
|
7989
|
+
pagination: any;
|
|
7990
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7308
7991
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7309
7992
|
readonly parentStore: any;
|
|
7310
7993
|
readonly __: any;
|
|
@@ -7325,6 +8008,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7325
8008
|
readonly valid: boolean;
|
|
7326
8009
|
readonly errClassNames: string;
|
|
7327
8010
|
readonly lastSelectValue: string;
|
|
8011
|
+
readonly enableSourcePagination: boolean;
|
|
8012
|
+
readonly sourcePageNum: number;
|
|
8013
|
+
readonly sourcePerPageNum: number;
|
|
8014
|
+
readonly sourceTotalNum: number;
|
|
7328
8015
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7329
8016
|
splitExtraValue(value: any): any[];
|
|
7330
8017
|
getMergedData(data: any): any;
|
|
@@ -7368,6 +8055,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7368
8055
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7369
8056
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7370
8057
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8058
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7371
8059
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7372
8060
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7373
8061
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7383,6 +8071,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7383
8071
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7384
8072
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7385
8073
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8074
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8075
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7386
8076
|
}, {
|
|
7387
8077
|
readonly parentStore: any;
|
|
7388
8078
|
readonly __: any;
|
|
@@ -7403,6 +8093,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7403
8093
|
readonly valid: boolean;
|
|
7404
8094
|
readonly errClassNames: string;
|
|
7405
8095
|
readonly lastSelectValue: string;
|
|
8096
|
+
readonly enableSourcePagination: boolean;
|
|
8097
|
+
readonly sourcePageNum: number;
|
|
8098
|
+
readonly sourcePerPageNum: number;
|
|
8099
|
+
readonly sourceTotalNum: number;
|
|
7406
8100
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7407
8101
|
splitExtraValue(value: any): any[];
|
|
7408
8102
|
getMergedData(data: any): any;
|
|
@@ -7450,6 +8144,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7450
8144
|
joinValues: boolean;
|
|
7451
8145
|
extractValue: boolean;
|
|
7452
8146
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8147
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7453
8148
|
expressionsInOptions: boolean;
|
|
7454
8149
|
selectFirst: boolean;
|
|
7455
8150
|
autoFill: any;
|
|
@@ -7465,6 +8160,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7465
8160
|
inputGroupControl: any;
|
|
7466
8161
|
colIndex: any;
|
|
7467
8162
|
rowIndex: any;
|
|
8163
|
+
pagination: any;
|
|
8164
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7468
8165
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7469
8166
|
readonly parentStore: any;
|
|
7470
8167
|
readonly __: any;
|
|
@@ -7485,6 +8182,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7485
8182
|
readonly valid: boolean;
|
|
7486
8183
|
readonly errClassNames: string;
|
|
7487
8184
|
readonly lastSelectValue: string;
|
|
8185
|
+
readonly enableSourcePagination: boolean;
|
|
8186
|
+
readonly sourcePageNum: number;
|
|
8187
|
+
readonly sourcePerPageNum: number;
|
|
8188
|
+
readonly sourceTotalNum: number;
|
|
7488
8189
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7489
8190
|
splitExtraValue(value: any): any[];
|
|
7490
8191
|
getMergedData(data: any): any;
|
|
@@ -7528,6 +8229,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7528
8229
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7529
8230
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7530
8231
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8232
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7531
8233
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7532
8234
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7533
8235
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7543,6 +8245,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7543
8245
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7544
8246
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7545
8247
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8248
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8249
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7546
8250
|
}, {
|
|
7547
8251
|
readonly parentStore: any;
|
|
7548
8252
|
readonly __: any;
|
|
@@ -7563,6 +8267,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7563
8267
|
readonly valid: boolean;
|
|
7564
8268
|
readonly errClassNames: string;
|
|
7565
8269
|
readonly lastSelectValue: string;
|
|
8270
|
+
readonly enableSourcePagination: boolean;
|
|
8271
|
+
readonly sourcePageNum: number;
|
|
8272
|
+
readonly sourcePerPageNum: number;
|
|
8273
|
+
readonly sourceTotalNum: number;
|
|
7566
8274
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7567
8275
|
splitExtraValue(value: any): any[];
|
|
7568
8276
|
getMergedData(data: any): any;
|
|
@@ -7609,6 +8317,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7609
8317
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7610
8318
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7611
8319
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8320
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7612
8321
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7613
8322
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7614
8323
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7624,6 +8333,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7624
8333
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7625
8334
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7626
8335
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8336
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8337
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7627
8338
|
}, {
|
|
7628
8339
|
readonly parentStore: any;
|
|
7629
8340
|
readonly __: any;
|
|
@@ -7644,13 +8355,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7644
8355
|
readonly valid: boolean;
|
|
7645
8356
|
readonly errClassNames: string;
|
|
7646
8357
|
readonly lastSelectValue: string;
|
|
8358
|
+
readonly enableSourcePagination: boolean;
|
|
8359
|
+
readonly sourcePageNum: number;
|
|
8360
|
+
readonly sourcePerPageNum: number;
|
|
8361
|
+
readonly sourceTotalNum: number;
|
|
7647
8362
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7648
8363
|
splitExtraValue(value: any): any[];
|
|
7649
8364
|
getMergedData(data: any): any;
|
|
7650
8365
|
} & {
|
|
7651
8366
|
focus: () => void;
|
|
7652
8367
|
blur: () => void;
|
|
7653
|
-
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 }: {
|
|
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 }: {
|
|
7654
8369
|
extraName?: string | undefined;
|
|
7655
8370
|
required?: boolean | undefined;
|
|
7656
8371
|
unique?: boolean | undefined;
|
|
@@ -7683,6 +8398,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7683
8398
|
name: string;
|
|
7684
8399
|
path: string;
|
|
7685
8400
|
} | undefined;
|
|
8401
|
+
pagination?: {
|
|
8402
|
+
enable?: boolean | undefined;
|
|
8403
|
+
page?: number | undefined;
|
|
8404
|
+
perPage?: number | undefined;
|
|
8405
|
+
} | undefined;
|
|
7686
8406
|
}) => void;
|
|
7687
8407
|
validate: (data: Object, hook?: any, customRules?: {
|
|
7688
8408
|
[propName: string]: any;
|
|
@@ -7693,10 +8413,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7693
8413
|
rule: string;
|
|
7694
8414
|
})[], tag?: string) => void;
|
|
7695
8415
|
clearError: (tag?: string | undefined) => void;
|
|
8416
|
+
setPagination: (params: {
|
|
8417
|
+
page?: number | undefined;
|
|
8418
|
+
perPage?: number | undefined;
|
|
8419
|
+
total?: number | undefined;
|
|
8420
|
+
}) => void;
|
|
7696
8421
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
7697
8422
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7698
8423
|
extendsOptions?: boolean | undefined;
|
|
7699
8424
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8425
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7700
8426
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7701
8427
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7702
8428
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7708,7 +8434,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7708
8434
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7709
8435
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7710
8436
|
closeDialog: (result?: any) => void;
|
|
7711
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
8437
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7712
8438
|
changeEmitedValue: (value: any) => void;
|
|
7713
8439
|
addSubFormItem: (item: {
|
|
7714
8440
|
id: string;
|
|
@@ -7753,6 +8479,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7753
8479
|
joinValues: boolean;
|
|
7754
8480
|
extractValue: boolean;
|
|
7755
8481
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8482
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7756
8483
|
expressionsInOptions: boolean;
|
|
7757
8484
|
selectFirst: boolean;
|
|
7758
8485
|
autoFill: any;
|
|
@@ -7768,6 +8495,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7768
8495
|
inputGroupControl: any;
|
|
7769
8496
|
colIndex: any;
|
|
7770
8497
|
rowIndex: any;
|
|
8498
|
+
pagination: any;
|
|
8499
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7771
8500
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7772
8501
|
readonly parentStore: any;
|
|
7773
8502
|
readonly __: any;
|
|
@@ -7788,6 +8517,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7788
8517
|
readonly valid: boolean;
|
|
7789
8518
|
readonly errClassNames: string;
|
|
7790
8519
|
readonly lastSelectValue: string;
|
|
8520
|
+
readonly enableSourcePagination: boolean;
|
|
8521
|
+
readonly sourcePageNum: number;
|
|
8522
|
+
readonly sourcePerPageNum: number;
|
|
8523
|
+
readonly sourceTotalNum: number;
|
|
7791
8524
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7792
8525
|
splitExtraValue(value: any): any[];
|
|
7793
8526
|
getMergedData(data: any): any;
|
|
@@ -7831,6 +8564,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7831
8564
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7832
8565
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7833
8566
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8567
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7834
8568
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7835
8569
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7836
8570
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7846,6 +8580,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7846
8580
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7847
8581
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7848
8582
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8583
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8584
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7849
8585
|
}, {
|
|
7850
8586
|
readonly parentStore: any;
|
|
7851
8587
|
readonly __: any;
|
|
@@ -7866,6 +8602,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7866
8602
|
readonly valid: boolean;
|
|
7867
8603
|
readonly errClassNames: string;
|
|
7868
8604
|
readonly lastSelectValue: string;
|
|
8605
|
+
readonly enableSourcePagination: boolean;
|
|
8606
|
+
readonly sourcePageNum: number;
|
|
8607
|
+
readonly sourcePerPageNum: number;
|
|
8608
|
+
readonly sourceTotalNum: number;
|
|
7869
8609
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7870
8610
|
splitExtraValue(value: any): any[];
|
|
7871
8611
|
getMergedData(data: any): any;
|
|
@@ -7913,6 +8653,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7913
8653
|
joinValues: boolean;
|
|
7914
8654
|
extractValue: boolean;
|
|
7915
8655
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8656
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7916
8657
|
expressionsInOptions: boolean;
|
|
7917
8658
|
selectFirst: boolean;
|
|
7918
8659
|
autoFill: any;
|
|
@@ -7928,6 +8669,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7928
8669
|
inputGroupControl: any;
|
|
7929
8670
|
colIndex: any;
|
|
7930
8671
|
rowIndex: any;
|
|
8672
|
+
pagination: any;
|
|
8673
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7931
8674
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7932
8675
|
readonly parentStore: any;
|
|
7933
8676
|
readonly __: any;
|
|
@@ -7948,6 +8691,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7948
8691
|
readonly valid: boolean;
|
|
7949
8692
|
readonly errClassNames: string;
|
|
7950
8693
|
readonly lastSelectValue: string;
|
|
8694
|
+
readonly enableSourcePagination: boolean;
|
|
8695
|
+
readonly sourcePageNum: number;
|
|
8696
|
+
readonly sourcePerPageNum: number;
|
|
8697
|
+
readonly sourceTotalNum: number;
|
|
7951
8698
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7952
8699
|
splitExtraValue(value: any): any[];
|
|
7953
8700
|
getMergedData(data: any): any;
|
|
@@ -7991,6 +8738,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
7991
8738
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7992
8739
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7993
8740
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8741
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7994
8742
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7995
8743
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7996
8744
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8006,6 +8754,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8006
8754
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8007
8755
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8008
8756
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8757
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8758
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8009
8759
|
}, {
|
|
8010
8760
|
readonly parentStore: any;
|
|
8011
8761
|
readonly __: any;
|
|
@@ -8026,6 +8776,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8026
8776
|
readonly valid: boolean;
|
|
8027
8777
|
readonly errClassNames: string;
|
|
8028
8778
|
readonly lastSelectValue: string;
|
|
8779
|
+
readonly enableSourcePagination: boolean;
|
|
8780
|
+
readonly sourcePageNum: number;
|
|
8781
|
+
readonly sourcePerPageNum: number;
|
|
8782
|
+
readonly sourceTotalNum: number;
|
|
8029
8783
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8030
8784
|
splitExtraValue(value: any): any[];
|
|
8031
8785
|
getMergedData(data: any): any;
|
|
@@ -8076,6 +8830,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8076
8830
|
joinValues: boolean;
|
|
8077
8831
|
extractValue: boolean;
|
|
8078
8832
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8833
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8079
8834
|
expressionsInOptions: boolean;
|
|
8080
8835
|
selectFirst: boolean;
|
|
8081
8836
|
autoFill: any;
|
|
@@ -8091,6 +8846,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8091
8846
|
inputGroupControl: any;
|
|
8092
8847
|
colIndex: any;
|
|
8093
8848
|
rowIndex: any;
|
|
8849
|
+
pagination: any;
|
|
8850
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8094
8851
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8095
8852
|
readonly parentStore: any;
|
|
8096
8853
|
readonly __: any;
|
|
@@ -8111,13 +8868,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8111
8868
|
readonly valid: boolean;
|
|
8112
8869
|
readonly errClassNames: string;
|
|
8113
8870
|
readonly lastSelectValue: string;
|
|
8871
|
+
readonly enableSourcePagination: boolean;
|
|
8872
|
+
readonly sourcePageNum: number;
|
|
8873
|
+
readonly sourcePerPageNum: number;
|
|
8874
|
+
readonly sourceTotalNum: number;
|
|
8114
8875
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8115
8876
|
splitExtraValue(value: any): any[];
|
|
8116
8877
|
getMergedData(data: any): any;
|
|
8117
8878
|
} & {
|
|
8118
8879
|
focus: () => void;
|
|
8119
8880
|
blur: () => void;
|
|
8120
|
-
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 }: {
|
|
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 }: {
|
|
8121
8882
|
extraName?: string | undefined;
|
|
8122
8883
|
required?: boolean | undefined;
|
|
8123
8884
|
unique?: boolean | undefined;
|
|
@@ -8150,6 +8911,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8150
8911
|
name: string;
|
|
8151
8912
|
path: string;
|
|
8152
8913
|
} | undefined;
|
|
8914
|
+
pagination?: {
|
|
8915
|
+
enable?: boolean | undefined;
|
|
8916
|
+
page?: number | undefined;
|
|
8917
|
+
perPage?: number | undefined;
|
|
8918
|
+
} | undefined;
|
|
8153
8919
|
}) => void;
|
|
8154
8920
|
validate: (data: Object, hook?: any, customRules?: {
|
|
8155
8921
|
[propName: string]: any;
|
|
@@ -8160,10 +8926,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8160
8926
|
rule: string;
|
|
8161
8927
|
})[], tag?: string) => void;
|
|
8162
8928
|
clearError: (tag?: string | undefined) => void;
|
|
8929
|
+
setPagination: (params: {
|
|
8930
|
+
page?: number | undefined;
|
|
8931
|
+
perPage?: number | undefined;
|
|
8932
|
+
total?: number | undefined;
|
|
8933
|
+
}) => void;
|
|
8163
8934
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
8164
8935
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8165
8936
|
extendsOptions?: boolean | undefined;
|
|
8166
8937
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8938
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8167
8939
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8168
8940
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8169
8941
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8175,7 +8947,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8175
8947
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8176
8948
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8177
8949
|
closeDialog: (result?: any) => void;
|
|
8178
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
8950
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8179
8951
|
changeEmitedValue: (value: any) => void;
|
|
8180
8952
|
addSubFormItem: (item: {
|
|
8181
8953
|
id: string;
|
|
@@ -8220,6 +8992,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8220
8992
|
joinValues: boolean;
|
|
8221
8993
|
extractValue: boolean;
|
|
8222
8994
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8995
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8223
8996
|
expressionsInOptions: boolean;
|
|
8224
8997
|
selectFirst: boolean;
|
|
8225
8998
|
autoFill: any;
|
|
@@ -8235,6 +9008,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8235
9008
|
inputGroupControl: any;
|
|
8236
9009
|
colIndex: any;
|
|
8237
9010
|
rowIndex: any;
|
|
9011
|
+
pagination: any;
|
|
9012
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8238
9013
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8239
9014
|
readonly parentStore: any;
|
|
8240
9015
|
readonly __: any;
|
|
@@ -8255,6 +9030,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8255
9030
|
readonly valid: boolean;
|
|
8256
9031
|
readonly errClassNames: string;
|
|
8257
9032
|
readonly lastSelectValue: string;
|
|
9033
|
+
readonly enableSourcePagination: boolean;
|
|
9034
|
+
readonly sourcePageNum: number;
|
|
9035
|
+
readonly sourcePerPageNum: number;
|
|
9036
|
+
readonly sourceTotalNum: number;
|
|
8258
9037
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8259
9038
|
splitExtraValue(value: any): any[];
|
|
8260
9039
|
getMergedData(data: any): any;
|
|
@@ -8298,6 +9077,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8298
9077
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8299
9078
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8300
9079
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9080
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8301
9081
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8302
9082
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8303
9083
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8313,6 +9093,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8313
9093
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8314
9094
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8315
9095
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9096
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9097
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8316
9098
|
}, {
|
|
8317
9099
|
readonly parentStore: any;
|
|
8318
9100
|
readonly __: any;
|
|
@@ -8333,6 +9115,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8333
9115
|
readonly valid: boolean;
|
|
8334
9116
|
readonly errClassNames: string;
|
|
8335
9117
|
readonly lastSelectValue: string;
|
|
9118
|
+
readonly enableSourcePagination: boolean;
|
|
9119
|
+
readonly sourcePageNum: number;
|
|
9120
|
+
readonly sourcePerPageNum: number;
|
|
9121
|
+
readonly sourceTotalNum: number;
|
|
8336
9122
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8337
9123
|
splitExtraValue(value: any): any[];
|
|
8338
9124
|
getMergedData(data: any): any;
|
|
@@ -8380,6 +9166,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8380
9166
|
joinValues: boolean;
|
|
8381
9167
|
extractValue: boolean;
|
|
8382
9168
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9169
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8383
9170
|
expressionsInOptions: boolean;
|
|
8384
9171
|
selectFirst: boolean;
|
|
8385
9172
|
autoFill: any;
|
|
@@ -8395,6 +9182,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8395
9182
|
inputGroupControl: any;
|
|
8396
9183
|
colIndex: any;
|
|
8397
9184
|
rowIndex: any;
|
|
9185
|
+
pagination: any;
|
|
9186
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8398
9187
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8399
9188
|
readonly parentStore: any;
|
|
8400
9189
|
readonly __: any;
|
|
@@ -8415,6 +9204,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8415
9204
|
readonly valid: boolean;
|
|
8416
9205
|
readonly errClassNames: string;
|
|
8417
9206
|
readonly lastSelectValue: string;
|
|
9207
|
+
readonly enableSourcePagination: boolean;
|
|
9208
|
+
readonly sourcePageNum: number;
|
|
9209
|
+
readonly sourcePerPageNum: number;
|
|
9210
|
+
readonly sourceTotalNum: number;
|
|
8418
9211
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8419
9212
|
splitExtraValue(value: any): any[];
|
|
8420
9213
|
getMergedData(data: any): any;
|
|
@@ -8458,6 +9251,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8458
9251
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8459
9252
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8460
9253
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9254
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8461
9255
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8462
9256
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8463
9257
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8473,6 +9267,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8473
9267
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8474
9268
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8475
9269
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9270
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9271
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8476
9272
|
}, {
|
|
8477
9273
|
readonly parentStore: any;
|
|
8478
9274
|
readonly __: any;
|
|
@@ -8493,6 +9289,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8493
9289
|
readonly valid: boolean;
|
|
8494
9290
|
readonly errClassNames: string;
|
|
8495
9291
|
readonly lastSelectValue: string;
|
|
9292
|
+
readonly enableSourcePagination: boolean;
|
|
9293
|
+
readonly sourcePageNum: number;
|
|
9294
|
+
readonly sourcePerPageNum: number;
|
|
9295
|
+
readonly sourceTotalNum: number;
|
|
8496
9296
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8497
9297
|
splitExtraValue(value: any): any[];
|
|
8498
9298
|
getMergedData(data: any): any;
|
|
@@ -8539,6 +9339,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8539
9339
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8540
9340
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8541
9341
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9342
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8542
9343
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8543
9344
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8544
9345
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8554,6 +9355,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8554
9355
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8555
9356
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8556
9357
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9358
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9359
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8557
9360
|
}, {
|
|
8558
9361
|
readonly parentStore: any;
|
|
8559
9362
|
readonly __: any;
|
|
@@ -8574,13 +9377,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8574
9377
|
readonly valid: boolean;
|
|
8575
9378
|
readonly errClassNames: string;
|
|
8576
9379
|
readonly lastSelectValue: string;
|
|
9380
|
+
readonly enableSourcePagination: boolean;
|
|
9381
|
+
readonly sourcePageNum: number;
|
|
9382
|
+
readonly sourcePerPageNum: number;
|
|
9383
|
+
readonly sourceTotalNum: number;
|
|
8577
9384
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8578
9385
|
splitExtraValue(value: any): any[];
|
|
8579
9386
|
getMergedData(data: any): any;
|
|
8580
9387
|
} & {
|
|
8581
9388
|
focus: () => void;
|
|
8582
9389
|
blur: () => void;
|
|
8583
|
-
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 }: {
|
|
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 }: {
|
|
8584
9391
|
extraName?: string | undefined;
|
|
8585
9392
|
required?: boolean | undefined;
|
|
8586
9393
|
unique?: boolean | undefined;
|
|
@@ -8613,6 +9420,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8613
9420
|
name: string;
|
|
8614
9421
|
path: string;
|
|
8615
9422
|
} | undefined;
|
|
9423
|
+
pagination?: {
|
|
9424
|
+
enable?: boolean | undefined;
|
|
9425
|
+
page?: number | undefined;
|
|
9426
|
+
perPage?: number | undefined;
|
|
9427
|
+
} | undefined;
|
|
8616
9428
|
}) => void;
|
|
8617
9429
|
validate: (data: Object, hook?: any, customRules?: {
|
|
8618
9430
|
[propName: string]: any;
|
|
@@ -8623,10 +9435,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8623
9435
|
rule: string;
|
|
8624
9436
|
})[], tag?: string) => void;
|
|
8625
9437
|
clearError: (tag?: string | undefined) => void;
|
|
9438
|
+
setPagination: (params: {
|
|
9439
|
+
page?: number | undefined;
|
|
9440
|
+
perPage?: number | undefined;
|
|
9441
|
+
total?: number | undefined;
|
|
9442
|
+
}) => void;
|
|
8626
9443
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
8627
9444
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8628
9445
|
extendsOptions?: boolean | undefined;
|
|
8629
9446
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9447
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8630
9448
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8631
9449
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8632
9450
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8638,7 +9456,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8638
9456
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8639
9457
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8640
9458
|
closeDialog: (result?: any) => void;
|
|
8641
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
9459
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8642
9460
|
changeEmitedValue: (value: any) => void;
|
|
8643
9461
|
addSubFormItem: (item: {
|
|
8644
9462
|
id: string;
|
|
@@ -8683,6 +9501,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8683
9501
|
joinValues: boolean;
|
|
8684
9502
|
extractValue: boolean;
|
|
8685
9503
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9504
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8686
9505
|
expressionsInOptions: boolean;
|
|
8687
9506
|
selectFirst: boolean;
|
|
8688
9507
|
autoFill: any;
|
|
@@ -8698,6 +9517,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8698
9517
|
inputGroupControl: any;
|
|
8699
9518
|
colIndex: any;
|
|
8700
9519
|
rowIndex: any;
|
|
9520
|
+
pagination: any;
|
|
9521
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8701
9522
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8702
9523
|
readonly parentStore: any;
|
|
8703
9524
|
readonly __: any;
|
|
@@ -8718,6 +9539,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8718
9539
|
readonly valid: boolean;
|
|
8719
9540
|
readonly errClassNames: string;
|
|
8720
9541
|
readonly lastSelectValue: string;
|
|
9542
|
+
readonly enableSourcePagination: boolean;
|
|
9543
|
+
readonly sourcePageNum: number;
|
|
9544
|
+
readonly sourcePerPageNum: number;
|
|
9545
|
+
readonly sourceTotalNum: number;
|
|
8721
9546
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8722
9547
|
splitExtraValue(value: any): any[];
|
|
8723
9548
|
getMergedData(data: any): any;
|
|
@@ -8761,6 +9586,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8761
9586
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8762
9587
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8763
9588
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9589
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8764
9590
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8765
9591
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8766
9592
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8776,6 +9602,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8776
9602
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8777
9603
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8778
9604
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9605
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9606
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8779
9607
|
}, {
|
|
8780
9608
|
readonly parentStore: any;
|
|
8781
9609
|
readonly __: any;
|
|
@@ -8796,6 +9624,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8796
9624
|
readonly valid: boolean;
|
|
8797
9625
|
readonly errClassNames: string;
|
|
8798
9626
|
readonly lastSelectValue: string;
|
|
9627
|
+
readonly enableSourcePagination: boolean;
|
|
9628
|
+
readonly sourcePageNum: number;
|
|
9629
|
+
readonly sourcePerPageNum: number;
|
|
9630
|
+
readonly sourceTotalNum: number;
|
|
8799
9631
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8800
9632
|
splitExtraValue(value: any): any[];
|
|
8801
9633
|
getMergedData(data: any): any;
|
|
@@ -8843,6 +9675,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8843
9675
|
joinValues: boolean;
|
|
8844
9676
|
extractValue: boolean;
|
|
8845
9677
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9678
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8846
9679
|
expressionsInOptions: boolean;
|
|
8847
9680
|
selectFirst: boolean;
|
|
8848
9681
|
autoFill: any;
|
|
@@ -8858,6 +9691,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8858
9691
|
inputGroupControl: any;
|
|
8859
9692
|
colIndex: any;
|
|
8860
9693
|
rowIndex: any;
|
|
9694
|
+
pagination: any;
|
|
9695
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8861
9696
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8862
9697
|
readonly parentStore: any;
|
|
8863
9698
|
readonly __: any;
|
|
@@ -8878,6 +9713,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8878
9713
|
readonly valid: boolean;
|
|
8879
9714
|
readonly errClassNames: string;
|
|
8880
9715
|
readonly lastSelectValue: string;
|
|
9716
|
+
readonly enableSourcePagination: boolean;
|
|
9717
|
+
readonly sourcePageNum: number;
|
|
9718
|
+
readonly sourcePerPageNum: number;
|
|
9719
|
+
readonly sourceTotalNum: number;
|
|
8881
9720
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8882
9721
|
splitExtraValue(value: any): any[];
|
|
8883
9722
|
getMergedData(data: any): any;
|
|
@@ -8921,6 +9760,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8921
9760
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8922
9761
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8923
9762
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9763
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8924
9764
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8925
9765
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8926
9766
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8936,6 +9776,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8936
9776
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8937
9777
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8938
9778
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9779
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9780
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8939
9781
|
}, {
|
|
8940
9782
|
readonly parentStore: any;
|
|
8941
9783
|
readonly __: any;
|
|
@@ -8956,6 +9798,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
8956
9798
|
readonly valid: boolean;
|
|
8957
9799
|
readonly errClassNames: string;
|
|
8958
9800
|
readonly lastSelectValue: string;
|
|
9801
|
+
readonly enableSourcePagination: boolean;
|
|
9802
|
+
readonly sourcePageNum: number;
|
|
9803
|
+
readonly sourcePerPageNum: number;
|
|
9804
|
+
readonly sourceTotalNum: number;
|
|
8959
9805
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8960
9806
|
splitExtraValue(value: any): any[];
|
|
8961
9807
|
getMergedData(data: any): any;
|
|
@@ -9006,6 +9852,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9006
9852
|
joinValues: boolean;
|
|
9007
9853
|
extractValue: boolean;
|
|
9008
9854
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9855
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9009
9856
|
expressionsInOptions: boolean;
|
|
9010
9857
|
selectFirst: boolean;
|
|
9011
9858
|
autoFill: any;
|
|
@@ -9021,6 +9868,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9021
9868
|
inputGroupControl: any;
|
|
9022
9869
|
colIndex: any;
|
|
9023
9870
|
rowIndex: any;
|
|
9871
|
+
pagination: any;
|
|
9872
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9024
9873
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9025
9874
|
readonly parentStore: any;
|
|
9026
9875
|
readonly __: any;
|
|
@@ -9041,13 +9890,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9041
9890
|
readonly valid: boolean;
|
|
9042
9891
|
readonly errClassNames: string;
|
|
9043
9892
|
readonly lastSelectValue: string;
|
|
9893
|
+
readonly enableSourcePagination: boolean;
|
|
9894
|
+
readonly sourcePageNum: number;
|
|
9895
|
+
readonly sourcePerPageNum: number;
|
|
9896
|
+
readonly sourceTotalNum: number;
|
|
9044
9897
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9045
9898
|
splitExtraValue(value: any): any[];
|
|
9046
9899
|
getMergedData(data: any): any;
|
|
9047
9900
|
} & {
|
|
9048
9901
|
focus: () => void;
|
|
9049
9902
|
blur: () => void;
|
|
9050
|
-
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 }: {
|
|
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 }: {
|
|
9051
9904
|
extraName?: string | undefined;
|
|
9052
9905
|
required?: boolean | undefined;
|
|
9053
9906
|
unique?: boolean | undefined;
|
|
@@ -9080,6 +9933,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9080
9933
|
name: string;
|
|
9081
9934
|
path: string;
|
|
9082
9935
|
} | undefined;
|
|
9936
|
+
pagination?: {
|
|
9937
|
+
enable?: boolean | undefined;
|
|
9938
|
+
page?: number | undefined;
|
|
9939
|
+
perPage?: number | undefined;
|
|
9940
|
+
} | undefined;
|
|
9083
9941
|
}) => void;
|
|
9084
9942
|
validate: (data: Object, hook?: any, customRules?: {
|
|
9085
9943
|
[propName: string]: any;
|
|
@@ -9090,10 +9948,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9090
9948
|
rule: string;
|
|
9091
9949
|
})[], tag?: string) => void;
|
|
9092
9950
|
clearError: (tag?: string | undefined) => void;
|
|
9951
|
+
setPagination: (params: {
|
|
9952
|
+
page?: number | undefined;
|
|
9953
|
+
perPage?: number | undefined;
|
|
9954
|
+
total?: number | undefined;
|
|
9955
|
+
}) => void;
|
|
9093
9956
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
9094
9957
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9095
9958
|
extendsOptions?: boolean | undefined;
|
|
9096
9959
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9960
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9097
9961
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9098
9962
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9099
9963
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9105,7 +9969,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9105
9969
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9106
9970
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9107
9971
|
closeDialog: (result?: any) => void;
|
|
9108
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
9972
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9109
9973
|
changeEmitedValue: (value: any) => void;
|
|
9110
9974
|
addSubFormItem: (item: {
|
|
9111
9975
|
id: string;
|
|
@@ -9150,6 +10014,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9150
10014
|
joinValues: boolean;
|
|
9151
10015
|
extractValue: boolean;
|
|
9152
10016
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10017
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9153
10018
|
expressionsInOptions: boolean;
|
|
9154
10019
|
selectFirst: boolean;
|
|
9155
10020
|
autoFill: any;
|
|
@@ -9165,6 +10030,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9165
10030
|
inputGroupControl: any;
|
|
9166
10031
|
colIndex: any;
|
|
9167
10032
|
rowIndex: any;
|
|
10033
|
+
pagination: any;
|
|
10034
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9168
10035
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9169
10036
|
readonly parentStore: any;
|
|
9170
10037
|
readonly __: any;
|
|
@@ -9185,6 +10052,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9185
10052
|
readonly valid: boolean;
|
|
9186
10053
|
readonly errClassNames: string;
|
|
9187
10054
|
readonly lastSelectValue: string;
|
|
10055
|
+
readonly enableSourcePagination: boolean;
|
|
10056
|
+
readonly sourcePageNum: number;
|
|
10057
|
+
readonly sourcePerPageNum: number;
|
|
10058
|
+
readonly sourceTotalNum: number;
|
|
9188
10059
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9189
10060
|
splitExtraValue(value: any): any[];
|
|
9190
10061
|
getMergedData(data: any): any;
|
|
@@ -9228,6 +10099,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9228
10099
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9229
10100
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9230
10101
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10102
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9231
10103
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9232
10104
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9233
10105
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9243,6 +10115,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9243
10115
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9244
10116
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9245
10117
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10118
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10119
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9246
10120
|
}, {
|
|
9247
10121
|
readonly parentStore: any;
|
|
9248
10122
|
readonly __: any;
|
|
@@ -9263,6 +10137,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9263
10137
|
readonly valid: boolean;
|
|
9264
10138
|
readonly errClassNames: string;
|
|
9265
10139
|
readonly lastSelectValue: string;
|
|
10140
|
+
readonly enableSourcePagination: boolean;
|
|
10141
|
+
readonly sourcePageNum: number;
|
|
10142
|
+
readonly sourcePerPageNum: number;
|
|
10143
|
+
readonly sourceTotalNum: number;
|
|
9266
10144
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9267
10145
|
splitExtraValue(value: any): any[];
|
|
9268
10146
|
getMergedData(data: any): any;
|
|
@@ -9310,6 +10188,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9310
10188
|
joinValues: boolean;
|
|
9311
10189
|
extractValue: boolean;
|
|
9312
10190
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10191
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9313
10192
|
expressionsInOptions: boolean;
|
|
9314
10193
|
selectFirst: boolean;
|
|
9315
10194
|
autoFill: any;
|
|
@@ -9325,6 +10204,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9325
10204
|
inputGroupControl: any;
|
|
9326
10205
|
colIndex: any;
|
|
9327
10206
|
rowIndex: any;
|
|
10207
|
+
pagination: any;
|
|
10208
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9328
10209
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9329
10210
|
readonly parentStore: any;
|
|
9330
10211
|
readonly __: any;
|
|
@@ -9345,6 +10226,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9345
10226
|
readonly valid: boolean;
|
|
9346
10227
|
readonly errClassNames: string;
|
|
9347
10228
|
readonly lastSelectValue: string;
|
|
10229
|
+
readonly enableSourcePagination: boolean;
|
|
10230
|
+
readonly sourcePageNum: number;
|
|
10231
|
+
readonly sourcePerPageNum: number;
|
|
10232
|
+
readonly sourceTotalNum: number;
|
|
9348
10233
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9349
10234
|
splitExtraValue(value: any): any[];
|
|
9350
10235
|
getMergedData(data: any): any;
|
|
@@ -9388,6 +10273,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9388
10273
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9389
10274
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9390
10275
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10276
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9391
10277
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9392
10278
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9393
10279
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9403,6 +10289,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9403
10289
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9404
10290
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9405
10291
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10292
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10293
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9406
10294
|
}, {
|
|
9407
10295
|
readonly parentStore: any;
|
|
9408
10296
|
readonly __: any;
|
|
@@ -9423,6 +10311,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9423
10311
|
readonly valid: boolean;
|
|
9424
10312
|
readonly errClassNames: string;
|
|
9425
10313
|
readonly lastSelectValue: string;
|
|
10314
|
+
readonly enableSourcePagination: boolean;
|
|
10315
|
+
readonly sourcePageNum: number;
|
|
10316
|
+
readonly sourcePerPageNum: number;
|
|
10317
|
+
readonly sourceTotalNum: number;
|
|
9426
10318
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9427
10319
|
splitExtraValue(value: any): any[];
|
|
9428
10320
|
getMergedData(data: any): any;
|
|
@@ -9469,6 +10361,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9469
10361
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9470
10362
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9471
10363
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10364
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9472
10365
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9473
10366
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9474
10367
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9484,6 +10377,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9484
10377
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9485
10378
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9486
10379
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10380
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10381
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9487
10382
|
}, {
|
|
9488
10383
|
readonly parentStore: any;
|
|
9489
10384
|
readonly __: any;
|
|
@@ -9504,13 +10399,17 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9504
10399
|
readonly valid: boolean;
|
|
9505
10400
|
readonly errClassNames: string;
|
|
9506
10401
|
readonly lastSelectValue: string;
|
|
10402
|
+
readonly enableSourcePagination: boolean;
|
|
10403
|
+
readonly sourcePageNum: number;
|
|
10404
|
+
readonly sourcePerPageNum: number;
|
|
10405
|
+
readonly sourceTotalNum: number;
|
|
9507
10406
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9508
10407
|
splitExtraValue(value: any): any[];
|
|
9509
10408
|
getMergedData(data: any): any;
|
|
9510
10409
|
} & {
|
|
9511
10410
|
focus: () => void;
|
|
9512
10411
|
blur: () => void;
|
|
9513
|
-
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 }: {
|
|
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 }: {
|
|
9514
10413
|
extraName?: string | undefined;
|
|
9515
10414
|
required?: boolean | undefined;
|
|
9516
10415
|
unique?: boolean | undefined;
|
|
@@ -9543,6 +10442,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9543
10442
|
name: string;
|
|
9544
10443
|
path: string;
|
|
9545
10444
|
} | undefined;
|
|
10445
|
+
pagination?: {
|
|
10446
|
+
enable?: boolean | undefined;
|
|
10447
|
+
page?: number | undefined;
|
|
10448
|
+
perPage?: number | undefined;
|
|
10449
|
+
} | undefined;
|
|
9546
10450
|
}) => void;
|
|
9547
10451
|
validate: (data: Object, hook?: any, customRules?: {
|
|
9548
10452
|
[propName: string]: any;
|
|
@@ -9553,10 +10457,16 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9553
10457
|
rule: string;
|
|
9554
10458
|
})[], tag?: string) => void;
|
|
9555
10459
|
clearError: (tag?: string | undefined) => void;
|
|
10460
|
+
setPagination: (params: {
|
|
10461
|
+
page?: number | undefined;
|
|
10462
|
+
perPage?: number | undefined;
|
|
10463
|
+
total?: number | undefined;
|
|
10464
|
+
}) => void;
|
|
9556
10465
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
9557
10466
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9558
10467
|
extendsOptions?: boolean | undefined;
|
|
9559
10468
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
10469
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9560
10470
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9561
10471
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9562
10472
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9568,7 +10478,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9568
10478
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9569
10479
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9570
10480
|
closeDialog: (result?: any) => void;
|
|
9571
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
10481
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9572
10482
|
changeEmitedValue: (value: any) => void;
|
|
9573
10483
|
addSubFormItem: (item: {
|
|
9574
10484
|
id: string;
|
|
@@ -9613,6 +10523,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9613
10523
|
joinValues: boolean;
|
|
9614
10524
|
extractValue: boolean;
|
|
9615
10525
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10526
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9616
10527
|
expressionsInOptions: boolean;
|
|
9617
10528
|
selectFirst: boolean;
|
|
9618
10529
|
autoFill: any;
|
|
@@ -9628,6 +10539,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9628
10539
|
inputGroupControl: any;
|
|
9629
10540
|
colIndex: any;
|
|
9630
10541
|
rowIndex: any;
|
|
10542
|
+
pagination: any;
|
|
10543
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9631
10544
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9632
10545
|
readonly parentStore: any;
|
|
9633
10546
|
readonly __: any;
|
|
@@ -9648,6 +10561,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9648
10561
|
readonly valid: boolean;
|
|
9649
10562
|
readonly errClassNames: string;
|
|
9650
10563
|
readonly lastSelectValue: string;
|
|
10564
|
+
readonly enableSourcePagination: boolean;
|
|
10565
|
+
readonly sourcePageNum: number;
|
|
10566
|
+
readonly sourcePerPageNum: number;
|
|
10567
|
+
readonly sourceTotalNum: number;
|
|
9651
10568
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9652
10569
|
splitExtraValue(value: any): any[];
|
|
9653
10570
|
getMergedData(data: any): any;
|
|
@@ -9691,6 +10608,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9691
10608
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9692
10609
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9693
10610
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10611
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9694
10612
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9695
10613
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9696
10614
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9706,6 +10624,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9706
10624
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9707
10625
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9708
10626
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10627
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10628
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9709
10629
|
}, {
|
|
9710
10630
|
readonly parentStore: any;
|
|
9711
10631
|
readonly __: any;
|
|
@@ -9726,6 +10646,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9726
10646
|
readonly valid: boolean;
|
|
9727
10647
|
readonly errClassNames: string;
|
|
9728
10648
|
readonly lastSelectValue: string;
|
|
10649
|
+
readonly enableSourcePagination: boolean;
|
|
10650
|
+
readonly sourcePageNum: number;
|
|
10651
|
+
readonly sourcePerPageNum: number;
|
|
10652
|
+
readonly sourceTotalNum: number;
|
|
9729
10653
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9730
10654
|
splitExtraValue(value: any): any[];
|
|
9731
10655
|
getMergedData(data: any): any;
|
|
@@ -9773,6 +10697,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9773
10697
|
joinValues: boolean;
|
|
9774
10698
|
extractValue: boolean;
|
|
9775
10699
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10700
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9776
10701
|
expressionsInOptions: boolean;
|
|
9777
10702
|
selectFirst: boolean;
|
|
9778
10703
|
autoFill: any;
|
|
@@ -9788,6 +10713,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9788
10713
|
inputGroupControl: any;
|
|
9789
10714
|
colIndex: any;
|
|
9790
10715
|
rowIndex: any;
|
|
10716
|
+
pagination: any;
|
|
10717
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9791
10718
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9792
10719
|
readonly parentStore: any;
|
|
9793
10720
|
readonly __: any;
|
|
@@ -9808,6 +10735,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9808
10735
|
readonly valid: boolean;
|
|
9809
10736
|
readonly errClassNames: string;
|
|
9810
10737
|
readonly lastSelectValue: string;
|
|
10738
|
+
readonly enableSourcePagination: boolean;
|
|
10739
|
+
readonly sourcePageNum: number;
|
|
10740
|
+
readonly sourcePerPageNum: number;
|
|
10741
|
+
readonly sourceTotalNum: number;
|
|
9811
10742
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9812
10743
|
splitExtraValue(value: any): any[];
|
|
9813
10744
|
getMergedData(data: any): any;
|
|
@@ -9851,6 +10782,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9851
10782
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9852
10783
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9853
10784
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10785
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9854
10786
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9855
10787
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9856
10788
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9866,6 +10798,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9866
10798
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9867
10799
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9868
10800
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10801
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10802
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9869
10803
|
}, {
|
|
9870
10804
|
readonly parentStore: any;
|
|
9871
10805
|
readonly __: any;
|
|
@@ -9886,6 +10820,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9886
10820
|
readonly valid: boolean;
|
|
9887
10821
|
readonly errClassNames: string;
|
|
9888
10822
|
readonly lastSelectValue: string;
|
|
10823
|
+
readonly enableSourcePagination: boolean;
|
|
10824
|
+
readonly sourcePageNum: number;
|
|
10825
|
+
readonly sourcePerPageNum: number;
|
|
10826
|
+
readonly sourceTotalNum: number;
|
|
9889
10827
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9890
10828
|
splitExtraValue(value: any): any[];
|
|
9891
10829
|
getMergedData(data: any): any;
|
|
@@ -9915,7 +10853,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
9915
10853
|
saveRemote: (api: import("..").Api, data?: object | undefined, options?: import("..").fetchOptions | undefined) => Promise<any>;
|
|
9916
10854
|
reset: (cb?: ((data: any) => void) | undefined, resetData?: boolean) => void;
|
|
9917
10855
|
syncOptions: import("lodash").DebouncedFunc<() => void>;
|
|
9918
|
-
setCanAccessSuperData: (value?: boolean) => void;
|
|
10856
|
+
setCanAccessSuperData: (value?: boolean) => void;
|
|
9919
10857
|
deleteValueByName: (name: string) => void;
|
|
9920
10858
|
getLocalPersistData: () => void;
|
|
9921
10859
|
setLocalPersistData: (keys?: string[] | undefined) => void;
|
|
@@ -10447,7 +11385,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10447
11385
|
appeared: boolean;
|
|
10448
11386
|
lazyRender: boolean;
|
|
10449
11387
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11388
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11389
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10450
11390
|
readonly expandable: boolean;
|
|
11391
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11392
|
+
readonly partial: boolean;
|
|
10451
11393
|
readonly checked: boolean;
|
|
10452
11394
|
readonly modified: boolean;
|
|
10453
11395
|
getDataWithModifiedChilden(): any;
|
|
@@ -10502,7 +11444,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10502
11444
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10503
11445
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10504
11446
|
}, {
|
|
11447
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11448
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10505
11449
|
readonly expandable: boolean;
|
|
11450
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11451
|
+
readonly partial: boolean;
|
|
10506
11452
|
readonly checked: boolean;
|
|
10507
11453
|
readonly modified: boolean;
|
|
10508
11454
|
getDataWithModifiedChilden(): any;
|
|
@@ -10558,7 +11504,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10558
11504
|
appeared: boolean;
|
|
10559
11505
|
lazyRender: boolean;
|
|
10560
11506
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11507
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11508
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10561
11509
|
readonly expandable: boolean;
|
|
11510
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11511
|
+
readonly partial: boolean;
|
|
10562
11512
|
readonly checked: boolean;
|
|
10563
11513
|
readonly modified: boolean;
|
|
10564
11514
|
getDataWithModifiedChilden(): any;
|
|
@@ -10613,7 +11563,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10613
11563
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10614
11564
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10615
11565
|
}, {
|
|
11566
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11567
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10616
11568
|
readonly expandable: boolean;
|
|
11569
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11570
|
+
readonly partial: boolean;
|
|
10617
11571
|
readonly checked: boolean;
|
|
10618
11572
|
readonly modified: boolean;
|
|
10619
11573
|
getDataWithModifiedChilden(): any;
|
|
@@ -10669,7 +11623,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10669
11623
|
appeared: boolean;
|
|
10670
11624
|
lazyRender: boolean;
|
|
10671
11625
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11626
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11627
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10672
11628
|
readonly expandable: boolean;
|
|
11629
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11630
|
+
readonly partial: boolean;
|
|
10673
11631
|
readonly checked: boolean;
|
|
10674
11632
|
readonly modified: boolean;
|
|
10675
11633
|
getDataWithModifiedChilden(): any;
|
|
@@ -10724,7 +11682,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10724
11682
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10725
11683
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10726
11684
|
}, {
|
|
11685
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11686
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10727
11687
|
readonly expandable: boolean;
|
|
11688
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11689
|
+
readonly partial: boolean;
|
|
10728
11690
|
readonly checked: boolean;
|
|
10729
11691
|
readonly modified: boolean;
|
|
10730
11692
|
getDataWithModifiedChilden(): any;
|
|
@@ -10780,7 +11742,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10780
11742
|
appeared: boolean;
|
|
10781
11743
|
lazyRender: boolean;
|
|
10782
11744
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11745
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11746
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10783
11747
|
readonly expandable: boolean;
|
|
11748
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11749
|
+
readonly partial: boolean;
|
|
10784
11750
|
readonly checked: boolean;
|
|
10785
11751
|
readonly modified: boolean;
|
|
10786
11752
|
getDataWithModifiedChilden(): any;
|
|
@@ -10835,7 +11801,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10835
11801
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10836
11802
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10837
11803
|
}, {
|
|
11804
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11805
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10838
11806
|
readonly expandable: boolean;
|
|
11807
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11808
|
+
readonly partial: boolean;
|
|
10839
11809
|
readonly checked: boolean;
|
|
10840
11810
|
readonly modified: boolean;
|
|
10841
11811
|
getDataWithModifiedChilden(): any;
|
|
@@ -10891,7 +11861,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10891
11861
|
appeared: boolean;
|
|
10892
11862
|
lazyRender: boolean;
|
|
10893
11863
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11864
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11865
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10894
11866
|
readonly expandable: boolean;
|
|
11867
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11868
|
+
readonly partial: boolean;
|
|
10895
11869
|
readonly checked: boolean;
|
|
10896
11870
|
readonly modified: boolean;
|
|
10897
11871
|
getDataWithModifiedChilden(): any;
|
|
@@ -10946,7 +11920,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
10946
11920
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10947
11921
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10948
11922
|
}, {
|
|
11923
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11924
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
10949
11925
|
readonly expandable: boolean;
|
|
11926
|
+
childrenSelected(): SELECTED_STATUS;
|
|
11927
|
+
readonly partial: boolean;
|
|
10950
11928
|
readonly checked: boolean;
|
|
10951
11929
|
readonly modified: boolean;
|
|
10952
11930
|
getDataWithModifiedChilden(): any;
|
|
@@ -11045,7 +12023,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11045
12023
|
appeared: boolean;
|
|
11046
12024
|
lazyRender: boolean;
|
|
11047
12025
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12026
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12027
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11048
12028
|
readonly expandable: boolean;
|
|
12029
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12030
|
+
readonly partial: boolean;
|
|
11049
12031
|
readonly checked: boolean;
|
|
11050
12032
|
readonly modified: boolean;
|
|
11051
12033
|
getDataWithModifiedChilden(): any;
|
|
@@ -11100,7 +12082,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11100
12082
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11101
12083
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11102
12084
|
}, {
|
|
12085
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12086
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11103
12087
|
readonly expandable: boolean;
|
|
12088
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12089
|
+
readonly partial: boolean;
|
|
11104
12090
|
readonly checked: boolean;
|
|
11105
12091
|
readonly modified: boolean;
|
|
11106
12092
|
getDataWithModifiedChilden(): any;
|
|
@@ -11156,7 +12142,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11156
12142
|
appeared: boolean;
|
|
11157
12143
|
lazyRender: boolean;
|
|
11158
12144
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12145
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12146
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11159
12147
|
readonly expandable: boolean;
|
|
12148
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12149
|
+
readonly partial: boolean;
|
|
11160
12150
|
readonly checked: boolean;
|
|
11161
12151
|
readonly modified: boolean;
|
|
11162
12152
|
getDataWithModifiedChilden(): any;
|
|
@@ -11211,7 +12201,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11211
12201
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11212
12202
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11213
12203
|
}, {
|
|
12204
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12205
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11214
12206
|
readonly expandable: boolean;
|
|
12207
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12208
|
+
readonly partial: boolean;
|
|
11215
12209
|
readonly checked: boolean;
|
|
11216
12210
|
readonly modified: boolean;
|
|
11217
12211
|
getDataWithModifiedChilden(): any;
|
|
@@ -11325,7 +12319,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11325
12319
|
appeared: boolean;
|
|
11326
12320
|
lazyRender: boolean;
|
|
11327
12321
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12322
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12323
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11328
12324
|
readonly expandable: boolean;
|
|
12325
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12326
|
+
readonly partial: boolean;
|
|
11329
12327
|
readonly checked: boolean;
|
|
11330
12328
|
readonly modified: boolean;
|
|
11331
12329
|
getDataWithModifiedChilden(): any;
|
|
@@ -11380,7 +12378,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11380
12378
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11381
12379
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11382
12380
|
}, {
|
|
12381
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12382
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11383
12383
|
readonly expandable: boolean;
|
|
12384
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12385
|
+
readonly partial: boolean;
|
|
11384
12386
|
readonly checked: boolean;
|
|
11385
12387
|
readonly modified: boolean;
|
|
11386
12388
|
getDataWithModifiedChilden(): any;
|
|
@@ -11438,7 +12440,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11438
12440
|
appeared: boolean;
|
|
11439
12441
|
lazyRender: boolean;
|
|
11440
12442
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12443
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12444
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11441
12445
|
readonly expandable: boolean;
|
|
12446
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12447
|
+
readonly partial: boolean;
|
|
11442
12448
|
readonly checked: boolean;
|
|
11443
12449
|
readonly modified: boolean;
|
|
11444
12450
|
getDataWithModifiedChilden(): any;
|
|
@@ -11493,7 +12499,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11493
12499
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11494
12500
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11495
12501
|
}, {
|
|
12502
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12503
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11496
12504
|
readonly expandable: boolean;
|
|
12505
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12506
|
+
readonly partial: boolean;
|
|
11497
12507
|
readonly checked: boolean;
|
|
11498
12508
|
readonly modified: boolean;
|
|
11499
12509
|
getDataWithModifiedChilden(): any;
|
|
@@ -11551,7 +12561,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11551
12561
|
appeared: boolean;
|
|
11552
12562
|
lazyRender: boolean;
|
|
11553
12563
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12564
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12565
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11554
12566
|
readonly expandable: boolean;
|
|
12567
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12568
|
+
readonly partial: boolean;
|
|
11555
12569
|
readonly checked: boolean;
|
|
11556
12570
|
readonly modified: boolean;
|
|
11557
12571
|
getDataWithModifiedChilden(): any;
|
|
@@ -11606,7 +12620,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11606
12620
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11607
12621
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11608
12622
|
}, {
|
|
12623
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12624
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11609
12625
|
readonly expandable: boolean;
|
|
12626
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12627
|
+
readonly partial: boolean;
|
|
11610
12628
|
readonly checked: boolean;
|
|
11611
12629
|
readonly modified: boolean;
|
|
11612
12630
|
getDataWithModifiedChilden(): any;
|
|
@@ -11675,7 +12693,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11675
12693
|
appeared: boolean;
|
|
11676
12694
|
lazyRender: boolean;
|
|
11677
12695
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12696
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12697
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11678
12698
|
readonly expandable: boolean;
|
|
12699
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12700
|
+
readonly partial: boolean;
|
|
11679
12701
|
readonly checked: boolean;
|
|
11680
12702
|
readonly modified: boolean;
|
|
11681
12703
|
getDataWithModifiedChilden(): any;
|
|
@@ -11730,7 +12752,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11730
12752
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11731
12753
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11732
12754
|
}, {
|
|
12755
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12756
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11733
12757
|
readonly expandable: boolean;
|
|
12758
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12759
|
+
readonly partial: boolean;
|
|
11734
12760
|
readonly checked: boolean;
|
|
11735
12761
|
readonly modified: boolean;
|
|
11736
12762
|
getDataWithModifiedChilden(): any;
|
|
@@ -11765,6 +12791,8 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11765
12791
|
setDeferData({ children, ...rest }: any): void;
|
|
11766
12792
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
|
|
11767
12793
|
toggle: (row: IRow, checked: boolean) => void;
|
|
12794
|
+
toggleAncestors: (row: IRow) => void;
|
|
12795
|
+
toggleDescendants: (row: IRow, checked: boolean) => void;
|
|
11768
12796
|
toggleShift: (row: IRow, checked: boolean) => void;
|
|
11769
12797
|
getToggleShiftRows: (row: IRow) => ({
|
|
11770
12798
|
storeType: string;
|
|
@@ -11788,7 +12816,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11788
12816
|
appeared: boolean;
|
|
11789
12817
|
lazyRender: boolean;
|
|
11790
12818
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
12819
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12820
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11791
12821
|
readonly expandable: boolean;
|
|
12822
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12823
|
+
readonly partial: boolean;
|
|
11792
12824
|
readonly checked: boolean;
|
|
11793
12825
|
readonly modified: boolean;
|
|
11794
12826
|
getDataWithModifiedChilden(): any;
|
|
@@ -11843,7 +12875,11 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
|
|
|
11843
12875
|
appeared: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11844
12876
|
lazyRender: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11845
12877
|
}, {
|
|
12878
|
+
readonly parent: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
12879
|
+
readonly table: import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyStateTreeNode> | (object & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IAnyComplexType>);
|
|
11846
12880
|
readonly expandable: boolean;
|
|
12881
|
+
childrenSelected(): SELECTED_STATUS;
|
|
12882
|
+
readonly partial: boolean;
|
|
11847
12883
|
readonly checked: boolean;
|
|
11848
12884
|
readonly modified: boolean;
|
|
11849
12885
|
getDataWithModifiedChilden(): any;
|