@vc-shell/framework 1.1.21 → 1.1.23
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 +21 -0
- package/core/composables/useAppInsights/index.ts +11 -1
- package/core/composables/useBladeRegistry/index.ts +176 -0
- package/core/composables/useDynamicProperties/index.ts +380 -255
- package/core/composables/useErrorHandler/index.ts +2 -3
- package/core/composables/useKeyboardNavigation/index.ts +52 -10
- package/core/composables/useLanguages/index.ts +78 -78
- package/core/plugins/modularity/index.ts +17 -6
- package/core/services/global-search-service/index.ts +36 -0
- package/dist/core/composables/useAppInsights/index.d.ts +5 -2
- package/dist/core/composables/useAppInsights/index.d.ts.map +1 -1
- package/dist/core/composables/useBladeRegistry/index.d.ts +48 -0
- package/dist/core/composables/useBladeRegistry/index.d.ts.map +1 -0
- package/dist/core/composables/useDynamicProperties/index.d.ts +12 -9
- package/dist/core/composables/useDynamicProperties/index.d.ts.map +1 -1
- package/dist/core/composables/useErrorHandler/index.d.ts.map +1 -1
- package/dist/core/composables/useKeyboardNavigation/index.d.ts.map +1 -1
- package/dist/core/plugins/modularity/index.d.ts.map +1 -1
- package/dist/core/services/global-search-service/index.d.ts +10 -0
- package/dist/core/services/global-search-service/index.d.ts.map +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts +7 -12
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/index.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.d.ts +15 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.d.ts +11 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.d.ts +15 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.d.ts +6 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.d.ts +28 -0
- package/dist/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.d.ts.map +1 -0
- package/dist/shared/components/blade-navigation/plugin.d.ts.map +1 -1
- package/dist/shared/components/blade-navigation/types/index.d.ts +5 -5
- package/dist/shared/components/blade-navigation/types/index.d.ts.map +1 -1
- package/dist/shared/components/notification-template/notification-template.vue.d.ts +2 -2
- package/dist/shared/components/notification-template/notification-template.vue.d.ts.map +1 -1
- package/dist/shared/components/notifications/components/notification-container/index.d.ts +6 -6
- package/dist/shared/components/notifications/components/notification-container/index.d.ts.map +1 -1
- package/dist/shared/modules/assets-manager/components/assets-manager/assets-manager.vue.d.ts +2 -2
- package/dist/shared/modules/dynamic/index.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-list.vue.d.ts +2 -2
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts +1 -1
- package/dist/shared/pages/InvitePage/components/invite/Invite.vue.d.ts.map +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts +1 -1
- package/dist/shared/pages/ResetPasswordPage/components/reset-password/ResetPassword.vue.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-badge/vc-badge.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-container/vc-container.vue.d.ts +2 -2
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-icon/vc-material-icon.vue.d.ts.map +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts +1 -1
- package/dist/ui/components/atoms/vc-progress/vc-progress.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-editor/vc-editor.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-file-upload/vc-file-upload.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts +2 -2
- package/dist/ui/components/molecules/vc-input/vc-input.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts +2 -0
- package/dist/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-pagination/vc-pagination.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts +1 -1
- package/dist/ui/components/molecules/vc-rating/vc-rating.vue.d.ts.map +1 -1
- 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
- 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
- package/dist/ui/components/organisms/vc-app/vc-app.vue.d.ts.map +1 -1
- 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
- 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
- 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
- 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
- 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
- package/dist/ui/components/organisms/vc-blade/vc-blade.backupsb.d.ts +3 -3
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-blade/vc-blade.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-item/vc-gallery-item.vue.d.ts +2 -2
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-gallery/vc-gallery.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-popup/vc-popup.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts +1 -1
- package/dist/ui/components/organisms/vc-table/_internal/vc-table-counter/vc-table-counter.vue.d.ts.map +1 -1
- package/package.json +4 -4
- package/shared/components/blade-navigation/composables/useBladeNavigation/index.ts +199 -597
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeActions.ts +151 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeRouteResolver.ts +243 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeState.ts +93 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/bladeWatchers.ts +90 -0
- package/shared/components/blade-navigation/composables/useBladeNavigation/internal/routerUtils.ts +150 -0
- package/shared/components/blade-navigation/plugin.ts +17 -12
- package/shared/components/blade-navigation/types/index.ts +2 -4
- package/shared/components/notification-template/notification-template.vue +2 -2
- package/shared/modules/dynamic/index.ts +2 -8
- package/ui/components/molecules/vc-input-dropdown/vc-input-dropdown.vue +4 -0
- package/ui/components/organisms/vc-app/vc-app.vue +11 -6
- package/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue +10 -1
- package/dist/apl-B2DGVGxc.js +0 -76
- package/dist/asciiarmor-2LVJmxlE.js +0 -34
- package/dist/asn1-jKiBa2Ya.js +0 -95
- package/dist/asterisk-DS281yxp.js +0 -271
- package/dist/brainfuck-C_p9pTT8.js +0 -34
- package/dist/clike-DGTaUp48.js +0 -620
- package/dist/clojure-CCKyeQKf.js +0 -800
- package/dist/cmake-CuaCgAKt.js +0 -28
- package/dist/cobol-BlTKFDRj.js +0 -72
- package/dist/coffeescript-BVCvwO8I.js +0 -179
- package/dist/commonlisp-D_kxz07b.js +0 -75
- package/dist/crystal-D309uH6_.js +0 -217
- package/dist/css-BkF-NPzE.js +0 -1553
- package/dist/cypher-BMq4Fwjl.js +0 -68
- package/dist/d-BZcgY6La.js +0 -127
- package/dist/diff-Cg9d_RX2.js +0 -18
- package/dist/dockerfile-DIy8NleC.js +0 -194
- package/dist/dtd-CtLokQ-U.js +0 -84
- package/dist/dylan-QYeExnWK.js +0 -234
- package/dist/ebnf-DUPDuY4r.js +0 -78
- package/dist/ecl-CiXN-g_D.js +0 -121
- package/dist/eiffel-yQhjl4T1.js +0 -110
- package/dist/elm-CNT9vbN0.js +0 -108
- package/dist/erlang-CFOYdy9e.js +0 -487
- package/dist/factor-DDOC7X6P.js +0 -65
- package/dist/fcl-CPC2WYrI.js +0 -103
- package/dist/forth-BmxRyE9S.js +0 -60
- package/dist/fortran-9bvPyrOW.js +0 -442
- package/dist/framework.js +0 -290
- package/dist/gas-cpmYfFX2.js +0 -183
- package/dist/gherkin-CJuwpceU.js +0 -34
- package/dist/groovy-DZeT_VM-.js +0 -146
- package/dist/haskell-Bvt3Qq1t.js +0 -375
- package/dist/haxe-70NVW1pR.js +0 -359
- package/dist/http-D9LttvKF.js +0 -44
- package/dist/idl-B6TRFYjl.js +0 -947
- package/dist/index-0xMdBsaq.js +0 -611
- package/dist/index-B6RKUVy8.js +0 -134
- package/dist/index-BXAxQnpt.js +0 -71
- package/dist/index-Ba3wq-Du.js +0 -147479
- package/dist/index-BgMVbUF5.js +0 -249
- package/dist/index-CE1KKIYQ.js +0 -268
- package/dist/index-CSMBCpee.js +0 -75
- package/dist/index-DCiQjA10.js +0 -58
- package/dist/index-DLIwas3l.js +0 -93
- package/dist/index-DwOkUUXE.js +0 -288
- package/dist/index-DwsB54rD.js +0 -308
- package/dist/index-Dyg1bSFn.js +0 -341
- package/dist/index-GpoS3tMh.js +0 -137
- package/dist/index-J_8wNmd3.js +0 -98
- package/dist/index-VLNTEhMQ.js +0 -156
- package/dist/index-WZKioztF.js +0 -299
- package/dist/index-_7O686wp.js +0 -538
- package/dist/index.css +0 -9
- package/dist/javascript-C2yteZeJ.js +0 -691
- package/dist/jinja2-DnB6dQmV.js +0 -154
- package/dist/julia-DpvXAuO6.js +0 -241
- package/dist/livescript-CanGTf8u.js +0 -272
- package/dist/lua-XplVlWi_.js +0 -217
- package/dist/mathematica-jaRHnSxC.js +0 -35
- package/dist/mbox-BctzC1hL.js +0 -76
- package/dist/mirc-CFBPAOaF.js +0 -72
- package/dist/mllike-BSnXJBGA.js +0 -272
- package/dist/modelica-vUgVs--1.js +0 -93
- package/dist/mscgen-Cpl0NYLN.js +0 -104
- package/dist/mumps-CQoS1kWX.js +0 -25
- package/dist/nginx-zDPm3Z74.js +0 -89
- package/dist/nsis-fePjrhq7.js +0 -62
- package/dist/ntriples-CsNjv2QF.js +0 -79
- package/dist/octave-C8PmmSRH.js +0 -143
- package/dist/oz-Ce8aN8oE.js +0 -151
- package/dist/pascal-De0D6mP7.js +0 -77
- package/dist/perl-B4bSCe1C.js +0 -915
- package/dist/pig-D24Z8EXi.js +0 -54
- package/dist/powershell-DkYVfTzP.js +0 -249
- package/dist/properties-Dn9wna3M.js +0 -26
- package/dist/protobuf-BPIjwpzm.js +0 -49
- package/dist/pug-CwAQJzGR.js +0 -248
- package/dist/puppet-nyd4dhjf.js +0 -45
- package/dist/python-BkR3uSy8.js +0 -313
- package/dist/q-DXjKs-tC.js +0 -83
- package/dist/r-LKEuhEGI.js +0 -104
- package/dist/rpm-IznJm2Xc.js +0 -57
- package/dist/ruby-CcYfvIk6.js +0 -228
- package/dist/sas-7E8yHoCW.js +0 -105
- package/dist/scheme-DjibxsNh.js +0 -124
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts +0 -110
- package/dist/shared/modules/dynamic/components/fields/storybook/pages/DynamicRender.d.ts.map +0 -1
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts +0 -147
- package/dist/shared/modules/dynamic/pages/dynamic-blade-form.vue.d.ts.map +0 -1
- package/dist/shell-C0C2sNA_.js +0 -182
- package/dist/sieve-Bwz7vjP5.js +0 -72
- package/dist/simple-mode-B0dvCdAA.js +0 -89
- package/dist/smalltalk-Bhddl2pB.js +0 -48
- package/dist/solr-BNlsLglM.js +0 -41
- package/dist/sparql-FarWu_Gb.js +0 -197
- package/dist/spreadsheet-C-cy4P5N.js +0 -49
- package/dist/sql-CfG5lQ3l.js +0 -282
- package/dist/stex-Du4h4KAU.js +0 -129
- package/dist/stylus-CAdqWld3.js +0 -250
- package/dist/swift-DSxqR9R6.js +0 -230
- package/dist/tcl-xfoLljhY.js +0 -81
- package/dist/textile-D1AWE-pc.js +0 -295
- package/dist/tiddlywiki-5wqsXtSk.js +0 -155
- package/dist/tiki-__Kn3CeS.js +0 -181
- package/dist/toml-BHiuTcfn.js +0 -49
- package/dist/troff-D2UO-fKf.js +0 -35
- package/dist/ttcn-Bsa4sfRm.js +0 -123
- package/dist/ttcn-cfg-Bac_acMi.js +0 -88
- package/dist/turtle-xwJUxoPV.js +0 -80
- package/dist/vb-c2kQGd6-.js +0 -74
- package/dist/vbscript-1f_Dhg5H.js +0 -324
- package/dist/velocity-DJd0pTTC.js +0 -96
- package/dist/verilog-CiS1jyi5.js +0 -262
- package/dist/vhdl-T9HkrbI2.js +0 -106
- package/dist/webidl-CjfDENEo.js +0 -155
- package/dist/xquery-BUQdORAS.js +0 -422
- package/dist/yacas-C0absKBh.js +0 -73
- package/dist/z80-Pki2zAjW.js +0 -61
package/dist/index-DwsB54rD.js
DELETED
|
@@ -1,308 +0,0 @@
|
|
|
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-Ba3wq-Du.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.u1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UqrU![u!U!bR!b!TQ!r!gR!x!rQ!u!hR!z!uQbRRxbQfTR|fQiUR!OiSXOYTaRb",
|
|
81
|
-
nodeNames: "⚠ 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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(o#c#dMd#d;'S(o;'S;=`)]<%lO(oiMkX|W!O`Or(ors&osv(owx'}x#V(o#V#WNW#W;'S(o;'S;=`)]<%lO(oiN_X|W!O`Or(ors&osv(owx'}x#h(o#h#iNz#i;'S(o;'S;=`)]<%lO(oi! RX|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
|
-
};
|
package/dist/index-Dyg1bSFn.js
DELETED
|
@@ -1,341 +0,0 @@
|
|
|
1
|
-
import { b as W, E as i, s as U, C as B, t as n, a as C, L as b, r as E, i as u, f as M, h as v, k as N } from "./index-Ba3wq-Du.js";
|
|
2
|
-
const c = 63, D = 64, j = 1, A = 2, y = 3, H = 4, Z = 5, F = 6, I = 7, z = 65, K = 66, J = 8, OO = 9, eO = 10, aO = 11, rO = 12, V = 13, tO = 19, nO = 20, oO = 29, PO = 33, QO = 34, sO = 47, lO = 0, T = 1, g = 2, d = 3, m = 4;
|
|
3
|
-
class s {
|
|
4
|
-
constructor(e, a, r) {
|
|
5
|
-
this.parent = e, this.depth = a, this.type = r, this.hash = (e ? e.hash + e.hash << 8 : 0) + a + (a << 4) + r;
|
|
6
|
-
}
|
|
7
|
-
}
|
|
8
|
-
s.top = new s(null, -1, lO);
|
|
9
|
-
function X(O, e) {
|
|
10
|
-
for (let a = 0, r = e - O.pos - 1; ; r--, a++) {
|
|
11
|
-
let o = O.peek(r);
|
|
12
|
-
if (P(o) || o == -1) return a;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
function x(O) {
|
|
16
|
-
return O == 32 || O == 9;
|
|
17
|
-
}
|
|
18
|
-
function P(O) {
|
|
19
|
-
return O == 10 || O == 13;
|
|
20
|
-
}
|
|
21
|
-
function _(O) {
|
|
22
|
-
return x(O) || P(O);
|
|
23
|
-
}
|
|
24
|
-
function l(O) {
|
|
25
|
-
return O < 0 || _(O);
|
|
26
|
-
}
|
|
27
|
-
const cO = new B({
|
|
28
|
-
start: s.top,
|
|
29
|
-
reduce(O, e) {
|
|
30
|
-
return O.type == d && (e == nO || e == QO) ? O.parent : O;
|
|
31
|
-
},
|
|
32
|
-
shift(O, e, a, r) {
|
|
33
|
-
if (e == y)
|
|
34
|
-
return new s(O, X(r, r.pos), T);
|
|
35
|
-
if (e == z || e == Z)
|
|
36
|
-
return new s(O, X(r, r.pos), g);
|
|
37
|
-
if (e == c)
|
|
38
|
-
return O.parent;
|
|
39
|
-
if (e == tO || e == PO)
|
|
40
|
-
return new s(O, 0, d);
|
|
41
|
-
if (e == V && O.type == m)
|
|
42
|
-
return O.parent;
|
|
43
|
-
if (e == sO) {
|
|
44
|
-
let o = /[1-9]/.exec(r.read(r.pos, a.pos));
|
|
45
|
-
if (o) return new s(O, O.depth + +o[0], m);
|
|
46
|
-
}
|
|
47
|
-
return O;
|
|
48
|
-
},
|
|
49
|
-
hash(O) {
|
|
50
|
-
return O.hash;
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
function f(O, e, a = 0) {
|
|
54
|
-
return O.peek(a) == e && O.peek(a + 1) == e && O.peek(a + 2) == e && l(O.peek(a + 3));
|
|
55
|
-
}
|
|
56
|
-
const fO = new i((O, e) => {
|
|
57
|
-
if (O.next == -1 && e.canShift(D))
|
|
58
|
-
return O.acceptToken(D);
|
|
59
|
-
let a = O.peek(-1);
|
|
60
|
-
if ((P(a) || a < 0) && e.context.type != d) {
|
|
61
|
-
if (f(
|
|
62
|
-
O,
|
|
63
|
-
45
|
|
64
|
-
/* '-' */
|
|
65
|
-
))
|
|
66
|
-
if (e.canShift(c)) O.acceptToken(c);
|
|
67
|
-
else return O.acceptToken(j, 3);
|
|
68
|
-
if (f(
|
|
69
|
-
O,
|
|
70
|
-
46
|
|
71
|
-
/* '.' */
|
|
72
|
-
))
|
|
73
|
-
if (e.canShift(c)) O.acceptToken(c);
|
|
74
|
-
else return O.acceptToken(A, 3);
|
|
75
|
-
let r = 0;
|
|
76
|
-
for (; O.next == 32; )
|
|
77
|
-
r++, O.advance();
|
|
78
|
-
(r < e.context.depth || r == e.context.depth && e.context.type == T && (O.next != 45 || !l(O.peek(1)))) && // Not blank
|
|
79
|
-
O.next != -1 && !P(O.next) && O.next != 35 && O.acceptToken(c, -r);
|
|
80
|
-
}
|
|
81
|
-
}, { contextual: !0 }), XO = new i((O, e) => {
|
|
82
|
-
if (e.context.type == d) {
|
|
83
|
-
O.next == 63 && (O.advance(), l(O.next) && O.acceptToken(I));
|
|
84
|
-
return;
|
|
85
|
-
}
|
|
86
|
-
if (O.next == 45)
|
|
87
|
-
O.advance(), l(O.next) && O.acceptToken(e.context.type == T && e.context.depth == X(O, O.pos - 1) ? H : y);
|
|
88
|
-
else if (O.next == 63)
|
|
89
|
-
O.advance(), l(O.next) && O.acceptToken(e.context.type == g && e.context.depth == X(O, O.pos - 1) ? F : Z);
|
|
90
|
-
else {
|
|
91
|
-
let a = O.pos;
|
|
92
|
-
for (; ; )
|
|
93
|
-
if (x(O.next)) {
|
|
94
|
-
if (O.pos == a) return;
|
|
95
|
-
O.advance();
|
|
96
|
-
} else if (O.next == 33)
|
|
97
|
-
G(O);
|
|
98
|
-
else if (O.next == 38)
|
|
99
|
-
$(O);
|
|
100
|
-
else if (O.next == 42) {
|
|
101
|
-
$(O);
|
|
102
|
-
break;
|
|
103
|
-
} else if (O.next == 39 || O.next == 34) {
|
|
104
|
-
if (p(O, !0)) break;
|
|
105
|
-
return;
|
|
106
|
-
} else if (O.next == 91 || O.next == 123) {
|
|
107
|
-
if (!RO(O)) return;
|
|
108
|
-
break;
|
|
109
|
-
} else {
|
|
110
|
-
w(O, !0, !1, 0);
|
|
111
|
-
break;
|
|
112
|
-
}
|
|
113
|
-
for (; x(O.next); ) O.advance();
|
|
114
|
-
if (O.next == 58) {
|
|
115
|
-
if (O.pos == a && e.canShift(oO)) return;
|
|
116
|
-
let r = O.peek(1);
|
|
117
|
-
l(r) && O.acceptTokenTo(e.context.type == g && e.context.depth == X(O, a) ? K : z, a);
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}, { contextual: !0 });
|
|
121
|
-
function dO(O) {
|
|
122
|
-
return O > 32 && O < 127 && O != 34 && O != 37 && O != 44 && O != 60 && O != 62 && O != 92 && O != 94 && O != 96 && O != 123 && O != 124 && O != 125;
|
|
123
|
-
}
|
|
124
|
-
function q(O) {
|
|
125
|
-
return O >= 48 && O <= 57 || O >= 97 && O <= 102 || O >= 65 && O <= 70;
|
|
126
|
-
}
|
|
127
|
-
function Y(O, e) {
|
|
128
|
-
return O.next == 37 ? (O.advance(), q(O.next) && O.advance(), q(O.next) && O.advance(), !0) : dO(O.next) || e && O.next == 44 ? (O.advance(), !0) : !1;
|
|
129
|
-
}
|
|
130
|
-
function G(O) {
|
|
131
|
-
if (O.advance(), O.next == 60) {
|
|
132
|
-
for (O.advance(); ; )
|
|
133
|
-
if (!Y(O, !0)) {
|
|
134
|
-
O.next == 62 && O.advance();
|
|
135
|
-
break;
|
|
136
|
-
}
|
|
137
|
-
} else
|
|
138
|
-
for (; Y(O, !1); )
|
|
139
|
-
;
|
|
140
|
-
}
|
|
141
|
-
function $(O) {
|
|
142
|
-
for (O.advance(); !l(O.next) && S(O.tag) != "f"; ) O.advance();
|
|
143
|
-
}
|
|
144
|
-
function p(O, e) {
|
|
145
|
-
let a = O.next, r = !1, o = O.pos;
|
|
146
|
-
for (O.advance(); ; ) {
|
|
147
|
-
let t = O.next;
|
|
148
|
-
if (t < 0) break;
|
|
149
|
-
if (O.advance(), t == a)
|
|
150
|
-
if (t == 39)
|
|
151
|
-
if (O.next == 39) O.advance();
|
|
152
|
-
else break;
|
|
153
|
-
else
|
|
154
|
-
break;
|
|
155
|
-
else if (t == 92 && a == 34)
|
|
156
|
-
O.next >= 0 && O.advance();
|
|
157
|
-
else if (P(t)) {
|
|
158
|
-
if (e) return !1;
|
|
159
|
-
r = !0;
|
|
160
|
-
} else if (e && O.pos >= o + 1024)
|
|
161
|
-
return !1;
|
|
162
|
-
}
|
|
163
|
-
return !r;
|
|
164
|
-
}
|
|
165
|
-
function RO(O) {
|
|
166
|
-
for (let e = [], a = O.pos + 1024; ; )
|
|
167
|
-
if (O.next == 91 || O.next == 123)
|
|
168
|
-
e.push(O.next), O.advance();
|
|
169
|
-
else if (O.next == 39 || O.next == 34) {
|
|
170
|
-
if (!p(O, !0)) return !1;
|
|
171
|
-
} else if (O.next == 93 || O.next == 125) {
|
|
172
|
-
if (e[e.length - 1] != O.next - 2) return !1;
|
|
173
|
-
if (e.pop(), O.advance(), !e.length) return !0;
|
|
174
|
-
} else {
|
|
175
|
-
if (O.next < 0 || O.pos > a || P(O.next))
|
|
176
|
-
return !1;
|
|
177
|
-
O.advance();
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
const SO = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";
|
|
181
|
-
function S(O) {
|
|
182
|
-
return O < 33 ? "u" : O > 125 ? "s" : SO[O - 33];
|
|
183
|
-
}
|
|
184
|
-
function k(O, e) {
|
|
185
|
-
let a = S(O);
|
|
186
|
-
return a != "u" && !(e && a == "f");
|
|
187
|
-
}
|
|
188
|
-
function w(O, e, a, r) {
|
|
189
|
-
if (S(O.next) == "s" || (O.next == 63 || O.next == 58 || O.next == 45) && k(O.peek(1), a))
|
|
190
|
-
O.advance();
|
|
191
|
-
else
|
|
192
|
-
return !1;
|
|
193
|
-
let o = O.pos;
|
|
194
|
-
for (; ; ) {
|
|
195
|
-
let t = O.next, Q = 0, R = r + 1;
|
|
196
|
-
for (; _(t); ) {
|
|
197
|
-
if (P(t)) {
|
|
198
|
-
if (e) return !1;
|
|
199
|
-
R = 0;
|
|
200
|
-
} else
|
|
201
|
-
R++;
|
|
202
|
-
t = O.peek(++Q);
|
|
203
|
-
}
|
|
204
|
-
if (!(t >= 0 && (t == 58 ? k(O.peek(Q + 1), a) : t == 35 ? O.peek(Q - 1) != 32 : k(t, a))) || !a && R <= r || R == 0 && !a && (f(O, 45, Q) || f(O, 46, Q)))
|
|
205
|
-
break;
|
|
206
|
-
if (e && S(t) == "f") return !1;
|
|
207
|
-
for (let h = Q; h >= 0; h--) O.advance();
|
|
208
|
-
if (e && O.pos > o + 1024) return !1;
|
|
209
|
-
}
|
|
210
|
-
return !0;
|
|
211
|
-
}
|
|
212
|
-
const iO = new i((O, e) => {
|
|
213
|
-
if (O.next == 33)
|
|
214
|
-
G(O), O.acceptToken(rO);
|
|
215
|
-
else if (O.next == 38 || O.next == 42) {
|
|
216
|
-
let a = O.next == 38 ? eO : aO;
|
|
217
|
-
$(O), O.acceptToken(a);
|
|
218
|
-
} else O.next == 39 || O.next == 34 ? (p(O, !1), O.acceptToken(OO)) : w(O, !1, e.context.type == d, e.context.depth) && O.acceptToken(J);
|
|
219
|
-
}), kO = new i((O, e) => {
|
|
220
|
-
let a = e.context.type == m ? e.context.depth : -1, r = O.pos;
|
|
221
|
-
O: for (; ; ) {
|
|
222
|
-
let o = 0, t = O.next;
|
|
223
|
-
for (; t == 32; ) t = O.peek(++o);
|
|
224
|
-
if (!o && (f(O, 45, o) || f(O, 46, o)) || !P(t) && (a < 0 && (a = Math.max(e.context.depth + 1, o)), o < a))
|
|
225
|
-
break;
|
|
226
|
-
for (; ; ) {
|
|
227
|
-
if (O.next < 0) break O;
|
|
228
|
-
let Q = P(O.next);
|
|
229
|
-
if (O.advance(), Q) continue O;
|
|
230
|
-
r = O.pos;
|
|
231
|
-
}
|
|
232
|
-
}
|
|
233
|
-
O.acceptTokenTo(V, r);
|
|
234
|
-
}), bO = U({
|
|
235
|
-
DirectiveName: n.keyword,
|
|
236
|
-
DirectiveContent: n.attributeValue,
|
|
237
|
-
"DirectiveEnd DocEnd": n.meta,
|
|
238
|
-
QuotedLiteral: n.string,
|
|
239
|
-
BlockLiteralHeader: n.special(n.string),
|
|
240
|
-
BlockLiteralContent: n.content,
|
|
241
|
-
Literal: n.content,
|
|
242
|
-
"Key/Literal Key/QuotedLiteral": n.definition(n.propertyName),
|
|
243
|
-
"Anchor Alias": n.labelName,
|
|
244
|
-
Tag: n.typeName,
|
|
245
|
-
Comment: n.lineComment,
|
|
246
|
-
": , -": n.separator,
|
|
247
|
-
"?": n.punctuation,
|
|
248
|
-
"[ ]": n.squareBracket,
|
|
249
|
-
"{ }": n.brace
|
|
250
|
-
}), gO = W.deserialize({
|
|
251
|
-
version: 14,
|
|
252
|
-
states: "5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQ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#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",
|
|
255
|
-
nodeNames: "⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",
|
|
256
|
-
maxTerm: 74,
|
|
257
|
-
context: cO,
|
|
258
|
-
nodeProps: [
|
|
259
|
-
["isolate", -3, 8, 9, 14, ""],
|
|
260
|
-
["openedBy", 18, "[", 32, "{"],
|
|
261
|
-
["closedBy", 19, "]", 33, "}"]
|
|
262
|
-
],
|
|
263
|
-
propSources: [bO],
|
|
264
|
-
skippedNodes: [0],
|
|
265
|
-
repeatNodeCount: 6,
|
|
266
|
-
tokenData: "-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O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!vOQOPOOO]OPO'#C_OhOPO'#C^OOOO'#Cc'#CcOpOPO'#CaQOOOOOO{OPOOOOOO'#Cb'#CbO!WOPO'#C`O!`OPO,58xOOOO-E6a-E6aOOOO-E6`-E6`OOOO'#C_'#C_OOOO1G.d1G.d",
|
|
273
|
-
stateData: "!h~OXPOYROWTP~OWVXXRXYRX~OYVOXSP~OXROYROWTX~OXROYROWTP~OYVOXSX~OX[O~OXY~",
|
|
274
|
-
goto: "vWPPX[beioRUOQQOR]XRXQTTOUQWQRZWSSOURYS",
|
|
275
|
-
nodeNames: "⚠ Document Frontmatter DashLine FrontmatterContent Body",
|
|
276
|
-
maxTerm: 10,
|
|
277
|
-
skippedNodes: [0],
|
|
278
|
-
repeatNodeCount: 2,
|
|
279
|
-
tokenData: "$z~RXOYnYZ!^Z]n]^!^^}n}!O!i!O;'Sn;'S;=`!c<%lOn~qXOYnYZ!^Z]n]^!^^;'Sn;'S;=`!c<%l~n~On~~!^~!cOY~~!fP;=`<%ln~!lZOYnYZ!^Z]n]^!^^}n}!O#_!O;'Sn;'S;=`!c<%l~n~On~~!^~#bZOYnYZ!^Z]n]^!^^}n}!O$T!O;'Sn;'S;=`!c<%l~n~On~~!^~$WXOYnYZ$sZ]n]^$s^;'Sn;'S;=`!c<%l~n~On~~$s~$zOX~Y~",
|
|
280
|
-
tokenizers: [0],
|
|
281
|
-
topRules: { Document: [0, 1] },
|
|
282
|
-
tokenPrec: 67
|
|
283
|
-
}), L = /* @__PURE__ */ C.define({
|
|
284
|
-
name: "yaml",
|
|
285
|
-
parser: /* @__PURE__ */ gO.configure({
|
|
286
|
-
props: [
|
|
287
|
-
/* @__PURE__ */ u.add({
|
|
288
|
-
Stream: (O) => {
|
|
289
|
-
for (let e = O.node.resolve(O.pos, -1); e && e.to >= O.pos; e = e.parent) {
|
|
290
|
-
if (e.name == "BlockLiteralContent" && e.from < e.to)
|
|
291
|
-
return O.baseIndentFor(e);
|
|
292
|
-
if (e.name == "BlockLiteral")
|
|
293
|
-
return O.baseIndentFor(e) + O.unit;
|
|
294
|
-
if (e.name == "BlockSequence" || e.name == "BlockMapping")
|
|
295
|
-
return O.column(e.from, 1);
|
|
296
|
-
if (e.name == "QuotedLiteral")
|
|
297
|
-
return null;
|
|
298
|
-
if (e.name == "Literal") {
|
|
299
|
-
let a = O.column(e.from, 1);
|
|
300
|
-
if (a == O.lineIndent(e.from, 1))
|
|
301
|
-
return a;
|
|
302
|
-
if (e.to > O.pos)
|
|
303
|
-
return null;
|
|
304
|
-
}
|
|
305
|
-
}
|
|
306
|
-
return null;
|
|
307
|
-
},
|
|
308
|
-
FlowMapping: /* @__PURE__ */ v({ closing: "}" }),
|
|
309
|
-
FlowSequence: /* @__PURE__ */ v({ closing: "]" })
|
|
310
|
-
}),
|
|
311
|
-
/* @__PURE__ */ M.add({
|
|
312
|
-
"FlowMapping FlowSequence": N,
|
|
313
|
-
"Item Pair BlockLiteral": (O, e) => ({ from: e.doc.lineAt(O.from).to, to: O.to })
|
|
314
|
-
})
|
|
315
|
-
]
|
|
316
|
-
}),
|
|
317
|
-
languageData: {
|
|
318
|
-
commentTokens: { line: "#" },
|
|
319
|
-
indentOnInput: /^\s*[\]\}]$/
|
|
320
|
-
}
|
|
321
|
-
});
|
|
322
|
-
function pO() {
|
|
323
|
-
return new b(L);
|
|
324
|
-
}
|
|
325
|
-
const xO = /* @__PURE__ */ C.define({
|
|
326
|
-
name: "yaml-frontmatter",
|
|
327
|
-
parser: /* @__PURE__ */ mO.configure({
|
|
328
|
-
props: [/* @__PURE__ */ U({ DashLine: n.meta })]
|
|
329
|
-
})
|
|
330
|
-
});
|
|
331
|
-
function hO(O) {
|
|
332
|
-
let { language: e, support: a } = O.content instanceof b ? O.content : { language: O.content, support: [] };
|
|
333
|
-
return new b(xO.configure({
|
|
334
|
-
wrap: E((r) => r.name == "FrontmatterContent" ? { parser: L.parser } : r.name == "Body" ? { parser: e.parser } : null)
|
|
335
|
-
}), a);
|
|
336
|
-
}
|
|
337
|
-
export {
|
|
338
|
-
pO as yaml,
|
|
339
|
-
hO as yamlFrontmatter,
|
|
340
|
-
L as yamlLanguage
|
|
341
|
-
};
|