@vtj/renderer 0.7.32 → 0.7.34

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,22 +1,22 @@
1
- import { Base as le, BUILT_IN_COMPONENTS as ue, ProjectModel as C, HistoryModel as G } from "@vtj/core";
2
- import { isUrl as pe, url as P, dedupArray as fe, isString as b, isFunction as q, logger as T, createRequest as me, merge as de, pathToRegexp as he, pathToRegexpMatch as ve, formDataToJson as _e, camelCase as j, upperFirst as ye, pick as ge, jsonp as we, loadScript as U, Request as Se, Storage as $e, mapToObject as D } from "@vtj/utils";
1
+ import { Base as ae, BUILT_IN_COMPONENTS as ce, ProjectModel as x, HistoryModel as W } from "@vtj/core";
2
+ import { isUrl as ue, url as P, dedupArray as le, isString as F, isFunction as q, logger as O, createRequest as pe, merge as fe, pathToRegexp as me, pathToRegexpMatch as de, formDataToJson as he, camelCase as E, upperFirst as ve, pick as _e, jsonp as ye, loadScript as J, Request as ge, Storage as we, mapToObject as N } from "@vtj/utils";
3
3
  import * as k from "vue";
4
- import { defineComponent as V, h as B, openBlock as je, createElementBlock as Ee, createElementVNode as F, toDisplayString as A, createVNode as Pe, unref as z, withCtx as be, createTextVNode as Fe, inject as Ie, ref as Re, watchEffect as xe } from "vue";
5
- import { useRoute as X } from "vue-router";
6
- import { ElNotification as J, ElLoading as He, ElButton as Ce } from "element-plus";
4
+ import { defineComponent as X, h as D, inject as Se, ref as $e, watchEffect as je } from "vue";
5
+ import { useRoute as Y } from "vue-router";
6
+ import { ElNotification as B, ElLoading as Ee } from "element-plus";
7
7
  import M from "mockjs";
8
- import { useTitle as Te } from "@vueuse/core";
9
- import { EditPen as Me } from "@vtj/icons";
8
+ import { useTitle as be } from "@vueuse/core";
9
+ import { XStartup as Pe } from "@vtj/ui";
10
10
  /**!
11
11
  * Copyright (c) 2024, VTJ.PRO All rights reserved.
12
12
  * @name @vtj/renderer
13
13
  * @author CHC chenhuachun1549@dingtalk.com
14
- * @version 0.7.32
14
+ * @version 0.7.34
15
15
  * @license <a href="https://vtj.pro/license.html">MIT License</a>
16
16
  */
17
- const I = "0.7.32";
17
+ const I = "0.7.34";
18
18
  var w = /* @__PURE__ */ ((r) => (r.Runtime = "Runtime", r.Design = "Design", r.Raw = "Raw", r.VNode = "VNode", r))(w || {});
19
- const K = [
19
+ const L = [
20
20
  "$el",
21
21
  "$emit",
22
22
  "$nextTick",
@@ -28,7 +28,7 @@ const K = [
28
28
  "$props",
29
29
  "$options",
30
30
  "$forceUpdate"
31
- ], Nt = [
31
+ ], St = [
32
32
  "beforeCreate",
33
33
  "created",
34
34
  "beforeMount",
@@ -42,7 +42,7 @@ const K = [
42
42
  "renderTriggered",
43
43
  "activated",
44
44
  "deactivated"
45
- ], Oe = ["vIf", "vShow", "vModel", "vFor", "vBind"], ke = {
45
+ ], Fe = ["vIf", "vShow", "vModel", "vFor", "vBind"], Ie = {
46
46
  String,
47
47
  Number,
48
48
  Boolean,
@@ -51,55 +51,55 @@ const K = [
51
51
  Function,
52
52
  Date
53
53
  };
54
- function x(r, e) {
55
- return r.map((t) => pe(t) ? t : `${e}${t}`);
54
+ function H(r, e) {
55
+ return r.map((t) => ue(t) ? t : `${e}${t}`);
56
56
  }
57
- function Q(r) {
57
+ function z(r) {
58
58
  return /\.css$/.test(r);
59
59
  }
60
- function Z(r) {
60
+ function G(r) {
61
61
  return /\.js$/.test(r);
62
62
  }
63
- function At(r) {
63
+ function $t(r) {
64
64
  return r.map(
65
65
  (e) => `<script src="${P.append(e, { v: I })}"><\/script>`
66
66
  ).join("");
67
67
  }
68
- function Bt(r = []) {
68
+ function jt(r = []) {
69
69
  return r.map(
70
70
  (e) => `<link rel="stylesheet" href="${P.append(e, { v: I })}" />`
71
71
  ).join("");
72
72
  }
73
- function Ne(r, e) {
74
- const t = r.filter((m) => !!m.enabled), s = [], n = [], o = [], i = [], a = {}, l = [], c = {};
75
- return t.forEach(({ urls: m, assetsUrl: f, library: u, assetsLibrary: v }) => {
76
- m?.forEach((_) => {
77
- Z(_) && s.push(_), Q(_) && n.push(_);
78
- }), u && (i.push(u), a[u] = x(m || [], e)), f && o.push(f), v && l.push(v), u && v && (c[v] = u);
73
+ function Re(r, e) {
74
+ const t = r.filter((f) => !!f.enabled), s = [], n = [], o = [], i = [], a = {}, u = [], c = {};
75
+ return t.forEach(({ urls: f, assetsUrl: p, library: l, assetsLibrary: v }) => {
76
+ f?.forEach((d) => {
77
+ G(d) && s.push(d), z(d) && n.push(d);
78
+ }), l && (i.push(l), a[l] = H(f || [], e)), p && o.push(p), v && u.push(v), l && v && (c[v] = l);
79
79
  }), {
80
- scripts: x(s, e),
81
- css: x(n, e),
82
- materials: x(o, e),
80
+ scripts: H(s, e),
81
+ css: H(n, e),
82
+ materials: H(o, e),
83
83
  libraryExports: i,
84
- materialExports: fe(l),
84
+ materialExports: le(u),
85
85
  materialMapLibrary: c,
86
86
  libraryMap: a
87
87
  };
88
88
  }
89
- function Ae(r, e) {
89
+ function He(r, e) {
90
90
  const { name: t, parent: s, alias: n } = r;
91
91
  return s ? e[s]?.[n || t] : e[n || t];
92
92
  }
93
- function ee(r) {
94
- return b(r) ? r : JSON.stringify(r);
93
+ function Q(r) {
94
+ return F(r) ? r : JSON.stringify(r);
95
95
  }
96
- function te(r, e, t) {
96
+ function Z(r, e, t) {
97
97
  const s = r.CSSStyleSheet;
98
98
  if (s.prototype.replaceSync) {
99
99
  const n = new s();
100
100
  n.id = e, n.replaceSync(t);
101
101
  const o = r.document, i = o.adoptedStyleSheets, a = Array.from(i).filter(
102
- (l) => l.id !== e
102
+ (u) => u.id !== e
103
103
  );
104
104
  o.adoptedStyleSheets = [...a, n];
105
105
  } else {
@@ -108,11 +108,11 @@ function te(r, e, t) {
108
108
  o ? o.innerHTML = t : (o = n.createElement("style"), o.id = e, o.innerHTML = t, n.head.appendChild(o));
109
109
  }
110
110
  }
111
- async function Be(r, e) {
111
+ async function Ce(r, e) {
112
112
  const t = await window.fetch(e).then((s) => s.text()).catch(() => "");
113
- t && te(window, r, t);
113
+ t && Z(window, r, t);
114
114
  }
115
- function De(r) {
115
+ function xe(r) {
116
116
  return q(r) || q(r?.install);
117
117
  }
118
118
  function R(r, e, t = !1, s = !1) {
@@ -120,18 +120,18 @@ function R(r, e, t = !1, s = !1) {
120
120
  const n = ['"use strict";', "var __self = arguments[0];"];
121
121
  n.push("return ");
122
122
  let o = (r.value || "").trim();
123
- o = o.replace(/this(\W|$)/g, (a, l) => `__self${l}`), o = n.join(`
123
+ o = o.replace(/this(\W|$)/g, (a, u) => `__self${u}`), o = n.join(`
124
124
  `) + o;
125
125
  const i = `with(${t ? "{}" : "$scope || {}"}) { ${o} }`;
126
126
  return new Function("$scope", i)(e);
127
127
  } catch (n) {
128
- if (T.error("parseExpression.error", n, r, e?.__self ?? e), s)
128
+ if (O.error("parseExpression.error", n, r, e?.__self ?? e), s)
129
129
  throw n;
130
130
  }
131
131
  }
132
- function W(r, e, t = !1, s = !1) {
132
+ function U(r, e, t = !1, s = !1) {
133
133
  const n = R(r, e, t, s);
134
- if (typeof n != "function" && (T.error(
134
+ if (typeof n != "function" && (O.error(
135
135
  "parseFunction.error",
136
136
  "not a function",
137
137
  r,
@@ -143,17 +143,17 @@ function W(r, e, t = !1, s = !1) {
143
143
  function g(r) {
144
144
  return r && r.type === "JSExpression";
145
145
  }
146
- function N(r) {
146
+ function A(r) {
147
147
  return typeof r == "object" && r && r.type === "JSFunction";
148
148
  }
149
- function Ve(r) {
150
- return g(r) || N(r);
149
+ function Oe(r) {
150
+ return g(r) || A(r);
151
151
  }
152
- function Dt(r) {
153
- return Ve(r) ? r.value : JSON.stringify(r);
152
+ function Et(r) {
153
+ return Oe(r) ? r.value : JSON.stringify(r);
154
154
  }
155
- let E = null;
156
- const Je = me({
155
+ let b = null;
156
+ const Me = pe({
157
157
  settings: {
158
158
  type: "form",
159
159
  validSuccess: !0,
@@ -162,23 +162,23 @@ const Je = me({
162
162
  validate: (r) => r.data?.code === 0 || !!r.data?.success,
163
163
  failMessage: !0,
164
164
  showError: (r) => {
165
- J.error({
165
+ B.error({
166
166
  message: r || "未知错误"
167
167
  });
168
168
  },
169
169
  showLoading: () => {
170
- E && E.close(), E = He.service({
170
+ b && b.close(), b = Ee.service({
171
171
  lock: !0,
172
172
  text: "Loading",
173
173
  background: "rgba(0, 0, 0, 0.05)"
174
174
  });
175
175
  },
176
176
  hideLoading: () => {
177
- E && (E.close(), E = null);
177
+ b && (b.close(), b = null);
178
178
  }
179
179
  }
180
180
  });
181
- function Le(r, e) {
181
+ function Te(r, e) {
182
182
  const { jsonp: t, request: s } = e;
183
183
  if (r.method === "jsonp")
184
184
  return (n = {}) => t(r.url, {
@@ -194,36 +194,36 @@ function Le(r, e) {
194
194
  headers: n
195
195
  }
196
196
  };
197
- return (i, a) => s.send(de(o, a || {}, { data: i }));
197
+ return (i, a) => s.send(fe(o, a || {}, { data: i }));
198
198
  }
199
199
  }
200
- function qe(r = [], e) {
200
+ function ke(r = [], e) {
201
201
  return r.reduce(
202
- (t, s) => (t[s.id] = Le(s, e), t),
202
+ (t, s) => (t[s.id] = Te(s, e), t),
203
203
  {}
204
204
  );
205
205
  }
206
- function Ue(r = []) {
206
+ function Ae(r = []) {
207
207
  M.setup({
208
208
  timeout: "50-500"
209
- }), re(), r.forEach((e) => ze(e));
209
+ }), ee(), r.forEach((e) => De(e));
210
210
  }
211
- function ze(r) {
211
+ function De(r) {
212
212
  if (!r.mock)
213
213
  return;
214
214
  const { url: e, mockTemplate: t } = r;
215
215
  if (e && t) {
216
- const s = he(`${e}(.*)`), n = ve(e, { decode: decodeURIComponent }), o = R(t, {}, !0);
216
+ const s = me(`${e}(.*)`), n = de(e, { decode: decodeURIComponent }), o = R(t, {}, !0);
217
217
  M.mock(s, (i) => {
218
- const a = P.parse(i.url) || {}, l = i.body instanceof FormData ? _e(i.body) : i.body, c = n(i.url)?.params;
219
- return Object.assign(i, { data: l, params: a, query: c }), M.mock(o(i));
218
+ const a = P.parse(i.url) || {}, u = i.body instanceof FormData ? he(i.body) : i.body, c = n(i.url)?.params;
219
+ return Object.assign(i, { data: u, params: a, query: c }), M.mock(o(i));
220
220
  });
221
221
  }
222
222
  }
223
- function re() {
223
+ function ee() {
224
224
  M._mocked = {};
225
225
  }
226
- class Ke {
226
+ class Ne {
227
227
  __id = null;
228
228
  __mode;
229
229
  __instance = null;
@@ -264,12 +264,12 @@ class Ke {
264
264
  });
265
265
  }
266
266
  __proxy() {
267
- this.__instance && K.forEach((e) => {
267
+ this.__instance && L.forEach((e) => {
268
268
  this[e] = this.__instance?.[e];
269
269
  });
270
270
  }
271
271
  __cleanup() {
272
- K.forEach((e) => {
272
+ L.forEach((e) => {
273
273
  this[e] = null;
274
274
  });
275
275
  }
@@ -277,9 +277,9 @@ class Ke {
277
277
  if (e)
278
278
  if (this.__mode === w.Runtime) {
279
279
  const { id: t, type: s } = e, n = t ? this.__transform[t] ?? e.value : e.value;
280
- return W({ type: s, value: n }, this);
280
+ return U({ type: s, value: n }, this);
281
281
  } else
282
- return W(e, this);
282
+ return U(e, this);
283
283
  }
284
284
  __parseExpression(e) {
285
285
  if (e)
@@ -318,7 +318,7 @@ class Ke {
318
318
  return s.context.__proto__ = this.context, s.__proto__ = this, s;
319
319
  }
320
320
  }
321
- function se(r) {
321
+ function te(r) {
322
322
  const {
323
323
  Vue: e = k,
324
324
  mode: t = w.Runtime,
@@ -326,35 +326,35 @@ function se(r) {
326
326
  libs: n = {},
327
327
  apis: o = {},
328
328
  loader: i
329
- } = r, a = e.computed(() => r.dsl), l = {
329
+ } = r, a = e.computed(() => r.dsl), u = {
330
330
  $components: s,
331
331
  $libs: n,
332
332
  $apis: o
333
- }, c = new Ke({
333
+ }, c = new Ne({
334
334
  mode: t,
335
335
  dsl: a.value,
336
- attrs: l
337
- }), m = e.defineComponent({
336
+ attrs: u
337
+ }), f = e.defineComponent({
338
338
  name: a.value.name,
339
339
  props: {
340
- ...We(a.value.props ?? [], c)
340
+ ...Be(a.value.props ?? [], c)
341
341
  },
342
- setup(f) {
343
- c.$props = f, a.value.id && te(
342
+ setup(p) {
343
+ c.$props = p, a.value.id && Z(
344
344
  r.window || window,
345
345
  a.value.id,
346
346
  a.value.css || ""
347
- ), c.state = Ye(e, a.value.state ?? {}, c);
348
- const u = Ge(e, a.value.computed ?? {}, c), v = Xe(a.value.methods ?? {}, c), _ = Qe(e, a.value.inject, c), p = Ze(
347
+ ), c.state = Ve(e, a.value.state ?? {}, c);
348
+ const l = qe(e, a.value.computed ?? {}, c), v = Je(a.value.methods ?? {}, c), d = Le(e, a.value.inject, c), y = Ue(
349
349
  a.value.dataSources || {},
350
350
  c
351
- ), y = {
352
- ..._,
353
- ...u,
351
+ ), m = {
352
+ ...d,
353
+ ...l,
354
354
  ...v,
355
- ...p
355
+ ...y
356
356
  };
357
- return c.setup(y, e), et(e, a.value.watch ?? [], c), {
357
+ return c.setup(m, e), Ke(e, a.value.watch ?? [], c), {
358
358
  vtj: c
359
359
  };
360
360
  },
@@ -363,19 +363,19 @@ function se(r) {
363
363
  render() {
364
364
  if (!a.value.nodes)
365
365
  return null;
366
- const f = a.value.nodes || [];
367
- return f.length === 1 ? O(f[0], c, e, i) : f.map((u) => O(u, c, e, i));
366
+ const p = a.value.nodes || [];
367
+ return p.length === 1 ? T(p[0], c, e, i) : p.map((l) => T(l, c, e, i));
368
368
  },
369
- ...tt(a.value.lifeCycles ?? {}, c)
369
+ ...We(a.value.lifeCycles ?? {}, c)
370
370
  });
371
371
  return {
372
- renderer: e.markRaw(m),
372
+ renderer: e.markRaw(f),
373
373
  context: c
374
374
  };
375
375
  }
376
- function We(r = [], e) {
377
- const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((o) => ke[o]) : void 0;
378
- return r.map((s) => b(s) ? {
376
+ function Be(r = [], e) {
377
+ const t = (s) => s ? (Array.isArray(s) ? s : [s]).map((o) => Ie[o]) : void 0;
378
+ return r.map((s) => F(s) ? {
379
379
  name: s
380
380
  } : {
381
381
  name: s.name,
@@ -391,53 +391,53 @@ function We(r = [], e) {
391
391
  {}
392
392
  );
393
393
  }
394
- function Ye(r, e, t) {
394
+ function Ve(r, e, t) {
395
395
  return r.reactive(
396
396
  Object.keys(e || {}).reduce(
397
397
  (s, n) => {
398
398
  let o = e[n];
399
- return g(o) ? o = t.__parseExpression(o) : N(o) && (o = t.__parseFunction(o)), s[n] = o, s;
399
+ return g(o) ? o = t.__parseExpression(o) : A(o) && (o = t.__parseFunction(o)), s[n] = o, s;
400
400
  },
401
401
  {}
402
402
  )
403
403
  );
404
404
  }
405
- function Ge(r, e, t) {
405
+ function qe(r, e, t) {
406
406
  return Object.entries(e ?? {}).reduce(
407
407
  (s, [n, o]) => (s[n] = r.computed(t.__parseFunction(o)), s),
408
408
  {}
409
409
  );
410
410
  }
411
- function Xe(r, e) {
411
+ function Je(r, e) {
412
412
  return Object.entries(r ?? {}).reduce(
413
413
  (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
414
414
  {}
415
415
  );
416
416
  }
417
- function Qe(r, e = [], t) {
417
+ function Le(r, e = [], t) {
418
418
  return e.reduce(
419
419
  (s, n) => {
420
420
  const { name: o, from: i } = n || {};
421
421
  n.default;
422
- const a = g(i) ? t.__parseExpression(i) || o : i ?? o, l = g(n.default) ? t.__parseExpression(n.default) : n.default ?? null;
423
- return s[o] = r.inject(a, l), s;
422
+ const a = g(i) ? t.__parseExpression(i) || o : i ?? o, u = g(n.default) ? t.__parseExpression(n.default) : n.default ?? null;
423
+ return s[o] = r.inject(a, u), s;
424
424
  },
425
425
  {}
426
426
  );
427
427
  }
428
- function Ze(r, e) {
428
+ function Ue(r, e) {
429
429
  return Object.keys(r).reduce(
430
430
  (t, s) => {
431
- const n = r[s], o = e.$apis[n.ref], i = N(n.transform) ? n.transform.value ? e.__parseFunction(n.transform) : void 0 : n.transform;
431
+ const n = r[s], o = e.$apis[n.ref], i = A(n.transform) ? n.transform.value ? e.__parseFunction(n.transform) : void 0 : n.transform;
432
432
  return t[s] = async (...a) => {
433
- const l = await o.apply(e, a);
434
- return i ? i(l) : l;
433
+ const u = await o.apply(e, a);
434
+ return i ? i(u) : u;
435
435
  }, t;
436
436
  },
437
437
  {}
438
438
  );
439
439
  }
440
- function et(r, e = [], t) {
440
+ function Ke(r, e = [], t) {
441
441
  e.forEach((s) => {
442
442
  r.watch(
443
443
  t.__parseExpression(s.source),
@@ -449,57 +449,57 @@ function et(r, e = [], t) {
449
449
  );
450
450
  });
451
451
  }
452
- function tt(r, e) {
452
+ function We(r, e) {
453
453
  return Object.entries(r ?? {}).reduce(
454
454
  (t, [s, n]) => (t[s] = e.__parseFunction(n), t),
455
455
  {}
456
456
  );
457
457
  }
458
- const rt = (r) => r;
459
- function ne(r) {
458
+ const Xe = (r) => r;
459
+ function re(r) {
460
460
  const { getDsl: e, options: t } = r;
461
461
  return (s, n, o = k) => !n || typeof n == "string" ? s : n.type === "Schema" ? o.defineAsyncComponent(async () => {
462
462
  const i = await e(n.id);
463
- return i ? se({
463
+ return i ? te({
464
464
  ...t,
465
465
  Vue: o,
466
466
  dsl: i,
467
467
  mode: w.Runtime,
468
- loader: ne(r)
468
+ loader: re(r)
469
469
  }).renderer : null;
470
470
  }) : s;
471
471
  }
472
- function O(r, e, t = k, s = rt) {
472
+ function T(r, e, t = k, s = Xe) {
473
473
  if (!r || !r.name || r.invisible)
474
474
  return null;
475
- const { id: n = null, directives: o = [] } = r, { vIf: i, vFor: a, vShow: l, vModels: c, vBind: m } = st(o);
476
- if (i && !nt(i, e))
475
+ const { id: n = null, directives: o = [] } = r, { vIf: i, vFor: a, vShow: u, vModels: c, vBind: f } = Ye(o);
476
+ if (i && !ze(i, e))
477
477
  return null;
478
- const f = (u) => {
479
- const v = u.$components, _ = (() => {
478
+ const p = (l) => {
479
+ const v = l.$components, d = (() => {
480
480
  if (r.name === "component")
481
- return ot(u, r.props?.is);
481
+ return Ge(l, r.props?.is);
482
482
  if (r.name === "slot")
483
483
  return r.name;
484
- const d = s(r.name, r.from, t);
485
- return b(d) ? v[d] ?? d : d;
486
- })(), p = it(n, r.props ?? {}, u), y = at(t, r.events ?? {}, u);
484
+ const _ = s(r.name, r.from, t);
485
+ return F(_) ? v[_] ?? _ : _;
486
+ })(), y = Qe(n, r.props ?? {}, l), m = Ze(t, r.events ?? {}, l);
487
487
  if (r.name === "slot")
488
- return ct(t, r, p, u);
489
- m && Object.assign(p, u.__parseExpression(m.value)), l && (p.style = Object.assign(
490
- p.style ?? {},
491
- ut(l, u)
492
- )), c.forEach((d) => {
493
- Object.assign(p, pt(t, d, u));
488
+ return et(t, r, y, l);
489
+ f && Object.assign(y, l.__parseExpression(f.value)), u && (y.style = Object.assign(
490
+ y.style ?? {},
491
+ rt(u, l)
492
+ )), c.forEach((_) => {
493
+ Object.assign(y, st(t, _, l));
494
494
  });
495
- const S = ft(t, r.children ?? [], u, r);
496
- return t.createVNode(_, { ...p, ...y }, S);
495
+ const S = nt(t, r.children ?? [], l, r);
496
+ return t.createVNode(d, { ...y, ...m }, S);
497
497
  };
498
- return a ? ht(a, f, e) : f(e);
498
+ return a ? at(a, p, e) : p(e);
499
499
  }
500
- function st(r = []) {
501
- const e = r.find((a) => j(a.name) === "vIf"), t = r.find((a) => j(a.name) === "vFor"), s = r.find((a) => j(a.name) === "vShow"), n = r.find((a) => j(a.name) === "vBind"), o = r.filter((a) => j(a.name) === "vModel"), i = r.filter(
502
- (a) => !Oe.includes(j(a.name))
500
+ function Ye(r = []) {
501
+ const e = r.find((a) => E(a.name) === "vIf"), t = r.find((a) => E(a.name) === "vFor"), s = r.find((a) => E(a.name) === "vShow"), n = r.find((a) => E(a.name) === "vBind"), o = r.filter((a) => E(a.name) === "vModel"), i = r.filter(
502
+ (a) => !Fe.includes(E(a.name))
503
503
  );
504
504
  return {
505
505
  vIf: e,
@@ -510,23 +510,23 @@ function st(r = []) {
510
510
  others: i
511
511
  };
512
512
  }
513
- function nt(r, e) {
513
+ function ze(r, e) {
514
514
  return !!e.__parseExpression(r.value);
515
515
  }
516
- function ot(r, e) {
516
+ function Ge(r, e) {
517
517
  return e ? g(e) ? r.__parseExpression(e) : e : "div";
518
518
  }
519
- function it(r, e, t) {
519
+ function Qe(r, e, t) {
520
520
  const s = Object.keys(e || {}).reduce(
521
521
  (n, o) => {
522
522
  let i = e[o];
523
- return g(i) ? i = t.__parseExpression(i) : N(i) && (i = t.__parseFunction(i)), n[o] = i, n;
523
+ return g(i) ? i = t.__parseExpression(i) : A(i) && (i = t.__parseFunction(i)), n[o] = i, n;
524
524
  },
525
525
  {}
526
526
  );
527
527
  return s.ref = t.__ref(r, s.ref), s;
528
528
  }
529
- function at(r, e, t) {
529
+ function Ze(r, e, t) {
530
530
  const s = ["passive", "capture", "once"], n = {
531
531
  capture: "Capture",
532
532
  once: "Once",
@@ -534,69 +534,69 @@ function at(r, e, t) {
534
534
  };
535
535
  return Object.keys(e || {}).reduce(
536
536
  (o, i) => {
537
- const a = e[i], l = oe(a.modifiers), c = l.find((u) => s.includes(u)), m = "on" + ye(i) + (c && n[c] || ""), f = t.__parseFunction(a.handler);
538
- return f && (o[m] = r.withModifiers(f, l)), o;
537
+ const a = e[i], u = se(a.modifiers), c = u.find((l) => s.includes(l)), f = "on" + ve(i) + (c && n[c] || ""), p = t.__parseFunction(a.handler);
538
+ return p && (o[f] = r.withModifiers(p, u)), o;
539
539
  },
540
540
  {}
541
541
  );
542
542
  }
543
- function oe(r = {}, e = !1) {
543
+ function se(r = {}, e = !1) {
544
544
  const t = Object.keys(r);
545
545
  return e ? t.map((s) => "." + s) : t;
546
546
  }
547
- function ct(r, e, t, s) {
548
- const { children: n } = e, o = lt(e, s), i = s.$slots?.[o.name];
549
- return i ? i(t) : n ? b(n) ? r.createTextVNode(n) : g(n) ? r.createTextVNode(
550
- ee(s.__parseExpression(n))
551
- ) : Array.isArray(n) ? n.map((a) => O(a, s, r)) : null : null;
547
+ function et(r, e, t, s) {
548
+ const { children: n } = e, o = tt(e, s), i = s.$slots?.[o.name];
549
+ return i ? i(t) : n ? F(n) ? r.createTextVNode(n) : g(n) ? r.createTextVNode(
550
+ Q(s.__parseExpression(n))
551
+ ) : Array.isArray(n) ? n.map((a) => T(a, s, r)) : null : null;
552
552
  }
553
- function lt(r, e) {
553
+ function tt(r, e) {
554
554
  const { props: t } = r, s = t?.name || "default";
555
555
  return {
556
556
  name: g(s) ? e.__parseExpression(s) : s,
557
557
  params: []
558
558
  };
559
559
  }
560
- function ut(r, e) {
560
+ function rt(r, e) {
561
561
  return e.__parseExpression(r.value) ? {} : {
562
562
  display: "none"
563
563
  };
564
564
  }
565
- function pt(r, e, t) {
565
+ function st(r, e, t) {
566
566
  const s = {
567
567
  type: "JSFunction",
568
568
  value: e.value?.value ? `(v) => {
569
569
  ${e.value.value} = v;
570
570
  }` : "(v) => {}"
571
- }, n = t.__parseFunction(s), o = oe(e.modifiers), i = g(e.arg) ? t.__parseExpression(e.arg) : e.arg || "modelValue";
571
+ }, n = t.__parseFunction(s), o = se(e.modifiers), i = g(e.arg) ? t.__parseExpression(e.arg) : e.arg || "modelValue";
572
572
  return {
573
573
  [i]: t.__parseExpression(e.value),
574
574
  [`onUpdate:${i}`]: o.length && n ? r.withModifiers(n, o) : n
575
575
  };
576
576
  }
577
- function ft(r, e, t, s) {
577
+ function nt(r, e, t, s) {
578
578
  if (!e)
579
579
  return null;
580
- if (b(e))
580
+ if (F(e))
581
581
  return { default: () => e };
582
582
  if (g(e))
583
583
  return {
584
- default: () => ee(t.__parseExpression(e))
584
+ default: () => Q(t.__parseExpression(e))
585
585
  };
586
586
  if (Array.isArray(e) && e.length > 0) {
587
- const n = mt(e), o = (i) => !i || !s ? {} : s?.id && Object.keys(i).length ? {
587
+ const n = ot(e), o = (i) => !i || !s ? {} : s?.id && Object.keys(i).length ? {
588
588
  [`scope_${s.id}`]: i
589
589
  } : {};
590
- return Object.entries(n).reduce((i, [a, { nodes: l, params: c }]) => (i[a] = (m) => {
591
- const f = c.length ? ge(m ?? {}, c) : o(m);
592
- return l.map(
593
- (u) => O(u, t.__clone(f), r)
590
+ return Object.entries(n).reduce((i, [a, { nodes: u, params: c }]) => (i[a] = (f) => {
591
+ const p = c.length ? _e(f ?? {}, c) : o(f);
592
+ return u.map(
593
+ (l) => T(l, t.__clone(p), r)
594
594
  );
595
595
  }, i), {});
596
596
  }
597
597
  return null;
598
598
  }
599
- function mt(r) {
599
+ function ot(r) {
600
600
  const e = {
601
601
  default: {
602
602
  params: [],
@@ -604,7 +604,7 @@ function mt(r) {
604
604
  }
605
605
  };
606
606
  for (const t of r) {
607
- const s = dt(t.slot), n = s.name;
607
+ const s = it(t.slot), n = s.name;
608
608
  e[n] ? (e[n].nodes.push(t), e[n].params = e[n].params.concat(s.params)) : e[n] = {
609
609
  nodes: [t],
610
610
  params: s.params
@@ -612,19 +612,19 @@ function mt(r) {
612
612
  }
613
613
  return e;
614
614
  }
615
- function dt(r = "default") {
616
- return b(r) ? { name: r, params: [] } : { params: [], ...r };
615
+ function it(r = "default") {
616
+ return F(r) ? { name: r, params: [] } : { params: [], ...r };
617
617
  }
618
- function ht(r, e, t) {
618
+ function at(r, e, t) {
619
619
  const { value: s, iterator: n } = r, { item: o = "item", index: i = "index" } = n || {};
620
620
  let a = t.__parseExpression(s) || [];
621
- return Number.isInteger(a) && (a = new Array(a).fill(!0).map((l, c) => c + 1)), Array.isArray(a) ? a.map((l, c) => e(t.__clone({ [o]: l, [i]: c }))) : (console.warn("[vForRender]:", `${s?.value} is not a Arrary`), []);
621
+ return Number.isInteger(a) && (a = new Array(a).fill(!0).map((u, c) => c + 1)), Array.isArray(a) ? a.map((u, c) => e(t.__clone({ [o]: u, [i]: c }))) : (console.warn("[vForRender]:", `${s?.value} is not a Arrary`), []);
622
622
  }
623
- const Y = V({
623
+ const K = X({
624
624
  name: "VtjPageContainer",
625
625
  async setup() {
626
- const r = ae(), e = X(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null;
627
- return s && Te(s.title || "VTJ"), {
626
+ const r = oe(), e = Y(), t = e.params.id, s = t ? r.getPage(t) : r.getHomepage(), n = s ? await r.getRenderComponent(s.id) : null;
627
+ return s && be(s.title || "VTJ"), {
628
628
  provider: r,
629
629
  component: n,
630
630
  file: s,
@@ -632,69 +632,19 @@ const Y = V({
632
632
  };
633
633
  },
634
634
  render() {
635
- return this.component ? B(this.component, this.query) : B("div", "页面不存在");
635
+ return this.component ? D(this.component, this.query) : D("div", "页面不存在");
636
636
  }
637
- }), vt = {
638
- name: {
639
- type: String,
640
- default: "VTJ.PRO"
641
- },
642
- tagline: {
643
- type: String,
644
- default: "基于 Vue3 + TypeScript 快速打造高生产力的低代码研发平台"
645
- },
646
- actionText: {
647
- type: String,
648
- default: "开始设计"
649
- },
650
- actionLink: {
651
- type: String,
652
- default: "/@vtj/pro/"
653
- }
654
- }, _t = { class: "x-startup" }, yt = { class: "x-startup__wrapper" }, gt = { class: "x-startup__name" }, wt = { class: "clip" }, St = { class: "x-startup__tagline" }, $t = { class: "x-startup__actions" }, jt = /* @__PURE__ */ V({
655
- __name: "Startup",
656
- props: vt,
657
- setup(r) {
658
- const e = r, t = () => {
659
- if (typeof window < "u") {
660
- let s = (window.__VTJ_LINK__ || {}).href || window.location.pathname + "@vtj/pro/#/";
661
- window.location.href = s;
662
- }
663
- };
664
- return (s, n) => (je(), Ee("div", _t, [
665
- F("div", yt, [
666
- F("div", gt, [
667
- F("span", wt, A(e.name), 1)
668
- ]),
669
- F("div", St, A(e.tagline), 1),
670
- F("div", $t, [
671
- Pe(z(Ce), {
672
- type: "primary",
673
- size: "large",
674
- round: "",
675
- icon: z(Me),
676
- onClick: t
677
- }, {
678
- default: be(() => [
679
- Fe(A(e.actionText), 1)
680
- ]),
681
- _: 1
682
- }, 8, ["icon"])
683
- ])
684
- ])
685
- ]));
686
- }
687
- }), Et = V({
637
+ }), ct = X({
688
638
  name: "VtjStartupContainer",
689
639
  render() {
690
- return B(jt);
640
+ return D(Pe);
691
641
  }
692
- }), ie = Symbol("Provider");
693
- class Pt extends le {
642
+ }), ne = Symbol("Provider");
643
+ class ut extends ae {
694
644
  mode;
695
645
  globals = {};
696
646
  modules = {};
697
- adapter = { request: Je, jsonp: we };
647
+ adapter = { request: Me, jsonp: ye };
698
648
  apis = {};
699
649
  dependencies = {};
700
650
  materials = {};
@@ -714,72 +664,73 @@ class Pt extends le {
714
664
  materials: o,
715
665
  project: i = {},
716
666
  adapter: a = {},
717
- globals: l = {},
667
+ globals: u = {},
718
668
  modules: c = {},
719
- router: m = null,
720
- materialPath: f = "./",
721
- nodeEnv: u = "development"
669
+ router: f = null,
670
+ materialPath: p = "./",
671
+ nodeEnv: l = "development"
722
672
  } = e;
723
- this.mode = s, this.modules = c, this.service = t, this.router = m, this.materialPath = f, this.nodeEnv = u, n && (this.dependencies = n), o && (this.materials = o), Object.assign(this.globals, l), Object.assign(this.adapter, a), s !== w.Design && this.load(i);
673
+ this.mode = s, this.modules = c, this.service = t, this.router = f, this.materialPath = p, this.nodeEnv = l, n && (this.dependencies = n), o && (this.materials = o), Object.assign(this.globals, u), Object.assign(this.adapter, a), s !== w.Design && this.load(i);
724
674
  }
725
675
  async load(e) {
726
676
  const t = this.modules[`.vtj/projects/${e.id}.json`];
727
677
  if (this.project = t ? await t() : await this.service.init(e), !this.project)
728
678
  throw new Error("project is null");
729
- const { dependencies: s = [], apis: n } = this.project, { dependencies: o, library: i, components: a, materialPath: l } = this, {
679
+ const { dependencies: s = [], apis: n } = this.project, { dependencies: o, library: i, components: a, materialPath: u } = this, {
730
680
  libraryExports: c,
731
- libraryMap: m,
732
- materials: f,
733
- materialExports: u,
681
+ libraryMap: f,
682
+ materials: p,
683
+ materialExports: l,
734
684
  materialMapLibrary: v
735
- } = Ne(s, l);
736
- for (const p of c) {
737
- const y = o[p], S = window[p];
738
- if (S)
739
- i[p] = S;
740
- else if (y)
741
- window[p] = i[p] = await y();
685
+ } = Re(s, u), d = window;
686
+ d.CKEDITOR_VERSION = void 0;
687
+ for (const m of c) {
688
+ const S = o[m], _ = d[m];
689
+ if (_)
690
+ i[m] = _;
691
+ else if (S)
692
+ d[m] = i[m] = await S();
742
693
  else {
743
- const d = m[p] || [];
744
- for (const $ of d)
745
- Q($) && await Be(p, P.append($, { v: I })), Z($) && await U(P.append($, { v: I })), i[p] = window[p];
694
+ const $ = f[m] || [];
695
+ for (const j of $)
696
+ z(j) && await Ce(m, P.append(j, { v: I })), G(j) && await J(P.append(j, { v: I })), i[m] = d[m];
746
697
  }
747
698
  }
748
- for (const p of f)
749
- await U(P.append(p, { v: I }));
750
- const _ = this.materials || {};
751
- for (const p of u) {
752
- const y = window[v[p]], S = ue[p];
753
- if (S)
754
- y && S.forEach((d) => {
755
- a[d] = y[d];
699
+ for (const m of p)
700
+ await J(P.append(m, { v: I }));
701
+ const y = this.materials || {};
702
+ for (const m of l) {
703
+ const S = d[v[m]], _ = ce[m];
704
+ if (_)
705
+ S && _.forEach(($) => {
706
+ a[$] = S[$];
756
707
  });
757
708
  else {
758
- const d = _[p] ? (await _[p]()).default : window[p];
759
- d && y && (d.components || []).forEach(($) => {
760
- a[$.name] = Ae($, y);
709
+ const $ = y[m] ? (await y[m]()).default : d[m];
710
+ $ && S && ($.components || []).forEach((j) => {
711
+ a[j.name] = He(j, S);
761
712
  });
762
713
  }
763
714
  }
764
- n && (this.apis = qe(n, this.adapter), re(), this.project.config?.mock && Ue(n)), this.initRouter(), this.triggerReady();
715
+ n && (this.apis = ke(n, this.adapter), ee(), this.project.config?.mock && Ae(n)), this.initRouter(), this.triggerReady();
765
716
  }
766
717
  initRouter() {
767
718
  const { router: e, project: t } = this;
768
719
  e && (e.addRoute({
769
720
  path: "/page/:id",
770
721
  name: "VtjPage",
771
- component: Y
722
+ component: K
772
723
  }), e.addRoute({
773
724
  path: "/",
774
725
  name: "VtjHomepage",
775
- component: t?.homepage ? Y : Et
726
+ component: t?.homepage ? K : ct
776
727
  }));
777
728
  }
778
729
  install(e) {
779
730
  const t = e.config.globalProperties.installed || {};
780
731
  for (const [s, n] of Object.entries(this.library))
781
- !t[s] && De(n) && (e.use(n), t[s] = !0);
782
- e.provide(ie, this), e.config.globalProperties.installed = t;
732
+ !t[s] && xe(n) && (e.use(n), t[s] = !0);
733
+ e.provide(ne, this), e.config.globalProperties.installed = t;
783
734
  }
784
735
  getFile(e) {
785
736
  const { blocks: t = [] } = this.project || {};
@@ -810,47 +761,47 @@ class Pt extends le {
810
761
  async getRenderComponent(e) {
811
762
  const t = this.getFile(e);
812
763
  if (!t)
813
- return T.warn(`Can not find file: ${e}`), null;
764
+ return O.warn(`Can not find file: ${e}`), null;
814
765
  const s = `.vtj/vue/${e}.vue`, n = this.modules[s];
815
766
  if (n)
816
767
  return (await n())?.default;
817
768
  const o = await this.getDsl(t.id);
818
769
  if (!o)
819
- return T.warn(`Can not find dsl: ${e}`), null;
820
- const { library: i, components: a, mode: l, apis: c } = this, m = {
821
- mode: l,
770
+ return O.warn(`Can not find dsl: ${e}`), null;
771
+ const { library: i, components: a, mode: u, apis: c } = this, f = {
772
+ mode: u,
822
773
  Vue: i.Vue,
823
774
  components: a,
824
775
  libs: i,
825
776
  apis: c,
826
777
  window
827
- }, f = ne({
778
+ }, p = re({
828
779
  getDsl: async (v) => await this.getDsl(v) || null,
829
- options: m
830
- }), { renderer: u } = se({
831
- ...m,
780
+ options: f
781
+ }), { renderer: l } = te({
782
+ ...f,
832
783
  dsl: o,
833
- loader: f
784
+ loader: p
834
785
  });
835
- return u;
786
+ return l;
836
787
  }
837
788
  }
838
- function Vt(r) {
839
- const e = new Pt(r);
789
+ function bt(r) {
790
+ const e = new ut(r);
840
791
  return {
841
792
  provider: e,
842
793
  onReady: (s) => e.ready(s)
843
794
  };
844
795
  }
845
- function ae(r = {}) {
846
- const e = Ie(ie);
796
+ function oe(r = {}) {
797
+ const e = Se(ne);
847
798
  if (!e)
848
799
  throw new Error("Can not find provider");
849
800
  if (e.mode === w.Raw && e.nodeEnv === "development") {
850
801
  const { id: t, version: s } = r;
851
802
  t && s && (async () => {
852
803
  const n = await e.getDsl(t);
853
- n?.__VERSION__ !== s && J.warning({
804
+ n?.__VERSION__ !== s && B.warning({
854
805
  title: n?.name,
855
806
  message: "当前组件源码版本与运行时版本不一致,请重新发布组件"
856
807
  });
@@ -858,7 +809,7 @@ function ae(r = {}) {
858
809
  }
859
810
  return e;
860
811
  }
861
- const bt = new Se({
812
+ const lt = new ge({
862
813
  settings: {
863
814
  type: "json",
864
815
  validSuccess: !0,
@@ -866,12 +817,12 @@ const bt = new Se({
866
817
  failMessage: !0,
867
818
  validate: (r) => r.data?.code === 0,
868
819
  showError: (r) => {
869
- J.error({
820
+ B.error({
870
821
  message: r || "未知错误"
871
822
  });
872
823
  }
873
824
  }
874
- }), Ft = (r = "/vtj/local/repository/${type}.json") => (e, t) => bt.send({
825
+ }), pt = (r = "/vtj/local/repository/${type}.json") => (e, t) => lt.send({
875
826
  url: r,
876
827
  method: "post",
877
828
  query: { type: e },
@@ -880,10 +831,10 @@ const bt = new Se({
880
831
  data: t
881
832
  }
882
833
  });
883
- class L {
834
+ class V {
884
835
  api;
885
836
  constructor() {
886
- this.api = Ft();
837
+ this.api = pt();
887
838
  }
888
839
  async init(e) {
889
840
  return console.log("BaseService.init", e), {};
@@ -939,22 +890,22 @@ class L {
939
890
  return await this.api("removeRawPage", e).catch(() => "");
940
891
  }
941
892
  }
942
- const h = new $e({
893
+ const h = new we({
943
894
  type: "local",
944
895
  expired: 0,
945
896
  prefix: "__VTJ_"
946
897
  });
947
- class Jt extends L {
898
+ class Pt extends V {
948
899
  init(e) {
949
- const t = new C(e), s = h.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
900
+ const t = new x(e), s = h.get(`project_${t.id}`), n = Object.assign(t.toDsl(), s || {});
950
901
  return h.save(`project_${t.id}`, n), Promise.resolve(n);
951
902
  }
952
903
  saveProject(e) {
953
- const t = new C(e);
904
+ const t = new x(e);
954
905
  return h.save(`project_${t.id}`, t.toDsl()), Promise.resolve(!0);
955
906
  }
956
907
  saveMaterials(e, t) {
957
- return h.save(`materials_${e.id}`, D(t)), Promise.resolve(!0);
908
+ return h.save(`materials_${e.id}`, N(t)), Promise.resolve(!0);
958
909
  }
959
910
  saveFile(e) {
960
911
  return h.save(`file_${e.id}`, e), Promise.resolve(!0);
@@ -978,7 +929,7 @@ class Jt extends L {
978
929
  return Promise.resolve(!0);
979
930
  }
980
931
  getHistory(e) {
981
- const t = h.get(`history_${e}`), s = new G(t || { id: e });
932
+ const t = h.get(`history_${e}`), s = new W(t || { id: e });
982
933
  return Promise.resolve(s.toDsl());
983
934
  }
984
935
  getHistoryItem(e, t) {
@@ -994,22 +945,22 @@ class Jt extends L {
994
945
  }), Promise.resolve(!0);
995
946
  }
996
947
  }
997
- class It extends L {
948
+ class ft extends V {
998
949
  projects = {};
999
950
  materials = {};
1000
951
  files = {};
1001
952
  histories = {};
1002
953
  historyItems = {};
1003
954
  init(e) {
1004
- const t = new C(e), s = this.projects[t.id] || {}, n = Object.assign(t.toDsl(), s);
955
+ const t = new x(e), s = this.projects[t.id] || {}, n = Object.assign(t.toDsl(), s);
1005
956
  return this.projects[n.id] = n, Promise.resolve(n);
1006
957
  }
1007
958
  saveProject(e) {
1008
- const t = new C(e);
959
+ const t = new x(e);
1009
960
  return this.projects[t.id] = t.toDsl(), Promise.resolve(!0);
1010
961
  }
1011
962
  saveMaterials(e, t) {
1012
- return e.id && (this.materials[e.id] = D(t)), Promise.resolve(!0);
963
+ return e.id && (this.materials[e.id] = N(t)), Promise.resolve(!0);
1013
964
  }
1014
965
  saveFile(e) {
1015
966
  return this.files[e.id] = e, Promise.resolve(!0);
@@ -1033,7 +984,7 @@ class It extends L {
1033
984
  return Promise.resolve(!0);
1034
985
  }
1035
986
  getHistory(e) {
1036
- const t = this.histories[e], s = new G(t || { id: e });
987
+ const t = this.histories[e], s = new W(t || { id: e });
1037
988
  return Promise.resolve(s);
1038
989
  }
1039
990
  getHistoryItem(e, t) {
@@ -1051,11 +1002,11 @@ class It extends L {
1051
1002
  }), Promise.resolve(!0);
1052
1003
  }
1053
1004
  }
1054
- let H = null;
1055
- function Lt() {
1056
- return H || (H = new It(), H);
1005
+ let C = null;
1006
+ function Ft() {
1007
+ return C || (C = new ft(), C);
1057
1008
  }
1058
- class qt extends L {
1009
+ class It extends V {
1059
1010
  async init(e) {
1060
1011
  return await this.api("init", e).catch(() => null) || {};
1061
1012
  }
@@ -1065,7 +1016,7 @@ class qt extends L {
1065
1016
  async saveMaterials(e, t) {
1066
1017
  return !!await this.api("saveMaterials", {
1067
1018
  project: e,
1068
- materials: D(t)
1019
+ materials: N(t)
1069
1020
  }).catch(() => !1);
1070
1021
  }
1071
1022
  async saveFile(e) {
@@ -1100,7 +1051,7 @@ class qt extends L {
1100
1051
  );
1101
1052
  }
1102
1053
  }
1103
- function ce(r = []) {
1054
+ function ie(r = []) {
1104
1055
  return r.map((e) => {
1105
1056
  const { id: t, title: s, icon: n, children: o, hidden: i } = e;
1106
1057
  return {
@@ -1109,14 +1060,14 @@ function ce(r = []) {
1109
1060
  icon: n,
1110
1061
  hidden: i,
1111
1062
  url: `/page/${t}`,
1112
- children: o && o.length ? ce(o) : void 0
1063
+ children: o && o.length ? ie(o) : void 0
1113
1064
  };
1114
1065
  });
1115
1066
  }
1116
- function Ut() {
1117
- const r = ae(), e = X(), t = Re(!1), s = r.project;
1118
- xe(() => {
1119
- const { name: i, params: a, meta: l } = e;
1067
+ function Rt() {
1068
+ const r = oe(), e = Y(), t = $e(!1), s = r.project;
1069
+ je(() => {
1070
+ const { name: i, params: a, meta: u } = e;
1120
1071
  if (i === "VtjPage") {
1121
1072
  const c = r.getPage(a.id);
1122
1073
  t.value = !c?.mask;
@@ -1124,9 +1075,9 @@ function Ut() {
1124
1075
  const c = r.getHomepage();
1125
1076
  t.value = !c?.mask;
1126
1077
  } else
1127
- t.value = !l.mask;
1078
+ t.value = !u.mask;
1128
1079
  });
1129
- const n = ce(s?.pages), o = s?.config;
1080
+ const n = ie(s?.pages), o = s?.config;
1130
1081
  return {
1131
1082
  disabled: t,
1132
1083
  logo: o?.logo,
@@ -1136,49 +1087,49 @@ function Ut() {
1136
1087
  };
1137
1088
  }
1138
1089
  export {
1139
- Oe as BUILT_IN_DIRECTIVES,
1140
- L as BaseService,
1141
- K as CONTEXT_HOST,
1142
- Ke as Context,
1090
+ Fe as BUILT_IN_DIRECTIVES,
1091
+ V as BaseService,
1092
+ L as CONTEXT_HOST,
1093
+ Ne as Context,
1143
1094
  w as ContextMode,
1144
- ke as DATA_TYPES,
1145
- Dt as JSCodeToString,
1146
- Nt as LIFE_CYCLES_LIST,
1147
- qt as LocalService,
1148
- It as MemoryService,
1149
- Pt as Provider,
1150
- Jt as StorageService,
1095
+ Ie as DATA_TYPES,
1096
+ Et as JSCodeToString,
1097
+ St as LIFE_CYCLES_LIST,
1098
+ It as LocalService,
1099
+ ft as MemoryService,
1100
+ ut as Provider,
1101
+ Pt as StorageService,
1151
1102
  I as VTJ_RENDERER_VERSION,
1152
- te as adoptedStyleSheets,
1153
- At as createAssetScripts,
1154
- Bt as createAssetsCss,
1155
- Ze as createDataSources,
1156
- ne as createLoader,
1157
- Lt as createMemoryService,
1158
- Vt as createProvider,
1159
- se as createRenderer,
1160
- Le as createSchemaApi,
1161
- qe as createSchemaApis,
1162
- rt as defaultLoader,
1163
- x as fillBasePath,
1164
- oe as getModifiers,
1165
- Ae as getRawComponent,
1166
- Q as isCSSUrl,
1167
- Ve as isJSCode,
1103
+ Z as adoptedStyleSheets,
1104
+ $t as createAssetScripts,
1105
+ jt as createAssetsCss,
1106
+ Ue as createDataSources,
1107
+ re as createLoader,
1108
+ Ft as createMemoryService,
1109
+ bt as createProvider,
1110
+ te as createRenderer,
1111
+ Te as createSchemaApi,
1112
+ ke as createSchemaApis,
1113
+ Xe as defaultLoader,
1114
+ H as fillBasePath,
1115
+ se as getModifiers,
1116
+ He as getRawComponent,
1117
+ z as isCSSUrl,
1118
+ Oe as isJSCode,
1168
1119
  g as isJSExpression,
1169
- N as isJSFunction,
1170
- Z as isJSUrl,
1171
- De as isVuePlugin,
1172
- Be as loadCss,
1173
- ze as mockApi,
1174
- Ue as mockApis,
1175
- re as mockCleanup,
1176
- O as nodeRender,
1177
- Ne as parseDeps,
1120
+ A as isJSFunction,
1121
+ G as isJSUrl,
1122
+ xe as isVuePlugin,
1123
+ Ce as loadCss,
1124
+ De as mockApi,
1125
+ Ae as mockApis,
1126
+ ee as mockCleanup,
1127
+ T as nodeRender,
1128
+ Re as parseDeps,
1178
1129
  R as parseExpression,
1179
- W as parseFunction,
1180
- ie as providerKey,
1181
- ee as toString,
1182
- Ut as useMask,
1183
- ae as useProvider
1130
+ U as parseFunction,
1131
+ ne as providerKey,
1132
+ Q as toString,
1133
+ Rt as useMask,
1134
+ oe as useProvider
1184
1135
  };