@devtron-labs/devtron-fe-common-lib 0.0.81-beta-8 → 0.0.82-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/Api.d.ts +1 -0
  2. package/dist/Common/CodeEditor/CodeEditor.d.ts +44 -1
  3. package/dist/Common/Common.service.d.ts +3 -6
  4. package/dist/Common/Constants.d.ts +13 -10
  5. package/dist/Common/ErrorPage.d.ts +1 -1
  6. package/dist/Common/ErrorScreenManager.d.ts +1 -1
  7. package/dist/Common/GenericDescription/GenericDescription.d.ts +4 -0
  8. package/dist/Common/GenericDescription/constant.d.ts +2 -0
  9. package/dist/Common/GenericDescription/index.d.ts +2 -0
  10. package/dist/Common/GenericDescription/types.d.ts +14 -0
  11. package/dist/Common/Helper.d.ts +12 -2
  12. package/dist/Common/Hooks/index.d.ts +1 -0
  13. package/dist/Common/Hooks/useStateFilters/index.d.ts +2 -0
  14. package/dist/Common/Hooks/useStateFilters/types.d.ts +6 -0
  15. package/dist/Common/Hooks/useStateFilters/useStateFilters.d.ts +17 -0
  16. package/dist/Common/Markdown/constant.d.ts +28 -0
  17. package/dist/Common/Types.d.ts +56 -18
  18. package/dist/Common/index.d.ts +1 -1
  19. package/dist/Pages/index.d.ts +0 -1
  20. package/dist/Shared/Components/APIResponseHandler/APIResponseHandler.d.ts +1 -1
  21. package/dist/Shared/Components/APIResponseHandler/types.d.ts +7 -2
  22. package/dist/Shared/Components/ActivityIndicator/ActivityIndicator.d.ts +1 -1
  23. package/dist/Shared/Components/ActivityIndicator/types.d.ts +2 -0
  24. package/dist/Shared/Components/BulkSelection/BulkSelection.d.ts +1 -1
  25. package/dist/Shared/Components/BulkSelection/types.d.ts +1 -0
  26. package/dist/Shared/Components/ButtonWithSelector/ButtonWithSelector.d.ts +18 -0
  27. package/dist/Shared/Components/ButtonWithSelector/index.d.ts +1 -0
  28. package/dist/Shared/Components/ButtonWithSelector/types.d.ts +10 -0
  29. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  30. package/dist/Shared/Components/Header/types.d.ts +7 -9
  31. package/dist/Shared/Components/ReactSelect/utils.d.ts +11 -0
  32. package/dist/Shared/Components/index.d.ts +1 -0
  33. package/dist/Shared/Helpers.d.ts +5 -3
  34. package/dist/Shared/Providers/ImageSelectionUtility/ImageSelectionUtility.d.ts +5 -0
  35. package/dist/Shared/Providers/ImageSelectionUtility/index.d.ts +1 -0
  36. package/dist/Shared/Providers/ImageSelectionUtility/types.d.ts +9 -0
  37. package/dist/Shared/Providers/index.d.ts +1 -0
  38. package/dist/Shared/constants.d.ts +14 -0
  39. package/dist/Shared/index.d.ts +1 -0
  40. package/dist/Shared/types.d.ts +88 -13
  41. package/dist/Shared/validations.d.ts +10 -1
  42. package/dist/assets/index.css +1 -1
  43. package/dist/index.d.ts +1 -0
  44. package/dist/index.js +20856 -302
  45. package/package.json +10 -7
  46. package/dist/Common/CodeEditor/CodeEditor.reducer.d.ts +0 -36
  47. package/dist/Common/CodeEditor/index.d.ts +0 -2
  48. package/dist/Common/CodeEditor/types.d.ts +0 -86
  49. package/dist/Pages/ResourceBrowser/Helper.d.ts +0 -3
  50. package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +0 -20
  51. package/dist/Pages/ResourceBrowser/index.d.ts +0 -2
  52. package/dist/abap-5361cc9f.js +0 -1314
  53. package/dist/apex-f9413e6f.js +0 -315
  54. package/dist/assets/editor.worker-60ba9509.js +0 -12
  55. package/dist/assets/yaml.worker-cc1a551a.js +0 -471
  56. package/dist/azcli-36f2cb5e.js +0 -74
  57. package/dist/bat-6b05202d.js +0 -95
  58. package/dist/bicep-788415e3.js +0 -108
  59. package/dist/cameligo-4e85ec93.js +0 -168
  60. package/dist/clojure-40fa5799.js +0 -754
  61. package/dist/coffee-f557f5e0.js +0 -228
  62. package/dist/cpp-ebbf7759.js +0 -390
  63. package/dist/csharp-1616f566.js +0 -320
  64. package/dist/csp-5f0bc3c4.js +0 -57
  65. package/dist/css-2b1aec9b.js +0 -186
  66. package/dist/cssMode-f6d332a1.js +0 -1446
  67. package/dist/cypher-b12b4ba8.js +0 -262
  68. package/dist/dart-e0d70030.js +0 -270
  69. package/dist/dockerfile-f9d4b2b0.js +0 -132
  70. package/dist/ecl-5b91fdec.js +0 -454
  71. package/dist/elixir-deffd5a6.js +0 -489
  72. package/dist/flow9-84cd00d7.js +0 -141
  73. package/dist/freemarker2-8e23f5a4.js +0 -643
  74. package/dist/fsharp-d296151f.js +0 -210
  75. package/dist/go-7e72ff3b.js +0 -208
  76. package/dist/graphql-a93568a1.js +0 -141
  77. package/dist/handlebars-f1c6ec5a.js +0 -391
  78. package/dist/hcl-b3994d8f.js +0 -177
  79. package/dist/html-1a4d5d9a.js +0 -281
  80. package/dist/htmlMode-05b8c00b.js +0 -1456
  81. package/dist/index-83e46ae3.js +0 -128536
  82. package/dist/ini-df84509a.js +0 -68
  83. package/dist/java-fba3d046.js +0 -221
  84. package/dist/javascript-823e6a19.js +0 -75
  85. package/dist/jsonMode-052d75cd.js +0 -1867
  86. package/dist/julia-cefd45f6.js +0 -496
  87. package/dist/kotlin-b87b6942.js +0 -245
  88. package/dist/less-8a7f37bc.js +0 -168
  89. package/dist/lexon-cb95cd13.js +0 -151
  90. package/dist/liquid-13a0b36f.js +0 -238
  91. package/dist/lua-6d5b3ea4.js +0 -157
  92. package/dist/m3-d0daf5d0.js +0 -210
  93. package/dist/markdown-48bb0c6f.js +0 -202
  94. package/dist/mdx-32e942cd.js +0 -171
  95. package/dist/mips-20dcf886.js +0 -194
  96. package/dist/msdax-e9759e23.js +0 -377
  97. package/dist/mysql-95f335b2.js +0 -876
  98. package/dist/objective-c-ad0cfb47.js +0 -188
  99. package/dist/pascal-eda19dc3.js +0 -245
  100. package/dist/pascaligo-b7e0c89b.js +0 -158
  101. package/dist/perl-bbe5d32a.js +0 -599
  102. package/dist/pgsql-7ebaee1c.js +0 -847
  103. package/dist/php-2526756d.js +0 -471
  104. package/dist/pla-9ebd6f68.js +0 -131
  105. package/dist/postiats-9ac05cf6.js +0 -544
  106. package/dist/powerquery-1cae399d.js +0 -890
  107. package/dist/powershell-093b5b87.js +0 -233
  108. package/dist/protobuf-37993cbc.js +0 -422
  109. package/dist/pug-c2a5db5f.js +0 -393
  110. package/dist/python-37bf24cb.js +0 -259
  111. package/dist/qsharp-1450aac5.js +0 -282
  112. package/dist/r-a0642b90.js +0 -245
  113. package/dist/razor-991b6ccc.js +0 -512
  114. package/dist/redis-405cb63d.js +0 -298
  115. package/dist/redshift-830f82de.js +0 -806
  116. package/dist/restructuredtext-d81f5ef4.js +0 -162
  117. package/dist/ruby-d607b87e.js +0 -444
  118. package/dist/rust-86e74dbb.js +0 -337
  119. package/dist/sb-b7e5010d.js +0 -110
  120. package/dist/scala-a4d4a3c6.js +0 -353
  121. package/dist/scheme-81927e94.js +0 -114
  122. package/dist/scss-3f112fcd.js +0 -244
  123. package/dist/shell-d795bcaa.js +0 -224
  124. package/dist/solidity-5b556d3e.js +0 -1351
  125. package/dist/sophia-1da55998.js +0 -190
  126. package/dist/sparql-ac34318e.js +0 -193
  127. package/dist/sql-eef6393b.js +0 -818
  128. package/dist/st-758b1972.js +0 -415
  129. package/dist/swift-63cb1847.js +0 -315
  130. package/dist/systemverilog-2538c608.js +0 -556
  131. package/dist/tcl-53e6282a.js +0 -232
  132. package/dist/tsMode-018c5c46.js +0 -811
  133. package/dist/twig-80c3dc23.js +0 -323
  134. package/dist/typescript-26297d38.js +0 -328
  135. package/dist/vb-32089525.js +0 -364
  136. package/dist/wgsl-e681d5a0.js +0 -420
  137. package/dist/xml-c99083fc.js +0 -95
  138. package/dist/yaml-0347fb0c.js +0 -184
@@ -1,202 +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
- blockComment: ["<!--", "-->"]
10
- },
11
- brackets: [
12
- ["{", "}"],
13
- ["[", "]"],
14
- ["(", ")"]
15
- ],
16
- autoClosingPairs: [
17
- { open: "{", close: "}" },
18
- { open: "[", close: "]" },
19
- { open: "(", close: ")" },
20
- { open: "<", close: ">", notIn: ["string"] }
21
- ],
22
- surroundingPairs: [
23
- { open: "(", close: ")" },
24
- { open: "[", close: "]" },
25
- { open: "`", close: "`" }
26
- ],
27
- folding: {
28
- markers: {
29
- start: new RegExp("^\\s*<!--\\s*#?region\\b.*-->"),
30
- end: new RegExp("^\\s*<!--\\s*#?endregion\\b.*-->")
31
- }
32
- }
33
- }, t = {
34
- defaultToken: "",
35
- tokenPostfix: ".md",
36
- control: /[\\`*_\[\]{}()#+\-\.!]/,
37
- noncontrol: /[^\\`*_\[\]{}()#+\-\.!]/,
38
- escapes: /\\(?:@control)/,
39
- jsescapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
40
- empty: [
41
- "area",
42
- "base",
43
- "basefont",
44
- "br",
45
- "col",
46
- "frame",
47
- "hr",
48
- "img",
49
- "input",
50
- "isindex",
51
- "link",
52
- "meta",
53
- "param"
54
- ],
55
- tokenizer: {
56
- root: [
57
- [/^\s*\|/, "@rematch", "@table_header"],
58
- [/^(\s{0,3})(#+)((?:[^\\#]|@escapes)+)((?:#+)?)/, ["white", "keyword", "keyword", "keyword"]],
59
- [/^\s*(=+|\-+)\s*$/, "keyword"],
60
- [/^\s*((\*[ ]?)+)\s*$/, "meta.separator"],
61
- [/^\s*>+/, "comment"],
62
- [/^\s*([\*\-+:]|\d+\.)\s/, "keyword"],
63
- [/^(\t|[ ]{4})[^ ].*$/, "string"],
64
- [/^\s*~~~\s*((?:\w|[\/\-#])+)?\s*$/, { token: "string", next: "@codeblock" }],
65
- [
66
- /^\s*```\s*((?:\w|[\/\-#])+).*$/,
67
- { token: "string", next: "@codeblockgh", nextEmbedded: "$1" }
68
- ],
69
- [/^\s*```\s*$/, { token: "string", next: "@codeblock" }],
70
- { include: "@linecontent" }
71
- ],
72
- table_header: [
73
- { include: "@table_common" },
74
- [/[^\|]+/, "keyword.table.header"]
75
- ],
76
- table_body: [{ include: "@table_common" }, { include: "@linecontent" }],
77
- table_common: [
78
- [/\s*[\-:]+\s*/, { token: "keyword", switchTo: "table_body" }],
79
- [/^\s*\|/, "keyword.table.left"],
80
- [/^\s*[^\|]/, "@rematch", "@pop"],
81
- [/^\s*$/, "@rematch", "@pop"],
82
- [
83
- /\|/,
84
- {
85
- cases: {
86
- "@eos": "keyword.table.right",
87
- "@default": "keyword.table.middle"
88
- }
89
- }
90
- ]
91
- ],
92
- codeblock: [
93
- [/^\s*~~~\s*$/, { token: "string", next: "@pop" }],
94
- [/^\s*```\s*$/, { token: "string", next: "@pop" }],
95
- [/.*$/, "variable.source"]
96
- ],
97
- codeblockgh: [
98
- [/```\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
99
- [/[^`]+/, "variable.source"]
100
- ],
101
- linecontent: [
102
- [/&\w+;/, "string.escape"],
103
- [/@escapes/, "escape"],
104
- [/\b__([^\\_]|@escapes|_(?!_))+__\b/, "strong"],
105
- [/\*\*([^\\*]|@escapes|\*(?!\*))+\*\*/, "strong"],
106
- [/\b_[^_]+_\b/, "emphasis"],
107
- [/\*([^\\*]|@escapes)+\*/, "emphasis"],
108
- [/`([^\\`]|@escapes)+`/, "variable"],
109
- [/\{+[^}]+\}+/, "string.target"],
110
- [/(!?\[)((?:[^\]\\]|@escapes)*)(\]\([^\)]+\))/, ["string.link", "", "string.link"]],
111
- [/(!?\[)((?:[^\]\\]|@escapes)*)(\])/, "string.link"],
112
- { include: "html" }
113
- ],
114
- html: [
115
- [/<(\w+)\/>/, "tag"],
116
- [
117
- /<(\w+)(\-|\w)*/,
118
- {
119
- cases: {
120
- "@empty": { token: "tag", next: "@tag.$1" },
121
- "@default": { token: "tag", next: "@tag.$1" }
122
- }
123
- }
124
- ],
125
- [/<\/(\w+)(\-|\w)*\s*>/, { token: "tag" }],
126
- [/<!--/, "comment", "@comment"]
127
- ],
128
- comment: [
129
- [/[^<\-]+/, "comment.content"],
130
- [/-->/, "comment", "@pop"],
131
- [/<!--/, "comment.content.invalid"],
132
- [/[<\-]/, "comment.content"]
133
- ],
134
- tag: [
135
- [/[ \t\r\n]+/, "white"],
136
- [
137
- /(type)(\s*=\s*)(")([^"]+)(")/,
138
- [
139
- "attribute.name.html",
140
- "delimiter.html",
141
- "string.html",
142
- { token: "string.html", switchTo: "@tag.$S2.$4" },
143
- "string.html"
144
- ]
145
- ],
146
- [
147
- /(type)(\s*=\s*)(')([^']+)(')/,
148
- [
149
- "attribute.name.html",
150
- "delimiter.html",
151
- "string.html",
152
- { token: "string.html", switchTo: "@tag.$S2.$4" },
153
- "string.html"
154
- ]
155
- ],
156
- [/(\w+)(\s*=\s*)("[^"]*"|'[^']*')/, ["attribute.name.html", "delimiter.html", "string.html"]],
157
- [/\w+/, "attribute.name.html"],
158
- [/\/>/, "tag", "@pop"],
159
- [
160
- />/,
161
- {
162
- cases: {
163
- "$S2==style": {
164
- token: "tag",
165
- switchTo: "embeddedStyle",
166
- nextEmbedded: "text/css"
167
- },
168
- "$S2==script": {
169
- cases: {
170
- $S3: {
171
- token: "tag",
172
- switchTo: "embeddedScript",
173
- nextEmbedded: "$S3"
174
- },
175
- "@default": {
176
- token: "tag",
177
- switchTo: "embeddedScript",
178
- nextEmbedded: "text/javascript"
179
- }
180
- }
181
- },
182
- "@default": { token: "tag", next: "@pop" }
183
- }
184
- }
185
- ]
186
- ],
187
- embeddedStyle: [
188
- [/[^<]+/, ""],
189
- [/<\/style\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
190
- [/</, ""]
191
- ],
192
- embeddedScript: [
193
- [/[^<]+/, ""],
194
- [/<\/script\s*>/, { token: "@rematch", next: "@pop", nextEmbedded: "@pop" }],
195
- [/</, ""]
196
- ]
197
- }
198
- };
199
- export {
200
- e as conf,
201
- t as language
202
- };
@@ -1,171 +0,0 @@
1
- import { m as d } from "./index-83e46ae3.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 p = Object.defineProperty, c = Object.getOwnPropertyDescriptor, a = Object.getOwnPropertyNames, k = Object.prototype.hasOwnProperty, s = (n, e, i, r) => {
9
- if (e && typeof e == "object" || typeof e == "function")
10
- for (let o of a(e))
11
- !k.call(n, o) && o !== i && p(n, o, { get: () => e[o], enumerable: !(r = c(e, o)) || r.enumerable });
12
- return n;
13
- }, l = (n, e, i) => (s(n, e, "default"), i && s(i, e, "default")), t = {};
14
- l(t, d);
15
- var m = {
16
- comments: {
17
- blockComment: ["{/*", "*/}"]
18
- },
19
- brackets: [["{", "}"]],
20
- autoClosingPairs: [
21
- { open: '"', close: '"' },
22
- { open: "'", close: "'" },
23
- { open: "“", close: "”" },
24
- { open: "‘", close: "’" },
25
- { open: "`", close: "`" },
26
- { open: "{", close: "}" },
27
- { open: "(", close: ")" },
28
- { open: "_", close: "_" },
29
- { open: "**", close: "**" },
30
- { open: "<", close: ">" }
31
- ],
32
- onEnterRules: [
33
- {
34
- beforeText: /^\s*- .+/,
35
- action: { indentAction: t.languages.IndentAction.None, appendText: "- " }
36
- },
37
- {
38
- beforeText: /^\s*\+ .+/,
39
- action: { indentAction: t.languages.IndentAction.None, appendText: "+ " }
40
- },
41
- {
42
- beforeText: /^\s*\* .+/,
43
- action: { indentAction: t.languages.IndentAction.None, appendText: "* " }
44
- },
45
- {
46
- beforeText: /^> /,
47
- action: { indentAction: t.languages.IndentAction.None, appendText: "> " }
48
- },
49
- {
50
- beforeText: /<\w+/,
51
- action: { indentAction: t.languages.IndentAction.Indent }
52
- },
53
- {
54
- beforeText: /\s+>\s*$/,
55
- action: { indentAction: t.languages.IndentAction.Indent }
56
- },
57
- {
58
- beforeText: /<\/\w+>/,
59
- action: { indentAction: t.languages.IndentAction.Outdent }
60
- },
61
- ...Array.from({ length: 100 }, (n, e) => ({
62
- beforeText: new RegExp(`^${e}\\. .+`),
63
- action: { indentAction: t.languages.IndentAction.None, appendText: `${e + 1}. ` }
64
- }))
65
- ]
66
- }, b = {
67
- defaultToken: "",
68
- tokenPostfix: ".mdx",
69
- control: /[!#()*+.[\\\]_`{}\-]/,
70
- escapes: /\\@control/,
71
- tokenizer: {
72
- root: [
73
- [/^---$/, { token: "meta.content", next: "@frontmatter", nextEmbedded: "yaml" }],
74
- [/^\s*import/, { token: "keyword", next: "@import", nextEmbedded: "js" }],
75
- [/^\s*export/, { token: "keyword", next: "@export", nextEmbedded: "js" }],
76
- [/<\w+/, { token: "type.identifier", next: "@jsx" }],
77
- [/<\/?\w+>/, "type.identifier"],
78
- [
79
- /^(\s*)(>*\s*)(#{1,6}\s)/,
80
- [{ token: "white" }, { token: "comment" }, { token: "keyword", next: "@header" }]
81
- ],
82
- [/^(\s*)(>*\s*)([*+-])(\s+)/, ["white", "comment", "keyword", "white"]],
83
- [/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
84
- [/^(\s*)(>*\s*)(\d{1,9}\.)(\s+)/, ["white", "comment", "number", "white"]],
85
- [/^(\s*)(>*\s*)(-{3,}|\*{3,}|_{3,})$/, ["white", "comment", "keyword"]],
86
- [/`{3,}(\s.*)?$/, { token: "string", next: "@codeblock_backtick" }],
87
- [/~{3,}(\s.*)?$/, { token: "string", next: "@codeblock_tilde" }],
88
- [
89
- /`{3,}(\S+).*$/,
90
- { token: "string", next: "@codeblock_highlight_backtick", nextEmbedded: "$1" }
91
- ],
92
- [
93
- /~{3,}(\S+).*$/,
94
- { token: "string", next: "@codeblock_highlight_tilde", nextEmbedded: "$1" }
95
- ],
96
- [/^(\s*)(-{4,})$/, ["white", "comment"]],
97
- [/^(\s*)(>+)/, ["white", "comment"]],
98
- { include: "content" }
99
- ],
100
- content: [
101
- [
102
- /(\[)(.+)(]\()(.+)(\s+".*")(\))/,
103
- ["", "string.link", "", "type.identifier", "string.link", ""]
104
- ],
105
- [/(\[)(.+)(]\()(.+)(\))/, ["", "type.identifier", "", "string.link", ""]],
106
- [/(\[)(.+)(]\[)(.+)(])/, ["", "type.identifier", "", "type.identifier", ""]],
107
- [/(\[)(.+)(]:\s+)(\S*)/, ["", "type.identifier", "", "string.link"]],
108
- [/(\[)(.+)(])/, ["", "type.identifier", ""]],
109
- [/`.*`/, "variable.source"],
110
- [/_/, { token: "emphasis", next: "@emphasis_underscore" }],
111
- [/\*(?!\*)/, { token: "emphasis", next: "@emphasis_asterisk" }],
112
- [/\*\*/, { token: "strong", next: "@strong" }],
113
- [/{/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }]
114
- ],
115
- import: [[/'\s*(;|$)/, { token: "string", next: "@pop", nextEmbedded: "@pop" }]],
116
- expression: [
117
- [/{/, { token: "delimiter.bracket", next: "@expression" }],
118
- [/}/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]
119
- ],
120
- export: [[/^\s*$/, { token: "delimiter.bracket", next: "@pop", nextEmbedded: "@pop" }]],
121
- jsx: [
122
- [/\s+/, ""],
123
- [/(\w+)(=)("(?:[^"\\]|\\.)*")/, ["attribute.name", "operator", "string"]],
124
- [/(\w+)(=)('(?:[^'\\]|\\.)*')/, ["attribute.name", "operator", "string"]],
125
- [/(\w+(?=\s|>|={|$))/, ["attribute.name"]],
126
- [/={/, { token: "delimiter.bracket", next: "@expression", nextEmbedded: "js" }],
127
- [/>/, { token: "type.identifier", next: "@pop" }]
128
- ],
129
- header: [
130
- [/.$/, { token: "keyword", next: "@pop" }],
131
- { include: "content" },
132
- [/./, { token: "keyword" }]
133
- ],
134
- strong: [
135
- [/\*\*/, { token: "strong", next: "@pop" }],
136
- { include: "content" },
137
- [/./, { token: "strong" }]
138
- ],
139
- emphasis_underscore: [
140
- [/_/, { token: "emphasis", next: "@pop" }],
141
- { include: "content" },
142
- [/./, { token: "emphasis" }]
143
- ],
144
- emphasis_asterisk: [
145
- [/\*(?!\*)/, { token: "emphasis", next: "@pop" }],
146
- { include: "content" },
147
- [/./, { token: "emphasis" }]
148
- ],
149
- frontmatter: [[/^---$/, { token: "meta.content", nextEmbedded: "@pop", next: "@pop" }]],
150
- codeblock_highlight_backtick: [
151
- [/\s*`{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
152
- [/.*$/, "variable.source"]
153
- ],
154
- codeblock_highlight_tilde: [
155
- [/\s*~{3,}\s*$/, { token: "string", next: "@pop", nextEmbedded: "@pop" }],
156
- [/.*$/, "variable.source"]
157
- ],
158
- codeblock_backtick: [
159
- [/\s*`{3,}\s*$/, { token: "string", next: "@pop" }],
160
- [/.*$/, "variable.source"]
161
- ],
162
- codeblock_tilde: [
163
- [/\s*~{3,}\s*$/, { token: "string", next: "@pop" }],
164
- [/.*$/, "variable.source"]
165
- ]
166
- }
167
- };
168
- export {
169
- m as conf,
170
- b as language
171
- };
@@ -1,194 +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
- folding: {
14
- markers: {
15
- start: new RegExp("^\\s*#region\\b"),
16
- end: new RegExp("^\\s*#endregion\\b")
17
- }
18
- }
19
- }, t = {
20
- defaultToken: "",
21
- ignoreCase: !1,
22
- tokenPostfix: ".mips",
23
- regEx: /\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,
24
- keywords: [
25
- ".data",
26
- ".text",
27
- "syscall",
28
- "trap",
29
- "add",
30
- "addu",
31
- "addi",
32
- "addiu",
33
- "and",
34
- "andi",
35
- "div",
36
- "divu",
37
- "mult",
38
- "multu",
39
- "nor",
40
- "or",
41
- "ori",
42
- "sll",
43
- "slv",
44
- "sra",
45
- "srav",
46
- "srl",
47
- "srlv",
48
- "sub",
49
- "subu",
50
- "xor",
51
- "xori",
52
- "lhi",
53
- "lho",
54
- "lhi",
55
- "llo",
56
- "slt",
57
- "slti",
58
- "sltu",
59
- "sltiu",
60
- "beq",
61
- "bgtz",
62
- "blez",
63
- "bne",
64
- "j",
65
- "jal",
66
- "jalr",
67
- "jr",
68
- "lb",
69
- "lbu",
70
- "lh",
71
- "lhu",
72
- "lw",
73
- "li",
74
- "la",
75
- "sb",
76
- "sh",
77
- "sw",
78
- "mfhi",
79
- "mflo",
80
- "mthi",
81
- "mtlo",
82
- "move"
83
- ],
84
- symbols: /[\.,\:]+/,
85
- escapes: /\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
86
- tokenizer: {
87
- root: [
88
- [/\$[a-zA-Z_]\w*/, "variable.predefined"],
89
- [
90
- /[.a-zA-Z_]\w*/,
91
- {
92
- cases: {
93
- this: "variable.predefined",
94
- "@keywords": { token: "keyword.$0" },
95
- "@default": ""
96
- }
97
- }
98
- ],
99
- [/[ \t\r\n]+/, ""],
100
- [/#.*$/, "comment"],
101
- ["///", { token: "regexp", next: "@hereregexp" }],
102
- [/^(\s*)(@regEx)/, ["", "regexp"]],
103
- [/(\,)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
104
- [/(\:)(\s*)(@regEx)/, ["delimiter", "", "regexp"]],
105
- [/@symbols/, "delimiter"],
106
- [/\d+[eE]([\-+]?\d+)?/, "number.float"],
107
- [/\d+\.\d+([eE][\-+]?\d+)?/, "number.float"],
108
- [/0[xX][0-9a-fA-F]+/, "number.hex"],
109
- [/0[0-7]+(?!\d)/, "number.octal"],
110
- [/\d+/, "number"],
111
- [/[,.]/, "delimiter"],
112
- [/"""/, "string", '@herestring."""'],
113
- [/'''/, "string", "@herestring.'''"],
114
- [
115
- /"/,
116
- {
117
- cases: {
118
- "@eos": "string",
119
- "@default": { token: "string", next: '@string."' }
120
- }
121
- }
122
- ],
123
- [
124
- /'/,
125
- {
126
- cases: {
127
- "@eos": "string",
128
- "@default": { token: "string", next: "@string.'" }
129
- }
130
- }
131
- ]
132
- ],
133
- string: [
134
- [/[^"'\#\\]+/, "string"],
135
- [/@escapes/, "string.escape"],
136
- [/\./, "string.escape.invalid"],
137
- [/\./, "string.escape.invalid"],
138
- [
139
- /#{/,
140
- {
141
- cases: {
142
- '$S2=="': {
143
- token: "string",
144
- next: "root.interpolatedstring"
145
- },
146
- "@default": "string"
147
- }
148
- }
149
- ],
150
- [
151
- /["']/,
152
- {
153
- cases: {
154
- "$#==$S2": { token: "string", next: "@pop" },
155
- "@default": "string"
156
- }
157
- }
158
- ],
159
- [/#/, "string"]
160
- ],
161
- herestring: [
162
- [
163
- /("""|''')/,
164
- {
165
- cases: {
166
- "$1==$S2": { token: "string", next: "@pop" },
167
- "@default": "string"
168
- }
169
- }
170
- ],
171
- [/[^#\\'"]+/, "string"],
172
- [/['"]+/, "string"],
173
- [/@escapes/, "string.escape"],
174
- [/\./, "string.escape.invalid"],
175
- [/#{/, { token: "string.quote", next: "root.interpolatedstring" }],
176
- [/#/, "string"]
177
- ],
178
- comment: [
179
- [/[^#]+/, "comment"],
180
- [/#/, "comment"]
181
- ],
182
- hereregexp: [
183
- [/[^\\\/#]+/, "regexp"],
184
- [/\\./, "regexp"],
185
- [/#.*$/, "comment"],
186
- ["///[igm]*", { token: "regexp", next: "@pop" }],
187
- [/\//, "regexp"]
188
- ]
189
- }
190
- };
191
- export {
192
- e as conf,
193
- t as language
194
- };