amis-editor 6.13.0-beta.0 → 6.13.0-beta.10

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 (861) hide show
  1. package/esm/builder/ApiDSBuilder.d.ts +14 -0
  2. package/esm/builder/ApiDSBuilder.js +54 -14
  3. package/esm/builder/DSBuilder.d.ts +4 -0
  4. package/esm/builder/DSBuilder.js +2 -2
  5. package/esm/builder/DSBuilderManager.js +2 -2
  6. package/esm/builder/constants.js +3 -3
  7. package/esm/builder/type.d.ts +2 -1
  8. package/esm/builder/utils.js +2 -2
  9. package/esm/component/BaseControl.js +2 -2
  10. package/esm/component/InputComponentName.js +2 -2
  11. package/esm/component/ModalSettingPanel.js +46 -35
  12. package/esm/component/TableViewEditor.js +2 -2
  13. package/esm/icons/btn/btn-group.svg.js +2 -2
  14. package/esm/icons/btn/btn-select.svg.js +2 -2
  15. package/esm/icons/btn/btn-toolbar.svg.js +2 -2
  16. package/esm/icons/btn/button.svg.js +2 -2
  17. package/esm/icons/btn/dropdown-btn.svg.js +2 -2
  18. package/esm/icons/container/anchor-nav.svg.js +2 -2
  19. package/esm/icons/container/collapse.svg.js +2 -2
  20. package/esm/icons/container/container.svg.js +2 -2
  21. package/esm/icons/container/flex-container.svg.js +2 -2
  22. package/esm/icons/container/form-group.svg.js +2 -2
  23. package/esm/icons/container/grid.svg.js +2 -2
  24. package/esm/icons/container/iframe.svg.js +2 -2
  25. package/esm/icons/container/panel.svg.js +2 -2
  26. package/esm/icons/container/switch-container.svg.js +2 -2
  27. package/esm/icons/container/table-view.svg.js +2 -2
  28. package/esm/icons/container/tabs.svg.js +2 -2
  29. package/esm/icons/container/tooltip-wrapper.svg.js +2 -2
  30. package/esm/icons/container/web-component.svg.js +2 -2
  31. package/esm/icons/crud/column-add.svg.js +2 -2
  32. package/esm/icons/crud/column-delete.svg.js +2 -2
  33. package/esm/icons/crud/column-setting.svg.js +2 -2
  34. package/esm/icons/crud/share-link.svg.js +2 -2
  35. package/esm/icons/display/aBaseline.svg.js +2 -2
  36. package/esm/icons/display/aCenter.svg.js +2 -2
  37. package/esm/icons/display/aFlexEnd.svg.js +2 -2
  38. package/esm/icons/display/aFlexStart.svg.js +2 -2
  39. package/esm/icons/display/aStretch.svg.js +2 -2
  40. package/esm/icons/display/block.svg.js +2 -2
  41. package/esm/icons/display/dcolumn.svg.js +2 -2
  42. package/esm/icons/display/dcolumnReverse.svg.js +2 -2
  43. package/esm/icons/display/drow.svg.js +2 -2
  44. package/esm/icons/display/drowReverse.svg.js +2 -2
  45. package/esm/icons/display/flex.svg.js +2 -2
  46. package/esm/icons/display/inline-block.svg.js +2 -2
  47. package/esm/icons/display/inline.svg.js +2 -2
  48. package/esm/icons/display/jCenter.svg.js +2 -2
  49. package/esm/icons/display/jFlexEnd.svg.js +2 -2
  50. package/esm/icons/display/jFlexStart.svg.js +2 -2
  51. package/esm/icons/display/jSpaceAround.svg.js +2 -2
  52. package/esm/icons/display/jSpaceBetween.svg.js +2 -2
  53. package/esm/icons/feat/audio.svg.js +2 -2
  54. package/esm/icons/feat/custom.svg.js +2 -2
  55. package/esm/icons/feat/each.svg.js +2 -2
  56. package/esm/icons/feat/form.svg.js +2 -2
  57. package/esm/icons/feat/nav.svg.js +2 -2
  58. package/esm/icons/feat/qrcode.svg.js +2 -2
  59. package/esm/icons/feat/service.svg.js +2 -2
  60. package/esm/icons/feat/table.svg.js +2 -2
  61. package/esm/icons/feat/tasks.svg.js +2 -2
  62. package/esm/icons/feat/video.svg.js +2 -2
  63. package/esm/icons/feat/wizard.svg.js +2 -2
  64. package/esm/icons/form/chained-select.svg.js +2 -2
  65. package/esm/icons/form/checkbox.svg.js +2 -2
  66. package/esm/icons/form/checkboxes.svg.js +2 -2
  67. package/esm/icons/form/combo.svg.js +2 -2
  68. package/esm/icons/form/condition-builder.svg.js +2 -2
  69. package/esm/icons/form/diff-editor.svg.js +2 -2
  70. package/esm/icons/form/editor.svg.js +2 -2
  71. package/esm/icons/form/formula.svg.js +2 -2
  72. package/esm/icons/form/hidden.svg.js +2 -2
  73. package/esm/icons/form/input-city.svg.js +2 -2
  74. package/esm/icons/form/input-color.svg.js +2 -2
  75. package/esm/icons/form/input-date-range.svg.js +2 -2
  76. package/esm/icons/form/input-date.svg.js +2 -2
  77. package/esm/icons/form/input-datetime.svg.js +2 -2
  78. package/esm/icons/form/input-email.svg.js +2 -2
  79. package/esm/icons/form/input-excel.svg.js +2 -2
  80. package/esm/icons/form/input-file.svg.js +2 -2
  81. package/esm/icons/form/input-group.svg.js +2 -2
  82. package/esm/icons/form/input-image.svg.js +2 -2
  83. package/esm/icons/form/input-kv.svg.js +2 -2
  84. package/esm/icons/form/input-month-range.svg.js +2 -2
  85. package/esm/icons/form/input-number.svg.js +2 -2
  86. package/esm/icons/form/input-password.svg.js +2 -2
  87. package/esm/icons/form/input-quarter-range.svg.js +2 -2
  88. package/esm/icons/form/input-range.svg.js +2 -2
  89. package/esm/icons/form/input-rating.svg.js +2 -2
  90. package/esm/icons/form/input-repeat.svg.js +2 -2
  91. package/esm/icons/form/input-rich-text.svg.js +2 -2
  92. package/esm/icons/form/input-signature.svg.js +2 -2
  93. package/esm/icons/form/input-tag.svg.js +2 -2
  94. package/esm/icons/form/input-text.svg.js +2 -2
  95. package/esm/icons/form/input-time-range.svg.js +2 -2
  96. package/esm/icons/form/input-time.svg.js +2 -2
  97. package/esm/icons/form/input-tree.svg.js +2 -2
  98. package/esm/icons/form/input-url.svg.js +2 -2
  99. package/esm/icons/form/input-year.svg.js +2 -2
  100. package/esm/icons/form/inputArray.svg.js +2 -2
  101. package/esm/icons/form/list-select.svg.js +2 -2
  102. package/esm/icons/form/location-picker.svg.js +2 -2
  103. package/esm/icons/form/matrix-checkboxes.svg.js +2 -2
  104. package/esm/icons/form/month.svg.js +2 -2
  105. package/esm/icons/form/nested-select.svg.js +2 -2
  106. package/esm/icons/form/picker.svg.js +2 -2
  107. package/esm/icons/form/quarter.svg.js +2 -2
  108. package/esm/icons/form/radios.svg.js +2 -2
  109. package/esm/icons/form/select.svg.js +2 -2
  110. package/esm/icons/form/static.svg.js +2 -2
  111. package/esm/icons/form/sub-form.svg.js +2 -2
  112. package/esm/icons/form/switch.svg.js +2 -2
  113. package/esm/icons/form/tabs-transfer.svg.js +2 -2
  114. package/esm/icons/form/textarea.svg.js +2 -2
  115. package/esm/icons/form/transfer.svg.js +2 -2
  116. package/esm/icons/form/tree-select.svg.js +2 -2
  117. package/esm/icons/form/uuid.svg.js +2 -2
  118. package/esm/icons/index.js +2 -2
  119. package/esm/icons/layout/layout-1with2.svg.js +2 -2
  120. package/esm/icons/layout/layout-2cols.svg.js +2 -2
  121. package/esm/icons/layout/layout-2row.svg.js +2 -2
  122. package/esm/icons/layout/layout-2with1.svg.js +2 -2
  123. package/esm/icons/layout/layout-3cols.svg.js +2 -2
  124. package/esm/icons/layout/layout-3row.svg.js +2 -2
  125. package/esm/icons/layout/layout-absolute.svg.js +2 -2
  126. package/esm/icons/layout/layout-fixed-top.svg.js +2 -2
  127. package/esm/icons/layout/layout-fixed.svg.js +2 -2
  128. package/esm/icons/layout/layout-free-container.svg.js +2 -2
  129. package/esm/icons/layout/layout-full.svg.js +2 -2
  130. package/esm/icons/layout/layout1-2.svg.js +2 -2
  131. package/esm/icons/layout/layout2-1.svg.js +2 -2
  132. package/esm/icons/layout/layout3-1.svg.js +2 -2
  133. package/esm/icons/layout/layout3-2.svg.js +2 -2
  134. package/esm/icons/other/_fx.svg.js +2 -2
  135. package/esm/icons/other/divider.svg.js +2 -2
  136. package/esm/icons/other/fx.svg.js +2 -2
  137. package/esm/icons/other/global-var.svg.js +2 -2
  138. package/esm/icons/other/modal-setting.svg.js +2 -2
  139. package/esm/icons/other/property-sheet.svg.js +2 -2
  140. package/esm/icons/other/tooltip.svg.js +2 -2
  141. package/esm/icons/show/URL.svg.js +2 -2
  142. package/esm/icons/show/avatar.svg.js +2 -2
  143. package/esm/icons/show/breadcrumb.svg.js +2 -2
  144. package/esm/icons/show/card.svg.js +2 -2
  145. package/esm/icons/show/cards.svg.js +2 -2
  146. package/esm/icons/show/carousel.svg.js +2 -2
  147. package/esm/icons/show/chart.svg.js +2 -2
  148. package/esm/icons/show/code.svg.js +2 -2
  149. package/esm/icons/show/date.svg.js +2 -2
  150. package/esm/icons/show/datetime.svg.js +2 -2
  151. package/esm/icons/show/image.svg.js +2 -2
  152. package/esm/icons/show/images.svg.js +2 -2
  153. package/esm/icons/show/json-view.svg.js +2 -2
  154. package/esm/icons/show/list.svg.js +2 -2
  155. package/esm/icons/show/log.svg.js +2 -2
  156. package/esm/icons/show/mapping.svg.js +2 -2
  157. package/esm/icons/show/markdown.svg.js +2 -2
  158. package/esm/icons/show/plain.svg.js +2 -2
  159. package/esm/icons/show/progress.svg.js +2 -2
  160. package/esm/icons/show/sparkline.svg.js +2 -2
  161. package/esm/icons/show/status.svg.js +2 -2
  162. package/esm/icons/show/steps.svg.js +2 -2
  163. package/esm/icons/show/time.svg.js +2 -2
  164. package/esm/icons/theme/css.svg.js +2 -2
  165. package/esm/index.js +2 -2
  166. package/esm/locale/en-US.js +490 -3
  167. package/esm/locale/zh-CN.js +490 -3
  168. package/esm/plugin/Alert.js +2 -2
  169. package/esm/plugin/AnchorNav.js +2 -2
  170. package/esm/plugin/Audio.js +2 -2
  171. package/esm/plugin/Avatar.js +4 -4
  172. package/esm/plugin/Breadcrumb.js +2 -2
  173. package/esm/plugin/Button.js +5 -5
  174. package/esm/plugin/ButtonGroup.js +2 -2
  175. package/esm/plugin/CRUD.js +31 -31
  176. package/esm/plugin/CRUD2/BaseCRUD.js +23 -28
  177. package/esm/plugin/CRUD2/CRUDTable.js +2 -2
  178. package/esm/plugin/CRUD2/constants.js +8 -2
  179. package/esm/plugin/CRUD2/utils.js +2 -2
  180. package/esm/plugin/Calendar.js +3 -3
  181. package/esm/plugin/Card.js +2 -2
  182. package/esm/plugin/Card2.js +2 -2
  183. package/esm/plugin/Cards.js +5 -4
  184. package/esm/plugin/Carousel.d.ts +1 -0
  185. package/esm/plugin/Carousel.js +64 -12
  186. package/esm/plugin/Chart.js +2 -2
  187. package/esm/plugin/CodeView.js +2 -2
  188. package/esm/plugin/Collapse.js +3 -3
  189. package/esm/plugin/CollapseGroup.js +4 -4
  190. package/esm/plugin/ColumnToggler.js +3 -3
  191. package/esm/plugin/Container.js +4 -4
  192. package/esm/plugin/Custom.js +2 -2
  193. package/esm/plugin/CustomRegion.js +2 -2
  194. package/esm/plugin/Date.js +2 -2
  195. package/esm/plugin/Datetime.js +2 -2
  196. package/esm/plugin/Dialog.js +6 -6
  197. package/esm/plugin/Divider.js +2 -2
  198. package/esm/plugin/Drawer.js +5 -5
  199. package/esm/plugin/DropDownButton.js +2 -2
  200. package/esm/plugin/Each.js +2 -2
  201. package/esm/plugin/Flex.js +2 -2
  202. package/esm/plugin/Form/ButtonGroupSelect.js +3 -3
  203. package/esm/plugin/Form/ButtonToolbar.js +2 -2
  204. package/esm/plugin/Form/ChainedSelect.js +6 -6
  205. package/esm/plugin/Form/Checkbox.js +12 -12
  206. package/esm/plugin/Form/Checkboxes.js +12 -12
  207. package/esm/plugin/Form/CodeEditor.js +3 -3
  208. package/esm/plugin/Form/Combo.js +13 -11
  209. package/esm/plugin/Form/ConditionBuilder.js +2 -2
  210. package/esm/plugin/Form/Control.js +2 -2
  211. package/esm/plugin/Form/DiffEditor.js +3 -3
  212. package/esm/plugin/Form/FieldSet.js +2 -2
  213. package/esm/plugin/Form/Form.js +53 -37
  214. package/esm/plugin/Form/Formula.js +2 -2
  215. package/esm/plugin/Form/Group.js +2 -2
  216. package/esm/plugin/Form/Hidden.js +2 -2
  217. package/esm/plugin/Form/InputArray.js +2 -2
  218. package/esm/plugin/Form/InputCity.js +2 -2
  219. package/esm/plugin/Form/InputColor.js +3 -3
  220. package/esm/plugin/Form/InputDate.js +3 -3
  221. package/esm/plugin/Form/InputDateRange.js +3 -3
  222. package/esm/plugin/Form/InputDateTime.js +2 -2
  223. package/esm/plugin/Form/InputDateTimeRange.js +2 -2
  224. package/esm/plugin/Form/InputEmail.js +2 -2
  225. package/esm/plugin/Form/InputExcel.js +12 -5
  226. package/esm/plugin/Form/InputFile.js +3 -3
  227. package/esm/plugin/Form/InputGroup.js +2 -2
  228. package/esm/plugin/Form/InputImage.js +3 -3
  229. package/esm/plugin/Form/InputKV.d.ts +1 -1
  230. package/esm/plugin/Form/InputKV.js +28 -25
  231. package/esm/plugin/Form/InputMonth.js +2 -2
  232. package/esm/plugin/Form/InputMonthRange.js +2 -2
  233. package/esm/plugin/Form/InputNumber.js +5 -5
  234. package/esm/plugin/Form/InputPassword.js +2 -2
  235. package/esm/plugin/Form/InputQuarter.js +2 -2
  236. package/esm/plugin/Form/InputQuarterRange.js +2 -2
  237. package/esm/plugin/Form/InputRange.js +3 -3
  238. package/esm/plugin/Form/InputRating.js +3 -3
  239. package/esm/plugin/Form/InputRepeat.js +4 -5
  240. package/esm/plugin/Form/InputRichText.js +2 -2
  241. package/esm/plugin/Form/InputSignature.js +14 -14
  242. package/esm/plugin/Form/InputSubForm.js +2 -2
  243. package/esm/plugin/Form/InputTable.js +19 -19
  244. package/esm/plugin/Form/InputTag.js +3 -3
  245. package/esm/plugin/Form/InputText.js +14 -14
  246. package/esm/plugin/Form/InputTime.js +2 -2
  247. package/esm/plugin/Form/InputTimeRange.js +2 -2
  248. package/esm/plugin/Form/InputTree.js +22 -22
  249. package/esm/plugin/Form/InputURL.js +2 -2
  250. package/esm/plugin/Form/InputYear.js +2 -2
  251. package/esm/plugin/Form/InputYearRange.js +2 -2
  252. package/esm/plugin/Form/Item.js +2 -2
  253. package/esm/plugin/Form/ListSelect.js +3 -3
  254. package/esm/plugin/Form/LocationPicker.js +5 -5
  255. package/esm/plugin/Form/MatrixCheckboxes.js +2 -2
  256. package/esm/plugin/Form/NestedSelect.js +9 -8
  257. package/esm/plugin/Form/Picker.js +6 -6
  258. package/esm/plugin/Form/Radios.js +12 -12
  259. package/esm/plugin/Form/Select.js +6 -6
  260. package/esm/plugin/Form/Static.js +3 -3
  261. package/esm/plugin/Form/Switch.js +3 -3
  262. package/esm/plugin/Form/TabsTransfer.js +3 -3
  263. package/esm/plugin/Form/Textarea.js +4 -4
  264. package/esm/plugin/Form/Transfer.js +9 -8
  265. package/esm/plugin/Form/TransferPicker.js +4 -4
  266. package/esm/plugin/Form/TreeSelect.js +14 -14
  267. package/esm/plugin/Form/UUID.js +2 -2
  268. package/esm/plugin/GlobalVar.js +30 -28
  269. package/esm/plugin/Grid.js +3 -3
  270. package/esm/plugin/HBox.js +3 -3
  271. package/esm/plugin/IFrame.js +2 -2
  272. package/esm/plugin/Icon.js +2 -2
  273. package/esm/plugin/Image.js +3 -3
  274. package/esm/plugin/Images.js +5 -5
  275. package/esm/plugin/Json.js +2 -2
  276. package/esm/plugin/Layout/FlexPluginBase.js +8 -8
  277. package/esm/plugin/Layout/Layout_fixed.js +2 -2
  278. package/esm/plugin/Layout/Layout_free_container.js +2 -2
  279. package/esm/plugin/Layout/Layout_sorption_container.js +2 -2
  280. package/esm/plugin/Link.js +2 -2
  281. package/esm/plugin/List.js +2 -2
  282. package/esm/plugin/List2.js +32 -31
  283. package/esm/plugin/ListItem.js +2 -2
  284. package/esm/plugin/Log.js +2 -2
  285. package/esm/plugin/Mapping.js +2 -2
  286. package/esm/plugin/Markdown.js +2 -2
  287. package/esm/plugin/Nav.js +3 -3
  288. package/esm/plugin/OfficeViewer.js +2 -2
  289. package/esm/plugin/Operation.js +2 -2
  290. package/esm/plugin/Others/Action.js +2 -2
  291. package/esm/plugin/Others/TableCell.js +8 -8
  292. package/esm/plugin/Page.js +8 -8
  293. package/esm/plugin/Pagination.js +4 -4
  294. package/esm/plugin/Panel.js +4 -4
  295. package/esm/plugin/PdfViewer.js +9 -9
  296. package/esm/plugin/Plain.js +2 -2
  297. package/esm/plugin/Progress.js +2 -2
  298. package/esm/plugin/Property.js +2 -2
  299. package/esm/plugin/QRCode.js +3 -3
  300. package/esm/plugin/Reset.js +2 -2
  301. package/esm/plugin/SearchBox.js +2 -2
  302. package/esm/plugin/Service.js +2 -2
  303. package/esm/plugin/Slider.js +13 -13
  304. package/esm/plugin/Sparkline.js +2 -2
  305. package/esm/plugin/Status.js +2 -2
  306. package/esm/plugin/Steps.js +9 -9
  307. package/esm/plugin/Submit.js +2 -2
  308. package/esm/plugin/SwitchContainer.js +2 -2
  309. package/esm/plugin/Table.js +11 -16
  310. package/esm/plugin/Table2.js +4 -4
  311. package/esm/plugin/TableCell2.js +19 -34
  312. package/esm/plugin/TableView.js +2 -2
  313. package/esm/plugin/Tabs.js +16 -16
  314. package/esm/plugin/Tag.js +2 -2
  315. package/esm/plugin/Tasks.js +2 -2
  316. package/esm/plugin/Time.js +2 -2
  317. package/esm/plugin/Timeline.js +6 -6
  318. package/esm/plugin/TooltipWrapper.js +2 -2
  319. package/esm/plugin/Tpl.js +2 -2
  320. package/esm/plugin/Video.js +22 -22
  321. package/esm/plugin/WebComponent.js +2 -2
  322. package/esm/plugin/Wizard.js +6 -6
  323. package/esm/plugin/Wrapper.js +2 -2
  324. package/esm/renderer/APIAdaptorControl.js +2 -2
  325. package/esm/renderer/APIControl.js +2 -2
  326. package/esm/renderer/BadgeControl.js +2 -2
  327. package/esm/renderer/ButtonGroupControl.js +2 -2
  328. package/esm/renderer/ConditionFormulaControl.js +180 -173
  329. package/esm/renderer/DataBindingControl.js +2 -2
  330. package/esm/renderer/DataMappingControl.js +2 -2
  331. package/esm/renderer/DataPickerControl.js +2 -2
  332. package/esm/renderer/DateShortCutControl.js +2 -2
  333. package/esm/renderer/ExpressionFormulaControl.js +2 -2
  334. package/esm/renderer/FeatureControl.js +2 -2
  335. package/esm/renderer/FieldSetting.js +2 -2
  336. package/esm/renderer/FlexSettingControl.js +3 -3
  337. package/esm/renderer/FormulaControl.js +5 -5
  338. package/esm/renderer/FunctionEditorControl.js +2 -2
  339. package/esm/renderer/GoConfigControl.js +2 -2
  340. package/esm/renderer/InputRangeValueControl.js +2 -2
  341. package/esm/renderer/KeyValueMapControl.js +2 -2
  342. package/esm/renderer/ListItemControl.js +2 -2
  343. package/esm/renderer/MapSourceControl.js +5 -4
  344. package/esm/renderer/NavBadgeControl.js +2 -2
  345. package/esm/renderer/NavDefaultActive.js +2 -2
  346. package/esm/renderer/NavSourceControl.js +5 -4
  347. package/esm/renderer/OptionControl.js +3 -3
  348. package/esm/renderer/RangePartsControl.js +2 -2
  349. package/esm/renderer/StatusControl.js +4 -4
  350. package/esm/renderer/SwitchMoreControl.js +2 -2
  351. package/esm/renderer/TableColumnWidthControl.js +2 -2
  352. package/esm/renderer/TimelineItemControl.js +4 -4
  353. package/esm/renderer/TplFormulaControl.js +4 -4
  354. package/esm/renderer/TransferTableControl.js +4 -4
  355. package/esm/renderer/TreeOptionControl.js +2 -2
  356. package/esm/renderer/ValidateApiControl.js +2 -2
  357. package/esm/renderer/ValidationControl.js +5 -2
  358. package/esm/renderer/ValidationItem.js +2 -2
  359. package/esm/renderer/ValueFormatControl.js +2 -2
  360. package/esm/renderer/crud2-control/AddColumnModal.js +2 -2
  361. package/esm/renderer/crud2-control/CRUDColumnControl.js +2 -2
  362. package/esm/renderer/crud2-control/CRUDFiltersControl.js +2 -2
  363. package/esm/renderer/crud2-control/CRUDToolbarControl.d.ts +1 -1
  364. package/esm/renderer/crud2-control/CRUDToolbarControl.js +25 -10
  365. package/esm/renderer/event-control/DialogActionPanel.js +36 -38
  366. package/esm/renderer/event-control/action-config-dialog.js +4 -4
  367. package/esm/renderer/event-control/action-config-panel.js +4 -3
  368. package/esm/renderer/event-control/actionsPanelManager.js +67 -55
  369. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/clear.js +2 -2
  370. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/component.js +2 -2
  371. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.js +2 -2
  372. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reload.js +2 -2
  373. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reset.js +2 -2
  374. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/setValue.js +7 -7
  375. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/staticStatus.js +3 -3
  376. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/submit.js +2 -2
  377. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/usability.js +2 -2
  378. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validate.js +2 -2
  379. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validateFormItem.js +2 -2
  380. package/esm/renderer/event-control/actionsPanelPlugins/componentActionsPanel/visibility.js +2 -2
  381. package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/closeDialog.js +2 -2
  382. package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/openDialog.js +8 -9
  383. package/esm/renderer/event-control/actionsPanelPlugins/modalActionsPanel/toast.js +2 -2
  384. package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/broadcast.js +10 -10
  385. package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/copy.js +2 -2
  386. package/esm/renderer/event-control/actionsPanelPlugins/otherActionsPanel/custom.js +3 -3
  387. package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/goBack.js +2 -2
  388. package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/refresh.js +2 -2
  389. package/esm/renderer/event-control/actionsPanelPlugins/pageActionsPanel/url.js +2 -2
  390. package/esm/renderer/event-control/actionsPanelPlugins/serverActionsPanel/ajax.js +2 -2
  391. package/esm/renderer/event-control/actionsPanelPlugins/serverActionsPanel/download.js +2 -2
  392. package/esm/renderer/event-control/comp-action-select.js +2 -2
  393. package/esm/renderer/event-control/constants.js +2 -2
  394. package/esm/renderer/event-control/eventControlConfigHelper.js +2 -2
  395. package/esm/renderer/event-control/helper.js +17 -13
  396. package/esm/renderer/event-control/index.js +6 -6
  397. package/esm/renderer/global-var-control/GlobalVarBuiltinPanel.js +9 -9
  398. package/esm/renderer/global-var-control/GlobalVarManagerPanel.js +270 -192
  399. package/esm/renderer/style-control/Background.js +2 -2
  400. package/esm/renderer/style-control/Border.js +2 -2
  401. package/esm/renderer/style-control/BoxModel.js +2 -2
  402. package/esm/renderer/style-control/BoxShadow.js +2 -2
  403. package/esm/renderer/style-control/ColCount.js +2 -2
  404. package/esm/renderer/style-control/ColSize.js +2 -2
  405. package/esm/renderer/style-control/Display.js +2 -2
  406. package/esm/renderer/style-control/FlexLayout.js +113 -71
  407. package/esm/renderer/style-control/Font.js +2 -2
  408. package/esm/renderer/style-control/InsetBoxModel.js +2 -2
  409. package/esm/renderer/style-control/LabelAlign.js +5 -5
  410. package/esm/renderer/style-control/SingleThemeCssCode.js +2 -2
  411. package/esm/renderer/style-control/ThemeCssCode.js +2 -2
  412. package/esm/renderer/style-control/font-family.js +2 -2
  413. package/esm/renderer/style-control/helper.js +3 -3
  414. package/esm/renderer/style-control/transformation.js +2 -2
  415. package/esm/renderer/textarea-formula/FormulaPicker.js +2 -2
  416. package/esm/renderer/textarea-formula/TextareaFormulaControl.js +4 -4
  417. package/esm/renderer/textarea-formula/plugin.js +2 -2
  418. package/esm/tpl/api.js +2 -2
  419. package/esm/tpl/common.js +8 -7
  420. package/esm/tpl/horizontal.js +2 -2
  421. package/esm/tpl/layout.js +9 -9
  422. package/esm/tpl/options.js +2 -2
  423. package/esm/tpl/remark.js +2 -2
  424. package/esm/tpl/style.js +133 -133
  425. package/esm/tpl/validations.js +4 -4
  426. package/esm/util.js +18 -18
  427. package/esm/validator.js +4 -4
  428. package/lib/builder/ApiDSBuilder.d.ts +28 -14
  429. package/lib/builder/ApiDSBuilder.js +54 -14
  430. package/lib/builder/DSBuilder.d.ts +4 -0
  431. package/lib/builder/DSBuilder.js +2 -2
  432. package/lib/builder/DSBuilderManager.js +2 -2
  433. package/lib/builder/constants.d.ts +1 -1
  434. package/lib/builder/constants.js +3 -3
  435. package/lib/builder/type.d.ts +2 -1
  436. package/lib/builder/utils.js +2 -2
  437. package/lib/component/BaseControl.d.ts +1 -1
  438. package/lib/component/BaseControl.js +2 -2
  439. package/lib/component/InputComponentName.js +2 -2
  440. package/lib/component/ModalSettingPanel.js +46 -35
  441. package/lib/component/TableViewEditor.js +2 -2
  442. package/lib/icons/btn/btn-group.svg.js +2 -2
  443. package/lib/icons/btn/btn-select.svg.js +2 -2
  444. package/lib/icons/btn/btn-toolbar.svg.js +2 -2
  445. package/lib/icons/btn/button.svg.js +2 -2
  446. package/lib/icons/btn/dropdown-btn.svg.js +2 -2
  447. package/lib/icons/container/anchor-nav.svg.js +2 -2
  448. package/lib/icons/container/collapse.svg.js +2 -2
  449. package/lib/icons/container/container.svg.js +2 -2
  450. package/lib/icons/container/flex-container.svg.js +2 -2
  451. package/lib/icons/container/form-group.svg.js +2 -2
  452. package/lib/icons/container/grid.svg.js +2 -2
  453. package/lib/icons/container/iframe.svg.js +2 -2
  454. package/lib/icons/container/panel.svg.js +2 -2
  455. package/lib/icons/container/switch-container.svg.js +2 -2
  456. package/lib/icons/container/table-view.svg.js +2 -2
  457. package/lib/icons/container/tabs.svg.js +2 -2
  458. package/lib/icons/container/tooltip-wrapper.svg.js +2 -2
  459. package/lib/icons/container/web-component.svg.js +2 -2
  460. package/lib/icons/crud/column-add.svg.js +2 -2
  461. package/lib/icons/crud/column-delete.svg.js +2 -2
  462. package/lib/icons/crud/column-setting.svg.js +2 -2
  463. package/lib/icons/crud/share-link.svg.js +2 -2
  464. package/lib/icons/display/aBaseline.svg.js +2 -2
  465. package/lib/icons/display/aCenter.svg.js +2 -2
  466. package/lib/icons/display/aFlexEnd.svg.js +2 -2
  467. package/lib/icons/display/aFlexStart.svg.js +2 -2
  468. package/lib/icons/display/aStretch.svg.js +2 -2
  469. package/lib/icons/display/block.svg.js +2 -2
  470. package/lib/icons/display/dcolumn.svg.js +2 -2
  471. package/lib/icons/display/dcolumnReverse.svg.js +2 -2
  472. package/lib/icons/display/drow.svg.js +2 -2
  473. package/lib/icons/display/drowReverse.svg.js +2 -2
  474. package/lib/icons/display/flex.svg.js +2 -2
  475. package/lib/icons/display/inline-block.svg.js +2 -2
  476. package/lib/icons/display/inline.svg.js +2 -2
  477. package/lib/icons/display/jCenter.svg.js +2 -2
  478. package/lib/icons/display/jFlexEnd.svg.js +2 -2
  479. package/lib/icons/display/jFlexStart.svg.js +2 -2
  480. package/lib/icons/display/jSpaceAround.svg.js +2 -2
  481. package/lib/icons/display/jSpaceBetween.svg.js +2 -2
  482. package/lib/icons/feat/audio.svg.js +2 -2
  483. package/lib/icons/feat/custom.svg.js +2 -2
  484. package/lib/icons/feat/each.svg.js +2 -2
  485. package/lib/icons/feat/form.svg.js +2 -2
  486. package/lib/icons/feat/nav.svg.js +2 -2
  487. package/lib/icons/feat/qrcode.svg.js +2 -2
  488. package/lib/icons/feat/service.svg.js +2 -2
  489. package/lib/icons/feat/table.svg.js +2 -2
  490. package/lib/icons/feat/tasks.svg.js +2 -2
  491. package/lib/icons/feat/video.svg.js +2 -2
  492. package/lib/icons/feat/wizard.svg.js +2 -2
  493. package/lib/icons/form/chained-select.svg.js +2 -2
  494. package/lib/icons/form/checkbox.svg.js +2 -2
  495. package/lib/icons/form/checkboxes.svg.js +2 -2
  496. package/lib/icons/form/combo.svg.js +2 -2
  497. package/lib/icons/form/condition-builder.svg.js +2 -2
  498. package/lib/icons/form/diff-editor.svg.js +2 -2
  499. package/lib/icons/form/editor.svg.js +2 -2
  500. package/lib/icons/form/formula.svg.js +2 -2
  501. package/lib/icons/form/hidden.svg.js +2 -2
  502. package/lib/icons/form/input-city.svg.js +2 -2
  503. package/lib/icons/form/input-color.svg.js +2 -2
  504. package/lib/icons/form/input-date-range.svg.js +2 -2
  505. package/lib/icons/form/input-date.svg.js +2 -2
  506. package/lib/icons/form/input-datetime.svg.js +2 -2
  507. package/lib/icons/form/input-email.svg.js +2 -2
  508. package/lib/icons/form/input-excel.svg.js +2 -2
  509. package/lib/icons/form/input-file.svg.js +2 -2
  510. package/lib/icons/form/input-group.svg.js +2 -2
  511. package/lib/icons/form/input-image.svg.js +2 -2
  512. package/lib/icons/form/input-kv.svg.js +2 -2
  513. package/lib/icons/form/input-month-range.svg.js +2 -2
  514. package/lib/icons/form/input-number.svg.js +2 -2
  515. package/lib/icons/form/input-password.svg.js +2 -2
  516. package/lib/icons/form/input-quarter-range.svg.js +2 -2
  517. package/lib/icons/form/input-range.svg.js +2 -2
  518. package/lib/icons/form/input-rating.svg.js +2 -2
  519. package/lib/icons/form/input-repeat.svg.js +2 -2
  520. package/lib/icons/form/input-rich-text.svg.js +2 -2
  521. package/lib/icons/form/input-signature.svg.js +2 -2
  522. package/lib/icons/form/input-tag.svg.js +2 -2
  523. package/lib/icons/form/input-text.svg.js +2 -2
  524. package/lib/icons/form/input-time-range.svg.js +2 -2
  525. package/lib/icons/form/input-time.svg.js +2 -2
  526. package/lib/icons/form/input-tree.svg.js +2 -2
  527. package/lib/icons/form/input-url.svg.js +2 -2
  528. package/lib/icons/form/input-year.svg.js +2 -2
  529. package/lib/icons/form/inputArray.svg.js +2 -2
  530. package/lib/icons/form/list-select.svg.js +2 -2
  531. package/lib/icons/form/location-picker.svg.js +2 -2
  532. package/lib/icons/form/matrix-checkboxes.svg.js +2 -2
  533. package/lib/icons/form/month.svg.js +2 -2
  534. package/lib/icons/form/nested-select.svg.js +2 -2
  535. package/lib/icons/form/picker.svg.js +2 -2
  536. package/lib/icons/form/quarter.svg.js +2 -2
  537. package/lib/icons/form/radios.svg.js +2 -2
  538. package/lib/icons/form/select.svg.js +2 -2
  539. package/lib/icons/form/static.svg.js +2 -2
  540. package/lib/icons/form/sub-form.svg.js +2 -2
  541. package/lib/icons/form/switch.svg.js +2 -2
  542. package/lib/icons/form/tabs-transfer.svg.js +2 -2
  543. package/lib/icons/form/textarea.svg.js +2 -2
  544. package/lib/icons/form/transfer.svg.js +2 -2
  545. package/lib/icons/form/tree-select.svg.js +2 -2
  546. package/lib/icons/form/uuid.svg.js +2 -2
  547. package/lib/icons/index.js +2 -2
  548. package/lib/icons/layout/layout-1with2.svg.js +2 -2
  549. package/lib/icons/layout/layout-2cols.svg.js +2 -2
  550. package/lib/icons/layout/layout-2row.svg.js +2 -2
  551. package/lib/icons/layout/layout-2with1.svg.js +2 -2
  552. package/lib/icons/layout/layout-3cols.svg.js +2 -2
  553. package/lib/icons/layout/layout-3row.svg.js +2 -2
  554. package/lib/icons/layout/layout-absolute.svg.js +2 -2
  555. package/lib/icons/layout/layout-fixed-top.svg.js +2 -2
  556. package/lib/icons/layout/layout-fixed.svg.js +2 -2
  557. package/lib/icons/layout/layout-free-container.svg.js +2 -2
  558. package/lib/icons/layout/layout-full.svg.js +2 -2
  559. package/lib/icons/layout/layout1-2.svg.js +2 -2
  560. package/lib/icons/layout/layout2-1.svg.js +2 -2
  561. package/lib/icons/layout/layout3-1.svg.js +2 -2
  562. package/lib/icons/layout/layout3-2.svg.js +2 -2
  563. package/lib/icons/other/_fx.svg.js +2 -2
  564. package/lib/icons/other/divider.svg.js +2 -2
  565. package/lib/icons/other/fx.svg.js +2 -2
  566. package/lib/icons/other/global-var.svg.js +2 -2
  567. package/lib/icons/other/modal-setting.svg.js +2 -2
  568. package/lib/icons/other/property-sheet.svg.js +2 -2
  569. package/lib/icons/other/tooltip.svg.js +2 -2
  570. package/lib/icons/show/URL.svg.js +2 -2
  571. package/lib/icons/show/avatar.svg.js +2 -2
  572. package/lib/icons/show/breadcrumb.svg.js +2 -2
  573. package/lib/icons/show/card.svg.js +2 -2
  574. package/lib/icons/show/cards.svg.js +2 -2
  575. package/lib/icons/show/carousel.svg.js +2 -2
  576. package/lib/icons/show/chart.svg.js +2 -2
  577. package/lib/icons/show/code.svg.js +2 -2
  578. package/lib/icons/show/date.svg.js +2 -2
  579. package/lib/icons/show/datetime.svg.js +2 -2
  580. package/lib/icons/show/image.svg.js +2 -2
  581. package/lib/icons/show/images.svg.js +2 -2
  582. package/lib/icons/show/json-view.svg.js +2 -2
  583. package/lib/icons/show/list.svg.js +2 -2
  584. package/lib/icons/show/log.svg.js +2 -2
  585. package/lib/icons/show/mapping.svg.js +2 -2
  586. package/lib/icons/show/markdown.svg.js +2 -2
  587. package/lib/icons/show/plain.svg.js +2 -2
  588. package/lib/icons/show/progress.svg.js +2 -2
  589. package/lib/icons/show/sparkline.svg.js +2 -2
  590. package/lib/icons/show/status.svg.js +2 -2
  591. package/lib/icons/show/steps.svg.js +2 -2
  592. package/lib/icons/show/time.svg.js +2 -2
  593. package/lib/icons/theme/css.svg.js +2 -2
  594. package/lib/index.js +2 -2
  595. package/lib/locale/en-US.js +490 -3
  596. package/lib/locale/zh-CN.js +490 -3
  597. package/lib/plugin/Alert.js +2 -2
  598. package/lib/plugin/AnchorNav.js +2 -2
  599. package/lib/plugin/Audio.js +2 -2
  600. package/lib/plugin/Avatar.js +4 -4
  601. package/lib/plugin/Breadcrumb.js +2 -2
  602. package/lib/plugin/Button.js +5 -5
  603. package/lib/plugin/ButtonGroup.js +2 -2
  604. package/lib/plugin/CRUD.js +31 -31
  605. package/lib/plugin/CRUD2/BaseCRUD.js +23 -28
  606. package/lib/plugin/CRUD2/CRUDTable.js +2 -2
  607. package/lib/plugin/CRUD2/constants.js +8 -2
  608. package/lib/plugin/CRUD2/utils.js +2 -2
  609. package/lib/plugin/Calendar.js +3 -3
  610. package/lib/plugin/Card.js +2 -2
  611. package/lib/plugin/Card2.js +2 -2
  612. package/lib/plugin/Cards.js +4 -3
  613. package/lib/plugin/Carousel.d.ts +1 -0
  614. package/lib/plugin/Carousel.js +63 -11
  615. package/lib/plugin/Chart.js +2 -2
  616. package/lib/plugin/CodeView.js +2 -2
  617. package/lib/plugin/Collapse.js +3 -3
  618. package/lib/plugin/CollapseGroup.js +4 -4
  619. package/lib/plugin/ColumnToggler.js +3 -3
  620. package/lib/plugin/Container.js +4 -4
  621. package/lib/plugin/Custom.js +2 -2
  622. package/lib/plugin/CustomRegion.js +2 -2
  623. package/lib/plugin/Date.js +2 -2
  624. package/lib/plugin/Datetime.js +2 -2
  625. package/lib/plugin/Dialog.js +6 -6
  626. package/lib/plugin/Divider.js +2 -2
  627. package/lib/plugin/Drawer.js +5 -5
  628. package/lib/plugin/DropDownButton.js +2 -2
  629. package/lib/plugin/Each.js +2 -2
  630. package/lib/plugin/Flex.js +2 -2
  631. package/lib/plugin/Form/ButtonGroupSelect.js +3 -3
  632. package/lib/plugin/Form/ButtonToolbar.js +2 -2
  633. package/lib/plugin/Form/ChainedSelect.js +6 -6
  634. package/lib/plugin/Form/Checkbox.js +12 -12
  635. package/lib/plugin/Form/Checkboxes.js +12 -12
  636. package/lib/plugin/Form/CodeEditor.js +3 -3
  637. package/lib/plugin/Form/Combo.js +13 -11
  638. package/lib/plugin/Form/ConditionBuilder.js +2 -2
  639. package/lib/plugin/Form/Control.js +2 -2
  640. package/lib/plugin/Form/DiffEditor.js +3 -3
  641. package/lib/plugin/Form/FieldSet.js +2 -2
  642. package/lib/plugin/Form/Form.js +52 -36
  643. package/lib/plugin/Form/Formula.js +2 -2
  644. package/lib/plugin/Form/Group.js +2 -2
  645. package/lib/plugin/Form/Hidden.js +2 -2
  646. package/lib/plugin/Form/InputArray.js +2 -2
  647. package/lib/plugin/Form/InputCity.js +2 -2
  648. package/lib/plugin/Form/InputColor.js +3 -3
  649. package/lib/plugin/Form/InputDate.js +3 -3
  650. package/lib/plugin/Form/InputDateRange.js +3 -3
  651. package/lib/plugin/Form/InputDateTime.js +2 -2
  652. package/lib/plugin/Form/InputDateTimeRange.js +2 -2
  653. package/lib/plugin/Form/InputEmail.js +2 -2
  654. package/lib/plugin/Form/InputExcel.js +11 -4
  655. package/lib/plugin/Form/InputFile.js +3 -3
  656. package/lib/plugin/Form/InputGroup.d.ts +1 -0
  657. package/lib/plugin/Form/InputGroup.js +2 -2
  658. package/lib/plugin/Form/InputImage.js +3 -3
  659. package/lib/plugin/Form/InputKV.d.ts +1 -1
  660. package/lib/plugin/Form/InputKV.js +27 -24
  661. package/lib/plugin/Form/InputMonth.js +2 -2
  662. package/lib/plugin/Form/InputMonthRange.js +2 -2
  663. package/lib/plugin/Form/InputNumber.js +5 -5
  664. package/lib/plugin/Form/InputPassword.js +2 -2
  665. package/lib/plugin/Form/InputQuarter.js +2 -2
  666. package/lib/plugin/Form/InputQuarterRange.js +2 -2
  667. package/lib/plugin/Form/InputRange.js +3 -3
  668. package/lib/plugin/Form/InputRating.js +3 -3
  669. package/lib/plugin/Form/InputRepeat.js +4 -5
  670. package/lib/plugin/Form/InputRichText.js +2 -2
  671. package/lib/plugin/Form/InputSignature.js +14 -14
  672. package/lib/plugin/Form/InputSubForm.js +2 -2
  673. package/lib/plugin/Form/InputTable.js +19 -19
  674. package/lib/plugin/Form/InputTag.js +3 -3
  675. package/lib/plugin/Form/InputText.js +14 -14
  676. package/lib/plugin/Form/InputTime.js +2 -2
  677. package/lib/plugin/Form/InputTimeRange.js +2 -2
  678. package/lib/plugin/Form/InputTree.js +22 -22
  679. package/lib/plugin/Form/InputURL.js +2 -2
  680. package/lib/plugin/Form/InputYear.js +2 -2
  681. package/lib/plugin/Form/InputYearRange.js +2 -2
  682. package/lib/plugin/Form/Item.js +2 -2
  683. package/lib/plugin/Form/ListSelect.js +3 -3
  684. package/lib/plugin/Form/LocationPicker.js +5 -5
  685. package/lib/plugin/Form/MatrixCheckboxes.js +2 -2
  686. package/lib/plugin/Form/NestedSelect.js +8 -7
  687. package/lib/plugin/Form/Picker.js +6 -6
  688. package/lib/plugin/Form/Radios.js +12 -12
  689. package/lib/plugin/Form/Select.js +6 -6
  690. package/lib/plugin/Form/Static.js +3 -3
  691. package/lib/plugin/Form/Switch.js +3 -3
  692. package/lib/plugin/Form/TabsTransfer.js +3 -3
  693. package/lib/plugin/Form/Textarea.js +4 -4
  694. package/lib/plugin/Form/Transfer.js +8 -7
  695. package/lib/plugin/Form/TransferPicker.js +4 -4
  696. package/lib/plugin/Form/TreeSelect.js +14 -14
  697. package/lib/plugin/Form/UUID.js +2 -2
  698. package/lib/plugin/GlobalVar.js +30 -28
  699. package/lib/plugin/Grid.js +3 -3
  700. package/lib/plugin/HBox.js +3 -3
  701. package/lib/plugin/IFrame.js +2 -2
  702. package/lib/plugin/Icon.js +2 -2
  703. package/lib/plugin/Image.js +3 -3
  704. package/lib/plugin/Images.js +5 -5
  705. package/lib/plugin/Json.js +2 -2
  706. package/lib/plugin/Layout/FlexPluginBase.js +8 -8
  707. package/lib/plugin/Layout/Layout_fixed.js +2 -2
  708. package/lib/plugin/Layout/Layout_free_container.js +2 -2
  709. package/lib/plugin/Layout/Layout_sorption_container.js +2 -2
  710. package/lib/plugin/Link.js +2 -2
  711. package/lib/plugin/List.js +2 -2
  712. package/lib/plugin/List2.js +31 -30
  713. package/lib/plugin/ListItem.js +2 -2
  714. package/lib/plugin/Log.js +2 -2
  715. package/lib/plugin/Mapping.js +2 -2
  716. package/lib/plugin/Markdown.js +2 -2
  717. package/lib/plugin/Nav.js +3 -3
  718. package/lib/plugin/OfficeViewer.js +2 -2
  719. package/lib/plugin/Operation.js +2 -2
  720. package/lib/plugin/Others/Action.js +2 -2
  721. package/lib/plugin/Others/TableCell.js +8 -8
  722. package/lib/plugin/Page.js +8 -8
  723. package/lib/plugin/Pagination.js +4 -4
  724. package/lib/plugin/Panel.js +4 -4
  725. package/lib/plugin/PdfViewer.js +9 -9
  726. package/lib/plugin/Plain.js +2 -2
  727. package/lib/plugin/Progress.js +2 -2
  728. package/lib/plugin/Property.js +2 -2
  729. package/lib/plugin/QRCode.js +3 -3
  730. package/lib/plugin/Reset.js +2 -2
  731. package/lib/plugin/SearchBox.js +2 -2
  732. package/lib/plugin/Service.js +2 -2
  733. package/lib/plugin/Slider.js +13 -13
  734. package/lib/plugin/Sparkline.js +2 -2
  735. package/lib/plugin/Status.js +2 -2
  736. package/lib/plugin/Steps.js +9 -9
  737. package/lib/plugin/Submit.js +2 -2
  738. package/lib/plugin/SwitchContainer.js +2 -2
  739. package/lib/plugin/Table.js +11 -16
  740. package/lib/plugin/Table2.js +4 -4
  741. package/lib/plugin/TableCell2.js +19 -34
  742. package/lib/plugin/TableView.js +2 -2
  743. package/lib/plugin/Tabs.js +16 -16
  744. package/lib/plugin/Tag.js +2 -2
  745. package/lib/plugin/Tasks.js +2 -2
  746. package/lib/plugin/Time.js +2 -2
  747. package/lib/plugin/Timeline.js +6 -6
  748. package/lib/plugin/TooltipWrapper.js +2 -2
  749. package/lib/plugin/Tpl.js +2 -2
  750. package/lib/plugin/Video.js +22 -22
  751. package/lib/plugin/WebComponent.js +2 -2
  752. package/lib/plugin/Wizard.js +6 -6
  753. package/lib/plugin/Wrapper.js +2 -2
  754. package/lib/renderer/APIAdaptorControl.js +2 -2
  755. package/lib/renderer/APIControl.js +2 -2
  756. package/lib/renderer/BadgeControl.d.ts +12 -12
  757. package/lib/renderer/BadgeControl.js +2 -2
  758. package/lib/renderer/ButtonGroupControl.js +2 -2
  759. package/lib/renderer/ConditionFormulaControl.js +180 -173
  760. package/lib/renderer/DataBindingControl.js +2 -2
  761. package/lib/renderer/DataMappingControl.js +2 -2
  762. package/lib/renderer/DataPickerControl.js +2 -2
  763. package/lib/renderer/DateShortCutControl.js +2 -2
  764. package/lib/renderer/ExpressionFormulaControl.js +2 -2
  765. package/lib/renderer/FeatureControl.js +2 -2
  766. package/lib/renderer/FieldSetting.js +2 -2
  767. package/lib/renderer/FlexSettingControl.js +3 -3
  768. package/lib/renderer/FormulaControl.js +5 -5
  769. package/lib/renderer/FunctionEditorControl.js +2 -2
  770. package/lib/renderer/GoConfigControl.js +2 -2
  771. package/lib/renderer/InputRangeValueControl.js +2 -2
  772. package/lib/renderer/KeyValueMapControl.js +2 -2
  773. package/lib/renderer/ListItemControl.js +2 -2
  774. package/lib/renderer/MapSourceControl.js +4 -3
  775. package/lib/renderer/NavBadgeControl.d.ts +10 -10
  776. package/lib/renderer/NavBadgeControl.js +2 -2
  777. package/lib/renderer/NavDefaultActive.js +2 -2
  778. package/lib/renderer/NavSourceControl.d.ts +1 -1
  779. package/lib/renderer/NavSourceControl.js +4 -3
  780. package/lib/renderer/OptionControl.js +3 -3
  781. package/lib/renderer/RangePartsControl.js +2 -2
  782. package/lib/renderer/StatusControl.js +4 -4
  783. package/lib/renderer/SwitchMoreControl.js +2 -2
  784. package/lib/renderer/TableColumnWidthControl.js +2 -2
  785. package/lib/renderer/TimelineItemControl.js +4 -4
  786. package/lib/renderer/TplFormulaControl.js +4 -4
  787. package/lib/renderer/TransferTableControl.js +4 -4
  788. package/lib/renderer/TreeOptionControl.js +2 -2
  789. package/lib/renderer/ValidateApiControl.js +2 -2
  790. package/lib/renderer/ValidationControl.js +5 -2
  791. package/lib/renderer/ValidationItem.js +2 -2
  792. package/lib/renderer/ValueFormatControl.js +2 -2
  793. package/lib/renderer/crud2-control/AddColumnModal.js +2 -2
  794. package/lib/renderer/crud2-control/CRUDColumnControl.js +2 -2
  795. package/lib/renderer/crud2-control/CRUDFiltersControl.js +2 -2
  796. package/lib/renderer/crud2-control/CRUDToolbarControl.d.ts +1 -1
  797. package/lib/renderer/crud2-control/CRUDToolbarControl.js +25 -10
  798. package/lib/renderer/event-control/DialogActionPanel.js +36 -38
  799. package/lib/renderer/event-control/action-config-dialog.js +4 -4
  800. package/lib/renderer/event-control/action-config-panel.js +4 -3
  801. package/lib/renderer/event-control/actionsPanelManager.js +67 -55
  802. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/clear.js +2 -2
  803. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/component.js +2 -2
  804. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/helper.js +2 -2
  805. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reload.js +2 -2
  806. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/reset.js +2 -2
  807. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/setValue.js +7 -7
  808. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/staticStatus.js +3 -3
  809. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/submit.js +2 -2
  810. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/usability.js +2 -2
  811. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validate.js +2 -2
  812. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/validateFormItem.js +2 -2
  813. package/lib/renderer/event-control/actionsPanelPlugins/componentActionsPanel/visibility.js +2 -2
  814. package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/closeDialog.js +2 -2
  815. package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/openDialog.js +7 -8
  816. package/lib/renderer/event-control/actionsPanelPlugins/modalActionsPanel/toast.js +2 -2
  817. package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/broadcast.js +10 -10
  818. package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/copy.js +2 -2
  819. package/lib/renderer/event-control/actionsPanelPlugins/otherActionsPanel/custom.js +3 -3
  820. package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/goBack.js +2 -2
  821. package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/refresh.js +2 -2
  822. package/lib/renderer/event-control/actionsPanelPlugins/pageActionsPanel/url.js +2 -2
  823. package/lib/renderer/event-control/actionsPanelPlugins/serverActionsPanel/ajax.js +2 -2
  824. package/lib/renderer/event-control/actionsPanelPlugins/serverActionsPanel/download.js +2 -2
  825. package/lib/renderer/event-control/comp-action-select.js +2 -2
  826. package/lib/renderer/event-control/constants.js +2 -2
  827. package/lib/renderer/event-control/eventControlConfigHelper.js +2 -2
  828. package/lib/renderer/event-control/helper.js +17 -13
  829. package/lib/renderer/event-control/index.js +6 -6
  830. package/lib/renderer/global-var-control/GlobalVarBuiltinPanel.js +9 -9
  831. package/lib/renderer/global-var-control/GlobalVarManagerPanel.js +270 -192
  832. package/lib/renderer/style-control/Background.js +2 -2
  833. package/lib/renderer/style-control/Border.js +2 -2
  834. package/lib/renderer/style-control/BoxModel.js +2 -2
  835. package/lib/renderer/style-control/BoxShadow.js +2 -2
  836. package/lib/renderer/style-control/ColCount.js +2 -2
  837. package/lib/renderer/style-control/ColSize.js +2 -2
  838. package/lib/renderer/style-control/Display.js +2 -2
  839. package/lib/renderer/style-control/FlexLayout.js +113 -71
  840. package/lib/renderer/style-control/Font.js +2 -2
  841. package/lib/renderer/style-control/InsetBoxModel.js +2 -2
  842. package/lib/renderer/style-control/LabelAlign.js +5 -5
  843. package/lib/renderer/style-control/SingleThemeCssCode.js +2 -2
  844. package/lib/renderer/style-control/ThemeCssCode.js +2 -2
  845. package/lib/renderer/style-control/font-family.js +2 -2
  846. package/lib/renderer/style-control/helper.js +3 -3
  847. package/lib/renderer/style-control/transformation.js +2 -2
  848. package/lib/renderer/textarea-formula/FormulaPicker.js +2 -2
  849. package/lib/renderer/textarea-formula/TextareaFormulaControl.js +4 -4
  850. package/lib/renderer/textarea-formula/plugin.js +2 -2
  851. package/lib/tpl/api.js +2 -2
  852. package/lib/tpl/common.js +7 -6
  853. package/lib/tpl/horizontal.js +2 -2
  854. package/lib/tpl/layout.js +9 -9
  855. package/lib/tpl/options.js +2 -2
  856. package/lib/tpl/remark.js +2 -2
  857. package/lib/tpl/style.js +133 -133
  858. package/lib/tpl/validations.js +4 -4
  859. package/lib/util.js +18 -18
  860. package/lib/validator.js +4 -4
  861. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -35,63 +35,63 @@ var VideoPlugin = /** @class */function (_super) {
35
35
  _this.previewSchema = __assign({}, _this.scaffold);
36
36
  _this.events = [{
37
37
  eventName: 'play',
38
- eventLabel: '开始播放',
39
- description: '视频播放时触发',
38
+ eventLabel: i18n("fe8189070b8c6c7dd52ebd0c9e7c26b4"),
39
+ description: i18n("d4c2e981c7f6c5b47ab36c261e6d2b0c"),
40
40
  dataSchema: [{
41
41
  type: 'object',
42
42
  properties: {
43
43
  currentTime: {
44
44
  type: 'number',
45
- title: '当前播放时间',
46
- description: '视频当前播放的时间点(秒)'
45
+ title: i18n("18d9f2dc2a0b0c2ca8dfa9d34a241028"),
46
+ description: i18n("b063ef03f52de4db3a66bb26f65f6d7d")
47
47
  },
48
48
  duration: {
49
49
  type: 'number',
50
- title: '视频总时长',
51
- description: '视频的总时长(秒)'
50
+ title: i18n("296ed483e27ee65aa2d02b64a2d1902d"),
51
+ description: i18n("8dc6348f87ad56ddf71aba58846c83c3")
52
52
  },
53
53
  src: {
54
54
  type: 'string',
55
55
  title: i18n("f50bc38cf567e68250a8d15edfd8eb27"),
56
- description: '当前播放的视频资源地址'
56
+ description: i18n("431b991d358babd875697eb0c623ae87")
57
57
  }
58
58
  }
59
59
  }]
60
60
  }, {
61
61
  eventName: 'pause',
62
- eventLabel: '暂停播放',
63
- description: '视频暂停时触发',
62
+ eventLabel: i18n("30019156e9340207c4cccd34245a6250"),
63
+ description: i18n("da2e1c73167313ceea55293b42031c66"),
64
64
  dataSchema: [{
65
65
  type: 'object',
66
66
  properties: {
67
67
  currentTime: {
68
68
  type: 'number',
69
- title: '当前播放时间',
70
- description: '视频暂停时的时间点(秒)'
69
+ title: i18n("18d9f2dc2a0b0c2ca8dfa9d34a241028"),
70
+ description: i18n("cffe326796a53ecd533a7c28d7c228a0")
71
71
  },
72
72
  src: {
73
73
  type: 'string',
74
74
  title: i18n("f50bc38cf567e68250a8d15edfd8eb27"),
75
- description: '当前播放的视频资源地址'
75
+ description: i18n("431b991d358babd875697eb0c623ae87")
76
76
  }
77
77
  }
78
78
  }]
79
79
  }, {
80
80
  eventName: 'ended',
81
- eventLabel: '播放结束',
82
- description: '视频播放结束时触发',
81
+ eventLabel: i18n("a7d200f4422e1ff49f87fa254951fe04"),
82
+ description: i18n("ad68db856822a4509b563ee97c1a9522"),
83
83
  dataSchema: [{
84
84
  type: 'object',
85
85
  properties: {
86
86
  duration: {
87
87
  type: 'number',
88
- title: '视频总时长',
89
- description: '视频的总时长(秒)'
88
+ title: i18n("296ed483e27ee65aa2d02b64a2d1902d"),
89
+ description: i18n("8dc6348f87ad56ddf71aba58846c83c3")
90
90
  },
91
91
  src: {
92
92
  type: 'string',
93
93
  title: i18n("f50bc38cf567e68250a8d15edfd8eb27"),
94
- description: '当前播放的视频资源地址'
94
+ description: i18n("431b991d358babd875697eb0c623ae87")
95
95
  }
96
96
  }
97
97
  }]
@@ -110,7 +110,7 @@ var VideoPlugin = /** @class */function (_super) {
110
110
  label: i18n("f50bc38cf567e68250a8d15edfd8eb27")
111
111
  }), getSchemaTpl('formulaControl', {
112
112
  name: 'poster',
113
- label: '视频封面'
113
+ label: i18n("39b75e75d433cba4c57c4af1768f499b")
114
114
  }), {
115
115
  name: 'aspectRatio',
116
116
  label: i18n("df0134afa26415a560ae1320dee10c19"),
@@ -130,7 +130,7 @@ var VideoPlugin = /** @class */function (_super) {
130
130
  }, {
131
131
  type: 'input-text',
132
132
  name: 'rates',
133
- label: '播放速率',
133
+ label: i18n("5094d4404b88877bacd12d94911e6f95"),
134
134
  multiple: true,
135
135
  joinValues: false,
136
136
  extractValue: true,
@@ -158,7 +158,7 @@ var VideoPlugin = /** @class */function (_super) {
158
158
  }
159
159
  }), getSchemaTpl('formulaControl', {
160
160
  name: 'frame',
161
- label: '视频帧',
161
+ label: i18n("9ee2f29eebe6e88f5f8e55b1367f49cd"),
162
162
  placeholder: ''
163
163
  })]
164
164
  }, getSchemaTpl('status')])]
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -208,7 +208,7 @@ var WizardPlugin = /** @class */function (_super) {
208
208
  descDetail: function (info, context, props) {
209
209
  return React__default.createElement("div", {
210
210
  className: "action-desc"
211
- }, i18n("939d5345ad4345dbaabe14798f6ac0f1"), buildLinkActionDesc(props.manager, info), "\u5F53\u524D\u6B65\u9AA4\u6570\u636E");
211
+ }, i18n("939d5345ad4345dbaabe14798f6ac0f1"), buildLinkActionDesc(props.manager, info), i18n("50f34990b0f1147f0e5c7f35f620926a"));
212
212
  }
213
213
  }, {
214
214
  actionType: 'prev',
@@ -217,7 +217,7 @@ var WizardPlugin = /** @class */function (_super) {
217
217
  descDetail: function (info, context, props) {
218
218
  return React__default.createElement("div", {
219
219
  className: "action-desc"
220
- }, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? '滚动' : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? '返回' : null, buildLinkActionDesc(props.manager, info), (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? '至上一张' : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? '前一步' : null);
220
+ }, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? i18n("c76c602025a0d7bacb0096bc1cec7396") : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18n("5f411223ca5a01a5adf20fe735a433d0") : null, buildLinkActionDesc(props.manager, info), (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? i18n("28c35aafea77fa3d92e70a0ad0260d86") : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18n("7875754736f0fc077a49d2a4937c22ba") : null);
221
221
  }
222
222
  }, {
223
223
  actionType: 'next',
@@ -226,7 +226,7 @@ var WizardPlugin = /** @class */function (_super) {
226
226
  descDetail: function (info, context, props) {
227
227
  return React__default.createElement("div", {
228
228
  className: "action-desc"
229
- }, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? '滚动' : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18n("939d5345ad4345dbaabe14798f6ac0f1") : null, buildLinkActionDesc(props.manager, info), (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? '至下一张' : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? '当前步骤数据' : null);
229
+ }, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? i18n("c76c602025a0d7bacb0096bc1cec7396") : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18n("939d5345ad4345dbaabe14798f6ac0f1") : null, buildLinkActionDesc(props.manager, info), (info === null || info === void 0 ? void 0 : info.__rendererName) === 'carousel' ? i18n("2b9239697fc5e1d8a2b7b5858fdfadb2") : null, (info === null || info === void 0 ? void 0 : info.__rendererName) === 'wizard' ? i18n("50f34990b0f1147f0e5c7f35f620926a") : null);
230
230
  }
231
231
  }, {
232
232
  actionType: 'goto-step',
@@ -237,7 +237,7 @@ var WizardPlugin = /** @class */function (_super) {
237
237
  var _a;
238
238
  return React__default.createElement("div", {
239
239
  className: "action-desc"
240
- }, "\u5207\u6362", buildLinkActionDesc(props.manager, info), "\u5230\u7B2C", React__default.createElement("span", {
240
+ }, i18n("bec7e4d621a66bff059edb31816fbf52"), buildLinkActionDesc(props.manager, info), i18n("8b76adb277cb335ecc55f4742f3ae3f8"), React__default.createElement("span", {
241
241
  className: "variable-left variable-right"
242
242
  }, (_a = info === null || info === void 0 ? void 0 : info.args) === null || _a === void 0 ? void 0 : _a.step), i18n("4a0ff5106d129883b446a29b1dac6f47"));
243
243
  },
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -11,187 +11,194 @@ import cx from 'classnames';
11
11
  import { PickerContainer, Button, FormItem } from 'amis';
12
12
  import { reaction } from 'mobx';
13
13
  import { getConditionVariables } from 'amis-editor-core';
14
+ import { i18n } from 'i18n-runtime';
14
15
 
15
16
  /**
16
17
  * @file 条件输入框组件
17
18
  */
18
- // 把数据域中的变量类型转换成符合ConditionBuilder的type
19
19
  var PropsFieldsMapping = {
20
- string: 'text',
21
- number: 'number',
22
- boolean: 'boolean'
20
+ string: 'text',
21
+ number: 'number',
22
+ boolean: 'boolean'
23
23
  };
24
- var ConditionFormulaControl = /** @class */ (function (_super) {
25
- __extends(ConditionFormulaControl, _super);
26
- function ConditionFormulaControl(props) {
27
- var _this = _super.call(this, props) || this;
28
- _this.state = {
29
- fields: [],
30
- formulaPickerValue: ''
31
- };
32
- return _this;
33
- }
34
- ConditionFormulaControl.prototype.componentDidMount = function () {
35
- return __awaiter(this, void 0, void 0, function () {
36
- var editorStore, fieldsArr;
37
- var _this = this;
38
- return __generator(this, function (_a) {
39
- switch (_a.label) {
40
- case 0:
41
- this.initFormulaPickerValue(this.props.value);
42
- editorStore = window.editorStore;
43
- this.appLocale = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocale;
44
- this.appCorpusData = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appCorpusData;
45
- this.unReaction = reaction(function () { return editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocaleState; }, function () { return __awaiter(_this, void 0, void 0, function () {
46
- return __generator(this, function (_a) {
47
- this.appLocale = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocale;
48
- this.appCorpusData = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appCorpusData;
49
- return [2 /*return*/];
50
- });
51
- }); });
52
- return [4 /*yield*/, this.buildFieldsData()];
53
- case 1:
54
- fieldsArr = _a.sent();
55
- this.setState({
56
- fields: fieldsArr
57
- });
58
- return [2 /*return*/];
59
- }
60
- });
61
- });
24
+ var ConditionFormulaControl = /** @class */function (_super) {
25
+ __extends(ConditionFormulaControl, _super);
26
+ function ConditionFormulaControl(props) {
27
+ var _this = _super.call(this, props) || this;
28
+ _this.state = {
29
+ fields: [],
30
+ formulaPickerValue: ''
62
31
  };
63
- ConditionFormulaControl.prototype.componentDidUpdate = function (prevProps) {
64
- return __awaiter(this, void 0, void 0, function () {
65
- return __generator(this, function (_a) {
66
- if (prevProps.value !== this.props.value) {
67
- this.initFormulaPickerValue(this.props.value);
68
- }
69
- return [2 /*return*/];
32
+ return _this;
33
+ }
34
+ ConditionFormulaControl.prototype.componentDidMount = function () {
35
+ return __awaiter(this, void 0, void 0, function () {
36
+ var editorStore, fieldsArr;
37
+ var _this = this;
38
+ return __generator(this, function (_a) {
39
+ switch (_a.label) {
40
+ case 0:
41
+ this.initFormulaPickerValue(this.props.value);
42
+ editorStore = window.editorStore;
43
+ this.appLocale = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocale;
44
+ this.appCorpusData = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appCorpusData;
45
+ this.unReaction = reaction(function () {
46
+ return editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocaleState;
47
+ }, function () {
48
+ return __awaiter(_this, void 0, void 0, function () {
49
+ return __generator(this, function (_a) {
50
+ this.appLocale = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appLocale;
51
+ this.appCorpusData = editorStore === null || editorStore === void 0 ? void 0 : editorStore.appCorpusData;
52
+ return [2 /*return*/];
53
+ });
54
+ });
70
55
  });
71
- });
72
- };
73
- ConditionFormulaControl.prototype.componentWillUnmount = function () {
74
- var _a;
75
- this.isUnmount = true;
76
- (_a = this.unReaction) === null || _a === void 0 ? void 0 : _a.call(this);
77
- };
78
- ConditionFormulaControl.prototype.buildFieldsData = function () {
79
- var _a;
80
- return __awaiter(this, void 0, void 0, function () {
81
- var fieldsArr, _b, requiredDataPropsFields, fields, variablesArr;
82
- return __generator(this, function (_c) {
83
- switch (_c.label) {
84
- case 0:
85
- fieldsArr = [];
86
- _b = this.props, requiredDataPropsFields = _b.requiredDataPropsFields, fields = _b.fields;
87
- if (!requiredDataPropsFields) return [3 /*break*/, 2];
88
- return [4 /*yield*/, getConditionVariables(this)];
89
- case 1:
90
- variablesArr = _c.sent();
91
- fieldsArr = (_a = flattenTree(variablesArr, function (item) {
92
- if (PropsFieldsMapping[item.type]) {
93
- var obj = {
94
- label: item.label,
95
- type: PropsFieldsMapping[item.type],
96
- name: item.value
97
- };
98
- return obj;
99
- }
100
- })) === null || _a === void 0 ? void 0 : _a.filter(function (item) { return item; });
101
- _c.label = 2;
102
- case 2: return [2 /*return*/, fieldsArr.concat(fields || [])];
103
- }
56
+ return [4 /*yield*/, this.buildFieldsData()];
57
+ case 1:
58
+ fieldsArr = _a.sent();
59
+ this.setState({
60
+ fields: fieldsArr
104
61
  });
105
- });
106
- };
107
- ConditionFormulaControl.prototype.initFormulaPickerValue = function (value) {
108
- this.setState({
109
- formulaPickerValue: value
110
- });
111
- };
112
- ConditionFormulaControl.prototype.handleConfirm = function (value) {
113
- var _a, _b;
114
- if (value === void 0) { value = ''; }
115
- (_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.onChange) === null || _b === void 0 ? void 0 : _b.call(_a, value);
116
- };
117
- ConditionFormulaControl.prototype.handleOnClick = function (e, onClick) {
118
- return __awaiter(this, void 0, void 0, function () {
119
- var fieldsArr;
120
- return __generator(this, function (_a) {
121
- switch (_a.label) {
122
- case 0: return [4 /*yield*/, this.buildFieldsData()];
123
- case 1:
124
- fieldsArr = _a.sent();
125
- this.setState({
126
- fields: fieldsArr
127
- });
128
- return [2 /*return*/, onClick === null || onClick === void 0 ? void 0 : onClick(e)];
129
- }
62
+ return [2 /*return*/];
63
+ }
64
+ });
65
+ });
66
+ };
67
+ ConditionFormulaControl.prototype.componentDidUpdate = function (prevProps) {
68
+ return __awaiter(this, void 0, void 0, function () {
69
+ return __generator(this, function (_a) {
70
+ if (prevProps.value !== this.props.value) {
71
+ this.initFormulaPickerValue(this.props.value);
72
+ }
73
+ return [2 /*return*/];
74
+ });
75
+ });
76
+ };
77
+ ConditionFormulaControl.prototype.componentWillUnmount = function () {
78
+ var _a;
79
+ this.isUnmount = true;
80
+ (_a = this.unReaction) === null || _a === void 0 ? void 0 : _a.call(this);
81
+ };
82
+ ConditionFormulaControl.prototype.buildFieldsData = function () {
83
+ var _a;
84
+ return __awaiter(this, void 0, void 0, function () {
85
+ var fieldsArr, _b, requiredDataPropsFields, fields, variablesArr;
86
+ return __generator(this, function (_c) {
87
+ switch (_c.label) {
88
+ case 0:
89
+ fieldsArr = [];
90
+ _b = this.props, requiredDataPropsFields = _b.requiredDataPropsFields, fields = _b.fields;
91
+ if (!requiredDataPropsFields) return [3 /*break*/, 2];
92
+ return [4 /*yield*/, getConditionVariables(this)];
93
+ case 1:
94
+ variablesArr = _c.sent();
95
+ fieldsArr = (_a = flattenTree(variablesArr, function (item) {
96
+ if (PropsFieldsMapping[item.type]) {
97
+ var obj = {
98
+ label: item.label,
99
+ type: PropsFieldsMapping[item.type],
100
+ name: item.value
101
+ };
102
+ return obj;
103
+ }
104
+ })) === null || _a === void 0 ? void 0 : _a.filter(function (item) {
105
+ return item;
130
106
  });
131
- });
132
- };
133
- ConditionFormulaControl.prototype.render = function () {
134
- var _this = this;
135
- var _a = this.props, name = _a.name, className = _a.className, modalSize = _a.modalSize;
136
- var _b = this.state, formulaPickerValue = _b.formulaPickerValue, fields = _b.fields;
137
- return (React__default.createElement("div", { className: cx('ae-ExpressionFormulaControl', className) },
138
- React__default.createElement(PickerContainer, { title: "\u6761\u4EF6\u8BBE\u7F6E", bodyRender: function (_a) {
139
- var value = _a.value, onChange = _a.onChange;
140
- var condition = render({
141
- type: 'condition-builder',
142
- label: false,
143
- name: name,
144
- fields: fields
145
- }, {
146
- value: value,
147
- onChange: onChange
148
- });
149
- return condition;
150
- }, value: formulaPickerValue, onConfirm: this.handleConfirm, size: modalSize !== null && modalSize !== void 0 ? modalSize : 'lg' }, function (_a) {
151
- var onClick = _a.onClick;
152
- return (React__default.createElement(Button, { size: "sm", className: "btn-set-expression", onClick: function (e) { return _this.handleOnClick(e, onClick); } }, "\u70B9\u51FB\u7F16\u5199\u6761\u4EF6"));
153
- })));
154
- };
155
- ConditionFormulaControl.defaultProps = {
156
- requiredDataPropsFields: true
157
- };
158
- __decorate([
159
- autobind,
160
- __metadata("design:type", Function),
161
- __metadata("design:paramtypes", []),
162
- __metadata("design:returntype", Promise)
163
- ], ConditionFormulaControl.prototype, "buildFieldsData", null);
164
- __decorate([
165
- autobind,
166
- __metadata("design:type", Function),
167
- __metadata("design:paramtypes", [String]),
168
- __metadata("design:returntype", void 0)
169
- ], ConditionFormulaControl.prototype, "initFormulaPickerValue", null);
170
- __decorate([
171
- autobind,
172
- __metadata("design:type", Function),
173
- __metadata("design:paramtypes", [Object]),
174
- __metadata("design:returntype", void 0)
175
- ], ConditionFormulaControl.prototype, "handleConfirm", null);
176
- __decorate([
177
- autobind,
178
- __metadata("design:type", Function),
179
- __metadata("design:paramtypes", [Object, Function]),
180
- __metadata("design:returntype", Promise)
181
- ], ConditionFormulaControl.prototype, "handleOnClick", null);
182
- return ConditionFormulaControl;
183
- }(React__default.Component));
184
- /** @class */ ((function (_super) {
185
- __extends(ConditionFormulaControlRenderer, _super);
186
- function ConditionFormulaControlRenderer() {
187
- return _super !== null && _super.apply(this, arguments) || this;
107
+ _c.label = 2;
108
+ case 2:
109
+ return [2 /*return*/, fieldsArr.concat(fields || [])];
110
+ }
111
+ });
112
+ });
113
+ };
114
+ ConditionFormulaControl.prototype.initFormulaPickerValue = function (value) {
115
+ this.setState({
116
+ formulaPickerValue: value
117
+ });
118
+ };
119
+ ConditionFormulaControl.prototype.handleConfirm = function (value) {
120
+ var _a, _b;
121
+ if (value === void 0) {
122
+ value = '';
188
123
  }
189
- ConditionFormulaControlRenderer = __decorate([
190
- FormItem({
191
- type: 'ae-conditionFormulaControl'
192
- })
193
- ], ConditionFormulaControlRenderer);
194
- return ConditionFormulaControlRenderer;
195
- })(ConditionFormulaControl));
124
+ (_b = (_a = this.props) === null || _a === void 0 ? void 0 : _a.onChange) === null || _b === void 0 ? void 0 : _b.call(_a, value);
125
+ };
126
+ ConditionFormulaControl.prototype.handleOnClick = function (e, onClick) {
127
+ return __awaiter(this, void 0, void 0, function () {
128
+ var fieldsArr;
129
+ return __generator(this, function (_a) {
130
+ switch (_a.label) {
131
+ case 0:
132
+ return [4 /*yield*/, this.buildFieldsData()];
133
+ case 1:
134
+ fieldsArr = _a.sent();
135
+ this.setState({
136
+ fields: fieldsArr
137
+ });
138
+ return [2 /*return*/, onClick === null || onClick === void 0 ? void 0 : onClick(e)];
139
+ }
140
+ });
141
+ });
142
+ };
143
+ ConditionFormulaControl.prototype.render = function () {
144
+ var _this = this;
145
+ var _a = this.props,
146
+ name = _a.name,
147
+ className = _a.className,
148
+ modalSize = _a.modalSize;
149
+ var _b = this.state,
150
+ formulaPickerValue = _b.formulaPickerValue,
151
+ fields = _b.fields;
152
+ return React__default.createElement("div", {
153
+ className: cx('ae-ExpressionFormulaControl', className)
154
+ }, React__default.createElement(PickerContainer, {
155
+ title: i18n("4cdf4ce158a0adb3468608aaa7ce5d61"),
156
+ bodyRender: function (_a) {
157
+ var value = _a.value,
158
+ onChange = _a.onChange;
159
+ var condition = render({
160
+ type: 'condition-builder',
161
+ label: false,
162
+ name: name,
163
+ fields: fields
164
+ }, {
165
+ value: value,
166
+ onChange: onChange
167
+ });
168
+ return condition;
169
+ },
170
+ value: formulaPickerValue,
171
+ onConfirm: this.handleConfirm,
172
+ size: modalSize !== null && modalSize !== void 0 ? modalSize : 'lg'
173
+ }, function (_a) {
174
+ var onClick = _a.onClick;
175
+ return React__default.createElement(Button, {
176
+ size: "sm",
177
+ className: "btn-set-expression",
178
+ onClick: function (e) {
179
+ return _this.handleOnClick(e, onClick);
180
+ }
181
+ }, i18n("73148d5908d22de26cf65b00dea2ffea"));
182
+ }));
183
+ };
184
+ ConditionFormulaControl.defaultProps = {
185
+ requiredDataPropsFields: true
186
+ };
187
+ __decorate([autobind, __metadata("design:type", Function), __metadata("design:paramtypes", []), __metadata("design:returntype", Promise)], ConditionFormulaControl.prototype, "buildFieldsData", null);
188
+ __decorate([autobind, __metadata("design:type", Function), __metadata("design:paramtypes", [String]), __metadata("design:returntype", void 0)], ConditionFormulaControl.prototype, "initFormulaPickerValue", null);
189
+ __decorate([autobind, __metadata("design:type", Function), __metadata("design:paramtypes", [Object]), __metadata("design:returntype", void 0)], ConditionFormulaControl.prototype, "handleConfirm", null);
190
+ __decorate([autobind, __metadata("design:type", Function), __metadata("design:paramtypes", [Object, Function]), __metadata("design:returntype", Promise)], ConditionFormulaControl.prototype, "handleOnClick", null);
191
+ return ConditionFormulaControl;
192
+ }(React__default.Component);
193
+ /** @class */(function (_super) {
194
+ __extends(ConditionFormulaControlRenderer, _super);
195
+ function ConditionFormulaControlRenderer() {
196
+ return _super !== null && _super.apply(this, arguments) || this;
197
+ }
198
+ ConditionFormulaControlRenderer = __decorate([FormItem({
199
+ type: 'ae-conditionFormulaControl'
200
+ })], ConditionFormulaControlRenderer);
201
+ return ConditionFormulaControlRenderer;
202
+ })(ConditionFormulaControl);
196
203
 
197
204
  export { ConditionFormulaControl as default };
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6
 
@@ -1,6 +1,6 @@
1
1
  /**
2
- * amis-editor v6.13.0-beta.0
3
- * build time: 2025-04-08
2
+ * amis-editor v6.13.0-beta.10
3
+ * build time: 2025-05-13
4
4
  * Copyright 2018-2025 @fex
5
5
  */
6
6