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

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 (116) hide show
  1. package/dist/@code-editor-Vbkor1r4.js +18991 -0
  2. package/dist/@common-rjsf-6UM_zh8b.js +567 -0
  3. package/dist/@framer-motion-DHY98qq3.js +3437 -0
  4. package/dist/@moment-C_WeV3Af.js +2609 -0
  5. package/dist/@monaco-editor-34kqzg3G.js +70451 -0
  6. package/dist/@react-dates-WNnwjI5S.js +7708 -0
  7. package/dist/@react-select-BbR996pa.js +2636 -0
  8. package/dist/@src-assets-images-DamVa6cS.js +14 -0
  9. package/dist/@vendor-RU8AW1bK.js +20473 -0
  10. package/dist/Common/Hooks/UseRegisterShortcut/types.d.ts +2 -1
  11. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  12. package/dist/Common/RJSF/Form.d.ts +1 -1
  13. package/dist/Shared/Components/Backdrop/Backdrop.d.ts +3 -0
  14. package/dist/Shared/Components/Backdrop/index.d.ts +1 -0
  15. package/dist/Shared/Components/Backdrop/types.d.ts +8 -0
  16. package/dist/Shared/Components/ConfirmationModal/ConfirmationModal.d.ts +3 -0
  17. package/dist/Shared/Components/ConfirmationModal/index.d.ts +2 -0
  18. package/dist/Shared/Components/ConfirmationModal/types.d.ts +50 -0
  19. package/dist/Shared/Components/ConfirmationModal/utils.d.ts +6 -0
  20. package/dist/Shared/Components/index.d.ts +1 -0
  21. package/dist/Shared/Helpers.d.ts +2 -1
  22. package/dist/Shared/constants.d.ts +1 -0
  23. package/dist/Shared/types.d.ts +4 -0
  24. package/dist/assets/@code-editor.css +1 -0
  25. package/dist/assets/@common-rjsf.css +1 -0
  26. package/dist/assets/@monaco-editor.css +1 -0
  27. package/dist/assets/@react-dates.css +1 -0
  28. package/dist/assets/@vendor.css +1 -0
  29. package/dist/index.js +433 -428
  30. package/package.json +5 -5
  31. package/dist/abap-DttVK1gE.js +0 -1314
  32. package/dist/apex-BjfHvyb2.js +0 -315
  33. package/dist/assets/index.css +0 -1
  34. package/dist/azcli-Ws-Trf8e.js +0 -74
  35. package/dist/bat-CeCHpU9_.js +0 -95
  36. package/dist/bicep-C7a7aEmi.js +0 -108
  37. package/dist/cameligo-CJeEIvX4.js +0 -168
  38. package/dist/clojure-CEKXhLdU.js +0 -754
  39. package/dist/coffee-CKu3e6V1.js +0 -228
  40. package/dist/cpp-CvUiT5Ec.js +0 -390
  41. package/dist/csharp-PmU9HJkB.js +0 -320
  42. package/dist/csp-DULvRLPF.js +0 -57
  43. package/dist/css-CNWXQPpt.js +0 -186
  44. package/dist/cssMode-BsTjp5T1.js +0 -1446
  45. package/dist/cypher-CYHOQS2R.js +0 -262
  46. package/dist/dart-BjGx-9Jk.js +0 -270
  47. package/dist/dockerfile-D0WaVIZ2.js +0 -132
  48. package/dist/ecl-CijaJu-p.js +0 -454
  49. package/dist/elixir-BI5Tc37S.js +0 -489
  50. package/dist/flow9-BApGtQOO.js +0 -141
  51. package/dist/freemarker2-DJtqwgcS.js +0 -643
  52. package/dist/fsharp-VeKgt2eG.js +0 -210
  53. package/dist/go-Cl8cKDlN.js +0 -208
  54. package/dist/graphql-PfgPBmj4.js +0 -141
  55. package/dist/handlebars-A27t-Ka7.js +0 -391
  56. package/dist/hcl-CG4VZSkm.js +0 -177
  57. package/dist/html-oZx5D2e1.js +0 -281
  58. package/dist/htmlMode-BbYfuAfq.js +0 -1456
  59. package/dist/index-Bqp36Zxu.js +0 -159232
  60. package/dist/ini-EhiBNPZF.js +0 -68
  61. package/dist/java-DPbnXhoY.js +0 -221
  62. package/dist/javascript-7Ns1hZ1u.js +0 -75
  63. package/dist/jsonMode-CSHwDjDg.js +0 -1866
  64. package/dist/julia-Bw7EYexg.js +0 -496
  65. package/dist/kotlin-BNXLDoV0.js +0 -245
  66. package/dist/less-DtuF_id_.js +0 -168
  67. package/dist/lexon-DpB0-37O.js +0 -151
  68. package/dist/liquid-CJAHXY0w.js +0 -238
  69. package/dist/lua-CzRNOk9S.js +0 -157
  70. package/dist/m3-pXPmDwal.js +0 -210
  71. package/dist/markdown-CeQ3rxjn.js +0 -202
  72. package/dist/mdx-vt9h9Xpz.js +0 -171
  73. package/dist/mips-DyE0VSNz.js +0 -194
  74. package/dist/msdax-CbdkoqRa.js +0 -377
  75. package/dist/mysql-B86-uHNu.js +0 -876
  76. package/dist/objective-c-1xvkKPId.js +0 -188
  77. package/dist/pascal-DcyFhj80.js +0 -245
  78. package/dist/pascaligo-QnM0hvMG.js +0 -158
  79. package/dist/perl-Bqp3FbU4.js +0 -599
  80. package/dist/pgsql-HdG7BG_Z.js +0 -847
  81. package/dist/php-zf7L2p7t.js +0 -471
  82. package/dist/pla-3Ykqsyzl.js +0 -131
  83. package/dist/postiats-D1v08O4B.js +0 -544
  84. package/dist/powerquery-CiQ9b1-b.js +0 -890
  85. package/dist/powershell-DFNK6VaX.js +0 -233
  86. package/dist/protobuf-D5P2Z6tc.js +0 -422
  87. package/dist/pug-BeyMX5am.js +0 -393
  88. package/dist/python-CnibeM_K.js +0 -259
  89. package/dist/qsharp-DcFOTjuP.js +0 -282
  90. package/dist/r-B3aJPcWp.js +0 -245
  91. package/dist/razor-BWWjrM8Q.js +0 -512
  92. package/dist/redis-CyC__Tub.js +0 -298
  93. package/dist/redshift-NqbcQPcY.js +0 -806
  94. package/dist/restructuredtext-CZMxBkap.js +0 -162
  95. package/dist/ruby-C_jEtDv5.js +0 -444
  96. package/dist/rust-WAeitMCC.js +0 -337
  97. package/dist/sb-CSBm2pED.js +0 -110
  98. package/dist/scala-D76PhKmh.js +0 -353
  99. package/dist/scheme-CBSAjRuO.js +0 -114
  100. package/dist/scss-BHY8wFFg.js +0 -244
  101. package/dist/shell-Cwju9_l8.js +0 -224
  102. package/dist/solidity-BV1-nze3.js +0 -1351
  103. package/dist/sophia-DfoUlGAs.js +0 -190
  104. package/dist/sparql-4kfArTtK.js +0 -193
  105. package/dist/sql-DIpn0HSX.js +0 -818
  106. package/dist/st-BgJ_KDZh.js +0 -415
  107. package/dist/swift-D-ucEgIi.js +0 -315
  108. package/dist/systemverilog-DjkH5zuo.js +0 -556
  109. package/dist/tcl-gd8XLKJA.js +0 -232
  110. package/dist/tsMode-Ddl20Rd2.js +0 -810
  111. package/dist/twig-D5XtTFGM.js +0 -323
  112. package/dist/typescript-DJik4e7z.js +0 -328
  113. package/dist/vb-DYqqYAf3.js +0 -364
  114. package/dist/wgsl-CkZE0qf3.js +0 -420
  115. package/dist/xml-D3mR990w.js +0 -95
  116. package/dist/yaml-IjO78BY4.js +0 -184
@@ -1,228 +0,0 @@
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
- blockComment: ["###", "###"],
11
- lineComment: "#"
12
- },
13
- brackets: [
14
- ["{", "}"],
15
- ["[", "]"],
16
- ["(", ")"]
17
- ],
18
- autoClosingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: '"', close: '"' },
23
- { open: "'", close: "'" }
24
- ],
25
- surroundingPairs: [
26
- { open: "{", close: "}" },
27
- { open: "[", close: "]" },
28
- { open: "(", close: ")" },
29
- { open: '"', close: '"' },
30
- { open: "'", close: "'" }
31
- ],
32
- folding: {
33
- markers: {
34
- start: new RegExp("^\\s*#region\\b"),
35
- end: new RegExp("^\\s*#endregion\\b")
36
- }
37
- }
38
- }, r = {
39
- defaultToken: "",
40
- ignoreCase: !0,
41
- tokenPostfix: ".coffee",
42
- brackets: [
43
- { open: "{", close: "}", token: "delimiter.curly" },
44
- { open: "[", close: "]", token: "delimiter.square" },
45
- { open: "(", close: ")", token: "delimiter.parenthesis" }
46
- ],
47
- regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
48
- keywords: [
49
- "and",
50
- "or",
51
- "is",
52
- "isnt",
53
- "not",
54
- "on",
55
- "yes",
56
- "@",
57
- "no",
58
- "off",
59
- "true",
60
- "false",
61
- "null",
62
- "this",
63
- "new",
64
- "delete",
65
- "typeof",
66
- "in",
67
- "instanceof",
68
- "return",
69
- "throw",
70
- "break",
71
- "continue",
72
- "debugger",
73
- "if",
74
- "else",
75
- "switch",
76
- "for",
77
- "while",
78
- "do",
79
- "try",
80
- "catch",
81
- "finally",
82
- "class",
83
- "extends",
84
- "super",
85
- "undefined",
86
- "then",
87
- "unless",
88
- "until",
89
- "loop",
90
- "of",
91
- "by",
92
- "when"
93
- ],
94
- symbols: /[=><!~?&%|+\-*\/\^\.,\:]+/,
95
- escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
96
- tokenizer: {
97
- root: [
98
- [/\@[a-zA-Z_]\w*/, "variable.predefined"],
99
- [
100
- /[a-zA-Z_]\w*/,
101
- {
102
- cases: {
103
- this: "variable.predefined",
104
- "@keywords": { token: "keyword.$0" },
105
- "@default": ""
106
- }
107
- }
108
- ],
109
- [/[ \t\r\n]+/, ""],
110
- [/###/, "comment", "@comment"],
111
- [/#.*$/, "comment"],
112
- ["///", { token: "regexp", next: "@hereregexp" }],
113
- [/^(\s*)(@regEx)/, ["", "regexp"]],
114
- [/(\()(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
115
- [/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
116
- [/(\=)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
117
- [/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
118
- [/(\[)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
119
- [/(\!)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
120
- [/(\&)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
121
- [/(\|)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
122
- [/(\?)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
123
- [/(\{)(\s*)(@regEx)/, ["@brackets", "", "regexp"]],
124
- [/(\;)(\s*)(@regEx)/, ["", "", "regexp"]],
125
- [
126
- /}/,
127
- {
128
- cases: {
129
- "$S2==interpolatedstring": {
130
- token: "string",
131
- next: "@pop"
132
- },
133
- "@default": "@brackets"
134
- }
135
- }
136
- ],
137
- [/[{}()\[\]]/, "@brackets"],
138
- [/@symbols/, "delimiter"],
139
- [/\d+[eE]([\-+]?\d+)?/, "number.float"],
140
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
141
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
142
- [/0[0-7]+(?!\d)/, "number.octal"],
143
- [/\d+/, "number"],
144
- [/[,.]/, "delimiter"],
145
- [/"""/, "string", '@herestring."""'],
146
- [/'''/, "string", "@herestring.'''"],
147
- [
148
- /"/,
149
- {
150
- cases: {
151
- "@eos": "string",
152
- "@default": { token: "string", next: '@string."' }
153
- }
154
- }
155
- ],
156
- [
157
- /'/,
158
- {
159
- cases: {
160
- "@eos": "string",
161
- "@default": { token: "string", next: "@string.'" }
162
- }
163
- }
164
- ]
165
- ],
166
- string: [
167
- [/[^"'\#\\]+/, "string"],
168
- [/@escapes/, "string.escape"],
169
- [/\./, "string.escape.invalid"],
170
- [/\./, "string.escape.invalid"],
171
- [
172
- /#{/,
173
- {
174
- cases: {
175
- '$S2=="': {
176
- token: "string",
177
- next: "root.interpolatedstring"
178
- },
179
- "@default": "string"
180
- }
181
- }
182
- ],
183
- [
184
- /["']/,
185
- {
186
- cases: {
187
- "$#==$S2": { token: "string", next: "@pop" },
188
- "@default": "string"
189
- }
190
- }
191
- ],
192
- [/#/, "string"]
193
- ],
194
- herestring: [
195
- [
196
- /("""|''')/,
197
- {
198
- cases: {
199
- "$1==$S2": { token: "string", next: "@pop" },
200
- "@default": "string"
201
- }
202
- }
203
- ],
204
- [/[^#\\'"]+/, "string"],
205
- [/['"]+/, "string"],
206
- [/@escapes/, "string.escape"],
207
- [/\./, "string.escape.invalid"],
208
- [/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
209
- [/#/, "string"]
210
- ],
211
- comment: [
212
- [/[^#]+/, "comment"],
213
- [/###/, "comment", "@pop"],
214
- [/#/, "comment"]
215
- ],
216
- hereregexp: [
217
- [/[^\\\/#]+/, "regexp"],
218
- [/\\./, "regexp"],
219
- [/#.*$/, "comment"],
220
- ["///[igm]*", { token: "regexp", next: "@pop" }],
221
- [/\//, "regexp"]
222
- ]
223
- }
224
- };
225
- export {
226
- e as conf,
227
- r as language
228
- };
@@ -1,390 +0,0 @@
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
- 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: "'", notIn: ["string", "comment"] },
22
- { open: '"', close: '"', notIn: ["string"] }
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*#pragma\\s+region\\b"),
34
- end: new RegExp("^\\s*#pragma\\s+endregion\\b")
35
- }
36
- }
37
- }, t = {
38
- defaultToken: "",
39
- tokenPostfix: ".cpp",
40
- brackets: [
41
- { token: "delimiter.curly", open: "{", close: "}" },
42
- { token: "delimiter.parenthesis", open: "(", close: ")" },
43
- { token: "delimiter.square", open: "[", close: "]" },
44
- { token: "delimiter.angle", open: "<", close: ">" }
45
- ],
46
- keywords: [
47
- "abstract",
48
- "amp",
49
- "array",
50
- "auto",
51
- "bool",
52
- "break",
53
- "case",
54
- "catch",
55
- "char",
56
- "class",
57
- "const",
58
- "constexpr",
59
- "const_cast",
60
- "continue",
61
- "cpu",
62
- "decltype",
63
- "default",
64
- "delegate",
65
- "delete",
66
- "do",
67
- "double",
68
- "dynamic_cast",
69
- "each",
70
- "else",
71
- "enum",
72
- "event",
73
- "explicit",
74
- "export",
75
- "extern",
76
- "false",
77
- "final",
78
- "finally",
79
- "float",
80
- "for",
81
- "friend",
82
- "gcnew",
83
- "generic",
84
- "goto",
85
- "if",
86
- "in",
87
- "initonly",
88
- "inline",
89
- "int",
90
- "interface",
91
- "interior_ptr",
92
- "internal",
93
- "literal",
94
- "long",
95
- "mutable",
96
- "namespace",
97
- "new",
98
- "noexcept",
99
- "nullptr",
100
- "__nullptr",
101
- "operator",
102
- "override",
103
- "partial",
104
- "pascal",
105
- "pin_ptr",
106
- "private",
107
- "property",
108
- "protected",
109
- "public",
110
- "ref",
111
- "register",
112
- "reinterpret_cast",
113
- "restrict",
114
- "return",
115
- "safe_cast",
116
- "sealed",
117
- "short",
118
- "signed",
119
- "sizeof",
120
- "static",
121
- "static_assert",
122
- "static_cast",
123
- "struct",
124
- "switch",
125
- "template",
126
- "this",
127
- "thread_local",
128
- "throw",
129
- "tile_static",
130
- "true",
131
- "try",
132
- "typedef",
133
- "typeid",
134
- "typename",
135
- "union",
136
- "unsigned",
137
- "using",
138
- "virtual",
139
- "void",
140
- "volatile",
141
- "wchar_t",
142
- "where",
143
- "while",
144
- "_asm",
145
- "_based",
146
- "_cdecl",
147
- "_declspec",
148
- "_fastcall",
149
- "_if_exists",
150
- "_if_not_exists",
151
- "_inline",
152
- "_multiple_inheritance",
153
- "_pascal",
154
- "_single_inheritance",
155
- "_stdcall",
156
- "_virtual_inheritance",
157
- "_w64",
158
- "__abstract",
159
- "__alignof",
160
- "__asm",
161
- "__assume",
162
- "__based",
163
- "__box",
164
- "__builtin_alignof",
165
- "__cdecl",
166
- "__clrcall",
167
- "__declspec",
168
- "__delegate",
169
- "__event",
170
- "__except",
171
- "__fastcall",
172
- "__finally",
173
- "__forceinline",
174
- "__gc",
175
- "__hook",
176
- "__identifier",
177
- "__if_exists",
178
- "__if_not_exists",
179
- "__inline",
180
- "__int128",
181
- "__int16",
182
- "__int32",
183
- "__int64",
184
- "__int8",
185
- "__interface",
186
- "__leave",
187
- "__m128",
188
- "__m128d",
189
- "__m128i",
190
- "__m256",
191
- "__m256d",
192
- "__m256i",
193
- "__m512",
194
- "__m512d",
195
- "__m512i",
196
- "__m64",
197
- "__multiple_inheritance",
198
- "__newslot",
199
- "__nogc",
200
- "__noop",
201
- "__nounwind",
202
- "__novtordisp",
203
- "__pascal",
204
- "__pin",
205
- "__pragma",
206
- "__property",
207
- "__ptr32",
208
- "__ptr64",
209
- "__raise",
210
- "__restrict",
211
- "__resume",
212
- "__sealed",
213
- "__single_inheritance",
214
- "__stdcall",
215
- "__super",
216
- "__thiscall",
217
- "__try",
218
- "__try_cast",
219
- "__typeof",
220
- "__unaligned",
221
- "__unhook",
222
- "__uuidof",
223
- "__value",
224
- "__virtual_inheritance",
225
- "__w64",
226
- "__wchar_t"
227
- ],
228
- operators: [
229
- "=",
230
- ">",
231
- "<",
232
- "!",
233
- "~",
234
- "?",
235
- ":",
236
- "==",
237
- "<=",
238
- ">=",
239
- "!=",
240
- "&&",
241
- "||",
242
- "++",
243
- "--",
244
- "+",
245
- "-",
246
- "*",
247
- "/",
248
- "&",
249
- "|",
250
- "^",
251
- "%",
252
- "<<",
253
- ">>",
254
- ">>>",
255
- "+=",
256
- "-=",
257
- "*=",
258
- "/=",
259
- "&=",
260
- "|=",
261
- "^=",
262
- "%=",
263
- "<<=",
264
- ">>=",
265
- ">>>="
266
- ],
267
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
268
- escapes: /\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
269
- integersuffix: /([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,
270
- floatsuffix: /[fFlL]?/,
271
- encoding: /u|u8|U|L/,
272
- tokenizer: {
273
- root: [
274
- [/@encoding?R\"(?:([^ ()\\\t]*))\(/, { token: "string.raw.begin", next: "@raw.$1" }],
275
- [
276
- /[a-zA-Z_]\w*/,
277
- {
278
- cases: {
279
- "@keywords": { token: "keyword.$0" },
280
- "@default": "identifier"
281
- }
282
- }
283
- ],
284
- [/^\s*#\s*include/, { token: "keyword.directive.include", next: "@include" }],
285
- [/^\s*#\s*\w+/, "keyword.directive"],
286
- { include: "@whitespace" },
287
- [/\[\s*\[/, { token: "annotation", next: "@annotation" }],
288
- [/[{}()\[\]]/, "@brackets"],
289
- [/[<>](?!@symbols)/, "@brackets"],
290
- [
291
- /@symbols/,
292
- {
293
- cases: {
294
- "@operators": "delimiter",
295
- "@default": ""
296
- }
297
- }
298
- ],
299
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
300
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
301
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/, "number.hex"],
302
- [/0[0-7']*[0-7](@integersuffix)/, "number.octal"],
303
- [/0[bB][0-1']*[0-1](@integersuffix)/, "number.binary"],
304
- [/\d[\d']*\d(@integersuffix)/, "number"],
305
- [/\d(@integersuffix)/, "number"],
306
- [/[;,.]/, "delimiter"],
307
- [/"([^"\\]|\\.)*$/, "string.invalid"],
308
- [/"/, "string", "@string"],
309
- [/'[^\\']'/, "string"],
310
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
311
- [/'/, "string.invalid"]
312
- ],
313
- whitespace: [
314
- [/[ \t\r\n]+/, ""],
315
- [/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
316
- [/\/\*/, "comment", "@comment"],
317
- [/\/\/.*\\$/, "comment", "@linecomment"],
318
- [/\/\/.*$/, "comment"]
319
- ],
320
- comment: [
321
- [/[^\/*]+/, "comment"],
322
- [/\*\//, "comment", "@pop"],
323
- [/[\/*]/, "comment"]
324
- ],
325
- linecomment: [
326
- [/.*[^\\]$/, "comment", "@pop"],
327
- [/[^]+/, "comment"]
328
- ],
329
- doccomment: [
330
- [/[^\/*]+/, "comment.doc"],
331
- [/\*\//, "comment.doc", "@pop"],
332
- [/[\/*]/, "comment.doc"]
333
- ],
334
- string: [
335
- [/[^\\"]+/, "string"],
336
- [/@escapes/, "string.escape"],
337
- [/\\./, "string.escape.invalid"],
338
- [/"/, "string", "@pop"]
339
- ],
340
- raw: [
341
- [
342
- /(.*)(\))(?:([^ ()\\\t"]*))(\")/,
343
- {
344
- cases: {
345
- "$3==$S2": [
346
- "string.raw",
347
- "string.raw.end",
348
- "string.raw.end",
349
- { token: "string.raw.end", next: "@pop" }
350
- ],
351
- "@default": ["string.raw", "string.raw", "string.raw", "string.raw"]
352
- }
353
- }
354
- ],
355
- [/.*/, "string.raw"]
356
- ],
357
- annotation: [
358
- { include: "@whitespace" },
359
- [/using|alignas/, "keyword"],
360
- [/[a-zA-Z0-9_]+/, "annotation"],
361
- [/[,:]/, "delimiter"],
362
- [/[()]/, "@brackets"],
363
- [/\]\s*\]/, { token: "annotation", next: "@pop" }]
364
- ],
365
- include: [
366
- [
367
- /(\s*)(<)([^<>]*)(>)/,
368
- [
369
- "",
370
- "keyword.directive.include.begin",
371
- "string.include.identifier",
372
- { token: "keyword.directive.include.end", next: "@pop" }
373
- ]
374
- ],
375
- [
376
- /(\s*)(")([^"]*)(")/,
377
- [
378
- "",
379
- "keyword.directive.include.begin",
380
- "string.include.identifier",
381
- { token: "keyword.directive.include.end", next: "@pop" }
382
- ]
383
- ]
384
- ]
385
- }
386
- };
387
- export {
388
- e as conf,
389
- t as language
390
- };