amis-editor 5.6.0-beta.0 → 5.6.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (871) hide show
  1. package/esm/builder/ApiDSBuilder.d.ts +491 -0
  2. package/esm/builder/ApiDSBuilder.js +1212 -0
  3. package/esm/builder/DSBuilder.d.ts +171 -0
  4. package/esm/builder/DSBuilder.js +49 -0
  5. package/esm/builder/DSBuilderManager.d.ts +62 -0
  6. package/esm/builder/DSBuilderManager.js +207 -0
  7. package/esm/builder/constants.d.ts +97 -0
  8. package/esm/builder/constants.js +135 -0
  9. package/esm/builder/index.d.ts +6 -0
  10. package/esm/builder/type.d.ts +96 -0
  11. package/esm/builder/utils.d.ts +10 -0
  12. package/esm/builder/utils.js +93 -0
  13. package/esm/component/BaseControl.js +5 -3
  14. package/esm/component/InputComponentName.js +3 -1
  15. package/esm/component/TableViewEditor.js +3 -1
  16. package/esm/icons/btn/btn-group.svg.js +3 -1
  17. package/esm/icons/btn/btn-select.svg.js +3 -1
  18. package/esm/icons/btn/btn-toolbar.svg.js +3 -1
  19. package/esm/icons/btn/button.svg.js +3 -1
  20. package/esm/icons/btn/dropdown-btn.svg.js +3 -1
  21. package/esm/icons/container/anchor-nav.svg.js +3 -1
  22. package/esm/icons/container/collapse.svg.js +3 -1
  23. package/esm/icons/container/container.svg.js +3 -1
  24. package/esm/icons/container/flex-container.svg.js +3 -1
  25. package/esm/icons/container/form-group.svg.js +3 -1
  26. package/esm/icons/container/grid.svg.js +3 -1
  27. package/esm/icons/container/iframe.svg.js +3 -1
  28. package/esm/icons/container/panel.svg.js +3 -1
  29. package/esm/icons/container/table-view.svg.js +3 -1
  30. package/esm/icons/container/tabs.svg.js +3 -1
  31. package/esm/icons/container/tooltip-wrapper.svg.js +3 -1
  32. package/esm/icons/container/web-component.svg.js +3 -1
  33. package/esm/icons/crud/column-add.svg.js +26 -0
  34. package/esm/icons/crud/column-delete.svg.js +24 -0
  35. package/esm/icons/crud/column-setting.svg.js +24 -0
  36. package/esm/icons/crud/share-link.svg.js +22 -0
  37. package/esm/icons/display/aBaseline.svg.js +3 -1
  38. package/esm/icons/display/aCenter.svg.js +3 -1
  39. package/esm/icons/display/aFlexEnd.svg.js +3 -1
  40. package/esm/icons/display/aFlexStart.svg.js +3 -1
  41. package/esm/icons/display/aStretch.svg.js +3 -1
  42. package/esm/icons/display/block.svg.js +3 -1
  43. package/esm/icons/display/dcolumn.svg.js +3 -1
  44. package/esm/icons/display/dcolumnReverse.svg.js +3 -1
  45. package/esm/icons/display/drow.svg.js +3 -1
  46. package/esm/icons/display/drowReverse.svg.js +3 -1
  47. package/esm/icons/display/flex.svg.js +3 -1
  48. package/esm/icons/display/inline-block.svg.js +3 -1
  49. package/esm/icons/display/inline.svg.js +3 -1
  50. package/esm/icons/display/jCenter.svg.js +3 -1
  51. package/esm/icons/display/jFlexEnd.svg.js +3 -1
  52. package/esm/icons/display/jFlexStart.svg.js +3 -1
  53. package/esm/icons/display/jSpaceAround.svg.js +3 -1
  54. package/esm/icons/display/jSpaceBetween.svg.js +3 -1
  55. package/esm/icons/feat/audio.svg.js +3 -1
  56. package/esm/icons/feat/custom.svg.js +3 -1
  57. package/esm/icons/feat/each.svg.js +3 -1
  58. package/esm/icons/feat/form.svg.js +3 -1
  59. package/esm/icons/feat/nav.svg.js +3 -1
  60. package/esm/icons/feat/qrcode.svg.js +3 -1
  61. package/esm/icons/feat/service.svg.js +3 -1
  62. package/esm/icons/feat/table.svg.js +3 -1
  63. package/esm/icons/feat/tasks.svg.js +3 -1
  64. package/esm/icons/feat/video.svg.js +3 -1
  65. package/esm/icons/feat/wizard.svg.js +3 -1
  66. package/esm/icons/form/chained-select.svg.js +3 -1
  67. package/esm/icons/form/checkbox.svg.js +3 -1
  68. package/esm/icons/form/checkboxes.svg.js +3 -1
  69. package/esm/icons/form/combo.svg.js +3 -1
  70. package/esm/icons/form/condition-builder.svg.js +3 -1
  71. package/esm/icons/form/diff-editor.svg.js +3 -1
  72. package/esm/icons/form/editor.svg.js +3 -1
  73. package/esm/icons/form/formula.svg.js +3 -1
  74. package/esm/icons/form/hidden.svg.js +3 -1
  75. package/esm/icons/form/input-city.svg.js +3 -1
  76. package/esm/icons/form/input-color.svg.js +3 -1
  77. package/esm/icons/form/input-date-range.svg.js +3 -1
  78. package/esm/icons/form/input-date.svg.js +3 -1
  79. package/esm/icons/form/input-datetime.svg.js +3 -1
  80. package/esm/icons/form/input-email.svg.js +3 -1
  81. package/esm/icons/form/input-excel.svg.js +3 -1
  82. package/esm/icons/form/input-file.svg.js +3 -1
  83. package/esm/icons/form/input-group.svg.js +3 -1
  84. package/esm/icons/form/input-image.svg.js +3 -1
  85. package/esm/icons/form/input-kv.svg.js +3 -1
  86. package/esm/icons/form/input-month-range.svg.js +3 -1
  87. package/esm/icons/form/input-number.svg.js +3 -1
  88. package/esm/icons/form/input-password.svg.js +3 -1
  89. package/esm/icons/form/input-quarter-range.svg.js +3 -1
  90. package/esm/icons/form/input-range.svg.js +3 -1
  91. package/esm/icons/form/input-rating.svg.js +3 -1
  92. package/esm/icons/form/input-repeat.svg.js +3 -1
  93. package/esm/icons/form/input-rich-text.svg.js +3 -1
  94. package/esm/icons/form/input-tag.svg.js +3 -1
  95. package/esm/icons/form/input-text.svg.js +3 -1
  96. package/esm/icons/form/input-time-range.svg.js +3 -1
  97. package/esm/icons/form/input-time.svg.js +3 -1
  98. package/esm/icons/form/input-tree.svg.js +3 -1
  99. package/esm/icons/form/input-url.svg.js +3 -1
  100. package/esm/icons/form/input-year.svg.js +3 -1
  101. package/esm/icons/form/inputArray.svg.js +3 -1
  102. package/esm/icons/form/list-select.svg.js +3 -1
  103. package/esm/icons/form/location-picker.svg.js +3 -1
  104. package/esm/icons/form/matrix-checkboxes.svg.js +3 -1
  105. package/esm/icons/form/month.svg.js +3 -1
  106. package/esm/icons/form/nested-select.svg.js +3 -1
  107. package/esm/icons/form/picker.svg.js +3 -1
  108. package/esm/icons/form/quarter.svg.js +3 -1
  109. package/esm/icons/form/radios.svg.js +3 -1
  110. package/esm/icons/form/select.svg.js +3 -1
  111. package/esm/icons/form/static.svg.js +3 -1
  112. package/esm/icons/form/sub-form.svg.js +3 -1
  113. package/esm/icons/form/switch.svg.js +3 -1
  114. package/esm/icons/form/tabs-transfer.svg.js +3 -1
  115. package/esm/icons/form/textarea.svg.js +3 -1
  116. package/esm/icons/form/transfer.svg.js +3 -1
  117. package/esm/icons/form/tree-select.svg.js +3 -1
  118. package/esm/icons/form/uuid.svg.js +3 -1
  119. package/esm/icons/index.js +12 -1
  120. package/esm/icons/layout/layout-1with2.svg.js +3 -1
  121. package/esm/icons/layout/layout-2cols.svg.js +3 -1
  122. package/esm/icons/layout/layout-2row.svg.js +3 -1
  123. package/esm/icons/layout/layout-2with1.svg.js +3 -1
  124. package/esm/icons/layout/layout-3cols.svg.js +3 -1
  125. package/esm/icons/layout/layout-3row.svg.js +3 -1
  126. package/esm/icons/layout/layout-absolute.svg.js +3 -1
  127. package/esm/icons/layout/layout-fixed-top.svg.js +3 -1
  128. package/esm/icons/layout/layout-fixed.svg.js +3 -1
  129. package/esm/icons/layout/layout-free-container.svg.js +3 -1
  130. package/esm/icons/layout/layout-full.svg.js +3 -1
  131. package/esm/icons/layout/layout1-2.svg.js +3 -1
  132. package/esm/icons/layout/layout2-1.svg.js +3 -1
  133. package/esm/icons/layout/layout3-1.svg.js +3 -1
  134. package/esm/icons/layout/layout3-2.svg.js +3 -1
  135. package/esm/icons/other/_fx.svg.js +3 -1
  136. package/esm/icons/other/divider.svg.js +3 -1
  137. package/esm/icons/other/fx.svg.js +3 -1
  138. package/esm/icons/other/property-sheet.svg.js +3 -1
  139. package/esm/icons/other/tooltip.svg.js +3 -1
  140. package/esm/icons/show/URL.svg.js +3 -1
  141. package/esm/icons/show/avatar.svg.js +3 -1
  142. package/esm/icons/show/breadcrumb.svg.js +3 -1
  143. package/esm/icons/show/card.svg.js +3 -1
  144. package/esm/icons/show/cards.svg.js +3 -1
  145. package/esm/icons/show/carousel.svg.js +3 -1
  146. package/esm/icons/show/chart.svg.js +3 -1
  147. package/esm/icons/show/code.svg.js +3 -1
  148. package/esm/icons/show/date.svg.js +3 -1
  149. package/esm/icons/show/datetime.svg.js +3 -1
  150. package/esm/icons/show/image.svg.js +3 -1
  151. package/esm/icons/show/images.svg.js +3 -1
  152. package/esm/icons/show/json-view.svg.js +3 -1
  153. package/esm/icons/show/list.svg.js +3 -1
  154. package/esm/icons/show/log.svg.js +3 -1
  155. package/esm/icons/show/mapping.svg.js +3 -1
  156. package/esm/icons/show/markdown.svg.js +3 -1
  157. package/esm/icons/show/plain.svg.js +3 -1
  158. package/esm/icons/show/progress.svg.js +3 -1
  159. package/esm/icons/show/sparkline.svg.js +3 -1
  160. package/esm/icons/show/status.svg.js +3 -1
  161. package/esm/icons/show/steps.svg.js +3 -1
  162. package/esm/icons/show/time.svg.js +3 -1
  163. package/esm/icons/theme/css.svg.js +3 -1
  164. package/esm/index.d.ts +8 -0
  165. package/esm/index.js +18 -3
  166. package/esm/locale/en-US.js +241 -19
  167. package/esm/locale/zh-CN.js +235 -7
  168. package/esm/plugin/Alert.js +3 -1
  169. package/esm/plugin/AnchorNav.js +3 -1
  170. package/esm/plugin/Audio.js +3 -1
  171. package/esm/plugin/Avatar.js +3 -1
  172. package/esm/plugin/Breadcrumb.js +3 -1
  173. package/esm/plugin/Button.js +5 -3
  174. package/esm/plugin/ButtonGroup.js +3 -1
  175. package/esm/plugin/CRUD.js +3 -1
  176. package/esm/plugin/CRUD2/BaseCRUD.d.ts +233 -0
  177. package/esm/plugin/CRUD2/BaseCRUD.js +1045 -0
  178. package/esm/plugin/CRUD2/CRUDCards.d.ts +53 -0
  179. package/esm/plugin/CRUD2/CRUDList.d.ts +53 -0
  180. package/esm/plugin/CRUD2/CRUDTable.d.ts +21 -0
  181. package/esm/plugin/CRUD2/CRUDTable.js +48 -0
  182. package/esm/plugin/CRUD2/constants.d.ts +32 -0
  183. package/esm/plugin/CRUD2/constants.js +75 -0
  184. package/esm/plugin/CRUD2/utils.d.ts +8 -0
  185. package/esm/plugin/CRUD2/utils.js +91 -0
  186. package/esm/plugin/Card.js +3 -1
  187. package/esm/plugin/Card2.js +3 -1
  188. package/esm/plugin/Cards.d.ts +547 -41
  189. package/esm/plugin/Cards.js +368 -170
  190. package/esm/plugin/Carousel.js +120 -97
  191. package/esm/plugin/Chart.js +17 -5
  192. package/esm/plugin/CodeView.js +3 -1
  193. package/esm/plugin/Collapse.d.ts +2 -1
  194. package/esm/plugin/Collapse.js +50 -1
  195. package/esm/plugin/CollapseGroup.js +3 -1
  196. package/esm/plugin/ColumnToggler.d.ts +11 -6
  197. package/esm/plugin/ColumnToggler.js +69 -10
  198. package/esm/plugin/Container.d.ts +2 -0
  199. package/esm/plugin/Container.js +8 -8
  200. package/esm/plugin/Custom.js +3 -1
  201. package/esm/plugin/CustomRegion.js +5 -2
  202. package/esm/plugin/Date.js +3 -1
  203. package/esm/plugin/Datetime.js +3 -1
  204. package/esm/plugin/Dialog.d.ts +13 -1
  205. package/esm/plugin/Dialog.js +186 -55
  206. package/esm/plugin/Divider.js +72 -6
  207. package/esm/plugin/Drawer.js +126 -77
  208. package/esm/plugin/DropDownButton.js +3 -1
  209. package/esm/plugin/Each.d.ts +226 -11
  210. package/esm/plugin/Each.js +238 -89
  211. package/esm/plugin/Flex.js +3 -1
  212. package/esm/plugin/Form/ButtonGroupSelect.js +25 -23
  213. package/esm/plugin/Form/ButtonToolbar.js +3 -1
  214. package/esm/plugin/Form/ChainedSelect.js +21 -19
  215. package/esm/plugin/Form/Checkbox.js +51 -12
  216. package/esm/plugin/Form/Checkboxes.js +33 -42
  217. package/esm/plugin/Form/CodeEditor.js +3 -1
  218. package/esm/plugin/Form/Combo.d.ts +3 -2
  219. package/esm/plugin/Form/Combo.js +8 -5
  220. package/esm/plugin/Form/ConditionBuilder.js +3 -1
  221. package/esm/plugin/Form/Control.js +3 -1
  222. package/esm/plugin/Form/DiffEditor.js +3 -1
  223. package/esm/plugin/Form/FieldSet.js +3 -1
  224. package/esm/plugin/Form/Form.d.ts +32 -8
  225. package/esm/plugin/Form/Form.js +594 -442
  226. package/esm/plugin/Form/Formula.js +3 -1
  227. package/esm/plugin/Form/Group.js +3 -1
  228. package/esm/plugin/Form/Hidden.js +3 -1
  229. package/esm/plugin/Form/InputArray.js +3 -1
  230. package/esm/plugin/Form/InputCity.js +6 -2
  231. package/esm/plugin/Form/InputColor.js +3 -1
  232. package/esm/plugin/Form/InputDate.js +29 -43
  233. package/esm/plugin/Form/InputDateRange.js +41 -30
  234. package/esm/plugin/Form/InputDateTime.js +3 -1
  235. package/esm/plugin/Form/InputDateTimeRange.js +3 -1
  236. package/esm/plugin/Form/InputEmail.js +3 -1
  237. package/esm/plugin/Form/InputExcel.js +3 -1
  238. package/esm/plugin/Form/InputFile.js +8 -2
  239. package/esm/plugin/Form/InputGroup.d.ts +1 -0
  240. package/esm/plugin/Form/InputGroup.js +3 -1
  241. package/esm/plugin/Form/InputImage.js +12 -6
  242. package/esm/plugin/Form/InputKV.js +3 -1
  243. package/esm/plugin/Form/InputMonth.js +3 -1
  244. package/esm/plugin/Form/InputMonthRange.js +3 -1
  245. package/esm/plugin/Form/InputNumber.js +3 -1
  246. package/esm/plugin/Form/InputPassword.js +3 -1
  247. package/esm/plugin/Form/InputQuarter.js +3 -1
  248. package/esm/plugin/Form/InputQuarterRange.js +3 -1
  249. package/esm/plugin/Form/InputRange.js +23 -35
  250. package/esm/plugin/Form/InputRating.js +3 -1
  251. package/esm/plugin/Form/InputRepeat.js +3 -1
  252. package/esm/plugin/Form/InputRichText.js +3 -1
  253. package/esm/plugin/Form/InputSubForm.js +3 -1
  254. package/esm/plugin/Form/InputTable.d.ts +3 -2
  255. package/esm/plugin/Form/InputTable.js +13 -8
  256. package/esm/plugin/Form/InputTag.d.ts +4 -1
  257. package/esm/plugin/Form/InputTag.js +33 -22
  258. package/esm/plugin/Form/InputText.js +23 -23
  259. package/esm/plugin/Form/InputTime.js +3 -1
  260. package/esm/plugin/Form/InputTimeRange.js +3 -1
  261. package/esm/plugin/Form/InputTree.js +69 -54
  262. package/esm/plugin/Form/InputURL.js +3 -1
  263. package/esm/plugin/Form/InputYear.js +3 -1
  264. package/esm/plugin/Form/InputYearRange.js +3 -1
  265. package/esm/plugin/Form/Item.js +3 -1
  266. package/esm/plugin/Form/ListSelect.js +25 -23
  267. package/esm/plugin/Form/LocationPicker.js +3 -1
  268. package/esm/plugin/Form/MatrixCheckboxes.js +3 -1
  269. package/esm/plugin/Form/NestedSelect.js +25 -23
  270. package/esm/plugin/Form/Picker.js +22 -22
  271. package/esm/plugin/Form/Radios.js +20 -18
  272. package/esm/plugin/Form/Select.d.ts +8 -8
  273. package/esm/plugin/Form/Select.js +41 -72
  274. package/esm/plugin/Form/Static.js +3 -1
  275. package/esm/plugin/Form/Switch.js +3 -1
  276. package/esm/plugin/Form/TabsTransfer.d.ts +2 -3
  277. package/esm/plugin/Form/TabsTransfer.js +59 -45
  278. package/esm/plugin/Form/Textarea.js +3 -1
  279. package/esm/plugin/Form/Transfer.js +25 -23
  280. package/esm/plugin/Form/TreeSelect.js +59 -51
  281. package/esm/plugin/Form/UUID.js +3 -1
  282. package/esm/plugin/Grid.js +3 -1
  283. package/esm/plugin/HBox.js +3 -1
  284. package/esm/plugin/IFrame.js +3 -1
  285. package/esm/plugin/Icon.js +5 -3
  286. package/esm/plugin/Image.js +54 -31
  287. package/esm/plugin/Images.js +22 -10
  288. package/esm/plugin/Json.js +3 -1
  289. package/esm/plugin/Layout/FlexPluginBase.js +14 -15
  290. package/esm/plugin/Layout/Layout_fixed.js +3 -1
  291. package/esm/plugin/Layout/Layout_free_container.js +3 -1
  292. package/esm/plugin/Layout/Layout_sorption_container.js +3 -1
  293. package/esm/plugin/Link.js +17 -5
  294. package/esm/plugin/List.d.ts +5 -0
  295. package/esm/plugin/List.js +55 -19
  296. package/esm/plugin/List2.d.ts +545 -0
  297. package/esm/plugin/List2.js +380 -0
  298. package/esm/plugin/ListItem.js +3 -1
  299. package/esm/plugin/Log.js +3 -1
  300. package/esm/plugin/Mapping.js +3 -1
  301. package/esm/plugin/Markdown.js +3 -1
  302. package/esm/plugin/Nav.js +3 -1
  303. package/esm/plugin/OfficeViewer.js +3 -1
  304. package/esm/plugin/Operation.js +3 -2
  305. package/esm/plugin/Others/Action.js +3 -1
  306. package/esm/plugin/Others/TableCell.js +3 -1
  307. package/esm/plugin/Page.js +27 -2
  308. package/esm/plugin/Pagination.d.ts +0 -1
  309. package/esm/plugin/Pagination.js +35 -19
  310. package/esm/plugin/Panel.js +3 -1
  311. package/esm/plugin/Plain.js +3 -1
  312. package/esm/plugin/Progress.js +3 -1
  313. package/esm/plugin/Property.js +3 -1
  314. package/esm/plugin/QRCode.js +3 -1
  315. package/esm/plugin/Reset.js +3 -1
  316. package/esm/plugin/SearchBox.d.ts +3 -1
  317. package/esm/plugin/SearchBox.js +14 -1
  318. package/esm/plugin/Service.d.ts +19 -13
  319. package/esm/plugin/Service.js +169 -91
  320. package/esm/plugin/Sparkline.js +5 -6
  321. package/esm/plugin/Status.js +3 -1
  322. package/esm/plugin/Steps.js +3 -1
  323. package/esm/plugin/Submit.js +3 -1
  324. package/esm/plugin/Table.d.ts +9 -0
  325. package/esm/plugin/Table.js +53 -4
  326. package/esm/plugin/Table2.d.ts +24 -10
  327. package/esm/plugin/Table2.js +668 -420
  328. package/esm/plugin/TableCell2.d.ts +14 -2
  329. package/esm/plugin/TableCell2.js +510 -365
  330. package/esm/plugin/TableView.js +3 -1
  331. package/esm/plugin/Tabs.js +3 -1
  332. package/esm/plugin/Tag.js +10 -2
  333. package/esm/plugin/Tasks.js +3 -1
  334. package/esm/plugin/Time.js +3 -1
  335. package/esm/plugin/Timeline.js +3 -1
  336. package/esm/plugin/TooltipWrapper.js +12 -9
  337. package/esm/plugin/Tpl.js +21 -3
  338. package/esm/plugin/Video.js +3 -1
  339. package/esm/plugin/WebComponent.js +3 -1
  340. package/esm/plugin/Wizard.js +3 -1
  341. package/esm/plugin/Wrapper.js +3 -1
  342. package/esm/plugin/index.d.ts +2 -1
  343. package/esm/renderer/APIAdaptorControl.d.ts +14 -0
  344. package/esm/renderer/APIAdaptorControl.js +26 -40
  345. package/esm/renderer/APIControl.js +12 -2
  346. package/esm/renderer/ActionApiControl.d.ts +6 -0
  347. package/esm/renderer/BadgeControl.d.ts +6 -6
  348. package/esm/renderer/BadgeControl.js +3 -1
  349. package/esm/renderer/ButtonGroupControl.js +3 -1
  350. package/esm/renderer/DataBindingControl.d.ts +1 -1
  351. package/esm/renderer/DataBindingControl.js +3 -1
  352. package/esm/renderer/DataMappingControl.js +3 -1
  353. package/esm/renderer/DataPickerControl.js +3 -1
  354. package/esm/renderer/DateShortCutControl.d.ts +1 -0
  355. package/esm/renderer/DateShortCutControl.js +9 -5
  356. package/esm/renderer/ExpressionFormulaControl.js +3 -1
  357. package/esm/renderer/FeatureControl.d.ts +17 -4
  358. package/esm/renderer/FeatureControl.js +73 -12
  359. package/esm/renderer/FieldSetting.d.ts +66 -0
  360. package/esm/renderer/FieldSetting.js +492 -0
  361. package/esm/renderer/FlexSettingControl.js +3 -1
  362. package/esm/renderer/FormulaControl.d.ts +6 -1
  363. package/esm/renderer/FormulaControl.js +24 -7
  364. package/esm/renderer/FunctionEditorControl.d.ts +79 -0
  365. package/esm/renderer/FunctionEditorControl.js +107 -0
  366. package/esm/renderer/GoConfigControl.js +3 -1
  367. package/esm/renderer/InputRangeValueControl.d.ts +15 -0
  368. package/esm/renderer/InputRangeValueControl.js +121 -0
  369. package/esm/renderer/MapSourceControl.js +3 -1
  370. package/esm/renderer/NavBadgeControl.d.ts +6 -6
  371. package/esm/renderer/NavBadgeControl.js +3 -1
  372. package/esm/renderer/NavDefaultActive.js +3 -1
  373. package/esm/renderer/NavSourceControl.js +3 -1
  374. package/esm/renderer/OptionControl.d.ts +2 -0
  375. package/esm/renderer/OptionControl.js +35 -23
  376. package/esm/renderer/RangePartsControl.js +3 -1
  377. package/esm/renderer/StatusControl.js +3 -1
  378. package/esm/renderer/SwitchMoreControl.d.ts +6 -0
  379. package/esm/renderer/SwitchMoreControl.js +14 -2
  380. package/esm/renderer/TableColumnWidthControl.d.ts +29 -0
  381. package/esm/renderer/TableColumnWidthControl.js +177 -0
  382. package/esm/renderer/TimelineItemControl.js +3 -1
  383. package/esm/renderer/TplFormulaControl.js +3 -1
  384. package/esm/renderer/TransferTableControl.js +3 -1
  385. package/esm/renderer/TreeOptionControl.d.ts +1 -1
  386. package/esm/renderer/TreeOptionControl.js +8 -6
  387. package/esm/renderer/ValidationControl.js +3 -1
  388. package/esm/renderer/ValidationItem.js +3 -1
  389. package/esm/renderer/crud2-control/AddColumnModal.d.ts +6 -0
  390. package/esm/renderer/crud2-control/AddColumnModal.js +256 -0
  391. package/esm/renderer/crud2-control/CRUDColumnControl.d.ts +68 -0
  392. package/esm/renderer/crud2-control/CRUDColumnControl.js +473 -0
  393. package/esm/renderer/crud2-control/CRUDFiltersControl.d.ts +53 -0
  394. package/esm/renderer/crud2-control/CRUDFiltersControl.js +691 -0
  395. package/esm/renderer/crud2-control/CRUDToolbarControl.d.ts +49 -0
  396. package/esm/renderer/crud2-control/CRUDToolbarControl.js +417 -0
  397. package/esm/renderer/event-control/action-config-dialog.d.ts +1 -1
  398. package/esm/renderer/event-control/action-config-dialog.js +4 -2
  399. package/esm/renderer/event-control/action-config-panel.js +3 -1
  400. package/esm/renderer/event-control/comp-action-select.js +3 -1
  401. package/esm/renderer/event-control/helper.d.ts +2 -1
  402. package/esm/renderer/event-control/helper.js +170 -117
  403. package/esm/renderer/event-control/index.d.ts +26 -17
  404. package/esm/renderer/event-control/index.js +114 -22
  405. package/esm/renderer/style-control/Background.js +3 -1
  406. package/esm/renderer/style-control/Border.js +3 -1
  407. package/esm/renderer/style-control/BoxModel.js +3 -1
  408. package/esm/renderer/style-control/BoxShadow.js +3 -1
  409. package/esm/renderer/style-control/Display.js +3 -1
  410. package/esm/renderer/style-control/Font.js +3 -1
  411. package/esm/renderer/style-control/InsetBoxModel.js +3 -1
  412. package/esm/renderer/style-control/ThemeCssCode.js +132 -281
  413. package/esm/renderer/style-control/font-family.js +3 -1
  414. package/esm/renderer/style-control/helper.js +3 -1
  415. package/esm/renderer/style-control/transformation.js +3 -1
  416. package/esm/renderer/textarea-formula/FormulaPicker.js +3 -1
  417. package/esm/renderer/textarea-formula/TextareaFormulaControl.d.ts +2 -0
  418. package/esm/renderer/textarea-formula/TextareaFormulaControl.js +76 -7
  419. package/esm/renderer/textarea-formula/plugin.js +5 -3
  420. package/esm/tpl/api.js +15 -10
  421. package/esm/tpl/common.js +53 -35
  422. package/esm/tpl/horizontal.js +3 -1
  423. package/esm/tpl/layout.js +9 -6
  424. package/esm/tpl/options.d.ts +10 -1
  425. package/esm/tpl/options.js +249 -10
  426. package/esm/tpl/remark.js +3 -1
  427. package/esm/tpl/style.js +99 -60
  428. package/esm/tpl/validations.js +3 -1
  429. package/esm/util.d.ts +8 -0
  430. package/esm/util.js +21 -3
  431. package/esm/validator.js +3 -1
  432. package/lib/builder/ApiDSBuilder.d.ts +491 -0
  433. package/lib/builder/ApiDSBuilder.js +1226 -0
  434. package/lib/builder/DSBuilder.d.ts +171 -0
  435. package/lib/builder/DSBuilder.js +55 -0
  436. package/lib/builder/DSBuilderManager.d.ts +62 -0
  437. package/lib/builder/DSBuilderManager.js +211 -0
  438. package/lib/builder/constants.d.ts +97 -0
  439. package/lib/builder/constants.js +144 -0
  440. package/lib/builder/index.d.ts +6 -0
  441. package/lib/builder/type.d.ts +96 -0
  442. package/lib/builder/utils.d.ts +10 -0
  443. package/lib/builder/utils.js +104 -0
  444. package/lib/component/BaseControl.js +5 -3
  445. package/lib/component/InputComponentName.js +3 -1
  446. package/lib/component/TableViewEditor.js +3 -1
  447. package/lib/icons/btn/btn-group.svg.js +3 -1
  448. package/lib/icons/btn/btn-select.svg.js +3 -1
  449. package/lib/icons/btn/btn-toolbar.svg.js +3 -1
  450. package/lib/icons/btn/button.svg.js +3 -1
  451. package/lib/icons/btn/dropdown-btn.svg.js +3 -1
  452. package/lib/icons/container/anchor-nav.svg.js +3 -1
  453. package/lib/icons/container/collapse.svg.js +3 -1
  454. package/lib/icons/container/container.svg.js +3 -1
  455. package/lib/icons/container/flex-container.svg.js +3 -1
  456. package/lib/icons/container/form-group.svg.js +3 -1
  457. package/lib/icons/container/grid.svg.js +3 -1
  458. package/lib/icons/container/iframe.svg.js +3 -1
  459. package/lib/icons/container/panel.svg.js +3 -1
  460. package/lib/icons/container/table-view.svg.js +3 -1
  461. package/lib/icons/container/tabs.svg.js +3 -1
  462. package/lib/icons/container/tooltip-wrapper.svg.js +3 -1
  463. package/lib/icons/container/web-component.svg.js +3 -1
  464. package/lib/icons/crud/column-add.svg.js +50 -0
  465. package/lib/icons/crud/column-delete.svg.js +48 -0
  466. package/lib/icons/crud/column-setting.svg.js +48 -0
  467. package/lib/icons/crud/share-link.svg.js +46 -0
  468. package/lib/icons/display/aBaseline.svg.js +3 -1
  469. package/lib/icons/display/aCenter.svg.js +3 -1
  470. package/lib/icons/display/aFlexEnd.svg.js +3 -1
  471. package/lib/icons/display/aFlexStart.svg.js +3 -1
  472. package/lib/icons/display/aStretch.svg.js +3 -1
  473. package/lib/icons/display/block.svg.js +3 -1
  474. package/lib/icons/display/dcolumn.svg.js +3 -1
  475. package/lib/icons/display/dcolumnReverse.svg.js +3 -1
  476. package/lib/icons/display/drow.svg.js +3 -1
  477. package/lib/icons/display/drowReverse.svg.js +3 -1
  478. package/lib/icons/display/flex.svg.js +3 -1
  479. package/lib/icons/display/inline-block.svg.js +3 -1
  480. package/lib/icons/display/inline.svg.js +3 -1
  481. package/lib/icons/display/jCenter.svg.js +3 -1
  482. package/lib/icons/display/jFlexEnd.svg.js +3 -1
  483. package/lib/icons/display/jFlexStart.svg.js +3 -1
  484. package/lib/icons/display/jSpaceAround.svg.js +3 -1
  485. package/lib/icons/display/jSpaceBetween.svg.js +3 -1
  486. package/lib/icons/feat/audio.svg.js +3 -1
  487. package/lib/icons/feat/custom.svg.js +3 -1
  488. package/lib/icons/feat/each.svg.js +3 -1
  489. package/lib/icons/feat/form.svg.js +3 -1
  490. package/lib/icons/feat/nav.svg.js +3 -1
  491. package/lib/icons/feat/qrcode.svg.js +3 -1
  492. package/lib/icons/feat/service.svg.js +3 -1
  493. package/lib/icons/feat/table.svg.js +3 -1
  494. package/lib/icons/feat/tasks.svg.js +3 -1
  495. package/lib/icons/feat/video.svg.js +3 -1
  496. package/lib/icons/feat/wizard.svg.js +3 -1
  497. package/lib/icons/form/chained-select.svg.js +3 -1
  498. package/lib/icons/form/checkbox.svg.js +3 -1
  499. package/lib/icons/form/checkboxes.svg.js +3 -1
  500. package/lib/icons/form/combo.svg.js +3 -1
  501. package/lib/icons/form/condition-builder.svg.js +3 -1
  502. package/lib/icons/form/diff-editor.svg.js +3 -1
  503. package/lib/icons/form/editor.svg.js +3 -1
  504. package/lib/icons/form/formula.svg.js +3 -1
  505. package/lib/icons/form/hidden.svg.js +3 -1
  506. package/lib/icons/form/input-city.svg.js +3 -1
  507. package/lib/icons/form/input-color.svg.js +3 -1
  508. package/lib/icons/form/input-date-range.svg.js +3 -1
  509. package/lib/icons/form/input-date.svg.js +3 -1
  510. package/lib/icons/form/input-datetime.svg.js +3 -1
  511. package/lib/icons/form/input-email.svg.js +3 -1
  512. package/lib/icons/form/input-excel.svg.js +3 -1
  513. package/lib/icons/form/input-file.svg.js +3 -1
  514. package/lib/icons/form/input-group.svg.js +3 -1
  515. package/lib/icons/form/input-image.svg.js +3 -1
  516. package/lib/icons/form/input-kv.svg.js +3 -1
  517. package/lib/icons/form/input-month-range.svg.js +3 -1
  518. package/lib/icons/form/input-number.svg.js +3 -1
  519. package/lib/icons/form/input-password.svg.js +3 -1
  520. package/lib/icons/form/input-quarter-range.svg.js +3 -1
  521. package/lib/icons/form/input-range.svg.js +3 -1
  522. package/lib/icons/form/input-rating.svg.js +3 -1
  523. package/lib/icons/form/input-repeat.svg.js +3 -1
  524. package/lib/icons/form/input-rich-text.svg.js +3 -1
  525. package/lib/icons/form/input-tag.svg.js +3 -1
  526. package/lib/icons/form/input-text.svg.js +3 -1
  527. package/lib/icons/form/input-time-range.svg.js +3 -1
  528. package/lib/icons/form/input-time.svg.js +3 -1
  529. package/lib/icons/form/input-tree.svg.js +3 -1
  530. package/lib/icons/form/input-url.svg.js +3 -1
  531. package/lib/icons/form/input-year.svg.js +3 -1
  532. package/lib/icons/form/inputArray.svg.js +3 -1
  533. package/lib/icons/form/list-select.svg.js +3 -1
  534. package/lib/icons/form/location-picker.svg.js +3 -1
  535. package/lib/icons/form/matrix-checkboxes.svg.js +3 -1
  536. package/lib/icons/form/month.svg.js +3 -1
  537. package/lib/icons/form/nested-select.svg.js +3 -1
  538. package/lib/icons/form/picker.svg.js +3 -1
  539. package/lib/icons/form/quarter.svg.js +3 -1
  540. package/lib/icons/form/radios.svg.js +3 -1
  541. package/lib/icons/form/select.svg.js +3 -1
  542. package/lib/icons/form/static.svg.js +3 -1
  543. package/lib/icons/form/sub-form.svg.js +3 -1
  544. package/lib/icons/form/switch.svg.js +3 -1
  545. package/lib/icons/form/tabs-transfer.svg.js +3 -1
  546. package/lib/icons/form/textarea.svg.js +3 -1
  547. package/lib/icons/form/transfer.svg.js +3 -1
  548. package/lib/icons/form/tree-select.svg.js +3 -1
  549. package/lib/icons/form/uuid.svg.js +3 -1
  550. package/lib/icons/index.js +12 -1
  551. package/lib/icons/layout/layout-1with2.svg.js +3 -1
  552. package/lib/icons/layout/layout-2cols.svg.js +3 -1
  553. package/lib/icons/layout/layout-2row.svg.js +3 -1
  554. package/lib/icons/layout/layout-2with1.svg.js +3 -1
  555. package/lib/icons/layout/layout-3cols.svg.js +3 -1
  556. package/lib/icons/layout/layout-3row.svg.js +3 -1
  557. package/lib/icons/layout/layout-absolute.svg.js +3 -1
  558. package/lib/icons/layout/layout-fixed-top.svg.js +3 -1
  559. package/lib/icons/layout/layout-fixed.svg.js +3 -1
  560. package/lib/icons/layout/layout-free-container.svg.js +3 -1
  561. package/lib/icons/layout/layout-full.svg.js +3 -1
  562. package/lib/icons/layout/layout1-2.svg.js +3 -1
  563. package/lib/icons/layout/layout2-1.svg.js +3 -1
  564. package/lib/icons/layout/layout3-1.svg.js +3 -1
  565. package/lib/icons/layout/layout3-2.svg.js +3 -1
  566. package/lib/icons/other/_fx.svg.js +3 -1
  567. package/lib/icons/other/divider.svg.js +3 -1
  568. package/lib/icons/other/fx.svg.js +3 -1
  569. package/lib/icons/other/property-sheet.svg.js +3 -1
  570. package/lib/icons/other/tooltip.svg.js +3 -1
  571. package/lib/icons/show/URL.svg.js +3 -1
  572. package/lib/icons/show/avatar.svg.js +3 -1
  573. package/lib/icons/show/breadcrumb.svg.js +3 -1
  574. package/lib/icons/show/card.svg.js +3 -1
  575. package/lib/icons/show/cards.svg.js +3 -1
  576. package/lib/icons/show/carousel.svg.js +3 -1
  577. package/lib/icons/show/chart.svg.js +3 -1
  578. package/lib/icons/show/code.svg.js +3 -1
  579. package/lib/icons/show/date.svg.js +3 -1
  580. package/lib/icons/show/datetime.svg.js +3 -1
  581. package/lib/icons/show/image.svg.js +3 -1
  582. package/lib/icons/show/images.svg.js +3 -1
  583. package/lib/icons/show/json-view.svg.js +3 -1
  584. package/lib/icons/show/list.svg.js +3 -1
  585. package/lib/icons/show/log.svg.js +3 -1
  586. package/lib/icons/show/mapping.svg.js +3 -1
  587. package/lib/icons/show/markdown.svg.js +3 -1
  588. package/lib/icons/show/plain.svg.js +3 -1
  589. package/lib/icons/show/progress.svg.js +3 -1
  590. package/lib/icons/show/sparkline.svg.js +3 -1
  591. package/lib/icons/show/status.svg.js +3 -1
  592. package/lib/icons/show/steps.svg.js +3 -1
  593. package/lib/icons/show/time.svg.js +3 -1
  594. package/lib/icons/theme/css.svg.js +3 -1
  595. package/lib/index.d.ts +8 -0
  596. package/lib/index.js +47 -6
  597. package/lib/locale/en-US.js +241 -19
  598. package/lib/locale/zh-CN.js +235 -7
  599. package/lib/plugin/Alert.js +3 -1
  600. package/lib/plugin/AnchorNav.js +3 -1
  601. package/lib/plugin/Audio.js +3 -1
  602. package/lib/plugin/Avatar.js +3 -1
  603. package/lib/plugin/Breadcrumb.js +3 -1
  604. package/lib/plugin/Button.js +5 -3
  605. package/lib/plugin/ButtonGroup.js +3 -1
  606. package/lib/plugin/CRUD.js +3 -1
  607. package/lib/plugin/CRUD2/BaseCRUD.d.ts +233 -0
  608. package/lib/plugin/CRUD2/BaseCRUD.js +1060 -0
  609. package/lib/plugin/CRUD2/CRUDCards.d.ts +53 -0
  610. package/lib/plugin/CRUD2/CRUDList.d.ts +53 -0
  611. package/lib/plugin/CRUD2/CRUDTable.d.ts +21 -0
  612. package/lib/plugin/CRUD2/CRUDTable.js +52 -0
  613. package/lib/plugin/CRUD2/constants.d.ts +32 -0
  614. package/lib/plugin/CRUD2/constants.js +81 -0
  615. package/lib/plugin/CRUD2/utils.d.ts +8 -0
  616. package/lib/plugin/CRUD2/utils.js +103 -0
  617. package/lib/plugin/Card.js +3 -1
  618. package/lib/plugin/Card2.js +3 -1
  619. package/lib/plugin/Cards.d.ts +547 -41
  620. package/lib/plugin/Cards.js +365 -167
  621. package/lib/plugin/Carousel.js +120 -97
  622. package/lib/plugin/Chart.js +17 -5
  623. package/lib/plugin/CodeView.js +3 -1
  624. package/lib/plugin/Collapse.d.ts +2 -1
  625. package/lib/plugin/Collapse.js +50 -1
  626. package/lib/plugin/CollapseGroup.js +3 -1
  627. package/lib/plugin/ColumnToggler.d.ts +11 -6
  628. package/lib/plugin/ColumnToggler.js +72 -9
  629. package/lib/plugin/Container.d.ts +2 -0
  630. package/lib/plugin/Container.js +8 -8
  631. package/lib/plugin/Custom.js +3 -1
  632. package/lib/plugin/CustomRegion.js +5 -2
  633. package/lib/plugin/Date.js +3 -1
  634. package/lib/plugin/Datetime.js +3 -1
  635. package/lib/plugin/Dialog.d.ts +13 -1
  636. package/lib/plugin/Dialog.js +184 -53
  637. package/lib/plugin/Divider.js +72 -6
  638. package/lib/plugin/Drawer.js +125 -76
  639. package/lib/plugin/DropDownButton.js +3 -1
  640. package/lib/plugin/Each.d.ts +226 -11
  641. package/lib/plugin/Each.js +234 -89
  642. package/lib/plugin/Flex.js +3 -1
  643. package/lib/plugin/Form/ButtonGroupSelect.js +25 -23
  644. package/lib/plugin/Form/ButtonToolbar.js +3 -1
  645. package/lib/plugin/Form/ChainedSelect.js +21 -19
  646. package/lib/plugin/Form/Checkbox.js +55 -12
  647. package/lib/plugin/Form/Checkboxes.js +33 -42
  648. package/lib/plugin/Form/CodeEditor.js +3 -1
  649. package/lib/plugin/Form/Combo.d.ts +3 -2
  650. package/lib/plugin/Form/Combo.js +8 -5
  651. package/lib/plugin/Form/ConditionBuilder.js +3 -1
  652. package/lib/plugin/Form/Control.js +3 -1
  653. package/lib/plugin/Form/DiffEditor.js +3 -1
  654. package/lib/plugin/Form/FieldSet.js +3 -1
  655. package/lib/plugin/Form/Form.d.ts +32 -8
  656. package/lib/plugin/Form/Form.js +598 -440
  657. package/lib/plugin/Form/Formula.js +3 -1
  658. package/lib/plugin/Form/Group.js +3 -1
  659. package/lib/plugin/Form/Hidden.js +3 -1
  660. package/lib/plugin/Form/InputArray.js +3 -1
  661. package/lib/plugin/Form/InputCity.js +6 -2
  662. package/lib/plugin/Form/InputColor.js +3 -1
  663. package/lib/plugin/Form/InputDate.js +29 -43
  664. package/lib/plugin/Form/InputDateRange.js +41 -30
  665. package/lib/plugin/Form/InputDateTime.js +3 -1
  666. package/lib/plugin/Form/InputDateTimeRange.js +3 -1
  667. package/lib/plugin/Form/InputEmail.js +3 -1
  668. package/lib/plugin/Form/InputExcel.js +3 -1
  669. package/lib/plugin/Form/InputFile.js +8 -2
  670. package/lib/plugin/Form/InputGroup.d.ts +1 -0
  671. package/lib/plugin/Form/InputGroup.js +3 -1
  672. package/lib/plugin/Form/InputImage.js +12 -6
  673. package/lib/plugin/Form/InputKV.js +3 -1
  674. package/lib/plugin/Form/InputMonth.js +3 -1
  675. package/lib/plugin/Form/InputMonthRange.js +3 -1
  676. package/lib/plugin/Form/InputNumber.js +3 -1
  677. package/lib/plugin/Form/InputPassword.js +3 -1
  678. package/lib/plugin/Form/InputQuarter.js +3 -1
  679. package/lib/plugin/Form/InputQuarterRange.js +3 -1
  680. package/lib/plugin/Form/InputRange.js +23 -35
  681. package/lib/plugin/Form/InputRating.js +3 -1
  682. package/lib/plugin/Form/InputRepeat.js +3 -1
  683. package/lib/plugin/Form/InputRichText.js +3 -1
  684. package/lib/plugin/Form/InputSubForm.js +3 -1
  685. package/lib/plugin/Form/InputTable.d.ts +3 -2
  686. package/lib/plugin/Form/InputTable.js +12 -7
  687. package/lib/plugin/Form/InputTag.d.ts +4 -1
  688. package/lib/plugin/Form/InputTag.js +33 -22
  689. package/lib/plugin/Form/InputText.js +23 -23
  690. package/lib/plugin/Form/InputTime.js +3 -1
  691. package/lib/plugin/Form/InputTimeRange.js +3 -1
  692. package/lib/plugin/Form/InputTree.js +69 -54
  693. package/lib/plugin/Form/InputURL.js +3 -1
  694. package/lib/plugin/Form/InputYear.js +3 -1
  695. package/lib/plugin/Form/InputYearRange.js +3 -1
  696. package/lib/plugin/Form/Item.js +3 -1
  697. package/lib/plugin/Form/ListSelect.js +25 -23
  698. package/lib/plugin/Form/LocationPicker.js +3 -1
  699. package/lib/plugin/Form/MatrixCheckboxes.js +3 -1
  700. package/lib/plugin/Form/NestedSelect.js +25 -23
  701. package/lib/plugin/Form/Picker.js +22 -22
  702. package/lib/plugin/Form/Radios.js +20 -18
  703. package/lib/plugin/Form/Select.d.ts +8 -8
  704. package/lib/plugin/Form/Select.js +41 -72
  705. package/lib/plugin/Form/Static.js +3 -1
  706. package/lib/plugin/Form/Switch.js +3 -1
  707. package/lib/plugin/Form/TabsTransfer.d.ts +2 -3
  708. package/lib/plugin/Form/TabsTransfer.js +58 -44
  709. package/lib/plugin/Form/Textarea.js +3 -1
  710. package/lib/plugin/Form/Transfer.js +25 -23
  711. package/lib/plugin/Form/TreeSelect.js +59 -51
  712. package/lib/plugin/Form/UUID.js +3 -1
  713. package/lib/plugin/Grid.js +3 -1
  714. package/lib/plugin/HBox.js +3 -1
  715. package/lib/plugin/IFrame.js +3 -1
  716. package/lib/plugin/Icon.js +5 -3
  717. package/lib/plugin/Image.js +54 -31
  718. package/lib/plugin/Images.js +22 -10
  719. package/lib/plugin/Json.js +3 -1
  720. package/lib/plugin/Layout/FlexPluginBase.js +14 -15
  721. package/lib/plugin/Layout/Layout_fixed.js +3 -1
  722. package/lib/plugin/Layout/Layout_free_container.js +3 -1
  723. package/lib/plugin/Layout/Layout_sorption_container.js +3 -1
  724. package/lib/plugin/Link.js +17 -5
  725. package/lib/plugin/List.d.ts +5 -0
  726. package/lib/plugin/List.js +54 -17
  727. package/lib/plugin/List2.d.ts +545 -0
  728. package/lib/plugin/List2.js +388 -0
  729. package/lib/plugin/ListItem.js +3 -1
  730. package/lib/plugin/Log.js +3 -1
  731. package/lib/plugin/Mapping.js +3 -1
  732. package/lib/plugin/Markdown.js +3 -1
  733. package/lib/plugin/Nav.js +3 -1
  734. package/lib/plugin/OfficeViewer.js +3 -1
  735. package/lib/plugin/Operation.js +3 -2
  736. package/lib/plugin/Others/Action.js +3 -1
  737. package/lib/plugin/Others/TableCell.js +3 -1
  738. package/lib/plugin/Page.js +27 -2
  739. package/lib/plugin/Pagination.d.ts +0 -1
  740. package/lib/plugin/Pagination.js +38 -18
  741. package/lib/plugin/Panel.js +3 -1
  742. package/lib/plugin/Plain.js +3 -1
  743. package/lib/plugin/Progress.js +3 -1
  744. package/lib/plugin/Property.js +3 -1
  745. package/lib/plugin/QRCode.js +3 -1
  746. package/lib/plugin/Reset.js +3 -1
  747. package/lib/plugin/SearchBox.d.ts +3 -1
  748. package/lib/plugin/SearchBox.js +14 -1
  749. package/lib/plugin/Service.d.ts +19 -13
  750. package/lib/plugin/Service.js +167 -89
  751. package/lib/plugin/Sparkline.js +5 -6
  752. package/lib/plugin/Status.js +3 -1
  753. package/lib/plugin/Steps.js +3 -1
  754. package/lib/plugin/Submit.js +3 -1
  755. package/lib/plugin/Table.d.ts +9 -0
  756. package/lib/plugin/Table.js +53 -4
  757. package/lib/plugin/Table2.d.ts +24 -10
  758. package/lib/plugin/Table2.js +672 -418
  759. package/lib/plugin/TableCell2.d.ts +14 -2
  760. package/lib/plugin/TableCell2.js +509 -363
  761. package/lib/plugin/TableView.js +3 -1
  762. package/lib/plugin/Tabs.js +3 -1
  763. package/lib/plugin/Tag.js +10 -2
  764. package/lib/plugin/Tasks.js +3 -1
  765. package/lib/plugin/Time.js +3 -1
  766. package/lib/plugin/Timeline.js +3 -1
  767. package/lib/plugin/TooltipWrapper.js +12 -9
  768. package/lib/plugin/Tpl.js +21 -3
  769. package/lib/plugin/Video.js +3 -1
  770. package/lib/plugin/WebComponent.js +3 -1
  771. package/lib/plugin/Wizard.js +3 -1
  772. package/lib/plugin/Wrapper.js +3 -1
  773. package/lib/plugin/index.d.ts +2 -1
  774. package/lib/renderer/APIAdaptorControl.d.ts +14 -0
  775. package/lib/renderer/APIAdaptorControl.js +27 -39
  776. package/lib/renderer/APIControl.js +12 -2
  777. package/lib/renderer/ActionApiControl.d.ts +6 -0
  778. package/lib/renderer/BadgeControl.d.ts +6 -6
  779. package/lib/renderer/BadgeControl.js +3 -1
  780. package/lib/renderer/ButtonGroupControl.js +3 -1
  781. package/lib/renderer/DataBindingControl.d.ts +1 -1
  782. package/lib/renderer/DataBindingControl.js +3 -1
  783. package/lib/renderer/DataMappingControl.js +3 -1
  784. package/lib/renderer/DataPickerControl.js +3 -1
  785. package/lib/renderer/DateShortCutControl.d.ts +1 -0
  786. package/lib/renderer/DateShortCutControl.js +9 -5
  787. package/lib/renderer/ExpressionFormulaControl.js +3 -1
  788. package/lib/renderer/FeatureControl.d.ts +17 -4
  789. package/lib/renderer/FeatureControl.js +75 -13
  790. package/lib/renderer/FieldSetting.d.ts +66 -0
  791. package/lib/renderer/FieldSetting.js +503 -0
  792. package/lib/renderer/FlexSettingControl.js +3 -1
  793. package/lib/renderer/FormulaControl.d.ts +6 -1
  794. package/lib/renderer/FormulaControl.js +23 -6
  795. package/lib/renderer/FunctionEditorControl.d.ts +79 -0
  796. package/lib/renderer/FunctionEditorControl.js +115 -0
  797. package/lib/renderer/GoConfigControl.js +3 -1
  798. package/lib/renderer/InputRangeValueControl.d.ts +15 -0
  799. package/lib/renderer/InputRangeValueControl.js +127 -0
  800. package/lib/renderer/MapSourceControl.js +3 -1
  801. package/lib/renderer/NavBadgeControl.d.ts +6 -6
  802. package/lib/renderer/NavBadgeControl.js +3 -1
  803. package/lib/renderer/NavDefaultActive.js +3 -1
  804. package/lib/renderer/NavSourceControl.js +3 -1
  805. package/lib/renderer/OptionControl.d.ts +2 -0
  806. package/lib/renderer/OptionControl.js +35 -23
  807. package/lib/renderer/RangePartsControl.js +3 -1
  808. package/lib/renderer/StatusControl.js +3 -1
  809. package/lib/renderer/SwitchMoreControl.d.ts +6 -0
  810. package/lib/renderer/SwitchMoreControl.js +14 -2
  811. package/lib/renderer/TableColumnWidthControl.d.ts +29 -0
  812. package/lib/renderer/TableColumnWidthControl.js +186 -0
  813. package/lib/renderer/TimelineItemControl.js +3 -1
  814. package/lib/renderer/TplFormulaControl.js +3 -1
  815. package/lib/renderer/TransferTableControl.js +3 -1
  816. package/lib/renderer/TreeOptionControl.d.ts +1 -1
  817. package/lib/renderer/TreeOptionControl.js +8 -6
  818. package/lib/renderer/ValidationControl.js +3 -1
  819. package/lib/renderer/ValidationItem.js +3 -1
  820. package/lib/renderer/crud2-control/AddColumnModal.d.ts +6 -0
  821. package/lib/renderer/crud2-control/AddColumnModal.js +265 -0
  822. package/lib/renderer/crud2-control/CRUDColumnControl.d.ts +68 -0
  823. package/lib/renderer/crud2-control/CRUDColumnControl.js +482 -0
  824. package/lib/renderer/crud2-control/CRUDFiltersControl.d.ts +53 -0
  825. package/lib/renderer/crud2-control/CRUDFiltersControl.js +701 -0
  826. package/lib/renderer/crud2-control/CRUDToolbarControl.d.ts +49 -0
  827. package/lib/renderer/crud2-control/CRUDToolbarControl.js +426 -0
  828. package/lib/renderer/event-control/action-config-dialog.d.ts +1 -1
  829. package/lib/renderer/event-control/action-config-dialog.js +4 -2
  830. package/lib/renderer/event-control/action-config-panel.js +3 -1
  831. package/lib/renderer/event-control/comp-action-select.js +3 -1
  832. package/lib/renderer/event-control/helper.d.ts +2 -1
  833. package/lib/renderer/event-control/helper.js +168 -115
  834. package/lib/renderer/event-control/index.d.ts +26 -17
  835. package/lib/renderer/event-control/index.js +114 -22
  836. package/lib/renderer/style-control/Background.js +3 -1
  837. package/lib/renderer/style-control/Border.js +3 -1
  838. package/lib/renderer/style-control/BoxModel.js +3 -1
  839. package/lib/renderer/style-control/BoxShadow.js +3 -1
  840. package/lib/renderer/style-control/Display.js +3 -1
  841. package/lib/renderer/style-control/Font.js +3 -1
  842. package/lib/renderer/style-control/InsetBoxModel.js +3 -1
  843. package/lib/renderer/style-control/ThemeCssCode.js +131 -280
  844. package/lib/renderer/style-control/font-family.js +3 -1
  845. package/lib/renderer/style-control/helper.js +3 -1
  846. package/lib/renderer/style-control/transformation.js +3 -1
  847. package/lib/renderer/textarea-formula/FormulaPicker.js +3 -1
  848. package/lib/renderer/textarea-formula/TextareaFormulaControl.d.ts +2 -0
  849. package/lib/renderer/textarea-formula/TextareaFormulaControl.js +75 -6
  850. package/lib/renderer/textarea-formula/plugin.js +5 -3
  851. package/lib/tpl/api.js +14 -9
  852. package/lib/tpl/common.js +52 -34
  853. package/lib/tpl/horizontal.js +3 -1
  854. package/lib/tpl/layout.js +10 -6
  855. package/lib/tpl/options.d.ts +10 -1
  856. package/lib/tpl/options.js +249 -9
  857. package/lib/tpl/remark.js +3 -1
  858. package/lib/tpl/style.js +99 -60
  859. package/lib/tpl/validations.js +3 -1
  860. package/lib/util.d.ts +8 -0
  861. package/lib/util.js +20 -1
  862. package/lib/validator.js +3 -1
  863. package/package.json +1 -1
  864. package/esm/plugin/CRUD2.d.ts +0 -78
  865. package/esm/plugin/CRUD2.js +0 -1556
  866. package/esm/renderer/style-control/themeLanguage.d.ts +0 -1
  867. package/esm/renderer/style-control/themeLanguage.js +0 -1894
  868. package/lib/plugin/CRUD2.d.ts +0 -78
  869. package/lib/plugin/CRUD2.js +0 -1572
  870. package/lib/renderer/style-control/themeLanguage.d.ts +0 -1
  871. package/lib/renderer/style-control/themeLanguage.js +0 -1902
@@ -1,1894 +0,0 @@
1
- /**
2
- * amis-editor v5.6.0-beta.0
3
- * Copyright 2018-2023 @fex
4
- */
5
-
6
- import { __spreadArray, __read, __assign } from 'tslib';
7
- import isEmpty from 'lodash/isEmpty';
8
- import { i18n } from 'i18n-runtime';
9
-
10
- var conf = {
11
- ws: '[ \t\n\r\f]*',
12
- identifier: '-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*',
13
- tokenizer: {
14
- root: [{
15
- include: '@selector'
16
- }],
17
- selector: [{
18
- include: '@selectorbody'
19
- }],
20
- selectorbody: [['[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))', 'attribute.name', '@rulevalue']],
21
- rulevalue: [{
22
- include: '@strings'
23
- }, {
24
- include: '@term'
25
- }, ['!important', 'keyword'], [';', 'delimiter', '@pop'], ['(?=})', {
26
- token: '',
27
- next: '@pop'
28
- }]],
29
- term: [['(url-prefix)(\\()', ['attribute.value', {
30
- token: 'delimiter.parenthesis',
31
- next: '@urldeclaration'
32
- }]], ['(url)(\\()', ['attribute.value', {
33
- token: 'delimiter.parenthesis',
34
- next: '@urldeclaration'
35
- }]], {
36
- include: '@numbers'
37
- }, {
38
- include: '@name'
39
- }, {
40
- include: '@strings'
41
- }, ['([<>=\\+\\-\\*\\/\\^\\|\\~,])', 'delimiter'], [',', 'delimiter']],
42
- warndebug: [['[@](warn|debug)', {
43
- token: 'keyword',
44
- next: '@declarationbody'
45
- }]],
46
- urldeclaration: [{
47
- include: '@strings'
48
- }, ['[^)\r\n]+', 'string'], ['\\)', {
49
- token: 'delimiter.parenthesis',
50
- next: '@pop'
51
- }]],
52
- parenthizedterm: [{
53
- include: '@term'
54
- }, ['\\)', {
55
- token: 'delimiter.parenthesis',
56
- next: '@pop'
57
- }]],
58
- declarationbody: [{
59
- include: '@term'
60
- }, [';', 'delimiter', '@pop'], ['(?=})', {
61
- token: '',
62
- next: '@pop'
63
- }] // missing semicolon
64
- ],
65
-
66
- name: [['@identifier', 'attribute.value']],
67
- numbers: [['-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?', {
68
- token: 'attribute.value.number',
69
- next: '@units'
70
- }], ['#[0-9a-fA-F_]+(?!\\w)', 'attribute.value.hex']],
71
- units: [['(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?', 'attribute.value.unit', '@pop']],
72
- strings: [['~?"', {
73
- token: 'string',
74
- next: '@stringenddoublequote'
75
- }], ["~?'", {
76
- token: 'string',
77
- next: '@stringendquote'
78
- }]],
79
- stringenddoublequote: [['\\\\.', 'string'], ['"', {
80
- token: 'string',
81
- next: '@pop'
82
- }], [/[^\\"]+/, 'string'], ['.', 'string']],
83
- stringendquote: [['\\\\.', 'string'], ["'", {
84
- token: 'string',
85
- next: '@pop'
86
- }], [/[^\\']+/, 'string'], ['.', 'string']]
87
- }
88
- };
89
- var keywords = {
90
- 'additive-symbols': {},
91
- 'align-content': {
92
- values: ['center', 'flex-end', 'flex-start', 'space-around', 'space-between', 'stretch', 'start', 'end', 'normal', 'baseline', 'first baseline', 'last baseline', 'space-around', 'space-between', 'space-evenly', 'stretch', 'safe', 'unsafe']
93
- },
94
- 'align-items': {
95
- values: ['baseline', 'center', 'flex-end', 'flex-start', 'stretch', 'normal', 'start', 'end', 'self-start', 'self-end', 'first baseline', 'last baseline', 'stretch', 'safe', 'unsafe']
96
- },
97
- 'justify-items': {
98
- values: ['auto', 'normal', 'end', 'start', 'flex-end', 'flex-start', 'self-end', 'self-start', 'center', 'left', 'right', 'baseline', 'first baseline', 'last baseline', 'stretch', 'safe', 'unsafe', 'legacy']
99
- },
100
- 'justify-self': {
101
- values: ['auto', 'normal', 'end', 'start', 'flex-end', 'flex-start', 'self-end', 'self-start', 'center', 'left', 'right', 'baseline', 'first baseline', 'last baseline', 'stretch', 'save', 'unsave']
102
- },
103
- 'align-self': {
104
- values: ['auto', 'normal', 'self-end', 'self-start', 'baseline', 'center', 'flex-end', 'flex-start', 'stretch', 'baseline', 'first baseline', 'last baseline', 'safe', 'unsafe']
105
- },
106
- 'all': {
107
- values: []
108
- },
109
- 'alt': {
110
- values: []
111
- },
112
- 'animation': {
113
- values: ['alternate', 'alternate-reverse', 'backwards', 'both', 'forwards', 'infinite', 'none', 'normal', 'reverse']
114
- },
115
- 'animation-delay': {},
116
- 'animation-direction': {
117
- values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
118
- },
119
- 'animation-duration': {},
120
- 'animation-fill-mode': {
121
- values: ['backwards', 'both', 'forwards', 'none']
122
- },
123
- 'animation-iteration-count': {
124
- values: ['infinite']
125
- },
126
- 'animation-name': {
127
- values: ['none']
128
- },
129
- 'animation-play-state': {
130
- values: ['paused', 'running']
131
- },
132
- 'animation-timing-function': {},
133
- 'backface-visibility': {
134
- values: ['hidden', 'visible']
135
- },
136
- 'background': {
137
- values: ['fixed', 'local', 'none', 'scroll']
138
- },
139
- 'background-attachment': {
140
- values: ['fixed', 'local', 'scroll']
141
- },
142
- 'background-blend-mode': {
143
- values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
144
- },
145
- 'background-clip': {},
146
- 'background-color': {},
147
- 'background-image': {
148
- values: ['none']
149
- },
150
- 'background-origin': {},
151
- 'background-position': {},
152
- 'background-position-x': {
153
- values: ['center', 'left', 'right']
154
- },
155
- 'background-position-y': {
156
- values: ['bottom', 'center', 'top']
157
- },
158
- 'background-repeat': {
159
- values: []
160
- },
161
- 'background-size': {
162
- values: ['auto', 'contain', 'cover']
163
- },
164
- 'behavior': {},
165
- 'block-size': {
166
- values: ['auto']
167
- },
168
- 'border': {},
169
- 'border-block-end': {},
170
- 'border-block-start': {},
171
- 'border-block-end-color': {},
172
- 'border-block-start-color': {},
173
- 'border-block-end-style': {},
174
- 'border-block-start-style': {},
175
- 'border-block-end-width': {},
176
- 'border-block-start-width': {},
177
- 'border-bottom': {},
178
- 'border-bottom-color': {},
179
- 'border-bottom-left-radius': {},
180
- 'border-bottom-right-radius': {},
181
- 'border-bottom-style': {},
182
- 'border-bottom-width': {},
183
- 'border-collapse': {
184
- values: ['collapse', 'separate']
185
- },
186
- 'border-color': {
187
- values: []
188
- },
189
- 'border-image': {
190
- values: ['auto', 'fill', 'none', 'repeat', 'round', 'space', 'stretch', 'url()']
191
- },
192
- 'border-image-outset': {},
193
- 'border-image-repeat': {
194
- values: ['repeat', 'round', 'space', 'stretch']
195
- },
196
- 'border-image-slice': {
197
- values: ['fill']
198
- },
199
- 'border-image-source': {
200
- values: ['none']
201
- },
202
- 'border-image-width': {
203
- values: ['auto']
204
- },
205
- 'border-inline-end': {},
206
- 'border-inline-start': {},
207
- 'border-inline-end-color': {},
208
- 'border-inline-start-color': {},
209
- 'border-inline-end-style': {},
210
- 'border-inline-start-style': {},
211
- 'border-inline-end-width': {},
212
- 'border-inline-start-width': {},
213
- 'border-left': {},
214
- 'border-left-color': {},
215
- 'border-left-style': {},
216
- 'border-left-width': {},
217
- 'border-radius': {},
218
- 'border-right': {},
219
- 'border-right-color': {},
220
- 'border-right-style': {},
221
- 'border-right-width': {},
222
- 'border-spacing': {},
223
- 'border-style': {
224
- values: []
225
- },
226
- 'border-top': {},
227
- 'border-top-color': {},
228
- 'border-top-left-radius': {},
229
- 'border-top-right-radius': {},
230
- 'border-top-style': {},
231
- 'border-top-width': {},
232
- 'border-width': {
233
- values: []
234
- },
235
- 'bottom': {
236
- values: ['auto']
237
- },
238
- 'box-decoration-break': {
239
- values: ['clone', 'slice']
240
- },
241
- 'box-shadow': {
242
- values: ['inset', 'none']
243
- },
244
- 'box-sizing': {
245
- values: ['border-box', 'content-box']
246
- },
247
- 'break-after': {
248
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'column', 'left', 'page', 'right']
249
- },
250
- 'break-before': {
251
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'column', 'left', 'page', 'right']
252
- },
253
- 'break-inside': {
254
- values: ['auto', 'avoid', 'avoid-column', 'avoid-page']
255
- },
256
- 'caption-side': {
257
- values: ['bottom', 'top']
258
- },
259
- 'caret-color': {
260
- values: ['auto']
261
- },
262
- 'clear': {
263
- values: ['both', 'left', 'none', 'right']
264
- },
265
- 'clip': {
266
- values: ['auto', 'rect()']
267
- },
268
- 'clip-path': {
269
- values: ['none', 'url()']
270
- },
271
- 'clip-rule': {
272
- values: ['evenodd', 'nonzero']
273
- },
274
- 'color': {},
275
- 'color-interpolation-filters': {
276
- values: ['auto', 'linearRGB', 'sRGB']
277
- },
278
- 'column-count': {
279
- values: ['auto']
280
- },
281
- 'column-fill': {
282
- values: ['auto', 'balance']
283
- },
284
- 'column-gap': {
285
- values: ['normal']
286
- },
287
- 'column-rule': {},
288
- 'column-rule-color': {},
289
- 'column-rule-style': {},
290
- 'column-rule-width': {},
291
- 'columns': {
292
- values: ['auto']
293
- },
294
- 'column-span': {
295
- values: ['all', 'none']
296
- },
297
- 'column-width': {
298
- values: ['auto']
299
- },
300
- 'contain': {
301
- values: ['none', 'strict', 'content', 'size', 'layout', 'style', 'paint']
302
- },
303
- 'content': {
304
- values: ['attr()', 'counter(name)', 'icon', 'none', 'normal', 'url()']
305
- },
306
- 'counter-increment': {
307
- values: ['none']
308
- },
309
- 'counter-reset': {
310
- values: ['none']
311
- },
312
- 'cursor': {
313
- values: ['alias', 'all-scroll', 'auto', 'cell', 'col-resize', 'context-menu', 'copy', 'crosshair', 'default', 'e-resize', 'ew-resize', 'grab', 'grabbing', 'help', 'move', '-moz-grab', '-moz-grabbing', '-moz-zoom-in', '-moz-zoom-out', 'ne-resize', 'nesw-resize', 'no-drop', 'none', 'not-allowed', 'n-resize', 'ns-resize', 'nw-resize', 'nwse-resize', 'pointer', 'progress', 'row-resize', 'se-resize', 's-resize', 'sw-resize', 'text', 'vertical-text', 'wait', '-webkit-grab', '-webkit-grabbing', '-webkit-zoom-in', '-webkit-zoom-out', 'w-resize', 'zoom-in', 'zoom-out']
314
- },
315
- 'direction': {
316
- values: ['ltr', 'rtl']
317
- },
318
- 'display': {
319
- values: ['block', 'contents', 'flex', 'flexbox', 'flow-root', 'grid', 'inline', 'inline-block', 'inline-flex', 'inline-flexbox', 'inline-table', 'list-item', '-moz-box', '-moz-deck', '-moz-grid', '-moz-grid-group', '-moz-grid-line', '-moz-groupbox', '-moz-inline-box', '-moz-inline-grid', '-moz-inline-stack', '-moz-marker', '-moz-popup', '-moz-stack', '-ms-flexbox', '-ms-grid', '-ms-inline-flexbox', '-ms-inline-grid', 'none', 'ruby', 'ruby-base', 'ruby-base-container', 'ruby-text', 'ruby-text-container', 'run-in', 'table', 'table-caption', 'table-cell', 'table-column', 'table-column-group', 'table-footer-group', 'table-header-group', 'table-row', 'table-row-group', '-webkit-box', '-webkit-flex', '-webkit-inline-box', '-webkit-inline-flex']
320
- },
321
- 'empty-cells': {
322
- values: ['hide', '-moz-show-background', 'show']
323
- },
324
- 'enable-background': {
325
- values: ['accumulate', 'new']
326
- },
327
- 'fallback': {},
328
- 'fill': {
329
- values: ['url()', 'none']
330
- },
331
- 'fill-opacity': {},
332
- 'fill-rule': {
333
- values: ['evenodd', 'nonzero']
334
- },
335
- 'filter': {
336
- values: ['none', 'blur()', 'brightness()', 'contrast()', 'drop-shadow()', 'grayscale()', 'hue-rotate()', 'invert()', 'opacity()', 'saturate()', 'sepia()', 'url()']
337
- },
338
- 'flex': {
339
- values: ['auto', 'content', 'none']
340
- },
341
- 'flex-basis': {
342
- values: ['auto', 'content']
343
- },
344
- 'flex-direction': {
345
- values: ['column', 'column-reverse', 'row', 'row-reverse']
346
- },
347
- 'flex-flow': {
348
- values: ['column', 'column-reverse', 'nowrap', 'row', 'row-reverse', 'wrap', 'wrap-reverse']
349
- },
350
- 'flex-grow': {},
351
- 'flex-shrink': {},
352
- 'flex-wrap': {
353
- values: ['nowrap', 'wrap', 'wrap-reverse']
354
- },
355
- 'float': {
356
- values: ['inline-end', 'inline-start', 'left', 'none', 'right']
357
- },
358
- 'flood-color': {},
359
- 'flood-opacity': {},
360
- 'font': {
361
- values: ['100', '200', '300', '400', '500', '600', '700', '800', '900', 'bold', 'bolder', 'caption', 'icon', 'italic', 'large', 'larger', 'lighter', 'medium', 'menu', 'message-box', 'normal', 'oblique', 'small', 'small-caps', 'small-caption', 'smaller', 'status-bar', 'x-large', 'x-small', 'xx-large', 'xx-small']
362
- },
363
- 'font-family': {
364
- values: ["system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif", 'Arial, Helvetica, sans-serif', "Cambria, Cochin, Georgia, Times, 'Times New Roman', serif", "'Courier New', Courier, monospace", 'cursive', 'fantasy', "'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif", "Georgia, 'Times New Roman', Times, serif", "'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif", "Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif", "'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif", 'monospace', 'sans-serif', "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif", 'serif', "'Times New Roman', Times, serif", "'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif", 'Verdana, Geneva, Tahoma, sans-serif']
365
- },
366
- 'font-feature-settings': {
367
- values: ['"aalt"', '"abvf"', '"abvm"', '"abvs"', '"afrc"', '"akhn"', '"blwf"', '"blwm"', '"blws"', '"calt"', '"case"', '"ccmp"', '"cfar"', '"cjct"', '"clig"', '"cpct"', '"cpsp"', '"cswh"', '"curs"', '"c2pc"', '"c2sc"', '"dist"', '"dlig"', '"dnom"', '"dtls"', '"expt"', '"falt"', '"fin2"', '"fin3"', '"fina"', '"flac"', '"frac"', '"fwid"', '"half"', '"haln"', '"halt"', '"hist"', '"hkna"', '"hlig"', '"hngl"', '"hojo"', '"hwid"', '"init"', '"isol"', '"ital"', '"jalt"', '"jp78"', '"jp83"', '"jp90"', '"jp04"', '"kern"', '"lfbd"', '"liga"', '"ljmo"', '"lnum"', '"locl"', '"ltra"', '"ltrm"', '"mark"', '"med2"', '"medi"', '"mgrk"', '"mkmk"', '"nalt"', '"nlck"', '"nukt"', '"numr"', '"onum"', '"opbd"', '"ordn"', '"ornm"', '"palt"', '"pcap"', '"pkna"', '"pnum"', '"pref"', '"pres"', '"pstf"', '"psts"', '"pwid"', '"qwid"', '"rand"', '"rclt"', '"rlig"', '"rkrf"', '"rphf"', '"rtbd"', '"rtla"', '"rtlm"', '"ruby"', '"salt"', '"sinf"', '"size"', '"smcp"', '"smpl"', '"ssty"', '"stch"', '"subs"', '"sups"', '"swsh"', '"titl"', '"tjmo"', '"tnam"', '"tnum"', '"trad"', '"twid"', '"unic"', '"valt"', '"vatu"', '"vert"', '"vhal"', '"vjmo"', '"vkna"', '"vkrn"', '"vpal"', '"vrt2"', '"zero"', 'normal', 'off', 'on']
368
- },
369
- 'font-kerning': {
370
- values: ['auto', 'none', 'normal']
371
- },
372
- 'font-language-override': {
373
- values: ['normal']
374
- },
375
- 'font-size': {
376
- values: ['large', 'larger', 'medium', 'small', 'smaller', 'x-large', 'x-small', 'xx-large', 'xx-small']
377
- },
378
- 'font-size-adjust': {
379
- values: ['none']
380
- },
381
- 'font-stretch': {
382
- values: ['condensed', 'expanded', 'extra-condensed', 'extra-expanded', 'narrower', 'normal', 'semi-condensed', 'semi-expanded', 'ultra-condensed', 'ultra-expanded', 'wider']
383
- },
384
- 'font-style': {
385
- values: ['italic', 'normal', 'oblique']
386
- },
387
- 'font-synthesis': {
388
- values: ['none', 'style', 'weight']
389
- },
390
- 'font-variant': {
391
- values: ['normal', 'small-caps']
392
- },
393
- 'font-variant-alternates': {
394
- values: ['annotation()', 'character-variant()', 'historical-forms', 'normal', 'ornaments()', 'styleset()', 'stylistic()', 'swash()']
395
- },
396
- 'font-variant-caps': {
397
- values: ['all-petite-caps', 'all-small-caps', 'normal', 'petite-caps', 'small-caps', 'titling-caps', 'unicase']
398
- },
399
- 'font-variant-east-asian': {
400
- values: ['full-width', 'jis04', 'jis78', 'jis83', 'jis90', 'normal', 'proportional-width', 'ruby', 'simplified', 'traditional']
401
- },
402
- 'font-variant-ligatures': {
403
- values: ['additional-ligatures', 'common-ligatures', 'contextual', 'discretionary-ligatures', 'historical-ligatures', 'no-additional-ligatures', 'no-common-ligatures', 'no-contextual', 'no-discretionary-ligatures', 'no-historical-ligatures', 'none', 'normal']
404
- },
405
- 'font-variant-numeric': {
406
- values: ['diagonal-fractions', 'lining-nums', 'normal', 'oldstyle-nums', 'ordinal', 'proportional-nums', 'slashed-zero', 'stacked-fractions', 'tabular-nums']
407
- },
408
- 'font-variant-position': {
409
- values: ['normal', 'sub', 'super']
410
- },
411
- 'font-weight': {
412
- values: ['100', '200', '300', '400', '500', '600', '700', '800', '900', 'bold', 'bolder', 'lighter', 'normal']
413
- },
414
- 'glyph-orientation-horizontal': {},
415
- 'glyph-orientation-vertical': {
416
- values: ['auto']
417
- },
418
- 'grid-area': {
419
- values: ['auto', 'span']
420
- },
421
- 'grid': {},
422
- 'grid-auto-columns': {
423
- values: ['min-content', 'max-content', 'auto', 'minmax()']
424
- },
425
- 'grid-auto-flow': {
426
- values: ['row', 'column', 'dense']
427
- },
428
- 'grid-auto-rows': {
429
- values: ['min-content', 'max-content', 'auto', 'minmax()']
430
- },
431
- 'grid-column': {
432
- values: ['auto', 'span']
433
- },
434
- 'grid-column-end': {
435
- values: ['auto', 'span']
436
- },
437
- 'grid-column-gap': {},
438
- 'grid-column-start': {
439
- values: ['auto', 'span']
440
- },
441
- 'grid-gap': {},
442
- 'grid-row': {
443
- values: ['auto', 'span']
444
- },
445
- 'grid-row-end': {
446
- values: ['auto', 'span']
447
- },
448
- 'grid-row-gap': {},
449
- 'grid-row-start': {
450
- values: ['auto', 'span']
451
- },
452
- 'grid-template': {
453
- values: ['none', 'min-content', 'max-content', 'auto', 'subgrid', 'minmax()', 'repeat()']
454
- },
455
- 'grid-template-areas': {
456
- values: ['none']
457
- },
458
- 'grid-template-columns': {
459
- values: ['none', 'min-content', 'max-content', 'auto', 'subgrid', 'minmax()', 'repeat()']
460
- },
461
- 'grid-template-rows': {
462
- values: ['none', 'min-content', 'max-content', 'auto', 'subgrid', 'minmax()', 'repeat()']
463
- },
464
- 'height': {
465
- values: ['auto', 'fit-content', 'max-content', 'min-content']
466
- },
467
- 'hyphens': {
468
- values: ['auto', 'manual', 'none']
469
- },
470
- 'image-orientation': {
471
- values: ['flip', 'from-image']
472
- },
473
- 'image-rendering': {
474
- values: ['auto', 'crisp-edges', '-moz-crisp-edges', 'optimizeQuality', 'optimizeSpeed', 'pixelated']
475
- },
476
- 'ime-mode': {
477
- values: ['active', 'auto', 'disabled', 'inactive', 'normal']
478
- },
479
- 'inline-size': {
480
- values: ['auto']
481
- },
482
- 'isolation': {
483
- values: ['auto', 'isolate']
484
- },
485
- 'justify-content': {
486
- values: ['center', 'start', 'end', 'left', 'right', 'safe', 'unsafe', 'stretch', 'space-evenly', 'flex-end', 'flex-start', 'space-around', 'space-between', 'baseline', 'first baseline', 'last baseline']
487
- },
488
- 'kerning': {
489
- values: ['auto']
490
- },
491
- 'left': {
492
- values: ['auto']
493
- },
494
- 'letter-spacing': {
495
- values: ['normal']
496
- },
497
- 'lighting-color': {},
498
- 'line-break': {
499
- values: ['auto', 'loose', 'normal', 'strict', 'anywhere']
500
- },
501
- 'line-height': {
502
- values: ['normal']
503
- },
504
- 'list-style': {
505
- values: ['armenian', 'circle', 'decimal', 'decimal-leading-zero', 'disc', 'georgian', 'inside', 'lower-alpha', 'lower-greek', 'lower-latin', 'lower-roman', 'none', 'outside', 'square', 'symbols()', 'upper-alpha', 'upper-latin', 'upper-roman', 'url()']
506
- },
507
- 'list-style-image': {
508
- values: ['none']
509
- },
510
- 'list-style-position': {
511
- values: ['inside', 'outside']
512
- },
513
- 'list-style-type': {
514
- values: ['armenian', 'circle', 'decimal', 'decimal-leading-zero', 'disc', 'georgian', 'lower-alpha', 'lower-greek', 'lower-latin', 'lower-roman', 'none', 'square', 'symbols()', 'upper-alpha', 'upper-latin', 'upper-roman']
515
- },
516
- 'margin': {
517
- values: ['auto']
518
- },
519
- 'margin-block-end': {
520
- values: ['auto']
521
- },
522
- 'margin-block-start': {
523
- values: ['auto']
524
- },
525
- 'margin-bottom': {
526
- values: ['auto']
527
- },
528
- 'margin-inline-end': {
529
- values: ['auto']
530
- },
531
- 'margin-inline-start': {
532
- values: ['auto']
533
- },
534
- 'margin-left': {
535
- values: ['auto']
536
- },
537
- 'margin-right': {
538
- values: ['auto']
539
- },
540
- 'margin-top': {
541
- values: ['auto']
542
- },
543
- 'marker': {
544
- values: ['none', 'url()']
545
- },
546
- 'marker-end': {
547
- values: ['none', 'url()']
548
- },
549
- 'marker-mid': {
550
- values: ['none', 'url()']
551
- },
552
- 'marker-start': {
553
- values: ['none', 'url()']
554
- },
555
- 'mask-image': {
556
- values: ['none', 'url()']
557
- },
558
- 'mask-mode': {
559
- values: ['alpha', 'auto', 'luminance']
560
- },
561
- 'mask-origin': {},
562
- 'mask-position': {},
563
- 'mask-repeat': {},
564
- 'mask-size': {
565
- values: ['auto', 'contain', 'cover']
566
- },
567
- 'mask-type': {
568
- values: ['alpha', 'luminance']
569
- },
570
- 'max-block-size': {
571
- values: ['none']
572
- },
573
- 'max-height': {
574
- values: ['none', 'fit-content', 'max-content', 'min-content']
575
- },
576
- 'max-inline-size': {
577
- values: ['none']
578
- },
579
- 'max-width': {
580
- values: ['none', 'fit-content', 'max-content', 'min-content']
581
- },
582
- 'min-block-size': {},
583
- 'min-height': {
584
- values: ['auto', 'fit-content', 'max-content', 'min-content']
585
- },
586
- 'min-inline-size': {},
587
- 'min-width': {
588
- values: ['auto', 'fit-content', 'max-content', 'min-content']
589
- },
590
- 'mix-blend-mode': {
591
- values: ['normal', 'multiply', 'screen', 'overlay', 'darken', 'lighten', 'color-dodge', 'color-burn', 'hard-light', 'soft-light', 'difference', 'exclusion', 'hue', 'saturation', 'color', 'luminosity']
592
- },
593
- 'motion': {
594
- values: ['none', 'path()', 'auto', 'reverse']
595
- },
596
- 'motion-offset': {},
597
- 'motion-path': {
598
- values: ['none', 'path()']
599
- },
600
- 'motion-rotation': {
601
- values: ['auto', 'reverse']
602
- },
603
- '-moz-animation': {
604
- values: ['alternate', 'alternate-reverse', 'backwards', 'both', 'forwards', 'infinite', 'none', 'normal', 'reverse']
605
- },
606
- '-moz-animation-delay': {},
607
- '-moz-animation-direction': {
608
- values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
609
- },
610
- '-moz-animation-duration': {},
611
- '-moz-animation-iteration-count': {
612
- values: ['infinite']
613
- },
614
- '-moz-animation-name': {
615
- values: ['none']
616
- },
617
- '-moz-animation-play-state': {
618
- values: ['paused', 'running']
619
- },
620
- '-moz-animation-timing-function': {},
621
- '-moz-appearance': {
622
- values: ['button', 'button-arrow-down', 'button-arrow-next', 'button-arrow-previous', 'button-arrow-up', 'button-bevel', 'checkbox', 'checkbox-container', 'checkbox-label', 'dialog', 'groupbox', 'listbox', 'menuarrow', 'menuimage', 'menuitem', 'menuitemtext', 'menulist', 'menulist-button', 'menulist-text', 'menulist-textfield', 'menupopup', 'menuradio', 'menuseparator', '-moz-mac-unified-toolbar', '-moz-win-borderless-glass', '-moz-win-browsertabbar-toolbox', '-moz-win-communications-toolbox', '-moz-win-glass', '-moz-win-media-toolbox', 'none', 'progressbar', 'progresschunk', 'radio', 'radio-container', 'radio-label', 'radiomenuitem', 'resizer', 'resizerpanel', 'scrollbarbutton-down', 'scrollbarbutton-left', 'scrollbarbutton-right', 'scrollbarbutton-up', 'scrollbar-small', 'scrollbartrack-horizontal', 'scrollbartrack-vertical', 'separator', 'spinner', 'spinner-downbutton', 'spinner-textfield', 'spinner-upbutton', 'statusbar', 'statusbarpanel', 'tab', 'tabpanels', 'tab-scroll-arrow-back', 'tab-scroll-arrow-forward', 'textfield', 'textfield-multiline', 'toolbar', 'toolbox', 'tooltip', 'treeheadercell', 'treeheadersortarrow', 'treeitem', 'treetwistyopen', 'treeview', 'treewisty', 'window']
623
- },
624
- '-moz-backface-visibility': {
625
- values: ['hidden', 'visible']
626
- },
627
- '-moz-background-clip': {
628
- values: ['padding']
629
- },
630
- '-moz-background-inline-policy': {
631
- values: ['bounding-box', 'continuous', 'each-box']
632
- },
633
- '-moz-background-origin': {},
634
- '-moz-border-bottom-colors': {},
635
- '-moz-border-image': {
636
- values: ['auto', 'fill', 'none', 'repeat', 'round', 'space', 'stretch', 'url()']
637
- },
638
- '-moz-border-left-colors': {},
639
- '-moz-border-right-colors': {},
640
- '-moz-border-top-colors': {},
641
- '-moz-box-align': {
642
- values: ['baseline', 'center', 'end', 'start', 'stretch']
643
- },
644
- '-moz-box-direction': {
645
- values: ['normal', 'reverse']
646
- },
647
- '-moz-box-flex': {},
648
- '-moz-box-flexgroup': {},
649
- '-moz-box-ordinal-group': {},
650
- '-moz-box-orient': {
651
- values: ['block-axis', 'horizontal', 'inline-axis', 'vertical']
652
- },
653
- '-moz-box-pack': {
654
- values: ['center', 'end', 'justify', 'start']
655
- },
656
- '-moz-box-sizing': {
657
- values: ['border-box', 'content-box', 'padding-box']
658
- },
659
- '-moz-column-count': {
660
- values: ['auto']
661
- },
662
- '-moz-column-gap': {
663
- values: ['normal']
664
- },
665
- '-moz-column-rule': {},
666
- '-moz-column-rule-color': {},
667
- '-moz-column-rule-style': {},
668
- '-moz-column-rule-width': {},
669
- '-moz-columns': {
670
- values: ['auto']
671
- },
672
- '-moz-column-width': {
673
- values: ['auto']
674
- },
675
- '-moz-font-feature-settings': {
676
- values: ['"c2cs"', '"dlig"', '"kern"', '"liga"', '"lnum"', '"onum"', '"smcp"', '"swsh"', '"tnum"', 'normal', 'off', 'on']
677
- },
678
- '-moz-hyphens': {
679
- values: ['auto', 'manual', 'none']
680
- },
681
- '-moz-perspective': {
682
- values: ['none']
683
- },
684
- '-moz-perspective-origin': {},
685
- '-moz-text-align-last': {
686
- values: ['auto', 'center', 'justify', 'left', 'right']
687
- },
688
- '-moz-text-decoration-color': {},
689
- '-moz-text-decoration-line': {
690
- values: ['line-through', 'none', 'overline', 'underline']
691
- },
692
- '-moz-text-decoration-style': {
693
- values: ['dashed', 'dotted', 'double', 'none', 'solid', 'wavy']
694
- },
695
- '-moz-text-size-adjust': {
696
- values: ['auto', 'none']
697
- },
698
- '-moz-transform': {
699
- values: ['matrix()', 'matrix3d()', 'none', 'perspective', 'rotate()', 'rotate3d()', "rotateX('angle')", "rotateY('angle')", "rotateZ('angle')", 'scale()', 'scale3d()', 'scaleX()', 'scaleY()', 'scaleZ()', 'skew()', 'skewX()', 'skewY()', 'translate()', 'translate3d()', 'translateX()', 'translateY()', 'translateZ()']
700
- },
701
- '-moz-transform-origin': {},
702
- '-moz-transition': {
703
- values: ['all', 'none']
704
- },
705
- '-moz-transition-delay': {},
706
- '-moz-transition-duration': {},
707
- '-moz-transition-property': {
708
- values: ['all', 'none']
709
- },
710
- '-moz-transition-timing-function': {},
711
- '-moz-user-focus': {
712
- values: ['ignore', 'normal']
713
- },
714
- '-moz-user-select': {
715
- values: ['all', 'element', 'elements', '-moz-all', '-moz-none', 'none', 'text', 'toggle']
716
- },
717
- '-ms-accelerator': {
718
- values: ['false', 'true']
719
- },
720
- '-ms-behavior': {},
721
- '-ms-block-progression': {
722
- values: ['bt', 'lr', 'rl', 'tb']
723
- },
724
- '-ms-content-zoom-chaining': {
725
- values: ['chained', 'none']
726
- },
727
- '-ms-content-zooming': {
728
- values: ['none', 'zoom']
729
- },
730
- '-ms-content-zoom-limit': {},
731
- '-ms-content-zoom-limit-max': {},
732
- '-ms-content-zoom-limit-min': {},
733
- '-ms-content-zoom-snap': {
734
- values: ['mandatory', 'none', 'proximity', 'snapInterval(100%, 100%)', 'snapList()']
735
- },
736
- '-ms-content-zoom-snap-points': {
737
- values: ['snapInterval(100%, 100%)', 'snapList()']
738
- },
739
- '-ms-content-zoom-snap-type': {
740
- values: ['mandatory', 'none', 'proximity']
741
- },
742
- '-ms-filter': {},
743
- '-ms-flex': {
744
- values: ['auto', 'none']
745
- },
746
- '-ms-flex-align': {
747
- values: ['baseline', 'center', 'end', 'start', 'stretch']
748
- },
749
- '-ms-flex-direction': {
750
- values: ['column', 'column-reverse', 'row', 'row-reverse']
751
- },
752
- '-ms-flex-flow': {
753
- values: ['column', 'column-reverse', 'nowrap', 'row', 'wrap', 'wrap-reverse']
754
- },
755
- '-ms-flex-item-align': {
756
- values: ['auto', 'baseline', 'center', 'end', 'start', 'stretch']
757
- },
758
- '-ms-flex-line-pack': {
759
- values: ['center', 'distribute', 'end', 'justify', 'start', 'stretch']
760
- },
761
- '-ms-flex-order': {},
762
- '-ms-flex-pack': {
763
- values: ['center', 'distribute', 'end', 'justify', 'start']
764
- },
765
- '-ms-flex-wrap': {
766
- values: ['nowrap', 'wrap', 'wrap-reverse']
767
- },
768
- '-ms-flow-from': {
769
- values: ['none']
770
- },
771
- '-ms-flow-into': {
772
- values: ['none']
773
- },
774
- '-ms-grid-column': {
775
- values: ['auto', 'end', 'start']
776
- },
777
- '-ms-grid-column-align': {
778
- values: ['center', 'end', 'start', 'stretch']
779
- },
780
- '-ms-grid-columns': {},
781
- '-ms-grid-column-span': {},
782
- '-ms-grid-layer': {},
783
- '-ms-grid-row': {
784
- values: ['auto', 'end', 'start']
785
- },
786
- '-ms-grid-row-align': {
787
- values: ['center', 'end', 'start', 'stretch']
788
- },
789
- '-ms-grid-rows': {},
790
- '-ms-grid-row-span': {},
791
- '-ms-high-contrast-adjust': {
792
- values: ['auto', 'none']
793
- },
794
- '-ms-hyphenate-limit-chars': {
795
- values: ['auto']
796
- },
797
- '-ms-hyphenate-limit-lines': {
798
- values: ['no-limit']
799
- },
800
- '-ms-hyphenate-limit-zone': {},
801
- '-ms-hyphens': {
802
- values: ['auto', 'manual', 'none']
803
- },
804
- '-ms-ime-mode': {
805
- values: ['active', 'auto', 'disabled', 'inactive', 'normal']
806
- },
807
- '-ms-interpolation-mode': {
808
- values: ['bicubic', 'nearest-neighbor']
809
- },
810
- '-ms-layout-grid': {
811
- values: ['char', 'line', 'mode', 'type']
812
- },
813
- '-ms-layout-grid-char': {
814
- values: ['auto', 'none']
815
- },
816
- '-ms-layout-grid-line': {
817
- values: ['auto', 'none']
818
- },
819
- '-ms-layout-grid-mode': {
820
- values: ['both', 'char', 'line', 'none']
821
- },
822
- '-ms-layout-grid-type': {
823
- values: ['fixed', 'loose', 'strict']
824
- },
825
- '-ms-line-break': {
826
- values: ['auto', 'keep-all', 'newspaper', 'normal', 'strict']
827
- },
828
- '-ms-overflow-style': {
829
- values: ['auto', '-ms-autohiding-scrollbar', 'none', 'scrollbar']
830
- },
831
- '-ms-perspective': {
832
- values: ['none']
833
- },
834
- '-ms-perspective-origin': {},
835
- '-ms-perspective-origin-x': {},
836
- '-ms-perspective-origin-y': {},
837
- '-ms-progress-appearance': {
838
- values: ['bar', 'ring']
839
- },
840
- '-ms-scrollbar-3dlight-color': {},
841
- '-ms-scrollbar-arrow-color': {},
842
- '-ms-scrollbar-base-color': {},
843
- '-ms-scrollbar-darkshadow-color': {},
844
- '-ms-scrollbar-face-color': {},
845
- '-ms-scrollbar-highlight-color': {},
846
- '-ms-scrollbar-shadow-color': {},
847
- '-ms-scrollbar-track-color': {},
848
- '-ms-scroll-chaining': {
849
- values: ['chained', 'none']
850
- },
851
- '-ms-scroll-limit': {
852
- values: ['auto']
853
- },
854
- '-ms-scroll-limit-x-max': {
855
- values: ['auto']
856
- },
857
- '-ms-scroll-limit-x-min': {},
858
- '-ms-scroll-limit-y-max': {
859
- values: ['auto']
860
- },
861
- '-ms-scroll-limit-y-min': {},
862
- '-ms-scroll-rails': {
863
- values: ['none', 'railed']
864
- },
865
- '-ms-scroll-snap-points-x': {
866
- values: ['snapInterval(100%, 100%)', 'snapList()']
867
- },
868
- '-ms-scroll-snap-points-y': {
869
- values: ['snapInterval(100%, 100%)', 'snapList()']
870
- },
871
- '-ms-scroll-snap-type': {
872
- values: ['none', 'mandatory', 'proximity']
873
- },
874
- '-ms-scroll-snap-x': {
875
- values: ['mandatory', 'none', 'proximity', 'snapInterval(100%, 100%)', 'snapList()']
876
- },
877
- '-ms-scroll-snap-y': {
878
- values: ['mandatory', 'none', 'proximity', 'snapInterval(100%, 100%)', 'snapList()']
879
- },
880
- '-ms-scroll-translation': {
881
- values: ['none', 'vertical-to-horizontal']
882
- },
883
- '-ms-text-align-last': {
884
- values: ['auto', 'center', 'justify', 'left', 'right']
885
- },
886
- '-ms-text-autospace': {
887
- values: ['ideograph-alpha', 'ideograph-numeric', 'ideograph-parenthesis', 'ideograph-space', 'none', 'punctuation']
888
- },
889
- '-ms-text-combine-horizontal': {
890
- values: ['all', 'digits', 'none']
891
- },
892
- '-ms-text-justify': {
893
- values: ['auto', 'distribute', 'inter-cluster', 'inter-ideograph', 'inter-word', 'kashida']
894
- },
895
- '-ms-text-kashida-space': {},
896
- '-ms-text-overflow': {
897
- values: ['clip', 'ellipsis']
898
- },
899
- '-ms-text-size-adjust': {
900
- values: ['auto', 'none']
901
- },
902
- '-ms-text-underline-position': {
903
- values: ['alphabetic', 'auto', 'over', 'under']
904
- },
905
- '-ms-touch-action': {
906
- values: ['auto', 'double-tap-zoom', 'manipulation', 'none', 'pan-x', 'pan-y', 'pinch-zoom']
907
- },
908
- '-ms-touch-select': {
909
- values: ['grippers', 'none']
910
- },
911
- '-ms-transform': {
912
- values: ['matrix()', 'matrix3d()', 'none', 'rotate()', 'rotate3d()', "rotateX('angle')", "rotateY('angle')", "rotateZ('angle')", 'scale()', 'scale3d()', 'scaleX()', 'scaleY()', 'scaleZ()', 'skew()', 'skewX()', 'skewY()', 'translate()', 'translate3d()', 'translateX()', 'translateY()', 'translateZ()']
913
- },
914
- '-ms-transform-origin': {},
915
- '-ms-transform-origin-x': {},
916
- '-ms-transform-origin-y': {},
917
- '-ms-transform-origin-z': {},
918
- '-ms-user-select': {
919
- values: ['element', 'none', 'text']
920
- },
921
- '-ms-word-break': {
922
- values: ['break-all', 'keep-all', 'normal']
923
- },
924
- '-ms-word-wrap': {
925
- values: ['break-word', 'normal']
926
- },
927
- '-ms-wrap-flow': {
928
- values: ['auto', 'both', 'clear', 'end', 'maximum', 'minimum', 'start']
929
- },
930
- '-ms-wrap-margin': {},
931
- '-ms-wrap-through': {
932
- values: ['none', 'wrap']
933
- },
934
- '-ms-writing-mode': {
935
- values: ['bt-lr', 'bt-rl', 'lr-bt', 'lr-tb', 'rl-bt', 'rl-tb', 'tb-lr', 'tb-rl']
936
- },
937
- '-ms-zoom': {
938
- values: ['normal']
939
- },
940
- '-ms-zoom-animation': {
941
- values: ['default', 'none']
942
- },
943
- 'nav-down': {
944
- values: ['auto', 'current', 'root']
945
- },
946
- 'nav-index': {
947
- values: ['auto']
948
- },
949
- 'nav-left': {
950
- values: ['auto', 'current', 'root']
951
- },
952
- 'nav-right': {
953
- values: ['auto', 'current', 'root']
954
- },
955
- 'nav-up': {
956
- values: ['auto', 'current', 'root']
957
- },
958
- 'negative': {},
959
- '-o-animation': {
960
- values: ['alternate', 'alternate-reverse', 'backwards', 'both', 'forwards', 'infinite', 'none', 'normal', 'reverse']
961
- },
962
- '-o-animation-delay': {},
963
- '-o-animation-direction': {
964
- values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
965
- },
966
- '-o-animation-duration': {},
967
- '-o-animation-fill-mode': {
968
- values: ['backwards', 'both', 'forwards', 'none']
969
- },
970
- '-o-animation-iteration-count': {
971
- values: ['infinite']
972
- },
973
- '-o-animation-name': {
974
- values: ['none']
975
- },
976
- '-o-animation-play-state': {
977
- values: ['paused', 'running']
978
- },
979
- '-o-animation-timing-function': {},
980
- 'object-fit': {
981
- values: ['contain', 'cover', 'fill', 'none', 'scale-down']
982
- },
983
- 'object-position': {},
984
- '-o-border-image': {
985
- values: ['auto', 'fill', 'none', 'repeat', 'round', 'space', 'stretch']
986
- },
987
- '-o-object-fit': {
988
- values: ['contain', 'cover', 'fill', 'none', 'scale-down']
989
- },
990
- '-o-object-position': {},
991
- 'opacity': {},
992
- 'order': {},
993
- 'orphans': {},
994
- '-o-table-baseline': {},
995
- '-o-tab-size': {},
996
- '-o-text-overflow': {
997
- values: ['clip', 'ellipsis']
998
- },
999
- '-o-transform': {
1000
- values: ['matrix()', 'matrix3d()', 'none', 'rotate()', 'rotate3d()', "rotateX('angle')", "rotateY('angle')", "rotateZ('angle')", 'scale()', 'scale3d()', 'scaleX()', 'scaleY()', 'scaleZ()', 'skew()', 'skewX()', 'skewY()', 'translate()', 'translate3d()', 'translateX()', 'translateY()', 'translateZ()']
1001
- },
1002
- '-o-transform-origin': {},
1003
- '-o-transition': {
1004
- values: ['all', 'none']
1005
- },
1006
- '-o-transition-delay': {},
1007
- '-o-transition-duration': {},
1008
- '-o-transition-property': {
1009
- values: ['all', 'none']
1010
- },
1011
- '-o-transition-timing-function': {},
1012
- 'offset-block-end': {
1013
- values: ['auto']
1014
- },
1015
- 'offset-block-start': {
1016
- values: ['auto']
1017
- },
1018
- 'offset-inline-end': {
1019
- values: ['auto']
1020
- },
1021
- 'offset-inline-start': {
1022
- values: ['auto']
1023
- },
1024
- 'outline': {
1025
- values: ['auto', 'invert']
1026
- },
1027
- 'outline-color': {
1028
- values: ['invert']
1029
- },
1030
- 'outline-offset': {},
1031
- 'outline-style': {
1032
- values: ['auto']
1033
- },
1034
- 'outline-width': {},
1035
- 'overflow': {
1036
- values: ['auto', 'hidden', '-moz-hidden-unscrollable', 'scroll', 'visible']
1037
- },
1038
- 'overflow-wrap': {
1039
- values: ['break-word', 'normal']
1040
- },
1041
- 'overflow-x': {
1042
- values: ['auto', 'hidden', 'scroll', 'visible']
1043
- },
1044
- 'overflow-y': {
1045
- values: ['auto', 'hidden', 'scroll', 'visible']
1046
- },
1047
- 'pad': {},
1048
- 'padding': {
1049
- values: []
1050
- },
1051
- 'padding-bottom': {},
1052
- 'padding-block-end': {},
1053
- 'padding-block-start': {},
1054
- 'padding-inline-end': {},
1055
- 'padding-inline-start': {},
1056
- 'padding-left': {},
1057
- 'padding-right': {},
1058
- 'padding-top': {},
1059
- 'page-break-after': {
1060
- values: ['always', 'auto', 'avoid', 'left', 'right']
1061
- },
1062
- 'page-break-before': {
1063
- values: ['always', 'auto', 'avoid', 'left', 'right']
1064
- },
1065
- 'page-break-inside': {
1066
- values: ['auto', 'avoid']
1067
- },
1068
- 'paint-order': {
1069
- values: ['fill', 'markers', 'normal', 'stroke']
1070
- },
1071
- 'perspective': {
1072
- values: ['none']
1073
- },
1074
- 'perspective-origin': {},
1075
- 'pointer-events': {
1076
- values: ['all', 'fill', 'none', 'painted', 'stroke', 'visible', 'visibleFill', 'visiblePainted', 'visibleStroke']
1077
- },
1078
- 'position': {
1079
- values: ['absolute', 'fixed', '-ms-page', 'relative', 'static', 'sticky', '-webkit-sticky']
1080
- },
1081
- 'prefix': {},
1082
- 'quotes': {
1083
- values: ['none']
1084
- },
1085
- 'range': {
1086
- values: ['auto', 'infinite']
1087
- },
1088
- 'resize': {
1089
- values: ['both', 'horizontal', 'none', 'vertical']
1090
- },
1091
- 'right': {
1092
- values: ['auto']
1093
- },
1094
- 'ruby-align': {
1095
- values: ['auto', 'center', 'distribute-letter', 'distribute-space', 'left', 'line-edge', 'right', 'start', 'space-between', 'space-around']
1096
- },
1097
- 'ruby-overhang': {
1098
- values: ['auto', 'end', 'none', 'start']
1099
- },
1100
- 'ruby-position': {
1101
- values: ['after', 'before', 'inline', 'right']
1102
- },
1103
- 'ruby-span': {
1104
- values: ['attr(x)', 'none']
1105
- },
1106
- 'scrollbar-3dlight-color': {},
1107
- 'scrollbar-arrow-color': {},
1108
- 'scrollbar-base-color': {},
1109
- 'scrollbar-darkshadow-color': {},
1110
- 'scrollbar-face-color': {},
1111
- 'scrollbar-highlight-color': {},
1112
- 'scrollbar-shadow-color': {},
1113
- 'scrollbar-track-color': {},
1114
- 'scroll-behavior': {
1115
- values: ['auto', 'smooth']
1116
- },
1117
- 'scroll-snap-coordinate': {
1118
- values: ['none']
1119
- },
1120
- 'scroll-snap-destination': {},
1121
- 'scroll-snap-points-x': {
1122
- values: ['none', 'repeat()']
1123
- },
1124
- 'scroll-snap-points-y': {
1125
- values: ['none', 'repeat()']
1126
- },
1127
- 'scroll-snap-type': {
1128
- values: ['none', 'mandatory', 'proximity']
1129
- },
1130
- 'shape-image-threshold': {},
1131
- 'shape-margin': {},
1132
- 'shape-outside': {
1133
- values: ['margin-box', 'none']
1134
- },
1135
- 'shape-rendering': {
1136
- values: ['auto', 'crispEdges', 'geometricPrecision', 'optimizeSpeed']
1137
- },
1138
- 'size': {},
1139
- 'src': {
1140
- values: ['url()', 'format()', 'local()']
1141
- },
1142
- 'stop-color': {},
1143
- 'stop-opacity': {},
1144
- 'stroke': {
1145
- values: ['url()', 'none']
1146
- },
1147
- 'stroke-dasharray': {
1148
- values: ['none']
1149
- },
1150
- 'stroke-dashoffset': {},
1151
- 'stroke-linecap': {
1152
- values: ['butt', 'round', 'square']
1153
- },
1154
- 'stroke-linejoin': {
1155
- values: ['bevel', 'miter', 'round']
1156
- },
1157
- 'stroke-miterlimit': {},
1158
- 'stroke-opacity': {},
1159
- 'stroke-width': {},
1160
- 'suffix': {},
1161
- 'system': {
1162
- values: ['additive', 'alphabetic', 'cyclic', 'extends', 'fixed', 'numeric', 'symbolic']
1163
- },
1164
- 'symbols': {},
1165
- 'table-layout': {
1166
- values: ['auto', 'fixed']
1167
- },
1168
- 'tab-size': {},
1169
- 'text-align': {
1170
- values: ['center', 'end', 'justify', 'left', 'right', 'start']
1171
- },
1172
- 'text-align-last': {
1173
- values: ['auto', 'center', 'justify', 'left', 'right']
1174
- },
1175
- 'text-anchor': {
1176
- values: ['end', 'middle', 'start']
1177
- },
1178
- 'text-decoration': {
1179
- values: ['dashed', 'dotted', 'double', 'line-through', 'none', 'overline', 'solid', 'underline', 'wavy']
1180
- },
1181
- 'text-decoration-color': {},
1182
- 'text-decoration-line': {
1183
- values: ['line-through', 'none', 'overline', 'underline']
1184
- },
1185
- 'text-decoration-style': {
1186
- values: ['dashed', 'dotted', 'double', 'none', 'solid', 'wavy']
1187
- },
1188
- 'text-indent': {
1189
- values: []
1190
- },
1191
- 'text-justify': {
1192
- values: ['auto', 'distribute', 'distribute-all-lines', 'inter-cluster', 'inter-ideograph', 'inter-word', 'kashida', 'newspaper']
1193
- },
1194
- 'text-orientation': {
1195
- values: ['sideways', 'sideways-right', 'upright']
1196
- },
1197
- 'text-overflow': {
1198
- values: ['clip', 'ellipsis']
1199
- },
1200
- 'text-rendering': {
1201
- values: ['auto', 'geometricPrecision', 'optimizeLegibility', 'optimizeSpeed']
1202
- },
1203
- 'text-shadow': {
1204
- values: ['none']
1205
- },
1206
- 'text-transform': {
1207
- values: ['capitalize', 'lowercase', 'none', 'uppercase']
1208
- },
1209
- 'text-underline-position': {
1210
- values: ['above', 'auto', 'below']
1211
- },
1212
- 'top': {
1213
- values: ['auto']
1214
- },
1215
- 'touch-action': {
1216
- values: ['auto', 'cross-slide-x', 'cross-slide-y', 'double-tap-zoom', 'manipulation', 'none', 'pan-x', 'pan-y', 'pinch-zoom']
1217
- },
1218
- 'transform': {
1219
- values: ['matrix()', 'matrix3d()', 'none', 'perspective()', 'rotate()', 'rotate3d()', "rotateX('angle')", "rotateY('angle')", "rotateZ('angle')", 'scale()', 'scale3d()', 'scaleX()', 'scaleY()', 'scaleZ()', 'skew()', 'skewX()', 'skewY()', 'translate()', 'translate3d()', 'translateX()', 'translateY()', 'translateZ()']
1220
- },
1221
- 'transform-origin': {},
1222
- 'transform-style': {
1223
- values: ['flat', 'preserve-3d']
1224
- },
1225
- 'transition': {
1226
- values: ['all', 'none']
1227
- },
1228
- 'transition-delay': {},
1229
- 'transition-duration': {},
1230
- 'transition-property': {
1231
- values: ['all', 'none']
1232
- },
1233
- 'transition-timing-function': {},
1234
- 'unicode-bidi': {
1235
- values: ['bidi-override', 'embed', 'isolate', 'isolate-override', 'normal', 'plaintext']
1236
- },
1237
- 'unicode-range': {
1238
- values: ['U+26', 'U+20-24F, U+2B0-2FF, U+370-4FF, U+1E00-1EFF, U+2000-20CF, U+2100-23FF, U+2500-26FF, U+E000-F8FF, U+FB00-FB4F', 'U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF', 'U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD', 'U+20-4FF, U+530-58F, U+10D0-10FF, U+1E00-23FF, U+2440-245F, U+2500-26FF, U+FB00-FB4F, U+FE20-FE2F, U+FFF0-FFFD', 'U+00-7F', 'U+80-FF', 'U+100-17F', 'U+180-24F', 'U+1E00-1EFF', 'U+250-2AF', 'U+370-3FF', 'U+1F00-1FFF', 'U+400-4FF', 'U+500-52F', 'U+00-52F, U+1E00-1FFF, U+2200-22FF', 'U+530-58F', 'U+590-5FF', 'U+600-6FF', 'U+750-77F', 'U+8A0-8FF', 'U+700-74F', 'U+900-97F', 'U+980-9FF', 'U+A00-A7F', 'U+A80-AFF', 'U+B00-B7F', 'U+B80-BFF', 'U+C00-C7F', 'U+C80-CFF', 'U+D00-D7F', 'U+D80-DFF', 'U+118A0-118FF', 'U+E00-E7F', 'U+1A20-1AAF', 'U+AA80-AADF', 'U+E80-EFF', 'U+F00-FFF', 'U+1000-109F', 'U+10A0-10FF', 'U+1200-137F', 'U+1380-139F', 'U+2D80-2DDF', 'U+AB00-AB2F', 'U+1780-17FF', 'U+1800-18AF', 'U+1B80-1BBF', 'U+1CC0-1CCF', 'U+4E00-9FD5', 'U+3400-4DB5', 'U+2F00-2FDF', 'U+2E80-2EFF', 'U+1100-11FF', 'U+AC00-D7AF', 'U+3040-309F', 'U+30A0-30FF', 'U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F', 'U+A4D0-A4FF', 'U+A000-A48F', 'U+A490-A4CF', 'U+2000-206F', 'U+3000-303F', 'U+2070-209F', 'U+20A0-20CF', 'U+2100-214F', 'U+2150-218F', 'U+2190-21FF', 'U+2200-22FF', 'U+2300-23FF', 'U+E000-F8FF', 'U+FB00-FB4F', 'U+FB50-FDFF', 'U+1F600-1F64F', 'U+2600-26FF', 'U+1F300-1F5FF', 'U+1F900-1F9FF', 'U+1F680-1F6FF']
1239
- },
1240
- 'user-select': {
1241
- values: ['all', 'auto', 'contain', 'none', 'text']
1242
- },
1243
- 'vertical-align': {
1244
- values: ['auto', 'baseline', 'bottom', 'middle', 'sub', 'super', 'text-bottom', 'text-top', 'top', '-webkit-baseline-middle']
1245
- },
1246
- 'visibility': {
1247
- values: ['collapse', 'hidden', 'visible']
1248
- },
1249
- '-webkit-animation': {
1250
- values: ['alternate', 'alternate-reverse', 'backwards', 'both', 'forwards', 'infinite', 'none', 'normal', 'reverse']
1251
- },
1252
- '-webkit-animation-delay': {},
1253
- '-webkit-animation-direction': {
1254
- values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
1255
- },
1256
- '-webkit-animation-duration': {},
1257
- '-webkit-animation-fill-mode': {
1258
- values: ['backwards', 'both', 'forwards', 'none']
1259
- },
1260
- '-webkit-animation-iteration-count': {
1261
- values: ['infinite']
1262
- },
1263
- '-webkit-animation-name': {
1264
- values: ['none']
1265
- },
1266
- '-webkit-animation-play-state': {
1267
- values: ['paused', 'running']
1268
- },
1269
- '-webkit-animation-timing-function': {},
1270
- '-webkit-appearance': {
1271
- values: ['button', 'button-bevel', 'caps-lock-indicator', 'caret', 'checkbox', 'default-button', 'listbox', 'listitem', 'media-fullscreen-button', 'media-mute-button', 'media-play-button', 'media-seek-back-button', 'media-seek-forward-button', 'media-slider', 'media-sliderthumb', 'menulist', 'menulist-button', 'menulist-text', 'menulist-textfield', 'none', 'push-button', 'radio', 'scrollbarbutton-down', 'scrollbarbutton-left', 'scrollbarbutton-right', 'scrollbarbutton-up', 'scrollbargripper-horizontal', 'scrollbargripper-vertical', 'scrollbarthumb-horizontal', 'scrollbarthumb-vertical', 'scrollbartrack-horizontal', 'scrollbartrack-vertical', 'searchfield', 'searchfield-cancel-button', 'searchfield-decoration', 'searchfield-results-button', 'searchfield-results-decoration', 'slider-horizontal', 'sliderthumb-horizontal', 'sliderthumb-vertical', 'slider-vertical', 'square-button', 'textarea', 'textfield']
1272
- },
1273
- '-webkit-backdrop-filter': {
1274
- values: ['none', 'blur()', 'brightness()', 'contrast()', 'drop-shadow()', 'grayscale()', 'hue-rotate()', 'invert()', 'opacity()', 'saturate()', 'sepia()', 'url()']
1275
- },
1276
- '-webkit-backface-visibility': {
1277
- values: ['hidden', 'visible']
1278
- },
1279
- '-webkit-background-clip': {},
1280
- '-webkit-background-composite': {
1281
- values: ['border', 'padding']
1282
- },
1283
- '-webkit-background-origin': {},
1284
- '-webkit-border-image': {
1285
- values: ['auto', 'fill', 'none', 'repeat', 'round', 'space', 'stretch', 'url()']
1286
- },
1287
- '-webkit-box-align': {
1288
- values: ['baseline', 'center', 'end', 'start', 'stretch']
1289
- },
1290
- '-webkit-box-direction': {
1291
- values: ['normal', 'reverse']
1292
- },
1293
- '-webkit-box-flex': {},
1294
- '-webkit-box-flex-group': {},
1295
- '-webkit-box-ordinal-group': {},
1296
- '-webkit-box-orient': {
1297
- values: ['block-axis', 'horizontal', 'inline-axis', 'vertical']
1298
- },
1299
- '-webkit-box-pack': {
1300
- values: ['center', 'end', 'justify', 'start']
1301
- },
1302
- '-webkit-box-reflect': {
1303
- values: ['above', 'below', 'left', 'right']
1304
- },
1305
- '-webkit-box-sizing': {
1306
- values: ['border-box', 'content-box']
1307
- },
1308
- '-webkit-break-after': {
1309
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region', 'column', 'left', 'page', 'region', 'right']
1310
- },
1311
- '-webkit-break-before': {
1312
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region', 'column', 'left', 'page', 'region', 'right']
1313
- },
1314
- '-webkit-break-inside': {
1315
- values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region']
1316
- },
1317
- '-webkit-column-break-after': {
1318
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region', 'column', 'left', 'page', 'region', 'right']
1319
- },
1320
- '-webkit-column-break-before': {
1321
- values: ['always', 'auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region', 'column', 'left', 'page', 'region', 'right']
1322
- },
1323
- '-webkit-column-break-inside': {
1324
- values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region']
1325
- },
1326
- '-webkit-column-count': {
1327
- values: ['auto']
1328
- },
1329
- '-webkit-column-gap': {
1330
- values: ['normal']
1331
- },
1332
- '-webkit-column-rule': {},
1333
- '-webkit-column-rule-color': {},
1334
- '-webkit-column-rule-style': {},
1335
- '-webkit-column-rule-width': {},
1336
- '-webkit-columns': {
1337
- values: ['auto']
1338
- },
1339
- '-webkit-column-span': {
1340
- values: ['all', 'none']
1341
- },
1342
- '-webkit-column-width': {
1343
- values: ['auto']
1344
- },
1345
- '-webkit-filter': {
1346
- values: ['none', 'blur()', 'brightness()', 'contrast()', 'drop-shadow()', 'grayscale()', 'hue-rotate()', 'invert()', 'opacity()', 'saturate()', 'sepia()', 'url()']
1347
- },
1348
- '-webkit-flow-from': {
1349
- values: ['none']
1350
- },
1351
- '-webkit-flow-into': {
1352
- values: ['none']
1353
- },
1354
- '-webkit-font-feature-settings': {
1355
- values: ['"c2cs"', '"dlig"', '"kern"', '"liga"', '"lnum"', '"onum"', '"smcp"', '"swsh"', '"tnum"', 'normal', 'off', 'on']
1356
- },
1357
- '-webkit-hyphens': {
1358
- values: ['auto', 'manual', 'none']
1359
- },
1360
- '-webkit-line-break': {
1361
- values: ['after-white-space', 'normal']
1362
- },
1363
- '-webkit-margin-bottom-collapse': {
1364
- values: ['collapse', 'discard', 'separate']
1365
- },
1366
- '-webkit-margin-collapse': {
1367
- values: ['collapse', 'discard', 'separate']
1368
- },
1369
- '-webkit-margin-start': {
1370
- values: ['auto']
1371
- },
1372
- '-webkit-margin-top-collapse': {
1373
- values: ['collapse', 'discard', 'separate']
1374
- },
1375
- '-webkit-mask-clip': {},
1376
- '-webkit-mask-image': {
1377
- values: ['none', 'url()']
1378
- },
1379
- '-webkit-mask-origin': {},
1380
- '-webkit-mask-repeat': {},
1381
- '-webkit-mask-size': {
1382
- values: ['auto', 'contain', 'cover']
1383
- },
1384
- '-webkit-nbsp-mode': {
1385
- values: ['normal', 'space']
1386
- },
1387
- '-webkit-overflow-scrolling': {
1388
- values: ['auto', 'touch']
1389
- },
1390
- '-webkit-padding-start': {},
1391
- '-webkit-perspective': {
1392
- values: ['none']
1393
- },
1394
- '-webkit-perspective-origin': {},
1395
- '-webkit-region-fragment': {
1396
- values: ['auto', 'break']
1397
- },
1398
- '-webkit-tap-highlight-color': {},
1399
- '-webkit-text-fill-color': {},
1400
- '-webkit-text-size-adjust': {
1401
- values: ['auto', 'none']
1402
- },
1403
- '-webkit-text-stroke': {},
1404
- '-webkit-text-stroke-color': {},
1405
- '-webkit-text-stroke-width': {},
1406
- '-webkit-touch-callout': {
1407
- values: ['none']
1408
- },
1409
- '-webkit-transform': {
1410
- values: ['matrix()', 'matrix3d()', 'none', 'perspective()', 'rotate()', 'rotate3d()', "rotateX('angle')", "rotateY('angle')", "rotateZ('angle')", 'scale()', 'scale3d()', 'scaleX()', 'scaleY()', 'scaleZ()', 'skew()', 'skewX()', 'skewY()', 'translate()', 'translate3d()', 'translateX()', 'translateY()', 'translateZ()']
1411
- },
1412
- '-webkit-transform-origin': {},
1413
- '-webkit-transform-origin-x': {},
1414
- '-webkit-transform-origin-y': {},
1415
- '-webkit-transform-origin-z': {},
1416
- '-webkit-transform-style': {
1417
- values: ['flat']
1418
- },
1419
- '-webkit-transition': {
1420
- values: ['all', 'none']
1421
- },
1422
- '-webkit-transition-delay': {},
1423
- '-webkit-transition-duration': {},
1424
- '-webkit-transition-property': {
1425
- values: ['all', 'none']
1426
- },
1427
- '-webkit-transition-timing-function': {},
1428
- '-webkit-user-drag': {
1429
- values: ['auto', 'element', 'none']
1430
- },
1431
- '-webkit-user-modify': {
1432
- values: ['read-only', 'read-write', 'read-write-plaintext-only']
1433
- },
1434
- '-webkit-user-select': {
1435
- values: ['auto', 'none', 'text']
1436
- },
1437
- 'widows': {},
1438
- 'width': {
1439
- values: ['auto', 'fit-content', 'max-content', 'min-content']
1440
- },
1441
- 'will-change': {
1442
- values: ['auto', 'contents', 'scroll-position']
1443
- },
1444
- 'word-break': {
1445
- values: ['break-all', 'keep-all', 'normal']
1446
- },
1447
- 'word-spacing': {
1448
- values: ['normal']
1449
- },
1450
- 'word-wrap': {
1451
- values: ['break-word', 'normal']
1452
- },
1453
- 'writing-mode': {
1454
- values: ['horizontal-tb', 'sideways-lr', 'sideways-rl', 'vertical-lr', 'vertical-rl']
1455
- },
1456
- 'z-index': {
1457
- values: ['auto']
1458
- },
1459
- 'zoom': {
1460
- values: ['normal']
1461
- },
1462
- '-ms-ime-align': {
1463
- values: ['auto', 'after']
1464
- },
1465
- '-moz-binding': {},
1466
- '-moz-context-properties': {},
1467
- '-moz-float-edge': {
1468
- values: ['border-box', 'content-box', 'margin-box', 'padding-box']
1469
- },
1470
- '-moz-force-broken-image-icon': {
1471
- values: ['0', '1']
1472
- },
1473
- '-moz-image-region': {},
1474
- '-moz-orient': {
1475
- values: ['inline', 'block', 'horizontal', 'vertical']
1476
- },
1477
- '-moz-outline-radius': {},
1478
- '-moz-outline-radius-bottomleft': {},
1479
- '-moz-outline-radius-bottomright': {},
1480
- '-moz-outline-radius-topleft': {},
1481
- '-moz-outline-radius-topright': {},
1482
- '-moz-stack-sizing': {
1483
- values: ['ignore', 'stretch-to-fit']
1484
- },
1485
- '-moz-text-blink': {
1486
- values: ['none', 'blink']
1487
- },
1488
- '-moz-user-input': {
1489
- values: ['auto', 'none', 'enabled', 'disabled']
1490
- },
1491
- '-moz-user-modify': {
1492
- values: ['read-only', 'read-write', 'write-only']
1493
- },
1494
- '-moz-window-dragging': {
1495
- values: ['drag', 'no-drag']
1496
- },
1497
- '-moz-window-shadow': {
1498
- values: ['default', 'menu', 'tooltip', 'sheet', 'none']
1499
- },
1500
- '-webkit-border-before': {},
1501
- '-webkit-border-before-color': {},
1502
- '-webkit-border-before-style': {},
1503
- '-webkit-border-before-width': {},
1504
- '-webkit-line-clamp': {},
1505
- '-webkit-mask': {},
1506
- '-webkit-mask-attachment': {},
1507
- '-webkit-mask-composite': {},
1508
- '-webkit-mask-position': {},
1509
- '-webkit-mask-position-x': {},
1510
- '-webkit-mask-position-y': {},
1511
- '-webkit-mask-repeat-x': {
1512
- values: ['repeat', 'no-repeat', 'space', 'round']
1513
- },
1514
- '-webkit-mask-repeat-y': {
1515
- values: ['repeat', 'no-repeat', 'space', 'round']
1516
- },
1517
- 'accent-color': {},
1518
- 'align-tracks': {},
1519
- 'animation-composition': {},
1520
- 'animation-timeline': {},
1521
- 'appearance': {},
1522
- 'aspect-ratio': {},
1523
- 'azimuth': {},
1524
- 'backdrop-filter': {},
1525
- 'border-block': {},
1526
- 'border-block-color': {},
1527
- 'border-block-style': {},
1528
- 'border-block-width': {},
1529
- 'border-end-end-radius': {},
1530
- 'border-end-start-radius': {},
1531
- 'border-inline': {},
1532
- 'border-inline-color': {},
1533
- 'border-inline-style': {},
1534
- 'border-inline-width': {},
1535
- 'border-start-end-radius': {},
1536
- 'border-start-start-radius': {},
1537
- 'box-align': {
1538
- values: ['start', 'center', 'end', 'baseline', 'stretch']
1539
- },
1540
- 'box-direction': {
1541
- values: ['normal', 'reverse', 'inherit']
1542
- },
1543
- 'box-flex': {},
1544
- 'box-flex-group': {},
1545
- 'box-lines': {
1546
- values: ['single', 'multiple']
1547
- },
1548
- 'box-ordinal-group': {},
1549
- 'box-orient': {
1550
- values: ['horizontal', 'vertical', 'inline-axis', 'block-axis', 'inherit']
1551
- },
1552
- 'box-pack': {
1553
- values: ['start', 'center', 'end', 'justify']
1554
- },
1555
- 'caret': {},
1556
- 'caret-shape': {
1557
- values: ['auto', 'bar', 'block', 'underscore']
1558
- },
1559
- 'print-color-adjust': {
1560
- values: ['economy', 'exact']
1561
- },
1562
- 'color-scheme': {},
1563
- 'contain-intrinsic-size': {},
1564
- 'contain-intrinsic-block-size': {},
1565
- 'contain-intrinsic-height': {},
1566
- 'contain-intrinsic-inline-size': {},
1567
- 'contain-intrinsic-width': {},
1568
- 'content-visibility': {
1569
- values: ['visible', 'auto', 'hidden']
1570
- },
1571
- 'counter-set': {},
1572
- 'font-optical-sizing': {
1573
- values: ['auto', 'none']
1574
- },
1575
- 'font-variation-settings': {},
1576
- 'font-smooth': {},
1577
- 'forced-color-adjust': {
1578
- values: ['auto', 'none']
1579
- },
1580
- 'gap': {},
1581
- 'hanging-punctuation': {},
1582
- 'hyphenate-character': {},
1583
- 'image-resolution': {},
1584
- 'initial-letter': {},
1585
- 'initial-letter-align': {},
1586
- 'input-security': {
1587
- values: ['auto', 'none']
1588
- },
1589
- 'inset': {},
1590
- 'inset-block': {},
1591
- 'inset-block-end': {},
1592
- 'inset-block-start': {},
1593
- 'inset-inline': {},
1594
- 'inset-inline-end': {},
1595
- 'inset-inline-start': {},
1596
- 'justify-tracks': {},
1597
- 'line-clamp': {},
1598
- 'line-height-step': {},
1599
- 'margin-block': {},
1600
- 'margin-inline': {},
1601
- 'margin-trim': {
1602
- values: ['none', 'in-flow', 'all']
1603
- },
1604
- 'mask': {},
1605
- 'mask-border': {},
1606
- 'mask-border-mode': {
1607
- values: ['luminance', 'alpha']
1608
- },
1609
- 'mask-border-outset': {},
1610
- 'mask-border-repeat': {},
1611
- 'mask-border-slice': {},
1612
- 'mask-border-source': {},
1613
- 'mask-border-width': {},
1614
- 'mask-clip': {},
1615
- 'mask-composite': {},
1616
- 'masonry-auto-flow': {},
1617
- 'math-depth': {},
1618
- 'math-shift': {
1619
- values: ['normal', 'compact']
1620
- },
1621
- 'math-style': {
1622
- values: ['normal', 'compact']
1623
- },
1624
- 'max-lines': {},
1625
- 'offset': {},
1626
- 'offset-anchor': {},
1627
- 'offset-distance': {},
1628
- 'offset-path': {},
1629
- 'offset-position': {},
1630
- 'offset-rotate': {},
1631
- 'overflow-anchor': {
1632
- values: ['auto', 'none']
1633
- },
1634
- 'overflow-block': {
1635
- values: ['visible', 'hidden', 'clip', 'scroll', 'auto']
1636
- },
1637
- 'overflow-clip-box': {
1638
- values: ['padding-box', 'content-box']
1639
- },
1640
- 'overflow-clip-margin': {},
1641
- 'overflow-inline': {
1642
- values: ['visible', 'hidden', 'clip', 'scroll', 'auto']
1643
- },
1644
- 'overscroll-behavior': {},
1645
- 'overscroll-behavior-block': {
1646
- values: ['contain', 'none', 'auto']
1647
- },
1648
- 'overscroll-behavior-inline': {
1649
- values: ['contain', 'none', 'auto']
1650
- },
1651
- 'overscroll-behavior-x': {
1652
- values: ['contain', 'none', 'auto']
1653
- },
1654
- 'overscroll-behavior-y': {
1655
- values: ['contain', 'none', 'auto']
1656
- },
1657
- 'padding-block': {},
1658
- 'padding-inline': {},
1659
- 'place-content': {},
1660
- 'place-items': {},
1661
- 'place-self': {},
1662
- 'rotate': {},
1663
- 'row-gap': {},
1664
- 'ruby-merge': {
1665
- values: ['separate', 'collapse', 'auto']
1666
- },
1667
- 'scale': {},
1668
- 'scrollbar-color': {},
1669
- 'scrollbar-gutter': {},
1670
- 'scrollbar-width': {
1671
- values: ['auto', 'thin', 'none']
1672
- },
1673
- 'scroll-margin': {},
1674
- 'scroll-margin-block': {},
1675
- 'scroll-margin-block-start': {},
1676
- 'scroll-margin-block-end': {},
1677
- 'scroll-margin-bottom': {},
1678
- 'scroll-margin-inline': {},
1679
- 'scroll-margin-inline-start': {},
1680
- 'scroll-margin-inline-end': {},
1681
- 'scroll-margin-left': {},
1682
- 'scroll-margin-right': {},
1683
- 'scroll-margin-top': {},
1684
- 'scroll-padding': {},
1685
- 'scroll-padding-block': {},
1686
- 'scroll-padding-block-start': {},
1687
- 'scroll-padding-block-end': {},
1688
- 'scroll-padding-bottom': {},
1689
- 'scroll-padding-inline': {},
1690
- 'scroll-padding-inline-start': {},
1691
- 'scroll-padding-inline-end': {},
1692
- 'scroll-padding-left': {},
1693
- 'scroll-padding-right': {},
1694
- 'scroll-padding-top': {},
1695
- 'scroll-snap-align': {},
1696
- 'scroll-snap-stop': {
1697
- values: ['normal', 'always']
1698
- },
1699
- 'scroll-snap-type-x': {
1700
- values: ['none', 'mandatory', 'proximity']
1701
- },
1702
- 'scroll-snap-type-y': {
1703
- values: ['none', 'mandatory', 'proximity']
1704
- },
1705
- 'scroll-timeline': {},
1706
- 'scroll-timeline-axis': {
1707
- values: ['block', 'inline', 'vertical', 'horizontal']
1708
- },
1709
- 'scroll-timeline-name': {},
1710
- 'text-combine-upright': {},
1711
- 'text-decoration-skip': {},
1712
- 'text-decoration-skip-ink': {
1713
- values: ['auto', 'all', 'none']
1714
- },
1715
- 'text-decoration-thickness': {},
1716
- 'text-emphasis': {},
1717
- 'text-emphasis-color': {},
1718
- 'text-emphasis-position': {},
1719
- 'text-emphasis-style': {},
1720
- 'text-size-adjust': {},
1721
- 'text-underline-offset': {},
1722
- 'transform-box': {
1723
- values: ['content-box', 'border-box', 'fill-box', 'stroke-box', 'view-box']
1724
- },
1725
- 'translate': {},
1726
- 'white-space': {
1727
- values: ['normal', 'pre', 'nowrap', 'pre-wrap', 'pre-line', 'break-spaces']
1728
- },
1729
- 'speak-as': {},
1730
- 'ascent-override': {},
1731
- 'descent-override': {},
1732
- 'font-display': {},
1733
- 'line-gap-override': {},
1734
- 'size-adjust': {},
1735
- 'bleed': {},
1736
- 'marks': {},
1737
- 'syntax': {},
1738
- 'inherits': {
1739
- values: ['true', 'false']
1740
- },
1741
- 'initial-value': {},
1742
- 'max-zoom': {},
1743
- 'min-zoom': {},
1744
- 'orientation': {
1745
- values: ['auto', 'portrait', 'landscape']
1746
- },
1747
- 'user-zoom': {
1748
- values: ['zoom', 'fixed']
1749
- },
1750
- 'viewport-fit': {
1751
- values: ['auto', 'contain', 'cover']
1752
- }
1753
- };
1754
- function validate(editor, monaco) {
1755
- var model = editor.getModel();
1756
- var markers = [];
1757
- var lineLen = model.getLineCount();
1758
- for (var i = 1; i < lineLen + 1; i++) {
1759
- var range = {
1760
- startLineNumber: i,
1761
- startColumn: 1,
1762
- endLineNumber: i,
1763
- endColumn: model.getLineLength(i) + 1
1764
- };
1765
- var content = model.getValueInRange(range);
1766
- if (content !== '') {
1767
- // 检测是否有冒号
1768
- if (!content.includes(':')) {
1769
- markers.push({
1770
- message: i18n("bb7654f7c2768614e95a0da7e94f4045"),
1771
- severity: monaco.MarkerSeverity.Error,
1772
- startLineNumber: range.startLineNumber,
1773
- startColumn: range.endColumn,
1774
- endLineNumber: range.endLineNumber,
1775
- endColumn: range.endColumn + 1
1776
- });
1777
- }
1778
- // 检测是否有属性
1779
- else if (/^(.*):\s?;?$/.test(content)) {
1780
- markers.push({
1781
- message: i18n("af26fdb215bad5b2296529802b129c12"),
1782
- severity: monaco.MarkerSeverity.Error,
1783
- startLineNumber: range.startLineNumber,
1784
- startColumn: range.endColumn,
1785
- endLineNumber: range.endLineNumber,
1786
- endColumn: range.endColumn + 1
1787
- });
1788
- }
1789
- // 检测是否以分号结尾
1790
- else if (!content.endsWith(';')) {
1791
- markers.push({
1792
- message: i18n("3955b2e2e06144010a1142d3624b17b1"),
1793
- severity: monaco.MarkerSeverity.Error,
1794
- startLineNumber: range.startLineNumber,
1795
- startColumn: range.endColumn,
1796
- endLineNumber: range.endLineNumber,
1797
- endColumn: range.endColumn + 1
1798
- });
1799
- }
1800
- }
1801
- }
1802
- monaco.editor.setModelMarkers(model, 'owner', markers);
1803
- }
1804
- function editorFactory(containerElement, monaco, options) {
1805
- if (!monaco.languages.getEncodedLanguageId('amisTheme')) {
1806
- // 注册语言
1807
- monaco.languages.register({
1808
- id: 'amisTheme'
1809
- });
1810
- // 设置高亮
1811
- monaco.languages.setMonarchTokensProvider('amisTheme', conf);
1812
- // 设置提示
1813
- monaco.languages.registerCompletionItemProvider('amisTheme', {
1814
- provideCompletionItems: function (model, position) {
1815
- var lineNumber = position.lineNumber,
1816
- column = position.column;
1817
- // 获取输入前的字符
1818
- var textBeforePointer = model.getValueInRange({
1819
- startLineNumber: lineNumber,
1820
- startColumn: 0,
1821
- endLineNumber: lineNumber,
1822
- endColumn: column
1823
- });
1824
- // 如果已经配置了key和value就不给建议了
1825
- if (/(.*):(.*);/.test(textBeforePointer)) {
1826
- return {
1827
- suggestions: []
1828
- };
1829
- }
1830
- var token = /(.*):/.exec(textBeforePointer) || [];
1831
- var valueTip = keywords[token[1]];
1832
- var suggestions;
1833
- // 判断是需要提示key还是value
1834
- if (!isEmpty(valueTip)) {
1835
- suggestions = __spreadArray([], __read(valueTip.values.map(function (k) {
1836
- return {
1837
- label: k,
1838
- kind: monaco.languages.CompletionItemKind.Enum,
1839
- insertText: k + ';'
1840
- };
1841
- })), false);
1842
- } else {
1843
- suggestions = __spreadArray([], __read(Object.keys(keywords).map(function (k) {
1844
- return {
1845
- label: k,
1846
- kind: monaco.languages.CompletionItemKind.Keyword,
1847
- insertText: k + ': '
1848
- };
1849
- })), false);
1850
- }
1851
- return {
1852
- suggestions: suggestions
1853
- };
1854
- },
1855
- triggerCharacters: [' ']
1856
- });
1857
- }
1858
- // const uri = monaco.Uri.parse(options.uri.replace(/:/g, '-'));
1859
- // let model: any = null;
1860
- // try {
1861
- // model = monaco.editor.createModel(options.value, 'amisTheme', uri);
1862
- // } catch (error) {
1863
- // model = monaco.editor.getModel(uri);
1864
- // }
1865
- var editor = monaco.editor.create(containerElement, __assign(__assign({}, options), {
1866
- 'language': 'amisTheme',
1867
- 'autoIndent': true,
1868
- 'formatOnType': true,
1869
- 'formatOnPaste': true,
1870
- 'selectOnLineNumbers': true,
1871
- 'scrollBeyondLastLine': false,
1872
- 'folding': true,
1873
- 'minimap': {
1874
- enabled: false
1875
- },
1876
- 'scrollbar': {
1877
- alwaysConsumeMouseWheel: false
1878
- },
1879
- 'bracketPairColorization.enabled': true,
1880
- 'automaticLayout': true,
1881
- 'lineNumbers': 'off',
1882
- 'glyphMargin': false,
1883
- 'wordWrap': 'on',
1884
- 'lineDecorationsWidth': 0,
1885
- 'lineNumbersMinChars': 0
1886
- }));
1887
- editor.onDidChangeModelContent(function () {
1888
- validate(editor, monaco);
1889
- options.onChange && options.onChange(editor.getValue());
1890
- });
1891
- return editor;
1892
- }
1893
-
1894
- export { editorFactory as default };