@vc-shell/framework 1.1.22 → 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 +12 -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/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/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--F0eI_oT.js +0 -75
- package/dist/index--KQZx7Nr.js +0 -341
- package/dist/index-BAngL0ix.js +0 -299
- package/dist/index-BQtOyLub.js +0 -58
- package/dist/index-Bf4s6An9.js +0 -308
- package/dist/index-BxrA7EzT.js +0 -288
- package/dist/index-C-y5H4_R.js +0 -147509
- package/dist/index-C_zSZ2pX.js +0 -611
- package/dist/index-DFdFt54f.js +0 -71
- package/dist/index-DI3UVoln.js +0 -93
- package/dist/index-DL0-yUXC.js +0 -538
- package/dist/index-DoHQrH4a.js +0 -98
- package/dist/index-DqDgL4W3.js +0 -156
- package/dist/index-DwjKpYAo.js +0 -137
- package/dist/index-d16x5dY_.js +0 -268
- package/dist/index-wjw1DwqR.js +0 -134
- package/dist/index-xCbUzsUb.js +0 -249
- 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-Bf4s6An9.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-C-y5H4_R.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'bOp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|
|
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&lP;=`<%l&T`&tS!O`Ov&ox;'S&o;'S;=`'Q<%lO&o`'TP;=`<%l&oa'ZP;=`<%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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-BxrA7EzT.js
DELETED
|
@@ -1,288 +0,0 @@
|
|
|
1
|
-
import { b as s, E as R, l as Y, s as x, C as w, t as O, a as d, m as X, L as k, d as h, e as f, i as u, f as y, c as l, h as g, j, k as U, g as G, N as b, I as Z } from "./index-C-y5H4_R.js";
|
|
2
|
-
const _ = 177, q = 179, E = 184, v = 12, C = 13, D = 17, z = 20, F = 25, B = 53, N = 95, I = 142, L = 144, A = 145, J = 148, M = 10, H = 13, K = 32, OO = 9, $ = 47, QO = 41, eO = 125, aO = new R((Q, e) => {
|
|
3
|
-
for (let n = 0, a = Q.next; (e.context && (a < 0 || a == M || a == H || a == $ && Q.peek(n + 1) == $) || a == QO || a == eO) && Q.acceptToken(_), !(a != K && a != OO); )
|
|
4
|
-
a = Q.peek(++n);
|
|
5
|
-
}, { contextual: !0 });
|
|
6
|
-
let tO = /* @__PURE__ */ new Set([
|
|
7
|
-
N,
|
|
8
|
-
E,
|
|
9
|
-
z,
|
|
10
|
-
v,
|
|
11
|
-
D,
|
|
12
|
-
L,
|
|
13
|
-
A,
|
|
14
|
-
I,
|
|
15
|
-
J,
|
|
16
|
-
C,
|
|
17
|
-
B,
|
|
18
|
-
F
|
|
19
|
-
]);
|
|
20
|
-
const iO = new w({
|
|
21
|
-
start: !1,
|
|
22
|
-
shift: (Q, e) => e == q ? Q : tO.has(e)
|
|
23
|
-
}), XO = x({
|
|
24
|
-
"func interface struct chan map const type var": O.definitionKeyword,
|
|
25
|
-
"import package": O.moduleKeyword,
|
|
26
|
-
"switch for go select return break continue goto fallthrough case if else defer": O.controlKeyword,
|
|
27
|
-
range: O.keyword,
|
|
28
|
-
Bool: O.bool,
|
|
29
|
-
String: O.string,
|
|
30
|
-
Rune: O.character,
|
|
31
|
-
Number: O.number,
|
|
32
|
-
Nil: O.null,
|
|
33
|
-
VariableName: O.variableName,
|
|
34
|
-
DefName: O.definition(O.variableName),
|
|
35
|
-
TypeName: O.typeName,
|
|
36
|
-
LabelName: O.labelName,
|
|
37
|
-
FieldName: O.propertyName,
|
|
38
|
-
"FunctionDecl/DefName": O.function(O.definition(O.variableName)),
|
|
39
|
-
"TypeSpec/DefName": O.definition(O.typeName),
|
|
40
|
-
"CallExpr/VariableName": O.function(O.variableName),
|
|
41
|
-
LineComment: O.lineComment,
|
|
42
|
-
BlockComment: O.blockComment,
|
|
43
|
-
LogicOp: O.logicOperator,
|
|
44
|
-
ArithOp: O.arithmeticOperator,
|
|
45
|
-
BitOp: O.bitwiseOperator,
|
|
46
|
-
"DerefOp .": O.derefOperator,
|
|
47
|
-
"UpdateOp IncDecOp": O.updateOperator,
|
|
48
|
-
CompareOp: O.compareOperator,
|
|
49
|
-
"= :=": O.definitionOperator,
|
|
50
|
-
"<-": O.operator,
|
|
51
|
-
'~ "*"': O.modifier,
|
|
52
|
-
"; ,": O.separator,
|
|
53
|
-
"... :": O.punctuation,
|
|
54
|
-
"( )": O.paren,
|
|
55
|
-
"[ ]": O.squareBracket,
|
|
56
|
-
"{ }": O.brace
|
|
57
|
-
}), nO = { __proto__: null, package: 10, import: 18, true: 380, false: 380, nil: 383, struct: 48, func: 68, interface: 78, chan: 94, map: 118, make: 157, new: 159, const: 204, type: 212, var: 224, if: 236, else: 238, switch: 242, case: 248, default: 250, for: 260, range: 266, go: 270, select: 274, return: 284, break: 288, continue: 290, goto: 292, fallthrough: 296, defer: 300 }, PO = s.deserialize({
|
|
58
|
-
version: 14,
|
|
59
|
-
states: "!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuO<uQQO'#ExO<|QQO'#FRO4cQQO'#FWO=WQQO'#FYO=]QRO'#F_O=jQRO'#FaO=uQQO'#FaOOQP'#Fe'#FeO4cQQO'#FgP=zOWO'#C^POOO)CAz)CAzOOQO'#G]'#G]OOQO,5<W,5<WOOQO-E9j-E9jO?TQTO'#CqOOQO'#C|'#C|OOQP,59g,59gO?tQQO'#D_O@fQSO'#FuO@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qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",
|
|
62
|
-
nodeNames: "⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",
|
|
63
|
-
maxTerm: 218,
|
|
64
|
-
context: iO,
|
|
65
|
-
nodeProps: [
|
|
66
|
-
["isolate", -3, 2, 12, 20, ""],
|
|
67
|
-
["group", -18, 12, 17, 18, 19, 20, 21, 22, 66, 67, 69, 70, 71, 72, 73, 74, 77, 81, 86, "Expr", -20, 16, 68, 93, 94, 96, 99, 101, 105, 111, 115, 117, 120, 126, 129, 134, 136, 141, 143, 147, 149, "Statement", -12, 23, 31, 33,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o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",
|
|
75
|
-
tokenizers: [aO, 1, 2, new Y("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~", 25, 181)],
|
|
76
|
-
topRules: { SourceFile: [0, 3] },
|
|
77
|
-
dynamicPrecedences: { 19: 1, 51: -1, 55: 2, 69: -1, 108: -1 },
|
|
78
|
-
specialized: [{ term: 184, get: (Q) => nO[Q] || -1 }],
|
|
79
|
-
tokenPrec: 5451
|
|
80
|
-
}), oO = [
|
|
81
|
-
/* @__PURE__ */ X("func ${name}(${params}) ${type} {\n ${}\n}", {
|
|
82
|
-
label: "func",
|
|
83
|
-
detail: "declaration",
|
|
84
|
-
type: "keyword"
|
|
85
|
-
}),
|
|
86
|
-
/* @__PURE__ */ X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}", {
|
|
87
|
-
label: "func",
|
|
88
|
-
detail: "method declaration",
|
|
89
|
-
type: "keyword"
|
|
90
|
-
}),
|
|
91
|
-
/* @__PURE__ */ X("var ${name} = ${value}", {
|
|
92
|
-
label: "var",
|
|
93
|
-
detail: "declaration",
|
|
94
|
-
type: "keyword"
|
|
95
|
-
}),
|
|
96
|
-
/* @__PURE__ */ X("type ${name} ${type}", {
|
|
97
|
-
label: "type",
|
|
98
|
-
detail: "declaration",
|
|
99
|
-
type: "keyword"
|
|
100
|
-
}),
|
|
101
|
-
/* @__PURE__ */ X("const ${name} = ${value}", {
|
|
102
|
-
label: "const",
|
|
103
|
-
detail: "declaration",
|
|
104
|
-
type: "keyword"
|
|
105
|
-
}),
|
|
106
|
-
/* @__PURE__ */ X("type ${name} = ${type}", {
|
|
107
|
-
label: "type",
|
|
108
|
-
detail: "alias declaration",
|
|
109
|
-
type: "keyword"
|
|
110
|
-
}),
|
|
111
|
-
/* @__PURE__ */ X("for ${init}; ${test}; ${update} {\n ${}\n}", {
|
|
112
|
-
label: "for",
|
|
113
|
-
detail: "loop",
|
|
114
|
-
type: "keyword"
|
|
115
|
-
}),
|
|
116
|
-
/* @__PURE__ */ X("for ${i} := range ${value} {\n ${}\n}", {
|
|
117
|
-
label: "for",
|
|
118
|
-
detail: "range",
|
|
119
|
-
type: "keyword"
|
|
120
|
-
}),
|
|
121
|
-
/* @__PURE__ */ X(`select {
|
|
122
|
-
\${}
|
|
123
|
-
}`, {
|
|
124
|
-
label: "select",
|
|
125
|
-
detail: "statement",
|
|
126
|
-
type: "keyword"
|
|
127
|
-
}),
|
|
128
|
-
/* @__PURE__ */ X("case ${}:\n${}", {
|
|
129
|
-
label: "case",
|
|
130
|
-
type: "keyword"
|
|
131
|
-
}),
|
|
132
|
-
/* @__PURE__ */ X("switch ${} {\n ${}\n}", {
|
|
133
|
-
label: "switch",
|
|
134
|
-
detail: "statement",
|
|
135
|
-
type: "keyword"
|
|
136
|
-
}),
|
|
137
|
-
/* @__PURE__ */ X("switch ${}.(${type}) {\n ${}\n}", {
|
|
138
|
-
label: "switch",
|
|
139
|
-
detail: "type statement",
|
|
140
|
-
type: "keyword"
|
|
141
|
-
}),
|
|
142
|
-
/* @__PURE__ */ X("if ${} {\n ${}\n}", {
|
|
143
|
-
label: "if",
|
|
144
|
-
detail: "block",
|
|
145
|
-
type: "keyword"
|
|
146
|
-
}),
|
|
147
|
-
/* @__PURE__ */ X(`if \${} {
|
|
148
|
-
\${}
|
|
149
|
-
} else {
|
|
150
|
-
\${}
|
|
151
|
-
}`, {
|
|
152
|
-
label: "if",
|
|
153
|
-
detail: "/ else block",
|
|
154
|
-
type: "keyword"
|
|
155
|
-
}),
|
|
156
|
-
/* @__PURE__ */ X('import ${name} "${module}"\n${}', {
|
|
157
|
-
label: "import",
|
|
158
|
-
detail: "declaration",
|
|
159
|
-
type: "keyword"
|
|
160
|
-
})
|
|
161
|
-
], S = /* @__PURE__ */ new b(), T = /* @__PURE__ */ new Set([
|
|
162
|
-
"SourceFile",
|
|
163
|
-
"Block",
|
|
164
|
-
"FunctionDecl",
|
|
165
|
-
"MethodDecl",
|
|
166
|
-
"FunctionLiteral",
|
|
167
|
-
"ForStatement",
|
|
168
|
-
"SwitchStatement",
|
|
169
|
-
"TypeSwitchStatement",
|
|
170
|
-
"IfStatement"
|
|
171
|
-
]);
|
|
172
|
-
function o(Q, e) {
|
|
173
|
-
return (n, a) => {
|
|
174
|
-
O: for (let t = n.node.firstChild, c = 0, i = null; ; ) {
|
|
175
|
-
for (; !t; ) {
|
|
176
|
-
if (!c)
|
|
177
|
-
break O;
|
|
178
|
-
c--, t = i.nextSibling, i = i.parent;
|
|
179
|
-
}
|
|
180
|
-
e && t.name == e || t.name == "SpecList" ? (c++, i = t, t = t.firstChild) : (t.name == "DefName" && a(t, Q), t = t.nextSibling);
|
|
181
|
-
}
|
|
182
|
-
return !0;
|
|
183
|
-
};
|
|
184
|
-
}
|
|
185
|
-
const cO = {
|
|
186
|
-
FunctionDecl: /* @__PURE__ */ o("function"),
|
|
187
|
-
VarDecl: /* @__PURE__ */ o("var", "VarSpec"),
|
|
188
|
-
ConstDecl: /* @__PURE__ */ o("constant", "ConstSpec"),
|
|
189
|
-
TypeDecl: /* @__PURE__ */ o("type", "TypeSpec"),
|
|
190
|
-
ImportDecl: /* @__PURE__ */ o("constant", "ImportSpec"),
|
|
191
|
-
Parameter: /* @__PURE__ */ o("var"),
|
|
192
|
-
__proto__: null
|
|
193
|
-
};
|
|
194
|
-
function W(Q, e) {
|
|
195
|
-
let n = S.get(e);
|
|
196
|
-
if (n)
|
|
197
|
-
return n;
|
|
198
|
-
let a = [], t = !0;
|
|
199
|
-
function c(i, P) {
|
|
200
|
-
let V = Q.sliceString(i.from, i.to);
|
|
201
|
-
a.push({ label: V, type: P });
|
|
202
|
-
}
|
|
203
|
-
return e.cursor(Z.IncludeAnonymous).iterate((i) => {
|
|
204
|
-
if (t)
|
|
205
|
-
t = !1;
|
|
206
|
-
else if (i.name) {
|
|
207
|
-
let P = cO[i.name];
|
|
208
|
-
if (P && P(i, c) || T.has(i.name))
|
|
209
|
-
return !1;
|
|
210
|
-
} else if (i.to - i.from > 8192) {
|
|
211
|
-
for (let P of W(Q, i.node))
|
|
212
|
-
a.push(P);
|
|
213
|
-
return !1;
|
|
214
|
-
}
|
|
215
|
-
}), S.set(e, a), a;
|
|
216
|
-
}
|
|
217
|
-
const p = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/, m = [
|
|
218
|
-
"String",
|
|
219
|
-
"LineComment",
|
|
220
|
-
"BlockComment",
|
|
221
|
-
"DefName",
|
|
222
|
-
"LabelName",
|
|
223
|
-
"FieldName",
|
|
224
|
-
".",
|
|
225
|
-
"?."
|
|
226
|
-
], rO = (Q) => {
|
|
227
|
-
let e = G(Q.state).resolveInner(Q.pos, -1);
|
|
228
|
-
if (m.indexOf(e.name) > -1)
|
|
229
|
-
return null;
|
|
230
|
-
let n = e.name == "VariableName" || e.to - e.from < 20 && p.test(Q.state.sliceDoc(e.from, e.to));
|
|
231
|
-
if (!n && !Q.explicit)
|
|
232
|
-
return null;
|
|
233
|
-
let a = [];
|
|
234
|
-
for (let t = e; t; t = t.parent)
|
|
235
|
-
T.has(t.name) && (a = a.concat(W(Q.state.doc, t)));
|
|
236
|
-
return {
|
|
237
|
-
options: a,
|
|
238
|
-
from: n ? e.from : Q.pos,
|
|
239
|
-
validFor: p
|
|
240
|
-
};
|
|
241
|
-
}, r = /* @__PURE__ */ d.define({
|
|
242
|
-
name: "go",
|
|
243
|
-
parser: /* @__PURE__ */ PO.configure({
|
|
244
|
-
props: [
|
|
245
|
-
/* @__PURE__ */ u.add({
|
|
246
|
-
IfStatement: /* @__PURE__ */ l({ except: /^\s*({|else\b)/ }),
|
|
247
|
-
LabeledStatement: j,
|
|
248
|
-
"SwitchBlock SelectBlock": (Q) => {
|
|
249
|
-
let e = Q.textAfter, n = /^\s*\}/.test(e), a = /^\s*(case|default)\b/.test(e);
|
|
250
|
-
return Q.baseIndent + (n || a ? 0 : Q.unit);
|
|
251
|
-
},
|
|
252
|
-
Block: /* @__PURE__ */ g({ closing: "}" }),
|
|
253
|
-
BlockComment: () => null,
|
|
254
|
-
Statement: /* @__PURE__ */ l({ except: /^{/ })
|
|
255
|
-
}),
|
|
256
|
-
/* @__PURE__ */ y.add({
|
|
257
|
-
"Block SwitchBlock SelectBlock LiteralValue InterfaceType StructType SpecList": U,
|
|
258
|
-
BlockComment(Q) {
|
|
259
|
-
return { from: Q.from + 2, to: Q.to - 2 };
|
|
260
|
-
}
|
|
261
|
-
})
|
|
262
|
-
]
|
|
263
|
-
}),
|
|
264
|
-
languageData: {
|
|
265
|
-
closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
|
|
266
|
-
commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
|
|
267
|
-
indentOnInput: /^\s*(?:case\b|default\b|\})$/
|
|
268
|
-
}
|
|
269
|
-
});
|
|
270
|
-
let lO = (Q) => ({ label: Q, type: "keyword" });
|
|
271
|
-
const $O = /* @__PURE__ */ "interface struct chan map package go return break continue goto fallthrough else defer range true false nil".split(" ").map(lO);
|
|
272
|
-
function pO() {
|
|
273
|
-
let Q = oO.concat($O);
|
|
274
|
-
return new k(r, [
|
|
275
|
-
r.data.of({
|
|
276
|
-
autocomplete: h(m, f(Q))
|
|
277
|
-
}),
|
|
278
|
-
r.data.of({
|
|
279
|
-
autocomplete: rO
|
|
280
|
-
})
|
|
281
|
-
]);
|
|
282
|
-
}
|
|
283
|
-
export {
|
|
284
|
-
pO as go,
|
|
285
|
-
r as goLanguage,
|
|
286
|
-
rO as localCompletionSource,
|
|
287
|
-
oO as snippets
|
|
288
|
-
};
|