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/esm/store/combo.d.ts
CHANGED
|
@@ -48,6 +48,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
48
48
|
joinValues: boolean;
|
|
49
49
|
extractValue: boolean;
|
|
50
50
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
51
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
51
52
|
expressionsInOptions: boolean;
|
|
52
53
|
selectFirst: boolean;
|
|
53
54
|
autoFill: any;
|
|
@@ -63,6 +64,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
63
64
|
inputGroupControl: any;
|
|
64
65
|
colIndex: any;
|
|
65
66
|
rowIndex: any;
|
|
67
|
+
pagination: any;
|
|
68
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
66
69
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
67
70
|
readonly parentStore: any;
|
|
68
71
|
readonly __: any;
|
|
@@ -83,13 +86,17 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
83
86
|
readonly valid: boolean;
|
|
84
87
|
readonly errClassNames: string;
|
|
85
88
|
readonly lastSelectValue: string;
|
|
89
|
+
readonly enableSourcePagination: boolean;
|
|
90
|
+
readonly sourcePageNum: number;
|
|
91
|
+
readonly sourcePerPageNum: number;
|
|
92
|
+
readonly sourceTotalNum: number;
|
|
86
93
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
87
94
|
splitExtraValue(value: any): any[];
|
|
88
95
|
getMergedData(data: any): any;
|
|
89
96
|
} & {
|
|
90
97
|
focus: () => void;
|
|
91
98
|
blur: () => void;
|
|
92
|
-
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 }: {
|
|
99
|
+
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 }: {
|
|
93
100
|
extraName?: string | undefined;
|
|
94
101
|
required?: boolean | undefined;
|
|
95
102
|
unique?: boolean | undefined;
|
|
@@ -122,6 +129,11 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
122
129
|
name: string;
|
|
123
130
|
path: string;
|
|
124
131
|
} | undefined;
|
|
132
|
+
pagination?: {
|
|
133
|
+
enable?: boolean | undefined;
|
|
134
|
+
page?: number | undefined;
|
|
135
|
+
perPage?: number | undefined;
|
|
136
|
+
} | undefined;
|
|
125
137
|
}) => void;
|
|
126
138
|
validate: (data: Object, hook?: any, customRules?: {
|
|
127
139
|
[propName: string]: any;
|
|
@@ -132,10 +144,16 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
132
144
|
rule: string;
|
|
133
145
|
})[], tag?: string) => void;
|
|
134
146
|
clearError: (tag?: string | undefined) => void;
|
|
147
|
+
setPagination: (params: {
|
|
148
|
+
page?: number | undefined;
|
|
149
|
+
perPage?: number | undefined;
|
|
150
|
+
total?: number | undefined;
|
|
151
|
+
}) => void;
|
|
135
152
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
136
153
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
137
154
|
extendsOptions?: boolean | undefined;
|
|
138
155
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
156
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
139
157
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
140
158
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
141
159
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -147,7 +165,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
147
165
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
148
166
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
149
167
|
closeDialog: (result?: any) => void;
|
|
150
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
168
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
151
169
|
changeEmitedValue: (value: any) => void;
|
|
152
170
|
addSubFormItem: (item: {
|
|
153
171
|
id: string;
|
|
@@ -192,6 +210,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
192
210
|
joinValues: boolean;
|
|
193
211
|
extractValue: boolean;
|
|
194
212
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
213
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
195
214
|
expressionsInOptions: boolean;
|
|
196
215
|
selectFirst: boolean;
|
|
197
216
|
autoFill: any;
|
|
@@ -207,6 +226,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
207
226
|
inputGroupControl: any;
|
|
208
227
|
colIndex: any;
|
|
209
228
|
rowIndex: any;
|
|
229
|
+
pagination: any;
|
|
230
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
210
231
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
211
232
|
readonly parentStore: any;
|
|
212
233
|
readonly __: any;
|
|
@@ -227,6 +248,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
227
248
|
readonly valid: boolean;
|
|
228
249
|
readonly errClassNames: string;
|
|
229
250
|
readonly lastSelectValue: string;
|
|
251
|
+
readonly enableSourcePagination: boolean;
|
|
252
|
+
readonly sourcePageNum: number;
|
|
253
|
+
readonly sourcePerPageNum: number;
|
|
254
|
+
readonly sourceTotalNum: number;
|
|
230
255
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
231
256
|
splitExtraValue(value: any): any[];
|
|
232
257
|
getMergedData(data: any): any;
|
|
@@ -270,6 +295,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
270
295
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
271
296
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
272
297
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
298
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
273
299
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
274
300
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
275
301
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -285,6 +311,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
285
311
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
286
312
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
287
313
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
314
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
315
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
288
316
|
}, {
|
|
289
317
|
readonly parentStore: any;
|
|
290
318
|
readonly __: any;
|
|
@@ -305,6 +333,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
305
333
|
readonly valid: boolean;
|
|
306
334
|
readonly errClassNames: string;
|
|
307
335
|
readonly lastSelectValue: string;
|
|
336
|
+
readonly enableSourcePagination: boolean;
|
|
337
|
+
readonly sourcePageNum: number;
|
|
338
|
+
readonly sourcePerPageNum: number;
|
|
339
|
+
readonly sourceTotalNum: number;
|
|
308
340
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
309
341
|
splitExtraValue(value: any): any[];
|
|
310
342
|
getMergedData(data: any): any;
|
|
@@ -352,6 +384,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
352
384
|
joinValues: boolean;
|
|
353
385
|
extractValue: boolean;
|
|
354
386
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
387
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
355
388
|
expressionsInOptions: boolean;
|
|
356
389
|
selectFirst: boolean;
|
|
357
390
|
autoFill: any;
|
|
@@ -367,6 +400,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
367
400
|
inputGroupControl: any;
|
|
368
401
|
colIndex: any;
|
|
369
402
|
rowIndex: any;
|
|
403
|
+
pagination: any;
|
|
404
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
370
405
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
371
406
|
readonly parentStore: any;
|
|
372
407
|
readonly __: any;
|
|
@@ -387,6 +422,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
387
422
|
readonly valid: boolean;
|
|
388
423
|
readonly errClassNames: string;
|
|
389
424
|
readonly lastSelectValue: string;
|
|
425
|
+
readonly enableSourcePagination: boolean;
|
|
426
|
+
readonly sourcePageNum: number;
|
|
427
|
+
readonly sourcePerPageNum: number;
|
|
428
|
+
readonly sourceTotalNum: number;
|
|
390
429
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
391
430
|
splitExtraValue(value: any): any[];
|
|
392
431
|
getMergedData(data: any): any;
|
|
@@ -430,6 +469,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
430
469
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
431
470
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
432
471
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
472
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
433
473
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
434
474
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
435
475
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -445,6 +485,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
445
485
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
446
486
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
447
487
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
488
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
489
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
448
490
|
}, {
|
|
449
491
|
readonly parentStore: any;
|
|
450
492
|
readonly __: any;
|
|
@@ -465,6 +507,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
465
507
|
readonly valid: boolean;
|
|
466
508
|
readonly errClassNames: string;
|
|
467
509
|
readonly lastSelectValue: string;
|
|
510
|
+
readonly enableSourcePagination: boolean;
|
|
511
|
+
readonly sourcePageNum: number;
|
|
512
|
+
readonly sourcePerPageNum: number;
|
|
513
|
+
readonly sourceTotalNum: number;
|
|
468
514
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
469
515
|
splitExtraValue(value: any): any[];
|
|
470
516
|
getMergedData(data: any): any;
|
|
@@ -511,6 +557,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
511
557
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
512
558
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
513
559
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
560
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
514
561
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
515
562
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
516
563
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -526,6 +573,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
526
573
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
527
574
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
528
575
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
576
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
577
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
529
578
|
}, {
|
|
530
579
|
readonly parentStore: any;
|
|
531
580
|
readonly __: any;
|
|
@@ -546,13 +595,17 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
546
595
|
readonly valid: boolean;
|
|
547
596
|
readonly errClassNames: string;
|
|
548
597
|
readonly lastSelectValue: string;
|
|
598
|
+
readonly enableSourcePagination: boolean;
|
|
599
|
+
readonly sourcePageNum: number;
|
|
600
|
+
readonly sourcePerPageNum: number;
|
|
601
|
+
readonly sourceTotalNum: number;
|
|
549
602
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
550
603
|
splitExtraValue(value: any): any[];
|
|
551
604
|
getMergedData(data: any): any;
|
|
552
605
|
} & {
|
|
553
606
|
focus: () => void;
|
|
554
607
|
blur: () => void;
|
|
555
|
-
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 }: {
|
|
608
|
+
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 }: {
|
|
556
609
|
extraName?: string | undefined;
|
|
557
610
|
required?: boolean | undefined;
|
|
558
611
|
unique?: boolean | undefined;
|
|
@@ -585,6 +638,11 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
585
638
|
name: string;
|
|
586
639
|
path: string;
|
|
587
640
|
} | undefined;
|
|
641
|
+
pagination?: {
|
|
642
|
+
enable?: boolean | undefined;
|
|
643
|
+
page?: number | undefined;
|
|
644
|
+
perPage?: number | undefined;
|
|
645
|
+
} | undefined;
|
|
588
646
|
}) => void;
|
|
589
647
|
validate: (data: Object, hook?: any, customRules?: {
|
|
590
648
|
[propName: string]: any;
|
|
@@ -595,10 +653,16 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
595
653
|
rule: string;
|
|
596
654
|
})[], tag?: string) => void;
|
|
597
655
|
clearError: (tag?: string | undefined) => void;
|
|
656
|
+
setPagination: (params: {
|
|
657
|
+
page?: number | undefined;
|
|
658
|
+
perPage?: number | undefined;
|
|
659
|
+
total?: number | undefined;
|
|
660
|
+
}) => void;
|
|
598
661
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
599
662
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
600
663
|
extendsOptions?: boolean | undefined;
|
|
601
664
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
665
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
602
666
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
603
667
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
604
668
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -610,7 +674,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
610
674
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
611
675
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
612
676
|
closeDialog: (result?: any) => void;
|
|
613
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
677
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
614
678
|
changeEmitedValue: (value: any) => void;
|
|
615
679
|
addSubFormItem: (item: {
|
|
616
680
|
id: string;
|
|
@@ -655,6 +719,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
655
719
|
joinValues: boolean;
|
|
656
720
|
extractValue: boolean;
|
|
657
721
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
722
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
658
723
|
expressionsInOptions: boolean;
|
|
659
724
|
selectFirst: boolean;
|
|
660
725
|
autoFill: any;
|
|
@@ -670,6 +735,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
670
735
|
inputGroupControl: any;
|
|
671
736
|
colIndex: any;
|
|
672
737
|
rowIndex: any;
|
|
738
|
+
pagination: any;
|
|
739
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
673
740
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
674
741
|
readonly parentStore: any;
|
|
675
742
|
readonly __: any;
|
|
@@ -690,6 +757,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
690
757
|
readonly valid: boolean;
|
|
691
758
|
readonly errClassNames: string;
|
|
692
759
|
readonly lastSelectValue: string;
|
|
760
|
+
readonly enableSourcePagination: boolean;
|
|
761
|
+
readonly sourcePageNum: number;
|
|
762
|
+
readonly sourcePerPageNum: number;
|
|
763
|
+
readonly sourceTotalNum: number;
|
|
693
764
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
694
765
|
splitExtraValue(value: any): any[];
|
|
695
766
|
getMergedData(data: any): any;
|
|
@@ -733,6 +804,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
733
804
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
734
805
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
735
806
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
807
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
736
808
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
737
809
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
738
810
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -748,6 +820,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
748
820
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
749
821
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
750
822
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
823
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
824
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
751
825
|
}, {
|
|
752
826
|
readonly parentStore: any;
|
|
753
827
|
readonly __: any;
|
|
@@ -768,6 +842,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
768
842
|
readonly valid: boolean;
|
|
769
843
|
readonly errClassNames: string;
|
|
770
844
|
readonly lastSelectValue: string;
|
|
845
|
+
readonly enableSourcePagination: boolean;
|
|
846
|
+
readonly sourcePageNum: number;
|
|
847
|
+
readonly sourcePerPageNum: number;
|
|
848
|
+
readonly sourceTotalNum: number;
|
|
771
849
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
772
850
|
splitExtraValue(value: any): any[];
|
|
773
851
|
getMergedData(data: any): any;
|
|
@@ -815,6 +893,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
815
893
|
joinValues: boolean;
|
|
816
894
|
extractValue: boolean;
|
|
817
895
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
896
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
818
897
|
expressionsInOptions: boolean;
|
|
819
898
|
selectFirst: boolean;
|
|
820
899
|
autoFill: any;
|
|
@@ -830,6 +909,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
830
909
|
inputGroupControl: any;
|
|
831
910
|
colIndex: any;
|
|
832
911
|
rowIndex: any;
|
|
912
|
+
pagination: any;
|
|
913
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
833
914
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
834
915
|
readonly parentStore: any;
|
|
835
916
|
readonly __: any;
|
|
@@ -850,6 +931,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
850
931
|
readonly valid: boolean;
|
|
851
932
|
readonly errClassNames: string;
|
|
852
933
|
readonly lastSelectValue: string;
|
|
934
|
+
readonly enableSourcePagination: boolean;
|
|
935
|
+
readonly sourcePageNum: number;
|
|
936
|
+
readonly sourcePerPageNum: number;
|
|
937
|
+
readonly sourceTotalNum: number;
|
|
853
938
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
854
939
|
splitExtraValue(value: any): any[];
|
|
855
940
|
getMergedData(data: any): any;
|
|
@@ -893,6 +978,7 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
893
978
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
894
979
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
895
980
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
981
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
896
982
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
897
983
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
898
984
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -908,6 +994,8 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
908
994
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
909
995
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
910
996
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
997
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
998
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
911
999
|
}, {
|
|
912
1000
|
readonly parentStore: any;
|
|
913
1001
|
readonly __: any;
|
|
@@ -928,6 +1016,10 @@ export declare const UniqueGroup: import("mobx-state-tree").IModelType<{
|
|
|
928
1016
|
readonly valid: boolean;
|
|
929
1017
|
readonly errClassNames: string;
|
|
930
1018
|
readonly lastSelectValue: string;
|
|
1019
|
+
readonly enableSourcePagination: boolean;
|
|
1020
|
+
readonly sourcePageNum: number;
|
|
1021
|
+
readonly sourcePerPageNum: number;
|
|
1022
|
+
readonly sourceTotalNum: number;
|
|
931
1023
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
932
1024
|
splitExtraValue(value: any): any[];
|
|
933
1025
|
getMergedData(data: any): any;
|
|
@@ -1006,6 +1098,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1006
1098
|
joinValues: boolean;
|
|
1007
1099
|
extractValue: boolean;
|
|
1008
1100
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1101
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1009
1102
|
expressionsInOptions: boolean;
|
|
1010
1103
|
selectFirst: boolean;
|
|
1011
1104
|
autoFill: any;
|
|
@@ -1021,6 +1114,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1021
1114
|
inputGroupControl: any;
|
|
1022
1115
|
colIndex: any;
|
|
1023
1116
|
rowIndex: any;
|
|
1117
|
+
pagination: any;
|
|
1118
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1024
1119
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1025
1120
|
readonly parentStore: any;
|
|
1026
1121
|
readonly __: any;
|
|
@@ -1041,13 +1136,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1041
1136
|
readonly valid: boolean;
|
|
1042
1137
|
readonly errClassNames: string;
|
|
1043
1138
|
readonly lastSelectValue: string;
|
|
1139
|
+
readonly enableSourcePagination: boolean;
|
|
1140
|
+
readonly sourcePageNum: number;
|
|
1141
|
+
readonly sourcePerPageNum: number;
|
|
1142
|
+
readonly sourceTotalNum: number;
|
|
1044
1143
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1045
1144
|
splitExtraValue(value: any): any[];
|
|
1046
1145
|
getMergedData(data: any): any;
|
|
1047
1146
|
} & {
|
|
1048
1147
|
focus: () => void;
|
|
1049
1148
|
blur: () => void;
|
|
1050
|
-
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 }: {
|
|
1149
|
+
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 }: {
|
|
1051
1150
|
extraName?: string | undefined;
|
|
1052
1151
|
required?: boolean | undefined;
|
|
1053
1152
|
unique?: boolean | undefined;
|
|
@@ -1080,6 +1179,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1080
1179
|
name: string;
|
|
1081
1180
|
path: string;
|
|
1082
1181
|
} | undefined;
|
|
1182
|
+
pagination?: {
|
|
1183
|
+
enable?: boolean | undefined;
|
|
1184
|
+
page?: number | undefined;
|
|
1185
|
+
perPage?: number | undefined;
|
|
1186
|
+
} | undefined;
|
|
1083
1187
|
}) => void;
|
|
1084
1188
|
validate: (data: Object, hook?: any, customRules?: {
|
|
1085
1189
|
[propName: string]: any;
|
|
@@ -1090,10 +1194,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1090
1194
|
rule: string;
|
|
1091
1195
|
})[], tag?: string) => void;
|
|
1092
1196
|
clearError: (tag?: string | undefined) => void;
|
|
1197
|
+
setPagination: (params: {
|
|
1198
|
+
page?: number | undefined;
|
|
1199
|
+
perPage?: number | undefined;
|
|
1200
|
+
total?: number | undefined;
|
|
1201
|
+
}) => void;
|
|
1093
1202
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
1094
1203
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1095
1204
|
extendsOptions?: boolean | undefined;
|
|
1096
1205
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1206
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1097
1207
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1098
1208
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1099
1209
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1105,7 +1215,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1105
1215
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1106
1216
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1107
1217
|
closeDialog: (result?: any) => void;
|
|
1108
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
1218
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1109
1219
|
changeEmitedValue: (value: any) => void;
|
|
1110
1220
|
addSubFormItem: (item: {
|
|
1111
1221
|
id: string;
|
|
@@ -1150,6 +1260,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1150
1260
|
joinValues: boolean;
|
|
1151
1261
|
extractValue: boolean;
|
|
1152
1262
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1263
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1153
1264
|
expressionsInOptions: boolean;
|
|
1154
1265
|
selectFirst: boolean;
|
|
1155
1266
|
autoFill: any;
|
|
@@ -1165,6 +1276,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1165
1276
|
inputGroupControl: any;
|
|
1166
1277
|
colIndex: any;
|
|
1167
1278
|
rowIndex: any;
|
|
1279
|
+
pagination: any;
|
|
1280
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1168
1281
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1169
1282
|
readonly parentStore: any;
|
|
1170
1283
|
readonly __: any;
|
|
@@ -1185,6 +1298,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1185
1298
|
readonly valid: boolean;
|
|
1186
1299
|
readonly errClassNames: string;
|
|
1187
1300
|
readonly lastSelectValue: string;
|
|
1301
|
+
readonly enableSourcePagination: boolean;
|
|
1302
|
+
readonly sourcePageNum: number;
|
|
1303
|
+
readonly sourcePerPageNum: number;
|
|
1304
|
+
readonly sourceTotalNum: number;
|
|
1188
1305
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1189
1306
|
splitExtraValue(value: any): any[];
|
|
1190
1307
|
getMergedData(data: any): any;
|
|
@@ -1228,6 +1345,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1228
1345
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1229
1346
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1230
1347
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1348
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1231
1349
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1232
1350
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1233
1351
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1243,6 +1361,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1243
1361
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1244
1362
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1245
1363
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1364
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1365
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1246
1366
|
}, {
|
|
1247
1367
|
readonly parentStore: any;
|
|
1248
1368
|
readonly __: any;
|
|
@@ -1263,6 +1383,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1263
1383
|
readonly valid: boolean;
|
|
1264
1384
|
readonly errClassNames: string;
|
|
1265
1385
|
readonly lastSelectValue: string;
|
|
1386
|
+
readonly enableSourcePagination: boolean;
|
|
1387
|
+
readonly sourcePageNum: number;
|
|
1388
|
+
readonly sourcePerPageNum: number;
|
|
1389
|
+
readonly sourceTotalNum: number;
|
|
1266
1390
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1267
1391
|
splitExtraValue(value: any): any[];
|
|
1268
1392
|
getMergedData(data: any): any;
|
|
@@ -1310,6 +1434,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1310
1434
|
joinValues: boolean;
|
|
1311
1435
|
extractValue: boolean;
|
|
1312
1436
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1437
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1313
1438
|
expressionsInOptions: boolean;
|
|
1314
1439
|
selectFirst: boolean;
|
|
1315
1440
|
autoFill: any;
|
|
@@ -1325,6 +1450,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1325
1450
|
inputGroupControl: any;
|
|
1326
1451
|
colIndex: any;
|
|
1327
1452
|
rowIndex: any;
|
|
1453
|
+
pagination: any;
|
|
1454
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1328
1455
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1329
1456
|
readonly parentStore: any;
|
|
1330
1457
|
readonly __: any;
|
|
@@ -1345,6 +1472,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1345
1472
|
readonly valid: boolean;
|
|
1346
1473
|
readonly errClassNames: string;
|
|
1347
1474
|
readonly lastSelectValue: string;
|
|
1475
|
+
readonly enableSourcePagination: boolean;
|
|
1476
|
+
readonly sourcePageNum: number;
|
|
1477
|
+
readonly sourcePerPageNum: number;
|
|
1478
|
+
readonly sourceTotalNum: number;
|
|
1348
1479
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1349
1480
|
splitExtraValue(value: any): any[];
|
|
1350
1481
|
getMergedData(data: any): any;
|
|
@@ -1388,6 +1519,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1388
1519
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1389
1520
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1390
1521
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1522
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1391
1523
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1392
1524
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1393
1525
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1403,6 +1535,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1403
1535
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1404
1536
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1405
1537
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1538
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1539
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1406
1540
|
}, {
|
|
1407
1541
|
readonly parentStore: any;
|
|
1408
1542
|
readonly __: any;
|
|
@@ -1423,6 +1557,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1423
1557
|
readonly valid: boolean;
|
|
1424
1558
|
readonly errClassNames: string;
|
|
1425
1559
|
readonly lastSelectValue: string;
|
|
1560
|
+
readonly enableSourcePagination: boolean;
|
|
1561
|
+
readonly sourcePageNum: number;
|
|
1562
|
+
readonly sourcePerPageNum: number;
|
|
1563
|
+
readonly sourceTotalNum: number;
|
|
1426
1564
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1427
1565
|
splitExtraValue(value: any): any[];
|
|
1428
1566
|
getMergedData(data: any): any;
|
|
@@ -1469,6 +1607,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1469
1607
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1470
1608
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1471
1609
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1610
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1472
1611
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1473
1612
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1474
1613
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1484,6 +1623,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1484
1623
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1485
1624
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1486
1625
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1626
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1627
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1487
1628
|
}, {
|
|
1488
1629
|
readonly parentStore: any;
|
|
1489
1630
|
readonly __: any;
|
|
@@ -1504,13 +1645,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1504
1645
|
readonly valid: boolean;
|
|
1505
1646
|
readonly errClassNames: string;
|
|
1506
1647
|
readonly lastSelectValue: string;
|
|
1648
|
+
readonly enableSourcePagination: boolean;
|
|
1649
|
+
readonly sourcePageNum: number;
|
|
1650
|
+
readonly sourcePerPageNum: number;
|
|
1651
|
+
readonly sourceTotalNum: number;
|
|
1507
1652
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1508
1653
|
splitExtraValue(value: any): any[];
|
|
1509
1654
|
getMergedData(data: any): any;
|
|
1510
1655
|
} & {
|
|
1511
1656
|
focus: () => void;
|
|
1512
1657
|
blur: () => void;
|
|
1513
|
-
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 }: {
|
|
1658
|
+
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 }: {
|
|
1514
1659
|
extraName?: string | undefined;
|
|
1515
1660
|
required?: boolean | undefined;
|
|
1516
1661
|
unique?: boolean | undefined;
|
|
@@ -1543,6 +1688,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1543
1688
|
name: string;
|
|
1544
1689
|
path: string;
|
|
1545
1690
|
} | undefined;
|
|
1691
|
+
pagination?: {
|
|
1692
|
+
enable?: boolean | undefined;
|
|
1693
|
+
page?: number | undefined;
|
|
1694
|
+
perPage?: number | undefined;
|
|
1695
|
+
} | undefined;
|
|
1546
1696
|
}) => void;
|
|
1547
1697
|
validate: (data: Object, hook?: any, customRules?: {
|
|
1548
1698
|
[propName: string]: any;
|
|
@@ -1553,10 +1703,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1553
1703
|
rule: string;
|
|
1554
1704
|
})[], tag?: string) => void;
|
|
1555
1705
|
clearError: (tag?: string | undefined) => void;
|
|
1706
|
+
setPagination: (params: {
|
|
1707
|
+
page?: number | undefined;
|
|
1708
|
+
perPage?: number | undefined;
|
|
1709
|
+
total?: number | undefined;
|
|
1710
|
+
}) => void;
|
|
1556
1711
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
1557
1712
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
1558
1713
|
extendsOptions?: boolean | undefined;
|
|
1559
1714
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
1715
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
1560
1716
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1561
1717
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
1562
1718
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -1568,7 +1724,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1568
1724
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
1569
1725
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
1570
1726
|
closeDialog: (result?: any) => void;
|
|
1571
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
1727
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
1572
1728
|
changeEmitedValue: (value: any) => void;
|
|
1573
1729
|
addSubFormItem: (item: {
|
|
1574
1730
|
id: string;
|
|
@@ -1613,6 +1769,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1613
1769
|
joinValues: boolean;
|
|
1614
1770
|
extractValue: boolean;
|
|
1615
1771
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1772
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1616
1773
|
expressionsInOptions: boolean;
|
|
1617
1774
|
selectFirst: boolean;
|
|
1618
1775
|
autoFill: any;
|
|
@@ -1628,6 +1785,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1628
1785
|
inputGroupControl: any;
|
|
1629
1786
|
colIndex: any;
|
|
1630
1787
|
rowIndex: any;
|
|
1788
|
+
pagination: any;
|
|
1789
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1631
1790
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1632
1791
|
readonly parentStore: any;
|
|
1633
1792
|
readonly __: any;
|
|
@@ -1648,6 +1807,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1648
1807
|
readonly valid: boolean;
|
|
1649
1808
|
readonly errClassNames: string;
|
|
1650
1809
|
readonly lastSelectValue: string;
|
|
1810
|
+
readonly enableSourcePagination: boolean;
|
|
1811
|
+
readonly sourcePageNum: number;
|
|
1812
|
+
readonly sourcePerPageNum: number;
|
|
1813
|
+
readonly sourceTotalNum: number;
|
|
1651
1814
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1652
1815
|
splitExtraValue(value: any): any[];
|
|
1653
1816
|
getMergedData(data: any): any;
|
|
@@ -1691,6 +1854,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1691
1854
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1692
1855
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1693
1856
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1857
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1694
1858
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1695
1859
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1696
1860
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1706,6 +1870,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1706
1870
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1707
1871
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1708
1872
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1873
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1874
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1709
1875
|
}, {
|
|
1710
1876
|
readonly parentStore: any;
|
|
1711
1877
|
readonly __: any;
|
|
@@ -1726,6 +1892,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1726
1892
|
readonly valid: boolean;
|
|
1727
1893
|
readonly errClassNames: string;
|
|
1728
1894
|
readonly lastSelectValue: string;
|
|
1895
|
+
readonly enableSourcePagination: boolean;
|
|
1896
|
+
readonly sourcePageNum: number;
|
|
1897
|
+
readonly sourcePerPageNum: number;
|
|
1898
|
+
readonly sourceTotalNum: number;
|
|
1729
1899
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1730
1900
|
splitExtraValue(value: any): any[];
|
|
1731
1901
|
getMergedData(data: any): any;
|
|
@@ -1773,6 +1943,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1773
1943
|
joinValues: boolean;
|
|
1774
1944
|
extractValue: boolean;
|
|
1775
1945
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1946
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1776
1947
|
expressionsInOptions: boolean;
|
|
1777
1948
|
selectFirst: boolean;
|
|
1778
1949
|
autoFill: any;
|
|
@@ -1788,6 +1959,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1788
1959
|
inputGroupControl: any;
|
|
1789
1960
|
colIndex: any;
|
|
1790
1961
|
rowIndex: any;
|
|
1962
|
+
pagination: any;
|
|
1963
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
1791
1964
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
1792
1965
|
readonly parentStore: any;
|
|
1793
1966
|
readonly __: any;
|
|
@@ -1808,6 +1981,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1808
1981
|
readonly valid: boolean;
|
|
1809
1982
|
readonly errClassNames: string;
|
|
1810
1983
|
readonly lastSelectValue: string;
|
|
1984
|
+
readonly enableSourcePagination: boolean;
|
|
1985
|
+
readonly sourcePageNum: number;
|
|
1986
|
+
readonly sourcePerPageNum: number;
|
|
1987
|
+
readonly sourceTotalNum: number;
|
|
1811
1988
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1812
1989
|
splitExtraValue(value: any): any[];
|
|
1813
1990
|
getMergedData(data: any): any;
|
|
@@ -1851,6 +2028,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1851
2028
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1852
2029
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1853
2030
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2031
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1854
2032
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1855
2033
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
1856
2034
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -1866,6 +2044,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1866
2044
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1867
2045
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
1868
2046
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2047
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2048
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
1869
2049
|
}, {
|
|
1870
2050
|
readonly parentStore: any;
|
|
1871
2051
|
readonly __: any;
|
|
@@ -1886,6 +2066,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1886
2066
|
readonly valid: boolean;
|
|
1887
2067
|
readonly errClassNames: string;
|
|
1888
2068
|
readonly lastSelectValue: string;
|
|
2069
|
+
readonly enableSourcePagination: boolean;
|
|
2070
|
+
readonly sourcePageNum: number;
|
|
2071
|
+
readonly sourcePerPageNum: number;
|
|
2072
|
+
readonly sourceTotalNum: number;
|
|
1889
2073
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
1890
2074
|
splitExtraValue(value: any): any[];
|
|
1891
2075
|
getMergedData(data: any): any;
|
|
@@ -1903,6 +2087,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
1903
2087
|
maxLength: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1904
2088
|
length: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
1905
2089
|
activeKey: import("mobx-state-tree").IType<number | undefined, number, number>;
|
|
2090
|
+
memberValidMap: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
1906
2091
|
}, {
|
|
1907
2092
|
readonly parentStore: any;
|
|
1908
2093
|
readonly __: any;
|
|
@@ -2052,6 +2237,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2052
2237
|
joinValues: boolean;
|
|
2053
2238
|
extractValue: boolean;
|
|
2054
2239
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2240
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2055
2241
|
expressionsInOptions: boolean;
|
|
2056
2242
|
selectFirst: boolean;
|
|
2057
2243
|
autoFill: any;
|
|
@@ -2067,6 +2253,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2067
2253
|
inputGroupControl: any;
|
|
2068
2254
|
colIndex: any;
|
|
2069
2255
|
rowIndex: any;
|
|
2256
|
+
pagination: any;
|
|
2257
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2070
2258
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2071
2259
|
readonly parentStore: any;
|
|
2072
2260
|
readonly __: any;
|
|
@@ -2087,13 +2275,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2087
2275
|
readonly valid: boolean;
|
|
2088
2276
|
readonly errClassNames: string;
|
|
2089
2277
|
readonly lastSelectValue: string;
|
|
2278
|
+
readonly enableSourcePagination: boolean;
|
|
2279
|
+
readonly sourcePageNum: number;
|
|
2280
|
+
readonly sourcePerPageNum: number;
|
|
2281
|
+
readonly sourceTotalNum: number;
|
|
2090
2282
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2091
2283
|
splitExtraValue(value: any): any[];
|
|
2092
2284
|
getMergedData(data: any): any;
|
|
2093
2285
|
} & {
|
|
2094
2286
|
focus: () => void;
|
|
2095
2287
|
blur: () => void;
|
|
2096
|
-
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 }: {
|
|
2288
|
+
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 }: {
|
|
2097
2289
|
extraName?: string | undefined;
|
|
2098
2290
|
required?: boolean | undefined;
|
|
2099
2291
|
unique?: boolean | undefined;
|
|
@@ -2126,6 +2318,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2126
2318
|
name: string;
|
|
2127
2319
|
path: string;
|
|
2128
2320
|
} | undefined;
|
|
2321
|
+
pagination?: {
|
|
2322
|
+
enable?: boolean | undefined;
|
|
2323
|
+
page?: number | undefined;
|
|
2324
|
+
perPage?: number | undefined;
|
|
2325
|
+
} | undefined;
|
|
2129
2326
|
}) => void;
|
|
2130
2327
|
validate: (data: Object, hook?: any, customRules?: {
|
|
2131
2328
|
[propName: string]: any;
|
|
@@ -2136,10 +2333,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2136
2333
|
rule: string;
|
|
2137
2334
|
})[], tag?: string) => void;
|
|
2138
2335
|
clearError: (tag?: string | undefined) => void;
|
|
2336
|
+
setPagination: (params: {
|
|
2337
|
+
page?: number | undefined;
|
|
2338
|
+
perPage?: number | undefined;
|
|
2339
|
+
total?: number | undefined;
|
|
2340
|
+
}) => void;
|
|
2139
2341
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
2140
2342
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2141
2343
|
extendsOptions?: boolean | undefined;
|
|
2142
2344
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2345
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2143
2346
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2144
2347
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2145
2348
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2151,7 +2354,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2151
2354
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2152
2355
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2153
2356
|
closeDialog: (result?: any) => void;
|
|
2154
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
2357
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2155
2358
|
changeEmitedValue: (value: any) => void;
|
|
2156
2359
|
addSubFormItem: (item: {
|
|
2157
2360
|
id: string;
|
|
@@ -2196,6 +2399,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2196
2399
|
joinValues: boolean;
|
|
2197
2400
|
extractValue: boolean;
|
|
2198
2401
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2402
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2199
2403
|
expressionsInOptions: boolean;
|
|
2200
2404
|
selectFirst: boolean;
|
|
2201
2405
|
autoFill: any;
|
|
@@ -2211,6 +2415,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2211
2415
|
inputGroupControl: any;
|
|
2212
2416
|
colIndex: any;
|
|
2213
2417
|
rowIndex: any;
|
|
2418
|
+
pagination: any;
|
|
2419
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2214
2420
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2215
2421
|
readonly parentStore: any;
|
|
2216
2422
|
readonly __: any;
|
|
@@ -2231,6 +2437,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2231
2437
|
readonly valid: boolean;
|
|
2232
2438
|
readonly errClassNames: string;
|
|
2233
2439
|
readonly lastSelectValue: string;
|
|
2440
|
+
readonly enableSourcePagination: boolean;
|
|
2441
|
+
readonly sourcePageNum: number;
|
|
2442
|
+
readonly sourcePerPageNum: number;
|
|
2443
|
+
readonly sourceTotalNum: number;
|
|
2234
2444
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2235
2445
|
splitExtraValue(value: any): any[];
|
|
2236
2446
|
getMergedData(data: any): any;
|
|
@@ -2274,6 +2484,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2274
2484
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2275
2485
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2276
2486
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2487
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2277
2488
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2278
2489
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2279
2490
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2289,6 +2500,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2289
2500
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2290
2501
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2291
2502
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2503
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2504
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2292
2505
|
}, {
|
|
2293
2506
|
readonly parentStore: any;
|
|
2294
2507
|
readonly __: any;
|
|
@@ -2309,6 +2522,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2309
2522
|
readonly valid: boolean;
|
|
2310
2523
|
readonly errClassNames: string;
|
|
2311
2524
|
readonly lastSelectValue: string;
|
|
2525
|
+
readonly enableSourcePagination: boolean;
|
|
2526
|
+
readonly sourcePageNum: number;
|
|
2527
|
+
readonly sourcePerPageNum: number;
|
|
2528
|
+
readonly sourceTotalNum: number;
|
|
2312
2529
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2313
2530
|
splitExtraValue(value: any): any[];
|
|
2314
2531
|
getMergedData(data: any): any;
|
|
@@ -2356,6 +2573,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2356
2573
|
joinValues: boolean;
|
|
2357
2574
|
extractValue: boolean;
|
|
2358
2575
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2576
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2359
2577
|
expressionsInOptions: boolean;
|
|
2360
2578
|
selectFirst: boolean;
|
|
2361
2579
|
autoFill: any;
|
|
@@ -2371,6 +2589,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2371
2589
|
inputGroupControl: any;
|
|
2372
2590
|
colIndex: any;
|
|
2373
2591
|
rowIndex: any;
|
|
2592
|
+
pagination: any;
|
|
2593
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2374
2594
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2375
2595
|
readonly parentStore: any;
|
|
2376
2596
|
readonly __: any;
|
|
@@ -2391,6 +2611,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2391
2611
|
readonly valid: boolean;
|
|
2392
2612
|
readonly errClassNames: string;
|
|
2393
2613
|
readonly lastSelectValue: string;
|
|
2614
|
+
readonly enableSourcePagination: boolean;
|
|
2615
|
+
readonly sourcePageNum: number;
|
|
2616
|
+
readonly sourcePerPageNum: number;
|
|
2617
|
+
readonly sourceTotalNum: number;
|
|
2394
2618
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2395
2619
|
splitExtraValue(value: any): any[];
|
|
2396
2620
|
getMergedData(data: any): any;
|
|
@@ -2434,6 +2658,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2434
2658
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2435
2659
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2436
2660
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2661
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2437
2662
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2438
2663
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2439
2664
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2449,6 +2674,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2449
2674
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2450
2675
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2451
2676
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2677
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2678
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2452
2679
|
}, {
|
|
2453
2680
|
readonly parentStore: any;
|
|
2454
2681
|
readonly __: any;
|
|
@@ -2469,6 +2696,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2469
2696
|
readonly valid: boolean;
|
|
2470
2697
|
readonly errClassNames: string;
|
|
2471
2698
|
readonly lastSelectValue: string;
|
|
2699
|
+
readonly enableSourcePagination: boolean;
|
|
2700
|
+
readonly sourcePageNum: number;
|
|
2701
|
+
readonly sourcePerPageNum: number;
|
|
2702
|
+
readonly sourceTotalNum: number;
|
|
2472
2703
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2473
2704
|
splitExtraValue(value: any): any[];
|
|
2474
2705
|
getMergedData(data: any): any;
|
|
@@ -2515,6 +2746,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2515
2746
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2516
2747
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2517
2748
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2749
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2518
2750
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2519
2751
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2520
2752
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2530,6 +2762,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2530
2762
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2531
2763
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2532
2764
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2765
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2766
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2533
2767
|
}, {
|
|
2534
2768
|
readonly parentStore: any;
|
|
2535
2769
|
readonly __: any;
|
|
@@ -2550,13 +2784,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2550
2784
|
readonly valid: boolean;
|
|
2551
2785
|
readonly errClassNames: string;
|
|
2552
2786
|
readonly lastSelectValue: string;
|
|
2787
|
+
readonly enableSourcePagination: boolean;
|
|
2788
|
+
readonly sourcePageNum: number;
|
|
2789
|
+
readonly sourcePerPageNum: number;
|
|
2790
|
+
readonly sourceTotalNum: number;
|
|
2553
2791
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2554
2792
|
splitExtraValue(value: any): any[];
|
|
2555
2793
|
getMergedData(data: any): any;
|
|
2556
2794
|
} & {
|
|
2557
2795
|
focus: () => void;
|
|
2558
2796
|
blur: () => void;
|
|
2559
|
-
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 }: {
|
|
2797
|
+
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 }: {
|
|
2560
2798
|
extraName?: string | undefined;
|
|
2561
2799
|
required?: boolean | undefined;
|
|
2562
2800
|
unique?: boolean | undefined;
|
|
@@ -2589,6 +2827,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2589
2827
|
name: string;
|
|
2590
2828
|
path: string;
|
|
2591
2829
|
} | undefined;
|
|
2830
|
+
pagination?: {
|
|
2831
|
+
enable?: boolean | undefined;
|
|
2832
|
+
page?: number | undefined;
|
|
2833
|
+
perPage?: number | undefined;
|
|
2834
|
+
} | undefined;
|
|
2592
2835
|
}) => void;
|
|
2593
2836
|
validate: (data: Object, hook?: any, customRules?: {
|
|
2594
2837
|
[propName: string]: any;
|
|
@@ -2599,10 +2842,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2599
2842
|
rule: string;
|
|
2600
2843
|
})[], tag?: string) => void;
|
|
2601
2844
|
clearError: (tag?: string | undefined) => void;
|
|
2845
|
+
setPagination: (params: {
|
|
2846
|
+
page?: number | undefined;
|
|
2847
|
+
perPage?: number | undefined;
|
|
2848
|
+
total?: number | undefined;
|
|
2849
|
+
}) => void;
|
|
2602
2850
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
2603
2851
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
2604
2852
|
extendsOptions?: boolean | undefined;
|
|
2605
2853
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
2854
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
2606
2855
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2607
2856
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
2608
2857
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -2614,7 +2863,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2614
2863
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
2615
2864
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
2616
2865
|
closeDialog: (result?: any) => void;
|
|
2617
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
2866
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
2618
2867
|
changeEmitedValue: (value: any) => void;
|
|
2619
2868
|
addSubFormItem: (item: {
|
|
2620
2869
|
id: string;
|
|
@@ -2659,6 +2908,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2659
2908
|
joinValues: boolean;
|
|
2660
2909
|
extractValue: boolean;
|
|
2661
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]>>;
|
|
2662
2912
|
expressionsInOptions: boolean;
|
|
2663
2913
|
selectFirst: boolean;
|
|
2664
2914
|
autoFill: any;
|
|
@@ -2674,6 +2924,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2674
2924
|
inputGroupControl: any;
|
|
2675
2925
|
colIndex: any;
|
|
2676
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]>>;
|
|
2677
2929
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2678
2930
|
readonly parentStore: any;
|
|
2679
2931
|
readonly __: any;
|
|
@@ -2694,6 +2946,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2694
2946
|
readonly valid: boolean;
|
|
2695
2947
|
readonly errClassNames: string;
|
|
2696
2948
|
readonly lastSelectValue: string;
|
|
2949
|
+
readonly enableSourcePagination: boolean;
|
|
2950
|
+
readonly sourcePageNum: number;
|
|
2951
|
+
readonly sourcePerPageNum: number;
|
|
2952
|
+
readonly sourceTotalNum: number;
|
|
2697
2953
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2698
2954
|
splitExtraValue(value: any): any[];
|
|
2699
2955
|
getMergedData(data: any): any;
|
|
@@ -2737,6 +2993,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2737
2993
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2738
2994
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2739
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]>;
|
|
2740
2997
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2741
2998
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2742
2999
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2752,6 +3009,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2752
3009
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2753
3010
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2754
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]>;
|
|
2755
3014
|
}, {
|
|
2756
3015
|
readonly parentStore: any;
|
|
2757
3016
|
readonly __: any;
|
|
@@ -2772,6 +3031,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2772
3031
|
readonly valid: boolean;
|
|
2773
3032
|
readonly errClassNames: string;
|
|
2774
3033
|
readonly lastSelectValue: string;
|
|
3034
|
+
readonly enableSourcePagination: boolean;
|
|
3035
|
+
readonly sourcePageNum: number;
|
|
3036
|
+
readonly sourcePerPageNum: number;
|
|
3037
|
+
readonly sourceTotalNum: number;
|
|
2775
3038
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2776
3039
|
splitExtraValue(value: any): any[];
|
|
2777
3040
|
getMergedData(data: any): any;
|
|
@@ -2819,6 +3082,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2819
3082
|
joinValues: boolean;
|
|
2820
3083
|
extractValue: boolean;
|
|
2821
3084
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3085
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2822
3086
|
expressionsInOptions: boolean;
|
|
2823
3087
|
selectFirst: boolean;
|
|
2824
3088
|
autoFill: any;
|
|
@@ -2834,6 +3098,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2834
3098
|
inputGroupControl: any;
|
|
2835
3099
|
colIndex: any;
|
|
2836
3100
|
rowIndex: any;
|
|
3101
|
+
pagination: any;
|
|
3102
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2837
3103
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
2838
3104
|
readonly parentStore: any;
|
|
2839
3105
|
readonly __: any;
|
|
@@ -2854,6 +3120,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2854
3120
|
readonly valid: boolean;
|
|
2855
3121
|
readonly errClassNames: string;
|
|
2856
3122
|
readonly lastSelectValue: string;
|
|
3123
|
+
readonly enableSourcePagination: boolean;
|
|
3124
|
+
readonly sourcePageNum: number;
|
|
3125
|
+
readonly sourcePerPageNum: number;
|
|
3126
|
+
readonly sourceTotalNum: number;
|
|
2857
3127
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2858
3128
|
splitExtraValue(value: any): any[];
|
|
2859
3129
|
getMergedData(data: any): any;
|
|
@@ -2897,6 +3167,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2897
3167
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2898
3168
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2899
3169
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3170
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2900
3171
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2901
3172
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
2902
3173
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -2912,6 +3183,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2912
3183
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
2913
3184
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
2914
3185
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3186
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3187
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
2915
3188
|
}, {
|
|
2916
3189
|
readonly parentStore: any;
|
|
2917
3190
|
readonly __: any;
|
|
@@ -2932,6 +3205,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2932
3205
|
readonly valid: boolean;
|
|
2933
3206
|
readonly errClassNames: string;
|
|
2934
3207
|
readonly lastSelectValue: string;
|
|
3208
|
+
readonly enableSourcePagination: boolean;
|
|
3209
|
+
readonly sourcePageNum: number;
|
|
3210
|
+
readonly sourcePerPageNum: number;
|
|
3211
|
+
readonly sourceTotalNum: number;
|
|
2935
3212
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
2936
3213
|
splitExtraValue(value: any): any[];
|
|
2937
3214
|
getMergedData(data: any): any;
|
|
@@ -2982,6 +3259,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2982
3259
|
joinValues: boolean;
|
|
2983
3260
|
extractValue: boolean;
|
|
2984
3261
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3262
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
2985
3263
|
expressionsInOptions: boolean;
|
|
2986
3264
|
selectFirst: boolean;
|
|
2987
3265
|
autoFill: any;
|
|
@@ -2997,6 +3275,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
2997
3275
|
inputGroupControl: any;
|
|
2998
3276
|
colIndex: any;
|
|
2999
3277
|
rowIndex: any;
|
|
3278
|
+
pagination: any;
|
|
3279
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3000
3280
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3001
3281
|
readonly parentStore: any;
|
|
3002
3282
|
readonly __: any;
|
|
@@ -3017,13 +3297,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3017
3297
|
readonly valid: boolean;
|
|
3018
3298
|
readonly errClassNames: string;
|
|
3019
3299
|
readonly lastSelectValue: string;
|
|
3300
|
+
readonly enableSourcePagination: boolean;
|
|
3301
|
+
readonly sourcePageNum: number;
|
|
3302
|
+
readonly sourcePerPageNum: number;
|
|
3303
|
+
readonly sourceTotalNum: number;
|
|
3020
3304
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3021
3305
|
splitExtraValue(value: any): any[];
|
|
3022
3306
|
getMergedData(data: any): any;
|
|
3023
3307
|
} & {
|
|
3024
3308
|
focus: () => void;
|
|
3025
3309
|
blur: () => void;
|
|
3026
|
-
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 }: {
|
|
3310
|
+
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 }: {
|
|
3027
3311
|
extraName?: string | undefined;
|
|
3028
3312
|
required?: boolean | undefined;
|
|
3029
3313
|
unique?: boolean | undefined;
|
|
@@ -3056,6 +3340,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3056
3340
|
name: string;
|
|
3057
3341
|
path: string;
|
|
3058
3342
|
} | undefined;
|
|
3343
|
+
pagination?: {
|
|
3344
|
+
enable?: boolean | undefined;
|
|
3345
|
+
page?: number | undefined;
|
|
3346
|
+
perPage?: number | undefined;
|
|
3347
|
+
} | undefined;
|
|
3059
3348
|
}) => void;
|
|
3060
3349
|
validate: (data: Object, hook?: any, customRules?: {
|
|
3061
3350
|
[propName: string]: any;
|
|
@@ -3066,10 +3355,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3066
3355
|
rule: string;
|
|
3067
3356
|
})[], tag?: string) => void;
|
|
3068
3357
|
clearError: (tag?: string | undefined) => void;
|
|
3358
|
+
setPagination: (params: {
|
|
3359
|
+
page?: number | undefined;
|
|
3360
|
+
perPage?: number | undefined;
|
|
3361
|
+
total?: number | undefined;
|
|
3362
|
+
}) => void;
|
|
3069
3363
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
3070
3364
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3071
3365
|
extendsOptions?: boolean | undefined;
|
|
3072
3366
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3367
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3073
3368
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3074
3369
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3075
3370
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3081,7 +3376,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3081
3376
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3082
3377
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3083
3378
|
closeDialog: (result?: any) => void;
|
|
3084
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
3379
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3085
3380
|
changeEmitedValue: (value: any) => void;
|
|
3086
3381
|
addSubFormItem: (item: {
|
|
3087
3382
|
id: string;
|
|
@@ -3126,6 +3421,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3126
3421
|
joinValues: boolean;
|
|
3127
3422
|
extractValue: boolean;
|
|
3128
3423
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3424
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3129
3425
|
expressionsInOptions: boolean;
|
|
3130
3426
|
selectFirst: boolean;
|
|
3131
3427
|
autoFill: any;
|
|
@@ -3141,6 +3437,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3141
3437
|
inputGroupControl: any;
|
|
3142
3438
|
colIndex: any;
|
|
3143
3439
|
rowIndex: any;
|
|
3440
|
+
pagination: any;
|
|
3441
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3144
3442
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3145
3443
|
readonly parentStore: any;
|
|
3146
3444
|
readonly __: any;
|
|
@@ -3161,6 +3459,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3161
3459
|
readonly valid: boolean;
|
|
3162
3460
|
readonly errClassNames: string;
|
|
3163
3461
|
readonly lastSelectValue: string;
|
|
3462
|
+
readonly enableSourcePagination: boolean;
|
|
3463
|
+
readonly sourcePageNum: number;
|
|
3464
|
+
readonly sourcePerPageNum: number;
|
|
3465
|
+
readonly sourceTotalNum: number;
|
|
3164
3466
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3165
3467
|
splitExtraValue(value: any): any[];
|
|
3166
3468
|
getMergedData(data: any): any;
|
|
@@ -3204,6 +3506,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3204
3506
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3205
3507
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3206
3508
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3509
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3207
3510
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3208
3511
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3209
3512
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3219,6 +3522,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3219
3522
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3220
3523
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3221
3524
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3525
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3526
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3222
3527
|
}, {
|
|
3223
3528
|
readonly parentStore: any;
|
|
3224
3529
|
readonly __: any;
|
|
@@ -3239,6 +3544,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3239
3544
|
readonly valid: boolean;
|
|
3240
3545
|
readonly errClassNames: string;
|
|
3241
3546
|
readonly lastSelectValue: string;
|
|
3547
|
+
readonly enableSourcePagination: boolean;
|
|
3548
|
+
readonly sourcePageNum: number;
|
|
3549
|
+
readonly sourcePerPageNum: number;
|
|
3550
|
+
readonly sourceTotalNum: number;
|
|
3242
3551
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3243
3552
|
splitExtraValue(value: any): any[];
|
|
3244
3553
|
getMergedData(data: any): any;
|
|
@@ -3286,6 +3595,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3286
3595
|
joinValues: boolean;
|
|
3287
3596
|
extractValue: boolean;
|
|
3288
3597
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3598
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3289
3599
|
expressionsInOptions: boolean;
|
|
3290
3600
|
selectFirst: boolean;
|
|
3291
3601
|
autoFill: any;
|
|
@@ -3301,6 +3611,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3301
3611
|
inputGroupControl: any;
|
|
3302
3612
|
colIndex: any;
|
|
3303
3613
|
rowIndex: any;
|
|
3614
|
+
pagination: any;
|
|
3615
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3304
3616
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3305
3617
|
readonly parentStore: any;
|
|
3306
3618
|
readonly __: any;
|
|
@@ -3321,6 +3633,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3321
3633
|
readonly valid: boolean;
|
|
3322
3634
|
readonly errClassNames: string;
|
|
3323
3635
|
readonly lastSelectValue: string;
|
|
3636
|
+
readonly enableSourcePagination: boolean;
|
|
3637
|
+
readonly sourcePageNum: number;
|
|
3638
|
+
readonly sourcePerPageNum: number;
|
|
3639
|
+
readonly sourceTotalNum: number;
|
|
3324
3640
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3325
3641
|
splitExtraValue(value: any): any[];
|
|
3326
3642
|
getMergedData(data: any): any;
|
|
@@ -3364,6 +3680,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3364
3680
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3365
3681
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3366
3682
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3683
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3367
3684
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3368
3685
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3369
3686
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3379,6 +3696,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3379
3696
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3380
3697
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3381
3698
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3699
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3700
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3382
3701
|
}, {
|
|
3383
3702
|
readonly parentStore: any;
|
|
3384
3703
|
readonly __: any;
|
|
@@ -3399,6 +3718,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3399
3718
|
readonly valid: boolean;
|
|
3400
3719
|
readonly errClassNames: string;
|
|
3401
3720
|
readonly lastSelectValue: string;
|
|
3721
|
+
readonly enableSourcePagination: boolean;
|
|
3722
|
+
readonly sourcePageNum: number;
|
|
3723
|
+
readonly sourcePerPageNum: number;
|
|
3724
|
+
readonly sourceTotalNum: number;
|
|
3402
3725
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3403
3726
|
splitExtraValue(value: any): any[];
|
|
3404
3727
|
getMergedData(data: any): any;
|
|
@@ -3445,6 +3768,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3445
3768
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3446
3769
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3447
3770
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3771
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3448
3772
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3449
3773
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3450
3774
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3460,6 +3784,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3460
3784
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3461
3785
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3462
3786
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3787
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3788
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3463
3789
|
}, {
|
|
3464
3790
|
readonly parentStore: any;
|
|
3465
3791
|
readonly __: any;
|
|
@@ -3480,13 +3806,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3480
3806
|
readonly valid: boolean;
|
|
3481
3807
|
readonly errClassNames: string;
|
|
3482
3808
|
readonly lastSelectValue: string;
|
|
3809
|
+
readonly enableSourcePagination: boolean;
|
|
3810
|
+
readonly sourcePageNum: number;
|
|
3811
|
+
readonly sourcePerPageNum: number;
|
|
3812
|
+
readonly sourceTotalNum: number;
|
|
3483
3813
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3484
3814
|
splitExtraValue(value: any): any[];
|
|
3485
3815
|
getMergedData(data: any): any;
|
|
3486
3816
|
} & {
|
|
3487
3817
|
focus: () => void;
|
|
3488
3818
|
blur: () => void;
|
|
3489
|
-
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 }: {
|
|
3819
|
+
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 }: {
|
|
3490
3820
|
extraName?: string | undefined;
|
|
3491
3821
|
required?: boolean | undefined;
|
|
3492
3822
|
unique?: boolean | undefined;
|
|
@@ -3519,6 +3849,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3519
3849
|
name: string;
|
|
3520
3850
|
path: string;
|
|
3521
3851
|
} | undefined;
|
|
3852
|
+
pagination?: {
|
|
3853
|
+
enable?: boolean | undefined;
|
|
3854
|
+
page?: number | undefined;
|
|
3855
|
+
perPage?: number | undefined;
|
|
3856
|
+
} | undefined;
|
|
3522
3857
|
}) => void;
|
|
3523
3858
|
validate: (data: Object, hook?: any, customRules?: {
|
|
3524
3859
|
[propName: string]: any;
|
|
@@ -3529,10 +3864,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3529
3864
|
rule: string;
|
|
3530
3865
|
})[], tag?: string) => void;
|
|
3531
3866
|
clearError: (tag?: string | undefined) => void;
|
|
3867
|
+
setPagination: (params: {
|
|
3868
|
+
page?: number | undefined;
|
|
3869
|
+
perPage?: number | undefined;
|
|
3870
|
+
total?: number | undefined;
|
|
3871
|
+
}) => void;
|
|
3532
3872
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
3533
3873
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
3534
3874
|
extendsOptions?: boolean | undefined;
|
|
3535
3875
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
3876
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
3536
3877
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3537
3878
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
3538
3879
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -3544,7 +3885,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3544
3885
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
3545
3886
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
3546
3887
|
closeDialog: (result?: any) => void;
|
|
3547
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
3888
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
3548
3889
|
changeEmitedValue: (value: any) => void;
|
|
3549
3890
|
addSubFormItem: (item: {
|
|
3550
3891
|
id: string;
|
|
@@ -3589,6 +3930,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3589
3930
|
joinValues: boolean;
|
|
3590
3931
|
extractValue: boolean;
|
|
3591
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]>>;
|
|
3592
3934
|
expressionsInOptions: boolean;
|
|
3593
3935
|
selectFirst: boolean;
|
|
3594
3936
|
autoFill: any;
|
|
@@ -3604,6 +3946,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3604
3946
|
inputGroupControl: any;
|
|
3605
3947
|
colIndex: any;
|
|
3606
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]>>;
|
|
3607
3951
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3608
3952
|
readonly parentStore: any;
|
|
3609
3953
|
readonly __: any;
|
|
@@ -3624,6 +3968,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3624
3968
|
readonly valid: boolean;
|
|
3625
3969
|
readonly errClassNames: string;
|
|
3626
3970
|
readonly lastSelectValue: string;
|
|
3971
|
+
readonly enableSourcePagination: boolean;
|
|
3972
|
+
readonly sourcePageNum: number;
|
|
3973
|
+
readonly sourcePerPageNum: number;
|
|
3974
|
+
readonly sourceTotalNum: number;
|
|
3627
3975
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3628
3976
|
splitExtraValue(value: any): any[];
|
|
3629
3977
|
getMergedData(data: any): any;
|
|
@@ -3667,6 +4015,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3667
4015
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3668
4016
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3669
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]>;
|
|
3670
4019
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3671
4020
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3672
4021
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3682,6 +4031,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3682
4031
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3683
4032
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3684
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]>;
|
|
3685
4036
|
}, {
|
|
3686
4037
|
readonly parentStore: any;
|
|
3687
4038
|
readonly __: any;
|
|
@@ -3702,6 +4053,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3702
4053
|
readonly valid: boolean;
|
|
3703
4054
|
readonly errClassNames: string;
|
|
3704
4055
|
readonly lastSelectValue: string;
|
|
4056
|
+
readonly enableSourcePagination: boolean;
|
|
4057
|
+
readonly sourcePageNum: number;
|
|
4058
|
+
readonly sourcePerPageNum: number;
|
|
4059
|
+
readonly sourceTotalNum: number;
|
|
3705
4060
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3706
4061
|
splitExtraValue(value: any): any[];
|
|
3707
4062
|
getMergedData(data: any): any;
|
|
@@ -3749,6 +4104,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3749
4104
|
joinValues: boolean;
|
|
3750
4105
|
extractValue: boolean;
|
|
3751
4106
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4107
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3752
4108
|
expressionsInOptions: boolean;
|
|
3753
4109
|
selectFirst: boolean;
|
|
3754
4110
|
autoFill: any;
|
|
@@ -3764,6 +4120,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3764
4120
|
inputGroupControl: any;
|
|
3765
4121
|
colIndex: any;
|
|
3766
4122
|
rowIndex: any;
|
|
4123
|
+
pagination: any;
|
|
4124
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3767
4125
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3768
4126
|
readonly parentStore: any;
|
|
3769
4127
|
readonly __: any;
|
|
@@ -3784,6 +4142,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3784
4142
|
readonly valid: boolean;
|
|
3785
4143
|
readonly errClassNames: string;
|
|
3786
4144
|
readonly lastSelectValue: string;
|
|
4145
|
+
readonly enableSourcePagination: boolean;
|
|
4146
|
+
readonly sourcePageNum: number;
|
|
4147
|
+
readonly sourcePerPageNum: number;
|
|
4148
|
+
readonly sourceTotalNum: number;
|
|
3787
4149
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3788
4150
|
splitExtraValue(value: any): any[];
|
|
3789
4151
|
getMergedData(data: any): any;
|
|
@@ -3827,6 +4189,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3827
4189
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3828
4190
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3829
4191
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4192
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3830
4193
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3831
4194
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
3832
4195
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -3842,6 +4205,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3842
4205
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
3843
4206
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
3844
4207
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4208
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4209
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
3845
4210
|
}, {
|
|
3846
4211
|
readonly parentStore: any;
|
|
3847
4212
|
readonly __: any;
|
|
@@ -3862,6 +4227,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3862
4227
|
readonly valid: boolean;
|
|
3863
4228
|
readonly errClassNames: string;
|
|
3864
4229
|
readonly lastSelectValue: string;
|
|
4230
|
+
readonly enableSourcePagination: boolean;
|
|
4231
|
+
readonly sourcePageNum: number;
|
|
4232
|
+
readonly sourcePerPageNum: number;
|
|
4233
|
+
readonly sourceTotalNum: number;
|
|
3865
4234
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3866
4235
|
splitExtraValue(value: any): any[];
|
|
3867
4236
|
getMergedData(data: any): any;
|
|
@@ -3917,6 +4286,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3917
4286
|
joinValues: boolean;
|
|
3918
4287
|
extractValue: boolean;
|
|
3919
4288
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4289
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3920
4290
|
expressionsInOptions: boolean;
|
|
3921
4291
|
selectFirst: boolean;
|
|
3922
4292
|
autoFill: any;
|
|
@@ -3932,6 +4302,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3932
4302
|
inputGroupControl: any;
|
|
3933
4303
|
colIndex: any;
|
|
3934
4304
|
rowIndex: any;
|
|
4305
|
+
pagination: any;
|
|
4306
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
3935
4307
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
3936
4308
|
readonly parentStore: any;
|
|
3937
4309
|
readonly __: any;
|
|
@@ -3952,13 +4324,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3952
4324
|
readonly valid: boolean;
|
|
3953
4325
|
readonly errClassNames: string;
|
|
3954
4326
|
readonly lastSelectValue: string;
|
|
4327
|
+
readonly enableSourcePagination: boolean;
|
|
4328
|
+
readonly sourcePageNum: number;
|
|
4329
|
+
readonly sourcePerPageNum: number;
|
|
4330
|
+
readonly sourceTotalNum: number;
|
|
3955
4331
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
3956
4332
|
splitExtraValue(value: any): any[];
|
|
3957
4333
|
getMergedData(data: any): any;
|
|
3958
4334
|
} & {
|
|
3959
4335
|
focus: () => void;
|
|
3960
4336
|
blur: () => void;
|
|
3961
|
-
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 }: {
|
|
4337
|
+
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 }: {
|
|
3962
4338
|
extraName?: string | undefined;
|
|
3963
4339
|
required?: boolean | undefined;
|
|
3964
4340
|
unique?: boolean | undefined;
|
|
@@ -3991,6 +4367,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
3991
4367
|
name: string;
|
|
3992
4368
|
path: string;
|
|
3993
4369
|
} | undefined;
|
|
4370
|
+
pagination?: {
|
|
4371
|
+
enable?: boolean | undefined;
|
|
4372
|
+
page?: number | undefined;
|
|
4373
|
+
perPage?: number | undefined;
|
|
4374
|
+
} | undefined;
|
|
3994
4375
|
}) => void;
|
|
3995
4376
|
validate: (data: Object, hook?: any, customRules?: {
|
|
3996
4377
|
[propName: string]: any;
|
|
@@ -4001,10 +4382,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4001
4382
|
rule: string;
|
|
4002
4383
|
})[], tag?: string) => void;
|
|
4003
4384
|
clearError: (tag?: string | undefined) => void;
|
|
4385
|
+
setPagination: (params: {
|
|
4386
|
+
page?: number | undefined;
|
|
4387
|
+
perPage?: number | undefined;
|
|
4388
|
+
total?: number | undefined;
|
|
4389
|
+
}) => void;
|
|
4004
4390
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
4005
4391
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4006
4392
|
extendsOptions?: boolean | undefined;
|
|
4007
4393
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4394
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4008
4395
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4009
4396
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4010
4397
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4016,7 +4403,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4016
4403
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4017
4404
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4018
4405
|
closeDialog: (result?: any) => void;
|
|
4019
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
4406
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4020
4407
|
changeEmitedValue: (value: any) => void;
|
|
4021
4408
|
addSubFormItem: (item: {
|
|
4022
4409
|
id: string;
|
|
@@ -4061,6 +4448,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4061
4448
|
joinValues: boolean;
|
|
4062
4449
|
extractValue: boolean;
|
|
4063
4450
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4451
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4064
4452
|
expressionsInOptions: boolean;
|
|
4065
4453
|
selectFirst: boolean;
|
|
4066
4454
|
autoFill: any;
|
|
@@ -4076,6 +4464,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4076
4464
|
inputGroupControl: any;
|
|
4077
4465
|
colIndex: any;
|
|
4078
4466
|
rowIndex: any;
|
|
4467
|
+
pagination: any;
|
|
4468
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4079
4469
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4080
4470
|
readonly parentStore: any;
|
|
4081
4471
|
readonly __: any;
|
|
@@ -4096,6 +4486,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4096
4486
|
readonly valid: boolean;
|
|
4097
4487
|
readonly errClassNames: string;
|
|
4098
4488
|
readonly lastSelectValue: string;
|
|
4489
|
+
readonly enableSourcePagination: boolean;
|
|
4490
|
+
readonly sourcePageNum: number;
|
|
4491
|
+
readonly sourcePerPageNum: number;
|
|
4492
|
+
readonly sourceTotalNum: number;
|
|
4099
4493
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4100
4494
|
splitExtraValue(value: any): any[];
|
|
4101
4495
|
getMergedData(data: any): any;
|
|
@@ -4139,6 +4533,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4139
4533
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4140
4534
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4141
4535
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4536
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4142
4537
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4143
4538
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4144
4539
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4154,6 +4549,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4154
4549
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4155
4550
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4156
4551
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4552
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4553
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4157
4554
|
}, {
|
|
4158
4555
|
readonly parentStore: any;
|
|
4159
4556
|
readonly __: any;
|
|
@@ -4174,6 +4571,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4174
4571
|
readonly valid: boolean;
|
|
4175
4572
|
readonly errClassNames: string;
|
|
4176
4573
|
readonly lastSelectValue: string;
|
|
4574
|
+
readonly enableSourcePagination: boolean;
|
|
4575
|
+
readonly sourcePageNum: number;
|
|
4576
|
+
readonly sourcePerPageNum: number;
|
|
4577
|
+
readonly sourceTotalNum: number;
|
|
4177
4578
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4178
4579
|
splitExtraValue(value: any): any[];
|
|
4179
4580
|
getMergedData(data: any): any;
|
|
@@ -4221,6 +4622,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4221
4622
|
joinValues: boolean;
|
|
4222
4623
|
extractValue: boolean;
|
|
4223
4624
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4625
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4224
4626
|
expressionsInOptions: boolean;
|
|
4225
4627
|
selectFirst: boolean;
|
|
4226
4628
|
autoFill: any;
|
|
@@ -4236,6 +4638,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4236
4638
|
inputGroupControl: any;
|
|
4237
4639
|
colIndex: any;
|
|
4238
4640
|
rowIndex: any;
|
|
4641
|
+
pagination: any;
|
|
4642
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4239
4643
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4240
4644
|
readonly parentStore: any;
|
|
4241
4645
|
readonly __: any;
|
|
@@ -4256,6 +4660,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4256
4660
|
readonly valid: boolean;
|
|
4257
4661
|
readonly errClassNames: string;
|
|
4258
4662
|
readonly lastSelectValue: string;
|
|
4663
|
+
readonly enableSourcePagination: boolean;
|
|
4664
|
+
readonly sourcePageNum: number;
|
|
4665
|
+
readonly sourcePerPageNum: number;
|
|
4666
|
+
readonly sourceTotalNum: number;
|
|
4259
4667
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4260
4668
|
splitExtraValue(value: any): any[];
|
|
4261
4669
|
getMergedData(data: any): any;
|
|
@@ -4299,6 +4707,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4299
4707
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4300
4708
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4301
4709
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4710
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4302
4711
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4303
4712
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4304
4713
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4314,6 +4723,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4314
4723
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4315
4724
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4316
4725
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4726
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4727
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4317
4728
|
}, {
|
|
4318
4729
|
readonly parentStore: any;
|
|
4319
4730
|
readonly __: any;
|
|
@@ -4334,6 +4745,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4334
4745
|
readonly valid: boolean;
|
|
4335
4746
|
readonly errClassNames: string;
|
|
4336
4747
|
readonly lastSelectValue: string;
|
|
4748
|
+
readonly enableSourcePagination: boolean;
|
|
4749
|
+
readonly sourcePageNum: number;
|
|
4750
|
+
readonly sourcePerPageNum: number;
|
|
4751
|
+
readonly sourceTotalNum: number;
|
|
4337
4752
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4338
4753
|
splitExtraValue(value: any): any[];
|
|
4339
4754
|
getMergedData(data: any): any;
|
|
@@ -4380,6 +4795,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4380
4795
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4381
4796
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4382
4797
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4798
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4383
4799
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4384
4800
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4385
4801
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4395,6 +4811,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4395
4811
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4396
4812
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4397
4813
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4814
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4815
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4398
4816
|
}, {
|
|
4399
4817
|
readonly parentStore: any;
|
|
4400
4818
|
readonly __: any;
|
|
@@ -4415,13 +4833,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4415
4833
|
readonly valid: boolean;
|
|
4416
4834
|
readonly errClassNames: string;
|
|
4417
4835
|
readonly lastSelectValue: string;
|
|
4836
|
+
readonly enableSourcePagination: boolean;
|
|
4837
|
+
readonly sourcePageNum: number;
|
|
4838
|
+
readonly sourcePerPageNum: number;
|
|
4839
|
+
readonly sourceTotalNum: number;
|
|
4418
4840
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4419
4841
|
splitExtraValue(value: any): any[];
|
|
4420
4842
|
getMergedData(data: any): any;
|
|
4421
4843
|
} & {
|
|
4422
4844
|
focus: () => void;
|
|
4423
4845
|
blur: () => void;
|
|
4424
|
-
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 }: {
|
|
4846
|
+
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 }: {
|
|
4425
4847
|
extraName?: string | undefined;
|
|
4426
4848
|
required?: boolean | undefined;
|
|
4427
4849
|
unique?: boolean | undefined;
|
|
@@ -4454,6 +4876,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4454
4876
|
name: string;
|
|
4455
4877
|
path: string;
|
|
4456
4878
|
} | undefined;
|
|
4879
|
+
pagination?: {
|
|
4880
|
+
enable?: boolean | undefined;
|
|
4881
|
+
page?: number | undefined;
|
|
4882
|
+
perPage?: number | undefined;
|
|
4883
|
+
} | undefined;
|
|
4457
4884
|
}) => void;
|
|
4458
4885
|
validate: (data: Object, hook?: any, customRules?: {
|
|
4459
4886
|
[propName: string]: any;
|
|
@@ -4464,10 +4891,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4464
4891
|
rule: string;
|
|
4465
4892
|
})[], tag?: string) => void;
|
|
4466
4893
|
clearError: (tag?: string | undefined) => void;
|
|
4894
|
+
setPagination: (params: {
|
|
4895
|
+
page?: number | undefined;
|
|
4896
|
+
perPage?: number | undefined;
|
|
4897
|
+
total?: number | undefined;
|
|
4898
|
+
}) => void;
|
|
4467
4899
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
4468
4900
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4469
4901
|
extendsOptions?: boolean | undefined;
|
|
4470
4902
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
4903
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4471
4904
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4472
4905
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4473
4906
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4479,7 +4912,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4479
4912
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4480
4913
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4481
4914
|
closeDialog: (result?: any) => void;
|
|
4482
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
4915
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4483
4916
|
changeEmitedValue: (value: any) => void;
|
|
4484
4917
|
addSubFormItem: (item: {
|
|
4485
4918
|
id: string;
|
|
@@ -4524,6 +4957,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4524
4957
|
joinValues: boolean;
|
|
4525
4958
|
extractValue: boolean;
|
|
4526
4959
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4960
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4527
4961
|
expressionsInOptions: boolean;
|
|
4528
4962
|
selectFirst: boolean;
|
|
4529
4963
|
autoFill: any;
|
|
@@ -4539,6 +4973,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4539
4973
|
inputGroupControl: any;
|
|
4540
4974
|
colIndex: any;
|
|
4541
4975
|
rowIndex: any;
|
|
4976
|
+
pagination: any;
|
|
4977
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4542
4978
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4543
4979
|
readonly parentStore: any;
|
|
4544
4980
|
readonly __: any;
|
|
@@ -4559,6 +4995,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4559
4995
|
readonly valid: boolean;
|
|
4560
4996
|
readonly errClassNames: string;
|
|
4561
4997
|
readonly lastSelectValue: string;
|
|
4998
|
+
readonly enableSourcePagination: boolean;
|
|
4999
|
+
readonly sourcePageNum: number;
|
|
5000
|
+
readonly sourcePerPageNum: number;
|
|
5001
|
+
readonly sourceTotalNum: number;
|
|
4562
5002
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4563
5003
|
splitExtraValue(value: any): any[];
|
|
4564
5004
|
getMergedData(data: any): any;
|
|
@@ -4602,6 +5042,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4602
5042
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4603
5043
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4604
5044
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5045
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4605
5046
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4606
5047
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4607
5048
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4617,6 +5058,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4617
5058
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4618
5059
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4619
5060
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5061
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5062
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4620
5063
|
}, {
|
|
4621
5064
|
readonly parentStore: any;
|
|
4622
5065
|
readonly __: any;
|
|
@@ -4637,6 +5080,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4637
5080
|
readonly valid: boolean;
|
|
4638
5081
|
readonly errClassNames: string;
|
|
4639
5082
|
readonly lastSelectValue: string;
|
|
5083
|
+
readonly enableSourcePagination: boolean;
|
|
5084
|
+
readonly sourcePageNum: number;
|
|
5085
|
+
readonly sourcePerPageNum: number;
|
|
5086
|
+
readonly sourceTotalNum: number;
|
|
4640
5087
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4641
5088
|
splitExtraValue(value: any): any[];
|
|
4642
5089
|
getMergedData(data: any): any;
|
|
@@ -4684,6 +5131,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4684
5131
|
joinValues: boolean;
|
|
4685
5132
|
extractValue: boolean;
|
|
4686
5133
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5134
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4687
5135
|
expressionsInOptions: boolean;
|
|
4688
5136
|
selectFirst: boolean;
|
|
4689
5137
|
autoFill: any;
|
|
@@ -4699,6 +5147,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4699
5147
|
inputGroupControl: any;
|
|
4700
5148
|
colIndex: any;
|
|
4701
5149
|
rowIndex: any;
|
|
5150
|
+
pagination: any;
|
|
5151
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4702
5152
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4703
5153
|
readonly parentStore: any;
|
|
4704
5154
|
readonly __: any;
|
|
@@ -4719,6 +5169,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4719
5169
|
readonly valid: boolean;
|
|
4720
5170
|
readonly errClassNames: string;
|
|
4721
5171
|
readonly lastSelectValue: string;
|
|
5172
|
+
readonly enableSourcePagination: boolean;
|
|
5173
|
+
readonly sourcePageNum: number;
|
|
5174
|
+
readonly sourcePerPageNum: number;
|
|
5175
|
+
readonly sourceTotalNum: number;
|
|
4722
5176
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4723
5177
|
splitExtraValue(value: any): any[];
|
|
4724
5178
|
getMergedData(data: any): any;
|
|
@@ -4762,6 +5216,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4762
5216
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4763
5217
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4764
5218
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5219
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4765
5220
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4766
5221
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
4767
5222
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -4777,6 +5232,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4777
5232
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
4778
5233
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
4779
5234
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5235
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5236
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
4780
5237
|
}, {
|
|
4781
5238
|
readonly parentStore: any;
|
|
4782
5239
|
readonly __: any;
|
|
@@ -4797,6 +5254,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4797
5254
|
readonly valid: boolean;
|
|
4798
5255
|
readonly errClassNames: string;
|
|
4799
5256
|
readonly lastSelectValue: string;
|
|
5257
|
+
readonly enableSourcePagination: boolean;
|
|
5258
|
+
readonly sourcePageNum: number;
|
|
5259
|
+
readonly sourcePerPageNum: number;
|
|
5260
|
+
readonly sourceTotalNum: number;
|
|
4800
5261
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4801
5262
|
splitExtraValue(value: any): any[];
|
|
4802
5263
|
getMergedData(data: any): any;
|
|
@@ -4847,6 +5308,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4847
5308
|
joinValues: boolean;
|
|
4848
5309
|
extractValue: boolean;
|
|
4849
5310
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5311
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4850
5312
|
expressionsInOptions: boolean;
|
|
4851
5313
|
selectFirst: boolean;
|
|
4852
5314
|
autoFill: any;
|
|
@@ -4862,6 +5324,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4862
5324
|
inputGroupControl: any;
|
|
4863
5325
|
colIndex: any;
|
|
4864
5326
|
rowIndex: any;
|
|
5327
|
+
pagination: any;
|
|
5328
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4865
5329
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
4866
5330
|
readonly parentStore: any;
|
|
4867
5331
|
readonly __: any;
|
|
@@ -4882,13 +5346,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4882
5346
|
readonly valid: boolean;
|
|
4883
5347
|
readonly errClassNames: string;
|
|
4884
5348
|
readonly lastSelectValue: string;
|
|
5349
|
+
readonly enableSourcePagination: boolean;
|
|
5350
|
+
readonly sourcePageNum: number;
|
|
5351
|
+
readonly sourcePerPageNum: number;
|
|
5352
|
+
readonly sourceTotalNum: number;
|
|
4885
5353
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
4886
5354
|
splitExtraValue(value: any): any[];
|
|
4887
5355
|
getMergedData(data: any): any;
|
|
4888
5356
|
} & {
|
|
4889
5357
|
focus: () => void;
|
|
4890
5358
|
blur: () => void;
|
|
4891
|
-
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 }: {
|
|
5359
|
+
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 }: {
|
|
4892
5360
|
extraName?: string | undefined;
|
|
4893
5361
|
required?: boolean | undefined;
|
|
4894
5362
|
unique?: boolean | undefined;
|
|
@@ -4921,6 +5389,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4921
5389
|
name: string;
|
|
4922
5390
|
path: string;
|
|
4923
5391
|
} | undefined;
|
|
5392
|
+
pagination?: {
|
|
5393
|
+
enable?: boolean | undefined;
|
|
5394
|
+
page?: number | undefined;
|
|
5395
|
+
perPage?: number | undefined;
|
|
5396
|
+
} | undefined;
|
|
4924
5397
|
}) => void;
|
|
4925
5398
|
validate: (data: Object, hook?: any, customRules?: {
|
|
4926
5399
|
[propName: string]: any;
|
|
@@ -4931,10 +5404,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4931
5404
|
rule: string;
|
|
4932
5405
|
})[], tag?: string) => void;
|
|
4933
5406
|
clearError: (tag?: string | undefined) => void;
|
|
5407
|
+
setPagination: (params: {
|
|
5408
|
+
page?: number | undefined;
|
|
5409
|
+
perPage?: number | undefined;
|
|
5410
|
+
total?: number | undefined;
|
|
5411
|
+
}) => void;
|
|
4934
5412
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
4935
5413
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
4936
5414
|
extendsOptions?: boolean | undefined;
|
|
4937
5415
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
5416
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
4938
5417
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4939
5418
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
4940
5419
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -4946,7 +5425,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4946
5425
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
4947
5426
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
4948
5427
|
closeDialog: (result?: any) => void;
|
|
4949
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
5428
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
4950
5429
|
changeEmitedValue: (value: any) => void;
|
|
4951
5430
|
addSubFormItem: (item: {
|
|
4952
5431
|
id: string;
|
|
@@ -4991,6 +5470,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
4991
5470
|
joinValues: boolean;
|
|
4992
5471
|
extractValue: boolean;
|
|
4993
5472
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5473
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
4994
5474
|
expressionsInOptions: boolean;
|
|
4995
5475
|
selectFirst: boolean;
|
|
4996
5476
|
autoFill: any;
|
|
@@ -5006,6 +5486,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5006
5486
|
inputGroupControl: any;
|
|
5007
5487
|
colIndex: any;
|
|
5008
5488
|
rowIndex: any;
|
|
5489
|
+
pagination: any;
|
|
5490
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5009
5491
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5010
5492
|
readonly parentStore: any;
|
|
5011
5493
|
readonly __: any;
|
|
@@ -5026,6 +5508,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5026
5508
|
readonly valid: boolean;
|
|
5027
5509
|
readonly errClassNames: string;
|
|
5028
5510
|
readonly lastSelectValue: string;
|
|
5511
|
+
readonly enableSourcePagination: boolean;
|
|
5512
|
+
readonly sourcePageNum: number;
|
|
5513
|
+
readonly sourcePerPageNum: number;
|
|
5514
|
+
readonly sourceTotalNum: number;
|
|
5029
5515
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5030
5516
|
splitExtraValue(value: any): any[];
|
|
5031
5517
|
getMergedData(data: any): any;
|
|
@@ -5069,6 +5555,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5069
5555
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5070
5556
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5071
5557
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5558
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5072
5559
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5073
5560
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5074
5561
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5084,6 +5571,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5084
5571
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5085
5572
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5086
5573
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5574
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5575
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5087
5576
|
}, {
|
|
5088
5577
|
readonly parentStore: any;
|
|
5089
5578
|
readonly __: any;
|
|
@@ -5104,6 +5593,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5104
5593
|
readonly valid: boolean;
|
|
5105
5594
|
readonly errClassNames: string;
|
|
5106
5595
|
readonly lastSelectValue: string;
|
|
5596
|
+
readonly enableSourcePagination: boolean;
|
|
5597
|
+
readonly sourcePageNum: number;
|
|
5598
|
+
readonly sourcePerPageNum: number;
|
|
5599
|
+
readonly sourceTotalNum: number;
|
|
5107
5600
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5108
5601
|
splitExtraValue(value: any): any[];
|
|
5109
5602
|
getMergedData(data: any): any;
|
|
@@ -5151,6 +5644,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5151
5644
|
joinValues: boolean;
|
|
5152
5645
|
extractValue: boolean;
|
|
5153
5646
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5647
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5154
5648
|
expressionsInOptions: boolean;
|
|
5155
5649
|
selectFirst: boolean;
|
|
5156
5650
|
autoFill: any;
|
|
@@ -5166,6 +5660,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5166
5660
|
inputGroupControl: any;
|
|
5167
5661
|
colIndex: any;
|
|
5168
5662
|
rowIndex: any;
|
|
5663
|
+
pagination: any;
|
|
5664
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5169
5665
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5170
5666
|
readonly parentStore: any;
|
|
5171
5667
|
readonly __: any;
|
|
@@ -5186,6 +5682,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5186
5682
|
readonly valid: boolean;
|
|
5187
5683
|
readonly errClassNames: string;
|
|
5188
5684
|
readonly lastSelectValue: string;
|
|
5685
|
+
readonly enableSourcePagination: boolean;
|
|
5686
|
+
readonly sourcePageNum: number;
|
|
5687
|
+
readonly sourcePerPageNum: number;
|
|
5688
|
+
readonly sourceTotalNum: number;
|
|
5189
5689
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5190
5690
|
splitExtraValue(value: any): any[];
|
|
5191
5691
|
getMergedData(data: any): any;
|
|
@@ -5229,6 +5729,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5229
5729
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5230
5730
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5231
5731
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5732
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5232
5733
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5233
5734
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5234
5735
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5244,6 +5745,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5244
5745
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5245
5746
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5246
5747
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5748
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5749
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5247
5750
|
}, {
|
|
5248
5751
|
readonly parentStore: any;
|
|
5249
5752
|
readonly __: any;
|
|
@@ -5264,6 +5767,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5264
5767
|
readonly valid: boolean;
|
|
5265
5768
|
readonly errClassNames: string;
|
|
5266
5769
|
readonly lastSelectValue: string;
|
|
5770
|
+
readonly enableSourcePagination: boolean;
|
|
5771
|
+
readonly sourcePageNum: number;
|
|
5772
|
+
readonly sourcePerPageNum: number;
|
|
5773
|
+
readonly sourceTotalNum: number;
|
|
5267
5774
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5268
5775
|
splitExtraValue(value: any): any[];
|
|
5269
5776
|
getMergedData(data: any): any;
|
|
@@ -5310,6 +5817,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5310
5817
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5311
5818
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5312
5819
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5820
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5313
5821
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5314
5822
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5315
5823
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5325,6 +5833,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5325
5833
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5326
5834
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5327
5835
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5836
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5837
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5328
5838
|
}, {
|
|
5329
5839
|
readonly parentStore: any;
|
|
5330
5840
|
readonly __: any;
|
|
@@ -5345,13 +5855,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5345
5855
|
readonly valid: boolean;
|
|
5346
5856
|
readonly errClassNames: string;
|
|
5347
5857
|
readonly lastSelectValue: string;
|
|
5858
|
+
readonly enableSourcePagination: boolean;
|
|
5859
|
+
readonly sourcePageNum: number;
|
|
5860
|
+
readonly sourcePerPageNum: number;
|
|
5861
|
+
readonly sourceTotalNum: number;
|
|
5348
5862
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5349
5863
|
splitExtraValue(value: any): any[];
|
|
5350
5864
|
getMergedData(data: any): any;
|
|
5351
5865
|
} & {
|
|
5352
5866
|
focus: () => void;
|
|
5353
5867
|
blur: () => void;
|
|
5354
|
-
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 }: {
|
|
5868
|
+
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 }: {
|
|
5355
5869
|
extraName?: string | undefined;
|
|
5356
5870
|
required?: boolean | undefined;
|
|
5357
5871
|
unique?: boolean | undefined;
|
|
@@ -5384,6 +5898,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5384
5898
|
name: string;
|
|
5385
5899
|
path: string;
|
|
5386
5900
|
} | undefined;
|
|
5901
|
+
pagination?: {
|
|
5902
|
+
enable?: boolean | undefined;
|
|
5903
|
+
page?: number | undefined;
|
|
5904
|
+
perPage?: number | undefined;
|
|
5905
|
+
} | undefined;
|
|
5387
5906
|
}) => void;
|
|
5388
5907
|
validate: (data: Object, hook?: any, customRules?: {
|
|
5389
5908
|
[propName: string]: any;
|
|
@@ -5394,10 +5913,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5394
5913
|
rule: string;
|
|
5395
5914
|
})[], tag?: string) => void;
|
|
5396
5915
|
clearError: (tag?: string | undefined) => void;
|
|
5916
|
+
setPagination: (params: {
|
|
5917
|
+
page?: number | undefined;
|
|
5918
|
+
perPage?: number | undefined;
|
|
5919
|
+
total?: number | undefined;
|
|
5920
|
+
}) => void;
|
|
5397
5921
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
5398
5922
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
5399
5923
|
extendsOptions?: boolean | undefined;
|
|
5400
5924
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
5925
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
5401
5926
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5402
5927
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5403
5928
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -5409,7 +5934,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5409
5934
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5410
5935
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5411
5936
|
closeDialog: (result?: any) => void;
|
|
5412
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
5937
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5413
5938
|
changeEmitedValue: (value: any) => void;
|
|
5414
5939
|
addSubFormItem: (item: {
|
|
5415
5940
|
id: string;
|
|
@@ -5454,6 +5979,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5454
5979
|
joinValues: boolean;
|
|
5455
5980
|
extractValue: boolean;
|
|
5456
5981
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5982
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5457
5983
|
expressionsInOptions: boolean;
|
|
5458
5984
|
selectFirst: boolean;
|
|
5459
5985
|
autoFill: any;
|
|
@@ -5469,6 +5995,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5469
5995
|
inputGroupControl: any;
|
|
5470
5996
|
colIndex: any;
|
|
5471
5997
|
rowIndex: any;
|
|
5998
|
+
pagination: any;
|
|
5999
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5472
6000
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5473
6001
|
readonly parentStore: any;
|
|
5474
6002
|
readonly __: any;
|
|
@@ -5489,6 +6017,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5489
6017
|
readonly valid: boolean;
|
|
5490
6018
|
readonly errClassNames: string;
|
|
5491
6019
|
readonly lastSelectValue: string;
|
|
6020
|
+
readonly enableSourcePagination: boolean;
|
|
6021
|
+
readonly sourcePageNum: number;
|
|
6022
|
+
readonly sourcePerPageNum: number;
|
|
6023
|
+
readonly sourceTotalNum: number;
|
|
5492
6024
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5493
6025
|
splitExtraValue(value: any): any[];
|
|
5494
6026
|
getMergedData(data: any): any;
|
|
@@ -5532,6 +6064,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5532
6064
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5533
6065
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5534
6066
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6067
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5535
6068
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5536
6069
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5537
6070
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5547,6 +6080,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5547
6080
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5548
6081
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5549
6082
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6083
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6084
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5550
6085
|
}, {
|
|
5551
6086
|
readonly parentStore: any;
|
|
5552
6087
|
readonly __: any;
|
|
@@ -5567,6 +6102,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5567
6102
|
readonly valid: boolean;
|
|
5568
6103
|
readonly errClassNames: string;
|
|
5569
6104
|
readonly lastSelectValue: string;
|
|
6105
|
+
readonly enableSourcePagination: boolean;
|
|
6106
|
+
readonly sourcePageNum: number;
|
|
6107
|
+
readonly sourcePerPageNum: number;
|
|
6108
|
+
readonly sourceTotalNum: number;
|
|
5570
6109
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5571
6110
|
splitExtraValue(value: any): any[];
|
|
5572
6111
|
getMergedData(data: any): any;
|
|
@@ -5614,6 +6153,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5614
6153
|
joinValues: boolean;
|
|
5615
6154
|
extractValue: boolean;
|
|
5616
6155
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6156
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5617
6157
|
expressionsInOptions: boolean;
|
|
5618
6158
|
selectFirst: boolean;
|
|
5619
6159
|
autoFill: any;
|
|
@@ -5629,6 +6169,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5629
6169
|
inputGroupControl: any;
|
|
5630
6170
|
colIndex: any;
|
|
5631
6171
|
rowIndex: any;
|
|
6172
|
+
pagination: any;
|
|
6173
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5632
6174
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5633
6175
|
readonly parentStore: any;
|
|
5634
6176
|
readonly __: any;
|
|
@@ -5649,6 +6191,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5649
6191
|
readonly valid: boolean;
|
|
5650
6192
|
readonly errClassNames: string;
|
|
5651
6193
|
readonly lastSelectValue: string;
|
|
6194
|
+
readonly enableSourcePagination: boolean;
|
|
6195
|
+
readonly sourcePageNum: number;
|
|
6196
|
+
readonly sourcePerPageNum: number;
|
|
6197
|
+
readonly sourceTotalNum: number;
|
|
5652
6198
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5653
6199
|
splitExtraValue(value: any): any[];
|
|
5654
6200
|
getMergedData(data: any): any;
|
|
@@ -5692,6 +6238,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5692
6238
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5693
6239
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5694
6240
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6241
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5695
6242
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5696
6243
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
5697
6244
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -5707,6 +6254,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5707
6254
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
5708
6255
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
5709
6256
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6257
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6258
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
5710
6259
|
}, {
|
|
5711
6260
|
readonly parentStore: any;
|
|
5712
6261
|
readonly __: any;
|
|
@@ -5727,6 +6276,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5727
6276
|
readonly valid: boolean;
|
|
5728
6277
|
readonly errClassNames: string;
|
|
5729
6278
|
readonly lastSelectValue: string;
|
|
6279
|
+
readonly enableSourcePagination: boolean;
|
|
6280
|
+
readonly sourcePageNum: number;
|
|
6281
|
+
readonly sourcePerPageNum: number;
|
|
6282
|
+
readonly sourceTotalNum: number;
|
|
5730
6283
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5731
6284
|
splitExtraValue(value: any): any[];
|
|
5732
6285
|
getMergedData(data: any): any;
|
|
@@ -5777,6 +6330,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5777
6330
|
joinValues: boolean;
|
|
5778
6331
|
extractValue: boolean;
|
|
5779
6332
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6333
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5780
6334
|
expressionsInOptions: boolean;
|
|
5781
6335
|
selectFirst: boolean;
|
|
5782
6336
|
autoFill: any;
|
|
@@ -5792,6 +6346,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5792
6346
|
inputGroupControl: any;
|
|
5793
6347
|
colIndex: any;
|
|
5794
6348
|
rowIndex: any;
|
|
6349
|
+
pagination: any;
|
|
6350
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5795
6351
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5796
6352
|
readonly parentStore: any;
|
|
5797
6353
|
readonly __: any;
|
|
@@ -5812,13 +6368,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5812
6368
|
readonly valid: boolean;
|
|
5813
6369
|
readonly errClassNames: string;
|
|
5814
6370
|
readonly lastSelectValue: string;
|
|
6371
|
+
readonly enableSourcePagination: boolean;
|
|
6372
|
+
readonly sourcePageNum: number;
|
|
6373
|
+
readonly sourcePerPageNum: number;
|
|
6374
|
+
readonly sourceTotalNum: number;
|
|
5815
6375
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5816
6376
|
splitExtraValue(value: any): any[];
|
|
5817
6377
|
getMergedData(data: any): any;
|
|
5818
6378
|
} & {
|
|
5819
6379
|
focus: () => void;
|
|
5820
6380
|
blur: () => void;
|
|
5821
|
-
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 }: {
|
|
6381
|
+
config: ({ extraName, required, unique, value, isValueSchemaExp, rules, messages, delimiter, multiple, valueField, labelField, joinValues, extractValue, type, id, selectFirst, autoFill, clearValueOnHidden, validateApi, maxLength, minLength, validateOnChange, label, inputGroupControl, pagination }: {
|
|
5822
6382
|
extraName?: string | undefined;
|
|
5823
6383
|
required?: boolean | undefined;
|
|
5824
6384
|
unique?: boolean | undefined;
|
|
@@ -5851,6 +6411,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5851
6411
|
name: string;
|
|
5852
6412
|
path: string;
|
|
5853
6413
|
} | undefined;
|
|
6414
|
+
pagination?: {
|
|
6415
|
+
enable?: boolean | undefined;
|
|
6416
|
+
page?: number | undefined;
|
|
6417
|
+
perPage?: number | undefined;
|
|
6418
|
+
} | undefined;
|
|
5854
6419
|
}) => void;
|
|
5855
6420
|
validate: (data: Object, hook?: any, customRules?: {
|
|
5856
6421
|
[propName: string]: any;
|
|
@@ -5861,10 +6426,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5861
6426
|
rule: string;
|
|
5862
6427
|
})[], tag?: string) => void;
|
|
5863
6428
|
clearError: (tag?: string | undefined) => void;
|
|
6429
|
+
setPagination: (params: {
|
|
6430
|
+
page?: number | undefined;
|
|
6431
|
+
perPage?: number | undefined;
|
|
6432
|
+
total?: number | undefined;
|
|
6433
|
+
}) => void;
|
|
5864
6434
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
5865
6435
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
5866
6436
|
extendsOptions?: boolean | undefined;
|
|
5867
6437
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6438
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
5868
6439
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5869
6440
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
5870
6441
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -5876,7 +6447,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5876
6447
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
5877
6448
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
5878
6449
|
closeDialog: (result?: any) => void;
|
|
5879
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
6450
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
5880
6451
|
changeEmitedValue: (value: any) => void;
|
|
5881
6452
|
addSubFormItem: (item: {
|
|
5882
6453
|
id: string;
|
|
@@ -5921,6 +6492,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5921
6492
|
joinValues: boolean;
|
|
5922
6493
|
extractValue: boolean;
|
|
5923
6494
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6495
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5924
6496
|
expressionsInOptions: boolean;
|
|
5925
6497
|
selectFirst: boolean;
|
|
5926
6498
|
autoFill: any;
|
|
@@ -5936,6 +6508,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5936
6508
|
inputGroupControl: any;
|
|
5937
6509
|
colIndex: any;
|
|
5938
6510
|
rowIndex: any;
|
|
6511
|
+
pagination: any;
|
|
6512
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
5939
6513
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
5940
6514
|
readonly parentStore: any;
|
|
5941
6515
|
readonly __: any;
|
|
@@ -5956,6 +6530,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5956
6530
|
readonly valid: boolean;
|
|
5957
6531
|
readonly errClassNames: string;
|
|
5958
6532
|
readonly lastSelectValue: string;
|
|
6533
|
+
readonly enableSourcePagination: boolean;
|
|
6534
|
+
readonly sourcePageNum: number;
|
|
6535
|
+
readonly sourcePerPageNum: number;
|
|
6536
|
+
readonly sourceTotalNum: number;
|
|
5959
6537
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
5960
6538
|
splitExtraValue(value: any): any[];
|
|
5961
6539
|
getMergedData(data: any): any;
|
|
@@ -5999,6 +6577,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
5999
6577
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6000
6578
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6001
6579
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6580
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6002
6581
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6003
6582
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6004
6583
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6014,6 +6593,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6014
6593
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6015
6594
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6016
6595
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6596
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6597
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6017
6598
|
}, {
|
|
6018
6599
|
readonly parentStore: any;
|
|
6019
6600
|
readonly __: any;
|
|
@@ -6034,6 +6615,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6034
6615
|
readonly valid: boolean;
|
|
6035
6616
|
readonly errClassNames: string;
|
|
6036
6617
|
readonly lastSelectValue: string;
|
|
6618
|
+
readonly enableSourcePagination: boolean;
|
|
6619
|
+
readonly sourcePageNum: number;
|
|
6620
|
+
readonly sourcePerPageNum: number;
|
|
6621
|
+
readonly sourceTotalNum: number;
|
|
6037
6622
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6038
6623
|
splitExtraValue(value: any): any[];
|
|
6039
6624
|
getMergedData(data: any): any;
|
|
@@ -6081,6 +6666,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6081
6666
|
joinValues: boolean;
|
|
6082
6667
|
extractValue: boolean;
|
|
6083
6668
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6669
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6084
6670
|
expressionsInOptions: boolean;
|
|
6085
6671
|
selectFirst: boolean;
|
|
6086
6672
|
autoFill: any;
|
|
@@ -6096,6 +6682,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6096
6682
|
inputGroupControl: any;
|
|
6097
6683
|
colIndex: any;
|
|
6098
6684
|
rowIndex: any;
|
|
6685
|
+
pagination: any;
|
|
6686
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6099
6687
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6100
6688
|
readonly parentStore: any;
|
|
6101
6689
|
readonly __: any;
|
|
@@ -6116,6 +6704,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6116
6704
|
readonly valid: boolean;
|
|
6117
6705
|
readonly errClassNames: string;
|
|
6118
6706
|
readonly lastSelectValue: string;
|
|
6707
|
+
readonly enableSourcePagination: boolean;
|
|
6708
|
+
readonly sourcePageNum: number;
|
|
6709
|
+
readonly sourcePerPageNum: number;
|
|
6710
|
+
readonly sourceTotalNum: number;
|
|
6119
6711
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6120
6712
|
splitExtraValue(value: any): any[];
|
|
6121
6713
|
getMergedData(data: any): any;
|
|
@@ -6159,6 +6751,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6159
6751
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6160
6752
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6161
6753
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6754
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6162
6755
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6163
6756
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6164
6757
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6174,6 +6767,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6174
6767
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6175
6768
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6176
6769
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6770
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6771
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6177
6772
|
}, {
|
|
6178
6773
|
readonly parentStore: any;
|
|
6179
6774
|
readonly __: any;
|
|
@@ -6194,6 +6789,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6194
6789
|
readonly valid: boolean;
|
|
6195
6790
|
readonly errClassNames: string;
|
|
6196
6791
|
readonly lastSelectValue: string;
|
|
6792
|
+
readonly enableSourcePagination: boolean;
|
|
6793
|
+
readonly sourcePageNum: number;
|
|
6794
|
+
readonly sourcePerPageNum: number;
|
|
6795
|
+
readonly sourceTotalNum: number;
|
|
6197
6796
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6198
6797
|
splitExtraValue(value: any): any[];
|
|
6199
6798
|
getMergedData(data: any): any;
|
|
@@ -6240,6 +6839,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6240
6839
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6241
6840
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6242
6841
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6842
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6243
6843
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6244
6844
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6245
6845
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6255,6 +6855,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6255
6855
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6256
6856
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6257
6857
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6858
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6859
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6258
6860
|
}, {
|
|
6259
6861
|
readonly parentStore: any;
|
|
6260
6862
|
readonly __: any;
|
|
@@ -6275,13 +6877,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6275
6877
|
readonly valid: boolean;
|
|
6276
6878
|
readonly errClassNames: string;
|
|
6277
6879
|
readonly lastSelectValue: string;
|
|
6880
|
+
readonly enableSourcePagination: boolean;
|
|
6881
|
+
readonly sourcePageNum: number;
|
|
6882
|
+
readonly sourcePerPageNum: number;
|
|
6883
|
+
readonly sourceTotalNum: number;
|
|
6278
6884
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6279
6885
|
splitExtraValue(value: any): any[];
|
|
6280
6886
|
getMergedData(data: any): any;
|
|
6281
6887
|
} & {
|
|
6282
6888
|
focus: () => void;
|
|
6283
6889
|
blur: () => void;
|
|
6284
|
-
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 }: {
|
|
6890
|
+
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 }: {
|
|
6285
6891
|
extraName?: string | undefined;
|
|
6286
6892
|
required?: boolean | undefined;
|
|
6287
6893
|
unique?: boolean | undefined;
|
|
@@ -6314,6 +6920,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6314
6920
|
name: string;
|
|
6315
6921
|
path: string;
|
|
6316
6922
|
} | undefined;
|
|
6923
|
+
pagination?: {
|
|
6924
|
+
enable?: boolean | undefined;
|
|
6925
|
+
page?: number | undefined;
|
|
6926
|
+
perPage?: number | undefined;
|
|
6927
|
+
} | undefined;
|
|
6317
6928
|
}) => void;
|
|
6318
6929
|
validate: (data: Object, hook?: any, customRules?: {
|
|
6319
6930
|
[propName: string]: any;
|
|
@@ -6324,10 +6935,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6324
6935
|
rule: string;
|
|
6325
6936
|
})[], tag?: string) => void;
|
|
6326
6937
|
clearError: (tag?: string | undefined) => void;
|
|
6938
|
+
setPagination: (params: {
|
|
6939
|
+
page?: number | undefined;
|
|
6940
|
+
perPage?: number | undefined;
|
|
6941
|
+
total?: number | undefined;
|
|
6942
|
+
}) => void;
|
|
6327
6943
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
6328
6944
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6329
6945
|
extendsOptions?: boolean | undefined;
|
|
6330
6946
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
6947
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6331
6948
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6332
6949
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6333
6950
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6339,7 +6956,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6339
6956
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6340
6957
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6341
6958
|
closeDialog: (result?: any) => void;
|
|
6342
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
6959
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6343
6960
|
changeEmitedValue: (value: any) => void;
|
|
6344
6961
|
addSubFormItem: (item: {
|
|
6345
6962
|
id: string;
|
|
@@ -6384,6 +7001,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6384
7001
|
joinValues: boolean;
|
|
6385
7002
|
extractValue: boolean;
|
|
6386
7003
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7004
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6387
7005
|
expressionsInOptions: boolean;
|
|
6388
7006
|
selectFirst: boolean;
|
|
6389
7007
|
autoFill: any;
|
|
@@ -6399,6 +7017,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6399
7017
|
inputGroupControl: any;
|
|
6400
7018
|
colIndex: any;
|
|
6401
7019
|
rowIndex: any;
|
|
7020
|
+
pagination: any;
|
|
7021
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6402
7022
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6403
7023
|
readonly parentStore: any;
|
|
6404
7024
|
readonly __: any;
|
|
@@ -6419,6 +7039,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6419
7039
|
readonly valid: boolean;
|
|
6420
7040
|
readonly errClassNames: string;
|
|
6421
7041
|
readonly lastSelectValue: string;
|
|
7042
|
+
readonly enableSourcePagination: boolean;
|
|
7043
|
+
readonly sourcePageNum: number;
|
|
7044
|
+
readonly sourcePerPageNum: number;
|
|
7045
|
+
readonly sourceTotalNum: number;
|
|
6422
7046
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6423
7047
|
splitExtraValue(value: any): any[];
|
|
6424
7048
|
getMergedData(data: any): any;
|
|
@@ -6462,6 +7086,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6462
7086
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6463
7087
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6464
7088
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7089
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6465
7090
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6466
7091
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6467
7092
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6477,6 +7102,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6477
7102
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6478
7103
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6479
7104
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7105
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7106
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6480
7107
|
}, {
|
|
6481
7108
|
readonly parentStore: any;
|
|
6482
7109
|
readonly __: any;
|
|
@@ -6497,6 +7124,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6497
7124
|
readonly valid: boolean;
|
|
6498
7125
|
readonly errClassNames: string;
|
|
6499
7126
|
readonly lastSelectValue: string;
|
|
7127
|
+
readonly enableSourcePagination: boolean;
|
|
7128
|
+
readonly sourcePageNum: number;
|
|
7129
|
+
readonly sourcePerPageNum: number;
|
|
7130
|
+
readonly sourceTotalNum: number;
|
|
6500
7131
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6501
7132
|
splitExtraValue(value: any): any[];
|
|
6502
7133
|
getMergedData(data: any): any;
|
|
@@ -6544,6 +7175,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6544
7175
|
joinValues: boolean;
|
|
6545
7176
|
extractValue: boolean;
|
|
6546
7177
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7178
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6547
7179
|
expressionsInOptions: boolean;
|
|
6548
7180
|
selectFirst: boolean;
|
|
6549
7181
|
autoFill: any;
|
|
@@ -6559,6 +7191,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6559
7191
|
inputGroupControl: any;
|
|
6560
7192
|
colIndex: any;
|
|
6561
7193
|
rowIndex: any;
|
|
7194
|
+
pagination: any;
|
|
7195
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6562
7196
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6563
7197
|
readonly parentStore: any;
|
|
6564
7198
|
readonly __: any;
|
|
@@ -6579,6 +7213,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6579
7213
|
readonly valid: boolean;
|
|
6580
7214
|
readonly errClassNames: string;
|
|
6581
7215
|
readonly lastSelectValue: string;
|
|
7216
|
+
readonly enableSourcePagination: boolean;
|
|
7217
|
+
readonly sourcePageNum: number;
|
|
7218
|
+
readonly sourcePerPageNum: number;
|
|
7219
|
+
readonly sourceTotalNum: number;
|
|
6582
7220
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6583
7221
|
splitExtraValue(value: any): any[];
|
|
6584
7222
|
getMergedData(data: any): any;
|
|
@@ -6622,6 +7260,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6622
7260
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6623
7261
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6624
7262
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7263
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6625
7264
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6626
7265
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
6627
7266
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -6637,6 +7276,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6637
7276
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
6638
7277
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
6639
7278
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7279
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7280
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
6640
7281
|
}, {
|
|
6641
7282
|
readonly parentStore: any;
|
|
6642
7283
|
readonly __: any;
|
|
@@ -6657,6 +7298,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6657
7298
|
readonly valid: boolean;
|
|
6658
7299
|
readonly errClassNames: string;
|
|
6659
7300
|
readonly lastSelectValue: string;
|
|
7301
|
+
readonly enableSourcePagination: boolean;
|
|
7302
|
+
readonly sourcePageNum: number;
|
|
7303
|
+
readonly sourcePerPageNum: number;
|
|
7304
|
+
readonly sourceTotalNum: number;
|
|
6660
7305
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6661
7306
|
splitExtraValue(value: any): any[];
|
|
6662
7307
|
getMergedData(data: any): any;
|
|
@@ -6826,6 +7471,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6826
7471
|
joinValues: boolean;
|
|
6827
7472
|
extractValue: boolean;
|
|
6828
7473
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7474
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6829
7475
|
expressionsInOptions: boolean;
|
|
6830
7476
|
selectFirst: boolean;
|
|
6831
7477
|
autoFill: any;
|
|
@@ -6841,6 +7487,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6841
7487
|
inputGroupControl: any;
|
|
6842
7488
|
colIndex: any;
|
|
6843
7489
|
rowIndex: any;
|
|
7490
|
+
pagination: any;
|
|
7491
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6844
7492
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6845
7493
|
readonly parentStore: any;
|
|
6846
7494
|
readonly __: any;
|
|
@@ -6861,13 +7509,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6861
7509
|
readonly valid: boolean;
|
|
6862
7510
|
readonly errClassNames: string;
|
|
6863
7511
|
readonly lastSelectValue: string;
|
|
7512
|
+
readonly enableSourcePagination: boolean;
|
|
7513
|
+
readonly sourcePageNum: number;
|
|
7514
|
+
readonly sourcePerPageNum: number;
|
|
7515
|
+
readonly sourceTotalNum: number;
|
|
6864
7516
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
6865
7517
|
splitExtraValue(value: any): any[];
|
|
6866
7518
|
getMergedData(data: any): any;
|
|
6867
7519
|
} & {
|
|
6868
7520
|
focus: () => void;
|
|
6869
7521
|
blur: () => void;
|
|
6870
|
-
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 }: {
|
|
7522
|
+
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 }: {
|
|
6871
7523
|
extraName?: string | undefined;
|
|
6872
7524
|
required?: boolean | undefined;
|
|
6873
7525
|
unique?: boolean | undefined;
|
|
@@ -6900,6 +7552,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6900
7552
|
name: string;
|
|
6901
7553
|
path: string;
|
|
6902
7554
|
} | undefined;
|
|
7555
|
+
pagination?: {
|
|
7556
|
+
enable?: boolean | undefined;
|
|
7557
|
+
page?: number | undefined;
|
|
7558
|
+
perPage?: number | undefined;
|
|
7559
|
+
} | undefined;
|
|
6903
7560
|
}) => void;
|
|
6904
7561
|
validate: (data: Object, hook?: any, customRules?: {
|
|
6905
7562
|
[propName: string]: any;
|
|
@@ -6910,10 +7567,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6910
7567
|
rule: string;
|
|
6911
7568
|
})[], tag?: string) => void;
|
|
6912
7569
|
clearError: (tag?: string | undefined) => void;
|
|
7570
|
+
setPagination: (params: {
|
|
7571
|
+
page?: number | undefined;
|
|
7572
|
+
perPage?: number | undefined;
|
|
7573
|
+
total?: number | undefined;
|
|
7574
|
+
}) => void;
|
|
6913
7575
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
6914
7576
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
6915
7577
|
extendsOptions?: boolean | undefined;
|
|
6916
7578
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
7579
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
6917
7580
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6918
7581
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
6919
7582
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -6925,7 +7588,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6925
7588
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
6926
7589
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
6927
7590
|
closeDialog: (result?: any) => void;
|
|
6928
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
7591
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
6929
7592
|
changeEmitedValue: (value: any) => void;
|
|
6930
7593
|
addSubFormItem: (item: {
|
|
6931
7594
|
id: string;
|
|
@@ -6970,6 +7633,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6970
7633
|
joinValues: boolean;
|
|
6971
7634
|
extractValue: boolean;
|
|
6972
7635
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7636
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6973
7637
|
expressionsInOptions: boolean;
|
|
6974
7638
|
selectFirst: boolean;
|
|
6975
7639
|
autoFill: any;
|
|
@@ -6985,6 +7649,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
6985
7649
|
inputGroupControl: any;
|
|
6986
7650
|
colIndex: any;
|
|
6987
7651
|
rowIndex: any;
|
|
7652
|
+
pagination: any;
|
|
7653
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
6988
7654
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
6989
7655
|
readonly parentStore: any;
|
|
6990
7656
|
readonly __: any;
|
|
@@ -7005,6 +7671,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7005
7671
|
readonly valid: boolean;
|
|
7006
7672
|
readonly errClassNames: string;
|
|
7007
7673
|
readonly lastSelectValue: string;
|
|
7674
|
+
readonly enableSourcePagination: boolean;
|
|
7675
|
+
readonly sourcePageNum: number;
|
|
7676
|
+
readonly sourcePerPageNum: number;
|
|
7677
|
+
readonly sourceTotalNum: number;
|
|
7008
7678
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7009
7679
|
splitExtraValue(value: any): any[];
|
|
7010
7680
|
getMergedData(data: any): any;
|
|
@@ -7048,6 +7718,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7048
7718
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7049
7719
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7050
7720
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7721
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7051
7722
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7052
7723
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7053
7724
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7063,6 +7734,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7063
7734
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7064
7735
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7065
7736
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7737
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7738
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7066
7739
|
}, {
|
|
7067
7740
|
readonly parentStore: any;
|
|
7068
7741
|
readonly __: any;
|
|
@@ -7083,6 +7756,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7083
7756
|
readonly valid: boolean;
|
|
7084
7757
|
readonly errClassNames: string;
|
|
7085
7758
|
readonly lastSelectValue: string;
|
|
7759
|
+
readonly enableSourcePagination: boolean;
|
|
7760
|
+
readonly sourcePageNum: number;
|
|
7761
|
+
readonly sourcePerPageNum: number;
|
|
7762
|
+
readonly sourceTotalNum: number;
|
|
7086
7763
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7087
7764
|
splitExtraValue(value: any): any[];
|
|
7088
7765
|
getMergedData(data: any): any;
|
|
@@ -7130,6 +7807,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7130
7807
|
joinValues: boolean;
|
|
7131
7808
|
extractValue: boolean;
|
|
7132
7809
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7810
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7133
7811
|
expressionsInOptions: boolean;
|
|
7134
7812
|
selectFirst: boolean;
|
|
7135
7813
|
autoFill: any;
|
|
@@ -7145,6 +7823,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7145
7823
|
inputGroupControl: any;
|
|
7146
7824
|
colIndex: any;
|
|
7147
7825
|
rowIndex: any;
|
|
7826
|
+
pagination: any;
|
|
7827
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7148
7828
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7149
7829
|
readonly parentStore: any;
|
|
7150
7830
|
readonly __: any;
|
|
@@ -7165,6 +7845,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7165
7845
|
readonly valid: boolean;
|
|
7166
7846
|
readonly errClassNames: string;
|
|
7167
7847
|
readonly lastSelectValue: string;
|
|
7848
|
+
readonly enableSourcePagination: boolean;
|
|
7849
|
+
readonly sourcePageNum: number;
|
|
7850
|
+
readonly sourcePerPageNum: number;
|
|
7851
|
+
readonly sourceTotalNum: number;
|
|
7168
7852
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7169
7853
|
splitExtraValue(value: any): any[];
|
|
7170
7854
|
getMergedData(data: any): any;
|
|
@@ -7208,6 +7892,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7208
7892
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7209
7893
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7210
7894
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7895
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7211
7896
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7212
7897
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7213
7898
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7223,6 +7908,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7223
7908
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7224
7909
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7225
7910
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7911
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7912
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7226
7913
|
}, {
|
|
7227
7914
|
readonly parentStore: any;
|
|
7228
7915
|
readonly __: any;
|
|
@@ -7243,6 +7930,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7243
7930
|
readonly valid: boolean;
|
|
7244
7931
|
readonly errClassNames: string;
|
|
7245
7932
|
readonly lastSelectValue: string;
|
|
7933
|
+
readonly enableSourcePagination: boolean;
|
|
7934
|
+
readonly sourcePageNum: number;
|
|
7935
|
+
readonly sourcePerPageNum: number;
|
|
7936
|
+
readonly sourceTotalNum: number;
|
|
7246
7937
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7247
7938
|
splitExtraValue(value: any): any[];
|
|
7248
7939
|
getMergedData(data: any): any;
|
|
@@ -7289,6 +7980,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7289
7980
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7290
7981
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7291
7982
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7983
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7292
7984
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7293
7985
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7294
7986
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7304,6 +7996,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7304
7996
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7305
7997
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7306
7998
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7999
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8000
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7307
8001
|
}, {
|
|
7308
8002
|
readonly parentStore: any;
|
|
7309
8003
|
readonly __: any;
|
|
@@ -7324,13 +8018,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7324
8018
|
readonly valid: boolean;
|
|
7325
8019
|
readonly errClassNames: string;
|
|
7326
8020
|
readonly lastSelectValue: string;
|
|
8021
|
+
readonly enableSourcePagination: boolean;
|
|
8022
|
+
readonly sourcePageNum: number;
|
|
8023
|
+
readonly sourcePerPageNum: number;
|
|
8024
|
+
readonly sourceTotalNum: number;
|
|
7327
8025
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7328
8026
|
splitExtraValue(value: any): any[];
|
|
7329
8027
|
getMergedData(data: any): any;
|
|
7330
8028
|
} & {
|
|
7331
8029
|
focus: () => void;
|
|
7332
8030
|
blur: () => void;
|
|
7333
|
-
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 }: {
|
|
8031
|
+
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 }: {
|
|
7334
8032
|
extraName?: string | undefined;
|
|
7335
8033
|
required?: boolean | undefined;
|
|
7336
8034
|
unique?: boolean | undefined;
|
|
@@ -7363,6 +8061,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7363
8061
|
name: string;
|
|
7364
8062
|
path: string;
|
|
7365
8063
|
} | undefined;
|
|
8064
|
+
pagination?: {
|
|
8065
|
+
enable?: boolean | undefined;
|
|
8066
|
+
page?: number | undefined;
|
|
8067
|
+
perPage?: number | undefined;
|
|
8068
|
+
} | undefined;
|
|
7366
8069
|
}) => void;
|
|
7367
8070
|
validate: (data: Object, hook?: any, customRules?: {
|
|
7368
8071
|
[propName: string]: any;
|
|
@@ -7373,10 +8076,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7373
8076
|
rule: string;
|
|
7374
8077
|
})[], tag?: string) => void;
|
|
7375
8078
|
clearError: (tag?: string | undefined) => void;
|
|
8079
|
+
setPagination: (params: {
|
|
8080
|
+
page?: number | undefined;
|
|
8081
|
+
perPage?: number | undefined;
|
|
8082
|
+
total?: number | undefined;
|
|
8083
|
+
}) => void;
|
|
7376
8084
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
7377
8085
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7378
8086
|
extendsOptions?: boolean | undefined;
|
|
7379
8087
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8088
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7380
8089
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7381
8090
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7382
8091
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7388,7 +8097,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7388
8097
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7389
8098
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7390
8099
|
closeDialog: (result?: any) => void;
|
|
7391
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
8100
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7392
8101
|
changeEmitedValue: (value: any) => void;
|
|
7393
8102
|
addSubFormItem: (item: {
|
|
7394
8103
|
id: string;
|
|
@@ -7433,6 +8142,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7433
8142
|
joinValues: boolean;
|
|
7434
8143
|
extractValue: boolean;
|
|
7435
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]>>;
|
|
7436
8146
|
expressionsInOptions: boolean;
|
|
7437
8147
|
selectFirst: boolean;
|
|
7438
8148
|
autoFill: any;
|
|
@@ -7448,6 +8158,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7448
8158
|
inputGroupControl: any;
|
|
7449
8159
|
colIndex: any;
|
|
7450
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]>>;
|
|
7451
8163
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7452
8164
|
readonly parentStore: any;
|
|
7453
8165
|
readonly __: any;
|
|
@@ -7468,6 +8180,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7468
8180
|
readonly valid: boolean;
|
|
7469
8181
|
readonly errClassNames: string;
|
|
7470
8182
|
readonly lastSelectValue: string;
|
|
8183
|
+
readonly enableSourcePagination: boolean;
|
|
8184
|
+
readonly sourcePageNum: number;
|
|
8185
|
+
readonly sourcePerPageNum: number;
|
|
8186
|
+
readonly sourceTotalNum: number;
|
|
7471
8187
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7472
8188
|
splitExtraValue(value: any): any[];
|
|
7473
8189
|
getMergedData(data: any): any;
|
|
@@ -7511,6 +8227,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7511
8227
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7512
8228
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7513
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]>;
|
|
7514
8231
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7515
8232
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7516
8233
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7526,6 +8243,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7526
8243
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7527
8244
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7528
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]>;
|
|
7529
8248
|
}, {
|
|
7530
8249
|
readonly parentStore: any;
|
|
7531
8250
|
readonly __: any;
|
|
@@ -7546,6 +8265,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7546
8265
|
readonly valid: boolean;
|
|
7547
8266
|
readonly errClassNames: string;
|
|
7548
8267
|
readonly lastSelectValue: string;
|
|
8268
|
+
readonly enableSourcePagination: boolean;
|
|
8269
|
+
readonly sourcePageNum: number;
|
|
8270
|
+
readonly sourcePerPageNum: number;
|
|
8271
|
+
readonly sourceTotalNum: number;
|
|
7549
8272
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7550
8273
|
splitExtraValue(value: any): any[];
|
|
7551
8274
|
getMergedData(data: any): any;
|
|
@@ -7593,6 +8316,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7593
8316
|
joinValues: boolean;
|
|
7594
8317
|
extractValue: boolean;
|
|
7595
8318
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8319
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7596
8320
|
expressionsInOptions: boolean;
|
|
7597
8321
|
selectFirst: boolean;
|
|
7598
8322
|
autoFill: any;
|
|
@@ -7608,6 +8332,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7608
8332
|
inputGroupControl: any;
|
|
7609
8333
|
colIndex: any;
|
|
7610
8334
|
rowIndex: any;
|
|
8335
|
+
pagination: any;
|
|
8336
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7611
8337
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7612
8338
|
readonly parentStore: any;
|
|
7613
8339
|
readonly __: any;
|
|
@@ -7628,6 +8354,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7628
8354
|
readonly valid: boolean;
|
|
7629
8355
|
readonly errClassNames: string;
|
|
7630
8356
|
readonly lastSelectValue: string;
|
|
8357
|
+
readonly enableSourcePagination: boolean;
|
|
8358
|
+
readonly sourcePageNum: number;
|
|
8359
|
+
readonly sourcePerPageNum: number;
|
|
8360
|
+
readonly sourceTotalNum: number;
|
|
7631
8361
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7632
8362
|
splitExtraValue(value: any): any[];
|
|
7633
8363
|
getMergedData(data: any): any;
|
|
@@ -7671,6 +8401,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7671
8401
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7672
8402
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7673
8403
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8404
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7674
8405
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7675
8406
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7676
8407
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7686,6 +8417,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7686
8417
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7687
8418
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7688
8419
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8420
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8421
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7689
8422
|
}, {
|
|
7690
8423
|
readonly parentStore: any;
|
|
7691
8424
|
readonly __: any;
|
|
@@ -7706,6 +8439,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7706
8439
|
readonly valid: boolean;
|
|
7707
8440
|
readonly errClassNames: string;
|
|
7708
8441
|
readonly lastSelectValue: string;
|
|
8442
|
+
readonly enableSourcePagination: boolean;
|
|
8443
|
+
readonly sourcePageNum: number;
|
|
8444
|
+
readonly sourcePerPageNum: number;
|
|
8445
|
+
readonly sourceTotalNum: number;
|
|
7709
8446
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7710
8447
|
splitExtraValue(value: any): any[];
|
|
7711
8448
|
getMergedData(data: any): any;
|
|
@@ -7756,6 +8493,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7756
8493
|
joinValues: boolean;
|
|
7757
8494
|
extractValue: boolean;
|
|
7758
8495
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8496
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7759
8497
|
expressionsInOptions: boolean;
|
|
7760
8498
|
selectFirst: boolean;
|
|
7761
8499
|
autoFill: any;
|
|
@@ -7771,6 +8509,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7771
8509
|
inputGroupControl: any;
|
|
7772
8510
|
colIndex: any;
|
|
7773
8511
|
rowIndex: any;
|
|
8512
|
+
pagination: any;
|
|
8513
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7774
8514
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7775
8515
|
readonly parentStore: any;
|
|
7776
8516
|
readonly __: any;
|
|
@@ -7791,13 +8531,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7791
8531
|
readonly valid: boolean;
|
|
7792
8532
|
readonly errClassNames: string;
|
|
7793
8533
|
readonly lastSelectValue: string;
|
|
8534
|
+
readonly enableSourcePagination: boolean;
|
|
8535
|
+
readonly sourcePageNum: number;
|
|
8536
|
+
readonly sourcePerPageNum: number;
|
|
8537
|
+
readonly sourceTotalNum: number;
|
|
7794
8538
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7795
8539
|
splitExtraValue(value: any): any[];
|
|
7796
8540
|
getMergedData(data: any): any;
|
|
7797
8541
|
} & {
|
|
7798
8542
|
focus: () => void;
|
|
7799
8543
|
blur: () => void;
|
|
7800
|
-
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 }: {
|
|
8544
|
+
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 }: {
|
|
7801
8545
|
extraName?: string | undefined;
|
|
7802
8546
|
required?: boolean | undefined;
|
|
7803
8547
|
unique?: boolean | undefined;
|
|
@@ -7830,6 +8574,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7830
8574
|
name: string;
|
|
7831
8575
|
path: string;
|
|
7832
8576
|
} | undefined;
|
|
8577
|
+
pagination?: {
|
|
8578
|
+
enable?: boolean | undefined;
|
|
8579
|
+
page?: number | undefined;
|
|
8580
|
+
perPage?: number | undefined;
|
|
8581
|
+
} | undefined;
|
|
7833
8582
|
}) => void;
|
|
7834
8583
|
validate: (data: Object, hook?: any, customRules?: {
|
|
7835
8584
|
[propName: string]: any;
|
|
@@ -7840,10 +8589,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7840
8589
|
rule: string;
|
|
7841
8590
|
})[], tag?: string) => void;
|
|
7842
8591
|
clearError: (tag?: string | undefined) => void;
|
|
8592
|
+
setPagination: (params: {
|
|
8593
|
+
page?: number | undefined;
|
|
8594
|
+
perPage?: number | undefined;
|
|
8595
|
+
total?: number | undefined;
|
|
8596
|
+
}) => void;
|
|
7843
8597
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
7844
8598
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
7845
8599
|
extendsOptions?: boolean | undefined;
|
|
7846
8600
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
8601
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
7847
8602
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7848
8603
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
7849
8604
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -7855,7 +8610,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7855
8610
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
7856
8611
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
7857
8612
|
closeDialog: (result?: any) => void;
|
|
7858
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
8613
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
7859
8614
|
changeEmitedValue: (value: any) => void;
|
|
7860
8615
|
addSubFormItem: (item: {
|
|
7861
8616
|
id: string;
|
|
@@ -7900,6 +8655,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7900
8655
|
joinValues: boolean;
|
|
7901
8656
|
extractValue: boolean;
|
|
7902
8657
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8658
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7903
8659
|
expressionsInOptions: boolean;
|
|
7904
8660
|
selectFirst: boolean;
|
|
7905
8661
|
autoFill: any;
|
|
@@ -7915,6 +8671,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7915
8671
|
inputGroupControl: any;
|
|
7916
8672
|
colIndex: any;
|
|
7917
8673
|
rowIndex: any;
|
|
8674
|
+
pagination: any;
|
|
8675
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
7918
8676
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
7919
8677
|
readonly parentStore: any;
|
|
7920
8678
|
readonly __: any;
|
|
@@ -7935,6 +8693,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7935
8693
|
readonly valid: boolean;
|
|
7936
8694
|
readonly errClassNames: string;
|
|
7937
8695
|
readonly lastSelectValue: string;
|
|
8696
|
+
readonly enableSourcePagination: boolean;
|
|
8697
|
+
readonly sourcePageNum: number;
|
|
8698
|
+
readonly sourcePerPageNum: number;
|
|
8699
|
+
readonly sourceTotalNum: number;
|
|
7938
8700
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
7939
8701
|
splitExtraValue(value: any): any[];
|
|
7940
8702
|
getMergedData(data: any): any;
|
|
@@ -7978,6 +8740,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7978
8740
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7979
8741
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7980
8742
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8743
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7981
8744
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7982
8745
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
7983
8746
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -7993,6 +8756,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
7993
8756
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
7994
8757
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
7995
8758
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8759
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8760
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
7996
8761
|
}, {
|
|
7997
8762
|
readonly parentStore: any;
|
|
7998
8763
|
readonly __: any;
|
|
@@ -8013,6 +8778,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8013
8778
|
readonly valid: boolean;
|
|
8014
8779
|
readonly errClassNames: string;
|
|
8015
8780
|
readonly lastSelectValue: string;
|
|
8781
|
+
readonly enableSourcePagination: boolean;
|
|
8782
|
+
readonly sourcePageNum: number;
|
|
8783
|
+
readonly sourcePerPageNum: number;
|
|
8784
|
+
readonly sourceTotalNum: number;
|
|
8016
8785
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8017
8786
|
splitExtraValue(value: any): any[];
|
|
8018
8787
|
getMergedData(data: any): any;
|
|
@@ -8060,6 +8829,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8060
8829
|
joinValues: boolean;
|
|
8061
8830
|
extractValue: boolean;
|
|
8062
8831
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8832
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8063
8833
|
expressionsInOptions: boolean;
|
|
8064
8834
|
selectFirst: boolean;
|
|
8065
8835
|
autoFill: any;
|
|
@@ -8075,6 +8845,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8075
8845
|
inputGroupControl: any;
|
|
8076
8846
|
colIndex: any;
|
|
8077
8847
|
rowIndex: any;
|
|
8848
|
+
pagination: any;
|
|
8849
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8078
8850
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8079
8851
|
readonly parentStore: any;
|
|
8080
8852
|
readonly __: any;
|
|
@@ -8095,6 +8867,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8095
8867
|
readonly valid: boolean;
|
|
8096
8868
|
readonly errClassNames: string;
|
|
8097
8869
|
readonly lastSelectValue: string;
|
|
8870
|
+
readonly enableSourcePagination: boolean;
|
|
8871
|
+
readonly sourcePageNum: number;
|
|
8872
|
+
readonly sourcePerPageNum: number;
|
|
8873
|
+
readonly sourceTotalNum: number;
|
|
8098
8874
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8099
8875
|
splitExtraValue(value: any): any[];
|
|
8100
8876
|
getMergedData(data: any): any;
|
|
@@ -8138,6 +8914,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8138
8914
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8139
8915
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8140
8916
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8917
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8141
8918
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8142
8919
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8143
8920
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8153,6 +8930,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8153
8930
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8154
8931
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8155
8932
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8933
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8934
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8156
8935
|
}, {
|
|
8157
8936
|
readonly parentStore: any;
|
|
8158
8937
|
readonly __: any;
|
|
@@ -8173,6 +8952,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8173
8952
|
readonly valid: boolean;
|
|
8174
8953
|
readonly errClassNames: string;
|
|
8175
8954
|
readonly lastSelectValue: string;
|
|
8955
|
+
readonly enableSourcePagination: boolean;
|
|
8956
|
+
readonly sourcePageNum: number;
|
|
8957
|
+
readonly sourcePerPageNum: number;
|
|
8958
|
+
readonly sourceTotalNum: number;
|
|
8176
8959
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8177
8960
|
splitExtraValue(value: any): any[];
|
|
8178
8961
|
getMergedData(data: any): any;
|
|
@@ -8219,6 +9002,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8219
9002
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8220
9003
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8221
9004
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9005
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8222
9006
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8223
9007
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8224
9008
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8234,6 +9018,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8234
9018
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8235
9019
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8236
9020
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9021
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9022
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8237
9023
|
}, {
|
|
8238
9024
|
readonly parentStore: any;
|
|
8239
9025
|
readonly __: any;
|
|
@@ -8254,13 +9040,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8254
9040
|
readonly valid: boolean;
|
|
8255
9041
|
readonly errClassNames: string;
|
|
8256
9042
|
readonly lastSelectValue: string;
|
|
9043
|
+
readonly enableSourcePagination: boolean;
|
|
9044
|
+
readonly sourcePageNum: number;
|
|
9045
|
+
readonly sourcePerPageNum: number;
|
|
9046
|
+
readonly sourceTotalNum: number;
|
|
8257
9047
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8258
9048
|
splitExtraValue(value: any): any[];
|
|
8259
9049
|
getMergedData(data: any): any;
|
|
8260
9050
|
} & {
|
|
8261
9051
|
focus: () => void;
|
|
8262
9052
|
blur: () => void;
|
|
8263
|
-
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 }: {
|
|
9053
|
+
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 }: {
|
|
8264
9054
|
extraName?: string | undefined;
|
|
8265
9055
|
required?: boolean | undefined;
|
|
8266
9056
|
unique?: boolean | undefined;
|
|
@@ -8293,6 +9083,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8293
9083
|
name: string;
|
|
8294
9084
|
path: string;
|
|
8295
9085
|
} | undefined;
|
|
9086
|
+
pagination?: {
|
|
9087
|
+
enable?: boolean | undefined;
|
|
9088
|
+
page?: number | undefined;
|
|
9089
|
+
perPage?: number | undefined;
|
|
9090
|
+
} | undefined;
|
|
8296
9091
|
}) => void;
|
|
8297
9092
|
validate: (data: Object, hook?: any, customRules?: {
|
|
8298
9093
|
[propName: string]: any;
|
|
@@ -8303,10 +9098,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8303
9098
|
rule: string;
|
|
8304
9099
|
})[], tag?: string) => void;
|
|
8305
9100
|
clearError: (tag?: string | undefined) => void;
|
|
9101
|
+
setPagination: (params: {
|
|
9102
|
+
page?: number | undefined;
|
|
9103
|
+
perPage?: number | undefined;
|
|
9104
|
+
total?: number | undefined;
|
|
9105
|
+
}) => void;
|
|
8306
9106
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
8307
9107
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8308
9108
|
extendsOptions?: boolean | undefined;
|
|
8309
9109
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9110
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8310
9111
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8311
9112
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8312
9113
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8318,7 +9119,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8318
9119
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8319
9120
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8320
9121
|
closeDialog: (result?: any) => void;
|
|
8321
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
9122
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8322
9123
|
changeEmitedValue: (value: any) => void;
|
|
8323
9124
|
addSubFormItem: (item: {
|
|
8324
9125
|
id: string;
|
|
@@ -8363,6 +9164,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8363
9164
|
joinValues: boolean;
|
|
8364
9165
|
extractValue: boolean;
|
|
8365
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]>>;
|
|
8366
9168
|
expressionsInOptions: boolean;
|
|
8367
9169
|
selectFirst: boolean;
|
|
8368
9170
|
autoFill: any;
|
|
@@ -8378,6 +9180,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8378
9180
|
inputGroupControl: any;
|
|
8379
9181
|
colIndex: any;
|
|
8380
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]>>;
|
|
8381
9185
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8382
9186
|
readonly parentStore: any;
|
|
8383
9187
|
readonly __: any;
|
|
@@ -8398,6 +9202,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8398
9202
|
readonly valid: boolean;
|
|
8399
9203
|
readonly errClassNames: string;
|
|
8400
9204
|
readonly lastSelectValue: string;
|
|
9205
|
+
readonly enableSourcePagination: boolean;
|
|
9206
|
+
readonly sourcePageNum: number;
|
|
9207
|
+
readonly sourcePerPageNum: number;
|
|
9208
|
+
readonly sourceTotalNum: number;
|
|
8401
9209
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8402
9210
|
splitExtraValue(value: any): any[];
|
|
8403
9211
|
getMergedData(data: any): any;
|
|
@@ -8441,6 +9249,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8441
9249
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8442
9250
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8443
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]>;
|
|
8444
9253
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8445
9254
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8446
9255
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8456,6 +9265,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8456
9265
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8457
9266
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8458
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]>;
|
|
8459
9270
|
}, {
|
|
8460
9271
|
readonly parentStore: any;
|
|
8461
9272
|
readonly __: any;
|
|
@@ -8476,6 +9287,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8476
9287
|
readonly valid: boolean;
|
|
8477
9288
|
readonly errClassNames: string;
|
|
8478
9289
|
readonly lastSelectValue: string;
|
|
9290
|
+
readonly enableSourcePagination: boolean;
|
|
9291
|
+
readonly sourcePageNum: number;
|
|
9292
|
+
readonly sourcePerPageNum: number;
|
|
9293
|
+
readonly sourceTotalNum: number;
|
|
8479
9294
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8480
9295
|
splitExtraValue(value: any): any[];
|
|
8481
9296
|
getMergedData(data: any): any;
|
|
@@ -8523,6 +9338,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8523
9338
|
joinValues: boolean;
|
|
8524
9339
|
extractValue: boolean;
|
|
8525
9340
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9341
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8526
9342
|
expressionsInOptions: boolean;
|
|
8527
9343
|
selectFirst: boolean;
|
|
8528
9344
|
autoFill: any;
|
|
@@ -8538,6 +9354,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8538
9354
|
inputGroupControl: any;
|
|
8539
9355
|
colIndex: any;
|
|
8540
9356
|
rowIndex: any;
|
|
9357
|
+
pagination: any;
|
|
9358
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8541
9359
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8542
9360
|
readonly parentStore: any;
|
|
8543
9361
|
readonly __: any;
|
|
@@ -8558,6 +9376,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8558
9376
|
readonly valid: boolean;
|
|
8559
9377
|
readonly errClassNames: string;
|
|
8560
9378
|
readonly lastSelectValue: string;
|
|
9379
|
+
readonly enableSourcePagination: boolean;
|
|
9380
|
+
readonly sourcePageNum: number;
|
|
9381
|
+
readonly sourcePerPageNum: number;
|
|
9382
|
+
readonly sourceTotalNum: number;
|
|
8561
9383
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8562
9384
|
splitExtraValue(value: any): any[];
|
|
8563
9385
|
getMergedData(data: any): any;
|
|
@@ -8601,6 +9423,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8601
9423
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8602
9424
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8603
9425
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9426
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8604
9427
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8605
9428
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8606
9429
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8616,6 +9439,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8616
9439
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8617
9440
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8618
9441
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9442
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9443
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8619
9444
|
}, {
|
|
8620
9445
|
readonly parentStore: any;
|
|
8621
9446
|
readonly __: any;
|
|
@@ -8636,6 +9461,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8636
9461
|
readonly valid: boolean;
|
|
8637
9462
|
readonly errClassNames: string;
|
|
8638
9463
|
readonly lastSelectValue: string;
|
|
9464
|
+
readonly enableSourcePagination: boolean;
|
|
9465
|
+
readonly sourcePageNum: number;
|
|
9466
|
+
readonly sourcePerPageNum: number;
|
|
9467
|
+
readonly sourceTotalNum: number;
|
|
8639
9468
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8640
9469
|
splitExtraValue(value: any): any[];
|
|
8641
9470
|
getMergedData(data: any): any;
|
|
@@ -8691,6 +9520,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8691
9520
|
joinValues: boolean;
|
|
8692
9521
|
extractValue: boolean;
|
|
8693
9522
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9523
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8694
9524
|
expressionsInOptions: boolean;
|
|
8695
9525
|
selectFirst: boolean;
|
|
8696
9526
|
autoFill: any;
|
|
@@ -8706,6 +9536,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8706
9536
|
inputGroupControl: any;
|
|
8707
9537
|
colIndex: any;
|
|
8708
9538
|
rowIndex: any;
|
|
9539
|
+
pagination: any;
|
|
9540
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8709
9541
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8710
9542
|
readonly parentStore: any;
|
|
8711
9543
|
readonly __: any;
|
|
@@ -8726,13 +9558,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8726
9558
|
readonly valid: boolean;
|
|
8727
9559
|
readonly errClassNames: string;
|
|
8728
9560
|
readonly lastSelectValue: string;
|
|
9561
|
+
readonly enableSourcePagination: boolean;
|
|
9562
|
+
readonly sourcePageNum: number;
|
|
9563
|
+
readonly sourcePerPageNum: number;
|
|
9564
|
+
readonly sourceTotalNum: number;
|
|
8729
9565
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8730
9566
|
splitExtraValue(value: any): any[];
|
|
8731
9567
|
getMergedData(data: any): any;
|
|
8732
9568
|
} & {
|
|
8733
9569
|
focus: () => void;
|
|
8734
9570
|
blur: () => void;
|
|
8735
|
-
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 }: {
|
|
9571
|
+
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 }: {
|
|
8736
9572
|
extraName?: string | undefined;
|
|
8737
9573
|
required?: boolean | undefined;
|
|
8738
9574
|
unique?: boolean | undefined;
|
|
@@ -8765,6 +9601,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8765
9601
|
name: string;
|
|
8766
9602
|
path: string;
|
|
8767
9603
|
} | undefined;
|
|
9604
|
+
pagination?: {
|
|
9605
|
+
enable?: boolean | undefined;
|
|
9606
|
+
page?: number | undefined;
|
|
9607
|
+
perPage?: number | undefined;
|
|
9608
|
+
} | undefined;
|
|
8768
9609
|
}) => void;
|
|
8769
9610
|
validate: (data: Object, hook?: any, customRules?: {
|
|
8770
9611
|
[propName: string]: any;
|
|
@@ -8775,10 +9616,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8775
9616
|
rule: string;
|
|
8776
9617
|
})[], tag?: string) => void;
|
|
8777
9618
|
clearError: (tag?: string | undefined) => void;
|
|
9619
|
+
setPagination: (params: {
|
|
9620
|
+
page?: number | undefined;
|
|
9621
|
+
perPage?: number | undefined;
|
|
9622
|
+
total?: number | undefined;
|
|
9623
|
+
}) => void;
|
|
8778
9624
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
8779
9625
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
8780
9626
|
extendsOptions?: boolean | undefined;
|
|
8781
9627
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
9628
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
8782
9629
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8783
9630
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
8784
9631
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -8790,7 +9637,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8790
9637
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
8791
9638
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
8792
9639
|
closeDialog: (result?: any) => void;
|
|
8793
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
9640
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
8794
9641
|
changeEmitedValue: (value: any) => void;
|
|
8795
9642
|
addSubFormItem: (item: {
|
|
8796
9643
|
id: string;
|
|
@@ -8835,6 +9682,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8835
9682
|
joinValues: boolean;
|
|
8836
9683
|
extractValue: boolean;
|
|
8837
9684
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9685
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8838
9686
|
expressionsInOptions: boolean;
|
|
8839
9687
|
selectFirst: boolean;
|
|
8840
9688
|
autoFill: any;
|
|
@@ -8850,6 +9698,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8850
9698
|
inputGroupControl: any;
|
|
8851
9699
|
colIndex: any;
|
|
8852
9700
|
rowIndex: any;
|
|
9701
|
+
pagination: any;
|
|
9702
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8853
9703
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
8854
9704
|
readonly parentStore: any;
|
|
8855
9705
|
readonly __: any;
|
|
@@ -8870,6 +9720,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8870
9720
|
readonly valid: boolean;
|
|
8871
9721
|
readonly errClassNames: string;
|
|
8872
9722
|
readonly lastSelectValue: string;
|
|
9723
|
+
readonly enableSourcePagination: boolean;
|
|
9724
|
+
readonly sourcePageNum: number;
|
|
9725
|
+
readonly sourcePerPageNum: number;
|
|
9726
|
+
readonly sourceTotalNum: number;
|
|
8873
9727
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8874
9728
|
splitExtraValue(value: any): any[];
|
|
8875
9729
|
getMergedData(data: any): any;
|
|
@@ -8913,6 +9767,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8913
9767
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8914
9768
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8915
9769
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9770
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8916
9771
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8917
9772
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
8918
9773
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -8928,6 +9783,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8928
9783
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
8929
9784
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
8930
9785
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9786
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9787
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
8931
9788
|
}, {
|
|
8932
9789
|
readonly parentStore: any;
|
|
8933
9790
|
readonly __: any;
|
|
@@ -8948,6 +9805,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8948
9805
|
readonly valid: boolean;
|
|
8949
9806
|
readonly errClassNames: string;
|
|
8950
9807
|
readonly lastSelectValue: string;
|
|
9808
|
+
readonly enableSourcePagination: boolean;
|
|
9809
|
+
readonly sourcePageNum: number;
|
|
9810
|
+
readonly sourcePerPageNum: number;
|
|
9811
|
+
readonly sourceTotalNum: number;
|
|
8951
9812
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
8952
9813
|
splitExtraValue(value: any): any[];
|
|
8953
9814
|
getMergedData(data: any): any;
|
|
@@ -8995,6 +9856,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
8995
9856
|
joinValues: boolean;
|
|
8996
9857
|
extractValue: boolean;
|
|
8997
9858
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9859
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
8998
9860
|
expressionsInOptions: boolean;
|
|
8999
9861
|
selectFirst: boolean;
|
|
9000
9862
|
autoFill: any;
|
|
@@ -9010,6 +9872,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9010
9872
|
inputGroupControl: any;
|
|
9011
9873
|
colIndex: any;
|
|
9012
9874
|
rowIndex: any;
|
|
9875
|
+
pagination: any;
|
|
9876
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9013
9877
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9014
9878
|
readonly parentStore: any;
|
|
9015
9879
|
readonly __: any;
|
|
@@ -9030,6 +9894,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9030
9894
|
readonly valid: boolean;
|
|
9031
9895
|
readonly errClassNames: string;
|
|
9032
9896
|
readonly lastSelectValue: string;
|
|
9897
|
+
readonly enableSourcePagination: boolean;
|
|
9898
|
+
readonly sourcePageNum: number;
|
|
9899
|
+
readonly sourcePerPageNum: number;
|
|
9900
|
+
readonly sourceTotalNum: number;
|
|
9033
9901
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9034
9902
|
splitExtraValue(value: any): any[];
|
|
9035
9903
|
getMergedData(data: any): any;
|
|
@@ -9073,6 +9941,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9073
9941
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9074
9942
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9075
9943
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9944
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9076
9945
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9077
9946
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9078
9947
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9088,6 +9957,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9088
9957
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9089
9958
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9090
9959
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9960
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9961
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9091
9962
|
}, {
|
|
9092
9963
|
readonly parentStore: any;
|
|
9093
9964
|
readonly __: any;
|
|
@@ -9108,6 +9979,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9108
9979
|
readonly valid: boolean;
|
|
9109
9980
|
readonly errClassNames: string;
|
|
9110
9981
|
readonly lastSelectValue: string;
|
|
9982
|
+
readonly enableSourcePagination: boolean;
|
|
9983
|
+
readonly sourcePageNum: number;
|
|
9984
|
+
readonly sourcePerPageNum: number;
|
|
9985
|
+
readonly sourceTotalNum: number;
|
|
9111
9986
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9112
9987
|
splitExtraValue(value: any): any[];
|
|
9113
9988
|
getMergedData(data: any): any;
|
|
@@ -9154,6 +10029,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9154
10029
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9155
10030
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9156
10031
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10032
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9157
10033
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9158
10034
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9159
10035
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9169,6 +10045,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9169
10045
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9170
10046
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9171
10047
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10048
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10049
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9172
10050
|
}, {
|
|
9173
10051
|
readonly parentStore: any;
|
|
9174
10052
|
readonly __: any;
|
|
@@ -9189,13 +10067,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9189
10067
|
readonly valid: boolean;
|
|
9190
10068
|
readonly errClassNames: string;
|
|
9191
10069
|
readonly lastSelectValue: string;
|
|
10070
|
+
readonly enableSourcePagination: boolean;
|
|
10071
|
+
readonly sourcePageNum: number;
|
|
10072
|
+
readonly sourcePerPageNum: number;
|
|
10073
|
+
readonly sourceTotalNum: number;
|
|
9192
10074
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9193
10075
|
splitExtraValue(value: any): any[];
|
|
9194
10076
|
getMergedData(data: any): any;
|
|
9195
10077
|
} & {
|
|
9196
10078
|
focus: () => void;
|
|
9197
10079
|
blur: () => void;
|
|
9198
|
-
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 }: {
|
|
10080
|
+
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 }: {
|
|
9199
10081
|
extraName?: string | undefined;
|
|
9200
10082
|
required?: boolean | undefined;
|
|
9201
10083
|
unique?: boolean | undefined;
|
|
@@ -9228,6 +10110,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9228
10110
|
name: string;
|
|
9229
10111
|
path: string;
|
|
9230
10112
|
} | undefined;
|
|
10113
|
+
pagination?: {
|
|
10114
|
+
enable?: boolean | undefined;
|
|
10115
|
+
page?: number | undefined;
|
|
10116
|
+
perPage?: number | undefined;
|
|
10117
|
+
} | undefined;
|
|
9231
10118
|
}) => void;
|
|
9232
10119
|
validate: (data: Object, hook?: any, customRules?: {
|
|
9233
10120
|
[propName: string]: any;
|
|
@@ -9238,10 +10125,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9238
10125
|
rule: string;
|
|
9239
10126
|
})[], tag?: string) => void;
|
|
9240
10127
|
clearError: (tag?: string | undefined) => void;
|
|
10128
|
+
setPagination: (params: {
|
|
10129
|
+
page?: number | undefined;
|
|
10130
|
+
perPage?: number | undefined;
|
|
10131
|
+
total?: number | undefined;
|
|
10132
|
+
}) => void;
|
|
9241
10133
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
9242
10134
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9243
10135
|
extendsOptions?: boolean | undefined;
|
|
9244
10136
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
10137
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9245
10138
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9246
10139
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9247
10140
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9253,7 +10146,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9253
10146
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9254
10147
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9255
10148
|
closeDialog: (result?: any) => void;
|
|
9256
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
10149
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9257
10150
|
changeEmitedValue: (value: any) => void;
|
|
9258
10151
|
addSubFormItem: (item: {
|
|
9259
10152
|
id: string;
|
|
@@ -9298,6 +10191,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9298
10191
|
joinValues: boolean;
|
|
9299
10192
|
extractValue: boolean;
|
|
9300
10193
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10194
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9301
10195
|
expressionsInOptions: boolean;
|
|
9302
10196
|
selectFirst: boolean;
|
|
9303
10197
|
autoFill: any;
|
|
@@ -9313,6 +10207,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9313
10207
|
inputGroupControl: any;
|
|
9314
10208
|
colIndex: any;
|
|
9315
10209
|
rowIndex: any;
|
|
10210
|
+
pagination: any;
|
|
10211
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9316
10212
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9317
10213
|
readonly parentStore: any;
|
|
9318
10214
|
readonly __: any;
|
|
@@ -9333,6 +10229,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9333
10229
|
readonly valid: boolean;
|
|
9334
10230
|
readonly errClassNames: string;
|
|
9335
10231
|
readonly lastSelectValue: string;
|
|
10232
|
+
readonly enableSourcePagination: boolean;
|
|
10233
|
+
readonly sourcePageNum: number;
|
|
10234
|
+
readonly sourcePerPageNum: number;
|
|
10235
|
+
readonly sourceTotalNum: number;
|
|
9336
10236
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9337
10237
|
splitExtraValue(value: any): any[];
|
|
9338
10238
|
getMergedData(data: any): any;
|
|
@@ -9376,6 +10276,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9376
10276
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9377
10277
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9378
10278
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10279
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9379
10280
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9380
10281
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9381
10282
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9391,6 +10292,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9391
10292
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9392
10293
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9393
10294
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10295
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10296
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9394
10297
|
}, {
|
|
9395
10298
|
readonly parentStore: any;
|
|
9396
10299
|
readonly __: any;
|
|
@@ -9411,6 +10314,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9411
10314
|
readonly valid: boolean;
|
|
9412
10315
|
readonly errClassNames: string;
|
|
9413
10316
|
readonly lastSelectValue: string;
|
|
10317
|
+
readonly enableSourcePagination: boolean;
|
|
10318
|
+
readonly sourcePageNum: number;
|
|
10319
|
+
readonly sourcePerPageNum: number;
|
|
10320
|
+
readonly sourceTotalNum: number;
|
|
9414
10321
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9415
10322
|
splitExtraValue(value: any): any[];
|
|
9416
10323
|
getMergedData(data: any): any;
|
|
@@ -9458,6 +10365,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9458
10365
|
joinValues: boolean;
|
|
9459
10366
|
extractValue: boolean;
|
|
9460
10367
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10368
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9461
10369
|
expressionsInOptions: boolean;
|
|
9462
10370
|
selectFirst: boolean;
|
|
9463
10371
|
autoFill: any;
|
|
@@ -9473,6 +10381,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9473
10381
|
inputGroupControl: any;
|
|
9474
10382
|
colIndex: any;
|
|
9475
10383
|
rowIndex: any;
|
|
10384
|
+
pagination: any;
|
|
10385
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9476
10386
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9477
10387
|
readonly parentStore: any;
|
|
9478
10388
|
readonly __: any;
|
|
@@ -9493,6 +10403,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9493
10403
|
readonly valid: boolean;
|
|
9494
10404
|
readonly errClassNames: string;
|
|
9495
10405
|
readonly lastSelectValue: string;
|
|
10406
|
+
readonly enableSourcePagination: boolean;
|
|
10407
|
+
readonly sourcePageNum: number;
|
|
10408
|
+
readonly sourcePerPageNum: number;
|
|
10409
|
+
readonly sourceTotalNum: number;
|
|
9496
10410
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9497
10411
|
splitExtraValue(value: any): any[];
|
|
9498
10412
|
getMergedData(data: any): any;
|
|
@@ -9536,6 +10450,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9536
10450
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9537
10451
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9538
10452
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10453
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9539
10454
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9540
10455
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9541
10456
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9551,6 +10466,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9551
10466
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9552
10467
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9553
10468
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10469
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10470
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9554
10471
|
}, {
|
|
9555
10472
|
readonly parentStore: any;
|
|
9556
10473
|
readonly __: any;
|
|
@@ -9571,6 +10488,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9571
10488
|
readonly valid: boolean;
|
|
9572
10489
|
readonly errClassNames: string;
|
|
9573
10490
|
readonly lastSelectValue: string;
|
|
10491
|
+
readonly enableSourcePagination: boolean;
|
|
10492
|
+
readonly sourcePageNum: number;
|
|
10493
|
+
readonly sourcePerPageNum: number;
|
|
10494
|
+
readonly sourceTotalNum: number;
|
|
9574
10495
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9575
10496
|
splitExtraValue(value: any): any[];
|
|
9576
10497
|
getMergedData(data: any): any;
|
|
@@ -9621,6 +10542,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9621
10542
|
joinValues: boolean;
|
|
9622
10543
|
extractValue: boolean;
|
|
9623
10544
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10545
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9624
10546
|
expressionsInOptions: boolean;
|
|
9625
10547
|
selectFirst: boolean;
|
|
9626
10548
|
autoFill: any;
|
|
@@ -9636,6 +10558,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9636
10558
|
inputGroupControl: any;
|
|
9637
10559
|
colIndex: any;
|
|
9638
10560
|
rowIndex: any;
|
|
10561
|
+
pagination: any;
|
|
10562
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9639
10563
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9640
10564
|
readonly parentStore: any;
|
|
9641
10565
|
readonly __: any;
|
|
@@ -9656,13 +10580,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9656
10580
|
readonly valid: boolean;
|
|
9657
10581
|
readonly errClassNames: string;
|
|
9658
10582
|
readonly lastSelectValue: string;
|
|
10583
|
+
readonly enableSourcePagination: boolean;
|
|
10584
|
+
readonly sourcePageNum: number;
|
|
10585
|
+
readonly sourcePerPageNum: number;
|
|
10586
|
+
readonly sourceTotalNum: number;
|
|
9659
10587
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9660
10588
|
splitExtraValue(value: any): any[];
|
|
9661
10589
|
getMergedData(data: any): any;
|
|
9662
10590
|
} & {
|
|
9663
10591
|
focus: () => void;
|
|
9664
10592
|
blur: () => void;
|
|
9665
|
-
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 }: {
|
|
10593
|
+
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 }: {
|
|
9666
10594
|
extraName?: string | undefined;
|
|
9667
10595
|
required?: boolean | undefined;
|
|
9668
10596
|
unique?: boolean | undefined;
|
|
@@ -9695,6 +10623,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9695
10623
|
name: string;
|
|
9696
10624
|
path: string;
|
|
9697
10625
|
} | undefined;
|
|
10626
|
+
pagination?: {
|
|
10627
|
+
enable?: boolean | undefined;
|
|
10628
|
+
page?: number | undefined;
|
|
10629
|
+
perPage?: number | undefined;
|
|
10630
|
+
} | undefined;
|
|
9698
10631
|
}) => void;
|
|
9699
10632
|
validate: (data: Object, hook?: any, customRules?: {
|
|
9700
10633
|
[propName: string]: any;
|
|
@@ -9705,10 +10638,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9705
10638
|
rule: string;
|
|
9706
10639
|
})[], tag?: string) => void;
|
|
9707
10640
|
clearError: (tag?: string | undefined) => void;
|
|
10641
|
+
setPagination: (params: {
|
|
10642
|
+
page?: number | undefined;
|
|
10643
|
+
perPage?: number | undefined;
|
|
10644
|
+
total?: number | undefined;
|
|
10645
|
+
}) => void;
|
|
9708
10646
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
9709
10647
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
9710
10648
|
extendsOptions?: boolean | undefined;
|
|
9711
10649
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
10650
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
9712
10651
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9713
10652
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
9714
10653
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -9720,7 +10659,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9720
10659
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
9721
10660
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
9722
10661
|
closeDialog: (result?: any) => void;
|
|
9723
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
10662
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
9724
10663
|
changeEmitedValue: (value: any) => void;
|
|
9725
10664
|
addSubFormItem: (item: {
|
|
9726
10665
|
id: string;
|
|
@@ -9765,6 +10704,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9765
10704
|
joinValues: boolean;
|
|
9766
10705
|
extractValue: boolean;
|
|
9767
10706
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10707
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9768
10708
|
expressionsInOptions: boolean;
|
|
9769
10709
|
selectFirst: boolean;
|
|
9770
10710
|
autoFill: any;
|
|
@@ -9780,6 +10720,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9780
10720
|
inputGroupControl: any;
|
|
9781
10721
|
colIndex: any;
|
|
9782
10722
|
rowIndex: any;
|
|
10723
|
+
pagination: any;
|
|
10724
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9783
10725
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9784
10726
|
readonly parentStore: any;
|
|
9785
10727
|
readonly __: any;
|
|
@@ -9800,6 +10742,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9800
10742
|
readonly valid: boolean;
|
|
9801
10743
|
readonly errClassNames: string;
|
|
9802
10744
|
readonly lastSelectValue: string;
|
|
10745
|
+
readonly enableSourcePagination: boolean;
|
|
10746
|
+
readonly sourcePageNum: number;
|
|
10747
|
+
readonly sourcePerPageNum: number;
|
|
10748
|
+
readonly sourceTotalNum: number;
|
|
9803
10749
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9804
10750
|
splitExtraValue(value: any): any[];
|
|
9805
10751
|
getMergedData(data: any): any;
|
|
@@ -9843,6 +10789,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9843
10789
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9844
10790
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9845
10791
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10792
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9846
10793
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9847
10794
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
9848
10795
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -9858,6 +10805,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9858
10805
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
9859
10806
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
9860
10807
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10808
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10809
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
9861
10810
|
}, {
|
|
9862
10811
|
readonly parentStore: any;
|
|
9863
10812
|
readonly __: any;
|
|
@@ -9878,6 +10827,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9878
10827
|
readonly valid: boolean;
|
|
9879
10828
|
readonly errClassNames: string;
|
|
9880
10829
|
readonly lastSelectValue: string;
|
|
10830
|
+
readonly enableSourcePagination: boolean;
|
|
10831
|
+
readonly sourcePageNum: number;
|
|
10832
|
+
readonly sourcePerPageNum: number;
|
|
10833
|
+
readonly sourceTotalNum: number;
|
|
9881
10834
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9882
10835
|
splitExtraValue(value: any): any[];
|
|
9883
10836
|
getMergedData(data: any): any;
|
|
@@ -9925,6 +10878,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9925
10878
|
joinValues: boolean;
|
|
9926
10879
|
extractValue: boolean;
|
|
9927
10880
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10881
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9928
10882
|
expressionsInOptions: boolean;
|
|
9929
10883
|
selectFirst: boolean;
|
|
9930
10884
|
autoFill: any;
|
|
@@ -9940,6 +10894,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9940
10894
|
inputGroupControl: any;
|
|
9941
10895
|
colIndex: any;
|
|
9942
10896
|
rowIndex: any;
|
|
10897
|
+
pagination: any;
|
|
10898
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
9943
10899
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
9944
10900
|
readonly parentStore: any;
|
|
9945
10901
|
readonly __: any;
|
|
@@ -9960,6 +10916,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
9960
10916
|
readonly valid: boolean;
|
|
9961
10917
|
readonly errClassNames: string;
|
|
9962
10918
|
readonly lastSelectValue: string;
|
|
10919
|
+
readonly enableSourcePagination: boolean;
|
|
10920
|
+
readonly sourcePageNum: number;
|
|
10921
|
+
readonly sourcePerPageNum: number;
|
|
10922
|
+
readonly sourceTotalNum: number;
|
|
9963
10923
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
9964
10924
|
splitExtraValue(value: any): any[];
|
|
9965
10925
|
getMergedData(data: any): any;
|
|
@@ -10003,6 +10963,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10003
10963
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10004
10964
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10005
10965
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10966
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10006
10967
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10007
10968
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10008
10969
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10018,6 +10979,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10018
10979
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10019
10980
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10020
10981
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10982
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10983
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10021
10984
|
}, {
|
|
10022
10985
|
readonly parentStore: any;
|
|
10023
10986
|
readonly __: any;
|
|
@@ -10038,6 +11001,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10038
11001
|
readonly valid: boolean;
|
|
10039
11002
|
readonly errClassNames: string;
|
|
10040
11003
|
readonly lastSelectValue: string;
|
|
11004
|
+
readonly enableSourcePagination: boolean;
|
|
11005
|
+
readonly sourcePageNum: number;
|
|
11006
|
+
readonly sourcePerPageNum: number;
|
|
11007
|
+
readonly sourceTotalNum: number;
|
|
10041
11008
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10042
11009
|
splitExtraValue(value: any): any[];
|
|
10043
11010
|
getMergedData(data: any): any;
|
|
@@ -10084,6 +11051,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10084
11051
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10085
11052
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10086
11053
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11054
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10087
11055
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10088
11056
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10089
11057
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10099,6 +11067,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10099
11067
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10100
11068
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10101
11069
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11070
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11071
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10102
11072
|
}, {
|
|
10103
11073
|
readonly parentStore: any;
|
|
10104
11074
|
readonly __: any;
|
|
@@ -10119,13 +11089,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10119
11089
|
readonly valid: boolean;
|
|
10120
11090
|
readonly errClassNames: string;
|
|
10121
11091
|
readonly lastSelectValue: string;
|
|
11092
|
+
readonly enableSourcePagination: boolean;
|
|
11093
|
+
readonly sourcePageNum: number;
|
|
11094
|
+
readonly sourcePerPageNum: number;
|
|
11095
|
+
readonly sourceTotalNum: number;
|
|
10122
11096
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10123
11097
|
splitExtraValue(value: any): any[];
|
|
10124
11098
|
getMergedData(data: any): any;
|
|
10125
11099
|
} & {
|
|
10126
11100
|
focus: () => void;
|
|
10127
11101
|
blur: () => void;
|
|
10128
|
-
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 }: {
|
|
11102
|
+
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 }: {
|
|
10129
11103
|
extraName?: string | undefined;
|
|
10130
11104
|
required?: boolean | undefined;
|
|
10131
11105
|
unique?: boolean | undefined;
|
|
@@ -10158,6 +11132,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10158
11132
|
name: string;
|
|
10159
11133
|
path: string;
|
|
10160
11134
|
} | undefined;
|
|
11135
|
+
pagination?: {
|
|
11136
|
+
enable?: boolean | undefined;
|
|
11137
|
+
page?: number | undefined;
|
|
11138
|
+
perPage?: number | undefined;
|
|
11139
|
+
} | undefined;
|
|
10161
11140
|
}) => void;
|
|
10162
11141
|
validate: (data: Object, hook?: any, customRules?: {
|
|
10163
11142
|
[propName: string]: any;
|
|
@@ -10168,10 +11147,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10168
11147
|
rule: string;
|
|
10169
11148
|
})[], tag?: string) => void;
|
|
10170
11149
|
clearError: (tag?: string | undefined) => void;
|
|
11150
|
+
setPagination: (params: {
|
|
11151
|
+
page?: number | undefined;
|
|
11152
|
+
perPage?: number | undefined;
|
|
11153
|
+
total?: number | undefined;
|
|
11154
|
+
}) => void;
|
|
10171
11155
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
10172
11156
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
10173
11157
|
extendsOptions?: boolean | undefined;
|
|
10174
11158
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
11159
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
10175
11160
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10176
11161
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10177
11162
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -10183,7 +11168,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10183
11168
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10184
11169
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
10185
11170
|
closeDialog: (result?: any) => void;
|
|
10186
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
11171
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10187
11172
|
changeEmitedValue: (value: any) => void;
|
|
10188
11173
|
addSubFormItem: (item: {
|
|
10189
11174
|
id: string;
|
|
@@ -10228,6 +11213,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10228
11213
|
joinValues: boolean;
|
|
10229
11214
|
extractValue: boolean;
|
|
10230
11215
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11216
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10231
11217
|
expressionsInOptions: boolean;
|
|
10232
11218
|
selectFirst: boolean;
|
|
10233
11219
|
autoFill: any;
|
|
@@ -10243,6 +11229,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10243
11229
|
inputGroupControl: any;
|
|
10244
11230
|
colIndex: any;
|
|
10245
11231
|
rowIndex: any;
|
|
11232
|
+
pagination: any;
|
|
11233
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10246
11234
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10247
11235
|
readonly parentStore: any;
|
|
10248
11236
|
readonly __: any;
|
|
@@ -10263,6 +11251,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10263
11251
|
readonly valid: boolean;
|
|
10264
11252
|
readonly errClassNames: string;
|
|
10265
11253
|
readonly lastSelectValue: string;
|
|
11254
|
+
readonly enableSourcePagination: boolean;
|
|
11255
|
+
readonly sourcePageNum: number;
|
|
11256
|
+
readonly sourcePerPageNum: number;
|
|
11257
|
+
readonly sourceTotalNum: number;
|
|
10266
11258
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10267
11259
|
splitExtraValue(value: any): any[];
|
|
10268
11260
|
getMergedData(data: any): any;
|
|
@@ -10306,6 +11298,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10306
11298
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10307
11299
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10308
11300
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11301
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10309
11302
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10310
11303
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10311
11304
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10321,6 +11314,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10321
11314
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10322
11315
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10323
11316
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11317
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11318
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10324
11319
|
}, {
|
|
10325
11320
|
readonly parentStore: any;
|
|
10326
11321
|
readonly __: any;
|
|
@@ -10341,6 +11336,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10341
11336
|
readonly valid: boolean;
|
|
10342
11337
|
readonly errClassNames: string;
|
|
10343
11338
|
readonly lastSelectValue: string;
|
|
11339
|
+
readonly enableSourcePagination: boolean;
|
|
11340
|
+
readonly sourcePageNum: number;
|
|
11341
|
+
readonly sourcePerPageNum: number;
|
|
11342
|
+
readonly sourceTotalNum: number;
|
|
10344
11343
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10345
11344
|
splitExtraValue(value: any): any[];
|
|
10346
11345
|
getMergedData(data: any): any;
|
|
@@ -10388,6 +11387,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10388
11387
|
joinValues: boolean;
|
|
10389
11388
|
extractValue: boolean;
|
|
10390
11389
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11390
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10391
11391
|
expressionsInOptions: boolean;
|
|
10392
11392
|
selectFirst: boolean;
|
|
10393
11393
|
autoFill: any;
|
|
@@ -10403,6 +11403,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10403
11403
|
inputGroupControl: any;
|
|
10404
11404
|
colIndex: any;
|
|
10405
11405
|
rowIndex: any;
|
|
11406
|
+
pagination: any;
|
|
11407
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10406
11408
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10407
11409
|
readonly parentStore: any;
|
|
10408
11410
|
readonly __: any;
|
|
@@ -10423,6 +11425,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10423
11425
|
readonly valid: boolean;
|
|
10424
11426
|
readonly errClassNames: string;
|
|
10425
11427
|
readonly lastSelectValue: string;
|
|
11428
|
+
readonly enableSourcePagination: boolean;
|
|
11429
|
+
readonly sourcePageNum: number;
|
|
11430
|
+
readonly sourcePerPageNum: number;
|
|
11431
|
+
readonly sourceTotalNum: number;
|
|
10426
11432
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10427
11433
|
splitExtraValue(value: any): any[];
|
|
10428
11434
|
getMergedData(data: any): any;
|
|
@@ -10466,6 +11472,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10466
11472
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10467
11473
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10468
11474
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11475
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10469
11476
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10470
11477
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10471
11478
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10481,6 +11488,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10481
11488
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10482
11489
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10483
11490
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11491
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11492
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10484
11493
|
}, {
|
|
10485
11494
|
readonly parentStore: any;
|
|
10486
11495
|
readonly __: any;
|
|
@@ -10501,6 +11510,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10501
11510
|
readonly valid: boolean;
|
|
10502
11511
|
readonly errClassNames: string;
|
|
10503
11512
|
readonly lastSelectValue: string;
|
|
11513
|
+
readonly enableSourcePagination: boolean;
|
|
11514
|
+
readonly sourcePageNum: number;
|
|
11515
|
+
readonly sourcePerPageNum: number;
|
|
11516
|
+
readonly sourceTotalNum: number;
|
|
10504
11517
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10505
11518
|
splitExtraValue(value: any): any[];
|
|
10506
11519
|
getMergedData(data: any): any;
|
|
@@ -10551,6 +11564,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10551
11564
|
joinValues: boolean;
|
|
10552
11565
|
extractValue: boolean;
|
|
10553
11566
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11567
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10554
11568
|
expressionsInOptions: boolean;
|
|
10555
11569
|
selectFirst: boolean;
|
|
10556
11570
|
autoFill: any;
|
|
@@ -10566,6 +11580,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10566
11580
|
inputGroupControl: any;
|
|
10567
11581
|
colIndex: any;
|
|
10568
11582
|
rowIndex: any;
|
|
11583
|
+
pagination: any;
|
|
11584
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10569
11585
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10570
11586
|
readonly parentStore: any;
|
|
10571
11587
|
readonly __: any;
|
|
@@ -10586,13 +11602,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10586
11602
|
readonly valid: boolean;
|
|
10587
11603
|
readonly errClassNames: string;
|
|
10588
11604
|
readonly lastSelectValue: string;
|
|
11605
|
+
readonly enableSourcePagination: boolean;
|
|
11606
|
+
readonly sourcePageNum: number;
|
|
11607
|
+
readonly sourcePerPageNum: number;
|
|
11608
|
+
readonly sourceTotalNum: number;
|
|
10589
11609
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10590
11610
|
splitExtraValue(value: any): any[];
|
|
10591
11611
|
getMergedData(data: any): any;
|
|
10592
11612
|
} & {
|
|
10593
11613
|
focus: () => void;
|
|
10594
11614
|
blur: () => void;
|
|
10595
|
-
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 }: {
|
|
11615
|
+
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 }: {
|
|
10596
11616
|
extraName?: string | undefined;
|
|
10597
11617
|
required?: boolean | undefined;
|
|
10598
11618
|
unique?: boolean | undefined;
|
|
@@ -10625,6 +11645,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10625
11645
|
name: string;
|
|
10626
11646
|
path: string;
|
|
10627
11647
|
} | undefined;
|
|
11648
|
+
pagination?: {
|
|
11649
|
+
enable?: boolean | undefined;
|
|
11650
|
+
page?: number | undefined;
|
|
11651
|
+
perPage?: number | undefined;
|
|
11652
|
+
} | undefined;
|
|
10628
11653
|
}) => void;
|
|
10629
11654
|
validate: (data: Object, hook?: any, customRules?: {
|
|
10630
11655
|
[propName: string]: any;
|
|
@@ -10635,10 +11660,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10635
11660
|
rule: string;
|
|
10636
11661
|
})[], tag?: string) => void;
|
|
10637
11662
|
clearError: (tag?: string | undefined) => void;
|
|
11663
|
+
setPagination: (params: {
|
|
11664
|
+
page?: number | undefined;
|
|
11665
|
+
perPage?: number | undefined;
|
|
11666
|
+
total?: number | undefined;
|
|
11667
|
+
}) => void;
|
|
10638
11668
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
10639
11669
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
10640
11670
|
extendsOptions?: boolean | undefined;
|
|
10641
11671
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
11672
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
10642
11673
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10643
11674
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
10644
11675
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -10650,7 +11681,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10650
11681
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
10651
11682
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
10652
11683
|
closeDialog: (result?: any) => void;
|
|
10653
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
11684
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
10654
11685
|
changeEmitedValue: (value: any) => void;
|
|
10655
11686
|
addSubFormItem: (item: {
|
|
10656
11687
|
id: string;
|
|
@@ -10695,6 +11726,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10695
11726
|
joinValues: boolean;
|
|
10696
11727
|
extractValue: boolean;
|
|
10697
11728
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11729
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10698
11730
|
expressionsInOptions: boolean;
|
|
10699
11731
|
selectFirst: boolean;
|
|
10700
11732
|
autoFill: any;
|
|
@@ -10710,6 +11742,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10710
11742
|
inputGroupControl: any;
|
|
10711
11743
|
colIndex: any;
|
|
10712
11744
|
rowIndex: any;
|
|
11745
|
+
pagination: any;
|
|
11746
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10713
11747
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10714
11748
|
readonly parentStore: any;
|
|
10715
11749
|
readonly __: any;
|
|
@@ -10730,6 +11764,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10730
11764
|
readonly valid: boolean;
|
|
10731
11765
|
readonly errClassNames: string;
|
|
10732
11766
|
readonly lastSelectValue: string;
|
|
11767
|
+
readonly enableSourcePagination: boolean;
|
|
11768
|
+
readonly sourcePageNum: number;
|
|
11769
|
+
readonly sourcePerPageNum: number;
|
|
11770
|
+
readonly sourceTotalNum: number;
|
|
10733
11771
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10734
11772
|
splitExtraValue(value: any): any[];
|
|
10735
11773
|
getMergedData(data: any): any;
|
|
@@ -10773,6 +11811,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10773
11811
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10774
11812
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10775
11813
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11814
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10776
11815
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10777
11816
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10778
11817
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10788,6 +11827,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10788
11827
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10789
11828
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10790
11829
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11830
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11831
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10791
11832
|
}, {
|
|
10792
11833
|
readonly parentStore: any;
|
|
10793
11834
|
readonly __: any;
|
|
@@ -10808,6 +11849,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10808
11849
|
readonly valid: boolean;
|
|
10809
11850
|
readonly errClassNames: string;
|
|
10810
11851
|
readonly lastSelectValue: string;
|
|
11852
|
+
readonly enableSourcePagination: boolean;
|
|
11853
|
+
readonly sourcePageNum: number;
|
|
11854
|
+
readonly sourcePerPageNum: number;
|
|
11855
|
+
readonly sourceTotalNum: number;
|
|
10811
11856
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10812
11857
|
splitExtraValue(value: any): any[];
|
|
10813
11858
|
getMergedData(data: any): any;
|
|
@@ -10855,6 +11900,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10855
11900
|
joinValues: boolean;
|
|
10856
11901
|
extractValue: boolean;
|
|
10857
11902
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11903
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10858
11904
|
expressionsInOptions: boolean;
|
|
10859
11905
|
selectFirst: boolean;
|
|
10860
11906
|
autoFill: any;
|
|
@@ -10870,6 +11916,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10870
11916
|
inputGroupControl: any;
|
|
10871
11917
|
colIndex: any;
|
|
10872
11918
|
rowIndex: any;
|
|
11919
|
+
pagination: any;
|
|
11920
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
10873
11921
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
10874
11922
|
readonly parentStore: any;
|
|
10875
11923
|
readonly __: any;
|
|
@@ -10890,6 +11938,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10890
11938
|
readonly valid: boolean;
|
|
10891
11939
|
readonly errClassNames: string;
|
|
10892
11940
|
readonly lastSelectValue: string;
|
|
11941
|
+
readonly enableSourcePagination: boolean;
|
|
11942
|
+
readonly sourcePageNum: number;
|
|
11943
|
+
readonly sourcePerPageNum: number;
|
|
11944
|
+
readonly sourceTotalNum: number;
|
|
10893
11945
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10894
11946
|
splitExtraValue(value: any): any[];
|
|
10895
11947
|
getMergedData(data: any): any;
|
|
@@ -10933,6 +11985,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10933
11985
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10934
11986
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10935
11987
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11988
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10936
11989
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10937
11990
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
10938
11991
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -10948,6 +12001,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10948
12001
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
10949
12002
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
10950
12003
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
12004
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
12005
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
10951
12006
|
}, {
|
|
10952
12007
|
readonly parentStore: any;
|
|
10953
12008
|
readonly __: any;
|
|
@@ -10968,6 +12023,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
10968
12023
|
readonly valid: boolean;
|
|
10969
12024
|
readonly errClassNames: string;
|
|
10970
12025
|
readonly lastSelectValue: string;
|
|
12026
|
+
readonly enableSourcePagination: boolean;
|
|
12027
|
+
readonly sourcePageNum: number;
|
|
12028
|
+
readonly sourcePerPageNum: number;
|
|
12029
|
+
readonly sourceTotalNum: number;
|
|
10971
12030
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
10972
12031
|
splitExtraValue(value: any): any[];
|
|
10973
12032
|
getMergedData(data: any): any;
|
|
@@ -11014,6 +12073,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11014
12073
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11015
12074
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11016
12075
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
12076
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11017
12077
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11018
12078
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11019
12079
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -11029,6 +12089,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11029
12089
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11030
12090
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11031
12091
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
12092
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
12093
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11032
12094
|
}, {
|
|
11033
12095
|
readonly parentStore: any;
|
|
11034
12096
|
readonly __: any;
|
|
@@ -11049,13 +12111,17 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11049
12111
|
readonly valid: boolean;
|
|
11050
12112
|
readonly errClassNames: string;
|
|
11051
12113
|
readonly lastSelectValue: string;
|
|
12114
|
+
readonly enableSourcePagination: boolean;
|
|
12115
|
+
readonly sourcePageNum: number;
|
|
12116
|
+
readonly sourcePerPageNum: number;
|
|
12117
|
+
readonly sourceTotalNum: number;
|
|
11052
12118
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
11053
12119
|
splitExtraValue(value: any): any[];
|
|
11054
12120
|
getMergedData(data: any): any;
|
|
11055
12121
|
} & {
|
|
11056
12122
|
focus: () => void;
|
|
11057
12123
|
blur: () => void;
|
|
11058
|
-
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 }: {
|
|
12124
|
+
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 }: {
|
|
11059
12125
|
extraName?: string | undefined;
|
|
11060
12126
|
required?: boolean | undefined;
|
|
11061
12127
|
unique?: boolean | undefined;
|
|
@@ -11088,6 +12154,11 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11088
12154
|
name: string;
|
|
11089
12155
|
path: string;
|
|
11090
12156
|
} | undefined;
|
|
12157
|
+
pagination?: {
|
|
12158
|
+
enable?: boolean | undefined;
|
|
12159
|
+
page?: number | undefined;
|
|
12160
|
+
perPage?: number | undefined;
|
|
12161
|
+
} | undefined;
|
|
11091
12162
|
}) => void;
|
|
11092
12163
|
validate: (data: Object, hook?: any, customRules?: {
|
|
11093
12164
|
[propName: string]: any;
|
|
@@ -11098,10 +12169,16 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11098
12169
|
rule: string;
|
|
11099
12170
|
})[], tag?: string) => void;
|
|
11100
12171
|
clearError: (tag?: string | undefined) => void;
|
|
12172
|
+
setPagination: (params: {
|
|
12173
|
+
page?: number | undefined;
|
|
12174
|
+
perPage?: number | undefined;
|
|
12175
|
+
total?: number | undefined;
|
|
12176
|
+
}) => void;
|
|
11101
12177
|
setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
|
|
11102
12178
|
loadOptions: (api: import("..").Api, data?: object | undefined, config?: (import("..").fetchOptions & {
|
|
11103
12179
|
extendsOptions?: boolean | undefined;
|
|
11104
12180
|
}) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<import("..").Payload | null>;
|
|
12181
|
+
loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
|
|
11105
12182
|
deferLoadOptions: (option: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
11106
12183
|
deferLoadLeftOptions: (option: any, leftOptions: any, api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<import("..").Payload | null>;
|
|
11107
12184
|
expandTreeOptions: (nodePathArr: any[], api: import("..").Api, data?: object | undefined, config?: import("..").fetchOptions | undefined) => Promise<void | import("..").Payload | null>;
|
|
@@ -11113,7 +12190,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11113
12190
|
resetValidationStatus: (tag?: string | undefined) => void;
|
|
11114
12191
|
openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
|
|
11115
12192
|
closeDialog: (result?: any) => void;
|
|
11116
|
-
changeTmpValue: (value: any, changeReason?: "
|
|
12193
|
+
changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
|
|
11117
12194
|
changeEmitedValue: (value: any) => void;
|
|
11118
12195
|
addSubFormItem: (item: {
|
|
11119
12196
|
id: string;
|
|
@@ -11158,6 +12235,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11158
12235
|
joinValues: boolean;
|
|
11159
12236
|
extractValue: boolean;
|
|
11160
12237
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
12238
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11161
12239
|
expressionsInOptions: boolean;
|
|
11162
12240
|
selectFirst: boolean;
|
|
11163
12241
|
autoFill: any;
|
|
@@ -11173,6 +12251,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11173
12251
|
inputGroupControl: any;
|
|
11174
12252
|
colIndex: any;
|
|
11175
12253
|
rowIndex: any;
|
|
12254
|
+
pagination: any;
|
|
12255
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11176
12256
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11177
12257
|
readonly parentStore: any;
|
|
11178
12258
|
readonly __: any;
|
|
@@ -11193,6 +12273,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11193
12273
|
readonly valid: boolean;
|
|
11194
12274
|
readonly errClassNames: string;
|
|
11195
12275
|
readonly lastSelectValue: string;
|
|
12276
|
+
readonly enableSourcePagination: boolean;
|
|
12277
|
+
readonly sourcePageNum: number;
|
|
12278
|
+
readonly sourcePerPageNum: number;
|
|
12279
|
+
readonly sourceTotalNum: number;
|
|
11196
12280
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
11197
12281
|
splitExtraValue(value: any): any[];
|
|
11198
12282
|
getMergedData(data: any): any;
|
|
@@ -11236,6 +12320,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11236
12320
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11237
12321
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11238
12322
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
12323
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11239
12324
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11240
12325
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11241
12326
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -11251,6 +12336,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11251
12336
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11252
12337
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11253
12338
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
12339
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
12340
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11254
12341
|
}, {
|
|
11255
12342
|
readonly parentStore: any;
|
|
11256
12343
|
readonly __: any;
|
|
@@ -11271,6 +12358,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11271
12358
|
readonly valid: boolean;
|
|
11272
12359
|
readonly errClassNames: string;
|
|
11273
12360
|
readonly lastSelectValue: string;
|
|
12361
|
+
readonly enableSourcePagination: boolean;
|
|
12362
|
+
readonly sourcePageNum: number;
|
|
12363
|
+
readonly sourcePerPageNum: number;
|
|
12364
|
+
readonly sourceTotalNum: number;
|
|
11274
12365
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
11275
12366
|
splitExtraValue(value: any): any[];
|
|
11276
12367
|
getMergedData(data: any): any;
|
|
@@ -11318,6 +12409,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11318
12409
|
joinValues: boolean;
|
|
11319
12410
|
extractValue: boolean;
|
|
11320
12411
|
options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
12412
|
+
optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11321
12413
|
expressionsInOptions: boolean;
|
|
11322
12414
|
selectFirst: boolean;
|
|
11323
12415
|
autoFill: any;
|
|
@@ -11333,6 +12425,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11333
12425
|
inputGroupControl: any;
|
|
11334
12426
|
colIndex: any;
|
|
11335
12427
|
rowIndex: any;
|
|
12428
|
+
pagination: any;
|
|
12429
|
+
accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
|
|
11336
12430
|
} & import("mobx-state-tree/dist/internal").NonEmptyObject & {
|
|
11337
12431
|
readonly parentStore: any;
|
|
11338
12432
|
readonly __: any;
|
|
@@ -11353,6 +12447,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11353
12447
|
readonly valid: boolean;
|
|
11354
12448
|
readonly errClassNames: string;
|
|
11355
12449
|
readonly lastSelectValue: string;
|
|
12450
|
+
readonly enableSourcePagination: boolean;
|
|
12451
|
+
readonly sourcePageNum: number;
|
|
12452
|
+
readonly sourcePerPageNum: number;
|
|
12453
|
+
readonly sourceTotalNum: number;
|
|
11356
12454
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
11357
12455
|
splitExtraValue(value: any): any[];
|
|
11358
12456
|
getMergedData(data: any): any;
|
|
@@ -11396,6 +12494,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11396
12494
|
joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11397
12495
|
extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11398
12496
|
options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
12497
|
+
optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11399
12498
|
expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11400
12499
|
selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
|
|
11401
12500
|
autoFill: import("mobx-state-tree").IType<any, any, any>;
|
|
@@ -11411,6 +12510,8 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11411
12510
|
inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
11412
12511
|
colIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
11413
12512
|
rowIndex: import("mobx-state-tree").IType<any, any, any>;
|
|
12513
|
+
pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
|
|
12514
|
+
accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
|
|
11414
12515
|
}, {
|
|
11415
12516
|
readonly parentStore: any;
|
|
11416
12517
|
readonly __: any;
|
|
@@ -11431,6 +12532,10 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11431
12532
|
readonly valid: boolean;
|
|
11432
12533
|
readonly errClassNames: string;
|
|
11433
12534
|
readonly lastSelectValue: string;
|
|
12535
|
+
readonly enableSourcePagination: boolean;
|
|
12536
|
+
readonly sourcePageNum: number;
|
|
12537
|
+
readonly sourcePerPageNum: number;
|
|
12538
|
+
readonly sourceTotalNum: number;
|
|
11434
12539
|
getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
|
|
11435
12540
|
splitExtraValue(value: any): any[];
|
|
11436
12541
|
getMergedData(data: any): any;
|
|
@@ -11499,6 +12604,7 @@ export declare const ComboStore: import("mobx-state-tree").IModelType<{
|
|
|
11499
12604
|
unBindUniuqueItem: (item: IFormItemStore) => void;
|
|
11500
12605
|
addForm: (form: IFormStore) => void;
|
|
11501
12606
|
onChildStoreDispose: (child: IFormStore) => void;
|
|
12607
|
+
setMemberValid: (valid: boolean, index: number) => void;
|
|
11502
12608
|
}, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
|
|
11503
12609
|
export type IComboStore = Instance<typeof ComboStore>;
|
|
11504
12610
|
export type SComboStore = SnapshotIn<typeof ComboStore>;
|