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.
Files changed (269) hide show
  1. package/esm/Root.js +1 -1
  2. package/esm/RootRenderer.d.ts +1 -1
  3. package/esm/RootRenderer.js +2 -2
  4. package/esm/SchemaRenderer.js +1 -1
  5. package/esm/Scoped.js +2 -2
  6. package/esm/StatusScoped.js +1 -1
  7. package/esm/WithRootStore.js +1 -1
  8. package/esm/WithStore.js +1 -1
  9. package/esm/actions/Action.js +1 -1
  10. package/esm/actions/AjaxAction.js +1 -1
  11. package/esm/actions/BreakAction.js +1 -1
  12. package/esm/actions/BroadcastAction.js +1 -1
  13. package/esm/actions/CmptAction.js +31 -32
  14. package/esm/actions/ContinueAction.js +1 -1
  15. package/esm/actions/CopyAction.js +1 -1
  16. package/esm/actions/CustomAction.js +1 -1
  17. package/esm/actions/DialogAction.js +1 -1
  18. package/esm/actions/DrawerAction.js +1 -1
  19. package/esm/actions/EmailAction.js +1 -1
  20. package/esm/actions/LinkAction.js +1 -1
  21. package/esm/actions/LoopAction.js +1 -1
  22. package/esm/actions/PageAction.js +1 -1
  23. package/esm/actions/ParallelAction.js +1 -1
  24. package/esm/actions/StatusAction.js +1 -1
  25. package/esm/actions/SwitchAction.js +1 -1
  26. package/esm/actions/ToastAction.js +1 -1
  27. package/esm/components/CustomStyle.js +1 -1
  28. package/esm/components/LazyComponent.js +1 -1
  29. package/esm/components/Overlay.js +1 -1
  30. package/esm/components/PopOver.js +1 -1
  31. package/esm/env.d.ts +9 -0
  32. package/esm/env.js +1 -1
  33. package/esm/envOverwrite.d.ts +1 -1
  34. package/esm/envOverwrite.js +15 -35
  35. package/esm/factory.js +1 -1
  36. package/esm/index.js +3 -3
  37. package/esm/locale.js +1 -1
  38. package/esm/polyfills.js +1 -1
  39. package/esm/renderers/Form.d.ts +9 -3
  40. package/esm/renderers/Form.js +50 -25
  41. package/esm/renderers/Item.js +1 -1
  42. package/esm/renderers/Options.d.ts +1 -1
  43. package/esm/renderers/Options.js +7 -6
  44. package/esm/renderers/Placeholder.js +1 -1
  45. package/esm/renderers/builtin.js +1 -1
  46. package/esm/renderers/register.js +1 -1
  47. package/esm/renderers/wrapControl.js +7 -12
  48. package/esm/store/app.js +1 -1
  49. package/esm/store/combo.d.ts +1154 -48
  50. package/esm/store/combo.js +10 -3
  51. package/esm/store/crud.js +22 -3
  52. package/esm/store/form.d.ts +480 -20
  53. package/esm/store/form.js +1 -1
  54. package/esm/store/formItem.d.ts +23 -1
  55. package/esm/store/formItem.js +88 -9
  56. package/esm/store/iRenderer.js +1 -1
  57. package/esm/store/index.js +1 -1
  58. package/esm/store/list.js +1 -1
  59. package/esm/store/manager.js +1 -1
  60. package/esm/store/modal.js +1 -1
  61. package/esm/store/node.js +1 -1
  62. package/esm/store/pagination.js +1 -1
  63. package/esm/store/root.js +1 -1
  64. package/esm/store/service.js +1 -1
  65. package/esm/store/status.js +1 -1
  66. package/esm/store/table.d.ts +1077 -42
  67. package/esm/store/table.js +66 -4
  68. package/esm/store/table2.js +1 -4
  69. package/esm/theme.js +1 -1
  70. package/esm/types.d.ts +8 -2
  71. package/esm/utils/Animation.js +1 -1
  72. package/esm/utils/ColorScale.js +1 -1
  73. package/esm/utils/DataSchema.js +1 -1
  74. package/esm/utils/DataScope.js +1 -1
  75. package/esm/utils/RootClose.js +1 -1
  76. package/esm/utils/SimpleMap.js +1 -1
  77. package/esm/utils/api.js +1 -1
  78. package/esm/utils/arraySlice.js +1 -1
  79. package/esm/utils/attachmentAdpator.js +1 -1
  80. package/esm/utils/autobind.js +1 -1
  81. package/esm/utils/columnsSplit.js +1 -1
  82. package/esm/utils/dataMapping.js +1 -1
  83. package/esm/utils/date.js +1 -1
  84. package/esm/utils/debug.js +1 -1
  85. package/esm/utils/decodeEntity.js +1 -1
  86. package/esm/utils/dom.js +1 -1
  87. package/esm/utils/errors.js +1 -1
  88. package/esm/utils/escapeHtml.js +1 -1
  89. package/esm/utils/filter-schema.js +1 -1
  90. package/esm/utils/filter.js +1 -1
  91. package/esm/utils/formatDuration.js +1 -1
  92. package/esm/utils/formula.js +1 -1
  93. package/esm/utils/getVariable.js +1 -1
  94. package/esm/utils/grammar.js +1 -1
  95. package/esm/utils/handleAction.js +1 -1
  96. package/esm/utils/helper.d.ts +2 -2
  97. package/esm/utils/helper.js +37 -29
  98. package/esm/utils/highlight.js +1 -1
  99. package/esm/utils/icon.js +1 -1
  100. package/esm/utils/image.js +1 -1
  101. package/esm/utils/isPureVariable.js +1 -1
  102. package/esm/utils/json-schema-2-amis-schema.js +1 -1
  103. package/esm/utils/keyToPath.js +1 -1
  104. package/esm/utils/makeSorter.js +1 -1
  105. package/esm/utils/math.js +8 -5
  106. package/esm/utils/memoryParse.js +1 -1
  107. package/esm/utils/normalizeLink.js +1 -1
  108. package/esm/utils/normalizeOptions.js +1 -1
  109. package/esm/utils/object.js +15 -1
  110. package/esm/utils/offset.js +1 -1
  111. package/esm/utils/offsetParent.js +1 -1
  112. package/esm/utils/optionValueCompare.js +1 -1
  113. package/esm/utils/position.js +1 -1
  114. package/esm/utils/prettyBytes.js +1 -1
  115. package/esm/utils/renderer-event.d.ts +7 -0
  116. package/esm/utils/renderer-event.js +30 -18
  117. package/esm/utils/replaceText.js +1 -1
  118. package/esm/utils/resize-sensor.js +1 -1
  119. package/esm/utils/resolveCondition.js +1 -1
  120. package/esm/utils/resolveVariable.js +1 -1
  121. package/esm/utils/resolveVariableAndFilter.js +1 -1
  122. package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
  123. package/esm/utils/scrollPosition.js +1 -1
  124. package/esm/utils/string2regExp.js +1 -1
  125. package/esm/utils/stripNumber.js +1 -1
  126. package/esm/utils/style-helper.js +8 -13
  127. package/esm/utils/style.js +3 -2
  128. package/esm/utils/toNumber.js +1 -1
  129. package/esm/utils/tokenize.js +1 -1
  130. package/esm/utils/tpl-builtin.js +1 -1
  131. package/esm/utils/tpl-lodash.js +1 -1
  132. package/esm/utils/tpl.js +1 -1
  133. package/esm/utils/uncontrollable.js +1 -1
  134. package/esm/utils/validations.js +1 -1
  135. package/lib/Root.js +1 -1
  136. package/lib/RootRenderer.d.ts +1 -1
  137. package/lib/RootRenderer.js +2 -2
  138. package/lib/SchemaRenderer.js +1 -1
  139. package/lib/Scoped.js +2 -2
  140. package/lib/StatusScoped.js +1 -1
  141. package/lib/WithRootStore.js +1 -1
  142. package/lib/WithStore.js +1 -1
  143. package/lib/actions/Action.js +1 -1
  144. package/lib/actions/AjaxAction.js +1 -1
  145. package/lib/actions/BreakAction.js +1 -1
  146. package/lib/actions/BroadcastAction.js +1 -1
  147. package/lib/actions/CmptAction.js +31 -32
  148. package/lib/actions/ContinueAction.js +1 -1
  149. package/lib/actions/CopyAction.js +1 -1
  150. package/lib/actions/CustomAction.js +1 -1
  151. package/lib/actions/DialogAction.js +1 -1
  152. package/lib/actions/DrawerAction.js +1 -1
  153. package/lib/actions/EmailAction.js +1 -1
  154. package/lib/actions/LinkAction.js +1 -1
  155. package/lib/actions/LoopAction.js +1 -1
  156. package/lib/actions/PageAction.js +1 -1
  157. package/lib/actions/ParallelAction.js +1 -1
  158. package/lib/actions/StatusAction.js +1 -1
  159. package/lib/actions/SwitchAction.js +1 -1
  160. package/lib/actions/ToastAction.js +1 -1
  161. package/lib/components/CustomStyle.js +1 -1
  162. package/lib/components/LazyComponent.js +1 -1
  163. package/lib/components/Overlay.js +1 -1
  164. package/lib/components/PopOver.js +1 -1
  165. package/lib/env.d.ts +9 -0
  166. package/lib/env.js +1 -1
  167. package/lib/envOverwrite.d.ts +1 -1
  168. package/lib/envOverwrite.js +18 -34
  169. package/lib/factory.js +1 -1
  170. package/lib/index.js +3 -3
  171. package/lib/locale.js +1 -1
  172. package/lib/polyfills.js +1 -1
  173. package/lib/renderers/Form.d.ts +9 -3
  174. package/lib/renderers/Form.js +50 -25
  175. package/lib/renderers/Item.js +1 -1
  176. package/lib/renderers/Options.d.ts +1 -1
  177. package/lib/renderers/Options.js +7 -6
  178. package/lib/renderers/Placeholder.js +1 -1
  179. package/lib/renderers/builtin.js +1 -1
  180. package/lib/renderers/register.js +1 -1
  181. package/lib/renderers/wrapControl.js +7 -12
  182. package/lib/store/app.js +1 -1
  183. package/lib/store/combo.d.ts +1154 -49
  184. package/lib/store/combo.js +10 -3
  185. package/lib/store/crud.js +22 -3
  186. package/lib/store/form.d.ts +480 -21
  187. package/lib/store/form.js +1 -1
  188. package/lib/store/formItem.d.ts +23 -1
  189. package/lib/store/formItem.js +89 -9
  190. package/lib/store/iRenderer.js +1 -1
  191. package/lib/store/index.js +1 -1
  192. package/lib/store/list.js +1 -1
  193. package/lib/store/manager.js +1 -1
  194. package/lib/store/modal.js +1 -1
  195. package/lib/store/node.js +1 -1
  196. package/lib/store/pagination.js +1 -1
  197. package/lib/store/root.js +1 -1
  198. package/lib/store/service.js +1 -1
  199. package/lib/store/status.js +1 -1
  200. package/lib/store/table.d.ts +1077 -43
  201. package/lib/store/table.js +65 -3
  202. package/lib/store/table2.js +1 -4
  203. package/lib/theme.js +1 -1
  204. package/lib/types.d.ts +8 -2
  205. package/lib/utils/Animation.js +1 -1
  206. package/lib/utils/ColorScale.js +1 -1
  207. package/lib/utils/DataSchema.js +1 -1
  208. package/lib/utils/DataScope.js +1 -1
  209. package/lib/utils/RootClose.js +1 -1
  210. package/lib/utils/SimpleMap.js +1 -1
  211. package/lib/utils/api.js +1 -1
  212. package/lib/utils/arraySlice.js +1 -1
  213. package/lib/utils/attachmentAdpator.js +1 -1
  214. package/lib/utils/autobind.js +1 -1
  215. package/lib/utils/columnsSplit.js +1 -1
  216. package/lib/utils/dataMapping.js +1 -1
  217. package/lib/utils/date.js +1 -1
  218. package/lib/utils/debug.js +1 -1
  219. package/lib/utils/decodeEntity.js +1 -1
  220. package/lib/utils/dom.js +1 -1
  221. package/lib/utils/errors.js +1 -1
  222. package/lib/utils/escapeHtml.js +1 -1
  223. package/lib/utils/filter-schema.js +1 -1
  224. package/lib/utils/filter.js +1 -1
  225. package/lib/utils/formatDuration.js +1 -1
  226. package/lib/utils/formula.js +1 -1
  227. package/lib/utils/getVariable.js +1 -1
  228. package/lib/utils/grammar.js +1 -1
  229. package/lib/utils/handleAction.js +1 -1
  230. package/lib/utils/helper.d.ts +2 -2
  231. package/lib/utils/helper.js +36 -28
  232. package/lib/utils/highlight.js +1 -1
  233. package/lib/utils/icon.js +1 -1
  234. package/lib/utils/image.js +1 -1
  235. package/lib/utils/isPureVariable.js +1 -1
  236. package/lib/utils/json-schema-2-amis-schema.js +1 -1
  237. package/lib/utils/keyToPath.js +1 -1
  238. package/lib/utils/makeSorter.js +1 -1
  239. package/lib/utils/math.js +8 -5
  240. package/lib/utils/memoryParse.js +1 -1
  241. package/lib/utils/normalizeLink.js +1 -1
  242. package/lib/utils/normalizeOptions.js +1 -1
  243. package/lib/utils/object.js +15 -1
  244. package/lib/utils/offset.js +1 -1
  245. package/lib/utils/offsetParent.js +1 -1
  246. package/lib/utils/optionValueCompare.js +1 -1
  247. package/lib/utils/position.js +1 -1
  248. package/lib/utils/prettyBytes.js +1 -1
  249. package/lib/utils/renderer-event.d.ts +7 -0
  250. package/lib/utils/renderer-event.js +30 -18
  251. package/lib/utils/replaceText.js +1 -1
  252. package/lib/utils/resize-sensor.js +1 -1
  253. package/lib/utils/resolveCondition.js +1 -1
  254. package/lib/utils/resolveVariable.js +1 -1
  255. package/lib/utils/resolveVariableAndFilter.js +1 -1
  256. package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
  257. package/lib/utils/scrollPosition.js +1 -1
  258. package/lib/utils/string2regExp.js +1 -1
  259. package/lib/utils/stripNumber.js +1 -1
  260. package/lib/utils/style-helper.js +8 -13
  261. package/lib/utils/style.js +3 -2
  262. package/lib/utils/toNumber.js +1 -1
  263. package/lib/utils/tokenize.js +1 -1
  264. package/lib/utils/tpl-builtin.js +1 -1
  265. package/lib/utils/tpl-lodash.js +1 -1
  266. package/lib/utils/tpl.js +1 -1
  267. package/lib/utils/uncontrollable.js +1 -1
  268. package/lib/utils/validations.js +1 -1
  269. package/package.json +3 -3
@@ -126,6 +126,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
126
126
  joinValues: boolean;
127
127
  extractValue: boolean;
128
128
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
129
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
129
130
  expressionsInOptions: boolean;
130
131
  selectFirst: boolean;
131
132
  autoFill: any;
@@ -141,6 +142,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
141
142
  inputGroupControl: any;
142
143
  colIndex: any;
143
144
  rowIndex: any;
145
+ pagination: any;
146
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
144
147
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
145
148
  readonly parentStore: any;
146
149
  readonly __: any;
@@ -161,13 +164,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
161
164
  readonly valid: boolean;
162
165
  readonly errClassNames: string;
163
166
  readonly lastSelectValue: string;
167
+ readonly enableSourcePagination: boolean;
168
+ readonly sourcePageNum: number;
169
+ readonly sourcePerPageNum: number;
170
+ readonly sourceTotalNum: number;
164
171
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
165
172
  splitExtraValue(value: any): any[];
166
173
  getMergedData(data: any): any;
167
174
  } & {
168
175
  focus: () => void;
169
176
  blur: () => void;
170
- 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 }: {
177
+ 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 }: {
171
178
  extraName?: string | undefined;
172
179
  required?: boolean | undefined;
173
180
  unique?: boolean | undefined;
@@ -200,6 +207,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
200
207
  name: string;
201
208
  path: string;
202
209
  } | undefined;
210
+ pagination?: {
211
+ enable?: boolean | undefined;
212
+ page?: number | undefined;
213
+ perPage?: number | undefined;
214
+ } | undefined;
203
215
  }) => void;
204
216
  validate: (data: Object, hook?: any, customRules?: {
205
217
  [propName: string]: any;
@@ -210,10 +222,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
210
222
  rule: string;
211
223
  })[], tag?: string) => void;
212
224
  clearError: (tag?: string | undefined) => void;
225
+ setPagination: (params: {
226
+ page?: number | undefined;
227
+ perPage?: number | undefined;
228
+ total?: number | undefined;
229
+ }) => void;
213
230
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
214
231
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
215
232
  extendsOptions?: boolean | undefined;
216
233
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
234
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
217
235
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
218
236
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
219
237
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -225,7 +243,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
225
243
  resetValidationStatus: (tag?: string | undefined) => void;
226
244
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
227
245
  closeDialog: (result?: any) => void;
228
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
246
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
229
247
  changeEmitedValue: (value: any) => void;
230
248
  addSubFormItem: (item: {
231
249
  id: string;
@@ -270,6 +288,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
270
288
  joinValues: boolean;
271
289
  extractValue: boolean;
272
290
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
291
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
273
292
  expressionsInOptions: boolean;
274
293
  selectFirst: boolean;
275
294
  autoFill: any;
@@ -285,6 +304,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
285
304
  inputGroupControl: any;
286
305
  colIndex: any;
287
306
  rowIndex: any;
307
+ pagination: any;
308
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
288
309
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
289
310
  readonly parentStore: any;
290
311
  readonly __: any;
@@ -305,6 +326,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
305
326
  readonly valid: boolean;
306
327
  readonly errClassNames: string;
307
328
  readonly lastSelectValue: string;
329
+ readonly enableSourcePagination: boolean;
330
+ readonly sourcePageNum: number;
331
+ readonly sourcePerPageNum: number;
332
+ readonly sourceTotalNum: number;
308
333
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
309
334
  splitExtraValue(value: any): any[];
310
335
  getMergedData(data: any): any;
@@ -348,6 +373,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
348
373
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
349
374
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
350
375
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
376
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
351
377
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
352
378
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
353
379
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -363,6 +389,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
363
389
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
364
390
  colIndex: import("mobx-state-tree").IType<any, any, any>;
365
391
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
392
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
393
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
366
394
  }, {
367
395
  readonly parentStore: any;
368
396
  readonly __: any;
@@ -383,6 +411,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
383
411
  readonly valid: boolean;
384
412
  readonly errClassNames: string;
385
413
  readonly lastSelectValue: string;
414
+ readonly enableSourcePagination: boolean;
415
+ readonly sourcePageNum: number;
416
+ readonly sourcePerPageNum: number;
417
+ readonly sourceTotalNum: number;
386
418
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
387
419
  splitExtraValue(value: any): any[];
388
420
  getMergedData(data: any): any;
@@ -430,6 +462,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
430
462
  joinValues: boolean;
431
463
  extractValue: boolean;
432
464
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
465
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
433
466
  expressionsInOptions: boolean;
434
467
  selectFirst: boolean;
435
468
  autoFill: any;
@@ -445,6 +478,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
445
478
  inputGroupControl: any;
446
479
  colIndex: any;
447
480
  rowIndex: any;
481
+ pagination: any;
482
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
448
483
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
449
484
  readonly parentStore: any;
450
485
  readonly __: any;
@@ -465,6 +500,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
465
500
  readonly valid: boolean;
466
501
  readonly errClassNames: string;
467
502
  readonly lastSelectValue: string;
503
+ readonly enableSourcePagination: boolean;
504
+ readonly sourcePageNum: number;
505
+ readonly sourcePerPageNum: number;
506
+ readonly sourceTotalNum: number;
468
507
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
469
508
  splitExtraValue(value: any): any[];
470
509
  getMergedData(data: any): any;
@@ -508,6 +547,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
508
547
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
509
548
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
510
549
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
550
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
511
551
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
512
552
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
513
553
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -523,6 +563,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
523
563
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
524
564
  colIndex: import("mobx-state-tree").IType<any, any, any>;
525
565
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
566
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
567
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
526
568
  }, {
527
569
  readonly parentStore: any;
528
570
  readonly __: any;
@@ -543,6 +585,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
543
585
  readonly valid: boolean;
544
586
  readonly errClassNames: string;
545
587
  readonly lastSelectValue: string;
588
+ readonly enableSourcePagination: boolean;
589
+ readonly sourcePageNum: number;
590
+ readonly sourcePerPageNum: number;
591
+ readonly sourceTotalNum: number;
546
592
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
547
593
  splitExtraValue(value: any): any[];
548
594
  getMergedData(data: any): any;
@@ -589,6 +635,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
589
635
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
590
636
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
591
637
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
638
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
592
639
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
593
640
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
594
641
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -604,6 +651,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
604
651
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
605
652
  colIndex: import("mobx-state-tree").IType<any, any, any>;
606
653
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
654
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
655
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
607
656
  }, {
608
657
  readonly parentStore: any;
609
658
  readonly __: any;
@@ -624,13 +673,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
624
673
  readonly valid: boolean;
625
674
  readonly errClassNames: string;
626
675
  readonly lastSelectValue: string;
676
+ readonly enableSourcePagination: boolean;
677
+ readonly sourcePageNum: number;
678
+ readonly sourcePerPageNum: number;
679
+ readonly sourceTotalNum: number;
627
680
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
628
681
  splitExtraValue(value: any): any[];
629
682
  getMergedData(data: any): any;
630
683
  } & {
631
684
  focus: () => void;
632
685
  blur: () => void;
633
- 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 }: {
686
+ 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 }: {
634
687
  extraName?: string | undefined;
635
688
  required?: boolean | undefined;
636
689
  unique?: boolean | undefined;
@@ -663,6 +716,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
663
716
  name: string;
664
717
  path: string;
665
718
  } | undefined;
719
+ pagination?: {
720
+ enable?: boolean | undefined;
721
+ page?: number | undefined;
722
+ perPage?: number | undefined;
723
+ } | undefined;
666
724
  }) => void;
667
725
  validate: (data: Object, hook?: any, customRules?: {
668
726
  [propName: string]: any;
@@ -673,10 +731,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
673
731
  rule: string;
674
732
  })[], tag?: string) => void;
675
733
  clearError: (tag?: string | undefined) => void;
734
+ setPagination: (params: {
735
+ page?: number | undefined;
736
+ perPage?: number | undefined;
737
+ total?: number | undefined;
738
+ }) => void;
676
739
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
677
740
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
678
741
  extendsOptions?: boolean | undefined;
679
742
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
743
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
680
744
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
681
745
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
682
746
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -688,7 +752,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
688
752
  resetValidationStatus: (tag?: string | undefined) => void;
689
753
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
690
754
  closeDialog: (result?: any) => void;
691
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
755
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
692
756
  changeEmitedValue: (value: any) => void;
693
757
  addSubFormItem: (item: {
694
758
  id: string;
@@ -733,6 +797,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
733
797
  joinValues: boolean;
734
798
  extractValue: boolean;
735
799
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
800
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
736
801
  expressionsInOptions: boolean;
737
802
  selectFirst: boolean;
738
803
  autoFill: any;
@@ -748,6 +813,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
748
813
  inputGroupControl: any;
749
814
  colIndex: any;
750
815
  rowIndex: any;
816
+ pagination: any;
817
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
751
818
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
752
819
  readonly parentStore: any;
753
820
  readonly __: any;
@@ -768,6 +835,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
768
835
  readonly valid: boolean;
769
836
  readonly errClassNames: string;
770
837
  readonly lastSelectValue: string;
838
+ readonly enableSourcePagination: boolean;
839
+ readonly sourcePageNum: number;
840
+ readonly sourcePerPageNum: number;
841
+ readonly sourceTotalNum: number;
771
842
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
772
843
  splitExtraValue(value: any): any[];
773
844
  getMergedData(data: any): any;
@@ -811,6 +882,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
811
882
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
812
883
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
813
884
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
885
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
814
886
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
815
887
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
816
888
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -826,6 +898,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
826
898
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
827
899
  colIndex: import("mobx-state-tree").IType<any, any, any>;
828
900
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
901
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
902
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
829
903
  }, {
830
904
  readonly parentStore: any;
831
905
  readonly __: any;
@@ -846,6 +920,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
846
920
  readonly valid: boolean;
847
921
  readonly errClassNames: string;
848
922
  readonly lastSelectValue: string;
923
+ readonly enableSourcePagination: boolean;
924
+ readonly sourcePageNum: number;
925
+ readonly sourcePerPageNum: number;
926
+ readonly sourceTotalNum: number;
849
927
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
850
928
  splitExtraValue(value: any): any[];
851
929
  getMergedData(data: any): any;
@@ -893,6 +971,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
893
971
  joinValues: boolean;
894
972
  extractValue: boolean;
895
973
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
974
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
896
975
  expressionsInOptions: boolean;
897
976
  selectFirst: boolean;
898
977
  autoFill: any;
@@ -908,6 +987,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
908
987
  inputGroupControl: any;
909
988
  colIndex: any;
910
989
  rowIndex: any;
990
+ pagination: any;
991
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
911
992
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
912
993
  readonly parentStore: any;
913
994
  readonly __: any;
@@ -928,6 +1009,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
928
1009
  readonly valid: boolean;
929
1010
  readonly errClassNames: string;
930
1011
  readonly lastSelectValue: string;
1012
+ readonly enableSourcePagination: boolean;
1013
+ readonly sourcePageNum: number;
1014
+ readonly sourcePerPageNum: number;
1015
+ readonly sourceTotalNum: number;
931
1016
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
932
1017
  splitExtraValue(value: any): any[];
933
1018
  getMergedData(data: any): any;
@@ -971,6 +1056,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
971
1056
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
972
1057
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
973
1058
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1059
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
974
1060
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
975
1061
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
976
1062
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -986,6 +1072,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
986
1072
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
987
1073
  colIndex: import("mobx-state-tree").IType<any, any, any>;
988
1074
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
1075
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1076
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
989
1077
  }, {
990
1078
  readonly parentStore: any;
991
1079
  readonly __: any;
@@ -1006,6 +1094,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1006
1094
  readonly valid: boolean;
1007
1095
  readonly errClassNames: string;
1008
1096
  readonly lastSelectValue: string;
1097
+ readonly enableSourcePagination: boolean;
1098
+ readonly sourcePageNum: number;
1099
+ readonly sourcePerPageNum: number;
1100
+ readonly sourceTotalNum: number;
1009
1101
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1010
1102
  splitExtraValue(value: any): any[];
1011
1103
  getMergedData(data: any): any;
@@ -1057,6 +1149,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1057
1149
  joinValues: boolean;
1058
1150
  extractValue: boolean;
1059
1151
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1152
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1060
1153
  expressionsInOptions: boolean;
1061
1154
  selectFirst: boolean;
1062
1155
  autoFill: any;
@@ -1072,6 +1165,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1072
1165
  inputGroupControl: any;
1073
1166
  colIndex: any;
1074
1167
  rowIndex: any;
1168
+ pagination: any;
1169
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1075
1170
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1076
1171
  readonly parentStore: any;
1077
1172
  readonly __: any;
@@ -1092,13 +1187,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1092
1187
  readonly valid: boolean;
1093
1188
  readonly errClassNames: string;
1094
1189
  readonly lastSelectValue: string;
1190
+ readonly enableSourcePagination: boolean;
1191
+ readonly sourcePageNum: number;
1192
+ readonly sourcePerPageNum: number;
1193
+ readonly sourceTotalNum: number;
1095
1194
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1096
1195
  splitExtraValue(value: any): any[];
1097
1196
  getMergedData(data: any): any;
1098
1197
  } & {
1099
1198
  focus: () => void;
1100
1199
  blur: () => void;
1101
- 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 }: {
1200
+ 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 }: {
1102
1201
  extraName?: string | undefined;
1103
1202
  required?: boolean | undefined;
1104
1203
  unique?: boolean | undefined;
@@ -1131,6 +1230,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1131
1230
  name: string;
1132
1231
  path: string;
1133
1232
  } | undefined;
1233
+ pagination?: {
1234
+ enable?: boolean | undefined;
1235
+ page?: number | undefined;
1236
+ perPage?: number | undefined;
1237
+ } | undefined;
1134
1238
  }) => void;
1135
1239
  validate: (data: Object, hook?: any, customRules?: {
1136
1240
  [propName: string]: any;
@@ -1141,10 +1245,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1141
1245
  rule: string;
1142
1246
  })[], tag?: string) => void;
1143
1247
  clearError: (tag?: string | undefined) => void;
1248
+ setPagination: (params: {
1249
+ page?: number | undefined;
1250
+ perPage?: number | undefined;
1251
+ total?: number | undefined;
1252
+ }) => void;
1144
1253
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
1145
1254
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
1146
1255
  extendsOptions?: boolean | undefined;
1147
1256
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
1257
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
1148
1258
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
1149
1259
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
1150
1260
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -1156,7 +1266,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1156
1266
  resetValidationStatus: (tag?: string | undefined) => void;
1157
1267
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
1158
1268
  closeDialog: (result?: any) => void;
1159
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1269
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1160
1270
  changeEmitedValue: (value: any) => void;
1161
1271
  addSubFormItem: (item: {
1162
1272
  id: string;
@@ -1201,6 +1311,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1201
1311
  joinValues: boolean;
1202
1312
  extractValue: boolean;
1203
1313
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1314
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1204
1315
  expressionsInOptions: boolean;
1205
1316
  selectFirst: boolean;
1206
1317
  autoFill: any;
@@ -1216,6 +1327,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1216
1327
  inputGroupControl: any;
1217
1328
  colIndex: any;
1218
1329
  rowIndex: any;
1330
+ pagination: any;
1331
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1219
1332
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1220
1333
  readonly parentStore: any;
1221
1334
  readonly __: any;
@@ -1236,6 +1349,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1236
1349
  readonly valid: boolean;
1237
1350
  readonly errClassNames: string;
1238
1351
  readonly lastSelectValue: string;
1352
+ readonly enableSourcePagination: boolean;
1353
+ readonly sourcePageNum: number;
1354
+ readonly sourcePerPageNum: number;
1355
+ readonly sourceTotalNum: number;
1239
1356
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1240
1357
  splitExtraValue(value: any): any[];
1241
1358
  getMergedData(data: any): any;
@@ -1279,6 +1396,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1279
1396
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1280
1397
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1281
1398
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1399
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1282
1400
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1283
1401
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1284
1402
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -1294,6 +1412,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1294
1412
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1295
1413
  colIndex: import("mobx-state-tree").IType<any, any, any>;
1296
1414
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
1415
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1416
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1297
1417
  }, {
1298
1418
  readonly parentStore: any;
1299
1419
  readonly __: any;
@@ -1314,6 +1434,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1314
1434
  readonly valid: boolean;
1315
1435
  readonly errClassNames: string;
1316
1436
  readonly lastSelectValue: string;
1437
+ readonly enableSourcePagination: boolean;
1438
+ readonly sourcePageNum: number;
1439
+ readonly sourcePerPageNum: number;
1440
+ readonly sourceTotalNum: number;
1317
1441
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1318
1442
  splitExtraValue(value: any): any[];
1319
1443
  getMergedData(data: any): any;
@@ -1361,6 +1485,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1361
1485
  joinValues: boolean;
1362
1486
  extractValue: boolean;
1363
1487
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1488
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1364
1489
  expressionsInOptions: boolean;
1365
1490
  selectFirst: boolean;
1366
1491
  autoFill: any;
@@ -1376,6 +1501,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1376
1501
  inputGroupControl: any;
1377
1502
  colIndex: any;
1378
1503
  rowIndex: any;
1504
+ pagination: any;
1505
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1379
1506
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1380
1507
  readonly parentStore: any;
1381
1508
  readonly __: any;
@@ -1396,6 +1523,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1396
1523
  readonly valid: boolean;
1397
1524
  readonly errClassNames: string;
1398
1525
  readonly lastSelectValue: string;
1526
+ readonly enableSourcePagination: boolean;
1527
+ readonly sourcePageNum: number;
1528
+ readonly sourcePerPageNum: number;
1529
+ readonly sourceTotalNum: number;
1399
1530
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1400
1531
  splitExtraValue(value: any): any[];
1401
1532
  getMergedData(data: any): any;
@@ -1439,6 +1570,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1439
1570
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1440
1571
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1441
1572
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1573
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1442
1574
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1443
1575
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1444
1576
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -1454,6 +1586,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1454
1586
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1455
1587
  colIndex: import("mobx-state-tree").IType<any, any, any>;
1456
1588
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
1589
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1590
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1457
1591
  }, {
1458
1592
  readonly parentStore: any;
1459
1593
  readonly __: any;
@@ -1474,6 +1608,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1474
1608
  readonly valid: boolean;
1475
1609
  readonly errClassNames: string;
1476
1610
  readonly lastSelectValue: string;
1611
+ readonly enableSourcePagination: boolean;
1612
+ readonly sourcePageNum: number;
1613
+ readonly sourcePerPageNum: number;
1614
+ readonly sourceTotalNum: number;
1477
1615
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1478
1616
  splitExtraValue(value: any): any[];
1479
1617
  getMergedData(data: any): any;
@@ -1520,6 +1658,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1520
1658
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1521
1659
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1522
1660
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1661
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1523
1662
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1524
1663
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1525
1664
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -1535,6 +1674,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1535
1674
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1536
1675
  colIndex: import("mobx-state-tree").IType<any, any, any>;
1537
1676
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
1677
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1678
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1538
1679
  }, {
1539
1680
  readonly parentStore: any;
1540
1681
  readonly __: any;
@@ -1555,13 +1696,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1555
1696
  readonly valid: boolean;
1556
1697
  readonly errClassNames: string;
1557
1698
  readonly lastSelectValue: string;
1699
+ readonly enableSourcePagination: boolean;
1700
+ readonly sourcePageNum: number;
1701
+ readonly sourcePerPageNum: number;
1702
+ readonly sourceTotalNum: number;
1558
1703
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1559
1704
  splitExtraValue(value: any): any[];
1560
1705
  getMergedData(data: any): any;
1561
1706
  } & {
1562
1707
  focus: () => void;
1563
1708
  blur: () => void;
1564
- 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 }: {
1709
+ 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 }: {
1565
1710
  extraName?: string | undefined;
1566
1711
  required?: boolean | undefined;
1567
1712
  unique?: boolean | undefined;
@@ -1594,6 +1739,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1594
1739
  name: string;
1595
1740
  path: string;
1596
1741
  } | undefined;
1742
+ pagination?: {
1743
+ enable?: boolean | undefined;
1744
+ page?: number | undefined;
1745
+ perPage?: number | undefined;
1746
+ } | undefined;
1597
1747
  }) => void;
1598
1748
  validate: (data: Object, hook?: any, customRules?: {
1599
1749
  [propName: string]: any;
@@ -1604,10 +1754,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1604
1754
  rule: string;
1605
1755
  })[], tag?: string) => void;
1606
1756
  clearError: (tag?: string | undefined) => void;
1757
+ setPagination: (params: {
1758
+ page?: number | undefined;
1759
+ perPage?: number | undefined;
1760
+ total?: number | undefined;
1761
+ }) => void;
1607
1762
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
1608
1763
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
1609
1764
  extendsOptions?: boolean | undefined;
1610
1765
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
1766
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
1611
1767
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
1612
1768
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
1613
1769
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -1619,7 +1775,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1619
1775
  resetValidationStatus: (tag?: string | undefined) => void;
1620
1776
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
1621
1777
  closeDialog: (result?: any) => void;
1622
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1778
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1623
1779
  changeEmitedValue: (value: any) => void;
1624
1780
  addSubFormItem: (item: {
1625
1781
  id: string;
@@ -1664,6 +1820,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1664
1820
  joinValues: boolean;
1665
1821
  extractValue: boolean;
1666
1822
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1823
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1667
1824
  expressionsInOptions: boolean;
1668
1825
  selectFirst: boolean;
1669
1826
  autoFill: any;
@@ -1679,6 +1836,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1679
1836
  inputGroupControl: any;
1680
1837
  colIndex: any;
1681
1838
  rowIndex: any;
1839
+ pagination: any;
1840
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1682
1841
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1683
1842
  readonly parentStore: any;
1684
1843
  readonly __: any;
@@ -1699,6 +1858,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1699
1858
  readonly valid: boolean;
1700
1859
  readonly errClassNames: string;
1701
1860
  readonly lastSelectValue: string;
1861
+ readonly enableSourcePagination: boolean;
1862
+ readonly sourcePageNum: number;
1863
+ readonly sourcePerPageNum: number;
1864
+ readonly sourceTotalNum: number;
1702
1865
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1703
1866
  splitExtraValue(value: any): any[];
1704
1867
  getMergedData(data: any): any;
@@ -1742,6 +1905,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1742
1905
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1743
1906
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1744
1907
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1908
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1745
1909
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1746
1910
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1747
1911
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -1757,6 +1921,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1757
1921
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1758
1922
  colIndex: import("mobx-state-tree").IType<any, any, any>;
1759
1923
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
1924
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1925
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1760
1926
  }, {
1761
1927
  readonly parentStore: any;
1762
1928
  readonly __: any;
@@ -1777,6 +1943,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1777
1943
  readonly valid: boolean;
1778
1944
  readonly errClassNames: string;
1779
1945
  readonly lastSelectValue: string;
1946
+ readonly enableSourcePagination: boolean;
1947
+ readonly sourcePageNum: number;
1948
+ readonly sourcePerPageNum: number;
1949
+ readonly sourceTotalNum: number;
1780
1950
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1781
1951
  splitExtraValue(value: any): any[];
1782
1952
  getMergedData(data: any): any;
@@ -1824,6 +1994,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1824
1994
  joinValues: boolean;
1825
1995
  extractValue: boolean;
1826
1996
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1997
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1827
1998
  expressionsInOptions: boolean;
1828
1999
  selectFirst: boolean;
1829
2000
  autoFill: any;
@@ -1839,6 +2010,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1839
2010
  inputGroupControl: any;
1840
2011
  colIndex: any;
1841
2012
  rowIndex: any;
2013
+ pagination: any;
2014
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1842
2015
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
1843
2016
  readonly parentStore: any;
1844
2017
  readonly __: any;
@@ -1859,6 +2032,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1859
2032
  readonly valid: boolean;
1860
2033
  readonly errClassNames: string;
1861
2034
  readonly lastSelectValue: string;
2035
+ readonly enableSourcePagination: boolean;
2036
+ readonly sourcePageNum: number;
2037
+ readonly sourcePerPageNum: number;
2038
+ readonly sourceTotalNum: number;
1862
2039
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1863
2040
  splitExtraValue(value: any): any[];
1864
2041
  getMergedData(data: any): any;
@@ -1902,6 +2079,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1902
2079
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1903
2080
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1904
2081
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2082
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1905
2083
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1906
2084
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
1907
2085
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -1917,6 +2095,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1917
2095
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
1918
2096
  colIndex: import("mobx-state-tree").IType<any, any, any>;
1919
2097
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
2098
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2099
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
1920
2100
  }, {
1921
2101
  readonly parentStore: any;
1922
2102
  readonly __: any;
@@ -1937,6 +2117,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1937
2117
  readonly valid: boolean;
1938
2118
  readonly errClassNames: string;
1939
2119
  readonly lastSelectValue: string;
2120
+ readonly enableSourcePagination: boolean;
2121
+ readonly sourcePageNum: number;
2122
+ readonly sourcePerPageNum: number;
2123
+ readonly sourceTotalNum: number;
1940
2124
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
1941
2125
  splitExtraValue(value: any): any[];
1942
2126
  getMergedData(data: any): any;
@@ -1992,6 +2176,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
1992
2176
  joinValues: boolean;
1993
2177
  extractValue: boolean;
1994
2178
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2179
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
1995
2180
  expressionsInOptions: boolean;
1996
2181
  selectFirst: boolean;
1997
2182
  autoFill: any;
@@ -2007,6 +2192,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2007
2192
  inputGroupControl: any;
2008
2193
  colIndex: any;
2009
2194
  rowIndex: any;
2195
+ pagination: any;
2196
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2010
2197
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2011
2198
  readonly parentStore: any;
2012
2199
  readonly __: any;
@@ -2027,13 +2214,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2027
2214
  readonly valid: boolean;
2028
2215
  readonly errClassNames: string;
2029
2216
  readonly lastSelectValue: string;
2217
+ readonly enableSourcePagination: boolean;
2218
+ readonly sourcePageNum: number;
2219
+ readonly sourcePerPageNum: number;
2220
+ readonly sourceTotalNum: number;
2030
2221
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2031
2222
  splitExtraValue(value: any): any[];
2032
2223
  getMergedData(data: any): any;
2033
2224
  } & {
2034
2225
  focus: () => void;
2035
2226
  blur: () => void;
2036
- 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 }: {
2227
+ 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 }: {
2037
2228
  extraName?: string | undefined;
2038
2229
  required?: boolean | undefined;
2039
2230
  unique?: boolean | undefined;
@@ -2066,6 +2257,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2066
2257
  name: string;
2067
2258
  path: string;
2068
2259
  } | undefined;
2260
+ pagination?: {
2261
+ enable?: boolean | undefined;
2262
+ page?: number | undefined;
2263
+ perPage?: number | undefined;
2264
+ } | undefined;
2069
2265
  }) => void;
2070
2266
  validate: (data: Object, hook?: any, customRules?: {
2071
2267
  [propName: string]: any;
@@ -2076,10 +2272,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2076
2272
  rule: string;
2077
2273
  })[], tag?: string) => void;
2078
2274
  clearError: (tag?: string | undefined) => void;
2275
+ setPagination: (params: {
2276
+ page?: number | undefined;
2277
+ perPage?: number | undefined;
2278
+ total?: number | undefined;
2279
+ }) => void;
2079
2280
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
2080
2281
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
2081
2282
  extendsOptions?: boolean | undefined;
2082
2283
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
2284
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
2083
2285
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
2084
2286
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
2085
2287
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -2091,7 +2293,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2091
2293
  resetValidationStatus: (tag?: string | undefined) => void;
2092
2294
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
2093
2295
  closeDialog: (result?: any) => void;
2094
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2296
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2095
2297
  changeEmitedValue: (value: any) => void;
2096
2298
  addSubFormItem: (item: {
2097
2299
  id: string;
@@ -2136,6 +2338,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2136
2338
  joinValues: boolean;
2137
2339
  extractValue: boolean;
2138
2340
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2341
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2139
2342
  expressionsInOptions: boolean;
2140
2343
  selectFirst: boolean;
2141
2344
  autoFill: any;
@@ -2151,6 +2354,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2151
2354
  inputGroupControl: any;
2152
2355
  colIndex: any;
2153
2356
  rowIndex: any;
2357
+ pagination: any;
2358
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2154
2359
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2155
2360
  readonly parentStore: any;
2156
2361
  readonly __: any;
@@ -2171,6 +2376,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2171
2376
  readonly valid: boolean;
2172
2377
  readonly errClassNames: string;
2173
2378
  readonly lastSelectValue: string;
2379
+ readonly enableSourcePagination: boolean;
2380
+ readonly sourcePageNum: number;
2381
+ readonly sourcePerPageNum: number;
2382
+ readonly sourceTotalNum: number;
2174
2383
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2175
2384
  splitExtraValue(value: any): any[];
2176
2385
  getMergedData(data: any): any;
@@ -2214,6 +2423,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2214
2423
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2215
2424
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2216
2425
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2426
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2217
2427
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2218
2428
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2219
2429
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -2229,6 +2439,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2229
2439
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2230
2440
  colIndex: import("mobx-state-tree").IType<any, any, any>;
2231
2441
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
2442
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2443
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2232
2444
  }, {
2233
2445
  readonly parentStore: any;
2234
2446
  readonly __: any;
@@ -2249,6 +2461,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2249
2461
  readonly valid: boolean;
2250
2462
  readonly errClassNames: string;
2251
2463
  readonly lastSelectValue: string;
2464
+ readonly enableSourcePagination: boolean;
2465
+ readonly sourcePageNum: number;
2466
+ readonly sourcePerPageNum: number;
2467
+ readonly sourceTotalNum: number;
2252
2468
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2253
2469
  splitExtraValue(value: any): any[];
2254
2470
  getMergedData(data: any): any;
@@ -2296,6 +2512,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2296
2512
  joinValues: boolean;
2297
2513
  extractValue: boolean;
2298
2514
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2515
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2299
2516
  expressionsInOptions: boolean;
2300
2517
  selectFirst: boolean;
2301
2518
  autoFill: any;
@@ -2311,6 +2528,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2311
2528
  inputGroupControl: any;
2312
2529
  colIndex: any;
2313
2530
  rowIndex: any;
2531
+ pagination: any;
2532
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2314
2533
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2315
2534
  readonly parentStore: any;
2316
2535
  readonly __: any;
@@ -2331,6 +2550,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2331
2550
  readonly valid: boolean;
2332
2551
  readonly errClassNames: string;
2333
2552
  readonly lastSelectValue: string;
2553
+ readonly enableSourcePagination: boolean;
2554
+ readonly sourcePageNum: number;
2555
+ readonly sourcePerPageNum: number;
2556
+ readonly sourceTotalNum: number;
2334
2557
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2335
2558
  splitExtraValue(value: any): any[];
2336
2559
  getMergedData(data: any): any;
@@ -2374,6 +2597,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2374
2597
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2375
2598
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2376
2599
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2600
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2377
2601
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2378
2602
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2379
2603
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -2389,6 +2613,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2389
2613
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2390
2614
  colIndex: import("mobx-state-tree").IType<any, any, any>;
2391
2615
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
2616
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2617
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2392
2618
  }, {
2393
2619
  readonly parentStore: any;
2394
2620
  readonly __: any;
@@ -2409,6 +2635,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2409
2635
  readonly valid: boolean;
2410
2636
  readonly errClassNames: string;
2411
2637
  readonly lastSelectValue: string;
2638
+ readonly enableSourcePagination: boolean;
2639
+ readonly sourcePageNum: number;
2640
+ readonly sourcePerPageNum: number;
2641
+ readonly sourceTotalNum: number;
2412
2642
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2413
2643
  splitExtraValue(value: any): any[];
2414
2644
  getMergedData(data: any): any;
@@ -2455,6 +2685,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2455
2685
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2456
2686
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2457
2687
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2688
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2458
2689
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2459
2690
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2460
2691
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -2470,6 +2701,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2470
2701
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2471
2702
  colIndex: import("mobx-state-tree").IType<any, any, any>;
2472
2703
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
2704
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2705
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2473
2706
  }, {
2474
2707
  readonly parentStore: any;
2475
2708
  readonly __: any;
@@ -2490,13 +2723,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2490
2723
  readonly valid: boolean;
2491
2724
  readonly errClassNames: string;
2492
2725
  readonly lastSelectValue: string;
2726
+ readonly enableSourcePagination: boolean;
2727
+ readonly sourcePageNum: number;
2728
+ readonly sourcePerPageNum: number;
2729
+ readonly sourceTotalNum: number;
2493
2730
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2494
2731
  splitExtraValue(value: any): any[];
2495
2732
  getMergedData(data: any): any;
2496
2733
  } & {
2497
2734
  focus: () => void;
2498
2735
  blur: () => void;
2499
- 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 }: {
2736
+ 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 }: {
2500
2737
  extraName?: string | undefined;
2501
2738
  required?: boolean | undefined;
2502
2739
  unique?: boolean | undefined;
@@ -2529,6 +2766,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2529
2766
  name: string;
2530
2767
  path: string;
2531
2768
  } | undefined;
2769
+ pagination?: {
2770
+ enable?: boolean | undefined;
2771
+ page?: number | undefined;
2772
+ perPage?: number | undefined;
2773
+ } | undefined;
2532
2774
  }) => void;
2533
2775
  validate: (data: Object, hook?: any, customRules?: {
2534
2776
  [propName: string]: any;
@@ -2539,10 +2781,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2539
2781
  rule: string;
2540
2782
  })[], tag?: string) => void;
2541
2783
  clearError: (tag?: string | undefined) => void;
2784
+ setPagination: (params: {
2785
+ page?: number | undefined;
2786
+ perPage?: number | undefined;
2787
+ total?: number | undefined;
2788
+ }) => void;
2542
2789
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
2543
2790
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
2544
2791
  extendsOptions?: boolean | undefined;
2545
2792
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
2793
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
2546
2794
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
2547
2795
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
2548
2796
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -2554,7 +2802,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2554
2802
  resetValidationStatus: (tag?: string | undefined) => void;
2555
2803
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
2556
2804
  closeDialog: (result?: any) => void;
2557
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2805
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2558
2806
  changeEmitedValue: (value: any) => void;
2559
2807
  addSubFormItem: (item: {
2560
2808
  id: string;
@@ -2599,6 +2847,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2599
2847
  joinValues: boolean;
2600
2848
  extractValue: boolean;
2601
2849
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2850
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2602
2851
  expressionsInOptions: boolean;
2603
2852
  selectFirst: boolean;
2604
2853
  autoFill: any;
@@ -2614,6 +2863,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2614
2863
  inputGroupControl: any;
2615
2864
  colIndex: any;
2616
2865
  rowIndex: any;
2866
+ pagination: any;
2867
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2617
2868
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2618
2869
  readonly parentStore: any;
2619
2870
  readonly __: any;
@@ -2634,6 +2885,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2634
2885
  readonly valid: boolean;
2635
2886
  readonly errClassNames: string;
2636
2887
  readonly lastSelectValue: string;
2888
+ readonly enableSourcePagination: boolean;
2889
+ readonly sourcePageNum: number;
2890
+ readonly sourcePerPageNum: number;
2891
+ readonly sourceTotalNum: number;
2637
2892
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2638
2893
  splitExtraValue(value: any): any[];
2639
2894
  getMergedData(data: any): any;
@@ -2677,6 +2932,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2677
2932
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2678
2933
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2679
2934
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2935
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2680
2936
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2681
2937
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2682
2938
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -2692,6 +2948,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2692
2948
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2693
2949
  colIndex: import("mobx-state-tree").IType<any, any, any>;
2694
2950
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
2951
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2952
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2695
2953
  }, {
2696
2954
  readonly parentStore: any;
2697
2955
  readonly __: any;
@@ -2712,6 +2970,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2712
2970
  readonly valid: boolean;
2713
2971
  readonly errClassNames: string;
2714
2972
  readonly lastSelectValue: string;
2973
+ readonly enableSourcePagination: boolean;
2974
+ readonly sourcePageNum: number;
2975
+ readonly sourcePerPageNum: number;
2976
+ readonly sourceTotalNum: number;
2715
2977
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2716
2978
  splitExtraValue(value: any): any[];
2717
2979
  getMergedData(data: any): any;
@@ -2759,6 +3021,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2759
3021
  joinValues: boolean;
2760
3022
  extractValue: boolean;
2761
3023
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3024
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2762
3025
  expressionsInOptions: boolean;
2763
3026
  selectFirst: boolean;
2764
3027
  autoFill: any;
@@ -2774,6 +3037,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2774
3037
  inputGroupControl: any;
2775
3038
  colIndex: any;
2776
3039
  rowIndex: any;
3040
+ pagination: any;
3041
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2777
3042
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2778
3043
  readonly parentStore: any;
2779
3044
  readonly __: any;
@@ -2794,6 +3059,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2794
3059
  readonly valid: boolean;
2795
3060
  readonly errClassNames: string;
2796
3061
  readonly lastSelectValue: string;
3062
+ readonly enableSourcePagination: boolean;
3063
+ readonly sourcePageNum: number;
3064
+ readonly sourcePerPageNum: number;
3065
+ readonly sourceTotalNum: number;
2797
3066
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2798
3067
  splitExtraValue(value: any): any[];
2799
3068
  getMergedData(data: any): any;
@@ -2837,6 +3106,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2837
3106
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2838
3107
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2839
3108
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3109
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2840
3110
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2841
3111
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
2842
3112
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -2852,6 +3122,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2852
3122
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
2853
3123
  colIndex: import("mobx-state-tree").IType<any, any, any>;
2854
3124
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
3125
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3126
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
2855
3127
  }, {
2856
3128
  readonly parentStore: any;
2857
3129
  readonly __: any;
@@ -2872,6 +3144,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2872
3144
  readonly valid: boolean;
2873
3145
  readonly errClassNames: string;
2874
3146
  readonly lastSelectValue: string;
3147
+ readonly enableSourcePagination: boolean;
3148
+ readonly sourcePageNum: number;
3149
+ readonly sourcePerPageNum: number;
3150
+ readonly sourceTotalNum: number;
2875
3151
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2876
3152
  splitExtraValue(value: any): any[];
2877
3153
  getMergedData(data: any): any;
@@ -2922,6 +3198,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2922
3198
  joinValues: boolean;
2923
3199
  extractValue: boolean;
2924
3200
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3201
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2925
3202
  expressionsInOptions: boolean;
2926
3203
  selectFirst: boolean;
2927
3204
  autoFill: any;
@@ -2937,6 +3214,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2937
3214
  inputGroupControl: any;
2938
3215
  colIndex: any;
2939
3216
  rowIndex: any;
3217
+ pagination: any;
3218
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
2940
3219
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
2941
3220
  readonly parentStore: any;
2942
3221
  readonly __: any;
@@ -2957,13 +3236,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2957
3236
  readonly valid: boolean;
2958
3237
  readonly errClassNames: string;
2959
3238
  readonly lastSelectValue: string;
3239
+ readonly enableSourcePagination: boolean;
3240
+ readonly sourcePageNum: number;
3241
+ readonly sourcePerPageNum: number;
3242
+ readonly sourceTotalNum: number;
2960
3243
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
2961
3244
  splitExtraValue(value: any): any[];
2962
3245
  getMergedData(data: any): any;
2963
3246
  } & {
2964
3247
  focus: () => void;
2965
3248
  blur: () => void;
2966
- 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 }: {
3249
+ 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 }: {
2967
3250
  extraName?: string | undefined;
2968
3251
  required?: boolean | undefined;
2969
3252
  unique?: boolean | undefined;
@@ -2996,6 +3279,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
2996
3279
  name: string;
2997
3280
  path: string;
2998
3281
  } | undefined;
3282
+ pagination?: {
3283
+ enable?: boolean | undefined;
3284
+ page?: number | undefined;
3285
+ perPage?: number | undefined;
3286
+ } | undefined;
2999
3287
  }) => void;
3000
3288
  validate: (data: Object, hook?: any, customRules?: {
3001
3289
  [propName: string]: any;
@@ -3006,10 +3294,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3006
3294
  rule: string;
3007
3295
  })[], tag?: string) => void;
3008
3296
  clearError: (tag?: string | undefined) => void;
3297
+ setPagination: (params: {
3298
+ page?: number | undefined;
3299
+ perPage?: number | undefined;
3300
+ total?: number | undefined;
3301
+ }) => void;
3009
3302
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
3010
3303
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
3011
3304
  extendsOptions?: boolean | undefined;
3012
3305
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
3306
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
3013
3307
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3014
3308
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3015
3309
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -3021,7 +3315,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3021
3315
  resetValidationStatus: (tag?: string | undefined) => void;
3022
3316
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
3023
3317
  closeDialog: (result?: any) => void;
3024
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3318
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3025
3319
  changeEmitedValue: (value: any) => void;
3026
3320
  addSubFormItem: (item: {
3027
3321
  id: string;
@@ -3066,6 +3360,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3066
3360
  joinValues: boolean;
3067
3361
  extractValue: boolean;
3068
3362
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3363
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3069
3364
  expressionsInOptions: boolean;
3070
3365
  selectFirst: boolean;
3071
3366
  autoFill: any;
@@ -3081,6 +3376,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3081
3376
  inputGroupControl: any;
3082
3377
  colIndex: any;
3083
3378
  rowIndex: any;
3379
+ pagination: any;
3380
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3084
3381
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3085
3382
  readonly parentStore: any;
3086
3383
  readonly __: any;
@@ -3101,6 +3398,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3101
3398
  readonly valid: boolean;
3102
3399
  readonly errClassNames: string;
3103
3400
  readonly lastSelectValue: string;
3401
+ readonly enableSourcePagination: boolean;
3402
+ readonly sourcePageNum: number;
3403
+ readonly sourcePerPageNum: number;
3404
+ readonly sourceTotalNum: number;
3104
3405
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3105
3406
  splitExtraValue(value: any): any[];
3106
3407
  getMergedData(data: any): any;
@@ -3144,6 +3445,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3144
3445
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3145
3446
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3146
3447
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3448
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3147
3449
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3148
3450
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3149
3451
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -3159,6 +3461,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3159
3461
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3160
3462
  colIndex: import("mobx-state-tree").IType<any, any, any>;
3161
3463
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
3464
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3465
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3162
3466
  }, {
3163
3467
  readonly parentStore: any;
3164
3468
  readonly __: any;
@@ -3179,6 +3483,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3179
3483
  readonly valid: boolean;
3180
3484
  readonly errClassNames: string;
3181
3485
  readonly lastSelectValue: string;
3486
+ readonly enableSourcePagination: boolean;
3487
+ readonly sourcePageNum: number;
3488
+ readonly sourcePerPageNum: number;
3489
+ readonly sourceTotalNum: number;
3182
3490
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3183
3491
  splitExtraValue(value: any): any[];
3184
3492
  getMergedData(data: any): any;
@@ -3226,6 +3534,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3226
3534
  joinValues: boolean;
3227
3535
  extractValue: boolean;
3228
3536
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3537
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3229
3538
  expressionsInOptions: boolean;
3230
3539
  selectFirst: boolean;
3231
3540
  autoFill: any;
@@ -3241,6 +3550,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3241
3550
  inputGroupControl: any;
3242
3551
  colIndex: any;
3243
3552
  rowIndex: any;
3553
+ pagination: any;
3554
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3244
3555
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3245
3556
  readonly parentStore: any;
3246
3557
  readonly __: any;
@@ -3261,6 +3572,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3261
3572
  readonly valid: boolean;
3262
3573
  readonly errClassNames: string;
3263
3574
  readonly lastSelectValue: string;
3575
+ readonly enableSourcePagination: boolean;
3576
+ readonly sourcePageNum: number;
3577
+ readonly sourcePerPageNum: number;
3578
+ readonly sourceTotalNum: number;
3264
3579
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3265
3580
  splitExtraValue(value: any): any[];
3266
3581
  getMergedData(data: any): any;
@@ -3304,6 +3619,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3304
3619
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3305
3620
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3306
3621
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3622
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3307
3623
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3308
3624
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3309
3625
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -3319,6 +3635,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3319
3635
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3320
3636
  colIndex: import("mobx-state-tree").IType<any, any, any>;
3321
3637
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
3638
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3639
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3322
3640
  }, {
3323
3641
  readonly parentStore: any;
3324
3642
  readonly __: any;
@@ -3339,6 +3657,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3339
3657
  readonly valid: boolean;
3340
3658
  readonly errClassNames: string;
3341
3659
  readonly lastSelectValue: string;
3660
+ readonly enableSourcePagination: boolean;
3661
+ readonly sourcePageNum: number;
3662
+ readonly sourcePerPageNum: number;
3663
+ readonly sourceTotalNum: number;
3342
3664
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3343
3665
  splitExtraValue(value: any): any[];
3344
3666
  getMergedData(data: any): any;
@@ -3385,6 +3707,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3385
3707
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3386
3708
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3387
3709
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3710
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3388
3711
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3389
3712
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3390
3713
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -3400,6 +3723,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3400
3723
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3401
3724
  colIndex: import("mobx-state-tree").IType<any, any, any>;
3402
3725
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
3726
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3727
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3403
3728
  }, {
3404
3729
  readonly parentStore: any;
3405
3730
  readonly __: any;
@@ -3420,13 +3745,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3420
3745
  readonly valid: boolean;
3421
3746
  readonly errClassNames: string;
3422
3747
  readonly lastSelectValue: string;
3748
+ readonly enableSourcePagination: boolean;
3749
+ readonly sourcePageNum: number;
3750
+ readonly sourcePerPageNum: number;
3751
+ readonly sourceTotalNum: number;
3423
3752
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3424
3753
  splitExtraValue(value: any): any[];
3425
3754
  getMergedData(data: any): any;
3426
3755
  } & {
3427
3756
  focus: () => void;
3428
3757
  blur: () => void;
3429
- 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 }: {
3758
+ 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 }: {
3430
3759
  extraName?: string | undefined;
3431
3760
  required?: boolean | undefined;
3432
3761
  unique?: boolean | undefined;
@@ -3459,6 +3788,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3459
3788
  name: string;
3460
3789
  path: string;
3461
3790
  } | undefined;
3791
+ pagination?: {
3792
+ enable?: boolean | undefined;
3793
+ page?: number | undefined;
3794
+ perPage?: number | undefined;
3795
+ } | undefined;
3462
3796
  }) => void;
3463
3797
  validate: (data: Object, hook?: any, customRules?: {
3464
3798
  [propName: string]: any;
@@ -3469,10 +3803,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3469
3803
  rule: string;
3470
3804
  })[], tag?: string) => void;
3471
3805
  clearError: (tag?: string | undefined) => void;
3806
+ setPagination: (params: {
3807
+ page?: number | undefined;
3808
+ perPage?: number | undefined;
3809
+ total?: number | undefined;
3810
+ }) => void;
3472
3811
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
3473
3812
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
3474
3813
  extendsOptions?: boolean | undefined;
3475
3814
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
3815
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
3476
3816
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3477
3817
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3478
3818
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -3484,7 +3824,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3484
3824
  resetValidationStatus: (tag?: string | undefined) => void;
3485
3825
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
3486
3826
  closeDialog: (result?: any) => void;
3487
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3827
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3488
3828
  changeEmitedValue: (value: any) => void;
3489
3829
  addSubFormItem: (item: {
3490
3830
  id: string;
@@ -3529,6 +3869,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3529
3869
  joinValues: boolean;
3530
3870
  extractValue: boolean;
3531
3871
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3872
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3532
3873
  expressionsInOptions: boolean;
3533
3874
  selectFirst: boolean;
3534
3875
  autoFill: any;
@@ -3544,6 +3885,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3544
3885
  inputGroupControl: any;
3545
3886
  colIndex: any;
3546
3887
  rowIndex: any;
3888
+ pagination: any;
3889
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3547
3890
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3548
3891
  readonly parentStore: any;
3549
3892
  readonly __: any;
@@ -3564,6 +3907,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3564
3907
  readonly valid: boolean;
3565
3908
  readonly errClassNames: string;
3566
3909
  readonly lastSelectValue: string;
3910
+ readonly enableSourcePagination: boolean;
3911
+ readonly sourcePageNum: number;
3912
+ readonly sourcePerPageNum: number;
3913
+ readonly sourceTotalNum: number;
3567
3914
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3568
3915
  splitExtraValue(value: any): any[];
3569
3916
  getMergedData(data: any): any;
@@ -3607,6 +3954,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3607
3954
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3608
3955
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3609
3956
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3957
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3610
3958
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3611
3959
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3612
3960
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -3622,6 +3970,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3622
3970
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3623
3971
  colIndex: import("mobx-state-tree").IType<any, any, any>;
3624
3972
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
3973
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3974
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3625
3975
  }, {
3626
3976
  readonly parentStore: any;
3627
3977
  readonly __: any;
@@ -3642,6 +3992,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3642
3992
  readonly valid: boolean;
3643
3993
  readonly errClassNames: string;
3644
3994
  readonly lastSelectValue: string;
3995
+ readonly enableSourcePagination: boolean;
3996
+ readonly sourcePageNum: number;
3997
+ readonly sourcePerPageNum: number;
3998
+ readonly sourceTotalNum: number;
3645
3999
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3646
4000
  splitExtraValue(value: any): any[];
3647
4001
  getMergedData(data: any): any;
@@ -3689,6 +4043,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3689
4043
  joinValues: boolean;
3690
4044
  extractValue: boolean;
3691
4045
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4046
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3692
4047
  expressionsInOptions: boolean;
3693
4048
  selectFirst: boolean;
3694
4049
  autoFill: any;
@@ -3704,6 +4059,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3704
4059
  inputGroupControl: any;
3705
4060
  colIndex: any;
3706
4061
  rowIndex: any;
4062
+ pagination: any;
4063
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3707
4064
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3708
4065
  readonly parentStore: any;
3709
4066
  readonly __: any;
@@ -3724,6 +4081,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3724
4081
  readonly valid: boolean;
3725
4082
  readonly errClassNames: string;
3726
4083
  readonly lastSelectValue: string;
4084
+ readonly enableSourcePagination: boolean;
4085
+ readonly sourcePageNum: number;
4086
+ readonly sourcePerPageNum: number;
4087
+ readonly sourceTotalNum: number;
3727
4088
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3728
4089
  splitExtraValue(value: any): any[];
3729
4090
  getMergedData(data: any): any;
@@ -3767,6 +4128,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3767
4128
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3768
4129
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3769
4130
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4131
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3770
4132
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3771
4133
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
3772
4134
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -3782,6 +4144,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3782
4144
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
3783
4145
  colIndex: import("mobx-state-tree").IType<any, any, any>;
3784
4146
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
4147
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4148
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
3785
4149
  }, {
3786
4150
  readonly parentStore: any;
3787
4151
  readonly __: any;
@@ -3802,6 +4166,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3802
4166
  readonly valid: boolean;
3803
4167
  readonly errClassNames: string;
3804
4168
  readonly lastSelectValue: string;
4169
+ readonly enableSourcePagination: boolean;
4170
+ readonly sourcePageNum: number;
4171
+ readonly sourcePerPageNum: number;
4172
+ readonly sourceTotalNum: number;
3805
4173
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3806
4174
  splitExtraValue(value: any): any[];
3807
4175
  getMergedData(data: any): any;
@@ -3852,6 +4220,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3852
4220
  joinValues: boolean;
3853
4221
  extractValue: boolean;
3854
4222
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4223
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3855
4224
  expressionsInOptions: boolean;
3856
4225
  selectFirst: boolean;
3857
4226
  autoFill: any;
@@ -3867,6 +4236,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3867
4236
  inputGroupControl: any;
3868
4237
  colIndex: any;
3869
4238
  rowIndex: any;
4239
+ pagination: any;
4240
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3870
4241
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
3871
4242
  readonly parentStore: any;
3872
4243
  readonly __: any;
@@ -3887,13 +4258,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3887
4258
  readonly valid: boolean;
3888
4259
  readonly errClassNames: string;
3889
4260
  readonly lastSelectValue: string;
4261
+ readonly enableSourcePagination: boolean;
4262
+ readonly sourcePageNum: number;
4263
+ readonly sourcePerPageNum: number;
4264
+ readonly sourceTotalNum: number;
3890
4265
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
3891
4266
  splitExtraValue(value: any): any[];
3892
4267
  getMergedData(data: any): any;
3893
4268
  } & {
3894
4269
  focus: () => void;
3895
4270
  blur: () => void;
3896
- 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 }: {
4271
+ 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 }: {
3897
4272
  extraName?: string | undefined;
3898
4273
  required?: boolean | undefined;
3899
4274
  unique?: boolean | undefined;
@@ -3926,6 +4301,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3926
4301
  name: string;
3927
4302
  path: string;
3928
4303
  } | undefined;
4304
+ pagination?: {
4305
+ enable?: boolean | undefined;
4306
+ page?: number | undefined;
4307
+ perPage?: number | undefined;
4308
+ } | undefined;
3929
4309
  }) => void;
3930
4310
  validate: (data: Object, hook?: any, customRules?: {
3931
4311
  [propName: string]: any;
@@ -3936,10 +4316,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3936
4316
  rule: string;
3937
4317
  })[], tag?: string) => void;
3938
4318
  clearError: (tag?: string | undefined) => void;
4319
+ setPagination: (params: {
4320
+ page?: number | undefined;
4321
+ perPage?: number | undefined;
4322
+ total?: number | undefined;
4323
+ }) => void;
3939
4324
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
3940
4325
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
3941
4326
  extendsOptions?: boolean | undefined;
3942
4327
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
4328
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
3943
4329
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3944
4330
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
3945
4331
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -3951,7 +4337,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3951
4337
  resetValidationStatus: (tag?: string | undefined) => void;
3952
4338
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
3953
4339
  closeDialog: (result?: any) => void;
3954
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4340
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3955
4341
  changeEmitedValue: (value: any) => void;
3956
4342
  addSubFormItem: (item: {
3957
4343
  id: string;
@@ -3996,6 +4382,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
3996
4382
  joinValues: boolean;
3997
4383
  extractValue: boolean;
3998
4384
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4385
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
3999
4386
  expressionsInOptions: boolean;
4000
4387
  selectFirst: boolean;
4001
4388
  autoFill: any;
@@ -4011,6 +4398,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4011
4398
  inputGroupControl: any;
4012
4399
  colIndex: any;
4013
4400
  rowIndex: any;
4401
+ pagination: any;
4402
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4014
4403
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
4015
4404
  readonly parentStore: any;
4016
4405
  readonly __: any;
@@ -4031,6 +4420,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4031
4420
  readonly valid: boolean;
4032
4421
  readonly errClassNames: string;
4033
4422
  readonly lastSelectValue: string;
4423
+ readonly enableSourcePagination: boolean;
4424
+ readonly sourcePageNum: number;
4425
+ readonly sourcePerPageNum: number;
4426
+ readonly sourceTotalNum: number;
4034
4427
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4035
4428
  splitExtraValue(value: any): any[];
4036
4429
  getMergedData(data: any): any;
@@ -4074,6 +4467,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4074
4467
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4075
4468
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4076
4469
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4470
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4077
4471
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4078
4472
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4079
4473
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -4089,6 +4483,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4089
4483
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4090
4484
  colIndex: import("mobx-state-tree").IType<any, any, any>;
4091
4485
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
4486
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4487
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4092
4488
  }, {
4093
4489
  readonly parentStore: any;
4094
4490
  readonly __: any;
@@ -4109,6 +4505,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4109
4505
  readonly valid: boolean;
4110
4506
  readonly errClassNames: string;
4111
4507
  readonly lastSelectValue: string;
4508
+ readonly enableSourcePagination: boolean;
4509
+ readonly sourcePageNum: number;
4510
+ readonly sourcePerPageNum: number;
4511
+ readonly sourceTotalNum: number;
4112
4512
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4113
4513
  splitExtraValue(value: any): any[];
4114
4514
  getMergedData(data: any): any;
@@ -4156,6 +4556,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4156
4556
  joinValues: boolean;
4157
4557
  extractValue: boolean;
4158
4558
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4559
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4159
4560
  expressionsInOptions: boolean;
4160
4561
  selectFirst: boolean;
4161
4562
  autoFill: any;
@@ -4171,6 +4572,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4171
4572
  inputGroupControl: any;
4172
4573
  colIndex: any;
4173
4574
  rowIndex: any;
4575
+ pagination: any;
4576
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4174
4577
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
4175
4578
  readonly parentStore: any;
4176
4579
  readonly __: any;
@@ -4191,6 +4594,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4191
4594
  readonly valid: boolean;
4192
4595
  readonly errClassNames: string;
4193
4596
  readonly lastSelectValue: string;
4597
+ readonly enableSourcePagination: boolean;
4598
+ readonly sourcePageNum: number;
4599
+ readonly sourcePerPageNum: number;
4600
+ readonly sourceTotalNum: number;
4194
4601
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4195
4602
  splitExtraValue(value: any): any[];
4196
4603
  getMergedData(data: any): any;
@@ -4234,6 +4641,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4234
4641
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4235
4642
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4236
4643
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4644
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4237
4645
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4238
4646
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4239
4647
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -4249,6 +4657,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4249
4657
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4250
4658
  colIndex: import("mobx-state-tree").IType<any, any, any>;
4251
4659
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
4660
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4661
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4252
4662
  }, {
4253
4663
  readonly parentStore: any;
4254
4664
  readonly __: any;
@@ -4269,6 +4679,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4269
4679
  readonly valid: boolean;
4270
4680
  readonly errClassNames: string;
4271
4681
  readonly lastSelectValue: string;
4682
+ readonly enableSourcePagination: boolean;
4683
+ readonly sourcePageNum: number;
4684
+ readonly sourcePerPageNum: number;
4685
+ readonly sourceTotalNum: number;
4272
4686
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4273
4687
  splitExtraValue(value: any): any[];
4274
4688
  getMergedData(data: any): any;
@@ -4315,6 +4729,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4315
4729
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4316
4730
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4317
4731
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4732
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4318
4733
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4319
4734
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4320
4735
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -4330,6 +4745,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4330
4745
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4331
4746
  colIndex: import("mobx-state-tree").IType<any, any, any>;
4332
4747
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
4748
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4749
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4333
4750
  }, {
4334
4751
  readonly parentStore: any;
4335
4752
  readonly __: any;
@@ -4350,13 +4767,17 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4350
4767
  readonly valid: boolean;
4351
4768
  readonly errClassNames: string;
4352
4769
  readonly lastSelectValue: string;
4770
+ readonly enableSourcePagination: boolean;
4771
+ readonly sourcePageNum: number;
4772
+ readonly sourcePerPageNum: number;
4773
+ readonly sourceTotalNum: number;
4353
4774
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4354
4775
  splitExtraValue(value: any): any[];
4355
4776
  getMergedData(data: any): any;
4356
4777
  } & {
4357
4778
  focus: () => void;
4358
4779
  blur: () => void;
4359
- 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 }: {
4780
+ 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 }: {
4360
4781
  extraName?: string | undefined;
4361
4782
  required?: boolean | undefined;
4362
4783
  unique?: boolean | undefined;
@@ -4389,6 +4810,11 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4389
4810
  name: string;
4390
4811
  path: string;
4391
4812
  } | undefined;
4813
+ pagination?: {
4814
+ enable?: boolean | undefined;
4815
+ page?: number | undefined;
4816
+ perPage?: number | undefined;
4817
+ } | undefined;
4392
4818
  }) => void;
4393
4819
  validate: (data: Object, hook?: any, customRules?: {
4394
4820
  [propName: string]: any;
@@ -4399,10 +4825,16 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4399
4825
  rule: string;
4400
4826
  })[], tag?: string) => void;
4401
4827
  clearError: (tag?: string | undefined) => void;
4828
+ setPagination: (params: {
4829
+ page?: number | undefined;
4830
+ perPage?: number | undefined;
4831
+ total?: number | undefined;
4832
+ }) => void;
4402
4833
  setOptions: (options: object[], onChange?: ((value: any) => void) | undefined, data?: Object | undefined) => void;
4403
4834
  loadOptions: (api: Api, data?: object | undefined, config?: (fetchOptions & {
4404
4835
  extendsOptions?: boolean | undefined;
4405
4836
  }) | undefined, clearValue?: boolean | undefined, onChange?: ((value: any) => void) | undefined, setErrorFlag?: boolean | undefined) => Promise<Payload | null>;
4837
+ loadOptionsFromDataScope: (source: string, ctx: Record<string, any>, onChange?: ((value: any) => void) | undefined) => any[];
4406
4838
  deferLoadOptions: (option: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
4407
4839
  deferLoadLeftOptions: (option: any, leftOptions: any, api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<Payload | null>;
4408
4840
  expandTreeOptions: (nodePathArr: any[], api: Api, data?: object | undefined, config?: fetchOptions | undefined) => Promise<void | Payload | null>;
@@ -4414,7 +4846,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4414
4846
  resetValidationStatus: (tag?: string | undefined) => void;
4415
4847
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
4416
4848
  closeDialog: (result?: any) => void;
4417
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4849
+ changeTmpValue: (value: any, changeReason?: "formInited" | "defaultValue" | "input" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4418
4850
  changeEmitedValue: (value: any) => void;
4419
4851
  addSubFormItem: (item: {
4420
4852
  id: string;
@@ -4459,6 +4891,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4459
4891
  joinValues: boolean;
4460
4892
  extractValue: boolean;
4461
4893
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4894
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4462
4895
  expressionsInOptions: boolean;
4463
4896
  selectFirst: boolean;
4464
4897
  autoFill: any;
@@ -4474,6 +4907,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4474
4907
  inputGroupControl: any;
4475
4908
  colIndex: any;
4476
4909
  rowIndex: any;
4910
+ pagination: any;
4911
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4477
4912
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
4478
4913
  readonly parentStore: any;
4479
4914
  readonly __: any;
@@ -4494,6 +4929,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4494
4929
  readonly valid: boolean;
4495
4930
  readonly errClassNames: string;
4496
4931
  readonly lastSelectValue: string;
4932
+ readonly enableSourcePagination: boolean;
4933
+ readonly sourcePageNum: number;
4934
+ readonly sourcePerPageNum: number;
4935
+ readonly sourceTotalNum: number;
4497
4936
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4498
4937
  splitExtraValue(value: any): any[];
4499
4938
  getMergedData(data: any): any;
@@ -4537,6 +4976,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4537
4976
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4538
4977
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4539
4978
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4979
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4540
4980
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4541
4981
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4542
4982
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -4552,6 +4992,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4552
4992
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4553
4993
  colIndex: import("mobx-state-tree").IType<any, any, any>;
4554
4994
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
4995
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4996
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4555
4997
  }, {
4556
4998
  readonly parentStore: any;
4557
4999
  readonly __: any;
@@ -4572,6 +5014,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4572
5014
  readonly valid: boolean;
4573
5015
  readonly errClassNames: string;
4574
5016
  readonly lastSelectValue: string;
5017
+ readonly enableSourcePagination: boolean;
5018
+ readonly sourcePageNum: number;
5019
+ readonly sourcePerPageNum: number;
5020
+ readonly sourceTotalNum: number;
4575
5021
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4576
5022
  splitExtraValue(value: any): any[];
4577
5023
  getMergedData(data: any): any;
@@ -4619,6 +5065,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4619
5065
  joinValues: boolean;
4620
5066
  extractValue: boolean;
4621
5067
  options: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
5068
+ optionsRaw: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4622
5069
  expressionsInOptions: boolean;
4623
5070
  selectFirst: boolean;
4624
5071
  autoFill: any;
@@ -4634,6 +5081,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4634
5081
  inputGroupControl: any;
4635
5082
  colIndex: any;
4636
5083
  rowIndex: any;
5084
+ pagination: any;
5085
+ accumulatedOptions: any[] & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>>;
4637
5086
  } & import("mobx-state-tree/dist/internal").NonEmptyObject & {
4638
5087
  readonly parentStore: any;
4639
5088
  readonly __: any;
@@ -4654,6 +5103,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4654
5103
  readonly valid: boolean;
4655
5104
  readonly errClassNames: string;
4656
5105
  readonly lastSelectValue: string;
5106
+ readonly enableSourcePagination: boolean;
5107
+ readonly sourcePageNum: number;
5108
+ readonly sourcePerPageNum: number;
5109
+ readonly sourceTotalNum: number;
4657
5110
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4658
5111
  splitExtraValue(value: any): any[];
4659
5112
  getMergedData(data: any): any;
@@ -4697,6 +5150,7 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4697
5150
  joinValues: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4698
5151
  extractValue: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4699
5152
  options: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
5153
+ optionsRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4700
5154
  expressionsInOptions: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4701
5155
  selectFirst: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
4702
5156
  autoFill: import("mobx-state-tree").IType<any, any, any>;
@@ -4712,6 +5166,8 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4712
5166
  inputGroupControl: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
4713
5167
  colIndex: import("mobx-state-tree").IType<any, any, any>;
4714
5168
  rowIndex: import("mobx-state-tree").IType<any, any, any>;
5169
+ pagination: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5170
+ accumulatedOptions: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any[], any[], any[]>, [undefined]>;
4715
5171
  }, {
4716
5172
  readonly parentStore: any;
4717
5173
  readonly __: any;
@@ -4732,6 +5188,10 @@ export declare const FormStore: import("mobx-state-tree").IModelType<{
4732
5188
  readonly valid: boolean;
4733
5189
  readonly errClassNames: string;
4734
5190
  readonly lastSelectValue: string;
5191
+ readonly enableSourcePagination: boolean;
5192
+ readonly sourcePageNum: number;
5193
+ readonly sourcePerPageNum: number;
5194
+ readonly sourceTotalNum: number;
4735
5195
  getSelectedOptions: (value?: any, nodeValueArray?: any[] | undefined) => any;
4736
5196
  splitExtraValue(value: any): any[];
4737
5197
  getMergedData(data: any): any;