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,877 @@
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
+ ],
17
+ autoClosingPairs: [
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
+ ]
31
+ };
32
+ var language = {
33
+ defaultToken: "",
34
+ tokenPostfix: ".sql",
35
+ ignoreCase: true,
36
+ brackets: [
37
+ { open: "[", close: "]", token: "delimiter.square" },
38
+ { open: "(", close: ")", token: "delimiter.parenthesis" }
39
+ ],
40
+ keywords: [
41
+ "ACCESSIBLE",
42
+ "ADD",
43
+ "ALL",
44
+ "ALTER",
45
+ "ANALYZE",
46
+ "AND",
47
+ "AS",
48
+ "ASC",
49
+ "ASENSITIVE",
50
+ "BEFORE",
51
+ "BETWEEN",
52
+ "BIGINT",
53
+ "BINARY",
54
+ "BLOB",
55
+ "BOTH",
56
+ "BY",
57
+ "CALL",
58
+ "CASCADE",
59
+ "CASE",
60
+ "CHANGE",
61
+ "CHAR",
62
+ "CHARACTER",
63
+ "CHECK",
64
+ "COLLATE",
65
+ "COLUMN",
66
+ "CONDITION",
67
+ "CONSTRAINT",
68
+ "CONTINUE",
69
+ "CONVERT",
70
+ "CREATE",
71
+ "CROSS",
72
+ "CUBE",
73
+ "CUME_DIST",
74
+ "CURRENT_DATE",
75
+ "CURRENT_TIME",
76
+ "CURRENT_TIMESTAMP",
77
+ "CURRENT_USER",
78
+ "CURSOR",
79
+ "DATABASE",
80
+ "DATABASES",
81
+ "DAY_HOUR",
82
+ "DAY_MICROSECOND",
83
+ "DAY_MINUTE",
84
+ "DAY_SECOND",
85
+ "DEC",
86
+ "DECIMAL",
87
+ "DECLARE",
88
+ "DEFAULT",
89
+ "DELAYED",
90
+ "DELETE",
91
+ "DENSE_RANK",
92
+ "DESC",
93
+ "DESCRIBE",
94
+ "DETERMINISTIC",
95
+ "DISTINCT",
96
+ "DISTINCTROW",
97
+ "DIV",
98
+ "DOUBLE",
99
+ "DROP",
100
+ "DUAL",
101
+ "EACH",
102
+ "ELSE",
103
+ "ELSEIF",
104
+ "EMPTY",
105
+ "ENCLOSED",
106
+ "ESCAPED",
107
+ "EXCEPT",
108
+ "EXISTS",
109
+ "EXIT",
110
+ "EXPLAIN",
111
+ "FALSE",
112
+ "FETCH",
113
+ "FIRST_VALUE",
114
+ "FLOAT",
115
+ "FLOAT4",
116
+ "FLOAT8",
117
+ "FOR",
118
+ "FORCE",
119
+ "FOREIGN",
120
+ "FROM",
121
+ "FULLTEXT",
122
+ "FUNCTION",
123
+ "GENERATED",
124
+ "GET",
125
+ "GRANT",
126
+ "GROUP",
127
+ "GROUPING",
128
+ "GROUPS",
129
+ "HAVING",
130
+ "HIGH_PRIORITY",
131
+ "HOUR_MICROSECOND",
132
+ "HOUR_MINUTE",
133
+ "HOUR_SECOND",
134
+ "IF",
135
+ "IGNORE",
136
+ "IN",
137
+ "INDEX",
138
+ "INFILE",
139
+ "INNER",
140
+ "INOUT",
141
+ "INSENSITIVE",
142
+ "INSERT",
143
+ "INT",
144
+ "INT1",
145
+ "INT2",
146
+ "INT3",
147
+ "INT4",
148
+ "INT8",
149
+ "INTEGER",
150
+ "INTERVAL",
151
+ "INTO",
152
+ "IO_AFTER_GTIDS",
153
+ "IO_BEFORE_GTIDS",
154
+ "IS",
155
+ "ITERATE",
156
+ "JOIN",
157
+ "JSON_TABLE",
158
+ "KEY",
159
+ "KEYS",
160
+ "KILL",
161
+ "LAG",
162
+ "LAST_VALUE",
163
+ "LATERAL",
164
+ "LEAD",
165
+ "LEADING",
166
+ "LEAVE",
167
+ "LEFT",
168
+ "LIKE",
169
+ "LIMIT",
170
+ "LINEAR",
171
+ "LINES",
172
+ "LOAD",
173
+ "LOCALTIME",
174
+ "LOCALTIMESTAMP",
175
+ "LOCK",
176
+ "LONG",
177
+ "LONGBLOB",
178
+ "LONGTEXT",
179
+ "LOOP",
180
+ "LOW_PRIORITY",
181
+ "MASTER_BIND",
182
+ "MASTER_SSL_VERIFY_SERVER_CERT",
183
+ "MATCH",
184
+ "MAXVALUE",
185
+ "MEDIUMBLOB",
186
+ "MEDIUMINT",
187
+ "MEDIUMTEXT",
188
+ "MIDDLEINT",
189
+ "MINUTE_MICROSECOND",
190
+ "MINUTE_SECOND",
191
+ "MOD",
192
+ "MODIFIES",
193
+ "NATURAL",
194
+ "NOT",
195
+ "NO_WRITE_TO_BINLOG",
196
+ "NTH_VALUE",
197
+ "NTILE",
198
+ "NULL",
199
+ "NUMERIC",
200
+ "OF",
201
+ "ON",
202
+ "OPTIMIZE",
203
+ "OPTIMIZER_COSTS",
204
+ "OPTION",
205
+ "OPTIONALLY",
206
+ "OR",
207
+ "ORDER",
208
+ "OUT",
209
+ "OUTER",
210
+ "OUTFILE",
211
+ "OVER",
212
+ "PARTITION",
213
+ "PERCENT_RANK",
214
+ "PRECISION",
215
+ "PRIMARY",
216
+ "PROCEDURE",
217
+ "PURGE",
218
+ "RANGE",
219
+ "RANK",
220
+ "READ",
221
+ "READS",
222
+ "READ_WRITE",
223
+ "REAL",
224
+ "RECURSIVE",
225
+ "REFERENCES",
226
+ "REGEXP",
227
+ "RELEASE",
228
+ "RENAME",
229
+ "REPEAT",
230
+ "REPLACE",
231
+ "REQUIRE",
232
+ "RESIGNAL",
233
+ "RESTRICT",
234
+ "RETURN",
235
+ "REVOKE",
236
+ "RIGHT",
237
+ "RLIKE",
238
+ "ROW",
239
+ "ROWS",
240
+ "ROW_NUMBER",
241
+ "SCHEMA",
242
+ "SCHEMAS",
243
+ "SECOND_MICROSECOND",
244
+ "SELECT",
245
+ "SENSITIVE",
246
+ "SEPARATOR",
247
+ "SET",
248
+ "SHOW",
249
+ "SIGNAL",
250
+ "SMALLINT",
251
+ "SPATIAL",
252
+ "SPECIFIC",
253
+ "SQL",
254
+ "SQLEXCEPTION",
255
+ "SQLSTATE",
256
+ "SQLWARNING",
257
+ "SQL_BIG_RESULT",
258
+ "SQL_CALC_FOUND_ROWS",
259
+ "SQL_SMALL_RESULT",
260
+ "SSL",
261
+ "STARTING",
262
+ "STORED",
263
+ "STRAIGHT_JOIN",
264
+ "SYSTEM",
265
+ "TABLE",
266
+ "TERMINATED",
267
+ "THEN",
268
+ "TINYBLOB",
269
+ "TINYINT",
270
+ "TINYTEXT",
271
+ "TO",
272
+ "TRAILING",
273
+ "TRIGGER",
274
+ "TRUE",
275
+ "UNDO",
276
+ "UNION",
277
+ "UNIQUE",
278
+ "UNLOCK",
279
+ "UNSIGNED",
280
+ "UPDATE",
281
+ "USAGE",
282
+ "USE",
283
+ "USING",
284
+ "UTC_DATE",
285
+ "UTC_TIME",
286
+ "UTC_TIMESTAMP",
287
+ "VALUES",
288
+ "VARBINARY",
289
+ "VARCHAR",
290
+ "VARCHARACTER",
291
+ "VARYING",
292
+ "VIRTUAL",
293
+ "WHEN",
294
+ "WHERE",
295
+ "WHILE",
296
+ "WINDOW",
297
+ "WITH",
298
+ "WRITE",
299
+ "XOR",
300
+ "YEAR_MONTH",
301
+ "ZEROFILL"
302
+ ],
303
+ operators: [
304
+ "AND",
305
+ "BETWEEN",
306
+ "IN",
307
+ "LIKE",
308
+ "NOT",
309
+ "OR",
310
+ "IS",
311
+ "NULL",
312
+ "INTERSECT",
313
+ "UNION",
314
+ "INNER",
315
+ "JOIN",
316
+ "LEFT",
317
+ "OUTER",
318
+ "RIGHT"
319
+ ],
320
+ builtinFunctions: [
321
+ "ABS",
322
+ "ACOS",
323
+ "ADDDATE",
324
+ "ADDTIME",
325
+ "AES_DECRYPT",
326
+ "AES_ENCRYPT",
327
+ "ANY_VALUE",
328
+ "Area",
329
+ "AsBinary",
330
+ "AsWKB",
331
+ "ASCII",
332
+ "ASIN",
333
+ "AsText",
334
+ "AsWKT",
335
+ "ASYMMETRIC_DECRYPT",
336
+ "ASYMMETRIC_DERIVE",
337
+ "ASYMMETRIC_ENCRYPT",
338
+ "ASYMMETRIC_SIGN",
339
+ "ASYMMETRIC_VERIFY",
340
+ "ATAN",
341
+ "ATAN2",
342
+ "ATAN",
343
+ "AVG",
344
+ "BENCHMARK",
345
+ "BIN",
346
+ "BIT_AND",
347
+ "BIT_COUNT",
348
+ "BIT_LENGTH",
349
+ "BIT_OR",
350
+ "BIT_XOR",
351
+ "Buffer",
352
+ "CAST",
353
+ "CEIL",
354
+ "CEILING",
355
+ "Centroid",
356
+ "CHAR",
357
+ "CHAR_LENGTH",
358
+ "CHARACTER_LENGTH",
359
+ "CHARSET",
360
+ "COALESCE",
361
+ "COERCIBILITY",
362
+ "COLLATION",
363
+ "COMPRESS",
364
+ "CONCAT",
365
+ "CONCAT_WS",
366
+ "CONNECTION_ID",
367
+ "Contains",
368
+ "CONV",
369
+ "CONVERT",
370
+ "CONVERT_TZ",
371
+ "ConvexHull",
372
+ "COS",
373
+ "COT",
374
+ "COUNT",
375
+ "CRC32",
376
+ "CREATE_ASYMMETRIC_PRIV_KEY",
377
+ "CREATE_ASYMMETRIC_PUB_KEY",
378
+ "CREATE_DH_PARAMETERS",
379
+ "CREATE_DIGEST",
380
+ "Crosses",
381
+ "CUME_DIST",
382
+ "CURDATE",
383
+ "CURRENT_DATE",
384
+ "CURRENT_ROLE",
385
+ "CURRENT_TIME",
386
+ "CURRENT_TIMESTAMP",
387
+ "CURRENT_USER",
388
+ "CURTIME",
389
+ "DATABASE",
390
+ "DATE",
391
+ "DATE_ADD",
392
+ "DATE_FORMAT",
393
+ "DATE_SUB",
394
+ "DATEDIFF",
395
+ "DAY",
396
+ "DAYNAME",
397
+ "DAYOFMONTH",
398
+ "DAYOFWEEK",
399
+ "DAYOFYEAR",
400
+ "DECODE",
401
+ "DEFAULT",
402
+ "DEGREES",
403
+ "DES_DECRYPT",
404
+ "DES_ENCRYPT",
405
+ "DENSE_RANK",
406
+ "Dimension",
407
+ "Disjoint",
408
+ "Distance",
409
+ "ELT",
410
+ "ENCODE",
411
+ "ENCRYPT",
412
+ "EndPoint",
413
+ "Envelope",
414
+ "Equals",
415
+ "EXP",
416
+ "EXPORT_SET",
417
+ "ExteriorRing",
418
+ "EXTRACT",
419
+ "ExtractValue",
420
+ "FIELD",
421
+ "FIND_IN_SET",
422
+ "FIRST_VALUE",
423
+ "FLOOR",
424
+ "FORMAT",
425
+ "FORMAT_BYTES",
426
+ "FORMAT_PICO_TIME",
427
+ "FOUND_ROWS",
428
+ "FROM_BASE64",
429
+ "FROM_DAYS",
430
+ "FROM_UNIXTIME",
431
+ "GEN_RANGE",
432
+ "GEN_RND_EMAIL",
433
+ "GEN_RND_PAN",
434
+ "GEN_RND_SSN",
435
+ "GEN_RND_US_PHONE",
436
+ "GeomCollection",
437
+ "GeomCollFromText",
438
+ "GeometryCollectionFromText",
439
+ "GeomCollFromWKB",
440
+ "GeometryCollectionFromWKB",
441
+ "GeometryCollection",
442
+ "GeometryN",
443
+ "GeometryType",
444
+ "GeomFromText",
445
+ "GeometryFromText",
446
+ "GeomFromWKB",
447
+ "GeometryFromWKB",
448
+ "GET_FORMAT",
449
+ "GET_LOCK",
450
+ "GLength",
451
+ "GREATEST",
452
+ "GROUP_CONCAT",
453
+ "GROUPING",
454
+ "GTID_SUBSET",
455
+ "GTID_SUBTRACT",
456
+ "HEX",
457
+ "HOUR",
458
+ "ICU_VERSION",
459
+ "IF",
460
+ "IFNULL",
461
+ "INET_ATON",
462
+ "INET_NTOA",
463
+ "INET6_ATON",
464
+ "INET6_NTOA",
465
+ "INSERT",
466
+ "INSTR",
467
+ "InteriorRingN",
468
+ "Intersects",
469
+ "INTERVAL",
470
+ "IS_FREE_LOCK",
471
+ "IS_IPV4",
472
+ "IS_IPV4_COMPAT",
473
+ "IS_IPV4_MAPPED",
474
+ "IS_IPV6",
475
+ "IS_USED_LOCK",
476
+ "IS_UUID",
477
+ "IsClosed",
478
+ "IsEmpty",
479
+ "ISNULL",
480
+ "IsSimple",
481
+ "JSON_APPEND",
482
+ "JSON_ARRAY",
483
+ "JSON_ARRAY_APPEND",
484
+ "JSON_ARRAY_INSERT",
485
+ "JSON_ARRAYAGG",
486
+ "JSON_CONTAINS",
487
+ "JSON_CONTAINS_PATH",
488
+ "JSON_DEPTH",
489
+ "JSON_EXTRACT",
490
+ "JSON_INSERT",
491
+ "JSON_KEYS",
492
+ "JSON_LENGTH",
493
+ "JSON_MERGE",
494
+ "JSON_MERGE_PATCH",
495
+ "JSON_MERGE_PRESERVE",
496
+ "JSON_OBJECT",
497
+ "JSON_OBJECTAGG",
498
+ "JSON_OVERLAPS",
499
+ "JSON_PRETTY",
500
+ "JSON_QUOTE",
501
+ "JSON_REMOVE",
502
+ "JSON_REPLACE",
503
+ "JSON_SCHEMA_VALID",
504
+ "JSON_SCHEMA_VALIDATION_REPORT",
505
+ "JSON_SEARCH",
506
+ "JSON_SET",
507
+ "JSON_STORAGE_FREE",
508
+ "JSON_STORAGE_SIZE",
509
+ "JSON_TABLE",
510
+ "JSON_TYPE",
511
+ "JSON_UNQUOTE",
512
+ "JSON_VALID",
513
+ "LAG",
514
+ "LAST_DAY",
515
+ "LAST_INSERT_ID",
516
+ "LAST_VALUE",
517
+ "LCASE",
518
+ "LEAD",
519
+ "LEAST",
520
+ "LEFT",
521
+ "LENGTH",
522
+ "LineFromText",
523
+ "LineStringFromText",
524
+ "LineFromWKB",
525
+ "LineStringFromWKB",
526
+ "LineString",
527
+ "LN",
528
+ "LOAD_FILE",
529
+ "LOCALTIME",
530
+ "LOCALTIMESTAMP",
531
+ "LOCATE",
532
+ "LOG",
533
+ "LOG10",
534
+ "LOG2",
535
+ "LOWER",
536
+ "LPAD",
537
+ "LTRIM",
538
+ "MAKE_SET",
539
+ "MAKEDATE",
540
+ "MAKETIME",
541
+ "MASK_INNER",
542
+ "MASK_OUTER",
543
+ "MASK_PAN",
544
+ "MASK_PAN_RELAXED",
545
+ "MASK_SSN",
546
+ "MASTER_POS_WAIT",
547
+ "MAX",
548
+ "MBRContains",
549
+ "MBRCoveredBy",
550
+ "MBRCovers",
551
+ "MBRDisjoint",
552
+ "MBREqual",
553
+ "MBREquals",
554
+ "MBRIntersects",
555
+ "MBROverlaps",
556
+ "MBRTouches",
557
+ "MBRWithin",
558
+ "MD5",
559
+ "MEMBER OF",
560
+ "MICROSECOND",
561
+ "MID",
562
+ "MIN",
563
+ "MINUTE",
564
+ "MLineFromText",
565
+ "MultiLineStringFromText",
566
+ "MLineFromWKB",
567
+ "MultiLineStringFromWKB",
568
+ "MOD",
569
+ "MONTH",
570
+ "MONTHNAME",
571
+ "MPointFromText",
572
+ "MultiPointFromText",
573
+ "MPointFromWKB",
574
+ "MultiPointFromWKB",
575
+ "MPolyFromText",
576
+ "MultiPolygonFromText",
577
+ "MPolyFromWKB",
578
+ "MultiPolygonFromWKB",
579
+ "MultiLineString",
580
+ "MultiPoint",
581
+ "MultiPolygon",
582
+ "NAME_CONST",
583
+ "NOT IN",
584
+ "NOW",
585
+ "NTH_VALUE",
586
+ "NTILE",
587
+ "NULLIF",
588
+ "NumGeometries",
589
+ "NumInteriorRings",
590
+ "NumPoints",
591
+ "OCT",
592
+ "OCTET_LENGTH",
593
+ "OLD_PASSWORD",
594
+ "ORD",
595
+ "Overlaps",
596
+ "PASSWORD",
597
+ "PERCENT_RANK",
598
+ "PERIOD_ADD",
599
+ "PERIOD_DIFF",
600
+ "PI",
601
+ "Point",
602
+ "PointFromText",
603
+ "PointFromWKB",
604
+ "PointN",
605
+ "PolyFromText",
606
+ "PolygonFromText",
607
+ "PolyFromWKB",
608
+ "PolygonFromWKB",
609
+ "Polygon",
610
+ "POSITION",
611
+ "POW",
612
+ "POWER",
613
+ "PS_CURRENT_THREAD_ID",
614
+ "PS_THREAD_ID",
615
+ "PROCEDURE ANALYSE",
616
+ "QUARTER",
617
+ "QUOTE",
618
+ "RADIANS",
619
+ "RAND",
620
+ "RANDOM_BYTES",
621
+ "RANK",
622
+ "REGEXP_INSTR",
623
+ "REGEXP_LIKE",
624
+ "REGEXP_REPLACE",
625
+ "REGEXP_REPLACE",
626
+ "RELEASE_ALL_LOCKS",
627
+ "RELEASE_LOCK",
628
+ "REPEAT",
629
+ "REPLACE",
630
+ "REVERSE",
631
+ "RIGHT",
632
+ "ROLES_GRAPHML",
633
+ "ROUND",
634
+ "ROW_COUNT",
635
+ "ROW_NUMBER",
636
+ "RPAD",
637
+ "RTRIM",
638
+ "SCHEMA",
639
+ "SEC_TO_TIME",
640
+ "SECOND",
641
+ "SESSION_USER",
642
+ "SHA1",
643
+ "SHA",
644
+ "SHA2",
645
+ "SIGN",
646
+ "SIN",
647
+ "SLEEP",
648
+ "SOUNDEX",
649
+ "SOURCE_POS_WAIT",
650
+ "SPACE",
651
+ "SQRT",
652
+ "SRID",
653
+ "ST_Area",
654
+ "ST_AsBinary",
655
+ "ST_AsWKB",
656
+ "ST_AsGeoJSON",
657
+ "ST_AsText",
658
+ "ST_AsWKT",
659
+ "ST_Buffer",
660
+ "ST_Buffer_Strategy",
661
+ "ST_Centroid",
662
+ "ST_Collect",
663
+ "ST_Contains",
664
+ "ST_ConvexHull",
665
+ "ST_Crosses",
666
+ "ST_Difference",
667
+ "ST_Dimension",
668
+ "ST_Disjoint",
669
+ "ST_Distance",
670
+ "ST_Distance_Sphere",
671
+ "ST_EndPoint",
672
+ "ST_Envelope",
673
+ "ST_Equals",
674
+ "ST_ExteriorRing",
675
+ "ST_FrechetDistance",
676
+ "ST_GeoHash",
677
+ "ST_GeomCollFromText",
678
+ "ST_GeometryCollectionFromText",
679
+ "ST_GeomCollFromTxt",
680
+ "ST_GeomCollFromWKB",
681
+ "ST_GeometryCollectionFromWKB",
682
+ "ST_GeometryN",
683
+ "ST_GeometryType",
684
+ "ST_GeomFromGeoJSON",
685
+ "ST_GeomFromText",
686
+ "ST_GeometryFromText",
687
+ "ST_GeomFromWKB",
688
+ "ST_GeometryFromWKB",
689
+ "ST_HausdorffDistance",
690
+ "ST_InteriorRingN",
691
+ "ST_Intersection",
692
+ "ST_Intersects",
693
+ "ST_IsClosed",
694
+ "ST_IsEmpty",
695
+ "ST_IsSimple",
696
+ "ST_IsValid",
697
+ "ST_LatFromGeoHash",
698
+ "ST_Length",
699
+ "ST_LineFromText",
700
+ "ST_LineStringFromText",
701
+ "ST_LineFromWKB",
702
+ "ST_LineStringFromWKB",
703
+ "ST_LineInterpolatePoint",
704
+ "ST_LineInterpolatePoints",
705
+ "ST_LongFromGeoHash",
706
+ "ST_Longitude",
707
+ "ST_MakeEnvelope",
708
+ "ST_MLineFromText",
709
+ "ST_MultiLineStringFromText",
710
+ "ST_MLineFromWKB",
711
+ "ST_MultiLineStringFromWKB",
712
+ "ST_MPointFromText",
713
+ "ST_MultiPointFromText",
714
+ "ST_MPointFromWKB",
715
+ "ST_MultiPointFromWKB",
716
+ "ST_MPolyFromText",
717
+ "ST_MultiPolygonFromText",
718
+ "ST_MPolyFromWKB",
719
+ "ST_MultiPolygonFromWKB",
720
+ "ST_NumGeometries",
721
+ "ST_NumInteriorRing",
722
+ "ST_NumInteriorRings",
723
+ "ST_NumPoints",
724
+ "ST_Overlaps",
725
+ "ST_PointAtDistance",
726
+ "ST_PointFromGeoHash",
727
+ "ST_PointFromText",
728
+ "ST_PointFromWKB",
729
+ "ST_PointN",
730
+ "ST_PolyFromText",
731
+ "ST_PolygonFromText",
732
+ "ST_PolyFromWKB",
733
+ "ST_PolygonFromWKB",
734
+ "ST_Simplify",
735
+ "ST_SRID",
736
+ "ST_StartPoint",
737
+ "ST_SwapXY",
738
+ "ST_SymDifference",
739
+ "ST_Touches",
740
+ "ST_Transform",
741
+ "ST_Union",
742
+ "ST_Validate",
743
+ "ST_Within",
744
+ "ST_X",
745
+ "ST_Y",
746
+ "StartPoint",
747
+ "STATEMENT_DIGEST",
748
+ "STATEMENT_DIGEST_TEXT",
749
+ "STD",
750
+ "STDDEV",
751
+ "STDDEV_POP",
752
+ "STDDEV_SAMP",
753
+ "STR_TO_DATE",
754
+ "STRCMP",
755
+ "SUBDATE",
756
+ "SUBSTR",
757
+ "SUBSTRING",
758
+ "SUBSTRING_INDEX",
759
+ "SUBTIME",
760
+ "SUM",
761
+ "SYSDATE",
762
+ "SYSTEM_USER",
763
+ "TAN",
764
+ "TIME",
765
+ "TIME_FORMAT",
766
+ "TIME_TO_SEC",
767
+ "TIMEDIFF",
768
+ "TIMESTAMP",
769
+ "TIMESTAMPADD",
770
+ "TIMESTAMPDIFF",
771
+ "TO_BASE64",
772
+ "TO_DAYS",
773
+ "TO_SECONDS",
774
+ "Touches",
775
+ "TRIM",
776
+ "TRUNCATE",
777
+ "UCASE",
778
+ "UNCOMPRESS",
779
+ "UNCOMPRESSED_LENGTH",
780
+ "UNHEX",
781
+ "UNIX_TIMESTAMP",
782
+ "UpdateXML",
783
+ "UPPER",
784
+ "USER",
785
+ "UTC_DATE",
786
+ "UTC_TIME",
787
+ "UTC_TIMESTAMP",
788
+ "UUID",
789
+ "UUID_SHORT",
790
+ "UUID_TO_BIN",
791
+ "VALIDATE_PASSWORD_STRENGTH",
792
+ "VALUES",
793
+ "VAR_POP",
794
+ "VAR_SAMP",
795
+ "VARIANCE",
796
+ "VERSION",
797
+ "WAIT_FOR_EXECUTED_GTID_SET",
798
+ "WAIT_UNTIL_SQL_THREAD_AFTER_GTIDS",
799
+ "WEEK",
800
+ "WEEKDAY",
801
+ "WEEKOFYEAR",
802
+ "WEIGHT_STRING",
803
+ "Within",
804
+ "X",
805
+ "Y",
806
+ "YEAR",
807
+ "YEARWEEK"
808
+ ],
809
+ builtinVariables: [],
810
+ tokenizer: {
811
+ root: [
812
+ { include: "@comments" },
813
+ { include: "@whitespace" },
814
+ { include: "@numbers" },
815
+ { include: "@strings" },
816
+ { include: "@complexIdentifiers" },
817
+ { include: "@scopes" },
818
+ [/[;,.]/, "delimiter"],
819
+ [/[()]/, "@brackets"],
820
+ [
821
+ /[\w@]+/,
822
+ {
823
+ cases: {
824
+ "@operators": "operator",
825
+ "@builtinVariables": "predefined",
826
+ "@builtinFunctions": "predefined",
827
+ "@keywords": "keyword",
828
+ "@default": "identifier"
829
+ }
830
+ }
831
+ ],
832
+ [/[<>=!%&+\-*/|~^]/, "operator"]
833
+ ],
834
+ whitespace: [[/\s+/, "white"]],
835
+ comments: [
836
+ [/--+.*/, "comment"],
837
+ [/#+.*/, "comment"],
838
+ [/\/\*/, { token: "comment.quote", next: "@comment" }]
839
+ ],
840
+ comment: [
841
+ [/[^*/]+/, "comment"],
842
+ [/\*\//, { token: "comment.quote", next: "@pop" }],
843
+ [/./, "comment"]
844
+ ],
845
+ numbers: [
846
+ [/0[xX][0-9a-fA-F]*/, "number"],
847
+ [/[$][+-]*\d*(\.\d*)?/, "number"],
848
+ [/((\d+(\.\d*)?)|(\.\d+))([eE][\-+]?\d+)?/, "number"]
849
+ ],
850
+ strings: [
851
+ [/'/, { token: "string", next: "@string" }],
852
+ [/"/, { token: "string.double", next: "@stringDouble" }]
853
+ ],
854
+ string: [
855
+ [/\\'/, "string"],
856
+ [/[^']+/, "string"],
857
+ [/''/, "string"],
858
+ [/'/, { token: "string", next: "@pop" }]
859
+ ],
860
+ stringDouble: [
861
+ [/[^"]+/, "string.double"],
862
+ [/""/, "string.double"],
863
+ [/"/, { token: "string.double", next: "@pop" }]
864
+ ],
865
+ complexIdentifiers: [[/`/, { token: "identifier.quote", next: "@quotedIdentifier" }]],
866
+ quotedIdentifier: [
867
+ [/[^`]+/, "identifier"],
868
+ [/``/, "identifier"],
869
+ [/`/, { token: "identifier.quote", next: "@pop" }]
870
+ ],
871
+ scopes: []
872
+ }
873
+ };
874
+ export {
875
+ conf,
876
+ language
877
+ };