x-essential-lib 0.7.17 → 0.7.18

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.
Files changed (2) hide show
  1. package/dist/index.js +195 -198
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.id="x-essential-lib",t.appendChild(document.createTextNode('.x-cont[data-v-18833fd2]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-18833fd2]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-18833fd2]{transform-origin:20px 20px;animation:lds-spinner-18833fd2 1.2s linear infinite}.lds-spinner div[data-v-18833fd2]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-18833fd2]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-18833fd2]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-18833fd2]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-18833fd2]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-18833fd2]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-18833fd2]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-18833fd2]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-18833fd2]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-18833fd2]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-18833fd2]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-18833fd2]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-18833fd2]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-18833fd2{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(t)}}catch(d){console.error("vite-plugin-css-injected-by-js",d)}})();
2
- import { computed as y, provide as O, inject as I, ref as f, getCurrentScope as xe, onScopeDispose as be, unref as H, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as B, resolveComponent as h, openBlock as C, createBlock as q, isRef as Y, withKeys as F, withModifiers as $, withCtx as w, createVNode as b, createTextVNode as V, toDisplayString as R, createElementBlock as Q, normalizeStyle as le, createElementVNode as m, createCommentVNode as P, Fragment as De, renderList as Me, useTemplateRef as Se } from "vue";
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.v-leave-active[data-v-13023da6]{transition:opacity .5s ease}.v-enter-from[data-v-13023da6],.v-leave-to[data-v-13023da6]{opacity:0}.x-cont[data-v-13023da6]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-13023da6]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-13023da6]{transform-origin:20px 20px;animation:lds-spinner-13023da6 1.2s linear infinite}.lds-spinner div[data-v-13023da6]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-13023da6]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-13023da6]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-13023da6]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-13023da6]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-13023da6]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-13023da6]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-13023da6]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-13023da6]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-13023da6]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-13023da6]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-13023da6]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-13023da6]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-13023da6{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 H, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as B, resolveComponent as w, openBlock as C, createBlock as q, isRef as Y, withKeys as F, withModifiers as $, withCtx as h, createVNode as b, createTextVNode as V, toDisplayString as R, Transition as De, createElementBlock as Q, normalizeStyle as le, createElementVNode as m, createCommentVNode as P, Fragment as Me, renderList as Se, useTemplateRef as je } from "vue";
3
3
  import { useI18n as ee } from "vue-i18n";
4
- import { useTheme as ce, useDisplay as je } from "vuetify";
5
- import { useRouter as ue, useRoute as Re } from "vue-router";
6
- import qe from "axios";
7
- function Ve() {
4
+ import { useTheme as ce, useDisplay as Re } from "vuetify";
5
+ import { useRouter as ue, useRoute as qe } from "vue-router";
6
+ import Ve from "axios";
7
+ function Ae() {
8
8
  const e = ce(), t = y(() => e.global.current.value.colors.primary), a = y(() => e.global.current.value.colors.secondary), o = y(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), n = 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,
@@ -25,7 +25,7 @@ function X(e) {
25
25
  }
26
26
  return e;
27
27
  }
28
- var Ae = {
28
+ var Oe = {
29
29
  read: function(e) {
30
30
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
31
31
  },
@@ -86,43 +86,43 @@ function J(e, t) {
86
86
  }
87
87
  );
88
88
  }
89
- var A = J(Ae, { path: "/" });
90
- function Bt(e) {
91
- const t = qe.create({
89
+ var A = J(Oe, { path: "/" });
90
+ function Et(e) {
91
+ const t = Ve.create({
92
92
  timeout: 6e3
93
93
  });
94
94
  return t.defaults.baseURL = e.baseUrl, t.interceptors.request.use(
95
- (a) => Oe(a),
95
+ (a) => Ie(a),
96
96
  (a) => {
97
- Ie(a, e.onError);
97
+ Te(a, e.onError);
98
98
  }
99
99
  ), t.interceptors.response.use(
100
- (a) => Te(a),
101
- (a) => Be(a, e.onError)
100
+ (a) => Be(a),
101
+ (a) => Ee(a, e.onError)
102
102
  ), t;
103
103
  }
104
- function Oe(e) {
104
+ function Ie(e) {
105
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
- function Ie(e, t) {
108
+ function Te(e, t) {
109
109
  console.error(e), t("request timeout");
110
110
  }
111
- function Te(e) {
111
+ function Be(e) {
112
112
  return e.data;
113
113
  }
114
- function Be(e, t) {
114
+ function Ee(e, t) {
115
115
  var n, l;
116
116
  const o = e.response;
117
- return o && (o.status === 401 && Ee(), (n = o.data) != null && n.message ? t((l = o.data) == null ? void 0 : l.message) : t({
117
+ return o && (o.status === 401 && Ue(), (n = o.data) != null && n.message ? t((l = o.data) == null ? void 0 : l.message) : t({
118
118
  code: o.status,
119
119
  message: o.statusText
120
120
  })), Promise.reject(e);
121
121
  }
122
- function Ee() {
122
+ function Ue() {
123
123
  A.remove("accessToken"), A.remove("refreshToken"), A.remove("activeOrg"), ue().replace({ path: "/passport/login" });
124
124
  }
125
- function Ue(e) {
125
+ function We(e) {
126
126
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, a) {
127
127
  var o = e.get(t);
128
128
  o ? o.push(a) : e.set(t, [a]);
@@ -139,9 +139,9 @@ function Ue(e) {
139
139
  } };
140
140
  }
141
141
  const p = function() {
142
- return window.eventBus || (window.eventBus = Ue()), window.eventBus;
142
+ return window.eventBus || (window.eventBus = We()), window.eventBus;
143
143
  }();
144
- async function Et(e) {
144
+ async function Ut(e) {
145
145
  return new Promise((t) => {
146
146
  setTimeout(t, e);
147
147
  });
@@ -155,7 +155,7 @@ async function te(e, t, a) {
155
155
  l();
156
156
  });
157
157
  }
158
- function We(e, t) {
158
+ function $e(e, t) {
159
159
  const a = document.getElementById("single-spa-application:" + e);
160
160
  a && (a.classList.remove("app-left", "app-right", "app-reset"), t ? a.classList.add("app-left") : a.classList.add("app-right"), setTimeout(() => {
161
161
  a.classList.add("app-reset");
@@ -166,11 +166,11 @@ function pe() {
166
166
  const e = Date.now();
167
167
  return e - ne > 500 ? (ne = e, !0) : !1;
168
168
  }
169
- let $e = 0;
169
+ let He = 0;
170
170
  function se() {
171
- return ++$e;
171
+ return ++He;
172
172
  }
173
- async function Ut(e) {
173
+ async function Wt(e) {
174
174
  if (!pe())
175
175
  return;
176
176
  let t = !1, a;
@@ -179,7 +179,7 @@ async function Ut(e) {
179
179
  }, n = se();
180
180
  return p.on("confirmDlgResult" + n, o), p.emit("confirmDlg", { ...e, seq: n }), await te(() => t), p.off("confirmDlgResult" + n, o), a;
181
181
  }
182
- async function Wt(e) {
182
+ async function $t(e) {
183
183
  if (!pe())
184
184
  return;
185
185
  let t = !1, a;
@@ -188,25 +188,25 @@ async function Wt(e) {
188
188
  }, n = se();
189
189
  return p.on("promptDlgResult" + n, o), p.emit("promptDlg", { ...e, seq: n }), await te(() => t), p.off("promptDlgResult" + n, o), a;
190
190
  }
191
- function $t(e) {
191
+ function Ht(e) {
192
192
  p.emit("openWaitDlg", { text: e });
193
193
  }
194
- function Ht() {
194
+ function Kt() {
195
195
  p.emit("closeWaitDlg");
196
196
  }
197
- function Kt(e, t) {
197
+ function zt(e, t) {
198
198
  p.emit("message", { type: "error", text: e, timeout: t });
199
199
  }
200
- function zt(e, t) {
200
+ function Xt(e, t) {
201
201
  p.emit("message", { type: "info", text: e, timeout: t });
202
202
  }
203
- function Xt(e, t) {
203
+ function Ft(e, t) {
204
204
  p.emit("message", { type: "success", text: e, timeout: t });
205
205
  }
206
- function Ft(e, t) {
206
+ function Zt(e, t) {
207
207
  p.emit("message", { type: "warning", text: e, timeout: t });
208
208
  }
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.debug_flow = "debug_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 || {});
209
+ var Ke = /* @__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.debug_flow = "debug_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))(Ke || {});
210
210
  function re(e, t) {
211
211
  if (!e)
212
212
  return !1;
@@ -220,48 +220,48 @@ function re(e, t) {
220
220
  return !1;
221
221
  }), Object.keys(a).length <= 0);
222
222
  }
223
- function Ke(e, t, a) {
223
+ function ze(e, t, a) {
224
224
  const o = e[t];
225
225
  return o ? a ? !(!re(o.includes, a) || re(o.excludes, a)) : !0 : !1;
226
226
  }
227
227
  const _e = "essentialDark", ie = "essentialLocale", de = "essentialPermissionObjects", fe = "essentialPermissionChecksum", ge = "essentialLastAppPath", ve = "essentialViews";
228
- function ze(e) {
228
+ function Xe(e) {
229
229
  O(_e, e);
230
230
  }
231
- function Zt() {
231
+ function Nt() {
232
232
  return I(_e);
233
233
  }
234
- function Xe(e) {
234
+ function Fe(e) {
235
235
  O(ie, e);
236
236
  }
237
- function Nt() {
237
+ function Gt() {
238
238
  return I(ie);
239
239
  }
240
- function Fe(e) {
240
+ function Ze(e) {
241
241
  O(de, e);
242
242
  }
243
- function Ze() {
243
+ function Ne() {
244
244
  return I(de);
245
245
  }
246
- function Ne(e) {
246
+ function Ge(e) {
247
247
  O(fe, e);
248
248
  }
249
- function Gt() {
249
+ function Qt() {
250
250
  return I(fe);
251
251
  }
252
- function Ge(e) {
252
+ function Qe(e) {
253
253
  O(ge, e);
254
254
  }
255
- function Qt() {
255
+ function Jt() {
256
256
  return I(ge);
257
257
  }
258
- function Qe(e) {
258
+ function Je(e) {
259
259
  O(ve, e);
260
260
  }
261
- function Je() {
261
+ function Ye() {
262
262
  return I(ve);
263
263
  }
264
- const Ye = [
264
+ const Pe = [
265
265
  {
266
266
  app: "x-passport-mf",
267
267
  path: "/passport/login",
@@ -372,7 +372,7 @@ const Ye = [
372
372
  function Z(e) {
373
373
  let t, a = 0;
374
374
  const o = e.split("/").filter((n) => n.trim() !== "");
375
- return Ye.forEach((n) => {
375
+ return Pe.forEach((n) => {
376
376
  const l = n.path.split("/").filter((r) => r.trim() !== "");
377
377
  let c = 0;
378
378
  for (let r = 0; r < o.length && !(r >= l.length || o[r] !== l[r]); r++)
@@ -391,16 +391,16 @@ function S(e, t, a) {
391
391
  if (console.info(`~~~~routeChange~~~~ ${t} -> ${e}`), !n)
392
392
  return;
393
393
  const l = o.app === n.app, c = o.path === n.path, r = o.level >= n.level;
394
- l ? c ? G.value = "" : G.value = r ? "inner-left" : "inner-right" : (G.value = "", We(o.app, r));
394
+ l ? c ? G.value = "" : G.value = r ? "inner-left" : "inner-right" : (G.value = "", $e(o.app, r));
395
395
  }
396
- function Pe() {
396
+ function et() {
397
397
  return !!A.get("accessToken");
398
398
  }
399
- function et() {
399
+ function tt() {
400
400
  return !!A.get("activeOrg");
401
401
  }
402
- function Jt(e, t, a, o) {
403
- const n = Pe(), l = et(), c = Z(e.path);
402
+ function Yt(e, t, a, o) {
403
+ const n = et(), l = tt(), c = Z(e.path);
404
404
  if (!c) {
405
405
  console.assert(!1), a();
406
406
  return;
@@ -439,69 +439,69 @@ function Jt(e, t, a, o) {
439
439
  else
440
440
  S(e.path, t.path, o), a();
441
441
  }
442
- function tt(e) {
442
+ function at(e) {
443
443
  return e.value.length <= 0;
444
444
  }
445
- function Yt(e) {
445
+ function Pt(e) {
446
446
  return e.value.at(-1);
447
447
  }
448
448
  function me(e, t) {
449
449
  return !!e.value.find((a) => a === t);
450
450
  }
451
- function at(e, t) {
451
+ function ot(e, t) {
452
452
  const a = e.value.findIndex((o) => o === t);
453
453
  a >= 0 && e.value.splice(a, 1), e.value.push(t);
454
454
  }
455
- function ot(e, t) {
455
+ function nt(e, t) {
456
456
  const a = e.value.findIndex((o) => o === t);
457
457
  a >= 0 && e.value.splice(a, 1);
458
458
  }
459
- function nt(e) {
459
+ function rt(e) {
460
460
  console.assert(e.value.length > 0), e.value.pop();
461
461
  }
462
- function Pt(e) {
462
+ function ea(e) {
463
463
  e.value = [];
464
464
  }
465
- function rt(e) {
465
+ function lt(e) {
466
466
  return xe() ? (be(e), !0) : !1;
467
467
  }
468
- function lt(e) {
468
+ function ct(e) {
469
469
  return typeof e == "function" ? e() : H(e);
470
470
  }
471
- const ct = typeof window < "u" && typeof document < "u";
471
+ const ut = typeof window < "u" && typeof document < "u";
472
472
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
473
- const ut = ct ? window : void 0;
474
- function pt() {
473
+ const pt = ut ? window : void 0;
474
+ function st() {
475
475
  const e = f(!1), t = Ce();
476
476
  return t && T(() => {
477
477
  e.value = !0;
478
478
  }, t), e;
479
479
  }
480
- function st(e) {
481
- const t = pt();
480
+ function _t(e) {
481
+ const t = st();
482
482
  return y(() => (t.value, !!e()));
483
483
  }
484
- function _t(e, t = {}) {
485
- const { window: a = ut } = t, o = st(() => a && "matchMedia" in a && typeof a.matchMedia == "function");
484
+ function it(e, t = {}) {
485
+ const { window: a = pt } = t, o = _t(() => a && "matchMedia" in a && typeof a.matchMedia == "function");
486
486
  let n;
487
487
  const l = f(!1), c = (_) => {
488
488
  l.value = _.matches;
489
489
  }, r = () => {
490
490
  n && ("removeEventListener" in n ? n.removeEventListener("change", c) : n.removeListener(c));
491
491
  }, u = ke(() => {
492
- o.value && (r(), n = a.matchMedia(lt(e)), "addEventListener" in n ? n.addEventListener("change", c) : n.addListener(c), l.value = n.matches);
492
+ o.value && (r(), n = a.matchMedia(ct(e)), "addEventListener" in n ? n.addEventListener("change", c) : n.addListener(c), l.value = n.matches);
493
493
  });
494
- return rt(() => {
494
+ return lt(() => {
495
495
  u(), r(), n = void 0;
496
496
  }), l;
497
497
  }
498
- function it(e) {
499
- return _t("(prefers-color-scheme: dark)", e);
498
+ function dt(e) {
499
+ return it("(prefers-color-scheme: dark)", e);
500
500
  }
501
- function ea(e, t, a, o, n, l) {
502
- const c = Re(), r = ue();
503
- ze(e), Xe(t), Fe(a), Ne(o), Ge(n), Qe(l);
504
- const u = ce(), _ = it();
501
+ function ta(e, t, a, o, n, l) {
502
+ const c = qe(), r = ue();
503
+ Xe(e), Fe(t), Ze(a), Ge(o), Qe(n), Je(l);
504
+ const u = ce(), _ = dt();
505
505
  N(
506
506
  e,
507
507
  () => {
@@ -517,8 +517,8 @@ function ea(e, t, a, o, n, l) {
517
517
  }
518
518
  }, v = () => {
519
519
  var x;
520
- if (!tt(l)) {
521
- me(l, "waitDlg") || nt(l);
520
+ if (!at(l)) {
521
+ me(l, "waitDlg") || rt(l);
522
522
  return;
523
523
  }
524
524
  const s = Z(c.path);
@@ -550,10 +550,10 @@ function ea(e, t, a, o, n, l) {
550
550
  p.off("updateDark", L), p.off("updateLocale", k), p.off("updatePermission", i), p.off("updateLastAppPath", D);
551
551
  });
552
552
  }
553
- function ta() {
554
- const e = Ze();
553
+ function aa() {
554
+ const e = Ne();
555
555
  function t(a, o) {
556
- return Ke(
556
+ return ze(
557
557
  e.value,
558
558
  a,
559
559
  o
@@ -561,17 +561,17 @@ function ta() {
561
561
  }
562
562
  return { verifyPermission: t };
563
563
  }
564
- function aa() {
565
- 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");
564
+ function oa() {
565
+ const e = y(() => !!window.cordova), t = Re(), a = y(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
566
566
  return { sysBarAvail: e, compactWidth: a };
567
567
  }
568
568
  function ae(e, t) {
569
- const a = Je(), o = y({
569
+ const a = Ye(), o = y({
570
570
  get() {
571
571
  return me(a, e);
572
572
  },
573
573
  set(l) {
574
- l ? at(a, e) : ot(a, e);
574
+ l ? ot(a, e) : nt(a, e);
575
575
  }
576
576
  }), n = (l) => {
577
577
  t == null || t(l), o.value = !0;
@@ -582,7 +582,7 @@ function ae(e, t) {
582
582
  p.off(e, n);
583
583
  }), { open: o };
584
584
  }
585
- const dt = /* @__PURE__ */ B({
585
+ const ft = /* @__PURE__ */ B({
586
586
  __name: "index",
587
587
  setup(e) {
588
588
  const { t } = ee(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(""), r = f("");
@@ -597,7 +597,7 @@ const dt = /* @__PURE__ */ B({
597
597
  return N(v, (k) => {
598
598
  !k && !_ && (p.emit("confirmDlgResult" + u, !1), _ = !0);
599
599
  }), (k, i) => {
600
- const D = h("v-card-text"), s = h("v-btn"), x = h("v-card-actions"), M = h("v-card"), d = h("v-dialog");
600
+ const D = w("v-card-text"), s = w("v-btn"), x = w("v-card-actions"), M = w("v-card"), d = w("v-dialog");
601
601
  return C(), q(d, {
602
602
  modelValue: H(v),
603
603
  "onUpdate:modelValue": i[1] || (i[1] = (j) => Y(v) ? v.value = j : null),
@@ -608,23 +608,23 @@ const dt = /* @__PURE__ */ B({
608
608
  F($(L, ["stop", "prevent"]), ["enter"])
609
609
  ]
610
610
  }, {
611
- default: w(() => [
611
+ default: h(() => [
612
612
  b(M, { title: a.value }, {
613
- default: w(() => [
613
+ default: h(() => [
614
614
  b(D, null, {
615
- default: w(() => [
615
+ default: h(() => [
616
616
  V(R(o.value), 1)
617
617
  ]),
618
618
  _: 1
619
619
  }),
620
620
  b(x, { class: "d-flex justify-end" }, {
621
- default: w(() => [
621
+ default: h(() => [
622
622
  b(s, {
623
623
  color: n.value,
624
624
  variant: "text",
625
625
  onClick: i[0] || (i[0] = (j) => v.value = !1)
626
626
  }, {
627
- default: w(() => [
627
+ default: h(() => [
628
628
  V(R(l.value), 1)
629
629
  ]),
630
630
  _: 1
@@ -634,7 +634,7 @@ const dt = /* @__PURE__ */ B({
634
634
  variant: "text",
635
635
  onClick: L
636
636
  }, {
637
- default: w(() => [
637
+ default: h(() => [
638
638
  V(R(r.value), 1)
639
639
  ]),
640
640
  _: 1
@@ -650,54 +650,51 @@ const dt = /* @__PURE__ */ B({
650
650
  }, 8, ["modelValue", "onKeydown"]);
651
651
  };
652
652
  }
653
- }), ft = /* @__PURE__ */ B({
653
+ }), gt = /* @__PURE__ */ B({
654
654
  __name: "index",
655
655
  props: {
656
656
  open: { type: Boolean, default: !0 },
657
657
  zIndex: { default: 1 }
658
658
  },
659
659
  setup(e) {
660
- const { backgroundColor2: t } = Ve(), a = y(() => ({
660
+ const { backgroundColor2: t } = Ae(), a = y(() => ({
661
661
  background: t.value,
662
662
  zIndex: e.zIndex
663
663
  }));
664
- return (o, n) => {
665
- const l = h("v-fade-transition");
666
- return C(), q(l, null, {
667
- default: w(() => [
668
- o.open ? (C(), Q("div", {
669
- key: 0,
670
- class: "x-cont",
671
- style: le(a.value)
672
- }, n[0] || (n[0] = [
673
- m("div", { class: "lds-spinner" }, [
674
- m("div"),
675
- m("div"),
676
- m("div"),
677
- m("div"),
678
- m("div"),
679
- m("div"),
680
- m("div"),
681
- m("div"),
682
- m("div"),
683
- m("div"),
684
- m("div"),
685
- m("div")
686
- ], -1)
687
- ]), 4)) : P("", !0)
688
- ]),
689
- _: 1
690
- });
691
- };
664
+ return (o, n) => (C(), q(De, null, {
665
+ default: h(() => [
666
+ o.open ? (C(), Q("div", {
667
+ key: 0,
668
+ class: "x-cont",
669
+ style: le(a.value)
670
+ }, n[0] || (n[0] = [
671
+ m("div", { class: "lds-spinner" }, [
672
+ m("div"),
673
+ m("div"),
674
+ m("div"),
675
+ m("div"),
676
+ m("div"),
677
+ m("div"),
678
+ m("div"),
679
+ m("div"),
680
+ m("div"),
681
+ m("div"),
682
+ m("div"),
683
+ m("div")
684
+ ], -1)
685
+ ]), 4)) : P("", !0)
686
+ ]),
687
+ _: 1
688
+ }));
692
689
  }
693
690
  }), oe = (e, t) => {
694
691
  const a = e.__vccOpts || e;
695
692
  for (const [o, n] of t)
696
693
  a[o] = n;
697
694
  return a;
698
- }, gt = /* @__PURE__ */ oe(ft, [["__scopeId", "data-v-18833fd2"]]);
699
- var vt = "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", mt = "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", ht = "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", wt = "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", yt = "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";
700
- const xt = /* @__PURE__ */ B({
695
+ }, vt = /* @__PURE__ */ oe(gt, [["__scopeId", "data-v-13023da6"]]);
696
+ var mt = "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", ht = "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", wt = "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", yt = "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", xt = "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";
697
+ const bt = /* @__PURE__ */ B({
701
698
  __name: "item",
702
699
  props: {
703
700
  id: {},
@@ -713,13 +710,13 @@ const xt = /* @__PURE__ */ B({
713
710
  })), n = y(() => {
714
711
  switch (a.type) {
715
712
  case "success":
716
- return mt;
713
+ return ht;
717
714
  case "info":
718
- return yt;
715
+ return xt;
719
716
  case "error":
720
- return wt;
717
+ return yt;
721
718
  case "warning":
722
- return vt;
719
+ return mt;
723
720
  default:
724
721
  return "";
725
722
  }
@@ -731,13 +728,13 @@ const xt = /* @__PURE__ */ B({
731
728
  }), N(l, (r) => {
732
729
  r || c("timeout", a.id);
733
730
  }), (r, u) => {
734
- const _ = h("v-icon"), g = h("v-sheet");
731
+ const _ = w("v-icon"), g = w("v-sheet");
735
732
  return C(), q(g, {
736
733
  class: "x-item d-flex align-center py-2 mb-2",
737
734
  color: a.type,
738
735
  elevation: 1
739
736
  }, {
740
- default: w(() => [
737
+ default: h(() => [
741
738
  n.value ? (C(), q(_, {
742
739
  key: 0,
743
740
  class: "mx-1",
@@ -748,7 +745,7 @@ const xt = /* @__PURE__ */ B({
748
745
  }, R(a.text), 5),
749
746
  b(_, {
750
747
  class: "mx-1",
751
- icon: H(ht),
748
+ icon: H(wt),
752
749
  onClick: u[0] || (u[0] = (v) => c("timeout", a.id))
753
750
  }, null, 8, ["icon"])
754
751
  ]),
@@ -756,7 +753,7 @@ const xt = /* @__PURE__ */ B({
756
753
  }, 8, ["color"]);
757
754
  };
758
755
  }
759
- }), bt = /* @__PURE__ */ oe(xt, [["__scopeId", "data-v-d5cfe252"]]), kt = /* @__PURE__ */ B({
756
+ }), kt = /* @__PURE__ */ oe(bt, [["__scopeId", "data-v-d5cfe252"]]), Ct = /* @__PURE__ */ B({
760
757
  __name: "index",
761
758
  setup(e) {
762
759
  const t = f([]);
@@ -784,7 +781,7 @@ const xt = /* @__PURE__ */ B({
784
781
  onClick: u[0] || (u[0] = $(() => {
785
782
  }, ["stop"]))
786
783
  }, [
787
- (C(!0), Q(De, null, Me(t.value, (_) => (C(), q(bt, {
784
+ (C(!0), Q(Me, null, Se(t.value, (_) => (C(), q(kt, {
788
785
  id: _.id,
789
786
  key: _.id,
790
787
  type: _.type,
@@ -794,10 +791,10 @@ const xt = /* @__PURE__ */ B({
794
791
  }, null, 8, ["id", "type", "text", "timeout"]))), 128))
795
792
  ]));
796
793
  }
797
- }), Ct = /* @__PURE__ */ oe(kt, [["__scopeId", "data-v-8fd5d800"]]), Lt = /* @__PURE__ */ B({
794
+ }), Lt = /* @__PURE__ */ oe(Ct, [["__scopeId", "data-v-8fd5d800"]]), Dt = /* @__PURE__ */ B({
798
795
  __name: "index",
799
796
  setup(e) {
800
- const { t } = ee(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(), r = f(""), u = f(""), _ = f(""), g = f(""), v = f(""), L = Se("target");
797
+ const { t } = ee(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(), r = f(""), u = f(""), _ = f(""), g = f(""), v = f(""), L = je("target");
801
798
  let k = 0, i = !1;
802
799
  const D = async (M) => {
803
800
  var j, K, z, E;
@@ -809,7 +806,7 @@ const xt = /* @__PURE__ */ B({
809
806
  return N(s, (M) => {
810
807
  !M && !i && (p.emit("promptDlgResult" + k, void 0), i = !0);
811
808
  }), (M, d) => {
812
- const j = h("v-card-text"), K = h("v-text-field"), z = h("v-form"), E = h("v-btn"), he = h("v-card-actions"), we = h("v-card"), ye = h("v-dialog");
809
+ const j = w("v-card-text"), K = w("v-text-field"), z = w("v-form"), E = w("v-btn"), he = w("v-card-actions"), we = w("v-card"), ye = w("v-dialog");
813
810
  return C(), q(ye, {
814
811
  modelValue: H(s),
815
812
  "onUpdate:modelValue": d[2] || (d[2] = (U) => Y(s) ? s.value = U : null),
@@ -820,17 +817,17 @@ const xt = /* @__PURE__ */ B({
820
817
  F($(x, ["stop", "prevent"]), ["enter"])
821
818
  ]
822
819
  }, {
823
- default: w(() => [
820
+ default: h(() => [
824
821
  b(we, { title: a.value }, {
825
- default: w(() => [
822
+ default: h(() => [
826
823
  o.value ? (C(), q(j, { key: 0 }, {
827
- default: w(() => [
824
+ default: h(() => [
828
825
  V(R(o.value), 1)
829
826
  ]),
830
827
  _: 1
831
828
  })) : P("", !0),
832
829
  b(z, { class: "mx-3" }, {
833
- default: w(() => [
830
+ default: h(() => [
834
831
  b(K, {
835
832
  ref_key: "target",
836
833
  ref: L,
@@ -844,13 +841,13 @@ const xt = /* @__PURE__ */ B({
844
841
  _: 1
845
842
  }),
846
843
  b(he, { class: "d-flex justify-end" }, {
847
- default: w(() => [
844
+ default: h(() => [
848
845
  b(E, {
849
846
  color: u.value,
850
847
  variant: "text",
851
848
  onClick: d[1] || (d[1] = (U) => s.value = !1)
852
849
  }, {
853
- default: w(() => [
850
+ default: h(() => [
854
851
  V(R(_.value), 1)
855
852
  ]),
856
853
  _: 1
@@ -860,7 +857,7 @@ const xt = /* @__PURE__ */ B({
860
857
  variant: "text",
861
858
  onClick: x
862
859
  }, {
863
- default: w(() => [
860
+ default: h(() => [
864
861
  V(R(v.value), 1)
865
862
  ]),
866
863
  _: 1
@@ -876,7 +873,7 @@ const xt = /* @__PURE__ */ B({
876
873
  }, 8, ["modelValue", "onKeydown"]);
877
874
  };
878
875
  }
879
- }), Dt = { class: "mx-auto my-auto" }, Mt = { class: "w-100 h-100 d-flex align-center justify-center" }, St = { class: "text-body-1" }, jt = /* @__PURE__ */ B({
876
+ }), Mt = { class: "mx-auto my-auto" }, St = { class: "w-100 h-100 d-flex align-center justify-center" }, jt = { class: "text-body-1" }, Rt = /* @__PURE__ */ B({
880
877
  __name: "index",
881
878
  setup(e) {
882
879
  const { t } = ee(), a = f(""), o = (c) => {
@@ -890,7 +887,7 @@ const xt = /* @__PURE__ */ B({
890
887
  }), W(() => {
891
888
  p.off("closeWaitDlg", n);
892
889
  }), (c, r) => {
893
- const u = h("v-card"), _ = h("v-dialog");
890
+ const u = w("v-card"), _ = w("v-dialog");
894
891
  return C(), q(_, {
895
892
  modelValue: H(l),
896
893
  "onUpdate:modelValue": r[0] || (r[0] = (g) => Y(l) ? l.value = g : null),
@@ -898,16 +895,16 @@ const xt = /* @__PURE__ */ B({
898
895
  "no-click-animation": "",
899
896
  fullscreen: ""
900
897
  }, {
901
- default: w(() => [
902
- m("div", Dt, [
898
+ default: h(() => [
899
+ m("div", Mt, [
903
900
  b(u, {
904
901
  width: "300px",
905
902
  height: "80px",
906
903
  loading: ""
907
904
  }, {
908
- default: w(() => [
909
- m("div", Mt, [
910
- m("span", St, R(a.value), 1)
905
+ default: h(() => [
906
+ m("div", St, [
907
+ m("span", jt, R(a.value), 1)
911
908
  ])
912
909
  ]),
913
910
  _: 1
@@ -918,9 +915,9 @@ const xt = /* @__PURE__ */ B({
918
915
  }, 8, ["modelValue"]);
919
916
  };
920
917
  }
921
- }), Rt = (e) => {
922
- e.component("XConfirmDlg", dt), e.component("XLoading", gt), e.component("XMessage", Ct), e.component("XPromptDlg", Lt), e.component("XWaitDlg", jt);
923
- }, qt = (e, t, a) => {
918
+ }), qt = (e) => {
919
+ e.component("XConfirmDlg", ft), e.component("XLoading", vt), e.component("XMessage", Lt), e.component("XPromptDlg", Dt), e.component("XWaitDlg", Rt);
920
+ }, Vt = (e, t, a) => {
924
921
  const o = e[t];
925
922
  return o ? typeof o == "function" ? o() : Promise.resolve(o) : new Promise((n, l) => {
926
923
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -933,54 +930,54 @@ const xt = /* @__PURE__ */ B({
933
930
  );
934
931
  });
935
932
  };
936
- async function oa(e) {
937
- return (await qt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-iuzmkt0n.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-m6y1by9n.js") }), `./locales/${e}/index.ts`, 4)).default;
933
+ async function na(e) {
934
+ return (await Vt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en-iuzmkt0n.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans-m6y1by9n.js") }), `./locales/${e}/index.ts`, 4)).default;
938
935
  }
939
- const na = { install: Rt };
936
+ const ra = { install: qt };
940
937
  export {
941
- He as Permission,
942
- at as addView,
943
- We as appAppear,
944
- Pt as clearViews,
945
- Ht as closeWaitDlg,
946
- Bt as createAxios,
947
- na as default,
948
- ot as delView,
938
+ Ke as Permission,
939
+ ot as addView,
940
+ $e as appAppear,
941
+ ea as clearViews,
942
+ Kt as closeWaitDlg,
943
+ Et as createAxios,
944
+ ra as default,
945
+ nt as delView,
949
946
  p as eventBus,
950
947
  me as hasView,
951
- Zt as injectDark,
952
- Qt as injectLastAppPath,
953
- Nt as injectLocale,
954
- Gt as injectPermissionChecksum,
955
- Ze as injectPermissionObjects,
956
- Je as injectViews,
957
- tt as isEmpty,
948
+ Nt as injectDark,
949
+ Jt as injectLastAppPath,
950
+ Gt as injectLocale,
951
+ Qt as injectPermissionChecksum,
952
+ Ne as injectPermissionObjects,
953
+ Ye as injectViews,
954
+ at as isEmpty,
958
955
  re as isExist,
959
- Yt as lastView,
960
- oa as loadLocaleMessageEssential,
956
+ Pt as lastView,
957
+ na as loadLocaleMessageEssential,
961
958
  Z as matchRouteMeta,
962
- Kt as messageError,
963
- zt as messageInfo,
964
- Xt as messageSuccess,
965
- Ft as messageWarning,
966
- Jt as onBeforeEach,
967
- Ut as openConfirmDlg,
968
- Wt as openPromptDlg,
969
- $t as openWaitDlg,
970
- nt as popView,
971
- ze as provideDark,
972
- Ge as provideLastAppPath,
973
- Xe as provideLocale,
974
- Ne as providePermissionChecksum,
975
- Fe as providePermissionObjects,
976
- Qe as provideViews,
959
+ zt as messageError,
960
+ Xt as messageInfo,
961
+ Ft as messageSuccess,
962
+ Zt as messageWarning,
963
+ Yt as onBeforeEach,
964
+ Wt as openConfirmDlg,
965
+ $t as openPromptDlg,
966
+ Ht as openWaitDlg,
967
+ rt as popView,
968
+ Xe as provideDark,
969
+ Qe as provideLastAppPath,
970
+ Fe as provideLocale,
971
+ Ge as providePermissionChecksum,
972
+ Ze as providePermissionObjects,
973
+ Je as provideViews,
977
974
  G as routeTransName,
978
- Ve as useColor,
979
- ea as useMicroApp,
980
- ta as usePermission,
981
- aa as useSystem,
975
+ Ae as useColor,
976
+ ta as useMicroApp,
977
+ aa as usePermission,
978
+ oa as useSystem,
982
979
  ae as useViewStack,
983
- Ke as verifyPermission,
984
- Et as waitMs,
980
+ ze as verifyPermission,
981
+ Ut as waitMs,
985
982
  te as waitUtil
986
983
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.7.17",
4
+ "version": "0.7.18",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",