amis-editor 5.2.0-beta.2 → 5.2.1-beta.15

Sign up to get free protection for your applications and to get access to all the features.
Files changed (895) hide show
  1. package/esm/component/BaseControl.d.ts +5 -810
  2. package/esm/component/BaseControl.js +33 -43
  3. package/esm/component/InputComponentName.js +1 -1
  4. package/esm/component/TableViewEditor.js +547 -454
  5. package/esm/icons/btn/btn-group.svg.js +1 -3
  6. package/esm/icons/btn/btn-select.svg.js +1 -3
  7. package/esm/icons/btn/btn-toolbar.svg.js +1 -3
  8. package/esm/icons/btn/button.svg.js +1 -3
  9. package/esm/icons/btn/dropdown-btn.svg.js +1 -3
  10. package/esm/icons/container/anchor-nav.svg.js +1 -3
  11. package/esm/icons/container/collapse.svg.js +1 -3
  12. package/esm/icons/container/container.svg.js +1 -3
  13. package/esm/icons/container/flex-container.svg.js +1 -3
  14. package/esm/icons/container/form-group.svg.js +1 -3
  15. package/esm/icons/container/grid.svg.js +1 -3
  16. package/esm/icons/container/iframe.svg.js +1 -3
  17. package/esm/icons/container/panel.svg.js +1 -3
  18. package/esm/icons/container/table-view.svg.js +1 -3
  19. package/esm/icons/container/tabs.svg.js +1 -3
  20. package/esm/icons/container/tooltip-wrapper.svg.js +1 -3
  21. package/esm/icons/container/web-component.svg.js +1 -3
  22. package/esm/icons/feat/audio.svg.js +1 -3
  23. package/esm/icons/feat/custom.svg.js +1 -3
  24. package/esm/icons/feat/each.svg.js +1 -3
  25. package/esm/icons/feat/form.svg.js +1 -3
  26. package/esm/icons/feat/nav.svg.js +1 -3
  27. package/esm/icons/feat/qrcode.svg.js +1 -3
  28. package/esm/icons/feat/service.svg.js +1 -3
  29. package/esm/icons/feat/table.svg.js +1 -3
  30. package/esm/icons/feat/tasks.svg.js +1 -3
  31. package/esm/icons/feat/video.svg.js +1 -3
  32. package/esm/icons/feat/wizard.svg.js +1 -3
  33. package/esm/icons/form/chained-select.svg.js +1 -3
  34. package/esm/icons/form/checkbox.svg.js +1 -3
  35. package/esm/icons/form/checkboxes.svg.js +1 -3
  36. package/esm/icons/form/combo.svg.js +1 -3
  37. package/esm/icons/form/condition-builder.svg.js +1 -3
  38. package/esm/icons/form/diff-editor.svg.js +1 -3
  39. package/esm/icons/form/editor.svg.js +1 -3
  40. package/esm/icons/form/formula.svg.js +1 -3
  41. package/esm/icons/form/hidden.svg.js +1 -3
  42. package/esm/icons/form/input-city.svg.js +1 -3
  43. package/esm/icons/form/input-color.svg.js +1 -3
  44. package/esm/icons/form/input-date-range.svg.js +1 -3
  45. package/esm/icons/form/input-date.svg.js +1 -3
  46. package/esm/icons/form/input-datetime.svg.js +1 -3
  47. package/esm/icons/form/input-email.svg.js +1 -3
  48. package/esm/icons/form/input-excel.svg.js +1 -3
  49. package/esm/icons/form/input-file.svg.js +1 -3
  50. package/esm/icons/form/input-group.svg.js +1 -3
  51. package/esm/icons/form/input-image.svg.js +1 -3
  52. package/esm/icons/form/input-kv.svg.js +1 -3
  53. package/esm/icons/form/input-month-range.svg.js +1 -3
  54. package/esm/icons/form/input-number.svg.js +1 -3
  55. package/esm/icons/form/input-password.svg.js +1 -3
  56. package/esm/icons/form/input-quarter-range.svg.js +1 -3
  57. package/esm/icons/form/input-range.svg.js +1 -3
  58. package/esm/icons/form/input-rating.svg.js +1 -3
  59. package/esm/icons/form/input-repeat.svg.js +1 -3
  60. package/esm/icons/form/input-rich-text.svg.js +1 -3
  61. package/esm/icons/form/input-tag.svg.js +1 -3
  62. package/esm/icons/form/input-text.svg.js +1 -3
  63. package/esm/icons/form/input-time-range.svg.js +1 -3
  64. package/esm/icons/form/input-time.svg.js +1 -3
  65. package/esm/icons/form/input-tree.svg.js +1 -3
  66. package/esm/icons/form/input-url.svg.js +1 -3
  67. package/esm/icons/form/input-year.svg.js +1 -3
  68. package/esm/icons/form/inputArray.svg.js +1 -3
  69. package/esm/icons/form/list-select.svg.js +1 -3
  70. package/esm/icons/form/location-picker.svg.js +1 -3
  71. package/esm/icons/form/matrix-checkboxes.svg.js +1 -3
  72. package/esm/icons/form/month.svg.js +1 -3
  73. package/esm/icons/form/nested-select.svg.js +1 -3
  74. package/esm/icons/form/picker.svg.js +1 -3
  75. package/esm/icons/form/quarter.svg.js +1 -3
  76. package/esm/icons/form/radios.svg.js +1 -3
  77. package/esm/icons/form/select.svg.js +1 -3
  78. package/esm/icons/form/static.svg.js +1 -3
  79. package/esm/icons/form/sub-form.svg.js +1 -3
  80. package/esm/icons/form/switch.svg.js +1 -3
  81. package/esm/icons/form/tabs-transfer.svg.js +1 -3
  82. package/esm/icons/form/textarea.svg.js +1 -3
  83. package/esm/icons/form/transfer.svg.js +1 -3
  84. package/esm/icons/form/tree-select.svg.js +1 -3
  85. package/esm/icons/form/uuid.svg.js +1 -3
  86. package/esm/icons/index.js +28 -1
  87. package/esm/icons/layout/layout-1with2.svg.js +32 -0
  88. package/esm/icons/layout/layout-2cols.svg.js +32 -0
  89. package/esm/icons/layout/layout-2row.svg.js +32 -0
  90. package/esm/icons/layout/layout-2with1.svg.js +33 -0
  91. package/esm/icons/layout/layout-3cols.svg.js +32 -0
  92. package/esm/icons/layout/layout-3row.svg.js +33 -0
  93. package/esm/icons/layout/layout-absolute.svg.js +27 -0
  94. package/esm/icons/layout/layout-fixed.svg.js +27 -0
  95. package/esm/icons/layout/layout-full.svg.js +49 -0
  96. package/esm/icons/layout/layout1-2.svg.js +33 -0
  97. package/esm/icons/layout/layout2-1.svg.js +33 -0
  98. package/esm/icons/layout/layout3-1.svg.js +33 -0
  99. package/esm/icons/layout/layout3-2.svg.js +33 -0
  100. package/esm/icons/other/divider.svg.js +1 -3
  101. package/esm/icons/other/property-sheet.svg.js +1 -3
  102. package/esm/icons/other/tooltip.svg.js +1 -3
  103. package/esm/icons/show/URL.svg.js +1 -3
  104. package/esm/icons/show/avatar.svg.js +1 -3
  105. package/esm/icons/show/breadcrumb.svg.js +1 -3
  106. package/esm/icons/show/card.svg.js +1 -3
  107. package/esm/icons/show/cards.svg.js +1 -3
  108. package/esm/icons/show/carousel.svg.js +1 -3
  109. package/esm/icons/show/chart.svg.js +1 -3
  110. package/esm/icons/show/code.svg.js +1 -3
  111. package/esm/icons/show/date.svg.js +1 -3
  112. package/esm/icons/show/datetime.svg.js +1 -3
  113. package/esm/icons/show/image.svg.js +1 -3
  114. package/esm/icons/show/images.svg.js +1 -3
  115. package/esm/icons/show/json-view.svg.js +1 -3
  116. package/esm/icons/show/list.svg.js +1 -3
  117. package/esm/icons/show/log.svg.js +1 -3
  118. package/esm/icons/show/mapping.svg.js +1 -3
  119. package/esm/icons/show/markdown.svg.js +1 -3
  120. package/esm/icons/show/plain.svg.js +1 -3
  121. package/esm/icons/show/progress.svg.js +1 -3
  122. package/esm/icons/show/sparkline.svg.js +1 -3
  123. package/esm/icons/show/status.svg.js +1 -3
  124. package/esm/icons/show/steps.svg.js +1 -3
  125. package/esm/icons/show/time.svg.js +1 -3
  126. package/esm/index.d.ts +11 -2
  127. package/esm/index.js +13 -3
  128. package/esm/locale/en-US.js +315 -102
  129. package/esm/locale/zh-CN.js +218 -3
  130. package/esm/plugin/Alert.d.ts +1 -1
  131. package/esm/plugin/Alert.js +157 -89
  132. package/esm/plugin/AnchorNav.js +337 -263
  133. package/esm/plugin/Audio.d.ts +1 -1
  134. package/esm/plugin/Audio.js +165 -112
  135. package/esm/plugin/Avatar.d.ts +1 -1
  136. package/esm/plugin/Avatar.js +301 -238
  137. package/esm/plugin/Breadcrumb.js +138 -75
  138. package/esm/plugin/Button.d.ts +1 -1
  139. package/esm/plugin/Button.js +310 -228
  140. package/esm/plugin/ButtonGroup.d.ts +1 -1
  141. package/esm/plugin/ButtonGroup.js +174 -106
  142. package/esm/plugin/CRUD.d.ts +1 -1
  143. package/esm/plugin/CRUD.js +1426 -1351
  144. package/esm/plugin/CRUD2.d.ts +2 -3
  145. package/esm/plugin/CRUD2.js +1146 -1075
  146. package/esm/plugin/Card.d.ts +1 -1
  147. package/esm/plugin/Card.js +284 -208
  148. package/esm/plugin/Card2.d.ts +2 -1
  149. package/esm/plugin/Card2.js +139 -74
  150. package/esm/plugin/Cards.js +302 -234
  151. package/esm/plugin/Carousel.d.ts +2 -2
  152. package/esm/plugin/Carousel.js +344 -281
  153. package/esm/plugin/Chart.d.ts +2 -1
  154. package/esm/plugin/Chart.js +326 -158
  155. package/esm/plugin/CodeView.js +104 -44
  156. package/esm/plugin/Collapse.d.ts +1 -1
  157. package/esm/plugin/Collapse.js +168 -101
  158. package/esm/plugin/CollapseGroup.d.ts +1 -1
  159. package/esm/plugin/CollapseGroup.js +249 -187
  160. package/esm/plugin/ColumnToggler.d.ts +1 -1
  161. package/esm/plugin/ColumnToggler.js +140 -87
  162. package/esm/plugin/Container.d.ts +11 -9
  163. package/esm/plugin/Container.js +190 -68
  164. package/esm/plugin/Custom.js +144 -82
  165. package/esm/plugin/CustomRegion.js +173 -110
  166. package/esm/plugin/Date.d.ts +1 -1
  167. package/esm/plugin/Date.js +112 -59
  168. package/esm/plugin/Datetime.d.ts +0 -1
  169. package/esm/plugin/Datetime.js +81 -53
  170. package/esm/plugin/Dialog.d.ts +2 -2
  171. package/esm/plugin/Dialog.js +230 -179
  172. package/esm/plugin/Divider.js +82 -32
  173. package/esm/plugin/Drawer.d.ts +11 -2
  174. package/esm/plugin/Drawer.js +260 -194
  175. package/esm/plugin/DropDownButton.js +261 -182
  176. package/esm/plugin/Each.js +180 -115
  177. package/esm/plugin/Flex.d.ts +2 -27
  178. package/esm/plugin/Flex.js +25 -159
  179. package/esm/plugin/Form/ButtonGroupSelect.d.ts +2 -1
  180. package/esm/plugin/Form/ButtonGroupSelect.js +205 -126
  181. package/esm/plugin/Form/ButtonToolbar.d.ts +1 -1
  182. package/esm/plugin/Form/ButtonToolbar.js +168 -94
  183. package/esm/plugin/Form/ChainedSelect.d.ts +1 -1
  184. package/esm/plugin/Form/ChainedSelect.js +209 -130
  185. package/esm/plugin/Form/Checkbox.d.ts +1 -1
  186. package/esm/plugin/Form/Checkbox.js +208 -131
  187. package/esm/plugin/Form/Checkboxes.d.ts +1 -1
  188. package/esm/plugin/Form/Checkboxes.js +236 -153
  189. package/esm/plugin/Form/CodeEditor.d.ts +0 -1
  190. package/esm/plugin/Form/CodeEditor.js +245 -146
  191. package/esm/plugin/Form/Combo.js +532 -423
  192. package/esm/plugin/Form/ConditionBuilder.d.ts +1 -1
  193. package/esm/plugin/Form/ConditionBuilder.js +287 -221
  194. package/esm/plugin/Form/Control.d.ts +1 -1
  195. package/esm/plugin/Form/Control.js +130 -63
  196. package/esm/plugin/Form/DiffEditor.d.ts +0 -1
  197. package/esm/plugin/Form/DiffEditor.js +253 -151
  198. package/esm/plugin/Form/FieldSet.d.ts +1 -1
  199. package/esm/plugin/Form/FieldSet.js +174 -112
  200. package/esm/plugin/Form/Form.d.ts +1 -1
  201. package/esm/plugin/Form/Form.js +750 -705
  202. package/esm/plugin/Form/Formula.d.ts +1 -9
  203. package/esm/plugin/Form/Formula.js +126 -62
  204. package/esm/plugin/Form/Group.js +250 -183
  205. package/esm/plugin/Form/Hidden.js +106 -42
  206. package/esm/plugin/Form/InputArray.js +233 -157
  207. package/esm/plugin/Form/InputCity.d.ts +1 -1
  208. package/esm/plugin/Form/InputCity.js +181 -104
  209. package/esm/plugin/Form/InputColor.d.ts +1 -1
  210. package/esm/plugin/Form/InputColor.js +296 -224
  211. package/esm/plugin/Form/InputDate.d.ts +1 -1
  212. package/esm/plugin/Form/InputDate.js +299 -189
  213. package/esm/plugin/Form/InputDateRange.d.ts +1 -1
  214. package/esm/plugin/Form/InputDateRange.js +386 -265
  215. package/esm/plugin/Form/InputDateTime.js +93 -33
  216. package/esm/plugin/Form/InputDateTimeRange.js +99 -34
  217. package/esm/plugin/Form/InputEmail.js +80 -30
  218. package/esm/plugin/Form/InputExcel.d.ts +1 -1
  219. package/esm/plugin/Form/InputExcel.js +164 -91
  220. package/esm/plugin/Form/InputFile.d.ts +4 -1
  221. package/esm/plugin/Form/InputFile.js +352 -271
  222. package/esm/plugin/Form/InputGroup.js +132 -73
  223. package/esm/plugin/Form/InputImage.d.ts +4 -1
  224. package/esm/plugin/Form/InputImage.js +385 -303
  225. package/esm/plugin/Form/InputKV.d.ts +1 -1
  226. package/esm/plugin/Form/InputKV.js +168 -94
  227. package/esm/plugin/Form/InputMonth.js +91 -31
  228. package/esm/plugin/Form/InputMonthRange.js +99 -34
  229. package/esm/plugin/Form/InputNumber.d.ts +2 -1
  230. package/esm/plugin/Form/InputNumber.js +288 -201
  231. package/esm/plugin/Form/InputPassword.js +80 -30
  232. package/esm/plugin/Form/InputQuarter.js +91 -31
  233. package/esm/plugin/Form/InputQuarterRange.js +99 -34
  234. package/esm/plugin/Form/InputRange.d.ts +1 -1
  235. package/esm/plugin/Form/InputRange.js +316 -237
  236. package/esm/plugin/Form/InputRating.d.ts +1 -1
  237. package/esm/plugin/Form/InputRating.js +361 -293
  238. package/esm/plugin/Form/InputRepeat.js +105 -45
  239. package/esm/plugin/Form/InputRichText.d.ts +2 -1
  240. package/esm/plugin/Form/InputRichText.js +211 -152
  241. package/esm/plugin/Form/InputSubForm.js +225 -157
  242. package/esm/plugin/Form/InputTable.d.ts +1 -1
  243. package/esm/plugin/Form/InputTable.js +385 -320
  244. package/esm/plugin/Form/InputTag.d.ts +1 -1
  245. package/esm/plugin/Form/InputTag.js +208 -119
  246. package/esm/plugin/Form/InputText.d.ts +1 -1
  247. package/esm/plugin/Form/InputText.js +348 -263
  248. package/esm/plugin/Form/InputTime.js +93 -33
  249. package/esm/plugin/Form/InputTimeRange.js +99 -34
  250. package/esm/plugin/Form/InputTree.d.ts +1 -1
  251. package/esm/plugin/Form/InputTree.js +460 -367
  252. package/esm/plugin/Form/InputURL.js +86 -31
  253. package/esm/plugin/Form/InputYear.js +91 -31
  254. package/esm/plugin/Form/InputYearRange.js +99 -34
  255. package/esm/plugin/Form/Item.d.ts +1 -1
  256. package/esm/plugin/Form/Item.js +214 -190
  257. package/esm/plugin/Form/ListSelect.d.ts +1 -1
  258. package/esm/plugin/Form/ListSelect.js +174 -96
  259. package/esm/plugin/Form/LocationPicker.d.ts +1 -1
  260. package/esm/plugin/Form/LocationPicker.js +115 -57
  261. package/esm/plugin/Form/MatrixCheckboxes.d.ts +1 -1
  262. package/esm/plugin/Form/MatrixCheckboxes.js +247 -170
  263. package/esm/plugin/Form/NestedSelect.d.ts +1 -1
  264. package/esm/plugin/Form/NestedSelect.js +329 -246
  265. package/esm/plugin/Form/Picker.js +260 -178
  266. package/esm/plugin/Form/Radios.d.ts +1 -1
  267. package/esm/plugin/Form/Radios.js +228 -136
  268. package/esm/plugin/Form/Select.d.ts +1 -1
  269. package/esm/plugin/Form/Select.js +333 -228
  270. package/esm/plugin/Form/Static.d.ts +1 -1
  271. package/esm/plugin/Form/Static.js +358 -280
  272. package/esm/plugin/Form/Switch.d.ts +2 -1
  273. package/esm/plugin/Form/Switch.js +257 -172
  274. package/esm/plugin/Form/TabsTransfer.d.ts +1 -1
  275. package/esm/plugin/Form/TabsTransfer.js +316 -238
  276. package/esm/plugin/Form/Textarea.d.ts +0 -1
  277. package/esm/plugin/Form/Textarea.js +219 -130
  278. package/esm/plugin/Form/Transfer.d.ts +1 -1
  279. package/esm/plugin/Form/Transfer.js +349 -259
  280. package/esm/plugin/Form/TreeSelect.d.ts +2 -1
  281. package/esm/plugin/Form/TreeSelect.js +451 -363
  282. package/esm/plugin/Form/UUID.js +106 -42
  283. package/esm/plugin/Grid.d.ts +1 -1
  284. package/esm/plugin/Grid.js +629 -556
  285. package/esm/plugin/HBox.d.ts +1 -1
  286. package/esm/plugin/HBox.js +578 -508
  287. package/esm/plugin/IFrame.d.ts +2 -10
  288. package/esm/plugin/IFrame.js +127 -64
  289. package/esm/plugin/Image.d.ts +2 -2
  290. package/esm/plugin/Image.js +277 -218
  291. package/esm/plugin/Images.d.ts +3 -3
  292. package/esm/plugin/Images.js +214 -160
  293. package/esm/plugin/Json.d.ts +1 -1
  294. package/esm/plugin/Json.js +111 -53
  295. package/esm/plugin/Layout/FlexPluginBase.d.ts +40 -0
  296. package/esm/plugin/Layout/FlexPluginBase.js +327 -0
  297. package/esm/plugin/Layout/Layout1_2_v4.d.ts +10 -0
  298. package/esm/plugin/Layout/Layout1_2_v4.js +144 -0
  299. package/esm/plugin/Layout/Layout_fixed.d.ts +10 -0
  300. package/esm/plugin/Layout/Layout_fixed.js +76 -0
  301. package/esm/plugin/Layout/Layout_fixed_bottom.d.ts +10 -0
  302. package/esm/plugin/Layout/Layout_fixed_bottom.js +83 -0
  303. package/esm/plugin/Layout/Layout_fixed_top.d.ts +10 -0
  304. package/esm/plugin/Layout/Layout_fixed_top.js +82 -0
  305. package/esm/plugin/Layout/Layout_scroll_x.d.ts +10 -0
  306. package/esm/plugin/Layout/Layout_scroll_x.js +166 -0
  307. package/esm/plugin/Layout/Layout_scroll_y.d.ts +10 -0
  308. package/esm/plugin/Layout/Layout_scroll_y.js +154 -0
  309. package/esm/plugin/Link.js +132 -86
  310. package/esm/plugin/List.js +279 -208
  311. package/esm/plugin/ListItem.js +217 -176
  312. package/esm/plugin/Log.d.ts +1 -1
  313. package/esm/plugin/Log.js +102 -44
  314. package/esm/plugin/Mapping.d.ts +1 -1
  315. package/esm/plugin/Mapping.js +168 -115
  316. package/esm/plugin/Markdown.d.ts +1 -1
  317. package/esm/plugin/Markdown.js +98 -40
  318. package/esm/plugin/Nav.js +202 -139
  319. package/esm/plugin/Operation.d.ts +1 -1
  320. package/esm/plugin/Operation.js +116 -59
  321. package/esm/plugin/Others/Action.js +329 -317
  322. package/esm/plugin/Others/TableCell.d.ts +1 -1
  323. package/esm/plugin/Others/TableCell.js +341 -329
  324. package/esm/plugin/Page.d.ts +2 -3
  325. package/esm/plugin/Page.js +374 -283
  326. package/esm/plugin/Pagination.d.ts +2 -1
  327. package/esm/plugin/Pagination.js +299 -219
  328. package/esm/plugin/Panel.d.ts +1 -1
  329. package/esm/plugin/Panel.js +256 -190
  330. package/esm/plugin/Plain.d.ts +1 -1
  331. package/esm/plugin/Plain.js +126 -64
  332. package/esm/plugin/Progress.d.ts +3 -1
  333. package/esm/plugin/Progress.js +280 -202
  334. package/esm/plugin/Property.js +163 -103
  335. package/esm/plugin/QRCode.js +130 -70
  336. package/esm/plugin/Reset.js +61 -22
  337. package/esm/plugin/Service.d.ts +1 -1
  338. package/esm/plugin/Service.js +254 -167
  339. package/esm/plugin/Sparkline.js +91 -32
  340. package/esm/plugin/Status.d.ts +1 -1
  341. package/esm/plugin/Status.js +116 -58
  342. package/esm/plugin/Steps.js +153 -93
  343. package/esm/plugin/Submit.js +56 -22
  344. package/esm/plugin/Table.d.ts +1 -1
  345. package/esm/plugin/Table.js +595 -522
  346. package/esm/plugin/{Table-v2.d.ts → Table2.d.ts} +2 -2
  347. package/esm/plugin/Table2.js +887 -0
  348. package/{lib/plugin/TableCell-v2.d.ts → esm/plugin/TableCell2.d.ts} +1 -1
  349. package/esm/plugin/TableCell2.js +485 -0
  350. package/esm/plugin/TableView.js +648 -599
  351. package/esm/plugin/Tabs.d.ts +1 -1
  352. package/esm/plugin/Tabs.js +470 -360
  353. package/esm/plugin/Tasks.js +246 -186
  354. package/esm/plugin/Time.d.ts +0 -1
  355. package/esm/plugin/Time.js +81 -53
  356. package/esm/plugin/Timeline.d.ts +1 -1
  357. package/esm/plugin/Timeline.js +165 -92
  358. package/esm/plugin/TooltipWrapper.d.ts +1 -1
  359. package/esm/plugin/TooltipWrapper.js +265 -195
  360. package/esm/plugin/Tpl.d.ts +1 -1
  361. package/esm/plugin/Tpl.js +127 -62
  362. package/esm/plugin/Video.d.ts +2 -2
  363. package/esm/plugin/Video.js +173 -103
  364. package/esm/plugin/WebComponent.d.ts +1 -1
  365. package/esm/plugin/WebComponent.js +128 -62
  366. package/esm/plugin/Wizard.js +751 -659
  367. package/esm/plugin/Wrapper.d.ts +2 -1
  368. package/esm/plugin/Wrapper.js +198 -91
  369. package/esm/renderer/APIControl.d.ts +278 -5068
  370. package/esm/renderer/APIControl.js +662 -687
  371. package/esm/renderer/ActionApiControl.d.ts +8 -6384
  372. package/esm/renderer/BadgeControl.d.ts +2 -2
  373. package/esm/renderer/BadgeControl.js +263 -250
  374. package/esm/renderer/DataBindingControl.js +196 -211
  375. package/esm/renderer/DataMappingControl.js +39 -29
  376. package/esm/renderer/DataPickerControl.js +50 -35
  377. package/esm/renderer/DateShortCutControl.d.ts +26 -25
  378. package/esm/renderer/DateShortCutControl.js +420 -286
  379. package/esm/renderer/ExpressionFormulaControl.d.ts +45 -0
  380. package/esm/renderer/ExpressionFormulaControl.js +245 -0
  381. package/esm/renderer/FeatureControl.d.ts +1 -1
  382. package/esm/renderer/FeatureControl.js +228 -212
  383. package/esm/renderer/FormulaControl.d.ts +33 -16
  384. package/esm/renderer/FormulaControl.js +431 -355
  385. package/esm/renderer/GoConfigControl.js +30 -34
  386. package/esm/renderer/OptionControl.d.ts +2 -2
  387. package/esm/renderer/OptionControl.js +750 -688
  388. package/esm/renderer/RangePartsControl.d.ts +2 -2
  389. package/esm/renderer/RangePartsControl.js +320 -326
  390. package/esm/renderer/StatusControl.d.ts +1 -1
  391. package/esm/renderer/StatusControl.js +145 -136
  392. package/esm/renderer/SwitchMoreControl.d.ts +47 -31
  393. package/esm/renderer/SwitchMoreControl.js +366 -318
  394. package/esm/renderer/TimelineItemControl.d.ts +3 -83
  395. package/esm/renderer/TimelineItemControl.js +531 -464
  396. package/esm/renderer/TransferTableControl.d.ts +2 -4
  397. package/esm/renderer/TransferTableControl.js +394 -369
  398. package/esm/renderer/TreeOptionControl.d.ts +1 -1
  399. package/esm/renderer/TreeOptionControl.js +588 -563
  400. package/esm/renderer/ValidationControl.d.ts +1 -1
  401. package/esm/renderer/ValidationControl.js +277 -269
  402. package/esm/renderer/ValidationItem.d.ts +1 -1
  403. package/esm/renderer/ValidationItem.js +145 -134
  404. package/esm/renderer/event-control/action-config-dialog.js +214 -207
  405. package/esm/renderer/event-control/action-config-panel.js +37 -44
  406. package/esm/renderer/event-control/actions.js +466 -145
  407. package/esm/renderer/event-control/comp-action-select.js +37 -27
  408. package/esm/renderer/event-control/helper.d.ts +19 -19
  409. package/esm/renderer/event-control/helper.js +231 -221
  410. package/esm/renderer/event-control/index.d.ts +1 -1
  411. package/esm/renderer/event-control/index.js +641 -631
  412. package/esm/renderer/event-control/types.d.ts +1 -0
  413. package/esm/renderer/style-control/Background.js +64 -116
  414. package/esm/renderer/style-control/Border.js +27 -38
  415. package/esm/renderer/style-control/BoxModel.d.ts +1 -1
  416. package/esm/renderer/style-control/BoxModel.js +11 -4
  417. package/esm/renderer/style-control/BoxShadow.js +17 -19
  418. package/esm/renderer/style-control/Display.js +13 -17
  419. package/esm/renderer/style-control/Font.js +14 -17
  420. package/esm/renderer/style-control/InsetBoxModel.d.ts +17 -0
  421. package/esm/renderer/style-control/InsetBoxModel.js +69 -0
  422. package/esm/renderer/style-control/font-family.js +2 -3
  423. package/esm/renderer/style-control/transformation.js +1 -1
  424. package/esm/renderer/style-control/types.d.ts +4 -4
  425. package/esm/renderer/textarea-formula/FormulaPicker.d.ts +12 -0
  426. package/esm/renderer/textarea-formula/FormulaPicker.js +37 -0
  427. package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +67 -0
  428. package/esm/renderer/textarea-formula/TextareaFormulaControl.js +334 -0
  429. package/esm/renderer/textarea-formula/plugin.d.ts +32 -0
  430. package/esm/renderer/textarea-formula/plugin.js +273 -0
  431. package/esm/renderer/textarea-formula/utils.d.ts +12 -0
  432. package/esm/renderer/textarea-formula/utils.js +76 -0
  433. package/esm/tpl/api.js +26 -37
  434. package/esm/tpl/common.js +192 -114
  435. package/esm/tpl/horizontal.js +4 -6
  436. package/esm/tpl/index.d.ts +1 -0
  437. package/esm/tpl/layout.d.ts +1 -0
  438. package/esm/tpl/layout.js +708 -0
  439. package/esm/tpl/options.js +5 -22
  440. package/esm/tpl/style.js +18 -18
  441. package/esm/tpl/validations.js +9 -24
  442. package/esm/util.d.ts +47 -0
  443. package/esm/util.js +22 -0
  444. package/esm/validator.d.ts +1 -2
  445. package/esm/validator.js +11 -24
  446. package/lib/component/BaseControl.d.ts +5 -810
  447. package/lib/component/BaseControl.js +32 -42
  448. package/lib/component/InputComponentName.js +1 -1
  449. package/lib/component/TableViewEditor.js +547 -454
  450. package/lib/icons/btn/btn-group.svg.js +1 -3
  451. package/lib/icons/btn/btn-select.svg.js +1 -3
  452. package/lib/icons/btn/btn-toolbar.svg.js +1 -3
  453. package/lib/icons/btn/button.svg.js +1 -3
  454. package/lib/icons/btn/dropdown-btn.svg.js +1 -3
  455. package/lib/icons/container/anchor-nav.svg.js +1 -3
  456. package/lib/icons/container/collapse.svg.js +1 -3
  457. package/lib/icons/container/container.svg.js +1 -3
  458. package/lib/icons/container/flex-container.svg.js +1 -3
  459. package/lib/icons/container/form-group.svg.js +1 -3
  460. package/lib/icons/container/grid.svg.js +1 -3
  461. package/lib/icons/container/iframe.svg.js +1 -3
  462. package/lib/icons/container/panel.svg.js +1 -3
  463. package/lib/icons/container/table-view.svg.js +1 -3
  464. package/lib/icons/container/tabs.svg.js +1 -3
  465. package/lib/icons/container/tooltip-wrapper.svg.js +1 -3
  466. package/lib/icons/container/web-component.svg.js +1 -3
  467. package/lib/icons/feat/audio.svg.js +1 -3
  468. package/lib/icons/feat/custom.svg.js +1 -3
  469. package/lib/icons/feat/each.svg.js +1 -3
  470. package/lib/icons/feat/form.svg.js +1 -3
  471. package/lib/icons/feat/nav.svg.js +1 -3
  472. package/lib/icons/feat/qrcode.svg.js +1 -3
  473. package/lib/icons/feat/service.svg.js +1 -3
  474. package/lib/icons/feat/table.svg.js +1 -3
  475. package/lib/icons/feat/tasks.svg.js +1 -3
  476. package/lib/icons/feat/video.svg.js +1 -3
  477. package/lib/icons/feat/wizard.svg.js +1 -3
  478. package/lib/icons/form/chained-select.svg.js +1 -3
  479. package/lib/icons/form/checkbox.svg.js +1 -3
  480. package/lib/icons/form/checkboxes.svg.js +1 -3
  481. package/lib/icons/form/combo.svg.js +1 -3
  482. package/lib/icons/form/condition-builder.svg.js +1 -3
  483. package/lib/icons/form/diff-editor.svg.js +1 -3
  484. package/lib/icons/form/editor.svg.js +1 -3
  485. package/lib/icons/form/formula.svg.js +1 -3
  486. package/lib/icons/form/hidden.svg.js +1 -3
  487. package/lib/icons/form/input-city.svg.js +1 -3
  488. package/lib/icons/form/input-color.svg.js +1 -3
  489. package/lib/icons/form/input-date-range.svg.js +1 -3
  490. package/lib/icons/form/input-date.svg.js +1 -3
  491. package/lib/icons/form/input-datetime.svg.js +1 -3
  492. package/lib/icons/form/input-email.svg.js +1 -3
  493. package/lib/icons/form/input-excel.svg.js +1 -3
  494. package/lib/icons/form/input-file.svg.js +1 -3
  495. package/lib/icons/form/input-group.svg.js +1 -3
  496. package/lib/icons/form/input-image.svg.js +1 -3
  497. package/lib/icons/form/input-kv.svg.js +1 -3
  498. package/lib/icons/form/input-month-range.svg.js +1 -3
  499. package/lib/icons/form/input-number.svg.js +1 -3
  500. package/lib/icons/form/input-password.svg.js +1 -3
  501. package/lib/icons/form/input-quarter-range.svg.js +1 -3
  502. package/lib/icons/form/input-range.svg.js +1 -3
  503. package/lib/icons/form/input-rating.svg.js +1 -3
  504. package/lib/icons/form/input-repeat.svg.js +1 -3
  505. package/lib/icons/form/input-rich-text.svg.js +1 -3
  506. package/lib/icons/form/input-tag.svg.js +1 -3
  507. package/lib/icons/form/input-text.svg.js +1 -3
  508. package/lib/icons/form/input-time-range.svg.js +1 -3
  509. package/lib/icons/form/input-time.svg.js +1 -3
  510. package/lib/icons/form/input-tree.svg.js +1 -3
  511. package/lib/icons/form/input-url.svg.js +1 -3
  512. package/lib/icons/form/input-year.svg.js +1 -3
  513. package/lib/icons/form/inputArray.svg.js +1 -3
  514. package/lib/icons/form/list-select.svg.js +1 -3
  515. package/lib/icons/form/location-picker.svg.js +1 -3
  516. package/lib/icons/form/matrix-checkboxes.svg.js +1 -3
  517. package/lib/icons/form/month.svg.js +1 -3
  518. package/lib/icons/form/nested-select.svg.js +1 -3
  519. package/lib/icons/form/picker.svg.js +1 -3
  520. package/lib/icons/form/quarter.svg.js +1 -3
  521. package/lib/icons/form/radios.svg.js +1 -3
  522. package/lib/icons/form/select.svg.js +1 -3
  523. package/lib/icons/form/static.svg.js +1 -3
  524. package/lib/icons/form/sub-form.svg.js +1 -3
  525. package/lib/icons/form/switch.svg.js +1 -3
  526. package/lib/icons/form/tabs-transfer.svg.js +1 -3
  527. package/lib/icons/form/textarea.svg.js +1 -3
  528. package/lib/icons/form/transfer.svg.js +1 -3
  529. package/lib/icons/form/tree-select.svg.js +1 -3
  530. package/lib/icons/form/uuid.svg.js +1 -3
  531. package/lib/icons/index.js +28 -1
  532. package/lib/icons/layout/layout-1with2.svg.js +56 -0
  533. package/lib/icons/layout/layout-2cols.svg.js +56 -0
  534. package/lib/icons/layout/layout-2row.svg.js +56 -0
  535. package/lib/icons/layout/layout-2with1.svg.js +57 -0
  536. package/lib/icons/layout/layout-3cols.svg.js +56 -0
  537. package/lib/icons/layout/layout-3row.svg.js +57 -0
  538. package/lib/icons/layout/layout-absolute.svg.js +51 -0
  539. package/lib/icons/layout/layout-fixed.svg.js +51 -0
  540. package/lib/icons/layout/layout-full.svg.js +73 -0
  541. package/lib/icons/layout/layout1-2.svg.js +57 -0
  542. package/lib/icons/layout/layout2-1.svg.js +57 -0
  543. package/lib/icons/layout/layout3-1.svg.js +57 -0
  544. package/lib/icons/layout/layout3-2.svg.js +57 -0
  545. package/lib/icons/other/divider.svg.js +1 -3
  546. package/lib/icons/other/property-sheet.svg.js +1 -3
  547. package/lib/icons/other/tooltip.svg.js +1 -3
  548. package/lib/icons/show/URL.svg.js +1 -3
  549. package/lib/icons/show/avatar.svg.js +1 -3
  550. package/lib/icons/show/breadcrumb.svg.js +1 -3
  551. package/lib/icons/show/card.svg.js +1 -3
  552. package/lib/icons/show/cards.svg.js +1 -3
  553. package/lib/icons/show/carousel.svg.js +1 -3
  554. package/lib/icons/show/chart.svg.js +1 -3
  555. package/lib/icons/show/code.svg.js +1 -3
  556. package/lib/icons/show/date.svg.js +1 -3
  557. package/lib/icons/show/datetime.svg.js +1 -3
  558. package/lib/icons/show/image.svg.js +1 -3
  559. package/lib/icons/show/images.svg.js +1 -3
  560. package/lib/icons/show/json-view.svg.js +1 -3
  561. package/lib/icons/show/list.svg.js +1 -3
  562. package/lib/icons/show/log.svg.js +1 -3
  563. package/lib/icons/show/mapping.svg.js +1 -3
  564. package/lib/icons/show/markdown.svg.js +1 -3
  565. package/lib/icons/show/plain.svg.js +1 -3
  566. package/lib/icons/show/progress.svg.js +1 -3
  567. package/lib/icons/show/sparkline.svg.js +1 -3
  568. package/lib/icons/show/status.svg.js +1 -3
  569. package/lib/icons/show/steps.svg.js +1 -3
  570. package/lib/icons/show/time.svg.js +1 -3
  571. package/lib/index.d.ts +11 -2
  572. package/lib/index.js +13 -3
  573. package/lib/locale/en-US.js +315 -102
  574. package/lib/locale/zh-CN.js +218 -3
  575. package/lib/plugin/Alert.d.ts +1 -1
  576. package/lib/plugin/Alert.js +157 -89
  577. package/lib/plugin/AnchorNav.js +337 -263
  578. package/lib/plugin/Audio.d.ts +1 -1
  579. package/lib/plugin/Audio.js +165 -112
  580. package/lib/plugin/Avatar.d.ts +1 -1
  581. package/lib/plugin/Avatar.js +301 -238
  582. package/lib/plugin/Breadcrumb.js +138 -75
  583. package/lib/plugin/Button.d.ts +1 -1
  584. package/lib/plugin/Button.js +310 -228
  585. package/lib/plugin/ButtonGroup.d.ts +1 -1
  586. package/lib/plugin/ButtonGroup.js +174 -106
  587. package/lib/plugin/CRUD.d.ts +1 -1
  588. package/lib/plugin/CRUD.js +1426 -1351
  589. package/lib/plugin/CRUD2.d.ts +2 -3
  590. package/lib/plugin/CRUD2.js +1152 -1081
  591. package/lib/plugin/Card.d.ts +1 -1
  592. package/lib/plugin/Card.js +284 -208
  593. package/lib/plugin/Card2.d.ts +2 -1
  594. package/lib/plugin/Card2.js +139 -74
  595. package/lib/plugin/Cards.js +302 -234
  596. package/lib/plugin/Carousel.d.ts +2 -2
  597. package/lib/plugin/Carousel.js +344 -281
  598. package/lib/plugin/Chart.d.ts +2 -1
  599. package/lib/plugin/Chart.js +326 -158
  600. package/lib/plugin/CodeView.js +104 -44
  601. package/lib/plugin/Collapse.d.ts +1 -1
  602. package/lib/plugin/Collapse.js +168 -101
  603. package/lib/plugin/CollapseGroup.d.ts +1 -1
  604. package/lib/plugin/CollapseGroup.js +249 -187
  605. package/lib/plugin/ColumnToggler.d.ts +1 -1
  606. package/lib/plugin/ColumnToggler.js +140 -87
  607. package/lib/plugin/Container.d.ts +11 -9
  608. package/lib/plugin/Container.js +190 -68
  609. package/lib/plugin/Custom.js +144 -82
  610. package/lib/plugin/CustomRegion.js +173 -110
  611. package/lib/plugin/Date.d.ts +1 -1
  612. package/lib/plugin/Date.js +112 -59
  613. package/lib/plugin/Datetime.d.ts +0 -1
  614. package/lib/plugin/Datetime.js +81 -53
  615. package/lib/plugin/Dialog.d.ts +2 -2
  616. package/lib/plugin/Dialog.js +230 -179
  617. package/lib/plugin/Divider.js +82 -32
  618. package/lib/plugin/Drawer.d.ts +11 -2
  619. package/lib/plugin/Drawer.js +260 -194
  620. package/lib/plugin/DropDownButton.js +261 -182
  621. package/lib/plugin/Each.js +180 -115
  622. package/lib/plugin/Flex.d.ts +2 -27
  623. package/lib/plugin/Flex.js +23 -157
  624. package/lib/plugin/Form/ButtonGroupSelect.d.ts +2 -1
  625. package/lib/plugin/Form/ButtonGroupSelect.js +205 -126
  626. package/lib/plugin/Form/ButtonToolbar.d.ts +1 -1
  627. package/lib/plugin/Form/ButtonToolbar.js +168 -94
  628. package/lib/plugin/Form/ChainedSelect.d.ts +1 -1
  629. package/lib/plugin/Form/ChainedSelect.js +209 -130
  630. package/lib/plugin/Form/Checkbox.d.ts +1 -1
  631. package/lib/plugin/Form/Checkbox.js +208 -131
  632. package/lib/plugin/Form/Checkboxes.d.ts +1 -1
  633. package/lib/plugin/Form/Checkboxes.js +236 -153
  634. package/lib/plugin/Form/CodeEditor.d.ts +0 -1
  635. package/lib/plugin/Form/CodeEditor.js +245 -146
  636. package/lib/plugin/Form/Combo.js +532 -423
  637. package/lib/plugin/Form/ConditionBuilder.d.ts +1 -1
  638. package/lib/plugin/Form/ConditionBuilder.js +288 -222
  639. package/lib/plugin/Form/Control.d.ts +1 -1
  640. package/lib/plugin/Form/Control.js +130 -63
  641. package/lib/plugin/Form/DiffEditor.d.ts +0 -1
  642. package/lib/plugin/Form/DiffEditor.js +252 -150
  643. package/lib/plugin/Form/FieldSet.d.ts +1 -1
  644. package/lib/plugin/Form/FieldSet.js +174 -112
  645. package/lib/plugin/Form/Form.d.ts +1 -1
  646. package/lib/plugin/Form/Form.js +750 -705
  647. package/lib/plugin/Form/Formula.d.ts +1 -9
  648. package/lib/plugin/Form/Formula.js +126 -62
  649. package/lib/plugin/Form/Group.js +250 -183
  650. package/lib/plugin/Form/Hidden.js +106 -42
  651. package/lib/plugin/Form/InputArray.js +233 -157
  652. package/lib/plugin/Form/InputCity.d.ts +1 -1
  653. package/lib/plugin/Form/InputCity.js +181 -104
  654. package/lib/plugin/Form/InputColor.d.ts +1 -1
  655. package/lib/plugin/Form/InputColor.js +296 -224
  656. package/lib/plugin/Form/InputDate.d.ts +1 -1
  657. package/lib/plugin/Form/InputDate.js +299 -189
  658. package/lib/plugin/Form/InputDateRange.d.ts +1 -1
  659. package/lib/plugin/Form/InputDateRange.js +385 -264
  660. package/lib/plugin/Form/InputDateTime.js +93 -33
  661. package/lib/plugin/Form/InputDateTimeRange.js +99 -34
  662. package/lib/plugin/Form/InputEmail.js +80 -30
  663. package/lib/plugin/Form/InputExcel.d.ts +1 -1
  664. package/lib/plugin/Form/InputExcel.js +164 -91
  665. package/lib/plugin/Form/InputFile.d.ts +4 -1
  666. package/lib/plugin/Form/InputFile.js +352 -271
  667. package/lib/plugin/Form/InputGroup.js +132 -73
  668. package/lib/plugin/Form/InputImage.d.ts +4 -1
  669. package/lib/plugin/Form/InputImage.js +385 -303
  670. package/lib/plugin/Form/InputKV.d.ts +1 -1
  671. package/lib/plugin/Form/InputKV.js +168 -94
  672. package/lib/plugin/Form/InputMonth.js +91 -31
  673. package/lib/plugin/Form/InputMonthRange.js +99 -34
  674. package/lib/plugin/Form/InputNumber.d.ts +2 -1
  675. package/lib/plugin/Form/InputNumber.js +287 -200
  676. package/lib/plugin/Form/InputPassword.js +80 -30
  677. package/lib/plugin/Form/InputQuarter.js +91 -31
  678. package/lib/plugin/Form/InputQuarterRange.js +99 -34
  679. package/lib/plugin/Form/InputRange.d.ts +1 -1
  680. package/lib/plugin/Form/InputRange.js +315 -236
  681. package/lib/plugin/Form/InputRating.d.ts +1 -1
  682. package/lib/plugin/Form/InputRating.js +361 -293
  683. package/lib/plugin/Form/InputRepeat.js +105 -45
  684. package/lib/plugin/Form/InputRichText.d.ts +2 -1
  685. package/lib/plugin/Form/InputRichText.js +211 -152
  686. package/lib/plugin/Form/InputSubForm.js +225 -157
  687. package/lib/plugin/Form/InputTable.d.ts +1 -1
  688. package/lib/plugin/Form/InputTable.js +385 -320
  689. package/lib/plugin/Form/InputTag.d.ts +1 -1
  690. package/lib/plugin/Form/InputTag.js +208 -119
  691. package/lib/plugin/Form/InputText.d.ts +1 -1
  692. package/lib/plugin/Form/InputText.js +348 -263
  693. package/lib/plugin/Form/InputTime.js +93 -33
  694. package/lib/plugin/Form/InputTimeRange.js +99 -34
  695. package/lib/plugin/Form/InputTree.d.ts +1 -1
  696. package/lib/plugin/Form/InputTree.js +460 -367
  697. package/lib/plugin/Form/InputURL.js +86 -31
  698. package/lib/plugin/Form/InputYear.js +91 -31
  699. package/lib/plugin/Form/InputYearRange.js +99 -34
  700. package/lib/plugin/Form/Item.d.ts +1 -1
  701. package/lib/plugin/Form/Item.js +213 -189
  702. package/lib/plugin/Form/ListSelect.d.ts +1 -1
  703. package/lib/plugin/Form/ListSelect.js +174 -96
  704. package/lib/plugin/Form/LocationPicker.d.ts +1 -1
  705. package/lib/plugin/Form/LocationPicker.js +115 -57
  706. package/lib/plugin/Form/MatrixCheckboxes.d.ts +1 -1
  707. package/lib/plugin/Form/MatrixCheckboxes.js +247 -170
  708. package/lib/plugin/Form/NestedSelect.d.ts +1 -1
  709. package/lib/plugin/Form/NestedSelect.js +329 -246
  710. package/lib/plugin/Form/Picker.js +260 -178
  711. package/lib/plugin/Form/Radios.d.ts +1 -1
  712. package/lib/plugin/Form/Radios.js +228 -136
  713. package/lib/plugin/Form/Select.d.ts +1 -1
  714. package/lib/plugin/Form/Select.js +333 -228
  715. package/lib/plugin/Form/Static.d.ts +1 -1
  716. package/lib/plugin/Form/Static.js +358 -280
  717. package/lib/plugin/Form/Switch.d.ts +2 -1
  718. package/lib/plugin/Form/Switch.js +257 -172
  719. package/lib/plugin/Form/TabsTransfer.d.ts +1 -1
  720. package/lib/plugin/Form/TabsTransfer.js +316 -238
  721. package/lib/plugin/Form/Textarea.d.ts +0 -1
  722. package/lib/plugin/Form/Textarea.js +219 -130
  723. package/lib/plugin/Form/Transfer.d.ts +1 -1
  724. package/lib/plugin/Form/Transfer.js +349 -259
  725. package/lib/plugin/Form/TreeSelect.d.ts +2 -1
  726. package/lib/plugin/Form/TreeSelect.js +451 -363
  727. package/lib/plugin/Form/UUID.js +106 -42
  728. package/lib/plugin/Grid.d.ts +1 -1
  729. package/lib/plugin/Grid.js +629 -556
  730. package/lib/plugin/HBox.d.ts +1 -1
  731. package/lib/plugin/HBox.js +578 -508
  732. package/lib/plugin/IFrame.d.ts +2 -10
  733. package/lib/plugin/IFrame.js +127 -64
  734. package/lib/plugin/Image.d.ts +2 -2
  735. package/lib/plugin/Image.js +277 -218
  736. package/lib/plugin/Images.d.ts +3 -3
  737. package/lib/plugin/Images.js +214 -160
  738. package/lib/plugin/Json.d.ts +1 -1
  739. package/lib/plugin/Json.js +111 -53
  740. package/lib/plugin/Layout/FlexPluginBase.d.ts +40 -0
  741. package/lib/plugin/Layout/FlexPluginBase.js +332 -0
  742. package/lib/plugin/Layout/Layout1_2_v4.d.ts +10 -0
  743. package/lib/plugin/Layout/Layout1_2_v4.js +148 -0
  744. package/lib/plugin/Layout/Layout_fixed.d.ts +10 -0
  745. package/lib/plugin/Layout/Layout_fixed.js +80 -0
  746. package/lib/plugin/Layout/Layout_fixed_bottom.d.ts +10 -0
  747. package/lib/plugin/Layout/Layout_fixed_bottom.js +87 -0
  748. package/lib/plugin/Layout/Layout_fixed_top.d.ts +10 -0
  749. package/lib/plugin/Layout/Layout_fixed_top.js +86 -0
  750. package/lib/plugin/Layout/Layout_scroll_x.d.ts +10 -0
  751. package/lib/plugin/Layout/Layout_scroll_x.js +170 -0
  752. package/lib/plugin/Layout/Layout_scroll_y.d.ts +10 -0
  753. package/lib/plugin/Layout/Layout_scroll_y.js +158 -0
  754. package/lib/plugin/Link.js +131 -85
  755. package/lib/plugin/List.js +279 -208
  756. package/lib/plugin/ListItem.js +217 -176
  757. package/lib/plugin/Log.d.ts +1 -1
  758. package/lib/plugin/Log.js +102 -44
  759. package/lib/plugin/Mapping.d.ts +1 -1
  760. package/lib/plugin/Mapping.js +168 -115
  761. package/lib/plugin/Markdown.d.ts +1 -1
  762. package/lib/plugin/Markdown.js +98 -40
  763. package/lib/plugin/Nav.js +202 -139
  764. package/lib/plugin/Operation.d.ts +1 -1
  765. package/lib/plugin/Operation.js +116 -59
  766. package/lib/plugin/Others/Action.js +329 -317
  767. package/lib/plugin/Others/TableCell.d.ts +1 -1
  768. package/lib/plugin/Others/TableCell.js +341 -329
  769. package/lib/plugin/Page.d.ts +2 -3
  770. package/lib/plugin/Page.js +374 -283
  771. package/lib/plugin/Pagination.d.ts +2 -1
  772. package/lib/plugin/Pagination.js +299 -219
  773. package/lib/plugin/Panel.d.ts +1 -1
  774. package/lib/plugin/Panel.js +256 -190
  775. package/lib/plugin/Plain.d.ts +1 -1
  776. package/lib/plugin/Plain.js +126 -64
  777. package/lib/plugin/Progress.d.ts +3 -1
  778. package/lib/plugin/Progress.js +280 -202
  779. package/lib/plugin/Property.js +163 -103
  780. package/lib/plugin/QRCode.js +130 -70
  781. package/lib/plugin/Reset.js +61 -22
  782. package/lib/plugin/Service.d.ts +1 -1
  783. package/lib/plugin/Service.js +254 -167
  784. package/lib/plugin/Sparkline.js +91 -32
  785. package/lib/plugin/Status.d.ts +1 -1
  786. package/lib/plugin/Status.js +116 -58
  787. package/lib/plugin/Steps.js +153 -93
  788. package/lib/plugin/Submit.js +56 -22
  789. package/lib/plugin/Table.d.ts +1 -1
  790. package/lib/plugin/Table.js +595 -522
  791. package/lib/plugin/{Table-v2.d.ts → Table2.d.ts} +2 -2
  792. package/lib/plugin/Table2.js +891 -0
  793. package/{esm/plugin/TableCell-v2.d.ts → lib/plugin/TableCell2.d.ts} +1 -1
  794. package/lib/plugin/TableCell2.js +493 -0
  795. package/lib/plugin/TableView.js +648 -599
  796. package/lib/plugin/Tabs.d.ts +1 -1
  797. package/lib/plugin/Tabs.js +470 -360
  798. package/lib/plugin/Tasks.js +246 -186
  799. package/lib/plugin/Time.d.ts +0 -1
  800. package/lib/plugin/Time.js +81 -53
  801. package/lib/plugin/Timeline.d.ts +1 -1
  802. package/lib/plugin/Timeline.js +165 -92
  803. package/lib/plugin/TooltipWrapper.d.ts +1 -1
  804. package/lib/plugin/TooltipWrapper.js +265 -195
  805. package/lib/plugin/Tpl.d.ts +1 -1
  806. package/lib/plugin/Tpl.js +126 -61
  807. package/lib/plugin/Video.d.ts +2 -2
  808. package/lib/plugin/Video.js +173 -103
  809. package/lib/plugin/WebComponent.d.ts +1 -1
  810. package/lib/plugin/WebComponent.js +128 -62
  811. package/lib/plugin/Wizard.js +751 -659
  812. package/lib/plugin/Wrapper.d.ts +2 -1
  813. package/lib/plugin/Wrapper.js +198 -91
  814. package/lib/renderer/APIControl.d.ts +278 -5068
  815. package/lib/renderer/APIControl.js +663 -688
  816. package/lib/renderer/ActionApiControl.d.ts +8 -6384
  817. package/lib/renderer/BadgeControl.d.ts +6 -6
  818. package/lib/renderer/BadgeControl.js +263 -250
  819. package/lib/renderer/DataBindingControl.js +197 -212
  820. package/lib/renderer/DataMappingControl.js +39 -29
  821. package/lib/renderer/DataPickerControl.js +50 -35
  822. package/lib/renderer/DateShortCutControl.d.ts +26 -25
  823. package/lib/renderer/DateShortCutControl.js +418 -284
  824. package/lib/renderer/ExpressionFormulaControl.d.ts +45 -0
  825. package/lib/renderer/ExpressionFormulaControl.js +254 -0
  826. package/lib/renderer/FeatureControl.d.ts +1 -1
  827. package/lib/renderer/FeatureControl.js +229 -213
  828. package/lib/renderer/FormulaControl.d.ts +33 -16
  829. package/lib/renderer/FormulaControl.js +429 -356
  830. package/lib/renderer/GoConfigControl.js +30 -34
  831. package/lib/renderer/OptionControl.d.ts +2 -2
  832. package/lib/renderer/OptionControl.js +750 -688
  833. package/lib/renderer/RangePartsControl.d.ts +2 -2
  834. package/lib/renderer/RangePartsControl.js +320 -326
  835. package/lib/renderer/StatusControl.d.ts +1 -1
  836. package/lib/renderer/StatusControl.js +145 -136
  837. package/lib/renderer/SwitchMoreControl.d.ts +67 -51
  838. package/lib/renderer/SwitchMoreControl.js +367 -319
  839. package/lib/renderer/TimelineItemControl.d.ts +3 -83
  840. package/lib/renderer/TimelineItemControl.js +531 -464
  841. package/lib/renderer/TransferTableControl.d.ts +2 -4
  842. package/lib/renderer/TransferTableControl.js +394 -369
  843. package/lib/renderer/TreeOptionControl.d.ts +1 -1
  844. package/lib/renderer/TreeOptionControl.js +588 -563
  845. package/lib/renderer/ValidationControl.d.ts +1 -1
  846. package/lib/renderer/ValidationControl.js +277 -269
  847. package/lib/renderer/ValidationItem.d.ts +1 -1
  848. package/lib/renderer/ValidationItem.js +145 -134
  849. package/lib/renderer/event-control/action-config-dialog.js +214 -207
  850. package/lib/renderer/event-control/action-config-panel.js +37 -44
  851. package/lib/renderer/event-control/actions.js +465 -144
  852. package/lib/renderer/event-control/comp-action-select.js +37 -27
  853. package/lib/renderer/event-control/helper.d.ts +19 -19
  854. package/lib/renderer/event-control/helper.js +232 -220
  855. package/lib/renderer/event-control/index.d.ts +1 -1
  856. package/lib/renderer/event-control/index.js +641 -630
  857. package/lib/renderer/event-control/types.d.ts +1 -0
  858. package/lib/renderer/style-control/Background.js +64 -116
  859. package/lib/renderer/style-control/Border.js +27 -38
  860. package/lib/renderer/style-control/BoxModel.d.ts +1 -1
  861. package/lib/renderer/style-control/BoxModel.js +11 -4
  862. package/lib/renderer/style-control/BoxShadow.js +17 -19
  863. package/lib/renderer/style-control/Display.js +13 -17
  864. package/lib/renderer/style-control/Font.js +14 -17
  865. package/lib/renderer/style-control/InsetBoxModel.d.ts +17 -0
  866. package/lib/renderer/style-control/InsetBoxModel.js +77 -0
  867. package/lib/renderer/style-control/font-family.js +2 -3
  868. package/lib/renderer/style-control/transformation.js +1 -1
  869. package/lib/renderer/style-control/types.d.ts +4 -4
  870. package/lib/renderer/textarea-formula/FormulaPicker.d.ts +12 -0
  871. package/lib/renderer/textarea-formula/FormulaPicker.js +47 -0
  872. package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +67 -0
  873. package/lib/renderer/textarea-formula/TextareaFormulaControl.js +345 -0
  874. package/lib/renderer/textarea-formula/plugin.d.ts +32 -0
  875. package/lib/renderer/textarea-formula/plugin.js +278 -0
  876. package/lib/renderer/textarea-formula/utils.d.ts +12 -0
  877. package/lib/renderer/textarea-formula/utils.js +81 -0
  878. package/lib/tpl/api.js +30 -41
  879. package/lib/tpl/common.js +192 -113
  880. package/lib/tpl/horizontal.js +6 -8
  881. package/lib/tpl/index.d.ts +1 -0
  882. package/lib/tpl/layout.d.ts +1 -0
  883. package/lib/tpl/layout.js +715 -0
  884. package/lib/tpl/options.js +5 -22
  885. package/lib/tpl/style.js +18 -18
  886. package/lib/tpl/validations.js +9 -24
  887. package/lib/util.d.ts +47 -0
  888. package/lib/util.js +30 -0
  889. package/lib/validator.d.ts +1 -2
  890. package/lib/validator.js +11 -24
  891. package/package.json +10 -28
  892. package/esm/plugin/Table-v2.js +0 -819
  893. package/esm/plugin/TableCell-v2.js +0 -499
  894. package/lib/plugin/Table-v2.js +0 -823
  895. package/lib/plugin/TableCell-v2.js +0 -507
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-editor v5.2.0-beta.2
2
+ * amis-editor v5.2.1-beta.15
3
3
  * Copyright 2018-2022 @fex
4
4
  */
5
5
 
@@ -1884,7 +1884,7 @@ i18nRuntime.extendLocale('zh-CN', {
1884
1884
  '9769ee568100b0c530a06ec3f0c0044d': '内容1',
1885
1885
  '4be268145385303e8ebeb480458a380e': '选项卡2',
1886
1886
  'c50159e2acff0f4ffdce4c67ec3513a3': '内容2',
1887
- 'c8794c58d0eb020ca40905d1904d88b2': '修改激活tab值',
1887
+ 'c8794c58d0eb020ca40905d1904d88b2': '激活指定选项卡',
1888
1888
  'fcd3abb110aab48ebd0ac2a1d7040d6d': '修改当前激活tab项的key',
1889
1889
  '9d000284174ff09642502803887f28ed': '激活第',
1890
1890
  '29645b509093191cad34c673c1b3efb7': '项',
@@ -2598,5 +2598,220 @@ i18nRuntime.extendLocale('zh-CN', {
2598
2598
  '784cf5219012b5f16f2985b7f1fd52f5': '<div>当值为 __undefined时,表示删除对应的字段,可以结合{"&": "$$"}来达到黑名单效果。</div>',
2599
2599
  'af9f27383daeec508815a33753247f42': '${data["&"] ? "已开启定制参数功能,可点击关闭该功能。" : "如果需要在默认数据的基础上定制参数,请配置开启参数定制再定义key和value。"}',
2600
2600
  'ff0d36eac9b9c029d91c365cd2c7e6cf': '${data["&"] ? "立即关闭" : "立即开启"}',
2601
- '7237d0dfa065bf451120d06330291b7d': "({\n isEmail: 'Email 格式不正确',\n isRequired: '这是必填项',\n isUrl: 'Url 格式不正确',\n isInt: '请输入整形数字',\n isAlpha: '请输入字母',\n isNumeric: '请输入数字',\n isAlphanumeric: '请输入字母或者数字',\n isFloat: '请输入浮点型数值',\n isWords: '请输入字母',\n isUrlPath: '只能输入字母、数字、\\`-\\` 和 \\`_\\`.',\n matchRegexp: '格式不正确, 请输入符合规则为 \\`$1\\` 的内容。',\n minLength: '请输入更多的内容,至少输入 $1 个字符。',\n maxLength: '请控制内容长度, 请不要输入 $1 个字符以上',\n maximum: '当前输入值超出最大值 $1,请检查',\n minimum: '当前输入值低于最小值 $1,请检查',\n isJson: '请检查 Json 格式。',\n isLength: '请输入长度为 $1 的内容',\n notEmptyString: '请不要全输入空白字符',\n equalsField: '输入的数据与 $1 值不一致',\n equals: '输入的数据与 $1 不一致',\n isPhoneNumber: '请输入合法的手机号码',\n isTelNumber: '请输入合法的电话号码',\n isZipcode: '请输入合法的邮编地址',\n isId: '请输入合法的身份证号',\n })[data.type] || ''"
2601
+ '7237d0dfa065bf451120d06330291b7d': "({\n isEmail: 'Email 格式不正确',\n isRequired: '这是必填项',\n isUrl: 'Url 格式不正确',\n isInt: '请输入整形数字',\n isAlpha: '请输入字母',\n isNumeric: '请输入数字',\n isAlphanumeric: '请输入字母或者数字',\n isFloat: '请输入浮点型数值',\n isWords: '请输入字母',\n isUrlPath: '只能输入字母、数字、\\`-\\` 和 \\`_\\`.',\n matchRegexp: '格式不正确, 请输入符合规则为 \\`$1\\` 的内容。',\n minLength: '请输入更多的内容,至少输入 $1 个字符。',\n maxLength: '请控制内容长度, 请不要输入 $1 个字符以上',\n maximum: '当前输入值超出最大值 $1,请检查',\n minimum: '当前输入值低于最小值 $1,请检查',\n isJson: '请检查 Json 格式。',\n isLength: '请输入长度为 $1 的内容',\n notEmptyString: '请不要全输入空白字符',\n equalsField: '输入的数据与 $1 值不一致',\n equals: '输入的数据与 $1 不一致',\n isPhoneNumber: '请输入合法的手机号码',\n isTelNumber: '请输入合法的电话号码',\n isZipcode: '请输入合法的邮编地址',\n isId: '请输入合法的身份证号',\n })[data.type] || ''",
2602
+ '5e568c42a5ecb74db2dc3d8531079dd6': '<a target="_blank" href="https://www.tiny.cloud/docs/general-configuration-guide/basic-setup/">参考文档</a>',
2603
+ 'cadf0e302ddbc6fdbf005aed670b5e3e': '代码变化',
2604
+ '6006074bdabc639b86f42aa18876e33a': '代码变化时触发',
2605
+ '28e5fd494ea37a09fd2ad36d0f98bacc': '被删除的项',
2606
+ '046de1a6cb21ff83af74958342c0db64': '被激活的项',
2607
+ 'f6e5fc909971d2e5f6ffe23edae93584': '如果数据比较多,比较卡顿时,可开启此配置项。',
2608
+ '31dae237cbd03ae0d2dcf7ad2fd4fb76': '初始化接口请求成功后返回的数据',
2609
+ '850c62f7b1ebfb4b89182ecd51202a7d': '表单提交成功后触发,如果事件源是按钮,且按钮的类型为“提交”,那么即便当前表单没有配置“保存接口”也将触发提交成功事件',
2610
+ '88b2930823f9fd6706473805e9b11797': '保存接口请求成功后返回的数据',
2611
+ '3e07258baf3c4389c1ffd4a98c20b8fe': '保存接口请求失败后返回的错误信息',
2612
+ '0d6581b6dd51f6c03a4edf26475d75c6': '被移除的项',
2613
+ '4ea280a2e54969de1d1b9bbd5b708e63': '点击选项',
2614
+ 'f05520432bb87ced419a1da818c6cc9d': '选项被点击时触发',
2615
+ '91f7b7fdf9b91073ca3519260f7a62d7': '所点击的选项',
2616
+ '6afde638796d237377b0755506d08ded': '目标组件',
2617
+ 'fee99f2bcced486e4753a8f58f511d3f': '追加数据',
2618
+ '3f3f4c71c1b736e7f01cf910a553ff43': '选择“是”时,会将源组件所在数据域变量同步到目标组件的数据域。<br/>如果目标组件是增删改查组件,且增删改查组件的数据拉取接口是get请求,则源组件所在数据域变量将追加到目标组件的初始化请求query中。',
2619
+ '2aecb19ca1655d66fc80fc27a783cc9e': '追加方式',
2620
+ 'b67b01a3b9170f1daf78082cfd0df793': '选择“合并”时,会将数据合并到目标组件的数据域。<br/>选择“覆盖”时,数据会直接覆盖目标组件的数据域。',
2621
+ 'bd81577a6fd4956e676cec499bb70d00': '合并',
2622
+ 'e09fea40f7e4abd4b2a495b315940688': '覆盖',
2623
+ '9a5500b6013ec1ebf61bdf0e18452348': '数据默认为源组件所在数据域,可以选择“自定义”来定制所需数据',
2624
+ 'f30bcdccf71b19e858c37d8881d2b206': '源组件所在数据域',
2625
+ 'fa644cb20c66f7530d8a376d4fa6a36e': '组件数据',
2626
+ '7d9260bd45b2e85a09398f218c25f220': '更新目标组件的数据域或目标表单项的数据值',
2627
+ 'e7af71fb102cc86ab3be6a2fb32b5e3f': '数据设置',
2628
+ '77b1081c177fa3334cc93c99f0ecee75': '直接赋值',
2629
+ 'f5c5e3d69daee06ea1606378ef466765': '成员赋值',
2630
+ '697af73997072e0ce9ee65b15a7b3715': '重置页码',
2631
+ 'd7bf42dd6e66f2818f9a232603c4a53b': '选择“是”时,将重新请求第一页数据。',
2632
+ '3e573fd37473d789211ee44335d82fad': '静态 CSS 类名',
2633
+ '905407c57ccd033cb6bd64bfad20a8c7': '静态展示时 的 CSS 类名',
2634
+ '0d1f68afa19f3f3dd88e28d17c98ddf9': '表格2',
2635
+ 'e052287273ad39a1d3fa9fa3decb5fd9': '组件展示态',
2636
+ '506f28f48dbebd5d19e19dfc721e13be': '控制所选的组件的输入态/静态',
2637
+ '0e35b091e18032508758899735664df7': '组件切换为静态',
2638
+ '34d361256526b04909e064c29d9a9b76': '组件切换为输入态',
2639
+ 'd2e930293da37452638759e17d771adf': '组件状态',
2640
+ 'b535bea11c97ec5588b1494799de4d60': '表单输入',
2641
+ 'f7784642f42d33f506ba05f3daefc3c4': '表单静态',
2642
+ 'a8797a840f3c0bbb5297aada95f9b13a': '表单项静态',
2643
+ '7bb3e24cc54f4b8ee0a65d14fa4c067c': '激活指定选项卡',
2644
+ 'fd951a59a7c635d5330bc1aeec22c813': '自定义数据',
2645
+ 'b62ce3df3c0d5772006c525b60d5eeab': '数据默认为源组件所在数据域,开启“自定义”可以定制所需数据',
2646
+ '0f9803bd27434940d4017007c105a861': '当选择“是”,且目标组件是增删改查组件时,数据接口请求时将带上这些数据,其他类型的目标组件只有在数据接口是post请求时才会带上这些数据。',
2647
+ '81e1ff0bb8917a9df99d737982ee24b7': 'SubForm, 配置一个子 form 作为当前的表单项',
2648
+ 'a5c2dba5ccf62851b24cfa12d4958ce2': '可以用来展现数据的,可以用来展示数组类型的数据,比如 multiple 的子 form',
2649
+ '74104c62ed33836f0bc74297539dd7c9': '配置 options 可以实现选择选项',
2650
+ 'b5ade3d97d5b11bc784786111e011571': '树型结构来选择,可通过 options 来配置选项,也可通过 source 拉取选项',
2651
+ '2c05e451a6f2b2fe1cf55f7afb8c8423': '单选或者多选,支持 source 拉取选项,选项可配置图片,也可以自定义 HTML 配置',
2652
+ 'c65c9862813c7a66c0df52e301e0e1d1': '适用于选项中含有子项,可通过 source 拉取选项,支持多选',
2653
+ '8f650b58c8421edecfb380d6f60ef40e': '通过 pickerSchema 配置可供选取的数据源进行选择需要的数据,支持多选',
2654
+ 'b7a4abc1e4e975c9df5bb9d9cf4823ba': '通过 options 配置选项,可通过 source 拉取选项',
2655
+ 'f2fc416c7d95a93a8da621f760be8417': '支持多选,输入提示,可使用 source 获取选项',
2656
+ 'b4482a3d9523f48e83a816fa85911185': '纯用来展示数据,可用来展示 json、date、image、progress 等数据',
2657
+ 'ecfd82eb65102274188011a502913d3a': '抽屉数据',
2658
+ '951f802ebd0c0d795fbae6767a5ee9b3': '初始化接口请求成功',
2659
+ 'da0126992b4937a5fd847ef5366b02e6': '初始化接口请求成功返回的数据',
2660
+ '70b8342d743374233bfee0f56c7f0fc7': '节点示例数据',
2661
+ '38f85482d657cd4db1280c5efa1950fd': '{{@1}}对齐方式',
2662
+ '0a0574baedb8eb2abf7daf25159d8bb1': '设置子元素在主轴上的对齐方式',
2663
+ '5ccc4c05cd41195f202f550a4c307a64': '设置子元素在交叉轴上的对齐方式',
2664
+ 'b1b98c19058af70d8bd499e1899e93bc': '布局容器',
2665
+ '03097563d201ad3a29c79165226764e5': '布局容器 是基于 CSS Flex 实现的布局效果,它比 Grid 和 HBox 对子节点位置的可控性更强,比用 CSS 类的方式更易用',
2666
+ 'e151c86d57096bb74dcd390ade29362b': '新的一列',
2667
+ 'e5f9b3a3655b8daddcee8b97b735887f': '向前插入布局容器',
2668
+ '577b33bf128fba16ed8e9bf7c395f455': '向后插入布局容器',
2669
+ '31f84d1bc6175fd0828a81b5bfd98736': '新增列级元素',
2670
+ 'cbc1d00cc640b67ee34a29a694ef162a': '左侧(上侧)插入列级容器',
2671
+ 'bb3cc092e17ff83e943554bde3d5771b': '右侧(下侧)插入列级容器',
2672
+ 'b19b454fe603e03e98ad9772615c7c32': '定位模式',
2673
+ '8444f01399c0003fbb68eeff1310566c': '指定当前容器元素的定位类型',
2674
+ '5ddea41072a27a74a1715549dfb79bc2': '相对',
2675
+ 'e9513a013011450c57cfe3ef51b7d4b0': '固定(相对窗口)',
2676
+ '3059599d8ebfec00a8ab53346d9b4fa3': '绝对(相对父容器)',
2677
+ '86a6b5a0a45bba5b6187cc2277e3375e': '布局位置',
2678
+ '6e72759ed1cbf9f9e8523197dd93888f': '指定当前容器元素的定位位置,用于配置 top、right、bottom、left。',
2679
+ '6896da744f8ae9633263d55af0fceae1': '层级',
2680
+ '6f649980c839dffca1506f20d534fe3d': '指定元素的堆叠顺序,层级高的元素总是会处于较低层级元素的上面。',
2681
+ 'a8489cf57d7f44e889aff79434776f47': '默认为块级,可设置为弹性布局模式(flex布局容器)',
2682
+ '4180e30c34190007ffaa654e0959b8a3': '行内弹性布局',
2683
+ 'ebe7bde5c9094813e2924473488d281a': '行内块级',
2684
+ 'dde193342b8c350ae29795117c0c5b9a': '水平对齐方式',
2685
+ '5b15af1f73b4f2d5bb152410863602f4': '垂直对齐方式',
2686
+ '78d32d2bd35c0262fe77b517c5a4fb62': '排列方向',
2687
+ '3fa460b81736c0360f6f7571801935b1': '设置成水平排列方向,则从左到右放置子项;设置成垂直排列方向,则从上到下放置子项',
2688
+ 'fa228d6bec96d052de0ad369407f5241': '水平(起点在右端)',
2689
+ '2df3bc66ab3fcb0de1caf11831eff595': '垂直(起点在下沿)',
2690
+ '98b2fea2d8f3ceb81e9ce32d66383f05': '如何换行',
2691
+ '9af509c2a9636343199b9072e001826c': '默认(不换行)',
2692
+ 'd4054144c4341872496e3550fdb1b826': '自动换行(颠倒)',
2693
+ 'ee2df1c1a0d99094f641166535948d4b': '弹性模式',
2694
+ '947c03e411c20563c7ac67d0a5ad741b': '设置为弹性模式后,自动适配当前所在区域',
2695
+ 'f92626f9e56b3e2d0c47495a446acf71': '弹性宽度',
2696
+ 'cf8852316501c22ea19c4e432c59e7d7': '默认宽度',
2697
+ '9cc69c8469b23b77519065d3df381113': '定义在分配多余空间之前,项目占据的主轴空间(main size)',
2698
+ '0ad8b3b736ae5b9e23cf16ac13e1e283': '占比设置',
2699
+ 'fa6bb048a2f73975a40789b30c5b8a06': '定义项目的放大比例,默认为0,即如果存在剩余空间,也不放大。',
2700
+ 'c19b79073b676b9bade80613aba2dbfa': '固定高度',
2701
+ 'd1b91a1a24f0d4935c2dd13e6a22b6d4': '最大宽度即当前元素最大的水平展示区域',
2702
+ 'c18457fe4f249f06b48297ccfe6224e8': ' x轴滚动模式',
2703
+ 'c2ed47a1f0f45cf7e2d22bddffc8a732': '用于设置水平方向的滚动模式',
2704
+ 'cbc7af1d6422e88f4b87ade748e0f07d': '超出显示',
2705
+ 'b48a90c77b5e792260d830c2d68c527e': '超出隐藏',
2706
+ 'ddea62517e2bd1007712689746ebfe00': '滚动显示',
2707
+ '55becc96b40692cc9cf898b331d16976': '自动适配',
2708
+ 'ede82efb4a69c35743185c6c73ab771e': '最小宽度即当前元素最小的水平展示区域',
2709
+ '6f420734edfaff00a8210a4c762a9207': '最大高度即当前元素最多的展示高度',
2710
+ '411f9d120093314cd38e6dd5cce398c6': '最小高度即当前元素最小的垂直展示区域',
2711
+ 'ff9e9329fe186be342ef59ee711b9371': ' y轴滚动模式',
2712
+ 'b31c6aaa78f8e24df665ce80ab5301e2': '用于设置垂直方向的滚动模式',
2713
+ '4fc0e68b093db41b45a4ea706fbe56f3': '居中显示',
2714
+ '55efb233147f9539de019d9abc7653f9': '通过将设置 margin: 0 auto 来达到居中显示',
2715
+ '2bf5bcbe21f39b254a601664fb8b264d': '默认(自动换行)',
2716
+ 'b2d418355cb59a5613ecff7b150c588f': '不换行',
2717
+ '7d1313925f158b747c094a7f2480e535': '参考位置',
2718
+ '41a7494315a528f0f9618646f7e0dddf': '可设置为左上角、右上角、右下角、左下角,默认为右下角',
2719
+ '845c61ac8f51c6702dd22e5657c07e8d': '右下角(默认)',
2720
+ '2794fe303cf8ad4395fe93271fae7925': '布局容器主要用于设计复杂布局的容器组件,基于 CSS Flex 实现的布局效果,比 Grid 和 HBox 对子节点位置的可控性更强,比用 CSS 类的方式更简单易用',
2721
+ 'abbd790f85282349e2004df9fd494e31': '在分配多余空间之前,其默认占据的主轴空间(main size)',
2722
+ 'dbb93e8f413074ead24b6ed822247d98': '上方插入布局容器',
2723
+ '5b5765b3fd7e72e04a5cd3e2ef6218a4': '下方插入布局容器',
2724
+ 'ee466872b9a43e720e296813dbc5adee': '{{@1}}插入列级容器',
2725
+ '14c495b1248756310c75396cd41f4fe9': '上方',
2726
+ 'e33ac3a4c1a95a02a18f1555038804da': '下方',
2727
+ 'e731c52010266b8ade1e7e78e25cdccc': '常见布局',
2728
+ 'f80bd0a5546465336f4f9cafdfa8b67f': '默认高度',
2729
+ 'ba9ccf1040d7abd0848046330ba3558c': '经典布局',
2730
+ '230d65546ea0d299907943403608233c': '常见布局:经典布局(基于 CSS Flex 实现的布局容器)。',
2731
+ '9bbb7cfaeb34a2b5c095ac253355f028': '悬浮容器',
2732
+ 'a3e91631c1a3a43e09526ea7f6b8595c': '常见布局:悬浮容器(基于 CSS Flex 实现的布局容器)。',
2733
+ 'd423930b823fc45f08c18922b19e4e9e': '吸底容器',
2734
+ 'b8b4eb373d8ba6f98271b681fba2511d': '常见布局:吸底容器(基于 CSS Flex 实现的布局容器)。',
2735
+ 'faaa6444a709917ff33e0d58948504dc': '吸顶容器',
2736
+ '1facf0bd0f56c66759857345e7434443': '常见布局:吸顶容器(基于 CSS Flex 实现的布局容器)。',
2737
+ 'f416a3a2566dda04bc0ef67027e6f460': 'x轴滚动容器',
2738
+ 'e3d9ad8453925764f2918dbfd6ff824e': '常见布局:x轴滚动容器(基于 CSS Flex 实现的布局容器)。',
2739
+ '053e0cbf18c8fe59b928d52fcd556b88': 'y轴滚动容器',
2740
+ 'c9f089cefc06c217c6dddfe2fc772ea3': '常见布局:y轴滚动容器(基于 CSS Flex 实现的布局容器)。',
2741
+ '3587540660a01f8a8aff6a2c0409a404': '开启弹性模式后,自动适配当前所在区域',
2742
+ '2ea6f1f33dec7cb3c23a1bf1f9eab11a': '鼠标点击',
2743
+ 'fe9228649853d08eebee72ad5521a3dd': '鼠标点击时触发',
2744
+ 'a643d2fe12d205eb8fb5cffe92f62c35': '鼠标悬停时触发',
2745
+ '764c134791952dd1acb0f23587e75421': '切换图例选中状态',
2746
+ '262cd2f688751332c1907a659e686210': '切换图例选中状态时触发',
2747
+ 'fd312ae2f1c24b8a14d9412bb3c6bb76': '最近n天',
2748
+ '68cba5f27ab003cfada5eb4c1f29eb21': 'n天以内',
2749
+ '34b06708894a178c440e6f6539e95e9e': '最近n周',
2750
+ 'f0e1b8d8a6e731360d7348bc8301d44a': 'n周以内',
2751
+ '5cad2778bb8f01d1a1b1226082eb2117': '最近n月',
2752
+ 'ff76f60b3da86a0d2c6663b170a7955a': 'n月以内',
2753
+ '9ff9b56c9ed633ee09396830e93113ad': '最近n季度',
2754
+ '2b80b20008b3ae81136217ae10a1fbaf': 'n季度以内',
2755
+ '84752114d27119dc50d8a7b9ac0b788b': '最近n年',
2756
+ '5df2352afebd73d1f568ebaa81e2db28': 'n年以内',
2757
+ '8572d14f815d840bd9e940cd8ee4e380': '通过键盘上下方向键来加减数据值',
2758
+ '925d31bb30d63576600299475a910c33': '输入内容前展示,不包含在数据值中',
2759
+ '42677544e2cbee28f7e7df216e685543': '输入内容后展示,不包含在数据值中',
2760
+ '046c6233e03af774df7b90b4504fa96c': '最近',
2761
+ '249aba763258bbe488af3e79a381d265': '天',
2762
+ '2f8ab07bea442bc6ce8a9e99ff88e5c1': '天以内',
2763
+ 'a657f46f5bb00961adfae80d12e41b3d': '周',
2764
+ 'b1599eaa05dc9b3d90be5aebc5c84338': '周以内',
2765
+ 'e42b99d59954ce6437e66f416850425a': '月',
2766
+ '3c690347976de82df1909750cbc82b80': '月以内',
2767
+ 'b62ba98a627851e911bef8fbb005bd4a': '季度以内',
2768
+ '465260fe80b0c3338d06194bb7a94446': '年',
2769
+ '137bcb84f52bbd48623c37d8dfdebdff': '年以内',
2770
+ '279d93f2d745ed08e9034022941510dc': '常用跨度',
2771
+ '7a1e5f93e362d371519bcb2bfdb0fc9a': '自定义跨度',
2772
+ '4a12e9b9fc5443e5e9999b5a7c56c19a': '默认(占满)',
2773
+ '2cb472ff9cad0c89a033c53996b52053': '初始化',
2774
+ '76ddcc0ad85aa4be6875b73244a64faf': '组件实例被创建并插入 DOM 中时触发',
2775
+ '584e4b6108e132be92c9de09d7bbed72': '当前数据域',
2776
+ '9328b90ded33d16a873db5c0dbd815b8': '初始化数据接口请求成功',
2777
+ 'f3b97bd71a77cca1e9288089a537cf3b': '远程初始化数据接口请求成功时触发',
2778
+ '9787088794f42c7e476cf7580f81447e': '初始化数据接口请求成功返回的数据',
2779
+ '029e280e119b028bffc51424d909c07d': '选中的项',
2780
+ 'a6eebb9b4fc7148e2dc41335c74e6393': '初始化Schema接口请求成功',
2781
+ '887954cd9bdb290003984fe9a6eb99e2': '远程初始化Schema接口请求成功时触发',
2782
+ '8f0064a9cfd7dcbb3c729f1357f11772': '发送数据',
2783
+ '6d33298a54888a30753373ca5bfe3bc2': '返回数据',
2784
+ '542e06175ff4f7407c467bbde90de56a': '如果需要对返回结果中的data做额外的数据处理,请开启此选项',
2785
+ '7c583ecdf795ce4f1f40d7960ead9344': '默认提示文案',
2786
+ '70941a02776496ec446f21f98ebf754e': '请求成功',
2787
+ 'f50bf418323ee425eca7208c09a4577e': '请求失败',
2788
+ 'f3dc08e3617d1e19cf8135be4412a80b': '点击后先询问用户,由手动确认后再执行动作,避免误触。可从数据域变量中取值。',
2789
+ 'faa29265819714253843e23437b9193e': '正常状态下的提示内容,不填则不弹出提示。可从数据域变量中取值。',
2790
+ 'f855f46ce6146aa17a9ed423da16bfa2': '禁用状态下的提示内容,不填则弹出正常提示。可从数据域变量中取值。',
2791
+ '037becbe8bff2f8838d141cc7b6b2df7': '支持例如: <code>now、+3days、-2weeks、+1hour、+2years</code> 等(minute|min|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
2792
+ '8f7ae284d0039fe05b9f57fd5ae3ede9': '请选择静态值',
2793
+ '98229308e2e9484583fde4ae363a979f': '表达式或相对值',
2794
+ '6b3c2a07db1bb3c229bbc5df48068792': '支持例如: <code>now、+3days、-2weeks、+1hour、+2years</code> 等(minute|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
2795
+ 'dcc94ea1715bd502c709c5d5092e9c82': '支持例如: <code>3days、2weeks、1hour、2years</code> 等(minute|hour|day|week|month|year|weekday|second|millisecond)这种相对值用法',
2796
+ '13ce82d026daa5a30e50105bd2a204a6': '请输入相对值',
2797
+ '31c29c46536a5007522032d2a42db56a': '数值模板',
2798
+ 'a6a41d1bfb5896210eb527d183a07958': '值渲染模板,支持JSX、数据域变量使用, 默认 ${value}%',
2799
+ 'eadd1d64cd6ceb2c50554281cd2d3be0': '根据该数据来动态重复渲染所配置的选项卡',
2800
+ '0d9d899edb456e8806a99850e9c38212': '已配置表达式',
2801
+ 'fbb96f7ea104d34fc4b7bd625d892c45': '点击编写表达式',
2802
+ 'e0c7ac5eb397512fdbe71600baa09dab': '请输入静态值',
2803
+ '48942ef507ea38d8ead03f8bfdffae5a': '已配置相对值',
2804
+ '49041f245018a6d799fee3c6f177c782': '退出全屏',
2805
+ '185926bf986c784d03a9a73102da6542': '全屏',
2806
+ '891ec6336d4243714c25eecb2f8f774a': '选项文本',
2807
+ 'fb7ea2b05ca7328ee16a562d90c2eb96': '选项字段',
2808
+ '1ca87f0171481e27d94e81b477150b7d': '选项模板',
2809
+ 'd6ecb32a380c91887a9346653c2427e9': '自定义选项渲染模板,支持JSX、数据域变量使用',
2810
+ 'cb048b2d8426afd464dc01b72c446342': '块级(默认)',
2811
+ '3b6e8d54b7b2ae890d5357b7eaaeaaf2': '不换行(默认)',
2812
+ '0611733b53e0098e6fd880bd44b2806f': '最小高度即当前元素最小的垂直展示区域',
2813
+ '03bfb834c8a5fef58d885e448a4e13b4': '虚拟列表阈值',
2814
+ '50437e080edc71ab624c93d419472919': '当选项数量超过阈值后,会开启虚拟列表以优化性能',
2815
+ '02b9880e1d2df8a07e90e9878080c739': '选项高度',
2816
+ 'a3f66655c3d2bcfecc6afba0e4424460': '开启虚拟列表时每个选项的高度'
2602
2817
  });
@@ -1,4 +1,4 @@
1
- import { BaseEventContext, BasePlugin } from 'amis-editor-core';
1
+ import { BasePlugin } from 'amis-editor-core';
2
2
  import { SchemaObject } from 'amis/lib/Schema';
3
3
  export declare class AlertPlugin extends BasePlugin {
4
4
  rendererName: string;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * amis-editor v5.2.0-beta.2
2
+ * amis-editor v5.2.1-beta.15
3
3
  * Copyright 2018-2022 @fex
4
4
  */
5
5
 
@@ -11,99 +11,167 @@ var tslib = require('tslib');
11
11
  var amisEditorCore = require('amis-editor-core');
12
12
  var i18nRuntime = require('i18n-runtime');
13
13
 
14
- var AlertPlugin =
15
- /** @class */
16
- function (_super) {
14
+ var AlertPlugin = /** @class */function (_super) {
17
15
  tslib.__extends(AlertPlugin, _super);
18
-
19
16
  function AlertPlugin() {
20
- var _this = _super !== null && _super.apply(this, arguments) || this; // 关联渲染器名字
21
-
22
-
23
- _this.rendererName = 'alert';
24
- _this.$schema = '/schemas/AlertSchema.json'; // 组件名称
25
-
26
- _this.name = i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca");
27
- _this.isBaseComponent = true;
28
- _this.description = i18nRuntime.i18n("4be3194e93cdd2899d06b499c184195b");
29
- _this.docLink = '/amis/zh-CN/components/alert';
30
- _this.icon = 'fa fa-exclamation-circle';
31
- _this.pluginIcon = 'tooltip-plugin';
32
- _this.scaffold = {
33
- type: 'alert',
34
- body: {
35
- type: 'tpl',
36
- tpl: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76"),
37
- inline: false
38
- },
39
- level: 'info'
40
- };
41
- _this.previewSchema = tslib.__assign(tslib.__assign({}, _this.scaffold), {
42
- className: 'text-left',
43
- showCloseButton: true
44
- }); // 普通容器类渲染器配置
45
-
46
- _this.regions = [{
47
- key: 'body',
48
- label: i18nRuntime.i18n("132a78bdf68d6d17bde00aa807bbf032"),
49
- placeholder: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76")
50
- }];
51
- _this.notRenderFormZone = true;
52
- _this.panelTitle = i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca");
53
- _this.panelJustify = true;
54
-
55
- _this.panelBodyCreator = function (context) {
56
- return amisEditorCore.getSchemaTpl('tabs', [{
57
- title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
58
- body: amisEditorCore.getSchemaTpl('collapseGroup', [{
59
- title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
60
- body: [{
61
- label: i18nRuntime.i18n("226b0912184333c81babf2f1894ec0c1"),
62
- name: 'level',
63
- type: 'select',
64
- options: [{
65
- label: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca"),
66
- value: 'info'
67
- }, {
68
- label: i18nRuntime.i18n("330363dfc524cff2488f2ebde0500896"),
69
- value: 'success'
70
- }, {
71
- label: i18nRuntime.i18n("900c70fa5f7dbc014e6f762d5e0e885c"),
72
- value: 'warning'
73
- }, {
74
- label: i18nRuntime.i18n("e2e27a87257599f83c817c43e724b6aa"),
75
- value: 'danger'
17
+ var _this = _super !== null && _super.apply(this, arguments) || this;
18
+ // 关联渲染器名字
19
+ Object.defineProperty(_this, "rendererName", {
20
+ enumerable: true,
21
+ configurable: true,
22
+ writable: true,
23
+ value: 'alert'
24
+ });
25
+ Object.defineProperty(_this, "$schema", {
26
+ enumerable: true,
27
+ configurable: true,
28
+ writable: true,
29
+ value: '/schemas/AlertSchema.json'
30
+ });
31
+ // 组件名称
32
+ Object.defineProperty(_this, "name", {
33
+ enumerable: true,
34
+ configurable: true,
35
+ writable: true,
36
+ value: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca")
37
+ });
38
+ Object.defineProperty(_this, "isBaseComponent", {
39
+ enumerable: true,
40
+ configurable: true,
41
+ writable: true,
42
+ value: true
43
+ });
44
+ Object.defineProperty(_this, "description", {
45
+ enumerable: true,
46
+ configurable: true,
47
+ writable: true,
48
+ value: i18nRuntime.i18n("4be3194e93cdd2899d06b499c184195b")
49
+ });
50
+ Object.defineProperty(_this, "docLink", {
51
+ enumerable: true,
52
+ configurable: true,
53
+ writable: true,
54
+ value: '/amis/zh-CN/components/alert'
55
+ });
56
+ Object.defineProperty(_this, "icon", {
57
+ enumerable: true,
58
+ configurable: true,
59
+ writable: true,
60
+ value: 'fa fa-exclamation-circle'
61
+ });
62
+ Object.defineProperty(_this, "pluginIcon", {
63
+ enumerable: true,
64
+ configurable: true,
65
+ writable: true,
66
+ value: 'tooltip-plugin'
67
+ });
68
+ Object.defineProperty(_this, "scaffold", {
69
+ enumerable: true,
70
+ configurable: true,
71
+ writable: true,
72
+ value: {
73
+ type: 'alert',
74
+ body: {
75
+ type: 'tpl',
76
+ tpl: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76"),
77
+ inline: false
78
+ },
79
+ level: 'info'
80
+ }
81
+ });
82
+ Object.defineProperty(_this, "previewSchema", {
83
+ enumerable: true,
84
+ configurable: true,
85
+ writable: true,
86
+ value: tslib.__assign(tslib.__assign({}, _this.scaffold), {
87
+ className: 'text-left',
88
+ showCloseButton: true
89
+ })
90
+ });
91
+ // 普通容器类渲染器配置
92
+ Object.defineProperty(_this, "regions", {
93
+ enumerable: true,
94
+ configurable: true,
95
+ writable: true,
96
+ value: [{
97
+ key: 'body',
98
+ label: i18nRuntime.i18n("132a78bdf68d6d17bde00aa807bbf032"),
99
+ placeholder: i18nRuntime.i18n("6f2b01db04cbf7e460b5c6f4e37a5e76")
100
+ }]
101
+ });
102
+ Object.defineProperty(_this, "notRenderFormZone", {
103
+ enumerable: true,
104
+ configurable: true,
105
+ writable: true,
106
+ value: true
107
+ });
108
+ Object.defineProperty(_this, "panelTitle", {
109
+ enumerable: true,
110
+ configurable: true,
111
+ writable: true,
112
+ value: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca")
113
+ });
114
+ Object.defineProperty(_this, "panelJustify", {
115
+ enumerable: true,
116
+ configurable: true,
117
+ writable: true,
118
+ value: true
119
+ });
120
+ Object.defineProperty(_this, "panelBodyCreator", {
121
+ enumerable: true,
122
+ configurable: true,
123
+ writable: true,
124
+ value: function (context) {
125
+ return amisEditorCore.getSchemaTpl('tabs', [{
126
+ title: i18nRuntime.i18n("24d67862f87f439db7ca957aecb77cce"),
127
+ body: amisEditorCore.getSchemaTpl('collapseGroup', [{
128
+ title: i18nRuntime.i18n("4092ed98e9035652d4c9ca9441701ed7"),
129
+ body: [{
130
+ label: i18nRuntime.i18n("226b0912184333c81babf2f1894ec0c1"),
131
+ name: 'level',
132
+ type: 'select',
133
+ options: [{
134
+ label: i18nRuntime.i18n("02d9819ddaaaeb1b7b22b12608c7e5ca"),
135
+ value: 'info'
136
+ }, {
137
+ label: i18nRuntime.i18n("330363dfc524cff2488f2ebde0500896"),
138
+ value: 'success'
139
+ }, {
140
+ label: i18nRuntime.i18n("900c70fa5f7dbc014e6f762d5e0e885c"),
141
+ value: 'warning'
142
+ }, {
143
+ label: i18nRuntime.i18n("e2e27a87257599f83c817c43e724b6aa"),
144
+ value: 'danger'
145
+ }]
146
+ }, amisEditorCore.getSchemaTpl('label', {
147
+ name: 'title'
148
+ }), amisEditorCore.getSchemaTpl('switch', {
149
+ label: i18nRuntime.i18n("cbda486dbec5bdacb593294e240c5e63"),
150
+ name: 'showCloseButton'
151
+ }), {
152
+ type: 'ae-switch-more',
153
+ mode: 'normal',
154
+ name: 'showIcon',
155
+ label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a"),
156
+ hiddenOnDefault: !context.schema.icon,
157
+ formType: 'extend',
158
+ form: {
159
+ body: [amisEditorCore.getSchemaTpl('icon', {
160
+ label: i18nRuntime.i18n("7372dc9f39a173dd0c75a185373245b1")
161
+ })]
162
+ }
76
163
  }]
77
- }, amisEditorCore.getSchemaTpl('label', {
78
- name: 'title'
79
- }), amisEditorCore.getSchemaTpl('switch', {
80
- label: i18nRuntime.i18n("cbda486dbec5bdacb593294e240c5e63"),
81
- name: 'showCloseButton'
82
- }), {
83
- type: 'ae-switch-more',
84
- mode: 'normal',
85
- name: 'showIcon',
86
- label: i18nRuntime.i18n("5ef69f62dc668c1a3e68b51c50a2530a"),
87
- hiddenOnDefault: !context.schema.icon,
88
- formType: 'extend',
89
- form: {
90
- body: [amisEditorCore.getSchemaTpl('icon', {
91
- label: i18nRuntime.i18n("7372dc9f39a173dd0c75a185373245b1")
92
- })]
93
- }
94
- }]
95
- }, amisEditorCore.getSchemaTpl('status')])
96
- }, {
97
- title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
98
- body: amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('style:classNames', {
99
- isFormItem: false
100
- })])
101
- }]);
102
- };
103
-
164
+ }, amisEditorCore.getSchemaTpl('status')])
165
+ }, {
166
+ title: i18nRuntime.i18n("afcde2611bdd13c1e65b4fb6a2f13425"),
167
+ body: amisEditorCore.getSchemaTpl('collapseGroup', [amisEditorCore.getSchemaTpl('style:classNames', {
168
+ isFormItem: false
169
+ })])
170
+ }]);
171
+ }
172
+ });
104
173
  return _this;
105
174
  }
106
-
107
175
  return AlertPlugin;
108
176
  }(amisEditorCore.BasePlugin);
109
177
  amisEditorCore.registerEditorPlugin(AlertPlugin);