@vtj/renderer 0.12.36 → 0.12.37

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, cloneDeep as pe, camelCase as b, upperFirst as We, pick as Ge, request as Q, 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 Qe } 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.37
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.37";
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
+ ], rs = [
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
+ ], Xe = [
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
+ ], Ze = {
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", et = "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
+ ), tt = "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 st(r) {
71
71
  return /\.json$/.test(r);
72
72
  }
73
- function ss(r) {
73
+ function ns(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 is(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 rt(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 nt(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(rt(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 it(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 ot(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 at(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 ? at(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 ct(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 lt(r) {
275
+ return U(r) || U(r?.install);
276
276
  }
277
- function ct(r) {
278
- return Ze.includes(r);
277
+ function ut(r) {
278
+ return tt.includes(r);
279
279
  }
280
- function lt(r) {
281
- return Xe.includes(r);
280
+ function pt(r) {
281
+ return et.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 os(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 ft(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 as(r) {
330
+ return ft(r) ? r.value : JSON.stringify(r);
331
331
  }
332
- const pt = {
332
+ const dt = {
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({}, dt, 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 ht() {
500
+ return _e(Pe, null);
501
501
  }
502
- function os(r = {}) {
502
+ function cs(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 ls(r = {}) {
543
+ return new Re(r);
544
544
  }
545
- function dt(r, e) {
545
+ function mt(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 gt(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 vt(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] = mt(n, t);
580
580
  for (const n of e)
581
- s[n.id] = ht(n, t);
581
+ s[n.id] = gt(n, t);
582
582
  return s;
583
583
  }
584
- async function gt(r = [], e = window) {
584
+ async function yt(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) => wt(t, s)));
587
587
  }
588
- function vt(r, e = window) {
588
+ function _t(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 wt(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 St {
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 St({
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
+ ...jt(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 = Et(e, o.value.state ?? {}, c);
744
+ const h = bt(e, o.value.computed ?? {}, c), f = Pt(o.value.methods ?? {}, c), d = Rt(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 = Ct(
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), kt(e, o.value.watch ?? [], c), {
757
757
  vtj: c
758
758
  };
759
759
  },
760
- emits: wt(o.value.emits),
760
+ emits: $t(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
+ ...Ft(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 $t(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 jt(r = [], e) {
780
+ const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((i) => Ze[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 Et(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 bt(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 Pt(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 Rt(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 Ct(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] = _t(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 kt(r, e = [], t) {
850
850
  e.forEach((s) => {
851
851
  r.watch(
852
852
  t.__parseExpression(s.source),
@@ -858,27 +858,32 @@ function Rt(r, e = [], t) {
858
858
  );
859
859
  });
860
860
  }
861
- function Ct(r, e) {
861
+ function Ft(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
+ let Y = [], R = {};
873
+ const At = (r) => r;
874
+ async function ke(r, e = window) {
875
+ const { urls: t = [], library: s } = r, n = t.filter((o) => J(o));
871
876
  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(
877
+ const i = t.filter((o) => q(o));
878
+ return i.length && Ee(i, e), await be(n, s, e).catch(
874
879
  (o) => (console.warn("loadScriptUrl error", n, s, o), null)
875
880
  );
876
881
  }
877
882
  function se(r) {
878
883
  const { getDsl: e, getDslByUrl: t, options: s } = r;
879
- return s.window && (G.forEach((n) => {
884
+ return s.window && (Y.forEach((n) => {
880
885
  delete s.window[n];
881
- }), G = []), (n, i, a = U) => {
886
+ }), Y = []), (n, i, a = L) => {
882
887
  if (!i || typeof i == "string") return n;
883
888
  if (i.type === "Schema" && i.id)
884
889
  return a.defineAsyncComponent(async () => {
@@ -886,8 +891,8 @@ function se(r) {
886
891
  return o && (o.name = n, R[i.id] = o), o ? te({
887
892
  ...s,
888
893
  Vue: a,
889
- dsl: le(o),
890
- mode: _.Runtime,
894
+ dsl: pe(o),
895
+ mode: w.Runtime,
891
896
  loader: se(r)
892
897
  }).renderer : null;
893
898
  });
@@ -897,16 +902,16 @@ function se(r) {
897
902
  return o && (o.name = n, R[i.url] = o), o ? te({
898
903
  ...s,
899
904
  Vue: a,
900
- dsl: le(o),
901
- mode: _.Runtime,
905
+ dsl: pe(o),
906
+ mode: w.Runtime,
902
907
  loader: se(r)
903
908
  }).renderer : null;
904
909
  });
905
910
  if (i.type === "Plugin") {
906
911
  let o = i.library ? R[i.library] : null;
907
- return o || (i.library && G.push(i.library), o = R[i.library || Symbol()] = a.defineAsyncComponent(
912
+ return o || (i.library && Y.push(i.library), o = R[i.library || Symbol()] = a.defineAsyncComponent(
908
913
  async () => {
909
- const p = await Ce(i, s.window);
914
+ const p = await ke(i, s.window);
910
915
  return p || (console.warn("getPlugin result is null", i), null);
911
916
  }
912
917
  ), o);
@@ -914,50 +919,50 @@ function se(r) {
914
919
  return n;
915
920
  };
916
921
  }
917
- function cs() {
922
+ function us() {
918
923
  R = {};
919
924
  }
920
- function F(r, e, t = U, s = kt, n = [], i = !1) {
925
+ function F(r, e, t = L, s = At, n = [], i = !1) {
921
926
  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);
927
+ 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
928
  if (!i && (u || l))
924
929
  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 = (() => {
930
+ if (c && !Mt(c, e))
931
+ return Ot(r, e, t, s, n);
932
+ const $ = (v, K = 0) => {
933
+ const A = v.$components, z = (() => {
929
934
  if (r.name === "component")
930
- return It(w, r.props?.is);
935
+ return Dt(v, r.props?.is);
931
936
  if (r.name === "slot") return r.name;
932
937
  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);
938
+ return P(j) ? ut(j) || pt(j) ? j : A[j] ?? a?.app?.component(j) ?? j : j;
939
+ })(), E = Tt(o, r.props ?? {}, v), Oe = Ht(t, r.events ?? {}, v);
935
940
  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(
941
+ return xt(t, r, E, v, s);
942
+ m && Object.assign(E, v.__parseExpression(m.value)), f && (E.style = Object.assign(
938
943
  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));
944
+ Bt(f, v)
945
+ )), y && Object.assign(E, Ut(y, v)), d.forEach((j) => {
946
+ Object.assign(E, Lt(t, j, v));
942
947
  });
943
- const Oe = Ut(
948
+ const xe = qt(
944
949
  t,
945
950
  r.children ?? [],
946
- w,
951
+ v,
947
952
  s,
948
953
  r
954
+ ), ae = v?.__id ? `data-v-${v.__id}` : void 0, Ne = ae ? { [ae]: "" } : {};
955
+ let V = t.createVNode(
956
+ z,
957
+ { key: `${o}_${K}`, ...Ne, ...E, ...Oe },
958
+ xe
949
959
  );
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;
960
+ const ce = a ? It(a, g, v) : [];
961
+ return ce.length && (V = t.withDirectives(V, ce)), V;
957
962
  };
958
- return h ? Jt(h, $, e) : $(e);
963
+ return h ? zt(h, $, e) : $(e);
959
964
  }
960
- function Ft(r, e, t) {
965
+ function It(r, e, t) {
961
966
  const s = r.app;
962
967
  return e.map((n) => {
963
968
  const i = typeof n.name == "string" ? s.directive(n.name) : t.__parseExpression(n.name);
@@ -966,13 +971,13 @@ function Ft(r, e, t) {
966
971
  return n.value && a.push(t.__parseExpression(n.value)), n.arg && a.push(n.arg), n.modifiers && a.push(n.modifiers), a;
967
972
  }).filter((n) => !!n);
968
973
  }
969
- function ke(r = []) {
974
+ function Fe(r = []) {
970
975
  const e = r.find((u) => b(u.name) === "vIf"), t = r.find(
971
976
  (u) => b(u.name) === "vElseIf"
972
977
  ), 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
978
  (u) => b(u.name) === "vModel"
974
979
  ), c = r.filter(
975
- (u) => !Ye.includes(b(u.name))
980
+ (u) => !Xe.includes(b(u.name))
976
981
  );
977
982
  return {
978
983
  vIf: e,
@@ -986,13 +991,13 @@ function ke(r = []) {
986
991
  vHtml: o
987
992
  };
988
993
  }
989
- function At(r, e) {
994
+ function Mt(r, e) {
990
995
  return !!e.__parseExpression(r.value);
991
996
  }
992
- function It(r, e) {
997
+ function Dt(r, e) {
993
998
  return e ? S(e) ? r.__parseExpression(e) : e : "div";
994
999
  }
995
- function Mt(r, e, t) {
1000
+ function Tt(r, e, t) {
996
1001
  const s = re(e, t);
997
1002
  return s.ref = t.__ref(r, s.ref), s;
998
1003
  }
@@ -1005,7 +1010,7 @@ function re(r, e) {
1005
1010
  {}
1006
1011
  ) : r;
1007
1012
  }
1008
- function Dt(r, e, t) {
1013
+ function Ht(r, e, t) {
1009
1014
  const s = ["passive", "capture", "once"], n = {
1010
1015
  capture: "Capture",
1011
1016
  once: "Once",
@@ -1013,16 +1018,16 @@ function Dt(r, e, t) {
1013
1018
  };
1014
1019
  return Object.keys(e || {}).reduce(
1015
1020
  (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);
1021
+ const o = e[a], p = Ae(o.modifiers), c = p.find((h) => s.includes(h)), u = "on" + We(a) + (c && n[c] || ""), l = t.__parseFunction(o.handler);
1017
1022
  return l && (i[u] = r.withModifiers(l, p)), i;
1018
1023
  },
1019
1024
  {}
1020
1025
  );
1021
1026
  }
1022
- function Tt(r, e, t, s, n = []) {
1027
+ function Ot(r, e, t, s, n = []) {
1023
1028
  let i = n.findIndex((a) => a.id === r.id);
1024
1029
  for (let a = ++i; a < n.length; a++) {
1025
- const { directives: o = [] } = n[a], { vElseIf: p, vElse: c } = ke(o);
1030
+ const { directives: o = [] } = n[a], { vElseIf: p, vElse: c } = Fe(o);
1026
1031
  if (p) {
1027
1032
  if (e.__parseExpression(p.value))
1028
1033
  return F(n[a], e, t, s, n, !0);
@@ -1033,42 +1038,42 @@ function Tt(r, e, t, s, n = []) {
1033
1038
  }
1034
1039
  return null;
1035
1040
  }
1036
- function Fe(r = {}, e = !1) {
1041
+ function Ae(r = {}, e = !1) {
1037
1042
  const t = Object.keys(r);
1038
1043
  return e ? t.map((s) => "." + s) : t;
1039
1044
  }
1040
- function Ht(r, e, t, s, n) {
1041
- const { children: i } = e, a = Ot(e, s), o = s.$slots?.[a.name];
1045
+ function xt(r, e, t, s, n) {
1046
+ const { children: i } = e, a = Nt(e, s), o = s.$slots?.[a.name];
1042
1047
  return o ? o(t) : i ? P(i) ? r.createTextVNode(i) : S(i) ? r.createTextVNode(
1043
- Se(s.__parseExpression(i))
1048
+ $e(s.__parseExpression(i))
1044
1049
  ) : Array.isArray(i) ? i.map(
1045
1050
  (p) => F(p, s, r, n, i)
1046
1051
  ) : null : null;
1047
1052
  }
1048
- function Ot(r, e) {
1053
+ function Nt(r, e) {
1049
1054
  const { props: t } = r, s = t?.name || "default";
1050
1055
  return {
1051
1056
  name: S(s) ? e.__parseExpression(s) : s,
1052
1057
  params: []
1053
1058
  };
1054
1059
  }
1055
- function xt(r, e) {
1060
+ function Bt(r, e) {
1056
1061
  return e.__parseExpression(r.value) ? {} : {
1057
1062
  display: "none"
1058
1063
  };
1059
1064
  }
1060
- function Nt(r, e) {
1065
+ function Ut(r, e) {
1061
1066
  return {
1062
1067
  innerHTML: e.__parseExpression(r.value) || ""
1063
1068
  };
1064
1069
  }
1065
- function Bt(r, e, t) {
1070
+ function Lt(r, e, t) {
1066
1071
  const s = {
1067
1072
  type: "JSFunction",
1068
1073
  value: e.value?.value ? `(v) => {
1069
1074
  ${e.value.value} = v;
1070
1075
  }` : "(v) => {}"
1071
- }, n = t.__parseFunction(s), i = Fe(
1076
+ }, n = t.__parseFunction(s), i = Ae(
1072
1077
  S(e.modifiers) ? t.__parseExpression(e.modifiers) : e.modifiers
1073
1078
  ), a = S(e.arg) ? t.__parseExpression(e.arg) : e.arg || "modelValue";
1074
1079
  return {
@@ -1076,20 +1081,20 @@ function Bt(r, e, t) {
1076
1081
  [`onUpdate:${a}`]: i.length && n ? r.withModifiers(n, i) : n
1077
1082
  };
1078
1083
  }
1079
- function Ut(r, e, t, s, n) {
1084
+ function qt(r, e, t, s, n) {
1080
1085
  if (!e) return null;
1081
1086
  if (P(e))
1082
1087
  return { default: () => e };
1083
1088
  if (S(e))
1084
1089
  return {
1085
- default: () => Se(t.__parseExpression(e))
1090
+ default: () => $e(t.__parseExpression(e))
1086
1091
  };
1087
1092
  if (Array.isArray(e) && e.length > 0) {
1088
- const i = Lt(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
1093
+ const i = Jt(e), a = (o) => !o || !n ? {} : n?.id && Object.keys(o).length ? {
1089
1094
  [`scope_${n.id}`]: o
1090
1095
  } : {};
1091
1096
  return Object.entries(i).reduce((o, [p, { nodes: c, params: u }]) => (o[p] = (l) => {
1092
- const h = u.length ? Ve(l ?? {}, u) : a(l);
1097
+ const h = u.length ? Ge(l ?? {}, u) : a(l);
1093
1098
  return c.map(
1094
1099
  (f) => F(f, t.__clone(h), r, s, c)
1095
1100
  );
@@ -1097,10 +1102,10 @@ function Ut(r, e, t, s, n) {
1097
1102
  }
1098
1103
  return null;
1099
1104
  }
1100
- function Lt(r) {
1105
+ function Jt(r) {
1101
1106
  const e = {};
1102
1107
  for (const t of r) {
1103
- const s = qt(t.slot), n = s.name;
1108
+ const s = Kt(t.slot), n = s.name;
1104
1109
  e[n] ? (e[n].nodes.push(t), e[n].params = e[n].params.concat(s.params)) : e[n] = {
1105
1110
  nodes: [t],
1106
1111
  params: s.params
@@ -1108,18 +1113,18 @@ function Lt(r) {
1108
1113
  }
1109
1114
  return e;
1110
1115
  }
1111
- function qt(r = "default") {
1116
+ function Kt(r = "default") {
1112
1117
  return P(r) ? { name: r, params: [] } : { params: [], ...r };
1113
1118
  }
1114
- function Jt(r, e, t) {
1119
+ function zt(r, e, t) {
1115
1120
  const { value: s, iterator: n } = r, { item: i = "item", index: a = "index" } = n || {};
1116
1121
  let o = t.__parseExpression(s) || [];
1117
1122
  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
1123
  }
1119
- const de = _e({
1124
+ const me = we({
1120
1125
  name: "VtjPageContainer",
1121
1126
  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());
1127
+ 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
1128
  if (s) {
1124
1129
  Object.assign(e.meta, s.meta || {}, { cache: s.cache });
1125
1130
  const { useTitle: a } = r?.adapter;
@@ -1142,14 +1147,14 @@ const de = _e({
1142
1147
  activated() {
1143
1148
  this.meta.cache === !1 && (this.sid = Symbol());
1144
1149
  }
1145
- }), Kt = _e({
1150
+ }), Vt = we({
1146
1151
  name: "VtjStartupContainer",
1147
1152
  render() {
1148
1153
  return X("div", "page not found!");
1149
1154
  }
1150
- }), Ae = Symbol("Provider");
1151
- var zt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(zt || {});
1152
- class Vt extends xe {
1155
+ }), Ie = Symbol("Provider");
1156
+ var Wt = /* @__PURE__ */ ((r) => (r.Production = "production", r.Development = "development", r))(Wt || {});
1157
+ class Gt extends Be {
1153
1158
  // DSL缓存
1154
1159
  /**
1155
1160
  * 创建Provider实例
@@ -1159,7 +1164,7 @@ class Vt extends xe {
1159
1164
  super(), this.options = e;
1160
1165
  const {
1161
1166
  service: t,
1162
- mode: s = _.Raw,
1167
+ mode: s = w.Raw,
1163
1168
  dependencies: n,
1164
1169
  materials: i,
1165
1170
  project: a = {},
@@ -1173,7 +1178,7 @@ class Vt extends xe {
1173
1178
  } = e;
1174
1179
  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
1180
  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;
1181
+ f && f.connect({ mode: s, router: u, request: d }), a && s !== w.Design ? this.load(a) : this.project = a;
1177
1182
  }
1178
1183
  mode;
1179
1184
  // 当前运行模式(设计/源码/预览等)
@@ -1181,7 +1186,7 @@ class Vt extends xe {
1181
1186
  // 全局变量
1182
1187
  modules = {};
1183
1188
  // 异步模块加载器
1184
- adapter = { request: Q, jsonp: ve };
1189
+ adapter = { request: Q, jsonp: ye };
1185
1190
  // 适配器接口
1186
1191
  apis = {};
1187
1192
  // API集合
@@ -1230,7 +1235,7 @@ class Vt extends xe {
1230
1235
  if (this.project = t ? await t() : await this.service.init(e), !this.project)
1231
1236
  throw new Error("project is null");
1232
1237
  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();
1238
+ i && (i.CKEDITOR_VERSION = void 0), this.mode === w.Raw ? await this.loadDependencies(i) : await this.loadAssets(i), this.initMock(i), this.apis = vt(s, n, this.adapter), Ce(i), yt(s, i), e.platform !== "uniapp" && this.initRouter(), this.triggerReady();
1234
1239
  }
1235
1240
  initMock(e) {
1236
1241
  const t = D(e);
@@ -1250,7 +1255,7 @@ class Vt extends xe {
1250
1255
  materials: u,
1251
1256
  materialExports: l,
1252
1257
  materialMapLibrary: h
1253
- } = st(
1258
+ } = nt(
1254
1259
  t,
1255
1260
  a,
1256
1261
  o === "development"
@@ -1263,26 +1268,26 @@ class Vt extends xe {
1263
1268
  else if (d)
1264
1269
  e[f] = n[f] = await d();
1265
1270
  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 }));
1271
+ const y = c[f] || [];
1272
+ for (const g of y)
1273
+ q(g) && await ct(f, C.append(g, { v: I })), J(g) && await fe(C.append(g, { v: I }));
1269
1274
  n[f] = e[f];
1270
1275
  }
1271
1276
  }
1272
1277
  if (o === "development") {
1273
1278
  for (const d of u)
1274
- await ue(C.append(d, { v: I }));
1279
+ await fe(C.append(d, { v: I }));
1275
1280
  const f = this.materials || {};
1276
1281
  for (const d of l) {
1277
- const m = e[h[d]], v = Ne[d];
1278
- if (v)
1279
- m && v.forEach((g) => {
1282
+ const m = e[h[d]], y = Ue[d];
1283
+ if (y)
1284
+ m && y.forEach((g) => {
1280
1285
  i[g] = m[g];
1281
1286
  });
1282
1287
  else {
1283
1288
  const g = f[d] ? (await f[d]()).default : e[d];
1284
1289
  g && m && (g.components || []).forEach(($) => {
1285
- i[$.name] = rt($, m);
1290
+ i[$.name] = it($, m);
1286
1291
  });
1287
1292
  }
1288
1293
  }
@@ -1298,11 +1303,11 @@ class Vt extends xe {
1298
1303
  } = s, c = a ? "" : "/", u = {
1299
1304
  path: `${c}${o}/:id`,
1300
1305
  name: M,
1301
- component: de
1306
+ component: me
1302
1307
  }, l = {
1303
1308
  path: c,
1304
1309
  name: N,
1305
- component: t?.homepage ? de : n.startupComponent || Kt,
1310
+ component: t?.homepage ? me : n.startupComponent || Vt,
1306
1311
  meta: p
1307
1312
  };
1308
1313
  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 +1325,8 @@ class Vt extends xe {
1320
1325
  install(e) {
1321
1326
  const t = e.config.globalProperties.installed || {};
1322
1327
  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) => {
1328
+ !t[s] && lt(n) && (e.use(n), t[s] = !0);
1329
+ 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
1330
  const a = n?.$options.name, o = typeof s == "string" ? s : s?.message || s?.msg || "未知错误", p = `[ ${a} ] ${o} ${i}`;
1326
1331
  console.error(
1327
1332
  "[VTJ Error]:",
@@ -1431,7 +1436,7 @@ class Vt extends xe {
1431
1436
  * @returns Vue异步组件
1432
1437
  */
1433
1438
  defineUrlSchemaComponent(e, t) {
1434
- return pe(async () => {
1439
+ return de(async () => {
1435
1440
  const s = await this.getDslByUrl(e);
1436
1441
  return s ? (s.name = t || s.name, this.createDslRenderer(s).renderer) : null;
1437
1442
  });
@@ -1444,18 +1449,18 @@ class Vt extends xe {
1444
1449
  * @returns Vue异步组件
1445
1450
  */
1446
1451
  definePluginComponent(e) {
1447
- return pe(async () => await Ce(e, window));
1452
+ return de(async () => await ke(e, window));
1448
1453
  }
1449
1454
  }
1450
- function ls(r) {
1451
- const e = new Vt(r);
1455
+ function ps(r) {
1456
+ const e = new Gt(r);
1452
1457
  return {
1453
1458
  provider: e,
1454
1459
  onReady: (s) => e.ready(s)
1455
1460
  };
1456
1461
  }
1457
- function Ie(r = {}) {
1458
- const e = ye(Ae, null);
1462
+ function Me(r = {}) {
1463
+ const e = _e(Ie, null);
1459
1464
  if (!e)
1460
1465
  throw new Error("Can not find provider");
1461
1466
  if (e.nodeEnv === "development") {
@@ -1471,21 +1476,21 @@ function Ie(r = {}) {
1471
1476
  }
1472
1477
  return e;
1473
1478
  }
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(
1479
+ async function fs(r, e = "") {
1480
+ const { name: t, urls: s = [] } = r || {}, n = s.map((o) => e + o), { css: i, js: a } = ot(n);
1481
+ if (i.length && Ee(i), a.length)
1482
+ return await be(a, t).catch(
1478
1483
  () => {
1479
1484
  }
1480
1485
  );
1481
1486
  }
1482
- const Me = {
1487
+ const De = {
1483
1488
  type: "json",
1484
1489
  validSuccess: !0,
1485
1490
  originResponse: !1,
1486
1491
  failMessage: !0,
1487
1492
  validate: (r) => r.data?.code === 0
1488
- }, Wt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1493
+ }, Yt = (r, e = "/__vtj__/api/:type.json") => (t, s, n) => r.send({
1489
1494
  url: e,
1490
1495
  method: "post",
1491
1496
  params: { type: t },
@@ -1494,8 +1499,8 @@ const Me = {
1494
1499
  type: t,
1495
1500
  data: s
1496
1501
  },
1497
- settings: Me
1498
- }), Gt = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1502
+ settings: De
1503
+ }), Qt = (r, e = "/__vtj__/api/uploader.json") => async (t, s) => await r.send({
1499
1504
  url: e,
1500
1505
  method: "post",
1501
1506
  data: {
@@ -1503,12 +1508,12 @@ const Me = {
1503
1508
  projectId: s
1504
1509
  },
1505
1510
  settings: {
1506
- ...Me,
1511
+ ...De,
1507
1512
  type: "data"
1508
1513
  }
1509
1514
  }).then((n) => n && n[0] ? n[0] : null).catch(() => null);
1510
- function ps(r) {
1511
- return ge({
1515
+ function ds(r) {
1516
+ return ve({
1512
1517
  settings: {
1513
1518
  type: "json",
1514
1519
  validSuccess: !0,
@@ -1521,9 +1526,9 @@ function ps(r) {
1521
1526
  }
1522
1527
  });
1523
1528
  }
1524
- class ie {
1529
+ class oe {
1525
1530
  constructor(e = Q) {
1526
- this.req = e, this.api = Wt(e), this.uploader = Gt(e);
1531
+ this.req = e, this.api = Yt(e), this.uploader = Qt(e);
1527
1532
  }
1528
1533
  api;
1529
1534
  pluginCaches = {};
@@ -1607,7 +1612,7 @@ class ie {
1607
1612
  return await this.api("clearStaticFiles", e).catch(() => "");
1608
1613
  }
1609
1614
  async getPluginMaterial(e) {
1610
- const { urls: t = [] } = e, s = t.filter((i) => et(i))[0];
1615
+ const { urls: t = [] } = e, s = t.filter((i) => st(i))[0];
1611
1616
  if (!s) return null;
1612
1617
  const n = this.pluginCaches[s];
1613
1618
  return n || (this.pluginCaches[s] = Q.send({
@@ -1623,62 +1628,62 @@ class ie {
1623
1628
  return console.log("BaseService.genSource", e), "";
1624
1629
  }
1625
1630
  }
1626
- const y = new We({
1631
+ const _ = new Ye({
1627
1632
  type: "local",
1628
1633
  expired: 0,
1629
1634
  prefix: "__VTJ_"
1630
1635
  });
1631
- class fs extends ie {
1636
+ class hs extends oe {
1632
1637
  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);
1638
+ const t = new B(e), s = _.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
1639
+ return _.save(`project_${t.id}`, n), Promise.resolve(n);
1635
1640
  }
1636
1641
  saveProject(e) {
1637
1642
  const t = new B(e);
1638
- return y.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
1643
+ return _.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
1639
1644
  }
1640
1645
  saveMaterials(e, t) {
1641
- return y.save(`materials_${e.id}`, ne(t)), Promise.resolve(!0);
1646
+ return _.save(`materials_${e.id}`, ie(t)), Promise.resolve(!0);
1642
1647
  }
1643
1648
  saveFile(e) {
1644
- return y.save(`file_${e.id}`, e), Promise.resolve(!0);
1649
+ return _.save(`file_${e.id}`, e), Promise.resolve(!0);
1645
1650
  }
1646
1651
  getFile(e) {
1647
- const t = y.get(`file_${e}`);
1652
+ const t = _.get(`file_${e}`);
1648
1653
  return t ? Promise.resolve(t) : Promise.reject(null);
1649
1654
  }
1650
1655
  removeFile(e) {
1651
- return y.remove(`file_${e}`), Promise.resolve(!0);
1656
+ return _.remove(`file_${e}`), Promise.resolve(!0);
1652
1657
  }
1653
1658
  saveHistory(e) {
1654
- return y.save(`history_${e.id}`, e), Promise.resolve(!0);
1659
+ return _.save(`history_${e.id}`, e), Promise.resolve(!0);
1655
1660
  }
1656
1661
  removeHistory(e) {
1657
- const t = y.get(`history_${e}`);
1662
+ const t = _.get(`history_${e}`);
1658
1663
  if (t) {
1659
1664
  const n = (t.items || []).map((i) => i.id);
1660
- this.removeHistoryItem(e, n), y.remove(`history_${e}`);
1665
+ this.removeHistoryItem(e, n), _.remove(`history_${e}`);
1661
1666
  }
1662
1667
  return Promise.resolve(!0);
1663
1668
  }
1664
1669
  getHistory(e) {
1665
- const t = y.get(`history_${e}`), s = new he(t || { id: e });
1670
+ const t = _.get(`history_${e}`), s = new ge(t || { id: e });
1666
1671
  return Promise.resolve(s.toDsl());
1667
1672
  }
1668
1673
  getHistoryItem(e, t) {
1669
- const s = y.get(`history_${e}_${t}`);
1674
+ const s = _.get(`history_${e}_${t}`);
1670
1675
  return Promise.resolve(s);
1671
1676
  }
1672
1677
  saveHistoryItem(e, t) {
1673
- return y.save(`history_${e}_${t.id}`, t), Promise.resolve(!0);
1678
+ return _.save(`history_${e}_${t.id}`, t), Promise.resolve(!0);
1674
1679
  }
1675
1680
  removeHistoryItem(e, t) {
1676
1681
  return t.forEach((s) => {
1677
- y.remove(`history_${e}_${s}`);
1682
+ _.remove(`history_${e}_${s}`);
1678
1683
  }), Promise.resolve(!0);
1679
1684
  }
1680
1685
  }
1681
- class Yt extends ie {
1686
+ class Xt extends oe {
1682
1687
  projects = {};
1683
1688
  materials = {};
1684
1689
  files = {};
@@ -1693,7 +1698,7 @@ class Yt extends ie {
1693
1698
  return this.projects[t.id] = t.toDsl(), Promise.resolve(!0);
1694
1699
  }
1695
1700
  saveMaterials(e, t) {
1696
- return e.id && (this.materials[e.id] = ne(t)), Promise.resolve(!0);
1701
+ return e.id && (this.materials[e.id] = ie(t)), Promise.resolve(!0);
1697
1702
  }
1698
1703
  saveFile(e) {
1699
1704
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -1717,7 +1722,7 @@ class Yt extends ie {
1717
1722
  return Promise.resolve(!0);
1718
1723
  }
1719
1724
  getHistory(e) {
1720
- const t = this.histories[e], s = new he(t || { id: e });
1725
+ const t = this.histories[e], s = new ge(t || { id: e });
1721
1726
  return Promise.resolve(s);
1722
1727
  }
1723
1728
  getHistoryItem(e, t) {
@@ -1736,10 +1741,10 @@ class Yt extends ie {
1736
1741
  }
1737
1742
  }
1738
1743
  let x = null;
1739
- function ds() {
1740
- return x || (x = new Yt(), x);
1744
+ function ms() {
1745
+ return x || (x = new Xt(), x);
1741
1746
  }
1742
- class hs extends ie {
1747
+ class gs extends oe {
1743
1748
  getFileCaches = {};
1744
1749
  async getExtension() {
1745
1750
  return await this.api("getExtension", {}).catch(() => {
@@ -1756,7 +1761,7 @@ class hs extends ie {
1756
1761
  async saveMaterials(e, t) {
1757
1762
  return !!await this.api("saveMaterials", {
1758
1763
  project: e,
1759
- materials: ne(t)
1764
+ materials: ie(t)
1760
1765
  }).catch(() => !1);
1761
1766
  }
1762
1767
  async saveFile(e) {
@@ -1796,7 +1801,7 @@ class hs extends ie {
1796
1801
  );
1797
1802
  }
1798
1803
  }
1799
- function De(r, e, t = []) {
1804
+ function Te(r, e, t = []) {
1800
1805
  return t.map((s) => {
1801
1806
  const { id: n, title: i, icon: a, children: o, hidden: p } = s;
1802
1807
  return {
@@ -1805,28 +1810,28 @@ function De(r, e, t = []) {
1805
1810
  icon: a,
1806
1811
  hidden: p,
1807
1812
  url: `${r}/${e}/${n}`,
1808
- children: o && o.length ? De(r, e, o) : void 0
1813
+ children: o && o.length ? Te(r, e, o) : void 0
1809
1814
  };
1810
1815
  });
1811
1816
  }
1812
- function Te(r, e) {
1817
+ function He(r, e) {
1813
1818
  if (!e) return r;
1814
1819
  let t = [];
1815
1820
  for (const s of r)
1816
1821
  if (s.children && s.children.length) {
1817
- const n = Te(s.children, e);
1822
+ const n = He(s.children, e);
1818
1823
  n.length && (s.children = n, t.push(s));
1819
1824
  } else
1820
1825
  e.can(s.id.toString()) && t.push(s);
1821
1826
  return t;
1822
1827
  }
1823
- function ms(r) {
1828
+ function vs(r) {
1824
1829
  const {
1825
1830
  menuPathPrefix: e = "",
1826
1831
  pageRouteName: t = "page",
1827
1832
  disableMenusFilter: s = !1
1828
- } = r || {}, n = Ie(), i = we(), a = ft(), o = Z(!1), p = Z(!1), c = n.project;
1829
- Ge(() => {
1833
+ } = r || {}, n = Me(), i = Se(), a = ht(), o = Z(!1), p = Z(!1), c = n.project;
1834
+ Qe(() => {
1830
1835
  const { name: h, params: f, meta: d } = i;
1831
1836
  if (h === M) {
1832
1837
  const m = n.getPage(f.id);
@@ -1837,7 +1842,7 @@ function ms(r) {
1837
1842
  } else
1838
1843
  o.value = !d.mask, p.value = !!d.pure;
1839
1844
  });
1840
- const u = De(
1845
+ const u = Te(
1841
1846
  e,
1842
1847
  t,
1843
1848
  c?.pages
@@ -1847,80 +1852,80 @@ function ms(r) {
1847
1852
  logo: l?.logo,
1848
1853
  themeSwitchable: l?.themeSwitchable,
1849
1854
  title: l?.title || c?.description || c?.name || "VTJ App",
1850
- menus: s ? u : Te(u, a),
1855
+ menus: s ? u : He(u, a),
1851
1856
  pure: p
1852
1857
  };
1853
1858
  }
1854
1859
  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,
1860
+ Pe as ACCESS_KEY,
1861
+ Re as Access,
1862
+ tt as BUILD_IN_TAGS,
1863
+ Xe as BUILT_IN_DIRECTIVES,
1864
+ oe as BaseService,
1865
+ he as CONTEXT_HOST,
1866
+ St as Context,
1867
+ w as ContextMode,
1868
+ Ze as DATA_TYPES,
1864
1869
  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,
1870
+ et as HTML_TAGS,
1871
+ as as JSCodeToString,
1872
+ rs as LIFE_CYCLES_LIST,
1873
+ gs as LocalService,
1874
+ Xt as MemoryService,
1875
+ Wt as NodeEnv,
1871
1876
  M as PAGE_ROUTE_NAME,
1872
- Vt as Provider,
1873
- fs as StorageService,
1877
+ Gt as Provider,
1878
+ hs as StorageService,
1874
1879
  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,
1880
+ je as adoptedStyleSheets,
1881
+ us as clearLoaderCache,
1882
+ at as compileScopedCSS,
1883
+ ls as createAccess,
1884
+ cs as createAdapter,
1885
+ ns as createAssetScripts,
1886
+ is as createAssetsCss,
1887
+ Ct as createDataSources,
1883
1888
  se as createLoader,
1884
- ds as createMemoryService,
1885
- ht as createMetaApi,
1886
- vt as createMock,
1887
- ls as createProvider,
1889
+ ms as createMemoryService,
1890
+ gt as createMetaApi,
1891
+ _t as createMock,
1892
+ ps as createProvider,
1888
1893
  te as createRenderer,
1889
- dt as createSchemaApi,
1890
- mt as createSchemaApis,
1891
- ps as createServiceRequest,
1892
- kt as defaultLoader,
1894
+ mt as createSchemaApi,
1895
+ vt as createSchemaApis,
1896
+ ds as createServiceRequest,
1897
+ At as defaultLoader,
1893
1898
  O as fillBasePath,
1894
1899
  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,
1900
+ Ae as getModifiers,
1901
+ ke as getPlugin,
1902
+ it as getRawComponent,
1903
+ ut as isBuiltInTag,
1904
+ q as isCSSUrl,
1905
+ ft as isJSCode,
1901
1906
  S as isJSExpression,
1902
1907
  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,
1908
+ st as isJSON,
1909
+ J as isJSUrl,
1910
+ pt as isNativeTag,
1911
+ lt as isVuePlugin,
1912
+ ct as loadCss,
1913
+ Ee as loadCssUrl,
1914
+ fs as loadEnhance,
1915
+ be as loadScriptUrl,
1916
+ wt as mockApi,
1917
+ yt as mockApis,
1918
+ Ce as mockCleanup,
1914
1919
  F as nodeRender,
1915
- st as parseDeps,
1920
+ nt as parseDeps,
1916
1921
  T as parseExpression,
1917
1922
  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
1923
+ ot as parseUrls,
1924
+ Ie as providerKey,
1925
+ rt as removeProdFlag,
1926
+ os as setupPageSetting,
1927
+ $e as toString,
1928
+ ht as useAccess,
1929
+ vs as useMask,
1930
+ Me as useProvider
1926
1931
  };