@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,393 +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
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: '"', close: '"', notIn: ["string", "comment"] },
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
- ],
23
- folding: {
24
- offSide: !0
25
- }
26
- }, t = {
27
- defaultToken: "",
28
- tokenPostfix: ".pug",
29
- ignoreCase: !0,
30
- brackets: [
31
- { token: "delimiter.curly", open: "{", close: "}" },
32
- { token: "delimiter.array", open: "[", close: "]" },
33
- { token: "delimiter.parenthesis", open: "(", close: ")" }
34
- ],
35
- keywords: [
36
- "append",
37
- "block",
38
- "case",
39
- "default",
40
- "doctype",
41
- "each",
42
- "else",
43
- "extends",
44
- "for",
45
- "if",
46
- "in",
47
- "include",
48
- "mixin",
49
- "typeof",
50
- "unless",
51
- "var",
52
- "when"
53
- ],
54
- tags: [
55
- "a",
56
- "abbr",
57
- "acronym",
58
- "address",
59
- "area",
60
- "article",
61
- "aside",
62
- "audio",
63
- "b",
64
- "base",
65
- "basefont",
66
- "bdi",
67
- "bdo",
68
- "blockquote",
69
- "body",
70
- "br",
71
- "button",
72
- "canvas",
73
- "caption",
74
- "center",
75
- "cite",
76
- "code",
77
- "col",
78
- "colgroup",
79
- "command",
80
- "datalist",
81
- "dd",
82
- "del",
83
- "details",
84
- "dfn",
85
- "div",
86
- "dl",
87
- "dt",
88
- "em",
89
- "embed",
90
- "fieldset",
91
- "figcaption",
92
- "figure",
93
- "font",
94
- "footer",
95
- "form",
96
- "frame",
97
- "frameset",
98
- "h1",
99
- "h2",
100
- "h3",
101
- "h4",
102
- "h5",
103
- "h6",
104
- "head",
105
- "header",
106
- "hgroup",
107
- "hr",
108
- "html",
109
- "i",
110
- "iframe",
111
- "img",
112
- "input",
113
- "ins",
114
- "keygen",
115
- "kbd",
116
- "label",
117
- "li",
118
- "link",
119
- "map",
120
- "mark",
121
- "menu",
122
- "meta",
123
- "meter",
124
- "nav",
125
- "noframes",
126
- "noscript",
127
- "object",
128
- "ol",
129
- "optgroup",
130
- "option",
131
- "output",
132
- "p",
133
- "param",
134
- "pre",
135
- "progress",
136
- "q",
137
- "rp",
138
- "rt",
139
- "ruby",
140
- "s",
141
- "samp",
142
- "script",
143
- "section",
144
- "select",
145
- "small",
146
- "source",
147
- "span",
148
- "strike",
149
- "strong",
150
- "style",
151
- "sub",
152
- "summary",
153
- "sup",
154
- "table",
155
- "tbody",
156
- "td",
157
- "textarea",
158
- "tfoot",
159
- "th",
160
- "thead",
161
- "time",
162
- "title",
163
- "tr",
164
- "tracks",
165
- "tt",
166
- "u",
167
- "ul",
168
- "video",
169
- "wbr"
170
- ],
171
- symbols: /[\+\-\*\%\&\|\!\=\/\.\,\:]+/,
172
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
173
- tokenizer: {
174
- root: [
175
- [
176
- /^(\s*)([a-zA-Z_-][\w-]*)/,
177
- {
178
- cases: {
179
- "$2@tags": {
180
- cases: {
181
- "@eos": ["", "tag"],
182
- "@default": ["", { token: "tag", next: "@tag.$1" }]
183
- }
184
- },
185
- "$2@keywords": ["", { token: "keyword.$2" }],
186
- "@default": ["", ""]
187
- }
188
- }
189
- ],
190
- [
191
- /^(\s*)(#[a-zA-Z_-][\w-]*)/,
192
- {
193
- cases: {
194
- "@eos": ["", "tag.id"],
195
- "@default": ["", { token: "tag.id", next: "@tag.$1" }]
196
- }
197
- }
198
- ],
199
- [
200
- /^(\s*)(\.[a-zA-Z_-][\w-]*)/,
201
- {
202
- cases: {
203
- "@eos": ["", "tag.class"],
204
- "@default": ["", { token: "tag.class", next: "@tag.$1" }]
205
- }
206
- }
207
- ],
208
- [/^(\s*)(\|.*)$/, ""],
209
- { include: "@whitespace" },
210
- [
211
- /[a-zA-Z_$][\w$]*/,
212
- {
213
- cases: {
214
- "@keywords": { token: "keyword.$0" },
215
- "@default": ""
216
- }
217
- }
218
- ],
219
- [/[{}()\[\]]/, "@brackets"],
220
- [/@symbols/, "delimiter"],
221
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
222
- [/\d+/, "number"],
223
- [/"/, "string", '@string."'],
224
- [/'/, "string", "@string.'"]
225
- ],
226
- tag: [
227
- [/(\.)(\s*$)/, [{ token: "delimiter", next: "@blockText.$S2." }, ""]],
228
- [/\s+/, { token: "", next: "@simpleText" }],
229
- [
230
- /#[a-zA-Z_-][\w-]*/,
231
- {
232
- cases: {
233
- "@eos": { token: "tag.id", next: "@pop" },
234
- "@default": "tag.id"
235
- }
236
- }
237
- ],
238
- [
239
- /\.[a-zA-Z_-][\w-]*/,
240
- {
241
- cases: {
242
- "@eos": { token: "tag.class", next: "@pop" },
243
- "@default": "tag.class"
244
- }
245
- }
246
- ],
247
- [/\(/, { token: "delimiter.parenthesis", next: "@attributeList" }]
248
- ],
249
- simpleText: [
250
- [/[^#]+$/, { token: "", next: "@popall" }],
251
- [/[^#]+/, { token: "" }],
252
- [
253
- /(#{)([^}]*)(})/,
254
- {
255
- cases: {
256
- "@eos": [
257
- "interpolation.delimiter",
258
- "interpolation",
259
- {
260
- token: "interpolation.delimiter",
261
- next: "@popall"
262
- }
263
- ],
264
- "@default": ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]
265
- }
266
- }
267
- ],
268
- [/#$/, { token: "", next: "@popall" }],
269
- [/#/, ""]
270
- ],
271
- attributeList: [
272
- [/\s+/, ""],
273
- [
274
- /(\w+)(\s*=\s*)("|')/,
275
- ["attribute.name", "delimiter", { token: "attribute.value", next: "@value.$3" }]
276
- ],
277
- [/\w+/, "attribute.name"],
278
- [
279
- /,/,
280
- {
281
- cases: {
282
- "@eos": {
283
- token: "attribute.delimiter",
284
- next: "@popall"
285
- },
286
- "@default": "attribute.delimiter"
287
- }
288
- }
289
- ],
290
- [/\)$/, { token: "delimiter.parenthesis", next: "@popall" }],
291
- [/\)/, { token: "delimiter.parenthesis", next: "@pop" }]
292
- ],
293
- whitespace: [
294
- [/^(\s*)(\/\/.*)$/, { token: "comment", next: "@blockText.$1.comment" }],
295
- [/[ \t\r\n]+/, ""],
296
- [/<!--/, { token: "comment", next: "@comment" }]
297
- ],
298
- blockText: [
299
- [
300
- /^\s+.*$/,
301
- {
302
- cases: {
303
- "($S2\\s+.*$)": { token: "$S3" },
304
- "@default": { token: "@rematch", next: "@popall" }
305
- }
306
- }
307
- ],
308
- [/./, { token: "@rematch", next: "@popall" }]
309
- ],
310
- comment: [
311
- [/[^<\-]+/, "comment.content"],
312
- [/-->/, { token: "comment", next: "@pop" }],
313
- [/<!--/, "comment.content.invalid"],
314
- [/[<\-]/, "comment.content"]
315
- ],
316
- string: [
317
- [
318
- /[^\\"'#]+/,
319
- {
320
- cases: {
321
- "@eos": { token: "string", next: "@popall" },
322
- "@default": "string"
323
- }
324
- }
325
- ],
326
- [
327
- /@escapes/,
328
- {
329
- cases: {
330
- "@eos": { token: "string.escape", next: "@popall" },
331
- "@default": "string.escape"
332
- }
333
- }
334
- ],
335
- [
336
- /\\./,
337
- {
338
- cases: {
339
- "@eos": {
340
- token: "string.escape.invalid",
341
- next: "@popall"
342
- },
343
- "@default": "string.escape.invalid"
344
- }
345
- }
346
- ],
347
- [/(#{)([^}]*)(})/, ["interpolation.delimiter", "interpolation", "interpolation.delimiter"]],
348
- [/#/, "string"],
349
- [
350
- /["']/,
351
- {
352
- cases: {
353
- "$#==$S2": { token: "string", next: "@pop" },
354
- "@default": { token: "string" }
355
- }
356
- }
357
- ]
358
- ],
359
- value: [
360
- [
361
- /[^\\"']+/,
362
- {
363
- cases: {
364
- "@eos": { token: "attribute.value", next: "@popall" },
365
- "@default": "attribute.value"
366
- }
367
- }
368
- ],
369
- [
370
- /\\./,
371
- {
372
- cases: {
373
- "@eos": { token: "attribute.value", next: "@popall" },
374
- "@default": "attribute.value"
375
- }
376
- }
377
- ],
378
- [
379
- /["']/,
380
- {
381
- cases: {
382
- "$#==$S2": { token: "attribute.value", next: "@pop" },
383
- "@default": { token: "attribute.value" }
384
- }
385
- }
386
- ]
387
- ]
388
- }
389
- };
390
- export {
391
- e as conf,
392
- t as language
393
- };
@@ -1,259 +0,0 @@
1
- import { m as i } from "./index-Bqp36Zxu.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 a = Object.defineProperty, l = Object.getOwnPropertyDescriptor, c = Object.getOwnPropertyNames, p = Object.prototype.hasOwnProperty, d = (t, e, n, s) => {
9
- if (e && typeof e == "object" || typeof e == "function")
10
- for (let r of c(e))
11
- !p.call(t, r) && r !== n && a(t, r, { get: () => e[r], enumerable: !(s = l(e, r)) || s.enumerable });
12
- return t;
13
- }, _ = (t, e, n) => (d(t, e, "default"), n), o = {};
14
- _(o, i);
15
- var m = {
16
- comments: {
17
- lineComment: "#",
18
- blockComment: ["'''", "'''"]
19
- },
20
- brackets: [
21
- ["{", "}"],
22
- ["[", "]"],
23
- ["(", ")"]
24
- ],
25
- autoClosingPairs: [
26
- { open: "{", close: "}" },
27
- { open: "[", close: "]" },
28
- { open: "(", close: ")" },
29
- { open: '"', close: '"', notIn: ["string"] },
30
- { open: "'", close: "'", notIn: ["string", "comment"] }
31
- ],
32
- surroundingPairs: [
33
- { open: "{", close: "}" },
34
- { open: "[", close: "]" },
35
- { open: "(", close: ")" },
36
- { open: '"', close: '"' },
37
- { open: "'", close: "'" }
38
- ],
39
- onEnterRules: [
40
- {
41
- beforeText: new RegExp("^\\s*(?:def|class|for|if|elif|else|while|try|with|finally|except|async|match|case).*?:\\s*$"),
42
- action: { indentAction: o.languages.IndentAction.Indent }
43
- }
44
- ],
45
- folding: {
46
- offSide: !0,
47
- markers: {
48
- start: new RegExp("^\\s*#region\\b"),
49
- end: new RegExp("^\\s*#endregion\\b")
50
- }
51
- }
52
- }, b = {
53
- defaultToken: "",
54
- tokenPostfix: ".python",
55
- keywords: [
56
- "False",
57
- "None",
58
- "True",
59
- "_",
60
- "and",
61
- "as",
62
- "assert",
63
- "async",
64
- "await",
65
- "break",
66
- "case",
67
- "class",
68
- "continue",
69
- "def",
70
- "del",
71
- "elif",
72
- "else",
73
- "except",
74
- "exec",
75
- "finally",
76
- "for",
77
- "from",
78
- "global",
79
- "if",
80
- "import",
81
- "in",
82
- "is",
83
- "lambda",
84
- "match",
85
- "nonlocal",
86
- "not",
87
- "or",
88
- "pass",
89
- "print",
90
- "raise",
91
- "return",
92
- "try",
93
- "while",
94
- "with",
95
- "yield",
96
- "int",
97
- "float",
98
- "long",
99
- "complex",
100
- "hex",
101
- "abs",
102
- "all",
103
- "any",
104
- "apply",
105
- "basestring",
106
- "bin",
107
- "bool",
108
- "buffer",
109
- "bytearray",
110
- "callable",
111
- "chr",
112
- "classmethod",
113
- "cmp",
114
- "coerce",
115
- "compile",
116
- "complex",
117
- "delattr",
118
- "dict",
119
- "dir",
120
- "divmod",
121
- "enumerate",
122
- "eval",
123
- "execfile",
124
- "file",
125
- "filter",
126
- "format",
127
- "frozenset",
128
- "getattr",
129
- "globals",
130
- "hasattr",
131
- "hash",
132
- "help",
133
- "id",
134
- "input",
135
- "intern",
136
- "isinstance",
137
- "issubclass",
138
- "iter",
139
- "len",
140
- "locals",
141
- "list",
142
- "map",
143
- "max",
144
- "memoryview",
145
- "min",
146
- "next",
147
- "object",
148
- "oct",
149
- "open",
150
- "ord",
151
- "pow",
152
- "print",
153
- "property",
154
- "reversed",
155
- "range",
156
- "raw_input",
157
- "reduce",
158
- "reload",
159
- "repr",
160
- "reversed",
161
- "round",
162
- "self",
163
- "set",
164
- "setattr",
165
- "slice",
166
- "sorted",
167
- "staticmethod",
168
- "str",
169
- "sum",
170
- "super",
171
- "tuple",
172
- "type",
173
- "unichr",
174
- "unicode",
175
- "vars",
176
- "xrange",
177
- "zip",
178
- "__dict__",
179
- "__methods__",
180
- "__members__",
181
- "__class__",
182
- "__bases__",
183
- "__name__",
184
- "__mro__",
185
- "__subclasses__",
186
- "__init__",
187
- "__import__"
188
- ],
189
- brackets: [
190
- { open: "{", close: "}", token: "delimiter.curly" },
191
- { open: "[", close: "]", token: "delimiter.bracket" },
192
- { open: "(", close: ")", token: "delimiter.parenthesis" }
193
- ],
194
- tokenizer: {
195
- root: [
196
- { include: "@whitespace" },
197
- { include: "@numbers" },
198
- { include: "@strings" },
199
- [/[,:;]/, "delimiter"],
200
- [/[{}\[\]()]/, "@brackets"],
201
- [/@[a-zA-Z_]\w*/, "tag"],
202
- [
203
- /[a-zA-Z_]\w*/,
204
- {
205
- cases: {
206
- "@keywords": "keyword",
207
- "@default": "identifier"
208
- }
209
- }
210
- ]
211
- ],
212
- whitespace: [
213
- [/\s+/, "white"],
214
- [/(^#.*$)/, "comment"],
215
- [/'''/, "string", "@endDocString"],
216
- [/"""/, "string", "@endDblDocString"]
217
- ],
218
- endDocString: [
219
- [/[^']+/, "string"],
220
- [/\\'/, "string"],
221
- [/'''/, "string", "@popall"],
222
- [/'/, "string"]
223
- ],
224
- endDblDocString: [
225
- [/[^"]+/, "string"],
226
- [/\\"/, "string"],
227
- [/"""/, "string", "@popall"],
228
- [/"/, "string"]
229
- ],
230
- numbers: [
231
- [/-?0x([abcdef]|[ABCDEF]|\d)+[lL]?/, "number.hex"],
232
- [/-?(\d*\.)?\d+([eE][+\-]?\d+)?[jJ]?[lL]?/, "number"]
233
- ],
234
- strings: [
235
- [/'$/, "string.escape", "@popall"],
236
- [/'/, "string.escape", "@stringBody"],
237
- [/"$/, "string.escape", "@popall"],
238
- [/"/, "string.escape", "@dblStringBody"]
239
- ],
240
- stringBody: [
241
- [/[^\\']+$/, "string", "@popall"],
242
- [/[^\\']+/, "string"],
243
- [/\\./, "string"],
244
- [/'/, "string.escape", "@popall"],
245
- [/\\$/, "string"]
246
- ],
247
- dblStringBody: [
248
- [/[^\\"]+$/, "string", "@popall"],
249
- [/[^\\"]+/, "string"],
250
- [/\\./, "string"],
251
- [/"/, "string.escape", "@popall"],
252
- [/\\$/, "string"]
253
- ]
254
- }
255
- };
256
- export {
257
- m as conf,
258
- b as language
259
- };