@devtron-labs/devtron-fe-common-lib 0.0.81-beta-8 → 0.0.82-beta-1

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 (138) hide show
  1. package/dist/Common/Api.d.ts +1 -0
  2. package/dist/Common/CodeEditor/CodeEditor.d.ts +44 -1
  3. package/dist/Common/Common.service.d.ts +3 -6
  4. package/dist/Common/Constants.d.ts +13 -10
  5. package/dist/Common/ErrorPage.d.ts +1 -1
  6. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  7. package/dist/Common/GenericDescription/GenericDescription.d.ts +4 -0
  8. package/dist/Common/GenericDescription/constant.d.ts +2 -0
  9. package/dist/Common/GenericDescription/index.d.ts +2 -0
  10. package/dist/Common/GenericDescription/types.d.ts +14 -0
  11. package/dist/Common/Helper.d.ts +12 -2
  12. package/dist/Common/Hooks/index.d.ts +1 -0
  13. package/dist/Common/Hooks/useStateFilters/index.d.ts +2 -0
  14. package/dist/Common/Hooks/useStateFilters/types.d.ts +6 -0
  15. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +17 -0
  16. package/dist/Common/Markdown/constant.d.ts +28 -0
  17. package/dist/Common/Types.d.ts +56 -18
  18. package/dist/Common/index.d.ts +1 -1
  19. package/dist/Pages/index.d.ts +0 -1
  20. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  21. package/dist/Shared/Components/APIResponseHandler/types.d.ts +7 -2
  22. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  23. package/dist/Shared/Components/ActivityIndicator/types.d.ts +2 -0
  24. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  25. package/dist/Shared/Components/BulkSelection/types.d.ts +1 -0
  26. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +18 -0
  27. package/dist/Shared/Components/ButtonWithSelector/index.d.ts +1 -0
  28. package/dist/Shared/Components/ButtonWithSelector/types.d.ts +10 -0
  29. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  30. package/dist/Shared/Components/Header/types.d.ts +7 -9
  31. package/dist/Shared/Components/ReactSelect/utils.d.ts +11 -0
  32. package/dist/Shared/Components/index.d.ts +1 -0
  33. package/dist/Shared/Helpers.d.ts +5 -3
  34. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +5 -0
  35. package/dist/Shared/Providers/ImageSelectionUtility/index.d.ts +1 -0
  36. package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +9 -0
  37. package/dist/Shared/Providers/index.d.ts +1 -0
  38. package/dist/Shared/constants.d.ts +14 -0
  39. package/dist/Shared/index.d.ts +1 -0
  40. package/dist/Shared/types.d.ts +88 -13
  41. package/dist/Shared/validations.d.ts +10 -1
  42. package/dist/assets/index.css +1 -1
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.js +20856 -302
  45. package/package.json +10 -7
  46. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -36
  47. package/dist/Common/CodeEditor/index.d.ts +0 -2
  48. package/dist/Common/CodeEditor/types.d.ts +0 -86
  49. package/dist/Pages/ResourceBrowser/Helper.d.ts +0 -3
  50. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +0 -20
  51. package/dist/Pages/ResourceBrowser/index.d.ts +0 -2
  52. package/dist/abap-5361cc9f.js +0 -1314
  53. package/dist/apex-f9413e6f.js +0 -315
  54. package/dist/assets/editor.worker-60ba9509.js +0 -12
  55. package/dist/assets/yaml.worker-cc1a551a.js +0 -471
  56. package/dist/azcli-36f2cb5e.js +0 -74
  57. package/dist/bat-6b05202d.js +0 -95
  58. package/dist/bicep-788415e3.js +0 -108
  59. package/dist/cameligo-4e85ec93.js +0 -168
  60. package/dist/clojure-40fa5799.js +0 -754
  61. package/dist/coffee-f557f5e0.js +0 -228
  62. package/dist/cpp-ebbf7759.js +0 -390
  63. package/dist/csharp-1616f566.js +0 -320
  64. package/dist/csp-5f0bc3c4.js +0 -57
  65. package/dist/css-2b1aec9b.js +0 -186
  66. package/dist/cssMode-f6d332a1.js +0 -1446
  67. package/dist/cypher-b12b4ba8.js +0 -262
  68. package/dist/dart-e0d70030.js +0 -270
  69. package/dist/dockerfile-f9d4b2b0.js +0 -132
  70. package/dist/ecl-5b91fdec.js +0 -454
  71. package/dist/elixir-deffd5a6.js +0 -489
  72. package/dist/flow9-84cd00d7.js +0 -141
  73. package/dist/freemarker2-8e23f5a4.js +0 -643
  74. package/dist/fsharp-d296151f.js +0 -210
  75. package/dist/go-7e72ff3b.js +0 -208
  76. package/dist/graphql-a93568a1.js +0 -141
  77. package/dist/handlebars-f1c6ec5a.js +0 -391
  78. package/dist/hcl-b3994d8f.js +0 -177
  79. package/dist/html-1a4d5d9a.js +0 -281
  80. package/dist/htmlMode-05b8c00b.js +0 -1456
  81. package/dist/index-83e46ae3.js +0 -128536
  82. package/dist/ini-df84509a.js +0 -68
  83. package/dist/java-fba3d046.js +0 -221
  84. package/dist/javascript-823e6a19.js +0 -75
  85. package/dist/jsonMode-052d75cd.js +0 -1867
  86. package/dist/julia-cefd45f6.js +0 -496
  87. package/dist/kotlin-b87b6942.js +0 -245
  88. package/dist/less-8a7f37bc.js +0 -168
  89. package/dist/lexon-cb95cd13.js +0 -151
  90. package/dist/liquid-13a0b36f.js +0 -238
  91. package/dist/lua-6d5b3ea4.js +0 -157
  92. package/dist/m3-d0daf5d0.js +0 -210
  93. package/dist/markdown-48bb0c6f.js +0 -202
  94. package/dist/mdx-32e942cd.js +0 -171
  95. package/dist/mips-20dcf886.js +0 -194
  96. package/dist/msdax-e9759e23.js +0 -377
  97. package/dist/mysql-95f335b2.js +0 -876
  98. package/dist/objective-c-ad0cfb47.js +0 -188
  99. package/dist/pascal-eda19dc3.js +0 -245
  100. package/dist/pascaligo-b7e0c89b.js +0 -158
  101. package/dist/perl-bbe5d32a.js +0 -599
  102. package/dist/pgsql-7ebaee1c.js +0 -847
  103. package/dist/php-2526756d.js +0 -471
  104. package/dist/pla-9ebd6f68.js +0 -131
  105. package/dist/postiats-9ac05cf6.js +0 -544
  106. package/dist/powerquery-1cae399d.js +0 -890
  107. package/dist/powershell-093b5b87.js +0 -233
  108. package/dist/protobuf-37993cbc.js +0 -422
  109. package/dist/pug-c2a5db5f.js +0 -393
  110. package/dist/python-37bf24cb.js +0 -259
  111. package/dist/qsharp-1450aac5.js +0 -282
  112. package/dist/r-a0642b90.js +0 -245
  113. package/dist/razor-991b6ccc.js +0 -512
  114. package/dist/redis-405cb63d.js +0 -298
  115. package/dist/redshift-830f82de.js +0 -806
  116. package/dist/restructuredtext-d81f5ef4.js +0 -162
  117. package/dist/ruby-d607b87e.js +0 -444
  118. package/dist/rust-86e74dbb.js +0 -337
  119. package/dist/sb-b7e5010d.js +0 -110
  120. package/dist/scala-a4d4a3c6.js +0 -353
  121. package/dist/scheme-81927e94.js +0 -114
  122. package/dist/scss-3f112fcd.js +0 -244
  123. package/dist/shell-d795bcaa.js +0 -224
  124. package/dist/solidity-5b556d3e.js +0 -1351
  125. package/dist/sophia-1da55998.js +0 -190
  126. package/dist/sparql-ac34318e.js +0 -193
  127. package/dist/sql-eef6393b.js +0 -818
  128. package/dist/st-758b1972.js +0 -415
  129. package/dist/swift-63cb1847.js +0 -315
  130. package/dist/systemverilog-2538c608.js +0 -556
  131. package/dist/tcl-53e6282a.js +0 -232
  132. package/dist/tsMode-018c5c46.js +0 -811
  133. package/dist/twig-80c3dc23.js +0 -323
  134. package/dist/typescript-26297d38.js +0 -328
  135. package/dist/vb-32089525.js +0 -364
  136. package/dist/wgsl-e681d5a0.js +0 -420
  137. package/dist/xml-c99083fc.js +0 -95
  138. package/dist/yaml-0347fb0c.js +0 -184
@@ -1,643 +0,0 @@
1
- import { m as F } from "./index-83e46ae3.js";
2
- /*!-----------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
5
- * Released under the MIT license
6
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
- *-----------------------------------------------------------------------------*/
8
- var b = Object.defineProperty, x = Object.getOwnPropertyDescriptor, $ = Object.getOwnPropertyNames, v = Object.prototype.hasOwnProperty, g = (t, n, _, e) => {
9
- if (n && typeof n == "object" || typeof n == "function")
10
- for (let o of $(n))
11
- !v.call(t, o) && o !== _ && b(t, o, { get: () => n[o], enumerable: !(e = x(n, o)) || e.enumerable });
12
- return t;
13
- }, E = (t, n, _) => (g(t, n, "default"), _ && g(_, n, "default")), r = {};
14
- E(r, F);
15
- var d = [
16
- "assign",
17
- "flush",
18
- "ftl",
19
- "return",
20
- "global",
21
- "import",
22
- "include",
23
- "break",
24
- "continue",
25
- "local",
26
- "nested",
27
- "nt",
28
- "setting",
29
- "stop",
30
- "t",
31
- "lt",
32
- "rt",
33
- "fallback"
34
- ], s = [
35
- "attempt",
36
- "autoesc",
37
- "autoEsc",
38
- "compress",
39
- "comment",
40
- "escape",
41
- "noescape",
42
- "function",
43
- "if",
44
- "list",
45
- "items",
46
- "sep",
47
- "macro",
48
- "noparse",
49
- "noParse",
50
- "noautoesc",
51
- "noAutoEsc",
52
- "outputformat",
53
- "switch",
54
- "visit",
55
- "recurse"
56
- ], a = {
57
- close: ">",
58
- id: "angle",
59
- open: "<"
60
- }, u = {
61
- close: "\\]",
62
- id: "bracket",
63
- open: "\\["
64
- }, D = {
65
- close: "[>\\]]",
66
- id: "auto",
67
- open: "[<\\[]"
68
- }, k = {
69
- close: "\\}",
70
- id: "dollar",
71
- open1: "\\$",
72
- open2: "\\{"
73
- }, p = {
74
- close: "\\]",
75
- id: "bracket",
76
- open1: "\\[",
77
- open2: "="
78
- };
79
- function l(t) {
80
- return {
81
- brackets: [
82
- ["<", ">"],
83
- ["[", "]"],
84
- ["(", ")"],
85
- ["{", "}"]
86
- ],
87
- comments: {
88
- blockComment: [`${t.open}--`, `--${t.close}`]
89
- },
90
- autoCloseBefore: `
91
- \r }]),.:;=`,
92
- autoClosingPairs: [
93
- { open: "{", close: "}" },
94
- { open: "[", close: "]" },
95
- { open: "(", close: ")" },
96
- { open: '"', close: '"', notIn: ["string"] },
97
- { open: "'", close: "'", notIn: ["string"] }
98
- ],
99
- surroundingPairs: [
100
- { open: '"', close: '"' },
101
- { open: "'", close: "'" },
102
- { open: "{", close: "}" },
103
- { open: "[", close: "]" },
104
- { open: "(", close: ")" },
105
- { open: "<", close: ">" }
106
- ],
107
- folding: {
108
- markers: {
109
- start: new RegExp(`${t.open}#(?:${s.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
110
- end: new RegExp(`${t.open}/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
111
- }
112
- },
113
- onEnterRules: [
114
- {
115
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
116
- afterText: new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),
117
- action: {
118
- indentAction: r.languages.IndentAction.IndentOutdent
119
- }
120
- },
121
- {
122
- beforeText: new RegExp(`${t.open}#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),
123
- action: { indentAction: r.languages.IndentAction.Indent }
124
- }
125
- ]
126
- };
127
- }
128
- function A() {
129
- return {
130
- brackets: [
131
- ["<", ">"],
132
- ["[", "]"],
133
- ["(", ")"],
134
- ["{", "}"]
135
- ],
136
- autoCloseBefore: `
137
- \r }]),.:;=`,
138
- autoClosingPairs: [
139
- { open: "{", close: "}" },
140
- { open: "[", close: "]" },
141
- { open: "(", close: ")" },
142
- { open: '"', close: '"', notIn: ["string"] },
143
- { open: "'", close: "'", notIn: ["string"] }
144
- ],
145
- surroundingPairs: [
146
- { open: '"', close: '"' },
147
- { open: "'", close: "'" },
148
- { open: "{", close: "}" },
149
- { open: "[", close: "]" },
150
- { open: "(", close: ")" },
151
- { open: "<", close: ">" }
152
- ],
153
- folding: {
154
- markers: {
155
- start: new RegExp(`[<\\[]#(?:${s.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),
156
- end: new RegExp(`[<\\[]/#(?:${s.join("|")})[\\r\\n\\t ]*>`)
157
- }
158
- },
159
- onEnterRules: [
160
- {
161
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
162
- afterText: new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),
163
- action: {
164
- indentAction: r.languages.IndentAction.IndentOutdent
165
- }
166
- },
167
- {
168
- beforeText: new RegExp(`[<\\[]#(?!(?:${d.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),
169
- action: { indentAction: r.languages.IndentAction.Indent }
170
- }
171
- ]
172
- };
173
- }
174
- function i(t, n) {
175
- const _ = `_${t.id}_${n.id}`, e = (c) => c.replace(/__id__/g, _), o = (c) => {
176
- const f = c.source.replace(/__id__/g, _);
177
- return new RegExp(f, c.flags);
178
- };
179
- return {
180
- unicode: !0,
181
- includeLF: !1,
182
- start: e("default__id__"),
183
- ignoreCase: !1,
184
- defaultToken: "invalid",
185
- tokenPostfix: ".freemarker2",
186
- brackets: [
187
- { open: "{", close: "}", token: "delimiter.curly" },
188
- { open: "[", close: "]", token: "delimiter.square" },
189
- { open: "(", close: ")", token: "delimiter.parenthesis" },
190
- { open: "<", close: ">", token: "delimiter.angle" }
191
- ],
192
- [e("open__id__")]: new RegExp(t.open),
193
- [e("close__id__")]: new RegExp(t.close),
194
- [e("iOpen1__id__")]: new RegExp(n.open1),
195
- [e("iOpen2__id__")]: new RegExp(n.open2),
196
- [e("iClose__id__")]: new RegExp(n.close),
197
- [e("startTag__id__")]: o(/(@open__id__)(#)/),
198
- [e("endTag__id__")]: o(/(@open__id__)(\/#)/),
199
- [e("startOrEndTag__id__")]: o(/(@open__id__)(\/?#)/),
200
- [e("closeTag1__id__")]: o(/((?:@blank)*)(@close__id__)/),
201
- [e("closeTag2__id__")]: o(/((?:@blank)*\/?)(@close__id__)/),
202
- blank: /[ \t\n\r]/,
203
- keywords: ["false", "true", "in", "as", "using"],
204
- directiveStartCloseTag1: /attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,
205
- directiveStartCloseTag2: /else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,
206
- directiveStartBlank: /if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,
207
- directiveEndCloseTag1: /if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,
208
- escapedChar: /\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,
209
- asciiDigit: /[0-9]/,
210
- integer: /[0-9]+/,
211
- nonEscapedIdStartChar: /[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,
212
- escapedIdChar: /\\[\-\.:#]/,
213
- idStartChar: /(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,
214
- id: /(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,
215
- specialHashKeys: /\*\*|\*|false|true|in|as|using/,
216
- namedSymbols: /&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,
217
- arrows: ["->", "-&gt;"],
218
- delimiters: [";", ":", ",", "."],
219
- stringOperators: ["lte", "lt", "gte", "gt"],
220
- noParseTags: ["noparse", "noParse", "comment"],
221
- tokenizer: {
222
- [e("default__id__")]: [
223
- { include: e("@directive_token__id__") },
224
- { include: e("@interpolation_and_text_token__id__") }
225
- ],
226
- [e("fmExpression__id__.directive")]: [
227
- { include: e("@blank_and_expression_comment_token__id__") },
228
- { include: e("@directive_end_token__id__") },
229
- { include: e("@expression_token__id__") }
230
- ],
231
- [e("fmExpression__id__.interpolation")]: [
232
- { include: e("@blank_and_expression_comment_token__id__") },
233
- { include: e("@expression_token__id__") },
234
- { include: e("@greater_operators_token__id__") }
235
- ],
236
- [e("inParen__id__.plain")]: [
237
- { include: e("@blank_and_expression_comment_token__id__") },
238
- { include: e("@directive_end_token__id__") },
239
- { include: e("@expression_token__id__") }
240
- ],
241
- [e("inParen__id__.gt")]: [
242
- { include: e("@blank_and_expression_comment_token__id__") },
243
- { include: e("@expression_token__id__") },
244
- { include: e("@greater_operators_token__id__") }
245
- ],
246
- [e("noSpaceExpression__id__")]: [
247
- { include: e("@no_space_expression_end_token__id__") },
248
- { include: e("@directive_end_token__id__") },
249
- { include: e("@expression_token__id__") }
250
- ],
251
- [e("unifiedCall__id__")]: [{ include: e("@unified_call_token__id__") }],
252
- [e("singleString__id__")]: [{ include: e("@string_single_token__id__") }],
253
- [e("doubleString__id__")]: [{ include: e("@string_double_token__id__") }],
254
- [e("rawSingleString__id__")]: [{ include: e("@string_single_raw_token__id__") }],
255
- [e("rawDoubleString__id__")]: [{ include: e("@string_double_raw_token__id__") }],
256
- [e("expressionComment__id__")]: [{ include: e("@expression_comment_token__id__") }],
257
- [e("noParse__id__")]: [{ include: e("@no_parse_token__id__") }],
258
- [e("terseComment__id__")]: [{ include: e("@terse_comment_token__id__") }],
259
- [e("directive_token__id__")]: [
260
- [
261
- o(/(?:@startTag__id__)(@directiveStartCloseTag1)(?:@closeTag1__id__)/),
262
- t.id === "auto" ? {
263
- cases: {
264
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
265
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
266
- }
267
- } : [
268
- { token: "@brackets.directive" },
269
- { token: "delimiter.directive" },
270
- {
271
- cases: {
272
- "@noParseTags": { token: "tag", next: e("@noParse__id__.$3") },
273
- "@default": { token: "tag" }
274
- }
275
- },
276
- { token: "delimiter.directive" },
277
- { token: "@brackets.directive" }
278
- ]
279
- ],
280
- [
281
- o(/(?:@startTag__id__)(@directiveStartCloseTag2)(?:@closeTag2__id__)/),
282
- t.id === "auto" ? {
283
- cases: {
284
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
285
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
286
- }
287
- } : [
288
- { token: "@brackets.directive" },
289
- { token: "delimiter.directive" },
290
- { token: "tag" },
291
- { token: "delimiter.directive" },
292
- { token: "@brackets.directive" }
293
- ]
294
- ],
295
- [
296
- o(/(?:@startTag__id__)(@directiveStartBlank)(@blank)/),
297
- t.id === "auto" ? {
298
- cases: {
299
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
300
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
301
- }
302
- } : [
303
- { token: "@brackets.directive" },
304
- { token: "delimiter.directive" },
305
- { token: "tag" },
306
- { token: "", next: e("@fmExpression__id__.directive") }
307
- ]
308
- ],
309
- [
310
- o(/(?:@endTag__id__)(@directiveEndCloseTag1)(?:@closeTag1__id__)/),
311
- t.id === "auto" ? {
312
- cases: {
313
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
314
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
315
- }
316
- } : [
317
- { token: "@brackets.directive" },
318
- { token: "delimiter.directive" },
319
- { token: "tag" },
320
- { token: "delimiter.directive" },
321
- { token: "@brackets.directive" }
322
- ]
323
- ],
324
- [
325
- o(/(@open__id__)(@)/),
326
- t.id === "auto" ? {
327
- cases: {
328
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
329
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
330
- }
331
- } : [
332
- { token: "@brackets.directive" },
333
- { token: "delimiter.directive", next: e("@unifiedCall__id__") }
334
- ]
335
- ],
336
- [
337
- o(/(@open__id__)(\/@)((?:(?:@id)(?:\.(?:@id))*)?)(?:@closeTag1__id__)/),
338
- [
339
- { token: "@brackets.directive" },
340
- { token: "delimiter.directive" },
341
- { token: "tag" },
342
- { token: "delimiter.directive" },
343
- { token: "@brackets.directive" }
344
- ]
345
- ],
346
- [
347
- o(/(@open__id__)#--/),
348
- t.id === "auto" ? {
349
- cases: {
350
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
351
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
352
- }
353
- } : { token: "comment", next: e("@terseComment__id__") }
354
- ],
355
- [
356
- o(/(?:@startOrEndTag__id__)([a-zA-Z_]+)/),
357
- t.id === "auto" ? {
358
- cases: {
359
- "$1==<": { token: "@rematch", switchTo: `@default_angle_${n.id}` },
360
- "$1==[": { token: "@rematch", switchTo: `@default_bracket_${n.id}` }
361
- }
362
- } : [
363
- { token: "@brackets.directive" },
364
- { token: "delimiter.directive" },
365
- { token: "tag.invalid", next: e("@fmExpression__id__.directive") }
366
- ]
367
- ]
368
- ],
369
- [e("interpolation_and_text_token__id__")]: [
370
- [
371
- o(/(@iOpen1__id__)(@iOpen2__id__)/),
372
- [
373
- { token: n.id === "bracket" ? "@brackets.interpolation" : "delimiter.interpolation" },
374
- {
375
- token: n.id === "bracket" ? "delimiter.interpolation" : "@brackets.interpolation",
376
- next: e("@fmExpression__id__.interpolation")
377
- }
378
- ]
379
- ],
380
- [/[\$#<\[\{]|(?:@blank)+|[^\$<#\[\{\n\r\t ]+/, { token: "source" }]
381
- ],
382
- [e("string_single_token__id__")]: [
383
- [/[^'\\]/, { token: "string" }],
384
- [/@escapedChar/, { token: "string.escape" }],
385
- [/'/, { token: "string", next: "@pop" }]
386
- ],
387
- [e("string_double_token__id__")]: [
388
- [/[^"\\]/, { token: "string" }],
389
- [/@escapedChar/, { token: "string.escape" }],
390
- [/"/, { token: "string", next: "@pop" }]
391
- ],
392
- [e("string_single_raw_token__id__")]: [
393
- [/[^']+/, { token: "string.raw" }],
394
- [/'/, { token: "string.raw", next: "@pop" }]
395
- ],
396
- [e("string_double_raw_token__id__")]: [
397
- [/[^"]+/, { token: "string.raw" }],
398
- [/"/, { token: "string.raw", next: "@pop" }]
399
- ],
400
- [e("expression_token__id__")]: [
401
- [
402
- /(r?)(['"])/,
403
- {
404
- cases: {
405
- "r'": [
406
- { token: "keyword" },
407
- { token: "string.raw", next: e("@rawSingleString__id__") }
408
- ],
409
- 'r"': [
410
- { token: "keyword" },
411
- { token: "string.raw", next: e("@rawDoubleString__id__") }
412
- ],
413
- "'": [{ token: "source" }, { token: "string", next: e("@singleString__id__") }],
414
- '"': [{ token: "source" }, { token: "string", next: e("@doubleString__id__") }]
415
- }
416
- }
417
- ],
418
- [
419
- /(?:@integer)(?:\.(?:@integer))?/,
420
- {
421
- cases: {
422
- "(?:@integer)": { token: "number" },
423
- "@default": { token: "number.float" }
424
- }
425
- }
426
- ],
427
- [
428
- /(\.)(@blank*)(@specialHashKeys)/,
429
- [{ token: "delimiter" }, { token: "" }, { token: "identifier" }]
430
- ],
431
- [
432
- /(?:@namedSymbols)/,
433
- {
434
- cases: {
435
- "@arrows": { token: "meta.arrow" },
436
- "@delimiters": { token: "delimiter" },
437
- "@default": { token: "operators" }
438
- }
439
- }
440
- ],
441
- [
442
- /@id/,
443
- {
444
- cases: {
445
- "@keywords": { token: "keyword.$0" },
446
- "@stringOperators": { token: "operators" },
447
- "@default": { token: "identifier" }
448
- }
449
- }
450
- ],
451
- [
452
- /[\[\]\(\)\{\}]/,
453
- {
454
- cases: {
455
- "\\[": {
456
- cases: {
457
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
458
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
459
- }
460
- },
461
- "\\]": {
462
- cases: {
463
- ...n.id === "bracket" ? {
464
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
465
- } : {},
466
- ...t.id === "bracket" ? {
467
- "$S2==directive": { token: "@brackets.directive", next: "@popall" }
468
- } : {},
469
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
470
- "@default": { token: "@brackets" }
471
- }
472
- },
473
- "\\(": { token: "@brackets", next: e("@inParen__id__.gt") },
474
- "\\)": {
475
- cases: {
476
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
477
- "@default": { token: "@brackets" }
478
- }
479
- },
480
- "\\{": {
481
- cases: {
482
- "$S2==gt": { token: "@brackets", next: e("@inParen__id__.gt") },
483
- "@default": { token: "@brackets", next: e("@inParen__id__.plain") }
484
- }
485
- },
486
- "\\}": {
487
- cases: {
488
- ...n.id === "bracket" ? {} : {
489
- "$S2==interpolation": { token: "@brackets.interpolation", next: "@popall" }
490
- },
491
- [e("$S1==inParen__id__")]: { token: "@brackets", next: "@pop" },
492
- "@default": { token: "@brackets" }
493
- }
494
- }
495
- }
496
- }
497
- ],
498
- [/\$\{/, { token: "delimiter.invalid" }]
499
- ],
500
- [e("blank_and_expression_comment_token__id__")]: [
501
- [/(?:@blank)+/, { token: "" }],
502
- [/[<\[][#!]--/, { token: "comment", next: e("@expressionComment__id__") }]
503
- ],
504
- [e("directive_end_token__id__")]: [
505
- [
506
- />/,
507
- t.id === "bracket" ? { token: "operators" } : { token: "@brackets.directive", next: "@popall" }
508
- ],
509
- [
510
- o(/(\/)(@close__id__)/),
511
- [{ token: "delimiter.directive" }, { token: "@brackets.directive", next: "@popall" }]
512
- ]
513
- ],
514
- [e("greater_operators_token__id__")]: [
515
- [/>/, { token: "operators" }],
516
- [/>=/, { token: "operators" }]
517
- ],
518
- [e("no_space_expression_end_token__id__")]: [
519
- [/(?:@blank)+/, { token: "", switchTo: e("@fmExpression__id__.directive") }]
520
- ],
521
- [e("unified_call_token__id__")]: [
522
- [
523
- /(@id)((?:@blank)+)/,
524
- [{ token: "tag" }, { token: "", next: e("@fmExpression__id__.directive") }]
525
- ],
526
- [
527
- o(/(@id)(\/?)(@close__id__)/),
528
- [
529
- { token: "tag" },
530
- { token: "delimiter.directive" },
531
- { token: "@brackets.directive", next: "@popall" }
532
- ]
533
- ],
534
- [/./, { token: "@rematch", next: e("@noSpaceExpression__id__") }]
535
- ],
536
- [e("no_parse_token__id__")]: [
537
- [
538
- o(/(@open__id__)(\/#?)([a-zA-Z]+)((?:@blank)*)(@close__id__)/),
539
- {
540
- cases: {
541
- "$S2==$3": [
542
- { token: "@brackets.directive" },
543
- { token: "delimiter.directive" },
544
- { token: "tag" },
545
- { token: "" },
546
- { token: "@brackets.directive", next: "@popall" }
547
- ],
548
- "$S2==comment": [
549
- { token: "comment" },
550
- { token: "comment" },
551
- { token: "comment" },
552
- { token: "comment" },
553
- { token: "comment" }
554
- ],
555
- "@default": [
556
- { token: "source" },
557
- { token: "source" },
558
- { token: "source" },
559
- { token: "source" },
560
- { token: "source" }
561
- ]
562
- }
563
- }
564
- ],
565
- [
566
- /[^<\[\-]+|[<\[\-]/,
567
- {
568
- cases: {
569
- "$S2==comment": { token: "comment" },
570
- "@default": { token: "source" }
571
- }
572
- }
573
- ]
574
- ],
575
- [e("expression_comment_token__id__")]: [
576
- [
577
- /--[>\]]/,
578
- {
579
- token: "comment",
580
- next: "@pop"
581
- }
582
- ],
583
- [/[^\->\]]+|[>\]\-]/, { token: "comment" }]
584
- ],
585
- [e("terse_comment_token__id__")]: [
586
- [o(/--(?:@close__id__)/), { token: "comment", next: "@popall" }],
587
- [/[^<\[\-]+|[<\[\-]/, { token: "comment" }]
588
- ]
589
- }
590
- };
591
- }
592
- function m(t) {
593
- const n = i(a, t), _ = i(u, t), e = i(D, t);
594
- return {
595
- ...n,
596
- ..._,
597
- ...e,
598
- unicode: !0,
599
- includeLF: !1,
600
- start: `default_auto_${t.id}`,
601
- ignoreCase: !1,
602
- defaultToken: "invalid",
603
- tokenPostfix: ".freemarker2",
604
- brackets: [
605
- { open: "{", close: "}", token: "delimiter.curly" },
606
- { open: "[", close: "]", token: "delimiter.square" },
607
- { open: "(", close: ")", token: "delimiter.parenthesis" },
608
- { open: "<", close: ">", token: "delimiter.angle" }
609
- ],
610
- tokenizer: {
611
- ...n.tokenizer,
612
- ..._.tokenizer,
613
- ...e.tokenizer
614
- }
615
- };
616
- }
617
- var C = {
618
- conf: l(a),
619
- language: i(a, k)
620
- }, w = {
621
- conf: l(u),
622
- language: i(u, k)
623
- }, T = {
624
- conf: l(a),
625
- language: i(a, p)
626
- }, h = {
627
- conf: l(u),
628
- language: i(u, p)
629
- }, S = {
630
- conf: A(),
631
- language: m(k)
632
- }, P = {
633
- conf: A(),
634
- language: m(p)
635
- };
636
- export {
637
- T as TagAngleInterpolationBracket,
638
- C as TagAngleInterpolationDollar,
639
- P as TagAutoInterpolationBracket,
640
- S as TagAutoInterpolationDollar,
641
- h as TagBracketInterpolationBracket,
642
- w as TagBracketInterpolationDollar
643
- };