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,557 @@
|
|
|
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
|
+
blockComment: ["/*", "*/"]
|
|
11
|
+
},
|
|
12
|
+
brackets: [
|
|
13
|
+
["{", "}"],
|
|
14
|
+
["[", "]"],
|
|
15
|
+
["(", ")"],
|
|
16
|
+
["begin", "end"],
|
|
17
|
+
["case", "endcase"],
|
|
18
|
+
["casex", "endcase"],
|
|
19
|
+
["casez", "endcase"],
|
|
20
|
+
["checker", "endchecker"],
|
|
21
|
+
["class", "endclass"],
|
|
22
|
+
["clocking", "endclocking"],
|
|
23
|
+
["config", "endconfig"],
|
|
24
|
+
["function", "endfunction"],
|
|
25
|
+
["generate", "endgenerate"],
|
|
26
|
+
["group", "endgroup"],
|
|
27
|
+
["interface", "endinterface"],
|
|
28
|
+
["module", "endmodule"],
|
|
29
|
+
["package", "endpackage"],
|
|
30
|
+
["primitive", "endprimitive"],
|
|
31
|
+
["program", "endprogram"],
|
|
32
|
+
["property", "endproperty"],
|
|
33
|
+
["specify", "endspecify"],
|
|
34
|
+
["sequence", "endsequence"],
|
|
35
|
+
["table", "endtable"],
|
|
36
|
+
["task", "endtask"]
|
|
37
|
+
],
|
|
38
|
+
autoClosingPairs: [
|
|
39
|
+
{ open: "[", close: "]" },
|
|
40
|
+
{ open: "{", close: "}" },
|
|
41
|
+
{ open: "(", close: ")" },
|
|
42
|
+
{ open: "'", close: "'", notIn: ["string", "comment"] },
|
|
43
|
+
{ open: '"', close: '"', notIn: ["string"] }
|
|
44
|
+
],
|
|
45
|
+
surroundingPairs: [
|
|
46
|
+
{ open: "{", close: "}" },
|
|
47
|
+
{ open: "[", close: "]" },
|
|
48
|
+
{ open: "(", close: ")" },
|
|
49
|
+
{ open: '"', close: '"' },
|
|
50
|
+
{ open: "'", close: "'" }
|
|
51
|
+
],
|
|
52
|
+
folding: {
|
|
53
|
+
offSide: false,
|
|
54
|
+
markers: {
|
|
55
|
+
start: new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:begin|case(x|z)?|class|clocking|config|covergroup|function|generate|interface|module|package|primitive|property|program|sequence|specify|table|task)\\b"),
|
|
56
|
+
end: new RegExp("^(?:\\s*|.*(?!\\/[\\/\\*])[^\\w])(?:end|endcase|endclass|endclocking|endconfig|endgroup|endfunction|endgenerate|endinterface|endmodule|endpackage|endprimitive|endproperty|endprogram|endsequence|endspecify|endtable|endtask)\\b")
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
var language = {
|
|
61
|
+
defaultToken: "",
|
|
62
|
+
tokenPostfix: ".sv",
|
|
63
|
+
brackets: [
|
|
64
|
+
{ token: "delimiter.curly", open: "{", close: "}" },
|
|
65
|
+
{ token: "delimiter.parenthesis", open: "(", close: ")" },
|
|
66
|
+
{ token: "delimiter.square", open: "[", close: "]" },
|
|
67
|
+
{ token: "delimiter.angle", open: "<", close: ">" }
|
|
68
|
+
],
|
|
69
|
+
keywords: [
|
|
70
|
+
"accept_on",
|
|
71
|
+
"alias",
|
|
72
|
+
"always",
|
|
73
|
+
"always_comb",
|
|
74
|
+
"always_ff",
|
|
75
|
+
"always_latch",
|
|
76
|
+
"and",
|
|
77
|
+
"assert",
|
|
78
|
+
"assign",
|
|
79
|
+
"assume",
|
|
80
|
+
"automatic",
|
|
81
|
+
"before",
|
|
82
|
+
"begin",
|
|
83
|
+
"bind",
|
|
84
|
+
"bins",
|
|
85
|
+
"binsof",
|
|
86
|
+
"bit",
|
|
87
|
+
"break",
|
|
88
|
+
"buf",
|
|
89
|
+
"bufif0",
|
|
90
|
+
"bufif1",
|
|
91
|
+
"byte",
|
|
92
|
+
"case",
|
|
93
|
+
"casex",
|
|
94
|
+
"casez",
|
|
95
|
+
"cell",
|
|
96
|
+
"chandle",
|
|
97
|
+
"checker",
|
|
98
|
+
"class",
|
|
99
|
+
"clocking",
|
|
100
|
+
"cmos",
|
|
101
|
+
"config",
|
|
102
|
+
"const",
|
|
103
|
+
"constraint",
|
|
104
|
+
"context",
|
|
105
|
+
"continue",
|
|
106
|
+
"cover",
|
|
107
|
+
"covergroup",
|
|
108
|
+
"coverpoint",
|
|
109
|
+
"cross",
|
|
110
|
+
"deassign",
|
|
111
|
+
"default",
|
|
112
|
+
"defparam",
|
|
113
|
+
"design",
|
|
114
|
+
"disable",
|
|
115
|
+
"dist",
|
|
116
|
+
"do",
|
|
117
|
+
"edge",
|
|
118
|
+
"else",
|
|
119
|
+
"end",
|
|
120
|
+
"endcase",
|
|
121
|
+
"endchecker",
|
|
122
|
+
"endclass",
|
|
123
|
+
"endclocking",
|
|
124
|
+
"endconfig",
|
|
125
|
+
"endfunction",
|
|
126
|
+
"endgenerate",
|
|
127
|
+
"endgroup",
|
|
128
|
+
"endinterface",
|
|
129
|
+
"endmodule",
|
|
130
|
+
"endpackage",
|
|
131
|
+
"endprimitive",
|
|
132
|
+
"endprogram",
|
|
133
|
+
"endproperty",
|
|
134
|
+
"endspecify",
|
|
135
|
+
"endsequence",
|
|
136
|
+
"endtable",
|
|
137
|
+
"endtask",
|
|
138
|
+
"enum",
|
|
139
|
+
"event",
|
|
140
|
+
"eventually",
|
|
141
|
+
"expect",
|
|
142
|
+
"export",
|
|
143
|
+
"extends",
|
|
144
|
+
"extern",
|
|
145
|
+
"final",
|
|
146
|
+
"first_match",
|
|
147
|
+
"for",
|
|
148
|
+
"force",
|
|
149
|
+
"foreach",
|
|
150
|
+
"forever",
|
|
151
|
+
"fork",
|
|
152
|
+
"forkjoin",
|
|
153
|
+
"function",
|
|
154
|
+
"generate",
|
|
155
|
+
"genvar",
|
|
156
|
+
"global",
|
|
157
|
+
"highz0",
|
|
158
|
+
"highz1",
|
|
159
|
+
"if",
|
|
160
|
+
"iff",
|
|
161
|
+
"ifnone",
|
|
162
|
+
"ignore_bins",
|
|
163
|
+
"illegal_bins",
|
|
164
|
+
"implements",
|
|
165
|
+
"implies",
|
|
166
|
+
"import",
|
|
167
|
+
"incdir",
|
|
168
|
+
"include",
|
|
169
|
+
"initial",
|
|
170
|
+
"inout",
|
|
171
|
+
"input",
|
|
172
|
+
"inside",
|
|
173
|
+
"instance",
|
|
174
|
+
"int",
|
|
175
|
+
"integer",
|
|
176
|
+
"interconnect",
|
|
177
|
+
"interface",
|
|
178
|
+
"intersect",
|
|
179
|
+
"join",
|
|
180
|
+
"join_any",
|
|
181
|
+
"join_none",
|
|
182
|
+
"large",
|
|
183
|
+
"let",
|
|
184
|
+
"liblist",
|
|
185
|
+
"library",
|
|
186
|
+
"local",
|
|
187
|
+
"localparam",
|
|
188
|
+
"logic",
|
|
189
|
+
"longint",
|
|
190
|
+
"macromodule",
|
|
191
|
+
"matches",
|
|
192
|
+
"medium",
|
|
193
|
+
"modport",
|
|
194
|
+
"module",
|
|
195
|
+
"nand",
|
|
196
|
+
"negedge",
|
|
197
|
+
"nettype",
|
|
198
|
+
"new",
|
|
199
|
+
"nexttime",
|
|
200
|
+
"nmos",
|
|
201
|
+
"nor",
|
|
202
|
+
"noshowcancelled",
|
|
203
|
+
"not",
|
|
204
|
+
"notif0",
|
|
205
|
+
"notif1",
|
|
206
|
+
"null",
|
|
207
|
+
"or",
|
|
208
|
+
"output",
|
|
209
|
+
"package",
|
|
210
|
+
"packed",
|
|
211
|
+
"parameter",
|
|
212
|
+
"pmos",
|
|
213
|
+
"posedge",
|
|
214
|
+
"primitive",
|
|
215
|
+
"priority",
|
|
216
|
+
"program",
|
|
217
|
+
"property",
|
|
218
|
+
"protected",
|
|
219
|
+
"pull0",
|
|
220
|
+
"pull1",
|
|
221
|
+
"pulldown",
|
|
222
|
+
"pullup",
|
|
223
|
+
"pulsestyle_ondetect",
|
|
224
|
+
"pulsestyle_onevent",
|
|
225
|
+
"pure",
|
|
226
|
+
"rand",
|
|
227
|
+
"randc",
|
|
228
|
+
"randcase",
|
|
229
|
+
"randsequence",
|
|
230
|
+
"rcmos",
|
|
231
|
+
"real",
|
|
232
|
+
"realtime",
|
|
233
|
+
"ref",
|
|
234
|
+
"reg",
|
|
235
|
+
"reject_on",
|
|
236
|
+
"release",
|
|
237
|
+
"repeat",
|
|
238
|
+
"restrict",
|
|
239
|
+
"return",
|
|
240
|
+
"rnmos",
|
|
241
|
+
"rpmos",
|
|
242
|
+
"rtran",
|
|
243
|
+
"rtranif0",
|
|
244
|
+
"rtranif1",
|
|
245
|
+
"s_always",
|
|
246
|
+
"s_eventually",
|
|
247
|
+
"s_nexttime",
|
|
248
|
+
"s_until",
|
|
249
|
+
"s_until_with",
|
|
250
|
+
"scalared",
|
|
251
|
+
"sequence",
|
|
252
|
+
"shortint",
|
|
253
|
+
"shortreal",
|
|
254
|
+
"showcancelled",
|
|
255
|
+
"signed",
|
|
256
|
+
"small",
|
|
257
|
+
"soft",
|
|
258
|
+
"solve",
|
|
259
|
+
"specify",
|
|
260
|
+
"specparam",
|
|
261
|
+
"static",
|
|
262
|
+
"string",
|
|
263
|
+
"strong",
|
|
264
|
+
"strong0",
|
|
265
|
+
"strong1",
|
|
266
|
+
"struct",
|
|
267
|
+
"super",
|
|
268
|
+
"supply0",
|
|
269
|
+
"supply1",
|
|
270
|
+
"sync_accept_on",
|
|
271
|
+
"sync_reject_on",
|
|
272
|
+
"table",
|
|
273
|
+
"tagged",
|
|
274
|
+
"task",
|
|
275
|
+
"this",
|
|
276
|
+
"throughout",
|
|
277
|
+
"time",
|
|
278
|
+
"timeprecision",
|
|
279
|
+
"timeunit",
|
|
280
|
+
"tran",
|
|
281
|
+
"tranif0",
|
|
282
|
+
"tranif1",
|
|
283
|
+
"tri",
|
|
284
|
+
"tri0",
|
|
285
|
+
"tri1",
|
|
286
|
+
"triand",
|
|
287
|
+
"trior",
|
|
288
|
+
"trireg",
|
|
289
|
+
"type",
|
|
290
|
+
"typedef",
|
|
291
|
+
"union",
|
|
292
|
+
"unique",
|
|
293
|
+
"unique0",
|
|
294
|
+
"unsigned",
|
|
295
|
+
"until",
|
|
296
|
+
"until_with",
|
|
297
|
+
"untyped",
|
|
298
|
+
"use",
|
|
299
|
+
"uwire",
|
|
300
|
+
"var",
|
|
301
|
+
"vectored",
|
|
302
|
+
"virtual",
|
|
303
|
+
"void",
|
|
304
|
+
"wait",
|
|
305
|
+
"wait_order",
|
|
306
|
+
"wand",
|
|
307
|
+
"weak",
|
|
308
|
+
"weak0",
|
|
309
|
+
"weak1",
|
|
310
|
+
"while",
|
|
311
|
+
"wildcard",
|
|
312
|
+
"wire",
|
|
313
|
+
"with",
|
|
314
|
+
"within",
|
|
315
|
+
"wor",
|
|
316
|
+
"xnor",
|
|
317
|
+
"xor"
|
|
318
|
+
],
|
|
319
|
+
builtin_gates: [
|
|
320
|
+
"and",
|
|
321
|
+
"nand",
|
|
322
|
+
"nor",
|
|
323
|
+
"or",
|
|
324
|
+
"xor",
|
|
325
|
+
"xnor",
|
|
326
|
+
"buf",
|
|
327
|
+
"not",
|
|
328
|
+
"bufif0",
|
|
329
|
+
"bufif1",
|
|
330
|
+
"notif1",
|
|
331
|
+
"notif0",
|
|
332
|
+
"cmos",
|
|
333
|
+
"nmos",
|
|
334
|
+
"pmos",
|
|
335
|
+
"rcmos",
|
|
336
|
+
"rnmos",
|
|
337
|
+
"rpmos",
|
|
338
|
+
"tran",
|
|
339
|
+
"tranif1",
|
|
340
|
+
"tranif0",
|
|
341
|
+
"rtran",
|
|
342
|
+
"rtranif1",
|
|
343
|
+
"rtranif0"
|
|
344
|
+
],
|
|
345
|
+
operators: [
|
|
346
|
+
"=",
|
|
347
|
+
"+=",
|
|
348
|
+
"-=",
|
|
349
|
+
"*=",
|
|
350
|
+
"/=",
|
|
351
|
+
"%=",
|
|
352
|
+
"&=",
|
|
353
|
+
"|=",
|
|
354
|
+
"^=",
|
|
355
|
+
"<<=",
|
|
356
|
+
">>+",
|
|
357
|
+
"<<<=",
|
|
358
|
+
">>>=",
|
|
359
|
+
"?",
|
|
360
|
+
":",
|
|
361
|
+
"+",
|
|
362
|
+
"-",
|
|
363
|
+
"!",
|
|
364
|
+
"~",
|
|
365
|
+
"&",
|
|
366
|
+
"~&",
|
|
367
|
+
"|",
|
|
368
|
+
"~|",
|
|
369
|
+
"^",
|
|
370
|
+
"~^",
|
|
371
|
+
"^~",
|
|
372
|
+
"+",
|
|
373
|
+
"-",
|
|
374
|
+
"*",
|
|
375
|
+
"/",
|
|
376
|
+
"%",
|
|
377
|
+
"==",
|
|
378
|
+
"!=",
|
|
379
|
+
"===",
|
|
380
|
+
"!==",
|
|
381
|
+
"==?",
|
|
382
|
+
"!=?",
|
|
383
|
+
"&&",
|
|
384
|
+
"||",
|
|
385
|
+
"**",
|
|
386
|
+
"<",
|
|
387
|
+
"<=",
|
|
388
|
+
">",
|
|
389
|
+
">=",
|
|
390
|
+
"&",
|
|
391
|
+
"|",
|
|
392
|
+
"^",
|
|
393
|
+
">>",
|
|
394
|
+
"<<",
|
|
395
|
+
">>>",
|
|
396
|
+
"<<<",
|
|
397
|
+
"++",
|
|
398
|
+
"--",
|
|
399
|
+
"->",
|
|
400
|
+
"<->",
|
|
401
|
+
"inside",
|
|
402
|
+
"dist",
|
|
403
|
+
"::",
|
|
404
|
+
"+:",
|
|
405
|
+
"-:",
|
|
406
|
+
"*>",
|
|
407
|
+
"&&&",
|
|
408
|
+
"|->",
|
|
409
|
+
"|=>",
|
|
410
|
+
"#=#"
|
|
411
|
+
],
|
|
412
|
+
symbols: /[=><!~?:&|+\-*\/\^%#]+/,
|
|
413
|
+
escapes: /%%|\\(?:[antvf\\"']|x[0-9A-Fa-f]{1,2}|[0-7]{1,3})/,
|
|
414
|
+
identifier: /(?:[a-zA-Z_][a-zA-Z0-9_$\.]*|\\\S+ )/,
|
|
415
|
+
systemcall: /[$][a-zA-Z0-9_]+/,
|
|
416
|
+
timeunits: /s|ms|us|ns|ps|fs/,
|
|
417
|
+
tokenizer: {
|
|
418
|
+
root: [
|
|
419
|
+
[
|
|
420
|
+
/^(\s*)(@identifier)/,
|
|
421
|
+
[
|
|
422
|
+
"",
|
|
423
|
+
{
|
|
424
|
+
cases: {
|
|
425
|
+
"@builtin_gates": {
|
|
426
|
+
token: "keyword.$2",
|
|
427
|
+
next: "@module_instance"
|
|
428
|
+
},
|
|
429
|
+
table: {
|
|
430
|
+
token: "keyword.$2",
|
|
431
|
+
next: "@table"
|
|
432
|
+
},
|
|
433
|
+
"@keywords": { token: "keyword.$2" },
|
|
434
|
+
"@default": {
|
|
435
|
+
token: "identifier",
|
|
436
|
+
next: "@module_instance"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
]
|
|
441
|
+
],
|
|
442
|
+
[/^\s*`include/, { token: "keyword.directive.include", next: "@include" }],
|
|
443
|
+
[/^\s*`\s*\w+/, "keyword"],
|
|
444
|
+
{ include: "@identifier_or_keyword" },
|
|
445
|
+
{ include: "@whitespace" },
|
|
446
|
+
[/\(\*.*\*\)/, "annotation"],
|
|
447
|
+
[/@systemcall/, "variable.predefined"],
|
|
448
|
+
[/[{}()\[\]]/, "@brackets"],
|
|
449
|
+
[/[<>](?!@symbols)/, "@brackets"],
|
|
450
|
+
[
|
|
451
|
+
/@symbols/,
|
|
452
|
+
{
|
|
453
|
+
cases: {
|
|
454
|
+
"@operators": "delimiter",
|
|
455
|
+
"@default": ""
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
],
|
|
459
|
+
{ include: "@numbers" },
|
|
460
|
+
[/[;,.]/, "delimiter"],
|
|
461
|
+
{ include: "@strings" }
|
|
462
|
+
],
|
|
463
|
+
identifier_or_keyword: [
|
|
464
|
+
[
|
|
465
|
+
/@identifier/,
|
|
466
|
+
{
|
|
467
|
+
cases: {
|
|
468
|
+
"@keywords": { token: "keyword.$0" },
|
|
469
|
+
"@default": "identifier"
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
]
|
|
473
|
+
],
|
|
474
|
+
numbers: [
|
|
475
|
+
[/\d+?[\d_]*(?:\.[\d_]+)?[eE][\-+]?\d+/, "number.float"],
|
|
476
|
+
[/\d+?[\d_]*\.[\d_]+(?:\s*@timeunits)?/, "number.float"],
|
|
477
|
+
[/(?:\d+?[\d_]*\s*)?'[sS]?[dD]\s*[0-9xXzZ?]+?[0-9xXzZ?_]*/, "number"],
|
|
478
|
+
[/(?:\d+?[\d_]*\s*)?'[sS]?[bB]\s*[0-1xXzZ?]+?[0-1xXzZ?_]*/, "number.binary"],
|
|
479
|
+
[/(?:\d+?[\d_]*\s*)?'[sS]?[oO]\s*[0-7xXzZ?]+?[0-7xXzZ?_]*/, "number.octal"],
|
|
480
|
+
[/(?:\d+?[\d_]*\s*)?'[sS]?[hH]\s*[0-9a-fA-FxXzZ?]+?[0-9a-fA-FxXzZ?_]*/, "number.hex"],
|
|
481
|
+
[/1step/, "number"],
|
|
482
|
+
[/[\dxXzZ]+?[\dxXzZ_]*(?:\s*@timeunits)?/, "number"],
|
|
483
|
+
[/'[01xXzZ]+/, "number"]
|
|
484
|
+
],
|
|
485
|
+
module_instance: [
|
|
486
|
+
{ include: "@whitespace" },
|
|
487
|
+
[/(#?)(\()/, ["", { token: "@brackets", next: "@port_connection" }]],
|
|
488
|
+
[/@identifier\s*[;={}\[\],]/, { token: "@rematch", next: "@pop" }],
|
|
489
|
+
[/@symbols|[;={}\[\],]/, { token: "@rematch", next: "@pop" }],
|
|
490
|
+
[/@identifier/, "type"],
|
|
491
|
+
[/;/, "delimiter", "@pop"]
|
|
492
|
+
],
|
|
493
|
+
port_connection: [
|
|
494
|
+
{ include: "@identifier_or_keyword" },
|
|
495
|
+
{ include: "@whitespace" },
|
|
496
|
+
[/@systemcall/, "variable.predefined"],
|
|
497
|
+
{ include: "@numbers" },
|
|
498
|
+
{ include: "@strings" },
|
|
499
|
+
[/[,]/, "delimiter"],
|
|
500
|
+
[/\(/, "@brackets", "@port_connection"],
|
|
501
|
+
[/\)/, "@brackets", "@pop"]
|
|
502
|
+
],
|
|
503
|
+
whitespace: [
|
|
504
|
+
[/[ \t\r\n]+/, ""],
|
|
505
|
+
[/\/\*/, "comment", "@comment"],
|
|
506
|
+
[/\/\/.*$/, "comment"]
|
|
507
|
+
],
|
|
508
|
+
comment: [
|
|
509
|
+
[/[^\/*]+/, "comment"],
|
|
510
|
+
[/\*\//, "comment", "@pop"],
|
|
511
|
+
[/[\/*]/, "comment"]
|
|
512
|
+
],
|
|
513
|
+
strings: [
|
|
514
|
+
[/"([^"\\]|\\.)*$/, "string.invalid"],
|
|
515
|
+
[/"/, "string", "@string"]
|
|
516
|
+
],
|
|
517
|
+
string: [
|
|
518
|
+
[/[^\\"]+/, "string"],
|
|
519
|
+
[/@escapes/, "string.escape"],
|
|
520
|
+
[/\\./, "string.escape.invalid"],
|
|
521
|
+
[/"/, "string", "@pop"]
|
|
522
|
+
],
|
|
523
|
+
include: [
|
|
524
|
+
[
|
|
525
|
+
/(\s*)(")([\w*\/*]*)(.\w*)(")/,
|
|
526
|
+
[
|
|
527
|
+
"",
|
|
528
|
+
"string.include.identifier",
|
|
529
|
+
"string.include.identifier",
|
|
530
|
+
"string.include.identifier",
|
|
531
|
+
{ token: "string.include.identifier", next: "@pop" }
|
|
532
|
+
]
|
|
533
|
+
],
|
|
534
|
+
[
|
|
535
|
+
/(\s*)(<)([\w*\/*]*)(.\w*)(>)/,
|
|
536
|
+
[
|
|
537
|
+
"",
|
|
538
|
+
"string.include.identifier",
|
|
539
|
+
"string.include.identifier",
|
|
540
|
+
"string.include.identifier",
|
|
541
|
+
{ token: "string.include.identifier", next: "@pop" }
|
|
542
|
+
]
|
|
543
|
+
]
|
|
544
|
+
],
|
|
545
|
+
table: [
|
|
546
|
+
{ include: "@whitespace" },
|
|
547
|
+
[/[()]/, "@brackets"],
|
|
548
|
+
[/[:;]/, "delimiter"],
|
|
549
|
+
[/[01\-*?xXbBrRfFpPnN]/, "variable.predefined"],
|
|
550
|
+
["endtable", "keyword.endtable", "@pop"]
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
|
+
};
|
|
554
|
+
export {
|
|
555
|
+
conf,
|
|
556
|
+
language
|
|
557
|
+
};
|