@vc-shell/framework 1.1.17 → 1.1.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (170) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/apl-B2DGVGxc.js +76 -0
  3. package/dist/asciiarmor-2LVJmxlE.js +34 -0
  4. package/dist/asn1-jKiBa2Ya.js +95 -0
  5. package/dist/asterisk-DS281yxp.js +271 -0
  6. package/dist/brainfuck-C_p9pTT8.js +34 -0
  7. package/dist/clike-DGTaUp48.js +620 -0
  8. package/dist/clojure-CCKyeQKf.js +800 -0
  9. package/dist/cmake-CuaCgAKt.js +28 -0
  10. package/dist/cobol-BlTKFDRj.js +72 -0
  11. package/dist/coffeescript-BVCvwO8I.js +179 -0
  12. package/dist/commonlisp-D_kxz07b.js +75 -0
  13. package/dist/crystal-D309uH6_.js +217 -0
  14. package/dist/css-BkF-NPzE.js +1553 -0
  15. package/dist/cypher-BMq4Fwjl.js +68 -0
  16. package/dist/d-BZcgY6La.js +127 -0
  17. package/dist/diff-Cg9d_RX2.js +18 -0
  18. package/dist/dockerfile-DIy8NleC.js +194 -0
  19. package/dist/dtd-CtLokQ-U.js +84 -0
  20. package/dist/dylan-QYeExnWK.js +234 -0
  21. package/dist/ebnf-DUPDuY4r.js +78 -0
  22. package/dist/ecl-CiXN-g_D.js +121 -0
  23. package/dist/eiffel-yQhjl4T1.js +110 -0
  24. package/dist/elm-CNT9vbN0.js +108 -0
  25. package/dist/erlang-CFOYdy9e.js +487 -0
  26. package/dist/factor-DDOC7X6P.js +65 -0
  27. package/dist/fcl-CPC2WYrI.js +103 -0
  28. package/dist/forth-BmxRyE9S.js +60 -0
  29. package/dist/fortran-9bvPyrOW.js +442 -0
  30. package/dist/framework.js +290 -0
  31. package/dist/gas-cpmYfFX2.js +183 -0
  32. package/dist/gherkin-CJuwpceU.js +34 -0
  33. package/dist/groovy-DZeT_VM-.js +146 -0
  34. package/dist/haskell-Bvt3Qq1t.js +375 -0
  35. package/dist/haxe-70NVW1pR.js +359 -0
  36. package/dist/http-D9LttvKF.js +44 -0
  37. package/dist/idl-B6TRFYjl.js +947 -0
  38. package/dist/index-BFhNVNTZ.js +98 -0
  39. package/dist/index-BJ39J43e.js +156 -0
  40. package/dist/index-BRQ9wWZR.js +137 -0
  41. package/dist/index-BoGxKFnu.js +249 -0
  42. package/dist/index-BvsQBH3w.js +308 -0
  43. package/dist/index-BwOwXBut.js +71 -0
  44. package/dist/index-CEEN9FWP.js +93 -0
  45. package/dist/index-CFKt4CD5.js +538 -0
  46. package/dist/index-CH1B6sJF.js +288 -0
  47. package/dist/index-CgZYncHs.js +134 -0
  48. package/dist/index-CjOyhVA4.js +147476 -0
  49. package/dist/index-DkYs6XSR.js +299 -0
  50. package/dist/index-T_R-gZqQ.js +268 -0
  51. package/dist/index-hV9___CR.js +58 -0
  52. package/dist/index-nqbjSJZb.js +341 -0
  53. package/dist/index-uTKF7rlc.js +611 -0
  54. package/dist/index-zEitvdcx.js +75 -0
  55. package/dist/index.css +9 -0
  56. package/dist/javascript-C2yteZeJ.js +691 -0
  57. package/dist/jinja2-DnB6dQmV.js +154 -0
  58. package/dist/julia-DpvXAuO6.js +241 -0
  59. package/dist/livescript-CanGTf8u.js +272 -0
  60. package/dist/lua-XplVlWi_.js +217 -0
  61. package/dist/mathematica-jaRHnSxC.js +35 -0
  62. package/dist/mbox-BctzC1hL.js +76 -0
  63. package/dist/mirc-CFBPAOaF.js +72 -0
  64. package/dist/mllike-BSnXJBGA.js +272 -0
  65. package/dist/modelica-vUgVs--1.js +93 -0
  66. package/dist/mscgen-Cpl0NYLN.js +104 -0
  67. package/dist/mumps-CQoS1kWX.js +25 -0
  68. package/dist/nginx-zDPm3Z74.js +89 -0
  69. package/dist/nsis-fePjrhq7.js +62 -0
  70. package/dist/ntriples-CsNjv2QF.js +79 -0
  71. package/dist/octave-C8PmmSRH.js +143 -0
  72. package/dist/oz-Ce8aN8oE.js +151 -0
  73. package/dist/pascal-De0D6mP7.js +77 -0
  74. package/dist/perl-B4bSCe1C.js +915 -0
  75. package/dist/pig-D24Z8EXi.js +54 -0
  76. package/dist/powershell-DkYVfTzP.js +249 -0
  77. package/dist/properties-Dn9wna3M.js +26 -0
  78. package/dist/protobuf-BPIjwpzm.js +49 -0
  79. package/dist/pug-CwAQJzGR.js +248 -0
  80. package/dist/puppet-nyd4dhjf.js +45 -0
  81. package/dist/python-BkR3uSy8.js +313 -0
  82. package/dist/q-DXjKs-tC.js +83 -0
  83. package/dist/r-LKEuhEGI.js +104 -0
  84. package/dist/rpm-IznJm2Xc.js +57 -0
  85. package/dist/ruby-CcYfvIk6.js +228 -0
  86. package/dist/sas-7E8yHoCW.js +105 -0
  87. package/dist/scheme-DjibxsNh.js +124 -0
  88. package/dist/shared/components/draggable-dashboard/composables/useDashboardDragAndDrop.d.ts +4 -4
  89. package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
  90. package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
  91. package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
  92. package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +2 -2
  93. package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
  94. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
  95. package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
  96. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
  97. package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
  98. package/dist/shell-C0C2sNA_.js +182 -0
  99. package/dist/sieve-Bwz7vjP5.js +72 -0
  100. package/dist/simple-mode-B0dvCdAA.js +89 -0
  101. package/dist/smalltalk-Bhddl2pB.js +48 -0
  102. package/dist/solr-BNlsLglM.js +41 -0
  103. package/dist/sparql-FarWu_Gb.js +197 -0
  104. package/dist/spreadsheet-C-cy4P5N.js +49 -0
  105. package/dist/sql-CfG5lQ3l.js +282 -0
  106. package/dist/stex-Du4h4KAU.js +129 -0
  107. package/dist/stylus-CAdqWld3.js +250 -0
  108. package/dist/swift-DSxqR9R6.js +230 -0
  109. package/dist/tcl-xfoLljhY.js +81 -0
  110. package/dist/textile-D1AWE-pc.js +295 -0
  111. package/dist/tiddlywiki-5wqsXtSk.js +155 -0
  112. package/dist/tiki-__Kn3CeS.js +181 -0
  113. package/dist/toml-BHiuTcfn.js +49 -0
  114. package/dist/troff-D2UO-fKf.js +35 -0
  115. package/dist/tsconfig.tsbuildinfo +1 -1
  116. package/dist/ttcn-Bsa4sfRm.js +123 -0
  117. package/dist/ttcn-cfg-Bac_acMi.js +88 -0
  118. package/dist/turtle-xwJUxoPV.js +80 -0
  119. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
  120. package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
  121. package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
  122. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
  123. package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
  124. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
  125. package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
  126. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
  127. package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
  128. package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
  129. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
  130. package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
  131. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
  132. package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
  133. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +3 -3
  134. package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
  135. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
  136. package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
  137. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
  138. package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
  139. package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts.map +1 -1
  140. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +1 -1
  141. package/dist/ui/components/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts.map +1 -1
  142. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-base-button.vue.d.ts +1 -1
  143. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts +1 -1
  144. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-button.vue.d.ts.map +1 -1
  145. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts +1 -1
  146. package/dist/ui/components/organisms/vc-blade/_internal/vc-blade-toolbar/_internal/vc-blade-toolbar-buttons/_internal/vc-blade-toolbar-button/vc-blade-toolbar-circle-button.vue.d.ts.map +1 -1
  147. package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
  148. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  149. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  150. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  151. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  152. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  153. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
  154. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  155. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  156. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  157. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  158. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  159. package/dist/vb-c2kQGd6-.js +74 -0
  160. package/dist/vbscript-1f_Dhg5H.js +324 -0
  161. package/dist/velocity-DJd0pTTC.js +96 -0
  162. package/dist/verilog-CiS1jyi5.js +262 -0
  163. package/dist/vhdl-T9HkrbI2.js +106 -0
  164. package/dist/webidl-CjfDENEo.js +155 -0
  165. package/dist/xquery-BUQdORAS.js +422 -0
  166. package/dist/yacas-C0absKBh.js +73 -0
  167. package/dist/z80-Pki2zAjW.js +61 -0
  168. package/package.json +4 -4
  169. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +3 -3
  170. package/ui/components/molecules/vc-select/vc-select.vue +186 -68
@@ -0,0 +1,249 @@
1
+ import { o as h, p as b, L as v, q as y, a as k, r as u, g as T, b as _, s as W, i as R, f as Y, t, h as w, E as P } from "./index-CjOyhVA4.js";
2
+ const U = 1, X = 2, j = 3, G = 180, S = 4, z = 181, x = 5, Z = 182, E = 6;
3
+ function V(O) {
4
+ return O >= 65 && O <= 90 || O >= 97 && O <= 122;
5
+ }
6
+ const D = /* @__PURE__ */ new P((O) => {
7
+ let a = O.pos;
8
+ for (; ; ) {
9
+ let { next: e } = O;
10
+ if (e < 0)
11
+ break;
12
+ if (e == 123) {
13
+ let r = O.peek(1);
14
+ if (r == 123) {
15
+ if (O.pos > a)
16
+ break;
17
+ O.acceptToken(U, 2);
18
+ return;
19
+ } else if (r == 37) {
20
+ if (O.pos > a)
21
+ break;
22
+ let $ = 2, i = 2;
23
+ for (; ; ) {
24
+ let n = O.peek($);
25
+ if (n == 32 || n == 10)
26
+ ++$;
27
+ else if (n == 35)
28
+ for (++$; ; ) {
29
+ let Q = O.peek($);
30
+ if (Q < 0 || Q == 10)
31
+ break;
32
+ $++;
33
+ }
34
+ else if (n == 45 && i == 2)
35
+ i = ++$;
36
+ else {
37
+ let Q = n == 101 && O.peek($ + 1) == 110 && O.peek($ + 2) == 100;
38
+ O.acceptToken(Q ? j : X, i);
39
+ return;
40
+ }
41
+ }
42
+ }
43
+ }
44
+ if (O.advance(), e == 10)
45
+ break;
46
+ }
47
+ O.pos > a && O.acceptToken(G);
48
+ });
49
+ function f(O, a, e) {
50
+ return new P((r) => {
51
+ let $ = r.pos;
52
+ for (; ; ) {
53
+ let { next: i } = r;
54
+ if (i == 123 && r.peek(1) == 37) {
55
+ let n = 2;
56
+ for (; ; n++) {
57
+ let s = r.peek(n);
58
+ if (s != 32 && s != 10)
59
+ break;
60
+ }
61
+ let Q = "";
62
+ for (; ; n++) {
63
+ let s = r.peek(n);
64
+ if (!V(s))
65
+ break;
66
+ Q += String.fromCharCode(s);
67
+ }
68
+ if (Q == O) {
69
+ if (r.pos > $)
70
+ break;
71
+ r.acceptToken(e, 2);
72
+ break;
73
+ }
74
+ } else if (i < 0)
75
+ break;
76
+ if (r.advance(), i == 10)
77
+ break;
78
+ }
79
+ r.pos > $ && r.acceptToken(a);
80
+ });
81
+ }
82
+ const F = /* @__PURE__ */ f("endcomment", Z, x), C = /* @__PURE__ */ f("endraw", z, S), N = /* @__PURE__ */ new P((O) => {
83
+ if (O.next == 35) {
84
+ for (O.advance(); !(O.next == 10 || O.next < 0 || (O.next == 37 || O.next == 125) && O.peek(1) == 125); )
85
+ O.advance();
86
+ O.acceptToken(E);
87
+ }
88
+ }), I = { __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 }, L = { __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 }, A = /* @__PURE__ */ _.deserialize({
89
+ version: 14,
90
+ 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)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%t#tQ%u#uQ%v#vQ%w#wQ&R$fQ&T$mQ&W$pQ&X$qQ&b${Q&v&QQ'T&kQ'U&lQ'_'RQ'e'YR'f'dm#d}#]#^#_#`#a#b#e%U%X%[%_%b%e",
93
+ nodeNames: "⚠ {{ {% {% {% {% InlineComment Template Text }} Interpolation VariableName MemberExpression . PropertyName BinaryExpression contains CompareOp LogicOp AssignmentExpression 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",
94
+ maxTerm: 189,
95
+ nodeProps: [
96
+ ["closedBy", 1, "}}", -4, 2, 3, 4, 5, "%}", 22, ")"],
97
+ ["openedBy", 9, "{{", 21, "(", 38, "{%"],
98
+ ["group", -12, 11, 12, 15, 19, 23, 25, 26, 27, 28, 29, 30, 31, "Expression"]
99
+ ],
100
+ skippedNodes: [0, 6],
101
+ repeatNodeCount: 11,
102
+ 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~",
103
+ tokenizers: [D, C, F, N, 0, 1, 2, 3],
104
+ topRules: { Template: [0, 7] },
105
+ specialized: [{ term: 187, get: (O) => I[O] || -1 }, { term: 37, get: (O) => L[O] || -1 }],
106
+ tokenPrec: 0
107
+ });
108
+ function l(O, a) {
109
+ return O.split(" ").map((e) => ({ label: e, type: a }));
110
+ }
111
+ const q = /* @__PURE__ */ l("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__ */ l("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"), d = /* @__PURE__ */ l("empty forloop tablerowloop in with as contains", "keyword"), B = /* @__PURE__ */ l("first index index0 last length rindex", "property"), H = /* @__PURE__ */ l("col col0 col_first col_last first index index0 last length rindex rindex0 row", "property");
112
+ function M(O) {
113
+ var a;
114
+ let { state: e, pos: r } = O, $ = T(e).resolveInner(r, -1).enterUnfinishedNodesBefore(r), i = ((a = $.childBefore(r)) === null || a === void 0 ? void 0 : a.name) || $.name;
115
+ if ($.name == "FilterName")
116
+ return { type: "filter", node: $ };
117
+ if (O.explicit && i == "|")
118
+ return { type: "filter" };
119
+ if ($.name == "TagName")
120
+ return { type: "tag", node: $ };
121
+ if (O.explicit && i == "{%")
122
+ return { type: "tag" };
123
+ if ($.name == "PropertyName" && $.parent.name == "MemberExpression")
124
+ return { type: "property", node: $, target: $.parent };
125
+ if ($.name == "." && $.parent.name == "MemberExpression")
126
+ return { type: "property", target: $.parent };
127
+ if ($.name == "MemberExpression" && i == ".")
128
+ return { type: "property", target: $ };
129
+ if ($.name == "VariableName")
130
+ return { type: "expression", from: $.from };
131
+ let n = O.matchBefore(/[\w\u00c0-\uffff]+$/);
132
+ return n ? { type: "expression", from: n.from } : O.explicit && $.name != "CommentText" && $.name != "StringLiteral" && $.name != "NumberLiteral" && $.name != "InlineComment" ? { type: "expression" } : null;
133
+ }
134
+ function K(O, a, e, r) {
135
+ let $ = [];
136
+ for (; ; ) {
137
+ let i = a.getChild("Expression");
138
+ if (!i)
139
+ return [];
140
+ if (i.name == "forloop")
141
+ return $.length ? [] : B;
142
+ if (i.name == "tablerowloop")
143
+ return $.length ? [] : H;
144
+ if (i.name == "VariableName") {
145
+ $.unshift(O.sliceDoc(i.from, i.to));
146
+ break;
147
+ } else if (i.name == "MemberExpression") {
148
+ let n = i.getChild("PropertyName");
149
+ n && $.unshift(O.sliceDoc(n.from, n.to)), a = i;
150
+ } else
151
+ return [];
152
+ }
153
+ return r ? r($, O, e) : [];
154
+ }
155
+ function J(O = {}) {
156
+ let a = O.filters ? O.filters.concat(q) : q, e = O.tags ? O.tags.concat(p) : p, r = O.variables ? O.variables.concat(d) : d, { properties: $ } = O;
157
+ return (i) => {
158
+ var n;
159
+ let Q = M(i);
160
+ if (!Q)
161
+ return null;
162
+ let s = (n = Q.from) !== null && n !== void 0 ? n : Q.node ? Q.node.from : i.pos, o;
163
+ return Q.type == "filter" ? o = a : Q.type == "tag" ? o = e : Q.type == "expression" ? o = r : o = K(i.state, Q.target, i, $), o.length ? { options: o, from: s, validFor: /^[\w\u00c0-\uffff]*$/ } : null;
164
+ };
165
+ }
166
+ const OO = /* @__PURE__ */ h.inputHandler.of((O, a, e, r) => r != "%" || a != e || O.state.doc.sliceString(a - 1, e + 1) != "{}" ? !1 : (O.dispatch(O.state.changeByRange(($) => ({
167
+ changes: { from: $.from, to: $.to, insert: "%%" },
168
+ range: y.cursor($.from + 1)
169
+ })), {
170
+ scrollIntoView: !0,
171
+ userEvent: "input.type"
172
+ }), !0));
173
+ function c(O) {
174
+ return (a) => {
175
+ let e = O.test(a.textAfter);
176
+ return a.lineIndent(a.node.from) + (e ? 0 : a.unit);
177
+ };
178
+ }
179
+ const $O = /* @__PURE__ */ k.define({
180
+ name: "liquid",
181
+ parser: /* @__PURE__ */ A.configure({
182
+ props: [
183
+ /* @__PURE__ */ W({
184
+ "cycle comment endcomment raw endraw echo increment decrement liquid in with as": t.keyword,
185
+ "empty forloop tablerowloop": t.atom,
186
+ "if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue": t.controlKeyword,
187
+ "assign capture endcapture": t.definitionKeyword,
188
+ contains: t.operatorKeyword,
189
+ "render include": t.moduleKeyword,
190
+ VariableName: t.variableName,
191
+ TagName: t.tagName,
192
+ FilterName: /* @__PURE__ */ t.function(t.variableName),
193
+ PropertyName: t.propertyName,
194
+ CompareOp: t.compareOperator,
195
+ AssignOp: t.definitionOperator,
196
+ LogicOp: t.logicOperator,
197
+ NumberLiteral: t.number,
198
+ StringLiteral: t.string,
199
+ BooleanLiteral: t.bool,
200
+ InlineComment: t.lineComment,
201
+ CommentText: t.blockComment,
202
+ "{% %} {{ }}": t.brace,
203
+ "( )": t.paren,
204
+ ".": t.derefOperator,
205
+ ", .. : |": t.punctuation
206
+ }),
207
+ /* @__PURE__ */ R.add({
208
+ Tag: /* @__PURE__ */ w({ closing: "%}" }),
209
+ "UnlessDirective ForDirective TablerowDirective CaptureDirective": /* @__PURE__ */ c(/^\s*(\{%-?\s*)?end\w/),
210
+ IfDirective: /* @__PURE__ */ c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),
211
+ CaseDirective: /* @__PURE__ */ c(/^\s*(\{%-?\s*)?(endcase|when)\b/)
212
+ }),
213
+ /* @__PURE__ */ Y.add({
214
+ "UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O) {
215
+ let a = O.firstChild, e = O.lastChild;
216
+ return !a || a.name != "Tag" ? null : { from: a.to, to: e.name == "EndTag" ? e.from : O.to };
217
+ }
218
+ })
219
+ ]
220
+ }),
221
+ languageData: {
222
+ commentTokens: { line: "#" },
223
+ indentOnInput: /^\s*{%-?\s*(?:end|elsif|else|when|)$/
224
+ }
225
+ }), m = /* @__PURE__ */ b();
226
+ function g(O) {
227
+ return $O.configure({
228
+ wrap: u((a) => a.type.isTop ? {
229
+ parser: O.parser,
230
+ overlay: (e) => e.name == "Text" || e.name == "RawText"
231
+ } : null)
232
+ }, "liquid");
233
+ }
234
+ const aO = /* @__PURE__ */ g(m.language);
235
+ function iO(O = {}) {
236
+ let a = O.base || m, e = a.language == m.language ? aO : g(a.language);
237
+ return new v(e, [
238
+ a.support,
239
+ e.data.of({ autocomplete: J(O) }),
240
+ a.language.data.of({ closeBrackets: { brackets: ["{"] } }),
241
+ OO
242
+ ]);
243
+ }
244
+ export {
245
+ OO as closePercentBrace,
246
+ iO as liquid,
247
+ J as liquidCompletionSource,
248
+ aO as liquidLanguage
249
+ };
@@ -0,0 +1,308 @@
1
+ import { b as G, E as A, s as N, C as I, t as p, o as Y, a as j, L as U, g as k, q as Z, i as B, f as D, u as M } from "./index-CjOyhVA4.js";
2
+ const h = 1, F = 2, L = 3, K = 4, H = 5, J = 36, ee = 37, te = 38, Oe = 11, oe = 13;
3
+ function re(e) {
4
+ return e == 45 || e == 46 || e == 58 || e >= 65 && e <= 90 || e == 95 || e >= 97 && e <= 122 || e >= 161;
5
+ }
6
+ function ne(e) {
7
+ return e == 9 || e == 10 || e == 13 || e == 32;
8
+ }
9
+ let Q = null, V = null, X = 0;
10
+ function W(e, t) {
11
+ let o = e.pos + t;
12
+ if (V == e && X == o) return Q;
13
+ for (; ne(e.peek(t)); ) t++;
14
+ let O = "";
15
+ for (; ; ) {
16
+ let r = e.peek(t);
17
+ if (!re(r)) break;
18
+ O += String.fromCharCode(r), t++;
19
+ }
20
+ return V = e, X = o, Q = O || null;
21
+ }
22
+ function _(e, t) {
23
+ this.name = e, this.parent = t;
24
+ }
25
+ const ae = new I({
26
+ start: null,
27
+ shift(e, t, o, O) {
28
+ return t == h ? new _(W(O, 1) || "", e) : e;
29
+ },
30
+ reduce(e, t) {
31
+ return t == Oe && e ? e.parent : e;
32
+ },
33
+ reuse(e, t, o, O) {
34
+ let r = t.type.id;
35
+ return r == h || r == oe ? new _(W(O, 1) || "", e) : e;
36
+ },
37
+ strict: !1
38
+ }), le = new A((e, t) => {
39
+ if (e.next == 60) {
40
+ if (e.advance(), e.next == 47) {
41
+ e.advance();
42
+ let o = W(e, 0);
43
+ if (!o) return e.acceptToken(H);
44
+ if (t.context && o == t.context.name) return e.acceptToken(F);
45
+ for (let O = t.context; O; O = O.parent) if (O.name == o) return e.acceptToken(L, -2);
46
+ e.acceptToken(K);
47
+ } else if (e.next != 33 && e.next != 63)
48
+ return e.acceptToken(h);
49
+ }
50
+ }, { contextual: !0 });
51
+ function y(e, t) {
52
+ return new A((o) => {
53
+ let O = 0, r = t.charCodeAt(0);
54
+ e: for (; !(o.next < 0); o.advance(), O++)
55
+ if (o.next == r) {
56
+ for (let a = 1; a < t.length; a++)
57
+ if (o.peek(a) != t.charCodeAt(a)) continue e;
58
+ break;
59
+ }
60
+ O && o.acceptToken(e);
61
+ });
62
+ }
63
+ const se = y(J, "-->"), ie = y(ee, "?>"), ce = y(te, "]]>"), $e = N({
64
+ Text: p.content,
65
+ "StartTag StartCloseTag EndTag SelfCloseEndTag": p.angleBracket,
66
+ TagName: p.tagName,
67
+ "MismatchedCloseTag/TagName": [p.tagName, p.invalid],
68
+ AttributeName: p.attributeName,
69
+ AttributeValue: p.attributeValue,
70
+ Is: p.definitionOperator,
71
+ "EntityReference CharacterReference": p.character,
72
+ Comment: p.blockComment,
73
+ ProcessingInst: p.processingInstruction,
74
+ DoctypeDecl: p.documentMeta,
75
+ Cdata: p.special(p.string)
76
+ }), me = G.deserialize({
77
+ version: 14,
78
+ states: ",lOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DT'#DTOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C|'#C|O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C}'#C}O$dOrO,59^OOOP,59^,59^OOOS'#DO'#DOO$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6z-E6zOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6{-E6{OOOP1G.x1G.xOOOS-E6|-E6|OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'mO!bO,59eOOOO-E6w-E6wO'{OpO1G.uO'{OpO1G.uOOOP1G.u1G.uO(TOpO7+$fOOOP7+$f7+$fO(]O!bO<<GuOOOP<<Gu<<GuOOOP<<G}<<G}O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ames: "⚠ StartTag StartCloseTag MissingCloseTag StartCloseTag StartCloseTag Document Text EntityReference CharacterReference Cdata Element EndTag OpenTag TagName Attribute AttributeName Is AttributeValue CloseTag SelfCloseEndTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag DoctypeDecl",
82
+ maxTerm: 50,
83
+ context: ae,
84
+ nodeProps: [
85
+ ["closedBy", 1, "SelfCloseEndTag EndTag", 13, "CloseTag MissingCloseTag"],
86
+ ["openedBy", 12, "StartTag StartCloseTag", 19, "OpenTag", 20, "StartTag"],
87
+ ["isolate", -6, 13, 18, 19, 21, 22, 24, ""]
88
+ ],
89
+ propSources: [$e],
90
+ skippedNodes: [0],
91
+ repeatNodeCount: 9,
92
+ tokenData: "!)v~R!YOX$qXY)iYZ)iZ]$q]^)i^p$qpq)iqr$qrs*vsv$qvw+fwx/ix}$q}!O0[!O!P$q!P!Q2z!Q![$q![!]4n!]!^$q!^!_8U!_!`!#t!`!a!$l!a!b!%d!b!c$q!c!}4n!}#P$q#P#Q!'W#Q#R$q#R#S4n#S#T$q#T#o4n#o%W$q%W%o4n%o%p$q%p&a4n&a&b$q&b1p4n1p4U$q4U4d4n4d4e$q4e$IS4n$IS$I`$q$I`$Ib4n$Ib$Kh$q$Kh%#t4n%#t&/x$q&/x&Et4n&Et&FV$q&FV;'S4n;'S;:j8O;:j;=`)c<%l?&r$q?&r?Ah4n?Ah?BY$q?BY?Mn4n?MnO$qi$zXVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qa%nVVP!O`Ov%gwx&Tx!^%g!^!_&o!_;'S%g;'S;=`'W<%lO%gP&YTVPOv&Tw!^&T!_;'S&T;'S;=`&i<%lO&TP&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%l%gX'eWVP|WOr'^rs&Tsv'^w!^'^!^!_'}!_;'S'^;'S;=`(i<%lO'^W(ST|WOr'}sv'}w;'S'};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W!O`Or(ors&osv(owx'}x#m(o#m#n! n#n;'S(o;'S;=`)]<%lO(oi! uX|W!O`Or(ors&osv(owx'}x#d(o#d#e!!b#e;'S(o;'S;=`)]<%lO(oi!!iX|W!O`Or(ors&osv(owx'}x#X(o#X#Y?y#Y;'S(o;'S;=`)]<%lO(oi!#_V!SP|W!O`Or(ors&osv(owx'}x;'S(o;'S;=`)]<%lO(ok!$PXaQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qo!$wX[UVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!%mZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!&`!a;'S$q;'S;=`)c<%lO$qk!&kX!RQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$qk!'aZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_#P$q#P#Q!(S#Q;'S$q;'S;=`)c<%lO$qk!(]ZVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_!`$q!`!a!)O!a;'S$q;'S;=`)c<%lO$qk!)ZXxQVP|W!O`Or$qrs%gsv$qwx'^x!^$q!^!_(o!_;'S$q;'S;=`)c<%lO$q",
93
+ tokenizers: [le, se, ie, ce, 0, 1, 2, 3, 4],
94
+ topRules: { Document: [0, 6] },
95
+ tokenPrec: 0
96
+ });
97
+ function T(e, t) {
98
+ let o = t && t.getChild("TagName");
99
+ return o ? e.sliceString(o.from, o.to) : "";
100
+ }
101
+ function P(e, t) {
102
+ let o = t && t.firstChild;
103
+ return !o || o.name != "OpenTag" ? "" : T(e, o);
104
+ }
105
+ function Se(e, t, o) {
106
+ let O = t && t.getChildren("Attribute").find((a) => a.from <= o && a.to >= o), r = O && O.getChild("AttributeName");
107
+ return r ? e.sliceString(r.from, r.to) : "";
108
+ }
109
+ function C(e) {
110
+ for (let t = e && e.parent; t; t = t.parent)
111
+ if (t.name == "Element")
112
+ return t;
113
+ return null;
114
+ }
115
+ function ge(e, t) {
116
+ var o;
117
+ let O = k(e).resolveInner(t, -1), r = null;
118
+ for (let a = O; !r && a.parent; a = a.parent)
119
+ (a.name == "OpenTag" || a.name == "CloseTag" || a.name == "SelfClosingTag" || a.name == "MismatchedCloseTag") && (r = a);
120
+ if (r && (r.to > t || r.lastChild.type.isError)) {
121
+ let a = r.parent;
122
+ if (O.name == "TagName")
123
+ return r.name == "CloseTag" || r.name == "MismatchedCloseTag" ? { type: "closeTag", from: O.from, context: a } : { type: "openTag", from: O.from, context: C(a) };
124
+ if (O.name == "AttributeName")
125
+ return { type: "attrName", from: O.from, context: r };
126
+ if (O.name == "AttributeValue")
127
+ return { type: "attrValue", from: O.from, context: r };
128
+ let s = O == r || O.name == "Attribute" ? O.childBefore(t) : O;
129
+ return s?.name == "StartTag" ? { type: "openTag", from: t, context: C(a) } : s?.name == "StartCloseTag" && s.to <= t ? { type: "closeTag", from: t, context: a } : s?.name == "Is" ? { type: "attrValue", from: t, context: r } : s ? { type: "attrName", from: t, context: r } : null;
130
+ } else if (O.name == "StartCloseTag")
131
+ return { type: "closeTag", from: t, context: O.parent };
132
+ for (; O.parent && O.to == t && !(!((o = O.lastChild) === null || o === void 0) && o.type.isError); )
133
+ O = O.parent;
134
+ return O.name == "Element" || O.name == "Text" || O.name == "Document" ? { type: "tag", from: t, context: O.name == "Element" ? O : C(O) } : null;
135
+ }
136
+ class ue {
137
+ constructor(t, o, O) {
138
+ this.attrs = o, this.attrValues = O, this.children = [], this.name = t.name, this.completion = Object.assign(Object.assign({ type: "type" }, t.completion || {}), { label: this.name }), this.openCompletion = Object.assign(Object.assign({}, this.completion), { label: "<" + this.name }), this.closeCompletion = Object.assign(Object.assign({}, this.completion), { label: "</" + this.name + ">", boost: 2 }), this.closeNameCompletion = Object.assign(Object.assign({}, this.completion), { label: this.name + ">" }), this.text = t.textContent ? t.textContent.map((r) => ({ label: r, type: "text" })) : [];
139
+ }
140
+ }
141
+ const b = /^[:\-\.\w\u00b7-\uffff]*$/;
142
+ function E(e) {
143
+ return Object.assign(Object.assign({ type: "property" }, e.completion || {}), { label: e.name });
144
+ }
145
+ function R(e) {
146
+ return typeof e == "string" ? { label: `"${e}"`, type: "constant" } : /^"/.test(e.label) ? e : Object.assign(Object.assign({}, e), { label: `"${e.label}"` });
147
+ }
148
+ function pe(e, t) {
149
+ let o = [], O = [], r = /* @__PURE__ */ Object.create(null);
150
+ for (let n of t) {
151
+ let m = E(n);
152
+ o.push(m), n.global && O.push(m), n.values && (r[n.name] = n.values.map(R));
153
+ }
154
+ let a = [], s = [], f = /* @__PURE__ */ Object.create(null);
155
+ for (let n of e) {
156
+ let m = O, c = r;
157
+ n.attributes && (m = m.concat(n.attributes.map((l) => typeof l == "string" ? o.find((d) => d.label == l) || { label: l, type: "property" } : (l.values && (c == r && (c = Object.create(c)), c[l.name] = l.values.map(R)), E(l)))));
158
+ let u = new ue(n, m, c);
159
+ f[u.name] = u, a.push(u), n.top && s.push(u);
160
+ }
161
+ s.length || (s = a);
162
+ for (let n = 0; n < a.length; n++) {
163
+ let m = e[n], c = a[n];
164
+ if (m.children)
165
+ for (let u of m.children)
166
+ f[u] && c.children.push(f[u]);
167
+ else
168
+ c.children = a;
169
+ }
170
+ return (n) => {
171
+ var m;
172
+ let { doc: c } = n.state, u = ge(n.state, n.pos);
173
+ if (!u || u.type == "tag" && !n.explicit)
174
+ return null;
175
+ let { type: l, from: d, context: S } = u;
176
+ if (l == "openTag") {
177
+ let i = s, $ = P(c, S);
178
+ if ($) {
179
+ let g = f[$];
180
+ i = g?.children || a;
181
+ }
182
+ return {
183
+ from: d,
184
+ options: i.map((g) => g.completion),
185
+ validFor: b
186
+ };
187
+ } else if (l == "closeTag") {
188
+ let i = P(c, S);
189
+ return i ? {
190
+ from: d,
191
+ to: n.pos + (c.sliceString(n.pos, n.pos + 1) == ">" ? 1 : 0),
192
+ options: [((m = f[i]) === null || m === void 0 ? void 0 : m.closeNameCompletion) || { label: i + ">", type: "type" }],
193
+ validFor: b
194
+ } : null;
195
+ } else if (l == "attrName") {
196
+ let i = f[T(c, S)];
197
+ return {
198
+ from: d,
199
+ options: i?.attrs || O,
200
+ validFor: b
201
+ };
202
+ } else if (l == "attrValue") {
203
+ let i = Se(c, S, d);
204
+ if (!i)
205
+ return null;
206
+ let $ = f[T(c, S)], g = ($?.attrValues || r)[i];
207
+ return !g || !g.length ? null : {
208
+ from: d,
209
+ to: n.pos + (c.sliceString(n.pos, n.pos + 1) == '"' ? 1 : 0),
210
+ options: g,
211
+ validFor: /^"[^"]*"?$/
212
+ };
213
+ } else if (l == "tag") {
214
+ let i = P(c, S), $ = f[i], g = [], q = S && S.lastChild;
215
+ i && (!q || q.name != "CloseTag" || T(c, q) != i) && g.push($ ? $.closeCompletion : { label: "</" + i + ">", type: "type", boost: 2 });
216
+ let v = g.concat(($?.children || (S ? a : s)).map((x) => x.openCompletion));
217
+ if (S && $?.text.length) {
218
+ let x = S.firstChild;
219
+ x.to > n.pos - 20 && !/\S/.test(n.state.sliceDoc(x.to, n.pos)) && (v = v.concat($.text));
220
+ }
221
+ return {
222
+ from: d,
223
+ options: v,
224
+ validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/
225
+ };
226
+ } else
227
+ return null;
228
+ };
229
+ }
230
+ const w = /* @__PURE__ */ j.define({
231
+ name: "xml",
232
+ parser: /* @__PURE__ */ me.configure({
233
+ props: [
234
+ /* @__PURE__ */ B.add({
235
+ Element(e) {
236
+ let t = /^\s*<\//.test(e.textAfter);
237
+ return e.lineIndent(e.node.from) + (t ? 0 : e.unit);
238
+ },
239
+ "OpenTag CloseTag SelfClosingTag"(e) {
240
+ return e.column(e.node.from) + e.unit;
241
+ }
242
+ }),
243
+ /* @__PURE__ */ D.add({
244
+ Element(e) {
245
+ let t = e.firstChild, o = e.lastChild;
246
+ return !t || t.name != "OpenTag" ? null : { from: t.to, to: o.name == "CloseTag" ? o.from : e.to };
247
+ }
248
+ }),
249
+ /* @__PURE__ */ M.add({
250
+ "OpenTag CloseTag": (e) => e.getChild("TagName")
251
+ })
252
+ ]
253
+ }),
254
+ languageData: {
255
+ commentTokens: { block: { open: "<!--", close: "-->" } },
256
+ indentOnInput: /^\s*<\/$/
257
+ }
258
+ });
259
+ function qe(e = {}) {
260
+ let t = [w.data.of({
261
+ autocomplete: pe(e.elements || [], e.attributes || [])
262
+ })];
263
+ return e.autoCloseTags !== !1 && t.push(fe), new U(w, t);
264
+ }
265
+ function z(e, t, o = e.length) {
266
+ if (!t)
267
+ return "";
268
+ let O = t.firstChild, r = O && O.getChild("TagName");
269
+ return r ? e.sliceString(r.from, Math.min(r.to, o)) : "";
270
+ }
271
+ const fe = /* @__PURE__ */ Y.inputHandler.of((e, t, o, O, r) => {
272
+ if (e.composing || e.state.readOnly || t != o || O != ">" && O != "/" || !w.isActiveAt(e.state, t, -1))
273
+ return !1;
274
+ let a = r(), { state: s } = a, f = s.changeByRange((n) => {
275
+ var m, c, u;
276
+ let { head: l } = n, d = s.doc.sliceString(l - 1, l) == O, S = k(s).resolveInner(l, -1), i;
277
+ if (d && O == ">" && S.name == "EndTag") {
278
+ let $ = S.parent;
279
+ if (((c = (m = $.parent) === null || m === void 0 ? void 0 : m.lastChild) === null || c === void 0 ? void 0 : c.name) != "CloseTag" && (i = z(s.doc, $.parent, l))) {
280
+ let g = l + (s.doc.sliceString(l, l + 1) === ">" ? 1 : 0), q = `</${i}>`;
281
+ return { range: n, changes: { from: l, to: g, insert: q } };
282
+ }
283
+ } else if (d && O == "/" && S.name == "StartCloseTag") {
284
+ let $ = S.parent;
285
+ if (S.from == l - 2 && ((u = $.lastChild) === null || u === void 0 ? void 0 : u.name) != "CloseTag" && (i = z(s.doc, $, l))) {
286
+ let g = l + (s.doc.sliceString(l, l + 1) === ">" ? 1 : 0), q = `${i}>`;
287
+ return {
288
+ range: Z.cursor(l + q.length, -1),
289
+ changes: { from: l, to: g, insert: q }
290
+ };
291
+ }
292
+ }
293
+ return { range: n };
294
+ });
295
+ return f.changes.empty ? !1 : (e.dispatch([
296
+ a,
297
+ s.update(f, {
298
+ userEvent: "input.complete",
299
+ scrollIntoView: !0
300
+ })
301
+ ]), !0);
302
+ });
303
+ export {
304
+ fe as autoCloseTags,
305
+ pe as completeFromSchema,
306
+ qe as xml,
307
+ w as xmlLanguage
308
+ };
@@ -0,0 +1,71 @@
1
+ import { a as p, L as u, p as l, r as n, b, v as m, s as S, t, l as r } from "./index-CjOyhVA4.js";
2
+ const c = /* @__PURE__ */ b.deserialize({
3
+ version: 14,
4
+ states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
5
+ stateData: "$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",
6
+ goto: "!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",
7
+ nodeNames: "⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",
8
+ maxTerm: 36,
9
+ nodeProps: [
10
+ ["isolate", -3, 3, 13, 17, ""]
11
+ ],
12
+ skippedNodes: [0],
13
+ repeatNodeCount: 4,
14
+ tokenData: "'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",
15
+ tokenizers: [6, 7, /* @__PURE__ */ new r("b~RP#q#rU~XP#q#r[~aOT~~", 17, 4), /* @__PURE__ */ new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~", 72, 2), /* @__PURE__ */ new r("[~RPwxU~ZOp~~", 11, 15), /* @__PURE__ */ new r("[~RPrsU~ZOn~~", 11, 14), /* @__PURE__ */ new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~", 66, 35), /* @__PURE__ */ new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~", 66, 33)],
16
+ topRules: { Content: [0, 1], Attribute: [1, 7] },
17
+ tokenPrec: 157
18
+ }), P = /* @__PURE__ */ m.parser.configure({
19
+ top: "SingleExpression"
20
+ }), s = /* @__PURE__ */ c.configure({
21
+ props: [
22
+ /* @__PURE__ */ S({
23
+ Text: t.content,
24
+ Is: t.definitionOperator,
25
+ AttributeName: t.attributeName,
26
+ VueAttributeName: t.keyword,
27
+ Identifier: t.variableName,
28
+ "AttributeValue ScriptAttributeValue": t.attributeValue,
29
+ Entity: t.character,
30
+ "{{ }}": t.brace,
31
+ "@ :": t.punctuation
32
+ })
33
+ ]
34
+ }), o = { parser: P }, Q = /* @__PURE__ */ s.configure({
35
+ wrap: /* @__PURE__ */ n((O, e) => O.name == "InterpolationContent" ? o : null)
36
+ }), g = /* @__PURE__ */ s.configure({
37
+ wrap: /* @__PURE__ */ n((O, e) => O.name == "AttributeScript" ? o : null),
38
+ top: "Attribute"
39
+ }), y = { parser: Q }, R = { parser: g }, a = /* @__PURE__ */ l();
40
+ function i(O) {
41
+ return O.configure({
42
+ dialect: "selfClosing",
43
+ wrap: n(X)
44
+ }, "vue");
45
+ }
46
+ const T = /* @__PURE__ */ i(a.language);
47
+ function X(O, e) {
48
+ switch (O.name) {
49
+ case "Attribute":
50
+ return /^(@|:|v-)/.test(e.read(O.from, O.from + 2)) ? R : null;
51
+ case "Text":
52
+ return y;
53
+ }
54
+ return null;
55
+ }
56
+ function f(O = {}) {
57
+ let e = a;
58
+ if (O.base) {
59
+ if (O.base.language.name != "html" || !(O.base.language instanceof p))
60
+ throw new RangeError("The base option must be the result of calling html(...)");
61
+ e = O.base;
62
+ }
63
+ return new u(e.language == a.language ? T : i(e.language), [
64
+ e.support,
65
+ e.language.data.of({ closeBrackets: { brackets: ["{", '"'] } })
66
+ ]);
67
+ }
68
+ export {
69
+ f as vue,
70
+ T as vueLanguage
71
+ };