@kong-ui-public/monaco-editor 0.3.0 → 0.3.1-pr.2622.ca1f578c8.0

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 (112) hide show
  1. package/package.json +1 -1
  2. package/dist/abap-CrvW7_qN.js +0 -1398
  3. package/dist/apex-BAOI8p1v.js +0 -327
  4. package/dist/assets/css.worker-Cb0JI69t.js +0 -93
  5. package/dist/assets/editor.worker-DzMH9hFo.js +0 -26
  6. package/dist/assets/html.worker-BNFZMwEc.js +0 -470
  7. package/dist/assets/json.worker-BCybXpia.js +0 -58
  8. package/dist/assets/ts.worker-DAVh1bw1.js +0 -67731
  9. package/dist/azcli-BlCk_UqW.js +0 -68
  10. package/dist/bat-DPoEelVx.js +0 -100
  11. package/dist/bicep-Cp1F394l.js +0 -102
  12. package/dist/cameligo-CWqtSlQs.js +0 -174
  13. package/dist/clojure-CKBp32Gf.js +0 -761
  14. package/dist/coffee-CDo6vc-J.js +0 -232
  15. package/dist/cpp-DokufPgf.js +0 -389
  16. package/dist/csharp-BQi3szM0.js +0 -326
  17. package/dist/csp-BSGtCCZ-.js +0 -53
  18. package/dist/css-DEPFDJfb.js +0 -187
  19. package/dist/cssMode-BoaW_8EY.js +0 -141
  20. package/dist/cypher-DAb1vOxS.js +0 -263
  21. package/dist/dart-C8p4jewR.js +0 -281
  22. package/dist/dockerfile-DP0iLFPN.js +0 -130
  23. package/dist/ecl-BDQHA6fi.js +0 -456
  24. package/dist/elixir-D4II6kDM.js +0 -569
  25. package/dist/flow9-StcnL-VB.js +0 -142
  26. package/dist/freemarker2-DLxAEbra.js +0 -982
  27. package/dist/fsharp-DdUVp3EN.js +0 -217
  28. package/dist/go-D1-I258M.js +0 -218
  29. package/dist/graphql-DWkL3f8U.js +0 -151
  30. package/dist/handlebars-H1fAc7pY.js +0 -412
  31. package/dist/hcl-D_0MNifv.js +0 -183
  32. package/dist/html-Bjh5RSoV.js +0 -301
  33. package/dist/htmlMode-XE4-FvOp.js +0 -152
  34. package/dist/index-BtAApC8Z.js +0 -129109
  35. package/dist/ini-C4I2-MT7.js +0 -71
  36. package/dist/java-OBvaP_SS.js +0 -232
  37. package/dist/javascript-BL-y8a3N.js +0 -70
  38. package/dist/jsonMode-BO164Oml.js +0 -569
  39. package/dist/julia-BmDH8Kkf.js +0 -511
  40. package/dist/kotlin-Dhu5AGOD.js +0 -252
  41. package/dist/less-CzmjXREq.js +0 -162
  42. package/dist/lexon-CV2c4pN9.js +0 -157
  43. package/dist/liquid-B4OW2xCW.js +0 -233
  44. package/dist/lspLanguageFeatures-CLOLvtro.js +0 -1458
  45. package/dist/lua-CFY5U8qF.js +0 -162
  46. package/dist/m3-BL_AnZVh.js +0 -210
  47. package/dist/markdown-CWKQPXCv.js +0 -229
  48. package/dist/mdx-BscoYQtT.js +0 -158
  49. package/dist/mips-ButYmJ5E.js +0 -198
  50. package/dist/monaco-editor.es.js +0 -5
  51. package/dist/monaco-editor.umd.js +0 -1234
  52. package/dist/msdax-C3cnXqDh.js +0 -375
  53. package/dist/mysql-YlSHaf6G.js +0 -878
  54. package/dist/objective-c-Dwnlproe.js +0 -183
  55. package/dist/pascal-UzGbSWEN.js +0 -251
  56. package/dist/pascaligo-CslTgu68.js +0 -164
  57. package/dist/perl-oj6r_mgw.js +0 -626
  58. package/dist/pgsql-DSBO0Mev.js +0 -851
  59. package/dist/php-YzCD--7j.js +0 -500
  60. package/dist/pla-CmylB8vQ.js +0 -137
  61. package/dist/postiats-CLFW5gNY.js +0 -907
  62. package/dist/powerquery-CmOWUvlh.js +0 -890
  63. package/dist/powershell-fHQcmBLK.js +0 -239
  64. package/dist/protobuf-p5BArb-9.js +0 -420
  65. package/dist/pug-gVdUDvqf.js +0 -402
  66. package/dist/python-CdwN88xa.js +0 -294
  67. package/dist/qsharp-DnrWSUlt.js +0 -301
  68. package/dist/r-Cv309K2z.js +0 -243
  69. package/dist/razor-BzIEQn-i.js +0 -543
  70. package/dist/redis-DTcS4wMj.js +0 -302
  71. package/dist/redshift-hLxZVESM.js +0 -809
  72. package/dist/restructuredtext-C898lK4f.js +0 -174
  73. package/dist/ruby-CgKtnJIQ.js +0 -511
  74. package/dist/rust-bj8oxVnh.js +0 -343
  75. package/dist/sb-DWynz26l.js +0 -115
  76. package/dist/scala-BL5z1UEd.js +0 -370
  77. package/dist/scheme-DUJsH6VU.js +0 -108
  78. package/dist/scss-CxjmhvaL.js +0 -262
  79. package/dist/shell-D14Zs1dF.js +0 -221
  80. package/dist/solidity-WyRm-BGK.js +0 -1367
  81. package/dist/sophia-CKk-_Oa5.js +0 -199
  82. package/dist/sparql-DHtmINMZ.js +0 -201
  83. package/dist/sql-Dqaj5JHC.js +0 -853
  84. package/dist/st-Bj2IIaop.js +0 -416
  85. package/dist/style.css +0 -1
  86. package/dist/swift-DwxP72iM.js +0 -312
  87. package/dist/systemverilog-D7wJfuql.js +0 -576
  88. package/dist/tcl-0ApMt-eC.js +0 -232
  89. package/dist/tsMode-Bm7Ao8a0.js +0 -946
  90. package/dist/twig-DxwbdmvQ.js +0 -392
  91. package/dist/types/components/MonacoEditor.vue.d.ts +0 -52
  92. package/dist/types/components/MonacoEditor.vue.d.ts.map +0 -1
  93. package/dist/types/components/MonacoEditorStatusOverlay.vue.d.ts +0 -19
  94. package/dist/types/components/MonacoEditorStatusOverlay.vue.d.ts.map +0 -1
  95. package/dist/types/composables/useI18n.d.ts +0 -9
  96. package/dist/types/composables/useI18n.d.ts.map +0 -1
  97. package/dist/types/composables/useMonacoEditor.d.ts +0 -25
  98. package/dist/types/composables/useMonacoEditor.d.ts.map +0 -1
  99. package/dist/types/constants/index.d.ts +0 -3
  100. package/dist/types/constants/index.d.ts.map +0 -1
  101. package/dist/types/index.d.ts +0 -5
  102. package/dist/types/index.d.ts.map +0 -1
  103. package/dist/types/tests/mocks/monaco-editor-api.d.ts +0 -2
  104. package/dist/types/tests/mocks/monaco-editor-api.d.ts.map +0 -1
  105. package/dist/types/types/index.d.ts +0 -69
  106. package/dist/types/types/index.d.ts.map +0 -1
  107. package/dist/typescript-xVL7xVgf.js +0 -336
  108. package/dist/typespec-Fd-JwSuS.js +0 -117
  109. package/dist/vb-CxuyYE1I.js +0 -372
  110. package/dist/wgsl-DoEGc31J.js +0 -439
  111. package/dist/xml-5AZvXygb.js +0 -88
  112. package/dist/yaml-BpKYQQZ4.js +0 -199
@@ -1,199 +0,0 @@
1
- import { l as e } from "./index-BtAApC8Z.js";
2
- const t = {
3
- comments: {
4
- lineComment: "#"
5
- },
6
- brackets: [
7
- ["{", "}"],
8
- ["[", "]"],
9
- ["(", ")"]
10
- ],
11
- autoClosingPairs: [
12
- { open: "{", close: "}" },
13
- { open: "[", close: "]" },
14
- { open: "(", close: ")" },
15
- { open: '"', close: '"' },
16
- { open: "'", close: "'" }
17
- ],
18
- surroundingPairs: [
19
- { open: "{", close: "}" },
20
- { open: "[", close: "]" },
21
- { open: "(", close: ")" },
22
- { open: '"', close: '"' },
23
- { open: "'", close: "'" }
24
- ],
25
- folding: {
26
- offSide: !0
27
- },
28
- onEnterRules: [
29
- {
30
- beforeText: /:\s*$/,
31
- action: {
32
- indentAction: e.IndentAction.Indent
33
- }
34
- }
35
- ]
36
- }, o = {
37
- tokenPostfix: ".yaml",
38
- brackets: [
39
- { token: "delimiter.bracket", open: "{", close: "}" },
40
- { token: "delimiter.square", open: "[", close: "]" }
41
- ],
42
- keywords: ["true", "True", "TRUE", "false", "False", "FALSE", "null", "Null", "Null", "~"],
43
- numberInteger: /(?:0|[+-]?[0-9]+)/,
44
- numberFloat: /(?:0|[+-]?[0-9]+)(?:\.[0-9]+)?(?:e[-+][1-9][0-9]*)?/,
45
- numberOctal: /0o[0-7]+/,
46
- numberHex: /0x[0-9a-fA-F]+/,
47
- numberInfinity: /[+-]?\.(?:inf|Inf|INF)/,
48
- numberNaN: /\.(?:nan|Nan|NAN)/,
49
- numberDate: /\d{4}-\d\d-\d\d([Tt ]\d\d:\d\d:\d\d(\.\d+)?(( ?[+-]\d\d?(:\d\d)?)|Z)?)?/,
50
- escapes: /\\(?:[btnfr\\"']|[0-7][0-7]?|[0-3][0-7]{2})/,
51
- tokenizer: {
52
- root: [
53
- { include: "@whitespace" },
54
- { include: "@comment" },
55
- // Directive
56
- [/%[^ ]+.*$/, "meta.directive"],
57
- // Document Markers
58
- [/---/, "operators.directivesEnd"],
59
- [/\.{3}/, "operators.documentEnd"],
60
- // Block Structure Indicators
61
- [/[-?:](?= )/, "operators"],
62
- { include: "@anchor" },
63
- { include: "@tagHandle" },
64
- { include: "@flowCollections" },
65
- { include: "@blockStyle" },
66
- // Numbers
67
- [/@numberInteger(?![ \t]*\S+)/, "number"],
68
- [/@numberFloat(?![ \t]*\S+)/, "number.float"],
69
- [/@numberOctal(?![ \t]*\S+)/, "number.octal"],
70
- [/@numberHex(?![ \t]*\S+)/, "number.hex"],
71
- [/@numberInfinity(?![ \t]*\S+)/, "number.infinity"],
72
- [/@numberNaN(?![ \t]*\S+)/, "number.nan"],
73
- [/@numberDate(?![ \t]*\S+)/, "number.date"],
74
- // Key:Value pair
75
- [/(".*?"|'.*?'|[^#'"]*?)([ \t]*)(:)( |$)/, ["type", "white", "operators", "white"]],
76
- { include: "@flowScalars" },
77
- // String nodes
78
- [
79
- /.+?(?=(\s+#|$))/,
80
- {
81
- cases: {
82
- "@keywords": "keyword",
83
- "@default": "string"
84
- }
85
- }
86
- ]
87
- ],
88
- // Flow Collection: Flow Mapping
89
- object: [
90
- { include: "@whitespace" },
91
- { include: "@comment" },
92
- // Flow Mapping termination
93
- [/\}/, "@brackets", "@pop"],
94
- // Flow Mapping delimiter
95
- [/,/, "delimiter.comma"],
96
- // Flow Mapping Key:Value delimiter
97
- [/:(?= )/, "operators"],
98
- // Flow Mapping Key:Value key
99
- [/(?:".*?"|'.*?'|[^,\{\[]+?)(?=: )/, "type"],
100
- // Start Flow Style
101
- { include: "@flowCollections" },
102
- { include: "@flowScalars" },
103
- // Scalar Data types
104
- { include: "@tagHandle" },
105
- { include: "@anchor" },
106
- { include: "@flowNumber" },
107
- // Other value (keyword or string)
108
- [
109
- /[^\},]+/,
110
- {
111
- cases: {
112
- "@keywords": "keyword",
113
- "@default": "string"
114
- }
115
- }
116
- ]
117
- ],
118
- // Flow Collection: Flow Sequence
119
- array: [
120
- { include: "@whitespace" },
121
- { include: "@comment" },
122
- // Flow Sequence termination
123
- [/\]/, "@brackets", "@pop"],
124
- // Flow Sequence delimiter
125
- [/,/, "delimiter.comma"],
126
- // Start Flow Style
127
- { include: "@flowCollections" },
128
- { include: "@flowScalars" },
129
- // Scalar Data types
130
- { include: "@tagHandle" },
131
- { include: "@anchor" },
132
- { include: "@flowNumber" },
133
- // Other value (keyword or string)
134
- [
135
- /[^\],]+/,
136
- {
137
- cases: {
138
- "@keywords": "keyword",
139
- "@default": "string"
140
- }
141
- }
142
- ]
143
- ],
144
- // First line of a Block Style
145
- multiString: [[/^( +).+$/, "string", "@multiStringContinued.$1"]],
146
- // Further lines of a Block Style
147
- // Workaround for indentation detection
148
- multiStringContinued: [
149
- [
150
- /^( *).+$/,
151
- {
152
- cases: {
153
- "$1==$S2": "string",
154
- "@default": { token: "@rematch", next: "@popall" }
155
- }
156
- }
157
- ]
158
- ],
159
- whitespace: [[/[ \t\r\n]+/, "white"]],
160
- // Only line comments
161
- comment: [[/#.*$/, "comment"]],
162
- // Start Flow Collections
163
- flowCollections: [
164
- [/\[/, "@brackets", "@array"],
165
- [/\{/, "@brackets", "@object"]
166
- ],
167
- // Start Flow Scalars (quoted strings)
168
- flowScalars: [
169
- [/"([^"\\]|\\.)*$/, "string.invalid"],
170
- [/'([^'\\]|\\.)*$/, "string.invalid"],
171
- [/'[^']*'/, "string"],
172
- [/"/, "string", "@doubleQuotedString"]
173
- ],
174
- doubleQuotedString: [
175
- [/[^\\"]+/, "string"],
176
- [/@escapes/, "string.escape"],
177
- [/\\./, "string.escape.invalid"],
178
- [/"/, "string", "@pop"]
179
- ],
180
- // Start Block Scalar
181
- blockStyle: [[/[>|][0-9]*[+-]?$/, "operators", "@multiString"]],
182
- // Numbers in Flow Collections (terminate with ,]})
183
- flowNumber: [
184
- [/@numberInteger(?=[ \t]*[,\]\}])/, "number"],
185
- [/@numberFloat(?=[ \t]*[,\]\}])/, "number.float"],
186
- [/@numberOctal(?=[ \t]*[,\]\}])/, "number.octal"],
187
- [/@numberHex(?=[ \t]*[,\]\}])/, "number.hex"],
188
- [/@numberInfinity(?=[ \t]*[,\]\}])/, "number.infinity"],
189
- [/@numberNaN(?=[ \t]*[,\]\}])/, "number.nan"],
190
- [/@numberDate(?=[ \t]*[,\]\}])/, "number.date"]
191
- ],
192
- tagHandle: [[/\![^ ]*/, "tag"]],
193
- anchor: [[/[&*][^ ]+/, "namespace"]]
194
- }
195
- };
196
- export {
197
- t as conf,
198
- o as language
199
- };