@devtron-labs/devtron-fe-common-lib 0.0.64 → 0.0.65-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 (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,210 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
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
- ],
23
- surroundingPairs: [
24
- { open: "{", close: "}" },
25
- { open: "[", close: "]" },
26
- { open: "(", close: ")" },
27
- { open: '"', close: '"' },
28
- { open: "'", close: "'" }
29
- ],
30
- folding: {
31
- markers: {
32
- start: new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),
33
- end: new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")
34
- }
35
- }
36
- }, n = {
37
- defaultToken: "",
38
- tokenPostfix: ".fs",
39
- keywords: [
40
- "abstract",
41
- "and",
42
- "atomic",
43
- "as",
44
- "assert",
45
- "asr",
46
- "base",
47
- "begin",
48
- "break",
49
- "checked",
50
- "component",
51
- "const",
52
- "constraint",
53
- "constructor",
54
- "continue",
55
- "class",
56
- "default",
57
- "delegate",
58
- "do",
59
- "done",
60
- "downcast",
61
- "downto",
62
- "elif",
63
- "else",
64
- "end",
65
- "exception",
66
- "eager",
67
- "event",
68
- "external",
69
- "extern",
70
- "false",
71
- "finally",
72
- "for",
73
- "fun",
74
- "function",
75
- "fixed",
76
- "functor",
77
- "global",
78
- "if",
79
- "in",
80
- "include",
81
- "inherit",
82
- "inline",
83
- "interface",
84
- "internal",
85
- "land",
86
- "lor",
87
- "lsl",
88
- "lsr",
89
- "lxor",
90
- "lazy",
91
- "let",
92
- "match",
93
- "member",
94
- "mod",
95
- "module",
96
- "mutable",
97
- "namespace",
98
- "method",
99
- "mixin",
100
- "new",
101
- "not",
102
- "null",
103
- "of",
104
- "open",
105
- "or",
106
- "object",
107
- "override",
108
- "private",
109
- "parallel",
110
- "process",
111
- "protected",
112
- "pure",
113
- "public",
114
- "rec",
115
- "return",
116
- "static",
117
- "sealed",
118
- "struct",
119
- "sig",
120
- "then",
121
- "to",
122
- "true",
123
- "tailcall",
124
- "trait",
125
- "try",
126
- "type",
127
- "upcast",
128
- "use",
129
- "val",
130
- "void",
131
- "virtual",
132
- "volatile",
133
- "when",
134
- "while",
135
- "with",
136
- "yield"
137
- ],
138
- symbols: /[=><!~?:&|+\-*\^%;\.,\/]+/,
139
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
140
- integersuffix: /[uU]?[yslnLI]?/,
141
- floatsuffix: /[fFmM]?/,
142
- tokenizer: {
143
- root: [
144
- [
145
- /[a-zA-Z_]\w*/,
146
- {
147
- cases: {
148
- "@keywords": { token: "keyword.$0" },
149
- "@default": "identifier"
150
- }
151
- }
152
- ],
153
- { include: "@whitespace" },
154
- [/\[<.*>\]/, "annotation"],
155
- [/^#(if|else|endif)/, "keyword"],
156
- [/[{}()\[\]]/, "@brackets"],
157
- [/[<>](?!@symbols)/, "@brackets"],
158
- [/@symbols/, "delimiter"],
159
- [/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/, "number.float"],
160
- [/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/, "number.float"],
161
- [/0x[0-9a-fA-F]+LF/, "number.float"],
162
- [/0x[0-9a-fA-F]+(@integersuffix)/, "number.hex"],
163
- [/0b[0-1]+(@integersuffix)/, "number.bin"],
164
- [/\d+(@integersuffix)/, "number"],
165
- [/[;,.]/, "delimiter"],
166
- [/"([^"\\]|\\.)*$/, "string.invalid"],
167
- [/"""/, "string", '@string."""'],
168
- [/"/, "string", '@string."'],
169
- [/\@"/, { token: "string.quote", next: "@litstring" }],
170
- [/'[^\\']'B?/, "string"],
171
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
172
- [/'/, "string.invalid"]
173
- ],
174
- whitespace: [
175
- [/[ \t\r\n]+/, ""],
176
- [/\(\*(?!\))/, "comment", "@comment"],
177
- [/\/\/.*$/, "comment"]
178
- ],
179
- comment: [
180
- [/[^*(]+/, "comment"],
181
- [/\*\)/, "comment", "@pop"],
182
- [/\*/, "comment"],
183
- [/\(\*\)/, "comment"],
184
- [/\(/, "comment"]
185
- ],
186
- string: [
187
- [/[^\\"]+/, "string"],
188
- [/@escapes/, "string.escape"],
189
- [/\\./, "string.escape.invalid"],
190
- [
191
- /("""|"B?)/,
192
- {
193
- cases: {
194
- "$#==$S2": { token: "string", next: "@pop" },
195
- "@default": "string"
196
- }
197
- }
198
- ]
199
- ],
200
- litstring: [
201
- [/[^"]+/, "string"],
202
- [/""/, "string.escape"],
203
- [/"/, { token: "string.quote", next: "@pop" }]
204
- ]
205
- }
206
- };
207
- export {
208
- e as conf,
209
- n as language
210
- };
@@ -1,208 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
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"] },
22
- { open: '"', close: '"', notIn: ["string"] },
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
- }, n = {
34
- defaultToken: "",
35
- tokenPostfix: ".go",
36
- keywords: [
37
- "break",
38
- "case",
39
- "chan",
40
- "const",
41
- "continue",
42
- "default",
43
- "defer",
44
- "else",
45
- "fallthrough",
46
- "for",
47
- "func",
48
- "go",
49
- "goto",
50
- "if",
51
- "import",
52
- "interface",
53
- "map",
54
- "package",
55
- "range",
56
- "return",
57
- "select",
58
- "struct",
59
- "switch",
60
- "type",
61
- "var",
62
- "bool",
63
- "true",
64
- "false",
65
- "uint8",
66
- "uint16",
67
- "uint32",
68
- "uint64",
69
- "int8",
70
- "int16",
71
- "int32",
72
- "int64",
73
- "float32",
74
- "float64",
75
- "complex64",
76
- "complex128",
77
- "byte",
78
- "rune",
79
- "uint",
80
- "int",
81
- "uintptr",
82
- "string",
83
- "nil"
84
- ],
85
- operators: [
86
- "+",
87
- "-",
88
- "*",
89
- "/",
90
- "%",
91
- "&",
92
- "|",
93
- "^",
94
- "<<",
95
- ">>",
96
- "&^",
97
- "+=",
98
- "-=",
99
- "*=",
100
- "/=",
101
- "%=",
102
- "&=",
103
- "|=",
104
- "^=",
105
- "<<=",
106
- ">>=",
107
- "&^=",
108
- "&&",
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
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
135
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
136
- tokenizer: {
137
- root: [
138
- [
139
- /[a-zA-Z_]\w*/,
140
- {
141
- cases: {
142
- "@keywords": { token: "keyword.$0" },
143
- "@default": "identifier"
144
- }
145
- }
146
- ],
147
- { include: "@whitespace" },
148
- [/\[\[.*\]\]/, "annotation"],
149
- [/^\s*#\w+/, "keyword"],
150
- [/[{}()\[\]]/, "@brackets"],
151
- [/[<>](?!@symbols)/, "@brackets"],
152
- [
153
- /@symbols/,
154
- {
155
- cases: {
156
- "@operators": "delimiter",
157
- "@default": ""
158
- }
159
- }
160
- ],
161
- [/\d*\d+[eE]([\-+]?\d+)?/, "number.float"],
162
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
163
- [/0[xX][0-9a-fA-F']*[0-9a-fA-F]/, "number.hex"],
164
- [/0[0-7']*[0-7]/, "number.octal"],
165
- [/0[bB][0-1']*[0-1]/, "number.binary"],
166
- [/\d[\d']*/, "number"],
167
- [/\d/, "number"],
168
- [/[;,.]/, "delimiter"],
169
- [/"([^"\\]|\\.)*$/, "string.invalid"],
170
- [/"/, "string", "@string"],
171
- [/`/, "string", "@rawstring"],
172
- [/'[^\\']'/, "string"],
173
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
174
- [/'/, "string.invalid"]
175
- ],
176
- whitespace: [
177
- [/[ \t\r\n]+/, ""],
178
- [/\/\*\*(?!\/)/, "comment.doc", "@doccomment"],
179
- [/\/\*/, "comment", "@comment"],
180
- [/\/\/.*$/, "comment"]
181
- ],
182
- comment: [
183
- [/[^\/*]+/, "comment"],
184
- [/\*\//, "comment", "@pop"],
185
- [/[\/*]/, "comment"]
186
- ],
187
- doccomment: [
188
- [/[^\/*]+/, "comment.doc"],
189
- [/\/\*/, "comment.doc.invalid"],
190
- [/\*\//, "comment.doc", "@pop"],
191
- [/[\/*]/, "comment.doc"]
192
- ],
193
- string: [
194
- [/[^\\"]+/, "string"],
195
- [/@escapes/, "string.escape"],
196
- [/\\./, "string.escape.invalid"],
197
- [/"/, "string", "@pop"]
198
- ],
199
- rawstring: [
200
- [/[^\`]/, "string"],
201
- [/`/, "string", "@pop"]
202
- ]
203
- }
204
- };
205
- export {
206
- e as conf,
207
- n as language
208
- };
@@ -1,141 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.39.0(ff3621a3fa6389873be5412d17554294ea1b0941)
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: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: '"""', close: '"""', notIn: ["string", "comment"] },
21
- { open: '"', close: '"', notIn: ["string", "comment"] }
22
- ],
23
- surroundingPairs: [
24
- { open: "{", close: "}" },
25
- { open: "[", close: "]" },
26
- { open: "(", close: ")" },
27
- { open: '"""', close: '"""' },
28
- { open: '"', close: '"' }
29
- ],
30
- folding: {
31
- offSide: !0
32
- }
33
- }, n = {
34
- defaultToken: "invalid",
35
- tokenPostfix: ".gql",
36
- keywords: [
37
- "null",
38
- "true",
39
- "false",
40
- "query",
41
- "mutation",
42
- "subscription",
43
- "extend",
44
- "schema",
45
- "directive",
46
- "scalar",
47
- "type",
48
- "interface",
49
- "union",
50
- "enum",
51
- "input",
52
- "implements",
53
- "fragment",
54
- "on"
55
- ],
56
- typeKeywords: ["Int", "Float", "String", "Boolean", "ID"],
57
- directiveLocations: [
58
- "SCHEMA",
59
- "SCALAR",
60
- "OBJECT",
61
- "FIELD_DEFINITION",
62
- "ARGUMENT_DEFINITION",
63
- "INTERFACE",
64
- "UNION",
65
- "ENUM",
66
- "ENUM_VALUE",
67
- "INPUT_OBJECT",
68
- "INPUT_FIELD_DEFINITION",
69
- "QUERY",
70
- "MUTATION",
71
- "SUBSCRIPTION",
72
- "FIELD",
73
- "FRAGMENT_DEFINITION",
74
- "FRAGMENT_SPREAD",
75
- "INLINE_FRAGMENT",
76
- "VARIABLE_DEFINITION"
77
- ],
78
- operators: ["=", "!", "?", ":", "&", "|"],
79
- symbols: /[=!?:&|]+/,
80
- escapes: /\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,
81
- tokenizer: {
82
- root: [
83
- [
84
- /[a-z_][\w$]*/,
85
- {
86
- cases: {
87
- "@keywords": "keyword",
88
- "@default": "key.identifier"
89
- }
90
- }
91
- ],
92
- [
93
- /[$][\w$]*/,
94
- {
95
- cases: {
96
- "@keywords": "keyword",
97
- "@default": "argument.identifier"
98
- }
99
- }
100
- ],
101
- [
102
- /[A-Z][\w\$]*/,
103
- {
104
- cases: {
105
- "@typeKeywords": "keyword",
106
- "@default": "type.identifier"
107
- }
108
- }
109
- ],
110
- { include: "@whitespace" },
111
- [/[{}()\[\]]/, "@brackets"],
112
- [/@symbols/, { cases: { "@operators": "operator", "@default": "" } }],
113
- [/@\s*[a-zA-Z_\$][\w\$]*/, { token: "annotation", log: "annotation token: $0" }],
114
- [/\d*\.\d+([eE][\-+]?\d+)?/, "number.float"],
115
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
116
- [/\d+/, "number"],
117
- [/[;,.]/, "delimiter"],
118
- [/"""/, { token: "string", next: "@mlstring", nextEmbedded: "markdown" }],
119
- [/"([^"\\]|\\.)*$/, "string.invalid"],
120
- [/"/, { token: "string.quote", bracket: "@open", next: "@string" }]
121
- ],
122
- mlstring: [
123
- [/[^"]+/, "string"],
124
- ['"""', { token: "string", next: "@pop", nextEmbedded: "@pop" }]
125
- ],
126
- string: [
127
- [/[^\\"]+/, "string"],
128
- [/@escapes/, "string.escape"],
129
- [/\\./, "string.escape.invalid"],
130
- [/"/, { token: "string.quote", bracket: "@close", next: "@pop" }]
131
- ],
132
- whitespace: [
133
- [/[ \t\r\n]+/, ""],
134
- [/#.*$/, "comment"]
135
- ]
136
- }
137
- };
138
- export {
139
- e as conf,
140
- n as language
141
- };