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,524 @@
1
+ import { m as monaco_editor_core_star } from "./VariablesEditorContent-08997e30.mjs";
2
+ import "react";
3
+ import "easy-email-pro-core";
4
+ /*!-----------------------------------------------------------------------------
5
+ * Copyright (c) Microsoft Corporation. All rights reserved.
6
+ * Version: 0.36.1(6c56744c3419458f0dd48864520b759d1a3a1ca8)
7
+ * Released under the MIT license
8
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
9
+ *-----------------------------------------------------------------------------*/
10
+ var __defProp = Object.defineProperty;
11
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
12
+ var __getOwnPropNames = Object.getOwnPropertyNames;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __copyProps = (to, from, except, desc) => {
15
+ if (from && typeof from === "object" || typeof from === "function") {
16
+ for (let key of __getOwnPropNames(from))
17
+ if (!__hasOwnProp.call(to, key) && key !== except)
18
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
19
+ }
20
+ return to;
21
+ };
22
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
+ var monaco_editor_core_exports = {};
24
+ __reExport(monaco_editor_core_exports, monaco_editor_core_star);
25
+ var EMPTY_ELEMENTS = [
26
+ "area",
27
+ "base",
28
+ "br",
29
+ "col",
30
+ "embed",
31
+ "hr",
32
+ "img",
33
+ "input",
34
+ "keygen",
35
+ "link",
36
+ "menuitem",
37
+ "meta",
38
+ "param",
39
+ "source",
40
+ "track",
41
+ "wbr"
42
+ ];
43
+ var conf = {
44
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
45
+ comments: {
46
+ blockComment: ["<!--", "-->"]
47
+ },
48
+ brackets: [
49
+ ["<!--", "-->"],
50
+ ["<", ">"],
51
+ ["{", "}"],
52
+ ["(", ")"]
53
+ ],
54
+ autoClosingPairs: [
55
+ { open: "{", close: "}" },
56
+ { open: "[", close: "]" },
57
+ { open: "(", close: ")" },
58
+ { open: '"', close: '"' },
59
+ { open: "'", close: "'" }
60
+ ],
61
+ surroundingPairs: [
62
+ { open: '"', close: '"' },
63
+ { open: "'", close: "'" },
64
+ { open: "<", close: ">" }
65
+ ],
66
+ onEnterRules: [
67
+ {
68
+ beforeText: new RegExp(`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
69
+ afterText: /^<\/(\w[\w\d]*)\s*>$/i,
70
+ action: {
71
+ indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent
72
+ }
73
+ },
74
+ {
75
+ beforeText: new RegExp(`<(?!(?:${EMPTY_ELEMENTS.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
76
+ action: { indentAction: monaco_editor_core_exports.languages.IndentAction.Indent }
77
+ }
78
+ ]
79
+ };
80
+ var language = {
81
+ defaultToken: "",
82
+ tokenPostfix: "",
83
+ tokenizer: {
84
+ root: [
85
+ [/@@@@/],
86
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.root" }],
87
+ [/<!DOCTYPE/, "metatag.html", "@doctype"],
88
+ [/<!--/, "comment.html", "@comment"],
89
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
90
+ [/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
91
+ [/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
92
+ [/(<)([:\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
93
+ [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
94
+ [/</, "delimiter.html"],
95
+ [/[ \t\r\n]+/],
96
+ [/[^<@]+/]
97
+ ],
98
+ doctype: [
99
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
100
+ [/[^>]+/, "metatag.content.html"],
101
+ [/>/, "metatag.html", "@pop"]
102
+ ],
103
+ comment: [
104
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
105
+ [/-->/, "comment.html", "@pop"],
106
+ [/[^-]+/, "comment.content.html"],
107
+ [/./, "comment.content.html"]
108
+ ],
109
+ otherTag: [
110
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.otherTag" }],
111
+ [/\/?>/, "delimiter.html", "@pop"],
112
+ [/"([^"]*)"/, "attribute.value"],
113
+ [/'([^']*)'/, "attribute.value"],
114
+ [/[\w\-]+/, "attribute.name"],
115
+ [/=/, "delimiter"],
116
+ [/[ \t\r\n]+/]
117
+ ],
118
+ script: [
119
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.script" }],
120
+ [/type/, "attribute.name", "@scriptAfterType"],
121
+ [/"([^"]*)"/, "attribute.value"],
122
+ [/'([^']*)'/, "attribute.value"],
123
+ [/[\w\-]+/, "attribute.name"],
124
+ [/=/, "delimiter"],
125
+ [
126
+ />/,
127
+ {
128
+ token: "delimiter.html",
129
+ next: "@scriptEmbedded.text/javascript",
130
+ nextEmbedded: "text/javascript"
131
+ }
132
+ ],
133
+ [/[ \t\r\n]+/],
134
+ [
135
+ /(<\/)(script\s*)(>)/,
136
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
137
+ ]
138
+ ],
139
+ scriptAfterType: [
140
+ [
141
+ /@[^@]/,
142
+ {
143
+ token: "@rematch",
144
+ switchTo: "@razorInSimpleState.scriptAfterType"
145
+ }
146
+ ],
147
+ [/=/, "delimiter", "@scriptAfterTypeEquals"],
148
+ [
149
+ />/,
150
+ {
151
+ token: "delimiter.html",
152
+ next: "@scriptEmbedded.text/javascript",
153
+ nextEmbedded: "text/javascript"
154
+ }
155
+ ],
156
+ [/[ \t\r\n]+/],
157
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
158
+ ],
159
+ scriptAfterTypeEquals: [
160
+ [
161
+ /@[^@]/,
162
+ {
163
+ token: "@rematch",
164
+ switchTo: "@razorInSimpleState.scriptAfterTypeEquals"
165
+ }
166
+ ],
167
+ [
168
+ /"([^"]*)"/,
169
+ {
170
+ token: "attribute.value",
171
+ switchTo: "@scriptWithCustomType.$1"
172
+ }
173
+ ],
174
+ [
175
+ /'([^']*)'/,
176
+ {
177
+ token: "attribute.value",
178
+ switchTo: "@scriptWithCustomType.$1"
179
+ }
180
+ ],
181
+ [
182
+ />/,
183
+ {
184
+ token: "delimiter.html",
185
+ next: "@scriptEmbedded.text/javascript",
186
+ nextEmbedded: "text/javascript"
187
+ }
188
+ ],
189
+ [/[ \t\r\n]+/],
190
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
191
+ ],
192
+ scriptWithCustomType: [
193
+ [
194
+ /@[^@]/,
195
+ {
196
+ token: "@rematch",
197
+ switchTo: "@razorInSimpleState.scriptWithCustomType.$S2"
198
+ }
199
+ ],
200
+ [
201
+ />/,
202
+ {
203
+ token: "delimiter.html",
204
+ next: "@scriptEmbedded.$S2",
205
+ nextEmbedded: "$S2"
206
+ }
207
+ ],
208
+ [/"([^"]*)"/, "attribute.value"],
209
+ [/'([^']*)'/, "attribute.value"],
210
+ [/[\w\-]+/, "attribute.name"],
211
+ [/=/, "delimiter"],
212
+ [/[ \t\r\n]+/],
213
+ [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
214
+ ],
215
+ scriptEmbedded: [
216
+ [
217
+ /@[^@]/,
218
+ {
219
+ token: "@rematch",
220
+ switchTo: "@razorInEmbeddedState.scriptEmbedded.$S2",
221
+ nextEmbedded: "@pop"
222
+ }
223
+ ],
224
+ [/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
225
+ ],
226
+ style: [
227
+ [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.style" }],
228
+ [/type/, "attribute.name", "@styleAfterType"],
229
+ [/"([^"]*)"/, "attribute.value"],
230
+ [/'([^']*)'/, "attribute.value"],
231
+ [/[\w\-]+/, "attribute.name"],
232
+ [/=/, "delimiter"],
233
+ [
234
+ />/,
235
+ {
236
+ token: "delimiter.html",
237
+ next: "@styleEmbedded.text/css",
238
+ nextEmbedded: "text/css"
239
+ }
240
+ ],
241
+ [/[ \t\r\n]+/],
242
+ [
243
+ /(<\/)(style\s*)(>)/,
244
+ ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
245
+ ]
246
+ ],
247
+ styleAfterType: [
248
+ [
249
+ /@[^@]/,
250
+ {
251
+ token: "@rematch",
252
+ switchTo: "@razorInSimpleState.styleAfterType"
253
+ }
254
+ ],
255
+ [/=/, "delimiter", "@styleAfterTypeEquals"],
256
+ [
257
+ />/,
258
+ {
259
+ token: "delimiter.html",
260
+ next: "@styleEmbedded.text/css",
261
+ nextEmbedded: "text/css"
262
+ }
263
+ ],
264
+ [/[ \t\r\n]+/],
265
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
266
+ ],
267
+ styleAfterTypeEquals: [
268
+ [
269
+ /@[^@]/,
270
+ {
271
+ token: "@rematch",
272
+ switchTo: "@razorInSimpleState.styleAfterTypeEquals"
273
+ }
274
+ ],
275
+ [
276
+ /"([^"]*)"/,
277
+ {
278
+ token: "attribute.value",
279
+ switchTo: "@styleWithCustomType.$1"
280
+ }
281
+ ],
282
+ [
283
+ /'([^']*)'/,
284
+ {
285
+ token: "attribute.value",
286
+ switchTo: "@styleWithCustomType.$1"
287
+ }
288
+ ],
289
+ [
290
+ />/,
291
+ {
292
+ token: "delimiter.html",
293
+ next: "@styleEmbedded.text/css",
294
+ nextEmbedded: "text/css"
295
+ }
296
+ ],
297
+ [/[ \t\r\n]+/],
298
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
299
+ ],
300
+ styleWithCustomType: [
301
+ [
302
+ /@[^@]/,
303
+ {
304
+ token: "@rematch",
305
+ switchTo: "@razorInSimpleState.styleWithCustomType.$S2"
306
+ }
307
+ ],
308
+ [
309
+ />/,
310
+ {
311
+ token: "delimiter.html",
312
+ next: "@styleEmbedded.$S2",
313
+ nextEmbedded: "$S2"
314
+ }
315
+ ],
316
+ [/"([^"]*)"/, "attribute.value"],
317
+ [/'([^']*)'/, "attribute.value"],
318
+ [/[\w\-]+/, "attribute.name"],
319
+ [/=/, "delimiter"],
320
+ [/[ \t\r\n]+/],
321
+ [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
322
+ ],
323
+ styleEmbedded: [
324
+ [
325
+ /@[^@]/,
326
+ {
327
+ token: "@rematch",
328
+ switchTo: "@razorInEmbeddedState.styleEmbedded.$S2",
329
+ nextEmbedded: "@pop"
330
+ }
331
+ ],
332
+ [/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
333
+ ],
334
+ razorInSimpleState: [
335
+ [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
336
+ [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
337
+ [/(@)(\s*[\w]+)/, ["metatag.cs", { token: "identifier.cs", switchTo: "@$S2.$S3" }]],
338
+ [/[})]/, { token: "metatag.cs", switchTo: "@$S2.$S3" }],
339
+ [/\*@/, { token: "comment.cs", switchTo: "@$S2.$S3" }]
340
+ ],
341
+ razorInEmbeddedState: [
342
+ [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
343
+ [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
344
+ [
345
+ /(@)(\s*[\w]+)/,
346
+ [
347
+ "metatag.cs",
348
+ {
349
+ token: "identifier.cs",
350
+ switchTo: "@$S2.$S3",
351
+ nextEmbedded: "$S3"
352
+ }
353
+ ]
354
+ ],
355
+ [
356
+ /[})]/,
357
+ {
358
+ token: "metatag.cs",
359
+ switchTo: "@$S2.$S3",
360
+ nextEmbedded: "$S3"
361
+ }
362
+ ],
363
+ [
364
+ /\*@/,
365
+ {
366
+ token: "comment.cs",
367
+ switchTo: "@$S2.$S3",
368
+ nextEmbedded: "$S3"
369
+ }
370
+ ]
371
+ ],
372
+ razorBlockCommentTopLevel: [
373
+ [/\*@/, "@rematch", "@pop"],
374
+ [/[^*]+/, "comment.cs"],
375
+ [/./, "comment.cs"]
376
+ ],
377
+ razorBlockComment: [
378
+ [/\*@/, "comment.cs", "@pop"],
379
+ [/[^*]+/, "comment.cs"],
380
+ [/./, "comment.cs"]
381
+ ],
382
+ razorRootTopLevel: [
383
+ [/\{/, "delimiter.bracket.cs", "@razorRoot"],
384
+ [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
385
+ [/[})]/, "@rematch", "@pop"],
386
+ { include: "razorCommon" }
387
+ ],
388
+ razorRoot: [
389
+ [/\{/, "delimiter.bracket.cs", "@razorRoot"],
390
+ [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
391
+ [/\}/, "delimiter.bracket.cs", "@pop"],
392
+ [/\)/, "delimiter.parenthesis.cs", "@pop"],
393
+ { include: "razorCommon" }
394
+ ],
395
+ razorCommon: [
396
+ [
397
+ /[a-zA-Z_]\w*/,
398
+ {
399
+ cases: {
400
+ "@razorKeywords": { token: "keyword.cs" },
401
+ "@default": "identifier.cs"
402
+ }
403
+ }
404
+ ],
405
+ [/[\[\]]/, "delimiter.array.cs"],
406
+ [/[ \t\r\n]+/],
407
+ [/\/\/.*$/, "comment.cs"],
408
+ [/@\*/, "comment.cs", "@razorBlockComment"],
409
+ [/"([^"]*)"/, "string.cs"],
410
+ [/'([^']*)'/, "string.cs"],
411
+ [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
412
+ [/(<)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
413
+ [/(<\/)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
414
+ [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/, "delimiter.cs"],
415
+ [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.cs"],
416
+ [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.cs"],
417
+ [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.cs"],
418
+ [/0[0-7']*[0-7]/, "number.octal.cs"],
419
+ [/0[bB][0-1']*[0-1]/, "number.binary.cs"],
420
+ [/\d[\d']*/, "number.cs"],
421
+ [/\d/, "number.cs"]
422
+ ]
423
+ },
424
+ razorKeywords: [
425
+ "abstract",
426
+ "as",
427
+ "async",
428
+ "await",
429
+ "base",
430
+ "bool",
431
+ "break",
432
+ "by",
433
+ "byte",
434
+ "case",
435
+ "catch",
436
+ "char",
437
+ "checked",
438
+ "class",
439
+ "const",
440
+ "continue",
441
+ "decimal",
442
+ "default",
443
+ "delegate",
444
+ "do",
445
+ "double",
446
+ "descending",
447
+ "explicit",
448
+ "event",
449
+ "extern",
450
+ "else",
451
+ "enum",
452
+ "false",
453
+ "finally",
454
+ "fixed",
455
+ "float",
456
+ "for",
457
+ "foreach",
458
+ "from",
459
+ "goto",
460
+ "group",
461
+ "if",
462
+ "implicit",
463
+ "in",
464
+ "int",
465
+ "interface",
466
+ "internal",
467
+ "into",
468
+ "is",
469
+ "lock",
470
+ "long",
471
+ "nameof",
472
+ "new",
473
+ "null",
474
+ "namespace",
475
+ "object",
476
+ "operator",
477
+ "out",
478
+ "override",
479
+ "orderby",
480
+ "params",
481
+ "private",
482
+ "protected",
483
+ "public",
484
+ "readonly",
485
+ "ref",
486
+ "return",
487
+ "switch",
488
+ "struct",
489
+ "sbyte",
490
+ "sealed",
491
+ "short",
492
+ "sizeof",
493
+ "stackalloc",
494
+ "static",
495
+ "string",
496
+ "select",
497
+ "this",
498
+ "throw",
499
+ "true",
500
+ "try",
501
+ "typeof",
502
+ "uint",
503
+ "ulong",
504
+ "unchecked",
505
+ "unsafe",
506
+ "ushort",
507
+ "using",
508
+ "var",
509
+ "virtual",
510
+ "volatile",
511
+ "void",
512
+ "when",
513
+ "while",
514
+ "where",
515
+ "yield",
516
+ "model",
517
+ "inject"
518
+ ],
519
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
520
+ };
521
+ export {
522
+ conf,
523
+ language
524
+ };