amis-core 6.1.0 → 6.2.1

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 (276) hide show
  1. package/esm/Root.js +1 -1
  2. package/esm/RootRenderer.js +1 -1
  3. package/esm/SchemaRenderer.js +1 -1
  4. package/esm/Scoped.js +4 -2
  5. package/esm/StatusScoped.js +1 -1
  6. package/esm/WithRootStore.js +1 -1
  7. package/esm/WithStore.js +2 -2
  8. package/esm/actions/Action.js +1 -1
  9. package/esm/actions/AjaxAction.js +1 -1
  10. package/esm/actions/BreakAction.js +1 -1
  11. package/esm/actions/BroadcastAction.js +1 -1
  12. package/esm/actions/CmptAction.js +1 -1
  13. package/esm/actions/ContinueAction.js +1 -1
  14. package/esm/actions/CopyAction.js +1 -1
  15. package/esm/actions/CustomAction.js +1 -1
  16. package/esm/actions/DialogAction.js +1 -1
  17. package/esm/actions/DrawerAction.js +1 -1
  18. package/esm/actions/EmailAction.js +1 -1
  19. package/esm/actions/LinkAction.js +1 -1
  20. package/esm/actions/LoopAction.js +1 -1
  21. package/esm/actions/PageAction.js +1 -1
  22. package/esm/actions/ParallelAction.js +1 -1
  23. package/esm/actions/PrintAction.d.ts +19 -0
  24. package/esm/actions/PrintAction.js +49 -0
  25. package/esm/actions/StatusAction.js +1 -1
  26. package/esm/actions/SwitchAction.js +1 -1
  27. package/esm/actions/ToastAction.js +1 -1
  28. package/esm/actions/index.d.ts +1 -0
  29. package/esm/components/CustomStyle.js +1 -1
  30. package/esm/components/ErrorBoundary.js +1 -1
  31. package/esm/components/LazyComponent.js +1 -1
  32. package/esm/components/Overlay.js +1 -1
  33. package/esm/components/PopOver.js +1 -1
  34. package/esm/env.js +1 -1
  35. package/esm/envOverwrite.js +1 -1
  36. package/esm/factory.js +1 -1
  37. package/esm/index.d.ts +2 -1
  38. package/esm/index.js +5 -3
  39. package/esm/locale.js +1 -1
  40. package/esm/polyfills.js +1 -1
  41. package/esm/renderers/Form.js +4 -4
  42. package/esm/renderers/Item.js +1 -1
  43. package/esm/renderers/Options.js +1 -1
  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 +5 -5
  48. package/esm/store/app.js +1 -1
  49. package/esm/store/combo.js +1 -1
  50. package/esm/store/crud.js +1 -1
  51. package/esm/store/form.js +1 -1
  52. package/esm/store/formItem.js +1 -1
  53. package/esm/store/iRenderer.js +1 -1
  54. package/esm/store/index.js +1 -1
  55. package/esm/store/list.d.ts +11 -0
  56. package/esm/store/list.js +8 -1
  57. package/esm/store/manager.js +1 -1
  58. package/esm/store/modal.js +1 -1
  59. package/esm/store/node.js +1 -1
  60. package/esm/store/pagination.js +1 -1
  61. package/esm/store/root.js +1 -1
  62. package/esm/store/service.js +5 -2
  63. package/esm/store/status.js +1 -1
  64. package/esm/store/table.d.ts +28 -27
  65. package/esm/store/table.js +8 -6
  66. package/esm/store/table2.js +1 -1
  67. package/esm/theme.js +1 -1
  68. package/esm/utils/Animation.js +1 -1
  69. package/esm/utils/ColorScale.js +1 -1
  70. package/esm/utils/DataSchema.js +1 -1
  71. package/esm/utils/DataScope.js +1 -1
  72. package/esm/utils/RootClose.js +1 -1
  73. package/esm/utils/SimpleMap.js +1 -1
  74. package/esm/utils/api.js +3 -2
  75. package/esm/utils/arraySlice.js +1 -1
  76. package/esm/utils/attachmentAdpator.js +3 -2
  77. package/esm/utils/autobind.js +1 -1
  78. package/esm/utils/browser.d.ts +1 -0
  79. package/esm/utils/browser.js +7 -2
  80. package/esm/utils/columnsSplit.js +1 -1
  81. package/esm/utils/concatData.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 +7 -2
  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.js +1 -1
  97. package/esm/utils/highlight.js +1 -1
  98. package/esm/utils/icon.js +1 -1
  99. package/esm/utils/image.js +1 -1
  100. package/esm/utils/isPureVariable.js +1 -1
  101. package/esm/utils/json-schema-2-amis-schema.js +1 -1
  102. package/esm/utils/keyToPath.js +1 -1
  103. package/esm/utils/labelToString.js +1 -1
  104. package/esm/utils/makeSorter.js +1 -1
  105. package/esm/utils/math.js +1 -1
  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 +1 -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/printElement.d.ts +6 -0
  116. package/esm/utils/printElement.js +71 -0
  117. package/esm/utils/renderer-event.js +1 -1
  118. package/esm/utils/replaceText.js +1 -1
  119. package/esm/utils/resize-sensor.js +1 -1
  120. package/esm/utils/resolveCondition.js +1 -1
  121. package/esm/utils/resolveVariable.js +1 -1
  122. package/esm/utils/resolveVariableAndFilter.js +1 -1
  123. package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
  124. package/esm/utils/scrollPosition.js +1 -1
  125. package/esm/utils/string2regExp.js +1 -1
  126. package/esm/utils/stripNumber.js +1 -1
  127. package/esm/utils/style-helper.js +1 -1
  128. package/esm/utils/style.js +1 -1
  129. package/esm/utils/toNumber.js +1 -1
  130. package/esm/utils/tokenize.js +1 -1
  131. package/esm/utils/tpl-builtin.js +1 -1
  132. package/esm/utils/tpl-lodash.js +1 -1
  133. package/esm/utils/tpl.js +1 -1
  134. package/esm/utils/uncontrollable.js +1 -1
  135. package/esm/utils/validateId.js +1 -1
  136. package/esm/utils/validations.js +1 -1
  137. package/lib/Root.js +1 -1
  138. package/lib/RootRenderer.d.ts +1 -1
  139. package/lib/RootRenderer.js +1 -1
  140. package/lib/SchemaRenderer.js +1 -1
  141. package/lib/Scoped.js +4 -2
  142. package/lib/StatusScoped.js +1 -1
  143. package/lib/WithRootStore.js +1 -1
  144. package/lib/WithStore.js +2 -2
  145. package/lib/actions/Action.js +1 -1
  146. package/lib/actions/AjaxAction.js +1 -1
  147. package/lib/actions/BreakAction.js +1 -1
  148. package/lib/actions/BroadcastAction.js +1 -1
  149. package/lib/actions/CmptAction.js +1 -1
  150. package/lib/actions/ContinueAction.js +1 -1
  151. package/lib/actions/CopyAction.js +1 -1
  152. package/lib/actions/CustomAction.js +1 -1
  153. package/lib/actions/DialogAction.js +1 -1
  154. package/lib/actions/DrawerAction.js +1 -1
  155. package/lib/actions/EmailAction.js +1 -1
  156. package/lib/actions/LinkAction.js +1 -1
  157. package/lib/actions/LoopAction.js +1 -1
  158. package/lib/actions/PageAction.js +1 -1
  159. package/lib/actions/ParallelAction.js +1 -1
  160. package/lib/actions/PrintAction.d.ts +19 -0
  161. package/lib/actions/PrintAction.js +53 -0
  162. package/lib/actions/StatusAction.js +1 -1
  163. package/lib/actions/SwitchAction.js +1 -1
  164. package/lib/actions/ToastAction.js +1 -1
  165. package/lib/actions/index.d.ts +1 -0
  166. package/lib/components/CustomStyle.js +1 -1
  167. package/lib/components/ErrorBoundary.js +1 -1
  168. package/lib/components/LazyComponent.js +1 -1
  169. package/lib/components/Overlay.js +1 -1
  170. package/lib/components/PopOver.js +1 -1
  171. package/lib/env.js +1 -1
  172. package/lib/envOverwrite.js +1 -1
  173. package/lib/factory.js +1 -1
  174. package/lib/index.d.ts +2 -1
  175. package/lib/index.js +5 -2
  176. package/lib/locale.js +1 -1
  177. package/lib/polyfills.js +1 -1
  178. package/lib/renderers/Form.js +3 -3
  179. package/lib/renderers/Item.js +1 -1
  180. package/lib/renderers/Options.js +1 -1
  181. package/lib/renderers/Placeholder.js +1 -1
  182. package/lib/renderers/builtin.js +1 -1
  183. package/lib/renderers/register.js +1 -1
  184. package/lib/renderers/wrapControl.js +5 -5
  185. package/lib/store/app.js +1 -1
  186. package/lib/store/combo.d.ts +25 -24
  187. package/lib/store/combo.js +1 -1
  188. package/lib/store/crud.js +1 -1
  189. package/lib/store/form.d.ts +11 -10
  190. package/lib/store/form.js +1 -1
  191. package/lib/store/formItem.js +1 -1
  192. package/lib/store/iRenderer.js +1 -1
  193. package/lib/store/index.js +1 -1
  194. package/lib/store/list.d.ts +11 -0
  195. package/lib/store/list.js +8 -1
  196. package/lib/store/manager.js +1 -1
  197. package/lib/store/modal.js +1 -1
  198. package/lib/store/node.js +1 -1
  199. package/lib/store/pagination.js +1 -1
  200. package/lib/store/root.js +1 -1
  201. package/lib/store/service.js +5 -2
  202. package/lib/store/status.js +1 -1
  203. package/lib/store/table.d.ts +49 -47
  204. package/lib/store/table.js +8 -6
  205. package/lib/store/table2.js +1 -1
  206. package/lib/theme.js +1 -1
  207. package/lib/utils/Animation.js +1 -1
  208. package/lib/utils/ColorScale.js +1 -1
  209. package/lib/utils/DataSchema.js +1 -1
  210. package/lib/utils/DataScope.js +1 -1
  211. package/lib/utils/RootClose.js +1 -1
  212. package/lib/utils/SimpleMap.js +1 -1
  213. package/lib/utils/api.js +3 -2
  214. package/lib/utils/arraySlice.js +1 -1
  215. package/lib/utils/attachmentAdpator.js +3 -2
  216. package/lib/utils/autobind.js +1 -1
  217. package/lib/utils/browser.d.ts +1 -0
  218. package/lib/utils/browser.js +7 -1
  219. package/lib/utils/columnsSplit.js +1 -1
  220. package/lib/utils/concatData.js +1 -1
  221. package/lib/utils/dataMapping.js +1 -1
  222. package/lib/utils/date.js +1 -1
  223. package/lib/utils/debug.js +1 -1
  224. package/lib/utils/decodeEntity.js +1 -1
  225. package/lib/utils/dom.js +7 -2
  226. package/lib/utils/errors.js +1 -1
  227. package/lib/utils/escapeHtml.js +1 -1
  228. package/lib/utils/filter-schema.js +1 -1
  229. package/lib/utils/filter.js +1 -1
  230. package/lib/utils/formatDuration.js +1 -1
  231. package/lib/utils/formula.js +1 -1
  232. package/lib/utils/getVariable.js +1 -1
  233. package/lib/utils/grammar.js +1 -1
  234. package/lib/utils/handleAction.js +1 -1
  235. package/lib/utils/helper.js +1 -1
  236. package/lib/utils/highlight.js +1 -1
  237. package/lib/utils/icon.js +1 -1
  238. package/lib/utils/image.js +1 -1
  239. package/lib/utils/isPureVariable.js +1 -1
  240. package/lib/utils/json-schema-2-amis-schema.js +1 -1
  241. package/lib/utils/keyToPath.js +1 -1
  242. package/lib/utils/labelToString.js +1 -1
  243. package/lib/utils/makeSorter.js +1 -1
  244. package/lib/utils/math.js +1 -1
  245. package/lib/utils/memoryParse.js +1 -1
  246. package/lib/utils/normalizeLink.js +1 -1
  247. package/lib/utils/normalizeOptions.js +1 -1
  248. package/lib/utils/object.js +1 -1
  249. package/lib/utils/offset.js +1 -1
  250. package/lib/utils/offsetParent.js +1 -1
  251. package/lib/utils/optionValueCompare.js +1 -1
  252. package/lib/utils/position.js +1 -1
  253. package/lib/utils/prettyBytes.js +1 -1
  254. package/lib/utils/printElement.d.ts +6 -0
  255. package/lib/utils/printElement.js +75 -0
  256. package/lib/utils/renderer-event.js +1 -1
  257. package/lib/utils/replaceText.js +1 -1
  258. package/lib/utils/resize-sensor.js +1 -1
  259. package/lib/utils/resolveCondition.js +1 -1
  260. package/lib/utils/resolveVariable.js +1 -1
  261. package/lib/utils/resolveVariableAndFilter.js +1 -1
  262. package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
  263. package/lib/utils/scrollPosition.js +1 -1
  264. package/lib/utils/string2regExp.js +1 -1
  265. package/lib/utils/stripNumber.js +1 -1
  266. package/lib/utils/style-helper.js +1 -1
  267. package/lib/utils/style.js +1 -1
  268. package/lib/utils/toNumber.js +1 -1
  269. package/lib/utils/tokenize.js +1 -1
  270. package/lib/utils/tpl-builtin.js +1 -1
  271. package/lib/utils/tpl-lodash.js +1 -1
  272. package/lib/utils/tpl.js +1 -1
  273. package/lib/utils/uncontrollable.js +1 -1
  274. package/lib/utils/validateId.js +1 -1
  275. package/lib/utils/validations.js +1 -1
  276. package/package.json +3 -8
@@ -1,3 +1,4 @@
1
+ /// <reference types="lodash" />
1
2
  import { SnapshotIn, IAnyModelType, Instance } from 'mobx-state-tree';
2
3
  import { IFormStore } from './form';
3
4
  export declare enum SELECTED_STATUS {
@@ -100,7 +101,7 @@ export declare const Row: import("mobx-state-tree").IModelType<{
100
101
  markLoaded(value: any): void;
101
102
  setError(value: any): void;
102
103
  resetDefered(): void;
103
- setDeferData({ children, ...rest }: any): void;
104
+ updateData({ children, ...rest }: any): void;
104
105
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>;
105
106
  export type IRow = Instance<typeof Row>;
106
107
  export type SRow = SnapshotIn<typeof Row>;
@@ -158,6 +159,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
158
159
  setWidth(value: number): void;
159
160
  setRealWidth(value: number): void;
160
161
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
162
+ columnsKey: import("mobx-state-tree").IType<string | undefined, string, string>;
161
163
  rows: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IModelType<{
162
164
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
163
165
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -216,7 +218,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
216
218
  markLoaded(value: any): void;
217
219
  setError(value: any): void;
218
220
  resetDefered(): void;
219
- setDeferData({ children, ...rest }: any): void;
221
+ updateData({ children, ...rest }: any): void;
220
222
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>;
221
223
  selectedRows: import("mobx-state-tree").IArrayType<import("mobx-state-tree").IReferenceType<import("mobx-state-tree").IModelType<{
222
224
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
@@ -276,7 +278,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
276
278
  markLoaded(value: any): void;
277
279
  setError(value: any): void;
278
280
  resetDefered(): void;
279
- setDeferData({ children, ...rest }: any): void;
281
+ updateData({ children, ...rest }: any): void;
280
282
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>>;
281
283
  expandedRows: import("mobx-state-tree").IArrayType<import("mobx-state-tree").ISimpleType<string>>;
282
284
  primaryField: import("mobx-state-tree").IType<string | undefined, string, string>;
@@ -644,7 +646,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
644
646
  resetValidationStatus: (tag?: string | undefined) => void;
645
647
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
646
648
  closeDialog: (result?: any) => void;
647
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
649
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
648
650
  changeEmitedValue: (value: any) => void;
649
651
  addSubFormItem: (item: {
650
652
  id: string;
@@ -1154,7 +1156,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
1154
1156
  resetValidationStatus: (tag?: string | undefined) => void;
1155
1157
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
1156
1158
  closeDialog: (result?: any) => void;
1157
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1159
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
1158
1160
  changeEmitedValue: (value: any) => void;
1159
1161
  addSubFormItem: (item: {
1160
1162
  id: string;
@@ -1668,7 +1670,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
1668
1670
  resetValidationStatus: (tag?: string | undefined) => void;
1669
1671
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
1670
1672
  closeDialog: (result?: any) => void;
1671
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1673
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
1672
1674
  changeEmitedValue: (value: any) => void;
1673
1675
  addSubFormItem: (item: {
1674
1676
  id: string;
@@ -2178,7 +2180,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
2178
2180
  resetValidationStatus: (tag?: string | undefined) => void;
2179
2181
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
2180
2182
  closeDialog: (result?: any) => void;
2181
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2183
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
2182
2184
  changeEmitedValue: (value: any) => void;
2183
2185
  addSubFormItem: (item: {
2184
2186
  id: string;
@@ -2697,7 +2699,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
2697
2699
  resetValidationStatus: (tag?: string | undefined) => void;
2698
2700
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
2699
2701
  closeDialog: (result?: any) => void;
2700
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2702
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
2701
2703
  changeEmitedValue: (value: any) => void;
2702
2704
  addSubFormItem: (item: {
2703
2705
  id: string;
@@ -3207,7 +3209,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
3207
3209
  resetValidationStatus: (tag?: string | undefined) => void;
3208
3210
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
3209
3211
  closeDialog: (result?: any) => void;
3210
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3212
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
3211
3213
  changeEmitedValue: (value: any) => void;
3212
3214
  addSubFormItem: (item: {
3213
3215
  id: string;
@@ -3721,7 +3723,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
3721
3723
  resetValidationStatus: (tag?: string | undefined) => void;
3722
3724
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
3723
3725
  closeDialog: (result?: any) => void;
3724
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3726
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
3725
3727
  changeEmitedValue: (value: any) => void;
3726
3728
  addSubFormItem: (item: {
3727
3729
  id: string;
@@ -4231,7 +4233,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
4231
4233
  resetValidationStatus: (tag?: string | undefined) => void;
4232
4234
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
4233
4235
  closeDialog: (result?: any) => void;
4234
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4236
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
4235
4237
  changeEmitedValue: (value: any) => void;
4236
4238
  addSubFormItem: (item: {
4237
4239
  id: string;
@@ -4745,7 +4747,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
4745
4747
  resetValidationStatus: (tag?: string | undefined) => void;
4746
4748
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
4747
4749
  closeDialog: (result?: any) => void;
4748
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4750
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
4749
4751
  changeEmitedValue: (value: any) => void;
4750
4752
  addSubFormItem: (item: {
4751
4753
  id: string;
@@ -5255,7 +5257,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
5255
5257
  resetValidationStatus: (tag?: string | undefined) => void;
5256
5258
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
5257
5259
  closeDialog: (result?: any) => void;
5258
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
5260
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
5259
5261
  changeEmitedValue: (value: any) => void;
5260
5262
  addSubFormItem: (item: {
5261
5263
  id: string;
@@ -5888,7 +5890,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
5888
5890
  resetValidationStatus: (tag?: string | undefined) => void;
5889
5891
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
5890
5892
  closeDialog: (result?: any) => void;
5891
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
5893
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
5892
5894
  changeEmitedValue: (value: any) => void;
5893
5895
  addSubFormItem: (item: {
5894
5896
  id: string;
@@ -6398,7 +6400,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
6398
6400
  resetValidationStatus: (tag?: string | undefined) => void;
6399
6401
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
6400
6402
  closeDialog: (result?: any) => void;
6401
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
6403
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
6402
6404
  changeEmitedValue: (value: any) => void;
6403
6405
  addSubFormItem: (item: {
6404
6406
  id: string;
@@ -6912,7 +6914,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
6912
6914
  resetValidationStatus: (tag?: string | undefined) => void;
6913
6915
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
6914
6916
  closeDialog: (result?: any) => void;
6915
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
6917
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
6916
6918
  changeEmitedValue: (value: any) => void;
6917
6919
  addSubFormItem: (item: {
6918
6920
  id: string;
@@ -7422,7 +7424,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
7422
7424
  resetValidationStatus: (tag?: string | undefined) => void;
7423
7425
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
7424
7426
  closeDialog: (result?: any) => void;
7425
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
7427
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
7426
7428
  changeEmitedValue: (value: any) => void;
7427
7429
  addSubFormItem: (item: {
7428
7430
  id: string;
@@ -7941,7 +7943,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
7941
7943
  resetValidationStatus: (tag?: string | undefined) => void;
7942
7944
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
7943
7945
  closeDialog: (result?: any) => void;
7944
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
7946
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
7945
7947
  changeEmitedValue: (value: any) => void;
7946
7948
  addSubFormItem: (item: {
7947
7949
  id: string;
@@ -8451,7 +8453,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
8451
8453
  resetValidationStatus: (tag?: string | undefined) => void;
8452
8454
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
8453
8455
  closeDialog: (result?: any) => void;
8454
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
8456
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
8455
8457
  changeEmitedValue: (value: any) => void;
8456
8458
  addSubFormItem: (item: {
8457
8459
  id: string;
@@ -8965,7 +8967,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
8965
8967
  resetValidationStatus: (tag?: string | undefined) => void;
8966
8968
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
8967
8969
  closeDialog: (result?: any) => void;
8968
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
8970
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
8969
8971
  changeEmitedValue: (value: any) => void;
8970
8972
  addSubFormItem: (item: {
8971
8973
  id: string;
@@ -9475,7 +9477,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
9475
9477
  resetValidationStatus: (tag?: string | undefined) => void;
9476
9478
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
9477
9479
  closeDialog: (result?: any) => void;
9478
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
9480
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
9479
9481
  changeEmitedValue: (value: any) => void;
9480
9482
  addSubFormItem: (item: {
9481
9483
  id: string;
@@ -9989,7 +9991,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
9989
9991
  resetValidationStatus: (tag?: string | undefined) => void;
9990
9992
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
9991
9993
  closeDialog: (result?: any) => void;
9992
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
9994
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
9993
9995
  changeEmitedValue: (value: any) => void;
9994
9996
  addSubFormItem: (item: {
9995
9997
  id: string;
@@ -10499,7 +10501,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
10499
10501
  resetValidationStatus: (tag?: string | undefined) => void;
10500
10502
  openDialog: (schema: any, ctx: any, callback?: ((ret?: any) => void) | undefined) => void;
10501
10503
  closeDialog: (result?: any) => void;
10502
- changeTmpValue: (value: any, changeReason?: "input" | "defaultValue" | "formInited" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
10504
+ changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
10503
10505
  changeEmitedValue: (value: any) => void;
10504
10506
  addSubFormItem: (item: {
10505
10507
  id: string;
@@ -11442,7 +11444,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11442
11444
  markLoaded(value: any): void;
11443
11445
  setError(value: any): void;
11444
11446
  resetDefered(): void;
11445
- setDeferData({ children, ...rest }: any): void;
11447
+ updateData({ children, ...rest }: any): void;
11446
11448
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
11447
11449
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
11448
11450
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -11501,7 +11503,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11501
11503
  markLoaded(value: any): void;
11502
11504
  setError(value: any): void;
11503
11505
  resetDefered(): void;
11504
- setDeferData({ children, ...rest }: any): void;
11506
+ updateData({ children, ...rest }: any): void;
11505
11507
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
11506
11508
  readonly unSelectedRows: ({
11507
11509
  storeType: string;
@@ -11561,7 +11563,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11561
11563
  markLoaded(value: any): void;
11562
11564
  setError(value: any): void;
11563
11565
  resetDefered(): void;
11564
- setDeferData({ children, ...rest }: any): void;
11566
+ updateData({ children, ...rest }: any): void;
11565
11567
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
11566
11568
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
11567
11569
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -11620,7 +11622,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11620
11622
  markLoaded(value: any): void;
11621
11623
  setError(value: any): void;
11622
11624
  resetDefered(): void;
11623
- setDeferData({ children, ...rest }: any): void;
11625
+ updateData({ children, ...rest }: any): void;
11624
11626
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
11625
11627
  readonly falttenedRows: ({
11626
11628
  storeType: string;
@@ -11680,7 +11682,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11680
11682
  markLoaded(value: any): void;
11681
11683
  setError(value: any): void;
11682
11684
  resetDefered(): void;
11683
- setDeferData({ children, ...rest }: any): void;
11685
+ updateData({ children, ...rest }: any): void;
11684
11686
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
11685
11687
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
11686
11688
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -11739,7 +11741,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11739
11741
  markLoaded(value: any): void;
11740
11742
  setError(value: any): void;
11741
11743
  resetDefered(): void;
11742
- setDeferData({ children, ...rest }: any): void;
11744
+ updateData({ children, ...rest }: any): void;
11743
11745
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
11744
11746
  readonly checkableRows: ({
11745
11747
  storeType: string;
@@ -11799,7 +11801,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11799
11801
  markLoaded(value: any): void;
11800
11802
  setError(value: any): void;
11801
11803
  resetDefered(): void;
11802
- setDeferData({ children, ...rest }: any): void;
11804
+ updateData({ children, ...rest }: any): void;
11803
11805
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
11804
11806
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
11805
11807
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -11858,7 +11860,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11858
11860
  markLoaded(value: any): void;
11859
11861
  setError(value: any): void;
11860
11862
  resetDefered(): void;
11861
- setDeferData({ children, ...rest }: any): void;
11863
+ updateData({ children, ...rest }: any): void;
11862
11864
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
11863
11865
  readonly expandableRows: ({
11864
11866
  storeType: string;
@@ -11918,7 +11920,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11918
11920
  markLoaded(value: any): void;
11919
11921
  setError(value: any): void;
11920
11922
  resetDefered(): void;
11921
- setDeferData({ children, ...rest }: any): void;
11923
+ updateData({ children, ...rest }: any): void;
11922
11924
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
11923
11925
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
11924
11926
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -11977,7 +11979,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11977
11979
  markLoaded(value: any): void;
11978
11980
  setError(value: any): void;
11979
11981
  resetDefered(): void;
11980
- setDeferData({ children, ...rest }: any): void;
11982
+ updateData({ children, ...rest }: any): void;
11981
11983
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
11982
11984
  readonly moved: number;
11983
11985
  readonly movedRows: (import("mobx-state-tree").ModelCreationType<import("mobx-state-tree/dist/internal").ExtractCFromProps<{
@@ -12080,7 +12082,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12080
12082
  markLoaded(value: any): void;
12081
12083
  setError(value: any): void;
12082
12084
  resetDefered(): void;
12083
- setDeferData({ children, ...rest }: any): void;
12085
+ updateData({ children, ...rest }: any): void;
12084
12086
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12085
12087
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12086
12088
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12139,7 +12141,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12139
12141
  markLoaded(value: any): void;
12140
12142
  setError(value: any): void;
12141
12143
  resetDefered(): void;
12142
- setDeferData({ children, ...rest }: any): void;
12144
+ updateData({ children, ...rest }: any): void;
12143
12145
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>))[];
12144
12146
  readonly hoverRow: ({
12145
12147
  storeType: string;
@@ -12199,7 +12201,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12199
12201
  markLoaded(value: any): void;
12200
12202
  setError(value: any): void;
12201
12203
  resetDefered(): void;
12202
- setDeferData({ children, ...rest }: any): void;
12204
+ updateData({ children, ...rest }: any): void;
12203
12205
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12204
12206
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12205
12207
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12258,7 +12260,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12258
12260
  markLoaded(value: any): void;
12259
12261
  setError(value: any): void;
12260
12262
  resetDefered(): void;
12261
- setDeferData({ children, ...rest }: any): void;
12263
+ updateData({ children, ...rest }: any): void;
12262
12264
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | undefined;
12263
12265
  /** 已选择item是否达到数量上限 */
12264
12266
  readonly isSelectionThresholdReached: boolean;
@@ -12376,7 +12378,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12376
12378
  markLoaded(value: any): void;
12377
12379
  setError(value: any): void;
12378
12380
  resetDefered(): void;
12379
- setDeferData({ children, ...rest }: any): void;
12381
+ updateData({ children, ...rest }: any): void;
12380
12382
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12381
12383
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12382
12384
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12435,7 +12437,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12435
12437
  markLoaded(value: any): void;
12436
12438
  setError(value: any): void;
12437
12439
  resetDefered(): void;
12438
- setDeferData({ children, ...rest }: any): void;
12440
+ updateData({ children, ...rest }: any): void;
12439
12441
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>) | null;
12440
12442
  getItemsByName(name: string): any;
12441
12443
  hasColumnHidden(): boolean;
@@ -12497,7 +12499,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12497
12499
  markLoaded(value: any): void;
12498
12500
  setError(value: any): void;
12499
12501
  resetDefered(): void;
12500
- setDeferData({ children, ...rest }: any): void;
12502
+ updateData({ children, ...rest }: any): void;
12501
12503
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12502
12504
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12503
12505
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12556,7 +12558,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12556
12558
  markLoaded(value: any): void;
12557
12559
  setError(value: any): void;
12558
12560
  resetDefered(): void;
12559
- setDeferData({ children, ...rest }: any): void;
12561
+ updateData({ children, ...rest }: any): void;
12560
12562
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
12561
12563
  readonly columnWidthReady: boolean;
12562
12564
  getStickyStyles(column: IColumn, columns: Array<IColumn>): any[];
@@ -12618,7 +12620,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12618
12620
  markLoaded(value: any): void;
12619
12621
  setError(value: any): void;
12620
12622
  resetDefered(): void;
12621
- setDeferData({ children, ...rest }: any): void;
12623
+ updateData({ children, ...rest }: any): void;
12622
12624
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12623
12625
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12624
12626
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12677,7 +12679,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12677
12679
  markLoaded(value: any): void;
12678
12680
  setError(value: any): void;
12679
12681
  resetDefered(): void;
12680
- setDeferData({ children, ...rest }: any): void;
12682
+ updateData({ children, ...rest }: any): void;
12681
12683
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
12682
12684
  buildStyles(style: any): any;
12683
12685
  } & {
@@ -12750,7 +12752,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12750
12752
  markLoaded(value: any): void;
12751
12753
  setError(value: any): void;
12752
12754
  resetDefered(): void;
12753
- setDeferData({ children, ...rest }: any): void;
12755
+ updateData({ children, ...rest }: any): void;
12754
12756
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12755
12757
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12756
12758
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12809,7 +12811,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12809
12811
  markLoaded(value: any): void;
12810
12812
  setError(value: any): void;
12811
12813
  resetDefered(): void;
12812
- setDeferData({ children, ...rest }: any): void;
12814
+ updateData({ children, ...rest }: any): void;
12813
12815
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
12814
12816
  toggle: (row: IRow, checked: boolean) => void;
12815
12817
  toggleAncestors: (row: IRow) => void;
@@ -12873,7 +12875,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12873
12875
  markLoaded(value: any): void;
12874
12876
  setError(value: any): void;
12875
12877
  resetDefered(): void;
12876
- setDeferData({ children, ...rest }: any): void;
12878
+ updateData({ children, ...rest }: any): void;
12877
12879
  } & import("mobx-state-tree").IStateTreeNode<import("mobx-state-tree").IModelType<{
12878
12880
  storeType: import("mobx-state-tree").IType<string | undefined, string, string>;
12879
12881
  id: import("mobx-state-tree").ISimpleType<string>;
@@ -12932,7 +12934,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
12932
12934
  markLoaded(value: any): void;
12933
12935
  setError(value: any): void;
12934
12936
  resetDefered(): void;
12935
- setDeferData({ children, ...rest }: any): void;
12937
+ updateData({ children, ...rest }: any): void;
12936
12938
  }, import("mobx-state-tree")._NotCustomized, import("mobx-state-tree")._NotCustomized>>)[];
12937
12939
  toggleExpandAll: () => void;
12938
12940
  toggleExpanded: (row: IRow) => void;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -358,7 +358,7 @@ var Row = mobxStateTree.types
358
358
  self.error = '';
359
359
  self.loaded = false;
360
360
  },
361
- setDeferData: function (_a) {
361
+ updateData: function (_a) {
362
362
  var children = _a.children, rest = tslib.__rest(_a, ["children"]);
363
363
  self.data = tslib.__assign(tslib.__assign({}, self.data), rest);
364
364
  if (Array.isArray(children)) {
@@ -370,6 +370,7 @@ var TableStore = iRenderer.iRendererStore
370
370
  .named('TableStore')
371
371
  .props({
372
372
  columns: mobxStateTree.types.array(Column),
373
+ columnsKey: '',
373
374
  rows: mobxStateTree.types.array(Row),
374
375
  selectedRows: mobxStateTree.types.array(mobxStateTree.types.reference(Row)),
375
376
  expandedRows: mobxStateTree.types.array(mobxStateTree.types.string),
@@ -832,6 +833,7 @@ var TableStore = iRenderer.iRendererStore
832
833
  typeof config.tableLayout === 'string' &&
833
834
  (self.tableLayout = config.tableLayout);
834
835
  if (config.columns && Array.isArray(config.columns)) {
836
+ self.columnsKey = getPersistDataKey(config.columns);
835
837
  var columns = config.columns
836
838
  .map(function (column) {
837
839
  if ((options === null || options === void 0 ? void 0 : options.resolveDefinitions) &&
@@ -843,7 +845,7 @@ var TableStore = iRenderer.iRendererStore
843
845
  })
844
846
  .filter(function (column) { return column; });
845
847
  // 更新列顺序,afterCreate生命周期中更新columns不会触发组件的render
846
- var key = getPersistDataKey(columns);
848
+ var key = self.columnsKey;
847
849
  var data = localStorage.getItem(key);
848
850
  var tableMetaData = null;
849
851
  if (data) {
@@ -947,7 +949,7 @@ var TableStore = iRenderer.iRendererStore
947
949
  th.style.cssText += "".concat(typeof column.pristine.width === 'number'
948
950
  ? "width: ".concat(column.pristine.width, "px;")
949
951
  : column.pristine.width
950
- ? "width: ".concat(column.pristine.width, ";")
952
+ ? "width: ".concat(column.pristine.width, ";min-width: ").concat(column.pristine.width, ";")
951
953
  : '' // todo 可能需要让修改过列宽的保持相应宽度,目前这样相当于重置了
952
954
  );
953
955
  });
@@ -1380,7 +1382,7 @@ var TableStore = iRenderer.iRendererStore
1380
1382
  * 前端持久化记录列排序,查询字段,显示列信息
1381
1383
  */
1382
1384
  function persistSaveToggledColumns() {
1383
- var key = getPersistDataKey(self.columnsData);
1385
+ var key = self.columnsKey;
1384
1386
  localStorage.setItem(key, JSON.stringify({
1385
1387
  // 可显示列index
1386
1388
  toggledColumnIndex: self.activeToggaleColumns.map(function (item) { return item.index; }),
@@ -1474,7 +1476,7 @@ var TableStore = iRenderer.iRendererStore
1474
1476
  if (!mobxStateTree.isAlive(self)) {
1475
1477
  return;
1476
1478
  }
1477
- var key = getPersistDataKey(self.columnsData);
1479
+ var key = self.columnsKey;
1478
1480
  var data = localStorage.getItem(key);
1479
1481
  if (data) {
1480
1482
  var tableMetaData_1 = JSON.parse(data);
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
package/lib/theme.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
package/lib/utils/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -278,6 +278,7 @@ function callStrFunction(fn, argNames) {
278
278
  }
279
279
  }
280
280
  function responseAdaptor(ret, api) {
281
+ var _a;
281
282
  var data = ret.data;
282
283
  var hasStatusField = true;
283
284
  if (!data) {
@@ -285,7 +286,7 @@ function responseAdaptor(ret, api) {
285
286
  }
286
287
  // 返回内容是 string,说明 content-type 不是 json,这时可能是返回了纯文本或 html
287
288
  if (typeof data === 'string') {
288
- var contentType = ret.headers['content-type'] || '';
289
+ var contentType = ((_a = ret.headers) === null || _a === void 0 ? void 0 : _a['content-type']) || '';
289
290
  // 如果是文本类型就尝试解析一下
290
291
  if (ret.headers &&
291
292
  contentType.startsWith('text/') &&
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -16,6 +16,7 @@ var tslib = require('tslib');
16
16
  * @returns
17
17
  */
18
18
  function attachmentAdpator(response, __, api) {
19
+ var _a;
19
20
  if (response && response.headers && response.headers['content-disposition']) {
20
21
  var disposition = response.headers['content-disposition'];
21
22
  var filename = '';
@@ -39,7 +40,7 @@ function attachmentAdpator(response, __, api) {
39
40
  filename = filename.replace(/\+/g, ' ');
40
41
  }
41
42
  }
42
- var type = response.headers['content-type'];
43
+ var type = (_a = response.headers) === null || _a === void 0 ? void 0 : _a['content-type'];
43
44
  var blob = response.data.toString() === '[object Blob]'
44
45
  ? response.data
45
46
  : new Blob([response.data], { type: type });
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.1.0
2
+ * amis-core v6.2.1
3
3
  * Copyright 2018-2024 fex
4
4
  */
5
5
 
@@ -1 +1,2 @@
1
1
  export declare const chromeVersion: number | boolean;
2
+ export declare const isSafari: boolean | "";