@voicenter-team/voicenter-ui-plus 2.0.9 → 2.0.10
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/library/core/{clike-CTYGlS6x.mjs → clike-DaICHkS3.mjs} +13 -7
- package/library/core/clike-DaICHkS3.mjs.br +0 -0
- package/library/core/clike-DaICHkS3.mjs.gz +0 -0
- package/library/core/{css-DkSyTW67.mjs → css-c-jst79C.mjs} +15 -4
- package/library/core/css-c-jst79C.mjs.br +0 -0
- package/library/core/css-c-jst79C.mjs.gz +0 -0
- package/library/core/{dockerfile-DEtqCkHn.mjs → dockerfile-D1TIj5jA.mjs} +1 -1
- package/library/core/dockerfile-D1TIj5jA.mjs.br +0 -0
- package/library/core/dockerfile-D1TIj5jA.mjs.gz +0 -0
- package/library/core/{entry-BKrD0RBL.mjs → entry-LR10HxE9.mjs} +9994 -10766
- package/library/core/entry-LR10HxE9.mjs.br +0 -0
- package/library/core/entry-LR10HxE9.mjs.gz +0 -0
- package/library/core/{factor-CxBhtrN5.mjs → factor-ne7PWKF0.mjs} +1 -1
- package/library/core/factor-ne7PWKF0.mjs.br +0 -0
- package/library/core/factor-ne7PWKF0.mjs.gz +0 -0
- package/library/core/{gas-0Aw8zDr5.mjs → gas-d3KEcW3x.mjs} +3 -2
- package/library/core/gas-d3KEcW3x.mjs.br +0 -0
- package/library/core/gas-d3KEcW3x.mjs.gz +0 -0
- package/library/core/index-9IanTzTm.mjs +300 -0
- package/library/core/index-9IanTzTm.mjs.br +0 -0
- package/library/core/index-9IanTzTm.mjs.gz +0 -0
- package/library/core/{index-NIvnx34k.mjs → index-BA8abdi2.mjs} +1 -1
- package/library/core/index-BA8abdi2.mjs.br +0 -0
- package/library/core/index-BA8abdi2.mjs.gz +0 -0
- package/library/core/{index-CcFoMOlp.mjs → index-BJY90l9K.mjs} +1 -1
- package/library/core/index-BJY90l9K.mjs.br +0 -0
- package/library/core/index-BJY90l9K.mjs.gz +0 -0
- package/library/core/{index-JMZUDHdp.mjs → index-BWbyTPKj.mjs} +23 -48
- package/library/core/index-BWbyTPKj.mjs.br +0 -0
- package/library/core/index-BWbyTPKj.mjs.gz +0 -0
- package/library/core/index-Bdc1C92P.mjs +322 -0
- package/library/core/index-Bdc1C92P.mjs.br +0 -0
- package/library/core/index-Bdc1C92P.mjs.gz +0 -0
- package/library/core/{index-C-c2Z-qR.mjs → index-BwsMbgFM.mjs} +1 -1
- package/library/core/index-BwsMbgFM.mjs.br +0 -0
- package/library/core/index-BwsMbgFM.mjs.gz +0 -0
- package/library/core/{index-BIJOxI62.mjs → index-C0ljYJcE.mjs} +3 -3
- package/library/core/index-C0ljYJcE.mjs.br +0 -0
- package/library/core/index-C0ljYJcE.mjs.gz +0 -0
- package/library/core/{index-BsyHLtlI.mjs → index-C1QKFrvZ.mjs} +1 -1
- package/library/core/index-C1QKFrvZ.mjs.br +0 -0
- package/library/core/index-C1QKFrvZ.mjs.gz +0 -0
- package/library/core/{index-Zh2eQN0A.mjs → index-CILzzTha.mjs} +1 -1
- package/library/core/index-CILzzTha.mjs.br +0 -0
- package/library/core/index-CILzzTha.mjs.gz +0 -0
- package/library/core/index-CU6v6rFv.mjs +156 -0
- package/library/core/index-CU6v6rFv.mjs.br +0 -0
- package/library/core/index-CU6v6rFv.mjs.gz +0 -0
- package/library/core/{index-BAj2kg_2.mjs → index-CkyvhKsl.mjs} +1 -1
- package/library/core/index-CkyvhKsl.mjs.br +0 -0
- package/library/core/index-CkyvhKsl.mjs.gz +0 -0
- package/library/core/index-Cvn_Ekcu.mjs +327 -0
- package/library/core/index-Cvn_Ekcu.mjs.br +0 -0
- package/library/core/index-Cvn_Ekcu.mjs.gz +0 -0
- package/library/core/{index-DM_4A0ge.mjs → index-CydJw8NR.mjs} +1 -1
- package/library/core/index-CydJw8NR.mjs.br +0 -0
- package/library/core/index-CydJw8NR.mjs.gz +0 -0
- package/library/core/{index-BztfI8J3.mjs → index-DPXcVCmu.mjs} +1 -1
- package/library/core/index-DPXcVCmu.mjs.br +0 -0
- package/library/core/index-DPXcVCmu.mjs.gz +0 -0
- package/library/core/{index-Dl5FfLH7.mjs → index-DfwsN9ON.mjs} +1 -1
- package/library/core/index-DfwsN9ON.mjs.br +0 -0
- package/library/core/index-DfwsN9ON.mjs.gz +0 -0
- package/library/core/index.mjs +154 -154
- package/library/core/index.mjs.br +0 -0
- package/library/core/index.mjs.gz +0 -0
- package/library/core/index.umd.js +17 -7
- package/library/core/index.umd.js.br +0 -0
- package/library/core/index.umd.js.gz +0 -0
- package/library/core/{javascript-CJze3-DU.mjs → javascript-C3MnDRiU.mjs} +5 -3
- package/library/core/javascript-C3MnDRiU.mjs.br +0 -0
- package/library/core/javascript-C3MnDRiU.mjs.gz +0 -0
- package/library/core/jinja2-2Vo2sGef.mjs +208 -0
- package/library/core/jinja2-2Vo2sGef.mjs.br +0 -0
- package/library/core/jinja2-2Vo2sGef.mjs.gz +0 -0
- package/library/core/{nsis-mZ2GYujm.mjs → nsis-BnYeX9pP.mjs} +1 -1
- package/library/core/nsis-BnYeX9pP.mjs.br +0 -0
- package/library/core/nsis-BnYeX9pP.mjs.gz +0 -0
- package/library/core/{pug-CEXQMbca.mjs → pug-DGCLwxp4.mjs} +1 -1
- package/library/core/pug-DGCLwxp4.mjs.br +0 -0
- package/library/core/pug-DGCLwxp4.mjs.gz +0 -0
- package/library/core/{python-BFGRmuZ9.mjs → python-CvWbmiX4.mjs} +3 -2
- package/library/core/python-CvWbmiX4.mjs.br +0 -0
- package/library/core/python-CvWbmiX4.mjs.gz +0 -0
- package/library/core/{q-CrbCVq4a.mjs → q-819KmTeu.mjs} +1 -4
- package/library/core/q-819KmTeu.mjs.br +0 -0
- package/library/core/q-819KmTeu.mjs.gz +0 -0
- package/library/core/{simple-mode-DMneyfDu.mjs → simple-mode-zrLq6ojR.mjs} +0 -1
- package/library/core/simple-mode-zrLq6ojR.mjs.br +0 -0
- package/library/core/simple-mode-zrLq6ojR.mjs.gz +0 -0
- package/library/core/{sql-Cei9CMfk.mjs → sql-BSrOzCRI.mjs} +25 -13
- package/library/core/sql-BSrOzCRI.mjs.br +0 -0
- package/library/core/sql-BSrOzCRI.mjs.gz +0 -0
- package/library/core/{stex-C1nZSzAw.mjs → stex-B6LNC55o.mjs} +3 -2
- package/library/core/stex-B6LNC55o.mjs.br +0 -0
- package/library/core/stex-B6LNC55o.mjs.gz +0 -0
- package/library/core/style.css +1 -1
- package/library/core/style.css.br +0 -0
- package/library/core/style.css.gz +0 -0
- package/library/core/{toml-BOuWGMcf.mjs → toml-CrLTxh7K.mjs} +7 -8
- package/library/core/toml-CrLTxh7K.mjs.br +0 -0
- package/library/core/toml-CrLTxh7K.mjs.gz +0 -0
- package/library/core/types/components/VcButton/VcToggleButton.vue.d.ts +1 -1
- package/library/core/types/components/VcDatePicker/VcDatePicker.vue.d.ts +6 -6
- package/library/core/types/components/VcDropdown/VcDropdown.vue.d.ts +1 -1
- package/library/core/types/components/VcInputNumber/VcInputNumber.vue.d.ts +1 -1
- package/library/core/types/components/VcJsonSchema/Components/JsonSchemaEditor.vue.d.ts +1 -1
- package/library/core/types/components/VcMeterGroup/VcMeterGroup.vue.d.ts +1 -1
- package/library/core/types/components/VcOtpInput/VcOtpInput.vue.d.ts +1 -1
- package/library/core/types/components/VcPopover/VcSelectPopover.vue.d.ts +9 -9
- package/library/core/types/components/VcProgress/VcProgressCircular.vue.d.ts +2 -2
- package/library/core/types/components/VcSegmented/VcSegmented.vue.d.ts +6 -6
- package/library/core/types/components/VcSelect/VcInfiniteScrollSelect.vue.d.ts +6 -6
- package/library/core/types/components/VcSoundplayer/VcSoundPlayerWrapper.vue.d.ts +0 -4
- package/library/core/types/components/VcSparkline/VcBarLine.vue.d.ts +1 -1
- package/library/core/types/components/VcSparkline/VcSparkline.vue.d.ts +1 -1
- package/library/core/types/components/VcSparkline/VcTrendLine.vue.d.ts +1 -1
- package/library/core/types/components/VcSwitch/VcSwitch.vue.d.ts +9 -9
- package/library/core/types/components/VcTable/VcTable.vue.d.ts +9 -9
- package/library/core/types/components/VcTree/VcTree.vue.d.ts +9 -9
- package/library/core/types/components/VcTree/VcTreeSelect.vue.d.ts +3 -3
- package/library/core/types/directives/index.d.ts +1 -1
- package/library/core/{vbscript-Bfn8O8I7.mjs → vbscript-CI6_mxxU.mjs} +3 -2
- package/library/core/vbscript-CI6_mxxU.mjs.br +0 -0
- package/library/core/vbscript-CI6_mxxU.mjs.gz +0 -0
- package/library/core/{verilog-CnT9bMk0.mjs → verilog-DDCYnHN8.mjs} +2 -1
- package/library/core/verilog-DDCYnHN8.mjs.br +0 -0
- package/library/core/verilog-DDCYnHN8.mjs.gz +0 -0
- package/library/core/{z80-ClgwfNdB.mjs → z80-BZV19vqv.mjs} +5 -4
- package/library/core/z80-BZV19vqv.mjs.br +0 -0
- package/library/core/z80-BZV19vqv.mjs.gz +0 -0
- package/package.json +1 -1
- package/library/core/clike-CTYGlS6x.mjs.br +0 -0
- package/library/core/clike-CTYGlS6x.mjs.gz +0 -0
- package/library/core/css-DkSyTW67.mjs.br +0 -0
- package/library/core/css-DkSyTW67.mjs.gz +0 -0
- package/library/core/dockerfile-DEtqCkHn.mjs.br +0 -0
- package/library/core/dockerfile-DEtqCkHn.mjs.gz +0 -0
- package/library/core/entry-BKrD0RBL.mjs.br +0 -0
- package/library/core/entry-BKrD0RBL.mjs.gz +0 -0
- package/library/core/factor-CxBhtrN5.mjs.br +0 -0
- package/library/core/factor-CxBhtrN5.mjs.gz +0 -0
- package/library/core/gas-0Aw8zDr5.mjs.br +0 -0
- package/library/core/gas-0Aw8zDr5.mjs.gz +0 -0
- package/library/core/index-BAj2kg_2.mjs.br +0 -0
- package/library/core/index-BAj2kg_2.mjs.gz +0 -0
- package/library/core/index-BIJOxI62.mjs.br +0 -0
- package/library/core/index-BIJOxI62.mjs.gz +0 -0
- package/library/core/index-BdSZyTPh.mjs +0 -156
- package/library/core/index-BdSZyTPh.mjs.br +0 -0
- package/library/core/index-BdSZyTPh.mjs.gz +0 -0
- package/library/core/index-BsyHLtlI.mjs.br +0 -0
- package/library/core/index-BsyHLtlI.mjs.gz +0 -0
- package/library/core/index-BztfI8J3.mjs.br +0 -0
- package/library/core/index-BztfI8J3.mjs.gz +0 -0
- package/library/core/index-C-c2Z-qR.mjs.br +0 -0
- package/library/core/index-C-c2Z-qR.mjs.gz +0 -0
- package/library/core/index-CFjyZNuJ.mjs +0 -328
- package/library/core/index-CFjyZNuJ.mjs.br +0 -0
- package/library/core/index-CFjyZNuJ.mjs.gz +0 -0
- package/library/core/index-CUMfOXPg.mjs +0 -325
- package/library/core/index-CUMfOXPg.mjs.br +0 -0
- package/library/core/index-CUMfOXPg.mjs.gz +0 -0
- package/library/core/index-CcFoMOlp.mjs.br +0 -0
- package/library/core/index-CcFoMOlp.mjs.gz +0 -0
- package/library/core/index-DM_4A0ge.mjs.br +0 -0
- package/library/core/index-DM_4A0ge.mjs.gz +0 -0
- package/library/core/index-Dl5FfLH7.mjs.br +0 -0
- package/library/core/index-Dl5FfLH7.mjs.gz +0 -0
- package/library/core/index-J8Dat7YQ.mjs +0 -307
- package/library/core/index-J8Dat7YQ.mjs.br +0 -0
- package/library/core/index-J8Dat7YQ.mjs.gz +0 -0
- package/library/core/index-JMZUDHdp.mjs.br +0 -0
- package/library/core/index-JMZUDHdp.mjs.gz +0 -0
- package/library/core/index-NIvnx34k.mjs.br +0 -0
- package/library/core/index-NIvnx34k.mjs.gz +0 -0
- package/library/core/index-Zh2eQN0A.mjs.br +0 -0
- package/library/core/index-Zh2eQN0A.mjs.gz +0 -0
- package/library/core/index-g5OPFKhJ.mjs +0 -287
- package/library/core/index-g5OPFKhJ.mjs.br +0 -0
- package/library/core/index-g5OPFKhJ.mjs.gz +0 -0
- package/library/core/javascript-CJze3-DU.mjs.br +0 -0
- package/library/core/javascript-CJze3-DU.mjs.gz +0 -0
- package/library/core/nsis-mZ2GYujm.mjs.br +0 -0
- package/library/core/nsis-mZ2GYujm.mjs.gz +0 -0
- package/library/core/pug-CEXQMbca.mjs.br +0 -0
- package/library/core/pug-CEXQMbca.mjs.gz +0 -0
- package/library/core/python-BFGRmuZ9.mjs.br +0 -0
- package/library/core/python-BFGRmuZ9.mjs.gz +0 -0
- package/library/core/q-CrbCVq4a.mjs.br +0 -0
- package/library/core/q-CrbCVq4a.mjs.gz +0 -0
- package/library/core/simple-mode-DMneyfDu.mjs.br +0 -0
- package/library/core/simple-mode-DMneyfDu.mjs.gz +0 -0
- package/library/core/sql-Cei9CMfk.mjs.br +0 -0
- package/library/core/sql-Cei9CMfk.mjs.gz +0 -0
- package/library/core/stex-C1nZSzAw.mjs.br +0 -0
- package/library/core/stex-C1nZSzAw.mjs.gz +0 -0
- package/library/core/toml-BOuWGMcf.mjs.br +0 -4
- package/library/core/toml-BOuWGMcf.mjs.gz +0 -0
- package/library/core/types/components/VcRadioTabs/VcRadioTabs.vue.d.ts +0 -92
- package/library/core/vbscript-Bfn8O8I7.mjs.br +0 -0
- package/library/core/vbscript-Bfn8O8I7.mjs.gz +0 -0
- package/library/core/verilog-CnT9bMk0.mjs.br +0 -0
- package/library/core/verilog-CnT9bMk0.mjs.gz +0 -0
- package/library/core/z80-ClgwfNdB.mjs.br +0 -0
- package/library/core/z80-ClgwfNdB.mjs.gz +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
import { o as EditorView, p as EditorSelection, q as html, b as LanguageSupport, L as LRLanguage, r as parseMixed, g as syntaxTree, a as LRParser, s as styleTags, i as indentNodeProp, f as foldNodeProp, t as tags, h as delimitedIndent, E as ExternalTokenizer } from "./entry-LR10HxE9.mjs";
|
|
2
|
+
const interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 180, endrawTagStart = 4, rawText = 181, endcommentTagStart = 5, commentText = 182, InlineComment = 6;
|
|
3
|
+
function wordChar(code) {
|
|
4
|
+
return code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
5
|
+
}
|
|
6
|
+
const base = /* @__PURE__ */ new ExternalTokenizer((input) => {
|
|
7
|
+
let start = input.pos;
|
|
8
|
+
for (; ; ) {
|
|
9
|
+
let { next } = input;
|
|
10
|
+
if (next < 0)
|
|
11
|
+
break;
|
|
12
|
+
if (next == 123) {
|
|
13
|
+
let after = input.peek(1);
|
|
14
|
+
if (after == 123) {
|
|
15
|
+
if (input.pos > start)
|
|
16
|
+
break;
|
|
17
|
+
input.acceptToken(interpolationStart, 2);
|
|
18
|
+
return;
|
|
19
|
+
} else if (after == 37) {
|
|
20
|
+
if (input.pos > start)
|
|
21
|
+
break;
|
|
22
|
+
let scan = 2, size = 2;
|
|
23
|
+
for (; ; ) {
|
|
24
|
+
let next2 = input.peek(scan);
|
|
25
|
+
if (next2 == 32 || next2 == 10) {
|
|
26
|
+
++scan;
|
|
27
|
+
} else if (next2 == 35) {
|
|
28
|
+
++scan;
|
|
29
|
+
for (; ; ) {
|
|
30
|
+
let comment2 = input.peek(scan);
|
|
31
|
+
if (comment2 < 0 || comment2 == 10)
|
|
32
|
+
break;
|
|
33
|
+
scan++;
|
|
34
|
+
}
|
|
35
|
+
} else if (next2 == 45 && size == 2) {
|
|
36
|
+
size = ++scan;
|
|
37
|
+
} else {
|
|
38
|
+
let end = next2 == 101 && input.peek(scan + 1) == 110 && input.peek(scan + 2) == 100;
|
|
39
|
+
input.acceptToken(end ? endTagStart : tagStart, size);
|
|
40
|
+
return;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
input.advance();
|
|
46
|
+
if (next == 10)
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
if (input.pos > start)
|
|
50
|
+
input.acceptToken(text);
|
|
51
|
+
});
|
|
52
|
+
function rawTokenizer(endTag, text2, tagStart2) {
|
|
53
|
+
return new ExternalTokenizer((input) => {
|
|
54
|
+
let start = input.pos;
|
|
55
|
+
for (; ; ) {
|
|
56
|
+
let { next } = input;
|
|
57
|
+
if (next == 123 && input.peek(1) == 37) {
|
|
58
|
+
let scan = 2;
|
|
59
|
+
for (; ; scan++) {
|
|
60
|
+
let ch = input.peek(scan);
|
|
61
|
+
if (ch != 32 && ch != 10)
|
|
62
|
+
break;
|
|
63
|
+
}
|
|
64
|
+
let word = "";
|
|
65
|
+
for (; ; scan++) {
|
|
66
|
+
let next2 = input.peek(scan);
|
|
67
|
+
if (!wordChar(next2))
|
|
68
|
+
break;
|
|
69
|
+
word += String.fromCharCode(next2);
|
|
70
|
+
}
|
|
71
|
+
if (word == endTag) {
|
|
72
|
+
if (input.pos > start)
|
|
73
|
+
break;
|
|
74
|
+
input.acceptToken(tagStart2, 2);
|
|
75
|
+
break;
|
|
76
|
+
}
|
|
77
|
+
} else if (next < 0) {
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
input.advance();
|
|
81
|
+
if (next == 10)
|
|
82
|
+
break;
|
|
83
|
+
}
|
|
84
|
+
if (input.pos > start)
|
|
85
|
+
input.acceptToken(text2);
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
const comment = /* @__PURE__ */ rawTokenizer("endcomment", commentText, endcommentTagStart);
|
|
89
|
+
const raw = /* @__PURE__ */ rawTokenizer("endraw", rawText, endrawTagStart);
|
|
90
|
+
const inlineComment = /* @__PURE__ */ new ExternalTokenizer((input) => {
|
|
91
|
+
if (input.next != 35)
|
|
92
|
+
return;
|
|
93
|
+
input.advance();
|
|
94
|
+
for (; ; ) {
|
|
95
|
+
if (input.next == 10 || input.next < 0)
|
|
96
|
+
break;
|
|
97
|
+
if ((input.next == 37 || input.next == 125) && input.peek(1) == 125)
|
|
98
|
+
break;
|
|
99
|
+
input.advance();
|
|
100
|
+
}
|
|
101
|
+
input.acceptToken(InlineComment);
|
|
102
|
+
});
|
|
103
|
+
const spec_identifier = { __proto__: null, contains: 32, or: 36, and: 36, true: 50, false: 50, empty: 52, forloop: 54, tablerowloop: 56, continue: 58, in: 128, with: 194, for: 196, as: 198, if: 234, endif: 238, unless: 244, endunless: 248, elsif: 252, else: 256, case: 262, endcase: 266, when: 270, endfor: 278, tablerow: 284, endtablerow: 288, break: 292, cycle: 298, echo: 302, render: 306, include: 312, assign: 316, capture: 322, endcapture: 326, increment: 330, decrement: 334 };
|
|
104
|
+
const spec_TagName = { __proto__: null, if: 82, endif: 86, elsif: 90, else: 94, unless: 100, endunless: 104, case: 110, endcase: 114, when: 118, for: 126, endfor: 136, tablerow: 142, endtablerow: 146, break: 150, continue: 154, cycle: 158, comment: 164, endcomment: 170, raw: 176, endraw: 182, echo: 186, render: 190, include: 202, assign: 206, capture: 212, endcapture: 216, increment: 220, decrement: 224, liquid: 228 };
|
|
105
|
+
const parser = /* @__PURE__ */ LRParser.deserialize({
|
|
106
|
+
version: 14,
|
|
107
|
+
states: "HOQYOPOOOOOP'#F{'#F{OeOaO'#CdOsQhO'#CfO!bQxO'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQW'#Cg'#CgO&`Q!jO,59QO&gQ!jO'#G^OsQhO'#CsOOQW'#G^'#G^OOOP,59l,59lO)PQhO,59lOsQhO,59pOsQhO,59tO)ZQhO,59vOsQhO,59yOsQhO,5:OOsQhO,5:SO!]QhO,5:WO!]QhO,5:`O)`QhO,5:dO)eQhO,5:fO)jQhO,5:hO)oQhO,5:kO)tQhO,5:qOsQhO,5:vOsQhO,5:xOsQhO,5;OOsQhO,5;QOsQhO,5;TOsQhO,5;XOsQhO,5;ZO+TQhO,5;]O+[OPO'#CdOOOP,59o,59oO#{OPO,59oO+jQxO'#DWOOOP,59x,59xO$ZOPO,59xO+oQxO'#DaOOOP,59},59}O$iOPO,59}O+tQxO'#DfOOOP,5:V,5:VO$wOPO,5:VO+yQxO'#DqOOOP,5:_,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ression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : Tag TagName %} IfDirective Tag if EndTag endif Tag elsif Tag else UnlessDirective Tag unless EndTag endunless CaseDirective Tag case EndTag endcase Tag when , ForDirective Tag for in Parameter ParameterName EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag continue Tag cycle Comment Tag comment CommentText EndTag endcomment RawDirective Tag raw RawText EndTag endraw Tag echo Tag render RenderParameter with for as Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement Tag liquid IfDirective Tag if EndTag endif UnlessDirective Tag unless EndTag endunless Tag elsif Tag else CaseDirective Tag case EndTag endcase Tag when ForDirective Tag EndTag endfor TableDirective Tag tablerow EndTag endtablerow Tag break Tag Tag cycle Tag echo Tag render RenderParameter Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement",
|
|
111
|
+
maxTerm: 189,
|
|
112
|
+
nodeProps: [
|
|
113
|
+
["closedBy", 1, "}}", -4, 2, 3, 4, 5, "%}", 22, ")"],
|
|
114
|
+
["openedBy", 9, "{{", 21, "(", 38, "{%"],
|
|
115
|
+
["group", -12, 11, 12, 15, 19, 23, 25, 26, 27, 28, 29, 30, 31, "Expression"]
|
|
116
|
+
],
|
|
117
|
+
skippedNodes: [0, 6],
|
|
118
|
+
repeatNodeCount: 11,
|
|
119
|
+
tokenData: ")Q~RkXY!vYZ!v]^!vpq!vqr#Xrs#duv$Uwx$axy$|yz%R{|%W|}&r}!O&w!O!P'T!Q![&a![!]'e!^!_'j!_!`'r!`!a'j!c!}'z#R#S'z#T#o'z#p#q(p#q#r(u%W;'S'z;'S;:j(j<%lO'z~!{S%O~XY!vYZ!v]^!vpq!v~#[P!_!`#_~#dOa~~#gUOY#dZr#drs#ys;'S#d;'S;=`$O<%lO#d~$OOn~~$RP;=`<%l#d~$XP#q#r$[~$aOv~~$dUOY$aZw$awx#yx;'S$a;'S;=`$v<%lO$a~$yP;=`<%l$a~%ROf~~%WOe~P%ZQ!O!P%a!Q![&aP%dP!Q![%gP%lRoP!Q![%g!g!h%u#X#Y%uP%xR{|&R}!O&R!Q![&XP&UP!Q![&XP&^PoP!Q![&XP&fSoP!O!P%a!Q![&a!g!h%u#X#Y%u~&wO!^~~&zRuv$U!O!P%a!Q![&a~'YQ]S!O!P'`!Q![%g~'eOh~~'jOs~~'oPa~!_!`#_~'wPd~!_!`#__(TV^WuQ%RT!Q!['z!c!}'z#R#S'z#T#o'z%W;'S'z;'S;:j(j<%lO'z_(mP;=`<%l'z~(uOq~~(xP#q#r({~)QOX~",
|
|
120
|
+
tokenizers: [base, raw, comment, inlineComment, 0, 1, 2, 3],
|
|
121
|
+
topRules: { "Template": [0, 7] },
|
|
122
|
+
specialized: [{ term: 187, get: (value) => spec_identifier[value] || -1 }, { term: 37, get: (value) => spec_TagName[value] || -1 }],
|
|
123
|
+
tokenPrec: 0
|
|
124
|
+
});
|
|
125
|
+
function completions(words, type) {
|
|
126
|
+
return words.split(" ").map((label) => ({ label, type }));
|
|
127
|
+
}
|
|
128
|
+
const Filters = /* @__PURE__ */ completions("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where", "function");
|
|
129
|
+
const Tags = /* @__PURE__ */ completions("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include", "keyword");
|
|
130
|
+
const Expressions = /* @__PURE__ */ completions("empty forloop tablerowloop in with as contains", "keyword");
|
|
131
|
+
const forloop = /* @__PURE__ */ completions("first index index0 last length rindex", "property");
|
|
132
|
+
const tablerowloop = /* @__PURE__ */ completions("col col0 col_first col_last first index index0 last length rindex rindex0 row", "property");
|
|
133
|
+
function findContext(context) {
|
|
134
|
+
var _a;
|
|
135
|
+
let { state, pos } = context;
|
|
136
|
+
let node = syntaxTree(state).resolveInner(pos, -1).enterUnfinishedNodesBefore(pos);
|
|
137
|
+
let before = ((_a = node.childBefore(pos)) === null || _a === void 0 ? void 0 : _a.name) || node.name;
|
|
138
|
+
if (node.name == "FilterName")
|
|
139
|
+
return { type: "filter", node };
|
|
140
|
+
if (context.explicit && before == "|")
|
|
141
|
+
return { type: "filter" };
|
|
142
|
+
if (node.name == "TagName")
|
|
143
|
+
return { type: "tag", node };
|
|
144
|
+
if (context.explicit && before == "{%")
|
|
145
|
+
return { type: "tag" };
|
|
146
|
+
if (node.name == "PropertyName" && node.parent.name == "MemberExpression")
|
|
147
|
+
return { type: "property", node, target: node.parent };
|
|
148
|
+
if (node.name == "." && node.parent.name == "MemberExpression")
|
|
149
|
+
return { type: "property", target: node.parent };
|
|
150
|
+
if (node.name == "MemberExpression" && before == ".")
|
|
151
|
+
return { type: "property", target: node };
|
|
152
|
+
if (node.name == "VariableName")
|
|
153
|
+
return { type: "expression", from: node.from };
|
|
154
|
+
let word = context.matchBefore(/[\w\u00c0-\uffff]+$/);
|
|
155
|
+
if (word)
|
|
156
|
+
return { type: "expression", from: word.from };
|
|
157
|
+
if (context.explicit && node.name != "CommentText" && node.name != "StringLiteral" && node.name != "NumberLiteral" && node.name != "InlineComment")
|
|
158
|
+
return { type: "expression" };
|
|
159
|
+
return null;
|
|
160
|
+
}
|
|
161
|
+
function resolveProperties(state, node, context, properties) {
|
|
162
|
+
let path = [];
|
|
163
|
+
for (; ; ) {
|
|
164
|
+
let obj = node.getChild("Expression");
|
|
165
|
+
if (!obj)
|
|
166
|
+
return [];
|
|
167
|
+
if (obj.name == "forloop") {
|
|
168
|
+
return path.length ? [] : forloop;
|
|
169
|
+
} else if (obj.name == "tablerowloop") {
|
|
170
|
+
return path.length ? [] : tablerowloop;
|
|
171
|
+
} else if (obj.name == "VariableName") {
|
|
172
|
+
path.unshift(state.sliceDoc(obj.from, obj.to));
|
|
173
|
+
break;
|
|
174
|
+
} else if (obj.name == "MemberExpression") {
|
|
175
|
+
let name = obj.getChild("PropertyName");
|
|
176
|
+
if (name)
|
|
177
|
+
path.unshift(state.sliceDoc(name.from, name.to));
|
|
178
|
+
node = obj;
|
|
179
|
+
} else {
|
|
180
|
+
return [];
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return properties ? properties(path, state, context) : [];
|
|
184
|
+
}
|
|
185
|
+
function liquidCompletionSource(config = {}) {
|
|
186
|
+
let filters = config.filters ? config.filters.concat(Filters) : Filters;
|
|
187
|
+
let tags2 = config.tags ? config.tags.concat(Tags) : Tags;
|
|
188
|
+
let exprs = config.variables ? config.variables.concat(Expressions) : Expressions;
|
|
189
|
+
let { properties } = config;
|
|
190
|
+
return (context) => {
|
|
191
|
+
var _a;
|
|
192
|
+
let cx = findContext(context);
|
|
193
|
+
if (!cx)
|
|
194
|
+
return null;
|
|
195
|
+
let from = (_a = cx.from) !== null && _a !== void 0 ? _a : cx.node ? cx.node.from : context.pos;
|
|
196
|
+
let options;
|
|
197
|
+
if (cx.type == "filter")
|
|
198
|
+
options = filters;
|
|
199
|
+
else if (cx.type == "tag")
|
|
200
|
+
options = tags2;
|
|
201
|
+
else if (cx.type == "expression")
|
|
202
|
+
options = exprs;
|
|
203
|
+
else
|
|
204
|
+
options = resolveProperties(context.state, cx.target, context, properties);
|
|
205
|
+
return options.length ? { options, from, validFor: /^[\w\u00c0-\uffff]*$/ } : null;
|
|
206
|
+
};
|
|
207
|
+
}
|
|
208
|
+
const closePercentBrace = /* @__PURE__ */ EditorView.inputHandler.of((view, from, to, text2) => {
|
|
209
|
+
if (text2 != "%" || from != to || view.state.doc.sliceString(from - 1, to + 1) != "{}")
|
|
210
|
+
return false;
|
|
211
|
+
view.dispatch(view.state.changeByRange((range) => ({
|
|
212
|
+
changes: { from: range.from, to: range.to, insert: "%%" },
|
|
213
|
+
range: EditorSelection.cursor(range.from + 1)
|
|
214
|
+
})), {
|
|
215
|
+
scrollIntoView: true,
|
|
216
|
+
userEvent: "input.type"
|
|
217
|
+
});
|
|
218
|
+
return true;
|
|
219
|
+
});
|
|
220
|
+
function directiveIndent(except) {
|
|
221
|
+
return (context) => {
|
|
222
|
+
let back = except.test(context.textAfter);
|
|
223
|
+
return context.lineIndent(context.node.from) + (back ? 0 : context.unit);
|
|
224
|
+
};
|
|
225
|
+
}
|
|
226
|
+
const tagLanguage = /* @__PURE__ */ LRLanguage.define({
|
|
227
|
+
name: "liquid",
|
|
228
|
+
parser: /* @__PURE__ */ parser.configure({
|
|
229
|
+
props: [
|
|
230
|
+
/* @__PURE__ */ styleTags({
|
|
231
|
+
"cycle comment endcomment raw endraw echo increment decrement liquid in with as": tags.keyword,
|
|
232
|
+
"empty forloop tablerowloop": tags.atom,
|
|
233
|
+
"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue": tags.controlKeyword,
|
|
234
|
+
"assign capture endcapture": tags.definitionKeyword,
|
|
235
|
+
"contains": tags.operatorKeyword,
|
|
236
|
+
"render include": tags.moduleKeyword,
|
|
237
|
+
VariableName: tags.variableName,
|
|
238
|
+
TagName: tags.tagName,
|
|
239
|
+
FilterName: /* @__PURE__ */ tags.function(tags.variableName),
|
|
240
|
+
PropertyName: tags.propertyName,
|
|
241
|
+
CompareOp: tags.compareOperator,
|
|
242
|
+
AssignOp: tags.definitionOperator,
|
|
243
|
+
LogicOp: tags.logicOperator,
|
|
244
|
+
NumberLiteral: tags.number,
|
|
245
|
+
StringLiteral: tags.string,
|
|
246
|
+
BooleanLiteral: tags.bool,
|
|
247
|
+
InlineComment: tags.lineComment,
|
|
248
|
+
CommentText: tags.blockComment,
|
|
249
|
+
"{% %} {{ }}": tags.brace,
|
|
250
|
+
"( )": tags.paren,
|
|
251
|
+
".": tags.derefOperator,
|
|
252
|
+
", .. : |": tags.punctuation
|
|
253
|
+
}),
|
|
254
|
+
/* @__PURE__ */ indentNodeProp.add({
|
|
255
|
+
Tag: /* @__PURE__ */ delimitedIndent({ closing: "%}" }),
|
|
256
|
+
"UnlessDirective ForDirective TablerowDirective CaptureDirective": /* @__PURE__ */ directiveIndent(/^\s*(\{%-?\s*)?end\w/),
|
|
257
|
+
IfDirective: /* @__PURE__ */ directiveIndent(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),
|
|
258
|
+
CaseDirective: /* @__PURE__ */ directiveIndent(/^\s*(\{%-?\s*)?(endcase|when)\b/)
|
|
259
|
+
}),
|
|
260
|
+
/* @__PURE__ */ foldNodeProp.add({
|
|
261
|
+
"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(tree) {
|
|
262
|
+
let first = tree.firstChild, last = tree.lastChild;
|
|
263
|
+
if (!first || first.name != "Tag")
|
|
264
|
+
return null;
|
|
265
|
+
return { from: first.to, to: last.name == "EndTag" ? last.from : tree.to };
|
|
266
|
+
}
|
|
267
|
+
})
|
|
268
|
+
]
|
|
269
|
+
}),
|
|
270
|
+
languageData: {
|
|
271
|
+
commentTokens: { line: "#" },
|
|
272
|
+
indentOnInput: /^\s*{%-?\s*(?:end|elsif|else|when|)$/
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
const baseHTML = /* @__PURE__ */ html();
|
|
276
|
+
function makeLiquid(base2) {
|
|
277
|
+
return tagLanguage.configure({
|
|
278
|
+
wrap: parseMixed((node) => node.type.isTop ? {
|
|
279
|
+
parser: base2.parser,
|
|
280
|
+
overlay: (n) => n.name == "Text" || n.name == "RawText"
|
|
281
|
+
} : null)
|
|
282
|
+
}, "liquid");
|
|
283
|
+
}
|
|
284
|
+
const liquidLanguage = /* @__PURE__ */ makeLiquid(baseHTML.language);
|
|
285
|
+
function liquid(config = {}) {
|
|
286
|
+
let base2 = config.base || baseHTML;
|
|
287
|
+
let lang = base2.language == baseHTML.language ? liquidLanguage : makeLiquid(base2.language);
|
|
288
|
+
return new LanguageSupport(lang, [
|
|
289
|
+
base2.support,
|
|
290
|
+
lang.data.of({ autocomplete: liquidCompletionSource(config) }),
|
|
291
|
+
base2.language.data.of({ closeBrackets: { brackets: ["{"] } }),
|
|
292
|
+
closePercentBrace
|
|
293
|
+
]);
|
|
294
|
+
}
|
|
295
|
+
export {
|
|
296
|
+
closePercentBrace,
|
|
297
|
+
liquid,
|
|
298
|
+
liquidCompletionSource,
|
|
299
|
+
liquidLanguage
|
|
300
|
+
};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LRLanguage,
|
|
1
|
+
import { L as LRLanguage, b as LanguageSupport, q as html, r as parseMixed, a as LRParser, v as javascriptLanguage, s as styleTags, t as tags, E as ExternalTokenizer } from "./entry-LR10HxE9.mjs";
|
|
2
2
|
const Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36;
|
|
3
3
|
const text = /* @__PURE__ */ new ExternalTokenizer((input) => {
|
|
4
4
|
let start = input.pos;
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags, d as ifNotIn, L as LRLanguage, e as completeFromList, m as snippetCompletion, g as syntaxTree, b as LanguageSupport, i as indentNodeProp, f as foldNodeProp, h as delimitedIndent, k as foldInside, N as NodeWeakMap, I as IterMode } from "./entry-LR10HxE9.mjs";
|
|
2
2
|
const printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155;
|
|
3
3
|
const newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85;
|
|
4
4
|
const bracketed = /* @__PURE__ */ new Set([
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { L as LRLanguage, a as
|
|
1
|
+
import { L as LRLanguage, a as LRParser, b as LanguageSupport, i as indentNodeProp, f as foldNodeProp, s as styleTags, c as continuedIndent, t as tags, E as ExternalTokenizer, d as ifNotIn, e as completeFromList, g as syntaxTree } from "./entry-LR10HxE9.mjs";
|
|
2
2
|
const whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
|
|
3
3
|
function isAlpha(ch) {
|
|
4
4
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 48 && ch <= 57;
|
|
@@ -216,10 +216,6 @@ function tokensFor(d) {
|
|
|
216
216
|
input.advance(2);
|
|
217
217
|
readPLSQLQuotedLiteral(input, openDelim);
|
|
218
218
|
input.acceptToken(String$1);
|
|
219
|
-
} else if (inString(next, d.identifierQuotes)) {
|
|
220
|
-
const endQuote = next == 91 ? 93 : next;
|
|
221
|
-
readLiteral(input, endQuote, false);
|
|
222
|
-
input.acceptToken(QuotedIdentifier);
|
|
223
219
|
} else if (next == 40) {
|
|
224
220
|
input.acceptToken(ParenL);
|
|
225
221
|
} else if (next == 41) {
|
|
@@ -273,6 +269,9 @@ function tokensFor(d) {
|
|
|
273
269
|
input.advance();
|
|
274
270
|
readWordOrQuoted(input);
|
|
275
271
|
input.acceptToken(SpecialVar);
|
|
272
|
+
} else if (inString(next, d.identifierQuotes)) {
|
|
273
|
+
readLiteral(input, next, false);
|
|
274
|
+
input.acceptToken(QuotedIdentifier);
|
|
276
275
|
} else if (next == 58 || next == 44) {
|
|
277
276
|
input.acceptToken(Punctuation);
|
|
278
277
|
} else if (isAlpha(next)) {
|
|
@@ -307,7 +306,7 @@ function tokenBefore(tree) {
|
|
|
307
306
|
}
|
|
308
307
|
function idName(doc, node) {
|
|
309
308
|
let text = doc.sliceString(node.from, node.to);
|
|
310
|
-
let quoted = /^([`'"
|
|
309
|
+
let quoted = /^([`'"])(.*)\1$/.exec(text);
|
|
311
310
|
return quoted ? quoted[2] : text;
|
|
312
311
|
}
|
|
313
312
|
function plainID(node) {
|
|
@@ -382,10 +381,12 @@ function getAliases(doc, at) {
|
|
|
382
381
|
}
|
|
383
382
|
return aliases;
|
|
384
383
|
}
|
|
385
|
-
function maybeQuoteCompletions(
|
|
386
|
-
|
|
384
|
+
function maybeQuoteCompletions(quote, completions) {
|
|
385
|
+
if (!quote)
|
|
386
|
+
return completions;
|
|
387
|
+
return completions.map((c) => Object.assign(Object.assign({}, c), { label: c.label[0] == quote ? c.label : quote + c.label + quote, apply: void 0 }));
|
|
387
388
|
}
|
|
388
|
-
const Span = /^\w*$/, QuotedSpan = /^[`'"
|
|
389
|
+
const Span = /^\w*$/, QuotedSpan = /^[`'"]?\w*[`'"]?$/;
|
|
389
390
|
function isSelfTag(namespace) {
|
|
390
391
|
return namespace.self && typeof namespace.self.label == "string";
|
|
391
392
|
}
|
|
@@ -449,10 +450,7 @@ class CompletionLevel {
|
|
|
449
450
|
function nameCompletion(label, type, idQuote, idCaseInsensitive) {
|
|
450
451
|
if (new RegExp("^[a-z_][a-z_\\d]*$", idCaseInsensitive ? "i" : "").test(label))
|
|
451
452
|
return { label, type };
|
|
452
|
-
return { label, type, apply: idQuote + label +
|
|
453
|
-
}
|
|
454
|
-
function getClosingQuote(openingQuote) {
|
|
455
|
-
return openingQuote === "[" ? "]" : openingQuote;
|
|
453
|
+
return { label, type, apply: idQuote + label + idQuote };
|
|
456
454
|
}
|
|
457
455
|
function completeFromSchema(schema, tables, schemas, defaultTableName, defaultSchemaName, dialect2) {
|
|
458
456
|
var _a;
|
|
@@ -489,26 +487,16 @@ function completeFromSchema(schema, tables, schemas, defaultTableName, defaultSc
|
|
|
489
487
|
return null;
|
|
490
488
|
level = next;
|
|
491
489
|
}
|
|
490
|
+
let quoteAfter = quoted && context.state.sliceDoc(context.pos, context.pos + 1) == quoted;
|
|
492
491
|
let options = level.list;
|
|
493
492
|
if (level == top && aliases)
|
|
494
493
|
options = options.concat(Object.keys(aliases).map((name) => ({ label: name, type: "constant" })));
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
to: quoteAfter ? context.pos + 1 : void 0,
|
|
502
|
-
options: maybeQuoteCompletions(openingQuote, closingQuote, options),
|
|
503
|
-
validFor: QuotedSpan
|
|
504
|
-
};
|
|
505
|
-
} else {
|
|
506
|
-
return {
|
|
507
|
-
from,
|
|
508
|
-
options,
|
|
509
|
-
validFor: Span
|
|
510
|
-
};
|
|
511
|
-
}
|
|
494
|
+
return {
|
|
495
|
+
from,
|
|
496
|
+
to: quoteAfter ? context.pos + 1 : void 0,
|
|
497
|
+
options: maybeQuoteCompletions(quoted, options),
|
|
498
|
+
validFor: quoted ? QuotedSpan : Span
|
|
499
|
+
};
|
|
512
500
|
};
|
|
513
501
|
}
|
|
514
502
|
function completionType(tokenType) {
|
|
@@ -516,7 +504,7 @@ function completionType(tokenType) {
|
|
|
516
504
|
}
|
|
517
505
|
function completeKeywords(keywords2, upperCase, build) {
|
|
518
506
|
let completions = Object.keys(keywords2).map((keyword) => build(upperCase ? keyword.toUpperCase() : keyword, completionType(keywords2[keyword])));
|
|
519
|
-
return ifNotIn(["QuotedIdentifier", "String", "LineComment", "BlockComment", "."], completeFromList(completions));
|
|
507
|
+
return ifNotIn(["QuotedIdentifier", "SpecialVar", "String", "LineComment", "BlockComment", "."], completeFromList(completions));
|
|
520
508
|
}
|
|
521
509
|
let parser = /* @__PURE__ */ parser$1.configure({
|
|
522
510
|
props: [
|
|
@@ -567,13 +555,6 @@ class SQLDialect {
|
|
|
567
555
|
return this.language.extension;
|
|
568
556
|
}
|
|
569
557
|
/**
|
|
570
|
-
Reconfigure the parser used by this dialect. Returns a new
|
|
571
|
-
dialect object.
|
|
572
|
-
*/
|
|
573
|
-
configureLanguage(options, name) {
|
|
574
|
-
return new SQLDialect(this.dialect, this.language.configure(options, name), this.spec);
|
|
575
|
-
}
|
|
576
|
-
/**
|
|
577
558
|
Define a new dialect.
|
|
578
559
|
*/
|
|
579
560
|
static define(spec) {
|
|
@@ -652,18 +633,12 @@ const MariaSQL = /* @__PURE__ */ SQLDialect.define({
|
|
|
652
633
|
types: MySQLTypes,
|
|
653
634
|
builtin: MySQLBuiltin
|
|
654
635
|
});
|
|
655
|
-
let MSSQLBuiltin = (
|
|
656
|
-
// Aggregate https://msdn.microsoft.com/en-us/library/ms173454.aspx
|
|
657
|
-
"approx_count_distinct approx_percentile_cont approx_percentile_disc avg checksum_agg count count_big grouping grouping_id max min product stdev stdevp sum var varp ai_generate_embeddings ai_generate_chunks cume_dist first_value lag last_value lead percentile_cont percentile_disc percent_rank left_shift right_shift bit_count get_bit set_bit collationproperty tertiary_weights @@datefirst @@dbts @@langid @@language @@lock_timeout @@max_connections @@max_precision @@nestlevel @@options @@remserver @@servername @@servicename @@spid @@textsize @@version cast convert parse try_cast try_convert try_parse asymkey_id asymkeyproperty certproperty cert_id crypt_gen_random decryptbyasymkey decryptbycert decryptbykey decryptbykeyautoasymkey decryptbykeyautocert decryptbypassphrase encryptbyasymkey encryptbycert encryptbykey encryptbypassphrase hashbytes is_objectsigned key_guid key_id key_name signbyasymkey signbycert symkeyproperty verifysignedbycert verifysignedbyasymkey @@cursor_rows @@fetch_status cursor_status datalength ident_current ident_incr ident_seed identity sql_variant_property @@datefirst current_timestamp current_timezone current_timezone_id date_bucket dateadd datediff datediff_big datefromparts datename datepart datetime2fromparts datetimefromparts datetimeoffsetfromparts datetrunc day eomonth getdate getutcdate isdate month smalldatetimefromparts switchoffset sysdatetime sysdatetimeoffset sysutcdatetime timefromparts todatetimeoffset year edit_distance edit_distance_similarity jaro_winkler_distance jaro_winkler_similarity edge_id_from_parts graph_id_from_edge_id graph_id_from_node_id node_id_from_parts object_id_from_edge_id object_id_from_node_id json isjson json_array json_contains json_modify json_object json_path_exists json_query json_value regexp_like regexp_replace regexp_substr regexp_instr regexp_count regexp_matches regexp_split_to_table abs acos asin atan atn2 ceiling cos cot degrees exp floor log log10 pi power radians rand round sign sin sqrt square tan choose greatest iif least @@procid app_name applock_mode applock_test assemblyproperty col_length col_name columnproperty databasepropertyex db_id db_name file_id file_idex file_name filegroup_id filegroup_name filegroupproperty fileproperty filepropertyex fulltextcatalogproperty fulltextserviceproperty index_col indexkey_property indexproperty next value for object_definition object_id object_name object_schema_name objectproperty objectpropertyex original_db_name parsename schema_id schema_name scope_identity serverproperty stats_date type_id type_name typeproperty dense_rank ntile rank row_number publishingservername certenclosed certprivatekey current_user database_principal_id has_dbaccess has_perms_by_name is_member is_rolemember is_srvrolemember loginproperty original_login permissions pwdencrypt pwdcompare session_user sessionproperty suser_id suser_name suser_sid suser_sname system_user user user_id user_name ascii char charindex concat concat_ws difference format left len lower ltrim nchar patindex quotename replace replicate reverse right rtrim soundex space str string_agg string_escape stuff substring translate trim unicode upper $partition @@error @@identity @@pack_received @@rowcount @@trancount binary_checksum checksum compress connectionproperty context_info current_request_id current_transaction_id decompress error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big session_context xact_state @@connections @@cpu_busy @@idle @@io_busy @@pack_sent @@packet_errors @@timeticks @@total_errors @@total_read @@total_write textptr textvalid columns_updated eventdata trigger_nestlevel vector_distance vectorproperty vector_search generate_series opendatasource openjson openquery openrowset openxml predict string_split coalesce nullif apply catch filter force include keep keepfixed modify optimize parameterization parameters partition recompile sequence set"
|
|
658
|
-
);
|
|
659
636
|
const MSSQL = /* @__PURE__ */ SQLDialect.define({
|
|
660
|
-
keywords: SQLKeywords +
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
builtin: MSSQLBuiltin,
|
|
637
|
+
keywords: SQLKeywords + "trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",
|
|
638
|
+
types: SQLTypes + "bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",
|
|
639
|
+
builtin: "binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",
|
|
664
640
|
operatorChars: "*+-%<>!=^&|/",
|
|
665
|
-
specialVar: "@"
|
|
666
|
-
identifierQuotes: '"['
|
|
641
|
+
specialVar: "@"
|
|
667
642
|
});
|
|
668
643
|
const SQLite = /* @__PURE__ */ SQLDialect.define({
|
|
669
644
|
keywords: SQLKeywords + "abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",
|
|
Binary file
|
|
Binary file
|