@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,262 +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: '"' },
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
- { open: "`", close: "`" }
32
- ]
33
- }, i = {
34
- defaultToken: "",
35
- tokenPostfix: ".cypher",
36
- ignoreCase: !0,
37
- brackets: [
38
- { open: "{", close: "}", token: "delimiter.curly" },
39
- { open: "[", close: "]", token: "delimiter.bracket" },
40
- { open: "(", close: ")", token: "delimiter.parenthesis" }
41
- ],
42
- keywords: [
43
- "ALL",
44
- "AND",
45
- "AS",
46
- "ASC",
47
- "ASCENDING",
48
- "BY",
49
- "CALL",
50
- "CASE",
51
- "CONTAINS",
52
- "CREATE",
53
- "DELETE",
54
- "DESC",
55
- "DESCENDING",
56
- "DETACH",
57
- "DISTINCT",
58
- "ELSE",
59
- "END",
60
- "ENDS",
61
- "EXISTS",
62
- "IN",
63
- "IS",
64
- "LIMIT",
65
- "MANDATORY",
66
- "MATCH",
67
- "MERGE",
68
- "NOT",
69
- "ON",
70
- "ON",
71
- "OPTIONAL",
72
- "OR",
73
- "ORDER",
74
- "REMOVE",
75
- "RETURN",
76
- "SET",
77
- "SKIP",
78
- "STARTS",
79
- "THEN",
80
- "UNION",
81
- "UNWIND",
82
- "WHEN",
83
- "WHERE",
84
- "WITH",
85
- "XOR",
86
- "YIELD"
87
- ],
88
- builtinLiterals: ["true", "TRUE", "false", "FALSE", "null", "NULL"],
89
- builtinFunctions: [
90
- "abs",
91
- "acos",
92
- "asin",
93
- "atan",
94
- "atan2",
95
- "avg",
96
- "ceil",
97
- "coalesce",
98
- "collect",
99
- "cos",
100
- "cot",
101
- "count",
102
- "degrees",
103
- "e",
104
- "endNode",
105
- "exists",
106
- "exp",
107
- "floor",
108
- "head",
109
- "id",
110
- "keys",
111
- "labels",
112
- "last",
113
- "left",
114
- "length",
115
- "log",
116
- "log10",
117
- "lTrim",
118
- "max",
119
- "min",
120
- "nodes",
121
- "percentileCont",
122
- "percentileDisc",
123
- "pi",
124
- "properties",
125
- "radians",
126
- "rand",
127
- "range",
128
- "relationships",
129
- "replace",
130
- "reverse",
131
- "right",
132
- "round",
133
- "rTrim",
134
- "sign",
135
- "sin",
136
- "size",
137
- "split",
138
- "sqrt",
139
- "startNode",
140
- "stDev",
141
- "stDevP",
142
- "substring",
143
- "sum",
144
- "tail",
145
- "tan",
146
- "timestamp",
147
- "toBoolean",
148
- "toFloat",
149
- "toInteger",
150
- "toLower",
151
- "toString",
152
- "toUpper",
153
- "trim",
154
- "type"
155
- ],
156
- operators: [
157
- "+",
158
- "-",
159
- "*",
160
- "/",
161
- "%",
162
- "^",
163
- "=",
164
- "<>",
165
- "<",
166
- ">",
167
- "<=",
168
- ">=",
169
- "->",
170
- "<-",
171
- "-->",
172
- "<--"
173
- ],
174
- escapes: /\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
175
- digits: /\d+/,
176
- octaldigits: /[0-7]+/,
177
- hexdigits: /[0-9a-fA-F]+/,
178
- tokenizer: {
179
- root: [[/[{}[\]()]/, "@brackets"], { include: "common" }],
180
- common: [
181
- { include: "@whitespace" },
182
- { include: "@numbers" },
183
- { include: "@strings" },
184
- [/:[a-zA-Z_][\w]*/, "type.identifier"],
185
- [
186
- /[a-zA-Z_][\w]*(?=\()/,
187
- {
188
- cases: {
189
- "@builtinFunctions": "predefined.function"
190
- }
191
- }
192
- ],
193
- [
194
- /[a-zA-Z_$][\w$]*/,
195
- {
196
- cases: {
197
- "@keywords": "keyword",
198
- "@builtinLiterals": "predefined.literal",
199
- "@default": "identifier"
200
- }
201
- }
202
- ],
203
- [/`/, "identifier.escape", "@identifierBacktick"],
204
- [/[;,.:|]/, "delimiter"],
205
- [
206
- /[<>=%+\-*/^]+/,
207
- {
208
- cases: {
209
- "@operators": "delimiter",
210
- "@default": ""
211
- }
212
- }
213
- ]
214
- ],
215
- numbers: [
216
- [/-?(@digits)[eE](-?(@digits))?/, "number.float"],
217
- [/-?(@digits)?\.(@digits)([eE]-?(@digits))?/, "number.float"],
218
- [/-?0x(@hexdigits)/, "number.hex"],
219
- [/-?0(@octaldigits)/, "number.octal"],
220
- [/-?(@digits)/, "number"]
221
- ],
222
- strings: [
223
- [/"([^"\\]|\\.)*$/, "string.invalid"],
224
- [/'([^'\\]|\\.)*$/, "string.invalid"],
225
- [/"/, "string", "@stringDouble"],
226
- [/'/, "string", "@stringSingle"]
227
- ],
228
- whitespace: [
229
- [/[ \t\r\n]+/, "white"],
230
- [/\/\*/, "comment", "@comment"],
231
- [/\/\/.*$/, "comment"]
232
- ],
233
- comment: [
234
- [/\/\/.*/, "comment"],
235
- [/[^/*]+/, "comment"],
236
- [/\*\//, "comment", "@pop"],
237
- [/[/*]/, "comment"]
238
- ],
239
- stringDouble: [
240
- [/[^\\"]+/, "string"],
241
- [/@escapes/, "string"],
242
- [/\\./, "string.invalid"],
243
- [/"/, "string", "@pop"]
244
- ],
245
- stringSingle: [
246
- [/[^\\']+/, "string"],
247
- [/@escapes/, "string"],
248
- [/\\./, "string.invalid"],
249
- [/'/, "string", "@pop"]
250
- ],
251
- identifierBacktick: [
252
- [/[^\\`]+/, "identifier.escape"],
253
- [/@escapes/, "identifier.escape"],
254
- [/\\./, "identifier.escape.invalid"],
255
- [/`/, "identifier.escape", "@pop"]
256
- ]
257
- }
258
- };
259
- export {
260
- e as conf,
261
- i as language
262
- };
@@ -1,270 +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
- { open: "`", close: "`", notIn: ["string", "comment"] },
24
- { open: "/**", close: " */", notIn: ["string"] }
25
- ],
26
- surroundingPairs: [
27
- { open: "{", close: "}" },
28
- { open: "[", close: "]" },
29
- { open: "(", close: ")" },
30
- { open: "<", close: ">" },
31
- { open: "'", close: "'" },
32
- { open: "(", close: ")" },
33
- { open: '"', close: '"' },
34
- { open: "`", close: "`" }
35
- ],
36
- folding: {
37
- markers: {
38
- start: /^\s*\s*#?region\b/,
39
- end: /^\s*\s*#?endregion\b/
40
- }
41
- }
42
- }, n = {
43
- defaultToken: "invalid",
44
- tokenPostfix: ".dart",
45
- keywords: [
46
- "abstract",
47
- "dynamic",
48
- "implements",
49
- "show",
50
- "as",
51
- "else",
52
- "import",
53
- "static",
54
- "assert",
55
- "enum",
56
- "in",
57
- "super",
58
- "async",
59
- "export",
60
- "interface",
61
- "switch",
62
- "await",
63
- "extends",
64
- "is",
65
- "sync",
66
- "break",
67
- "external",
68
- "library",
69
- "this",
70
- "case",
71
- "factory",
72
- "mixin",
73
- "throw",
74
- "catch",
75
- "false",
76
- "new",
77
- "true",
78
- "class",
79
- "final",
80
- "null",
81
- "try",
82
- "const",
83
- "finally",
84
- "on",
85
- "typedef",
86
- "continue",
87
- "for",
88
- "operator",
89
- "var",
90
- "covariant",
91
- "Function",
92
- "part",
93
- "void",
94
- "default",
95
- "get",
96
- "rethrow",
97
- "while",
98
- "deferred",
99
- "hide",
100
- "return",
101
- "with",
102
- "do",
103
- "if",
104
- "set",
105
- "yield"
106
- ],
107
- typeKeywords: ["int", "double", "String", "bool"],
108
- operators: [
109
- "+",
110
- "-",
111
- "*",
112
- "/",
113
- "~/",
114
- "%",
115
- "++",
116
- "--",
117
- "==",
118
- "!=",
119
- ">",
120
- "<",
121
- ">=",
122
- "<=",
123
- "=",
124
- "-=",
125
- "/=",
126
- "%=",
127
- ">>=",
128
- "^=",
129
- "+=",
130
- "*=",
131
- "~/=",
132
- "<<=",
133
- "&=",
134
- "!=",
135
- "||",
136
- "&&",
137
- "&",
138
- "|",
139
- "^",
140
- "~",
141
- "<<",
142
- ">>",
143
- "!",
144
- ">>>",
145
- "??",
146
- "?",
147
- ":",
148
- "|="
149
- ],
150
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
151
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
152
- digits: /\d+(_+\d+)*/,
153
- octaldigits: /[0-7]+(_+[0-7]+)*/,
154
- binarydigits: /[0-1]+(_+[0-1]+)*/,
155
- hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
156
- regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
157
- regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
158
- tokenizer: {
159
- root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
160
- common: [
161
- [
162
- /[a-z_$][\w$]*/,
163
- {
164
- cases: {
165
- "@typeKeywords": "type.identifier",
166
- "@keywords": "keyword",
167
- "@default": "identifier"
168
- }
169
- }
170
- ],
171
- [/[A-Z_$][\w\$]*/, "type.identifier"],
172
- { include: "@whitespace" },
173
- [
174
- /\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
175
- { token: "regexp", bracket: "@open", next: "@regexp" }
176
- ],
177
- [/@[a-zA-Z]+/, "annotation"],
178
- [/[()\[\]]/, "@brackets"],
179
- [/[<>](?!@symbols)/, "@brackets"],
180
- [/!(?=([^=]|$))/, "delimiter"],
181
- [
182
- /@symbols/,
183
- {
184
- cases: {
185
- "@operators": "delimiter",
186
- "@default": ""
187
- }
188
- }
189
- ],
190
- [/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
191
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
192
- [/0[xX](@hexdigits)n?/, "number.hex"],
193
- [/0[oO]?(@octaldigits)n?/, "number.octal"],
194
- [/0[bB](@binarydigits)n?/, "number.binary"],
195
- [/(@digits)n?/, "number"],
196
- [/[;,.]/, "delimiter"],
197
- [/"([^"\\]|\\.)*$/, "string.invalid"],
198
- [/'([^'\\]|\\.)*$/, "string.invalid"],
199
- [/"/, "string", "@string_double"],
200
- [/'/, "string", "@string_single"]
201
- ],
202
- whitespace: [
203
- [/[ \t\r\n]+/, ""],
204
- [/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
205
- [/\/\*/, "comment", "@comment"],
206
- [/\/\/\/.*$/, "comment.doc"],
207
- [/\/\/.*$/, "comment"]
208
- ],
209
- comment: [
210
- [/[^\/*]+/, "comment"],
211
- [/\*\//, "comment", "@pop"],
212
- [/[\/*]/, "comment"]
213
- ],
214
- jsdoc: [
215
- [/[^\/*]+/, "comment.doc"],
216
- [/\*\//, "comment.doc", "@pop"],
217
- [/[\/*]/, "comment.doc"]
218
- ],
219
- regexp: [
220
- [
221
- /(\{)(\d+(?:,\d*)?)(\})/,
222
- ["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
223
- ],
224
- [
225
- /(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
226
- ["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
227
- ],
228
- [/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
229
- [/[()]/, "regexp.escape.control"],
230
- [/@regexpctl/, "regexp.escape.control"],
231
- [/[^\\\/]/, "regexp"],
232
- [/@regexpesc/, "regexp.escape"],
233
- [/\\\./, "regexp.invalid"],
234
- [/(\/)([gimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
235
- ],
236
- regexrange: [
237
- [/-/, "regexp.escape.control"],
238
- [/\^/, "regexp.invalid"],
239
- [/@regexpesc/, "regexp.escape"],
240
- [/[^\]]/, "regexp"],
241
- [
242
- /\]/,
243
- {
244
- token: "regexp.escape.control",
245
- next: "@pop",
246
- bracket: "@close"
247
- }
248
- ]
249
- ],
250
- string_double: [
251
- [/[^\\"\$]+/, "string"],
252
- [/[^\\"]+/, "string"],
253
- [/@escapes/, "string.escape"],
254
- [/\\./, "string.escape.invalid"],
255
- [/"/, "string", "@pop"],
256
- [/\$\w+/, "identifier"]
257
- ],
258
- string_single: [
259
- [/[^\\'\$]+/, "string"],
260
- [/@escapes/, "string.escape"],
261
- [/\\./, "string.escape.invalid"],
262
- [/'/, "string", "@pop"],
263
- [/\$\w+/, "identifier"]
264
- ]
265
- }
266
- };
267
- export {
268
- e as conf,
269
- n as language
270
- };
@@ -1,132 +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
- brackets: [
9
- ["{", "}"],
10
- ["[", "]"],
11
- ["(", ")"]
12
- ],
13
- autoClosingPairs: [
14
- { open: "{", close: "}" },
15
- { open: "[", close: "]" },
16
- { open: "(", close: ")" },
17
- { open: '"', close: '"' },
18
- { open: "'", close: "'" }
19
- ],
20
- surroundingPairs: [
21
- { open: "{", close: "}" },
22
- { open: "[", close: "]" },
23
- { open: "(", close: ")" },
24
- { open: '"', close: '"' },
25
- { open: "'", close: "'" }
26
- ]
27
- }, o = {
28
- defaultToken: "",
29
- tokenPostfix: ".dockerfile",
30
- variable: /\${?[\w]+}?/,
31
- tokenizer: {
32
- root: [
33
- { include: "@whitespace" },
34
- { include: "@comment" },
35
- [/(ONBUILD)(\s+)/, ["keyword", ""]],
36
- [/(ENV)(\s+)([\w]+)/, ["keyword", "", { token: "variable", next: "@arguments" }]],
37
- [
38
- /(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,
39
- { token: "keyword", next: "@arguments" }
40
- ]
41
- ],
42
- arguments: [
43
- { include: "@whitespace" },
44
- { include: "@strings" },
45
- [
46
- /(@variable)/,
47
- {
48
- cases: {
49
- "@eos": { token: "variable", next: "@popall" },
50
- "@default": "variable"
51
- }
52
- }
53
- ],
54
- [
55
- /\\/,
56
- {
57
- cases: {
58
- "@eos": "",
59
- "@default": ""
60
- }
61
- }
62
- ],
63
- [
64
- /./,
65
- {
66
- cases: {
67
- "@eos": { token: "", next: "@popall" },
68
- "@default": ""
69
- }
70
- }
71
- ]
72
- ],
73
- whitespace: [
74
- [
75
- /\s+/,
76
- {
77
- cases: {
78
- "@eos": { token: "", next: "@popall" },
79
- "@default": ""
80
- }
81
- }
82
- ]
83
- ],
84
- comment: [[/(^#.*$)/, "comment", "@popall"]],
85
- strings: [
86
- [/\\'$/, "", "@popall"],
87
- [/\\'/, ""],
88
- [/'$/, "string", "@popall"],
89
- [/'/, "string", "@stringBody"],
90
- [/"$/, "string", "@popall"],
91
- [/"/, "string", "@dblStringBody"]
92
- ],
93
- stringBody: [
94
- [
95
- /[^\\\$']/,
96
- {
97
- cases: {
98
- "@eos": { token: "string", next: "@popall" },
99
- "@default": "string"
100
- }
101
- }
102
- ],
103
- [/\\./, "string.escape"],
104
- [/'$/, "string", "@popall"],
105
- [/'/, "string", "@pop"],
106
- [/(@variable)/, "variable"],
107
- [/\\$/, "string"],
108
- [/$/, "string", "@popall"]
109
- ],
110
- dblStringBody: [
111
- [
112
- /[^\\\$"]/,
113
- {
114
- cases: {
115
- "@eos": { token: "string", next: "@popall" },
116
- "@default": "string"
117
- }
118
- }
119
- ],
120
- [/\\./, "string.escape"],
121
- [/"$/, "string", "@popall"],
122
- [/"/, "string", "@pop"],
123
- [/(@variable)/, "variable"],
124
- [/\\$/, "string"],
125
- [/$/, "string", "@popall"]
126
- ]
127
- }
128
- };
129
- export {
130
- e as conf,
131
- o as language
132
- };