@arcgis/coding-components 4.29.0-beta.74 → 4.29.0-beta.76

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.
@@ -1,342 +0,0 @@
1
- import { n as monaco_editor_core_star } from './arcade-defaults-7106421e.js';
2
- import './index-022fb97b.js';
3
-
4
- /*!-----------------------------------------------------------------------------
5
- * Copyright (c) Microsoft Corporation. All rights reserved.
6
- * Version: 0.45.0(5e5af013f8d295555a7210df0d5f2cea0bf5dd56)
7
- * Released under the MIT license
8
- * https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
9
- *-----------------------------------------------------------------------------*/
10
-
11
- var __defProp = Object.defineProperty;
12
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
13
- var __getOwnPropNames = Object.getOwnPropertyNames;
14
- var __hasOwnProp = Object.prototype.hasOwnProperty;
15
- var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from))
18
- if (!__hasOwnProp.call(to, key) && key !== except)
19
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
20
- }
21
- return to;
22
- };
23
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
24
-
25
- // src/fillers/monaco-editor-core.ts
26
- var monaco_editor_core_exports = {};
27
- __reExport(monaco_editor_core_exports, monaco_editor_core_star);
28
-
29
- // src/basic-languages/typescript/typescript.ts
30
- var conf = {
31
- wordPattern: /(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,
32
- comments: {
33
- lineComment: "//",
34
- blockComment: ["/*", "*/"]
35
- },
36
- brackets: [
37
- ["{", "}"],
38
- ["[", "]"],
39
- ["(", ")"]
40
- ],
41
- onEnterRules: [
42
- {
43
- beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
44
- afterText: /^\s*\*\/$/,
45
- action: {
46
- indentAction: monaco_editor_core_exports.languages.IndentAction.IndentOutdent,
47
- appendText: " * "
48
- }
49
- },
50
- {
51
- beforeText: /^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,
52
- action: {
53
- indentAction: monaco_editor_core_exports.languages.IndentAction.None,
54
- appendText: " * "
55
- }
56
- },
57
- {
58
- beforeText: /^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,
59
- action: {
60
- indentAction: monaco_editor_core_exports.languages.IndentAction.None,
61
- appendText: "* "
62
- }
63
- },
64
- {
65
- beforeText: /^(\t|(\ \ ))*\ \*\/\s*$/,
66
- action: {
67
- indentAction: monaco_editor_core_exports.languages.IndentAction.None,
68
- removeText: 1
69
- }
70
- }
71
- ],
72
- autoClosingPairs: [
73
- { open: "{", close: "}" },
74
- { open: "[", close: "]" },
75
- { open: "(", close: ")" },
76
- { open: '"', close: '"', notIn: ["string"] },
77
- { open: "'", close: "'", notIn: ["string", "comment"] },
78
- { open: "`", close: "`", notIn: ["string", "comment"] },
79
- { open: "/**", close: " */", notIn: ["string"] }
80
- ],
81
- folding: {
82
- markers: {
83
- start: new RegExp("^\\s*//\\s*#?region\\b"),
84
- end: new RegExp("^\\s*//\\s*#?endregion\\b")
85
- }
86
- }
87
- };
88
- var language = {
89
- defaultToken: "invalid",
90
- tokenPostfix: ".ts",
91
- keywords: [
92
- "abstract",
93
- "any",
94
- "as",
95
- "asserts",
96
- "bigint",
97
- "boolean",
98
- "break",
99
- "case",
100
- "catch",
101
- "class",
102
- "continue",
103
- "const",
104
- "constructor",
105
- "debugger",
106
- "declare",
107
- "default",
108
- "delete",
109
- "do",
110
- "else",
111
- "enum",
112
- "export",
113
- "extends",
114
- "false",
115
- "finally",
116
- "for",
117
- "from",
118
- "function",
119
- "get",
120
- "if",
121
- "implements",
122
- "import",
123
- "in",
124
- "infer",
125
- "instanceof",
126
- "interface",
127
- "is",
128
- "keyof",
129
- "let",
130
- "module",
131
- "namespace",
132
- "never",
133
- "new",
134
- "null",
135
- "number",
136
- "object",
137
- "out",
138
- "package",
139
- "private",
140
- "protected",
141
- "public",
142
- "override",
143
- "readonly",
144
- "require",
145
- "global",
146
- "return",
147
- "satisfies",
148
- "set",
149
- "static",
150
- "string",
151
- "super",
152
- "switch",
153
- "symbol",
154
- "this",
155
- "throw",
156
- "true",
157
- "try",
158
- "type",
159
- "typeof",
160
- "undefined",
161
- "unique",
162
- "unknown",
163
- "var",
164
- "void",
165
- "while",
166
- "with",
167
- "yield",
168
- "async",
169
- "await",
170
- "of"
171
- ],
172
- operators: [
173
- "<=",
174
- ">=",
175
- "==",
176
- "!=",
177
- "===",
178
- "!==",
179
- "=>",
180
- "+",
181
- "-",
182
- "**",
183
- "*",
184
- "/",
185
- "%",
186
- "++",
187
- "--",
188
- "<<",
189
- "</",
190
- ">>",
191
- ">>>",
192
- "&",
193
- "|",
194
- "^",
195
- "!",
196
- "~",
197
- "&&",
198
- "||",
199
- "??",
200
- "?",
201
- ":",
202
- "=",
203
- "+=",
204
- "-=",
205
- "*=",
206
- "**=",
207
- "/=",
208
- "%=",
209
- "<<=",
210
- ">>=",
211
- ">>>=",
212
- "&=",
213
- "|=",
214
- "^=",
215
- "@"
216
- ],
217
- symbols: /[=><!~?:&|+\-*\/\^%]+/,
218
- escapes: /\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,
219
- digits: /\d+(_+\d+)*/,
220
- octaldigits: /[0-7]+(_+[0-7]+)*/,
221
- binarydigits: /[0-1]+(_+[0-1]+)*/,
222
- hexdigits: /[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,
223
- regexpctl: /[(){}\[\]\$\^|\-*+?\.]/,
224
- regexpesc: /\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,
225
- tokenizer: {
226
- root: [[/[{}]/, "delimiter.bracket"], { include: "common" }],
227
- common: [
228
- [
229
- /#?[a-z_$][\w$]*/,
230
- {
231
- cases: {
232
- "@keywords": "keyword",
233
- "@default": "identifier"
234
- }
235
- }
236
- ],
237
- [/[A-Z][\w\$]*/, "type.identifier"],
238
- { include: "@whitespace" },
239
- [
240
- /\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,
241
- { token: "regexp", bracket: "@open", next: "@regexp" }
242
- ],
243
- [/[()\[\]]/, "@brackets"],
244
- [/[<>](?!@symbols)/, "@brackets"],
245
- [/!(?=([^=]|$))/, "delimiter"],
246
- [
247
- /@symbols/,
248
- {
249
- cases: {
250
- "@operators": "delimiter",
251
- "@default": ""
252
- }
253
- }
254
- ],
255
- [/(@digits)[eE]([\-+]?(@digits))?/, "number.float"],
256
- [/(@digits)\.(@digits)([eE][\-+]?(@digits))?/, "number.float"],
257
- [/0[xX](@hexdigits)n?/, "number.hex"],
258
- [/0[oO]?(@octaldigits)n?/, "number.octal"],
259
- [/0[bB](@binarydigits)n?/, "number.binary"],
260
- [/(@digits)n?/, "number"],
261
- [/[;,.]/, "delimiter"],
262
- [/"([^"\\]|\\.)*$/, "string.invalid"],
263
- [/'([^'\\]|\\.)*$/, "string.invalid"],
264
- [/"/, "string", "@string_double"],
265
- [/'/, "string", "@string_single"],
266
- [/`/, "string", "@string_backtick"]
267
- ],
268
- whitespace: [
269
- [/[ \t\r\n]+/, ""],
270
- [/\/\*\*(?!\/)/, "comment.doc", "@jsdoc"],
271
- [/\/\*/, "comment", "@comment"],
272
- [/\/\/.*$/, "comment"]
273
- ],
274
- comment: [
275
- [/[^\/*]+/, "comment"],
276
- [/\*\//, "comment", "@pop"],
277
- [/[\/*]/, "comment"]
278
- ],
279
- jsdoc: [
280
- [/[^\/*]+/, "comment.doc"],
281
- [/\*\//, "comment.doc", "@pop"],
282
- [/[\/*]/, "comment.doc"]
283
- ],
284
- regexp: [
285
- [
286
- /(\{)(\d+(?:,\d*)?)(\})/,
287
- ["regexp.escape.control", "regexp.escape.control", "regexp.escape.control"]
288
- ],
289
- [
290
- /(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,
291
- ["regexp.escape.control", { token: "regexp.escape.control", next: "@regexrange" }]
292
- ],
293
- [/(\()(\?:|\?=|\?!)/, ["regexp.escape.control", "regexp.escape.control"]],
294
- [/[()]/, "regexp.escape.control"],
295
- [/@regexpctl/, "regexp.escape.control"],
296
- [/[^\\\/]/, "regexp"],
297
- [/@regexpesc/, "regexp.escape"],
298
- [/\\\./, "regexp.invalid"],
299
- [/(\/)([dgimsuy]*)/, [{ token: "regexp", bracket: "@close", next: "@pop" }, "keyword.other"]]
300
- ],
301
- regexrange: [
302
- [/-/, "regexp.escape.control"],
303
- [/\^/, "regexp.invalid"],
304
- [/@regexpesc/, "regexp.escape"],
305
- [/[^\]]/, "regexp"],
306
- [
307
- /\]/,
308
- {
309
- token: "regexp.escape.control",
310
- next: "@pop",
311
- bracket: "@close"
312
- }
313
- ]
314
- ],
315
- string_double: [
316
- [/[^\\"]+/, "string"],
317
- [/@escapes/, "string.escape"],
318
- [/\\./, "string.escape.invalid"],
319
- [/"/, "string", "@pop"]
320
- ],
321
- string_single: [
322
- [/[^\\']+/, "string"],
323
- [/@escapes/, "string.escape"],
324
- [/\\./, "string.escape.invalid"],
325
- [/'/, "string", "@pop"]
326
- ],
327
- string_backtick: [
328
- [/\$\{/, { token: "delimiter.bracket", next: "@bracketCounting" }],
329
- [/[^\\`$]+/, "string"],
330
- [/@escapes/, "string.escape"],
331
- [/\\./, "string.escape.invalid"],
332
- [/`/, "string", "@pop"]
333
- ],
334
- bracketCounting: [
335
- [/\{/, "delimiter.bracket", "@bracketCounting"],
336
- [/\}/, "delimiter.bracket", "@pop"],
337
- { include: "common" }
338
- ]
339
- }
340
- };
341
-
342
- export { conf, language };