@vtj/renderer 0.12.36 → 0.12.38

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,18 +1,18 @@
1
- import { Base as xe, BUILT_IN_COMPONENTS as Ne, ProjectModel as B, HistoryModel as he } from "@vtj/core";
2
- import { isUrl as Be, url as C, dedupArray as Ue, isString as P, isFunction as Y, logger as k, storage as V, cookie as W, toArray as ae, unRSA as ce, delay as me, createRequest as ge, jsonp as ve, merge as Le, pathToRegexp as qe, pathToRegexpMatch as Je, formDataToJson as Ke, cloneDeep as le, camelCase as b, upperFirst as ze, pick as Ve, request as Q, loadScript as ue, Storage as We, mapToObject as ne } from "@vtj/utils";
3
- import * as U from "vue";
4
- import { inject as ye, defineComponent as _e, h as X, ref as Z, defineAsyncComponent as pe, watchEffect as Ge } from "vue";
5
- import { useRoute as we } from "vue-router";
1
+ import { Base as Be, BUILT_IN_COMPONENTS as Ue, ProjectModel as B, HistoryModel as ge } from "@vtj/core";
2
+ import { isUrl as Le, url as C, dedupArray as qe, isString as P, isFunction as U, logger as k, storage as W, cookie as G, toArray as le, unRSA as ue, delay as ne, createRequest as ve, jsonp as ye, merge as Je, pathToRegexp as Ke, pathToRegexpMatch as ze, formDataToJson as Ve, Queue as We, cloneDeep as pe, camelCase as b, upperFirst as Ge, pick as Qe, request as Y, loadScript as fe, Storage as Ye, mapToObject as ie } from "@vtj/utils";
3
+ import * as L from "vue";
4
+ import { inject as _e, defineComponent as we, h as X, ref as Z, defineAsyncComponent as de, watchEffect as Xe } from "vue";
5
+ import { useRoute as Se } 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.12.36
10
+ * @version 0.12.38
11
11
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
12
12
  */
13
- const I = "0.12.36";
14
- var _ = /* @__PURE__ */ ((r) => (r.Runtime = "Runtime", r.Design = "Design", r.Raw = "Raw", r.VNode = "VNode", r))(_ || {});
15
- const fe = [
13
+ const I = "0.12.38";
14
+ var w = /* @__PURE__ */ ((r) => (r.Runtime = "Runtime", r.Design = "Design", r.Raw = "Raw", r.VNode = "VNode", r))(w || {});
15
+ const he = [
16
16
  "$el",
17
17
  "$emit",
18
18
  "$nextTick",
@@ -24,7 +24,7 @@ const fe = [
24
24
  "$props",
25
25
  "$options",
26
26
  "$forceUpdate"
27
- ], ts = [
27
+ ], is = [
28
28
  "beforeCreate",
29
29
  "created",
30
30
  "beforeMount",
@@ -38,7 +38,7 @@ const fe = [
38
38
  "renderTriggered",
39
39
  "activated",
40
40
  "deactivated"
41
- ], Ye = [
41
+ ], Ze = [
42
42
  "vIf",
43
43
  "vElseIf",
44
44
  "vElse",
@@ -47,7 +47,7 @@ const fe = [
47
47
  "vFor",
48
48
  "vBind",
49
49
  "vHtml"
50
- ], Qe = {
50
+ ], et = {
51
51
  String,
52
52
  Number,
53
53
  Boolean,
@@ -55,65 +55,65 @@ const fe = [
55
55
  Object,
56
56
  Function,
57
57
  Date
58
- }, M = "VtjPage", N = "VtjHomepage", Xe = "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(
58
+ }, M = "VtjPage", N = "VtjHomepage", tt = "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(
59
59
  ","
60
- ), Ze = "component,slot".split(",");
60
+ ), st = "component,slot".split(",");
61
61
  function O(r, e) {
62
- return r.map((t) => Be(t) || t.startsWith("/") ? t : `${e}${t}`);
62
+ return r.map((t) => Le(t) || t.startsWith("/") ? t : `${e}${t}`);
63
63
  }
64
- function L(r) {
64
+ function q(r) {
65
65
  return /\.css$/.test(r);
66
66
  }
67
- function q(r) {
67
+ function J(r) {
68
68
  return /\.js$/.test(r);
69
69
  }
70
- function et(r) {
70
+ function rt(r) {
71
71
  return /\.json$/.test(r);
72
72
  }
73
- function ss(r) {
73
+ function os(r) {
74
74
  return r.map(
75
75
  (e) => `<script src="${C.append(e, { v: I })}"><\/script>`
76
76
  ).join("");
77
77
  }
78
- function rs(r = []) {
78
+ function as(r = []) {
79
79
  return r.map(
80
80
  (e) => `<link rel="stylesheet" href="${C.append(e, { v: I })}" />`
81
81
  ).join("");
82
82
  }
83
- function tt(r, e = !1) {
83
+ function nt(r, e = !1) {
84
84
  return e && r.endsWith(".prod.js") ? r.replace(".prod.js", ".js") : r;
85
85
  }
86
- function st(r, e, t = !1) {
86
+ function it(r, e, t = !1) {
87
87
  const s = r.filter((h) => !!h.enabled), n = [], i = [], a = [], o = [], p = {}, c = {}, u = [], l = {};
88
88
  return s.forEach(
89
- ({ urls: h, assetsUrl: f, library: d, assetsLibrary: m, localeLibrary: v }) => {
89
+ ({ urls: h, assetsUrl: f, library: d, assetsLibrary: m, localeLibrary: y }) => {
90
90
  h?.forEach((g) => {
91
- q(g) && n.push(tt(g, t)), L(g) && i.push(g);
92
- }), d && (o.push(d), p[d] = O(h || [], e), v && (c[d] = v)), f && a.push(f), m && u.push(m), d && m && (l[m] = d);
91
+ J(g) && n.push(nt(g, t)), q(g) && i.push(g);
92
+ }), d && (o.push(d), p[d] = O(h || [], e), y && (c[d] = y)), f && a.push(f), m && u.push(m), d && m && (l[m] = d);
93
93
  }
94
94
  ), {
95
95
  scripts: O(n, e),
96
96
  css: O(i, e),
97
97
  materials: O(a, e),
98
98
  libraryExports: o,
99
- materialExports: Ue(u),
99
+ materialExports: qe(u),
100
100
  materialMapLibrary: l,
101
101
  libraryMap: p,
102
102
  libraryLocaleMap: c
103
103
  };
104
104
  }
105
- function rt(r, e) {
105
+ function ot(r, e) {
106
106
  const { name: t, parent: s, alias: n } = r;
107
107
  return s ? e[s]?.[n || t] : e[n || t];
108
108
  }
109
- function nt(r = []) {
110
- const e = r.filter((s) => L(s)), t = r.filter((s) => q(s));
109
+ function at(r = []) {
110
+ const e = r.filter((s) => q(s)), t = r.filter((s) => J(s));
111
111
  return {
112
112
  css: e,
113
113
  js: t
114
114
  };
115
115
  }
116
- function it(r, e) {
116
+ function ct(r, e) {
117
117
  const t = (c) => {
118
118
  const u = [];
119
119
  let l = 0;
@@ -133,22 +133,22 @@ function it(r, e) {
133
133
  const g = l;
134
134
  for (; l < c.length && c[l] !== "{" && c[l] !== ";"; )
135
135
  l++;
136
- const $ = c.substring(g, l).trim(), w = $.includes("@keyframes");
136
+ const $ = c.substring(g, l).trim(), v = $.includes("@keyframes");
137
137
  if (c[l] === ";")
138
138
  u.push({
139
139
  type: "simple-at-rule",
140
140
  content: c.substring(g, l + 1)
141
141
  }), l++;
142
142
  else if (c[l] === "{") {
143
- const J = l + 1;
143
+ const K = l + 1;
144
144
  let A = 1;
145
145
  for (l++; l < c.length && A > 0; )
146
146
  c[l] === "{" ? A++ : c[l] === "}" && A--, l++;
147
- const K = c.substring(g, l), E = c.substring(J, l - 1);
147
+ const z = c.substring(g, l), E = c.substring(K, l - 1);
148
148
  u.push({
149
- type: w ? "keyframes" : "at-rule",
149
+ type: v ? "keyframes" : "at-rule",
150
150
  rule: $,
151
- content: K,
151
+ content: z,
152
152
  inner: E
153
153
  });
154
154
  }
@@ -167,11 +167,11 @@ function it(r, e) {
167
167
  let m = 1;
168
168
  for (l++; l < c.length && m > 0; )
169
169
  c[l] === "{" ? m++ : c[l] === "}" && m--, l++;
170
- const v = c.substring(d, l - 1);
170
+ const y = c.substring(d, l - 1);
171
171
  u.push({
172
172
  type: "rule",
173
173
  selector: f,
174
- content: v.trim()
174
+ content: y.trim()
175
175
  });
176
176
  }
177
177
  return u;
@@ -227,11 +227,11 @@ function it(r, e) {
227
227
  });
228
228
  }
229
229
  }
230
- function Se(r) {
230
+ function $e(r) {
231
231
  return P(r) ? r : JSON.stringify(r);
232
232
  }
233
- function $e(r, e, t, s = !1) {
234
- const n = r.CSSStyleSheet, i = s ? `data-v-${e}` : e, a = s ? it(t, i) : t;
233
+ function je(r, e, t, s = !1) {
234
+ const n = r.CSSStyleSheet, i = s ? `data-v-${e}` : e, a = s ? ct(t, i) : t;
235
235
  if (n.prototype.replaceSync) {
236
236
  const o = new n();
237
237
  o.id = e, o.replaceSync(a);
@@ -245,11 +245,11 @@ function $e(r, e, t, s = !1) {
245
245
  p ? p.innerHTML = a : (p = o.createElement("style"), p.id = e, p.innerHTML = a, o.head.appendChild(p));
246
246
  }
247
247
  }
248
- async function ot(r, e) {
248
+ async function lt(r, e) {
249
249
  const t = await window.fetch(e).then((s) => s.text()).catch(() => "");
250
- t && $e(window, r, t);
250
+ t && je(window, r, t);
251
251
  }
252
- function je(r, e = window) {
252
+ function Ee(r, e = window) {
253
253
  const t = e.document, s = e.document.head;
254
254
  for (const n of r)
255
255
  if (!t.getElementById(n)) {
@@ -257,7 +257,7 @@ function je(r, e = window) {
257
257
  a.rel = "stylesheet", a.id = n, a.href = n, s.appendChild(a);
258
258
  }
259
259
  }
260
- async function Ee(r, e, t = window) {
260
+ async function be(r, e, t = window) {
261
261
  const s = t.document, n = t.document.head;
262
262
  let i = t[e];
263
263
  return i ? i.default || i : new Promise((a, o) => {
@@ -271,14 +271,14 @@ async function Ee(r, e, t = window) {
271
271
  }
272
272
  });
273
273
  }
274
- function at(r) {
275
- return Y(r) || Y(r?.install);
274
+ function ut(r) {
275
+ return U(r) || U(r?.install);
276
276
  }
277
- function ct(r) {
278
- return Ze.includes(r);
277
+ function pt(r) {
278
+ return st.includes(r);
279
279
  }
280
- function lt(r) {
281
- return Xe.includes(r);
280
+ function ft(r) {
281
+ return tt.includes(r);
282
282
  }
283
283
  function D(r = window) {
284
284
  const e = window?.Mock;
@@ -287,7 +287,7 @@ function D(r = window) {
287
287
  if (t && window)
288
288
  return window.Mock = t, t;
289
289
  }
290
- function ns(r, e, t) {
290
+ function cs(r, e, t) {
291
291
  Object.assign(e.meta, t.meta);
292
292
  const s = r?._container;
293
293
  t?.type === "page" && s.classList.add("is-page"), t?.pure && s.classList.add("is-pure");
@@ -323,13 +323,13 @@ function S(r) {
323
323
  function H(r) {
324
324
  return typeof r == "object" && r && r.type === "JSFunction";
325
325
  }
326
- function ut(r) {
326
+ function dt(r) {
327
327
  return S(r) || H(r);
328
328
  }
329
- function is(r) {
330
- return ut(r) ? r.value : JSON.stringify(r);
329
+ function ls(r) {
330
+ return dt(r) ? r.value : JSON.stringify(r);
331
331
  }
332
- const pt = {
332
+ const ht = {
333
333
  session: !1,
334
334
  authKey: "Authorization",
335
335
  storageKey: "ACCESS_STORAGE",
@@ -342,14 +342,14 @@ const pt = {
342
342
  noPermissionMessage: "无权限访问该页面",
343
343
  appName: "",
344
344
  statusKey: "code"
345
- }, be = Symbol("access");
346
- class Pe {
345
+ }, Pe = Symbol("access");
346
+ class Re {
347
347
  options;
348
348
  data = null;
349
- mode = _.Raw;
349
+ mode = w.Raw;
350
350
  interceptResponse = !0;
351
351
  constructor(e) {
352
- this.options = Object.assign({}, pt, e), this.loadData();
352
+ this.options = Object.assign({}, ht, e), this.loadData();
353
353
  }
354
354
  enableIntercept() {
355
355
  this.interceptResponse = !0;
@@ -359,21 +359,21 @@ class Pe {
359
359
  }
360
360
  connect(e) {
361
361
  const { mode: t, router: s, request: n } = e;
362
- this.mode = t, s && this.mode === _.Raw && this.setGuard(s), n && this.setRequest(n);
362
+ this.mode = t, s && this.mode === w.Raw && this.setGuard(s), n && this.setRequest(n);
363
363
  }
364
364
  login(e) {
365
365
  const { storageKey: t, storagePrefix: s, session: n, authKey: i } = this.options;
366
- this.setData(e), this.data && (V.save(t, e, {
366
+ this.setData(e), this.data && (W.save(t, e, {
367
367
  type: "local",
368
368
  prefix: s
369
- }), n && W.set(i, this.data.token));
369
+ }), n && G.set(i, this.data.token));
370
370
  }
371
371
  clear() {
372
372
  const { storageKey: e, storagePrefix: t, session: s, authKey: n } = this.options;
373
- this.data = null, V.remove(e, {
373
+ this.data = null, W.remove(e, {
374
374
  type: "local",
375
375
  prefix: t
376
- }), s && W.remove(n);
376
+ }), s && G.remove(n);
377
377
  }
378
378
  logout() {
379
379
  this.clear(), this.toLogin();
@@ -386,14 +386,14 @@ class Pe {
386
386
  }
387
387
  can(e) {
388
388
  const { appName: t } = this.options, { permissions: s = {} } = this.data || {};
389
- return typeof e == "function" ? e(s) : ae(e).every((i) => s[i] || s[t + "." + i]);
389
+ return typeof e == "function" ? e(s) : le(e).every((i) => s[i] || s[t + "." + i]);
390
390
  }
391
391
  some(e) {
392
392
  const { appName: t } = this.options, { permissions: s = {} } = this.data || {};
393
- return ae(e).some((i) => s[i] || s[t + "." + i]);
393
+ return le(e).some((i) => s[i] || s[t + "." + i]);
394
394
  }
395
395
  install(e) {
396
- e.config.globalProperties.$access = this, e.provide(be, this);
396
+ e.config.globalProperties.$access = this, e.provide(Pe, this);
397
397
  }
398
398
  isAuthPath(e) {
399
399
  const { auth: t, isAuth: s } = this.options;
@@ -414,7 +414,7 @@ class Pe {
414
414
  setData(e) {
415
415
  const { privateKey: t } = this.options;
416
416
  if (Array.isArray(e) && t) {
417
- const s = e.map((n) => ce(n, t));
417
+ const s = e.map((n) => ue(n, t));
418
418
  try {
419
419
  this.data = JSON.parse(s.join(""));
420
420
  } catch (n) {
@@ -424,7 +424,7 @@ class Pe {
424
424
  }
425
425
  if (typeof e == "string")
426
426
  try {
427
- const s = t ? ce(e, t) : e;
427
+ const s = t ? ue(e, t) : e;
428
428
  s ? this.data = JSON.parse(s) : console.warn("RSA解密失败或登录信息缺失");
429
429
  } catch (s) {
430
430
  console.warn(s);
@@ -433,7 +433,7 @@ class Pe {
433
433
  this.data = e;
434
434
  }
435
435
  loadData() {
436
- const { storageKey: e, storagePrefix: t } = this.options, s = V.get(e, {
436
+ const { storageKey: e, storagePrefix: t } = this.options, s = W.get(e, {
437
437
  type: "local",
438
438
  prefix: t
439
439
  });
@@ -441,7 +441,7 @@ class Pe {
441
441
  }
442
442
  isLogined() {
443
443
  const { session: e, authKey: t } = this.options;
444
- return e && t ? !!W.get(t) : !!this.getToken();
444
+ return e && t ? !!G.get(t) : !!this.getToken();
445
445
  }
446
446
  hasRoutePermission(e) {
447
447
  if (e.name === M) {
@@ -461,7 +461,7 @@ class Pe {
461
461
  return t();
462
462
  {
463
463
  const { noPermissionMessage: s = "无权限访问", unauthorized: n = !1 } = this.options;
464
- return await this.showTip(s), Y(n) ? (n(), t(!1)) : P(n) ? t(n) : t(!1);
464
+ return await this.showTip(s), U(n) ? (n(), t(!1)) : P(n) ? t(n) : t(!1);
465
465
  }
466
466
  }
467
467
  t(!1), this.toLogin();
@@ -480,7 +480,7 @@ class Pe {
480
480
  }
481
481
  async showTip(e) {
482
482
  const { alert: t } = this.options;
483
- return t ? (await me(150), await t(e, {
483
+ return t ? (await ne(150), await t(e, {
484
484
  title: "提示",
485
485
  type: "warning"
486
486
  }).catch(() => !1)) : !1;
@@ -496,10 +496,10 @@ class Pe {
496
496
  );
497
497
  }
498
498
  }
499
- function ft() {
500
- return ye(be, null);
499
+ function mt() {
500
+ return _e(Pe, null);
501
501
  }
502
- function os(r = {}) {
502
+ function us(r = {}) {
503
503
  const {
504
504
  notify: e,
505
505
  loading: t,
@@ -511,7 +511,7 @@ function os(r = {}) {
511
511
  } = r;
512
512
  let p = null;
513
513
  return {
514
- request: ge({
514
+ request: ve({
515
515
  settings: {
516
516
  type: "form",
517
517
  validSuccess: !0,
@@ -531,18 +531,18 @@ function os(r = {}) {
531
531
  ...s
532
532
  }
533
533
  }),
534
- jsonp: ve,
534
+ jsonp: ye,
535
535
  notify: e,
536
536
  loading: t,
537
537
  useTitle: a,
538
538
  startupComponent: n,
539
- access: i ? new Pe({ alert: o, ...i }) : void 0
539
+ access: i ? new Re({ alert: o, ...i }) : void 0
540
540
  };
541
541
  }
542
- function as(r = {}) {
543
- return new Pe(r);
542
+ function ps(r = {}) {
543
+ return new Re(r);
544
544
  }
545
- function dt(r, e) {
545
+ function gt(r, e) {
546
546
  const { jsonp: t, request: s } = e;
547
547
  if (r.method === "jsonp")
548
548
  return (n = {}) => t(r.url, {
@@ -558,10 +558,10 @@ function dt(r, e) {
558
558
  headers: n
559
559
  }
560
560
  };
561
- return (a, o) => (delete i.data, s.send(Le(i, o || {}, { data: a })));
561
+ return (a, o) => (delete i.data, s.send(Je(i, o || {}, { data: a })));
562
562
  }
563
563
  }
564
- function ht(r, e) {
564
+ function vt(r, e) {
565
565
  const { metaQuery: t } = e;
566
566
  if (!t) return;
567
567
  const { code: s, queryCode: n } = r;
@@ -573,19 +573,19 @@ function ht(r, e) {
573
573
  return t(s, n, i, a);
574
574
  };
575
575
  }
576
- function mt(r = [], e = [], t) {
576
+ function yt(r = [], e = [], t) {
577
577
  const s = {};
578
578
  for (const n of r)
579
- s[n.id] = dt(n, t);
579
+ s[n.id] = gt(n, t);
580
580
  for (const n of e)
581
- s[n.id] = ht(n, t);
581
+ s[n.id] = vt(n, t);
582
582
  return s;
583
583
  }
584
- async function gt(r = [], e = window) {
584
+ async function _t(r = [], e = window) {
585
585
  const t = D(e);
586
- t && (Re(e), r.forEach((s) => yt(t, s)));
586
+ t && (Ce(e), r.forEach((s) => St(t, s)));
587
587
  }
588
- function vt(r, e = window) {
588
+ function wt(r, e = window) {
589
589
  const t = H(r.mockTemplate) && r.mockTemplate.value ? ee(r.mockTemplate, {}, !0) : void 0, s = D(e);
590
590
  return async (...n) => {
591
591
  let i = {};
@@ -598,22 +598,22 @@ function vt(r, e = window) {
598
598
  return s?.mock(i);
599
599
  };
600
600
  }
601
- function yt(r, e) {
601
+ function St(r, e) {
602
602
  if (!e.mock) return;
603
603
  const { url: t, mockTemplate: s } = e;
604
604
  if (t && s) {
605
- const n = qe(`${t}(.*)`), i = Je(t, { decode: decodeURIComponent }), a = T(s, {}, !0);
605
+ const n = Ke(`${t}(.*)`), i = ze(t, { decode: decodeURIComponent }), a = T(s, {}, !0);
606
606
  r.mock(n, (o) => {
607
- const p = C.parse(o.url) || {}, c = o.body instanceof FormData ? Ke(o.body) : o.body, u = i(o.url)?.params;
607
+ const p = C.parse(o.url) || {}, c = o.body instanceof FormData ? Ve(o.body) : o.body, u = i(o.url)?.params;
608
608
  return Object.assign(o, { data: c, params: p, query: u }), r.mock(a(o));
609
609
  });
610
610
  }
611
611
  }
612
- function Re(r = window) {
612
+ function Ce(r = window) {
613
613
  const e = D(r);
614
614
  e && (e._mocked = {});
615
615
  }
616
- class _t {
616
+ class $t {
617
617
  __id = null;
618
618
  __mode;
619
619
  __instance = null;
@@ -642,7 +642,7 @@ class _t {
642
642
  const { mode: t, dsl: s, attrs: n } = e;
643
643
  this.__mode = t, s && (this.__id = s.id || null, this.__transform = s.transform || {}), n && Object.assign(this, n);
644
644
  }
645
- setup(e, t = U) {
645
+ setup(e, t = L) {
646
646
  const s = t.getCurrentInstance();
647
647
  if (!s) return;
648
648
  this.__refs = {}, this.$refs = {}, this.context = {}, this.__contextRefs = {}, this.__instance = s.proxy;
@@ -656,12 +656,12 @@ class _t {
656
656
  });
657
657
  }
658
658
  __proxy() {
659
- this.__instance && fe.forEach((e) => {
659
+ this.__instance && he.forEach((e) => {
660
660
  this[e] = this.__instance?.[e];
661
661
  });
662
662
  }
663
663
  __cleanup() {
664
- fe.forEach((e) => {
664
+ he.forEach((e) => {
665
665
  this[e] = null;
666
666
  }), this.__reset();
667
667
  }
@@ -670,7 +670,7 @@ class _t {
670
670
  }
671
671
  __parseFunction(e) {
672
672
  if (e)
673
- if (this.__mode === _.Runtime) {
673
+ if (this.__mode === w.Runtime) {
674
674
  const { id: t, type: s } = e, n = t ? this.__transform[t] ?? e.value : e.value;
675
675
  return ee({ type: s, value: n }, this);
676
676
  } else
@@ -678,22 +678,22 @@ class _t {
678
678
  }
679
679
  __parseExpression(e) {
680
680
  if (e)
681
- if (this.__mode === _.Runtime) {
681
+ if (this.__mode === w.Runtime) {
682
682
  const { id: t, type: s } = e, n = t ? this.__transform[t] ?? e.value : e.value;
683
683
  return T({ type: s, value: n }, this);
684
684
  } else
685
685
  return T(e, this);
686
686
  }
687
687
  __ref(e = null, t) {
688
- if (this.__mode !== _.VNode)
688
+ if (this.__mode !== w.VNode)
689
689
  return e && e !== this.__id && (this.__contextRefs[e] = this), async (s) => {
690
- await me(0);
690
+ await ne(0);
691
691
  let n = s?.$vtjEl || s?.$el || s?._?.vnode?.el || s;
692
692
  if (!n) {
693
693
  typeof t == "string" && (delete this.$refs[t], e && delete this.__refs[e]);
694
694
  return;
695
695
  }
696
- return n.nodeType === 3 && n.nextSibling && (n = n.nextSibling), n.__vtj__ = e, _.Design === this.__mode && (n.__context__ = this, n.draggable = !0), e && (this.__refs[e] = this.__getRefEl(this.__refs, e, s)), typeof t == "function" ? t(s) : t && (this.$refs[t] = this.__getRefEl(this.$refs, t, s)), s;
696
+ return n.nodeType === 3 && n.nextSibling && (n = n.nextSibling), n.__vtj__ = e, w.Design === this.__mode && (n.__context__ = this, n.draggable = !0), e && (this.__refs[e] = this.__getRefEl(this.__refs, e, s)), typeof t == "function" ? t(s) : t && (this.$refs[t] = this.__getRefEl(this.$refs, t, s)), s;
697
697
  };
698
698
  }
699
699
  __getRefEl(e, t, s) {
@@ -714,8 +714,8 @@ class _t {
714
714
  }
715
715
  function te(r) {
716
716
  const {
717
- Vue: e = U,
718
- mode: t = _.Runtime,
717
+ Vue: e = L,
718
+ mode: t = w.Runtime,
719
719
  components: s = {},
720
720
  libs: n = {},
721
721
  apis: i = {},
@@ -724,7 +724,7 @@ function te(r) {
724
724
  $components: s,
725
725
  $libs: n,
726
726
  $apis: i
727
- }, c = new _t({
727
+ }, c = new $t({
728
728
  mode: t,
729
729
  dsl: o.value,
730
730
  attrs: p
@@ -732,32 +732,32 @@ function te(r) {
732
732
  name: o.value.name,
733
733
  __scopeId: o.value.id ? `data-v-${o.value.id}` : void 0,
734
734
  props: {
735
- ...St(o.value.props ?? [], c)
735
+ ...Et(o.value.props ?? [], c)
736
736
  },
737
737
  setup(l) {
738
- c.$props = l, c.props = l, o.value.id && $e(
738
+ c.$props = l, c.props = l, o.value.id && je(
739
739
  r.window || window,
740
740
  o.value.id,
741
741
  o.value.css || "",
742
742
  !0
743
- ), c.state = $t(e, o.value.state ?? {}, c);
744
- const h = jt(e, o.value.computed ?? {}, c), f = Et(o.value.methods ?? {}, c), d = bt(e, o.value.inject, c);
743
+ ), c.state = bt(e, o.value.state ?? {}, c);
744
+ const h = Pt(e, o.value.computed ?? {}, c), f = Rt(o.value.methods ?? {}, c), d = Ct(e, o.value.inject, c);
745
745
  for (const [g, $] of Object.entries(d || {}))
746
746
  d[g] = e.inject(g, $);
747
- const m = Pt(
747
+ const m = kt(
748
748
  o.value.dataSources || {},
749
749
  c
750
- ), v = {
750
+ ), y = {
751
751
  ...d,
752
752
  ...h,
753
753
  ...f,
754
754
  ...m
755
755
  };
756
- return c.setup(v, e), Rt(e, o.value.watch ?? [], c), {
756
+ return c.setup(y, e), Ft(e, o.value.watch ?? [], c), {
757
757
  vtj: c
758
758
  };
759
759
  },
760
- emits: wt(o.value.emits),
760
+ emits: jt(o.value.emits),
761
761
  expose: ["vtj"],
762
762
  render() {
763
763
  if (!o.value.nodes) return null;
@@ -766,18 +766,18 @@ function te(r) {
766
766
  (h) => F(h, c, e, a, l)
767
767
  );
768
768
  },
769
- ...Ct(o.value.lifeCycles ?? {}, c)
769
+ ...At(o.value.lifeCycles ?? {}, c)
770
770
  });
771
771
  return {
772
772
  renderer: e.markRaw(u),
773
773
  context: c
774
774
  };
775
775
  }
776
- function wt(r = []) {
776
+ function jt(r = []) {
777
777
  return r.map((e) => P(e) ? e : e.name);
778
778
  }
779
- function St(r = [], e) {
780
- const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((i) => Qe[i]) : void 0;
779
+ function Et(r = [], e) {
780
+ const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((i) => et[i]) : void 0;
781
781
  return r.map((s) => P(s) ? {
782
782
  name: s
783
783
  } : {
@@ -794,7 +794,7 @@ function St(r = [], e) {
794
794
  {}
795
795
  );
796
796
  }
797
- function $t(r, e, t) {
797
+ function bt(r, e, t) {
798
798
  return r.reactive(
799
799
  Object.keys(e || {}).reduce(
800
800
  (s, n) => {
@@ -805,19 +805,19 @@ function $t(r, e, t) {
805
805
  )
806
806
  );
807
807
  }
808
- function jt(r, e, t) {
808
+ function Pt(r, e, t) {
809
809
  return Object.entries(e ?? {}).reduce(
810
810
  (s, [n, i]) => (s[n] = r.computed(t.__parseFunction(i)), s),
811
811
  {}
812
812
  );
813
813
  }
814
- function Et(r, e) {
814
+ function Rt(r, e) {
815
815
  return Object.entries(r ?? {}).reduce(
816
816
  (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
817
817
  {}
818
818
  );
819
819
  }
820
- function bt(r, e = [], t) {
820
+ function Ct(r, e = [], t) {
821
821
  return e.reduce(
822
822
  (s, n) => {
823
823
  const { name: i, from: a } = n || {};
@@ -828,12 +828,12 @@ function bt(r, e = [], t) {
828
828
  {}
829
829
  );
830
830
  }
831
- function Pt(r, e) {
831
+ function kt(r, e) {
832
832
  return Object.keys(r).reduce(
833
833
  (t, s) => {
834
834
  const n = r[s];
835
835
  if (n.type === "mock")
836
- t[s] = vt(n);
836
+ t[s] = wt(n);
837
837
  else if (n.ref) {
838
838
  const i = e.$apis[n.ref], a = H(n.transform) ? n.transform.value ? e.__parseFunction(n.transform) : void 0 : n.transform;
839
839
  t[s] = async (...o) => {
@@ -846,7 +846,7 @@ function Pt(r, e) {
846
846
  {}
847
847
  );
848
848
  }
849
- function Rt(r, e = [], t) {
849
+ function Ft(r, e = [], t) {
850
850
  e.forEach((s) => {
851
851
  r.watch(
852
852
  t.__parseExpression(s.source),
@@ -858,36 +858,45 @@ function Rt(r, e = [], t) {
858
858
  );
859
859
  });
860
860
  }
861
- function Ct(r, e) {
861
+ function At(r, e) {
862
862
  return Object.entries(r ?? {}).reduce(
863
- (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
863
+ (t, [s, n]) => {
864
+ const i = e.__parseFunction(n);
865
+ return t[s] = async () => {
866
+ await ne(0), U(i) && i();
867
+ }, t;
868
+ },
864
869
  {}
865
870
  );
866
871
  }
867
- let G = [], R = {};
868
- const kt = (r) => r;
869
- async function Ce(r, e = window) {
870
- const { urls: t = [], library: s } = r, n = t.filter((o) => q(o));
872
+ const It = new We();
873
+ let Q = [], R = {};
874
+ const Mt = (r) => r;
875
+ async function ke(r, e = window) {
876
+ const { urls: t = [], library: s } = r, n = t.filter((o) => J(o));
871
877
  if (n.length === 0 || !s) return null;
872
- const i = t.filter((o) => L(o));
873
- return i.length && je(i, e), await Ee(n, s, e).catch(
878
+ const i = t.filter((o) => q(o));
879
+ return i.length && Ee(i, e), await be(n, s, e).catch(
874
880
  (o) => (console.warn("loadScriptUrl error", n, s, o), null)
875
881
  );
876
882
  }
877
883
  function se(r) {
878
884
  const { getDsl: e, getDslByUrl: t, options: s } = r;
879
- return s.window && (G.forEach((n) => {
885
+ return s.window && (Q.forEach((n) => {
880
886
  delete s.window[n];
881
- }), G = []), (n, i, a = U) => {
887
+ }), Q = []), (n, i, a = L) => {
882
888
  if (!i || typeof i == "string") return n;
883
889
  if (i.type === "Schema" && i.id)
884
890
  return a.defineAsyncComponent(async () => {
885
- const o = R[i.id] || await e(i.id);
891
+ const o = R[i.id] || await It.add(
892
+ i.id,
893
+ () => e(i.id)
894
+ );
886
895
  return o && (o.name = n, R[i.id] = o), o ? te({
887
896
  ...s,
888
897
  Vue: a,
889
- dsl: le(o),
890
- mode: _.Runtime,
898
+ dsl: pe(o),
899
+ mode: w.Runtime,
891
900
  loader: se(r)
892
901
  }).renderer : null;
893
902
  });
@@ -897,16 +906,16 @@ function se(r) {
897
906
  return o && (o.name = n, R[i.url] = o), o ? te({
898
907
  ...s,
899
908
  Vue: a,
900
- dsl: le(o),
901
- mode: _.Runtime,
909
+ dsl: pe(o),
910
+ mode: w.Runtime,
902
911
  loader: se(r)
903
912
  }).renderer : null;
904
913
  });
905
914
  if (i.type === "Plugin") {
906
915
  let o = i.library ? R[i.library] : null;
907
- return o || (i.library && G.push(i.library), o = R[i.library || Symbol()] = a.defineAsyncComponent(
916
+ return o || (i.library && Q.push(i.library), o = R[i.library || Symbol()] = a.defineAsyncComponent(
908
917
  async () => {
909
- const p = await Ce(i, s.window);
918
+ const p = await ke(i, s.window);
910
919
  return p || (console.warn("getPlugin result is null", i), null);
911
920
  }
912
921
  ), o);
@@ -914,50 +923,50 @@ function se(r) {
914
923
  return n;
915
924
  };
916
925
  }
917
- function cs() {
926
+ function fs() {
918
927
  R = {};
919
928
  }
920
- function F(r, e, t = U, s = kt, n = [], i = !1) {
929
+ function F(r, e, t = L, s = Mt, n = [], i = !1) {
921
930
  if (!r || !r.name || r.invisible) return null;
922
- const a = t.getCurrentInstance()?.appContext, { id: o = null, directives: p = [] } = r, { vIf: c, vElseIf: u, vElse: l, vFor: h, vShow: f, vModels: d, vBind: m, vHtml: v, others: g } = ke(p);
931
+ const a = t.getCurrentInstance()?.appContext, { id: o = null, directives: p = [] } = r, { vIf: c, vElseIf: u, vElse: l, vFor: h, vShow: f, vModels: d, vBind: m, vHtml: y, others: g } = Fe(p);
923
932
  if (!i && (u || l))
924
933
  return null;
925
- if (c && !At(c, e))
926
- return Tt(r, e, t, s, n);
927
- const $ = (w, J = 0) => {
928
- const A = w.$components, K = (() => {
934
+ if (c && !Tt(c, e))
935
+ return Nt(r, e, t, s, n);
936
+ const $ = (v, K = 0) => {
937
+ const A = v.$components, z = (() => {
929
938
  if (r.name === "component")
930
- return It(w, r.props?.is);
939
+ return Ht(v, r.props?.is);
931
940
  if (r.name === "slot") return r.name;
932
941
  const j = s(r.name, r.from, t);
933
- return P(j) ? ct(j) || lt(j) ? j : A[j] ?? a?.app?.component(j) ?? j : j;
934
- })(), E = Mt(o, r.props ?? {}, w), He = Dt(t, r.events ?? {}, w);
942
+ return P(j) ? pt(j) || ft(j) ? j : A[j] ?? a?.app?.component(j) ?? j : j;
943
+ })(), E = Ot(o, r.props ?? {}, v), Oe = xt(t, r.events ?? {}, v);
935
944
  if (r.name === "slot")
936
- return Ht(t, r, E, w, s);
937
- m && Object.assign(E, w.__parseExpression(m.value)), f && (E.style = Object.assign(
945
+ return Bt(t, r, E, v, s);
946
+ m && Object.assign(E, v.__parseExpression(m.value)), f && (E.style = Object.assign(
938
947
  E.style ?? {},
939
- xt(f, w)
940
- )), v && Object.assign(E, Nt(v, w)), d.forEach((j) => {
941
- Object.assign(E, Bt(t, j, w));
948
+ Lt(f, v)
949
+ )), y && Object.assign(E, qt(y, v)), d.forEach((j) => {
950
+ Object.assign(E, Jt(t, j, v));
942
951
  });
943
- const Oe = Ut(
952
+ const xe = Kt(
944
953
  t,
945
954
  r.children ?? [],
946
- w,
955
+ v,
947
956
  s,
948
957
  r
958
+ ), ae = v?.__id ? `data-v-${v.__id}` : void 0, Ne = ae ? { [ae]: "" } : {};
959
+ let V = t.createVNode(
960
+ z,
961
+ { key: `${o}_${K}`, ...Ne, ...E, ...Oe },
962
+ xe
949
963
  );
950
- let z = t.createVNode(
951
- K,
952
- { key: `${o}_${J}`, ...E, ...He },
953
- Oe
954
- );
955
- const oe = a ? Ft(a, g, w) : [];
956
- return oe.length && (z = t.withDirectives(z, oe)), z;
964
+ const ce = a ? Dt(a, g, v) : [];
965
+ return ce.length && (V = t.withDirectives(V, ce)), V;
957
966
  };
958
- return h ? Jt(h, $, e) : $(e);
967
+ return h ? Wt(h, $, e) : $(e);
959
968
  }
960
- function Ft(r, e, t) {
969
+ function Dt(r, e, t) {
961
970
  const s = r.app;
962
971
  return e.map((n) => {
963
972
  const i = typeof n.name == "string" ? s.directive(n.name) : t.__parseExpression(n.name);
@@ -966,13 +975,13 @@ function Ft(r, e, t) {
966
975
  return n.value && a.push(t.__parseExpression(n.value)), n.arg && a.push(n.arg), n.modifiers && a.push(n.modifiers), a;
967
976
  }).filter((n) => !!n);
968
977
  }
969
- function ke(r = []) {
978
+ function Fe(r = []) {
970
979
  const e = r.find((u) => b(u.name) === "vIf"), t = r.find(
971
980
  (u) => b(u.name) === "vElseIf"
972
981
  ), s = r.find((u) => b(u.name) === "vElse"), n = r.find((u) => b(u.name) === "vFor"), i = r.find((u) => b(u.name) === "vShow"), a = r.find((u) => b(u.name) === "vBind"), o = r.find((u) => b(u.name) === "vHtml"), p = r.filter(
973
982
  (u) => b(u.name) === "vModel"
974
983
  ), c = r.filter(
975
- (u) => !Ye.includes(b(u.name))
984
+ (u) => !Ze.includes(b(u.name))
976
985
  );
977
986
  return {
978
987
  vIf: e,
@@ -986,13 +995,13 @@ function ke(r = []) {
986
995
  vHtml: o
987
996
  };
988
997
  }
989
- function At(r, e) {
998
+ function Tt(r, e) {
990
999
  return !!e.__parseExpression(r.value);
991
1000
  }
992
- function It(r, e) {
1001
+ function Ht(r, e) {
993
1002
  return e ? S(e) ? r.__parseExpression(e) : e : "div";
994
1003
  }
995
- function Mt(r, e, t) {
1004
+ function Ot(r, e, t) {
996
1005
  const s = re(e, t);
997
1006
  return s.ref = t.__ref(r, s.ref), s;
998
1007
  }
@@ -1005,7 +1014,7 @@ function re(r, e) {
1005
1014
  {}
1006
1015
  ) : r;
1007
1016
  }
1008
- function Dt(r, e, t) {
1017
+ function xt(r, e, t) {
1009
1018
  const s = ["passive", "capture", "once"], n = {
1010
1019
  capture: "Capture",
1011
1020
  once: "Once",
@@ -1013,16 +1022,16 @@ function Dt(r, e, t) {
1013
1022
  };
1014
1023
  return Object.keys(e || {}).reduce(
1015
1024
  (i, a) => {
1016
- const o = e[a], p = Fe(o.modifiers), c = p.find((h) => s.includes(h)), u = "on" + ze(a) + (c && n[c] || ""), l = t.__parseFunction(o.handler);
1025
+ const o = e[a], p = Ae(o.modifiers), c = p.find((h) => s.includes(h)), u = "on" + Ge(a) + (c && n[c] || ""), l = t.__parseFunction(o.handler);
1017
1026
  return l && (i[u] = r.withModifiers(l, p)), i;
1018
1027
  },
1019
1028
  {}
1020
1029
  );
1021
1030
  }
1022
- function Tt(r, e, t, s, n = []) {
1031
+ function Nt(r, e, t, s, n = []) {
1023
1032
  let i = n.findIndex((a) => a.id === r.id);
1024
1033
  for (let a = ++i; a < n.length; a++) {
1025
- const { directives: o = [] } = n[a], { vElseIf: p, vElse: c } = ke(o);
1034
+ const { directives: o = [] } = n[a], { vElseIf: p, vElse: c } = Fe(o);
1026
1035
  if (p) {
1027
1036
  if (e.__parseExpression(p.value))
1028
1037
  return F(n[a], e, t, s, n, !0);
@@ -1033,42 +1042,42 @@ function Tt(r, e, t, s, n = []) {
1033
1042
  }
1034
1043
  return null;
1035
1044
  }
1036
- function Fe(r = {}, e = !1) {
1045
+ function Ae(r = {}, e = !1) {
1037
1046
  const t = Object.keys(r);
1038
1047
  return e ? t.map((s) => "." + s) : t;
1039
1048
  }
1040
- function Ht(r, e, t, s, n) {
1041
- const { children: i } = e, a = Ot(e, s), o = s.$slots?.[a.name];
1049
+ function Bt(r, e, t, s, n) {
1050
+ const { children: i } = e, a = Ut(e, s), o = s.$slots?.[a.name];
1042
1051
  return o ? o(t) : i ? P(i) ? r.createTextVNode(i) : S(i) ? r.createTextVNode(
1043
- Se(s.__parseExpression(i))
1052
+ $e(s.__parseExpression(i))
1044
1053
  ) : Array.isArray(i) ? i.map(
1045
1054
  (p) => F(p, s, r, n, i)
1046
1055
  ) : null : null;
1047
1056
  }
1048
- function Ot(r, e) {
1057
+ function Ut(r, e) {
1049
1058
  const { props: t } = r, s = t?.name || "default";
1050
1059
  return {
1051
1060
  name: S(s) ? e.__parseExpression(s) : s,
1052
1061
  params: []
1053
1062
  };
1054
1063
  }
1055
- function xt(r, e) {
1064
+ function Lt(r, e) {
1056
1065
  return e.__parseExpression(r.value) ? {} : {
1057
1066
  display: "none"
1058
1067
  };
1059
1068
  }
1060
- function Nt(r, e) {
1069
+ function qt(r, e) {
1061
1070
  return {
1062
1071
  innerHTML: e.__parseExpression(r.value) || ""
1063
1072
  };
1064
1073
  }
1065
- function Bt(r, e, t) {
1074
+ function Jt(r, e, t) {
1066
1075
  const s = {
1067
1076
  type: "JSFunction",
1068
1077
  value: e.value?.value ? `(v) => {
1069
1078
  ${e.value.value} = v;
1070
1079
  }` : "(v) => {}"
1071
- }, n = t.__parseFunction(s), i = Fe(
1080
+ }, n = t.__parseFunction(s), i = Ae(
1072
1081
  S(e.modifiers) ? t.__parseExpression(e.modifiers) : e.modifiers
1073
1082
  ), a = S(e.arg) ? t.__parseExpression(e.arg) : e.arg || "modelValue";
1074
1083
  return {
@@ -1076,20 +1085,20 @@ function Bt(r, e, t) {
1076
1085
  [`onUpdate:${a}`]: i.length && n ? r.withModifiers(n, i) : n
1077
1086
  };
1078
1087
  }
1079
- function Ut(r, e, t, s, n) {
1088
+ function Kt(r, e, t, s, n) {
1080
1089
  if (!e) return null;
1081
1090
  if (P(e))
1082
1091
  return { default: () => e };
1083
1092
  if (S(e))
1084
1093
  return {
1085
- default: () => Se(t.__parseExpression(e))
1094
+ default: () => $e(t.__parseExpression(e))
1086
1095
  };
1087
1096
  if (Array.isArray(e) && e.length > 0) {
1088
- const i = Lt(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
1097
+ const i = zt(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
1089
1098
  [`scope_${n.id}`]: o
1090
1099
  } : {};
1091
1100
  return Object.entries(i).reduce((o, [p, { nodes: c, params: u }]) => (o[p] = (l) => {
1092
- const h = u.length ? Ve(l ?? {}, u) : a(l);
1101
+ const h = u.length ? Qe(l ?? {}, u) : a(l);
1093
1102
  return c.map(
1094
1103
  (f) => F(f, t.__clone(h), r, s, c)
1095
1104
  );
@@ -1097,10 +1106,10 @@ function Ut(r, e, t, s, n) {
1097
1106
  }
1098
1107
  return null;
1099
1108
  }
1100
- function Lt(r) {
1109
+ function zt(r) {
1101
1110
  const e = {};
1102
1111
  for (const t of r) {
1103
- const s = qt(t.slot), n = s.name;
1112
+ const s = Vt(t.slot), n = s.name;
1104
1113
  e[n] ? (e[n].nodes.push(t), e[n].params = e[n].params.concat(s.params)) : e[n] = {
1105
1114
  nodes: [t],
1106
1115
  params: s.params
@@ -1108,18 +1117,18 @@ function Lt(r) {
1108
1117
  }
1109
1118
  return e;
1110
1119
  }
1111
- function qt(r = "default") {
1120
+ function Vt(r = "default") {
1112
1121
  return P(r) ? { name: r, params: [] } : { params: [], ...r };
1113
1122
  }
1114
- function Jt(r, e, t) {
1123
+ function Wt(r, e, t) {
1115
1124
  const { value: s, iterator: n } = r, { item: i = "item", index: a = "index" } = n || {};
1116
1125
  let o = t.__parseExpression(s) || [];
1117
1126
  return Number.isInteger(o) && (o = new Array(o).fill(!0).map((p, c) => c + 1)), Array.isArray(o) ? o.map((p, c) => e(t.__clone({ [i]: p, [a]: c }), c)) : (console.warn("[vForRender]:", `${s?.value} is not a Arrary`), []);
1118
1127
  }
1119
- const de = _e({
1128
+ const me = we({
1120
1129
  name: "VtjPageContainer",
1121
1130
  async setup() {
1122
- const r = Ie(), e = we(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null, i = Z(Symbol());
1131
+ const r = Me(), e = Se(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null, i = Z(Symbol());
1123
1132
  if (s) {
1124
1133
  Object.assign(e.meta, s.meta || {}, { cache: s.cache });
1125
1134
  const { useTitle: a } = r?.adapter;
@@ -1142,14 +1151,14 @@ const de = _e({
1142
1151
  activated() {
1143
1152
  this.meta.cache === !1 && (this.sid = Symbol());
1144
1153
  }
1145
- }), Kt = _e({
1154
+ }), Gt = we({
1146
1155
  name: "VtjStartupContainer",
1147
1156
  render() {
1148
1157
  return X("div", "page not found!");
1149
1158
  }
1150
- }), Ae = Symbol("Provider");
1151
- var zt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(zt || {});
1152
- class Vt extends xe {
1159
+ }), Ie = Symbol("Provider");
1160
+ var Qt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(Qt || {});
1161
+ class Yt extends Be {
1153
1162
  // DSL缓存
1154
1163
  /**
1155
1164
  * 创建Provider实例
@@ -1159,7 +1168,7 @@ class Vt extends xe {
1159
1168
  super(), this.options = e;
1160
1169
  const {
1161
1170
  service: t,
1162
- mode: s = _.Raw,
1171
+ mode: s = w.Raw,
1163
1172
  dependencies: n,
1164
1173
  materials: i,
1165
1174
  project: a = {},
@@ -1173,7 +1182,7 @@ class Vt extends xe {
1173
1182
  } = e;
1174
1183
  this.mode = s, this.modules = c, this.service = t, this.router = u, this.materialPath = l, this.nodeEnv = h, n && (this.dependencies = n), i && (this.materials = i), Object.assign(this.globals, p), Object.assign(this.adapter, o);
1175
1184
  const { access: f, request: d } = this.adapter;
1176
- f && f.connect({ mode: s, router: u, request: d }), a && s !== _.Design ? this.load(a) : this.project = a;
1185
+ f && f.connect({ mode: s, router: u, request: d }), a && s !== w.Design ? this.load(a) : this.project = a;
1177
1186
  }
1178
1187
  mode;
1179
1188
  // 当前运行模式(设计/源码/预览等)
@@ -1181,7 +1190,7 @@ class Vt extends xe {
1181
1190
  // 全局变量
1182
1191
  modules = {};
1183
1192
  // 异步模块加载器
1184
- adapter = { request: Q, jsonp: ve };
1193
+ adapter = { request: Y, jsonp: ye };
1185
1194
  // 适配器接口
1186
1195
  apis = {};
1187
1196
  // API集合
@@ -1230,7 +1239,7 @@ class Vt extends xe {
1230
1239
  if (this.project = t ? await t() : await this.service.init(e), !this.project)
1231
1240
  throw new Error("project is null");
1232
1241
  const { apis: s = [], meta: n = [] } = this.project, i = window;
1233
- i && (i.CKEDITOR_VERSION = void 0), this.mode === _.Raw ? await this.loadDependencies(i) : await this.loadAssets(i), this.initMock(i), this.apis = mt(s, n, this.adapter), Re(i), gt(s, i), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
1242
+ i && (i.CKEDITOR_VERSION = void 0), this.mode === w.Raw ? await this.loadDependencies(i) : await this.loadAssets(i), this.initMock(i), this.apis = yt(s, n, this.adapter), Ce(i), _t(s, i), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
1234
1243
  }
1235
1244
  initMock(e) {
1236
1245
  const t = D(e);
@@ -1250,7 +1259,7 @@ class Vt extends xe {
1250
1259
  materials: u,
1251
1260
  materialExports: l,
1252
1261
  materialMapLibrary: h
1253
- } = st(
1262
+ } = it(
1254
1263
  t,
1255
1264
  a,
1256
1265
  o === "development"
@@ -1263,26 +1272,26 @@ class Vt extends xe {
1263
1272
  else if (d)
1264
1273
  e[f] = n[f] = await d();
1265
1274
  else {
1266
- const v = c[f] || [];
1267
- for (const g of v)
1268
- L(g) && await ot(f, C.append(g, { v: I })), q(g) && await ue(C.append(g, { v: I }));
1275
+ const y = c[f] || [];
1276
+ for (const g of y)
1277
+ q(g) && await lt(f, C.append(g, { v: I })), J(g) && await fe(C.append(g, { v: I }));
1269
1278
  n[f] = e[f];
1270
1279
  }
1271
1280
  }
1272
1281
  if (o === "development") {
1273
1282
  for (const d of u)
1274
- await ue(C.append(d, { v: I }));
1283
+ await fe(C.append(d, { v: I }));
1275
1284
  const f = this.materials || {};
1276
1285
  for (const d of l) {
1277
- const m = e[h[d]], v = Ne[d];
1278
- if (v)
1279
- m && v.forEach((g) => {
1286
+ const m = e[h[d]], y = Ue[d];
1287
+ if (y)
1288
+ m && y.forEach((g) => {
1280
1289
  i[g] = m[g];
1281
1290
  });
1282
1291
  else {
1283
1292
  const g = f[d] ? (await f[d]()).default : e[d];
1284
1293
  g && m && (g.components || []).forEach(($) => {
1285
- i[$.name] = rt($, m);
1294
+ i[$.name] = ot($, m);
1286
1295
  });
1287
1296
  }
1288
1297
  }
@@ -1298,11 +1307,11 @@ class Vt extends xe {
1298
1307
  } = s, c = a ? "" : "/", u = {
1299
1308
  path: `${c}${o}/:id`,
1300
1309
  name: M,
1301
- component: de
1310
+ component: me
1302
1311
  }, l = {
1303
1312
  path: c,
1304
1313
  name: N,
1305
- component: t?.homepage ? de : n.startupComponent || Kt,
1314
+ component: t?.homepage ? me : n.startupComponent || Gt,
1306
1315
  meta: p
1307
1316
  };
1308
1317
  e.hasRoute(M) && e.removeRoute(M), e.hasRoute(N) && e.removeRoute(N), a ? (e.addRoute(a, u), e.addRoute(a, l)) : (e.addRoute(u), e.addRoute(l));
@@ -1320,8 +1329,8 @@ class Vt extends xe {
1320
1329
  install(e) {
1321
1330
  const t = e.config.globalProperties.installed || {};
1322
1331
  for (const [s, n] of Object.entries(this.library))
1323
- !t[s] && at(n) && (e.use(n), t[s] = !0);
1324
- this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), e.provide(Ae, this), e.config.globalProperties.$provider = this, e.config.globalProperties.installed = t, this.mode === _.Design && (e.config.errorHandler = (s, n, i) => {
1332
+ !t[s] && ut(n) && (e.use(n), t[s] = !0);
1333
+ this.options.install && e.use(this.options.install), this.adapter.access && e.use(this.adapter.access), e.provide(Ie, this), e.config.globalProperties.$provider = this, e.config.globalProperties.installed = t, this.mode === w.Design && (e.config.errorHandler = (s, n, i) => {
1325
1334
  const a = n?.$options.name, o = typeof s == "string" ? s : s?.message || s?.msg || "未知错误", p = `[ ${a} ] ${o} ${i}`;
1326
1335
  console.error(
1327
1336
  "[VTJ Error]:",
@@ -1431,7 +1440,7 @@ class Vt extends xe {
1431
1440
  * @returns Vue异步组件
1432
1441
  */
1433
1442
  defineUrlSchemaComponent(e, t) {
1434
- return pe(async () => {
1443
+ return de(async () => {
1435
1444
  const s = await this.getDslByUrl(e);
1436
1445
  return s ? (s.name = t || s.name, this.createDslRenderer(s).renderer) : null;
1437
1446
  });
@@ -1444,18 +1453,18 @@ class Vt extends xe {
1444
1453
  * @returns Vue异步组件
1445
1454
  */
1446
1455
  definePluginComponent(e) {
1447
- return pe(async () => await Ce(e, window));
1456
+ return de(async () => await ke(e, window));
1448
1457
  }
1449
1458
  }
1450
- function ls(r) {
1451
- const e = new Vt(r);
1459
+ function ds(r) {
1460
+ const e = new Yt(r);
1452
1461
  return {
1453
1462
  provider: e,
1454
1463
  onReady: (s) => e.ready(s)
1455
1464
  };
1456
1465
  }
1457
- function Ie(r = {}) {
1458
- const e = ye(Ae, null);
1466
+ function Me(r = {}) {
1467
+ const e = _e(Ie, null);
1459
1468
  if (!e)
1460
1469
  throw new Error("Can not find provider");
1461
1470
  if (e.nodeEnv === "development") {
@@ -1471,21 +1480,21 @@ function Ie(r = {}) {
1471
1480
  }
1472
1481
  return e;
1473
1482
  }
1474
- async function us(r, e = "") {
1475
- const { name: t, urls: s = [] } = r || {}, n = s.map((o) => e + o), { css: i, js: a } = nt(n);
1476
- if (i.length && je(i), a.length)
1477
- return await Ee(a, t).catch(
1483
+ async function hs(r, e = "") {
1484
+ const { name: t, urls: s = [] } = r || {}, n = s.map((o) => e + o), { css: i, js: a } = at(n);
1485
+ if (i.length && Ee(i), a.length)
1486
+ return await be(a, t).catch(
1478
1487
  () => {
1479
1488
  }
1480
1489
  );
1481
1490
  }
1482
- const Me = {
1491
+ const De = {
1483
1492
  type: "json",
1484
1493
  validSuccess: !0,
1485
1494
  originResponse: !1,
1486
1495
  failMessage: !0,
1487
1496
  validate: (r) => r.data?.code === 0
1488
- }, Wt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1497
+ }, Xt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1489
1498
  url: e,
1490
1499
  method: "post",
1491
1500
  params: { type: t },
@@ -1494,8 +1503,8 @@ const Me = {
1494
1503
  type: t,
1495
1504
  data: s
1496
1505
  },
1497
- settings: Me
1498
- }), Gt = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1506
+ settings: De
1507
+ }), Zt = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1499
1508
  url: e,
1500
1509
  method: "post",
1501
1510
  data: {
@@ -1503,12 +1512,12 @@ const Me = {
1503
1512
  projectId: s
1504
1513
  },
1505
1514
  settings: {
1506
- ...Me,
1515
+ ...De,
1507
1516
  type: "data"
1508
1517
  }
1509
1518
  }).then((n) => n && n[0] ? n[0] : null).catch(() => null);
1510
- function ps(r) {
1511
- return ge({
1519
+ function ms(r) {
1520
+ return ve({
1512
1521
  settings: {
1513
1522
  type: "json",
1514
1523
  validSuccess: !0,
@@ -1521,9 +1530,9 @@ function ps(r) {
1521
1530
  }
1522
1531
  });
1523
1532
  }
1524
- class ie {
1525
- constructor(e = Q) {
1526
- this.req = e, this.api = Wt(e), this.uploader = Gt(e);
1533
+ class oe {
1534
+ constructor(e = Y) {
1535
+ this.req = e, this.api = Xt(e), this.uploader = Zt(e);
1527
1536
  }
1528
1537
  api;
1529
1538
  pluginCaches = {};
@@ -1607,10 +1616,10 @@ class ie {
1607
1616
  return await this.api("clearStaticFiles", e).catch(() => "");
1608
1617
  }
1609
1618
  async getPluginMaterial(e) {
1610
- const { urls: t = [] } = e, s = t.filter((i) => et(i))[0];
1619
+ const { urls: t = [] } = e, s = t.filter((i) => rt(i))[0];
1611
1620
  if (!s) return null;
1612
1621
  const n = this.pluginCaches[s];
1613
- return n || (this.pluginCaches[s] = Q.send({
1622
+ return n || (this.pluginCaches[s] = Y.send({
1614
1623
  url: s,
1615
1624
  method: "get",
1616
1625
  settings: {
@@ -1623,62 +1632,62 @@ class ie {
1623
1632
  return console.log("BaseService.genSource", e), "";
1624
1633
  }
1625
1634
  }
1626
- const y = new We({
1635
+ const _ = new Ye({
1627
1636
  type: "local",
1628
1637
  expired: 0,
1629
1638
  prefix: "__VTJ_"
1630
1639
  });
1631
- class fs extends ie {
1640
+ class gs extends oe {
1632
1641
  init(e) {
1633
- const t = new B(e), s = y.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
1634
- return y.save(`project_${t.id}`, n), Promise.resolve(n);
1642
+ const t = new B(e), s = _.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
1643
+ return _.save(`project_${t.id}`, n), Promise.resolve(n);
1635
1644
  }
1636
1645
  saveProject(e) {
1637
1646
  const t = new B(e);
1638
- return y.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
1647
+ return _.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
1639
1648
  }
1640
1649
  saveMaterials(e, t) {
1641
- return y.save(`materials_${e.id}`, ne(t)), Promise.resolve(!0);
1650
+ return _.save(`materials_${e.id}`, ie(t)), Promise.resolve(!0);
1642
1651
  }
1643
1652
  saveFile(e) {
1644
- return y.save(`file_${e.id}`, e), Promise.resolve(!0);
1653
+ return _.save(`file_${e.id}`, e), Promise.resolve(!0);
1645
1654
  }
1646
1655
  getFile(e) {
1647
- const t = y.get(`file_${e}`);
1656
+ const t = _.get(`file_${e}`);
1648
1657
  return t ? Promise.resolve(t) : Promise.reject(null);
1649
1658
  }
1650
1659
  removeFile(e) {
1651
- return y.remove(`file_${e}`), Promise.resolve(!0);
1660
+ return _.remove(`file_${e}`), Promise.resolve(!0);
1652
1661
  }
1653
1662
  saveHistory(e) {
1654
- return y.save(`history_${e.id}`, e), Promise.resolve(!0);
1663
+ return _.save(`history_${e.id}`, e), Promise.resolve(!0);
1655
1664
  }
1656
1665
  removeHistory(e) {
1657
- const t = y.get(`history_${e}`);
1666
+ const t = _.get(`history_${e}`);
1658
1667
  if (t) {
1659
1668
  const n = (t.items || []).map((i) => i.id);
1660
- this.removeHistoryItem(e, n), y.remove(`history_${e}`);
1669
+ this.removeHistoryItem(e, n), _.remove(`history_${e}`);
1661
1670
  }
1662
1671
  return Promise.resolve(!0);
1663
1672
  }
1664
1673
  getHistory(e) {
1665
- const t = y.get(`history_${e}`), s = new he(t || { id: e });
1674
+ const t = _.get(`history_${e}`), s = new ge(t || { id: e });
1666
1675
  return Promise.resolve(s.toDsl());
1667
1676
  }
1668
1677
  getHistoryItem(e, t) {
1669
- const s = y.get(`history_${e}_${t}`);
1678
+ const s = _.get(`history_${e}_${t}`);
1670
1679
  return Promise.resolve(s);
1671
1680
  }
1672
1681
  saveHistoryItem(e, t) {
1673
- return y.save(`history_${e}_${t.id}`, t), Promise.resolve(!0);
1682
+ return _.save(`history_${e}_${t.id}`, t), Promise.resolve(!0);
1674
1683
  }
1675
1684
  removeHistoryItem(e, t) {
1676
1685
  return t.forEach((s) => {
1677
- y.remove(`history_${e}_${s}`);
1686
+ _.remove(`history_${e}_${s}`);
1678
1687
  }), Promise.resolve(!0);
1679
1688
  }
1680
1689
  }
1681
- class Yt extends ie {
1690
+ class es extends oe {
1682
1691
  projects = {};
1683
1692
  materials = {};
1684
1693
  files = {};
@@ -1693,7 +1702,7 @@ class Yt extends ie {
1693
1702
  return this.projects[t.id] = t.toDsl(), Promise.resolve(!0);
1694
1703
  }
1695
1704
  saveMaterials(e, t) {
1696
- return e.id && (this.materials[e.id] = ne(t)), Promise.resolve(!0);
1705
+ return e.id && (this.materials[e.id] = ie(t)), Promise.resolve(!0);
1697
1706
  }
1698
1707
  saveFile(e) {
1699
1708
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -1717,7 +1726,7 @@ class Yt extends ie {
1717
1726
  return Promise.resolve(!0);
1718
1727
  }
1719
1728
  getHistory(e) {
1720
- const t = this.histories[e], s = new he(t || { id: e });
1729
+ const t = this.histories[e], s = new ge(t || { id: e });
1721
1730
  return Promise.resolve(s);
1722
1731
  }
1723
1732
  getHistoryItem(e, t) {
@@ -1736,10 +1745,10 @@ class Yt extends ie {
1736
1745
  }
1737
1746
  }
1738
1747
  let x = null;
1739
- function ds() {
1740
- return x || (x = new Yt(), x);
1748
+ function vs() {
1749
+ return x || (x = new es(), x);
1741
1750
  }
1742
- class hs extends ie {
1751
+ class ys extends oe {
1743
1752
  getFileCaches = {};
1744
1753
  async getExtension() {
1745
1754
  return await this.api("getExtension", {}).catch(() => {
@@ -1756,7 +1765,7 @@ class hs extends ie {
1756
1765
  async saveMaterials(e, t) {
1757
1766
  return !!await this.api("saveMaterials", {
1758
1767
  project: e,
1759
- materials: ne(t)
1768
+ materials: ie(t)
1760
1769
  }).catch(() => !1);
1761
1770
  }
1762
1771
  async saveFile(e) {
@@ -1796,7 +1805,7 @@ class hs extends ie {
1796
1805
  );
1797
1806
  }
1798
1807
  }
1799
- function De(r, e, t = []) {
1808
+ function Te(r, e, t = []) {
1800
1809
  return t.map((s) => {
1801
1810
  const { id: n, title: i, icon: a, children: o, hidden: p } = s;
1802
1811
  return {
@@ -1805,28 +1814,28 @@ function De(r, e, t = []) {
1805
1814
  icon: a,
1806
1815
  hidden: p,
1807
1816
  url: `${r}/${e}/${n}`,
1808
- children: o && o.length ? De(r, e, o) : void 0
1817
+ children: o && o.length ? Te(r, e, o) : void 0
1809
1818
  };
1810
1819
  });
1811
1820
  }
1812
- function Te(r, e) {
1821
+ function He(r, e) {
1813
1822
  if (!e) return r;
1814
1823
  let t = [];
1815
1824
  for (const s of r)
1816
1825
  if (s.children && s.children.length) {
1817
- const n = Te(s.children, e);
1826
+ const n = He(s.children, e);
1818
1827
  n.length && (s.children = n, t.push(s));
1819
1828
  } else
1820
1829
  e.can(s.id.toString()) && t.push(s);
1821
1830
  return t;
1822
1831
  }
1823
- function ms(r) {
1832
+ function _s(r) {
1824
1833
  const {
1825
1834
  menuPathPrefix: e = "",
1826
1835
  pageRouteName: t = "page",
1827
1836
  disableMenusFilter: s = !1
1828
- } = r || {}, n = Ie(), i = we(), a = ft(), o = Z(!1), p = Z(!1), c = n.project;
1829
- Ge(() => {
1837
+ } = r || {}, n = Me(), i = Se(), a = mt(), o = Z(!1), p = Z(!1), c = n.project;
1838
+ Xe(() => {
1830
1839
  const { name: h, params: f, meta: d } = i;
1831
1840
  if (h === M) {
1832
1841
  const m = n.getPage(f.id);
@@ -1837,7 +1846,7 @@ function ms(r) {
1837
1846
  } else
1838
1847
  o.value = !d.mask, p.value = !!d.pure;
1839
1848
  });
1840
- const u = De(
1849
+ const u = Te(
1841
1850
  e,
1842
1851
  t,
1843
1852
  c?.pages
@@ -1847,80 +1856,80 @@ function ms(r) {
1847
1856
  logo: l?.logo,
1848
1857
  themeSwitchable: l?.themeSwitchable,
1849
1858
  title: l?.title || c?.description || c?.name || "VTJ App",
1850
- menus: s ? u : Te(u, a),
1859
+ menus: s ? u : He(u, a),
1851
1860
  pure: p
1852
1861
  };
1853
1862
  }
1854
1863
  export {
1855
- be as ACCESS_KEY,
1856
- Pe as Access,
1857
- Ze as BUILD_IN_TAGS,
1858
- Ye as BUILT_IN_DIRECTIVES,
1859
- ie as BaseService,
1860
- fe as CONTEXT_HOST,
1861
- _t as Context,
1862
- _ as ContextMode,
1863
- Qe as DATA_TYPES,
1864
+ Pe as ACCESS_KEY,
1865
+ Re as Access,
1866
+ st as BUILD_IN_TAGS,
1867
+ Ze as BUILT_IN_DIRECTIVES,
1868
+ oe as BaseService,
1869
+ he as CONTEXT_HOST,
1870
+ $t as Context,
1871
+ w as ContextMode,
1872
+ et as DATA_TYPES,
1864
1873
  N as HOMEPAGE_ROUTE_NAME,
1865
- Xe as HTML_TAGS,
1866
- is as JSCodeToString,
1867
- ts as LIFE_CYCLES_LIST,
1868
- hs as LocalService,
1869
- Yt as MemoryService,
1870
- zt as NodeEnv,
1874
+ tt as HTML_TAGS,
1875
+ ls as JSCodeToString,
1876
+ is as LIFE_CYCLES_LIST,
1877
+ ys as LocalService,
1878
+ es as MemoryService,
1879
+ Qt as NodeEnv,
1871
1880
  M as PAGE_ROUTE_NAME,
1872
- Vt as Provider,
1873
- fs as StorageService,
1881
+ Yt as Provider,
1882
+ gs as StorageService,
1874
1883
  I as VTJ_RENDERER_VERSION,
1875
- $e as adoptedStyleSheets,
1876
- cs as clearLoaderCache,
1877
- it as compileScopedCSS,
1878
- as as createAccess,
1879
- os as createAdapter,
1880
- ss as createAssetScripts,
1881
- rs as createAssetsCss,
1882
- Pt as createDataSources,
1884
+ je as adoptedStyleSheets,
1885
+ fs as clearLoaderCache,
1886
+ ct as compileScopedCSS,
1887
+ ps as createAccess,
1888
+ us as createAdapter,
1889
+ os as createAssetScripts,
1890
+ as as createAssetsCss,
1891
+ kt as createDataSources,
1883
1892
  se as createLoader,
1884
- ds as createMemoryService,
1885
- ht as createMetaApi,
1886
- vt as createMock,
1887
- ls as createProvider,
1893
+ vs as createMemoryService,
1894
+ vt as createMetaApi,
1895
+ wt as createMock,
1896
+ ds as createProvider,
1888
1897
  te as createRenderer,
1889
- dt as createSchemaApi,
1890
- mt as createSchemaApis,
1891
- ps as createServiceRequest,
1892
- kt as defaultLoader,
1898
+ gt as createSchemaApi,
1899
+ yt as createSchemaApis,
1900
+ ms as createServiceRequest,
1901
+ Mt as defaultLoader,
1893
1902
  O as fillBasePath,
1894
1903
  D as getMock,
1895
- Fe as getModifiers,
1896
- Ce as getPlugin,
1897
- rt as getRawComponent,
1898
- ct as isBuiltInTag,
1899
- L as isCSSUrl,
1900
- ut as isJSCode,
1904
+ Ae as getModifiers,
1905
+ ke as getPlugin,
1906
+ ot as getRawComponent,
1907
+ pt as isBuiltInTag,
1908
+ q as isCSSUrl,
1909
+ dt as isJSCode,
1901
1910
  S as isJSExpression,
1902
1911
  H as isJSFunction,
1903
- et as isJSON,
1904
- q as isJSUrl,
1905
- lt as isNativeTag,
1906
- at as isVuePlugin,
1907
- ot as loadCss,
1908
- je as loadCssUrl,
1909
- us as loadEnhance,
1910
- Ee as loadScriptUrl,
1911
- yt as mockApi,
1912
- gt as mockApis,
1913
- Re as mockCleanup,
1912
+ rt as isJSON,
1913
+ J as isJSUrl,
1914
+ ft as isNativeTag,
1915
+ ut as isVuePlugin,
1916
+ lt as loadCss,
1917
+ Ee as loadCssUrl,
1918
+ hs as loadEnhance,
1919
+ be as loadScriptUrl,
1920
+ St as mockApi,
1921
+ _t as mockApis,
1922
+ Ce as mockCleanup,
1914
1923
  F as nodeRender,
1915
- st as parseDeps,
1924
+ it as parseDeps,
1916
1925
  T as parseExpression,
1917
1926
  ee as parseFunction,
1918
- nt as parseUrls,
1919
- Ae as providerKey,
1920
- tt as removeProdFlag,
1921
- ns as setupPageSetting,
1922
- Se as toString,
1923
- ft as useAccess,
1924
- ms as useMask,
1925
- Ie as useProvider
1927
+ at as parseUrls,
1928
+ Ie as providerKey,
1929
+ nt as removeProdFlag,
1930
+ cs as setupPageSetting,
1931
+ $e as toString,
1932
+ mt as useAccess,
1933
+ _s as useMask,
1934
+ Me as useProvider
1926
1935
  };