x-essential-lib 0.7.8 → 0.7.9

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.js CHANGED
@@ -1,19 +1,19 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.x-cont[data-v-7ab74c70]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-7ab74c70]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-7ab74c70]{transform-origin:20px 20px;animation:lds-spinner-7ab74c70 1.2s linear infinite}.lds-spinner div[data-v-7ab74c70]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-7ab74c70]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-7ab74c70]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-7ab74c70]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-7ab74c70]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-7ab74c70]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-7ab74c70]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-7ab74c70]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-7ab74c70]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-7ab74c70]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-7ab74c70]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-7ab74c70]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-7ab74c70]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-7ab74c70{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-8fd5d800]{position:absolute;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { computed as y, provide as O, inject as I, ref as f, getCurrentScope as xe, onScopeDispose as be, unref as $, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as E, resolveComponent as h, openBlock as C, createBlock as R, isRef as Y, withKeys as F, withModifiers as H, withCtx as w, createVNode as b, createTextVNode as q, toDisplayString as j, createElementBlock as Q, normalizeStyle as le, createElementVNode as m, createCommentVNode as ce, Fragment as De, renderList as Ae, useTemplateRef as Me } from "vue";
2
+ import { computed as y, provide as O, inject as I, ref as f, getCurrentScope as xe, onScopeDispose as be, unref as $, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as E, resolveComponent as h, openBlock as C, createBlock as q, isRef as Y, withKeys as F, withModifiers as H, withCtx as w, createVNode as b, createTextVNode as V, toDisplayString as R, createElementBlock as Q, normalizeStyle as le, createElementVNode as m, createCommentVNode as ce, Fragment as De, renderList as Me, useTemplateRef as Se } from "vue";
3
3
  import { useI18n as P } from "vue-i18n";
4
- import { useTheme as ee, useDisplay as Se } from "vuetify";
5
- import { useRouter as ue, useRoute as je } from "vue-router";
6
- import Re from "axios";
7
- function Tt() {
8
- const e = ee(), t = y(() => e.global.current.value.colors.primary), a = y(() => e.global.current.value.colors.secondary), n = y(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), o = y(() => e.current.value.dark ? "#272727" : "#eeeeee"), l = y(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), r = y(() => e.current.value.dark ? "#303030" : "#f6f6f6"), c = y(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
4
+ import { useTheme as ee, useDisplay as je } from "vuetify";
5
+ import { useRouter as ue, useRoute as Re } from "vue-router";
6
+ import qe from "axios";
7
+ function It() {
8
+ const e = ee(), t = y(() => e.global.current.value.colors.primary), a = y(() => e.global.current.value.colors.secondary), n = y(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), o = y(() => e.current.value.dark ? "#272727" : "#eeeeee"), l = y(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), c = y(() => e.current.value.dark ? "#303030" : "#f6f6f6"), r = y(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
9
9
  return {
10
10
  primaryColor: t,
11
11
  secondaryColor: a,
12
12
  backgroundColor0: n,
13
13
  backgroundColor1: o,
14
14
  backgroundColor2: l,
15
- highlightColor: r,
16
- borderColor: c
15
+ highlightColor: c,
16
+ borderColor: r
17
17
  };
18
18
  }
19
19
  /*! js-cookie v3.0.5 | MIT */
@@ -25,7 +25,7 @@ function X(e) {
25
25
  }
26
26
  return e;
27
27
  }
28
- var qe = {
28
+ var Ve = {
29
29
  read: function(e) {
30
30
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
31
31
  },
@@ -37,27 +37,27 @@ var qe = {
37
37
  }
38
38
  };
39
39
  function J(e, t) {
40
- function a(o, l, r) {
40
+ function a(o, l, c) {
41
41
  if (!(typeof document > "u")) {
42
- r = X({}, t, r), typeof r.expires == "number" && (r.expires = new Date(Date.now() + r.expires * 864e5)), r.expires && (r.expires = r.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
43
- var c = "";
44
- for (var u in r)
45
- r[u] && (c += "; " + u, r[u] !== !0 && (c += "=" + r[u].split(";")[0]));
46
- return document.cookie = o + "=" + e.write(l, o) + c;
42
+ c = X({}, t, c), typeof c.expires == "number" && (c.expires = new Date(Date.now() + c.expires * 864e5)), c.expires && (c.expires = c.expires.toUTCString()), o = encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
43
+ var r = "";
44
+ for (var u in c)
45
+ c[u] && (r += "; " + u, c[u] !== !0 && (r += "=" + c[u].split(";")[0]));
46
+ return document.cookie = o + "=" + e.write(l, o) + r;
47
47
  }
48
48
  }
49
49
  function n(o) {
50
50
  if (!(typeof document > "u" || arguments.length && !o)) {
51
- for (var l = document.cookie ? document.cookie.split("; ") : [], r = {}, c = 0; c < l.length; c++) {
52
- var u = l[c].split("="), _ = u.slice(1).join("=");
51
+ for (var l = document.cookie ? document.cookie.split("; ") : [], c = {}, r = 0; r < l.length; r++) {
52
+ var u = l[r].split("="), _ = u.slice(1).join("=");
53
53
  try {
54
54
  var g = decodeURIComponent(u[0]);
55
- if (r[g] = e.read(_, g), o === g)
55
+ if (c[g] = e.read(_, g), o === g)
56
56
  break;
57
57
  } catch {
58
58
  }
59
59
  }
60
- return o ? r[o] : r;
60
+ return o ? c[o] : c;
61
61
  }
62
62
  }
63
63
  return Object.create(
@@ -86,13 +86,13 @@ function J(e, t) {
86
86
  }
87
87
  );
88
88
  }
89
- var V = J(qe, { path: "/" });
90
- function Et(e) {
91
- const t = Re.create({
89
+ var A = J(Ve, { path: "/" });
90
+ function Tt(e) {
91
+ const t = qe.create({
92
92
  timeout: 6e3
93
93
  });
94
94
  return t.defaults.baseURL = e.baseUrl, t.interceptors.request.use(
95
- (a) => Ve(a),
95
+ (a) => Ae(a),
96
96
  (a) => {
97
97
  Oe(a, e.onError);
98
98
  }
@@ -101,8 +101,8 @@ function Et(e) {
101
101
  (a) => Te(a, e.onError)
102
102
  ), t;
103
103
  }
104
- function Ve(e) {
105
- const t = V.get("accessToken") ?? "";
104
+ function Ae(e) {
105
+ const t = A.get("accessToken") ?? "";
106
106
  return e.headers.Authorization = "Basic " + t, e.headers["Content-Type"] = "application/json", e.data = JSON.stringify(e.data), e;
107
107
  }
108
108
  function Oe(e, t) {
@@ -120,7 +120,7 @@ function Te(e, t) {
120
120
  })), Promise.reject(e);
121
121
  }
122
122
  function Ee() {
123
- V.remove("accessToken"), V.remove("refreshToken"), V.remove("activeOrg"), ue().replace({ path: "/passport/login" });
123
+ A.remove("accessToken"), A.remove("refreshToken"), A.remove("activeOrg"), ue().replace({ path: "/passport/login" });
124
124
  }
125
125
  function Be(e) {
126
126
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, a) {
@@ -141,7 +141,7 @@ function Be(e) {
141
141
  const p = function() {
142
142
  return window.eventBus || (window.eventBus = Be()), window.eventBus;
143
143
  }();
144
- async function Bt(e) {
144
+ async function Et(e) {
145
145
  return new Promise((t) => {
146
146
  setTimeout(t, e);
147
147
  });
@@ -170,7 +170,7 @@ let We = 0;
170
170
  function se() {
171
171
  return ++We;
172
172
  }
173
- async function Ut(e) {
173
+ async function Bt(e) {
174
174
  if (!pe())
175
175
  return;
176
176
  let t = !1, a;
@@ -179,7 +179,7 @@ async function Ut(e) {
179
179
  }, o = se();
180
180
  return p.on("confirmDlgResult" + o, n), p.emit("confirmDlg", { ...e, seq: o }), await te(() => t), p.off("confirmDlgResult" + o, n), a;
181
181
  }
182
- async function Wt(e) {
182
+ async function Ut(e) {
183
183
  if (!pe())
184
184
  return;
185
185
  let t = !1, a;
@@ -188,22 +188,22 @@ async function Wt(e) {
188
188
  }, o = se();
189
189
  return p.on("promptDlgResult" + o, n), p.emit("promptDlg", { ...e, seq: o }), await te(() => t), p.off("promptDlgResult" + o, n), a;
190
190
  }
191
- function Ht(e) {
191
+ function Wt(e) {
192
192
  p.emit("openWaitDlg", { text: e });
193
193
  }
194
- function $t() {
194
+ function Ht() {
195
195
  p.emit("closeWaitDlg");
196
196
  }
197
- function Kt(e, t) {
197
+ function $t(e, t) {
198
198
  p.emit("message", { type: "error", text: e, timeout: t });
199
199
  }
200
- function zt(e, t) {
200
+ function Kt(e, t) {
201
201
  p.emit("message", { type: "info", text: e, timeout: t });
202
202
  }
203
- function Xt(e, t) {
203
+ function zt(e, t) {
204
204
  p.emit("message", { type: "success", text: e, timeout: t });
205
205
  }
206
- function Ft(e, t) {
206
+ function Xt(e, t) {
207
207
  p.emit("message", { type: "warning", text: e, timeout: t });
208
208
  }
209
209
  var He = /* @__PURE__ */ ((e) => (e.list_app_group = "list_app_group", e.create_app_group = "create_app_group", e.delete_app_group = "delete_app_group", e.update_app_group = "update_app_group", e.arrange_app_group = "arrange_app_group", e.list_app = "list_app", e.get_app = "get_app", e.create_app = "create_app", e.delete_app = "delete_app", e.update_app = "update_app", e.list_app_release = "list_app_release", e.get_app_release = "get_app_release", e.create_app_release = "create_app_release", e.delete_app_release = "delete_app_release", e.deploy_app_release = "deploy_app_release", e.open_app_layer = "open_app_layer", e.open_app = "open_app", e.list_compute_space = "list_compute_space", e.get_compute_space = "get_compute_space", e.create_compute_space = "create_compute_space", e.delete_compute_space = "delete_compute_space", e.update_compute_space = "update_compute_space", e.arrange_compute_space = "arrange_compute_space", e.list_func_group = "list_func_group", e.create_func_group = "create_func_group", e.delete_func_group = "delete_func_group", e.update_func_group = "update_func_group", e.arrange_func_group = "arrange_func_group", e.list_func = "list_func", e.get_func = "get_func", e.create_func = "create_func", e.delete_func = "delete_func", e.update_func = "update_func", e.debug_func = "debug_func", e.call_func = "call_func", e.list_func_release = "list_func_release", e.get_func_release = "get_func_release", e.create_func_release = "create_func_release", e.delete_func_release = "delete_func_release", e.deploy_func_release = "deploy_func_release", e.list_flow_group = "list_flow_group", e.create_flow_group = "create_flow_group", e.delete_flow_group = "delete_flow_group", e.update_flow_group = "update_flow_group", e.arrange_flow_group = "arrange_flow_group", e.list_flow = "list_flow", e.get_flow = "get_flow", e.create_flow = "create_flow", e.delete_flow = "delete_flow", e.update_flow = "update_flow", e.call_flow = "call_flow", e.list_flow_release = "list_flow_release", e.get_flow_release = "get_flow_release", e.create_flow_release = "create_flow_release", e.delete_flow_release = "delete_flow_release", e.deploy_flow_release = "deploy_flow_release", e.list_task = "list_task", e.get_task = "get_task", e.create_task = "create_task", e.delete_task = "delete_task", e.update_task = "update_task", e.call_task = "call_task", e.open_compute_layer = "open_compute_layer", e.list_data_space = "list_data_space", e.get_data_space = "get_data_space", e.create_data_space = "create_data_space", e.delete_data_space = "delete_data_space", e.update_data_space = "update_data_space", e.arrange_data_space = "arrange_data_space", e.list_table_group = "list_table_group", e.create_table_group = "create_table_group", e.delete_table_group = "delete_table_group", e.update_table_group = "update_table_group", e.arrange_table_group = "arrange_table_group", e.list_table = "list_table", e.get_table = "get_table", e.create_table = "create_table", e.delete_table = "delete_table", e.update_table = "update_table", e.get_data = "get_data", e.create_data = "create_data", e.delete_data = "delete_data", e.update_data = "update_data", e.get_relation_graph = "get_relation_graph", e.update_relation_graph = "update_relation_graph", e.list_change = "list_change", e.apply_change = "apply_change", e.open_data_layer = "open_data_layer", e.list_resource_space = "list_resource_space", e.get_resource_space = "get_resource_space", e.create_resource_space = "create_resource_space", e.delete_resource_space = "delete_resource_space", e.update_resource_space = "update_resource_space", e.arrange_resource_space = "arrange_resource_space", e.list_dir = "list_dir", e.create_dir = "create_dir", e.delete_dir = "delete_dir", e.update_dir = "update_dir", e.move_dir = "move_dir", e.list_resource = "list_resource", e.get_resource = "get_resource", e.create_resource = "create_resource", e.delete_resource = "delete_resource", e.update_resource = "update_resource", e.move_resource = "move_resource", e.open_resource_layer = "open_resource_layer", e.list_org_member = "list_org_member", e.add_org_member = "add_org_member", e.remove_org_member = "remove_org_member", e.update_org_member = "update_org_member", e.list_org_role = "list_org_role", e.get_org_role = "get_org_role", e.create_org_role = "create_org_role", e.delete_org_role = "delete_org_role", e.update_org_role = "update_org_role", e.arrange_org_role = "arrange_org_role", e.get_org_structure = "get_org_structure", e.update_org_structure = "update_org_structure", e.filter_table = "filter_table", e))(He || {});
@@ -224,13 +224,13 @@ const _e = "essentialDark", ie = "essentialLocale", de = "essentialPermissionObj
224
224
  function $e(e) {
225
225
  O(_e, e);
226
226
  }
227
- function Zt() {
227
+ function Ft() {
228
228
  return I(_e);
229
229
  }
230
230
  function Ke(e) {
231
231
  O(ie, e);
232
232
  }
233
- function Nt() {
233
+ function Zt() {
234
234
  return I(ie);
235
235
  }
236
236
  function ze(e) {
@@ -242,22 +242,22 @@ function Xe() {
242
242
  function Fe(e) {
243
243
  O(fe, e);
244
244
  }
245
- function Gt() {
245
+ function Nt() {
246
246
  return I(fe);
247
247
  }
248
248
  function Ze(e) {
249
249
  O(ge, e);
250
250
  }
251
- function Ne() {
251
+ function Gt() {
252
252
  return I(ge);
253
253
  }
254
- function Ge(e) {
254
+ function Ne(e) {
255
255
  O(ve, e);
256
256
  }
257
- function Qe() {
257
+ function Ge() {
258
258
  return I(ve);
259
259
  }
260
- const Je = [
260
+ const Qe = [
261
261
  {
262
262
  app: "x-passport-mf",
263
263
  path: "/passport/login",
@@ -368,18 +368,17 @@ const Je = [
368
368
  function Z(e) {
369
369
  let t, a = 0;
370
370
  const n = e.split("/").filter((o) => o.trim() !== "");
371
- return Je.forEach((o) => {
372
- const l = o.path.split("/").filter((c) => c.trim() !== "");
373
- let r = 0;
374
- for (let c = 0; c < n.length && !(c >= l.length || n[c] !== l[c]); c++)
375
- r++;
376
- r > 0 && r > a && (t = o, a = r);
371
+ return Qe.forEach((o) => {
372
+ const l = o.path.split("/").filter((r) => r.trim() !== "");
373
+ let c = 0;
374
+ for (let r = 0; r < n.length && !(r >= l.length || n[r] !== l[r]); r++)
375
+ c++;
376
+ c > 0 && c > a && (t = o, a = c);
377
377
  }), t;
378
378
  }
379
379
  const G = f("");
380
- function M(e, t) {
381
- const a = Ne();
382
- t === "/" && (t = a.value);
380
+ function S(e, t, a) {
381
+ t === "/" && (t = a);
383
382
  const n = Z(e), o = Z(t);
384
383
  if (!n) {
385
384
  console.assert(!1);
@@ -387,56 +386,56 @@ function M(e, t) {
387
386
  }
388
387
  if (console.info(`~~~~routeChange~~~~ ${t} -> ${e}`), !o)
389
388
  return;
390
- const l = n.app === o.app, r = n.path === o.path, c = n.level >= o.level;
391
- l ? r ? G.value = "" : G.value = c ? "inner-left" : "inner-right" : (G.value = "", Ue(n.app, c));
389
+ const l = n.app === o.app, c = n.path === o.path, r = n.level >= o.level;
390
+ l ? c ? G.value = "" : G.value = r ? "inner-left" : "inner-right" : (G.value = "", Ue(n.app, r));
392
391
  }
393
- function Ye() {
394
- return !!V.get("accessToken");
392
+ function Je() {
393
+ return !!A.get("accessToken");
395
394
  }
396
- function Pe() {
397
- return !!V.get("activeOrg");
395
+ function Ye() {
396
+ return !!A.get("activeOrg");
398
397
  }
399
- function Qt(e, t, a) {
400
- const n = Ye(), o = Pe(), l = Z(e.path);
401
- if (!l) {
398
+ function Qt(e, t, a, n) {
399
+ const o = Je(), l = Ye(), c = Z(e.path);
400
+ if (!c) {
402
401
  console.assert(!1), a();
403
402
  return;
404
403
  }
405
- if (l.requiredState === "auth")
406
- if (n)
407
- if (o) {
404
+ if (c.requiredState === "auth")
405
+ if (o)
406
+ if (l) {
408
407
  const r = "/main";
409
- M(r, t.path), a({ path: r });
408
+ S(r, t.path, n), a({ path: r });
410
409
  } else
411
- M(e.path, t.path), a();
410
+ S(e.path, t.path, n), a();
412
411
  else {
413
412
  const r = "/passport/login";
414
- M(r, t.path), a({ path: r });
413
+ S(r, t.path, n), a({ path: r });
415
414
  }
416
- else if (l.requiredState === "org")
417
- if (n)
418
- if (o)
419
- M(e.path, t.path), a();
415
+ else if (c.requiredState === "org")
416
+ if (o)
417
+ if (l)
418
+ S(e.path, t.path, n), a();
420
419
  else {
421
420
  const r = "/org/joinOrCreate";
422
- M(r, t.path), a({ path: r });
421
+ S(r, t.path, n), a({ path: r });
423
422
  }
424
423
  else {
425
424
  const r = "/passport/login";
426
- M(r, t.path), a({ path: r });
425
+ S(r, t.path, n), a({ path: r });
427
426
  }
428
- else if (n)
429
- if (o) {
427
+ else if (o)
428
+ if (l) {
430
429
  const r = "/main";
431
- M(r, t.path), a({ path: r });
430
+ S(r, t.path, n), a({ path: r });
432
431
  } else {
433
432
  const r = "/org/joinOrCreate";
434
- M(r, t.path), a({ path: r });
433
+ S(r, t.path, n), a({ path: r });
435
434
  }
436
435
  else
437
- M(e.path, t.path), a();
436
+ S(e.path, t.path, n), a();
438
437
  }
439
- function et(e) {
438
+ function Pe(e) {
440
439
  return e.value.length <= 0;
441
440
  }
442
441
  function Jt(e) {
@@ -445,60 +444,60 @@ function Jt(e) {
445
444
  function me(e, t) {
446
445
  return !!e.value.find((a) => a === t);
447
446
  }
448
- function tt(e, t) {
447
+ function et(e, t) {
449
448
  const a = e.value.findIndex((n) => n === t);
450
449
  a >= 0 && e.value.splice(a, 1), e.value.push(t);
451
450
  }
452
- function at(e, t) {
451
+ function tt(e, t) {
453
452
  const a = e.value.findIndex((n) => n === t);
454
453
  a >= 0 && e.value.splice(a, 1);
455
454
  }
456
- function ot(e) {
455
+ function at(e) {
457
456
  console.assert(e.value.length > 0), e.value.pop();
458
457
  }
459
458
  function Yt(e) {
460
459
  e.value = [];
461
460
  }
462
- function nt(e) {
461
+ function ot(e) {
463
462
  return xe() ? (be(e), !0) : !1;
464
463
  }
465
- function rt(e) {
464
+ function nt(e) {
466
465
  return typeof e == "function" ? e() : $(e);
467
466
  }
468
- const lt = typeof window < "u" && typeof document < "u";
467
+ const rt = typeof window < "u" && typeof document < "u";
469
468
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
470
- const ct = lt ? window : void 0;
471
- function ut() {
469
+ const lt = rt ? window : void 0;
470
+ function ct() {
472
471
  const e = f(!1), t = Ce();
473
472
  return t && T(() => {
474
473
  e.value = !0;
475
474
  }, t), e;
476
475
  }
477
- function pt(e) {
478
- const t = ut();
476
+ function ut(e) {
477
+ const t = ct();
479
478
  return y(() => (t.value, !!e()));
480
479
  }
481
- function st(e, t = {}) {
482
- const { window: a = ct } = t, n = pt(() => a && "matchMedia" in a && typeof a.matchMedia == "function");
480
+ function pt(e, t = {}) {
481
+ const { window: a = lt } = t, n = ut(() => a && "matchMedia" in a && typeof a.matchMedia == "function");
483
482
  let o;
484
- const l = f(!1), r = (_) => {
483
+ const l = f(!1), c = (_) => {
485
484
  l.value = _.matches;
486
- }, c = () => {
487
- o && ("removeEventListener" in o ? o.removeEventListener("change", r) : o.removeListener(r));
485
+ }, r = () => {
486
+ o && ("removeEventListener" in o ? o.removeEventListener("change", c) : o.removeListener(c));
488
487
  }, u = ke(() => {
489
- n.value && (c(), o = a.matchMedia(rt(e)), "addEventListener" in o ? o.addEventListener("change", r) : o.addListener(r), l.value = o.matches);
488
+ n.value && (r(), o = a.matchMedia(nt(e)), "addEventListener" in o ? o.addEventListener("change", c) : o.addListener(c), l.value = o.matches);
490
489
  });
491
- return nt(() => {
492
- u(), c(), o = void 0;
490
+ return ot(() => {
491
+ u(), r(), o = void 0;
493
492
  }), l;
494
493
  }
495
- function _t(e) {
496
- return st("(prefers-color-scheme: dark)", e);
494
+ function st(e) {
495
+ return pt("(prefers-color-scheme: dark)", e);
497
496
  }
498
497
  function Pt(e, t, a, n, o, l) {
499
- const r = je(), c = ue();
500
- $e(e), Ke(t), ze(a), Fe(n), Ze(o), Ge(l);
501
- const u = ee(), _ = _t();
498
+ const c = Re(), r = ue();
499
+ $e(e), Ke(t), ze(a), Fe(n), Ze(o), Ne(l);
500
+ const u = ee(), _ = st();
502
501
  N(
503
502
  e,
504
503
  () => {
@@ -514,17 +513,17 @@ function Pt(e, t, a, n, o, l) {
514
513
  }
515
514
  }, v = () => {
516
515
  var x;
517
- if (!et(l)) {
518
- me(l, "waitDlg") || ot(l);
516
+ if (!Pe(l)) {
517
+ me(l, "waitDlg") || at(l);
519
518
  return;
520
519
  }
521
- const s = Z(r.path);
520
+ const s = Z(c.path);
522
521
  (s == null ? void 0 : s.level) === 0 ? (x = navigator == null ? void 0 : navigator.Backbutton) == null || x.goHome(
523
522
  () => {
524
523
  },
525
524
  () => {
526
525
  }
527
- ) : c.back();
526
+ ) : r.back();
528
527
  };
529
528
  T(() => {
530
529
  window.addEventListener("keydown", g), p.on("backbutton", v);
@@ -556,16 +555,16 @@ function ea() {
556
555
  return { verifyPermission: t };
557
556
  }
558
557
  function ta() {
559
- const e = y(() => !!window.cordova), t = Se(), a = y(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
558
+ const e = y(() => !!window.cordova), t = je(), a = y(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
560
559
  return { sysBarAvail: e, compactWidth: a };
561
560
  }
562
561
  function ae(e, t) {
563
- const a = Qe(), n = y({
562
+ const a = Ge(), n = y({
564
563
  get() {
565
564
  return me(a, e);
566
565
  },
567
566
  set(l) {
568
- l ? tt(a, e) : at(a, e);
567
+ l ? et(a, e) : tt(a, e);
569
568
  }
570
569
  }), o = (l) => {
571
570
  t == null || t(l), n.value = !0;
@@ -576,38 +575,38 @@ function ae(e, t) {
576
575
  p.off(e, o);
577
576
  }), { open: n };
578
577
  }
579
- const it = /* @__PURE__ */ E({
578
+ const _t = /* @__PURE__ */ E({
580
579
  __name: "index",
581
580
  setup(e) {
582
- const { t } = P(), a = f(""), n = f(""), o = f(""), l = f(""), r = f(""), c = f("");
581
+ const { t } = P(), a = f(""), n = f(""), o = f(""), l = f(""), c = f(""), r = f("");
583
582
  let u = 0, _ = !1;
584
583
  const g = (k) => {
585
- var D, s, x, A;
584
+ var D, s, x, M;
586
585
  const i = k;
587
- a.value = i.title, n.value = i.text, o.value = ((D = i.cancel) == null ? void 0 : D.color) ?? "primary", l.value = ((s = i.cancel) == null ? void 0 : s.text) ?? t("dlg.common.cancel"), r.value = ((x = i.confirm) == null ? void 0 : x.color) ?? "primary", c.value = ((A = i.confirm) == null ? void 0 : A.text) ?? t("dlg.common.confirm"), u = i.seq, _ = !1, v.value = !0;
586
+ a.value = i.title, n.value = i.text, o.value = ((D = i.cancel) == null ? void 0 : D.color) ?? "primary", l.value = ((s = i.cancel) == null ? void 0 : s.text) ?? t("dlg.common.cancel"), c.value = ((x = i.confirm) == null ? void 0 : x.color) ?? "primary", r.value = ((M = i.confirm) == null ? void 0 : M.text) ?? t("dlg.common.confirm"), u = i.seq, _ = !1, v.value = !0;
588
587
  }, { open: v } = ae("confirmDlg", g), L = () => {
589
588
  v.value = !1, _ || (p.emit("confirmDlgResult" + u, !0), _ = !0);
590
589
  };
591
590
  return N(v, (k) => {
592
591
  !k && !_ && (p.emit("confirmDlgResult" + u, !1), _ = !0);
593
592
  }), (k, i) => {
594
- const D = h("v-card-text"), s = h("v-btn"), x = h("v-card-actions"), A = h("v-card"), d = h("v-dialog");
595
- return C(), R(d, {
593
+ const D = h("v-card-text"), s = h("v-btn"), x = h("v-card-actions"), M = h("v-card"), d = h("v-dialog");
594
+ return C(), q(d, {
596
595
  modelValue: $(v),
597
- "onUpdate:modelValue": i[1] || (i[1] = (S) => Y(v) ? v.value = S : null),
596
+ "onUpdate:modelValue": i[1] || (i[1] = (j) => Y(v) ? v.value = j : null),
598
597
  transition: "dialog-top-transition",
599
598
  "max-width": "600px",
600
599
  onKeydown: [
601
- i[2] || (i[2] = F(H((S) => v.value = !1, ["stop", "prevent"]), ["esc"])),
600
+ i[2] || (i[2] = F(H((j) => v.value = !1, ["stop", "prevent"]), ["esc"])),
602
601
  F(H(L, ["stop", "prevent"]), ["enter"])
603
602
  ]
604
603
  }, {
605
604
  default: w(() => [
606
- b(A, { title: a.value }, {
605
+ b(M, { title: a.value }, {
607
606
  default: w(() => [
608
607
  b(D, null, {
609
608
  default: w(() => [
610
- q(j(n.value), 1)
609
+ V(R(n.value), 1)
611
610
  ]),
612
611
  _: 1
613
612
  }),
@@ -616,20 +615,20 @@ const it = /* @__PURE__ */ E({
616
615
  b(s, {
617
616
  color: o.value,
618
617
  variant: "text",
619
- onClick: i[0] || (i[0] = (S) => v.value = !1)
618
+ onClick: i[0] || (i[0] = (j) => v.value = !1)
620
619
  }, {
621
620
  default: w(() => [
622
- q(j(l.value), 1)
621
+ V(R(l.value), 1)
623
622
  ]),
624
623
  _: 1
625
624
  }, 8, ["color"]),
626
625
  b(s, {
627
- color: r.value,
626
+ color: c.value,
628
627
  variant: "text",
629
628
  onClick: L
630
629
  }, {
631
630
  default: w(() => [
632
- q(j(c.value), 1)
631
+ V(R(r.value), 1)
633
632
  ]),
634
633
  _: 1
635
634
  }, 8, ["color"])
@@ -644,7 +643,7 @@ const it = /* @__PURE__ */ E({
644
643
  }, 8, ["modelValue", "onKeydown"]);
645
644
  };
646
645
  }
647
- }), dt = /* @__PURE__ */ E({
646
+ }), it = /* @__PURE__ */ E({
648
647
  __name: "index",
649
648
  props: {
650
649
  zIndex: { default: 1 }
@@ -679,9 +678,9 @@ const it = /* @__PURE__ */ E({
679
678
  for (const [n, o] of t)
680
679
  a[n] = o;
681
680
  return a;
682
- }, ft = /* @__PURE__ */ oe(dt, [["__scopeId", "data-v-7ab74c70"]]);
683
- var gt = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z", vt = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z", mt = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", ht = "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z", wt = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
684
- const yt = /* @__PURE__ */ E({
681
+ }, dt = /* @__PURE__ */ oe(it, [["__scopeId", "data-v-7ab74c70"]]);
682
+ var ft = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z", gt = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z", vt = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", mt = "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z", ht = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
683
+ const wt = /* @__PURE__ */ E({
685
684
  __name: "item",
686
685
  props: {
687
686
  id: {},
@@ -697,50 +696,50 @@ const yt = /* @__PURE__ */ E({
697
696
  })), o = y(() => {
698
697
  switch (a.type) {
699
698
  case "success":
700
- return vt;
699
+ return gt;
701
700
  case "info":
702
- return wt;
703
- case "error":
704
701
  return ht;
702
+ case "error":
703
+ return mt;
705
704
  case "warning":
706
- return gt;
705
+ return ft;
707
706
  default:
708
707
  return "";
709
708
  }
710
- }), l = f(!0), r = t;
709
+ }), l = f(!0), c = t;
711
710
  return T(() => {
712
711
  setTimeout(() => {
713
- r("timeout", a.id);
712
+ c("timeout", a.id);
714
713
  }, a.timeout);
715
- }), N(l, (c) => {
716
- c || r("timeout", a.id);
717
- }), (c, u) => {
714
+ }), N(l, (r) => {
715
+ r || c("timeout", a.id);
716
+ }), (r, u) => {
718
717
  const _ = h("v-icon"), g = h("v-sheet");
719
- return C(), R(g, {
718
+ return C(), q(g, {
720
719
  class: "x-item d-flex align-center py-2 mb-2",
721
720
  color: a.type,
722
721
  elevation: 1
723
722
  }, {
724
723
  default: w(() => [
725
- o.value ? (C(), R(_, {
724
+ o.value ? (C(), q(_, {
726
725
  key: 0,
727
726
  class: "mx-1",
728
727
  icon: o.value
729
728
  }, null, 8, ["icon"])) : ce("", !0),
730
729
  m("div", {
731
730
  style: le(n.value)
732
- }, j(a.text), 5),
731
+ }, R(a.text), 5),
733
732
  b(_, {
734
733
  class: "mx-1",
735
- icon: $(mt),
736
- onClick: u[0] || (u[0] = (v) => r("timeout", a.id))
734
+ icon: $(vt),
735
+ onClick: u[0] || (u[0] = (v) => c("timeout", a.id))
737
736
  }, null, 8, ["icon"])
738
737
  ]),
739
738
  _: 1
740
739
  }, 8, ["color"]);
741
740
  };
742
741
  }
743
- }), xt = /* @__PURE__ */ oe(yt, [["__scopeId", "data-v-d5cfe252"]]), bt = /* @__PURE__ */ E({
742
+ }), yt = /* @__PURE__ */ oe(wt, [["__scopeId", "data-v-d5cfe252"]]), xt = /* @__PURE__ */ E({
744
743
  __name: "index",
745
744
  setup(e) {
746
745
  const t = f([]);
@@ -749,26 +748,26 @@ const yt = /* @__PURE__ */ E({
749
748
  }), W(() => {
750
749
  p.off("message", a);
751
750
  });
752
- const a = (c) => {
753
- const { type: u, text: _, timeout: g } = c;
751
+ const a = (r) => {
752
+ const { type: u, text: _, timeout: g } = r;
754
753
  l(u, _, g);
755
- }, n = (c) => {
756
- r(c);
754
+ }, n = (r) => {
755
+ c(r);
757
756
  };
758
757
  let o = 0;
759
- const l = (c, u, _) => {
758
+ const l = (r, u, _) => {
760
759
  const g = o++;
761
- t.value.push({ id: g, type: c, text: u, timeout: _ });
762
- }, r = (c) => {
763
- const u = t.value.findIndex((_) => _.id === c);
760
+ t.value.push({ id: g, type: r, text: u, timeout: _ });
761
+ }, c = (r) => {
762
+ const u = t.value.findIndex((_) => _.id === r);
764
763
  u >= 0 && t.value.splice(u, 1);
765
764
  };
766
- return (c, u) => (C(), Q("div", {
765
+ return (r, u) => (C(), Q("div", {
767
766
  class: "x-cont d-flex flex-column-reverse align-center",
768
767
  onClick: u[0] || (u[0] = H(() => {
769
768
  }, ["stop"]))
770
769
  }, [
771
- (C(!0), Q(De, null, Ae(t.value, (_) => (C(), R(xt, {
770
+ (C(!0), Q(De, null, Me(t.value, (_) => (C(), q(yt, {
772
771
  id: _.id,
773
772
  key: _.id,
774
773
  type: _.type,
@@ -778,23 +777,23 @@ const yt = /* @__PURE__ */ E({
778
777
  }, null, 8, ["id", "type", "text", "timeout"]))), 128))
779
778
  ]));
780
779
  }
781
- }), kt = /* @__PURE__ */ oe(bt, [["__scopeId", "data-v-8fd5d800"]]), Ct = /* @__PURE__ */ E({
780
+ }), bt = /* @__PURE__ */ oe(xt, [["__scopeId", "data-v-8fd5d800"]]), kt = /* @__PURE__ */ E({
782
781
  __name: "index",
783
782
  setup(e) {
784
- const { t } = P(), a = f(""), n = f(""), o = f(""), l = f(""), r = f(), c = f(""), u = f(""), _ = f(""), g = f(""), v = f(""), L = Me("target");
783
+ const { t } = P(), a = f(""), n = f(""), o = f(""), l = f(""), c = f(), r = f(""), u = f(""), _ = f(""), g = f(""), v = f(""), L = Se("target");
785
784
  let k = 0, i = !1;
786
- const D = async (A) => {
787
- var S, K, z, B;
788
- const d = A;
789
- a.value = d.title, n.value = d.text, o.value = d.label, l.value = d.placeholder, r.value = d.rules, c.value = d.value, u.value = ((S = d.cancel) == null ? void 0 : S.color) ?? "primary", _.value = ((K = d.cancel) == null ? void 0 : K.text) ?? t("dlg.common.cancel"), g.value = ((z = d.confirm) == null ? void 0 : z.color) ?? "primary", v.value = ((B = d.confirm) == null ? void 0 : B.text) ?? t("dlg.common.confirm"), k = d.seq, i = !1, s.value = !0, await te(() => !!L.value), L.value.focus();
785
+ const D = async (M) => {
786
+ var j, K, z, B;
787
+ const d = M;
788
+ a.value = d.title, n.value = d.text, o.value = d.label, l.value = d.placeholder, c.value = d.rules, r.value = d.value, u.value = ((j = d.cancel) == null ? void 0 : j.color) ?? "primary", _.value = ((K = d.cancel) == null ? void 0 : K.text) ?? t("dlg.common.cancel"), g.value = ((z = d.confirm) == null ? void 0 : z.color) ?? "primary", v.value = ((B = d.confirm) == null ? void 0 : B.text) ?? t("dlg.common.confirm"), k = d.seq, i = !1, s.value = !0, await te(() => !!L.value), L.value.focus();
790
789
  }, { open: s } = ae("promptDlg", D), x = () => {
791
- s.value = !1, i || (p.emit("promptDlgResult" + k, c.value ?? ""), i = !0);
790
+ s.value = !1, i || (p.emit("promptDlgResult" + k, r.value ?? ""), i = !0);
792
791
  };
793
- return N(s, (A) => {
794
- !A && !i && (p.emit("promptDlgResult" + k, void 0), i = !0);
795
- }), (A, d) => {
796
- const S = h("v-card-text"), K = h("v-text-field"), z = h("v-form"), B = h("v-btn"), he = h("v-card-actions"), we = h("v-card"), ye = h("v-dialog");
797
- return C(), R(ye, {
792
+ return N(s, (M) => {
793
+ !M && !i && (p.emit("promptDlgResult" + k, void 0), i = !0);
794
+ }), (M, d) => {
795
+ const j = h("v-card-text"), K = h("v-text-field"), z = h("v-form"), B = h("v-btn"), he = h("v-card-actions"), we = h("v-card"), ye = h("v-dialog");
796
+ return C(), q(ye, {
798
797
  modelValue: $(s),
799
798
  "onUpdate:modelValue": d[2] || (d[2] = (U) => Y(s) ? s.value = U : null),
800
799
  transition: "dialog-top-transition",
@@ -807,9 +806,9 @@ const yt = /* @__PURE__ */ E({
807
806
  default: w(() => [
808
807
  b(we, { title: a.value }, {
809
808
  default: w(() => [
810
- n.value ? (C(), R(S, { key: 0 }, {
809
+ n.value ? (C(), q(j, { key: 0 }, {
811
810
  default: w(() => [
812
- q(j(n.value), 1)
811
+ V(R(n.value), 1)
813
812
  ]),
814
813
  _: 1
815
814
  })) : ce("", !0),
@@ -818,11 +817,11 @@ const yt = /* @__PURE__ */ E({
818
817
  b(K, {
819
818
  ref_key: "target",
820
819
  ref: L,
821
- modelValue: c.value,
822
- "onUpdate:modelValue": d[0] || (d[0] = (U) => c.value = U),
820
+ modelValue: r.value,
821
+ "onUpdate:modelValue": d[0] || (d[0] = (U) => r.value = U),
823
822
  label: o.value,
824
823
  placeholder: l.value,
825
- rules: r.value
824
+ rules: c.value
826
825
  }, null, 8, ["modelValue", "label", "placeholder", "rules"])
827
826
  ]),
828
827
  _: 1
@@ -835,7 +834,7 @@ const yt = /* @__PURE__ */ E({
835
834
  onClick: d[1] || (d[1] = (U) => s.value = !1)
836
835
  }, {
837
836
  default: w(() => [
838
- q(j(_.value), 1)
837
+ V(R(_.value), 1)
839
838
  ]),
840
839
  _: 1
841
840
  }, 8, ["color"]),
@@ -845,7 +844,7 @@ const yt = /* @__PURE__ */ E({
845
844
  onClick: x
846
845
  }, {
847
846
  default: w(() => [
848
- q(j(v.value), 1)
847
+ V(R(v.value), 1)
849
848
  ]),
850
849
  _: 1
851
850
  }, 8, ["color"])
@@ -860,12 +859,12 @@ const yt = /* @__PURE__ */ E({
860
859
  }, 8, ["modelValue", "onKeydown"]);
861
860
  };
862
861
  }
863
- }), Lt = { class: "mx-auto my-auto" }, Dt = { class: "w-100 h-100 d-flex align-center justify-center" }, At = { class: "text-body-1" }, Mt = /* @__PURE__ */ E({
862
+ }), Ct = { class: "mx-auto my-auto" }, Lt = { class: "w-100 h-100 d-flex align-center justify-center" }, Dt = { class: "text-body-1" }, Mt = /* @__PURE__ */ E({
864
863
  __name: "index",
865
864
  setup(e) {
866
- const { t } = P(), a = f(""), n = (r) => {
867
- const c = r;
868
- a.value = c.text ?? t("dlg.common.waiting"), l.value = !0;
865
+ const { t } = P(), a = f(""), n = (c) => {
866
+ const r = c;
867
+ a.value = r.text ?? t("dlg.common.waiting"), l.value = !0;
869
868
  }, o = () => {
870
869
  l.value = !1;
871
870
  }, { open: l } = ae("waitDlg", n);
@@ -873,25 +872,25 @@ const yt = /* @__PURE__ */ E({
873
872
  p.on("closeWaitDlg", o);
874
873
  }), W(() => {
875
874
  p.off("closeWaitDlg", o);
876
- }), (r, c) => {
875
+ }), (c, r) => {
877
876
  const u = h("v-card"), _ = h("v-dialog");
878
- return C(), R(_, {
877
+ return C(), q(_, {
879
878
  modelValue: $(l),
880
- "onUpdate:modelValue": c[0] || (c[0] = (g) => Y(l) ? l.value = g : null),
879
+ "onUpdate:modelValue": r[0] || (r[0] = (g) => Y(l) ? l.value = g : null),
881
880
  persistent: "",
882
881
  "no-click-animation": "",
883
882
  fullscreen: ""
884
883
  }, {
885
884
  default: w(() => [
886
- m("div", Lt, [
885
+ m("div", Ct, [
887
886
  b(u, {
888
887
  width: "300px",
889
888
  height: "80px",
890
889
  loading: ""
891
890
  }, {
892
891
  default: w(() => [
893
- m("div", Dt, [
894
- m("span", At, j(a.value), 1)
892
+ m("div", Lt, [
893
+ m("span", Dt, R(a.value), 1)
895
894
  ])
896
895
  ]),
897
896
  _: 1
@@ -903,7 +902,7 @@ const yt = /* @__PURE__ */ E({
903
902
  };
904
903
  }
905
904
  }), St = (e) => {
906
- e.component("XConfirmDlg", it), e.component("XLoading", ft), e.component("XMessage", kt), e.component("XPromptDlg", Ct), e.component("XWaitDlg", Mt);
905
+ e.component("XConfirmDlg", _t), e.component("XLoading", dt), e.component("XMessage", bt), e.component("XPromptDlg", kt), e.component("XWaitDlg", Mt);
907
906
  }, jt = (e, t, a) => {
908
907
  const n = e[t];
909
908
  return n ? typeof n == "function" ? n() : Promise.resolve(n) : new Promise((o, l) => {
@@ -923,47 +922,47 @@ async function aa(e) {
923
922
  const oa = { install: St };
924
923
  export {
925
924
  He as Permission,
926
- tt as addView,
925
+ et as addView,
927
926
  Ue as appAppear,
928
927
  Yt as clearViews,
929
- $t as closeWaitDlg,
930
- Et as createAxios,
928
+ Ht as closeWaitDlg,
929
+ Tt as createAxios,
931
930
  oa as default,
932
- at as delView,
931
+ tt as delView,
933
932
  p as eventBus,
934
933
  me as hasView,
935
- Zt as injectDark,
936
- Ne as injectLastAppPath,
937
- Nt as injectLocale,
938
- Gt as injectPermissionChecksum,
934
+ Ft as injectDark,
935
+ Gt as injectLastAppPath,
936
+ Zt as injectLocale,
937
+ Nt as injectPermissionChecksum,
939
938
  Xe as injectPermissionObjects,
940
- Qe as injectViews,
941
- et as isEmpty,
939
+ Ge as injectViews,
940
+ Pe as isEmpty,
942
941
  re as isExist,
943
942
  Jt as lastView,
944
943
  aa as loadLocaleMessageEssential,
945
944
  Z as matchRouteMeta,
946
- Kt as messageError,
947
- zt as messageInfo,
948
- Xt as messageSuccess,
949
- Ft as messageWarning,
945
+ $t as messageError,
946
+ Kt as messageInfo,
947
+ zt as messageSuccess,
948
+ Xt as messageWarning,
950
949
  Qt as onBeforeEach,
951
- Ut as openConfirmDlg,
952
- Wt as openPromptDlg,
953
- Ht as openWaitDlg,
954
- ot as popView,
950
+ Bt as openConfirmDlg,
951
+ Ut as openPromptDlg,
952
+ Wt as openWaitDlg,
953
+ at as popView,
955
954
  $e as provideDark,
956
955
  Ze as provideLastAppPath,
957
956
  Ke as provideLocale,
958
957
  Fe as providePermissionChecksum,
959
958
  ze as providePermissionObjects,
960
- Ge as provideViews,
959
+ Ne as provideViews,
961
960
  G as routeTransName,
962
- Tt as useColor,
961
+ It as useColor,
963
962
  Pt as useMicroApp,
964
963
  ea as usePermission,
965
964
  ta as useSystem,
966
965
  ae as useViewStack,
967
- Bt as waitMs,
966
+ Et as waitMs,
968
967
  te as waitUtil
969
968
  };
@@ -8,5 +8,5 @@ interface RouteMeta {
8
8
  }
9
9
  export declare function matchRouteMeta(path: string): RouteMeta | undefined;
10
10
  export declare const routeTransName: import("vue").Ref<string, string>;
11
- export declare function onBeforeEach(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext): void;
11
+ export declare function onBeforeEach(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext, lastAppPath: string): void;
12
12
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.7.8",
4
+ "version": "0.7.9",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",