@lapis-notes/lapis-plugin-contacts 0.0.0-stage → 0.1.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/CHANGELOG.md +11 -0
- package/LICENSE +661 -0
- package/README.md +125 -2
- package/dist/ContactMarkdownEditor-DoTuV5ka.js +69 -0
- package/dist/apl-B2DGVGxc.js +76 -0
- package/dist/asciiarmor-2LVJmxlE.js +34 -0
- package/dist/asn1-jKiBa2Ya.js +95 -0
- package/dist/asterisk-DS281yxp.js +271 -0
- package/dist/brainfuck-C_p9pTT8.js +34 -0
- package/dist/clike-BMALKCNj.js +620 -0
- package/dist/clojure-CCKyeQKf.js +800 -0
- package/dist/cmake-CuaCgAKt.js +28 -0
- package/dist/cobol-BlTKFDRj.js +72 -0
- package/dist/coffeescript-BVCvwO8I.js +179 -0
- package/dist/commonlisp-D_kxz07b.js +75 -0
- package/dist/crystal-D309uH6_.js +217 -0
- package/dist/css-BkF-NPzE.js +1553 -0
- package/dist/cypher-BMq4Fwjl.js +68 -0
- package/dist/d-BZcgY6La.js +127 -0
- package/dist/diff-Cg9d_RX2.js +18 -0
- package/dist/dist--69zc0xf.js +247 -0
- package/dist/dist-3FBhTVCW.js +260 -0
- package/dist/dist-BIUwdsPJ.js +300 -0
- package/dist/dist-BKba7kvs.js +75 -0
- package/dist/dist-BqWvrEwT.js +98 -0
- package/dist/dist-ByOxufTQ.js +58 -0
- package/dist/dist-CU8VWvs8.js +288 -0
- package/dist/dist-C_EduL9A.js +268 -0
- package/dist/dist-Cqfbp9Nb.js +310 -0
- package/dist/dist-DLu2t1SV.js +611 -0
- package/dist/dist-DPPvU9Yj.js +134 -0
- package/dist/dist-DufK_s_A.js +564 -0
- package/dist/dist-Dug8cDx1.js +93 -0
- package/dist/dist-IBryJBJR.js +137 -0
- package/dist/dist-ciD_jrkE.js +158 -0
- package/dist/dist-v6nTmcwY.js +71 -0
- package/dist/dockerfile-DFX8bq9N.js +194 -0
- package/dist/dtd-CtLokQ-U.js +84 -0
- package/dist/dylan-QYeExnWK.js +234 -0
- package/dist/ebnf-DUPDuY4r.js +78 -0
- package/dist/ecl-CiXN-g_D.js +121 -0
- package/dist/eiffel-yQhjl4T1.js +110 -0
- package/dist/elm-CNT9vbN0.js +108 -0
- package/dist/erlang-CFOYdy9e.js +487 -0
- package/dist/factor-Clf6BoVk.js +65 -0
- package/dist/fcl-CPC2WYrI.js +103 -0
- package/dist/forth-BmxRyE9S.js +60 -0
- package/dist/fortran-9bvPyrOW.js +442 -0
- package/dist/gas-cpmYfFX2.js +183 -0
- package/dist/gherkin-CJuwpceU.js +34 -0
- package/dist/groovy-DZeT_VM-.js +146 -0
- package/dist/haskell-CxiO_7JL.js +375 -0
- package/dist/haxe-70NVW1pR.js +359 -0
- package/dist/http-D9LttvKF.js +44 -0
- package/dist/idl-B6TRFYjl.js +947 -0
- package/dist/index-BGQ4A2O3.js +148265 -0
- package/dist/index.js +16 -0
- package/dist/javascript-DOuB9oqA.js +691 -0
- package/dist/julia-DpvXAuO6.js +241 -0
- package/dist/livescript-CanGTf8u.js +272 -0
- package/dist/lua-DBWH1E3Q.js +217 -0
- package/dist/mathematica-jaRHnSxC.js +35 -0
- package/dist/mbox-BctzC1hL.js +76 -0
- package/dist/mirc-CFBPAOaF.js +72 -0
- package/dist/mllike-BSnXJBGA.js +272 -0
- package/dist/modelica-vUgVs--1.js +93 -0
- package/dist/module-BFIPY8X5.js +2973 -0
- package/dist/mscgen-Cpl0NYLN.js +104 -0
- package/dist/mumps-CQoS1kWX.js +25 -0
- package/dist/native-CDi4YD_s.js +13 -0
- package/dist/nginx-zDPm3Z74.js +89 -0
- package/dist/nsis-DAjtFbMY.js +62 -0
- package/dist/ntriples-CsNjv2QF.js +79 -0
- package/dist/octave-C8PmmSRH.js +143 -0
- package/dist/oz-Ce8aN8oE.js +151 -0
- package/dist/pascal-De0D6mP7.js +77 -0
- package/dist/perl-B4bSCe1C.js +915 -0
- package/dist/pig-D24Z8EXi.js +54 -0
- package/dist/powershell-DkYVfTzP.js +249 -0
- package/dist/properties-Dn9wna3M.js +26 -0
- package/dist/protobuf-BPIjwpzm.js +49 -0
- package/dist/pug-TGXr6c5j.js +248 -0
- package/dist/puppet-nyd4dhjf.js +45 -0
- package/dist/python-BkR3uSy8.js +313 -0
- package/dist/q-DyHZGnqm.js +86 -0
- package/dist/r-LKEuhEGI.js +104 -0
- package/dist/rpm-IznJm2Xc.js +57 -0
- package/dist/ruby-DjGRFiOI.js +228 -0
- package/dist/sas-7E8yHoCW.js +105 -0
- package/dist/scheme-DjibxsNh.js +124 -0
- package/dist/shell-C0C2sNA_.js +182 -0
- package/dist/sieve-Bwz7vjP5.js +72 -0
- package/dist/simple-mode-mNVtnu0l.js +89 -0
- package/dist/smalltalk-Bhddl2pB.js +48 -0
- package/dist/solr-BNlsLglM.js +41 -0
- package/dist/sparql-FarWu_Gb.js +197 -0
- package/dist/spreadsheet-C-cy4P5N.js +49 -0
- package/dist/sql-CfG5lQ3l.js +282 -0
- package/dist/styles.css +1 -0
- package/dist/stylus-CAdqWld3.js +250 -0
- package/dist/swift-DSxqR9R6.js +230 -0
- package/dist/tcl-xfoLljhY.js +81 -0
- package/dist/textile-D1AWE-pc.js +295 -0
- package/dist/tiddlywiki-5wqsXtSk.js +155 -0
- package/dist/tiki-__Kn3CeS.js +181 -0
- package/dist/toml-DWAmxCjl.js +58 -0
- package/dist/troff-D2UO-fKf.js +35 -0
- package/dist/ttcn-Bsa4sfRm.js +123 -0
- package/dist/ttcn-cfg-Bac_acMi.js +88 -0
- package/dist/turtle-xwJUxoPV.js +80 -0
- package/dist/types/contacts/contact-fields.d.ts +28 -0
- package/dist/types/contacts/contact-list-view.d.ts +41 -0
- package/dist/types/contacts/contact-methods.d.ts +38 -0
- package/dist/types/contacts/contact-selection.d.ts +23 -0
- package/dist/types/contacts/markdown-session-types.d.ts +8 -0
- package/dist/types/contacts/model.d.ts +103 -0
- package/dist/types/contacts/person.d.ts +49 -0
- package/dist/types/contacts/validate-frontmatter.d.ts +1 -0
- package/dist/types/lib/contacts-plugin.d.ts +34 -0
- package/dist/types/lib/contacts-settings-definition.d.ts +24 -0
- package/dist/types/lib/contacts-settings.d.ts +48 -0
- package/dist/types/lib/contacts-view.d.ts +22 -0
- package/dist/types/lib/google/conflict-queue.d.ts +35 -0
- package/dist/types/lib/google/google-person.d.ts +54 -0
- package/dist/types/lib/google/google-sync.d.ts +50 -0
- package/dist/types/lib/google/people-client.d.ts +50 -0
- package/dist/types/lib/google/people-import.d.ts +61 -0
- package/dist/types/lib/google/people-push.d.ts +30 -0
- package/dist/types/lib/google/reconcile.d.ts +62 -0
- package/dist/types/lib/google/vault-contact-files.d.ts +8 -0
- package/dist/types/lib/google-conflicts-view.d.ts +15 -0
- package/dist/types/lib/index.d.ts +4 -0
- package/dist/types/lib/vault-contacts.d.ts +64 -0
- package/dist/vb-c2kQGd6-.js +74 -0
- package/dist/vbscript-1f_Dhg5H.js +324 -0
- package/dist/velocity-DJd0pTTC.js +96 -0
- package/dist/verilog-CiS1jyi5.js +262 -0
- package/dist/vhdl-T9HkrbI2.js +106 -0
- package/dist/webidl-CjfDENEo.js +155 -0
- package/dist/xquery-Ct6lEb4B.js +422 -0
- package/dist/yacas-C0absKBh.js +73 -0
- package/dist/z80-Pki2zAjW.js +61 -0
- package/manifest.json +43 -0
- package/package.json +116 -4
- package/schemas/contact.schema.json +619 -0
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { a as h, n as W, p as T, g as u, L as g, s as R, t as n, i as k, k as U, f as G, e as b, E as m } from "./index-BGQ4A2O3.js";
|
|
2
|
+
import { EditorSelection as q } from "@codemirror/state";
|
|
3
|
+
import { EditorView as _ } from "@codemirror/view";
|
|
4
|
+
const j = 1, w = 2, v = 3, z = 183, x = 4, S = 184, Y = 5, E = 185, Z = 6;
|
|
5
|
+
function V(O) {
|
|
6
|
+
return O >= 65 && O <= 90 || O >= 97 && O <= 122;
|
|
7
|
+
}
|
|
8
|
+
const F = /* @__PURE__ */ new m((O) => {
|
|
9
|
+
let e = O.pos;
|
|
10
|
+
for (; ; ) {
|
|
11
|
+
let { next: r } = O;
|
|
12
|
+
if (r < 0)
|
|
13
|
+
break;
|
|
14
|
+
if (r == 123) {
|
|
15
|
+
let t = O.peek(1);
|
|
16
|
+
if (t == 123) {
|
|
17
|
+
if (O.pos > e)
|
|
18
|
+
break;
|
|
19
|
+
O.acceptToken(j, 2);
|
|
20
|
+
return;
|
|
21
|
+
} else if (t == 37) {
|
|
22
|
+
if (O.pos > e)
|
|
23
|
+
break;
|
|
24
|
+
let $ = 2, i = 2;
|
|
25
|
+
for (; ; ) {
|
|
26
|
+
let a = O.peek($);
|
|
27
|
+
if (a == 32 || a == 10)
|
|
28
|
+
++$;
|
|
29
|
+
else if (a == 35)
|
|
30
|
+
for (++$; ; ) {
|
|
31
|
+
let Q = O.peek($);
|
|
32
|
+
if (Q < 0 || Q == 10)
|
|
33
|
+
break;
|
|
34
|
+
$++;
|
|
35
|
+
}
|
|
36
|
+
else if (a == 45 && i == 2)
|
|
37
|
+
i = ++$;
|
|
38
|
+
else {
|
|
39
|
+
let Q = a == 101 && O.peek($ + 1) == 110 && O.peek($ + 2) == 100;
|
|
40
|
+
O.acceptToken(Q ? v : w, i);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
if (O.advance(), r == 10)
|
|
47
|
+
break;
|
|
48
|
+
}
|
|
49
|
+
O.pos > e && O.acceptToken(z);
|
|
50
|
+
});
|
|
51
|
+
function X(O, e, r) {
|
|
52
|
+
return new m((t) => {
|
|
53
|
+
let $ = t.pos;
|
|
54
|
+
for (; ; ) {
|
|
55
|
+
let { next: i } = t;
|
|
56
|
+
if (i == 123 && t.peek(1) == 37) {
|
|
57
|
+
let a = 2, Q = 2;
|
|
58
|
+
for (; ; a++) {
|
|
59
|
+
let o = t.peek(a);
|
|
60
|
+
if (o == 45 && a == 2)
|
|
61
|
+
Q++;
|
|
62
|
+
else if (o != 32 && o != 10)
|
|
63
|
+
break;
|
|
64
|
+
}
|
|
65
|
+
let l = "";
|
|
66
|
+
for (; ; a++) {
|
|
67
|
+
let o = t.peek(a);
|
|
68
|
+
if (!V(o))
|
|
69
|
+
break;
|
|
70
|
+
l += String.fromCharCode(o);
|
|
71
|
+
}
|
|
72
|
+
if (l == O) {
|
|
73
|
+
if (t.pos > $)
|
|
74
|
+
break;
|
|
75
|
+
t.acceptToken(r, Q);
|
|
76
|
+
break;
|
|
77
|
+
}
|
|
78
|
+
} else if (i < 0)
|
|
79
|
+
break;
|
|
80
|
+
if (t.advance(), i == 10)
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
t.pos > $ && t.acceptToken(e);
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
const D = /* @__PURE__ */ X("endcomment", E, Y), C = /* @__PURE__ */ X("endraw", S, x), N = /* @__PURE__ */ new m((O) => {
|
|
87
|
+
if (O.next == 35) {
|
|
88
|
+
for (O.advance(); !(O.next == 10 || O.next < 0 || (O.next == 37 || O.next == 125) && O.peek(1) == 125); )
|
|
89
|
+
O.advance();
|
|
90
|
+
O.acceptToken(Z);
|
|
91
|
+
}
|
|
92
|
+
}), H = { __proto__: null, contains: 34, or: 38, and: 38, true: 52, false: 52, empty: 54, forloop: 57, tablerowloop: 59, continue: 61, in: 135, with: 199, for: 201, as: 203, if: 239, endif: 243, unless: 249, endunless: 253, elsif: 257, else: 261, case: 267, endcase: 271, when: 275, endfor: 283, tablerow: 289, endtablerow: 293, break: 297, cycle: 303, echo: 307, render: 311, include: 315, assign: 319, capture: 325, endcapture: 329, increment: 333, decrement: 337 }, I = { __proto__: null, if: 90, endif: 94, elsif: 98, else: 102, unless: 108, endunless: 112, case: 118, endcase: 122, when: 126, for: 132, endfor: 140, tablerow: 146, endtablerow: 150, break: 154, continue: 158, cycle: 162, comment: 168, endcomment: 174, raw: 180, endraw: 186, echo: 190, render: 194, include: 206, assign: 210, capture: 216, endcapture: 220, increment: 224, decrement: 228, liquid: 232 }, L = /* @__PURE__ */ b.deserialize({
|
|
93
|
+
version: 14,
|
|
94
|
+
states: "MfQYOPOOOOOP'#F}'#F}OhOaO'#CdOyQhO'#CfO!hQxO'#DUO$ROPO'#DXO$aOPO'#DbO$oOPO'#DgO$}OPO'#DnO%]OPO'#DuO%kOSO'#EQO%pOQO'#EWO%uOPO'#EjO&TQxO'#F{OOOP'#Gj'#GjOOOP'#G`'#G`OOOP'#F|'#F|QYOPOOOOOP-E9{-E9{OOQW'#Cg'#CgO&nQ!jO,59QO&uQ!jO'#GaOyQhO'#CtOOQW'#Ge'#GeOOQW'#Gf'#GfOOQW'#Gg'#GgOOQW'#Ga'#GaOOOP,59p,59pO*SQhO,59pOyQhO,59tOyQhO,59xO*^QhO,59zOyQhO,59}OyQhO,5:SOyQhO,5:WO!cQhO,5:ZO!cQhO,5:bO*cQhO,5:fO*hQhO,5:hO*mQhO,5:jO*rQhO,5:mO*wQhO,5:sOyQhO,5:xOyQhO,5:zOyQhO,5;QOyQhO,5;SOyQhO,5;VOyQhO,5;ZOyQhO,5;]O,WQhO,5;_O,_OPO'#CdOOOP,59s,59sO$ROPO,59sO,mQxO'#F{OOOP,59|,59|O$aOPO,59|O,uQxO'#F{OOOP,5:R,5:RO$oOPO,5:RO,}QxO'#F{OOOP,5:Y,5:YO$}OPO,5:YO-VQxO'#F{OOOP,5:a,5:aO%]OPO,5:aO-_QxO'#F{OOOS'#GT'#GTO-gOSO'#ETO-oOSO,5:lOOOQ'#GU'#GUO-tOQO'#EZO-|OQO,5:rOOOP,5;U,5;UO%uOPO,5;UO.RQxO'#F{O.ZQhO,5<gOOOP-E9z-E9zO.`Q#|O,59SOyQhO,59VOyQhO,59WOyQhO,59WO.eQhO'#C}OOQW'#GO'#GOO.jQhO1G.lOOOP1G.l1G.lOyQhO,59WOyQhO,59[O/TQ!jO,59`O/[Q!jO'#CgO1kQ!jO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d&nm#r!R#k#n#u#y#|$^$e%|&R&X&_&d&nm#t!R#k#n#u#y#|$^$e%|&R&X&_&d&nT&V#u&Xm#w!R#k#n#u#y#|$^$e%|&R&X&_&d&nT&]#y&_m#{!R#k#n#u#y#|$^$e%|&R&X&_&d&nT&b#|&dm$O!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$R!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$T!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$V!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$X!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$Z!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$]!R#k#n#u#y#|$^$e%|&R&X&_&d&nT&l$^&nm$`!R#k#n#u#y#|$^$e%|&R&X&_&d&nm$b!R#k#n#u#y#|$^$e%|&R&X&_&d&n",
|
|
97
|
+
nodeNames: "⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName SubscriptExpression BinaryExpression contains CompareOp LogicOp AssignmentExpression AssignOp ) ( RangeExpression .. BooleanLiteral empty forloop tablerowloop continue StringLiteral NumberLiteral Filter | FilterName : NamedArgument ParameterName , 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 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 Tag include Tag assign CaptureDirective Tag capture EndTag endcapture Tag increment Tag decrement EndTag",
|
|
98
|
+
maxTerm: 225,
|
|
99
|
+
nodeProps: [
|
|
100
|
+
["closedBy", 1, "}}", -4, 2, 3, 4, 5, "%}", 23, ")"],
|
|
101
|
+
["openedBy", 9, "{{", 22, "(", 42, "{%"],
|
|
102
|
+
["group", -13, 11, 12, 15, 16, 20, 24, 26, 27, 28, 29, 30, 31, 32, "Expression"]
|
|
103
|
+
],
|
|
104
|
+
skippedNodes: [0, 6],
|
|
105
|
+
repeatNodeCount: 12,
|
|
106
|
+
tokenData: ")e~RmXY!|YZ!|]^!|pq!|qr#_rs#juv$[wx$gxy%Syz%X{|%^|}&x}!O&}!O!P'Z!Q![&g![!]'k!^!_'p!_!`'x!`!a'p!c!}(Q!}#O(y#P#Q)O#R#S(Q#T#o(Q#p#q)T#q#r)Y%W;'S(Q;'S;:j(s<%lO(Q~#RS%R~XY!|YZ!|]^!|pq!|~#bP!_!`#e~#jOb~~#mUOY#jZr#jrs$Ps;'S#j;'S;=`$U<%lO#j~$UOo~~$XP;=`<%l#j~$_P#q#r$b~$gOz~~$jUOY$gZw$gwx$Px;'S$g;'S;=`$|<%lO$g~%PP;=`<%l$g~%XOg~~%^Of~P%aQ!O!P%g!Q![&gP%jP!Q![%mP%rRpP!Q![%m!g!h%{#X#Y%{P&OR{|&X}!O&X!Q![&_P&[P!Q![&_P&dPpP!Q![&_P&lSpP!O!P%g!Q![&g!g!h%{#X#Y%{~&}Ow~~'QRuv$[!O!P%g!Q![&g~'`Q]S!O!P'f!Q![%m~'kOi~~'pOt~~'uPb~!_!`#e~'}Pe~!_!`#e_(ZW^WyQ%UT}!O(Q!Q![(Q!c!}(Q#R#S(Q#T#o(Q%W;'S(Q;'S;:j(s<%lO(Q_(vP;=`<%l(Q~)OO%W~~)TO%V~~)YOr~~)]P#q#r)`~)eOX~",
|
|
107
|
+
tokenizers: [F, C, D, N, 0, 1, 2, 3],
|
|
108
|
+
topRules: { Template: [0, 7] },
|
|
109
|
+
dynamicPrecedences: { 193: 1, 194: 1, 195: 1, 199: 1, 200: 1, 201: 1, 202: 1, 204: 1, 205: 1, 206: 1, 207: 1, 208: 1, 209: 1, 210: 1, 211: 1, 212: 1, 213: 1, 214: 1, 215: 1, 216: 1, 217: 1, 218: 1, 219: 1, 220: 1, 221: 1, 222: 1, 223: 1, 224: 1, 225: 1 },
|
|
110
|
+
specialized: [{ term: 190, get: (O) => H[O] || -1 }, { term: 41, get: (O) => I[O] || -1 }],
|
|
111
|
+
tokenPrec: 0
|
|
112
|
+
});
|
|
113
|
+
function s(O, e) {
|
|
114
|
+
return O.split(" ").map((r) => ({ label: r, type: e }));
|
|
115
|
+
}
|
|
116
|
+
const c = /* @__PURE__ */ s("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"), p = /* @__PURE__ */ s("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"), f = /* @__PURE__ */ s("empty forloop tablerowloop in with as", "keyword"), A = /* @__PURE__ */ s("first index index0 last length rindex", "property"), B = /* @__PURE__ */ s("col col0 col_first col_last first index index0 last length rindex rindex0 row", "property");
|
|
117
|
+
function M(O) {
|
|
118
|
+
var e;
|
|
119
|
+
let { state: r, pos: t } = O, $ = u(r).resolveInner(t, -1).enterUnfinishedNodesBefore(t), i = ((e = $.childBefore(t)) === null || e === void 0 ? void 0 : e.name) || $.name;
|
|
120
|
+
if ($.name == "FilterName")
|
|
121
|
+
return { type: "filter", node: $ };
|
|
122
|
+
if (O.explicit && i == "|")
|
|
123
|
+
return { type: "filter" };
|
|
124
|
+
if ($.name == "TagName")
|
|
125
|
+
return { type: "tag", node: $ };
|
|
126
|
+
if (O.explicit && i == "{%")
|
|
127
|
+
return { type: "tag" };
|
|
128
|
+
if ($.name == "PropertyName" && $.parent.name == "MemberExpression")
|
|
129
|
+
return { type: "property", node: $, target: $.parent };
|
|
130
|
+
if ($.name == "." && $.parent.name == "MemberExpression")
|
|
131
|
+
return { type: "property", target: $.parent };
|
|
132
|
+
if ($.name == "MemberExpression" && i == ".")
|
|
133
|
+
return { type: "property", target: $ };
|
|
134
|
+
if ($.name == "VariableName")
|
|
135
|
+
return { type: "expression", from: $.from };
|
|
136
|
+
let a = O.matchBefore(/[\w\u00c0-\uffff]+$/);
|
|
137
|
+
return a ? { type: "expression", from: a.from } : O.explicit && $.name != "CommentText" && $.name != "StringLiteral" && $.name != "NumberLiteral" && $.name != "InlineComment" ? { type: "expression" } : null;
|
|
138
|
+
}
|
|
139
|
+
function K(O, e, r, t) {
|
|
140
|
+
let $ = [];
|
|
141
|
+
for (; ; ) {
|
|
142
|
+
let i = e.getChild("Expression");
|
|
143
|
+
if (!i)
|
|
144
|
+
return [];
|
|
145
|
+
if (i.name == "VariableName" || i.name == "forloop" || i.name == "tablerowloop") {
|
|
146
|
+
let a = O.sliceDoc(i.from, i.to);
|
|
147
|
+
if (a == "forloop")
|
|
148
|
+
return $.length ? [] : A;
|
|
149
|
+
if (a == "tablerowloop")
|
|
150
|
+
return $.length ? [] : B;
|
|
151
|
+
$.unshift(a);
|
|
152
|
+
break;
|
|
153
|
+
} else if (i.name == "MemberExpression") {
|
|
154
|
+
let a = i.getChild("PropertyName");
|
|
155
|
+
a && $.unshift(O.sliceDoc(a.from, a.to)), e = i;
|
|
156
|
+
} else if (i.name == "SubscriptExpression") {
|
|
157
|
+
let a = i.getChildren("Expression")[1];
|
|
158
|
+
$.unshift(a?.name == "StringLiteral" ? O.sliceDoc(a.from + 1, a.to - 1) : "[]"), e = i;
|
|
159
|
+
} else
|
|
160
|
+
return [];
|
|
161
|
+
}
|
|
162
|
+
return t ? t($, O, r) : [];
|
|
163
|
+
}
|
|
164
|
+
function J(O = {}) {
|
|
165
|
+
let e = O.filters ? O.filters.concat(c) : c, r = O.tags ? O.tags.concat(p) : p, t = O.variables ? O.variables.concat(f) : f, { properties: $ } = O;
|
|
166
|
+
return (i) => {
|
|
167
|
+
var a;
|
|
168
|
+
let Q = M(i);
|
|
169
|
+
if (!Q)
|
|
170
|
+
return null;
|
|
171
|
+
let l = (a = Q.from) !== null && a !== void 0 ? a : Q.node ? Q.node.from : i.pos, o;
|
|
172
|
+
return Q.type == "filter" ? o = e : Q.type == "tag" ? o = r : Q.type == "expression" ? o = t : o = K(i.state, Q.target, i, $), o.length ? { options: o, from: l, validFor: /^[\w\u00c0-\uffff]*$/ } : null;
|
|
173
|
+
};
|
|
174
|
+
}
|
|
175
|
+
const OO = /* @__PURE__ */ _.inputHandler.of((O, e, r, t) => t != "%" || e != r || O.state.doc.sliceString(e - 1, r + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange(($) => ({
|
|
176
|
+
changes: { from: $.from, to: $.to, insert: "%%" },
|
|
177
|
+
range: q.cursor($.from + 1)
|
|
178
|
+
})), {
|
|
179
|
+
scrollIntoView: !0,
|
|
180
|
+
userEvent: "input.type"
|
|
181
|
+
}), !0));
|
|
182
|
+
function P(O) {
|
|
183
|
+
return (e) => {
|
|
184
|
+
let r = O.test(e.textAfter);
|
|
185
|
+
return e.lineIndent(e.node.from) + (r ? 0 : e.unit);
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
const $O = /* @__PURE__ */ g.define({
|
|
189
|
+
name: "liquid",
|
|
190
|
+
parser: /* @__PURE__ */ L.configure({
|
|
191
|
+
props: [
|
|
192
|
+
/* @__PURE__ */ R({
|
|
193
|
+
"cycle comment endcomment raw endraw echo increment decrement liquid in with as": n.keyword,
|
|
194
|
+
"empty forloop tablerowloop": n.atom,
|
|
195
|
+
"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue": n.controlKeyword,
|
|
196
|
+
"assign capture endcapture": n.definitionKeyword,
|
|
197
|
+
contains: n.operatorKeyword,
|
|
198
|
+
"render include": n.moduleKeyword,
|
|
199
|
+
VariableName: n.variableName,
|
|
200
|
+
TagName: n.keyword,
|
|
201
|
+
FilterName: /* @__PURE__ */ n.function(n.variableName),
|
|
202
|
+
PropertyName: n.propertyName,
|
|
203
|
+
ParameterName: n.attributeName,
|
|
204
|
+
CompareOp: n.compareOperator,
|
|
205
|
+
AssignOp: n.definitionOperator,
|
|
206
|
+
LogicOp: n.logicOperator,
|
|
207
|
+
NumberLiteral: n.number,
|
|
208
|
+
StringLiteral: n.string,
|
|
209
|
+
BooleanLiteral: n.bool,
|
|
210
|
+
InlineComment: n.lineComment,
|
|
211
|
+
CommentText: n.blockComment,
|
|
212
|
+
"{% %} {{ }}": n.brace,
|
|
213
|
+
"[ ]": n.bracket,
|
|
214
|
+
"( )": n.paren,
|
|
215
|
+
".": n.derefOperator,
|
|
216
|
+
", .. : |": n.punctuation
|
|
217
|
+
}),
|
|
218
|
+
/* @__PURE__ */ k.add({
|
|
219
|
+
Tag: /* @__PURE__ */ U({ closing: "%}" }),
|
|
220
|
+
"UnlessDirective ForDirective TablerowDirective CaptureDirective": /* @__PURE__ */ P(/^\s*(\{%-?\s*)?end\w/),
|
|
221
|
+
IfDirective: /* @__PURE__ */ P(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),
|
|
222
|
+
CaseDirective: /* @__PURE__ */ P(/^\s*(\{%-?\s*)?(endcase|when)\b/)
|
|
223
|
+
}),
|
|
224
|
+
/* @__PURE__ */ G.add({
|
|
225
|
+
"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O) {
|
|
226
|
+
let e = O.firstChild, r = O.lastChild;
|
|
227
|
+
return !e || e.name != "Tag" ? null : { from: e.to, to: r.name == "EndTag" ? r.from : O.to };
|
|
228
|
+
}
|
|
229
|
+
})
|
|
230
|
+
]
|
|
231
|
+
}),
|
|
232
|
+
languageData: {
|
|
233
|
+
commentTokens: { line: "#" },
|
|
234
|
+
indentOnInput: /^\s*{%-?\s*(?:end|elsif|else|when|)$/
|
|
235
|
+
}
|
|
236
|
+
}), d = /* @__PURE__ */ W();
|
|
237
|
+
function y(O) {
|
|
238
|
+
return $O.configure({
|
|
239
|
+
wrap: T((e) => e.type.isTop ? {
|
|
240
|
+
parser: O.parser,
|
|
241
|
+
overlay: (r) => r.name == "Text" || r.name == "RawText"
|
|
242
|
+
} : null)
|
|
243
|
+
}, "liquid");
|
|
244
|
+
}
|
|
245
|
+
const eO = /* @__PURE__ */ y(d.language);
|
|
246
|
+
function nO(O = {}) {
|
|
247
|
+
let e = O.base || d, r = e.language == d.language ? eO : y(e.language);
|
|
248
|
+
return new h(r, [
|
|
249
|
+
e.support,
|
|
250
|
+
r.data.of({ autocomplete: J(O) }),
|
|
251
|
+
e.language.data.of({ closeBrackets: { brackets: ["{"] } }),
|
|
252
|
+
OO
|
|
253
|
+
]);
|
|
254
|
+
}
|
|
255
|
+
export {
|
|
256
|
+
OO as closePercentBrace,
|
|
257
|
+
nO as liquid,
|
|
258
|
+
J as liquidCompletionSource,
|
|
259
|
+
eO as liquidLanguage
|
|
260
|
+
};
|