@devtron-labs/devtron-fe-common-lib 1.2.1 → 1.2.2-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 (249) hide show
  1. package/dist/@code-editor-BsdZTvHu.js +19421 -0
  2. package/dist/@common-rjsf-NJ6D4ODl.js +571 -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/@vendor-RU8AW1bK.js +20473 -0
  9. package/dist/Common/Constants.d.ts +1 -0
  10. package/dist/Common/CustomTagSelector/ResizableTagTextArea.d.ts +1 -1
  11. package/dist/Common/CustomTagSelector/Types.d.ts +19 -14
  12. package/dist/Common/Helper.d.ts +2 -1
  13. package/dist/Common/Types.d.ts +20 -2
  14. package/dist/Shared/Components/DynamicDataTable/DynamicDataTable.d.ts +2 -0
  15. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableHeader.d.ts +2 -0
  16. package/dist/Shared/Components/DynamicDataTable/DynamicDataTableRow.d.ts +2 -0
  17. package/dist/Shared/Components/DynamicDataTable/index.d.ts +2 -0
  18. package/dist/Shared/Components/DynamicDataTable/types.d.ts +165 -0
  19. package/dist/Shared/Components/DynamicDataTable/utils.d.ts +5 -0
  20. package/dist/Shared/Components/SelectPicker/type.d.ts +5 -4
  21. package/dist/Shared/Components/SelectTextArea/SelectTextArea.d.ts +2 -0
  22. package/dist/Shared/Components/SelectTextArea/index.d.ts +2 -0
  23. package/dist/Shared/Components/SelectTextArea/types.d.ts +12 -0
  24. package/dist/Shared/Components/index.d.ts +1 -0
  25. package/dist/Shared/types.d.ts +19 -1
  26. package/dist/assets/@code-editor.css +1 -0
  27. package/dist/assets/@common-rjsf.css +1 -0
  28. package/dist/assets/@monaco-editor.css +1 -0
  29. package/dist/assets/@react-dates.css +1 -0
  30. package/dist/assets/@vendor.css +1 -0
  31. package/dist/assets/app-not-deployed.acdf0271.png +0 -0
  32. package/dist/assets/delete-medium.baa284da.svg +1 -0
  33. package/dist/assets/empty-noresult@2x.022ec87c.png +0 -0
  34. package/dist/assets/ic-abort.0d2773e9.svg +1 -0
  35. package/dist/assets/ic-aborted.e7288a6c.svg +1 -0
  36. package/dist/assets/ic-add.cfaa779b.svg +1 -0
  37. package/dist/assets/ic-appstatus-cancelled.05bb3352.svg +1 -0
  38. package/dist/assets/ic-arrow-backward.d951202a.svg +1 -0
  39. package/dist/assets/ic-arrow-counter-clockwise.01cbb0e1.svg +1 -0
  40. package/dist/assets/ic-arrow-down.18e5e332.svg +1 -0
  41. package/dist/assets/ic-arrow-forward.a2b8ab45.svg +1 -0
  42. package/dist/assets/ic-arrow-out.6aea09d0.svg +1 -0
  43. package/dist/assets/ic-arrow-right.f942ee03.svg +1 -0
  44. package/dist/assets/ic-arrow-square-out.1be837ac.svg +1 -0
  45. package/dist/assets/ic-arrow-up-down.945ee496.svg +1 -0
  46. package/dist/assets/ic-bold.2140b7c6.svg +1 -0
  47. package/dist/assets/ic-book-open.7cb94ee8.svg +1 -0
  48. package/dist/assets/ic-bot.f1d4abcc.svg +1 -0
  49. package/dist/assets/ic-branch.8db43d66.svg +1 -0
  50. package/dist/assets/ic-calendar.984accc5.svg +1 -0
  51. package/dist/assets/ic-calender-blank.963e3423.svg +1 -0
  52. package/dist/assets/ic-caret-down-small.2cc24039.svg +1 -0
  53. package/dist/assets/ic-caret-down.1666c029.svg +1 -0
  54. package/dist/assets/ic-caret-left-small.fe00c98d.svg +1 -0
  55. package/dist/assets/ic-charts.f41e185f.svg +1 -0
  56. package/dist/assets/ic-chat-circle-dots.e15514f8.svg +1 -0
  57. package/dist/assets/ic-check-all.0376437d.svg +1 -0
  58. package/dist/assets/ic-check-circle.ad80d835.svg +1 -0
  59. package/dist/assets/ic-check-grey.f556e371.svg +1 -0
  60. package/dist/assets/ic-check-square.2a3d3fb9.svg +1 -0
  61. package/dist/assets/ic-check.27c51fa1.svg +1 -0
  62. package/dist/assets/ic-checked-list.aba26c40.svg +1 -0
  63. package/dist/assets/ic-chevron-down.fc70d7a7.svg +1 -0
  64. package/dist/assets/ic-circle.05f86ff6.svg +1 -0
  65. package/dist/assets/ic-clair.ba79956f.svg +1 -0
  66. package/dist/assets/ic-clear-square.e60de021.svg +1 -0
  67. package/dist/assets/ic-clock.c21a2d14.svg +1 -0
  68. package/dist/assets/ic-close.43adc42a.svg +1 -0
  69. package/dist/assets/ic-code-commit.161a6b3c.svg +1 -0
  70. package/dist/assets/ic-code.1d1d4dd8.svg +1 -0
  71. package/dist/assets/ic-collapse-all.fd7b27b1.svg +1 -0
  72. package/dist/assets/ic-commit.e3113dd9.svg +1 -0
  73. package/dist/assets/ic-compare.0ee3e4cf.svg +1 -0
  74. package/dist/assets/ic-copy.94cee0fb.svg +1 -0
  75. package/dist/assets/ic-cpu.8be677ee.svg +1 -0
  76. package/dist/assets/ic-cross.01e03666.svg +1 -0
  77. package/dist/assets/ic-delete-interactive.304dd293.svg +1 -0
  78. package/dist/assets/ic-diff-file-added.0deb6763.svg +1 -0
  79. package/dist/assets/ic-diff-file-removed.2ed80281.svg +1 -0
  80. package/dist/assets/ic-diff-file-updated.c8740f72.svg +1 -0
  81. package/dist/assets/ic-disconnected.551d6161.svg +1 -0
  82. package/dist/assets/ic-discord-fill.1a1b291d.svg +1 -0
  83. package/dist/assets/ic-docker.48906f4d.svg +1 -0
  84. package/dist/assets/ic-download.c30437cd.svg +1 -0
  85. package/dist/assets/ic-drag.3f71e8aa.svg +1 -0
  86. package/dist/assets/ic-edit-file.a782640f.svg +1 -0
  87. package/dist/assets/ic-enter.cab07082.svg +1 -0
  88. package/dist/assets/ic-error-cross.bf21e563.svg +1 -0
  89. package/dist/assets/ic-error-exclamation.c224de09.svg +1 -0
  90. package/dist/assets/ic-error-medium.ea542259.svg +1 -0
  91. package/dist/assets/ic-error.a25d2f0d.svg +1 -0
  92. package/dist/assets/ic-errorInfo.d8d674b8.svg +1 -0
  93. package/dist/assets/ic-exit-fullscreen.1ae582d1.svg +1 -0
  94. package/dist/assets/ic-expand-all.a0744f9f.svg +1 -0
  95. package/dist/assets/ic-expand.ab992205.svg +1 -0
  96. package/dist/assets/ic-feedback.d32fa6b0.svg +1 -0
  97. package/dist/assets/ic-file-code.21a1f748.svg +1 -0
  98. package/dist/assets/ic-file-text.f9563710.svg +1 -0
  99. package/dist/assets/ic-files.fc290dee.svg +1 -0
  100. package/dist/assets/ic-filter-applied.9fc48d0f.svg +1 -0
  101. package/dist/assets/ic-filter.8f403d6f.svg +1 -0
  102. package/dist/assets/ic-folder.051cd30d.svg +1 -0
  103. package/dist/assets/ic-fullscreen-2.f138a5e8.svg +1 -0
  104. package/dist/assets/ic-fullscreen.b05e5087.svg +1 -0
  105. package/dist/assets/ic-hash.cd11c334.svg +1 -0
  106. package/dist/assets/ic-header.a91a9800.svg +1 -0
  107. package/dist/assets/ic-help-outline.9c012a0c.svg +1 -0
  108. package/dist/assets/ic-help.39c58c34.svg +1 -0
  109. package/dist/assets/ic-image.2a8ed117.svg +1 -0
  110. package/dist/assets/ic-in-progress.0598554b.svg +1 -0
  111. package/dist/assets/ic-info-filled-override.99e8094a.svg +1 -0
  112. package/dist/assets/ic-info-filled.4b0b46d1.svg +1 -0
  113. package/dist/assets/ic-info-outline.f4be8a1e.svg +1 -0
  114. package/dist/assets/ic-info-outlined.f4fa3224.svg +1 -0
  115. package/dist/assets/ic-italic.358ca070.svg +1 -0
  116. package/dist/assets/ic-k8s-job.f4414c10.svg +1 -0
  117. package/dist/assets/ic-lego-block.ee4b63f1.svg +1 -0
  118. package/dist/assets/ic-lines.395ef3db.svg +1 -0
  119. package/dist/assets/ic-link.8453e775.svg +1 -0
  120. package/dist/assets/ic-loading-failure.aa68693d.png +0 -0
  121. package/dist/assets/ic-locked.3b9eff02.svg +1 -0
  122. package/dist/assets/ic-mechanical-operation.08b38afd.svg +1 -0
  123. package/dist/assets/ic-medium-info.eee4a07b.svg +1 -0
  124. package/dist/assets/ic-megaphone.b9f9a901.svg +1 -0
  125. package/dist/assets/ic-memory.c4159f96.svg +1 -0
  126. package/dist/assets/ic-message.be6dba43.svg +1 -0
  127. package/dist/assets/ic-minus.df865aaf.svg +1 -0
  128. package/dist/assets/ic-nav-rocket.9e50bb61.svg +1 -0
  129. package/dist/assets/ic-not-authorized.2d8e208f.svg +1 -0
  130. package/dist/assets/ic-not-found.86f588bf.svg +1 -0
  131. package/dist/assets/ic-onboarding.c98f9ef9.svg +1 -0
  132. package/dist/assets/ic-open-in-new.6aea09d0.svg +1 -0
  133. package/dist/assets/ic-ordered-list.879dc7c8.svg +1 -0
  134. package/dist/assets/ic-page-not-found.da74a367.svg +1 -0
  135. package/dist/assets/ic-pencil.c75a6acc.svg +1 -0
  136. package/dist/assets/ic-person.f78738ac.svg +1 -0
  137. package/dist/assets/ic-pull-request.31d0c981.svg +1 -0
  138. package/dist/assets/ic-pulsate-status.9264740e.svg +1 -0
  139. package/dist/assets/ic-quote.10768489.svg +1 -0
  140. package/dist/assets/ic-regex.e14a4ea3.svg +1 -0
  141. package/dist/assets/ic-rocket-fail.874e54ce.svg +1 -0
  142. package/dist/assets/ic-rotate-devtron.200e165b.svg +1 -0
  143. package/dist/assets/ic-search.976327f1.svg +1 -0
  144. package/dist/assets/ic-sort-arrow-down.5cf54d08.svg +1 -0
  145. package/dist/assets/ic-stamp.8689f42d.svg +1 -0
  146. package/dist/assets/ic-strikethrough.a1652ad9.svg +1 -0
  147. package/dist/assets/ic-success.8c8fe69d.svg +1 -0
  148. package/dist/assets/ic-tag.1613fc59.svg +1 -0
  149. package/dist/assets/ic-timeout-red.5eda1010.svg +1 -0
  150. package/dist/assets/ic-timer.b62145ec.svg +1 -0
  151. package/dist/assets/ic-trivy.d5338454.svg +1 -0
  152. package/dist/assets/ic-unordered-list.42c1cbbc.svg +1 -0
  153. package/dist/assets/ic-view-variable-toggle.c335dfa0.svg +1 -0
  154. package/dist/assets/ic-vulnerability-not-found.d8a4d43c.svg +1 -0
  155. package/dist/assets/ic-warning-y5.2ad9d7f4.svg +1 -0
  156. package/dist/assets/ic-warning.10bcf8bd.svg +1 -0
  157. package/dist/assets/ic-webhook.d4431b07.svg +1 -0
  158. package/dist/assets/ic-world.1f6a5eaf.svg +1 -0
  159. package/dist/assets/inject-tag.28e72db6.svg +1 -0
  160. package/dist/assets/lifebuoy.7d8fdf27.png +0 -0
  161. package/dist/assets/no-artifact@2x.6afc74bc.png +0 -0
  162. package/dist/index.js +474 -468
  163. package/package.json +9 -6
  164. package/dist/abap-DttVK1gE.js +0 -1314
  165. package/dist/apex-BjfHvyb2.js +0 -315
  166. package/dist/assets/index.css +0 -1
  167. package/dist/azcli-Ws-Trf8e.js +0 -74
  168. package/dist/bat-CeCHpU9_.js +0 -95
  169. package/dist/bicep-C7a7aEmi.js +0 -108
  170. package/dist/cameligo-CJeEIvX4.js +0 -168
  171. package/dist/clojure-CEKXhLdU.js +0 -754
  172. package/dist/coffee-CKu3e6V1.js +0 -228
  173. package/dist/cpp-CvUiT5Ec.js +0 -390
  174. package/dist/csharp-PmU9HJkB.js +0 -320
  175. package/dist/csp-DULvRLPF.js +0 -57
  176. package/dist/css-CNWXQPpt.js +0 -186
  177. package/dist/cssMode-BwIubxAf.js +0 -1446
  178. package/dist/cypher-CYHOQS2R.js +0 -262
  179. package/dist/dart-BjGx-9Jk.js +0 -270
  180. package/dist/dockerfile-D0WaVIZ2.js +0 -132
  181. package/dist/ecl-CijaJu-p.js +0 -454
  182. package/dist/elixir-BI5Tc37S.js +0 -489
  183. package/dist/flow9-BApGtQOO.js +0 -141
  184. package/dist/freemarker2-Dn_s71Cb.js +0 -643
  185. package/dist/fsharp-VeKgt2eG.js +0 -210
  186. package/dist/go-Cl8cKDlN.js +0 -208
  187. package/dist/graphql-PfgPBmj4.js +0 -141
  188. package/dist/handlebars-Vf7Trm2J.js +0 -391
  189. package/dist/hcl-CG4VZSkm.js +0 -177
  190. package/dist/html-CpqIDz48.js +0 -281
  191. package/dist/htmlMode-DcWZDkAT.js +0 -1456
  192. package/dist/index-BJNO-ng7.js +0 -163447
  193. package/dist/ini-EhiBNPZF.js +0 -68
  194. package/dist/java-DPbnXhoY.js +0 -221
  195. package/dist/javascript-BBE6BZiS.js +0 -75
  196. package/dist/jsonMode-C1oLrBG3.js +0 -1866
  197. package/dist/julia-Bw7EYexg.js +0 -496
  198. package/dist/kotlin-BNXLDoV0.js +0 -245
  199. package/dist/less-DtuF_id_.js +0 -168
  200. package/dist/lexon-DpB0-37O.js +0 -151
  201. package/dist/liquid-BZNbXt_g.js +0 -238
  202. package/dist/lua-CzRNOk9S.js +0 -157
  203. package/dist/m3-pXPmDwal.js +0 -210
  204. package/dist/markdown-CeQ3rxjn.js +0 -202
  205. package/dist/mdx-BYFrSBEp.js +0 -171
  206. package/dist/mips-DyE0VSNz.js +0 -194
  207. package/dist/msdax-CbdkoqRa.js +0 -377
  208. package/dist/mysql-B86-uHNu.js +0 -876
  209. package/dist/objective-c-1xvkKPId.js +0 -188
  210. package/dist/pascal-DcyFhj80.js +0 -245
  211. package/dist/pascaligo-QnM0hvMG.js +0 -158
  212. package/dist/perl-Bqp3FbU4.js +0 -599
  213. package/dist/pgsql-HdG7BG_Z.js +0 -847
  214. package/dist/php-zf7L2p7t.js +0 -471
  215. package/dist/pla-3Ykqsyzl.js +0 -131
  216. package/dist/postiats-D1v08O4B.js +0 -544
  217. package/dist/powerquery-CiQ9b1-b.js +0 -890
  218. package/dist/powershell-DFNK6VaX.js +0 -233
  219. package/dist/protobuf-D5P2Z6tc.js +0 -422
  220. package/dist/pug-BeyMX5am.js +0 -393
  221. package/dist/python-B4eUWeOE.js +0 -259
  222. package/dist/qsharp-DcFOTjuP.js +0 -282
  223. package/dist/r-B3aJPcWp.js +0 -245
  224. package/dist/razor-BdW-c8kb.js +0 -512
  225. package/dist/redis-CyC__Tub.js +0 -298
  226. package/dist/redshift-NqbcQPcY.js +0 -806
  227. package/dist/restructuredtext-CZMxBkap.js +0 -162
  228. package/dist/ruby-C_jEtDv5.js +0 -444
  229. package/dist/rust-WAeitMCC.js +0 -337
  230. package/dist/sb-CSBm2pED.js +0 -110
  231. package/dist/scala-D76PhKmh.js +0 -353
  232. package/dist/scheme-CBSAjRuO.js +0 -114
  233. package/dist/scss-BHY8wFFg.js +0 -244
  234. package/dist/shell-Cwju9_l8.js +0 -224
  235. package/dist/solidity-BV1-nze3.js +0 -1351
  236. package/dist/sophia-DfoUlGAs.js +0 -190
  237. package/dist/sparql-4kfArTtK.js +0 -193
  238. package/dist/sql-DIpn0HSX.js +0 -818
  239. package/dist/st-BgJ_KDZh.js +0 -415
  240. package/dist/swift-D-ucEgIi.js +0 -315
  241. package/dist/systemverilog-DjkH5zuo.js +0 -556
  242. package/dist/tcl-gd8XLKJA.js +0 -232
  243. package/dist/tsMode-nSp3XKbP.js +0 -810
  244. package/dist/twig-D5XtTFGM.js +0 -323
  245. package/dist/typescript-BKssCHzW.js +0 -328
  246. package/dist/vb-DYqqYAf3.js +0 -364
  247. package/dist/wgsl-CkZE0qf3.js +0 -420
  248. package/dist/xml-Dp1OMsuE.js +0 -95
  249. package/dist/yaml-jWo4JOLk.js +0 -184
@@ -1,320 +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
- lineComment: "//",
11
- blockComment: ["/*", "*/"]
12
- },
13
- brackets: [
14
- ["{", "}"],
15
- ["[", "]"],
16
- ["(", ")"]
17
- ],
18
- autoClosingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: "'", close: "'", notIn: ["string", "comment"] },
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
- folding: {
34
- markers: {
35
- start: new RegExp("^\\s*#region\\b"),
36
- end: new RegExp("^\\s*#endregion\\b")
37
- }
38
- }
39
- }, t = {
40
- defaultToken: "",
41
- tokenPostfix: ".cs",
42
- brackets: [
43
- { open: "{", close: "}", token: "delimiter.curly" },
44
- { open: "[", close: "]", token: "delimiter.square" },
45
- { open: "(", close: ")", token: "delimiter.parenthesis" },
46
- { open: "<", close: ">", token: "delimiter.angle" }
47
- ],
48
- keywords: [
49
- "extern",
50
- "alias",
51
- "using",
52
- "bool",
53
- "decimal",
54
- "sbyte",
55
- "byte",
56
- "short",
57
- "ushort",
58
- "int",
59
- "uint",
60
- "long",
61
- "ulong",
62
- "char",
63
- "float",
64
- "double",
65
- "object",
66
- "dynamic",
67
- "string",
68
- "assembly",
69
- "is",
70
- "as",
71
- "ref",
72
- "out",
73
- "this",
74
- "base",
75
- "new",
76
- "typeof",
77
- "void",
78
- "checked",
79
- "unchecked",
80
- "default",
81
- "delegate",
82
- "var",
83
- "const",
84
- "if",
85
- "else",
86
- "switch",
87
- "case",
88
- "while",
89
- "do",
90
- "for",
91
- "foreach",
92
- "in",
93
- "break",
94
- "continue",
95
- "goto",
96
- "return",
97
- "throw",
98
- "try",
99
- "catch",
100
- "finally",
101
- "lock",
102
- "yield",
103
- "from",
104
- "let",
105
- "where",
106
- "join",
107
- "on",
108
- "equals",
109
- "into",
110
- "orderby",
111
- "ascending",
112
- "descending",
113
- "select",
114
- "group",
115
- "by",
116
- "namespace",
117
- "partial",
118
- "class",
119
- "field",
120
- "event",
121
- "method",
122
- "param",
123
- "public",
124
- "protected",
125
- "internal",
126
- "private",
127
- "abstract",
128
- "sealed",
129
- "static",
130
- "struct",
131
- "readonly",
132
- "volatile",
133
- "virtual",
134
- "override",
135
- "params",
136
- "get",
137
- "set",
138
- "add",
139
- "remove",
140
- "operator",
141
- "true",
142
- "false",
143
- "implicit",
144
- "explicit",
145
- "interface",
146
- "enum",
147
- "null",
148
- "async",
149
- "await",
150
- "fixed",
151
- "sizeof",
152
- "stackalloc",
153
- "unsafe",
154
- "nameof",
155
- "when"
156
- ],
157
- namespaceFollows: ["namespace", "using"],
158
- parenFollows: ["if", "for", "while", "switch", "foreach", "using", "catch", "when"],
159
- operators: [
160
- "=",
161
- "??",
162
- "||",
163
- "&&",
164
- "|",
165
- "^",
166
- "&",
167
- "==",
168
- "!=",
169
- "<=",
170
- ">=",
171
- "<<",
172
- "+",
173
- "-",
174
- "*",
175
- "/",
176
- "%",
177
- "!",
178
- "~",
179
- "++",
180
- "--",
181
- "+=",
182
- "-=",
183
- "*=",
184
- "/=",
185
- "%=",
186
- "&=",
187
- "|=",
188
- "^=",
189
- "<<=",
190
- ">>=",
191
- ">>",
192
- "=>"
193
- ],
194
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
195
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
196
- tokenizer: {
197
- root: [
198
- [
199
- /\@?[a-zA-Z_]\w*/,
200
- {
201
- cases: {
202
- "@namespaceFollows": {
203
- token: "keyword.$0",
204
- next: "@namespace"
205
- },
206
- "@keywords": {
207
- token: "keyword.$0",
208
- next: "@qualified"
209
- },
210
- "@default": { token: "identifier", next: "@qualified" }
211
- }
212
- }
213
- ],
214
- { include: "@whitespace" },
215
- [
216
- /}/,
217
- {
218
- cases: {
219
- "$S2==interpolatedstring": {
220
- token: "string.quote",
221
- next: "@pop"
222
- },
223
- "$S2==litinterpstring": {
224
- token: "string.quote",
225
- next: "@pop"
226
- },
227
- "@default": "@brackets"
228
- }
229
- }
230
- ],
231
- [/[{}()\[\]]/, "@brackets"],
232
- [/[<>](?!@symbols)/, "@brackets"],
233
- [
234
- /@symbols/,
235
- {
236
- cases: {
237
- "@operators": "delimiter",
238
- "@default": ""
239
- }
240
- }
241
- ],
242
- [/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/, "number.float"],
243
- [/0[xX][0-9a-fA-F_]+/, "number.hex"],
244
- [/0[bB][01_]+/, "number.hex"],
245
- [/[0-9_]+/, "number"],
246
- [/[;,.]/, "delimiter"],
247
- [/"([^"\\]|\\.)*$/, "string.invalid"],
248
- [/"/, { token: "string.quote", next: "@string" }],
249
- [/\$\@"/, { token: "string.quote", next: "@litinterpstring" }],
250
- [/\@"/, { token: "string.quote", next: "@litstring" }],
251
- [/\$"/, { token: "string.quote", next: "@interpolatedstring" }],
252
- [/'[^\\']'/, "string"],
253
- [/(')(@escapes)(')/, ["string", "string.escape", "string"]],
254
- [/'/, "string.invalid"]
255
- ],
256
- qualified: [
257
- [
258
- /[a-zA-Z_][\w]*/,
259
- {
260
- cases: {
261
- "@keywords": { token: "keyword.$0" },
262
- "@default": "identifier"
263
- }
264
- }
265
- ],
266
- [/\./, "delimiter"],
267
- ["", "", "@pop"]
268
- ],
269
- namespace: [
270
- { include: "@whitespace" },
271
- [/[A-Z]\w*/, "namespace"],
272
- [/[\.=]/, "delimiter"],
273
- ["", "", "@pop"]
274
- ],
275
- comment: [
276
- [/[^\/*]+/, "comment"],
277
- ["\\*/", "comment", "@pop"],
278
- [/[\/*]/, "comment"]
279
- ],
280
- string: [
281
- [/[^\\"]+/, "string"],
282
- [/@escapes/, "string.escape"],
283
- [/\\./, "string.escape.invalid"],
284
- [/"/, { token: "string.quote", next: "@pop" }]
285
- ],
286
- litstring: [
287
- [/[^"]+/, "string"],
288
- [/""/, "string.escape"],
289
- [/"/, { token: "string.quote", next: "@pop" }]
290
- ],
291
- litinterpstring: [
292
- [/[^"{]+/, "string"],
293
- [/""/, "string.escape"],
294
- [/{{/, "string.escape"],
295
- [/}}/, "string.escape"],
296
- [/{/, { token: "string.quote", next: "root.litinterpstring" }],
297
- [/"/, { token: "string.quote", next: "@pop" }]
298
- ],
299
- interpolatedstring: [
300
- [/[^\\"{]+/, "string"],
301
- [/@escapes/, "string.escape"],
302
- [/\\./, "string.escape.invalid"],
303
- [/{{/, "string.escape"],
304
- [/}}/, "string.escape"],
305
- [/{/, { token: "string.quote", next: "root.interpolatedstring" }],
306
- [/"/, { token: "string.quote", next: "@pop" }]
307
- ],
308
- whitespace: [
309
- [/^[ \t\v\f]*#((r)|(load))(?=\s)/, "directive.csx"],
310
- [/^[ \t\v\f]*#\w.*$/, "namespace.cpp"],
311
- [/[ \t\v\f\r\n]+/, ""],
312
- [/\/\*/, "comment", "@comment"],
313
- [/\/\/.*$/, "comment"]
314
- ]
315
- }
316
- };
317
- export {
318
- e as conf,
319
- t as language
320
- };
@@ -1,57 +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 t = {
8
- brackets: [],
9
- autoClosingPairs: [],
10
- surroundingPairs: []
11
- }, r = {
12
- keywords: [],
13
- typeKeywords: [],
14
- tokenPostfix: ".csp",
15
- operators: [],
16
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
17
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
18
- tokenizer: {
19
- root: [
20
- [/child-src/, "string.quote"],
21
- [/connect-src/, "string.quote"],
22
- [/default-src/, "string.quote"],
23
- [/font-src/, "string.quote"],
24
- [/frame-src/, "string.quote"],
25
- [/img-src/, "string.quote"],
26
- [/manifest-src/, "string.quote"],
27
- [/media-src/, "string.quote"],
28
- [/object-src/, "string.quote"],
29
- [/script-src/, "string.quote"],
30
- [/style-src/, "string.quote"],
31
- [/worker-src/, "string.quote"],
32
- [/base-uri/, "string.quote"],
33
- [/plugin-types/, "string.quote"],
34
- [/sandbox/, "string.quote"],
35
- [/disown-opener/, "string.quote"],
36
- [/form-action/, "string.quote"],
37
- [/frame-ancestors/, "string.quote"],
38
- [/report-uri/, "string.quote"],
39
- [/report-to/, "string.quote"],
40
- [/upgrade-insecure-requests/, "string.quote"],
41
- [/block-all-mixed-content/, "string.quote"],
42
- [/require-sri-for/, "string.quote"],
43
- [/reflected-xss/, "string.quote"],
44
- [/referrer/, "string.quote"],
45
- [/policy-uri/, "string.quote"],
46
- [/'self'/, "string.quote"],
47
- [/'unsafe-inline'/, "string.quote"],
48
- [/'unsafe-eval'/, "string.quote"],
49
- [/'strict-dynamic'/, "string.quote"],
50
- [/'unsafe-hashed-attributes'/, "string.quote"]
51
- ]
52
- }
53
- };
54
- export {
55
- t as conf,
56
- r as language
57
- };
@@ -1,186 +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*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,
9
- comments: {
10
- blockComment: ["/*", "*/"]
11
- },
12
- brackets: [
13
- ["{", "}"],
14
- ["[", "]"],
15
- ["(", ")"]
16
- ],
17
- autoClosingPairs: [
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
- { open: "'", close: "'", notIn: ["string", "comment"] }
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*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),
34
- end: new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")
35
- }
36
- }
37
- }, t = {
38
- defaultToken: "",
39
- tokenPostfix: ".css",
40
- ws: `[
41
- \r\f]*`,
42
- identifier: "-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",
43
- brackets: [
44
- { open: "{", close: "}", token: "delimiter.bracket" },
45
- { open: "[", close: "]", token: "delimiter.bracket" },
46
- { open: "(", close: ")", token: "delimiter.parenthesis" },
47
- { open: "<", close: ">", token: "delimiter.angle" }
48
- ],
49
- tokenizer: {
50
- root: [{ include: "@selector" }],
51
- selector: [
52
- { include: "@comments" },
53
- { include: "@import" },
54
- { include: "@strings" },
55
- [
56
- "[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",
57
- { token: "keyword", next: "@keyframedeclaration" }
58
- ],
59
- ["[@](page|content|font-face|-moz-document)", { token: "keyword" }],
60
- ["[@](charset|namespace)", { token: "keyword", next: "@declarationbody" }],
61
- [
62
- "(url-prefix)(\\()",
63
- ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
64
- ],
65
- [
66
- "(url)(\\()",
67
- ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
68
- ],
69
- { include: "@selectorname" },
70
- ["[\\*]", "tag"],
71
- ["[>\\+,]", "delimiter"],
72
- ["\\[", { token: "delimiter.bracket", next: "@selectorattribute" }],
73
- ["{", { token: "delimiter.bracket", next: "@selectorbody" }]
74
- ],
75
- selectorbody: [
76
- { include: "@comments" },
77
- ["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))", "attribute.name", "@rulevalue"],
78
- ["}", { token: "delimiter.bracket", next: "@pop" }]
79
- ],
80
- selectorname: [
81
- ["(\\.|#(?=[^{])|%|(@identifier)|:)+", "tag"]
82
- ],
83
- selectorattribute: [{ include: "@term" }, ["]", { token: "delimiter.bracket", next: "@pop" }]],
84
- term: [
85
- { include: "@comments" },
86
- [
87
- "(url-prefix)(\\()",
88
- ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
89
- ],
90
- [
91
- "(url)(\\()",
92
- ["attribute.value", { token: "delimiter.parenthesis", next: "@urldeclaration" }]
93
- ],
94
- { include: "@functioninvocation" },
95
- { include: "@numbers" },
96
- { include: "@name" },
97
- { include: "@strings" },
98
- ["([<>=\\+\\-\\*\\/\\^\\|\\~,])", "delimiter"],
99
- [",", "delimiter"]
100
- ],
101
- rulevalue: [
102
- { include: "@comments" },
103
- { include: "@strings" },
104
- { include: "@term" },
105
- ["!important", "keyword"],
106
- [";", "delimiter", "@pop"],
107
- ["(?=})", { token: "", next: "@pop" }]
108
- ],
109
- warndebug: [["[@](warn|debug)", { token: "keyword", next: "@declarationbody" }]],
110
- import: [["[@](import)", { token: "keyword", next: "@declarationbody" }]],
111
- urldeclaration: [
112
- { include: "@strings" },
113
- [`[^)\r
114
- ]+`, "string"],
115
- ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
116
- ],
117
- parenthizedterm: [
118
- { include: "@term" },
119
- ["\\)", { token: "delimiter.parenthesis", next: "@pop" }]
120
- ],
121
- declarationbody: [
122
- { include: "@term" },
123
- [";", "delimiter", "@pop"],
124
- ["(?=})", { token: "", next: "@pop" }]
125
- ],
126
- comments: [
127
- ["\\/\\*", "comment", "@comment"],
128
- ["\\/\\/+.*", "comment"]
129
- ],
130
- comment: [
131
- ["\\*\\/", "comment", "@pop"],
132
- [/[^*/]+/, "comment"],
133
- [/./, "comment"]
134
- ],
135
- name: [["@identifier", "attribute.value"]],
136
- numbers: [
137
- ["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?", { token: "attribute.value.number", next: "@units" }],
138
- ["#[0-9a-fA-F_]+(?!\\w)", "attribute.value.hex"]
139
- ],
140
- units: [
141
- [
142
- "(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?",
143
- "attribute.value.unit",
144
- "@pop"
145
- ]
146
- ],
147
- keyframedeclaration: [
148
- ["@identifier", "attribute.value"],
149
- ["{", { token: "delimiter.bracket", switchTo: "@keyframebody" }]
150
- ],
151
- keyframebody: [
152
- { include: "@term" },
153
- ["{", { token: "delimiter.bracket", next: "@selectorbody" }],
154
- ["}", { token: "delimiter.bracket", next: "@pop" }]
155
- ],
156
- functioninvocation: [
157
- ["@identifier\\(", { token: "attribute.value", next: "@functionarguments" }]
158
- ],
159
- functionarguments: [
160
- ["\\$@identifier@ws:", "attribute.name"],
161
- ["[,]", "delimiter"],
162
- { include: "@term" },
163
- ["\\)", { token: "attribute.value", next: "@pop" }]
164
- ],
165
- strings: [
166
- ['~?"', { token: "string", next: "@stringenddoublequote" }],
167
- ["~?'", { token: "string", next: "@stringendquote" }]
168
- ],
169
- stringenddoublequote: [
170
- ["\\\\.", "string"],
171
- ['"', { token: "string", next: "@pop" }],
172
- [/[^\\"]+/, "string"],
173
- [".", "string"]
174
- ],
175
- stringendquote: [
176
- ["\\\\.", "string"],
177
- ["'", { token: "string", next: "@pop" }],
178
- [/[^\\']+/, "string"],
179
- [".", "string"]
180
- ]
181
- }
182
- };
183
- export {
184
- e as conf,
185
- t as language
186
- };