act-plus 1.1.22 → 1.1.24

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 (104) hide show
  1. package/act-plus.js +6 -5
  2. package/act-plus.umd.cjs +94 -1722
  3. package/lib/{configBtns-c4e55eb0.js → configBtns-15591aad.js} +51 -50
  4. package/lib/{configFileds-b79642bc.js → configFileds-a045430e.js} +5 -4
  5. package/lib/{configTable-21f37060.js → configTable-0285d3f8.js} +32 -31
  6. package/lib/{dialogAddField-535d4a6c.js → dialogAddField-f474439d.js} +5 -4
  7. package/lib/{dialogConfigBtn-f4b70a91.js → dialogConfigBtn-c97ccee8.js} +5 -4
  8. package/lib/{dialogSiteComponentsParams-a99a4d71.js → dialogSiteComponentsParams-e2c5b8dd.js} +1 -1
  9. package/lib/{index-cb908890.js → index-36c9cd81.js} +15 -14
  10. package/lib/{index-f2795fa7.js → index-3e20553c.js} +11 -10
  11. package/lib/{index-79e6c123.js → index-7de949f6.js} +4 -3
  12. package/lib/{index-742c1da3.js → index-85deefc8.js} +5 -4
  13. package/lib/index-d0c3be37.js +68438 -0
  14. package/lib/{index-14906725.js → index-f58e1535.js} +31 -30
  15. package/package.json +1 -1
  16. package/style.css +1 -1
  17. package/assets/css.worker-1af1972f.js +0 -84
  18. package/assets/editor.worker-df55e1ff.js +0 -8
  19. package/assets/html.worker-38c267f1.js +0 -456
  20. package/assets/json.worker-bf861c27.js +0 -39
  21. package/assets/ts.worker-e151483b.js +0 -33972
  22. package/lib/abap-1354785f.js +0 -1314
  23. package/lib/apex-279d4f27.js +0 -315
  24. package/lib/azcli-ba812c55.js +0 -74
  25. package/lib/bat-4d77495d.js +0 -95
  26. package/lib/bicep-7b240724.js +0 -108
  27. package/lib/cameligo-5d2daeb8.js +0 -168
  28. package/lib/clojure-b7ea12a3.js +0 -754
  29. package/lib/coffee-1a8cfbf4.js +0 -228
  30. package/lib/cpp-642b10c4.js +0 -387
  31. package/lib/csharp-d987ddad.js +0 -320
  32. package/lib/csp-96407af0.js +0 -57
  33. package/lib/css-5dd354ac.js +0 -186
  34. package/lib/cssMode-049c1acb.js +0 -1448
  35. package/lib/cypher-11e5a4b6.js +0 -262
  36. package/lib/dart-5d209f63.js +0 -270
  37. package/lib/dockerfile-8739cff7.js +0 -132
  38. package/lib/ecl-a20c5155.js +0 -454
  39. package/lib/elixir-8b028584.js +0 -467
  40. package/lib/flow9-0dea2e73.js +0 -141
  41. package/lib/freemarker2-c93dec09.js +0 -646
  42. package/lib/fsharp-49a70fad.js +0 -210
  43. package/lib/go-46e3b371.js +0 -208
  44. package/lib/graphql-51a577e5.js +0 -141
  45. package/lib/handlebars-8a7428d8.js +0 -394
  46. package/lib/hcl-56b85754.js +0 -177
  47. package/lib/html-2fad443c.js +0 -284
  48. package/lib/htmlMode-3c13e1c6.js +0 -1458
  49. package/lib/index-a2634eef.js +0 -162522
  50. package/lib/ini-1d58d82f.js +0 -68
  51. package/lib/java-cd017f60.js +0 -221
  52. package/lib/javascript-2ec13b45.js +0 -78
  53. package/lib/jsonMode-33ed8d99.js +0 -1869
  54. package/lib/julia-a0caf483.js +0 -496
  55. package/lib/kotlin-c6e52a56.js +0 -245
  56. package/lib/less-718543b4.js +0 -168
  57. package/lib/lexon-5e6e7a44.js +0 -151
  58. package/lib/liquid-40ee460a.js +0 -241
  59. package/lib/lua-f159160b.js +0 -157
  60. package/lib/m3-aadaf771.js +0 -210
  61. package/lib/markdown-9b448c46.js +0 -202
  62. package/lib/mips-161e49ce.js +0 -194
  63. package/lib/msdax-f65cb1e6.js +0 -377
  64. package/lib/mysql-24549dd1.js +0 -875
  65. package/lib/objective-c-e129a5ca.js +0 -188
  66. package/lib/pascal-4ccdf5ce.js +0 -245
  67. package/lib/pascaligo-a9603dcd.js +0 -158
  68. package/lib/perl-ba1fb97a.js +0 -599
  69. package/lib/pgsql-89978310.js +0 -843
  70. package/lib/php-987b9d87.js +0 -471
  71. package/lib/pla-96c2695d.js +0 -131
  72. package/lib/postiats-7b52ebac.js +0 -544
  73. package/lib/powerquery-8954ec26.js +0 -890
  74. package/lib/powershell-f00d0274.js +0 -233
  75. package/lib/protobuf-3eb85f80.js +0 -422
  76. package/lib/pug-6fab415a.js +0 -393
  77. package/lib/python-852dc2c1.js +0 -262
  78. package/lib/qsharp-4792f872.js +0 -282
  79. package/lib/r-630f5d6b.js +0 -245
  80. package/lib/razor-c24d586d.js +0 -515
  81. package/lib/redis-276b8288.js +0 -298
  82. package/lib/redshift-520a7359.js +0 -806
  83. package/lib/restructuredtext-4676a3fc.js +0 -162
  84. package/lib/ruby-764137cd.js +0 -444
  85. package/lib/rust-97f8f6e1.js +0 -337
  86. package/lib/sb-8c22f14c.js +0 -110
  87. package/lib/scala-c68c650c.js +0 -353
  88. package/lib/scheme-e6a52cb0.js +0 -114
  89. package/lib/scss-45104c77.js +0 -244
  90. package/lib/shell-09452d42.js +0 -224
  91. package/lib/solidity-d4979008.js +0 -1351
  92. package/lib/sophia-21995caf.js +0 -190
  93. package/lib/sparql-5088743c.js +0 -193
  94. package/lib/sql-63ec8e76.js +0 -818
  95. package/lib/st-fa9ab362.js +0 -414
  96. package/lib/swift-abdf1835.js +0 -315
  97. package/lib/systemverilog-a4f858ed.js +0 -556
  98. package/lib/tcl-8adf937f.js +0 -232
  99. package/lib/tsMode-6d6244be.js +0 -792
  100. package/lib/twig-404eb73e.js +0 -323
  101. package/lib/typescript-807ce4d9.js +0 -330
  102. package/lib/vb-e21e8153.js +0 -364
  103. package/lib/xml-cc91b485.js +0 -98
  104. package/lib/yaml-f2de88bb.js +0 -187
@@ -1,320 +0,0 @@
1
- /*!-----------------------------------------------------------------------------
2
- * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * Version: 0.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
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.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
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.34.1(547870b6881302c5b4ff32173c16d06009e3588f)
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
- };