amis-core 6.11.0-beta.2 → 6.11.0-beta.4

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 (291) hide show
  1. package/esm/Root.js +2 -2
  2. package/esm/RootRenderer.js +2 -2
  3. package/esm/SchemaRenderer.js +2 -2
  4. package/esm/Scoped.js +2 -2
  5. package/esm/StatusScoped.js +2 -2
  6. package/esm/StyleManager.js +2 -2
  7. package/esm/WithRootStore.js +2 -2
  8. package/esm/WithStore.js +2 -2
  9. package/esm/actions/Action.js +2 -2
  10. package/esm/actions/AjaxAction.js +2 -2
  11. package/esm/actions/BreakAction.js +2 -2
  12. package/esm/actions/BroadcastAction.js +2 -2
  13. package/esm/actions/CmptAction.js +2 -2
  14. package/esm/actions/ContinueAction.js +2 -2
  15. package/esm/actions/CopyAction.js +2 -2
  16. package/esm/actions/CustomAction.js +2 -2
  17. package/esm/actions/DialogAction.js +2 -2
  18. package/esm/actions/DrawerAction.js +2 -2
  19. package/esm/actions/EmailAction.js +2 -2
  20. package/esm/actions/EventAction.js +2 -2
  21. package/esm/actions/LinkAction.js +2 -2
  22. package/esm/actions/LoopAction.js +2 -2
  23. package/esm/actions/PageAction.js +2 -2
  24. package/esm/actions/ParallelAction.js +2 -2
  25. package/esm/actions/PrintAction.js +2 -2
  26. package/esm/actions/StatusAction.js +2 -2
  27. package/esm/actions/SwitchAction.js +2 -2
  28. package/esm/actions/ToastAction.js +2 -2
  29. package/esm/actions/WaitAction.js +2 -2
  30. package/esm/components/Animations.js +2 -2
  31. package/esm/components/CustomStyle.js +2 -2
  32. package/esm/components/ErrorBoundary.js +2 -2
  33. package/esm/components/LazyComponent.js +2 -2
  34. package/esm/components/Overlay.js +2 -2
  35. package/esm/components/PopOver.js +2 -2
  36. package/esm/env.js +2 -2
  37. package/esm/envOverwrite.js +2 -2
  38. package/esm/factory.js +2 -2
  39. package/esm/globalVar.js +2 -2
  40. package/esm/globalVarClientHandler.js +2 -2
  41. package/esm/globalVarDefaultValueHandler.js +2 -2
  42. package/esm/index.d.ts +2 -1
  43. package/esm/index.js +6 -6
  44. package/esm/locale.js +2 -2
  45. package/esm/polyfills.js +2 -2
  46. package/esm/renderers/Form.d.ts +1 -0
  47. package/esm/renderers/Form.js +9 -6
  48. package/esm/renderers/Item.js +2 -2
  49. package/esm/renderers/Options.js +2 -2
  50. package/esm/renderers/Placeholder.js +2 -2
  51. package/esm/renderers/builtin.js +2 -2
  52. package/esm/renderers/register.js +2 -2
  53. package/esm/renderers/wrapControl.js +2 -2
  54. package/esm/store/app.js +2 -2
  55. package/esm/store/combo.js +2 -2
  56. package/esm/store/crud.js +2 -2
  57. package/esm/store/form.js +2 -2
  58. package/esm/store/formItem.js +9 -3
  59. package/esm/store/iRenderer.js +2 -2
  60. package/esm/store/index.js +2 -2
  61. package/esm/store/list.js +2 -2
  62. package/esm/store/manager.js +2 -2
  63. package/esm/store/modal.js +2 -2
  64. package/esm/store/node.js +2 -2
  65. package/esm/store/pagination.js +2 -2
  66. package/esm/store/root.js +2 -2
  67. package/esm/store/service.js +2 -2
  68. package/esm/store/status.js +2 -2
  69. package/esm/store/table.js +2 -2
  70. package/esm/store/table2.js +2 -2
  71. package/esm/theme.js +2 -2
  72. package/esm/utils/Animation.js +2 -2
  73. package/esm/utils/ColorScale.js +2 -2
  74. package/esm/utils/DataSchema.js +2 -2
  75. package/esm/utils/DataScope.js +2 -2
  76. package/esm/utils/RootClose.js +2 -2
  77. package/esm/utils/SimpleMap.js +2 -2
  78. package/esm/utils/animations.js +2 -2
  79. package/esm/utils/api.js +2 -2
  80. package/esm/utils/arraySlice.js +2 -2
  81. package/esm/utils/attachmentAdpator.js +2 -2
  82. package/esm/utils/autobind.js +2 -2
  83. package/esm/utils/browser.js +2 -2
  84. package/esm/utils/columnsSplit.js +2 -2
  85. package/esm/utils/concatData.js +2 -2
  86. package/esm/utils/dataMapping.js +2 -2
  87. package/esm/utils/date.js +2 -2
  88. package/esm/utils/debug.js +4 -3
  89. package/esm/utils/decodeEntity.js +2 -2
  90. package/esm/utils/dom.js +2 -2
  91. package/esm/utils/errors.js +2 -2
  92. package/esm/utils/escapeHtml.js +2 -2
  93. package/esm/utils/filter-schema.js +2 -2
  94. package/esm/utils/filter.js +2 -2
  95. package/esm/utils/formatDuration.js +2 -2
  96. package/esm/utils/formula.js +2 -2
  97. package/esm/utils/getVariable.js +2 -2
  98. package/esm/utils/grammar.js +2 -2
  99. package/esm/utils/handleAction.js +2 -2
  100. package/esm/utils/helper.js +2 -2
  101. package/esm/utils/highlight.js +2 -2
  102. package/esm/utils/icon.d.ts +10 -0
  103. package/esm/utils/icon.js +13 -3
  104. package/esm/utils/image.js +2 -2
  105. package/esm/utils/isPureVariable.js +2 -2
  106. package/esm/utils/json-schema-2-amis-schema.js +2 -2
  107. package/esm/utils/keyToPath.js +2 -2
  108. package/esm/utils/labelToString.js +2 -2
  109. package/esm/utils/loopTooMuch.js +2 -2
  110. package/esm/utils/makeSorter.js +2 -2
  111. package/esm/utils/math.js +2 -2
  112. package/esm/utils/memoryParse.js +2 -2
  113. package/esm/utils/normalizeLink.js +2 -2
  114. package/esm/utils/normalizeOptions.js +2 -2
  115. package/esm/utils/object.js +2 -2
  116. package/esm/utils/offset.js +2 -2
  117. package/esm/utils/offsetParent.js +2 -2
  118. package/esm/utils/optionValueCompare.js +2 -2
  119. package/esm/utils/position.js +2 -2
  120. package/esm/utils/prettyBytes.js +2 -2
  121. package/esm/utils/printElement.js +2 -2
  122. package/esm/utils/renderer-event.js +2 -2
  123. package/esm/utils/replaceText.js +2 -2
  124. package/esm/utils/resize-sensor.js +2 -2
  125. package/esm/utils/resolveCondition.js +2 -2
  126. package/esm/utils/resolveVariable.js +2 -2
  127. package/esm/utils/resolveVariableAndFilter.js +2 -2
  128. package/esm/utils/resolveVariableAndFilterForAsync.js +2 -2
  129. package/esm/utils/scrollPosition.js +2 -2
  130. package/esm/utils/string2regExp.js +2 -2
  131. package/esm/utils/stripNumber.js +2 -2
  132. package/esm/utils/style-helper.js +2 -2
  133. package/esm/utils/style.js +2 -2
  134. package/esm/utils/toNumber.js +2 -2
  135. package/esm/utils/tokenize.js +2 -2
  136. package/esm/utils/tpl-builtin.js +2 -2
  137. package/esm/utils/tpl-lodash.js +2 -2
  138. package/esm/utils/tpl.js +2 -2
  139. package/esm/utils/uncontrollable.d.ts +1 -1
  140. package/esm/utils/uncontrollable.js +2 -2
  141. package/esm/utils/validateId.js +2 -2
  142. package/esm/utils/validations.js +2 -2
  143. package/esm/utils/visitedCache.js +2 -2
  144. package/lib/Root.js +2 -2
  145. package/lib/RootRenderer.js +2 -2
  146. package/lib/SchemaRenderer.js +2 -2
  147. package/lib/Scoped.js +2 -2
  148. package/lib/StatusScoped.js +2 -2
  149. package/lib/StyleManager.js +2 -2
  150. package/lib/WithRootStore.js +2 -2
  151. package/lib/WithStore.js +2 -2
  152. package/lib/actions/Action.js +2 -2
  153. package/lib/actions/AjaxAction.js +2 -2
  154. package/lib/actions/BreakAction.js +2 -2
  155. package/lib/actions/BroadcastAction.js +2 -2
  156. package/lib/actions/CmptAction.js +2 -2
  157. package/lib/actions/ContinueAction.js +2 -2
  158. package/lib/actions/CopyAction.js +2 -2
  159. package/lib/actions/CustomAction.js +2 -2
  160. package/lib/actions/DialogAction.js +2 -2
  161. package/lib/actions/DrawerAction.js +2 -2
  162. package/lib/actions/EmailAction.js +2 -2
  163. package/lib/actions/EventAction.js +2 -2
  164. package/lib/actions/LinkAction.js +2 -2
  165. package/lib/actions/LoopAction.js +2 -2
  166. package/lib/actions/PageAction.js +2 -2
  167. package/lib/actions/ParallelAction.js +2 -2
  168. package/lib/actions/PrintAction.js +2 -2
  169. package/lib/actions/StatusAction.js +2 -2
  170. package/lib/actions/SwitchAction.js +2 -2
  171. package/lib/actions/ToastAction.js +2 -2
  172. package/lib/actions/WaitAction.js +2 -2
  173. package/lib/components/Animations.js +2 -2
  174. package/lib/components/CustomStyle.js +2 -2
  175. package/lib/components/ErrorBoundary.js +2 -2
  176. package/lib/components/LazyComponent.js +2 -2
  177. package/lib/components/Overlay.js +2 -2
  178. package/lib/components/PopOver.js +2 -2
  179. package/lib/env.js +2 -2
  180. package/lib/envOverwrite.js +2 -2
  181. package/lib/factory.js +2 -2
  182. package/lib/globalVar.js +2 -2
  183. package/lib/globalVarClientHandler.js +2 -2
  184. package/lib/globalVarDefaultValueHandler.js +2 -2
  185. package/lib/index.d.ts +2 -1
  186. package/lib/index.js +7 -5
  187. package/lib/locale.js +2 -2
  188. package/lib/polyfills.js +2 -2
  189. package/lib/renderers/Form.d.ts +1 -0
  190. package/lib/renderers/Form.js +9 -6
  191. package/lib/renderers/Item.js +2 -2
  192. package/lib/renderers/Options.js +2 -2
  193. package/lib/renderers/Placeholder.js +2 -2
  194. package/lib/renderers/builtin.js +2 -2
  195. package/lib/renderers/register.js +2 -2
  196. package/lib/renderers/wrapControl.js +2 -2
  197. package/lib/store/app.js +2 -2
  198. package/lib/store/combo.d.ts +25 -24
  199. package/lib/store/combo.js +2 -2
  200. package/lib/store/crud.js +2 -2
  201. package/lib/store/form.d.ts +11 -10
  202. package/lib/store/form.js +2 -2
  203. package/lib/store/formItem.js +9 -3
  204. package/lib/store/iRenderer.js +2 -2
  205. package/lib/store/index.js +2 -2
  206. package/lib/store/list.js +2 -2
  207. package/lib/store/manager.js +2 -2
  208. package/lib/store/modal.js +2 -2
  209. package/lib/store/node.js +2 -2
  210. package/lib/store/pagination.js +2 -2
  211. package/lib/store/root.d.ts +1 -0
  212. package/lib/store/root.js +2 -2
  213. package/lib/store/service.js +2 -2
  214. package/lib/store/status.js +2 -2
  215. package/lib/store/table.d.ts +21 -20
  216. package/lib/store/table.js +2 -2
  217. package/lib/store/table2.js +2 -2
  218. package/lib/theme.js +2 -2
  219. package/lib/utils/Animation.js +2 -2
  220. package/lib/utils/ColorScale.js +2 -2
  221. package/lib/utils/DataSchema.js +2 -2
  222. package/lib/utils/DataScope.js +2 -2
  223. package/lib/utils/RootClose.js +2 -2
  224. package/lib/utils/SimpleMap.js +2 -2
  225. package/lib/utils/animations.js +2 -2
  226. package/lib/utils/api.js +2 -2
  227. package/lib/utils/arraySlice.js +2 -2
  228. package/lib/utils/attachmentAdpator.js +2 -2
  229. package/lib/utils/autobind.js +2 -2
  230. package/lib/utils/browser.js +2 -2
  231. package/lib/utils/columnsSplit.js +2 -2
  232. package/lib/utils/concatData.js +2 -2
  233. package/lib/utils/dataMapping.js +2 -2
  234. package/lib/utils/date.js +2 -2
  235. package/lib/utils/debug.js +4 -3
  236. package/lib/utils/decodeEntity.js +2 -2
  237. package/lib/utils/dom.js +2 -2
  238. package/lib/utils/errors.js +2 -2
  239. package/lib/utils/escapeHtml.js +2 -2
  240. package/lib/utils/filter-schema.js +2 -2
  241. package/lib/utils/filter.js +2 -2
  242. package/lib/utils/formatDuration.js +2 -2
  243. package/lib/utils/formula.js +2 -2
  244. package/lib/utils/getVariable.js +2 -2
  245. package/lib/utils/grammar.js +2 -2
  246. package/lib/utils/handleAction.js +2 -2
  247. package/lib/utils/helper.js +2 -2
  248. package/lib/utils/highlight.js +2 -2
  249. package/lib/utils/icon.d.ts +10 -0
  250. package/lib/utils/icon.js +14 -2
  251. package/lib/utils/image.js +2 -2
  252. package/lib/utils/isPureVariable.js +2 -2
  253. package/lib/utils/json-schema-2-amis-schema.js +2 -2
  254. package/lib/utils/keyToPath.js +2 -2
  255. package/lib/utils/labelToString.js +2 -2
  256. package/lib/utils/loopTooMuch.js +2 -2
  257. package/lib/utils/makeSorter.js +2 -2
  258. package/lib/utils/math.js +2 -2
  259. package/lib/utils/memoryParse.js +2 -2
  260. package/lib/utils/normalizeLink.js +2 -2
  261. package/lib/utils/normalizeOptions.js +2 -2
  262. package/lib/utils/object.js +2 -2
  263. package/lib/utils/offset.js +2 -2
  264. package/lib/utils/offsetParent.js +2 -2
  265. package/lib/utils/optionValueCompare.js +2 -2
  266. package/lib/utils/position.js +2 -2
  267. package/lib/utils/prettyBytes.js +2 -2
  268. package/lib/utils/printElement.js +2 -2
  269. package/lib/utils/renderer-event.js +2 -2
  270. package/lib/utils/replaceText.js +2 -2
  271. package/lib/utils/resize-sensor.js +2 -2
  272. package/lib/utils/resolveCondition.js +2 -2
  273. package/lib/utils/resolveVariable.js +2 -2
  274. package/lib/utils/resolveVariableAndFilter.js +2 -2
  275. package/lib/utils/resolveVariableAndFilterForAsync.js +2 -2
  276. package/lib/utils/scrollPosition.js +2 -2
  277. package/lib/utils/string2regExp.js +2 -2
  278. package/lib/utils/stripNumber.js +2 -2
  279. package/lib/utils/style-helper.js +2 -2
  280. package/lib/utils/style.js +2 -2
  281. package/lib/utils/toNumber.js +2 -2
  282. package/lib/utils/tokenize.js +2 -2
  283. package/lib/utils/tpl-builtin.js +2 -2
  284. package/lib/utils/tpl-lodash.js +2 -2
  285. package/lib/utils/tpl.js +2 -2
  286. package/lib/utils/uncontrollable.d.ts +1 -1
  287. package/lib/utils/uncontrollable.js +2 -2
  288. package/lib/utils/validateId.js +2 -2
  289. package/lib/utils/validations.js +2 -2
  290. package/lib/utils/visitedCache.js +2 -2
  291. package/package.json +2 -2
package/esm/Root.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __rest, __assign, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __rest, __awaiter, __generator, __spreadArray, __read, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __awaiter, __generator, __rest, __values, __decorate, __metadata } from 'tslib';
package/esm/Scoped.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __values, __assign, __awaiter, __generator, __extends, __rest, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign } from 'tslib';
package/esm/WithStore.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __rest, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __values, __assign, __spreadArray, __read } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __values } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __values } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __awaiter, __generator } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __read } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { useEffect } from 'react';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __rest, __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __rest, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __rest, __assign, __decorate, __metadata } from 'tslib';
package/esm/env.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { JSONValueMap } from './utils/helper.js';
package/esm/factory.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign, __awaiter, __generator } from 'tslib';
package/esm/globalVar.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { isExpression } from './utils/formula.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
package/esm/index.d.ts CHANGED
@@ -56,6 +56,7 @@ import CustomStyle from './components/CustomStyle';
56
56
  import { StatusScoped } from './StatusScoped';
57
57
  import styleManager from './StyleManager';
58
58
  import { bindGlobalEvent, dispatchGlobalEvent } from './utils/renderer-event';
59
+ import { getCustomVendor, registerCustomVendor } from './utils/icon';
59
60
  export declare const version = "__buildVersion";
60
- export { styleManager, clearStoresCache, updateEnv, Renderer, RendererProps, RenderOptions, RendererEnv, EnvContext, RegisterStore, registerStore, FormItem, FormItemWrap, FormItemProps, OptionsControl, FormRenderer, FormHorizontal, utils, getRendererByName, registerRenderer, unRegisterRenderer, getRenderers, loadAllAsyncRenderers, loadAsyncRenderersByType, loadAsyncRenderer, hasAsyncRenderers, registerFormItem, getFormItemByName, registerOptionsControl, resolveRenderer, filterSchema, Scoped, ScopedContext, IScopedContext, StatusScoped, setDefaultTheme, theme, themeable, ThemeProps, getTheme, classPrefix, getClassPrefix, classnames, makeClassnames, bindGlobalEvent, dispatchGlobalEvent, getDefaultLocale, setDefaultLocale, registerLocale, makeTranslator, extendLocale, removeLocaleData, localeable, LocaleProps, TranslateFn, ClassNamesFn, parse, lexer, Evaluator, AsyncEvaluator, FilterContext, filters, getFilters, registerFilter, extendsFilters, registerFunction, evaluate, evaluateForAsync, LazyComponent, Overlay, PopOver, ErrorBoundary, addSchemaFilter, OptionsControlProps, OptionsControlBase, FormOptionsControl, FormControlProps, FormBaseControl, extendDefaultEnv, addRootWrapper, RendererConfig, styleMap, RENDERER_TRANSMISSION_OMIT_PROPS, ScopedComponentType, IItem, IColumn, IRow, IColumn2, IRow2, OnEventProps, FormSchemaBase, filterTarget, splitTarget, CustomStyle, enableDebug, disableDebug, envOverwrite, getGlobalOptions, setGlobalOptions, wrapFetcher, SchemaRenderer };
61
+ export { styleManager, clearStoresCache, updateEnv, Renderer, RendererProps, RenderOptions, RendererEnv, EnvContext, RegisterStore, registerStore, FormItem, FormItemWrap, FormItemProps, OptionsControl, FormRenderer, FormHorizontal, utils, getRendererByName, registerRenderer, unRegisterRenderer, getRenderers, loadAllAsyncRenderers, loadAsyncRenderersByType, loadAsyncRenderer, hasAsyncRenderers, registerFormItem, getFormItemByName, registerOptionsControl, resolveRenderer, filterSchema, Scoped, ScopedContext, IScopedContext, StatusScoped, setDefaultTheme, theme, themeable, ThemeProps, getTheme, classPrefix, getClassPrefix, classnames, makeClassnames, bindGlobalEvent, dispatchGlobalEvent, getDefaultLocale, setDefaultLocale, registerLocale, makeTranslator, extendLocale, removeLocaleData, localeable, LocaleProps, TranslateFn, ClassNamesFn, parse, lexer, Evaluator, AsyncEvaluator, FilterContext, filters, getFilters, registerFilter, extendsFilters, registerFunction, evaluate, evaluateForAsync, LazyComponent, Overlay, PopOver, ErrorBoundary, addSchemaFilter, OptionsControlProps, OptionsControlBase, FormOptionsControl, FormControlProps, FormBaseControl, extendDefaultEnv, addRootWrapper, RendererConfig, styleMap, RENDERER_TRANSMISSION_OMIT_PROPS, ScopedComponentType, IItem, IColumn, IRow, IColumn2, IRow2, OnEventProps, FormSchemaBase, filterTarget, splitTarget, CustomStyle, enableDebug, disableDebug, envOverwrite, getGlobalOptions, setGlobalOptions, wrapFetcher, SchemaRenderer, getCustomVendor, registerCustomVendor };
61
62
  export declare function render(schema: Schema, props?: RootRenderProps, options?: RenderOptions, pathPrefix?: string): JSX.Element;
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign, __rest } from 'tslib';
@@ -38,7 +38,7 @@ import * as helper from './utils/helper.js';
38
38
  export { helper as utils };
39
39
  export { JSONTraverse, JSONValueMap, SkipOperation, TEST_ID_KEY, TestIdBuilder, ValidateError, __uri, anyChanged, applyFilters, autobind, buildTrackExpression, bulkBindFunctions, camel, chainEvents, chainFunctions, changedEffect, convertArrayValueToMoment, countTree, detectPropValueChanged, difference, differenceFromAll, eachTree, evalTrackExpression, everyTree, filterTree, findIndex, findObjectsWithKey, findTree, findTreeAll, findTreeIndex, flattenTree, flattenTreeWithLeafNodes, formateCheckThemeCss, formateId, getLevelFromClassName, getPropValue, getRange, getScrollParent, getScrollbarWidth, getTree, getTreeAncestors, getTreeDepth, getTreeParent, getWidthRate, guid, hasAbility, hasFile, hasOwnPropertyInPath, hasVisibleExpression, hashCode, immutableExtends, importLazyComponent, injectPropsToObject, isArrayChildrenModified, isBreakpoint, isClickOnInput, isDisabled, isEmpty, isMobile, isNumeric, isObjectShallowModified, isSuperDataModified, isUnfolded, isVisible, lcFirst, loadScript, loadStyle, makeColumnClassBuild, makeHorizontalDeeper, mapObject, mapTree, noop, normalizeNodePath, object2formData, omitControls, padArr, parsePrimitiveQueryString, parseQuery, pickEventsProps, preventDefault, promisify, qsparse, qsstringify, range, removeHTMLTag, repeatCount, replaceUrlParams, rmUndefined, someTree, sortArray, spliceTree, supportsMjs, syncDataFromSuper, ucFirst, until, uuid, uuidv4, visibilityFilter } from './utils/helper.js';
40
40
  export { highlight } from './utils/highlight.js';
41
- export { generateIcon } from './utils/icon.js';
41
+ export { generateIcon, getCustomVendor, registerCustomVendor } from './utils/icon.js';
42
42
  export { getImageDimensions, toDataURL } from './utils/image.js';
43
43
  export { isPureVariable } from './utils/isPureVariable.js';
44
44
  export { JSONSchme2AMisSchema } from './utils/json-schema-2-amis-schema.js';
@@ -154,10 +154,10 @@ export { StoreNode } from './store/node.js';
154
154
  */
155
155
  var classPrefix = getClassPrefix();
156
156
  // @ts-ignore
157
- var version = '6.11.0-beta.2';
157
+ var version = '6.11.0-beta.4';
158
158
  window.amisVersionInfo = {
159
- version: '6.11.0-beta.2',
160
- buildTime: '2024-12-24T03:28:24.148Z'
159
+ version: '6.11.0-beta.4',
160
+ buildTime: '2025-01-09T02:14:45.375Z'
161
161
  };
162
162
  function render(schema, props, options, pathPrefix) {
163
163
  if (props === void 0) { props = {}; }
package/esm/locale.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign, __extends, __spreadArray, __read } from 'tslib';
package/esm/polyfills.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  /**
@@ -386,6 +386,7 @@ export declare class FormRendererBase extends Form {
386
386
  constructor(props: FormProps, context: IScopedContext);
387
387
  componentDidMount(): void;
388
388
  componentWillUnmount(): void;
389
+ focus(): void;
389
390
  doAction(action: ActionObject, data?: object, throwErrors?: boolean): Promise<any>;
390
391
  handleAction(e: React.UIEvent<any> | undefined, action: ActionObject, ctx: object, throwErrors?: boolean, delegate?: IScopedContext): Promise<any>;
391
392
  handleDialogConfirm(values: object[], action: ActionObject, ctx: any, targets: Array<any>): void;
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __awaiter, __generator, __assign, __values, __decorate } from 'tslib';
@@ -1491,10 +1491,7 @@ var FormRendererBase = /** @class */ (function (_super) {
1491
1491
  FormRendererBase.prototype.componentDidMount = function () {
1492
1492
  _super.prototype.componentDidMount.call(this);
1493
1493
  if (this.props.autoFocus) {
1494
- var scoped = this.context;
1495
- var inputs = scoped.getComponents();
1496
- var focuableInput_1 = find(inputs, function (input) { return input.focus; });
1497
- focuableInput_1 && setTimeout(function () { return focuableInput_1.focus(); }, 200);
1494
+ this.focus();
1498
1495
  }
1499
1496
  };
1500
1497
  FormRendererBase.prototype.componentWillUnmount = function () {
@@ -1502,6 +1499,12 @@ var FormRendererBase = /** @class */ (function (_super) {
1502
1499
  scoped.unRegisterComponent(this);
1503
1500
  _super.prototype.componentWillUnmount.call(this);
1504
1501
  };
1502
+ FormRendererBase.prototype.focus = function () {
1503
+ var scoped = this.context;
1504
+ var inputs = scoped.getComponents();
1505
+ var focuableInput = find(inputs, function (input) { return input.focus; });
1506
+ focuableInput && setTimeout(function () { return focuableInput.focus(); }, 200);
1507
+ };
1505
1508
  FormRendererBase.prototype.doAction = function (action, data, throwErrors) {
1506
1509
  if (data === void 0) { data = this.props.store.data; }
1507
1510
  if (throwErrors === void 0) { throwErrors = false; }
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __awaiter, __generator, __assign, __read, __rest, __decorate, __metadata, __spreadArray } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __awaiter, __generator, __assign, __spreadArray, __read, __decorate, __metadata } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { Placeholder } from './Placeholder.js';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __awaiter, __generator } from 'tslib';
package/esm/store/app.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __assign } from 'tslib';
package/esm/store/crud.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __extends, __assign, __generator, __rest, __values, __awaiter } from 'tslib';
package/esm/store/form.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-core v6.11.0-beta.2
3
- * Copyright 2018-2024 fex
2
+ * amis-core v6.11.0-beta.4
3
+ * Copyright 2018-2025 fex
4
4
  */
5
5
 
6
6
  import { __generator, __assign, __read, __spreadArray } from 'tslib';