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