@vc-shell/framework 1.1.17 → 1.1.18

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 (168) hide show
  1. package/CHANGELOG.md +4 -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--i2CrsJJ.js +71 -0
  39. package/dist/index-B-_pypoR.js +137 -0
  40. package/dist/index-B4Q9DkTB.js +75 -0
  41. package/dist/index-BWvofd8L.js +156 -0
  42. package/dist/index-BX4mc81I.js +308 -0
  43. package/dist/index-C8U4bk1-.js +98 -0
  44. package/dist/index-C8jsLNj0.js +249 -0
  45. package/dist/index-CP3k1nfq.js +611 -0
  46. package/dist/index-CyGdldvT.js +268 -0
  47. package/dist/index-DC8hKkuO.js +93 -0
  48. package/dist/index-DTFCTb6P.js +538 -0
  49. package/dist/index-DdjamMzX.js +147459 -0
  50. package/dist/index-cZv5B-OC.js +341 -0
  51. package/dist/index-sdqR8ULO.js +134 -0
  52. package/dist/index-wl6u-5rt.js +288 -0
  53. package/dist/index-wsEOQiHr.js +299 -0
  54. package/dist/index-x3QIr8mC.js +58 -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 +1 -1
  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/organisms/vc-app/_internal/vc-app-menu/_internal/vc-app-menu-item/vc-app-menu-item.vue.d.ts +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.map +1 -1
  141. 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
  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-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.map +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-circle-button.vue.d.ts +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.map +1 -1
  146. package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
  147. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
  148. package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
  149. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
  150. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
  151. package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
  152. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
  153. package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
  154. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
  155. package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
  156. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
  157. package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
  158. package/dist/vb-c2kQGd6-.js +74 -0
  159. package/dist/vbscript-1f_Dhg5H.js +324 -0
  160. package/dist/velocity-DJd0pTTC.js +96 -0
  161. package/dist/verilog-CiS1jyi5.js +262 -0
  162. package/dist/vhdl-T9HkrbI2.js +106 -0
  163. package/dist/webidl-CjfDENEo.js +155 -0
  164. package/dist/xquery-BUQdORAS.js +422 -0
  165. package/dist/yacas-C0absKBh.js +73 -0
  166. package/dist/z80-Pki2zAjW.js +61 -0
  167. package/package.json +4 -4
  168. package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +1 -1
@@ -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-DdjamMzX.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'bOpO1G.qO'bOpO1G.qO(hO#tO'#Cn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seTag 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'};'S;=`(c<%lO'}W(fP;=`<%l'}X(lP;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;'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,98 @@
1
+ import { a as g, L as P, p as q, r as l, b as c, v as i, s as R, t as r, E as p } from "./index-DdjamMzX.js";
2
+ const b = 1, $ = 33, m = 34, v = 35, x = 36, W = /* @__PURE__ */ new p((O) => {
3
+ let e = O.pos;
4
+ for (; ; ) {
5
+ if (O.next == 10) {
6
+ O.advance();
7
+ break;
8
+ } else if (O.next == 123 && O.peek(1) == 123 || O.next < 0)
9
+ break;
10
+ O.advance();
11
+ }
12
+ O.pos > e && O.acceptToken(b);
13
+ });
14
+ function n(O, e, a) {
15
+ return new p((t) => {
16
+ let u = t.pos;
17
+ for (; t.next != O && t.next >= 0 && (a || t.next != 38 && (t.next != 123 || t.peek(1) != 123)); )
18
+ t.advance();
19
+ t.pos > u && t.acceptToken(e);
20
+ });
21
+ }
22
+ const d = /* @__PURE__ */ n(39, $, !1), C = /* @__PURE__ */ n(34, m, !1), T = /* @__PURE__ */ n(39, v, !0), f = /* @__PURE__ */ n(34, x, !0), A = /* @__PURE__ */ c.deserialize({
23
+ version: 14,
24
+ states: "(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<<GrOOQO<<Gr<<GrOOQO1G/[1G/[OOOS-E6x-E6xOOQO1G.}1G.}OOOQ-E6y-E6yOOQOAN=^AN=^",
25
+ stateData: "&d~OvOS~OPROSQOVROWRO~OZTO[XO^VOaUOhWO~OR]OU^O~O[`O^aO~O[bO~O[cO~O[dO~ObeO~ObfO~ObgO~ORhO~O]kOwiO~O[lO~O_mO~OynOzoO~OysOztO~O[uO~O]wOwiO~O_yOwiO~OtzO~Os|O~OSQOV!OOW!OOr!OOy!QO~OSQOV!ROW!ROq!ROz!QO~O_!TOwiO~O]!UO~Oy!VO~Oz!VO~OSQOV!OOW!OOr!OOy!XO~OSQOV!ROW!ROq!ROz!XO~O]!ZO~O",
26
+ goto: "#dyPPPPPzPPPP!WPPPPP!WPP!Z!^!a!d!dP!g!j!m!p!v#Q#WPPPPPPPP#^SROSS!Os!PT!Rt!SRYPRqeR{nR}oRZPRqfR[PRqgQSOR_SQj`SvjxRxlQ!PsR!W!PQ!StR!Y!SQpeRrf",
27
+ nodeNames: "⚠ Text Content }} {{ Interpolation InterpolationContent Entity InvalidEntity Attribute BoundAttributeName [ Identifier ] ( ) ReferenceName # Is ExpressionAttributeValue AttributeInterpolation AttributeInterpolation EventName DirectiveName * StatementAttributeValue AttributeName AttributeValue",
28
+ maxTerm: 42,
29
+ nodeProps: [
30
+ ["openedBy", 3, "{{", 15, "("],
31
+ ["closedBy", 4, "}}", 14, ")"],
32
+ ["isolate", -4, 5, 19, 25, 27, ""]
33
+ ],
34
+ skippedNodes: [0],
35
+ repeatNodeCount: 4,
36
+ tokenData: "0r~RyO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l+vR-dTwPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR-zTUQbPO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.bTZPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR.xT]PUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/^VUQO#o#r#o#p/s#p#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#rR/zTSPUQO#q#r#q#r$W#r;'S#r;'S;=`$g<%lO#r~0^TO#q#r#q#r0m#r;'S#r;'S;=`$g<%lO#r~0rOR~",
37
+ tokenizers: [W, d, C, T, f, 0, 1],
38
+ topRules: { Content: [0, 2], Attribute: [1, 9] },
39
+ tokenPrec: 0
40
+ }), V = /* @__PURE__ */ i.parser.configure({
41
+ top: "SingleExpression"
42
+ }), Q = /* @__PURE__ */ A.configure({
43
+ props: [
44
+ /* @__PURE__ */ R({
45
+ Text: r.content,
46
+ Is: r.definitionOperator,
47
+ AttributeName: r.attributeName,
48
+ "AttributeValue ExpressionAttributeValue StatementAttributeValue": r.attributeValue,
49
+ Entity: r.character,
50
+ InvalidEntity: r.invalid,
51
+ "BoundAttributeName/Identifier": r.attributeName,
52
+ "EventName/Identifier": /* @__PURE__ */ r.special(r.attributeName),
53
+ "ReferenceName/Identifier": r.variableName,
54
+ "DirectiveName/Identifier": r.keyword,
55
+ "{{ }}": r.brace,
56
+ "( )": r.paren,
57
+ "[ ]": r.bracket,
58
+ "# '*'": r.punctuation
59
+ })
60
+ ]
61
+ }), o = { parser: V }, w = { parser: i.parser }, U = /* @__PURE__ */ Q.configure({
62
+ wrap: /* @__PURE__ */ l((O, e) => O.name == "InterpolationContent" ? o : null)
63
+ }), y = /* @__PURE__ */ Q.configure({
64
+ wrap: /* @__PURE__ */ l((O, e) => {
65
+ var a;
66
+ return O.name == "InterpolationContent" ? o : O.name != "AttributeInterpolation" ? null : ((a = O.node.parent) === null || a === void 0 ? void 0 : a.name) == "StatementAttributeValue" ? w : o;
67
+ }),
68
+ top: "Attribute"
69
+ }), E = { parser: U }, N = { parser: y }, s = /* @__PURE__ */ q({ selfClosingTags: !0 });
70
+ function S(O) {
71
+ return O.configure({ wrap: l(z) }, "angular");
72
+ }
73
+ const k = /* @__PURE__ */ S(s.language);
74
+ function z(O, e) {
75
+ switch (O.name) {
76
+ case "Attribute":
77
+ return /^[*#(\[]|\{\{/.test(e.read(O.from, O.to)) ? N : null;
78
+ case "Text":
79
+ return E;
80
+ }
81
+ return null;
82
+ }
83
+ function G(O = {}) {
84
+ let e = s;
85
+ if (O.base) {
86
+ if (O.base.language.name != "html" || !(O.base.language instanceof g))
87
+ throw new RangeError("The base option must be the result of calling html(...)");
88
+ e = O.base;
89
+ }
90
+ return new P(e.language == s.language ? k : S(e.language), [e.support, e.language.data.of({
91
+ closeBrackets: { brackets: ["[", "{", '"'] },
92
+ indentOnInput: /^\s*[\}\]]$/
93
+ })]);
94
+ }
95
+ export {
96
+ G as angular,
97
+ k as angularLanguage
98
+ };