amis-core 6.13.0-beta.4 → 6.13.0-beta.5

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 (308) hide show
  1. package/esm/Root.js +1 -1
  2. package/esm/RootRenderer.js +3 -5
  3. package/esm/SchemaRenderer.js +1 -1
  4. package/esm/Scoped.js +1 -1
  5. package/esm/StatusScoped.js +1 -1
  6. package/esm/StyleManager.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 +1 -1
  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/EventAction.js +1 -1
  21. package/esm/actions/LinkAction.js +1 -1
  22. package/esm/actions/LoopAction.js +1 -1
  23. package/esm/actions/PageAction.js +1 -1
  24. package/esm/actions/ParallelAction.js +1 -1
  25. package/esm/actions/PrintAction.js +1 -1
  26. package/esm/actions/StatusAction.js +1 -1
  27. package/esm/actions/SwitchAction.js +1 -1
  28. package/esm/actions/ToastAction.js +1 -1
  29. package/esm/actions/WaitAction.js +1 -1
  30. package/esm/components/Animations.js +1 -1
  31. package/esm/components/CustomStyle.js +1 -1
  32. package/esm/components/ErrorBoundary.js +1 -1
  33. package/esm/components/LazyComponent.js +1 -1
  34. package/esm/components/Overlay.js +1 -1
  35. package/esm/components/PopOver.js +1 -1
  36. package/esm/env.js +1 -1
  37. package/esm/envOverwrite.js +1 -1
  38. package/esm/factory.js +1 -1
  39. package/esm/globalVar.js +1 -1
  40. package/esm/globalVarClientHandler.js +1 -1
  41. package/esm/globalVarDefaultValueHandler.js +1 -1
  42. package/esm/index.js +4 -4
  43. package/esm/locale.js +1 -1
  44. package/esm/polyfills.js +1 -1
  45. package/esm/renderers/Form.js +3 -5
  46. package/esm/renderers/Item.js +1 -1
  47. package/esm/renderers/Options.js +1 -1
  48. package/esm/renderers/Placeholder.js +1 -1
  49. package/esm/renderers/builtin.js +1 -1
  50. package/esm/renderers/register.js +1 -1
  51. package/esm/renderers/wrapControl.js +1 -1
  52. package/esm/store/app.d.ts +2 -0
  53. package/esm/store/app.js +1 -1
  54. package/esm/store/combo.d.ts +6 -0
  55. package/esm/store/combo.js +1 -1
  56. package/esm/store/crud.d.ts +2 -0
  57. package/esm/store/crud.js +2 -1
  58. package/esm/store/form.d.ts +2 -0
  59. package/esm/store/form.js +1 -1
  60. package/esm/store/formItem.js +1 -1
  61. package/esm/store/iRenderer.d.ts +2 -0
  62. package/esm/store/iRenderer.js +9 -1
  63. package/esm/store/index.js +1 -1
  64. package/esm/store/list.d.ts +2 -0
  65. package/esm/store/list.js +1 -1
  66. package/esm/store/manager.js +1 -1
  67. package/esm/store/modal.d.ts +2 -0
  68. package/esm/store/modal.js +1 -1
  69. package/esm/store/node.js +1 -1
  70. package/esm/store/pagination.d.ts +2 -0
  71. package/esm/store/pagination.js +1 -1
  72. package/esm/store/root.d.ts +2 -0
  73. package/esm/store/root.js +1 -1
  74. package/esm/store/service.d.ts +2 -0
  75. package/esm/store/service.js +1 -1
  76. package/esm/store/status.js +1 -1
  77. package/esm/store/table.d.ts +6 -0
  78. package/esm/store/table.js +4 -3
  79. package/esm/store/table2.d.ts +2 -0
  80. package/esm/store/table2.js +4 -3
  81. package/esm/theme.js +1 -1
  82. package/esm/utils/Animation.js +1 -1
  83. package/esm/utils/ColorScale.js +1 -1
  84. package/esm/utils/DataSchema.js +1 -1
  85. package/esm/utils/DataScope.js +1 -1
  86. package/esm/utils/RootClose.js +1 -1
  87. package/esm/utils/SimpleMap.js +1 -1
  88. package/esm/utils/animations.js +1 -1
  89. package/esm/utils/api.js +8 -3
  90. package/esm/utils/arraySlice.js +1 -1
  91. package/esm/utils/attachmentAdpator.js +1 -1
  92. package/esm/utils/autobind.js +1 -1
  93. package/esm/utils/browser.js +1 -1
  94. package/esm/utils/columnsSplit.js +1 -1
  95. package/esm/utils/concatData.js +1 -1
  96. package/esm/utils/dataMapping.js +1 -1
  97. package/esm/utils/date.js +1 -1
  98. package/esm/utils/debug.js +1 -1
  99. package/esm/utils/decodeEntity.js +1 -1
  100. package/esm/utils/dom.js +5 -2
  101. package/esm/utils/errors.js +2 -1
  102. package/esm/utils/escapeHtml.js +1 -1
  103. package/esm/utils/filter-schema.js +1 -1
  104. package/esm/utils/filter.js +1 -1
  105. package/esm/utils/formatDuration.js +1 -1
  106. package/esm/utils/formula.js +1 -1
  107. package/esm/utils/getPageId.js +1 -1
  108. package/esm/utils/getVariable.js +1 -1
  109. package/esm/utils/grammar.js +1 -1
  110. package/esm/utils/handleAction.js +1 -1
  111. package/esm/utils/helper.js +1 -1
  112. package/esm/utils/highlight.js +1 -1
  113. package/esm/utils/icon.js +1 -1
  114. package/esm/utils/image.js +1 -1
  115. package/esm/utils/index.js +1 -1
  116. package/esm/utils/isPureVariable.js +1 -1
  117. package/esm/utils/json-schema-2-amis-schema.js +1 -1
  118. package/esm/utils/keyToPath.js +1 -1
  119. package/esm/utils/labelToString.js +1 -1
  120. package/esm/utils/loopTooMuch.js +1 -1
  121. package/esm/utils/makeSorter.js +1 -1
  122. package/esm/utils/math.js +1 -1
  123. package/esm/utils/memoryParse.js +1 -1
  124. package/esm/utils/normalizeLink.js +1 -1
  125. package/esm/utils/normalizeOptions.js +1 -1
  126. package/esm/utils/object.js +1 -1
  127. package/esm/utils/offset.js +1 -1
  128. package/esm/utils/offsetParent.js +1 -1
  129. package/esm/utils/optionValueCompare.js +1 -1
  130. package/esm/utils/position.js +1 -1
  131. package/esm/utils/prettyBytes.js +1 -1
  132. package/esm/utils/printElement.js +1 -1
  133. package/esm/utils/renderer-event.js +1 -1
  134. package/esm/utils/replaceText.js +1 -1
  135. package/esm/utils/resize-sensor.js +1 -1
  136. package/esm/utils/resolveCondition.js +1 -1
  137. package/esm/utils/resolveVariable.js +1 -1
  138. package/esm/utils/resolveVariableAndFilter.js +1 -1
  139. package/esm/utils/resolveVariableAndFilterForAsync.js +1 -1
  140. package/esm/utils/scrollPosition.js +1 -1
  141. package/esm/utils/string2regExp.js +1 -1
  142. package/esm/utils/stripNumber.js +1 -1
  143. package/esm/utils/style-helper.js +1 -1
  144. package/esm/utils/style.js +1 -1
  145. package/esm/utils/toNumber.js +1 -1
  146. package/esm/utils/tokenize.js +1 -1
  147. package/esm/utils/tpl-builtin.js +1 -1
  148. package/esm/utils/tpl-lodash.js +1 -1
  149. package/esm/utils/tpl.js +1 -1
  150. package/esm/utils/uncontrollable.js +1 -1
  151. package/esm/utils/validateId.js +1 -1
  152. package/esm/utils/validations.js +1 -1
  153. package/esm/utils/visitedCache.js +1 -1
  154. package/lib/Root.js +1 -1
  155. package/lib/RootRenderer.d.ts +1 -1
  156. package/lib/RootRenderer.js +3 -5
  157. package/lib/SchemaRenderer.js +1 -1
  158. package/lib/Scoped.js +1 -1
  159. package/lib/StatusScoped.js +1 -1
  160. package/lib/StyleManager.js +1 -1
  161. package/lib/WithRootStore.js +1 -1
  162. package/lib/WithStore.js +1 -1
  163. package/lib/actions/Action.js +1 -1
  164. package/lib/actions/AjaxAction.js +1 -1
  165. package/lib/actions/BreakAction.js +1 -1
  166. package/lib/actions/BroadcastAction.js +1 -1
  167. package/lib/actions/CmptAction.js +1 -1
  168. package/lib/actions/ContinueAction.js +1 -1
  169. package/lib/actions/CopyAction.js +1 -1
  170. package/lib/actions/CustomAction.js +1 -1
  171. package/lib/actions/DialogAction.js +1 -1
  172. package/lib/actions/DrawerAction.js +1 -1
  173. package/lib/actions/EmailAction.js +1 -1
  174. package/lib/actions/EventAction.js +1 -1
  175. package/lib/actions/LinkAction.js +1 -1
  176. package/lib/actions/LoopAction.js +1 -1
  177. package/lib/actions/PageAction.js +1 -1
  178. package/lib/actions/ParallelAction.js +1 -1
  179. package/lib/actions/PrintAction.js +1 -1
  180. package/lib/actions/StatusAction.js +1 -1
  181. package/lib/actions/SwitchAction.js +1 -1
  182. package/lib/actions/ToastAction.js +1 -1
  183. package/lib/actions/WaitAction.js +1 -1
  184. package/lib/components/Animations.js +1 -1
  185. package/lib/components/CustomStyle.js +1 -1
  186. package/lib/components/ErrorBoundary.js +1 -1
  187. package/lib/components/LazyComponent.js +1 -1
  188. package/lib/components/Overlay.js +1 -1
  189. package/lib/components/PopOver.js +1 -1
  190. package/lib/env.js +1 -1
  191. package/lib/envOverwrite.js +1 -1
  192. package/lib/factory.js +1 -1
  193. package/lib/globalVar.js +1 -1
  194. package/lib/globalVarClientHandler.js +1 -1
  195. package/lib/globalVarDefaultValueHandler.js +1 -1
  196. package/lib/index.js +4 -4
  197. package/lib/locale.js +1 -1
  198. package/lib/polyfills.js +1 -1
  199. package/lib/renderers/Form.js +3 -5
  200. package/lib/renderers/Item.js +1 -1
  201. package/lib/renderers/Options.js +1 -1
  202. package/lib/renderers/Placeholder.js +1 -1
  203. package/lib/renderers/builtin.js +1 -1
  204. package/lib/renderers/register.js +1 -1
  205. package/lib/renderers/wrapControl.js +1 -1
  206. package/lib/store/app.d.ts +2 -0
  207. package/lib/store/app.js +1 -1
  208. package/lib/store/combo.d.ts +30 -25
  209. package/lib/store/combo.js +1 -1
  210. package/lib/store/crud.d.ts +2 -0
  211. package/lib/store/crud.js +2 -1
  212. package/lib/store/form.d.ts +12 -11
  213. package/lib/store/form.js +1 -1
  214. package/lib/store/formItem.js +1 -1
  215. package/lib/store/iRenderer.d.ts +2 -0
  216. package/lib/store/iRenderer.js +9 -1
  217. package/lib/store/index.js +1 -1
  218. package/lib/store/list.d.ts +2 -0
  219. package/lib/store/list.js +1 -1
  220. package/lib/store/manager.js +1 -1
  221. package/lib/store/modal.d.ts +2 -0
  222. package/lib/store/modal.js +1 -1
  223. package/lib/store/node.js +1 -1
  224. package/lib/store/pagination.d.ts +2 -0
  225. package/lib/store/pagination.js +1 -1
  226. package/lib/store/root.d.ts +2 -1
  227. package/lib/store/root.js +1 -1
  228. package/lib/store/service.d.ts +2 -0
  229. package/lib/store/service.js +1 -1
  230. package/lib/store/status.js +1 -1
  231. package/lib/store/table.d.ts +26 -21
  232. package/lib/store/table.js +4 -3
  233. package/lib/store/table2.d.ts +2 -0
  234. package/lib/store/table2.js +4 -3
  235. package/lib/theme.js +1 -1
  236. package/lib/utils/Animation.js +1 -1
  237. package/lib/utils/ColorScale.js +1 -1
  238. package/lib/utils/DataSchema.js +1 -1
  239. package/lib/utils/DataScope.js +1 -1
  240. package/lib/utils/RootClose.js +1 -1
  241. package/lib/utils/SimpleMap.js +1 -1
  242. package/lib/utils/animations.js +1 -1
  243. package/lib/utils/api.js +8 -3
  244. package/lib/utils/arraySlice.js +1 -1
  245. package/lib/utils/attachmentAdpator.js +1 -1
  246. package/lib/utils/autobind.js +1 -1
  247. package/lib/utils/browser.js +1 -1
  248. package/lib/utils/columnsSplit.js +1 -1
  249. package/lib/utils/concatData.js +1 -1
  250. package/lib/utils/dataMapping.js +1 -1
  251. package/lib/utils/date.js +1 -1
  252. package/lib/utils/debug.js +1 -1
  253. package/lib/utils/decodeEntity.js +1 -1
  254. package/lib/utils/dom.js +5 -2
  255. package/lib/utils/errors.js +2 -1
  256. package/lib/utils/escapeHtml.js +1 -1
  257. package/lib/utils/filter-schema.js +1 -1
  258. package/lib/utils/filter.js +1 -1
  259. package/lib/utils/formatDuration.js +1 -1
  260. package/lib/utils/formula.js +1 -1
  261. package/lib/utils/getPageId.js +1 -1
  262. package/lib/utils/getVariable.js +1 -1
  263. package/lib/utils/grammar.js +1 -1
  264. package/lib/utils/handleAction.js +1 -1
  265. package/lib/utils/helper.js +1 -1
  266. package/lib/utils/highlight.js +1 -1
  267. package/lib/utils/icon.js +1 -1
  268. package/lib/utils/image.js +1 -1
  269. package/lib/utils/index.js +1 -1
  270. package/lib/utils/isPureVariable.js +1 -1
  271. package/lib/utils/json-schema-2-amis-schema.js +1 -1
  272. package/lib/utils/keyToPath.js +1 -1
  273. package/lib/utils/labelToString.js +1 -1
  274. package/lib/utils/loopTooMuch.js +1 -1
  275. package/lib/utils/makeSorter.js +1 -1
  276. package/lib/utils/math.js +1 -1
  277. package/lib/utils/memoryParse.js +1 -1
  278. package/lib/utils/normalizeLink.js +1 -1
  279. package/lib/utils/normalizeOptions.js +1 -1
  280. package/lib/utils/object.js +1 -1
  281. package/lib/utils/offset.js +1 -1
  282. package/lib/utils/offsetParent.js +1 -1
  283. package/lib/utils/optionValueCompare.js +1 -1
  284. package/lib/utils/position.js +1 -1
  285. package/lib/utils/prettyBytes.js +1 -1
  286. package/lib/utils/printElement.js +1 -1
  287. package/lib/utils/renderer-event.js +1 -1
  288. package/lib/utils/replaceText.js +1 -1
  289. package/lib/utils/resize-sensor.js +1 -1
  290. package/lib/utils/resolveCondition.js +1 -1
  291. package/lib/utils/resolveVariable.js +1 -1
  292. package/lib/utils/resolveVariableAndFilter.js +1 -1
  293. package/lib/utils/resolveVariableAndFilterForAsync.js +1 -1
  294. package/lib/utils/scrollPosition.js +1 -1
  295. package/lib/utils/string2regExp.js +1 -1
  296. package/lib/utils/stripNumber.js +1 -1
  297. package/lib/utils/style-helper.js +1 -1
  298. package/lib/utils/style.js +1 -1
  299. package/lib/utils/toNumber.js +1 -1
  300. package/lib/utils/tokenize.js +1 -1
  301. package/lib/utils/tpl-builtin.js +1 -1
  302. package/lib/utils/tpl-lodash.js +1 -1
  303. package/lib/utils/tpl.js +1 -1
  304. package/lib/utils/uncontrollable.js +1 -1
  305. package/lib/utils/validateId.js +1 -1
  306. package/lib/utils/validations.js +1 -1
  307. package/lib/utils/visitedCache.js +1 -1
  308. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -74,8 +74,10 @@ var iRendererStore = node.StoreNode.named('iRendererStore')
74
74
  pristineRaw: mobxStateTree.types.optional(mobxStateTree.types.frozen(), {}),
75
75
  upStreamData: mobxStateTree.types.optional(mobxStateTree.types.frozen(), {}),
76
76
  action: mobxStateTree.types.optional(mobxStateTree.types.frozen(), undefined),
77
+ dialogSchema: mobxStateTree.types.frozen(),
77
78
  dialogOpen: false,
78
79
  dialogData: mobxStateTree.types.optional(mobxStateTree.types.frozen(), undefined),
80
+ drawerSchema: mobxStateTree.types.frozen(),
79
81
  drawerOpen: false,
80
82
  drawerData: mobxStateTree.types.optional(mobxStateTree.types.frozen(), undefined)
81
83
  })
@@ -275,12 +277,15 @@ var iRendererStore = node.StoreNode.named('iRendererStore')
275
277
  else {
276
278
  self.dialogData = data;
277
279
  }
280
+ self.dialogSchema = self.action.dialog;
278
281
  self.dialogOpen = true;
279
282
  callback && dialogCallbacks.set(self.dialogData, callback);
280
283
  dialogScoped = scoped || null;
281
284
  },
282
285
  closeDialog: function (confirmed, data) {
283
286
  var callback = dialogCallbacks.get(self.dialogData);
287
+ // 不要过早的清空,否则内部组件提前销毁,会出现 store 异常读取问题
288
+ // self.dialogSchema = null;
284
289
  self.dialogOpen = false;
285
290
  dialogScoped = null;
286
291
  if (callback) {
@@ -309,6 +314,7 @@ var iRendererStore = node.StoreNode.named('iRendererStore')
309
314
  else {
310
315
  self.drawerData = data;
311
316
  }
317
+ self.drawerSchema = self.action.drawer;
312
318
  self.drawerOpen = true;
313
319
  if (callback) {
314
320
  dialogCallbacks.set(self.drawerData, callback);
@@ -317,6 +323,8 @@ var iRendererStore = node.StoreNode.named('iRendererStore')
317
323
  },
318
324
  closeDrawer: function (confirmed, data) {
319
325
  var callback = dialogCallbacks.get(self.drawerData);
326
+ // 不要过早的清空,否则内部组件提前销毁,会出现 store 异常读取问题
327
+ // self.drawerSchema = null;
320
328
  self.drawerOpen = false;
321
329
  drawerScoped = null;
322
330
  if (callback) {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -37,8 +37,10 @@ export declare const ListStore: import("mobx-state-tree").IModelType<{
37
37
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
38
38
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
39
39
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
40
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
40
41
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
41
42
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
43
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
42
44
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
43
45
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
44
46
  } & {
package/lib/store/list.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -15,8 +15,10 @@ export declare const ModalStore: import("mobx-state-tree").IModelType<{
15
15
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
16
16
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
17
17
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
18
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
18
19
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
19
20
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
21
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
20
22
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
21
23
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
22
24
  } & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
package/lib/store/node.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -15,8 +15,10 @@ export declare const PaginationStore: import("mobx-state-tree").IModelType<{
15
15
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
16
16
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
17
17
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
18
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
18
19
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
19
20
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
21
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
20
22
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
21
23
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
22
24
  } & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import { Instance } from 'mobx-state-tree';
3
2
  import { GlobalVariableItem, GlobalVariableState, GlobalVariableItemFull } from '../globalVar';
4
3
  export declare const RootStore: import("mobx-state-tree").IModelType<{
@@ -17,8 +16,10 @@ export declare const RootStore: import("mobx-state-tree").IModelType<{
17
16
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
18
17
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
19
18
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
19
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
20
20
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
21
21
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
22
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
22
23
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
23
24
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
24
25
  } & {
package/lib/store/root.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -16,8 +16,10 @@ export declare const ServiceStore: import("mobx-state-tree").IModelType<{
16
16
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
17
17
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
18
18
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
19
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
19
20
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
20
21
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
22
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
21
23
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
22
24
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
23
25
  } & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,4 +1,3 @@
1
- /// <reference types="lodash" />
2
1
  import { SnapshotIn, IAnyModelType, Instance } from 'mobx-state-tree';
3
2
  import { IFormStore } from './form';
4
3
  export declare enum SELECTED_STATUS {
@@ -123,8 +122,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
123
122
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
124
123
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
125
124
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
125
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
126
126
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
127
127
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
128
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
128
129
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
129
130
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
130
131
  } & {
@@ -439,8 +440,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
439
440
  pristineRaw: any;
440
441
  upStreamData: any;
441
442
  action: any;
443
+ dialogSchema: any;
442
444
  dialogOpen: boolean;
443
445
  dialogData: any;
446
+ drawerSchema: any;
444
447
  drawerOpen: boolean;
445
448
  drawerData: any;
446
449
  msg: string;
@@ -673,7 +676,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
673
676
  closeDialog: (confirmed?: any, result?: any) => void;
674
677
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
675
678
  closePopOver: (confirmed?: any, result?: any) => void;
676
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
679
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
677
680
  changeEmitedValue: (value: any) => void;
678
681
  addSubFormItem: (item: {
679
682
  id: string;
@@ -1208,7 +1211,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
1208
1211
  closeDialog: (confirmed?: any, result?: any) => void;
1209
1212
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
1210
1213
  closePopOver: (confirmed?: any, result?: any) => void;
1211
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
1214
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1212
1215
  changeEmitedValue: (value: any) => void;
1213
1216
  addSubFormItem: (item: {
1214
1217
  id: string;
@@ -1749,7 +1752,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
1749
1752
  closeDialog: (confirmed?: any, result?: any) => void;
1750
1753
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
1751
1754
  closePopOver: (confirmed?: any, result?: any) => void;
1752
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
1755
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
1753
1756
  changeEmitedValue: (value: any) => void;
1754
1757
  addSubFormItem: (item: {
1755
1758
  id: string;
@@ -2284,7 +2287,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
2284
2287
  closeDialog: (confirmed?: any, result?: any) => void;
2285
2288
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
2286
2289
  closePopOver: (confirmed?: any, result?: any) => void;
2287
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
2290
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2288
2291
  changeEmitedValue: (value: any) => void;
2289
2292
  addSubFormItem: (item: {
2290
2293
  id: string;
@@ -2828,7 +2831,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
2828
2831
  closeDialog: (confirmed?: any, result?: any) => void;
2829
2832
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
2830
2833
  closePopOver: (confirmed?: any, result?: any) => void;
2831
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
2834
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
2832
2835
  changeEmitedValue: (value: any) => void;
2833
2836
  addSubFormItem: (item: {
2834
2837
  id: string;
@@ -3363,7 +3366,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
3363
3366
  closeDialog: (confirmed?: any, result?: any) => void;
3364
3367
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
3365
3368
  closePopOver: (confirmed?: any, result?: any) => void;
3366
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
3369
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3367
3370
  changeEmitedValue: (value: any) => void;
3368
3371
  addSubFormItem: (item: {
3369
3372
  id: string;
@@ -3902,7 +3905,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
3902
3905
  closeDialog: (confirmed?: any, result?: any) => void;
3903
3906
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
3904
3907
  closePopOver: (confirmed?: any, result?: any) => void;
3905
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
3908
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
3906
3909
  changeEmitedValue: (value: any) => void;
3907
3910
  addSubFormItem: (item: {
3908
3911
  id: string;
@@ -4437,7 +4440,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
4437
4440
  closeDialog: (confirmed?: any, result?: any) => void;
4438
4441
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
4439
4442
  closePopOver: (confirmed?: any, result?: any) => void;
4440
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
4443
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4441
4444
  changeEmitedValue: (value: any) => void;
4442
4445
  addSubFormItem: (item: {
4443
4446
  id: string;
@@ -4976,7 +4979,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
4976
4979
  closeDialog: (confirmed?: any, result?: any) => void;
4977
4980
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
4978
4981
  closePopOver: (confirmed?: any, result?: any) => void;
4979
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
4982
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
4980
4983
  changeEmitedValue: (value: any) => void;
4981
4984
  addSubFormItem: (item: {
4982
4985
  id: string;
@@ -5511,7 +5514,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
5511
5514
  closeDialog: (confirmed?: any, result?: any) => void;
5512
5515
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
5513
5516
  closePopOver: (confirmed?: any, result?: any) => void;
5514
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
5517
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
5515
5518
  changeEmitedValue: (value: any) => void;
5516
5519
  addSubFormItem: (item: {
5517
5520
  id: string;
@@ -5938,8 +5941,10 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
5938
5941
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5939
5942
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5940
5943
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5944
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
5941
5945
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
5942
5946
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5947
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
5943
5948
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
5944
5949
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
5945
5950
  } & {
@@ -6174,7 +6179,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
6174
6179
  closeDialog: (confirmed?: any, result?: any) => void;
6175
6180
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
6176
6181
  closePopOver: (confirmed?: any, result?: any) => void;
6177
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
6182
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
6178
6183
  changeEmitedValue: (value: any) => void;
6179
6184
  addSubFormItem: (item: {
6180
6185
  id: string;
@@ -6709,7 +6714,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
6709
6714
  closeDialog: (confirmed?: any, result?: any) => void;
6710
6715
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
6711
6716
  closePopOver: (confirmed?: any, result?: any) => void;
6712
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
6717
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
6713
6718
  changeEmitedValue: (value: any) => void;
6714
6719
  addSubFormItem: (item: {
6715
6720
  id: string;
@@ -7250,7 +7255,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
7250
7255
  closeDialog: (confirmed?: any, result?: any) => void;
7251
7256
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
7252
7257
  closePopOver: (confirmed?: any, result?: any) => void;
7253
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
7258
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
7254
7259
  changeEmitedValue: (value: any) => void;
7255
7260
  addSubFormItem: (item: {
7256
7261
  id: string;
@@ -7785,7 +7790,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
7785
7790
  closeDialog: (confirmed?: any, result?: any) => void;
7786
7791
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
7787
7792
  closePopOver: (confirmed?: any, result?: any) => void;
7788
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
7793
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
7789
7794
  changeEmitedValue: (value: any) => void;
7790
7795
  addSubFormItem: (item: {
7791
7796
  id: string;
@@ -8329,7 +8334,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
8329
8334
  closeDialog: (confirmed?: any, result?: any) => void;
8330
8335
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
8331
8336
  closePopOver: (confirmed?: any, result?: any) => void;
8332
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
8337
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
8333
8338
  changeEmitedValue: (value: any) => void;
8334
8339
  addSubFormItem: (item: {
8335
8340
  id: string;
@@ -8864,7 +8869,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
8864
8869
  closeDialog: (confirmed?: any, result?: any) => void;
8865
8870
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
8866
8871
  closePopOver: (confirmed?: any, result?: any) => void;
8867
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
8872
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
8868
8873
  changeEmitedValue: (value: any) => void;
8869
8874
  addSubFormItem: (item: {
8870
8875
  id: string;
@@ -9403,7 +9408,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
9403
9408
  closeDialog: (confirmed?: any, result?: any) => void;
9404
9409
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
9405
9410
  closePopOver: (confirmed?: any, result?: any) => void;
9406
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
9411
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
9407
9412
  changeEmitedValue: (value: any) => void;
9408
9413
  addSubFormItem: (item: {
9409
9414
  id: string;
@@ -9938,7 +9943,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
9938
9943
  closeDialog: (confirmed?: any, result?: any) => void;
9939
9944
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
9940
9945
  closePopOver: (confirmed?: any, result?: any) => void;
9941
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
9946
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
9942
9947
  changeEmitedValue: (value: any) => void;
9943
9948
  addSubFormItem: (item: {
9944
9949
  id: string;
@@ -10477,7 +10482,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
10477
10482
  closeDialog: (confirmed?: any, result?: any) => void;
10478
10483
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
10479
10484
  closePopOver: (confirmed?: any, result?: any) => void;
10480
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
10485
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
10481
10486
  changeEmitedValue: (value: any) => void;
10482
10487
  addSubFormItem: (item: {
10483
10488
  id: string;
@@ -11012,7 +11017,7 @@ export declare const TableStore: import("mobx-state-tree").IModelType<{
11012
11017
  closeDialog: (confirmed?: any, result?: any) => void;
11013
11018
  openPopOver: (schema: any, ctx: any, callback?: ((confirmed?: any, value?: any) => void) | undefined) => void;
11014
11019
  closePopOver: (confirmed?: any, result?: any) => void;
11015
- changeTmpValue: (value: any, changeReason?: "input" | "initialValue" | "formInited" | "dataChanged" | "formulaChanged" | "controlled" | "defaultValue" | undefined) => void;
11020
+ changeTmpValue: (value: any, changeReason?: "input" | "formInited" | "defaultValue" | "initialValue" | "dataChanged" | "formulaChanged" | "controlled" | undefined) => void;
11016
11021
  changeEmitedValue: (value: any) => void;
11017
11022
  addSubFormItem: (item: {
11018
11023
  id: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1065,7 +1065,8 @@ var TableStore = iRenderer.iRendererStore
1065
1065
  cols.forEach(function (col) {
1066
1066
  var index = parseInt(col.getAttribute('data-index'), 10);
1067
1067
  var column = self.columns[index];
1068
- column.setRealWidth(col.offsetWidth);
1068
+ var realWidth = col.getBoundingClientRect().width;
1069
+ column.setRealWidth(realWidth);
1069
1070
  });
1070
1071
  }
1071
1072
  function combineCell(arr, keys) {
@@ -1247,7 +1248,7 @@ var TableStore = iRenderer.iRendererStore
1247
1248
  function updateSelected(selected, valueField) {
1248
1249
  self.selectedRows.clear();
1249
1250
  selected.forEach(function (item) {
1250
- var resolved = helper.findTree(self.rows, function (a) { return a.pristine === item; });
1251
+ var resolved = helper.findTree(self.rows, function (a) { return a.pristine === item || a.data === item; });
1251
1252
  // 先严格比较,
1252
1253
  if (!resolved) {
1253
1254
  resolved = helper.findTree(self.rows, function (a) {
@@ -59,8 +59,10 @@ export declare const TableStore2: import("mobx-state-tree").IModelType<{
59
59
  pristineRaw: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
60
60
  upStreamData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
61
61
  action: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
62
+ dialogSchema: import("mobx-state-tree").IType<any, any, any>;
62
63
  dialogOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
63
64
  dialogData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
65
+ drawerSchema: import("mobx-state-tree").IType<any, any, any>;
64
66
  drawerOpen: import("mobx-state-tree").IType<boolean | undefined, boolean, boolean>;
65
67
  drawerData: import("mobx-state-tree").IOptionalIType<import("mobx-state-tree").IType<any, any, any>, [undefined]>;
66
68
  } & {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -25,9 +25,10 @@ var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
25
25
 
26
26
  var ServerError = /** @class */ (function (_super) {
27
27
  tslib.__extends(ServerError, _super);
28
- function ServerError() {
29
- var _this = _super !== null && _super.apply(this, arguments) || this;
28
+ function ServerError(msg) {
29
+ var _this = _super.call(this, msg) || this;
30
30
  _this.type = 'ServerError';
31
+ Object.setPrototypeOf(_this, ServerError.prototype);
31
32
  return _this;
32
33
  }
33
34
  return ServerError;
package/lib/theme.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
package/lib/utils/api.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -501,14 +501,19 @@ function wrapFetcher(fn, tracker) {
501
501
  api.dataType === 'form') {
502
502
  api.data = helper.qsstringify(api.data, api.qsOptions);
503
503
  api.headers = api.headers || (api.headers = {});
504
- api.headers['Content-Type'] = 'application/x-www-form-urlencoded';
504
+ if (!api.headers['Content-Type']) {
505
+ api.headers['Content-Type'] = 'application/x-www-form-urlencoded';
506
+ }
505
507
  }
506
508
  else if (api.data &&
507
509
  typeof api.data !== 'string' &&
508
510
  api.dataType === 'json') {
509
511
  api.data = JSON.stringify(api.data);
510
512
  api.headers = api.headers || (api.headers = {});
511
- api.headers['Content-Type'] = 'application/json';
513
+ // 避免覆盖用户自定义的Content-Type,如同为json请求,还有扩展的application/vnd.api+json
514
+ if (!api.headers['Content-Type']) {
515
+ api.headers['Content-Type'] = 'application/json';
516
+ }
512
517
  }
513
518
  // 如果发送适配器中设置了 mockResponse
514
519
  // 则直接跳过请求发送
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-core v6.13.0-beta.4
2
+ * amis-core v6.13.0-beta.5
3
3
  * Copyright 2018-2025 fex
4
4
  */
5
5