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.
- package/lib/VariablesEditorContent-08997e30.mjs +147384 -0
- package/lib/abap-e7729493.mjs +1315 -0
- package/lib/apex-ea0b1b44.mjs +320 -0
- package/lib/assets/json.worker-2db083a8.js +16634 -0
- package/lib/azcli-92ca1f6b.mjs +75 -0
- package/lib/bat-a8aff72a.mjs +96 -0
- package/lib/bicep-a4d73496.mjs +116 -0
- package/lib/cameligo-93a61573.mjs +169 -0
- package/lib/clojure-a4292303.mjs +755 -0
- package/lib/coffee-c79fd580.mjs +229 -0
- package/lib/cpp-4bbc4355.mjs +391 -0
- package/lib/csharp-8ee8b919.mjs +321 -0
- package/lib/csp-7ff23ab5.mjs +58 -0
- package/lib/css-675efd06.mjs +185 -0
- package/lib/cssMode-e5b02650.mjs +2031 -0
- package/lib/cypher-ff6c93d1.mjs +263 -0
- package/lib/dart-b81ee8da.mjs +271 -0
- package/lib/dockerfile-4d34b657.mjs +133 -0
- package/lib/ecl-829c6c9f.mjs +455 -0
- package/lib/elixir-d20ab92c.mjs +490 -0
- package/lib/flow9-d363677c.mjs +142 -0
- package/lib/freemarker2-07352200.mjs +675 -0
- package/lib/fsharp-e5e10937.mjs +211 -0
- package/lib/go-49d8dd1b.mjs +209 -0
- package/lib/graphql-397d36cc.mjs +142 -0
- package/lib/handlebars-eb587af4.mjs +403 -0
- package/lib/hcl-2bc5a11b.mjs +178 -0
- package/lib/html-805b20b1.mjs +293 -0
- package/lib/html2canvas.esm-858519c4.mjs +7837 -0
- package/lib/htmlMode-a339a06a.mjs +2047 -0
- package/lib/index.js +40838 -0
- package/lib/ini-777fd0a6.mjs +69 -0
- package/lib/java-88c2ae93.mjs +222 -0
- package/lib/javascript-b5849f55.mjs +78 -0
- package/lib/jsonMode-1b509c19.mjs +2607 -0
- package/lib/julia-7e1d65a2.mjs +497 -0
- package/lib/kotlin-da15198d.mjs +246 -0
- package/lib/less-0057666d.mjs +168 -0
- package/lib/lexon-4f74b04c.mjs +152 -0
- package/lib/liquid-d5c8a287.mjs +250 -0
- package/lib/lua-da0a0c60.mjs +158 -0
- package/lib/m3-14d67e1c.mjs +211 -0
- package/lib/markdown-37ba20b1.mjs +203 -0
- package/lib/mips-d0b2c227.mjs +195 -0
- package/lib/monacoeditorwork/css.worker.bundle.js +46736 -0
- package/lib/monacoeditorwork/editor.worker.bundle.js +9954 -0
- package/lib/monacoeditorwork/html.worker.bundle.js +25985 -0
- package/lib/monacoeditorwork/json.worker.bundle.js +17214 -0
- package/lib/monacoeditorwork/ts.worker.bundle.js +172133 -0
- package/lib/msdax-29068c66.mjs +378 -0
- package/lib/mysql-7833c854.mjs +877 -0
- package/lib/objective-c-91c200d7.mjs +189 -0
- package/lib/pascal-eb8fa4fd.mjs +246 -0
- package/lib/pascaligo-855a8af1.mjs +159 -0
- package/lib/perl-6aab1ca2.mjs +600 -0
- package/lib/pgsql-f2266c91.mjs +848 -0
- package/lib/php-9806c791.mjs +472 -0
- package/lib/pla-c1d8ec04.mjs +132 -0
- package/lib/postiats-04d6db22.mjs +545 -0
- package/lib/powerquery-ec4dd65a.mjs +891 -0
- package/lib/powershell-cc02a40e.mjs +234 -0
- package/lib/protobuf-83b8e701.mjs +423 -0
- package/lib/pug-06fecd70.mjs +394 -0
- package/lib/python-7da9e073.mjs +270 -0
- package/lib/qsharp-232171da.mjs +283 -0
- package/lib/r-c048a1d4.mjs +246 -0
- package/lib/razor-c88b46b3.mjs +524 -0
- package/lib/redis-4399e06c.mjs +299 -0
- package/lib/redshift-ba36da77.mjs +807 -0
- package/lib/restructuredtext-cac6fcb7.mjs +163 -0
- package/lib/ruby-dca5ee98.mjs +445 -0
- package/lib/rust-c0b8769e.mjs +338 -0
- package/lib/sb-2b0bce6c.mjs +111 -0
- package/lib/scala-58e9dfc7.mjs +354 -0
- package/lib/scheme-fdc48747.mjs +115 -0
- package/lib/scss-defea6f2.mjs +243 -0
- package/lib/shell-8e11dc85.mjs +225 -0
- package/lib/solidity-8d74b890.mjs +1352 -0
- package/lib/sophia-b97eb718.mjs +191 -0
- package/lib/sparql-68163824.mjs +194 -0
- package/lib/sql-59977475.mjs +819 -0
- package/lib/st-febe75da.mjs +415 -0
- package/lib/style.css +6503 -0
- package/lib/swift-b95bae51.mjs +316 -0
- package/lib/systemverilog-4461e8b3.mjs +557 -0
- package/lib/tcl-8f97c15f.mjs +233 -0
- package/lib/tsMode-934544e6.mjs +1216 -0
- package/lib/twig-a68d494c.mjs +324 -0
- package/lib/typescript-049ec7b9.mjs +339 -0
- package/lib/typings/assets/font/iconfont.d.ts +0 -0
- package/lib/typings/components/BlockSideBar/BlockItem/index.d.ts +9 -0
- package/lib/typings/components/BlockSideBar/BlockList/index.d.ts +5 -0
- package/lib/typings/components/BlockSideBar/BlocksPanel/index.d.ts +2 -0
- package/lib/typings/components/BlockSideBar/LayoutItem/index.d.ts +6 -0
- package/lib/typings/components/BlockSideBar/index.d.ts +5 -0
- package/lib/typings/components/ColumnLayout/LayoutItemList.d.ts +6 -0
- package/lib/typings/components/ColumnLayout/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationDrawer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Button/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Column/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Divider/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Hero/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Image/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Navbar/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Page/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Section/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Social/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Spacer/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Text/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/Wrapper/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/Elements/index.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundColor.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundImage.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BackgroundPosition.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Border.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/BorderRadius.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ButtonCategory.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Buttons.d.ts +18 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Columns.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Direction.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Condition.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/Iteration.d.ts +9 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DisplayOptions/index.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/DividerLine.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontFamily.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontSize.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/FontWeight.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/GlobalLink.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Heading.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Height.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageUrl.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/ImageWidth.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LetterSpacing.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/LineHeight.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Link.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Padding.d.ts +10 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelAndPercentField.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/PixelField.d.ts +3 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/StackOnMobile.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingList.d.ts +6 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/TextAndHeadingStyle.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Typography.d.ts +17 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/VerticalAlign.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/WebFonts.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/Width.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributeField/index.d.ts +103 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributePanel.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/AttributesPanelWrapper/index.d.ts +8 -0
- package/lib/typings/components/ConfigurationPanel/components/CollapseWrapper/index.d.ts +7 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/ResponsiveField.d.ts +5 -0
- package/lib/typings/components/ConfigurationPanel/components/ResponsiveTabs/index.d.ts +11 -0
- package/lib/typings/components/ConfigurationPanel/components/SourceCodePanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/components/UniversalElementPanel/index.d.ts +2 -0
- package/lib/typings/components/ConfigurationPanel/index.d.ts +8 -0
- package/lib/typings/components/Controller/index.d.ts +3 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/DesktopEmailPreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/components/MobilePreview/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmail/index.d.ts +8 -0
- package/lib/typings/components/EditorTabs/components/PreviewEmailDrawer/index.d.ts +4 -0
- package/lib/typings/components/EditorTabs/components/TabHeader/index.d.ts +5 -0
- package/lib/typings/components/EditorTabs/index.d.ts +4 -0
- package/lib/typings/components/Form/ButtonField.d.ts +13 -0
- package/lib/typings/components/Form/ButtonGroupField.d.ts +15 -0
- package/lib/typings/components/Form/ColorPicker/ColorPickerContent.d.ts +7 -0
- package/lib/typings/components/Form/ColorPicker/index.d.ts +14 -0
- package/lib/typings/components/Form/EditPanelListField.d.ts +17 -0
- package/lib/typings/components/Form/EditPanelTabsField.d.ts +13 -0
- package/lib/typings/components/Form/ImageUploaderField/index.d.ts +20 -0
- package/lib/typings/components/Form/RichTextField/index.d.ts +10 -0
- package/lib/typings/components/Form/Select.d.ts +11 -0
- package/lib/typings/components/Form/SwitchField/index.d.ts +5 -0
- package/lib/typings/components/Form/SyncChildrenField.d.ts +11 -0
- package/lib/typings/components/Form/VariablesEditor/VariablesEditorContent.d.ts +7 -0
- package/lib/typings/components/Form/VariablesEditor/index.d.ts +2 -0
- package/lib/typings/components/Form/WatchField.d.ts +11 -0
- package/lib/typings/components/Form/adapter/JsonAdapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/color.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontStyle.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/fontWeight.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/index.d.ts +8 -0
- package/lib/typings/components/Form/adapter/italic.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixel.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/pixelNumber.adapter.d.ts +4 -0
- package/lib/typings/components/Form/adapter/slider.adapter.d.ts +4 -0
- package/lib/typings/components/Form/enhancer.d.ts +12 -0
- package/lib/typings/components/Form/index.d.ts +26 -0
- package/lib/typings/components/FullHeightOverlayScrollbars/index.d.ts +9 -0
- package/lib/typings/components/FullScreenLoading/index.d.ts +7 -0
- package/lib/typings/components/Hotkeys/index.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/RichTextBar.d.ts +6 -0
- package/lib/typings/components/HoveringToolbar/componens/BgColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontColor.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontFamily.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FontSize.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/FormatButton.d.ts +9 -0
- package/lib/typings/components/HoveringToolbar/componens/MergeTag.d.ts +8 -0
- package/lib/typings/components/HoveringToolbar/componens/TextAlign.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TextLink.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/componens/TurnInto.d.ts +2 -0
- package/lib/typings/components/HoveringToolbar/constants.d.ts +0 -0
- package/lib/typings/components/HoveringToolbar/index.d.ts +3 -0
- package/lib/typings/components/HoveringToolbar/utils/getLinkNode.d.ts +3 -0
- package/lib/typings/components/IconFont/index.d.ts +10 -0
- package/lib/typings/components/MergeTagComponent/index.d.ts +7 -0
- package/lib/typings/components/MergetagPopover/index.d.ts +2 -0
- package/lib/typings/components/Providers/ControllerProvider.d.ts +4 -0
- package/lib/typings/components/Providers/DraggingProvider.d.ts +20 -0
- package/lib/typings/components/Providers/FormProvider.d.ts +4 -0
- package/lib/typings/components/Providers/UniversalElementProvider.d.ts +10 -0
- package/lib/typings/components/Providers/index.d.ts +6 -0
- package/lib/typings/components/UniversalElementEditorDrawer/index.d.ts +5 -0
- package/lib/typings/components/UnsplashImages/index.d.ts +206 -0
- package/lib/typings/components/index.d.ts +69 -0
- package/lib/typings/hooks/index.d.ts +6 -0
- package/lib/typings/hooks/useDragging.d.ts +15 -0
- package/lib/typings/hooks/useEditorForm.d.ts +12 -0
- package/lib/typings/hooks/useElementDefault.d.ts +9 -0
- package/lib/typings/hooks/useElementInteract.d.ts +6 -0
- package/lib/typings/hooks/useFontFamily.d.ts +7 -0
- package/lib/typings/hooks/useUniversalContent.d.ts +1 -0
- package/lib/typings/index.d.ts +5 -0
- package/lib/typings/store/ColorState.d.ts +9 -0
- package/lib/typings/store/EditorState.d.ts +12 -0
- package/lib/typings/store/Minimalist.d.ts +35 -0
- package/lib/typings/store/index.d.ts +49 -0
- package/lib/typings/themes/Minimalist/components/AutoSelectElement.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockMenusOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/BlockResizer/index.d.ts +12 -0
- package/lib/typings/themes/Minimalist/components/ColumnLayoutOverlay/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Minimalist/components/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreActionsMenusOverlay/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/MoreIcon/index.d.ts +5 -0
- package/lib/typings/themes/Minimalist/components/ImageAction/index.d.ts +7 -0
- package/lib/typings/themes/Minimalist/index.d.ts +10 -0
- package/lib/typings/themes/Minimalist/withTheme.d.ts +4 -0
- package/lib/typings/themes/Retro/components/AutoDeselectElement.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/AddIcon/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/DragIcon/index.d.ts +4 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementHover/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementPlaceholder/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementSelected/index.d.ts +2 -0
- package/lib/typings/themes/Retro/components/ElementInteract/ElementTools/index.d.ts +8 -0
- package/lib/typings/themes/Retro/components/ElementInteract/index.d.ts +3 -0
- package/lib/typings/themes/Retro/index.d.ts +10 -0
- package/lib/typings/themes/Retro/withTheme.d.ts +2 -0
- package/lib/typings/themes/index.d.ts +2 -0
- package/lib/typings/typings/custom-types.d.ts +96 -0
- package/lib/typings/typings/index.d.ts +1 -0
- package/lib/typings/utils/Uploader.d.ts +35 -0
- package/lib/typings/utils/environment.d.ts +1 -0
- package/lib/typings/utils/generateLogic.d.ts +3 -0
- package/lib/typings/utils/getElementPageLayout.d.ts +16 -0
- package/lib/typings/utils/getFallbackValue.d.ts +7 -0
- package/lib/typings/utils/hideCursor.d.ts +2 -0
- package/lib/typings/utils/hotkeys.d.ts +18 -0
- package/lib/typings/utils/index.d.ts +2 -0
- package/lib/typings/utils/isValidHttpUrl.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/HtmlNodeAdapter.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/basicElementToStandardElement.d.ts +2 -0
- package/lib/typings/utils/mjmlToJson/formatPadding.d.ts +1 -0
- package/lib/typings/utils/mjmlToJson/index.d.ts +2 -0
- package/lib/typings/utils/onDrag.d.ts +10 -0
- package/lib/typings/utils/previewLoadImage.d.ts +1 -0
- package/lib/vb-dfbee74a.mjs +365 -0
- package/lib/xml-c6d1e274.mjs +106 -0
- package/lib/yaml-3c88ef61.mjs +195 -0
- package/package.json +44 -0
|
@@ -0,0 +1,243 @@
|
|
|
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: ".scss",
|
|
42
|
+
ws: "[ \n\r\f]*",
|
|
43
|
+
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])))*",
|
|
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: [{ include: "@selector" }],
|
|
52
|
+
selector: [
|
|
53
|
+
{ include: "@comments" },
|
|
54
|
+
{ include: "@import" },
|
|
55
|
+
{ include: "@variabledeclaration" },
|
|
56
|
+
{ include: "@warndebug" },
|
|
57
|
+
["[@](include)", { token: "keyword", next: "@includedeclaration" }],
|
|
58
|
+
[
|
|
59
|
+
"[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
|
|
60
|
+
{ token: "keyword", next: "@keyframedeclaration" }
|
|
61
|
+
],
|
|
62
|
+
["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
|
|
63
|
+
["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
|
|
64
|
+
["[@](function)", { token: "keyword", next: "@functiondeclaration" }],
|
|
65
|
+
["[@](mixin)", { token: "keyword", next: "@mixindeclaration" }],
|
|
66
|
+
["url(\\-prefix)?\\(", { token: "meta", next: "@urldeclaration" }],
|
|
67
|
+
{ include: "@controlstatement" },
|
|
68
|
+
{ include: "@selectorname" },
|
|
69
|
+
["[&\\*]", "tag"],
|
|
70
|
+
["[>\\+,]", "delimiter"],
|
|
71
|
+
["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
|
|
72
|
+
["{", { token: "delimiter.curly", next: "@selectorbody" }]
|
|
73
|
+
],
|
|
74
|
+
selectorbody: [
|
|
75
|
+
["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
|
|
76
|
+
{ include: "@selector" },
|
|
77
|
+
["[@](extend)", { token: "keyword", next: "@extendbody" }],
|
|
78
|
+
["[@](return)", { token: "keyword", next: "@declarationbody" }],
|
|
79
|
+
["}", { token: "delimiter.curly", next: "@pop" }]
|
|
80
|
+
],
|
|
81
|
+
selectorname: [
|
|
82
|
+
["#{", { token: "meta", next: "@variableinterpolation" }],
|
|
83
|
+
["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
|
|
84
|
+
],
|
|
85
|
+
selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
|
|
86
|
+
term: [
|
|
87
|
+
{ include: "@comments" },
|
|
88
|
+
["url(\\-prefix)?\\(", { token: "meta", next: "@urldeclaration" }],
|
|
89
|
+
{ include: "@functioninvocation" },
|
|
90
|
+
{ include: "@numbers" },
|
|
91
|
+
{ include: "@strings" },
|
|
92
|
+
{ include: "@variablereference" },
|
|
93
|
+
["(and\\b|or\\b|not\\b)", "operator"],
|
|
94
|
+
{ include: "@name" },
|
|
95
|
+
["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "operator"],
|
|
96
|
+
[",", "delimiter"],
|
|
97
|
+
["!default", "literal"],
|
|
98
|
+
["\\(", { token: "delimiter.parenthesis", next: "@parenthizedterm" }]
|
|
99
|
+
],
|
|
100
|
+
rulevalue: [
|
|
101
|
+
{ include: "@term" },
|
|
102
|
+
["!important", "literal"],
|
|
103
|
+
[";", "delimiter", "@pop"],
|
|
104
|
+
["{", { token: "delimiter.curly", switchTo: "@nestedproperty" }],
|
|
105
|
+
["(?=})", { token: "", next: "@pop" }]
|
|
106
|
+
],
|
|
107
|
+
nestedproperty: [
|
|
108
|
+
["[*_]?@identifier@ws:", "attribute.name", "@rulevalue"],
|
|
109
|
+
{ include: "@comments" },
|
|
110
|
+
["}", { token: "delimiter.curly", next: "@pop" }]
|
|
111
|
+
],
|
|
112
|
+
warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
|
|
113
|
+
import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
|
|
114
|
+
variabledeclaration: [
|
|
115
|
+
["\\$@identifier@ws:", "variable.decl", "@declarationbody"]
|
|
116
|
+
],
|
|
117
|
+
urldeclaration: [
|
|
118
|
+
{ include: "@strings" },
|
|
119
|
+
["[^)\r\n]+", "string"],
|
|
120
|
+
["\\)", { token: "meta", next: "@pop" }]
|
|
121
|
+
],
|
|
122
|
+
parenthizedterm: [
|
|
123
|
+
{ include: "@term" },
|
|
124
|
+
["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
|
|
125
|
+
],
|
|
126
|
+
declarationbody: [
|
|
127
|
+
{ include: "@term" },
|
|
128
|
+
[";", "delimiter", "@pop"],
|
|
129
|
+
["(?=})", { token: "", next: "@pop" }]
|
|
130
|
+
],
|
|
131
|
+
extendbody: [
|
|
132
|
+
{ include: "@selectorname" },
|
|
133
|
+
["!optional", "literal"],
|
|
134
|
+
[";", "delimiter", "@pop"],
|
|
135
|
+
["(?=})", { token: "", next: "@pop" }]
|
|
136
|
+
],
|
|
137
|
+
variablereference: [
|
|
138
|
+
["\\$@identifier", "variable.ref"],
|
|
139
|
+
["\\.\\.\\.", "operator"],
|
|
140
|
+
["#{", { token: "meta", next: "@variableinterpolation" }]
|
|
141
|
+
],
|
|
142
|
+
variableinterpolation: [
|
|
143
|
+
{ include: "@variablereference" },
|
|
144
|
+
["}", { token: "meta", next: "@pop" }]
|
|
145
|
+
],
|
|
146
|
+
comments: [
|
|
147
|
+
["\\/\\*", "comment", "@comment"],
|
|
148
|
+
["\\/\\/+.*", "comment"]
|
|
149
|
+
],
|
|
150
|
+
comment: [
|
|
151
|
+
["\\*\\/", "comment", "@pop"],
|
|
152
|
+
[".", "comment"]
|
|
153
|
+
],
|
|
154
|
+
name: [["@identifier", "attribute.value"]],
|
|
155
|
+
numbers: [
|
|
156
|
+
["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "number", next: "@units" }],
|
|
157
|
+
["#[0-9a-fA-F_]+(?!\\w)", "number.hex"]
|
|
158
|
+
],
|
|
159
|
+
units: [
|
|
160
|
+
[
|
|
161
|
+
"(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
|
|
162
|
+
"number",
|
|
163
|
+
"@pop"
|
|
164
|
+
]
|
|
165
|
+
],
|
|
166
|
+
functiondeclaration: [
|
|
167
|
+
["@identifier@ws\\(", { token: "meta", next: "@parameterdeclaration" }],
|
|
168
|
+
["{", { token: "delimiter.curly", switchTo: "@functionbody" }]
|
|
169
|
+
],
|
|
170
|
+
mixindeclaration: [
|
|
171
|
+
["@identifier@ws\\(", { token: "meta", next: "@parameterdeclaration" }],
|
|
172
|
+
["@identifier", "meta"],
|
|
173
|
+
["{", { token: "delimiter.curly", switchTo: "@selectorbody" }]
|
|
174
|
+
],
|
|
175
|
+
parameterdeclaration: [
|
|
176
|
+
["\\$@identifier@ws:", "variable.decl"],
|
|
177
|
+
["\\.\\.\\.", "operator"],
|
|
178
|
+
[",", "delimiter"],
|
|
179
|
+
{ include: "@term" },
|
|
180
|
+
["\\)", { token: "meta", next: "@pop" }]
|
|
181
|
+
],
|
|
182
|
+
includedeclaration: [
|
|
183
|
+
{ include: "@functioninvocation" },
|
|
184
|
+
["@identifier", "meta"],
|
|
185
|
+
[";", "delimiter", "@pop"],
|
|
186
|
+
["(?=})", { token: "", next: "@pop" }],
|
|
187
|
+
["{", { token: "delimiter.curly", switchTo: "@selectorbody" }]
|
|
188
|
+
],
|
|
189
|
+
keyframedeclaration: [
|
|
190
|
+
["@identifier", "meta"],
|
|
191
|
+
["{", { token: "delimiter.curly", switchTo: "@keyframebody" }]
|
|
192
|
+
],
|
|
193
|
+
keyframebody: [
|
|
194
|
+
{ include: "@term" },
|
|
195
|
+
["{", { token: "delimiter.curly", next: "@selectorbody" }],
|
|
196
|
+
["}", { token: "delimiter.curly", next: "@pop" }]
|
|
197
|
+
],
|
|
198
|
+
controlstatement: [
|
|
199
|
+
[
|
|
200
|
+
"[@](if|else|for|while|each|media)",
|
|
201
|
+
{ token: "keyword.flow", next: "@controlstatementdeclaration" }
|
|
202
|
+
]
|
|
203
|
+
],
|
|
204
|
+
controlstatementdeclaration: [
|
|
205
|
+
["(in|from|through|if|to)\\b", { token: "keyword.flow" }],
|
|
206
|
+
{ include: "@term" },
|
|
207
|
+
["{", { token: "delimiter.curly", switchTo: "@selectorbody" }]
|
|
208
|
+
],
|
|
209
|
+
functionbody: [
|
|
210
|
+
["[@](return)", { token: "keyword" }],
|
|
211
|
+
{ include: "@variabledeclaration" },
|
|
212
|
+
{ include: "@term" },
|
|
213
|
+
{ include: "@controlstatement" },
|
|
214
|
+
[";", "delimiter"],
|
|
215
|
+
["}", { token: "delimiter.curly", next: "@pop" }]
|
|
216
|
+
],
|
|
217
|
+
functioninvocation: [["@identifier\\(", { token: "meta", next: "@functionarguments" }]],
|
|
218
|
+
functionarguments: [
|
|
219
|
+
["\\$@identifier@ws:", "attribute.name"],
|
|
220
|
+
["[,]", "delimiter"],
|
|
221
|
+
{ include: "@term" },
|
|
222
|
+
["\\)", { token: "meta", next: "@pop" }]
|
|
223
|
+
],
|
|
224
|
+
strings: [
|
|
225
|
+
['~?"', { token: "string.delimiter", next: "@stringenddoublequote" }],
|
|
226
|
+
["~?'", { token: "string.delimiter", next: "@stringendquote" }]
|
|
227
|
+
],
|
|
228
|
+
stringenddoublequote: [
|
|
229
|
+
["\\\\.", "string"],
|
|
230
|
+
['"', { token: "string.delimiter", next: "@pop" }],
|
|
231
|
+
[".", "string"]
|
|
232
|
+
],
|
|
233
|
+
stringendquote: [
|
|
234
|
+
["\\\\.", "string"],
|
|
235
|
+
["'", { token: "string.delimiter", next: "@pop" }],
|
|
236
|
+
[".", "string"]
|
|
237
|
+
]
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
export {
|
|
241
|
+
conf,
|
|
242
|
+
language
|
|
243
|
+
};
|
|
@@ -0,0 +1,225 @@
|
|
|
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: "#"
|
|
10
|
+
},
|
|
11
|
+
brackets: [
|
|
12
|
+
["{", "}"],
|
|
13
|
+
["[", "]"],
|
|
14
|
+
["(", ")"]
|
|
15
|
+
],
|
|
16
|
+
autoClosingPairs: [
|
|
17
|
+
{ open: "{", close: "}" },
|
|
18
|
+
{ open: "[", close: "]" },
|
|
19
|
+
{ open: "(", close: ")" },
|
|
20
|
+
{ open: '"', close: '"' },
|
|
21
|
+
{ open: "'", close: "'" },
|
|
22
|
+
{ open: "`", close: "`" }
|
|
23
|
+
],
|
|
24
|
+
surroundingPairs: [
|
|
25
|
+
{ open: "{", close: "}" },
|
|
26
|
+
{ open: "[", close: "]" },
|
|
27
|
+
{ open: "(", close: ")" },
|
|
28
|
+
{ open: '"', close: '"' },
|
|
29
|
+
{ open: "'", close: "'" },
|
|
30
|
+
{ open: "`", close: "`" }
|
|
31
|
+
]
|
|
32
|
+
};
|
|
33
|
+
var language = {
|
|
34
|
+
defaultToken: "",
|
|
35
|
+
ignoreCase: true,
|
|
36
|
+
tokenPostfix: ".shell",
|
|
37
|
+
brackets: [
|
|
38
|
+
{ token: "delimiter.bracket", open: "{", close: "}" },
|
|
39
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
40
|
+
{ token: "delimiter.square", open: "[", close: "]" }
|
|
41
|
+
],
|
|
42
|
+
keywords: [
|
|
43
|
+
"if",
|
|
44
|
+
"then",
|
|
45
|
+
"do",
|
|
46
|
+
"else",
|
|
47
|
+
"elif",
|
|
48
|
+
"while",
|
|
49
|
+
"until",
|
|
50
|
+
"for",
|
|
51
|
+
"in",
|
|
52
|
+
"esac",
|
|
53
|
+
"fi",
|
|
54
|
+
"fin",
|
|
55
|
+
"fil",
|
|
56
|
+
"done",
|
|
57
|
+
"exit",
|
|
58
|
+
"set",
|
|
59
|
+
"unset",
|
|
60
|
+
"export",
|
|
61
|
+
"function"
|
|
62
|
+
],
|
|
63
|
+
builtins: [
|
|
64
|
+
"ab",
|
|
65
|
+
"awk",
|
|
66
|
+
"bash",
|
|
67
|
+
"beep",
|
|
68
|
+
"cat",
|
|
69
|
+
"cc",
|
|
70
|
+
"cd",
|
|
71
|
+
"chown",
|
|
72
|
+
"chmod",
|
|
73
|
+
"chroot",
|
|
74
|
+
"clear",
|
|
75
|
+
"cp",
|
|
76
|
+
"curl",
|
|
77
|
+
"cut",
|
|
78
|
+
"diff",
|
|
79
|
+
"echo",
|
|
80
|
+
"find",
|
|
81
|
+
"gawk",
|
|
82
|
+
"gcc",
|
|
83
|
+
"get",
|
|
84
|
+
"git",
|
|
85
|
+
"grep",
|
|
86
|
+
"hg",
|
|
87
|
+
"kill",
|
|
88
|
+
"killall",
|
|
89
|
+
"ln",
|
|
90
|
+
"ls",
|
|
91
|
+
"make",
|
|
92
|
+
"mkdir",
|
|
93
|
+
"openssl",
|
|
94
|
+
"mv",
|
|
95
|
+
"nc",
|
|
96
|
+
"node",
|
|
97
|
+
"npm",
|
|
98
|
+
"ping",
|
|
99
|
+
"ps",
|
|
100
|
+
"restart",
|
|
101
|
+
"rm",
|
|
102
|
+
"rmdir",
|
|
103
|
+
"sed",
|
|
104
|
+
"service",
|
|
105
|
+
"sh",
|
|
106
|
+
"shopt",
|
|
107
|
+
"shred",
|
|
108
|
+
"source",
|
|
109
|
+
"sort",
|
|
110
|
+
"sleep",
|
|
111
|
+
"ssh",
|
|
112
|
+
"start",
|
|
113
|
+
"stop",
|
|
114
|
+
"su",
|
|
115
|
+
"sudo",
|
|
116
|
+
"svn",
|
|
117
|
+
"tee",
|
|
118
|
+
"telnet",
|
|
119
|
+
"top",
|
|
120
|
+
"touch",
|
|
121
|
+
"vi",
|
|
122
|
+
"vim",
|
|
123
|
+
"wall",
|
|
124
|
+
"wc",
|
|
125
|
+
"wget",
|
|
126
|
+
"who",
|
|
127
|
+
"write",
|
|
128
|
+
"yes",
|
|
129
|
+
"zsh"
|
|
130
|
+
],
|
|
131
|
+
startingWithDash: /\-+\w+/,
|
|
132
|
+
identifiersWithDashes: /[a-zA-Z]\w+(?:@startingWithDash)+/,
|
|
133
|
+
symbols: /[=><!~?&|+\-*\/\^;\.,]+/,
|
|
134
|
+
tokenizer: {
|
|
135
|
+
root: [
|
|
136
|
+
[/@identifiersWithDashes/, ""],
|
|
137
|
+
[/(\s)((?:@startingWithDash)+)/, ["white", "attribute.name"]],
|
|
138
|
+
[
|
|
139
|
+
/[a-zA-Z]\w*/,
|
|
140
|
+
{
|
|
141
|
+
cases: {
|
|
142
|
+
"@keywords": "keyword",
|
|
143
|
+
"@builtins": "type.identifier",
|
|
144
|
+
"@default": ""
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
],
|
|
148
|
+
{ include: "@whitespace" },
|
|
149
|
+
{ include: "@strings" },
|
|
150
|
+
{ include: "@parameters" },
|
|
151
|
+
{ include: "@heredoc" },
|
|
152
|
+
[/[{}\[\]()]/, "@brackets"],
|
|
153
|
+
[/@symbols/, "delimiter"],
|
|
154
|
+
{ include: "@numbers" },
|
|
155
|
+
[/[,;]/, "delimiter"]
|
|
156
|
+
],
|
|
157
|
+
whitespace: [
|
|
158
|
+
[/\s+/, "white"],
|
|
159
|
+
[/(^#!.*$)/, "metatag"],
|
|
160
|
+
[/(^#.*$)/, "comment"]
|
|
161
|
+
],
|
|
162
|
+
numbers: [
|
|
163
|
+
[/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
|
|
164
|
+
[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/, "number.hex"],
|
|
165
|
+
[/\d+/, "number"]
|
|
166
|
+
],
|
|
167
|
+
strings: [
|
|
168
|
+
[/'/, "string", "@stringBody"],
|
|
169
|
+
[/"/, "string", "@dblStringBody"]
|
|
170
|
+
],
|
|
171
|
+
stringBody: [
|
|
172
|
+
[/'/, "string", "@popall"],
|
|
173
|
+
[/./, "string"]
|
|
174
|
+
],
|
|
175
|
+
dblStringBody: [
|
|
176
|
+
[/"/, "string", "@popall"],
|
|
177
|
+
[/./, "string"]
|
|
178
|
+
],
|
|
179
|
+
heredoc: [
|
|
180
|
+
[
|
|
181
|
+
/(<<[-<]?)(\s*)(['"`]?)([\w\-]+)(['"`]?)/,
|
|
182
|
+
[
|
|
183
|
+
"constants",
|
|
184
|
+
"white",
|
|
185
|
+
"string.heredoc.delimiter",
|
|
186
|
+
"string.heredoc",
|
|
187
|
+
"string.heredoc.delimiter"
|
|
188
|
+
]
|
|
189
|
+
]
|
|
190
|
+
],
|
|
191
|
+
parameters: [
|
|
192
|
+
[/\$\d+/, "variable.predefined"],
|
|
193
|
+
[/\$\w+/, "variable"],
|
|
194
|
+
[/\$[*@#?\-$!0_]/, "variable"],
|
|
195
|
+
[/\$'/, "variable", "@parameterBodyQuote"],
|
|
196
|
+
[/\$"/, "variable", "@parameterBodyDoubleQuote"],
|
|
197
|
+
[/\$\(/, "variable", "@parameterBodyParen"],
|
|
198
|
+
[/\$\{/, "variable", "@parameterBodyCurlyBrace"]
|
|
199
|
+
],
|
|
200
|
+
parameterBodyQuote: [
|
|
201
|
+
[/[^#:%*@\-!_']+/, "variable"],
|
|
202
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
203
|
+
[/[']/, "variable", "@pop"]
|
|
204
|
+
],
|
|
205
|
+
parameterBodyDoubleQuote: [
|
|
206
|
+
[/[^#:%*@\-!_"]+/, "variable"],
|
|
207
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
208
|
+
[/["]/, "variable", "@pop"]
|
|
209
|
+
],
|
|
210
|
+
parameterBodyParen: [
|
|
211
|
+
[/[^#:%*@\-!_)]+/, "variable"],
|
|
212
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
213
|
+
[/[)]/, "variable", "@pop"]
|
|
214
|
+
],
|
|
215
|
+
parameterBodyCurlyBrace: [
|
|
216
|
+
[/[^#:%*@\-!_}]+/, "variable"],
|
|
217
|
+
[/[#:%*@\-!_]/, "delimiter"],
|
|
218
|
+
[/[}]/, "variable", "@pop"]
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
};
|
|
222
|
+
export {
|
|
223
|
+
conf,
|
|
224
|
+
language
|
|
225
|
+
};
|