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