easy-email-pro-theme 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (271) hide show
  1. package/lib/VariablesEditorContent-08997e30.mjs +147384 -0
  2. package/lib/abap-e7729493.mjs +1315 -0
  3. package/lib/apex-ea0b1b44.mjs +320 -0
  4. package/lib/assets/json.worker-2db083a8.js +16634 -0
  5. package/lib/azcli-92ca1f6b.mjs +75 -0
  6. package/lib/bat-a8aff72a.mjs +96 -0
  7. package/lib/bicep-a4d73496.mjs +116 -0
  8. package/lib/cameligo-93a61573.mjs +169 -0
  9. package/lib/clojure-a4292303.mjs +755 -0
  10. package/lib/coffee-c79fd580.mjs +229 -0
  11. package/lib/cpp-4bbc4355.mjs +391 -0
  12. package/lib/csharp-8ee8b919.mjs +321 -0
  13. package/lib/csp-7ff23ab5.mjs +58 -0
  14. package/lib/css-675efd06.mjs +185 -0
  15. package/lib/cssMode-e5b02650.mjs +2031 -0
  16. package/lib/cypher-ff6c93d1.mjs +263 -0
  17. package/lib/dart-b81ee8da.mjs +271 -0
  18. package/lib/dockerfile-4d34b657.mjs +133 -0
  19. package/lib/ecl-829c6c9f.mjs +455 -0
  20. package/lib/elixir-d20ab92c.mjs +490 -0
  21. package/lib/flow9-d363677c.mjs +142 -0
  22. package/lib/freemarker2-07352200.mjs +675 -0
  23. package/lib/fsharp-e5e10937.mjs +211 -0
  24. package/lib/go-49d8dd1b.mjs +209 -0
  25. package/lib/graphql-397d36cc.mjs +142 -0
  26. package/lib/handlebars-eb587af4.mjs +403 -0
  27. package/lib/hcl-2bc5a11b.mjs +178 -0
  28. package/lib/html-805b20b1.mjs +293 -0
  29. package/lib/html2canvas.esm-858519c4.mjs +7837 -0
  30. package/lib/htmlMode-a339a06a.mjs +2047 -0
  31. package/lib/index.js +40838 -0
  32. package/lib/ini-777fd0a6.mjs +69 -0
  33. package/lib/java-88c2ae93.mjs +222 -0
  34. package/lib/javascript-b5849f55.mjs +78 -0
  35. package/lib/jsonMode-1b509c19.mjs +2607 -0
  36. package/lib/julia-7e1d65a2.mjs +497 -0
  37. package/lib/kotlin-da15198d.mjs +246 -0
  38. package/lib/less-0057666d.mjs +168 -0
  39. package/lib/lexon-4f74b04c.mjs +152 -0
  40. package/lib/liquid-d5c8a287.mjs +250 -0
  41. package/lib/lua-da0a0c60.mjs +158 -0
  42. package/lib/m3-14d67e1c.mjs +211 -0
  43. package/lib/markdown-37ba20b1.mjs +203 -0
  44. package/lib/mips-d0b2c227.mjs +195 -0
  45. package/lib/monacoeditorwork/css.worker.bundle.js +46736 -0
  46. package/lib/monacoeditorwork/editor.worker.bundle.js +9954 -0
  47. package/lib/monacoeditorwork/html.worker.bundle.js +25985 -0
  48. package/lib/monacoeditorwork/json.worker.bundle.js +17214 -0
  49. package/lib/monacoeditorwork/ts.worker.bundle.js +172133 -0
  50. package/lib/msdax-29068c66.mjs +378 -0
  51. package/lib/mysql-7833c854.mjs +877 -0
  52. package/lib/objective-c-91c200d7.mjs +189 -0
  53. package/lib/pascal-eb8fa4fd.mjs +246 -0
  54. package/lib/pascaligo-855a8af1.mjs +159 -0
  55. package/lib/perl-6aab1ca2.mjs +600 -0
  56. package/lib/pgsql-f2266c91.mjs +848 -0
  57. package/lib/php-9806c791.mjs +472 -0
  58. package/lib/pla-c1d8ec04.mjs +132 -0
  59. package/lib/postiats-04d6db22.mjs +545 -0
  60. package/lib/powerquery-ec4dd65a.mjs +891 -0
  61. package/lib/powershell-cc02a40e.mjs +234 -0
  62. package/lib/protobuf-83b8e701.mjs +423 -0
  63. package/lib/pug-06fecd70.mjs +394 -0
  64. package/lib/python-7da9e073.mjs +270 -0
  65. package/lib/qsharp-232171da.mjs +283 -0
  66. package/lib/r-c048a1d4.mjs +246 -0
  67. package/lib/razor-c88b46b3.mjs +524 -0
  68. package/lib/redis-4399e06c.mjs +299 -0
  69. package/lib/redshift-ba36da77.mjs +807 -0
  70. package/lib/restructuredtext-cac6fcb7.mjs +163 -0
  71. package/lib/ruby-dca5ee98.mjs +445 -0
  72. package/lib/rust-c0b8769e.mjs +338 -0
  73. package/lib/sb-2b0bce6c.mjs +111 -0
  74. package/lib/scala-58e9dfc7.mjs +354 -0
  75. package/lib/scheme-fdc48747.mjs +115 -0
  76. package/lib/scss-defea6f2.mjs +243 -0
  77. package/lib/shell-8e11dc85.mjs +225 -0
  78. package/lib/solidity-8d74b890.mjs +1352 -0
  79. package/lib/sophia-b97eb718.mjs +191 -0
  80. package/lib/sparql-68163824.mjs +194 -0
  81. package/lib/sql-59977475.mjs +819 -0
  82. package/lib/st-febe75da.mjs +415 -0
  83. package/lib/style.css +6503 -0
  84. package/lib/swift-b95bae51.mjs +316 -0
  85. package/lib/systemverilog-4461e8b3.mjs +557 -0
  86. package/lib/tcl-8f97c15f.mjs +233 -0
  87. package/lib/tsMode-934544e6.mjs +1216 -0
  88. package/lib/twig-a68d494c.mjs +324 -0
  89. package/lib/typescript-049ec7b9.mjs +339 -0
  90. package/lib/typings/assets/font/iconfont.d.ts +0 -0
  91. package/lib/typings/components/BlockSideBar/BlockItem/index.d.ts +9 -0
  92. package/lib/typings/components/BlockSideBar/BlockList/index.d.ts +5 -0
  93. package/lib/typings/components/BlockSideBar/BlocksPanel/index.d.ts +2 -0
  94. package/lib/typings/components/BlockSideBar/LayoutItem/index.d.ts +6 -0
  95. package/lib/typings/components/BlockSideBar/index.d.ts +5 -0
  96. package/lib/typings/components/ColumnLayout/LayoutItemList.d.ts +6 -0
  97. package/lib/typings/components/ColumnLayout/index.d.ts +5 -0
  98. package/lib/typings/components/ConfigurationDrawer/index.d.ts +5 -0
  99. package/lib/typings/components/ConfigurationPanel/Elements/Button/index.d.ts +5 -0
  100. package/lib/typings/components/ConfigurationPanel/Elements/Column/index.d.ts +5 -0
  101. package/lib/typings/components/ConfigurationPanel/Elements/Divider/index.d.ts +5 -0
  102. package/lib/typings/components/ConfigurationPanel/Elements/Hero/index.d.ts +5 -0
  103. package/lib/typings/components/ConfigurationPanel/Elements/Image/index.d.ts +5 -0
  104. package/lib/typings/components/ConfigurationPanel/Elements/Navbar/index.d.ts +5 -0
  105. package/lib/typings/components/ConfigurationPanel/Elements/Page/index.d.ts +5 -0
  106. package/lib/typings/components/ConfigurationPanel/Elements/Section/index.d.ts +5 -0
  107. package/lib/typings/components/ConfigurationPanel/Elements/Social/index.d.ts +5 -0
  108. package/lib/typings/components/ConfigurationPanel/Elements/Spacer/index.d.ts +5 -0
  109. package/lib/typings/components/ConfigurationPanel/Elements/Text/index.d.ts +5 -0
  110. package/lib/typings/components/ConfigurationPanel/Elements/Wrapper/index.d.ts +5 -0
  111. package/lib/typings/components/ConfigurationPanel/Elements/index.d.ts +5 -0
  112. package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundColor.d.ts +5 -0
  113. package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundImage.d.ts +8 -0
  114. package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundPosition.d.ts +8 -0
  115. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Border.d.ts +11 -0
  116. package/lib/typings/components/ConfigurationPanel/components/AttributeField/BorderRadius.d.ts +5 -0
  117. package/lib/typings/components/ConfigurationPanel/components/AttributeField/ButtonCategory.d.ts +10 -0
  118. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Buttons.d.ts +18 -0
  119. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Columns.d.ts +8 -0
  120. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Direction.d.ts +9 -0
  121. package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Condition.d.ts +9 -0
  122. package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Iteration.d.ts +9 -0
  123. package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/index.d.ts +3 -0
  124. package/lib/typings/components/ConfigurationPanel/components/AttributeField/DividerLine.d.ts +10 -0
  125. package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontFamily.d.ts +5 -0
  126. package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontSize.d.ts +5 -0
  127. package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontWeight.d.ts +5 -0
  128. package/lib/typings/components/ConfigurationPanel/components/AttributeField/GlobalLink.d.ts +2 -0
  129. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Heading.d.ts +7 -0
  130. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Height.d.ts +5 -0
  131. package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageUrl.d.ts +6 -0
  132. package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageWidth.d.ts +7 -0
  133. package/lib/typings/components/ConfigurationPanel/components/AttributeField/LetterSpacing.d.ts +5 -0
  134. package/lib/typings/components/ConfigurationPanel/components/AttributeField/LineHeight.d.ts +7 -0
  135. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Link.d.ts +5 -0
  136. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Padding.d.ts +10 -0
  137. package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelAndPercentField.d.ts +11 -0
  138. package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelField.d.ts +3 -0
  139. package/lib/typings/components/ConfigurationPanel/components/AttributeField/StackOnMobile.d.ts +7 -0
  140. package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAlign.d.ts +5 -0
  141. package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingList.d.ts +6 -0
  142. package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingStyle.d.ts +8 -0
  143. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Typography.d.ts +17 -0
  144. package/lib/typings/components/ConfigurationPanel/components/AttributeField/VerticalAlign.d.ts +5 -0
  145. package/lib/typings/components/ConfigurationPanel/components/AttributeField/WebFonts.d.ts +2 -0
  146. package/lib/typings/components/ConfigurationPanel/components/AttributeField/Width.d.ts +5 -0
  147. package/lib/typings/components/ConfigurationPanel/components/AttributeField/index.d.ts +103 -0
  148. package/lib/typings/components/ConfigurationPanel/components/AttributePanel.d.ts +2 -0
  149. package/lib/typings/components/ConfigurationPanel/components/AttributesPanelWrapper/index.d.ts +8 -0
  150. package/lib/typings/components/ConfigurationPanel/components/CollapseWrapper/index.d.ts +7 -0
  151. package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/ResponsiveField.d.ts +5 -0
  152. package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/index.d.ts +11 -0
  153. package/lib/typings/components/ConfigurationPanel/components/SourceCodePanel/index.d.ts +2 -0
  154. package/lib/typings/components/ConfigurationPanel/components/UniversalElementPanel/index.d.ts +2 -0
  155. package/lib/typings/components/ConfigurationPanel/index.d.ts +8 -0
  156. package/lib/typings/components/Controller/index.d.ts +3 -0
  157. package/lib/typings/components/EditorTabs/components/PreviewEmail/components/DesktopEmailPreview/index.d.ts +5 -0
  158. package/lib/typings/components/EditorTabs/components/PreviewEmail/components/MobilePreview/index.d.ts +5 -0
  159. package/lib/typings/components/EditorTabs/components/PreviewEmail/index.d.ts +8 -0
  160. package/lib/typings/components/EditorTabs/components/PreviewEmailDrawer/index.d.ts +4 -0
  161. package/lib/typings/components/EditorTabs/components/TabHeader/index.d.ts +5 -0
  162. package/lib/typings/components/EditorTabs/index.d.ts +4 -0
  163. package/lib/typings/components/Form/ButtonField.d.ts +13 -0
  164. package/lib/typings/components/Form/ButtonGroupField.d.ts +15 -0
  165. package/lib/typings/components/Form/ColorPicker/ColorPickerContent.d.ts +7 -0
  166. package/lib/typings/components/Form/ColorPicker/index.d.ts +14 -0
  167. package/lib/typings/components/Form/EditPanelListField.d.ts +17 -0
  168. package/lib/typings/components/Form/EditPanelTabsField.d.ts +13 -0
  169. package/lib/typings/components/Form/ImageUploaderField/index.d.ts +20 -0
  170. package/lib/typings/components/Form/RichTextField/index.d.ts +10 -0
  171. package/lib/typings/components/Form/Select.d.ts +11 -0
  172. package/lib/typings/components/Form/SwitchField/index.d.ts +5 -0
  173. package/lib/typings/components/Form/SyncChildrenField.d.ts +11 -0
  174. package/lib/typings/components/Form/VariablesEditor/VariablesEditorContent.d.ts +7 -0
  175. package/lib/typings/components/Form/VariablesEditor/index.d.ts +2 -0
  176. package/lib/typings/components/Form/WatchField.d.ts +11 -0
  177. package/lib/typings/components/Form/adapter/JsonAdapter.d.ts +4 -0
  178. package/lib/typings/components/Form/adapter/color.adapter.d.ts +4 -0
  179. package/lib/typings/components/Form/adapter/fontStyle.adapter.d.ts +4 -0
  180. package/lib/typings/components/Form/adapter/fontWeight.adapter.d.ts +4 -0
  181. package/lib/typings/components/Form/adapter/index.d.ts +8 -0
  182. package/lib/typings/components/Form/adapter/italic.adapter.d.ts +4 -0
  183. package/lib/typings/components/Form/adapter/pixel.adapter.d.ts +4 -0
  184. package/lib/typings/components/Form/adapter/pixelNumber.adapter.d.ts +4 -0
  185. package/lib/typings/components/Form/adapter/slider.adapter.d.ts +4 -0
  186. package/lib/typings/components/Form/enhancer.d.ts +12 -0
  187. package/lib/typings/components/Form/index.d.ts +26 -0
  188. package/lib/typings/components/FullHeightOverlayScrollbars/index.d.ts +9 -0
  189. package/lib/typings/components/FullScreenLoading/index.d.ts +7 -0
  190. package/lib/typings/components/Hotkeys/index.d.ts +2 -0
  191. package/lib/typings/components/HoveringToolbar/RichTextBar.d.ts +6 -0
  192. package/lib/typings/components/HoveringToolbar/componens/BgColor.d.ts +2 -0
  193. package/lib/typings/components/HoveringToolbar/componens/FontColor.d.ts +2 -0
  194. package/lib/typings/components/HoveringToolbar/componens/FontFamily.d.ts +2 -0
  195. package/lib/typings/components/HoveringToolbar/componens/FontSize.d.ts +2 -0
  196. package/lib/typings/components/HoveringToolbar/componens/FormatButton.d.ts +9 -0
  197. package/lib/typings/components/HoveringToolbar/componens/MergeTag.d.ts +8 -0
  198. package/lib/typings/components/HoveringToolbar/componens/TextAlign.d.ts +2 -0
  199. package/lib/typings/components/HoveringToolbar/componens/TextLink.d.ts +2 -0
  200. package/lib/typings/components/HoveringToolbar/componens/TurnInto.d.ts +2 -0
  201. package/lib/typings/components/HoveringToolbar/constants.d.ts +0 -0
  202. package/lib/typings/components/HoveringToolbar/index.d.ts +3 -0
  203. package/lib/typings/components/HoveringToolbar/utils/getLinkNode.d.ts +3 -0
  204. package/lib/typings/components/IconFont/index.d.ts +10 -0
  205. package/lib/typings/components/MergeTagComponent/index.d.ts +7 -0
  206. package/lib/typings/components/MergetagPopover/index.d.ts +2 -0
  207. package/lib/typings/components/Providers/ControllerProvider.d.ts +4 -0
  208. package/lib/typings/components/Providers/DraggingProvider.d.ts +20 -0
  209. package/lib/typings/components/Providers/FormProvider.d.ts +4 -0
  210. package/lib/typings/components/Providers/UniversalElementProvider.d.ts +10 -0
  211. package/lib/typings/components/Providers/index.d.ts +6 -0
  212. package/lib/typings/components/UniversalElementEditorDrawer/index.d.ts +5 -0
  213. package/lib/typings/components/UnsplashImages/index.d.ts +206 -0
  214. package/lib/typings/components/index.d.ts +69 -0
  215. package/lib/typings/hooks/index.d.ts +6 -0
  216. package/lib/typings/hooks/useDragging.d.ts +15 -0
  217. package/lib/typings/hooks/useEditorForm.d.ts +12 -0
  218. package/lib/typings/hooks/useElementDefault.d.ts +9 -0
  219. package/lib/typings/hooks/useElementInteract.d.ts +6 -0
  220. package/lib/typings/hooks/useFontFamily.d.ts +7 -0
  221. package/lib/typings/hooks/useUniversalContent.d.ts +1 -0
  222. package/lib/typings/index.d.ts +5 -0
  223. package/lib/typings/store/ColorState.d.ts +9 -0
  224. package/lib/typings/store/EditorState.d.ts +12 -0
  225. package/lib/typings/store/Minimalist.d.ts +35 -0
  226. package/lib/typings/store/index.d.ts +49 -0
  227. package/lib/typings/themes/Minimalist/components/AutoSelectElement.d.ts +2 -0
  228. package/lib/typings/themes/Minimalist/components/BlockMenusOverlay/index.d.ts +2 -0
  229. package/lib/typings/themes/Minimalist/components/BlockResizer/index.d.ts +12 -0
  230. package/lib/typings/themes/Minimalist/components/ColumnLayoutOverlay/index.d.ts +2 -0
  231. package/lib/typings/themes/Minimalist/components/ElementHover/index.d.ts +2 -0
  232. package/lib/typings/themes/Minimalist/components/ElementPlaceholder/index.d.ts +2 -0
  233. package/lib/typings/themes/Minimalist/components/ElementSelected/index.d.ts +2 -0
  234. package/lib/typings/themes/Minimalist/components/ElementTools/index.d.ts +8 -0
  235. package/lib/typings/themes/Minimalist/components/ImageAction/MoreActionsMenusOverlay/index.d.ts +10 -0
  236. package/lib/typings/themes/Minimalist/components/ImageAction/MoreIcon/index.d.ts +5 -0
  237. package/lib/typings/themes/Minimalist/components/ImageAction/index.d.ts +7 -0
  238. package/lib/typings/themes/Minimalist/index.d.ts +10 -0
  239. package/lib/typings/themes/Minimalist/withTheme.d.ts +4 -0
  240. package/lib/typings/themes/Retro/components/AutoDeselectElement.d.ts +2 -0
  241. package/lib/typings/themes/Retro/components/ElementInteract/AddIcon/index.d.ts +2 -0
  242. package/lib/typings/themes/Retro/components/ElementInteract/DragIcon/index.d.ts +4 -0
  243. package/lib/typings/themes/Retro/components/ElementInteract/ElementHover/index.d.ts +2 -0
  244. package/lib/typings/themes/Retro/components/ElementInteract/ElementPlaceholder/index.d.ts +2 -0
  245. package/lib/typings/themes/Retro/components/ElementInteract/ElementSelected/index.d.ts +2 -0
  246. package/lib/typings/themes/Retro/components/ElementInteract/ElementTools/index.d.ts +8 -0
  247. package/lib/typings/themes/Retro/components/ElementInteract/index.d.ts +3 -0
  248. package/lib/typings/themes/Retro/index.d.ts +10 -0
  249. package/lib/typings/themes/Retro/withTheme.d.ts +2 -0
  250. package/lib/typings/themes/index.d.ts +2 -0
  251. package/lib/typings/typings/custom-types.d.ts +96 -0
  252. package/lib/typings/typings/index.d.ts +1 -0
  253. package/lib/typings/utils/Uploader.d.ts +35 -0
  254. package/lib/typings/utils/environment.d.ts +1 -0
  255. package/lib/typings/utils/generateLogic.d.ts +3 -0
  256. package/lib/typings/utils/getElementPageLayout.d.ts +16 -0
  257. package/lib/typings/utils/getFallbackValue.d.ts +7 -0
  258. package/lib/typings/utils/hideCursor.d.ts +2 -0
  259. package/lib/typings/utils/hotkeys.d.ts +18 -0
  260. package/lib/typings/utils/index.d.ts +2 -0
  261. package/lib/typings/utils/isValidHttpUrl.d.ts +1 -0
  262. package/lib/typings/utils/mjmlToJson/HtmlNodeAdapter.d.ts +2 -0
  263. package/lib/typings/utils/mjmlToJson/basicElementToStandardElement.d.ts +2 -0
  264. package/lib/typings/utils/mjmlToJson/formatPadding.d.ts +1 -0
  265. package/lib/typings/utils/mjmlToJson/index.d.ts +2 -0
  266. package/lib/typings/utils/onDrag.d.ts +10 -0
  267. package/lib/typings/utils/previewLoadImage.d.ts +1 -0
  268. package/lib/vb-dfbee74a.mjs +365 -0
  269. package/lib/xml-c6d1e274.mjs +106 -0
  270. package/lib/yaml-3c88ef61.mjs +195 -0
  271. package/package.json +44 -0
@@ -0,0 +1,246 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var conf = {
8
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
+ comments: {
10
+ lineComment: "//",
11
+ blockComment: ["/*", "*/"]
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}" },
20
+ { open: "[", close: "]" },
21
+ { open: "(", close: ")" },
22
+ { open: '"', close: '"' },
23
+ { open: "'", close: "'" }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: '"', close: '"' },
30
+ { open: "'", close: "'" },
31
+ { open: "<", close: ">" }
32
+ ],
33
+ folding: {
34
+ markers: {
35
+ start: new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),
36
+ end: new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")
37
+ }
38
+ }
39
+ };
40
+ var language = {
41
+ defaultToken: "",
42
+ tokenPostfix: ".kt",
43
+ keywords: [
44
+ "as",
45
+ "as?",
46
+ "break",
47
+ "class",
48
+ "continue",
49
+ "do",
50
+ "else",
51
+ "false",
52
+ "for",
53
+ "fun",
54
+ "if",
55
+ "in",
56
+ "!in",
57
+ "interface",
58
+ "is",
59
+ "!is",
60
+ "null",
61
+ "object",
62
+ "package",
63
+ "return",
64
+ "super",
65
+ "this",
66
+ "throw",
67
+ "true",
68
+ "try",
69
+ "typealias",
70
+ "val",
71
+ "var",
72
+ "when",
73
+ "while",
74
+ "by",
75
+ "catch",
76
+ "constructor",
77
+ "delegate",
78
+ "dynamic",
79
+ "field",
80
+ "file",
81
+ "finally",
82
+ "get",
83
+ "import",
84
+ "init",
85
+ "param",
86
+ "property",
87
+ "receiver",
88
+ "set",
89
+ "setparam",
90
+ "where",
91
+ "actual",
92
+ "abstract",
93
+ "annotation",
94
+ "companion",
95
+ "const",
96
+ "crossinline",
97
+ "data",
98
+ "enum",
99
+ "expect",
100
+ "external",
101
+ "final",
102
+ "infix",
103
+ "inline",
104
+ "inner",
105
+ "internal",
106
+ "lateinit",
107
+ "noinline",
108
+ "open",
109
+ "operator",
110
+ "out",
111
+ "override",
112
+ "private",
113
+ "protected",
114
+ "public",
115
+ "reified",
116
+ "sealed",
117
+ "suspend",
118
+ "tailrec",
119
+ "vararg",
120
+ "field",
121
+ "it"
122
+ ],
123
+ operators: [
124
+ "+",
125
+ "-",
126
+ "*",
127
+ "/",
128
+ "%",
129
+ "=",
130
+ "+=",
131
+ "-=",
132
+ "*=",
133
+ "/=",
134
+ "%=",
135
+ "++",
136
+ "--",
137
+ "&&",
138
+ "||",
139
+ "!",
140
+ "==",
141
+ "!=",
142
+ "===",
143
+ "!==",
144
+ ">",
145
+ "<",
146
+ "<=",
147
+ ">=",
148
+ "[",
149
+ "]",
150
+ "!!",
151
+ "?.",
152
+ "?:",
153
+ "::",
154
+ "..",
155
+ ":",
156
+ "?",
157
+ "->",
158
+ "@",
159
+ ";",
160
+ "$",
161
+ "_"
162
+ ],
163
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
164
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
165
+ digits: /\d+(_+\d+)*/,
166
+ octaldigits: /[0-7]+(_+[0-7]+)*/,
167
+ binarydigits: /[0-1]+(_+[0-1]+)*/,
168
+ hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
169
+ tokenizer: {
170
+ root: [
171
+ [/[A-Z][\w\$]*/, "type.identifier"],
172
+ [
173
+ /[a-zA-Z_$][\w$]*/,
174
+ {
175
+ cases: {
176
+ "@keywords": { token: "keyword.$0" },
177
+ "@default": "identifier"
178
+ }
179
+ }
180
+ ],
181
+ { include: "@whitespace" },
182
+ [/[{}()\[\]]/, "@brackets"],
183
+ [/[<>](?!@symbols)/, "@brackets"],
184
+ [
185
+ /@symbols/,
186
+ {
187
+ cases: {
188
+ "@operators": "delimiter",
189
+ "@default": ""
190
+ }
191
+ }
192
+ ],
193
+ [/@\s*[a-zA-Z_\$][\w\$]*/, "annotation"],
194
+ [/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/, "number.float"],
195
+ [/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/, "number.float"],
196
+ [/0[xX](@hexdigits)[Ll]?/, "number.hex"],
197
+ [/0(@octaldigits)[Ll]?/, "number.octal"],
198
+ [/0[bB](@binarydigits)[Ll]?/, "number.binary"],
199
+ [/(@digits)[fFdD]/, "number.float"],
200
+ [/(@digits)[lL]?/, "number"],
201
+ [/[;,.]/, "delimiter"],
202
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
203
+ [/"""/, "string", "@multistring"],
204
+ [/"/, "string", "@string"],
205
+ [/'[^\\']'/, "string"],
206
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
207
+ [/'/, "string.invalid"]
208
+ ],
209
+ whitespace: [
210
+ [/[ \t\r\n]+/, ""],
211
+ [/\/\*\*(?!\/)/, "comment.doc", "@javadoc"],
212
+ [/\/\*/, "comment", "@comment"],
213
+ [/\/\/.*$/, "comment"]
214
+ ],
215
+ comment: [
216
+ [/[^\/*]+/, "comment"],
217
+ [/\/\*/, "comment", "@comment"],
218
+ [/\*\//, "comment", "@pop"],
219
+ [/[\/*]/, "comment"]
220
+ ],
221
+ javadoc: [
222
+ [/[^\/*]+/, "comment.doc"],
223
+ [/\/\*/, "comment.doc", "@push"],
224
+ [/\/\*/, "comment.doc.invalid"],
225
+ [/\*\//, "comment.doc", "@pop"],
226
+ [/[\/*]/, "comment.doc"]
227
+ ],
228
+ string: [
229
+ [/[^\\"]+/, "string"],
230
+ [/@escapes/, "string.escape"],
231
+ [/\\./, "string.escape.invalid"],
232
+ [/"/, "string", "@pop"]
233
+ ],
234
+ multistring: [
235
+ [/[^\\"]+/, "string"],
236
+ [/@escapes/, "string.escape"],
237
+ [/\\./, "string.escape.invalid"],
238
+ [/"""/, "string", "@pop"],
239
+ [/./, "string"]
240
+ ]
241
+ }
242
+ };
243
+ export {
244
+ conf,
245
+ language
246
+ };
@@ -0,0 +1,168 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var conf = {
8
+ wordPattern: /(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,
9
+ comments: {
10
+ blockComment: ["/*", "*/"],
11
+ lineComment: "//"
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}", notIn: ["string", "comment"] },
20
+ { open: "[", close: "]", notIn: ["string", "comment"] },
21
+ { open: "(", close: ")", notIn: ["string", "comment"] },
22
+ { open: '"', close: '"', notIn: ["string", "comment"] },
23
+ { open: "'", close: "'", notIn: ["string", "comment"] }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: '"', close: '"' },
30
+ { open: "'", close: "'" }
31
+ ],
32
+ folding: {
33
+ markers: {
34
+ start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
35
+ end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
36
+ }
37
+ }
38
+ };
39
+ var language = {
40
+ defaultToken: "",
41
+ tokenPostfix: ".less",
42
+ 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])))*",
43
+ identifierPlus: "-?-?([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])))*",
44
+ brackets: [
45
+ { open: "{", close: "}", token: "delimiter.curly" },
46
+ { open: "[", close: "]", token: "delimiter.bracket" },
47
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
48
+ { open: "<", close: ">", token: "delimiter.angle" }
49
+ ],
50
+ tokenizer: {
51
+ root: [
52
+ { include: "@nestedJSBegin" },
53
+ ["[ \\t\\r\\n]+", ""],
54
+ { include: "@comments" },
55
+ { include: "@keyword" },
56
+ { include: "@strings" },
57
+ { include: "@numbers" },
58
+ ["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))", "attribute.name", "@attribute"],
59
+ ["url(\\-prefix)?\\(", { token: "tag", next: "@urldeclaration" }],
60
+ ["[{}()\\[\\]]", "@brackets"],
61
+ ["[,:;]", "delimiter"],
62
+ ["#@identifierPlus", "tag.id"],
63
+ ["&", "tag"],
64
+ ["\\.@identifierPlus(?=\\()", "tag.class", "@attribute"],
65
+ ["\\.@identifierPlus", "tag.class"],
66
+ ["@identifierPlus", "tag"],
67
+ { include: "@operators" },
68
+ ["@(@identifier(?=[:,\\)]))", "variable", "@attribute"],
69
+ ["@(@identifier)", "variable"],
70
+ ["@", "key", "@atRules"]
71
+ ],
72
+ nestedJSBegin: [
73
+ ["``", "delimiter.backtick"],
74
+ [
75
+ "`",
76
+ {
77
+ token: "delimiter.backtick",
78
+ next: "@nestedJSEnd",
79
+ nextEmbedded: "text/javascript"
80
+ }
81
+ ]
82
+ ],
83
+ nestedJSEnd: [
84
+ [
85
+ "`",
86
+ {
87
+ token: "delimiter.backtick",
88
+ next: "@pop",
89
+ nextEmbedded: "@pop"
90
+ }
91
+ ]
92
+ ],
93
+ operators: [["[<>=\\+\\-\\*\\/\\^\\|\\~]", "operator"]],
94
+ keyword: [
95
+ [
96
+ "(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b",
97
+ "keyword"
98
+ ]
99
+ ],
100
+ urldeclaration: [
101
+ { include: "@strings" },
102
+ ["[^)\r\n]+", "string"],
103
+ ["\\)", { token: "tag", next: "@pop" }]
104
+ ],
105
+ attribute: [
106
+ { include: "@nestedJSBegin" },
107
+ { include: "@comments" },
108
+ { include: "@strings" },
109
+ { include: "@numbers" },
110
+ { include: "@keyword" },
111
+ ["[a-zA-Z\\-]+(?=\\()", "attribute.value", "@attribute"],
112
+ [">", "operator", "@pop"],
113
+ ["@identifier", "attribute.value"],
114
+ { include: "@operators" },
115
+ ["@(@identifier)", "variable"],
116
+ ["[)\\}]", "@brackets", "@pop"],
117
+ ["[{}()\\[\\]>]", "@brackets"],
118
+ ["[;]", "delimiter", "@pop"],
119
+ ["[,=:]", "delimiter"],
120
+ ["\\s", ""],
121
+ [".", "attribute.value"]
122
+ ],
123
+ comments: [
124
+ ["\\/\\*", "comment", "@comment"],
125
+ ["\\/\\/+.*", "comment"]
126
+ ],
127
+ comment: [
128
+ ["\\*\\/", "comment", "@pop"],
129
+ [".", "comment"]
130
+ ],
131
+ numbers: [
132
+ ["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
133
+ ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
134
+ ],
135
+ units: [
136
+ [
137
+ "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
138
+ "attribute.value.unit",
139
+ "@pop"
140
+ ]
141
+ ],
142
+ strings: [
143
+ ['~?"', { token: "string.delimiter", next: "@stringsEndDoubleQuote" }],
144
+ ["~?'", { token: "string.delimiter", next: "@stringsEndQuote" }]
145
+ ],
146
+ stringsEndDoubleQuote: [
147
+ ['\\\\"', "string"],
148
+ ['"', { token: "string.delimiter", next: "@popall" }],
149
+ [".", "string"]
150
+ ],
151
+ stringsEndQuote: [
152
+ ["\\\\'", "string"],
153
+ ["'", { token: "string.delimiter", next: "@popall" }],
154
+ [".", "string"]
155
+ ],
156
+ atRules: [
157
+ { include: "@comments" },
158
+ { include: "@strings" },
159
+ ["[()]", "delimiter"],
160
+ ["[\\{;]", "delimiter", "@pop"],
161
+ [".", "key"]
162
+ ]
163
+ }
164
+ };
165
+ export {
166
+ conf,
167
+ language
168
+ };
@@ -0,0 +1,152 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var conf = {
8
+ comments: {
9
+ lineComment: "COMMENT"
10
+ },
11
+ brackets: [["(", ")"]],
12
+ autoClosingPairs: [
13
+ { open: "{", close: "}" },
14
+ { open: "[", close: "]" },
15
+ { open: "(", close: ")" },
16
+ { open: '"', close: '"' },
17
+ { open: ":", close: "." }
18
+ ],
19
+ surroundingPairs: [
20
+ { open: "{", close: "}" },
21
+ { open: "[", close: "]" },
22
+ { open: "(", close: ")" },
23
+ { open: "`", close: "`" },
24
+ { open: '"', close: '"' },
25
+ { open: "'", close: "'" },
26
+ { open: ":", close: "." }
27
+ ],
28
+ folding: {
29
+ markers: {
30
+ start: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),
31
+ end: new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")
32
+ }
33
+ }
34
+ };
35
+ var language = {
36
+ tokenPostfix: ".lexon",
37
+ ignoreCase: true,
38
+ keywords: [
39
+ "lexon",
40
+ "lex",
41
+ "clause",
42
+ "terms",
43
+ "contracts",
44
+ "may",
45
+ "pay",
46
+ "pays",
47
+ "appoints",
48
+ "into",
49
+ "to"
50
+ ],
51
+ typeKeywords: ["amount", "person", "key", "time", "date", "asset", "text"],
52
+ operators: [
53
+ "less",
54
+ "greater",
55
+ "equal",
56
+ "le",
57
+ "gt",
58
+ "or",
59
+ "and",
60
+ "add",
61
+ "added",
62
+ "subtract",
63
+ "subtracted",
64
+ "multiply",
65
+ "multiplied",
66
+ "times",
67
+ "divide",
68
+ "divided",
69
+ "is",
70
+ "be",
71
+ "certified"
72
+ ],
73
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
74
+ tokenizer: {
75
+ root: [
76
+ [/^(\s*)(comment:?(?:\s.*|))$/, ["", "comment"]],
77
+ [
78
+ /"/,
79
+ {
80
+ token: "identifier.quote",
81
+ bracket: "@open",
82
+ next: "@quoted_identifier"
83
+ }
84
+ ],
85
+ [
86
+ "LEX$",
87
+ {
88
+ token: "keyword",
89
+ bracket: "@open",
90
+ next: "@identifier_until_period"
91
+ }
92
+ ],
93
+ ["LEXON", { token: "keyword", bracket: "@open", next: "@semver" }],
94
+ [
95
+ ":",
96
+ {
97
+ token: "delimiter",
98
+ bracket: "@open",
99
+ next: "@identifier_until_period"
100
+ }
101
+ ],
102
+ [
103
+ /[a-z_$][\w$]*/,
104
+ {
105
+ cases: {
106
+ "@operators": "operator",
107
+ "@typeKeywords": "keyword.type",
108
+ "@keywords": "keyword",
109
+ "@default": "identifier"
110
+ }
111
+ }
112
+ ],
113
+ { include: "@whitespace" },
114
+ [/[{}()\[\]]/, "@brackets"],
115
+ [/[<>](?!@symbols)/, "@brackets"],
116
+ [/@symbols/, "delimiter"],
117
+ [/\d*\.\d*\.\d*/, "number.semver"],
118
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
119
+ [/0[xX][0-9a-fA-F]+/, "number.hex"],
120
+ [/\d+/, "number"],
121
+ [/[;,.]/, "delimiter"]
122
+ ],
123
+ quoted_identifier: [
124
+ [/[^\\"]+/, "identifier"],
125
+ [/"/, { token: "identifier.quote", bracket: "@close", next: "@pop" }]
126
+ ],
127
+ space_identifier_until_period: [
128
+ [":", "delimiter"],
129
+ [" ", { token: "white", next: "@identifier_rest" }]
130
+ ],
131
+ identifier_until_period: [
132
+ { include: "@whitespace" },
133
+ [":", { token: "delimiter", next: "@identifier_rest" }],
134
+ [/[^\\.]+/, "identifier"],
135
+ [/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
136
+ ],
137
+ identifier_rest: [
138
+ [/[^\\.]+/, "identifier"],
139
+ [/\./, { token: "delimiter", bracket: "@close", next: "@pop" }]
140
+ ],
141
+ semver: [
142
+ { include: "@whitespace" },
143
+ [":", "delimiter"],
144
+ [/\d*\.\d*\.\d*/, { token: "number.semver", bracket: "@close", next: "@pop" }]
145
+ ],
146
+ whitespace: [[/[ \t\r\n]+/, "white"]]
147
+ }
148
+ };
149
+ export {
150
+ conf,
151
+ language
152
+ };