@devtron-labs/devtron-fe-common-lib 0.0.64 → 0.0.65-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/Constants.d.ts +1 -0
  2. package/dist/Common/DraggableWrapper/DraggableWrapper.d.ts +1 -1
  3. package/dist/Common/DraggableWrapper/types.d.ts +8 -1
  4. package/dist/Common/Hooks/useUrlFilters/index.d.ts +1 -1
  5. package/dist/Common/Hooks/useUrlFilters/types.d.ts +54 -1
  6. package/dist/Common/Hooks/useUrlFilters/useUrlFilters.d.ts +2 -14
  7. package/dist/Common/Types.d.ts +2 -1
  8. package/dist/Common/index.d.ts +0 -1
  9. package/dist/Pages/GlobalConfigurations/Authorization/constants.d.ts +5 -1
  10. package/dist/Pages/GlobalConfigurations/Authorization/index.d.ts +1 -0
  11. package/dist/Pages/GlobalConfigurations/Authorization/types.d.ts +23 -0
  12. package/dist/Shared/Components/BulkSelection/BulkSelectionDropdownItems.d.ts +1 -1
  13. package/dist/Shared/Components/BulkSelection/constants.d.ts +1 -1
  14. package/dist/Shared/Components/BulkSelection/types.d.ts +3 -0
  15. package/dist/Shared/Components/ExcludedImageNode/ExcludedImageNode.d.ts +3 -0
  16. package/dist/Shared/Components/ExcludedImageNode/index.d.ts +1 -0
  17. package/dist/Shared/Components/ExcludedImageNode/types.d.ts +3 -0
  18. package/dist/Shared/Components/FilterChips/FilterChips.component.d.ts +6 -0
  19. package/dist/Shared/Components/FilterChips/index.d.ts +2 -0
  20. package/dist/Shared/Components/FilterChips/types.d.ts +37 -0
  21. package/dist/Shared/Components/ImageCard/ArtifactInfo/ArtifactInfo.d.ts +3 -0
  22. package/dist/Shared/Components/ImageCard/ArtifactInfo/index.d.ts +1 -0
  23. package/dist/Shared/Components/ImageCard/ArtifactInfo/types.d.ts +3 -0
  24. package/dist/Shared/Components/ImageCard/ImageCard.d.ts +3 -0
  25. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/DeploymentEnvState.d.ts +3 -0
  26. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/constants.d.ts +6 -0
  27. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/index.d.ts +1 -0
  28. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/types.d.ts +9 -0
  29. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/DeploymentEnvState/utils.d.ts +2 -0
  30. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/SequentialCDCardTitle.d.ts +3 -0
  31. package/dist/Shared/Components/ImageCard/SequentialCDCardTitle/index.d.ts +1 -0
  32. package/dist/Shared/Components/ImageCard/index.d.ts +3 -0
  33. package/dist/Shared/Components/ImageCard/types.d.ts +38 -0
  34. package/dist/Shared/Components/ImageCardAccordion/ImageCardAccordion.d.ts +3 -0
  35. package/dist/Shared/Components/ImageCardAccordion/index.d.ts +1 -0
  36. package/dist/Shared/Components/ImageCardAccordion/types.d.ts +22 -0
  37. package/dist/Shared/Components/ScannedByToolModal/ScannedByToolModal.d.ts +3 -0
  38. package/dist/Shared/Components/ScannedByToolModal/index.d.ts +1 -0
  39. package/dist/Shared/Components/ScannedByToolModal/types.d.ts +3 -0
  40. package/dist/Shared/Components/Vulnerabilities/Vulnerabilities.d.ts +3 -0
  41. package/dist/Shared/Components/Vulnerabilities/constants.d.ts +4 -0
  42. package/dist/Shared/Components/Vulnerabilities/index.d.ts +1 -0
  43. package/dist/Shared/Components/Vulnerabilities/service.d.ts +28 -0
  44. package/dist/Shared/Components/Vulnerabilities/types.d.ts +9 -0
  45. package/dist/Shared/Components/index.d.ts +6 -0
  46. package/dist/Shared/constants.d.ts +19 -0
  47. package/dist/Shared/index.d.ts +2 -0
  48. package/dist/Shared/types.d.ts +23 -0
  49. package/dist/assets/index.css +1 -1
  50. package/dist/index.js +23868 -215
  51. package/package.json +1 -1
  52. package/dist/abap-9f67f57a.js +0 -1314
  53. package/dist/apex-ff62e532.js +0 -315
  54. package/dist/assets/editor.worker-d26000ef.js +0 -9
  55. package/dist/assets/json.worker-f23a4654.js +0 -40
  56. package/dist/assets/yaml.worker-35ea3f9a.js +0 -467
  57. package/dist/azcli-31e64a7f.js +0 -74
  58. package/dist/bat-0ffe897e.js +0 -95
  59. package/dist/bicep-3414a2b1.js +0 -108
  60. package/dist/cameligo-df1f3f25.js +0 -168
  61. package/dist/clojure-65b0f010.js +0 -754
  62. package/dist/coffee-437f0fba.js +0 -228
  63. package/dist/cpp-66843dd5.js +0 -390
  64. package/dist/csharp-621d9a49.js +0 -320
  65. package/dist/csp-de0d5244.js +0 -57
  66. package/dist/css-7cd5ed4c.js +0 -186
  67. package/dist/cssMode-0eb181b8.js +0 -1446
  68. package/dist/cypher-70ad96fe.js +0 -262
  69. package/dist/dart-33ae3739.js +0 -270
  70. package/dist/dockerfile-f2274a50.js +0 -132
  71. package/dist/ecl-3b8294a3.js +0 -454
  72. package/dist/elixir-b9dcc73a.js +0 -489
  73. package/dist/flow9-bdde8316.js +0 -141
  74. package/dist/freemarker2-4361569f.js +0 -643
  75. package/dist/fsharp-eac2e449.js +0 -210
  76. package/dist/go-d12ed8d4.js +0 -208
  77. package/dist/graphql-c7356b69.js +0 -141
  78. package/dist/handlebars-babdfc67.js +0 -391
  79. package/dist/hcl-e883a0d4.js +0 -177
  80. package/dist/html-23b49eab.js +0 -281
  81. package/dist/htmlMode-f37a1616.js +0 -1456
  82. package/dist/index-3a430320.js +0 -127405
  83. package/dist/ini-425ab711.js +0 -68
  84. package/dist/java-2bc0fd68.js +0 -221
  85. package/dist/javascript-3597fa14.js +0 -75
  86. package/dist/jsonMode-b97d1b5f.js +0 -1867
  87. package/dist/julia-1c932615.js +0 -496
  88. package/dist/kotlin-1ab839c8.js +0 -245
  89. package/dist/less-6fe856f5.js +0 -168
  90. package/dist/lexon-4955ac52.js +0 -151
  91. package/dist/liquid-9778cbb4.js +0 -238
  92. package/dist/lua-3cca0047.js +0 -157
  93. package/dist/m3-132e9cb6.js +0 -210
  94. package/dist/markdown-ea59a0c1.js +0 -202
  95. package/dist/mips-19811f4b.js +0 -194
  96. package/dist/msdax-69954a10.js +0 -377
  97. package/dist/mysql-82088e5d.js +0 -876
  98. package/dist/objective-c-1976eccc.js +0 -188
  99. package/dist/pascal-8ef177cb.js +0 -245
  100. package/dist/pascaligo-bc517b9e.js +0 -158
  101. package/dist/perl-8b93582c.js +0 -599
  102. package/dist/pgsql-00c11a6d.js +0 -847
  103. package/dist/php-4c8c276f.js +0 -471
  104. package/dist/pla-e9b4ffb1.js +0 -131
  105. package/dist/postiats-2071af8c.js +0 -544
  106. package/dist/powerquery-8e388ceb.js +0 -890
  107. package/dist/powershell-e35db398.js +0 -233
  108. package/dist/protobuf-a24b9176.js +0 -422
  109. package/dist/pug-2c94d9b8.js +0 -393
  110. package/dist/python-e4dba3c0.js +0 -259
  111. package/dist/qsharp-d730d7fe.js +0 -282
  112. package/dist/r-be193556.js +0 -245
  113. package/dist/razor-242f0a8f.js +0 -512
  114. package/dist/redis-9690c6ac.js +0 -298
  115. package/dist/redshift-6bdcdeaa.js +0 -806
  116. package/dist/restructuredtext-a08c1d20.js +0 -162
  117. package/dist/ruby-2247692b.js +0 -444
  118. package/dist/rust-1dffb4d5.js +0 -337
  119. package/dist/sb-136598e9.js +0 -110
  120. package/dist/scala-b1100fed.js +0 -353
  121. package/dist/scheme-038c8094.js +0 -114
  122. package/dist/scss-700d1b52.js +0 -244
  123. package/dist/shell-86c16e0f.js +0 -224
  124. package/dist/solidity-c05fdf3c.js +0 -1351
  125. package/dist/sophia-cd645d71.js +0 -190
  126. package/dist/sparql-01d9ec9c.js +0 -193
  127. package/dist/sql-4c33df41.js +0 -818
  128. package/dist/st-52cf1408.js +0 -414
  129. package/dist/swift-13c792ba.js +0 -315
  130. package/dist/systemverilog-0bd8b730.js +0 -556
  131. package/dist/tcl-463d7c75.js +0 -232
  132. package/dist/tsMode-bf606946.js +0 -811
  133. package/dist/twig-0d98f5ec.js +0 -323
  134. package/dist/typescript-9ed04bdd.js +0 -328
  135. package/dist/vb-3a2b0a51.js +0 -364
  136. package/dist/wgsl-b2ddb3e4.js +0 -420
  137. package/dist/xml-825eaa31.js +0 -95
  138. package/dist/yaml-c9fb7842.js +0 -184
@@ -1,512 +0,0 @@
1
- import { m as s } from "./index-3a430320.js";
2
- /*!-----------------------------------------------------------------------------
3
- * Copyright (c) Microsoft Corporation. All rights reserved.
4
- * Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
5
- * Released under the MIT license
6
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
7
- *-----------------------------------------------------------------------------*/
8
- var c = Object.defineProperty, l = Object.getOwnPropertyDescriptor, d = Object.getOwnPropertyNames, p = Object.prototype.hasOwnProperty, i = (t, e, o, n) => {
9
- if (e && typeof e == "object" || typeof e == "function")
10
- for (let r of d(e))
11
- !p.call(t, r) && r !== o && c(t, r, { get: () => e[r], enumerable: !(n = l(e, r)) || n.enumerable });
12
- return t;
13
- }, h = (t, e, o) => (i(t, e, "default"), o && i(o, e, "default")), a = {};
14
- h(a, s);
15
- var m = [
16
- "area",
17
- "base",
18
- "br",
19
- "col",
20
- "embed",
21
- "hr",
22
- "img",
23
- "input",
24
- "keygen",
25
- "link",
26
- "menuitem",
27
- "meta",
28
- "param",
29
- "source",
30
- "track",
31
- "wbr"
32
- ], b = {
33
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,
34
- comments: {
35
- blockComment: ["<!--", "-->"]
36
- },
37
- brackets: [
38
- ["<!--", "-->"],
39
- ["<", ">"],
40
- ["{", "}"],
41
- ["(", ")"]
42
- ],
43
- autoClosingPairs: [
44
- { open: "{", close: "}" },
45
- { open: "[", close: "]" },
46
- { open: "(", close: ")" },
47
- { open: '"', close: '"' },
48
- { open: "'", close: "'" }
49
- ],
50
- surroundingPairs: [
51
- { open: '"', close: '"' },
52
- { open: "'", close: "'" },
53
- { open: "<", close: ">" }
54
- ],
55
- onEnterRules: [
56
- {
57
- beforeText: new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
58
- afterText: /^<\/(\w[\w\d]*)\s*>$/i,
59
- action: {
60
- indentAction: a.languages.IndentAction.IndentOutdent
61
- }
62
- },
63
- {
64
- beforeText: new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`, "i"),
65
- action: { indentAction: a.languages.IndentAction.Indent }
66
- }
67
- ]
68
- }, y = {
69
- defaultToken: "",
70
- tokenPostfix: "",
71
- tokenizer: {
72
- root: [
73
- [/@@@@/],
74
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.root" }],
75
- [/<!DOCTYPE/, "metatag.html", "@doctype"],
76
- [/<!--/, "comment.html", "@comment"],
77
- [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
78
- [/(<)(script)/, ["delimiter.html", { token: "tag.html", next: "@script" }]],
79
- [/(<)(style)/, ["delimiter.html", { token: "tag.html", next: "@style" }]],
80
- [/(<)([:\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
81
- [/(<\/)([\w\-]+)/, ["delimiter.html", { token: "tag.html", next: "@otherTag" }]],
82
- [/</, "delimiter.html"],
83
- [/[ \t\r\n]+/],
84
- [/[^<@]+/]
85
- ],
86
- doctype: [
87
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
88
- [/[^>]+/, "metatag.content.html"],
89
- [/>/, "metatag.html", "@pop"]
90
- ],
91
- comment: [
92
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.comment" }],
93
- [/-->/, "comment.html", "@pop"],
94
- [/[^-]+/, "comment.content.html"],
95
- [/./, "comment.content.html"]
96
- ],
97
- otherTag: [
98
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.otherTag" }],
99
- [/\/?>/, "delimiter.html", "@pop"],
100
- [/"([^"]*)"/, "attribute.value"],
101
- [/'([^']*)'/, "attribute.value"],
102
- [/[\w\-]+/, "attribute.name"],
103
- [/=/, "delimiter"],
104
- [/[ \t\r\n]+/]
105
- ],
106
- script: [
107
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.script" }],
108
- [/type/, "attribute.name", "@scriptAfterType"],
109
- [/"([^"]*)"/, "attribute.value"],
110
- [/'([^']*)'/, "attribute.value"],
111
- [/[\w\-]+/, "attribute.name"],
112
- [/=/, "delimiter"],
113
- [
114
- />/,
115
- {
116
- token: "delimiter.html",
117
- next: "@scriptEmbedded.text/javascript",
118
- nextEmbedded: "text/javascript"
119
- }
120
- ],
121
- [/[ \t\r\n]+/],
122
- [
123
- /(<\/)(script\s*)(>)/,
124
- ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
125
- ]
126
- ],
127
- scriptAfterType: [
128
- [
129
- /@[^@]/,
130
- {
131
- token: "@rematch",
132
- switchTo: "@razorInSimpleState.scriptAfterType"
133
- }
134
- ],
135
- [/=/, "delimiter", "@scriptAfterTypeEquals"],
136
- [
137
- />/,
138
- {
139
- token: "delimiter.html",
140
- next: "@scriptEmbedded.text/javascript",
141
- nextEmbedded: "text/javascript"
142
- }
143
- ],
144
- [/[ \t\r\n]+/],
145
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
146
- ],
147
- scriptAfterTypeEquals: [
148
- [
149
- /@[^@]/,
150
- {
151
- token: "@rematch",
152
- switchTo: "@razorInSimpleState.scriptAfterTypeEquals"
153
- }
154
- ],
155
- [
156
- /"([^"]*)"/,
157
- {
158
- token: "attribute.value",
159
- switchTo: "@scriptWithCustomType.$1"
160
- }
161
- ],
162
- [
163
- /'([^']*)'/,
164
- {
165
- token: "attribute.value",
166
- switchTo: "@scriptWithCustomType.$1"
167
- }
168
- ],
169
- [
170
- />/,
171
- {
172
- token: "delimiter.html",
173
- next: "@scriptEmbedded.text/javascript",
174
- nextEmbedded: "text/javascript"
175
- }
176
- ],
177
- [/[ \t\r\n]+/],
178
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
179
- ],
180
- scriptWithCustomType: [
181
- [
182
- /@[^@]/,
183
- {
184
- token: "@rematch",
185
- switchTo: "@razorInSimpleState.scriptWithCustomType.$S2"
186
- }
187
- ],
188
- [
189
- />/,
190
- {
191
- token: "delimiter.html",
192
- next: "@scriptEmbedded.$S2",
193
- nextEmbedded: "$S2"
194
- }
195
- ],
196
- [/"([^"]*)"/, "attribute.value"],
197
- [/'([^']*)'/, "attribute.value"],
198
- [/[\w\-]+/, "attribute.name"],
199
- [/=/, "delimiter"],
200
- [/[ \t\r\n]+/],
201
- [/<\/script\s*>/, { token: "@rematch", next: "@pop" }]
202
- ],
203
- scriptEmbedded: [
204
- [
205
- /@[^@]/,
206
- {
207
- token: "@rematch",
208
- switchTo: "@razorInEmbeddedState.scriptEmbedded.$S2",
209
- nextEmbedded: "@pop"
210
- }
211
- ],
212
- [/<\/script/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
213
- ],
214
- style: [
215
- [/@[^@]/, { token: "@rematch", switchTo: "@razorInSimpleState.style" }],
216
- [/type/, "attribute.name", "@styleAfterType"],
217
- [/"([^"]*)"/, "attribute.value"],
218
- [/'([^']*)'/, "attribute.value"],
219
- [/[\w\-]+/, "attribute.name"],
220
- [/=/, "delimiter"],
221
- [
222
- />/,
223
- {
224
- token: "delimiter.html",
225
- next: "@styleEmbedded.text/css",
226
- nextEmbedded: "text/css"
227
- }
228
- ],
229
- [/[ \t\r\n]+/],
230
- [
231
- /(<\/)(style\s*)(>)/,
232
- ["delimiter.html", "tag.html", { token: "delimiter.html", next: "@pop" }]
233
- ]
234
- ],
235
- styleAfterType: [
236
- [
237
- /@[^@]/,
238
- {
239
- token: "@rematch",
240
- switchTo: "@razorInSimpleState.styleAfterType"
241
- }
242
- ],
243
- [/=/, "delimiter", "@styleAfterTypeEquals"],
244
- [
245
- />/,
246
- {
247
- token: "delimiter.html",
248
- next: "@styleEmbedded.text/css",
249
- nextEmbedded: "text/css"
250
- }
251
- ],
252
- [/[ \t\r\n]+/],
253
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
254
- ],
255
- styleAfterTypeEquals: [
256
- [
257
- /@[^@]/,
258
- {
259
- token: "@rematch",
260
- switchTo: "@razorInSimpleState.styleAfterTypeEquals"
261
- }
262
- ],
263
- [
264
- /"([^"]*)"/,
265
- {
266
- token: "attribute.value",
267
- switchTo: "@styleWithCustomType.$1"
268
- }
269
- ],
270
- [
271
- /'([^']*)'/,
272
- {
273
- token: "attribute.value",
274
- switchTo: "@styleWithCustomType.$1"
275
- }
276
- ],
277
- [
278
- />/,
279
- {
280
- token: "delimiter.html",
281
- next: "@styleEmbedded.text/css",
282
- nextEmbedded: "text/css"
283
- }
284
- ],
285
- [/[ \t\r\n]+/],
286
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
287
- ],
288
- styleWithCustomType: [
289
- [
290
- /@[^@]/,
291
- {
292
- token: "@rematch",
293
- switchTo: "@razorInSimpleState.styleWithCustomType.$S2"
294
- }
295
- ],
296
- [
297
- />/,
298
- {
299
- token: "delimiter.html",
300
- next: "@styleEmbedded.$S2",
301
- nextEmbedded: "$S2"
302
- }
303
- ],
304
- [/"([^"]*)"/, "attribute.value"],
305
- [/'([^']*)'/, "attribute.value"],
306
- [/[\w\-]+/, "attribute.name"],
307
- [/=/, "delimiter"],
308
- [/[ \t\r\n]+/],
309
- [/<\/style\s*>/, { token: "@rematch", next: "@pop" }]
310
- ],
311
- styleEmbedded: [
312
- [
313
- /@[^@]/,
314
- {
315
- token: "@rematch",
316
- switchTo: "@razorInEmbeddedState.styleEmbedded.$S2",
317
- nextEmbedded: "@pop"
318
- }
319
- ],
320
- [/<\/style/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }]
321
- ],
322
- razorInSimpleState: [
323
- [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
324
- [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
325
- [/(@)(\s*[\w]+)/, ["metatag.cs", { token: "identifier.cs", switchTo: "@$S2.$S3" }]],
326
- [/[})]/, { token: "metatag.cs", switchTo: "@$S2.$S3" }],
327
- [/\*@/, { token: "comment.cs", switchTo: "@$S2.$S3" }]
328
- ],
329
- razorInEmbeddedState: [
330
- [/@\*/, "comment.cs", "@razorBlockCommentTopLevel"],
331
- [/@[{(]/, "metatag.cs", "@razorRootTopLevel"],
332
- [
333
- /(@)(\s*[\w]+)/,
334
- [
335
- "metatag.cs",
336
- {
337
- token: "identifier.cs",
338
- switchTo: "@$S2.$S3",
339
- nextEmbedded: "$S3"
340
- }
341
- ]
342
- ],
343
- [
344
- /[})]/,
345
- {
346
- token: "metatag.cs",
347
- switchTo: "@$S2.$S3",
348
- nextEmbedded: "$S3"
349
- }
350
- ],
351
- [
352
- /\*@/,
353
- {
354
- token: "comment.cs",
355
- switchTo: "@$S2.$S3",
356
- nextEmbedded: "$S3"
357
- }
358
- ]
359
- ],
360
- razorBlockCommentTopLevel: [
361
- [/\*@/, "@rematch", "@pop"],
362
- [/[^*]+/, "comment.cs"],
363
- [/./, "comment.cs"]
364
- ],
365
- razorBlockComment: [
366
- [/\*@/, "comment.cs", "@pop"],
367
- [/[^*]+/, "comment.cs"],
368
- [/./, "comment.cs"]
369
- ],
370
- razorRootTopLevel: [
371
- [/\{/, "delimiter.bracket.cs", "@razorRoot"],
372
- [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
373
- [/[})]/, "@rematch", "@pop"],
374
- { include: "razorCommon" }
375
- ],
376
- razorRoot: [
377
- [/\{/, "delimiter.bracket.cs", "@razorRoot"],
378
- [/\(/, "delimiter.parenthesis.cs", "@razorRoot"],
379
- [/\}/, "delimiter.bracket.cs", "@pop"],
380
- [/\)/, "delimiter.parenthesis.cs", "@pop"],
381
- { include: "razorCommon" }
382
- ],
383
- razorCommon: [
384
- [
385
- /[a-zA-Z_]\w*/,
386
- {
387
- cases: {
388
- "@razorKeywords": { token: "keyword.cs" },
389
- "@default": "identifier.cs"
390
- }
391
- }
392
- ],
393
- [/[\[\]]/, "delimiter.array.cs"],
394
- [/[ \t\r\n]+/],
395
- [/\/\/.*$/, "comment.cs"],
396
- [/@\*/, "comment.cs", "@razorBlockComment"],
397
- [/"([^"]*)"/, "string.cs"],
398
- [/'([^']*)'/, "string.cs"],
399
- [/(<)([\w\-]+)(\/>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
400
- [/(<)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
401
- [/(<\/)([\w\-]+)(>)/, ["delimiter.html", "tag.html", "delimiter.html"]],
402
- [/[\+\-\*\%\&\|\^\~\!\=\<\>\/\?\;\:\.\,]/, "delimiter.cs"],
403
- [/\d*\d+[eE]([\-+]?\d+)?/, "number.float.cs"],
404
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float.cs"],
405
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex.cs"],
406
- [/0[0-7']*[0-7]/, "number.octal.cs"],
407
- [/0[bB][0-1']*[0-1]/, "number.binary.cs"],
408
- [/\d[\d']*/, "number.cs"],
409
- [/\d/, "number.cs"]
410
- ]
411
- },
412
- razorKeywords: [
413
- "abstract",
414
- "as",
415
- "async",
416
- "await",
417
- "base",
418
- "bool",
419
- "break",
420
- "by",
421
- "byte",
422
- "case",
423
- "catch",
424
- "char",
425
- "checked",
426
- "class",
427
- "const",
428
- "continue",
429
- "decimal",
430
- "default",
431
- "delegate",
432
- "do",
433
- "double",
434
- "descending",
435
- "explicit",
436
- "event",
437
- "extern",
438
- "else",
439
- "enum",
440
- "false",
441
- "finally",
442
- "fixed",
443
- "float",
444
- "for",
445
- "foreach",
446
- "from",
447
- "goto",
448
- "group",
449
- "if",
450
- "implicit",
451
- "in",
452
- "int",
453
- "interface",
454
- "internal",
455
- "into",
456
- "is",
457
- "lock",
458
- "long",
459
- "nameof",
460
- "new",
461
- "null",
462
- "namespace",
463
- "object",
464
- "operator",
465
- "out",
466
- "override",
467
- "orderby",
468
- "params",
469
- "private",
470
- "protected",
471
- "public",
472
- "readonly",
473
- "ref",
474
- "return",
475
- "switch",
476
- "struct",
477
- "sbyte",
478
- "sealed",
479
- "short",
480
- "sizeof",
481
- "stackalloc",
482
- "static",
483
- "string",
484
- "select",
485
- "this",
486
- "throw",
487
- "true",
488
- "try",
489
- "typeof",
490
- "uint",
491
- "ulong",
492
- "unchecked",
493
- "unsafe",
494
- "ushort",
495
- "using",
496
- "var",
497
- "virtual",
498
- "volatile",
499
- "void",
500
- "when",
501
- "while",
502
- "where",
503
- "yield",
504
- "model",
505
- "inject"
506
- ],
507
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/
508
- };
509
- export {
510
- b as conf,
511
- y as language
512
- };