@devtron-labs/devtron-fe-common-lib 1.1.6-beta-2 → 1.1.6-beta-4

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 (118) hide show
  1. package/dist/Common/CustomTagSelector/Types.d.ts +12 -0
  2. package/dist/Common/Types.d.ts +2 -1
  3. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
  4. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
  5. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
  6. package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
  7. package/dist/Shared/Components/DynamicDataTable/types.d.ts +161 -0
  8. package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
  9. package/dist/Shared/Components/MultipleResizableTextArea/MultipleResizableTextArea.d.ts +2 -0
  10. package/dist/Shared/Components/MultipleResizableTextArea/index.d.ts +2 -0
  11. package/dist/Shared/Components/MultipleResizableTextArea/types.d.ts +9 -0
  12. package/dist/Shared/Components/SelectPicker/type.d.ts +5 -4
  13. package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +2 -0
  14. package/dist/Shared/Components/SelectTextArea/index.d.ts +2 -0
  15. package/dist/Shared/Components/SelectTextArea/types.d.ts +12 -0
  16. package/dist/Shared/Components/index.d.ts +2 -0
  17. package/dist/abap-DttVK1gE.js +1314 -0
  18. package/dist/apex-BjfHvyb2.js +315 -0
  19. package/dist/assets/index.css +1 -0
  20. package/dist/azcli-Ws-Trf8e.js +74 -0
  21. package/dist/bat-CeCHpU9_.js +95 -0
  22. package/dist/bicep-C7a7aEmi.js +108 -0
  23. package/dist/cameligo-CJeEIvX4.js +168 -0
  24. package/dist/clojure-CEKXhLdU.js +754 -0
  25. package/dist/coffee-CKu3e6V1.js +228 -0
  26. package/dist/cpp-CvUiT5Ec.js +390 -0
  27. package/dist/csharp-PmU9HJkB.js +320 -0
  28. package/dist/csp-DULvRLPF.js +57 -0
  29. package/dist/css-CNWXQPpt.js +186 -0
  30. package/dist/cssMode--71rLUMi.js +1446 -0
  31. package/dist/cypher-CYHOQS2R.js +262 -0
  32. package/dist/dart-BjGx-9Jk.js +270 -0
  33. package/dist/dockerfile-D0WaVIZ2.js +132 -0
  34. package/dist/ecl-CijaJu-p.js +454 -0
  35. package/dist/elixir-BI5Tc37S.js +489 -0
  36. package/dist/flow9-BApGtQOO.js +141 -0
  37. package/dist/freemarker2-Cx3qG0cs.js +643 -0
  38. package/dist/fsharp-VeKgt2eG.js +210 -0
  39. package/dist/go-Cl8cKDlN.js +208 -0
  40. package/dist/graphql-PfgPBmj4.js +141 -0
  41. package/dist/handlebars-Bt2uqG8b.js +391 -0
  42. package/dist/hcl-CG4VZSkm.js +177 -0
  43. package/dist/html-DU7HWII4.js +281 -0
  44. package/dist/htmlMode-C_jemX66.js +1456 -0
  45. package/dist/index-DFjnZKpc.js +163879 -0
  46. package/dist/index.js +508 -505
  47. package/dist/ini-EhiBNPZF.js +68 -0
  48. package/dist/java-DPbnXhoY.js +221 -0
  49. package/dist/javascript-tR3wsqWc.js +75 -0
  50. package/dist/jsonMode-CPHJoMDt.js +1866 -0
  51. package/dist/julia-Bw7EYexg.js +496 -0
  52. package/dist/kotlin-BNXLDoV0.js +245 -0
  53. package/dist/less-DtuF_id_.js +168 -0
  54. package/dist/lexon-DpB0-37O.js +151 -0
  55. package/dist/liquid-Cp4TQ7hL.js +238 -0
  56. package/dist/lua-CzRNOk9S.js +157 -0
  57. package/dist/m3-pXPmDwal.js +210 -0
  58. package/dist/markdown-CeQ3rxjn.js +202 -0
  59. package/dist/mdx-DP3ktqo6.js +171 -0
  60. package/dist/mips-DyE0VSNz.js +194 -0
  61. package/dist/msdax-CbdkoqRa.js +377 -0
  62. package/dist/mysql-B86-uHNu.js +876 -0
  63. package/dist/objective-c-1xvkKPId.js +188 -0
  64. package/dist/pascal-DcyFhj80.js +245 -0
  65. package/dist/pascaligo-QnM0hvMG.js +158 -0
  66. package/dist/perl-Bqp3FbU4.js +599 -0
  67. package/dist/pgsql-HdG7BG_Z.js +847 -0
  68. package/dist/php-zf7L2p7t.js +471 -0
  69. package/dist/pla-3Ykqsyzl.js +131 -0
  70. package/dist/postiats-D1v08O4B.js +544 -0
  71. package/dist/powerquery-CiQ9b1-b.js +890 -0
  72. package/dist/powershell-DFNK6VaX.js +233 -0
  73. package/dist/protobuf-D5P2Z6tc.js +422 -0
  74. package/dist/pug-BeyMX5am.js +393 -0
  75. package/dist/python-7adrB-AP.js +259 -0
  76. package/dist/qsharp-DcFOTjuP.js +282 -0
  77. package/dist/r-B3aJPcWp.js +245 -0
  78. package/dist/razor-DgqIzp1R.js +512 -0
  79. package/dist/redis-CyC__Tub.js +298 -0
  80. package/dist/redshift-NqbcQPcY.js +806 -0
  81. package/dist/restructuredtext-CZMxBkap.js +162 -0
  82. package/dist/ruby-C_jEtDv5.js +444 -0
  83. package/dist/rust-WAeitMCC.js +337 -0
  84. package/dist/sb-CSBm2pED.js +110 -0
  85. package/dist/scala-D76PhKmh.js +353 -0
  86. package/dist/scheme-CBSAjRuO.js +114 -0
  87. package/dist/scss-BHY8wFFg.js +244 -0
  88. package/dist/shell-Cwju9_l8.js +224 -0
  89. package/dist/solidity-BV1-nze3.js +1351 -0
  90. package/dist/sophia-DfoUlGAs.js +190 -0
  91. package/dist/sparql-4kfArTtK.js +193 -0
  92. package/dist/sql-DIpn0HSX.js +818 -0
  93. package/dist/st-BgJ_KDZh.js +415 -0
  94. package/dist/swift-D-ucEgIi.js +315 -0
  95. package/dist/systemverilog-DjkH5zuo.js +556 -0
  96. package/dist/tcl-gd8XLKJA.js +232 -0
  97. package/dist/tsMode-DEn7IgUV.js +810 -0
  98. package/dist/twig-D5XtTFGM.js +323 -0
  99. package/dist/typescript-BIIti-S_.js +328 -0
  100. package/dist/vb-DYqqYAf3.js +364 -0
  101. package/dist/wgsl-CkZE0qf3.js +420 -0
  102. package/dist/xml-BTCrcRFQ.js +95 -0
  103. package/dist/yaml-7Qg03Fvh.js +184 -0
  104. package/package.json +5 -4
  105. package/dist/@code-editor-Vbkor1r4.js +0 -18991
  106. package/dist/@common-rjsf-6UM_zh8b.js +0 -567
  107. package/dist/@framer-motion-DHY98qq3.js +0 -3437
  108. package/dist/@moment-C_WeV3Af.js +0 -2609
  109. package/dist/@monaco-editor-34kqzg3G.js +0 -70451
  110. package/dist/@react-dates-WNnwjI5S.js +0 -7708
  111. package/dist/@react-select-BbR996pa.js +0 -2636
  112. package/dist/@src-assets-images-DamVa6cS.js +0 -14
  113. package/dist/@vendor-RU8AW1bK.js +0 -20473
  114. package/dist/assets/@code-editor.css +0 -1
  115. package/dist/assets/@common-rjsf.css +0 -1
  116. package/dist/assets/@monaco-editor.css +0 -1
  117. package/dist/assets/@react-dates.css +0 -1
  118. package/dist/assets/@vendor.css +0 -1
@@ -0,0 +1,320 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
9
+ comments: {
10
+ lineComment: "//",
11
+ blockComment: ["/*", "*/"]
12
+ },
13
+ brackets: [
14
+ ["{", "}"],
15
+ ["[", "]"],
16
+ ["(", ")"]
17
+ ],
18
+ autoClosingPairs: [
19
+ { open: "{", close: "}" },
20
+ { open: "[", close: "]" },
21
+ { open: "(", close: ")" },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] },
23
+ { open: '"', close: '"', notIn: ["string", "comment"] }
24
+ ],
25
+ surroundingPairs: [
26
+ { open: "{", close: "}" },
27
+ { open: "[", close: "]" },
28
+ { open: "(", close: ")" },
29
+ { open: "<", close: ">" },
30
+ { open: "'", close: "'" },
31
+ { open: '"', close: '"' }
32
+ ],
33
+ folding: {
34
+ markers: {
35
+ start: new RegExp("^\\s*#region\\b"),
36
+ end: new RegExp("^\\s*#endregion\\b")
37
+ }
38
+ }
39
+ }, t = {
40
+ defaultToken: "",
41
+ tokenPostfix: ".cs",
42
+ brackets: [
43
+ { open: "{", close: "}", token: "delimiter.curly" },
44
+ { open: "[", close: "]", token: "delimiter.square" },
45
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
46
+ { open: "<", close: ">", token: "delimiter.angle" }
47
+ ],
48
+ keywords: [
49
+ "extern",
50
+ "alias",
51
+ "using",
52
+ "bool",
53
+ "decimal",
54
+ "sbyte",
55
+ "byte",
56
+ "short",
57
+ "ushort",
58
+ "int",
59
+ "uint",
60
+ "long",
61
+ "ulong",
62
+ "char",
63
+ "float",
64
+ "double",
65
+ "object",
66
+ "dynamic",
67
+ "string",
68
+ "assembly",
69
+ "is",
70
+ "as",
71
+ "ref",
72
+ "out",
73
+ "this",
74
+ "base",
75
+ "new",
76
+ "typeof",
77
+ "void",
78
+ "checked",
79
+ "unchecked",
80
+ "default",
81
+ "delegate",
82
+ "var",
83
+ "const",
84
+ "if",
85
+ "else",
86
+ "switch",
87
+ "case",
88
+ "while",
89
+ "do",
90
+ "for",
91
+ "foreach",
92
+ "in",
93
+ "break",
94
+ "continue",
95
+ "goto",
96
+ "return",
97
+ "throw",
98
+ "try",
99
+ "catch",
100
+ "finally",
101
+ "lock",
102
+ "yield",
103
+ "from",
104
+ "let",
105
+ "where",
106
+ "join",
107
+ "on",
108
+ "equals",
109
+ "into",
110
+ "orderby",
111
+ "ascending",
112
+ "descending",
113
+ "select",
114
+ "group",
115
+ "by",
116
+ "namespace",
117
+ "partial",
118
+ "class",
119
+ "field",
120
+ "event",
121
+ "method",
122
+ "param",
123
+ "public",
124
+ "protected",
125
+ "internal",
126
+ "private",
127
+ "abstract",
128
+ "sealed",
129
+ "static",
130
+ "struct",
131
+ "readonly",
132
+ "volatile",
133
+ "virtual",
134
+ "override",
135
+ "params",
136
+ "get",
137
+ "set",
138
+ "add",
139
+ "remove",
140
+ "operator",
141
+ "true",
142
+ "false",
143
+ "implicit",
144
+ "explicit",
145
+ "interface",
146
+ "enum",
147
+ "null",
148
+ "async",
149
+ "await",
150
+ "fixed",
151
+ "sizeof",
152
+ "stackalloc",
153
+ "unsafe",
154
+ "nameof",
155
+ "when"
156
+ ],
157
+ namespaceFollows: ["namespace", "using"],
158
+ parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
159
+ operators: [
160
+ "=",
161
+ "??",
162
+ "||",
163
+ "&&",
164
+ "|",
165
+ "^",
166
+ "&",
167
+ "==",
168
+ "!=",
169
+ "<=",
170
+ ">=",
171
+ "<<",
172
+ "+",
173
+ "-",
174
+ "*",
175
+ "/",
176
+ "%",
177
+ "!",
178
+ "~",
179
+ "++",
180
+ "--",
181
+ "+=",
182
+ "-=",
183
+ "*=",
184
+ "/=",
185
+ "%=",
186
+ "&=",
187
+ "|=",
188
+ "^=",
189
+ "<<=",
190
+ ">>=",
191
+ ">>",
192
+ "=>"
193
+ ],
194
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
195
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
196
+ tokenizer: {
197
+ root: [
198
+ [
199
+ /\@?[a-zA-Z_]\w*/,
200
+ {
201
+ cases: {
202
+ "@namespaceFollows": {
203
+ token: "keyword.$0",
204
+ next: "@namespace"
205
+ },
206
+ "@keywords": {
207
+ token: "keyword.$0",
208
+ next: "@qualified"
209
+ },
210
+ "@default": { token: "identifier", next: "@qualified" }
211
+ }
212
+ }
213
+ ],
214
+ { include: "@whitespace" },
215
+ [
216
+ /}/,
217
+ {
218
+ cases: {
219
+ "$S2==interpolatedstring": {
220
+ token: "string.quote",
221
+ next: "@pop"
222
+ },
223
+ "$S2==litinterpstring": {
224
+ token: "string.quote",
225
+ next: "@pop"
226
+ },
227
+ "@default": "@brackets"
228
+ }
229
+ }
230
+ ],
231
+ [/[{}()\[\]]/, "@brackets"],
232
+ [/[<>](?!@symbols)/, "@brackets"],
233
+ [
234
+ /@symbols/,
235
+ {
236
+ cases: {
237
+ "@operators": "delimiter",
238
+ "@default": ""
239
+ }
240
+ }
241
+ ],
242
+ [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
243
+ [/0[xX][0-9a-fA-F_]+/, "number.hex"],
244
+ [/0[bB][01_]+/, "number.hex"],
245
+ [/[0-9_]+/, "number"],
246
+ [/[;,.]/, "delimiter"],
247
+ [/"([^"\\]|\\.)*$/, "string.invalid"],
248
+ [/"/, { token: "string.quote", next: "@string" }],
249
+ [/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
250
+ [/\@"/, { token: "string.quote", next: "@litstring" }],
251
+ [/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
252
+ [/'[^\\']'/, "string"],
253
+ [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
254
+ [/'/, "string.invalid"]
255
+ ],
256
+ qualified: [
257
+ [
258
+ /[a-zA-Z_][\w]*/,
259
+ {
260
+ cases: {
261
+ "@keywords": { token: "keyword.$0" },
262
+ "@default": "identifier"
263
+ }
264
+ }
265
+ ],
266
+ [/\./, "delimiter"],
267
+ ["", "", "@pop"]
268
+ ],
269
+ namespace: [
270
+ { include: "@whitespace" },
271
+ [/[A-Z]\w*/, "namespace"],
272
+ [/[\.=]/, "delimiter"],
273
+ ["", "", "@pop"]
274
+ ],
275
+ comment: [
276
+ [/[^\/*]+/, "comment"],
277
+ ["\\*/", "comment", "@pop"],
278
+ [/[\/*]/, "comment"]
279
+ ],
280
+ string: [
281
+ [/[^\\"]+/, "string"],
282
+ [/@escapes/, "string.escape"],
283
+ [/\\./, "string.escape.invalid"],
284
+ [/"/, { token: "string.quote", next: "@pop" }]
285
+ ],
286
+ litstring: [
287
+ [/[^"]+/, "string"],
288
+ [/""/, "string.escape"],
289
+ [/"/, { token: "string.quote", next: "@pop" }]
290
+ ],
291
+ litinterpstring: [
292
+ [/[^"{]+/, "string"],
293
+ [/""/, "string.escape"],
294
+ [/{{/, "string.escape"],
295
+ [/}}/, "string.escape"],
296
+ [/{/, { token: "string.quote", next: "root.litinterpstring" }],
297
+ [/"/, { token: "string.quote", next: "@pop" }]
298
+ ],
299
+ interpolatedstring: [
300
+ [/[^\\"{]+/, "string"],
301
+ [/@escapes/, "string.escape"],
302
+ [/\\./, "string.escape.invalid"],
303
+ [/{{/, "string.escape"],
304
+ [/}}/, "string.escape"],
305
+ [/{/, { token: "string.quote", next: "root.interpolatedstring" }],
306
+ [/"/, { token: "string.quote", next: "@pop" }]
307
+ ],
308
+ whitespace: [
309
+ [/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
310
+ [/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
311
+ [/[ \t\v\f\r\n]+/, ""],
312
+ [/\/\*/, "comment", "@comment"],
313
+ [/\/\/.*$/, "comment"]
314
+ ]
315
+ }
316
+ };
317
+ export {
318
+ e as conf,
319
+ t as language
320
+ };
@@ -0,0 +1,57 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var t = {
8
+ brackets: [],
9
+ autoClosingPairs: [],
10
+ surroundingPairs: []
11
+ }, r = {
12
+ keywords: [],
13
+ typeKeywords: [],
14
+ tokenPostfix: ".csp",
15
+ operators: [],
16
+ symbols: /[=><!~?:&|+\-*\/\^%]+/,
17
+ escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
18
+ tokenizer: {
19
+ root: [
20
+ [/child-src/, "string.quote"],
21
+ [/connect-src/, "string.quote"],
22
+ [/default-src/, "string.quote"],
23
+ [/font-src/, "string.quote"],
24
+ [/frame-src/, "string.quote"],
25
+ [/img-src/, "string.quote"],
26
+ [/manifest-src/, "string.quote"],
27
+ [/media-src/, "string.quote"],
28
+ [/object-src/, "string.quote"],
29
+ [/script-src/, "string.quote"],
30
+ [/style-src/, "string.quote"],
31
+ [/worker-src/, "string.quote"],
32
+ [/base-uri/, "string.quote"],
33
+ [/plugin-types/, "string.quote"],
34
+ [/sandbox/, "string.quote"],
35
+ [/disown-opener/, "string.quote"],
36
+ [/form-action/, "string.quote"],
37
+ [/frame-ancestors/, "string.quote"],
38
+ [/report-uri/, "string.quote"],
39
+ [/report-to/, "string.quote"],
40
+ [/upgrade-insecure-requests/, "string.quote"],
41
+ [/block-all-mixed-content/, "string.quote"],
42
+ [/require-sri-for/, "string.quote"],
43
+ [/reflected-xss/, "string.quote"],
44
+ [/referrer/, "string.quote"],
45
+ [/policy-uri/, "string.quote"],
46
+ [/'self'/, "string.quote"],
47
+ [/'unsafe-inline'/, "string.quote"],
48
+ [/'unsafe-eval'/, "string.quote"],
49
+ [/'strict-dynamic'/, "string.quote"],
50
+ [/'unsafe-hashed-attributes'/, "string.quote"]
51
+ ]
52
+ }
53
+ };
54
+ export {
55
+ t as conf,
56
+ r as language
57
+ };
@@ -0,0 +1,186 @@
1
+ /*!-----------------------------------------------------------------------------
2
+ * Copyright (c) Microsoft Corporation. All rights reserved.
3
+ * Version: 0.44.0(3e047efd345ff102c8c61b5398fb30845aaac166)
4
+ * Released under the MIT license
5
+ * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
6
+ *-----------------------------------------------------------------------------*/
7
+ var e = {
8
+ wordPattern: /(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
9
+ comments: {
10
+ blockComment: ["/*", "*/"]
11
+ },
12
+ brackets: [
13
+ ["{", "}"],
14
+ ["[", "]"],
15
+ ["(", ")"]
16
+ ],
17
+ autoClosingPairs: [
18
+ { open: "{", close: "}", notIn: ["string", "comment"] },
19
+ { open: "[", close: "]", notIn: ["string", "comment"] },
20
+ { open: "(", close: ")", notIn: ["string", "comment"] },
21
+ { open: '"', close: '"', notIn: ["string", "comment"] },
22
+ { open: "'", close: "'", notIn: ["string", "comment"] }
23
+ ],
24
+ surroundingPairs: [
25
+ { open: "{", close: "}" },
26
+ { open: "[", close: "]" },
27
+ { open: "(", close: ")" },
28
+ { open: '"', close: '"' },
29
+ { open: "'", close: "'" }
30
+ ],
31
+ folding: {
32
+ markers: {
33
+ start: new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
34
+ end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
35
+ }
36
+ }
37
+ }, t = {
38
+ defaultToken: "",
39
+ tokenPostfix: ".css",
40
+ ws: `[
41
+ \r\f]*`,
42
+ identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
43
+ brackets: [
44
+ { open: "{", close: "}", token: "delimiter.bracket" },
45
+ { open: "[", close: "]", token: "delimiter.bracket" },
46
+ { open: "(", close: ")", token: "delimiter.parenthesis" },
47
+ { open: "<", close: ">", token: "delimiter.angle" }
48
+ ],
49
+ tokenizer: {
50
+ root: [{ include: "@selector" }],
51
+ selector: [
52
+ { include: "@comments" },
53
+ { include: "@import" },
54
+ { include: "@strings" },
55
+ [
56
+ "[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
57
+ { token: "keyword", next: "@keyframedeclaration" }
58
+ ],
59
+ ["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
60
+ ["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
61
+ [
62
+ "(url-prefix)(\\()",
63
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
64
+ ],
65
+ [
66
+ "(url)(\\()",
67
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
68
+ ],
69
+ { include: "@selectorname" },
70
+ ["[\\*]", "tag"],
71
+ ["[>\\+,]", "delimiter"],
72
+ ["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
73
+ ["{", { token: "delimiter.bracket", next: "@selectorbody" }]
74
+ ],
75
+ selectorbody: [
76
+ { include: "@comments" },
77
+ ["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
78
+ ["}", { token: "delimiter.bracket", next: "@pop" }]
79
+ ],
80
+ selectorname: [
81
+ ["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
82
+ ],
83
+ selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
84
+ term: [
85
+ { include: "@comments" },
86
+ [
87
+ "(url-prefix)(\\()",
88
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
89
+ ],
90
+ [
91
+ "(url)(\\()",
92
+ ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
93
+ ],
94
+ { include: "@functioninvocation" },
95
+ { include: "@numbers" },
96
+ { include: "@name" },
97
+ { include: "@strings" },
98
+ ["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
99
+ [",", "delimiter"]
100
+ ],
101
+ rulevalue: [
102
+ { include: "@comments" },
103
+ { include: "@strings" },
104
+ { include: "@term" },
105
+ ["!important", "keyword"],
106
+ [";", "delimiter", "@pop"],
107
+ ["(?=})", { token: "", next: "@pop" }]
108
+ ],
109
+ warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
110
+ import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
111
+ urldeclaration: [
112
+ { include: "@strings" },
113
+ [`[^)\r
114
+ ]+`, "string"],
115
+ ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
116
+ ],
117
+ parenthizedterm: [
118
+ { include: "@term" },
119
+ ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
120
+ ],
121
+ declarationbody: [
122
+ { include: "@term" },
123
+ [";", "delimiter", "@pop"],
124
+ ["(?=})", { token: "", next: "@pop" }]
125
+ ],
126
+ comments: [
127
+ ["\\/\\*", "comment", "@comment"],
128
+ ["\\/\\/+.*", "comment"]
129
+ ],
130
+ comment: [
131
+ ["\\*\\/", "comment", "@pop"],
132
+ [/[^*/]+/, "comment"],
133
+ [/./, "comment"]
134
+ ],
135
+ name: [["@identifier", "attribute.value"]],
136
+ numbers: [
137
+ ["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
138
+ ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
139
+ ],
140
+ units: [
141
+ [
142
+ "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
143
+ "attribute.value.unit",
144
+ "@pop"
145
+ ]
146
+ ],
147
+ keyframedeclaration: [
148
+ ["@identifier", "attribute.value"],
149
+ ["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
150
+ ],
151
+ keyframebody: [
152
+ { include: "@term" },
153
+ ["{", { token: "delimiter.bracket", next: "@selectorbody" }],
154
+ ["}", { token: "delimiter.bracket", next: "@pop" }]
155
+ ],
156
+ functioninvocation: [
157
+ ["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
158
+ ],
159
+ functionarguments: [
160
+ ["\\$@identifier@ws:", "attribute.name"],
161
+ ["[,]", "delimiter"],
162
+ { include: "@term" },
163
+ ["\\)", { token: "attribute.value", next: "@pop" }]
164
+ ],
165
+ strings: [
166
+ ['~?"', { token: "string", next: "@stringenddoublequote" }],
167
+ ["~?'", { token: "string", next: "@stringendquote" }]
168
+ ],
169
+ stringenddoublequote: [
170
+ ["\\\\.", "string"],
171
+ ['"', { token: "string", next: "@pop" }],
172
+ [/[^\\"]+/, "string"],
173
+ [".", "string"]
174
+ ],
175
+ stringendquote: [
176
+ ["\\\\.", "string"],
177
+ ["'", { token: "string", next: "@pop" }],
178
+ [/[^\\']+/, "string"],
179
+ [".", "string"]
180
+ ]
181
+ }
182
+ };
183
+ export {
184
+ e as conf,
185
+ t as language
186
+ };