@onereach/ui-components 6.4.2 → 6.5.0-beta.3403.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.
- package/dist/bundled/v2/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v2/components/OrCode/index.js +5 -3
- package/dist/bundled/v2/components/OrCode/lang.js +5 -3
- package/dist/bundled/v2/components/OrCode/libs.js +5 -3
- package/dist/bundled/v2/components/OrCode/theme.js +1 -1
- package/dist/bundled/v2/components/OrCodeV3/OrCode.js +52 -30
- package/dist/bundled/v2/components/OrCodeV3/OrCode.vue.d.ts +4 -3
- package/dist/bundled/v2/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v2/components/OrCodeV3/index.js +5 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.d.ts +6 -0
- package/dist/bundled/v2/components/OrCodeV3/libs.js +5 -0
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -2
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v2/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v2/components/index.js +6 -3
- package/dist/bundled/v2/index-317a90b7.js +361 -0
- package/dist/bundled/v2/index-5465a04e.js +825 -0
- package/dist/bundled/v2/index-5df3b1d8.js +94 -0
- package/dist/bundled/v2/index-5fa53f66.js +759 -0
- package/dist/bundled/{v3/index-ceea3e83.js → v2/index-7caa3ac5.js} +3 -3
- package/dist/bundled/v2/{index-eca317e0.js → index-bd08fe6f.js} +27 -465
- package/dist/bundled/v2/index-d017a622.js +1892 -0
- package/dist/bundled/v2/{index-62bb1bac.js → index-d4e4f8a8.js} +10 -831
- package/dist/bundled/v2/{index-3cae2d25.js → index-d5c13979.js} +1 -1
- package/dist/bundled/v2/index-f949d42c.js +1598 -0
- package/dist/bundled/v2/index.js +6 -3
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-e88b2b44.js → OrCode.vue_vue_type_script_lang-9be03ab0.js} +2 -2
- package/dist/bundled/v3/{OrCode.vue_vue_type_script_lang-c9522cd5.js → OrCode.vue_vue_type_script_lang-f6022ce5.js} +52 -30
- package/dist/bundled/v3/components/OrCode/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCode/index.js +6 -4
- package/dist/bundled/v3/components/OrCode/lang.js +5 -3
- package/dist/bundled/v3/components/OrCode/libs.js +5 -3
- package/dist/bundled/v3/components/OrCode/theme.js +1 -1
- package/dist/bundled/v3/components/OrCodeV3/OrCode.js +2 -2
- package/dist/bundled/v3/components/OrCodeV3/OrCode.vue.d.ts +3 -2
- package/dist/bundled/v3/components/OrCodeV3/index.d.ts +1 -0
- package/dist/bundled/v3/components/OrCodeV3/index.js +6 -1
- package/dist/bundled/v3/components/OrCodeV3/libs.d.ts +6 -0
- package/dist/bundled/v3/components/OrCodeV3/libs.js +5 -0
- package/dist/bundled/v3/components/OrRichTextEditorV3/OrRichTextEditor.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/index.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorNode.js +2 -2
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/codemirrorView.js +1 -1
- package/dist/bundled/v3/components/OrRichTextEditorV3/utils/codemirror/theme.js +1 -1
- package/dist/bundled/v3/components/index.js +9 -6
- package/dist/bundled/v3/{index-62bb1bac.js → index-16f605c7.js} +10 -831
- package/dist/bundled/v3/index-1f2974f3.js +1892 -0
- package/dist/bundled/v3/index-1fc9d52b.js +759 -0
- package/dist/bundled/v3/index-210fd8da.js +825 -0
- package/dist/bundled/{v2/index-ceea3e83.js → v3/index-71514f0d.js} +3 -3
- package/dist/bundled/v3/{index-eca317e0.js → index-766903ad.js} +27 -465
- package/dist/bundled/v3/index-a4b02e4e.js +1598 -0
- package/dist/bundled/v3/index-a8d259c3.js +361 -0
- package/dist/bundled/v3/{index-3cae2d25.js → index-e81a9bf9.js} +1 -1
- package/dist/bundled/v3/index-f6290750.js +94 -0
- package/dist/bundled/v3/index.js +9 -6
- package/dist/esm/v2/{OrCode-f5c25b63.js → OrCode-e2222cf7.js} +54 -34
- package/dist/esm/v2/components/index.js +3 -3
- package/dist/esm/v2/components/or-code-v3/OrCode.vue.d.ts +4 -3
- package/dist/esm/v2/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v2/components/or-code-v3/index.js +9 -10
- package/dist/esm/v2/components/or-code-v3/libs.d.ts +6 -0
- package/dist/esm/v2/index.js +3 -3
- package/dist/esm/v3/{OrCode-9662d0da.js → OrCode-f6a8e9f2.js} +54 -34
- package/dist/esm/v3/components/index.js +3 -3
- package/dist/esm/v3/components/or-code-v3/OrCode.vue.d.ts +3 -2
- package/dist/esm/v3/components/or-code-v3/index.d.ts +1 -0
- package/dist/esm/v3/components/or-code-v3/index.js +9 -10
- package/dist/esm/v3/components/or-code-v3/libs.d.ts +6 -0
- package/dist/esm/v3/index.js +3 -3
- package/package.json +2 -3
- package/src/components/or-code-v3/OrCode.vue +70 -50
- package/src/components/or-code-v3/index.ts +1 -0
- package/src/components/or-code-v3/libs.ts +10 -0
- package/dist/bundled/v2/index-60e4eacf.js +0 -4048
- package/dist/bundled/v3/index-60e4eacf.js +0 -4048
- /package/dist/bundled/v3/{OrRichTextEditor.vue_vue_type_script_lang-5a2318e5.js → OrRichTextEditor.vue_vue_type_script_lang-63edf53c.js} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ap as NodeType, N as NodeProp, a3 as styleTags, ao as NodeSet, a4 as tags, an as Parser, as as Tag, ar as Tree, ah as parseMixed, a5 as LanguageSupport, P as Prec, k as keymap, at as Language, s as syntaxTree, b as EditorSelection, af as defineLanguageFacet, ab as foldNodeProp, a7 as indentNodeProp, au as languageDataProp, av as foldService, aw as LanguageDescription, ax as ParseContext } from './index-d5c13979.js';
|
|
2
|
+
import { html } from './index-bd08fe6f.js';
|
|
3
3
|
|
|
4
4
|
class CompositeBlock {
|
|
5
5
|
constructor(type,
|
|
@@ -2281,4 +2281,4 @@ function markdown() {
|
|
|
2281
2281
|
return new LanguageSupport(mkLang(parser.configure(extensions)), support);
|
|
2282
2282
|
}
|
|
2283
2283
|
|
|
2284
|
-
export { markdown
|
|
2284
|
+
export { commonmarkLanguage, deleteMarkupBackward, insertNewlineContinueMarkup, markdown, markdownKeymap, markdownLanguage };
|
|
@@ -1,95 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
String: tags$1.string,
|
|
6
|
-
Number: tags$1.number,
|
|
7
|
-
"True False": tags$1.bool,
|
|
8
|
-
PropertyName: tags$1.propertyName,
|
|
9
|
-
Null: tags$1.null,
|
|
10
|
-
",": tags$1.separator,
|
|
11
|
-
"[ ]": tags$1.squareBracket,
|
|
12
|
-
"{ }": tags$1.brace
|
|
13
|
-
});
|
|
14
|
-
|
|
15
|
-
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
16
|
-
const parser$2 = LRParser.deserialize({
|
|
17
|
-
version: 14,
|
|
18
|
-
states: "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",
|
|
19
|
-
stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",
|
|
20
|
-
goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
|
|
21
|
-
nodeNames: "⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",
|
|
22
|
-
maxTerm: 25,
|
|
23
|
-
nodeProps: [["openedBy", 7, "{", 12, "["], ["closedBy", 8, "}", 13, "]"]],
|
|
24
|
-
propSources: [jsonHighlighting],
|
|
25
|
-
skippedNodes: [0],
|
|
26
|
-
repeatNodeCount: 2,
|
|
27
|
-
tokenData: "(p~RaXY!WYZ!W]^!Wpq!Wrs!]|}$i}!O$n!Q!R$w!R![&V![!]&h!}#O&m#P#Q&r#Y#Z&w#b#c'f#h#i'}#o#p(f#q#r(k~!]Oc~~!`Upq!]qr!]rs!rs#O!]#O#P!w#P~!]~!wOe~~!zXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#g~#jR!Q![#s!c!i#s#T#Z#s~#vR!Q![$P!c!i$P#T#Z$P~$SR!Q![$]!c!i$]#T#Z$]~$`R!Q![!]!c!i!]#T#Z!]~$nOh~~$qQ!Q!R$w!R![&V~$|RT~!O!P%V!g!h%k#X#Y%k~%YP!Q![%]~%bRT~!Q![%]!g!h%k#X#Y%k~%nR{|%w}!O%w!Q![%}~%zP!Q![%}~&SPT~!Q![%}~&[ST~!O!P%V!Q![&V!g!h%k#X#Y%k~&mOg~~&rO]~~&wO[~~&zP#T#U&}~'QP#`#a'T~'WP#g#h'Z~'^P#X#Y'a~'fOR~~'iP#i#j'l~'oP#`#a'r~'uP#`#a'x~'}OS~~(QP#f#g(T~(WP#i#j(Z~(^P#X#Y(a~(fOQ~~(kOW~~(pOV~",
|
|
28
|
-
tokenizers: [0],
|
|
29
|
-
topRules: {
|
|
30
|
-
"JsonText": [0, 1]
|
|
31
|
-
},
|
|
32
|
-
tokenPrec: 0
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
Calls
|
|
37
|
-
[`JSON.parse`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/parse)
|
|
38
|
-
on the document and, if that throws an error, reports it as a
|
|
39
|
-
single diagnostic.
|
|
40
|
-
*/
|
|
41
|
-
const jsonParseLinter = () => view => {
|
|
42
|
-
try {
|
|
43
|
-
JSON.parse(view.state.doc.toString());
|
|
44
|
-
} catch (e) {
|
|
45
|
-
if (!(e instanceof SyntaxError)) throw e;
|
|
46
|
-
const pos = getErrorPosition(e, view.state.doc);
|
|
47
|
-
return [{
|
|
48
|
-
from: pos,
|
|
49
|
-
message: e.message,
|
|
50
|
-
severity: 'error',
|
|
51
|
-
to: pos
|
|
52
|
-
}];
|
|
53
|
-
}
|
|
54
|
-
return [];
|
|
55
|
-
};
|
|
56
|
-
function getErrorPosition(error, doc) {
|
|
57
|
-
let m;
|
|
58
|
-
if (m = error.message.match(/at position (\d+)/)) return Math.min(+m[1], doc.length);
|
|
59
|
-
if (m = error.message.match(/at line (\d+) column (\d+)/)) return Math.min(doc.line(+m[1]).from + +m[2] - 1, doc.length);
|
|
60
|
-
return 0;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/**
|
|
64
|
-
A language provider that provides JSON parsing.
|
|
65
|
-
*/
|
|
66
|
-
const jsonLanguage = /*@__PURE__*/LRLanguage.define({
|
|
67
|
-
name: "json",
|
|
68
|
-
parser: /*@__PURE__*/parser$2.configure({
|
|
69
|
-
props: [/*@__PURE__*/indentNodeProp.add({
|
|
70
|
-
Object: /*@__PURE__*/continuedIndent({
|
|
71
|
-
except: /^\s*\}/
|
|
72
|
-
}),
|
|
73
|
-
Array: /*@__PURE__*/continuedIndent({
|
|
74
|
-
except: /^\s*\]/
|
|
75
|
-
})
|
|
76
|
-
}), /*@__PURE__*/foldNodeProp.add({
|
|
77
|
-
"Object Array": foldInside
|
|
78
|
-
})]
|
|
79
|
-
}),
|
|
80
|
-
languageData: {
|
|
81
|
-
closeBrackets: {
|
|
82
|
-
brackets: ["[", "{", '"']
|
|
83
|
-
},
|
|
84
|
-
indentOnInput: /^\s*[\}\]]$/
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
/**
|
|
88
|
-
JSON language support.
|
|
89
|
-
*/
|
|
90
|
-
function json() {
|
|
91
|
-
return new LanguageSupport(jsonLanguage);
|
|
92
|
-
}
|
|
1
|
+
import { C as ContextTracker, E as ExternalTokenizer, L as LRParser } from './index-f949d42c.js';
|
|
2
|
+
import { a3 as styleTags, a4 as tags, ah as parseMixed, a5 as LanguageSupport, E as EditorView, s as syntaxTree, b as EditorSelection, a6 as LRLanguage, a7 as indentNodeProp, ab as foldNodeProp, ai as bracketMatchingHandle } from './index-d5c13979.js';
|
|
3
|
+
import { cssLanguage, css } from './index-317a90b7.js';
|
|
4
|
+
import { typescriptLanguage, jsxLanguage, tsxLanguage, javascriptLanguage, javascript } from './index-5fa53f66.js';
|
|
93
5
|
|
|
94
6
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
95
7
|
const scriptText = 54,
|
|
@@ -270,7 +182,7 @@ const lessThan = 60,
|
|
|
270
182
|
slash = 47,
|
|
271
183
|
question = 63,
|
|
272
184
|
bang = 33,
|
|
273
|
-
dash
|
|
185
|
+
dash = 45;
|
|
274
186
|
function ElementContext(name, parent) {
|
|
275
187
|
this.name = name;
|
|
276
188
|
this.parent = parent;
|
|
@@ -330,7 +242,7 @@ const commentContent = new ExternalTokenizer(input => {
|
|
|
330
242
|
if (i) input.acceptToken(commentContent$1);
|
|
331
243
|
break;
|
|
332
244
|
}
|
|
333
|
-
if (input.next == dash
|
|
245
|
+
if (input.next == dash) {
|
|
334
246
|
dashes++;
|
|
335
247
|
} else if (input.next == greaterThan && dashes >= 2) {
|
|
336
248
|
if (i > 3) input.acceptToken(commentContent$1, -2);
|
|
@@ -389,21 +301,21 @@ const scriptTokens = contentTokenizer("script", scriptText, StartCloseScriptTag)
|
|
|
389
301
|
const styleTokens = contentTokenizer("style", styleText, StartCloseStyleTag);
|
|
390
302
|
const textareaTokens = contentTokenizer("textarea", textareaText, StartCloseTextareaTag);
|
|
391
303
|
const htmlHighlighting = styleTags({
|
|
392
|
-
"Text RawText": tags
|
|
393
|
-
"StartTag StartCloseTag SelfClosingEndTag EndTag": tags
|
|
394
|
-
TagName: tags
|
|
395
|
-
"MismatchedCloseTag/TagName": [tags
|
|
396
|
-
AttributeName: tags
|
|
397
|
-
"AttributeValue UnquotedAttributeValue": tags
|
|
398
|
-
Is: tags
|
|
399
|
-
"EntityReference CharacterReference": tags
|
|
400
|
-
Comment: tags
|
|
401
|
-
ProcessingInst: tags
|
|
402
|
-
DoctypeDecl: tags
|
|
304
|
+
"Text RawText": tags.content,
|
|
305
|
+
"StartTag StartCloseTag SelfClosingEndTag EndTag": tags.angleBracket,
|
|
306
|
+
TagName: tags.tagName,
|
|
307
|
+
"MismatchedCloseTag/TagName": [tags.tagName, tags.invalid],
|
|
308
|
+
AttributeName: tags.attributeName,
|
|
309
|
+
"AttributeValue UnquotedAttributeValue": tags.attributeValue,
|
|
310
|
+
Is: tags.definitionOperator,
|
|
311
|
+
"EntityReference CharacterReference": tags.character,
|
|
312
|
+
Comment: tags.blockComment,
|
|
313
|
+
ProcessingInst: tags.processingInstruction,
|
|
314
|
+
DoctypeDecl: tags.documentMeta
|
|
403
315
|
});
|
|
404
316
|
|
|
405
317
|
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
406
|
-
const parser
|
|
318
|
+
const parser = LRParser.deserialize({
|
|
407
319
|
version: 14,
|
|
408
320
|
states: ",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%WQ&rO,59fO%`Q&rO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O!euO~OfvO~OfwO~OS|OhyO~OS!OOhyO~OS!QOhyO~OS!SOT!TOhyO~OS!TOhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXhgXTgX~OS!fOhyO~OS!gOhyO~OS!hOhyO~OS!iOT!jOhyO~OS!jOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",
|
|
@@ -531,363 +443,6 @@ function configureNesting() {
|
|
|
531
443
|
});
|
|
532
444
|
}
|
|
533
445
|
|
|
534
|
-
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
535
|
-
const descendantOp = 95,
|
|
536
|
-
Unit = 1,
|
|
537
|
-
callee = 96,
|
|
538
|
-
identifier$2 = 97,
|
|
539
|
-
VariableName = 2;
|
|
540
|
-
|
|
541
|
-
/* Hand-written tokenizers for CSS tokens that can't be
|
|
542
|
-
expressed by Lezer's built-in tokenizer. */
|
|
543
|
-
|
|
544
|
-
const space = [9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8232, 8233, 8239, 8287, 12288];
|
|
545
|
-
const colon = 58,
|
|
546
|
-
parenL = 40,
|
|
547
|
-
underscore = 95,
|
|
548
|
-
bracketL = 91,
|
|
549
|
-
dash = 45,
|
|
550
|
-
period = 46,
|
|
551
|
-
hash = 35,
|
|
552
|
-
percent = 37;
|
|
553
|
-
function isAlpha(ch) {
|
|
554
|
-
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
555
|
-
}
|
|
556
|
-
function isDigit(ch) {
|
|
557
|
-
return ch >= 48 && ch <= 57;
|
|
558
|
-
}
|
|
559
|
-
const identifiers = new ExternalTokenizer((input, stack) => {
|
|
560
|
-
for (let inside = false, dashes = 0, i = 0;; i++) {
|
|
561
|
-
let {
|
|
562
|
-
next
|
|
563
|
-
} = input;
|
|
564
|
-
if (isAlpha(next) || next == dash || next == underscore || inside && isDigit(next)) {
|
|
565
|
-
if (!inside && (next != dash || i > 0)) inside = true;
|
|
566
|
-
if (dashes === i && next == dash) dashes++;
|
|
567
|
-
input.advance();
|
|
568
|
-
} else {
|
|
569
|
-
if (inside) input.acceptToken(next == parenL ? callee : dashes == 2 && stack.canShift(VariableName) ? VariableName : identifier$2);
|
|
570
|
-
break;
|
|
571
|
-
}
|
|
572
|
-
}
|
|
573
|
-
});
|
|
574
|
-
const descendant = new ExternalTokenizer(input => {
|
|
575
|
-
if (space.includes(input.peek(-1))) {
|
|
576
|
-
let {
|
|
577
|
-
next
|
|
578
|
-
} = input;
|
|
579
|
-
if (isAlpha(next) || next == underscore || next == hash || next == period || next == bracketL || next == colon || next == dash) input.acceptToken(descendantOp);
|
|
580
|
-
}
|
|
581
|
-
});
|
|
582
|
-
const unitToken = new ExternalTokenizer(input => {
|
|
583
|
-
if (!space.includes(input.peek(-1))) {
|
|
584
|
-
let {
|
|
585
|
-
next
|
|
586
|
-
} = input;
|
|
587
|
-
if (next == percent) {
|
|
588
|
-
input.advance();
|
|
589
|
-
input.acceptToken(Unit);
|
|
590
|
-
}
|
|
591
|
-
if (isAlpha(next)) {
|
|
592
|
-
do {
|
|
593
|
-
input.advance();
|
|
594
|
-
} while (isAlpha(input.next));
|
|
595
|
-
input.acceptToken(Unit);
|
|
596
|
-
}
|
|
597
|
-
}
|
|
598
|
-
});
|
|
599
|
-
const cssHighlighting = styleTags({
|
|
600
|
-
"AtKeyword import charset namespace keyframes media supports": tags$1.definitionKeyword,
|
|
601
|
-
"from to selector": tags$1.keyword,
|
|
602
|
-
NamespaceName: tags$1.namespace,
|
|
603
|
-
KeyframeName: tags$1.labelName,
|
|
604
|
-
KeyframeRangeName: tags$1.operatorKeyword,
|
|
605
|
-
TagName: tags$1.tagName,
|
|
606
|
-
ClassName: tags$1.className,
|
|
607
|
-
PseudoClassName: tags$1.constant(tags$1.className),
|
|
608
|
-
IdName: tags$1.labelName,
|
|
609
|
-
"FeatureName PropertyName": tags$1.propertyName,
|
|
610
|
-
AttributeName: tags$1.attributeName,
|
|
611
|
-
NumberLiteral: tags$1.number,
|
|
612
|
-
KeywordQuery: tags$1.keyword,
|
|
613
|
-
UnaryQueryOp: tags$1.operatorKeyword,
|
|
614
|
-
"CallTag ValueName": tags$1.atom,
|
|
615
|
-
VariableName: tags$1.variableName,
|
|
616
|
-
Callee: tags$1.operatorKeyword,
|
|
617
|
-
Unit: tags$1.unit,
|
|
618
|
-
"UniversalSelector NestingSelector": tags$1.definitionOperator,
|
|
619
|
-
MatchOp: tags$1.compareOperator,
|
|
620
|
-
"ChildOp SiblingOp, LogicOp": tags$1.logicOperator,
|
|
621
|
-
BinOp: tags$1.arithmeticOperator,
|
|
622
|
-
Important: tags$1.modifier,
|
|
623
|
-
Comment: tags$1.blockComment,
|
|
624
|
-
ColorLiteral: tags$1.color,
|
|
625
|
-
"ParenthesizedContent StringLiteral": tags$1.string,
|
|
626
|
-
":": tags$1.punctuation,
|
|
627
|
-
"PseudoOp #": tags$1.derefOperator,
|
|
628
|
-
"; ,": tags$1.separator,
|
|
629
|
-
"( )": tags$1.paren,
|
|
630
|
-
"[ ]": tags$1.squareBracket,
|
|
631
|
-
"{ }": tags$1.brace
|
|
632
|
-
});
|
|
633
|
-
|
|
634
|
-
// This file was generated by lezer-generator. You probably shouldn't edit it.
|
|
635
|
-
const spec_callee = {
|
|
636
|
-
__proto__: null,
|
|
637
|
-
lang: 32,
|
|
638
|
-
"nth-child": 32,
|
|
639
|
-
"nth-last-child": 32,
|
|
640
|
-
"nth-of-type": 32,
|
|
641
|
-
"nth-last-of-type": 32,
|
|
642
|
-
dir: 32,
|
|
643
|
-
"host-context": 32,
|
|
644
|
-
url: 60,
|
|
645
|
-
"url-prefix": 60,
|
|
646
|
-
domain: 60,
|
|
647
|
-
regexp: 60,
|
|
648
|
-
selector: 134
|
|
649
|
-
};
|
|
650
|
-
const spec_AtKeyword = {
|
|
651
|
-
__proto__: null,
|
|
652
|
-
"@import": 114,
|
|
653
|
-
"@media": 138,
|
|
654
|
-
"@charset": 142,
|
|
655
|
-
"@namespace": 146,
|
|
656
|
-
"@keyframes": 152,
|
|
657
|
-
"@supports": 164
|
|
658
|
-
};
|
|
659
|
-
const spec_identifier = {
|
|
660
|
-
__proto__: null,
|
|
661
|
-
not: 128,
|
|
662
|
-
only: 128
|
|
663
|
-
};
|
|
664
|
-
const parser = LRParser.deserialize({
|
|
665
|
-
version: 14,
|
|
666
|
-
states: "8`QYQ[OOO#_Q[OOOOQP'#Cd'#CdOOQP'#Cc'#CcO#fQ[O'#CfO$YQXO'#CaO$aQ[O'#ChO$lQ[O'#DPO$qQ[O'#DTOOQP'#Ee'#EeO$vQdO'#DeO%bQ[O'#DrO$vQdO'#DtO%sQ[O'#DvO&OQ[O'#DyO&WQ[O'#EPO&fQ[O'#EROOQS'#Ed'#EdOOQS'#ET'#ETQYQ[OOO&mQXO'#CdO'bQWO'#DaO'gQWO'#EkO'rQ[O'#EkQOQWOOOOQP'#Cg'#CgOOQP,59Q,59QO#fQ[O,59QO'|Q[O'#EWO(hQWO,58{O(pQ[O,59SO$lQ[O,59kO$qQ[O,59oO'|Q[O,59sO'|Q[O,59uO'|Q[O,59vO({Q[O'#D`OOQS,58{,58{OOQP'#Ck'#CkOOQO'#C}'#C}OOQP,59S,59SO)SQWO,59SO)XQWO,59SOOQP'#DR'#DROOQP,59k,59kOOQO'#DV'#DVO)^Q`O,59oOOQS'#Cp'#CpO$vQdO'#CqO)fQvO'#CsO*sQtO,5:POOQO'#Cx'#CxO)XQWO'#CwO+XQWO'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lPPP'T'j'wPP#cPP(O(O(Y(OP(OP(O(OP#cP#cP#cP(]#cP(`(c(f(m#cP#cP(r)R)a)g)q)w*R*X*_PPPPPP*e*nP+Z+^P,S,V,],f_aOPcgt!j#hkXOPcglqrst!j!z#]#hkROPcglqrst!j!z#]#hQjSR!mkQxUR!qnQ!qzQ#S!UR#k!sq!WY[!Q!i!{!}#Q#f#m#r#y$Y$Z$b$g$sp!WY[!Q!i!{!}#Q#f#m#r#y$Y$Z$b$g$sU$T#b$V$jR$i$Sq!UY[!Q!i!{!}#Q#f#m#r#y$Y$Z$b$g$sp!WY[!Q!i!{!}#Q#f#m#r#y$Y$Z$b$g$sQ!b]R#a!cQyUR!rnQ!qyR#k!rQ|VR!toQ!OWR!upQuTQ!pmQ#^!_Q#d!fQ#e!gQ$l$UR$x$kSfPtQ!lgQ#g!jR$]#hZePgt!j#ha!^Z_`!S!Y![#X#YR#V!YR!c]R!e^R#c!eS$U#b$VR$v$jV$S#b$V$jQcOSgPtU!hcg#hR#h!jQ#r!{U$a#r$g$sQ$g#yR$s$bQ$c#rR$t$cQmTS!om$_R$_#oQ$Z#fR$p$ZQ!kfS#i!k#jR#j!lQ#Z!ZR#}#ZQ$V#bR$m$VQ$k$UR$w$k_bOPcgt!j#h^TOPcgt!j#hQ!nlQ!vqQ!wrQ!xsQ#o!zR$O#]R#s!{Q!SYQ!`[Q#O!QQ#f!i[#q!{#r#y$b$g$sQ#t!}Q#v#QS$X#f$ZQ$^#mR$o$YR#p!zQhPR!ytQ!_ZQ!g`R#R!SU!ZZ`!SQ!f_Q#W!YQ#[![Q#{#XR#|#Y",
|
|
669
|
-
nodeNames: "⚠ Unit VariableName Comment StyleSheet RuleSet UniversalSelector TagSelector TagName NestingSelector ClassSelector ClassName PseudoClassSelector : :: PseudoClassName PseudoClassName ) ( ArgList ValueName ParenthesizedValue ColorLiteral NumberLiteral StringLiteral BinaryExpression BinOp CallExpression Callee CallLiteral CallTag ParenthesizedContent , PseudoClassName ArgList IdSelector # IdName ] AttributeSelector [ AttributeName MatchOp ChildSelector ChildOp DescendantSelector SiblingSelector SiblingOp } { Block Declaration PropertyName Important ; ImportStatement AtKeyword import KeywordQuery FeatureQuery FeatureName BinaryQuery LogicOp UnaryQuery UnaryQueryOp ParenthesizedQuery SelectorQuery selector MediaStatement media CharsetStatement charset NamespaceStatement namespace NamespaceName KeyframesStatement keyframes KeyframeName KeyframeList KeyframeSelector KeyframeRangeName SupportsStatement supports AtRule Styles",
|
|
670
|
-
maxTerm: 109,
|
|
671
|
-
nodeProps: [["openedBy", 17, "(", 48, "{"], ["closedBy", 18, ")", 49, "}"]],
|
|
672
|
-
propSources: [cssHighlighting],
|
|
673
|
-
skippedNodes: [0, 3],
|
|
674
|
-
repeatNodeCount: 9,
|
|
675
|
-
tokenData: "Lq~R!^OX$}X^%u^p$}pq%uqr)Xrs.Rst/utu6duv$}vw7^wx7oxy9^yz9oz{9t{|:_|}?Q}!O?c!O!P@Q!P!Q@i!Q![Cu![!]Dp!]!^El!^!_$}!_!`E}!`!aF`!a!b$}!b!cG[!c!}$}!}#OHt#O#P$}#P#QIV#Q#R6d#R#T$}#T#UIh#U#c$}#c#dJy#d#o$}#o#pK`#p#q6d#q#rKq#r#sLS#s#y$}#y#z%u#z$f$}$f$g%u$g#BY$}#BY#BZ%u#BZ$IS$}$IS$I_%u$I_$I|$}$I|$JO%u$JO$JT$}$JT$JU%u$JU$KV$}$KV$KW%u$KW&FU$}&FU&FV%u&FV;'S$};'S;=`Lk<%lO$}W%QSOy%^z;'S%^;'S;=`%o<%lO%^W%cSoWOy%^z;'S%^;'S;=`%o<%lO%^W%rP;=`<%l%^~%zh#V~OX%^X^'f^p%^pq'fqy%^z#y%^#y#z'f#z$f%^$f$g'f$g#BY%^#BY#BZ'f#BZ$IS%^$IS$I_'f$I_$I|%^$I|$JO'f$JO$JT%^$JT$JU'f$JU$KV%^$KV$KW'f$KW&FU%^&FU&FV'f&FV;'S%^;'S;=`%o<%lO%^~'mh#V~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^;'S;=`%o<%lO%^_KvS!QVOy%^z;'S%^;'S;=`%o<%lO%^ZLXU!PPOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^WLnP;=`<%l$}",
|
|
676
|
-
tokenizers: [descendant, unitToken, identifiers, 0, 1, 2, 3],
|
|
677
|
-
topRules: {
|
|
678
|
-
"StyleSheet": [0, 4],
|
|
679
|
-
"Styles": [1, 84]
|
|
680
|
-
},
|
|
681
|
-
specialized: [{
|
|
682
|
-
term: 96,
|
|
683
|
-
get: value => spec_callee[value] || -1
|
|
684
|
-
}, {
|
|
685
|
-
term: 56,
|
|
686
|
-
get: value => spec_AtKeyword[value] || -1
|
|
687
|
-
}, {
|
|
688
|
-
term: 97,
|
|
689
|
-
get: value => spec_identifier[value] || -1
|
|
690
|
-
}],
|
|
691
|
-
tokenPrec: 1142
|
|
692
|
-
});
|
|
693
|
-
|
|
694
|
-
let _properties = null;
|
|
695
|
-
function properties() {
|
|
696
|
-
if (!_properties && typeof document == "object" && document.body) {
|
|
697
|
-
let {
|
|
698
|
-
style
|
|
699
|
-
} = document.body,
|
|
700
|
-
names = [],
|
|
701
|
-
seen = new Set();
|
|
702
|
-
for (let prop in style) if (prop != "cssText" && prop != "cssFloat") {
|
|
703
|
-
if (typeof style[prop] == "string") {
|
|
704
|
-
if (/[A-Z]/.test(prop)) prop = prop.replace(/[A-Z]/g, ch => "-" + ch.toLowerCase());
|
|
705
|
-
if (!seen.has(prop)) {
|
|
706
|
-
names.push(prop);
|
|
707
|
-
seen.add(prop);
|
|
708
|
-
}
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
_properties = names.sort().map(name => ({
|
|
712
|
-
type: "property",
|
|
713
|
-
label: name
|
|
714
|
-
}));
|
|
715
|
-
}
|
|
716
|
-
return _properties || [];
|
|
717
|
-
}
|
|
718
|
-
const pseudoClasses = /*@__PURE__*/["active", "after", "any-link", "autofill", "backdrop", "before", "checked", "cue", "default", "defined", "disabled", "empty", "enabled", "file-selector-button", "first", "first-child", "first-letter", "first-line", "first-of-type", "focus", "focus-visible", "focus-within", "fullscreen", "has", "host", "host-context", "hover", "in-range", "indeterminate", "invalid", "is", "lang", "last-child", "last-of-type", "left", "link", "marker", "modal", "not", "nth-child", "nth-last-child", "nth-last-of-type", "nth-of-type", "only-child", "only-of-type", "optional", "out-of-range", "part", "placeholder", "placeholder-shown", "read-only", "read-write", "required", "right", "root", "scope", "selection", "slotted", "target", "target-text", "valid", "visited", "where"].map(name => ({
|
|
719
|
-
type: "class",
|
|
720
|
-
label: name
|
|
721
|
-
}));
|
|
722
|
-
const values = /*@__PURE__*/["above", "absolute", "activeborder", "additive", "activecaption", "after-white-space", "ahead", "alias", "all", "all-scroll", "alphabetic", "alternate", "always", "antialiased", "appworkspace", "asterisks", "attr", "auto", "auto-flow", "avoid", "avoid-column", "avoid-page", "avoid-region", "axis-pan", "background", "backwards", "baseline", "below", "bidi-override", "blink", "block", "block-axis", "bold", "bolder", "border", "border-box", "both", "bottom", "break", "break-all", "break-word", "bullets", "button", "button-bevel", "buttonface", "buttonhighlight", "buttonshadow", "buttontext", "calc", "capitalize", "caps-lock-indicator", "caption", "captiontext", "caret", "cell", "center", "checkbox", "circle", "cjk-decimal", "clear", "clip", "close-quote", "col-resize", "collapse", "color", "color-burn", "color-dodge", "column", "column-reverse", "compact", "condensed", "contain", "content", "contents", "content-box", "context-menu", "continuous", "copy", "counter", "counters", "cover", "crop", "cross", "crosshair", "currentcolor", "cursive", "cyclic", "darken", "dashed", "decimal", "decimal-leading-zero", "default", "default-button", "dense", "destination-atop", "destination-in", "destination-out", "destination-over", "difference", "disc", "discard", "disclosure-closed", "disclosure-open", "document", "dot-dash", "dot-dot-dash", "dotted", "double", "down", "e-resize", "ease", "ease-in", "ease-in-out", "ease-out", "element", "ellipse", "ellipsis", "embed", "end", "ethiopic-abegede-gez", "ethiopic-halehame-aa-er", "ethiopic-halehame-gez", "ew-resize", "exclusion", "expanded", "extends", "extra-condensed", "extra-expanded", "fantasy", "fast", "fill", "fill-box", "fixed", "flat", "flex", "flex-end", "flex-start", "footnotes", "forwards", "from", "geometricPrecision", "graytext", "grid", "groove", "hand", "hard-light", "help", "hidden", "hide", "higher", "highlight", "highlighttext", "horizontal", "hsl", "hsla", "hue", "icon", "ignore", "inactiveborder", "inactivecaption", "inactivecaptiontext", "infinite", "infobackground", "infotext", "inherit", "initial", "inline", "inline-axis", "inline-block", "inline-flex", "inline-grid", "inline-table", "inset", "inside", "intrinsic", "invert", "italic", "justify", "keep-all", "landscape", "large", "larger", "left", "level", "lighter", "lighten", "line-through", "linear", "linear-gradient", "lines", "list-item", "listbox", "listitem", "local", "logical", "loud", "lower", "lower-hexadecimal", "lower-latin", "lower-norwegian", "lowercase", "ltr", "luminosity", "manipulation", "match", "matrix", "matrix3d", "medium", "menu", "menutext", "message-box", "middle", "min-intrinsic", "mix", "monospace", "move", "multiple", "multiple_mask_images", "multiply", "n-resize", "narrower", "ne-resize", "nesw-resize", "no-close-quote", "no-drop", "no-open-quote", "no-repeat", "none", "normal", "not-allowed", "nowrap", "ns-resize", "numbers", "numeric", "nw-resize", "nwse-resize", "oblique", "opacity", "open-quote", "optimizeLegibility", "optimizeSpeed", "outset", "outside", "outside-shape", "overlay", "overline", "padding", "padding-box", "painted", "page", "paused", "perspective", "pinch-zoom", "plus-darker", "plus-lighter", "pointer", "polygon", "portrait", "pre", "pre-line", "pre-wrap", "preserve-3d", "progress", "push-button", "radial-gradient", "radio", "read-only", "read-write", "read-write-plaintext-only", "rectangle", "region", "relative", "repeat", "repeating-linear-gradient", "repeating-radial-gradient", "repeat-x", "repeat-y", "reset", "reverse", "rgb", "rgba", "ridge", "right", "rotate", "rotate3d", "rotateX", "rotateY", "rotateZ", "round", "row", "row-resize", "row-reverse", "rtl", "run-in", "running", "s-resize", "sans-serif", "saturation", "scale", "scale3d", "scaleX", "scaleY", "scaleZ", "screen", "scroll", "scrollbar", "scroll-position", "se-resize", "self-start", "self-end", "semi-condensed", "semi-expanded", "separate", "serif", "show", "single", "skew", "skewX", "skewY", "skip-white-space", "slide", "slider-horizontal", "slider-vertical", "sliderthumb-horizontal", "sliderthumb-vertical", "slow", "small", "small-caps", "small-caption", "smaller", "soft-light", "solid", "source-atop", "source-in", "source-out", "source-over", "space", "space-around", "space-between", "space-evenly", "spell-out", "square", "start", "static", "status-bar", "stretch", "stroke", "stroke-box", "sub", "subpixel-antialiased", "svg_masks", "super", "sw-resize", "symbolic", "symbols", "system-ui", "table", "table-caption", "table-cell", "table-column", "table-column-group", "table-footer-group", "table-header-group", "table-row", "table-row-group", "text", "text-bottom", "text-top", "textarea", "textfield", "thick", "thin", "threeddarkshadow", "threedface", "threedhighlight", "threedlightshadow", "threedshadow", "to", "top", "transform", "translate", "translate3d", "translateX", "translateY", "translateZ", "transparent", "ultra-condensed", "ultra-expanded", "underline", "unidirectional-pan", "unset", "up", "upper-latin", "uppercase", "url", "var", "vertical", "vertical-text", "view-box", "visible", "visibleFill", "visiblePainted", "visibleStroke", "visual", "w-resize", "wait", "wave", "wider", "window", "windowframe", "windowtext", "words", "wrap", "wrap-reverse", "x-large", "x-small", "xor", "xx-large", "xx-small"].map(name => ({
|
|
723
|
-
type: "keyword",
|
|
724
|
-
label: name
|
|
725
|
-
})).concat( /*@__PURE__*/["aliceblue", "antiquewhite", "aqua", "aquamarine", "azure", "beige", "bisque", "black", "blanchedalmond", "blue", "blueviolet", "brown", "burlywood", "cadetblue", "chartreuse", "chocolate", "coral", "cornflowerblue", "cornsilk", "crimson", "cyan", "darkblue", "darkcyan", "darkgoldenrod", "darkgray", "darkgreen", "darkkhaki", "darkmagenta", "darkolivegreen", "darkorange", "darkorchid", "darkred", "darksalmon", "darkseagreen", "darkslateblue", "darkslategray", "darkturquoise", "darkviolet", "deeppink", "deepskyblue", "dimgray", "dodgerblue", "firebrick", "floralwhite", "forestgreen", "fuchsia", "gainsboro", "ghostwhite", "gold", "goldenrod", "gray", "grey", "green", "greenyellow", "honeydew", "hotpink", "indianred", "indigo", "ivory", "khaki", "lavender", "lavenderblush", "lawngreen", "lemonchiffon", "lightblue", "lightcoral", "lightcyan", "lightgoldenrodyellow", "lightgray", "lightgreen", "lightpink", "lightsalmon", "lightseagreen", "lightskyblue", "lightslategray", "lightsteelblue", "lightyellow", "lime", "limegreen", "linen", "magenta", "maroon", "mediumaquamarine", "mediumblue", "mediumorchid", "mediumpurple", "mediumseagreen", "mediumslateblue", "mediumspringgreen", "mediumturquoise", "mediumvioletred", "midnightblue", "mintcream", "mistyrose", "moccasin", "navajowhite", "navy", "oldlace", "olive", "olivedrab", "orange", "orangered", "orchid", "palegoldenrod", "palegreen", "paleturquoise", "palevioletred", "papayawhip", "peachpuff", "peru", "pink", "plum", "powderblue", "purple", "rebeccapurple", "red", "rosybrown", "royalblue", "saddlebrown", "salmon", "sandybrown", "seagreen", "seashell", "sienna", "silver", "skyblue", "slateblue", "slategray", "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen"].map(name => ({
|
|
726
|
-
type: "constant",
|
|
727
|
-
label: name
|
|
728
|
-
})));
|
|
729
|
-
const tags = /*@__PURE__*/["a", "abbr", "address", "article", "aside", "b", "bdi", "bdo", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "figcaption", "figure", "footer", "form", "header", "hgroup", "h1", "h2", "h3", "h4", "h5", "h6", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "meter", "nav", "ol", "output", "p", "pre", "ruby", "section", "select", "small", "source", "span", "strong", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "tr", "u", "ul"].map(name => ({
|
|
730
|
-
type: "type",
|
|
731
|
-
label: name
|
|
732
|
-
}));
|
|
733
|
-
const identifier$1 = /^(\w[\w-]*|-\w[\w-]*|)$/,
|
|
734
|
-
variable = /^-(-[\w-]*)?$/;
|
|
735
|
-
function isVarArg(node, doc) {
|
|
736
|
-
var _a;
|
|
737
|
-
if (node.name == "(" || node.type.isError) node = node.parent || node;
|
|
738
|
-
if (node.name != "ArgList") return false;
|
|
739
|
-
let callee = (_a = node.parent) === null || _a === void 0 ? void 0 : _a.firstChild;
|
|
740
|
-
if ((callee === null || callee === void 0 ? void 0 : callee.name) != "Callee") return false;
|
|
741
|
-
return doc.sliceString(callee.from, callee.to) == "var";
|
|
742
|
-
}
|
|
743
|
-
const VariablesByNode = /*@__PURE__*/new NodeWeakMap();
|
|
744
|
-
const declSelector = ["Declaration"];
|
|
745
|
-
function astTop(node) {
|
|
746
|
-
for (let cur = node;;) {
|
|
747
|
-
if (cur.type.isTop) return cur;
|
|
748
|
-
if (!(cur = cur.parent)) return node;
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
function variableNames(doc, node, isVariable) {
|
|
752
|
-
if (node.to - node.from > 4096) {
|
|
753
|
-
let known = VariablesByNode.get(node);
|
|
754
|
-
if (known) return known;
|
|
755
|
-
let result = [],
|
|
756
|
-
seen = new Set(),
|
|
757
|
-
cursor = node.cursor(IterMode.IncludeAnonymous);
|
|
758
|
-
if (cursor.firstChild()) do {
|
|
759
|
-
for (let option of variableNames(doc, cursor.node, isVariable)) if (!seen.has(option.label)) {
|
|
760
|
-
seen.add(option.label);
|
|
761
|
-
result.push(option);
|
|
762
|
-
}
|
|
763
|
-
} while (cursor.nextSibling());
|
|
764
|
-
VariablesByNode.set(node, result);
|
|
765
|
-
return result;
|
|
766
|
-
} else {
|
|
767
|
-
let result = [],
|
|
768
|
-
seen = new Set();
|
|
769
|
-
node.cursor().iterate(node => {
|
|
770
|
-
var _a;
|
|
771
|
-
if (isVariable(node) && node.matchContext(declSelector) && ((_a = node.node.nextSibling) === null || _a === void 0 ? void 0 : _a.name) == ":") {
|
|
772
|
-
let name = doc.sliceString(node.from, node.to);
|
|
773
|
-
if (!seen.has(name)) {
|
|
774
|
-
seen.add(name);
|
|
775
|
-
result.push({
|
|
776
|
-
label: name,
|
|
777
|
-
type: "variable"
|
|
778
|
-
});
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
});
|
|
782
|
-
return result;
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
/**
|
|
786
|
-
Create a completion source for a CSS dialect, providing a
|
|
787
|
-
predicate for determining what kind of syntax node can act as a
|
|
788
|
-
completable variable. This is used by language modes like Sass and
|
|
789
|
-
Less to reuse this package's completion logic.
|
|
790
|
-
*/
|
|
791
|
-
const defineCSSCompletionSource = isVariable => context => {
|
|
792
|
-
let {
|
|
793
|
-
state,
|
|
794
|
-
pos
|
|
795
|
-
} = context,
|
|
796
|
-
node = syntaxTree(state).resolveInner(pos, -1);
|
|
797
|
-
let isDash = node.type.isError && node.from == node.to - 1 && state.doc.sliceString(node.from, node.to) == "-";
|
|
798
|
-
if (node.name == "PropertyName" || (isDash || node.name == "TagName") && /^(Block|Styles)$/.test(node.resolve(node.to).name)) return {
|
|
799
|
-
from: node.from,
|
|
800
|
-
options: properties(),
|
|
801
|
-
validFor: identifier$1
|
|
802
|
-
};
|
|
803
|
-
if (node.name == "ValueName") return {
|
|
804
|
-
from: node.from,
|
|
805
|
-
options: values,
|
|
806
|
-
validFor: identifier$1
|
|
807
|
-
};
|
|
808
|
-
if (node.name == "PseudoClassName") return {
|
|
809
|
-
from: node.from,
|
|
810
|
-
options: pseudoClasses,
|
|
811
|
-
validFor: identifier$1
|
|
812
|
-
};
|
|
813
|
-
if (isVariable(node) || (context.explicit || isDash) && isVarArg(node, state.doc)) return {
|
|
814
|
-
from: isVariable(node) || isDash ? node.from : pos,
|
|
815
|
-
options: variableNames(state.doc, astTop(node), isVariable),
|
|
816
|
-
validFor: variable
|
|
817
|
-
};
|
|
818
|
-
if (node.name == "TagName") {
|
|
819
|
-
for (let {
|
|
820
|
-
parent
|
|
821
|
-
} = node; parent; parent = parent.parent) if (parent.name == "Block") return {
|
|
822
|
-
from: node.from,
|
|
823
|
-
options: properties(),
|
|
824
|
-
validFor: identifier$1
|
|
825
|
-
};
|
|
826
|
-
return {
|
|
827
|
-
from: node.from,
|
|
828
|
-
options: tags,
|
|
829
|
-
validFor: identifier$1
|
|
830
|
-
};
|
|
831
|
-
}
|
|
832
|
-
if (!context.explicit) return null;
|
|
833
|
-
let above = node.resolve(pos),
|
|
834
|
-
before = above.childBefore(pos);
|
|
835
|
-
if (before && before.name == ":" && above.name == "PseudoClassSelector") return {
|
|
836
|
-
from: pos,
|
|
837
|
-
options: pseudoClasses,
|
|
838
|
-
validFor: identifier$1
|
|
839
|
-
};
|
|
840
|
-
if (before && before.name == ":" && above.name == "Declaration" || above.name == "ArgList") return {
|
|
841
|
-
from: pos,
|
|
842
|
-
options: values,
|
|
843
|
-
validFor: identifier$1
|
|
844
|
-
};
|
|
845
|
-
if (above.name == "Block" || above.name == "Styles") return {
|
|
846
|
-
from: pos,
|
|
847
|
-
options: properties(),
|
|
848
|
-
validFor: identifier$1
|
|
849
|
-
};
|
|
850
|
-
return null;
|
|
851
|
-
};
|
|
852
|
-
/**
|
|
853
|
-
CSS property, variable, and value keyword completion source.
|
|
854
|
-
*/
|
|
855
|
-
const cssCompletionSource = /*@__PURE__*/defineCSSCompletionSource(n => n.name == "VariableName");
|
|
856
|
-
|
|
857
|
-
/**
|
|
858
|
-
A language provider based on the [Lezer CSS
|
|
859
|
-
parser](https://github.com/lezer-parser/css), extended with
|
|
860
|
-
highlighting and indentation information.
|
|
861
|
-
*/
|
|
862
|
-
const cssLanguage = /*@__PURE__*/LRLanguage.define({
|
|
863
|
-
name: "css",
|
|
864
|
-
parser: /*@__PURE__*/parser.configure({
|
|
865
|
-
props: [/*@__PURE__*/indentNodeProp.add({
|
|
866
|
-
Declaration: /*@__PURE__*/continuedIndent()
|
|
867
|
-
}), /*@__PURE__*/foldNodeProp.add({
|
|
868
|
-
Block: foldInside
|
|
869
|
-
})]
|
|
870
|
-
}),
|
|
871
|
-
languageData: {
|
|
872
|
-
commentTokens: {
|
|
873
|
-
block: {
|
|
874
|
-
open: "/*",
|
|
875
|
-
close: "*/"
|
|
876
|
-
}
|
|
877
|
-
},
|
|
878
|
-
indentOnInput: /^\s*\}$/,
|
|
879
|
-
wordChars: "-"
|
|
880
|
-
}
|
|
881
|
-
});
|
|
882
|
-
/**
|
|
883
|
-
Language support for CSS.
|
|
884
|
-
*/
|
|
885
|
-
function css() {
|
|
886
|
-
return new LanguageSupport(cssLanguage, cssLanguage.data.of({
|
|
887
|
-
autocomplete: cssCompletionSource
|
|
888
|
-
}));
|
|
889
|
-
}
|
|
890
|
-
|
|
891
446
|
const Targets = ["_blank", "_self", "_top", "_parent"];
|
|
892
447
|
const Charsets = ["ascii", "utf-8", "utf-16", "latin1", "latin1"];
|
|
893
448
|
const Methods = ["get", "post", "put", "delete"];
|
|
@@ -1625,6 +1180,13 @@ function htmlCompletionFor(schema, context) {
|
|
|
1625
1180
|
}
|
|
1626
1181
|
}
|
|
1627
1182
|
/**
|
|
1183
|
+
HTML tag completion. Opens and closes tags and attributes in a
|
|
1184
|
+
context-aware way.
|
|
1185
|
+
*/
|
|
1186
|
+
function htmlCompletionSource(context) {
|
|
1187
|
+
return htmlCompletionFor(Schema.default, context);
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1628
1190
|
Create a completion source for HTML extended with additional tags
|
|
1629
1191
|
or attributes.
|
|
1630
1192
|
*/
|
|
@@ -1678,7 +1240,7 @@ JavaScript and CSS parsers to parse the content of `<script>` and
|
|
|
1678
1240
|
*/
|
|
1679
1241
|
const htmlPlain = /*@__PURE__*/LRLanguage.define({
|
|
1680
1242
|
name: "html",
|
|
1681
|
-
parser: /*@__PURE__*/parser
|
|
1243
|
+
parser: /*@__PURE__*/parser.configure({
|
|
1682
1244
|
props: [/*@__PURE__*/indentNodeProp.add({
|
|
1683
1245
|
Element(context) {
|
|
1684
1246
|
let after = /^(\s*)(<\/)?/.exec(context.textAfter);
|
|
@@ -1814,4 +1376,4 @@ const autoCloseTags = /*@__PURE__*/EditorView.inputHandler.of((view, from, to, t
|
|
|
1814
1376
|
return true;
|
|
1815
1377
|
});
|
|
1816
1378
|
|
|
1817
|
-
export {
|
|
1379
|
+
export { autoCloseTags, html, htmlCompletionSource, htmlCompletionSourceWith, htmlLanguage, htmlPlain };
|