@vtj/renderer 0.10.15 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import { Base as Ae, BUILT_IN_COMPONENTS as Ce, ProjectModel as T, HistoryModel as ce } from "@vtj/core";
2
- import { isUrl as Fe, url as b, dedupArray as Ie, isString as $, isFunction as J, logger as P, storage as N, cookie as U, toArray as se, unRSA as re, delay as le, createRequest as ue, jsonp as pe, merge as ke, pathToRegexp as Me, pathToRegexpMatch as Oe, formDataToJson as He, camelCase as E, upperFirst as Te, pick as De, request as q, loadScript as ne, Storage as xe, mapToObject as X } from "@vtj/utils";
1
+ import { Base as Ce, BUILT_IN_COMPONENTS as Fe, ProjectModel as H, HistoryModel as ce } from "@vtj/core";
2
+ import { isUrl as Ie, url as b, dedupArray as ke, isString as $, isFunction as J, logger as P, storage as N, cookie as U, toArray as se, unRSA as re, delay as le, createRequest as ue, jsonp as pe, merge as Me, pathToRegexp as Oe, pathToRegexpMatch as Te, formDataToJson as He, camelCase as E, upperFirst as De, pick as xe, request as q, loadScript as ne, Storage as Be, mapToObject as X } from "@vtj/utils";
3
3
  import * as x from "vue";
4
- import { inject as de, defineComponent as fe, h as z, ref as K, defineAsyncComponent as ie, watchEffect as Be } from "vue";
4
+ import { inject as de, defineComponent as fe, h as z, ref as K, defineAsyncComponent as ie, watchEffect as Ne } from "vue";
5
5
  import { useRoute as he } from "vue-router";
6
6
  /**!
7
7
  * Copyright (c) 2025, VTJ.PRO All rights reserved.
8
8
  * @name @vtj/renderer
9
9
  * @author CHC chenhuachun1549@dingtalk.com
10
- * @version 0.10.15
10
+ * @version 0.11.0
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const A = "0.10.15";
13
+ const A = "0.11.0";
14
14
  var y = /* @__PURE__ */ ((r) => (r.Runtime = "Runtime", r.Design = "Design", r.Raw = "Raw", r.VNode = "VNode", r))(y || {});
15
15
  const oe = [
16
16
  "$el",
@@ -24,7 +24,7 @@ const oe = [
24
24
  "$props",
25
25
  "$options",
26
26
  "$forceUpdate"
27
- ], Gt = [
27
+ ], Kt = [
28
28
  "beforeCreate",
29
29
  "created",
30
30
  "beforeMount",
@@ -38,14 +38,14 @@ const oe = [
38
38
  "renderTriggered",
39
39
  "activated",
40
40
  "deactivated"
41
- ], Ne = [
41
+ ], Ue = [
42
42
  "vIf",
43
43
  "vShow",
44
44
  "vModel",
45
45
  "vFor",
46
46
  "vBind",
47
47
  "vHtml"
48
- ], Ue = {
48
+ ], Le = {
49
49
  String,
50
50
  Number,
51
51
  Boolean,
@@ -53,11 +53,11 @@ const oe = [
53
53
  Object,
54
54
  Function,
55
55
  Date
56
- }, C = "VtjPage", H = "VtjHomepage", Le = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(
56
+ }, C = "VtjPage", T = "VtjHomepage", Je = "html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot".split(
57
57
  ","
58
- ), Je = "component,slot".split(",");
58
+ ), qe = "component,slot".split(",");
59
59
  function M(r, e) {
60
- return r.map((t) => Fe(t) || t.startsWith("/") ? t : `${e}${t}`);
60
+ return r.map((t) => Ie(t) || t.startsWith("/") ? t : `${e}${t}`);
61
61
  }
62
62
  function Y(r) {
63
63
  return /\.css$/.test(r);
@@ -65,28 +65,28 @@ function Y(r) {
65
65
  function Z(r) {
66
66
  return /\.js$/.test(r);
67
67
  }
68
- function qe(r) {
68
+ function ze(r) {
69
69
  return /\.json$/.test(r);
70
70
  }
71
- function Vt(r) {
71
+ function Gt(r) {
72
72
  return r.map(
73
73
  (e) => `<script src="${b.append(e, { v: A })}"><\/script>`
74
74
  ).join("");
75
75
  }
76
- function Wt(r = []) {
76
+ function Vt(r = []) {
77
77
  return r.map(
78
78
  (e) => `<link rel="stylesheet" href="${b.append(e, { v: A })}" />`
79
79
  ).join("");
80
80
  }
81
- function ze(r, e = !1) {
81
+ function Ke(r, e = !1) {
82
82
  return e && r.endsWith(".prod.js") ? r.replace(".prod.js", ".js") : r;
83
83
  }
84
- function Ke(r, e, t = !1) {
84
+ function Ge(r, e, t = !1) {
85
85
  const s = r.filter((m) => !!m.enabled), n = [], i = [], a = [], o = [], c = {}, l = {}, f = [], p = {};
86
86
  return s.forEach(
87
87
  ({ urls: m, assetsUrl: h, library: d, assetsLibrary: u, localeLibrary: w }) => {
88
88
  m?.forEach((g) => {
89
- Z(g) && n.push(ze(g, t)), Y(g) && i.push(g);
89
+ Z(g) && n.push(Ke(g, t)), Y(g) && i.push(g);
90
90
  }), d && (o.push(d), c[d] = M(m || [], e), w && (l[d] = w)), h && a.push(h), u && f.push(u), d && u && (p[u] = d);
91
91
  }
92
92
  ), {
@@ -94,13 +94,13 @@ function Ke(r, e, t = !1) {
94
94
  css: M(i, e),
95
95
  materials: M(a, e),
96
96
  libraryExports: o,
97
- materialExports: Ie(f),
97
+ materialExports: ke(f),
98
98
  materialMapLibrary: p,
99
99
  libraryMap: c,
100
100
  libraryLocaleMap: l
101
101
  };
102
102
  }
103
- function Ge(r, e) {
103
+ function Ve(r, e) {
104
104
  const { name: t, parent: s, alias: n } = r;
105
105
  return s ? e[s]?.[n || t] : e[n || t];
106
106
  }
@@ -122,11 +122,11 @@ function ge(r, e, t) {
122
122
  i ? i.innerHTML = t : (i = n.createElement("style"), i.id = e, i.innerHTML = t, n.head.appendChild(i));
123
123
  }
124
124
  }
125
- async function Ve(r, e) {
125
+ async function We(r, e) {
126
126
  const t = await window.fetch(e).then((s) => s.text()).catch(() => "");
127
127
  t && ge(window, r, t);
128
128
  }
129
- function We(r, e = window) {
129
+ function Qe(r, e = window) {
130
130
  const t = e.document, s = e.document.head;
131
131
  for (const n of r)
132
132
  if (!t.getElementById(n)) {
@@ -134,7 +134,7 @@ function We(r, e = window) {
134
134
  a.rel = "stylesheet", a.id = n, a.href = n, s.appendChild(a);
135
135
  }
136
136
  }
137
- async function Qe(r, e, t = window) {
137
+ async function Xe(r, e, t = window) {
138
138
  const s = t.document, n = t.document.head;
139
139
  let i = t[e];
140
140
  return i ? i.default || i : new Promise((a, o) => {
@@ -148,14 +148,14 @@ async function Qe(r, e, t = window) {
148
148
  }
149
149
  });
150
150
  }
151
- function Xe(r) {
152
- return J(r) || J(r?.install);
153
- }
154
151
  function Ye(r) {
155
- return Je.includes(r);
152
+ return J(r) || J(r?.install);
156
153
  }
157
154
  function Ze(r) {
158
- return Le.includes(r);
155
+ return qe.includes(r);
156
+ }
157
+ function et(r) {
158
+ return Je.includes(r);
159
159
  }
160
160
  function F(r = window) {
161
161
  const e = window?.Mock;
@@ -164,7 +164,7 @@ function F(r = window) {
164
164
  if (t && window)
165
165
  return window.Mock = t, t;
166
166
  }
167
- function Qt(r, e, t) {
167
+ function Wt(r, e, t) {
168
168
  Object.assign(e.meta, t.meta);
169
169
  const s = r?._container;
170
170
  t?.type === "page" && s.classList.add("is-page"), t?.pure && s.classList.add("is-pure");
@@ -200,13 +200,13 @@ function _(r) {
200
200
  function k(r) {
201
201
  return typeof r == "object" && r && r.type === "JSFunction";
202
202
  }
203
- function et(r) {
203
+ function tt(r) {
204
204
  return _(r) || k(r);
205
205
  }
206
- function Xt(r) {
207
- return et(r) ? r.value : JSON.stringify(r);
206
+ function Qt(r) {
207
+ return tt(r) ? r.value : JSON.stringify(r);
208
208
  }
209
- const tt = {
209
+ const st = {
210
210
  session: !1,
211
211
  authKey: "Authorization",
212
212
  storageKey: "ACCESS_STORAGE",
@@ -219,13 +219,13 @@ const tt = {
219
219
  noPermissionMessage: "无权限访问该页面",
220
220
  appName: ""
221
221
  }, ve = Symbol("access");
222
- class st {
222
+ class ye {
223
223
  options;
224
224
  data = null;
225
225
  mode = y.Raw;
226
226
  interceptResponse = !0;
227
227
  constructor(e) {
228
- this.options = Object.assign({}, tt, e), this.loadData();
228
+ this.options = Object.assign({}, st, e), this.loadData();
229
229
  }
230
230
  enableIntercept() {
231
231
  this.interceptResponse = !0;
@@ -291,7 +291,11 @@ class st {
291
291
  const { privateKey: t } = this.options;
292
292
  if (Array.isArray(e) && t) {
293
293
  const s = e.map((n) => re(n, t));
294
- this.data = JSON.parse(s.join(""));
294
+ try {
295
+ this.data = JSON.parse(s.join(""));
296
+ } catch (n) {
297
+ console.warn(n);
298
+ }
295
299
  return;
296
300
  }
297
301
  if (typeof e == "string")
@@ -371,15 +375,8 @@ class st {
371
375
  function rt() {
372
376
  return de(ve, null);
373
377
  }
374
- function Yt(r = {}) {
375
- const {
376
- notify: e,
377
- loading: t,
378
- settings: s = {},
379
- Startup: n,
380
- access: i,
381
- remote: a = "https://lcdp.vtj.pro"
382
- } = r;
378
+ function Xt(r = {}) {
379
+ const { notify: e, loading: t, settings: s = {}, Startup: n, access: i, useTitle: a } = r;
383
380
  let o = null;
384
381
  return {
385
382
  request: ue({
@@ -405,20 +402,20 @@ function Yt(r = {}) {
405
402
  jsonp: pe,
406
403
  notify: e,
407
404
  loading: t,
405
+ useTitle: a,
408
406
  startupComponent: n,
409
- remote: a,
410
- access: i ? nt(i) : void 0
407
+ access: i ? new ye(i) : void 0
411
408
  };
412
409
  }
413
- function nt(r = {}) {
410
+ function Yt(r = {}) {
414
411
  const e = {
415
412
  storageKey: "RRO_IDE_ACCESS_STORAGE__",
416
413
  auth: "https://lcdp.vtj.pro/auth.html",
417
414
  privateKey: "MIIBOgIBAAJBAKoIzmn1FYQ1YOhOBw9EhABxZ+PySAIaydI+zdhoKflrdgJ4A5E4/5gbQmRpk09hPWG8nvX7h+l/QLU8kXxAIBECAwEAAQJAAlgpxQY6sByLsXqzJcthC8LSGsLf2JEJkHwlnpwFqlEV8UCkoINpuZ2Wzl+aftURu5rIfAzRCQBvHmeOTW9/zQIhAO5ufWDmnSLyfAAsNo5JRNpVuLFCFodR8Xm+ulDlosR/AiEAtpAltyP9wmCABKG/v/hrtTr3mcvFNGCjoGa9bUAok28CIHbrVs9w1ijrBlvTsXYwJw46uP539uKRRT4ymZzlm9QjAiB+1KH/G9f9pEEL9rtaSOG7JF5D0JcOjlze4MGVFs+ZrQIhALKOUFBNr2zEsyJIjw2PlvEucdlG77UniszjXTROHSPd"
418
415
  };
419
- return new st(Object.assign(e, r));
416
+ return new ye(Object.assign(e, r));
420
417
  }
421
- function it(r, e) {
418
+ function nt(r, e) {
422
419
  const { jsonp: t, request: s } = e;
423
420
  if (r.method === "jsonp")
424
421
  return (n = {}) => t(r.url, {
@@ -434,10 +431,10 @@ function it(r, e) {
434
431
  headers: n
435
432
  }
436
433
  };
437
- return (a, o) => (delete i.data, s.send(ke(i, o || {}, { data: a })));
434
+ return (a, o) => (delete i.data, s.send(Me(i, o || {}, { data: a })));
438
435
  }
439
436
  }
440
- function ot(r, e) {
437
+ function it(r, e) {
441
438
  const { metaQuery: t } = e;
442
439
  if (!t) return;
443
440
  const { code: s, queryCode: n } = r;
@@ -449,19 +446,19 @@ function ot(r, e) {
449
446
  return t(s, n, i, a);
450
447
  };
451
448
  }
452
- function at(r = [], e = [], t) {
449
+ function ot(r = [], e = [], t) {
453
450
  const s = {};
454
451
  for (const n of r)
455
- s[n.id] = it(n, t);
452
+ s[n.id] = nt(n, t);
456
453
  for (const n of e)
457
- s[n.id] = ot(n, t);
454
+ s[n.id] = it(n, t);
458
455
  return s;
459
456
  }
460
- async function ct(r = [], e = window) {
457
+ async function at(r = [], e = window) {
461
458
  const t = F(e);
462
- t && (ye(e), r.forEach((s) => ut(t, s)));
459
+ t && (_e(e), r.forEach((s) => lt(t, s)));
463
460
  }
464
- function lt(r, e = window) {
461
+ function ct(r, e = window) {
465
462
  const t = k(r.mockTemplate) && r.mockTemplate.value ? G(r.mockTemplate, {}, !0) : void 0, s = F(e);
466
463
  return async (...n) => {
467
464
  let i = {};
@@ -474,22 +471,22 @@ function lt(r, e = window) {
474
471
  return s?.mock(i);
475
472
  };
476
473
  }
477
- function ut(r, e) {
474
+ function lt(r, e) {
478
475
  if (!e.mock) return;
479
476
  const { url: t, mockTemplate: s } = e;
480
477
  if (t && s) {
481
- const n = Me(`${t}(.*)`), i = Oe(t, { decode: decodeURIComponent }), a = I(s, {}, !0);
478
+ const n = Oe(`${t}(.*)`), i = Te(t, { decode: decodeURIComponent }), a = I(s, {}, !0);
482
479
  r.mock(n, (o) => {
483
480
  const c = b.parse(o.url) || {}, l = o.body instanceof FormData ? He(o.body) : o.body, f = i(o.url)?.params;
484
481
  return Object.assign(o, { data: l, params: c, query: f }), r.mock(a(o));
485
482
  });
486
483
  }
487
484
  }
488
- function ye(r = window) {
485
+ function _e(r = window) {
489
486
  const e = F(r);
490
487
  e && (e._mocked = {});
491
488
  }
492
- class pt {
489
+ class ut {
493
490
  __id = null;
494
491
  __mode;
495
492
  __instance = null;
@@ -600,22 +597,22 @@ function V(r) {
600
597
  $components: s,
601
598
  $libs: n,
602
599
  $apis: i
603
- }, l = new pt({
600
+ }, l = new ut({
604
601
  mode: t,
605
602
  dsl: o.value,
606
603
  attrs: c
607
604
  }), f = e.defineComponent({
608
605
  name: o.value.name,
609
606
  props: {
610
- ...ft(o.value.props ?? [], l)
607
+ ...dt(o.value.props ?? [], l)
611
608
  },
612
609
  setup(p) {
613
610
  l.$props = p, l.props = p, o.value.id && ge(
614
611
  r.window || window,
615
612
  o.value.id,
616
613
  o.value.css || ""
617
- ), l.state = ht(e, o.value.state ?? {}, l);
618
- const m = mt(e, o.value.computed ?? {}, l), h = gt(o.value.methods ?? {}, l), d = vt(e, o.value.inject, l), u = yt(
614
+ ), l.state = ft(e, o.value.state ?? {}, l);
615
+ const m = ht(e, o.value.computed ?? {}, l), h = mt(o.value.methods ?? {}, l), d = gt(e, o.value.inject, l), u = vt(
619
616
  o.value.dataSources || {},
620
617
  l
621
618
  ), w = {
@@ -624,29 +621,29 @@ function V(r) {
624
621
  ...h,
625
622
  ...u
626
623
  };
627
- return l.setup(w, e), _t(e, o.value.watch ?? [], l), {
624
+ return l.setup(w, e), yt(e, o.value.watch ?? [], l), {
628
625
  vtj: l
629
626
  };
630
627
  },
631
- emits: dt(o.value.emits),
628
+ emits: pt(o.value.emits),
632
629
  expose: ["vtj"],
633
630
  render() {
634
631
  if (!o.value.nodes) return null;
635
632
  const p = o.value.nodes || [];
636
633
  return p.length === 1 ? D(p[0], l, e, a) : p.map((m) => D(m, l, e, a));
637
634
  },
638
- ...wt(o.value.lifeCycles ?? {}, l)
635
+ ..._t(o.value.lifeCycles ?? {}, l)
639
636
  });
640
637
  return {
641
638
  renderer: e.markRaw(f),
642
639
  context: l
643
640
  };
644
641
  }
645
- function dt(r = []) {
642
+ function pt(r = []) {
646
643
  return r.map((e) => $(e) ? e : e.name);
647
644
  }
648
- function ft(r = [], e) {
649
- const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((i) => Ue[i]) : void 0;
645
+ function dt(r = [], e) {
646
+ const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((i) => Le[i]) : void 0;
650
647
  return r.map((s) => $(s) ? {
651
648
  name: s
652
649
  } : {
@@ -663,7 +660,7 @@ function ft(r = [], e) {
663
660
  {}
664
661
  );
665
662
  }
666
- function ht(r, e, t) {
663
+ function ft(r, e, t) {
667
664
  return r.reactive(
668
665
  Object.keys(e || {}).reduce(
669
666
  (s, n) => {
@@ -674,19 +671,19 @@ function ht(r, e, t) {
674
671
  )
675
672
  );
676
673
  }
677
- function mt(r, e, t) {
674
+ function ht(r, e, t) {
678
675
  return Object.entries(e ?? {}).reduce(
679
676
  (s, [n, i]) => (s[n] = r.computed(t.__parseFunction(i)), s),
680
677
  {}
681
678
  );
682
679
  }
683
- function gt(r, e) {
680
+ function mt(r, e) {
684
681
  return Object.entries(r ?? {}).reduce(
685
682
  (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
686
683
  {}
687
684
  );
688
685
  }
689
- function vt(r, e = [], t) {
686
+ function gt(r, e = [], t) {
690
687
  return e.reduce(
691
688
  (s, n) => {
692
689
  const { name: i, from: a } = n || {};
@@ -697,12 +694,12 @@ function vt(r, e = [], t) {
697
694
  {}
698
695
  );
699
696
  }
700
- function yt(r, e) {
697
+ function vt(r, e) {
701
698
  return Object.keys(r).reduce(
702
699
  (t, s) => {
703
700
  const n = r[s];
704
701
  if (n.type === "mock")
705
- t[s] = lt(n);
702
+ t[s] = ct(n);
706
703
  else if (n.ref) {
707
704
  const i = e.$apis[n.ref], a = k(n.transform) ? n.transform.value ? e.__parseFunction(n.transform) : void 0 : n.transform;
708
705
  t[s] = async (...o) => {
@@ -715,7 +712,7 @@ function yt(r, e) {
715
712
  {}
716
713
  );
717
714
  }
718
- function _t(r, e = [], t) {
715
+ function yt(r, e = [], t) {
719
716
  e.forEach((s) => {
720
717
  r.watch(
721
718
  t.__parseExpression(s.source),
@@ -727,19 +724,19 @@ function _t(r, e = [], t) {
727
724
  );
728
725
  });
729
726
  }
730
- function wt(r, e) {
727
+ function _t(r, e) {
731
728
  return Object.entries(r ?? {}).reduce(
732
729
  (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
733
730
  {}
734
731
  );
735
732
  }
736
733
  let L = [], R = {};
737
- const St = (r) => r;
738
- async function _e(r, e = window) {
734
+ const wt = (r) => r;
735
+ async function we(r, e = window) {
739
736
  const { urls: t = [], library: s } = r, n = t.filter((o) => Z(o));
740
737
  if (n.length === 0 || !s) return null;
741
738
  const i = t.filter((o) => Y(o));
742
- return i.length && We(i, e), await Qe(n, s, e).catch(
739
+ return i.length && Qe(i, e), await Xe(n, s, e).catch(
743
740
  (o) => (console.warn("loadScriptUrl error", n, s, o), null)
744
741
  );
745
742
  }
@@ -779,7 +776,7 @@ function W(r) {
779
776
  let o = i.library ? R[i.library] : null;
780
777
  return o || (i.library && L.push(i.library), o = R[i.library || Symbol()] = a.defineAsyncComponent(
781
778
  async () => {
782
- const c = await _e(i, s.window);
779
+ const c = await we(i, s.window);
783
780
  return c || (console.warn("getPlugin result is null", i), null);
784
781
  }
785
782
  ), o);
@@ -790,41 +787,41 @@ function W(r) {
790
787
  function Zt() {
791
788
  R = {};
792
789
  }
793
- function D(r, e, t = x, s = St) {
790
+ function D(r, e, t = x, s = wt) {
794
791
  if (!r || !r.name || r.invisible) return null;
795
- const n = t.getCurrentInstance()?.appContext, { id: i = null, directives: a = [] } = r, { vIf: o, vFor: c, vShow: l, vModels: f, vBind: p, vHtml: m, others: h } = $t(a);
796
- if (o && !Et(o, e))
792
+ const n = t.getCurrentInstance()?.appContext, { id: i = null, directives: a = [] } = r, { vIf: o, vFor: c, vShow: l, vModels: f, vBind: p, vHtml: m, others: h } = jt(a);
793
+ if (o && !$t(o, e))
797
794
  return null;
798
795
  const d = (u) => {
799
796
  const w = u.$components, g = (() => {
800
797
  if (r.name === "component")
801
- return Rt(u, r.props?.is);
798
+ return Et(u, r.props?.is);
802
799
  if (r.name === "slot") return r.name;
803
800
  const j = s(r.name, r.from, t);
804
- return $(j) ? Ye(j) || Ze(j) ? j : w[j] ?? n?.app?.component(j) ?? j : j;
805
- })(), S = bt(i, r.props ?? {}, u), be = Pt(t, r.events ?? {}, u);
801
+ return $(j) ? Ze(j) || et(j) ? j : w[j] ?? n?.app?.component(j) ?? j : j;
802
+ })(), S = Rt(i, r.props ?? {}, u), Pe = bt(t, r.events ?? {}, u);
806
803
  if (r.name === "slot")
807
- return At(t, r, S, u, s);
804
+ return Pt(t, r, S, u, s);
808
805
  p && Object.assign(S, u.__parseExpression(p.value)), l && (S.style = Object.assign(
809
806
  S.style ?? {},
810
- Ft(l, u)
811
- )), m && Object.assign(S, It(m, u)), f.forEach((j) => {
812
- Object.assign(S, kt(t, j, u));
807
+ Ct(l, u)
808
+ )), m && Object.assign(S, Ft(m, u)), f.forEach((j) => {
809
+ Object.assign(S, It(t, j, u));
813
810
  });
814
- const Pe = Mt(
811
+ const Ae = kt(
815
812
  t,
816
813
  r.children ?? [],
817
814
  u,
818
815
  s,
819
816
  r
820
817
  );
821
- let B = t.createVNode(g, { ...S, ...be }, Pe);
822
- const te = n ? jt(n, h, u) : [];
818
+ let B = t.createVNode(g, { ...S, ...Pe }, Ae);
819
+ const te = n ? St(n, h, u) : [];
823
820
  return te.length && (B = t.withDirectives(B, te)), B;
824
821
  };
825
822
  return c ? Tt(c, d, e) : d(e);
826
823
  }
827
- function jt(r, e, t) {
824
+ function St(r, e, t) {
828
825
  const s = r.app;
829
826
  return e.map((n) => {
830
827
  const i = typeof n.name == "string" ? s.directive(n.name) : t.__parseExpression(n.name);
@@ -833,11 +830,11 @@ function jt(r, e, t) {
833
830
  return n.value && a.push(t.__parseExpression(n.value)), n.arg && a.push(n.arg), n.modifiers && a.push(n.modifiers), a;
834
831
  }).filter((n) => !!n);
835
832
  }
836
- function $t(r = []) {
833
+ function jt(r = []) {
837
834
  const e = r.find((c) => E(c.name) === "vIf"), t = r.find((c) => E(c.name) === "vFor"), s = r.find((c) => E(c.name) === "vShow"), n = r.find((c) => E(c.name) === "vBind"), i = r.find((c) => E(c.name) === "vHtml"), a = r.filter(
838
835
  (c) => E(c.name) === "vModel"
839
836
  ), o = r.filter(
840
- (c) => !Ne.includes(E(c.name))
837
+ (c) => !Ue.includes(E(c.name))
841
838
  );
842
839
  return {
843
840
  vIf: e,
@@ -849,13 +846,13 @@ function $t(r = []) {
849
846
  vHtml: i
850
847
  };
851
848
  }
852
- function Et(r, e) {
849
+ function $t(r, e) {
853
850
  return !!e.__parseExpression(r.value);
854
851
  }
855
- function Rt(r, e) {
852
+ function Et(r, e) {
856
853
  return e ? _(e) ? r.__parseExpression(e) : e : "div";
857
854
  }
858
- function bt(r, e, t) {
855
+ function Rt(r, e, t) {
859
856
  const s = Q(e, t);
860
857
  return s.ref = t.__ref(r, s.ref), s;
861
858
  }
@@ -868,7 +865,7 @@ function Q(r, e) {
868
865
  {}
869
866
  ) : r;
870
867
  }
871
- function Pt(r, e, t) {
868
+ function bt(r, e, t) {
872
869
  const s = ["passive", "capture", "once"], n = {
873
870
  capture: "Capture",
874
871
  once: "Once",
@@ -876,48 +873,48 @@ function Pt(r, e, t) {
876
873
  };
877
874
  return Object.keys(e || {}).reduce(
878
875
  (i, a) => {
879
- const o = e[a], c = we(o.modifiers), l = c.find((m) => s.includes(m)), f = "on" + Te(a) + (l && n[l] || ""), p = t.__parseFunction(o.handler);
876
+ const o = e[a], c = Se(o.modifiers), l = c.find((m) => s.includes(m)), f = "on" + De(a) + (l && n[l] || ""), p = t.__parseFunction(o.handler);
880
877
  return p && (i[f] = r.withModifiers(p, c)), i;
881
878
  },
882
879
  {}
883
880
  );
884
881
  }
885
- function we(r = {}, e = !1) {
882
+ function Se(r = {}, e = !1) {
886
883
  const t = Object.keys(r);
887
884
  return e ? t.map((s) => "." + s) : t;
888
885
  }
889
- function At(r, e, t, s, n) {
890
- const { children: i } = e, a = Ct(e, s), o = s.$slots?.[a.name];
886
+ function Pt(r, e, t, s, n) {
887
+ const { children: i } = e, a = At(e, s), o = s.$slots?.[a.name];
891
888
  return o ? o(t) : i ? $(i) ? r.createTextVNode(i) : _(i) ? r.createTextVNode(
892
889
  me(s.__parseExpression(i))
893
890
  ) : Array.isArray(i) ? i.map(
894
891
  (c) => D(c, s, r, n)
895
892
  ) : null : null;
896
893
  }
897
- function Ct(r, e) {
894
+ function At(r, e) {
898
895
  const { props: t } = r, s = t?.name || "default";
899
896
  return {
900
897
  name: _(s) ? e.__parseExpression(s) : s,
901
898
  params: []
902
899
  };
903
900
  }
904
- function Ft(r, e) {
901
+ function Ct(r, e) {
905
902
  return e.__parseExpression(r.value) ? {} : {
906
903
  display: "none"
907
904
  };
908
905
  }
909
- function It(r, e) {
906
+ function Ft(r, e) {
910
907
  return {
911
908
  innerHTML: e.__parseExpression(r.value) || ""
912
909
  };
913
910
  }
914
- function kt(r, e, t) {
911
+ function It(r, e, t) {
915
912
  const s = {
916
913
  type: "JSFunction",
917
914
  value: e.value?.value ? `(v) => {
918
915
  ${e.value.value} = v;
919
916
  }` : "(v) => {}"
920
- }, n = t.__parseFunction(s), i = we(
917
+ }, n = t.__parseFunction(s), i = Se(
921
918
  _(e.modifiers) ? t.__parseExpression(e.modifiers) : e.modifiers
922
919
  ), a = _(e.arg) ? t.__parseExpression(e.arg) : e.arg || "modelValue";
923
920
  return {
@@ -925,7 +922,7 @@ function kt(r, e, t) {
925
922
  [`onUpdate:${a}`]: i.length && n ? r.withModifiers(n, i) : n
926
923
  };
927
924
  }
928
- function Mt(r, e, t, s, n) {
925
+ function kt(r, e, t, s, n) {
929
926
  if (!e) return null;
930
927
  if ($(e))
931
928
  return { default: () => e };
@@ -934,11 +931,11 @@ function Mt(r, e, t, s, n) {
934
931
  default: () => me(t.__parseExpression(e))
935
932
  };
936
933
  if (Array.isArray(e) && e.length > 0) {
937
- const i = Ot(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
934
+ const i = Mt(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
938
935
  [`scope_${n.id}`]: o
939
936
  } : {};
940
937
  return Object.entries(i).reduce((o, [c, { nodes: l, params: f }]) => (o[c] = (p) => {
941
- const m = f.length ? De(p ?? {}, f) : a(p);
938
+ const m = f.length ? xe(p ?? {}, f) : a(p);
942
939
  return l.map(
943
940
  (h) => D(h, t.__clone(m), r, s)
944
941
  );
@@ -946,7 +943,7 @@ function Mt(r, e, t, s, n) {
946
943
  }
947
944
  return null;
948
945
  }
949
- function Ot(r) {
946
+ function Mt(r) {
950
947
  const e = {
951
948
  default: {
952
949
  params: [],
@@ -954,7 +951,7 @@ function Ot(r) {
954
951
  }
955
952
  };
956
953
  for (const t of r) {
957
- const s = Ht(t.slot), n = s.name;
954
+ const s = Ot(t.slot), n = s.name;
958
955
  e[n] ? (e[n].nodes.push(t), e[n].params = e[n].params.concat(s.params)) : e[n] = {
959
956
  nodes: [t],
960
957
  params: s.params
@@ -962,7 +959,7 @@ function Ot(r) {
962
959
  }
963
960
  return e;
964
961
  }
965
- function Ht(r = "default") {
962
+ function Ot(r = "default") {
966
963
  return $(r) ? { name: r, params: [] } : { params: [], ...r };
967
964
  }
968
965
  function Tt(r, e, t) {
@@ -973,7 +970,7 @@ function Tt(r, e, t) {
973
970
  const ae = fe({
974
971
  name: "VtjPageContainer",
975
972
  async setup() {
976
- const r = je(), e = he(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null, i = K(Symbol());
973
+ const r = $e(), e = he(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null, i = K(Symbol());
977
974
  if (s) {
978
975
  Object.assign(e.meta, s.meta || {}, { cache: s.cache });
979
976
  const { useTitle: a } = r?.adapter;
@@ -996,14 +993,14 @@ const ae = fe({
996
993
  activated() {
997
994
  this.meta.cache === !1 && (this.sid = Symbol());
998
995
  }
999
- }), Dt = fe({
996
+ }), Ht = fe({
1000
997
  name: "VtjStartupContainer",
1001
998
  render() {
1002
999
  return z("div", "page not found!");
1003
1000
  }
1004
- }), Se = Symbol("Provider");
1005
- var xt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(xt || {});
1006
- class Bt extends Ae {
1001
+ }), je = Symbol("Provider");
1002
+ var Dt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(Dt || {});
1003
+ class xt extends Ce {
1007
1004
  constructor(e) {
1008
1005
  super(), this.options = e;
1009
1006
  const {
@@ -1056,7 +1053,7 @@ class Bt extends Ae {
1056
1053
  if (this.project = t ? await t() : await this.service.init(e), !this.project)
1057
1054
  throw new Error("project is null");
1058
1055
  const { apis: s = [], meta: n = [] } = this.project, i = window;
1059
- i && (i.CKEDITOR_VERSION = void 0), this.mode === y.Raw ? await this.loadDependencies(i) : await this.loadAssets(i), this.initMock(i), this.apis = at(s, n, this.adapter), ye(i), ct(s, i), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
1056
+ i && (i.CKEDITOR_VERSION = void 0), this.mode === y.Raw ? await this.loadDependencies(i) : await this.loadAssets(i), this.initMock(i), this.apis = ot(s, n, this.adapter), _e(i), at(s, i), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
1060
1057
  }
1061
1058
  initMock(e) {
1062
1059
  const t = F(e);
@@ -1076,7 +1073,7 @@ class Bt extends Ae {
1076
1073
  materials: f,
1077
1074
  materialExports: p,
1078
1075
  materialMapLibrary: m
1079
- } = Ke(
1076
+ } = Ge(
1080
1077
  t,
1081
1078
  a,
1082
1079
  o === "development"
@@ -1091,7 +1088,7 @@ class Bt extends Ae {
1091
1088
  else {
1092
1089
  const w = l[h] || [];
1093
1090
  for (const g of w)
1094
- Y(g) && await Ve(h, b.append(g, { v: A })), Z(g) && await ne(b.append(g, { v: A }));
1091
+ Y(g) && await We(h, b.append(g, { v: A })), Z(g) && await ne(b.append(g, { v: A }));
1095
1092
  n[h] = e[h];
1096
1093
  }
1097
1094
  }
@@ -1100,7 +1097,7 @@ class Bt extends Ae {
1100
1097
  await ne(b.append(d, { v: A }));
1101
1098
  const h = this.materials || {};
1102
1099
  for (const d of p) {
1103
- const u = e[m[d]], w = Ce[d];
1100
+ const u = e[m[d]], w = Fe[d];
1104
1101
  if (w)
1105
1102
  u && w.forEach((g) => {
1106
1103
  i[g] = u[g];
@@ -1108,7 +1105,7 @@ class Bt extends Ae {
1108
1105
  else {
1109
1106
  const g = h[d] ? (await h[d]()).default : e[d];
1110
1107
  g && u && (g.components || []).forEach((S) => {
1111
- i[S.name] = Ge(S, u);
1108
+ i[S.name] = Ve(S, u);
1112
1109
  });
1113
1110
  }
1114
1111
  }
@@ -1127,17 +1124,17 @@ class Bt extends Ae {
1127
1124
  component: ae
1128
1125
  }, p = {
1129
1126
  path: l,
1130
- name: H,
1131
- component: t?.homepage ? ae : n.startupComponent || Dt,
1127
+ name: T,
1128
+ component: t?.homepage ? ae : n.startupComponent || Ht,
1132
1129
  meta: c
1133
1130
  };
1134
- e.hasRoute(C) && e.removeRoute(C), e.hasRoute(H) && e.removeRoute(H), a ? (e.addRoute(a, f), e.addRoute(a, p)) : (e.addRoute(f), e.addRoute(p));
1131
+ e.hasRoute(C) && e.removeRoute(C), e.hasRoute(T) && e.removeRoute(T), a ? (e.addRoute(a, f), e.addRoute(a, p)) : (e.addRoute(f), e.addRoute(p));
1135
1132
  }
1136
1133
  install(e) {
1137
1134
  const t = e.config.globalProperties.installed || {};
1138
1135
  for (const [s, n] of Object.entries(this.library))
1139
- !t[s] && Xe(n) && (e.use(n), t[s] = !0);
1140
- this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), e.provide(Se, this), e.config.globalProperties.$provider = this, e.config.globalProperties.installed = t, this.mode === y.Design && (e.config.errorHandler = (s, n, i) => {
1136
+ !t[s] && Ye(n) && (e.use(n), t[s] = !0);
1137
+ this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), e.provide(je, this), e.config.globalProperties.$provider = this, e.config.globalProperties.installed = t, this.mode === y.Design && (e.config.errorHandler = (s, n, i) => {
1141
1138
  const a = n?.$options.name, o = typeof s == "string" ? s : s?.message || s?.msg || "未知错误", c = `[ ${a} ] ${o} ${i}`;
1142
1139
  console.error(
1143
1140
  "[VTJ Error]:",
@@ -1225,18 +1222,18 @@ class Bt extends Ae {
1225
1222
  });
1226
1223
  }
1227
1224
  definePluginComponent(e) {
1228
- return ie(async () => await _e(e, window));
1225
+ return ie(async () => await we(e, window));
1229
1226
  }
1230
1227
  }
1231
1228
  function es(r) {
1232
- const e = new Bt(r);
1229
+ const e = new xt(r);
1233
1230
  return {
1234
1231
  provider: e,
1235
1232
  onReady: (s) => e.ready(s)
1236
1233
  };
1237
1234
  }
1238
- function je(r = {}) {
1239
- const e = de(Se, null);
1235
+ function $e(r = {}) {
1236
+ const e = de(je, null);
1240
1237
  if (!e)
1241
1238
  throw new Error("Can not find provider");
1242
1239
  if (e.nodeEnv === "development") {
@@ -1252,13 +1249,13 @@ function je(r = {}) {
1252
1249
  }
1253
1250
  return e;
1254
1251
  }
1255
- const $e = {
1252
+ const Ee = {
1256
1253
  type: "json",
1257
1254
  validSuccess: !0,
1258
1255
  originResponse: !1,
1259
1256
  failMessage: !0,
1260
1257
  validate: (r) => r.data?.code === 0
1261
- }, Nt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1258
+ }, Bt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1262
1259
  url: e,
1263
1260
  method: "post",
1264
1261
  params: { type: t },
@@ -1267,8 +1264,8 @@ const $e = {
1267
1264
  type: t,
1268
1265
  data: s
1269
1266
  },
1270
- settings: $e
1271
- }), Ut = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1267
+ settings: Ee
1268
+ }), Nt = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1272
1269
  url: e,
1273
1270
  method: "post",
1274
1271
  data: {
@@ -1276,7 +1273,7 @@ const $e = {
1276
1273
  projectId: s
1277
1274
  },
1278
1275
  settings: {
1279
- ...$e,
1276
+ ...Ee,
1280
1277
  type: "data"
1281
1278
  }
1282
1279
  }).then((n) => n && n[0] ? n[0] : null).catch(() => null);
@@ -1299,7 +1296,7 @@ class ee {
1299
1296
  pluginCaches = {};
1300
1297
  uploader;
1301
1298
  constructor(e = q) {
1302
- this.api = Nt(e), this.uploader = Ut(e);
1299
+ this.api = Bt(e), this.uploader = Nt(e);
1303
1300
  }
1304
1301
  async getExtension() {
1305
1302
  console.log("BaseService.getExtension");
@@ -1374,7 +1371,7 @@ class ee {
1374
1371
  return await this.api("clearStaticFiles", e).catch(() => "");
1375
1372
  }
1376
1373
  async getPluginMaterial(e) {
1377
- const { urls: t = [] } = e, s = t.filter((i) => qe(i))[0];
1374
+ const { urls: t = [] } = e, s = t.filter((i) => ze(i))[0];
1378
1375
  if (!s) return null;
1379
1376
  const n = this.pluginCaches[s];
1380
1377
  return n || (this.pluginCaches[s] = q.send({
@@ -1390,18 +1387,18 @@ class ee {
1390
1387
  return console.log("BaseService.genSource", e), "";
1391
1388
  }
1392
1389
  }
1393
- const v = new xe({
1390
+ const v = new Be({
1394
1391
  type: "local",
1395
1392
  expired: 0,
1396
1393
  prefix: "__VTJ_"
1397
1394
  });
1398
1395
  class ss extends ee {
1399
1396
  init(e) {
1400
- const t = new T(e), s = v.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
1397
+ const t = new H(e), s = v.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
1401
1398
  return v.save(`project_${t.id}`, n), Promise.resolve(n);
1402
1399
  }
1403
1400
  saveProject(e) {
1404
- const t = new T(e);
1401
+ const t = new H(e);
1405
1402
  return v.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
1406
1403
  }
1407
1404
  saveMaterials(e, t) {
@@ -1445,18 +1442,18 @@ class ss extends ee {
1445
1442
  }), Promise.resolve(!0);
1446
1443
  }
1447
1444
  }
1448
- class Lt extends ee {
1445
+ class Ut extends ee {
1449
1446
  projects = {};
1450
1447
  materials = {};
1451
1448
  files = {};
1452
1449
  histories = {};
1453
1450
  historyItems = {};
1454
1451
  init(e) {
1455
- const t = new T(e), s = this.projects[t.id] || {}, n = Object.assign(t.toDsl(), s);
1452
+ const t = new H(e), s = this.projects[t.id] || {}, n = Object.assign(t.toDsl(), s);
1456
1453
  return this.projects[n.id] = n, Promise.resolve(n);
1457
1454
  }
1458
1455
  saveProject(e) {
1459
- const t = new T(e);
1456
+ const t = new H(e);
1460
1457
  return this.projects[t.id] = t.toDsl(), Promise.resolve(!0);
1461
1458
  }
1462
1459
  saveMaterials(e, t) {
@@ -1504,7 +1501,7 @@ class Lt extends ee {
1504
1501
  }
1505
1502
  let O = null;
1506
1503
  function rs() {
1507
- return O || (O = new Lt(), O);
1504
+ return O || (O = new Ut(), O);
1508
1505
  }
1509
1506
  class ns extends ee {
1510
1507
  getFileCaches = {};
@@ -1563,7 +1560,7 @@ class ns extends ee {
1563
1560
  );
1564
1561
  }
1565
1562
  }
1566
- function Ee(r, e, t = []) {
1563
+ function Re(r, e, t = []) {
1567
1564
  return t.map((s) => {
1568
1565
  const { id: n, title: i, icon: a, children: o, hidden: c } = s;
1569
1566
  return {
@@ -1572,16 +1569,16 @@ function Ee(r, e, t = []) {
1572
1569
  icon: a,
1573
1570
  hidden: c,
1574
1571
  url: `${r}/${e}/${n}`,
1575
- children: o && o.length ? Ee(r, e, o) : void 0
1572
+ children: o && o.length ? Re(r, e, o) : void 0
1576
1573
  };
1577
1574
  });
1578
1575
  }
1579
- function Re(r, e) {
1576
+ function be(r, e) {
1580
1577
  if (!e) return r;
1581
1578
  let t = [];
1582
1579
  for (const s of r)
1583
1580
  if (s.children && s.children.length) {
1584
- const n = Re(s.children, e);
1581
+ const n = be(s.children, e);
1585
1582
  n.length && (s.children = n, t.push(s));
1586
1583
  } else
1587
1584
  e.can(s.id.toString()) && t.push(s);
@@ -1592,19 +1589,19 @@ function is(r) {
1592
1589
  menuPathPrefix: e = "",
1593
1590
  pageRouteName: t = "page",
1594
1591
  disableMenusFilter: s = !1
1595
- } = r || {}, n = je(), i = he(), a = rt(), o = K(!1), c = K(!1), l = n.project;
1596
- Be(() => {
1592
+ } = r || {}, n = $e(), i = he(), a = rt(), o = K(!1), c = K(!1), l = n.project;
1593
+ Ne(() => {
1597
1594
  const { name: m, params: h, meta: d } = i;
1598
1595
  if (m === C) {
1599
1596
  const u = n.getPage(h.id);
1600
1597
  o.value = !u?.mask, c.value = !!u?.pure;
1601
- } else if (m === H) {
1598
+ } else if (m === T) {
1602
1599
  const u = n.getHomepage();
1603
1600
  o.value = !u?.mask, c.value = !!u?.pure;
1604
1601
  } else
1605
1602
  o.value = !d.mask, c.value = !!d.pure;
1606
1603
  });
1607
- const f = Ee(
1604
+ const f = Re(
1608
1605
  e,
1609
1606
  t,
1610
1607
  l?.pages
@@ -1614,77 +1611,77 @@ function is(r) {
1614
1611
  logo: p?.logo,
1615
1612
  themeSwitchable: p?.themeSwitchable,
1616
1613
  title: p?.title || l?.description || l?.name || "VTJ App",
1617
- menus: s ? f : Re(f, a),
1614
+ menus: s ? f : be(f, a),
1618
1615
  pure: c
1619
1616
  };
1620
1617
  }
1621
1618
  export {
1622
1619
  ve as ACCESS_KEY,
1623
- st as Access,
1624
- Je as BUILD_IN_TAGS,
1625
- Ne as BUILT_IN_DIRECTIVES,
1620
+ ye as Access,
1621
+ qe as BUILD_IN_TAGS,
1622
+ Ue as BUILT_IN_DIRECTIVES,
1626
1623
  ee as BaseService,
1627
1624
  oe as CONTEXT_HOST,
1628
- pt as Context,
1625
+ ut as Context,
1629
1626
  y as ContextMode,
1630
- Ue as DATA_TYPES,
1631
- H as HOMEPAGE_ROUTE_NAME,
1632
- Le as HTML_TAGS,
1633
- Xt as JSCodeToString,
1634
- Gt as LIFE_CYCLES_LIST,
1627
+ Le as DATA_TYPES,
1628
+ T as HOMEPAGE_ROUTE_NAME,
1629
+ Je as HTML_TAGS,
1630
+ Qt as JSCodeToString,
1631
+ Kt as LIFE_CYCLES_LIST,
1635
1632
  ns as LocalService,
1636
- Lt as MemoryService,
1637
- xt as NodeEnv,
1633
+ Ut as MemoryService,
1634
+ Dt as NodeEnv,
1638
1635
  C as PAGE_ROUTE_NAME,
1639
- Bt as Provider,
1636
+ xt as Provider,
1640
1637
  ss as StorageService,
1641
1638
  A as VTJ_RENDERER_VERSION,
1642
1639
  ge as adoptedStyleSheets,
1643
1640
  Zt as clearLoaderCache,
1644
- nt as createAccess,
1645
- Yt as createAdapter,
1646
- Vt as createAssetScripts,
1647
- Wt as createAssetsCss,
1648
- yt as createDataSources,
1641
+ Yt as createAccess,
1642
+ Xt as createAdapter,
1643
+ Gt as createAssetScripts,
1644
+ Vt as createAssetsCss,
1645
+ vt as createDataSources,
1649
1646
  W as createLoader,
1650
1647
  rs as createMemoryService,
1651
- ot as createMetaApi,
1652
- lt as createMock,
1648
+ it as createMetaApi,
1649
+ ct as createMock,
1653
1650
  es as createProvider,
1654
1651
  V as createRenderer,
1655
- it as createSchemaApi,
1656
- at as createSchemaApis,
1652
+ nt as createSchemaApi,
1653
+ ot as createSchemaApis,
1657
1654
  ts as createServiceRequest,
1658
- St as defaultLoader,
1655
+ wt as defaultLoader,
1659
1656
  M as fillBasePath,
1660
1657
  F as getMock,
1661
- we as getModifiers,
1662
- _e as getPlugin,
1663
- Ge as getRawComponent,
1664
- Ye as isBuiltInTag,
1658
+ Se as getModifiers,
1659
+ we as getPlugin,
1660
+ Ve as getRawComponent,
1661
+ Ze as isBuiltInTag,
1665
1662
  Y as isCSSUrl,
1666
- et as isJSCode,
1663
+ tt as isJSCode,
1667
1664
  _ as isJSExpression,
1668
1665
  k as isJSFunction,
1669
- qe as isJSON,
1666
+ ze as isJSON,
1670
1667
  Z as isJSUrl,
1671
- Ze as isNativeTag,
1672
- Xe as isVuePlugin,
1673
- Ve as loadCss,
1674
- We as loadCssUrl,
1675
- Qe as loadScriptUrl,
1676
- ut as mockApi,
1677
- ct as mockApis,
1678
- ye as mockCleanup,
1668
+ et as isNativeTag,
1669
+ Ye as isVuePlugin,
1670
+ We as loadCss,
1671
+ Qe as loadCssUrl,
1672
+ Xe as loadScriptUrl,
1673
+ lt as mockApi,
1674
+ at as mockApis,
1675
+ _e as mockCleanup,
1679
1676
  D as nodeRender,
1680
- Ke as parseDeps,
1677
+ Ge as parseDeps,
1681
1678
  I as parseExpression,
1682
1679
  G as parseFunction,
1683
- Se as providerKey,
1684
- ze as removeProdFlag,
1685
- Qt as setupPageSetting,
1680
+ je as providerKey,
1681
+ Ke as removeProdFlag,
1682
+ Wt as setupPageSetting,
1686
1683
  me as toString,
1687
1684
  rt as useAccess,
1688
1685
  is as useMask,
1689
- je as useProvider
1686
+ $e as useProvider
1690
1687
  };