amis-editor 5.2.5-beta.6 → 5.2.5-beta.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (703) hide show
  1. package/esm/component/BaseControl.js +1 -1
  2. package/esm/component/InputComponentName.js +1 -1
  3. package/esm/component/TableViewEditor.js +1 -1
  4. package/esm/icons/btn/btn-group.svg.js +1 -1
  5. package/esm/icons/btn/btn-select.svg.js +1 -1
  6. package/esm/icons/btn/btn-toolbar.svg.js +1 -1
  7. package/esm/icons/btn/button.svg.js +1 -1
  8. package/esm/icons/btn/dropdown-btn.svg.js +1 -1
  9. package/esm/icons/container/anchor-nav.svg.js +1 -1
  10. package/esm/icons/container/collapse.svg.js +1 -1
  11. package/esm/icons/container/container.svg.js +1 -1
  12. package/esm/icons/container/flex-container.svg.js +1 -1
  13. package/esm/icons/container/form-group.svg.js +1 -1
  14. package/esm/icons/container/grid.svg.js +1 -1
  15. package/esm/icons/container/iframe.svg.js +1 -1
  16. package/esm/icons/container/panel.svg.js +1 -1
  17. package/esm/icons/container/table-view.svg.js +1 -1
  18. package/esm/icons/container/tabs.svg.js +1 -1
  19. package/esm/icons/container/tooltip-wrapper.svg.js +1 -1
  20. package/esm/icons/container/web-component.svg.js +1 -1
  21. package/esm/icons/display/aBaseline.svg.js +1 -1
  22. package/esm/icons/display/aCenter.svg.js +1 -1
  23. package/esm/icons/display/aFlexEnd.svg.js +1 -1
  24. package/esm/icons/display/aFlexStart.svg.js +1 -1
  25. package/esm/icons/display/aStretch.svg.js +1 -1
  26. package/esm/icons/display/block.svg.js +1 -1
  27. package/esm/icons/display/dcolumn.svg.js +1 -1
  28. package/esm/icons/display/dcolumnReverse.svg.js +1 -1
  29. package/esm/icons/display/drow.svg.js +1 -1
  30. package/esm/icons/display/drowReverse.svg.js +1 -1
  31. package/esm/icons/display/flex.svg.js +1 -1
  32. package/esm/icons/display/inline-block.svg.js +1 -1
  33. package/esm/icons/display/inline.svg.js +1 -1
  34. package/esm/icons/display/jCenter.svg.js +1 -1
  35. package/esm/icons/display/jFlexEnd.svg.js +1 -1
  36. package/esm/icons/display/jFlexStart.svg.js +1 -1
  37. package/esm/icons/display/jSpaceAround.svg.js +1 -1
  38. package/esm/icons/display/jSpaceBetween.svg.js +1 -1
  39. package/esm/icons/feat/audio.svg.js +1 -1
  40. package/esm/icons/feat/custom.svg.js +1 -1
  41. package/esm/icons/feat/each.svg.js +1 -1
  42. package/esm/icons/feat/form.svg.js +1 -1
  43. package/esm/icons/feat/nav.svg.js +1 -1
  44. package/esm/icons/feat/qrcode.svg.js +1 -1
  45. package/esm/icons/feat/service.svg.js +1 -1
  46. package/esm/icons/feat/table.svg.js +1 -1
  47. package/esm/icons/feat/tasks.svg.js +1 -1
  48. package/esm/icons/feat/video.svg.js +1 -1
  49. package/esm/icons/feat/wizard.svg.js +1 -1
  50. package/esm/icons/form/chained-select.svg.js +1 -1
  51. package/esm/icons/form/checkbox.svg.js +1 -1
  52. package/esm/icons/form/checkboxes.svg.js +1 -1
  53. package/esm/icons/form/combo.svg.js +1 -1
  54. package/esm/icons/form/condition-builder.svg.js +1 -1
  55. package/esm/icons/form/diff-editor.svg.js +1 -1
  56. package/esm/icons/form/editor.svg.js +1 -1
  57. package/esm/icons/form/formula.svg.js +1 -1
  58. package/esm/icons/form/hidden.svg.js +1 -1
  59. package/esm/icons/form/input-city.svg.js +1 -1
  60. package/esm/icons/form/input-color.svg.js +1 -1
  61. package/esm/icons/form/input-date-range.svg.js +1 -1
  62. package/esm/icons/form/input-date.svg.js +1 -1
  63. package/esm/icons/form/input-datetime.svg.js +1 -1
  64. package/esm/icons/form/input-email.svg.js +1 -1
  65. package/esm/icons/form/input-excel.svg.js +1 -1
  66. package/esm/icons/form/input-file.svg.js +1 -1
  67. package/esm/icons/form/input-group.svg.js +1 -1
  68. package/esm/icons/form/input-image.svg.js +1 -1
  69. package/esm/icons/form/input-kv.svg.js +1 -1
  70. package/esm/icons/form/input-month-range.svg.js +1 -1
  71. package/esm/icons/form/input-number.svg.js +1 -1
  72. package/esm/icons/form/input-password.svg.js +1 -1
  73. package/esm/icons/form/input-quarter-range.svg.js +1 -1
  74. package/esm/icons/form/input-range.svg.js +1 -1
  75. package/esm/icons/form/input-rating.svg.js +1 -1
  76. package/esm/icons/form/input-repeat.svg.js +1 -1
  77. package/esm/icons/form/input-rich-text.svg.js +1 -1
  78. package/esm/icons/form/input-tag.svg.js +1 -1
  79. package/esm/icons/form/input-text.svg.js +1 -1
  80. package/esm/icons/form/input-time-range.svg.js +1 -1
  81. package/esm/icons/form/input-time.svg.js +1 -1
  82. package/esm/icons/form/input-tree.svg.js +1 -1
  83. package/esm/icons/form/input-url.svg.js +1 -1
  84. package/esm/icons/form/input-year.svg.js +1 -1
  85. package/esm/icons/form/inputArray.svg.js +1 -1
  86. package/esm/icons/form/list-select.svg.js +1 -1
  87. package/esm/icons/form/location-picker.svg.js +1 -1
  88. package/esm/icons/form/matrix-checkboxes.svg.js +1 -1
  89. package/esm/icons/form/month.svg.js +1 -1
  90. package/esm/icons/form/nested-select.svg.js +1 -1
  91. package/esm/icons/form/picker.svg.js +1 -1
  92. package/esm/icons/form/quarter.svg.js +1 -1
  93. package/esm/icons/form/radios.svg.js +1 -1
  94. package/esm/icons/form/select.svg.js +1 -1
  95. package/esm/icons/form/static.svg.js +1 -1
  96. package/esm/icons/form/sub-form.svg.js +1 -1
  97. package/esm/icons/form/switch.svg.js +1 -1
  98. package/esm/icons/form/tabs-transfer.svg.js +1 -1
  99. package/esm/icons/form/textarea.svg.js +1 -1
  100. package/esm/icons/form/transfer.svg.js +1 -1
  101. package/esm/icons/form/tree-select.svg.js +1 -1
  102. package/esm/icons/form/uuid.svg.js +1 -1
  103. package/esm/icons/index.js +4 -1
  104. package/esm/icons/layout/layout-1with2.svg.js +1 -1
  105. package/esm/icons/layout/layout-2cols.svg.js +1 -1
  106. package/esm/icons/layout/layout-2row.svg.js +1 -1
  107. package/esm/icons/layout/layout-2with1.svg.js +1 -1
  108. package/esm/icons/layout/layout-3cols.svg.js +1 -1
  109. package/esm/icons/layout/layout-3row.svg.js +1 -1
  110. package/esm/icons/layout/layout-absolute.svg.js +1 -1
  111. package/esm/icons/layout/layout-fixed-top.svg.js +1 -1
  112. package/esm/icons/layout/layout-fixed.svg.js +1 -1
  113. package/esm/icons/layout/layout-free-container.svg.js +1 -1
  114. package/esm/icons/layout/layout-full.svg.js +1 -1
  115. package/esm/icons/layout/layout1-2.svg.js +1 -1
  116. package/esm/icons/layout/layout2-1.svg.js +1 -1
  117. package/esm/icons/layout/layout3-1.svg.js +1 -1
  118. package/esm/icons/layout/layout3-2.svg.js +1 -1
  119. package/esm/icons/other/divider.svg.js +1 -1
  120. package/esm/icons/other/property-sheet.svg.js +1 -1
  121. package/esm/icons/other/tooltip.svg.js +1 -1
  122. package/esm/icons/show/URL.svg.js +1 -1
  123. package/esm/icons/show/avatar.svg.js +1 -1
  124. package/esm/icons/show/breadcrumb.svg.js +1 -1
  125. package/esm/icons/show/card.svg.js +1 -1
  126. package/esm/icons/show/cards.svg.js +1 -1
  127. package/esm/icons/show/carousel.svg.js +1 -1
  128. package/esm/icons/show/chart.svg.js +1 -1
  129. package/esm/icons/show/code.svg.js +1 -1
  130. package/esm/icons/show/date.svg.js +1 -1
  131. package/esm/icons/show/datetime.svg.js +1 -1
  132. package/esm/icons/show/image.svg.js +1 -1
  133. package/esm/icons/show/images.svg.js +1 -1
  134. package/esm/icons/show/json-view.svg.js +1 -1
  135. package/esm/icons/show/list.svg.js +1 -1
  136. package/esm/icons/show/log.svg.js +1 -1
  137. package/esm/icons/show/mapping.svg.js +1 -1
  138. package/esm/icons/show/markdown.svg.js +1 -1
  139. package/esm/icons/show/plain.svg.js +1 -1
  140. package/esm/icons/show/progress.svg.js +1 -1
  141. package/esm/icons/show/sparkline.svg.js +1 -1
  142. package/esm/icons/show/status.svg.js +1 -1
  143. package/esm/icons/show/steps.svg.js +1 -1
  144. package/esm/icons/show/time.svg.js +1 -1
  145. package/esm/icons/theme/css.svg.js +21 -0
  146. package/esm/index.d.ts +1 -1
  147. package/esm/index.js +2 -2
  148. package/esm/locale/en-US.js +1 -1
  149. package/esm/locale/zh-CN.js +1 -1
  150. package/esm/plugin/Alert.js +1 -1
  151. package/esm/plugin/AnchorNav.js +1 -1
  152. package/esm/plugin/Audio.js +1 -1
  153. package/esm/plugin/Avatar.js +1 -1
  154. package/esm/plugin/Breadcrumb.js +1 -1
  155. package/esm/plugin/Button.js +21 -13
  156. package/esm/plugin/ButtonGroup.js +1 -1
  157. package/esm/plugin/CRUD.js +1 -1
  158. package/esm/plugin/CRUD2.js +1 -1
  159. package/esm/plugin/Card.js +1 -1
  160. package/esm/plugin/Card2.js +1 -1
  161. package/esm/plugin/Cards.js +1 -1
  162. package/esm/plugin/Carousel.js +1 -1
  163. package/esm/plugin/Chart.js +1 -1
  164. package/esm/plugin/CodeView.js +1 -1
  165. package/esm/plugin/Collapse.js +1 -1
  166. package/esm/plugin/CollapseGroup.js +1 -1
  167. package/esm/plugin/ColumnToggler.js +1 -1
  168. package/esm/plugin/Container.js +2 -8
  169. package/esm/plugin/Custom.js +1 -1
  170. package/esm/plugin/CustomRegion.js +1 -1
  171. package/esm/plugin/Date.js +1 -1
  172. package/esm/plugin/Datetime.js +1 -1
  173. package/esm/plugin/Dialog.js +1 -1
  174. package/esm/plugin/Divider.js +1 -1
  175. package/esm/plugin/Drawer.js +1 -1
  176. package/esm/plugin/DropDownButton.js +1 -1
  177. package/esm/plugin/Each.js +1 -1
  178. package/esm/plugin/Flex.js +1 -1
  179. package/esm/plugin/Form/ButtonGroupSelect.js +1 -1
  180. package/esm/plugin/Form/ButtonToolbar.js +1 -1
  181. package/esm/plugin/Form/ChainedSelect.js +1 -1
  182. package/esm/plugin/Form/Checkbox.js +1 -1
  183. package/esm/plugin/Form/Checkboxes.js +1 -1
  184. package/esm/plugin/Form/CodeEditor.js +1 -1
  185. package/esm/plugin/Form/Combo.js +1 -1
  186. package/esm/plugin/Form/ConditionBuilder.js +1 -1
  187. package/esm/plugin/Form/Control.js +1 -1
  188. package/esm/plugin/Form/DiffEditor.js +1 -1
  189. package/esm/plugin/Form/FieldSet.js +1 -1
  190. package/esm/plugin/Form/Form.js +1 -1
  191. package/esm/plugin/Form/Formula.js +1 -1
  192. package/esm/plugin/Form/Group.js +1 -1
  193. package/esm/plugin/Form/Hidden.js +1 -1
  194. package/esm/plugin/Form/InputArray.js +1 -1
  195. package/esm/plugin/Form/InputCity.js +1 -1
  196. package/esm/plugin/Form/InputColor.js +1 -1
  197. package/esm/plugin/Form/InputDate.js +1 -1
  198. package/esm/plugin/Form/InputDateRange.js +1 -1
  199. package/esm/plugin/Form/InputDateTime.js +1 -1
  200. package/esm/plugin/Form/InputDateTimeRange.js +1 -1
  201. package/esm/plugin/Form/InputEmail.js +1 -1
  202. package/esm/plugin/Form/InputExcel.js +1 -1
  203. package/esm/plugin/Form/InputFile.js +1 -1
  204. package/esm/plugin/Form/InputGroup.js +1 -1
  205. package/esm/plugin/Form/InputImage.js +1 -1
  206. package/esm/plugin/Form/InputKV.js +1 -1
  207. package/esm/plugin/Form/InputMonth.js +1 -1
  208. package/esm/plugin/Form/InputMonthRange.js +1 -1
  209. package/esm/plugin/Form/InputNumber.js +15 -3
  210. package/esm/plugin/Form/InputPassword.js +1 -1
  211. package/esm/plugin/Form/InputQuarter.js +1 -1
  212. package/esm/plugin/Form/InputQuarterRange.js +1 -1
  213. package/esm/plugin/Form/InputRange.js +1 -1
  214. package/esm/plugin/Form/InputRating.js +1 -1
  215. package/esm/plugin/Form/InputRepeat.js +1 -1
  216. package/esm/plugin/Form/InputRichText.js +1 -1
  217. package/esm/plugin/Form/InputSubForm.js +1 -1
  218. package/esm/plugin/Form/InputTable.js +1 -1
  219. package/esm/plugin/Form/InputTag.js +1 -1
  220. package/esm/plugin/Form/InputText.js +16 -52
  221. package/esm/plugin/Form/InputTime.js +1 -1
  222. package/esm/plugin/Form/InputTimeRange.js +1 -1
  223. package/esm/plugin/Form/InputTree.js +1 -1
  224. package/esm/plugin/Form/InputURL.js +1 -1
  225. package/esm/plugin/Form/InputYear.js +1 -1
  226. package/esm/plugin/Form/InputYearRange.js +1 -1
  227. package/esm/plugin/Form/Item.js +1 -1
  228. package/esm/plugin/Form/ListSelect.js +1 -1
  229. package/esm/plugin/Form/LocationPicker.js +1 -1
  230. package/esm/plugin/Form/MatrixCheckboxes.js +1 -1
  231. package/esm/plugin/Form/NestedSelect.js +1 -1
  232. package/esm/plugin/Form/Picker.js +1 -1
  233. package/esm/plugin/Form/Radios.js +1 -1
  234. package/esm/plugin/Form/Select.js +1 -1
  235. package/esm/plugin/Form/Static.js +1 -1
  236. package/esm/plugin/Form/Switch.js +1 -1
  237. package/esm/plugin/Form/TabsTransfer.js +1 -1
  238. package/esm/plugin/Form/Textarea.js +1 -1
  239. package/esm/plugin/Form/Transfer.js +1 -1
  240. package/esm/plugin/Form/TreeSelect.js +1 -1
  241. package/esm/plugin/Form/UUID.js +1 -1
  242. package/esm/plugin/Grid.js +1 -1
  243. package/esm/plugin/HBox.js +1 -1
  244. package/esm/plugin/IFrame.js +2 -4
  245. package/esm/plugin/Image.js +1 -1
  246. package/esm/plugin/Images.js +1 -1
  247. package/esm/plugin/Json.js +1 -1
  248. package/esm/plugin/Layout/FlexPluginBase.js +2 -7
  249. package/esm/plugin/Layout/Layout_fixed.js +1 -1
  250. package/esm/plugin/Layout/Layout_free_container.js +1 -1
  251. package/esm/plugin/Layout/Layout_sorption_container.js +1 -1
  252. package/esm/plugin/Link.js +1 -1
  253. package/esm/plugin/List.js +1 -1
  254. package/esm/plugin/ListItem.js +1 -1
  255. package/esm/plugin/Log.js +1 -1
  256. package/esm/plugin/Mapping.js +1 -1
  257. package/esm/plugin/Markdown.js +1 -1
  258. package/esm/plugin/Nav.js +1 -1
  259. package/esm/plugin/OfficeViewer.js +1 -1
  260. package/esm/plugin/Operation.js +1 -1
  261. package/esm/plugin/Others/Action.js +1 -1
  262. package/esm/plugin/Others/TableCell.js +1 -1
  263. package/esm/plugin/Page.js +2 -17
  264. package/esm/plugin/Pagination.js +1 -1
  265. package/esm/plugin/Panel.js +1 -1
  266. package/esm/plugin/Plain.js +1 -1
  267. package/esm/plugin/Progress.js +1 -1
  268. package/esm/plugin/Property.js +1 -1
  269. package/esm/plugin/QRCode.js +1 -1
  270. package/esm/plugin/Reset.js +1 -1
  271. package/esm/plugin/Service.js +1 -1
  272. package/esm/plugin/Sparkline.js +1 -1
  273. package/esm/plugin/Status.js +1 -1
  274. package/esm/plugin/Steps.js +17 -2
  275. package/esm/plugin/Submit.js +1 -1
  276. package/esm/plugin/Table.js +1 -1
  277. package/esm/plugin/Table2.js +1 -1
  278. package/esm/plugin/TableCell2.js +1 -1
  279. package/esm/plugin/TableView.js +4 -7
  280. package/esm/plugin/Tabs.js +1 -1
  281. package/esm/plugin/Tag.js +1 -1
  282. package/esm/plugin/Tasks.js +1 -1
  283. package/esm/plugin/Time.js +1 -1
  284. package/esm/plugin/Timeline.js +1 -1
  285. package/esm/plugin/TooltipWrapper.js +1 -1
  286. package/esm/plugin/Tpl.js +2 -4
  287. package/esm/plugin/Video.js +1 -1
  288. package/esm/plugin/WebComponent.js +1 -1
  289. package/esm/plugin/Wizard.js +1 -1
  290. package/esm/plugin/Wrapper.js +1 -1
  291. package/esm/renderer/APIControl.js +1 -1
  292. package/esm/renderer/BadgeControl.js +1 -1
  293. package/esm/renderer/ButtonGroupControl.js +1 -1
  294. package/esm/renderer/DataBindingControl.js +1 -1
  295. package/esm/renderer/DataMappingControl.js +1 -1
  296. package/esm/renderer/DataPickerControl.js +1 -1
  297. package/esm/renderer/DateShortCutControl.js +1 -1
  298. package/esm/renderer/ExpressionFormulaControl.js +1 -1
  299. package/esm/renderer/FeatureControl.js +1 -1
  300. package/esm/renderer/FlexSettingControl.js +57 -34
  301. package/esm/renderer/FormulaControl.js +2 -2
  302. package/esm/renderer/GoConfigControl.js +1 -1
  303. package/esm/renderer/MapSourceControl.js +1 -1
  304. package/esm/renderer/NavBadgeControl.js +1 -1
  305. package/esm/renderer/NavDefaultActive.js +1 -1
  306. package/esm/renderer/NavSourceControl.js +1 -1
  307. package/esm/renderer/OptionControl.js +1 -1
  308. package/esm/renderer/RangePartsControl.js +1 -1
  309. package/esm/renderer/StatusControl.js +1 -1
  310. package/esm/renderer/SwitchMoreControl.d.ts +18 -18
  311. package/esm/renderer/SwitchMoreControl.js +1 -1
  312. package/esm/renderer/TimelineItemControl.js +1 -1
  313. package/esm/renderer/TransferTableControl.js +1 -1
  314. package/esm/renderer/TreeOptionControl.js +1 -1
  315. package/esm/renderer/ValidationControl.js +1 -1
  316. package/esm/renderer/ValidationItem.js +1 -1
  317. package/esm/renderer/event-control/action-config-dialog.js +1 -1
  318. package/esm/renderer/event-control/action-config-panel.js +1 -1
  319. package/esm/renderer/event-control/comp-action-select.js +1 -1
  320. package/esm/renderer/event-control/helper.js +1 -1
  321. package/esm/renderer/event-control/index.js +1 -1
  322. package/esm/renderer/style-control/Background.js +1 -1
  323. package/esm/renderer/style-control/Border.js +1 -1
  324. package/esm/renderer/style-control/BoxModel.js +1 -1
  325. package/esm/renderer/style-control/BoxShadow.js +1 -1
  326. package/esm/renderer/style-control/Display.js +1 -1
  327. package/esm/renderer/style-control/Font.js +1 -1
  328. package/esm/renderer/style-control/InsetBoxModel.js +1 -1
  329. package/esm/renderer/style-control/{ThemeClassName.d.ts → ThemeCssCode.d.ts} +1 -1
  330. package/esm/renderer/style-control/ThemeCssCode.js +347 -0
  331. package/esm/renderer/style-control/font-family.js +1 -1
  332. package/esm/renderer/style-control/helper.d.ts +2 -0
  333. package/esm/renderer/style-control/helper.js +71 -0
  334. package/esm/renderer/style-control/themeLanguage.d.ts +1 -0
  335. package/esm/renderer/style-control/themeLanguage.js +3112 -0
  336. package/esm/renderer/style-control/transformation.js +1 -1
  337. package/esm/renderer/textarea-formula/FormulaPicker.js +1 -1
  338. package/esm/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
  339. package/esm/renderer/textarea-formula/plugin.js +1 -1
  340. package/esm/renderer/textarea-formula/utils.js +1 -1
  341. package/esm/tpl/api.js +1 -1
  342. package/esm/tpl/common.js +1 -1
  343. package/esm/tpl/horizontal.js +1 -1
  344. package/esm/tpl/layout.js +1 -1
  345. package/esm/tpl/options.js +1 -1
  346. package/esm/tpl/remark.js +1 -1
  347. package/esm/tpl/style.js +65 -71
  348. package/esm/tpl/validations.js +1 -1
  349. package/esm/util.js +1 -1
  350. package/esm/validator.js +1 -1
  351. package/lib/component/BaseControl.js +1 -1
  352. package/lib/component/InputComponentName.js +1 -1
  353. package/lib/component/TableViewEditor.js +1 -1
  354. package/lib/icons/btn/btn-group.svg.js +1 -1
  355. package/lib/icons/btn/btn-select.svg.js +1 -1
  356. package/lib/icons/btn/btn-toolbar.svg.js +1 -1
  357. package/lib/icons/btn/button.svg.js +1 -1
  358. package/lib/icons/btn/dropdown-btn.svg.js +1 -1
  359. package/lib/icons/container/anchor-nav.svg.js +1 -1
  360. package/lib/icons/container/collapse.svg.js +1 -1
  361. package/lib/icons/container/container.svg.js +1 -1
  362. package/lib/icons/container/flex-container.svg.js +1 -1
  363. package/lib/icons/container/form-group.svg.js +1 -1
  364. package/lib/icons/container/grid.svg.js +1 -1
  365. package/lib/icons/container/iframe.svg.js +1 -1
  366. package/lib/icons/container/panel.svg.js +1 -1
  367. package/lib/icons/container/table-view.svg.js +1 -1
  368. package/lib/icons/container/tabs.svg.js +1 -1
  369. package/lib/icons/container/tooltip-wrapper.svg.js +1 -1
  370. package/lib/icons/container/web-component.svg.js +1 -1
  371. package/lib/icons/display/aBaseline.svg.js +1 -1
  372. package/lib/icons/display/aCenter.svg.js +1 -1
  373. package/lib/icons/display/aFlexEnd.svg.js +1 -1
  374. package/lib/icons/display/aFlexStart.svg.js +1 -1
  375. package/lib/icons/display/aStretch.svg.js +1 -1
  376. package/lib/icons/display/block.svg.js +1 -1
  377. package/lib/icons/display/dcolumn.svg.js +1 -1
  378. package/lib/icons/display/dcolumnReverse.svg.js +1 -1
  379. package/lib/icons/display/drow.svg.js +1 -1
  380. package/lib/icons/display/drowReverse.svg.js +1 -1
  381. package/lib/icons/display/flex.svg.js +1 -1
  382. package/lib/icons/display/inline-block.svg.js +1 -1
  383. package/lib/icons/display/inline.svg.js +1 -1
  384. package/lib/icons/display/jCenter.svg.js +1 -1
  385. package/lib/icons/display/jFlexEnd.svg.js +1 -1
  386. package/lib/icons/display/jFlexStart.svg.js +1 -1
  387. package/lib/icons/display/jSpaceAround.svg.js +1 -1
  388. package/lib/icons/display/jSpaceBetween.svg.js +1 -1
  389. package/lib/icons/feat/audio.svg.js +1 -1
  390. package/lib/icons/feat/custom.svg.js +1 -1
  391. package/lib/icons/feat/each.svg.js +1 -1
  392. package/lib/icons/feat/form.svg.js +1 -1
  393. package/lib/icons/feat/nav.svg.js +1 -1
  394. package/lib/icons/feat/qrcode.svg.js +1 -1
  395. package/lib/icons/feat/service.svg.js +1 -1
  396. package/lib/icons/feat/table.svg.js +1 -1
  397. package/lib/icons/feat/tasks.svg.js +1 -1
  398. package/lib/icons/feat/video.svg.js +1 -1
  399. package/lib/icons/feat/wizard.svg.js +1 -1
  400. package/lib/icons/form/chained-select.svg.js +1 -1
  401. package/lib/icons/form/checkbox.svg.js +1 -1
  402. package/lib/icons/form/checkboxes.svg.js +1 -1
  403. package/lib/icons/form/combo.svg.js +1 -1
  404. package/lib/icons/form/condition-builder.svg.js +1 -1
  405. package/lib/icons/form/diff-editor.svg.js +1 -1
  406. package/lib/icons/form/editor.svg.js +1 -1
  407. package/lib/icons/form/formula.svg.js +1 -1
  408. package/lib/icons/form/hidden.svg.js +1 -1
  409. package/lib/icons/form/input-city.svg.js +1 -1
  410. package/lib/icons/form/input-color.svg.js +1 -1
  411. package/lib/icons/form/input-date-range.svg.js +1 -1
  412. package/lib/icons/form/input-date.svg.js +1 -1
  413. package/lib/icons/form/input-datetime.svg.js +1 -1
  414. package/lib/icons/form/input-email.svg.js +1 -1
  415. package/lib/icons/form/input-excel.svg.js +1 -1
  416. package/lib/icons/form/input-file.svg.js +1 -1
  417. package/lib/icons/form/input-group.svg.js +1 -1
  418. package/lib/icons/form/input-image.svg.js +1 -1
  419. package/lib/icons/form/input-kv.svg.js +1 -1
  420. package/lib/icons/form/input-month-range.svg.js +1 -1
  421. package/lib/icons/form/input-number.svg.js +1 -1
  422. package/lib/icons/form/input-password.svg.js +1 -1
  423. package/lib/icons/form/input-quarter-range.svg.js +1 -1
  424. package/lib/icons/form/input-range.svg.js +1 -1
  425. package/lib/icons/form/input-rating.svg.js +1 -1
  426. package/lib/icons/form/input-repeat.svg.js +1 -1
  427. package/lib/icons/form/input-rich-text.svg.js +1 -1
  428. package/lib/icons/form/input-tag.svg.js +1 -1
  429. package/lib/icons/form/input-text.svg.js +1 -1
  430. package/lib/icons/form/input-time-range.svg.js +1 -1
  431. package/lib/icons/form/input-time.svg.js +1 -1
  432. package/lib/icons/form/input-tree.svg.js +1 -1
  433. package/lib/icons/form/input-url.svg.js +1 -1
  434. package/lib/icons/form/input-year.svg.js +1 -1
  435. package/lib/icons/form/inputArray.svg.js +1 -1
  436. package/lib/icons/form/list-select.svg.js +1 -1
  437. package/lib/icons/form/location-picker.svg.js +1 -1
  438. package/lib/icons/form/matrix-checkboxes.svg.js +1 -1
  439. package/lib/icons/form/month.svg.js +1 -1
  440. package/lib/icons/form/nested-select.svg.js +1 -1
  441. package/lib/icons/form/picker.svg.js +1 -1
  442. package/lib/icons/form/quarter.svg.js +1 -1
  443. package/lib/icons/form/radios.svg.js +1 -1
  444. package/lib/icons/form/select.svg.js +1 -1
  445. package/lib/icons/form/static.svg.js +1 -1
  446. package/lib/icons/form/sub-form.svg.js +1 -1
  447. package/lib/icons/form/switch.svg.js +1 -1
  448. package/lib/icons/form/tabs-transfer.svg.js +1 -1
  449. package/lib/icons/form/textarea.svg.js +1 -1
  450. package/lib/icons/form/transfer.svg.js +1 -1
  451. package/lib/icons/form/tree-select.svg.js +1 -1
  452. package/lib/icons/form/uuid.svg.js +1 -1
  453. package/lib/icons/index.js +4 -1
  454. package/lib/icons/layout/layout-1with2.svg.js +1 -1
  455. package/lib/icons/layout/layout-2cols.svg.js +1 -1
  456. package/lib/icons/layout/layout-2row.svg.js +1 -1
  457. package/lib/icons/layout/layout-2with1.svg.js +1 -1
  458. package/lib/icons/layout/layout-3cols.svg.js +1 -1
  459. package/lib/icons/layout/layout-3row.svg.js +1 -1
  460. package/lib/icons/layout/layout-absolute.svg.js +1 -1
  461. package/lib/icons/layout/layout-fixed-top.svg.js +1 -1
  462. package/lib/icons/layout/layout-fixed.svg.js +1 -1
  463. package/lib/icons/layout/layout-free-container.svg.js +1 -1
  464. package/lib/icons/layout/layout-full.svg.js +1 -1
  465. package/lib/icons/layout/layout1-2.svg.js +1 -1
  466. package/lib/icons/layout/layout2-1.svg.js +1 -1
  467. package/lib/icons/layout/layout3-1.svg.js +1 -1
  468. package/lib/icons/layout/layout3-2.svg.js +1 -1
  469. package/lib/icons/other/divider.svg.js +1 -1
  470. package/lib/icons/other/property-sheet.svg.js +1 -1
  471. package/lib/icons/other/tooltip.svg.js +1 -1
  472. package/lib/icons/show/URL.svg.js +1 -1
  473. package/lib/icons/show/avatar.svg.js +1 -1
  474. package/lib/icons/show/breadcrumb.svg.js +1 -1
  475. package/lib/icons/show/card.svg.js +1 -1
  476. package/lib/icons/show/cards.svg.js +1 -1
  477. package/lib/icons/show/carousel.svg.js +1 -1
  478. package/lib/icons/show/chart.svg.js +1 -1
  479. package/lib/icons/show/code.svg.js +1 -1
  480. package/lib/icons/show/date.svg.js +1 -1
  481. package/lib/icons/show/datetime.svg.js +1 -1
  482. package/lib/icons/show/image.svg.js +1 -1
  483. package/lib/icons/show/images.svg.js +1 -1
  484. package/lib/icons/show/json-view.svg.js +1 -1
  485. package/lib/icons/show/list.svg.js +1 -1
  486. package/lib/icons/show/log.svg.js +1 -1
  487. package/lib/icons/show/mapping.svg.js +1 -1
  488. package/lib/icons/show/markdown.svg.js +1 -1
  489. package/lib/icons/show/plain.svg.js +1 -1
  490. package/lib/icons/show/progress.svg.js +1 -1
  491. package/lib/icons/show/sparkline.svg.js +1 -1
  492. package/lib/icons/show/status.svg.js +1 -1
  493. package/lib/icons/show/steps.svg.js +1 -1
  494. package/lib/icons/show/time.svg.js +1 -1
  495. package/lib/icons/theme/css.svg.js +45 -0
  496. package/lib/index.d.ts +1 -1
  497. package/lib/index.js +2 -2
  498. package/lib/locale/en-US.js +1 -1
  499. package/lib/locale/zh-CN.js +1 -1
  500. package/lib/plugin/Alert.js +1 -1
  501. package/lib/plugin/AnchorNav.js +1 -1
  502. package/lib/plugin/Audio.js +1 -1
  503. package/lib/plugin/Avatar.js +1 -1
  504. package/lib/plugin/Breadcrumb.js +1 -1
  505. package/lib/plugin/Button.js +21 -13
  506. package/lib/plugin/ButtonGroup.js +1 -1
  507. package/lib/plugin/CRUD.js +1 -1
  508. package/lib/plugin/CRUD2.js +1 -1
  509. package/lib/plugin/Card.js +1 -1
  510. package/lib/plugin/Card2.js +1 -1
  511. package/lib/plugin/Cards.js +1 -1
  512. package/lib/plugin/Carousel.js +1 -1
  513. package/lib/plugin/Chart.js +1 -1
  514. package/lib/plugin/CodeView.js +1 -1
  515. package/lib/plugin/Collapse.js +1 -1
  516. package/lib/plugin/CollapseGroup.js +1 -1
  517. package/lib/plugin/ColumnToggler.js +1 -1
  518. package/lib/plugin/Container.js +2 -8
  519. package/lib/plugin/Custom.js +1 -1
  520. package/lib/plugin/CustomRegion.js +1 -1
  521. package/lib/plugin/Date.js +1 -1
  522. package/lib/plugin/Datetime.js +1 -1
  523. package/lib/plugin/Dialog.js +1 -1
  524. package/lib/plugin/Divider.js +1 -1
  525. package/lib/plugin/Drawer.js +1 -1
  526. package/lib/plugin/DropDownButton.js +1 -1
  527. package/lib/plugin/Each.js +1 -1
  528. package/lib/plugin/Flex.js +1 -1
  529. package/lib/plugin/Form/ButtonGroupSelect.js +1 -1
  530. package/lib/plugin/Form/ButtonToolbar.js +1 -1
  531. package/lib/plugin/Form/ChainedSelect.js +1 -1
  532. package/lib/plugin/Form/Checkbox.js +1 -1
  533. package/lib/plugin/Form/Checkboxes.js +1 -1
  534. package/lib/plugin/Form/CodeEditor.js +1 -1
  535. package/lib/plugin/Form/Combo.js +1 -1
  536. package/lib/plugin/Form/ConditionBuilder.js +1 -1
  537. package/lib/plugin/Form/Control.js +1 -1
  538. package/lib/plugin/Form/DiffEditor.js +1 -1
  539. package/lib/plugin/Form/FieldSet.js +1 -1
  540. package/lib/plugin/Form/Form.js +1 -1
  541. package/lib/plugin/Form/Formula.js +1 -1
  542. package/lib/plugin/Form/Group.js +1 -1
  543. package/lib/plugin/Form/Hidden.js +1 -1
  544. package/lib/plugin/Form/InputArray.js +1 -1
  545. package/lib/plugin/Form/InputCity.js +1 -1
  546. package/lib/plugin/Form/InputColor.js +1 -1
  547. package/lib/plugin/Form/InputDate.js +1 -1
  548. package/lib/plugin/Form/InputDateRange.js +1 -1
  549. package/lib/plugin/Form/InputDateTime.js +1 -1
  550. package/lib/plugin/Form/InputDateTimeRange.js +1 -1
  551. package/lib/plugin/Form/InputEmail.js +1 -1
  552. package/lib/plugin/Form/InputExcel.js +1 -1
  553. package/lib/plugin/Form/InputFile.js +1 -1
  554. package/lib/plugin/Form/InputGroup.js +1 -1
  555. package/lib/plugin/Form/InputImage.js +1 -1
  556. package/lib/plugin/Form/InputKV.js +1 -1
  557. package/lib/plugin/Form/InputMonth.js +1 -1
  558. package/lib/plugin/Form/InputMonthRange.js +1 -1
  559. package/lib/plugin/Form/InputNumber.js +16 -4
  560. package/lib/plugin/Form/InputPassword.js +1 -1
  561. package/lib/plugin/Form/InputQuarter.js +1 -1
  562. package/lib/plugin/Form/InputQuarterRange.js +1 -1
  563. package/lib/plugin/Form/InputRange.js +1 -1
  564. package/lib/plugin/Form/InputRating.js +1 -1
  565. package/lib/plugin/Form/InputRepeat.js +1 -1
  566. package/lib/plugin/Form/InputRichText.js +1 -1
  567. package/lib/plugin/Form/InputSubForm.js +1 -1
  568. package/lib/plugin/Form/InputTable.js +1 -1
  569. package/lib/plugin/Form/InputTag.js +1 -1
  570. package/lib/plugin/Form/InputText.js +18 -54
  571. package/lib/plugin/Form/InputTime.js +1 -1
  572. package/lib/plugin/Form/InputTimeRange.js +1 -1
  573. package/lib/plugin/Form/InputTree.js +1 -1
  574. package/lib/plugin/Form/InputURL.js +1 -1
  575. package/lib/plugin/Form/InputYear.js +1 -1
  576. package/lib/plugin/Form/InputYearRange.js +1 -1
  577. package/lib/plugin/Form/Item.js +1 -1
  578. package/lib/plugin/Form/ListSelect.js +1 -1
  579. package/lib/plugin/Form/LocationPicker.js +1 -1
  580. package/lib/plugin/Form/MatrixCheckboxes.js +1 -1
  581. package/lib/plugin/Form/NestedSelect.js +1 -1
  582. package/lib/plugin/Form/Picker.js +1 -1
  583. package/lib/plugin/Form/Radios.js +1 -1
  584. package/lib/plugin/Form/Select.js +1 -1
  585. package/lib/plugin/Form/Static.js +1 -1
  586. package/lib/plugin/Form/Switch.js +1 -1
  587. package/lib/plugin/Form/TabsTransfer.js +1 -1
  588. package/lib/plugin/Form/Textarea.js +1 -1
  589. package/lib/plugin/Form/Transfer.js +1 -1
  590. package/lib/plugin/Form/TreeSelect.js +1 -1
  591. package/lib/plugin/Form/UUID.js +1 -1
  592. package/lib/plugin/Grid.js +1 -1
  593. package/lib/plugin/HBox.js +1 -1
  594. package/lib/plugin/IFrame.js +2 -4
  595. package/lib/plugin/Image.js +1 -1
  596. package/lib/plugin/Images.js +1 -1
  597. package/lib/plugin/Json.js +1 -1
  598. package/lib/plugin/Layout/FlexPluginBase.js +2 -7
  599. package/lib/plugin/Layout/Layout_fixed.js +1 -1
  600. package/lib/plugin/Layout/Layout_free_container.js +1 -1
  601. package/lib/plugin/Layout/Layout_sorption_container.js +1 -1
  602. package/lib/plugin/Link.js +1 -1
  603. package/lib/plugin/List.js +1 -1
  604. package/lib/plugin/ListItem.js +1 -1
  605. package/lib/plugin/Log.js +1 -1
  606. package/lib/plugin/Mapping.js +1 -1
  607. package/lib/plugin/Markdown.js +1 -1
  608. package/lib/plugin/Nav.js +1 -1
  609. package/lib/plugin/OfficeViewer.js +1 -1
  610. package/lib/plugin/Operation.js +1 -1
  611. package/lib/plugin/Others/Action.js +1 -1
  612. package/lib/plugin/Others/TableCell.js +1 -1
  613. package/lib/plugin/Page.js +2 -17
  614. package/lib/plugin/Pagination.js +1 -1
  615. package/lib/plugin/Panel.js +1 -1
  616. package/lib/plugin/Plain.js +1 -1
  617. package/lib/plugin/Progress.js +1 -1
  618. package/lib/plugin/Property.js +1 -1
  619. package/lib/plugin/QRCode.js +1 -1
  620. package/lib/plugin/Reset.js +1 -1
  621. package/lib/plugin/Service.js +1 -1
  622. package/lib/plugin/Sparkline.js +1 -1
  623. package/lib/plugin/Status.js +1 -1
  624. package/lib/plugin/Steps.js +17 -2
  625. package/lib/plugin/Submit.js +1 -1
  626. package/lib/plugin/Table.js +1 -1
  627. package/lib/plugin/Table2.js +1 -1
  628. package/lib/plugin/TableCell2.js +1 -1
  629. package/lib/plugin/TableView.js +4 -7
  630. package/lib/plugin/Tabs.js +1 -1
  631. package/lib/plugin/Tag.js +1 -1
  632. package/lib/plugin/Tasks.js +1 -1
  633. package/lib/plugin/Time.js +1 -1
  634. package/lib/plugin/Timeline.js +1 -1
  635. package/lib/plugin/TooltipWrapper.js +1 -1
  636. package/lib/plugin/Tpl.js +2 -4
  637. package/lib/plugin/Video.js +1 -1
  638. package/lib/plugin/WebComponent.js +1 -1
  639. package/lib/plugin/Wizard.js +1 -1
  640. package/lib/plugin/Wrapper.js +1 -1
  641. package/lib/renderer/APIControl.js +1 -1
  642. package/lib/renderer/BadgeControl.js +1 -1
  643. package/lib/renderer/ButtonGroupControl.js +1 -1
  644. package/lib/renderer/DataBindingControl.js +1 -1
  645. package/lib/renderer/DataMappingControl.js +1 -1
  646. package/lib/renderer/DataPickerControl.js +1 -1
  647. package/lib/renderer/DateShortCutControl.js +1 -1
  648. package/lib/renderer/ExpressionFormulaControl.js +1 -1
  649. package/lib/renderer/FeatureControl.js +1 -1
  650. package/lib/renderer/FlexSettingControl.js +57 -34
  651. package/lib/renderer/FormulaControl.js +2 -2
  652. package/lib/renderer/GoConfigControl.js +1 -1
  653. package/lib/renderer/MapSourceControl.js +1 -1
  654. package/lib/renderer/NavBadgeControl.js +1 -1
  655. package/lib/renderer/NavDefaultActive.js +1 -1
  656. package/lib/renderer/NavSourceControl.js +1 -1
  657. package/lib/renderer/OptionControl.js +1 -1
  658. package/lib/renderer/RangePartsControl.js +1 -1
  659. package/lib/renderer/StatusControl.js +1 -1
  660. package/lib/renderer/SwitchMoreControl.d.ts +18 -18
  661. package/lib/renderer/SwitchMoreControl.js +1 -1
  662. package/lib/renderer/TimelineItemControl.js +1 -1
  663. package/lib/renderer/TransferTableControl.js +1 -1
  664. package/lib/renderer/TreeOptionControl.js +1 -1
  665. package/lib/renderer/ValidationControl.js +1 -1
  666. package/lib/renderer/ValidationItem.js +1 -1
  667. package/lib/renderer/event-control/action-config-dialog.js +1 -1
  668. package/lib/renderer/event-control/action-config-panel.js +1 -1
  669. package/lib/renderer/event-control/comp-action-select.js +1 -1
  670. package/lib/renderer/event-control/helper.js +1 -1
  671. package/lib/renderer/event-control/index.js +1 -1
  672. package/lib/renderer/style-control/Background.js +1 -1
  673. package/lib/renderer/style-control/Border.js +1 -1
  674. package/lib/renderer/style-control/BoxModel.js +1 -1
  675. package/lib/renderer/style-control/BoxShadow.js +1 -1
  676. package/lib/renderer/style-control/Display.js +1 -1
  677. package/lib/renderer/style-control/Font.js +1 -1
  678. package/lib/renderer/style-control/InsetBoxModel.js +1 -1
  679. package/lib/renderer/style-control/{ThemeClassName.d.ts → ThemeCssCode.d.ts} +1 -1
  680. package/lib/renderer/style-control/ThemeCssCode.js +354 -0
  681. package/lib/renderer/style-control/font-family.js +1 -1
  682. package/lib/renderer/style-control/helper.d.ts +2 -0
  683. package/lib/renderer/style-control/helper.js +76 -0
  684. package/lib/renderer/style-control/themeLanguage.d.ts +1 -0
  685. package/lib/renderer/style-control/themeLanguage.js +3116 -0
  686. package/lib/renderer/style-control/transformation.js +1 -1
  687. package/lib/renderer/textarea-formula/FormulaPicker.js +1 -1
  688. package/lib/renderer/textarea-formula/TextareaFormulaControl.js +1 -1
  689. package/lib/renderer/textarea-formula/plugin.js +1 -1
  690. package/lib/renderer/textarea-formula/utils.js +1 -1
  691. package/lib/tpl/api.js +1 -1
  692. package/lib/tpl/common.js +1 -1
  693. package/lib/tpl/horizontal.js +1 -1
  694. package/lib/tpl/layout.js +1 -1
  695. package/lib/tpl/options.js +1 -1
  696. package/lib/tpl/remark.js +1 -1
  697. package/lib/tpl/style.js +65 -71
  698. package/lib/tpl/validations.js +1 -1
  699. package/lib/util.js +1 -1
  700. package/lib/validator.js +1 -1
  701. package/package.json +1 -1
  702. package/esm/renderer/style-control/ThemeClassName.js +0 -223
  703. package/lib/renderer/style-control/ThemeClassName.js +0 -229
@@ -0,0 +1,3116 @@
1
+ /**
2
+ * amis-editor v5.2.5-alpha.12
3
+ * Copyright 2018-2023 @fex
4
+ */
5
+
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ var tslib = require('tslib');
11
+ var _ = require('lodash');
12
+
13
+ var conf = {
14
+ ws: '[ \t\n\r\f]*',
15
+ 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])))*',
16
+ tokenizer: {
17
+ root: [{ include: '@selector' }],
18
+ selector: [{ include: '@selectorbody' }],
19
+ selectorbody: [
20
+ [
21
+ '[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))',
22
+ 'attribute.name',
23
+ '@rulevalue'
24
+ ]
25
+ ],
26
+ rulevalue: [
27
+ { include: '@strings' },
28
+ { include: '@term' },
29
+ ['!important', 'keyword'],
30
+ [';', 'delimiter', '@pop'],
31
+ ['(?=})', { token: '', next: '@pop' }]
32
+ ],
33
+ term: [
34
+ [
35
+ '(url-prefix)(\\()',
36
+ [
37
+ 'attribute.value',
38
+ { token: 'delimiter.parenthesis', next: '@urldeclaration' }
39
+ ]
40
+ ],
41
+ [
42
+ '(url)(\\()',
43
+ [
44
+ 'attribute.value',
45
+ { token: 'delimiter.parenthesis', next: '@urldeclaration' }
46
+ ]
47
+ ],
48
+ { include: '@numbers' },
49
+ { include: '@name' },
50
+ { include: '@strings' },
51
+ ['([<>=\\+\\-\\*\\/\\^\\|\\~,])', 'delimiter'],
52
+ [',', 'delimiter']
53
+ ],
54
+ warndebug: [
55
+ ['[@](warn|debug)', { token: 'keyword', next: '@declarationbody' }]
56
+ ],
57
+ urldeclaration: [
58
+ { include: '@strings' },
59
+ ['[^)\r\n]+', 'string'],
60
+ ['\\)', { token: 'delimiter.parenthesis', next: '@pop' }]
61
+ ],
62
+ parenthizedterm: [
63
+ { include: '@term' },
64
+ ['\\)', { token: 'delimiter.parenthesis', next: '@pop' }]
65
+ ],
66
+ declarationbody: [
67
+ { include: '@term' },
68
+ [';', 'delimiter', '@pop'],
69
+ ['(?=})', { token: '', next: '@pop' }] // missing semicolon
70
+ ],
71
+ name: [['@identifier', 'attribute.value']],
72
+ numbers: [
73
+ [
74
+ '-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?',
75
+ { token: 'attribute.value.number', next: '@units' }
76
+ ],
77
+ ['#[0-9a-fA-F_]+(?!\\w)', 'attribute.value.hex']
78
+ ],
79
+ units: [
80
+ [
81
+ '(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?',
82
+ 'attribute.value.unit',
83
+ '@pop'
84
+ ]
85
+ ],
86
+ strings: [
87
+ ['~?"', { token: 'string', next: '@stringenddoublequote' }],
88
+ ["~?'", { token: 'string', next: '@stringendquote' }]
89
+ ],
90
+ stringenddoublequote: [
91
+ ['\\\\.', 'string'],
92
+ ['"', { token: 'string', next: '@pop' }],
93
+ [/[^\\"]+/, 'string'],
94
+ ['.', 'string']
95
+ ],
96
+ stringendquote: [
97
+ ['\\\\.', 'string'],
98
+ ["'", { token: 'string', next: '@pop' }],
99
+ [/[^\\']+/, 'string'],
100
+ ['.', 'string']
101
+ ]
102
+ }
103
+ };
104
+ var keywords = {
105
+ 'additive-symbols': {},
106
+ 'align-content': {
107
+ values: [
108
+ 'center',
109
+ 'flex-end',
110
+ 'flex-start',
111
+ 'space-around',
112
+ 'space-between',
113
+ 'stretch',
114
+ 'start',
115
+ 'end',
116
+ 'normal',
117
+ 'baseline',
118
+ 'first baseline',
119
+ 'last baseline',
120
+ 'space-around',
121
+ 'space-between',
122
+ 'space-evenly',
123
+ 'stretch',
124
+ 'safe',
125
+ 'unsafe'
126
+ ]
127
+ },
128
+ 'align-items': {
129
+ values: [
130
+ 'baseline',
131
+ 'center',
132
+ 'flex-end',
133
+ 'flex-start',
134
+ 'stretch',
135
+ 'normal',
136
+ 'start',
137
+ 'end',
138
+ 'self-start',
139
+ 'self-end',
140
+ 'first baseline',
141
+ 'last baseline',
142
+ 'stretch',
143
+ 'safe',
144
+ 'unsafe'
145
+ ]
146
+ },
147
+ 'justify-items': {
148
+ values: [
149
+ 'auto',
150
+ 'normal',
151
+ 'end',
152
+ 'start',
153
+ 'flex-end',
154
+ 'flex-start',
155
+ 'self-end',
156
+ 'self-start',
157
+ 'center',
158
+ 'left',
159
+ 'right',
160
+ 'baseline',
161
+ 'first baseline',
162
+ 'last baseline',
163
+ 'stretch',
164
+ 'safe',
165
+ 'unsafe',
166
+ 'legacy'
167
+ ]
168
+ },
169
+ 'justify-self': {
170
+ values: [
171
+ 'auto',
172
+ 'normal',
173
+ 'end',
174
+ 'start',
175
+ 'flex-end',
176
+ 'flex-start',
177
+ 'self-end',
178
+ 'self-start',
179
+ 'center',
180
+ 'left',
181
+ 'right',
182
+ 'baseline',
183
+ 'first baseline',
184
+ 'last baseline',
185
+ 'stretch',
186
+ 'save',
187
+ 'unsave'
188
+ ]
189
+ },
190
+ 'align-self': {
191
+ values: [
192
+ 'auto',
193
+ 'normal',
194
+ 'self-end',
195
+ 'self-start',
196
+ 'baseline',
197
+ 'center',
198
+ 'flex-end',
199
+ 'flex-start',
200
+ 'stretch',
201
+ 'baseline',
202
+ 'first baseline',
203
+ 'last baseline',
204
+ 'safe',
205
+ 'unsafe'
206
+ ]
207
+ },
208
+ 'all': {
209
+ values: []
210
+ },
211
+ 'alt': {
212
+ values: []
213
+ },
214
+ 'animation': {
215
+ values: [
216
+ 'alternate',
217
+ 'alternate-reverse',
218
+ 'backwards',
219
+ 'both',
220
+ 'forwards',
221
+ 'infinite',
222
+ 'none',
223
+ 'normal',
224
+ 'reverse'
225
+ ]
226
+ },
227
+ 'animation-delay': {},
228
+ 'animation-direction': {
229
+ values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
230
+ },
231
+ 'animation-duration': {},
232
+ 'animation-fill-mode': {
233
+ values: ['backwards', 'both', 'forwards', 'none']
234
+ },
235
+ 'animation-iteration-count': {
236
+ values: ['infinite']
237
+ },
238
+ 'animation-name': {
239
+ values: ['none']
240
+ },
241
+ 'animation-play-state': {
242
+ values: ['paused', 'running']
243
+ },
244
+ 'animation-timing-function': {},
245
+ 'backface-visibility': {
246
+ values: ['hidden', 'visible']
247
+ },
248
+ 'background': {
249
+ values: ['fixed', 'local', 'none', 'scroll']
250
+ },
251
+ 'background-attachment': {
252
+ values: ['fixed', 'local', 'scroll']
253
+ },
254
+ 'background-blend-mode': {
255
+ values: [
256
+ 'normal',
257
+ 'multiply',
258
+ 'screen',
259
+ 'overlay',
260
+ 'darken',
261
+ 'lighten',
262
+ 'color-dodge',
263
+ 'color-burn',
264
+ 'hard-light',
265
+ 'soft-light',
266
+ 'difference',
267
+ 'exclusion',
268
+ 'hue',
269
+ 'saturation',
270
+ 'color',
271
+ 'luminosity'
272
+ ]
273
+ },
274
+ 'background-clip': {},
275
+ 'background-color': {},
276
+ 'background-image': {
277
+ values: ['none']
278
+ },
279
+ 'background-origin': {},
280
+ 'background-position': {},
281
+ 'background-position-x': {
282
+ values: ['center', 'left', 'right']
283
+ },
284
+ 'background-position-y': {
285
+ values: ['bottom', 'center', 'top']
286
+ },
287
+ 'background-repeat': {
288
+ values: []
289
+ },
290
+ 'background-size': {
291
+ values: ['auto', 'contain', 'cover']
292
+ },
293
+ 'behavior': {},
294
+ 'block-size': {
295
+ values: ['auto']
296
+ },
297
+ 'border': {},
298
+ 'border-block-end': {},
299
+ 'border-block-start': {},
300
+ 'border-block-end-color': {},
301
+ 'border-block-start-color': {},
302
+ 'border-block-end-style': {},
303
+ 'border-block-start-style': {},
304
+ 'border-block-end-width': {},
305
+ 'border-block-start-width': {},
306
+ 'border-bottom': {},
307
+ 'border-bottom-color': {},
308
+ 'border-bottom-left-radius': {},
309
+ 'border-bottom-right-radius': {},
310
+ 'border-bottom-style': {},
311
+ 'border-bottom-width': {},
312
+ 'border-collapse': {
313
+ values: ['collapse', 'separate']
314
+ },
315
+ 'border-color': {
316
+ values: []
317
+ },
318
+ 'border-image': {
319
+ values: [
320
+ 'auto',
321
+ 'fill',
322
+ 'none',
323
+ 'repeat',
324
+ 'round',
325
+ 'space',
326
+ 'stretch',
327
+ 'url()'
328
+ ]
329
+ },
330
+ 'border-image-outset': {},
331
+ 'border-image-repeat': {
332
+ values: ['repeat', 'round', 'space', 'stretch']
333
+ },
334
+ 'border-image-slice': {
335
+ values: ['fill']
336
+ },
337
+ 'border-image-source': {
338
+ values: ['none']
339
+ },
340
+ 'border-image-width': {
341
+ values: ['auto']
342
+ },
343
+ 'border-inline-end': {},
344
+ 'border-inline-start': {},
345
+ 'border-inline-end-color': {},
346
+ 'border-inline-start-color': {},
347
+ 'border-inline-end-style': {},
348
+ 'border-inline-start-style': {},
349
+ 'border-inline-end-width': {},
350
+ 'border-inline-start-width': {},
351
+ 'border-left': {},
352
+ 'border-left-color': {},
353
+ 'border-left-style': {},
354
+ 'border-left-width': {},
355
+ 'border-radius': {},
356
+ 'border-right': {},
357
+ 'border-right-color': {},
358
+ 'border-right-style': {},
359
+ 'border-right-width': {},
360
+ 'border-spacing': {},
361
+ 'border-style': {
362
+ values: []
363
+ },
364
+ 'border-top': {},
365
+ 'border-top-color': {},
366
+ 'border-top-left-radius': {},
367
+ 'border-top-right-radius': {},
368
+ 'border-top-style': {},
369
+ 'border-top-width': {},
370
+ 'border-width': {
371
+ values: []
372
+ },
373
+ 'bottom': {
374
+ values: ['auto']
375
+ },
376
+ 'box-decoration-break': {
377
+ values: ['clone', 'slice']
378
+ },
379
+ 'box-shadow': {
380
+ values: ['inset', 'none']
381
+ },
382
+ 'box-sizing': {
383
+ values: ['border-box', 'content-box']
384
+ },
385
+ 'break-after': {
386
+ values: [
387
+ 'always',
388
+ 'auto',
389
+ 'avoid',
390
+ 'avoid-column',
391
+ 'avoid-page',
392
+ 'column',
393
+ 'left',
394
+ 'page',
395
+ 'right'
396
+ ]
397
+ },
398
+ 'break-before': {
399
+ values: [
400
+ 'always',
401
+ 'auto',
402
+ 'avoid',
403
+ 'avoid-column',
404
+ 'avoid-page',
405
+ 'column',
406
+ 'left',
407
+ 'page',
408
+ 'right'
409
+ ]
410
+ },
411
+ 'break-inside': {
412
+ values: ['auto', 'avoid', 'avoid-column', 'avoid-page']
413
+ },
414
+ 'caption-side': {
415
+ values: ['bottom', 'top']
416
+ },
417
+ 'caret-color': {
418
+ values: ['auto']
419
+ },
420
+ 'clear': {
421
+ values: ['both', 'left', 'none', 'right']
422
+ },
423
+ 'clip': {
424
+ values: ['auto', 'rect()']
425
+ },
426
+ 'clip-path': {
427
+ values: ['none', 'url()']
428
+ },
429
+ 'clip-rule': {
430
+ values: ['evenodd', 'nonzero']
431
+ },
432
+ 'color': {},
433
+ 'color-interpolation-filters': {
434
+ values: ['auto', 'linearRGB', 'sRGB']
435
+ },
436
+ 'column-count': {
437
+ values: ['auto']
438
+ },
439
+ 'column-fill': {
440
+ values: ['auto', 'balance']
441
+ },
442
+ 'column-gap': {
443
+ values: ['normal']
444
+ },
445
+ 'column-rule': {},
446
+ 'column-rule-color': {},
447
+ 'column-rule-style': {},
448
+ 'column-rule-width': {},
449
+ 'columns': {
450
+ values: ['auto']
451
+ },
452
+ 'column-span': {
453
+ values: ['all', 'none']
454
+ },
455
+ 'column-width': {
456
+ values: ['auto']
457
+ },
458
+ 'contain': {
459
+ values: ['none', 'strict', 'content', 'size', 'layout', 'style', 'paint']
460
+ },
461
+ 'content': {
462
+ values: ['attr()', 'counter(name)', 'icon', 'none', 'normal', 'url()']
463
+ },
464
+ 'counter-increment': {
465
+ values: ['none']
466
+ },
467
+ 'counter-reset': {
468
+ values: ['none']
469
+ },
470
+ 'cursor': {
471
+ values: [
472
+ 'alias',
473
+ 'all-scroll',
474
+ 'auto',
475
+ 'cell',
476
+ 'col-resize',
477
+ 'context-menu',
478
+ 'copy',
479
+ 'crosshair',
480
+ 'default',
481
+ 'e-resize',
482
+ 'ew-resize',
483
+ 'grab',
484
+ 'grabbing',
485
+ 'help',
486
+ 'move',
487
+ '-moz-grab',
488
+ '-moz-grabbing',
489
+ '-moz-zoom-in',
490
+ '-moz-zoom-out',
491
+ 'ne-resize',
492
+ 'nesw-resize',
493
+ 'no-drop',
494
+ 'none',
495
+ 'not-allowed',
496
+ 'n-resize',
497
+ 'ns-resize',
498
+ 'nw-resize',
499
+ 'nwse-resize',
500
+ 'pointer',
501
+ 'progress',
502
+ 'row-resize',
503
+ 'se-resize',
504
+ 's-resize',
505
+ 'sw-resize',
506
+ 'text',
507
+ 'vertical-text',
508
+ 'wait',
509
+ '-webkit-grab',
510
+ '-webkit-grabbing',
511
+ '-webkit-zoom-in',
512
+ '-webkit-zoom-out',
513
+ 'w-resize',
514
+ 'zoom-in',
515
+ 'zoom-out'
516
+ ]
517
+ },
518
+ 'direction': {
519
+ values: ['ltr', 'rtl']
520
+ },
521
+ 'display': {
522
+ values: [
523
+ 'block',
524
+ 'contents',
525
+ 'flex',
526
+ 'flexbox',
527
+ 'flow-root',
528
+ 'grid',
529
+ 'inline',
530
+ 'inline-block',
531
+ 'inline-flex',
532
+ 'inline-flexbox',
533
+ 'inline-table',
534
+ 'list-item',
535
+ '-moz-box',
536
+ '-moz-deck',
537
+ '-moz-grid',
538
+ '-moz-grid-group',
539
+ '-moz-grid-line',
540
+ '-moz-groupbox',
541
+ '-moz-inline-box',
542
+ '-moz-inline-grid',
543
+ '-moz-inline-stack',
544
+ '-moz-marker',
545
+ '-moz-popup',
546
+ '-moz-stack',
547
+ '-ms-flexbox',
548
+ '-ms-grid',
549
+ '-ms-inline-flexbox',
550
+ '-ms-inline-grid',
551
+ 'none',
552
+ 'ruby',
553
+ 'ruby-base',
554
+ 'ruby-base-container',
555
+ 'ruby-text',
556
+ 'ruby-text-container',
557
+ 'run-in',
558
+ 'table',
559
+ 'table-caption',
560
+ 'table-cell',
561
+ 'table-column',
562
+ 'table-column-group',
563
+ 'table-footer-group',
564
+ 'table-header-group',
565
+ 'table-row',
566
+ 'table-row-group',
567
+ '-webkit-box',
568
+ '-webkit-flex',
569
+ '-webkit-inline-box',
570
+ '-webkit-inline-flex'
571
+ ]
572
+ },
573
+ 'empty-cells': {
574
+ values: ['hide', '-moz-show-background', 'show']
575
+ },
576
+ 'enable-background': {
577
+ values: ['accumulate', 'new']
578
+ },
579
+ 'fallback': {},
580
+ 'fill': {
581
+ values: ['url()', 'none']
582
+ },
583
+ 'fill-opacity': {},
584
+ 'fill-rule': {
585
+ values: ['evenodd', 'nonzero']
586
+ },
587
+ 'filter': {
588
+ values: [
589
+ 'none',
590
+ 'blur()',
591
+ 'brightness()',
592
+ 'contrast()',
593
+ 'drop-shadow()',
594
+ 'grayscale()',
595
+ 'hue-rotate()',
596
+ 'invert()',
597
+ 'opacity()',
598
+ 'saturate()',
599
+ 'sepia()',
600
+ 'url()'
601
+ ]
602
+ },
603
+ 'flex': {
604
+ values: ['auto', 'content', 'none']
605
+ },
606
+ 'flex-basis': {
607
+ values: ['auto', 'content']
608
+ },
609
+ 'flex-direction': {
610
+ values: ['column', 'column-reverse', 'row', 'row-reverse']
611
+ },
612
+ 'flex-flow': {
613
+ values: [
614
+ 'column',
615
+ 'column-reverse',
616
+ 'nowrap',
617
+ 'row',
618
+ 'row-reverse',
619
+ 'wrap',
620
+ 'wrap-reverse'
621
+ ]
622
+ },
623
+ 'flex-grow': {},
624
+ 'flex-shrink': {},
625
+ 'flex-wrap': {
626
+ values: ['nowrap', 'wrap', 'wrap-reverse']
627
+ },
628
+ 'float': {
629
+ values: ['inline-end', 'inline-start', 'left', 'none', 'right']
630
+ },
631
+ 'flood-color': {},
632
+ 'flood-opacity': {},
633
+ 'font': {
634
+ values: [
635
+ '100',
636
+ '200',
637
+ '300',
638
+ '400',
639
+ '500',
640
+ '600',
641
+ '700',
642
+ '800',
643
+ '900',
644
+ 'bold',
645
+ 'bolder',
646
+ 'caption',
647
+ 'icon',
648
+ 'italic',
649
+ 'large',
650
+ 'larger',
651
+ 'lighter',
652
+ 'medium',
653
+ 'menu',
654
+ 'message-box',
655
+ 'normal',
656
+ 'oblique',
657
+ 'small',
658
+ 'small-caps',
659
+ 'small-caption',
660
+ 'smaller',
661
+ 'status-bar',
662
+ 'x-large',
663
+ 'x-small',
664
+ 'xx-large',
665
+ 'xx-small'
666
+ ]
667
+ },
668
+ 'font-family': {
669
+ values: [
670
+ "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif",
671
+ 'Arial, Helvetica, sans-serif',
672
+ "Cambria, Cochin, Georgia, Times, 'Times New Roman', serif",
673
+ "'Courier New', Courier, monospace",
674
+ 'cursive',
675
+ 'fantasy',
676
+ "'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif",
677
+ "Georgia, 'Times New Roman', Times, serif",
678
+ "'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif",
679
+ "Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif",
680
+ "'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif",
681
+ 'monospace',
682
+ 'sans-serif',
683
+ "'Segoe UI', Tahoma, Geneva, Verdana, sans-serif",
684
+ 'serif',
685
+ "'Times New Roman', Times, serif",
686
+ "'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif",
687
+ 'Verdana, Geneva, Tahoma, sans-serif'
688
+ ]
689
+ },
690
+ 'font-feature-settings': {
691
+ values: [
692
+ '"aalt"',
693
+ '"abvf"',
694
+ '"abvm"',
695
+ '"abvs"',
696
+ '"afrc"',
697
+ '"akhn"',
698
+ '"blwf"',
699
+ '"blwm"',
700
+ '"blws"',
701
+ '"calt"',
702
+ '"case"',
703
+ '"ccmp"',
704
+ '"cfar"',
705
+ '"cjct"',
706
+ '"clig"',
707
+ '"cpct"',
708
+ '"cpsp"',
709
+ '"cswh"',
710
+ '"curs"',
711
+ '"c2pc"',
712
+ '"c2sc"',
713
+ '"dist"',
714
+ '"dlig"',
715
+ '"dnom"',
716
+ '"dtls"',
717
+ '"expt"',
718
+ '"falt"',
719
+ '"fin2"',
720
+ '"fin3"',
721
+ '"fina"',
722
+ '"flac"',
723
+ '"frac"',
724
+ '"fwid"',
725
+ '"half"',
726
+ '"haln"',
727
+ '"halt"',
728
+ '"hist"',
729
+ '"hkna"',
730
+ '"hlig"',
731
+ '"hngl"',
732
+ '"hojo"',
733
+ '"hwid"',
734
+ '"init"',
735
+ '"isol"',
736
+ '"ital"',
737
+ '"jalt"',
738
+ '"jp78"',
739
+ '"jp83"',
740
+ '"jp90"',
741
+ '"jp04"',
742
+ '"kern"',
743
+ '"lfbd"',
744
+ '"liga"',
745
+ '"ljmo"',
746
+ '"lnum"',
747
+ '"locl"',
748
+ '"ltra"',
749
+ '"ltrm"',
750
+ '"mark"',
751
+ '"med2"',
752
+ '"medi"',
753
+ '"mgrk"',
754
+ '"mkmk"',
755
+ '"nalt"',
756
+ '"nlck"',
757
+ '"nukt"',
758
+ '"numr"',
759
+ '"onum"',
760
+ '"opbd"',
761
+ '"ordn"',
762
+ '"ornm"',
763
+ '"palt"',
764
+ '"pcap"',
765
+ '"pkna"',
766
+ '"pnum"',
767
+ '"pref"',
768
+ '"pres"',
769
+ '"pstf"',
770
+ '"psts"',
771
+ '"pwid"',
772
+ '"qwid"',
773
+ '"rand"',
774
+ '"rclt"',
775
+ '"rlig"',
776
+ '"rkrf"',
777
+ '"rphf"',
778
+ '"rtbd"',
779
+ '"rtla"',
780
+ '"rtlm"',
781
+ '"ruby"',
782
+ '"salt"',
783
+ '"sinf"',
784
+ '"size"',
785
+ '"smcp"',
786
+ '"smpl"',
787
+ '"ssty"',
788
+ '"stch"',
789
+ '"subs"',
790
+ '"sups"',
791
+ '"swsh"',
792
+ '"titl"',
793
+ '"tjmo"',
794
+ '"tnam"',
795
+ '"tnum"',
796
+ '"trad"',
797
+ '"twid"',
798
+ '"unic"',
799
+ '"valt"',
800
+ '"vatu"',
801
+ '"vert"',
802
+ '"vhal"',
803
+ '"vjmo"',
804
+ '"vkna"',
805
+ '"vkrn"',
806
+ '"vpal"',
807
+ '"vrt2"',
808
+ '"zero"',
809
+ 'normal',
810
+ 'off',
811
+ 'on'
812
+ ]
813
+ },
814
+ 'font-kerning': {
815
+ values: ['auto', 'none', 'normal']
816
+ },
817
+ 'font-language-override': {
818
+ values: ['normal']
819
+ },
820
+ 'font-size': {
821
+ values: [
822
+ 'large',
823
+ 'larger',
824
+ 'medium',
825
+ 'small',
826
+ 'smaller',
827
+ 'x-large',
828
+ 'x-small',
829
+ 'xx-large',
830
+ 'xx-small'
831
+ ]
832
+ },
833
+ 'font-size-adjust': {
834
+ values: ['none']
835
+ },
836
+ 'font-stretch': {
837
+ values: [
838
+ 'condensed',
839
+ 'expanded',
840
+ 'extra-condensed',
841
+ 'extra-expanded',
842
+ 'narrower',
843
+ 'normal',
844
+ 'semi-condensed',
845
+ 'semi-expanded',
846
+ 'ultra-condensed',
847
+ 'ultra-expanded',
848
+ 'wider'
849
+ ]
850
+ },
851
+ 'font-style': {
852
+ values: ['italic', 'normal', 'oblique']
853
+ },
854
+ 'font-synthesis': {
855
+ values: ['none', 'style', 'weight']
856
+ },
857
+ 'font-variant': {
858
+ values: ['normal', 'small-caps']
859
+ },
860
+ 'font-variant-alternates': {
861
+ values: [
862
+ 'annotation()',
863
+ 'character-variant()',
864
+ 'historical-forms',
865
+ 'normal',
866
+ 'ornaments()',
867
+ 'styleset()',
868
+ 'stylistic()',
869
+ 'swash()'
870
+ ]
871
+ },
872
+ 'font-variant-caps': {
873
+ values: [
874
+ 'all-petite-caps',
875
+ 'all-small-caps',
876
+ 'normal',
877
+ 'petite-caps',
878
+ 'small-caps',
879
+ 'titling-caps',
880
+ 'unicase'
881
+ ]
882
+ },
883
+ 'font-variant-east-asian': {
884
+ values: [
885
+ 'full-width',
886
+ 'jis04',
887
+ 'jis78',
888
+ 'jis83',
889
+ 'jis90',
890
+ 'normal',
891
+ 'proportional-width',
892
+ 'ruby',
893
+ 'simplified',
894
+ 'traditional'
895
+ ]
896
+ },
897
+ 'font-variant-ligatures': {
898
+ values: [
899
+ 'additional-ligatures',
900
+ 'common-ligatures',
901
+ 'contextual',
902
+ 'discretionary-ligatures',
903
+ 'historical-ligatures',
904
+ 'no-additional-ligatures',
905
+ 'no-common-ligatures',
906
+ 'no-contextual',
907
+ 'no-discretionary-ligatures',
908
+ 'no-historical-ligatures',
909
+ 'none',
910
+ 'normal'
911
+ ]
912
+ },
913
+ 'font-variant-numeric': {
914
+ values: [
915
+ 'diagonal-fractions',
916
+ 'lining-nums',
917
+ 'normal',
918
+ 'oldstyle-nums',
919
+ 'ordinal',
920
+ 'proportional-nums',
921
+ 'slashed-zero',
922
+ 'stacked-fractions',
923
+ 'tabular-nums'
924
+ ]
925
+ },
926
+ 'font-variant-position': {
927
+ values: ['normal', 'sub', 'super']
928
+ },
929
+ 'font-weight': {
930
+ values: [
931
+ '100',
932
+ '200',
933
+ '300',
934
+ '400',
935
+ '500',
936
+ '600',
937
+ '700',
938
+ '800',
939
+ '900',
940
+ 'bold',
941
+ 'bolder',
942
+ 'lighter',
943
+ 'normal'
944
+ ]
945
+ },
946
+ 'glyph-orientation-horizontal': {},
947
+ 'glyph-orientation-vertical': {
948
+ values: ['auto']
949
+ },
950
+ 'grid-area': {
951
+ values: ['auto', 'span']
952
+ },
953
+ 'grid': {},
954
+ 'grid-auto-columns': {
955
+ values: ['min-content', 'max-content', 'auto', 'minmax()']
956
+ },
957
+ 'grid-auto-flow': {
958
+ values: ['row', 'column', 'dense']
959
+ },
960
+ 'grid-auto-rows': {
961
+ values: ['min-content', 'max-content', 'auto', 'minmax()']
962
+ },
963
+ 'grid-column': {
964
+ values: ['auto', 'span']
965
+ },
966
+ 'grid-column-end': {
967
+ values: ['auto', 'span']
968
+ },
969
+ 'grid-column-gap': {},
970
+ 'grid-column-start': {
971
+ values: ['auto', 'span']
972
+ },
973
+ 'grid-gap': {},
974
+ 'grid-row': {
975
+ values: ['auto', 'span']
976
+ },
977
+ 'grid-row-end': {
978
+ values: ['auto', 'span']
979
+ },
980
+ 'grid-row-gap': {},
981
+ 'grid-row-start': {
982
+ values: ['auto', 'span']
983
+ },
984
+ 'grid-template': {
985
+ values: [
986
+ 'none',
987
+ 'min-content',
988
+ 'max-content',
989
+ 'auto',
990
+ 'subgrid',
991
+ 'minmax()',
992
+ 'repeat()'
993
+ ]
994
+ },
995
+ 'grid-template-areas': {
996
+ values: ['none']
997
+ },
998
+ 'grid-template-columns': {
999
+ values: [
1000
+ 'none',
1001
+ 'min-content',
1002
+ 'max-content',
1003
+ 'auto',
1004
+ 'subgrid',
1005
+ 'minmax()',
1006
+ 'repeat()'
1007
+ ]
1008
+ },
1009
+ 'grid-template-rows': {
1010
+ values: [
1011
+ 'none',
1012
+ 'min-content',
1013
+ 'max-content',
1014
+ 'auto',
1015
+ 'subgrid',
1016
+ 'minmax()',
1017
+ 'repeat()'
1018
+ ]
1019
+ },
1020
+ 'height': {
1021
+ values: ['auto', 'fit-content', 'max-content', 'min-content']
1022
+ },
1023
+ 'hyphens': {
1024
+ values: ['auto', 'manual', 'none']
1025
+ },
1026
+ 'image-orientation': {
1027
+ values: ['flip', 'from-image']
1028
+ },
1029
+ 'image-rendering': {
1030
+ values: [
1031
+ 'auto',
1032
+ 'crisp-edges',
1033
+ '-moz-crisp-edges',
1034
+ 'optimizeQuality',
1035
+ 'optimizeSpeed',
1036
+ 'pixelated'
1037
+ ]
1038
+ },
1039
+ 'ime-mode': {
1040
+ values: ['active', 'auto', 'disabled', 'inactive', 'normal']
1041
+ },
1042
+ 'inline-size': {
1043
+ values: ['auto']
1044
+ },
1045
+ 'isolation': {
1046
+ values: ['auto', 'isolate']
1047
+ },
1048
+ 'justify-content': {
1049
+ values: [
1050
+ 'center',
1051
+ 'start',
1052
+ 'end',
1053
+ 'left',
1054
+ 'right',
1055
+ 'safe',
1056
+ 'unsafe',
1057
+ 'stretch',
1058
+ 'space-evenly',
1059
+ 'flex-end',
1060
+ 'flex-start',
1061
+ 'space-around',
1062
+ 'space-between',
1063
+ 'baseline',
1064
+ 'first baseline',
1065
+ 'last baseline'
1066
+ ]
1067
+ },
1068
+ 'kerning': {
1069
+ values: ['auto']
1070
+ },
1071
+ 'left': {
1072
+ values: ['auto']
1073
+ },
1074
+ 'letter-spacing': {
1075
+ values: ['normal']
1076
+ },
1077
+ 'lighting-color': {},
1078
+ 'line-break': {
1079
+ values: ['auto', 'loose', 'normal', 'strict', 'anywhere']
1080
+ },
1081
+ 'line-height': {
1082
+ values: ['normal']
1083
+ },
1084
+ 'list-style': {
1085
+ values: [
1086
+ 'armenian',
1087
+ 'circle',
1088
+ 'decimal',
1089
+ 'decimal-leading-zero',
1090
+ 'disc',
1091
+ 'georgian',
1092
+ 'inside',
1093
+ 'lower-alpha',
1094
+ 'lower-greek',
1095
+ 'lower-latin',
1096
+ 'lower-roman',
1097
+ 'none',
1098
+ 'outside',
1099
+ 'square',
1100
+ 'symbols()',
1101
+ 'upper-alpha',
1102
+ 'upper-latin',
1103
+ 'upper-roman',
1104
+ 'url()'
1105
+ ]
1106
+ },
1107
+ 'list-style-image': {
1108
+ values: ['none']
1109
+ },
1110
+ 'list-style-position': {
1111
+ values: ['inside', 'outside']
1112
+ },
1113
+ 'list-style-type': {
1114
+ values: [
1115
+ 'armenian',
1116
+ 'circle',
1117
+ 'decimal',
1118
+ 'decimal-leading-zero',
1119
+ 'disc',
1120
+ 'georgian',
1121
+ 'lower-alpha',
1122
+ 'lower-greek',
1123
+ 'lower-latin',
1124
+ 'lower-roman',
1125
+ 'none',
1126
+ 'square',
1127
+ 'symbols()',
1128
+ 'upper-alpha',
1129
+ 'upper-latin',
1130
+ 'upper-roman'
1131
+ ]
1132
+ },
1133
+ 'margin': {
1134
+ values: ['auto']
1135
+ },
1136
+ 'margin-block-end': {
1137
+ values: ['auto']
1138
+ },
1139
+ 'margin-block-start': {
1140
+ values: ['auto']
1141
+ },
1142
+ 'margin-bottom': {
1143
+ values: ['auto']
1144
+ },
1145
+ 'margin-inline-end': {
1146
+ values: ['auto']
1147
+ },
1148
+ 'margin-inline-start': {
1149
+ values: ['auto']
1150
+ },
1151
+ 'margin-left': {
1152
+ values: ['auto']
1153
+ },
1154
+ 'margin-right': {
1155
+ values: ['auto']
1156
+ },
1157
+ 'margin-top': {
1158
+ values: ['auto']
1159
+ },
1160
+ 'marker': {
1161
+ values: ['none', 'url()']
1162
+ },
1163
+ 'marker-end': {
1164
+ values: ['none', 'url()']
1165
+ },
1166
+ 'marker-mid': {
1167
+ values: ['none', 'url()']
1168
+ },
1169
+ 'marker-start': {
1170
+ values: ['none', 'url()']
1171
+ },
1172
+ 'mask-image': {
1173
+ values: ['none', 'url()']
1174
+ },
1175
+ 'mask-mode': {
1176
+ values: ['alpha', 'auto', 'luminance']
1177
+ },
1178
+ 'mask-origin': {},
1179
+ 'mask-position': {},
1180
+ 'mask-repeat': {},
1181
+ 'mask-size': {
1182
+ values: ['auto', 'contain', 'cover']
1183
+ },
1184
+ 'mask-type': {
1185
+ values: ['alpha', 'luminance']
1186
+ },
1187
+ 'max-block-size': {
1188
+ values: ['none']
1189
+ },
1190
+ 'max-height': {
1191
+ values: ['none', 'fit-content', 'max-content', 'min-content']
1192
+ },
1193
+ 'max-inline-size': {
1194
+ values: ['none']
1195
+ },
1196
+ 'max-width': {
1197
+ values: ['none', 'fit-content', 'max-content', 'min-content']
1198
+ },
1199
+ 'min-block-size': {},
1200
+ 'min-height': {
1201
+ values: ['auto', 'fit-content', 'max-content', 'min-content']
1202
+ },
1203
+ 'min-inline-size': {},
1204
+ 'min-width': {
1205
+ values: ['auto', 'fit-content', 'max-content', 'min-content']
1206
+ },
1207
+ 'mix-blend-mode': {
1208
+ values: [
1209
+ 'normal',
1210
+ 'multiply',
1211
+ 'screen',
1212
+ 'overlay',
1213
+ 'darken',
1214
+ 'lighten',
1215
+ 'color-dodge',
1216
+ 'color-burn',
1217
+ 'hard-light',
1218
+ 'soft-light',
1219
+ 'difference',
1220
+ 'exclusion',
1221
+ 'hue',
1222
+ 'saturation',
1223
+ 'color',
1224
+ 'luminosity'
1225
+ ]
1226
+ },
1227
+ 'motion': {
1228
+ values: ['none', 'path()', 'auto', 'reverse']
1229
+ },
1230
+ 'motion-offset': {},
1231
+ 'motion-path': {
1232
+ values: ['none', 'path()']
1233
+ },
1234
+ 'motion-rotation': {
1235
+ values: ['auto', 'reverse']
1236
+ },
1237
+ '-moz-animation': {
1238
+ values: [
1239
+ 'alternate',
1240
+ 'alternate-reverse',
1241
+ 'backwards',
1242
+ 'both',
1243
+ 'forwards',
1244
+ 'infinite',
1245
+ 'none',
1246
+ 'normal',
1247
+ 'reverse'
1248
+ ]
1249
+ },
1250
+ '-moz-animation-delay': {},
1251
+ '-moz-animation-direction': {
1252
+ values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
1253
+ },
1254
+ '-moz-animation-duration': {},
1255
+ '-moz-animation-iteration-count': {
1256
+ values: ['infinite']
1257
+ },
1258
+ '-moz-animation-name': {
1259
+ values: ['none']
1260
+ },
1261
+ '-moz-animation-play-state': {
1262
+ values: ['paused', 'running']
1263
+ },
1264
+ '-moz-animation-timing-function': {},
1265
+ '-moz-appearance': {
1266
+ values: [
1267
+ 'button',
1268
+ 'button-arrow-down',
1269
+ 'button-arrow-next',
1270
+ 'button-arrow-previous',
1271
+ 'button-arrow-up',
1272
+ 'button-bevel',
1273
+ 'checkbox',
1274
+ 'checkbox-container',
1275
+ 'checkbox-label',
1276
+ 'dialog',
1277
+ 'groupbox',
1278
+ 'listbox',
1279
+ 'menuarrow',
1280
+ 'menuimage',
1281
+ 'menuitem',
1282
+ 'menuitemtext',
1283
+ 'menulist',
1284
+ 'menulist-button',
1285
+ 'menulist-text',
1286
+ 'menulist-textfield',
1287
+ 'menupopup',
1288
+ 'menuradio',
1289
+ 'menuseparator',
1290
+ '-moz-mac-unified-toolbar',
1291
+ '-moz-win-borderless-glass',
1292
+ '-moz-win-browsertabbar-toolbox',
1293
+ '-moz-win-communications-toolbox',
1294
+ '-moz-win-glass',
1295
+ '-moz-win-media-toolbox',
1296
+ 'none',
1297
+ 'progressbar',
1298
+ 'progresschunk',
1299
+ 'radio',
1300
+ 'radio-container',
1301
+ 'radio-label',
1302
+ 'radiomenuitem',
1303
+ 'resizer',
1304
+ 'resizerpanel',
1305
+ 'scrollbarbutton-down',
1306
+ 'scrollbarbutton-left',
1307
+ 'scrollbarbutton-right',
1308
+ 'scrollbarbutton-up',
1309
+ 'scrollbar-small',
1310
+ 'scrollbartrack-horizontal',
1311
+ 'scrollbartrack-vertical',
1312
+ 'separator',
1313
+ 'spinner',
1314
+ 'spinner-downbutton',
1315
+ 'spinner-textfield',
1316
+ 'spinner-upbutton',
1317
+ 'statusbar',
1318
+ 'statusbarpanel',
1319
+ 'tab',
1320
+ 'tabpanels',
1321
+ 'tab-scroll-arrow-back',
1322
+ 'tab-scroll-arrow-forward',
1323
+ 'textfield',
1324
+ 'textfield-multiline',
1325
+ 'toolbar',
1326
+ 'toolbox',
1327
+ 'tooltip',
1328
+ 'treeheadercell',
1329
+ 'treeheadersortarrow',
1330
+ 'treeitem',
1331
+ 'treetwistyopen',
1332
+ 'treeview',
1333
+ 'treewisty',
1334
+ 'window'
1335
+ ]
1336
+ },
1337
+ '-moz-backface-visibility': {
1338
+ values: ['hidden', 'visible']
1339
+ },
1340
+ '-moz-background-clip': {
1341
+ values: ['padding']
1342
+ },
1343
+ '-moz-background-inline-policy': {
1344
+ values: ['bounding-box', 'continuous', 'each-box']
1345
+ },
1346
+ '-moz-background-origin': {},
1347
+ '-moz-border-bottom-colors': {},
1348
+ '-moz-border-image': {
1349
+ values: [
1350
+ 'auto',
1351
+ 'fill',
1352
+ 'none',
1353
+ 'repeat',
1354
+ 'round',
1355
+ 'space',
1356
+ 'stretch',
1357
+ 'url()'
1358
+ ]
1359
+ },
1360
+ '-moz-border-left-colors': {},
1361
+ '-moz-border-right-colors': {},
1362
+ '-moz-border-top-colors': {},
1363
+ '-moz-box-align': {
1364
+ values: ['baseline', 'center', 'end', 'start', 'stretch']
1365
+ },
1366
+ '-moz-box-direction': {
1367
+ values: ['normal', 'reverse']
1368
+ },
1369
+ '-moz-box-flex': {},
1370
+ '-moz-box-flexgroup': {},
1371
+ '-moz-box-ordinal-group': {},
1372
+ '-moz-box-orient': {
1373
+ values: ['block-axis', 'horizontal', 'inline-axis', 'vertical']
1374
+ },
1375
+ '-moz-box-pack': {
1376
+ values: ['center', 'end', 'justify', 'start']
1377
+ },
1378
+ '-moz-box-sizing': {
1379
+ values: ['border-box', 'content-box', 'padding-box']
1380
+ },
1381
+ '-moz-column-count': {
1382
+ values: ['auto']
1383
+ },
1384
+ '-moz-column-gap': {
1385
+ values: ['normal']
1386
+ },
1387
+ '-moz-column-rule': {},
1388
+ '-moz-column-rule-color': {},
1389
+ '-moz-column-rule-style': {},
1390
+ '-moz-column-rule-width': {},
1391
+ '-moz-columns': {
1392
+ values: ['auto']
1393
+ },
1394
+ '-moz-column-width': {
1395
+ values: ['auto']
1396
+ },
1397
+ '-moz-font-feature-settings': {
1398
+ values: [
1399
+ '"c2cs"',
1400
+ '"dlig"',
1401
+ '"kern"',
1402
+ '"liga"',
1403
+ '"lnum"',
1404
+ '"onum"',
1405
+ '"smcp"',
1406
+ '"swsh"',
1407
+ '"tnum"',
1408
+ 'normal',
1409
+ 'off',
1410
+ 'on'
1411
+ ]
1412
+ },
1413
+ '-moz-hyphens': {
1414
+ values: ['auto', 'manual', 'none']
1415
+ },
1416
+ '-moz-perspective': {
1417
+ values: ['none']
1418
+ },
1419
+ '-moz-perspective-origin': {},
1420
+ '-moz-text-align-last': {
1421
+ values: ['auto', 'center', 'justify', 'left', 'right']
1422
+ },
1423
+ '-moz-text-decoration-color': {},
1424
+ '-moz-text-decoration-line': {
1425
+ values: ['line-through', 'none', 'overline', 'underline']
1426
+ },
1427
+ '-moz-text-decoration-style': {
1428
+ values: ['dashed', 'dotted', 'double', 'none', 'solid', 'wavy']
1429
+ },
1430
+ '-moz-text-size-adjust': {
1431
+ values: ['auto', 'none']
1432
+ },
1433
+ '-moz-transform': {
1434
+ values: [
1435
+ 'matrix()',
1436
+ 'matrix3d()',
1437
+ 'none',
1438
+ 'perspective',
1439
+ 'rotate()',
1440
+ 'rotate3d()',
1441
+ "rotateX('angle')",
1442
+ "rotateY('angle')",
1443
+ "rotateZ('angle')",
1444
+ 'scale()',
1445
+ 'scale3d()',
1446
+ 'scaleX()',
1447
+ 'scaleY()',
1448
+ 'scaleZ()',
1449
+ 'skew()',
1450
+ 'skewX()',
1451
+ 'skewY()',
1452
+ 'translate()',
1453
+ 'translate3d()',
1454
+ 'translateX()',
1455
+ 'translateY()',
1456
+ 'translateZ()'
1457
+ ]
1458
+ },
1459
+ '-moz-transform-origin': {},
1460
+ '-moz-transition': {
1461
+ values: ['all', 'none']
1462
+ },
1463
+ '-moz-transition-delay': {},
1464
+ '-moz-transition-duration': {},
1465
+ '-moz-transition-property': {
1466
+ values: ['all', 'none']
1467
+ },
1468
+ '-moz-transition-timing-function': {},
1469
+ '-moz-user-focus': {
1470
+ values: ['ignore', 'normal']
1471
+ },
1472
+ '-moz-user-select': {
1473
+ values: [
1474
+ 'all',
1475
+ 'element',
1476
+ 'elements',
1477
+ '-moz-all',
1478
+ '-moz-none',
1479
+ 'none',
1480
+ 'text',
1481
+ 'toggle'
1482
+ ]
1483
+ },
1484
+ '-ms-accelerator': {
1485
+ values: ['false', 'true']
1486
+ },
1487
+ '-ms-behavior': {},
1488
+ '-ms-block-progression': {
1489
+ values: ['bt', 'lr', 'rl', 'tb']
1490
+ },
1491
+ '-ms-content-zoom-chaining': {
1492
+ values: ['chained', 'none']
1493
+ },
1494
+ '-ms-content-zooming': {
1495
+ values: ['none', 'zoom']
1496
+ },
1497
+ '-ms-content-zoom-limit': {},
1498
+ '-ms-content-zoom-limit-max': {},
1499
+ '-ms-content-zoom-limit-min': {},
1500
+ '-ms-content-zoom-snap': {
1501
+ values: [
1502
+ 'mandatory',
1503
+ 'none',
1504
+ 'proximity',
1505
+ 'snapInterval(100%, 100%)',
1506
+ 'snapList()'
1507
+ ]
1508
+ },
1509
+ '-ms-content-zoom-snap-points': {
1510
+ values: ['snapInterval(100%, 100%)', 'snapList()']
1511
+ },
1512
+ '-ms-content-zoom-snap-type': {
1513
+ values: ['mandatory', 'none', 'proximity']
1514
+ },
1515
+ '-ms-filter': {},
1516
+ '-ms-flex': {
1517
+ values: ['auto', 'none']
1518
+ },
1519
+ '-ms-flex-align': {
1520
+ values: ['baseline', 'center', 'end', 'start', 'stretch']
1521
+ },
1522
+ '-ms-flex-direction': {
1523
+ values: ['column', 'column-reverse', 'row', 'row-reverse']
1524
+ },
1525
+ '-ms-flex-flow': {
1526
+ values: [
1527
+ 'column',
1528
+ 'column-reverse',
1529
+ 'nowrap',
1530
+ 'row',
1531
+ 'wrap',
1532
+ 'wrap-reverse'
1533
+ ]
1534
+ },
1535
+ '-ms-flex-item-align': {
1536
+ values: ['auto', 'baseline', 'center', 'end', 'start', 'stretch']
1537
+ },
1538
+ '-ms-flex-line-pack': {
1539
+ values: ['center', 'distribute', 'end', 'justify', 'start', 'stretch']
1540
+ },
1541
+ '-ms-flex-order': {},
1542
+ '-ms-flex-pack': {
1543
+ values: ['center', 'distribute', 'end', 'justify', 'start']
1544
+ },
1545
+ '-ms-flex-wrap': {
1546
+ values: ['nowrap', 'wrap', 'wrap-reverse']
1547
+ },
1548
+ '-ms-flow-from': {
1549
+ values: ['none']
1550
+ },
1551
+ '-ms-flow-into': {
1552
+ values: ['none']
1553
+ },
1554
+ '-ms-grid-column': {
1555
+ values: ['auto', 'end', 'start']
1556
+ },
1557
+ '-ms-grid-column-align': {
1558
+ values: ['center', 'end', 'start', 'stretch']
1559
+ },
1560
+ '-ms-grid-columns': {},
1561
+ '-ms-grid-column-span': {},
1562
+ '-ms-grid-layer': {},
1563
+ '-ms-grid-row': {
1564
+ values: ['auto', 'end', 'start']
1565
+ },
1566
+ '-ms-grid-row-align': {
1567
+ values: ['center', 'end', 'start', 'stretch']
1568
+ },
1569
+ '-ms-grid-rows': {},
1570
+ '-ms-grid-row-span': {},
1571
+ '-ms-high-contrast-adjust': {
1572
+ values: ['auto', 'none']
1573
+ },
1574
+ '-ms-hyphenate-limit-chars': {
1575
+ values: ['auto']
1576
+ },
1577
+ '-ms-hyphenate-limit-lines': {
1578
+ values: ['no-limit']
1579
+ },
1580
+ '-ms-hyphenate-limit-zone': {},
1581
+ '-ms-hyphens': {
1582
+ values: ['auto', 'manual', 'none']
1583
+ },
1584
+ '-ms-ime-mode': {
1585
+ values: ['active', 'auto', 'disabled', 'inactive', 'normal']
1586
+ },
1587
+ '-ms-interpolation-mode': {
1588
+ values: ['bicubic', 'nearest-neighbor']
1589
+ },
1590
+ '-ms-layout-grid': {
1591
+ values: ['char', 'line', 'mode', 'type']
1592
+ },
1593
+ '-ms-layout-grid-char': {
1594
+ values: ['auto', 'none']
1595
+ },
1596
+ '-ms-layout-grid-line': {
1597
+ values: ['auto', 'none']
1598
+ },
1599
+ '-ms-layout-grid-mode': {
1600
+ values: ['both', 'char', 'line', 'none']
1601
+ },
1602
+ '-ms-layout-grid-type': {
1603
+ values: ['fixed', 'loose', 'strict']
1604
+ },
1605
+ '-ms-line-break': {
1606
+ values: ['auto', 'keep-all', 'newspaper', 'normal', 'strict']
1607
+ },
1608
+ '-ms-overflow-style': {
1609
+ values: ['auto', '-ms-autohiding-scrollbar', 'none', 'scrollbar']
1610
+ },
1611
+ '-ms-perspective': {
1612
+ values: ['none']
1613
+ },
1614
+ '-ms-perspective-origin': {},
1615
+ '-ms-perspective-origin-x': {},
1616
+ '-ms-perspective-origin-y': {},
1617
+ '-ms-progress-appearance': {
1618
+ values: ['bar', 'ring']
1619
+ },
1620
+ '-ms-scrollbar-3dlight-color': {},
1621
+ '-ms-scrollbar-arrow-color': {},
1622
+ '-ms-scrollbar-base-color': {},
1623
+ '-ms-scrollbar-darkshadow-color': {},
1624
+ '-ms-scrollbar-face-color': {},
1625
+ '-ms-scrollbar-highlight-color': {},
1626
+ '-ms-scrollbar-shadow-color': {},
1627
+ '-ms-scrollbar-track-color': {},
1628
+ '-ms-scroll-chaining': {
1629
+ values: ['chained', 'none']
1630
+ },
1631
+ '-ms-scroll-limit': {
1632
+ values: ['auto']
1633
+ },
1634
+ '-ms-scroll-limit-x-max': {
1635
+ values: ['auto']
1636
+ },
1637
+ '-ms-scroll-limit-x-min': {},
1638
+ '-ms-scroll-limit-y-max': {
1639
+ values: ['auto']
1640
+ },
1641
+ '-ms-scroll-limit-y-min': {},
1642
+ '-ms-scroll-rails': {
1643
+ values: ['none', 'railed']
1644
+ },
1645
+ '-ms-scroll-snap-points-x': {
1646
+ values: ['snapInterval(100%, 100%)', 'snapList()']
1647
+ },
1648
+ '-ms-scroll-snap-points-y': {
1649
+ values: ['snapInterval(100%, 100%)', 'snapList()']
1650
+ },
1651
+ '-ms-scroll-snap-type': {
1652
+ values: ['none', 'mandatory', 'proximity']
1653
+ },
1654
+ '-ms-scroll-snap-x': {
1655
+ values: [
1656
+ 'mandatory',
1657
+ 'none',
1658
+ 'proximity',
1659
+ 'snapInterval(100%, 100%)',
1660
+ 'snapList()'
1661
+ ]
1662
+ },
1663
+ '-ms-scroll-snap-y': {
1664
+ values: [
1665
+ 'mandatory',
1666
+ 'none',
1667
+ 'proximity',
1668
+ 'snapInterval(100%, 100%)',
1669
+ 'snapList()'
1670
+ ]
1671
+ },
1672
+ '-ms-scroll-translation': {
1673
+ values: ['none', 'vertical-to-horizontal']
1674
+ },
1675
+ '-ms-text-align-last': {
1676
+ values: ['auto', 'center', 'justify', 'left', 'right']
1677
+ },
1678
+ '-ms-text-autospace': {
1679
+ values: [
1680
+ 'ideograph-alpha',
1681
+ 'ideograph-numeric',
1682
+ 'ideograph-parenthesis',
1683
+ 'ideograph-space',
1684
+ 'none',
1685
+ 'punctuation'
1686
+ ]
1687
+ },
1688
+ '-ms-text-combine-horizontal': {
1689
+ values: ['all', 'digits', 'none']
1690
+ },
1691
+ '-ms-text-justify': {
1692
+ values: [
1693
+ 'auto',
1694
+ 'distribute',
1695
+ 'inter-cluster',
1696
+ 'inter-ideograph',
1697
+ 'inter-word',
1698
+ 'kashida'
1699
+ ]
1700
+ },
1701
+ '-ms-text-kashida-space': {},
1702
+ '-ms-text-overflow': {
1703
+ values: ['clip', 'ellipsis']
1704
+ },
1705
+ '-ms-text-size-adjust': {
1706
+ values: ['auto', 'none']
1707
+ },
1708
+ '-ms-text-underline-position': {
1709
+ values: ['alphabetic', 'auto', 'over', 'under']
1710
+ },
1711
+ '-ms-touch-action': {
1712
+ values: [
1713
+ 'auto',
1714
+ 'double-tap-zoom',
1715
+ 'manipulation',
1716
+ 'none',
1717
+ 'pan-x',
1718
+ 'pan-y',
1719
+ 'pinch-zoom'
1720
+ ]
1721
+ },
1722
+ '-ms-touch-select': {
1723
+ values: ['grippers', 'none']
1724
+ },
1725
+ '-ms-transform': {
1726
+ values: [
1727
+ 'matrix()',
1728
+ 'matrix3d()',
1729
+ 'none',
1730
+ 'rotate()',
1731
+ 'rotate3d()',
1732
+ "rotateX('angle')",
1733
+ "rotateY('angle')",
1734
+ "rotateZ('angle')",
1735
+ 'scale()',
1736
+ 'scale3d()',
1737
+ 'scaleX()',
1738
+ 'scaleY()',
1739
+ 'scaleZ()',
1740
+ 'skew()',
1741
+ 'skewX()',
1742
+ 'skewY()',
1743
+ 'translate()',
1744
+ 'translate3d()',
1745
+ 'translateX()',
1746
+ 'translateY()',
1747
+ 'translateZ()'
1748
+ ]
1749
+ },
1750
+ '-ms-transform-origin': {},
1751
+ '-ms-transform-origin-x': {},
1752
+ '-ms-transform-origin-y': {},
1753
+ '-ms-transform-origin-z': {},
1754
+ '-ms-user-select': {
1755
+ values: ['element', 'none', 'text']
1756
+ },
1757
+ '-ms-word-break': {
1758
+ values: ['break-all', 'keep-all', 'normal']
1759
+ },
1760
+ '-ms-word-wrap': {
1761
+ values: ['break-word', 'normal']
1762
+ },
1763
+ '-ms-wrap-flow': {
1764
+ values: ['auto', 'both', 'clear', 'end', 'maximum', 'minimum', 'start']
1765
+ },
1766
+ '-ms-wrap-margin': {},
1767
+ '-ms-wrap-through': {
1768
+ values: ['none', 'wrap']
1769
+ },
1770
+ '-ms-writing-mode': {
1771
+ values: [
1772
+ 'bt-lr',
1773
+ 'bt-rl',
1774
+ 'lr-bt',
1775
+ 'lr-tb',
1776
+ 'rl-bt',
1777
+ 'rl-tb',
1778
+ 'tb-lr',
1779
+ 'tb-rl'
1780
+ ]
1781
+ },
1782
+ '-ms-zoom': {
1783
+ values: ['normal']
1784
+ },
1785
+ '-ms-zoom-animation': {
1786
+ values: ['default', 'none']
1787
+ },
1788
+ 'nav-down': {
1789
+ values: ['auto', 'current', 'root']
1790
+ },
1791
+ 'nav-index': {
1792
+ values: ['auto']
1793
+ },
1794
+ 'nav-left': {
1795
+ values: ['auto', 'current', 'root']
1796
+ },
1797
+ 'nav-right': {
1798
+ values: ['auto', 'current', 'root']
1799
+ },
1800
+ 'nav-up': {
1801
+ values: ['auto', 'current', 'root']
1802
+ },
1803
+ 'negative': {},
1804
+ '-o-animation': {
1805
+ values: [
1806
+ 'alternate',
1807
+ 'alternate-reverse',
1808
+ 'backwards',
1809
+ 'both',
1810
+ 'forwards',
1811
+ 'infinite',
1812
+ 'none',
1813
+ 'normal',
1814
+ 'reverse'
1815
+ ]
1816
+ },
1817
+ '-o-animation-delay': {},
1818
+ '-o-animation-direction': {
1819
+ values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
1820
+ },
1821
+ '-o-animation-duration': {},
1822
+ '-o-animation-fill-mode': {
1823
+ values: ['backwards', 'both', 'forwards', 'none']
1824
+ },
1825
+ '-o-animation-iteration-count': {
1826
+ values: ['infinite']
1827
+ },
1828
+ '-o-animation-name': {
1829
+ values: ['none']
1830
+ },
1831
+ '-o-animation-play-state': {
1832
+ values: ['paused', 'running']
1833
+ },
1834
+ '-o-animation-timing-function': {},
1835
+ 'object-fit': {
1836
+ values: ['contain', 'cover', 'fill', 'none', 'scale-down']
1837
+ },
1838
+ 'object-position': {},
1839
+ '-o-border-image': {
1840
+ values: ['auto', 'fill', 'none', 'repeat', 'round', 'space', 'stretch']
1841
+ },
1842
+ '-o-object-fit': {
1843
+ values: ['contain', 'cover', 'fill', 'none', 'scale-down']
1844
+ },
1845
+ '-o-object-position': {},
1846
+ 'opacity': {},
1847
+ 'order': {},
1848
+ 'orphans': {},
1849
+ '-o-table-baseline': {},
1850
+ '-o-tab-size': {},
1851
+ '-o-text-overflow': {
1852
+ values: ['clip', 'ellipsis']
1853
+ },
1854
+ '-o-transform': {
1855
+ values: [
1856
+ 'matrix()',
1857
+ 'matrix3d()',
1858
+ 'none',
1859
+ 'rotate()',
1860
+ 'rotate3d()',
1861
+ "rotateX('angle')",
1862
+ "rotateY('angle')",
1863
+ "rotateZ('angle')",
1864
+ 'scale()',
1865
+ 'scale3d()',
1866
+ 'scaleX()',
1867
+ 'scaleY()',
1868
+ 'scaleZ()',
1869
+ 'skew()',
1870
+ 'skewX()',
1871
+ 'skewY()',
1872
+ 'translate()',
1873
+ 'translate3d()',
1874
+ 'translateX()',
1875
+ 'translateY()',
1876
+ 'translateZ()'
1877
+ ]
1878
+ },
1879
+ '-o-transform-origin': {},
1880
+ '-o-transition': {
1881
+ values: ['all', 'none']
1882
+ },
1883
+ '-o-transition-delay': {},
1884
+ '-o-transition-duration': {},
1885
+ '-o-transition-property': {
1886
+ values: ['all', 'none']
1887
+ },
1888
+ '-o-transition-timing-function': {},
1889
+ 'offset-block-end': {
1890
+ values: ['auto']
1891
+ },
1892
+ 'offset-block-start': {
1893
+ values: ['auto']
1894
+ },
1895
+ 'offset-inline-end': {
1896
+ values: ['auto']
1897
+ },
1898
+ 'offset-inline-start': {
1899
+ values: ['auto']
1900
+ },
1901
+ 'outline': {
1902
+ values: ['auto', 'invert']
1903
+ },
1904
+ 'outline-color': {
1905
+ values: ['invert']
1906
+ },
1907
+ 'outline-offset': {},
1908
+ 'outline-style': {
1909
+ values: ['auto']
1910
+ },
1911
+ 'outline-width': {},
1912
+ 'overflow': {
1913
+ values: ['auto', 'hidden', '-moz-hidden-unscrollable', 'scroll', 'visible']
1914
+ },
1915
+ 'overflow-wrap': {
1916
+ values: ['break-word', 'normal']
1917
+ },
1918
+ 'overflow-x': {
1919
+ values: ['auto', 'hidden', 'scroll', 'visible']
1920
+ },
1921
+ 'overflow-y': {
1922
+ values: ['auto', 'hidden', 'scroll', 'visible']
1923
+ },
1924
+ 'pad': {},
1925
+ 'padding': {
1926
+ values: []
1927
+ },
1928
+ 'padding-bottom': {},
1929
+ 'padding-block-end': {},
1930
+ 'padding-block-start': {},
1931
+ 'padding-inline-end': {},
1932
+ 'padding-inline-start': {},
1933
+ 'padding-left': {},
1934
+ 'padding-right': {},
1935
+ 'padding-top': {},
1936
+ 'page-break-after': {
1937
+ values: ['always', 'auto', 'avoid', 'left', 'right']
1938
+ },
1939
+ 'page-break-before': {
1940
+ values: ['always', 'auto', 'avoid', 'left', 'right']
1941
+ },
1942
+ 'page-break-inside': {
1943
+ values: ['auto', 'avoid']
1944
+ },
1945
+ 'paint-order': {
1946
+ values: ['fill', 'markers', 'normal', 'stroke']
1947
+ },
1948
+ 'perspective': {
1949
+ values: ['none']
1950
+ },
1951
+ 'perspective-origin': {},
1952
+ 'pointer-events': {
1953
+ values: [
1954
+ 'all',
1955
+ 'fill',
1956
+ 'none',
1957
+ 'painted',
1958
+ 'stroke',
1959
+ 'visible',
1960
+ 'visibleFill',
1961
+ 'visiblePainted',
1962
+ 'visibleStroke'
1963
+ ]
1964
+ },
1965
+ 'position': {
1966
+ values: [
1967
+ 'absolute',
1968
+ 'fixed',
1969
+ '-ms-page',
1970
+ 'relative',
1971
+ 'static',
1972
+ 'sticky',
1973
+ '-webkit-sticky'
1974
+ ]
1975
+ },
1976
+ 'prefix': {},
1977
+ 'quotes': {
1978
+ values: ['none']
1979
+ },
1980
+ 'range': {
1981
+ values: ['auto', 'infinite']
1982
+ },
1983
+ 'resize': {
1984
+ values: ['both', 'horizontal', 'none', 'vertical']
1985
+ },
1986
+ 'right': {
1987
+ values: ['auto']
1988
+ },
1989
+ 'ruby-align': {
1990
+ values: [
1991
+ 'auto',
1992
+ 'center',
1993
+ 'distribute-letter',
1994
+ 'distribute-space',
1995
+ 'left',
1996
+ 'line-edge',
1997
+ 'right',
1998
+ 'start',
1999
+ 'space-between',
2000
+ 'space-around'
2001
+ ]
2002
+ },
2003
+ 'ruby-overhang': {
2004
+ values: ['auto', 'end', 'none', 'start']
2005
+ },
2006
+ 'ruby-position': {
2007
+ values: ['after', 'before', 'inline', 'right']
2008
+ },
2009
+ 'ruby-span': {
2010
+ values: ['attr(x)', 'none']
2011
+ },
2012
+ 'scrollbar-3dlight-color': {},
2013
+ 'scrollbar-arrow-color': {},
2014
+ 'scrollbar-base-color': {},
2015
+ 'scrollbar-darkshadow-color': {},
2016
+ 'scrollbar-face-color': {},
2017
+ 'scrollbar-highlight-color': {},
2018
+ 'scrollbar-shadow-color': {},
2019
+ 'scrollbar-track-color': {},
2020
+ 'scroll-behavior': {
2021
+ values: ['auto', 'smooth']
2022
+ },
2023
+ 'scroll-snap-coordinate': {
2024
+ values: ['none']
2025
+ },
2026
+ 'scroll-snap-destination': {},
2027
+ 'scroll-snap-points-x': {
2028
+ values: ['none', 'repeat()']
2029
+ },
2030
+ 'scroll-snap-points-y': {
2031
+ values: ['none', 'repeat()']
2032
+ },
2033
+ 'scroll-snap-type': {
2034
+ values: ['none', 'mandatory', 'proximity']
2035
+ },
2036
+ 'shape-image-threshold': {},
2037
+ 'shape-margin': {},
2038
+ 'shape-outside': {
2039
+ values: ['margin-box', 'none']
2040
+ },
2041
+ 'shape-rendering': {
2042
+ values: ['auto', 'crispEdges', 'geometricPrecision', 'optimizeSpeed']
2043
+ },
2044
+ 'size': {},
2045
+ 'src': {
2046
+ values: ['url()', 'format()', 'local()']
2047
+ },
2048
+ 'stop-color': {},
2049
+ 'stop-opacity': {},
2050
+ 'stroke': {
2051
+ values: ['url()', 'none']
2052
+ },
2053
+ 'stroke-dasharray': {
2054
+ values: ['none']
2055
+ },
2056
+ 'stroke-dashoffset': {},
2057
+ 'stroke-linecap': {
2058
+ values: ['butt', 'round', 'square']
2059
+ },
2060
+ 'stroke-linejoin': {
2061
+ values: ['bevel', 'miter', 'round']
2062
+ },
2063
+ 'stroke-miterlimit': {},
2064
+ 'stroke-opacity': {},
2065
+ 'stroke-width': {},
2066
+ 'suffix': {},
2067
+ 'system': {
2068
+ values: [
2069
+ 'additive',
2070
+ 'alphabetic',
2071
+ 'cyclic',
2072
+ 'extends',
2073
+ 'fixed',
2074
+ 'numeric',
2075
+ 'symbolic'
2076
+ ]
2077
+ },
2078
+ 'symbols': {},
2079
+ 'table-layout': {
2080
+ values: ['auto', 'fixed']
2081
+ },
2082
+ 'tab-size': {},
2083
+ 'text-align': {
2084
+ values: ['center', 'end', 'justify', 'left', 'right', 'start']
2085
+ },
2086
+ 'text-align-last': {
2087
+ values: ['auto', 'center', 'justify', 'left', 'right']
2088
+ },
2089
+ 'text-anchor': {
2090
+ values: ['end', 'middle', 'start']
2091
+ },
2092
+ 'text-decoration': {
2093
+ values: [
2094
+ 'dashed',
2095
+ 'dotted',
2096
+ 'double',
2097
+ 'line-through',
2098
+ 'none',
2099
+ 'overline',
2100
+ 'solid',
2101
+ 'underline',
2102
+ 'wavy'
2103
+ ]
2104
+ },
2105
+ 'text-decoration-color': {},
2106
+ 'text-decoration-line': {
2107
+ values: ['line-through', 'none', 'overline', 'underline']
2108
+ },
2109
+ 'text-decoration-style': {
2110
+ values: ['dashed', 'dotted', 'double', 'none', 'solid', 'wavy']
2111
+ },
2112
+ 'text-indent': {
2113
+ values: []
2114
+ },
2115
+ 'text-justify': {
2116
+ values: [
2117
+ 'auto',
2118
+ 'distribute',
2119
+ 'distribute-all-lines',
2120
+ 'inter-cluster',
2121
+ 'inter-ideograph',
2122
+ 'inter-word',
2123
+ 'kashida',
2124
+ 'newspaper'
2125
+ ]
2126
+ },
2127
+ 'text-orientation': {
2128
+ values: ['sideways', 'sideways-right', 'upright']
2129
+ },
2130
+ 'text-overflow': {
2131
+ values: ['clip', 'ellipsis']
2132
+ },
2133
+ 'text-rendering': {
2134
+ values: [
2135
+ 'auto',
2136
+ 'geometricPrecision',
2137
+ 'optimizeLegibility',
2138
+ 'optimizeSpeed'
2139
+ ]
2140
+ },
2141
+ 'text-shadow': {
2142
+ values: ['none']
2143
+ },
2144
+ 'text-transform': {
2145
+ values: ['capitalize', 'lowercase', 'none', 'uppercase']
2146
+ },
2147
+ 'text-underline-position': {
2148
+ values: ['above', 'auto', 'below']
2149
+ },
2150
+ 'top': {
2151
+ values: ['auto']
2152
+ },
2153
+ 'touch-action': {
2154
+ values: [
2155
+ 'auto',
2156
+ 'cross-slide-x',
2157
+ 'cross-slide-y',
2158
+ 'double-tap-zoom',
2159
+ 'manipulation',
2160
+ 'none',
2161
+ 'pan-x',
2162
+ 'pan-y',
2163
+ 'pinch-zoom'
2164
+ ]
2165
+ },
2166
+ 'transform': {
2167
+ values: [
2168
+ 'matrix()',
2169
+ 'matrix3d()',
2170
+ 'none',
2171
+ 'perspective()',
2172
+ 'rotate()',
2173
+ 'rotate3d()',
2174
+ "rotateX('angle')",
2175
+ "rotateY('angle')",
2176
+ "rotateZ('angle')",
2177
+ 'scale()',
2178
+ 'scale3d()',
2179
+ 'scaleX()',
2180
+ 'scaleY()',
2181
+ 'scaleZ()',
2182
+ 'skew()',
2183
+ 'skewX()',
2184
+ 'skewY()',
2185
+ 'translate()',
2186
+ 'translate3d()',
2187
+ 'translateX()',
2188
+ 'translateY()',
2189
+ 'translateZ()'
2190
+ ]
2191
+ },
2192
+ 'transform-origin': {},
2193
+ 'transform-style': {
2194
+ values: ['flat', 'preserve-3d']
2195
+ },
2196
+ 'transition': {
2197
+ values: ['all', 'none']
2198
+ },
2199
+ 'transition-delay': {},
2200
+ 'transition-duration': {},
2201
+ 'transition-property': {
2202
+ values: ['all', 'none']
2203
+ },
2204
+ 'transition-timing-function': {},
2205
+ 'unicode-bidi': {
2206
+ values: [
2207
+ 'bidi-override',
2208
+ 'embed',
2209
+ 'isolate',
2210
+ 'isolate-override',
2211
+ 'normal',
2212
+ 'plaintext'
2213
+ ]
2214
+ },
2215
+ 'unicode-range': {
2216
+ values: [
2217
+ 'U+26',
2218
+ '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',
2219
+ 'U+20-17F, U+2B0-2FF, U+2000-206F, U+20A0-20CF, U+2100-21FF, U+2600-26FF',
2220
+ 'U+20-2FF, U+370-4FF, U+1E00-20CF, U+2100-23FF, U+2500-26FF, U+FB00-FB4F, U+FFF0-FFFD',
2221
+ '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',
2222
+ 'U+00-7F',
2223
+ 'U+80-FF',
2224
+ 'U+100-17F',
2225
+ 'U+180-24F',
2226
+ 'U+1E00-1EFF',
2227
+ 'U+250-2AF',
2228
+ 'U+370-3FF',
2229
+ 'U+1F00-1FFF',
2230
+ 'U+400-4FF',
2231
+ 'U+500-52F',
2232
+ 'U+00-52F, U+1E00-1FFF, U+2200-22FF',
2233
+ 'U+530-58F',
2234
+ 'U+590-5FF',
2235
+ 'U+600-6FF',
2236
+ 'U+750-77F',
2237
+ 'U+8A0-8FF',
2238
+ 'U+700-74F',
2239
+ 'U+900-97F',
2240
+ 'U+980-9FF',
2241
+ 'U+A00-A7F',
2242
+ 'U+A80-AFF',
2243
+ 'U+B00-B7F',
2244
+ 'U+B80-BFF',
2245
+ 'U+C00-C7F',
2246
+ 'U+C80-CFF',
2247
+ 'U+D00-D7F',
2248
+ 'U+D80-DFF',
2249
+ 'U+118A0-118FF',
2250
+ 'U+E00-E7F',
2251
+ 'U+1A20-1AAF',
2252
+ 'U+AA80-AADF',
2253
+ 'U+E80-EFF',
2254
+ 'U+F00-FFF',
2255
+ 'U+1000-109F',
2256
+ 'U+10A0-10FF',
2257
+ 'U+1200-137F',
2258
+ 'U+1380-139F',
2259
+ 'U+2D80-2DDF',
2260
+ 'U+AB00-AB2F',
2261
+ 'U+1780-17FF',
2262
+ 'U+1800-18AF',
2263
+ 'U+1B80-1BBF',
2264
+ 'U+1CC0-1CCF',
2265
+ 'U+4E00-9FD5',
2266
+ 'U+3400-4DB5',
2267
+ 'U+2F00-2FDF',
2268
+ 'U+2E80-2EFF',
2269
+ 'U+1100-11FF',
2270
+ 'U+AC00-D7AF',
2271
+ 'U+3040-309F',
2272
+ 'U+30A0-30FF',
2273
+ 'U+A5, U+4E00-9FFF, U+30??, U+FF00-FF9F',
2274
+ 'U+A4D0-A4FF',
2275
+ 'U+A000-A48F',
2276
+ 'U+A490-A4CF',
2277
+ 'U+2000-206F',
2278
+ 'U+3000-303F',
2279
+ 'U+2070-209F',
2280
+ 'U+20A0-20CF',
2281
+ 'U+2100-214F',
2282
+ 'U+2150-218F',
2283
+ 'U+2190-21FF',
2284
+ 'U+2200-22FF',
2285
+ 'U+2300-23FF',
2286
+ 'U+E000-F8FF',
2287
+ 'U+FB00-FB4F',
2288
+ 'U+FB50-FDFF',
2289
+ 'U+1F600-1F64F',
2290
+ 'U+2600-26FF',
2291
+ 'U+1F300-1F5FF',
2292
+ 'U+1F900-1F9FF',
2293
+ 'U+1F680-1F6FF'
2294
+ ]
2295
+ },
2296
+ 'user-select': {
2297
+ values: ['all', 'auto', 'contain', 'none', 'text']
2298
+ },
2299
+ 'vertical-align': {
2300
+ values: [
2301
+ 'auto',
2302
+ 'baseline',
2303
+ 'bottom',
2304
+ 'middle',
2305
+ 'sub',
2306
+ 'super',
2307
+ 'text-bottom',
2308
+ 'text-top',
2309
+ 'top',
2310
+ '-webkit-baseline-middle'
2311
+ ]
2312
+ },
2313
+ 'visibility': {
2314
+ values: ['collapse', 'hidden', 'visible']
2315
+ },
2316
+ '-webkit-animation': {
2317
+ values: [
2318
+ 'alternate',
2319
+ 'alternate-reverse',
2320
+ 'backwards',
2321
+ 'both',
2322
+ 'forwards',
2323
+ 'infinite',
2324
+ 'none',
2325
+ 'normal',
2326
+ 'reverse'
2327
+ ]
2328
+ },
2329
+ '-webkit-animation-delay': {},
2330
+ '-webkit-animation-direction': {
2331
+ values: ['alternate', 'alternate-reverse', 'normal', 'reverse']
2332
+ },
2333
+ '-webkit-animation-duration': {},
2334
+ '-webkit-animation-fill-mode': {
2335
+ values: ['backwards', 'both', 'forwards', 'none']
2336
+ },
2337
+ '-webkit-animation-iteration-count': {
2338
+ values: ['infinite']
2339
+ },
2340
+ '-webkit-animation-name': {
2341
+ values: ['none']
2342
+ },
2343
+ '-webkit-animation-play-state': {
2344
+ values: ['paused', 'running']
2345
+ },
2346
+ '-webkit-animation-timing-function': {},
2347
+ '-webkit-appearance': {
2348
+ values: [
2349
+ 'button',
2350
+ 'button-bevel',
2351
+ 'caps-lock-indicator',
2352
+ 'caret',
2353
+ 'checkbox',
2354
+ 'default-button',
2355
+ 'listbox',
2356
+ 'listitem',
2357
+ 'media-fullscreen-button',
2358
+ 'media-mute-button',
2359
+ 'media-play-button',
2360
+ 'media-seek-back-button',
2361
+ 'media-seek-forward-button',
2362
+ 'media-slider',
2363
+ 'media-sliderthumb',
2364
+ 'menulist',
2365
+ 'menulist-button',
2366
+ 'menulist-text',
2367
+ 'menulist-textfield',
2368
+ 'none',
2369
+ 'push-button',
2370
+ 'radio',
2371
+ 'scrollbarbutton-down',
2372
+ 'scrollbarbutton-left',
2373
+ 'scrollbarbutton-right',
2374
+ 'scrollbarbutton-up',
2375
+ 'scrollbargripper-horizontal',
2376
+ 'scrollbargripper-vertical',
2377
+ 'scrollbarthumb-horizontal',
2378
+ 'scrollbarthumb-vertical',
2379
+ 'scrollbartrack-horizontal',
2380
+ 'scrollbartrack-vertical',
2381
+ 'searchfield',
2382
+ 'searchfield-cancel-button',
2383
+ 'searchfield-decoration',
2384
+ 'searchfield-results-button',
2385
+ 'searchfield-results-decoration',
2386
+ 'slider-horizontal',
2387
+ 'sliderthumb-horizontal',
2388
+ 'sliderthumb-vertical',
2389
+ 'slider-vertical',
2390
+ 'square-button',
2391
+ 'textarea',
2392
+ 'textfield'
2393
+ ]
2394
+ },
2395
+ '-webkit-backdrop-filter': {
2396
+ values: [
2397
+ 'none',
2398
+ 'blur()',
2399
+ 'brightness()',
2400
+ 'contrast()',
2401
+ 'drop-shadow()',
2402
+ 'grayscale()',
2403
+ 'hue-rotate()',
2404
+ 'invert()',
2405
+ 'opacity()',
2406
+ 'saturate()',
2407
+ 'sepia()',
2408
+ 'url()'
2409
+ ]
2410
+ },
2411
+ '-webkit-backface-visibility': {
2412
+ values: ['hidden', 'visible']
2413
+ },
2414
+ '-webkit-background-clip': {},
2415
+ '-webkit-background-composite': {
2416
+ values: ['border', 'padding']
2417
+ },
2418
+ '-webkit-background-origin': {},
2419
+ '-webkit-border-image': {
2420
+ values: [
2421
+ 'auto',
2422
+ 'fill',
2423
+ 'none',
2424
+ 'repeat',
2425
+ 'round',
2426
+ 'space',
2427
+ 'stretch',
2428
+ 'url()'
2429
+ ]
2430
+ },
2431
+ '-webkit-box-align': {
2432
+ values: ['baseline', 'center', 'end', 'start', 'stretch']
2433
+ },
2434
+ '-webkit-box-direction': {
2435
+ values: ['normal', 'reverse']
2436
+ },
2437
+ '-webkit-box-flex': {},
2438
+ '-webkit-box-flex-group': {},
2439
+ '-webkit-box-ordinal-group': {},
2440
+ '-webkit-box-orient': {
2441
+ values: ['block-axis', 'horizontal', 'inline-axis', 'vertical']
2442
+ },
2443
+ '-webkit-box-pack': {
2444
+ values: ['center', 'end', 'justify', 'start']
2445
+ },
2446
+ '-webkit-box-reflect': {
2447
+ values: ['above', 'below', 'left', 'right']
2448
+ },
2449
+ '-webkit-box-sizing': {
2450
+ values: ['border-box', 'content-box']
2451
+ },
2452
+ '-webkit-break-after': {
2453
+ values: [
2454
+ 'always',
2455
+ 'auto',
2456
+ 'avoid',
2457
+ 'avoid-column',
2458
+ 'avoid-page',
2459
+ 'avoid-region',
2460
+ 'column',
2461
+ 'left',
2462
+ 'page',
2463
+ 'region',
2464
+ 'right'
2465
+ ]
2466
+ },
2467
+ '-webkit-break-before': {
2468
+ values: [
2469
+ 'always',
2470
+ 'auto',
2471
+ 'avoid',
2472
+ 'avoid-column',
2473
+ 'avoid-page',
2474
+ 'avoid-region',
2475
+ 'column',
2476
+ 'left',
2477
+ 'page',
2478
+ 'region',
2479
+ 'right'
2480
+ ]
2481
+ },
2482
+ '-webkit-break-inside': {
2483
+ values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region']
2484
+ },
2485
+ '-webkit-column-break-after': {
2486
+ values: [
2487
+ 'always',
2488
+ 'auto',
2489
+ 'avoid',
2490
+ 'avoid-column',
2491
+ 'avoid-page',
2492
+ 'avoid-region',
2493
+ 'column',
2494
+ 'left',
2495
+ 'page',
2496
+ 'region',
2497
+ 'right'
2498
+ ]
2499
+ },
2500
+ '-webkit-column-break-before': {
2501
+ values: [
2502
+ 'always',
2503
+ 'auto',
2504
+ 'avoid',
2505
+ 'avoid-column',
2506
+ 'avoid-page',
2507
+ 'avoid-region',
2508
+ 'column',
2509
+ 'left',
2510
+ 'page',
2511
+ 'region',
2512
+ 'right'
2513
+ ]
2514
+ },
2515
+ '-webkit-column-break-inside': {
2516
+ values: ['auto', 'avoid', 'avoid-column', 'avoid-page', 'avoid-region']
2517
+ },
2518
+ '-webkit-column-count': {
2519
+ values: ['auto']
2520
+ },
2521
+ '-webkit-column-gap': {
2522
+ values: ['normal']
2523
+ },
2524
+ '-webkit-column-rule': {},
2525
+ '-webkit-column-rule-color': {},
2526
+ '-webkit-column-rule-style': {},
2527
+ '-webkit-column-rule-width': {},
2528
+ '-webkit-columns': {
2529
+ values: ['auto']
2530
+ },
2531
+ '-webkit-column-span': {
2532
+ values: ['all', 'none']
2533
+ },
2534
+ '-webkit-column-width': {
2535
+ values: ['auto']
2536
+ },
2537
+ '-webkit-filter': {
2538
+ values: [
2539
+ 'none',
2540
+ 'blur()',
2541
+ 'brightness()',
2542
+ 'contrast()',
2543
+ 'drop-shadow()',
2544
+ 'grayscale()',
2545
+ 'hue-rotate()',
2546
+ 'invert()',
2547
+ 'opacity()',
2548
+ 'saturate()',
2549
+ 'sepia()',
2550
+ 'url()'
2551
+ ]
2552
+ },
2553
+ '-webkit-flow-from': {
2554
+ values: ['none']
2555
+ },
2556
+ '-webkit-flow-into': {
2557
+ values: ['none']
2558
+ },
2559
+ '-webkit-font-feature-settings': {
2560
+ values: [
2561
+ '"c2cs"',
2562
+ '"dlig"',
2563
+ '"kern"',
2564
+ '"liga"',
2565
+ '"lnum"',
2566
+ '"onum"',
2567
+ '"smcp"',
2568
+ '"swsh"',
2569
+ '"tnum"',
2570
+ 'normal',
2571
+ 'off',
2572
+ 'on'
2573
+ ]
2574
+ },
2575
+ '-webkit-hyphens': {
2576
+ values: ['auto', 'manual', 'none']
2577
+ },
2578
+ '-webkit-line-break': {
2579
+ values: ['after-white-space', 'normal']
2580
+ },
2581
+ '-webkit-margin-bottom-collapse': {
2582
+ values: ['collapse', 'discard', 'separate']
2583
+ },
2584
+ '-webkit-margin-collapse': {
2585
+ values: ['collapse', 'discard', 'separate']
2586
+ },
2587
+ '-webkit-margin-start': {
2588
+ values: ['auto']
2589
+ },
2590
+ '-webkit-margin-top-collapse': {
2591
+ values: ['collapse', 'discard', 'separate']
2592
+ },
2593
+ '-webkit-mask-clip': {},
2594
+ '-webkit-mask-image': {
2595
+ values: ['none', 'url()']
2596
+ },
2597
+ '-webkit-mask-origin': {},
2598
+ '-webkit-mask-repeat': {},
2599
+ '-webkit-mask-size': {
2600
+ values: ['auto', 'contain', 'cover']
2601
+ },
2602
+ '-webkit-nbsp-mode': {
2603
+ values: ['normal', 'space']
2604
+ },
2605
+ '-webkit-overflow-scrolling': {
2606
+ values: ['auto', 'touch']
2607
+ },
2608
+ '-webkit-padding-start': {},
2609
+ '-webkit-perspective': {
2610
+ values: ['none']
2611
+ },
2612
+ '-webkit-perspective-origin': {},
2613
+ '-webkit-region-fragment': {
2614
+ values: ['auto', 'break']
2615
+ },
2616
+ '-webkit-tap-highlight-color': {},
2617
+ '-webkit-text-fill-color': {},
2618
+ '-webkit-text-size-adjust': {
2619
+ values: ['auto', 'none']
2620
+ },
2621
+ '-webkit-text-stroke': {},
2622
+ '-webkit-text-stroke-color': {},
2623
+ '-webkit-text-stroke-width': {},
2624
+ '-webkit-touch-callout': {
2625
+ values: ['none']
2626
+ },
2627
+ '-webkit-transform': {
2628
+ values: [
2629
+ 'matrix()',
2630
+ 'matrix3d()',
2631
+ 'none',
2632
+ 'perspective()',
2633
+ 'rotate()',
2634
+ 'rotate3d()',
2635
+ "rotateX('angle')",
2636
+ "rotateY('angle')",
2637
+ "rotateZ('angle')",
2638
+ 'scale()',
2639
+ 'scale3d()',
2640
+ 'scaleX()',
2641
+ 'scaleY()',
2642
+ 'scaleZ()',
2643
+ 'skew()',
2644
+ 'skewX()',
2645
+ 'skewY()',
2646
+ 'translate()',
2647
+ 'translate3d()',
2648
+ 'translateX()',
2649
+ 'translateY()',
2650
+ 'translateZ()'
2651
+ ]
2652
+ },
2653
+ '-webkit-transform-origin': {},
2654
+ '-webkit-transform-origin-x': {},
2655
+ '-webkit-transform-origin-y': {},
2656
+ '-webkit-transform-origin-z': {},
2657
+ '-webkit-transform-style': {
2658
+ values: ['flat']
2659
+ },
2660
+ '-webkit-transition': {
2661
+ values: ['all', 'none']
2662
+ },
2663
+ '-webkit-transition-delay': {},
2664
+ '-webkit-transition-duration': {},
2665
+ '-webkit-transition-property': {
2666
+ values: ['all', 'none']
2667
+ },
2668
+ '-webkit-transition-timing-function': {},
2669
+ '-webkit-user-drag': {
2670
+ values: ['auto', 'element', 'none']
2671
+ },
2672
+ '-webkit-user-modify': {
2673
+ values: ['read-only', 'read-write', 'read-write-plaintext-only']
2674
+ },
2675
+ '-webkit-user-select': {
2676
+ values: ['auto', 'none', 'text']
2677
+ },
2678
+ 'widows': {},
2679
+ 'width': {
2680
+ values: ['auto', 'fit-content', 'max-content', 'min-content']
2681
+ },
2682
+ 'will-change': {
2683
+ values: ['auto', 'contents', 'scroll-position']
2684
+ },
2685
+ 'word-break': {
2686
+ values: ['break-all', 'keep-all', 'normal']
2687
+ },
2688
+ 'word-spacing': {
2689
+ values: ['normal']
2690
+ },
2691
+ 'word-wrap': {
2692
+ values: ['break-word', 'normal']
2693
+ },
2694
+ 'writing-mode': {
2695
+ values: [
2696
+ 'horizontal-tb',
2697
+ 'sideways-lr',
2698
+ 'sideways-rl',
2699
+ 'vertical-lr',
2700
+ 'vertical-rl'
2701
+ ]
2702
+ },
2703
+ 'z-index': {
2704
+ values: ['auto']
2705
+ },
2706
+ 'zoom': {
2707
+ values: ['normal']
2708
+ },
2709
+ '-ms-ime-align': {
2710
+ values: ['auto', 'after']
2711
+ },
2712
+ '-moz-binding': {},
2713
+ '-moz-context-properties': {},
2714
+ '-moz-float-edge': {
2715
+ values: ['border-box', 'content-box', 'margin-box', 'padding-box']
2716
+ },
2717
+ '-moz-force-broken-image-icon': {
2718
+ values: ['0', '1']
2719
+ },
2720
+ '-moz-image-region': {},
2721
+ '-moz-orient': {
2722
+ values: ['inline', 'block', 'horizontal', 'vertical']
2723
+ },
2724
+ '-moz-outline-radius': {},
2725
+ '-moz-outline-radius-bottomleft': {},
2726
+ '-moz-outline-radius-bottomright': {},
2727
+ '-moz-outline-radius-topleft': {},
2728
+ '-moz-outline-radius-topright': {},
2729
+ '-moz-stack-sizing': {
2730
+ values: ['ignore', 'stretch-to-fit']
2731
+ },
2732
+ '-moz-text-blink': {
2733
+ values: ['none', 'blink']
2734
+ },
2735
+ '-moz-user-input': {
2736
+ values: ['auto', 'none', 'enabled', 'disabled']
2737
+ },
2738
+ '-moz-user-modify': {
2739
+ values: ['read-only', 'read-write', 'write-only']
2740
+ },
2741
+ '-moz-window-dragging': {
2742
+ values: ['drag', 'no-drag']
2743
+ },
2744
+ '-moz-window-shadow': {
2745
+ values: ['default', 'menu', 'tooltip', 'sheet', 'none']
2746
+ },
2747
+ '-webkit-border-before': {},
2748
+ '-webkit-border-before-color': {},
2749
+ '-webkit-border-before-style': {},
2750
+ '-webkit-border-before-width': {},
2751
+ '-webkit-line-clamp': {},
2752
+ '-webkit-mask': {},
2753
+ '-webkit-mask-attachment': {},
2754
+ '-webkit-mask-composite': {},
2755
+ '-webkit-mask-position': {},
2756
+ '-webkit-mask-position-x': {},
2757
+ '-webkit-mask-position-y': {},
2758
+ '-webkit-mask-repeat-x': {
2759
+ values: ['repeat', 'no-repeat', 'space', 'round']
2760
+ },
2761
+ '-webkit-mask-repeat-y': {
2762
+ values: ['repeat', 'no-repeat', 'space', 'round']
2763
+ },
2764
+ 'accent-color': {},
2765
+ 'align-tracks': {},
2766
+ 'animation-composition': {},
2767
+ 'animation-timeline': {},
2768
+ 'appearance': {},
2769
+ 'aspect-ratio': {},
2770
+ 'azimuth': {},
2771
+ 'backdrop-filter': {},
2772
+ 'border-block': {},
2773
+ 'border-block-color': {},
2774
+ 'border-block-style': {},
2775
+ 'border-block-width': {},
2776
+ 'border-end-end-radius': {},
2777
+ 'border-end-start-radius': {},
2778
+ 'border-inline': {},
2779
+ 'border-inline-color': {},
2780
+ 'border-inline-style': {},
2781
+ 'border-inline-width': {},
2782
+ 'border-start-end-radius': {},
2783
+ 'border-start-start-radius': {},
2784
+ 'box-align': {
2785
+ values: ['start', 'center', 'end', 'baseline', 'stretch']
2786
+ },
2787
+ 'box-direction': {
2788
+ values: ['normal', 'reverse', 'inherit']
2789
+ },
2790
+ 'box-flex': {},
2791
+ 'box-flex-group': {},
2792
+ 'box-lines': {
2793
+ values: ['single', 'multiple']
2794
+ },
2795
+ 'box-ordinal-group': {},
2796
+ 'box-orient': {
2797
+ values: ['horizontal', 'vertical', 'inline-axis', 'block-axis', 'inherit']
2798
+ },
2799
+ 'box-pack': {
2800
+ values: ['start', 'center', 'end', 'justify']
2801
+ },
2802
+ 'caret': {},
2803
+ 'caret-shape': {
2804
+ values: ['auto', 'bar', 'block', 'underscore']
2805
+ },
2806
+ 'print-color-adjust': {
2807
+ values: ['economy', 'exact']
2808
+ },
2809
+ 'color-scheme': {},
2810
+ 'contain-intrinsic-size': {},
2811
+ 'contain-intrinsic-block-size': {},
2812
+ 'contain-intrinsic-height': {},
2813
+ 'contain-intrinsic-inline-size': {},
2814
+ 'contain-intrinsic-width': {},
2815
+ 'content-visibility': {
2816
+ values: ['visible', 'auto', 'hidden']
2817
+ },
2818
+ 'counter-set': {},
2819
+ 'font-optical-sizing': {
2820
+ values: ['auto', 'none']
2821
+ },
2822
+ 'font-variation-settings': {},
2823
+ 'font-smooth': {},
2824
+ 'forced-color-adjust': {
2825
+ values: ['auto', 'none']
2826
+ },
2827
+ 'gap': {},
2828
+ 'hanging-punctuation': {},
2829
+ 'hyphenate-character': {},
2830
+ 'image-resolution': {},
2831
+ 'initial-letter': {},
2832
+ 'initial-letter-align': {},
2833
+ 'input-security': {
2834
+ values: ['auto', 'none']
2835
+ },
2836
+ 'inset': {},
2837
+ 'inset-block': {},
2838
+ 'inset-block-end': {},
2839
+ 'inset-block-start': {},
2840
+ 'inset-inline': {},
2841
+ 'inset-inline-end': {},
2842
+ 'inset-inline-start': {},
2843
+ 'justify-tracks': {},
2844
+ 'line-clamp': {},
2845
+ 'line-height-step': {},
2846
+ 'margin-block': {},
2847
+ 'margin-inline': {},
2848
+ 'margin-trim': {
2849
+ values: ['none', 'in-flow', 'all']
2850
+ },
2851
+ 'mask': {},
2852
+ 'mask-border': {},
2853
+ 'mask-border-mode': {
2854
+ values: ['luminance', 'alpha']
2855
+ },
2856
+ 'mask-border-outset': {},
2857
+ 'mask-border-repeat': {},
2858
+ 'mask-border-slice': {},
2859
+ 'mask-border-source': {},
2860
+ 'mask-border-width': {},
2861
+ 'mask-clip': {},
2862
+ 'mask-composite': {},
2863
+ 'masonry-auto-flow': {},
2864
+ 'math-depth': {},
2865
+ 'math-shift': {
2866
+ values: ['normal', 'compact']
2867
+ },
2868
+ 'math-style': {
2869
+ values: ['normal', 'compact']
2870
+ },
2871
+ 'max-lines': {},
2872
+ 'offset': {},
2873
+ 'offset-anchor': {},
2874
+ 'offset-distance': {},
2875
+ 'offset-path': {},
2876
+ 'offset-position': {},
2877
+ 'offset-rotate': {},
2878
+ 'overflow-anchor': {
2879
+ values: ['auto', 'none']
2880
+ },
2881
+ 'overflow-block': {
2882
+ values: ['visible', 'hidden', 'clip', 'scroll', 'auto']
2883
+ },
2884
+ 'overflow-clip-box': {
2885
+ values: ['padding-box', 'content-box']
2886
+ },
2887
+ 'overflow-clip-margin': {},
2888
+ 'overflow-inline': {
2889
+ values: ['visible', 'hidden', 'clip', 'scroll', 'auto']
2890
+ },
2891
+ 'overscroll-behavior': {},
2892
+ 'overscroll-behavior-block': {
2893
+ values: ['contain', 'none', 'auto']
2894
+ },
2895
+ 'overscroll-behavior-inline': {
2896
+ values: ['contain', 'none', 'auto']
2897
+ },
2898
+ 'overscroll-behavior-x': {
2899
+ values: ['contain', 'none', 'auto']
2900
+ },
2901
+ 'overscroll-behavior-y': {
2902
+ values: ['contain', 'none', 'auto']
2903
+ },
2904
+ 'padding-block': {},
2905
+ 'padding-inline': {},
2906
+ 'place-content': {},
2907
+ 'place-items': {},
2908
+ 'place-self': {},
2909
+ 'rotate': {},
2910
+ 'row-gap': {},
2911
+ 'ruby-merge': {
2912
+ values: ['separate', 'collapse', 'auto']
2913
+ },
2914
+ 'scale': {},
2915
+ 'scrollbar-color': {},
2916
+ 'scrollbar-gutter': {},
2917
+ 'scrollbar-width': {
2918
+ values: ['auto', 'thin', 'none']
2919
+ },
2920
+ 'scroll-margin': {},
2921
+ 'scroll-margin-block': {},
2922
+ 'scroll-margin-block-start': {},
2923
+ 'scroll-margin-block-end': {},
2924
+ 'scroll-margin-bottom': {},
2925
+ 'scroll-margin-inline': {},
2926
+ 'scroll-margin-inline-start': {},
2927
+ 'scroll-margin-inline-end': {},
2928
+ 'scroll-margin-left': {},
2929
+ 'scroll-margin-right': {},
2930
+ 'scroll-margin-top': {},
2931
+ 'scroll-padding': {},
2932
+ 'scroll-padding-block': {},
2933
+ 'scroll-padding-block-start': {},
2934
+ 'scroll-padding-block-end': {},
2935
+ 'scroll-padding-bottom': {},
2936
+ 'scroll-padding-inline': {},
2937
+ 'scroll-padding-inline-start': {},
2938
+ 'scroll-padding-inline-end': {},
2939
+ 'scroll-padding-left': {},
2940
+ 'scroll-padding-right': {},
2941
+ 'scroll-padding-top': {},
2942
+ 'scroll-snap-align': {},
2943
+ 'scroll-snap-stop': {
2944
+ values: ['normal', 'always']
2945
+ },
2946
+ 'scroll-snap-type-x': {
2947
+ values: ['none', 'mandatory', 'proximity']
2948
+ },
2949
+ 'scroll-snap-type-y': {
2950
+ values: ['none', 'mandatory', 'proximity']
2951
+ },
2952
+ 'scroll-timeline': {},
2953
+ 'scroll-timeline-axis': {
2954
+ values: ['block', 'inline', 'vertical', 'horizontal']
2955
+ },
2956
+ 'scroll-timeline-name': {},
2957
+ 'text-combine-upright': {},
2958
+ 'text-decoration-skip': {},
2959
+ 'text-decoration-skip-ink': {
2960
+ values: ['auto', 'all', 'none']
2961
+ },
2962
+ 'text-decoration-thickness': {},
2963
+ 'text-emphasis': {},
2964
+ 'text-emphasis-color': {},
2965
+ 'text-emphasis-position': {},
2966
+ 'text-emphasis-style': {},
2967
+ 'text-size-adjust': {},
2968
+ 'text-underline-offset': {},
2969
+ 'transform-box': {
2970
+ values: ['content-box', 'border-box', 'fill-box', 'stroke-box', 'view-box']
2971
+ },
2972
+ 'translate': {},
2973
+ 'white-space': {
2974
+ values: ['normal', 'pre', 'nowrap', 'pre-wrap', 'pre-line', 'break-spaces']
2975
+ },
2976
+ 'speak-as': {},
2977
+ 'ascent-override': {},
2978
+ 'descent-override': {},
2979
+ 'font-display': {},
2980
+ 'line-gap-override': {},
2981
+ 'size-adjust': {},
2982
+ 'bleed': {},
2983
+ 'marks': {},
2984
+ 'syntax': {},
2985
+ 'inherits': {
2986
+ values: ['true', 'false']
2987
+ },
2988
+ 'initial-value': {},
2989
+ 'max-zoom': {},
2990
+ 'min-zoom': {},
2991
+ 'orientation': {
2992
+ values: ['auto', 'portrait', 'landscape']
2993
+ },
2994
+ 'user-zoom': {
2995
+ values: ['zoom', 'fixed']
2996
+ },
2997
+ 'viewport-fit': {
2998
+ values: ['auto', 'contain', 'cover']
2999
+ }
3000
+ };
3001
+ function validate(editor, monaco) {
3002
+ var model = editor.getModel();
3003
+ var markers = [];
3004
+ var lineLen = model.getLineCount();
3005
+ for (var i = 1; i < lineLen + 1; i++) {
3006
+ var range = {
3007
+ startLineNumber: i,
3008
+ startColumn: 1,
3009
+ endLineNumber: i,
3010
+ endColumn: model.getLineLength(i) + 1
3011
+ };
3012
+ var content = model.getValueInRange(range);
3013
+ if (content !== '') {
3014
+ // 检测是否有冒号
3015
+ if (!content.includes(':')) {
3016
+ markers.push({
3017
+ message: '应为冒号',
3018
+ severity: monaco.MarkerSeverity.Error,
3019
+ startLineNumber: range.startLineNumber,
3020
+ startColumn: range.endColumn,
3021
+ endLineNumber: range.endLineNumber,
3022
+ endColumn: range.endColumn + 1
3023
+ });
3024
+ }
3025
+ // 检测是否有属性
3026
+ else if (/^(.*):\s?;?$/.test(content)) {
3027
+ markers.push({
3028
+ message: '应为属性',
3029
+ severity: monaco.MarkerSeverity.Error,
3030
+ startLineNumber: range.startLineNumber,
3031
+ startColumn: range.endColumn,
3032
+ endLineNumber: range.endLineNumber,
3033
+ endColumn: range.endColumn + 1
3034
+ });
3035
+ }
3036
+ // 检测是否以分号结尾
3037
+ else if (!content.endsWith(';')) {
3038
+ markers.push({
3039
+ message: '缺少分号',
3040
+ severity: monaco.MarkerSeverity.Error,
3041
+ startLineNumber: range.startLineNumber,
3042
+ startColumn: range.endColumn,
3043
+ endLineNumber: range.endLineNumber,
3044
+ endColumn: range.endColumn + 1
3045
+ });
3046
+ }
3047
+ }
3048
+ }
3049
+ monaco.editor.setModelMarkers(model, 'owner', markers);
3050
+ }
3051
+ function editorFactory(containerElement, monaco, options) {
3052
+ if (!monaco.languages.getEncodedLanguageId('amisTheme')) {
3053
+ // 注册语言
3054
+ monaco.languages.register({ id: 'amisTheme' });
3055
+ // 设置高亮
3056
+ monaco.languages.setMonarchTokensProvider('amisTheme', conf);
3057
+ // 设置提示
3058
+ monaco.languages.registerCompletionItemProvider('amisTheme', {
3059
+ provideCompletionItems: function (model, position) {
3060
+ var lineNumber = position.lineNumber, column = position.column;
3061
+ // 获取输入前的字符
3062
+ var textBeforePointer = model.getValueInRange({
3063
+ startLineNumber: lineNumber,
3064
+ startColumn: 0,
3065
+ endLineNumber: lineNumber,
3066
+ endColumn: column
3067
+ });
3068
+ // 如果已经配置了key和value就不给建议了
3069
+ if (/(.*):(.*);/.test(textBeforePointer)) {
3070
+ return { suggestions: [] };
3071
+ }
3072
+ var token = /(.*):/.exec(textBeforePointer) || [];
3073
+ var valueTip = keywords[token[1]];
3074
+ var suggestions;
3075
+ // 判断是需要提示key还是value
3076
+ if (!_.isEmpty(valueTip)) {
3077
+ suggestions = tslib.__spreadArray([], tslib.__read(valueTip.values.map(function (k) { return ({
3078
+ label: k,
3079
+ kind: monaco.languages.CompletionItemKind.Enum,
3080
+ insertText: k + ';'
3081
+ }); })), false);
3082
+ }
3083
+ else {
3084
+ suggestions = tslib.__spreadArray([], tslib.__read(Object.keys(keywords).map(function (k) { return ({
3085
+ label: k,
3086
+ kind: monaco.languages.CompletionItemKind.Keyword,
3087
+ insertText: k + ': '
3088
+ }); })), false);
3089
+ }
3090
+ return {
3091
+ suggestions: suggestions
3092
+ };
3093
+ },
3094
+ triggerCharacters: [' ']
3095
+ });
3096
+ }
3097
+ // const uri = monaco.Uri.parse(options.uri.replace(/:/g, '-'));
3098
+ // let model: any = null;
3099
+ // try {
3100
+ // model = monaco.editor.createModel(options.value, 'amisTheme', uri);
3101
+ // } catch (error) {
3102
+ // model = monaco.editor.getModel(uri);
3103
+ // }
3104
+ var editor = monaco.editor.create(containerElement, tslib.__assign(tslib.__assign({}, options), { 'language': 'amisTheme', 'autoIndent': true, 'formatOnType': true, 'formatOnPaste': true, 'selectOnLineNumbers': true, 'scrollBeyondLastLine': false, 'folding': true, 'minimap': {
3105
+ enabled: false
3106
+ }, 'scrollbar': {
3107
+ alwaysConsumeMouseWheel: false
3108
+ }, 'bracketPairColorization.enabled': true, 'automaticLayout': true, 'lineNumbers': 'off', 'glyphMargin': false, 'wordWrap': 'on', 'lineDecorationsWidth': 0, 'lineNumbersMinChars': 0 }));
3109
+ editor.onDidChangeModelContent(function () {
3110
+ validate(editor, monaco);
3111
+ options.onChange && options.onChange(editor.getValue());
3112
+ });
3113
+ return editor;
3114
+ }
3115
+
3116
+ exports["default"] = editorFactory;