x-essential-lib 0.8.6 → 0.8.7
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 +159 -161
- package/dist/utils/provideInject.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.id="x-essential-lib",t.appendChild(document.createTextNode('.fade-leave-active[data-v-0c686889]{transition:opacity .5s ease}.fade-leave-to[data-v-0c686889]{opacity:0}.x-cont[data-v-0c686889]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-0c686889]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-0c686889]{transform-origin:20px 20px;animation:lds-spinner-0c686889 1.2s linear infinite}.lds-spinner div[data-v-0c686889]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-0c686889]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-0c686889]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-0c686889]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-0c686889]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-0c686889]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-0c686889]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-0c686889]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-0c686889]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-0c686889]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-0c686889]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-0c686889]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-0c686889]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-0c686889{0%{opacity:1}to{opacity:0}}.x-item[data-v-74835a85]{width:600px}@media (max-width: 600px){.x-item[data-v-74835a85]{width:calc(100vw - 16px)}}.x-cont[data-v-c6a59757]{position:fixed;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(t)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}})();
|
|
2
|
-
import { computed as x, provide as T, inject as A, ref as g, getCurrentInstance as
|
|
3
|
-
import { useI18n as
|
|
4
|
-
import { useTheme as
|
|
5
|
-
import { useRouter as
|
|
2
|
+
import { computed as x, provide as T, inject as A, ref as g, getCurrentInstance as ie, hasInjectionContext as de, watch as Q, getCurrentScope as Re, onScopeDispose as Ve, shallowRef as N, watchEffect as te, toValue as q, onMounted as B, unref as K, onBeforeUnmount as $, onBeforeMount as Ae, defineComponent as E, resolveComponent as b, createBlock as V, openBlock as L, withKeys as Z, withModifiers as H, isRef as J, withCtx as w, createVNode as C, createTextVNode as O, toDisplayString as R, Transition as qe, createElementBlock as ae, createCommentVNode as ne, normalizeStyle as fe, createElementVNode as y, Fragment as Oe, renderList as Ie, useTemplateRef as Te } from "vue";
|
|
3
|
+
import { useI18n as re } from "vue-i18n";
|
|
4
|
+
import { useTheme as ge, useDisplay as Be } from "vuetify";
|
|
5
|
+
import { useRouter as ve, useRoute as Ee } from "vue-router";
|
|
6
6
|
import We from "axios";
|
|
7
7
|
function Ue() {
|
|
8
|
-
const e =
|
|
8
|
+
const e = ge(), t = x(() => e.global.current.value.colors.primary), a = x(() => e.global.current.value.colors.secondary), o = x(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), n = x(() => e.current.value.dark ? "#272727" : "#eeeeee"), l = x(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), c = x(() => e.current.value.dark ? "#303030" : "#f6f6f6"), r = x(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
|
|
9
9
|
return {
|
|
10
10
|
primaryColor: t,
|
|
11
11
|
secondaryColor: a,
|
|
@@ -17,7 +17,7 @@ function Ue() {
|
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
/*! js-cookie v3.0.5 | MIT */
|
|
20
|
-
function
|
|
20
|
+
function X(e) {
|
|
21
21
|
for (var t = 1; t < arguments.length; t++) {
|
|
22
22
|
var a = arguments[t];
|
|
23
23
|
for (var o in a)
|
|
@@ -36,10 +36,10 @@ var $e = {
|
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
39
|
-
function
|
|
39
|
+
function oe(e, t) {
|
|
40
40
|
function a(n, l, c) {
|
|
41
41
|
if (!(typeof document > "u")) {
|
|
42
|
-
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()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
43
43
|
var r = "";
|
|
44
44
|
for (var u in c)
|
|
45
45
|
c[u] && (r += "; " + u, c[u] !== !0 && (r += "=" + c[u].split(";")[0]));
|
|
@@ -68,16 +68,16 @@ function ae(e, t) {
|
|
|
68
68
|
a(
|
|
69
69
|
n,
|
|
70
70
|
"",
|
|
71
|
-
|
|
71
|
+
X({}, l, {
|
|
72
72
|
expires: -1
|
|
73
73
|
})
|
|
74
74
|
);
|
|
75
75
|
},
|
|
76
76
|
withAttributes: function(n) {
|
|
77
|
-
return
|
|
77
|
+
return oe(this.converter, X({}, this.attributes, n));
|
|
78
78
|
},
|
|
79
79
|
withConverter: function(n) {
|
|
80
|
-
return
|
|
80
|
+
return oe(X({}, this.converter, n), this.attributes);
|
|
81
81
|
}
|
|
82
82
|
},
|
|
83
83
|
{
|
|
@@ -86,7 +86,7 @@ function ae(e, t) {
|
|
|
86
86
|
}
|
|
87
87
|
);
|
|
88
88
|
}
|
|
89
|
-
var I =
|
|
89
|
+
var I = oe($e, { path: "/" });
|
|
90
90
|
function Jt(e) {
|
|
91
91
|
const t = We.create({
|
|
92
92
|
timeout: 6e3
|
|
@@ -120,7 +120,7 @@ function Fe(e, t) {
|
|
|
120
120
|
})), Promise.reject(e);
|
|
121
121
|
}
|
|
122
122
|
function Xe() {
|
|
123
|
-
I.remove("accessToken"), I.remove("refreshToken"), I.remove("activeOrg"),
|
|
123
|
+
I.remove("accessToken"), I.remove("refreshToken"), I.remove("activeOrg"), ve().replace({ path: "/passport/login" });
|
|
124
124
|
}
|
|
125
125
|
function Ne(e) {
|
|
126
126
|
return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, a) {
|
|
@@ -146,7 +146,7 @@ async function Yt(e) {
|
|
|
146
146
|
setTimeout(t, e);
|
|
147
147
|
});
|
|
148
148
|
}
|
|
149
|
-
async function
|
|
149
|
+
async function le(e, t, a) {
|
|
150
150
|
const o = Date.now();
|
|
151
151
|
return new Promise((n) => {
|
|
152
152
|
const l = async () => {
|
|
@@ -161,32 +161,32 @@ function Ze(e, t) {
|
|
|
161
161
|
a.classList.add("app-reset");
|
|
162
162
|
}, 50));
|
|
163
163
|
}
|
|
164
|
-
let
|
|
165
|
-
function
|
|
164
|
+
let se = Date.now();
|
|
165
|
+
function me() {
|
|
166
166
|
const e = Date.now();
|
|
167
|
-
return e -
|
|
167
|
+
return e - se > 500 ? (se = e, !0) : !1;
|
|
168
168
|
}
|
|
169
169
|
let Ge = 0;
|
|
170
|
-
function
|
|
170
|
+
function he() {
|
|
171
171
|
return ++Ge;
|
|
172
172
|
}
|
|
173
173
|
async function Pt(e) {
|
|
174
|
-
if (!
|
|
174
|
+
if (!me())
|
|
175
175
|
return;
|
|
176
176
|
let t = !1, a;
|
|
177
177
|
const o = (l) => {
|
|
178
178
|
a = l, t = !0;
|
|
179
|
-
}, n =
|
|
180
|
-
return p.on("confirmDlgResult" + n, o), p.emit("confirmDlg", { ...e, seq: n }), await
|
|
179
|
+
}, n = he();
|
|
180
|
+
return p.on("confirmDlgResult" + n, o), p.emit("confirmDlg", { ...e, seq: n }), await le(() => t), p.off("confirmDlgResult" + n, o), a;
|
|
181
181
|
}
|
|
182
182
|
async function ea(e) {
|
|
183
|
-
if (!
|
|
183
|
+
if (!me())
|
|
184
184
|
return;
|
|
185
185
|
let t = !1, a;
|
|
186
186
|
const o = (l) => {
|
|
187
187
|
a = l, t = !0;
|
|
188
|
-
}, n =
|
|
189
|
-
return p.on("promptDlgResult" + n, o), p.emit("promptDlg", { ...e, seq: n }), await
|
|
188
|
+
}, n = he();
|
|
189
|
+
return p.on("promptDlgResult" + n, o), p.emit("promptDlg", { ...e, seq: n }), await le(() => t), p.off("promptDlgResult" + n, o), a;
|
|
190
190
|
}
|
|
191
191
|
function ta(e) {
|
|
192
192
|
p.emit("openWaitDlg", { text: e });
|
|
@@ -207,7 +207,7 @@ function la(e, t) {
|
|
|
207
207
|
p.emit("message", { type: "warning", text: e, timeout: t });
|
|
208
208
|
}
|
|
209
209
|
var Qe = /* @__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_group = "list_org_role_group", e.create_org_role_group = "create_org_role_group", e.delete_org_role_group = "delete_org_role_group", e.update_org_role_group = "update_org_role_group", e.arrange_org_role_group = "arrange_org_role_group", 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.get_org_structure = "get_org_structure", e.update_org_structure = "update_org_structure", e.filter_table = "filter_table", e))(Qe || {});
|
|
210
|
-
function
|
|
210
|
+
function pe(e, t) {
|
|
211
211
|
if (!e)
|
|
212
212
|
return !1;
|
|
213
213
|
let a = e;
|
|
@@ -222,44 +222,44 @@ function se(e, t) {
|
|
|
222
222
|
}
|
|
223
223
|
function Je(e, t, a) {
|
|
224
224
|
const o = e[t];
|
|
225
|
-
return o ? a ? !(!
|
|
225
|
+
return o ? a ? !(!pe(o.includes, a) || pe(o.excludes, a)) : !0 : !1;
|
|
226
226
|
}
|
|
227
|
-
const
|
|
227
|
+
const ye = "essentialDark", we = "essentialLocale", xe = "essentialPermissionObjects", be = "essentialPermissionChecksum", ke = "essentialLastAppPath", Ce = "essentialViews";
|
|
228
228
|
function Ye(e) {
|
|
229
|
-
T(
|
|
229
|
+
T(ye, e);
|
|
230
230
|
}
|
|
231
231
|
function ca() {
|
|
232
|
-
return A(
|
|
232
|
+
return A(ye);
|
|
233
233
|
}
|
|
234
234
|
function Pe(e) {
|
|
235
|
-
T(
|
|
235
|
+
T(we, e);
|
|
236
236
|
}
|
|
237
237
|
function ua() {
|
|
238
|
-
return A(
|
|
238
|
+
return A(we);
|
|
239
239
|
}
|
|
240
240
|
function et(e) {
|
|
241
|
-
T(
|
|
241
|
+
T(xe, e);
|
|
242
242
|
}
|
|
243
243
|
function tt() {
|
|
244
|
-
return A(
|
|
244
|
+
return A(xe);
|
|
245
245
|
}
|
|
246
246
|
function at(e) {
|
|
247
|
-
T(
|
|
247
|
+
T(be, e);
|
|
248
248
|
}
|
|
249
249
|
function sa() {
|
|
250
|
-
return A(
|
|
250
|
+
return A(be);
|
|
251
251
|
}
|
|
252
252
|
function ot(e) {
|
|
253
|
-
T(
|
|
253
|
+
T(ke, e);
|
|
254
254
|
}
|
|
255
255
|
function pa() {
|
|
256
|
-
return A(
|
|
256
|
+
return A(ke);
|
|
257
257
|
}
|
|
258
258
|
function nt(e) {
|
|
259
|
-
T(
|
|
259
|
+
T(Ce, e);
|
|
260
260
|
}
|
|
261
261
|
function rt() {
|
|
262
|
-
return A(
|
|
262
|
+
return A(Ce);
|
|
263
263
|
}
|
|
264
264
|
const lt = [
|
|
265
265
|
{
|
|
@@ -369,7 +369,7 @@ const lt = [
|
|
|
369
369
|
mainActive: 2
|
|
370
370
|
}
|
|
371
371
|
];
|
|
372
|
-
function
|
|
372
|
+
function G(e) {
|
|
373
373
|
let t, a = 0;
|
|
374
374
|
const o = e.split("/").filter((n) => n.trim() !== "");
|
|
375
375
|
return lt.forEach((n) => {
|
|
@@ -383,7 +383,7 @@ function Q(e) {
|
|
|
383
383
|
const Y = g("");
|
|
384
384
|
function S(e, t, a) {
|
|
385
385
|
t === "/" && (t = a);
|
|
386
|
-
const o =
|
|
386
|
+
const o = G(e), n = G(t);
|
|
387
387
|
if (!o) {
|
|
388
388
|
console.assert(!1);
|
|
389
389
|
return;
|
|
@@ -400,7 +400,7 @@ function ut() {
|
|
|
400
400
|
return !!I.get("activeOrg");
|
|
401
401
|
}
|
|
402
402
|
function _a(e, t, a, o) {
|
|
403
|
-
const n = ct(), l = ut(), c =
|
|
403
|
+
const n = ct(), l = ut(), c = G(e.path);
|
|
404
404
|
if (!c) {
|
|
405
405
|
console.assert(!1), a();
|
|
406
406
|
return;
|
|
@@ -445,7 +445,7 @@ function st(e) {
|
|
|
445
445
|
function ia(e) {
|
|
446
446
|
return e.value.at(-1);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Le(e, t) {
|
|
449
449
|
return !!e.value.find((a) => a === t);
|
|
450
450
|
}
|
|
451
451
|
function pt(e, t) {
|
|
@@ -463,25 +463,25 @@ function da(e) {
|
|
|
463
463
|
e.value = [];
|
|
464
464
|
}
|
|
465
465
|
function dt(e) {
|
|
466
|
-
return
|
|
466
|
+
return Re() ? (Ve(e), !0) : !1;
|
|
467
467
|
}
|
|
468
468
|
const P = /* @__PURE__ */ new WeakMap(), ft = (...e) => {
|
|
469
469
|
var t;
|
|
470
|
-
const a = e[0], o = (t =
|
|
471
|
-
if (o == null && !
|
|
470
|
+
const a = e[0], o = (t = ie()) == null ? void 0 : t.proxy;
|
|
471
|
+
if (o == null && !de())
|
|
472
472
|
throw new Error("injectLocal must be called in setup");
|
|
473
473
|
return o && P.has(o) && a in P.get(o) ? P.get(o)[a] : A(...e);
|
|
474
474
|
}, gt = typeof window < "u" && typeof document < "u";
|
|
475
475
|
typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
|
|
476
476
|
const vt = Object.prototype.toString, mt = (e) => vt.call(e) === "[object Object]";
|
|
477
|
-
function
|
|
477
|
+
function _e(e) {
|
|
478
478
|
return e.endsWith("rem") ? Number.parseFloat(e) * 16 : Number.parseFloat(e);
|
|
479
479
|
}
|
|
480
480
|
function ee(e) {
|
|
481
481
|
return Array.isArray(e) ? e : [e];
|
|
482
482
|
}
|
|
483
483
|
function ht(e, t, a) {
|
|
484
|
-
return
|
|
484
|
+
return Q(
|
|
485
485
|
e,
|
|
486
486
|
t,
|
|
487
487
|
{
|
|
@@ -490,7 +490,7 @@ function ht(e, t, a) {
|
|
|
490
490
|
}
|
|
491
491
|
);
|
|
492
492
|
}
|
|
493
|
-
const
|
|
493
|
+
const De = gt ? window : void 0;
|
|
494
494
|
function yt(e) {
|
|
495
495
|
var t;
|
|
496
496
|
const a = q(e);
|
|
@@ -506,9 +506,9 @@ function wt(...e) {
|
|
|
506
506
|
() => {
|
|
507
507
|
var r, u;
|
|
508
508
|
return [
|
|
509
|
-
(u = (r = n.value) == null ? void 0 : r.map((s) => yt(s))) != null ? u : [
|
|
509
|
+
(u = (r = n.value) == null ? void 0 : r.map((s) => yt(s))) != null ? u : [De].filter((s) => s != null),
|
|
510
510
|
ee(q(n.value ? e[1] : e[0])),
|
|
511
|
-
ee(
|
|
511
|
+
ee(K(n.value ? e[2] : e[1])),
|
|
512
512
|
// @ts-expect-error - TypeScript gets the correct types, but somehow still complains
|
|
513
513
|
q(n.value ? e[3] : e[2])
|
|
514
514
|
];
|
|
@@ -532,7 +532,7 @@ function wt(...e) {
|
|
|
532
532
|
return dt(a), c;
|
|
533
533
|
}
|
|
534
534
|
function xt() {
|
|
535
|
-
const e =
|
|
535
|
+
const e = N(!1), t = ie();
|
|
536
536
|
return t && B(() => {
|
|
537
537
|
e.value = !0;
|
|
538
538
|
}, t), e;
|
|
@@ -543,21 +543,21 @@ function bt(e) {
|
|
|
543
543
|
}
|
|
544
544
|
const kt = Symbol("vueuse-ssr-width");
|
|
545
545
|
function Ct() {
|
|
546
|
-
const e =
|
|
546
|
+
const e = de() ? ft(kt, null) : null;
|
|
547
547
|
return typeof e == "number" ? e : void 0;
|
|
548
548
|
}
|
|
549
549
|
function Lt(e, t = {}) {
|
|
550
|
-
const { window: a =
|
|
550
|
+
const { window: a = De, ssrWidth: o = Ct() } = t, n = bt(() => a && "matchMedia" in a && typeof a.matchMedia == "function"), l = N(typeof o == "number"), c = N(), r = N(!1), u = (s) => {
|
|
551
551
|
r.value = s.matches;
|
|
552
552
|
};
|
|
553
|
-
return
|
|
553
|
+
return te(() => {
|
|
554
554
|
if (l.value) {
|
|
555
555
|
l.value = !n.value;
|
|
556
556
|
const s = q(e).split(",");
|
|
557
557
|
r.value = s.some((i) => {
|
|
558
558
|
const v = i.includes("not all"), k = i.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/), m = i.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);
|
|
559
559
|
let _ = !!(k || m);
|
|
560
|
-
return k && _ && (_ = o >=
|
|
560
|
+
return k && _ && (_ = o >= _e(k[1])), m && _ && (_ = o <= _e(m[1])), v ? !_ : _;
|
|
561
561
|
});
|
|
562
562
|
return;
|
|
563
563
|
}
|
|
@@ -568,61 +568,59 @@ function Dt(e) {
|
|
|
568
568
|
return Lt("(prefers-color-scheme: dark)", e);
|
|
569
569
|
}
|
|
570
570
|
function fa(e, t, a, o, n, l) {
|
|
571
|
-
const c = Ee(), r =
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
const i = () => {
|
|
583
|
-
var C;
|
|
571
|
+
const c = Ee(), r = ve(), u = Dt(), s = g(!1);
|
|
572
|
+
te(() => {
|
|
573
|
+
let f = !1;
|
|
574
|
+
typeof e.value == "boolean" ? f = e.value : f = u.value, s.value = f;
|
|
575
|
+
}), Ye(s), Pe(t), et(a), at(o), ot(n), nt(l);
|
|
576
|
+
const i = ge();
|
|
577
|
+
te(() => {
|
|
578
|
+
i.global.name.value = s.value ? "dark" : "light";
|
|
579
|
+
});
|
|
580
|
+
const v = () => {
|
|
581
|
+
var d;
|
|
584
582
|
if (!st(l)) {
|
|
585
|
-
|
|
583
|
+
Le(l, "waitDlg") || it(l);
|
|
586
584
|
return;
|
|
587
585
|
}
|
|
588
|
-
const
|
|
589
|
-
if (!
|
|
586
|
+
const f = G(c.path);
|
|
587
|
+
if (!f) {
|
|
590
588
|
console.assert(!1);
|
|
591
589
|
return;
|
|
592
590
|
}
|
|
593
|
-
|
|
591
|
+
f.level === 0 ? (d = navigator == null ? void 0 : navigator.Backbutton) == null || d.goHome(
|
|
594
592
|
() => {
|
|
595
593
|
},
|
|
596
594
|
() => {
|
|
597
595
|
}
|
|
598
596
|
) : r.back();
|
|
599
|
-
},
|
|
600
|
-
if (
|
|
601
|
-
|
|
597
|
+
}, k = (f) => {
|
|
598
|
+
if (f.key === "Escape") {
|
|
599
|
+
v();
|
|
602
600
|
return;
|
|
603
601
|
}
|
|
604
|
-
},
|
|
605
|
-
|
|
602
|
+
}, m = () => {
|
|
603
|
+
v();
|
|
606
604
|
};
|
|
607
605
|
B(() => {
|
|
608
|
-
window.addEventListener("keydown",
|
|
606
|
+
window.addEventListener("keydown", k), p.on("backbutton", m);
|
|
609
607
|
}), $(() => {
|
|
610
|
-
window.removeEventListener("keydown",
|
|
608
|
+
window.removeEventListener("keydown", k), p.off("backbutton", m);
|
|
611
609
|
});
|
|
612
|
-
const
|
|
613
|
-
e.value =
|
|
614
|
-
},
|
|
615
|
-
t.value =
|
|
616
|
-
},
|
|
617
|
-
const
|
|
618
|
-
a.value =
|
|
619
|
-
},
|
|
620
|
-
n.value =
|
|
610
|
+
const _ = (f) => {
|
|
611
|
+
e.value = f;
|
|
612
|
+
}, M = (f) => {
|
|
613
|
+
t.value = f;
|
|
614
|
+
}, h = (f) => {
|
|
615
|
+
const d = f;
|
|
616
|
+
a.value = d[0], o.value = d[1];
|
|
617
|
+
}, D = (f) => {
|
|
618
|
+
n.value = f;
|
|
621
619
|
};
|
|
622
620
|
Ae(() => {
|
|
623
|
-
p.on("updateDark",
|
|
621
|
+
p.on("updateDark", _), p.on("updateLocale", M), p.on("updatePermission", h), p.on("updateLastAppPath", D), p.emit("syncGlobalState");
|
|
624
622
|
}), $(() => {
|
|
625
|
-
p.off("updateDark",
|
|
623
|
+
p.off("updateDark", _), p.off("updateLocale", M), p.off("updatePermission", h), p.off("updateLastAppPath", D);
|
|
626
624
|
});
|
|
627
625
|
}
|
|
628
626
|
function ga() {
|
|
@@ -640,10 +638,10 @@ function va() {
|
|
|
640
638
|
const e = x(() => !!window.cordova), t = Be(), a = x(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
|
|
641
639
|
return { sysBarAvail: e, compactWidth: a };
|
|
642
640
|
}
|
|
643
|
-
function
|
|
641
|
+
function ce(e, t) {
|
|
644
642
|
const a = rt(), o = x({
|
|
645
643
|
get() {
|
|
646
|
-
return
|
|
644
|
+
return Le(a, e);
|
|
647
645
|
},
|
|
648
646
|
set(l) {
|
|
649
647
|
l ? pt(a, e) : _t(a, e);
|
|
@@ -660,42 +658,42 @@ function le(e, t) {
|
|
|
660
658
|
const Mt = /* @__PURE__ */ E({
|
|
661
659
|
__name: "index",
|
|
662
660
|
setup(e) {
|
|
663
|
-
const { t } =
|
|
661
|
+
const { t } = re(), a = g(""), o = g(""), n = g(""), l = g(""), c = g(""), r = g("");
|
|
664
662
|
let u = 0, s = !1;
|
|
665
663
|
const i = (m) => {
|
|
666
|
-
var M, h,
|
|
664
|
+
var M, h, D, f;
|
|
667
665
|
const _ = m;
|
|
668
|
-
a.value = _.title, o.value = _.text, n.value = ((M = _.cancel) == null ? void 0 : M.color) ?? "primary", l.value = ((h = _.cancel) == null ? void 0 : h.text) ?? t("dlg.common.cancel"), c.value = ((
|
|
669
|
-
}, { open: v } =
|
|
666
|
+
a.value = _.title, o.value = _.text, n.value = ((M = _.cancel) == null ? void 0 : M.color) ?? "primary", l.value = ((h = _.cancel) == null ? void 0 : h.text) ?? t("dlg.common.cancel"), c.value = ((D = _.confirm) == null ? void 0 : D.color) ?? "primary", r.value = ((f = _.confirm) == null ? void 0 : f.text) ?? t("dlg.common.confirm"), u = _.seq, s = !1, v.value = !0;
|
|
667
|
+
}, { open: v } = ce("confirmDlg", i), k = () => {
|
|
670
668
|
v.value = !1, s || (p.emit("confirmDlgResult" + u, !0), s = !0);
|
|
671
669
|
};
|
|
672
|
-
return
|
|
670
|
+
return Q(v, (m) => {
|
|
673
671
|
!m && !s && (p.emit("confirmDlgResult" + u, !1), s = !0);
|
|
674
672
|
}), (m, _) => {
|
|
675
|
-
const M = b("v-card-text"), h = b("v-btn"),
|
|
676
|
-
return
|
|
677
|
-
modelValue:
|
|
673
|
+
const M = b("v-card-text"), h = b("v-btn"), D = b("v-card-actions"), f = b("v-card"), d = b("v-dialog");
|
|
674
|
+
return L(), V(d, {
|
|
675
|
+
modelValue: K(v),
|
|
678
676
|
"onUpdate:modelValue": _[1] || (_[1] = (j) => J(v) ? v.value = j : null),
|
|
679
677
|
transition: "dialog-top-transition",
|
|
680
678
|
"max-width": "600px",
|
|
681
679
|
attach: "",
|
|
682
680
|
onKeydown: [
|
|
683
|
-
_[2] || (_[2] =
|
|
684
|
-
|
|
681
|
+
_[2] || (_[2] = Z(H((j) => v.value = !1, ["stop", "prevent"]), ["esc"])),
|
|
682
|
+
Z(H(k, ["stop", "prevent"]), ["enter"])
|
|
685
683
|
]
|
|
686
684
|
}, {
|
|
687
685
|
default: w(() => [
|
|
688
|
-
|
|
686
|
+
C(f, { title: a.value }, {
|
|
689
687
|
default: w(() => [
|
|
690
|
-
|
|
688
|
+
C(M, null, {
|
|
691
689
|
default: w(() => [
|
|
692
690
|
O(R(o.value), 1)
|
|
693
691
|
]),
|
|
694
692
|
_: 1
|
|
695
693
|
}),
|
|
696
|
-
|
|
694
|
+
C(D, { class: "d-flex justify-end" }, {
|
|
697
695
|
default: w(() => [
|
|
698
|
-
|
|
696
|
+
C(h, {
|
|
699
697
|
color: n.value,
|
|
700
698
|
variant: "text",
|
|
701
699
|
onClick: _[0] || (_[0] = (j) => v.value = !1)
|
|
@@ -705,7 +703,7 @@ const Mt = /* @__PURE__ */ E({
|
|
|
705
703
|
]),
|
|
706
704
|
_: 1
|
|
707
705
|
}, 8, ["color"]),
|
|
708
|
-
|
|
706
|
+
C(h, {
|
|
709
707
|
color: c.value,
|
|
710
708
|
variant: "text",
|
|
711
709
|
onClick: k
|
|
@@ -738,12 +736,12 @@ const Mt = /* @__PURE__ */ E({
|
|
|
738
736
|
zIndex: e.zIndex
|
|
739
737
|
}));
|
|
740
738
|
let o = 0;
|
|
741
|
-
return (n, l) => (
|
|
739
|
+
return (n, l) => (L(), V(qe, { name: "fade" }, {
|
|
742
740
|
default: w(() => [
|
|
743
|
-
n.open ? (
|
|
741
|
+
n.open ? (L(), ae("div", {
|
|
744
742
|
key: J(o) ? ++o.value : ++o,
|
|
745
743
|
class: "x-cont",
|
|
746
|
-
style:
|
|
744
|
+
style: fe(a.value)
|
|
747
745
|
}, l[0] || (l[0] = [
|
|
748
746
|
y("div", { class: "lds-spinner" }, [
|
|
749
747
|
y("div"),
|
|
@@ -759,17 +757,17 @@ const Mt = /* @__PURE__ */ E({
|
|
|
759
757
|
y("div"),
|
|
760
758
|
y("div")
|
|
761
759
|
], -1)
|
|
762
|
-
]), 4)) :
|
|
760
|
+
]), 4)) : ne("", !0)
|
|
763
761
|
]),
|
|
764
762
|
_: 1
|
|
765
763
|
}));
|
|
766
764
|
}
|
|
767
|
-
}),
|
|
765
|
+
}), ue = (e, t) => {
|
|
768
766
|
const a = e.__vccOpts || e;
|
|
769
767
|
for (const [o, n] of t)
|
|
770
768
|
a[o] = n;
|
|
771
769
|
return a;
|
|
772
|
-
}, jt = /* @__PURE__ */
|
|
770
|
+
}, jt = /* @__PURE__ */ ue(St, [["__scopeId", "data-v-0c686889"]]);
|
|
773
771
|
var Rt = "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", At = "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", qt = "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", Ot = "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";
|
|
774
772
|
const It = /* @__PURE__ */ E({
|
|
775
773
|
__name: "item",
|
|
@@ -802,27 +800,27 @@ const It = /* @__PURE__ */ E({
|
|
|
802
800
|
setTimeout(() => {
|
|
803
801
|
l("timeout", e.id);
|
|
804
802
|
}, e.timeout);
|
|
805
|
-
}),
|
|
803
|
+
}), Q(n, (c) => {
|
|
806
804
|
c || l("timeout", e.id);
|
|
807
805
|
}), (c, r) => {
|
|
808
806
|
const u = b("v-icon"), s = b("v-sheet");
|
|
809
|
-
return
|
|
807
|
+
return L(), V(s, {
|
|
810
808
|
class: "x-item d-flex align-center py-2 mb-2",
|
|
811
809
|
color: c.type,
|
|
812
810
|
elevation: 1
|
|
813
811
|
}, {
|
|
814
812
|
default: w(() => [
|
|
815
|
-
o.value ? (
|
|
813
|
+
o.value ? (L(), V(u, {
|
|
816
814
|
key: 0,
|
|
817
815
|
class: "mx-1",
|
|
818
816
|
icon: o.value
|
|
819
|
-
}, null, 8, ["icon"])) :
|
|
817
|
+
}, null, 8, ["icon"])) : ne("", !0),
|
|
820
818
|
y("div", {
|
|
821
|
-
style:
|
|
819
|
+
style: fe(a.value)
|
|
822
820
|
}, R(c.text), 5),
|
|
823
|
-
|
|
821
|
+
C(u, {
|
|
824
822
|
class: "mx-1",
|
|
825
|
-
icon:
|
|
823
|
+
icon: K(At),
|
|
826
824
|
onClick: r[0] || (r[0] = (i) => l("timeout", c.id))
|
|
827
825
|
}, null, 8, ["icon"])
|
|
828
826
|
]),
|
|
@@ -830,7 +828,7 @@ const It = /* @__PURE__ */ E({
|
|
|
830
828
|
}, 8, ["color"]);
|
|
831
829
|
};
|
|
832
830
|
}
|
|
833
|
-
}), Tt = /* @__PURE__ */
|
|
831
|
+
}), Tt = /* @__PURE__ */ ue(It, [["__scopeId", "data-v-74835a85"]]), Bt = /* @__PURE__ */ E({
|
|
834
832
|
__name: "index",
|
|
835
833
|
setup(e) {
|
|
836
834
|
const t = g([]);
|
|
@@ -853,12 +851,12 @@ const It = /* @__PURE__ */ E({
|
|
|
853
851
|
const u = t.value.findIndex((s) => s.id === r);
|
|
854
852
|
u >= 0 && t.value.splice(u, 1);
|
|
855
853
|
};
|
|
856
|
-
return (r, u) => (
|
|
854
|
+
return (r, u) => (L(), ae("div", {
|
|
857
855
|
class: "x-cont d-flex flex-column-reverse align-center",
|
|
858
856
|
onClick: u[0] || (u[0] = H(() => {
|
|
859
857
|
}, ["stop"]))
|
|
860
858
|
}, [
|
|
861
|
-
(
|
|
859
|
+
(L(!0), ae(Oe, null, Ie(t.value, (s) => (L(), V(Tt, {
|
|
862
860
|
id: s.id,
|
|
863
861
|
key: s.id,
|
|
864
862
|
type: s.type,
|
|
@@ -868,49 +866,49 @@ const It = /* @__PURE__ */ E({
|
|
|
868
866
|
}, null, 8, ["id", "type", "text", "timeout"]))), 128))
|
|
869
867
|
]));
|
|
870
868
|
}
|
|
871
|
-
}), Et = /* @__PURE__ */
|
|
869
|
+
}), Et = /* @__PURE__ */ ue(Bt, [["__scopeId", "data-v-c6a59757"]]), Wt = /* @__PURE__ */ E({
|
|
872
870
|
__name: "index",
|
|
873
871
|
setup(e) {
|
|
874
|
-
const { t } =
|
|
872
|
+
const { t } = re(), a = g(""), o = g(""), n = g(""), l = g(""), c = g(), r = g(""), u = g(""), s = g(""), i = g(""), v = g(""), k = Te("target");
|
|
875
873
|
let m = 0, _ = !1;
|
|
876
|
-
const M = async (
|
|
877
|
-
var j,
|
|
878
|
-
const
|
|
879
|
-
a.value =
|
|
880
|
-
}, { open: h } =
|
|
874
|
+
const M = async (f) => {
|
|
875
|
+
var j, z, F, W;
|
|
876
|
+
const d = f;
|
|
877
|
+
a.value = d.title, o.value = d.text, n.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", s.value = ((z = d.cancel) == null ? void 0 : z.text) ?? t("dlg.common.cancel"), i.value = ((F = d.confirm) == null ? void 0 : F.color) ?? "primary", v.value = ((W = d.confirm) == null ? void 0 : W.text) ?? t("dlg.common.confirm"), m = d.seq, _ = !1, h.value = !0, await le(() => !!k.value), k.value.focus();
|
|
878
|
+
}, { open: h } = ce("promptDlg", M), D = () => {
|
|
881
879
|
h.value = !1, _ || (p.emit("promptDlgResult" + m, r.value ?? ""), _ = !0);
|
|
882
880
|
};
|
|
883
|
-
return
|
|
884
|
-
!
|
|
885
|
-
}), (
|
|
886
|
-
const j = b("v-card-text"),
|
|
887
|
-
return
|
|
888
|
-
modelValue:
|
|
889
|
-
"onUpdate:modelValue":
|
|
881
|
+
return Q(h, (f) => {
|
|
882
|
+
!f && !_ && (p.emit("promptDlgResult" + m, void 0), _ = !0);
|
|
883
|
+
}), (f, d) => {
|
|
884
|
+
const j = b("v-card-text"), z = b("v-text-field"), F = b("v-form"), W = b("v-btn"), Me = b("v-card-actions"), Se = b("v-card"), je = b("v-dialog");
|
|
885
|
+
return L(), V(je, {
|
|
886
|
+
modelValue: K(h),
|
|
887
|
+
"onUpdate:modelValue": d[2] || (d[2] = (U) => J(h) ? h.value = U : null),
|
|
890
888
|
transition: "dialog-top-transition",
|
|
891
889
|
"max-width": "600px",
|
|
892
890
|
attach: "",
|
|
893
891
|
onKeydown: [
|
|
894
|
-
|
|
895
|
-
|
|
892
|
+
d[3] || (d[3] = Z(H((U) => h.value = !1, ["stop", "prevent"]), ["esc"])),
|
|
893
|
+
Z(H(D, ["stop", "prevent"]), ["enter"])
|
|
896
894
|
]
|
|
897
895
|
}, {
|
|
898
896
|
default: w(() => [
|
|
899
|
-
|
|
897
|
+
C(Se, { title: a.value }, {
|
|
900
898
|
default: w(() => [
|
|
901
|
-
o.value ? (
|
|
899
|
+
o.value ? (L(), V(j, { key: 0 }, {
|
|
902
900
|
default: w(() => [
|
|
903
901
|
O(R(o.value), 1)
|
|
904
902
|
]),
|
|
905
903
|
_: 1
|
|
906
|
-
})) :
|
|
907
|
-
|
|
904
|
+
})) : ne("", !0),
|
|
905
|
+
C(F, { class: "mx-3" }, {
|
|
908
906
|
default: w(() => [
|
|
909
|
-
|
|
907
|
+
C(z, {
|
|
910
908
|
ref_key: "target",
|
|
911
909
|
ref: k,
|
|
912
910
|
modelValue: r.value,
|
|
913
|
-
"onUpdate:modelValue":
|
|
911
|
+
"onUpdate:modelValue": d[0] || (d[0] = (U) => r.value = U),
|
|
914
912
|
label: n.value,
|
|
915
913
|
placeholder: l.value,
|
|
916
914
|
rules: c.value
|
|
@@ -918,22 +916,22 @@ const It = /* @__PURE__ */ E({
|
|
|
918
916
|
]),
|
|
919
917
|
_: 1
|
|
920
918
|
}),
|
|
921
|
-
|
|
919
|
+
C(Me, { class: "d-flex justify-end" }, {
|
|
922
920
|
default: w(() => [
|
|
923
|
-
|
|
921
|
+
C(W, {
|
|
924
922
|
color: u.value,
|
|
925
923
|
variant: "text",
|
|
926
|
-
onClick:
|
|
924
|
+
onClick: d[1] || (d[1] = (U) => h.value = !1)
|
|
927
925
|
}, {
|
|
928
926
|
default: w(() => [
|
|
929
927
|
O(R(s.value), 1)
|
|
930
928
|
]),
|
|
931
929
|
_: 1
|
|
932
930
|
}, 8, ["color"]),
|
|
933
|
-
|
|
931
|
+
C(W, {
|
|
934
932
|
color: i.value,
|
|
935
933
|
variant: "text",
|
|
936
|
-
onClick:
|
|
934
|
+
onClick: D
|
|
937
935
|
}, {
|
|
938
936
|
default: w(() => [
|
|
939
937
|
O(R(v.value), 1)
|
|
@@ -954,20 +952,20 @@ const It = /* @__PURE__ */ E({
|
|
|
954
952
|
}), Ut = { class: "mx-auto my-auto" }, $t = { class: "w-100 h-100 d-flex align-center justify-center" }, Ht = { class: "text-body-1" }, Kt = /* @__PURE__ */ E({
|
|
955
953
|
__name: "index",
|
|
956
954
|
setup(e) {
|
|
957
|
-
const { t } =
|
|
955
|
+
const { t } = re(), a = g(""), o = (c) => {
|
|
958
956
|
const r = c;
|
|
959
957
|
a.value = r.text ?? t("dlg.common.waiting"), l.value = !0;
|
|
960
958
|
}, n = () => {
|
|
961
959
|
l.value = !1;
|
|
962
|
-
}, { open: l } =
|
|
960
|
+
}, { open: l } = ce("waitDlg", o);
|
|
963
961
|
return B(() => {
|
|
964
962
|
p.on("closeWaitDlg", n);
|
|
965
963
|
}), $(() => {
|
|
966
964
|
p.off("closeWaitDlg", n);
|
|
967
965
|
}), (c, r) => {
|
|
968
966
|
const u = b("v-card"), s = b("v-dialog");
|
|
969
|
-
return
|
|
970
|
-
modelValue:
|
|
967
|
+
return L(), V(s, {
|
|
968
|
+
modelValue: K(l),
|
|
971
969
|
"onUpdate:modelValue": r[0] || (r[0] = (i) => J(l) ? l.value = i : null),
|
|
972
970
|
persistent: "",
|
|
973
971
|
"no-click-animation": "",
|
|
@@ -976,7 +974,7 @@ const It = /* @__PURE__ */ E({
|
|
|
976
974
|
}, {
|
|
977
975
|
default: w(() => [
|
|
978
976
|
y("div", Ut, [
|
|
979
|
-
|
|
977
|
+
C(u, {
|
|
980
978
|
width: "300px",
|
|
981
979
|
height: "80px",
|
|
982
980
|
loading: ""
|
|
@@ -1023,7 +1021,7 @@ export {
|
|
|
1023
1021
|
ha as default,
|
|
1024
1022
|
_t as delView,
|
|
1025
1023
|
p as eventBus,
|
|
1026
|
-
|
|
1024
|
+
Le as hasView,
|
|
1027
1025
|
ca as injectDark,
|
|
1028
1026
|
pa as injectLastAppPath,
|
|
1029
1027
|
ua as injectLocale,
|
|
@@ -1031,10 +1029,10 @@ export {
|
|
|
1031
1029
|
tt as injectPermissionObjects,
|
|
1032
1030
|
rt as injectViews,
|
|
1033
1031
|
st as isEmpty,
|
|
1034
|
-
|
|
1032
|
+
pe as isExist,
|
|
1035
1033
|
ia as lastView,
|
|
1036
1034
|
ma as loadLocaleMessageEssential,
|
|
1037
|
-
|
|
1035
|
+
G as matchRouteMeta,
|
|
1038
1036
|
oa as messageError,
|
|
1039
1037
|
na as messageInfo,
|
|
1040
1038
|
ra as messageSuccess,
|
|
@@ -1055,8 +1053,8 @@ export {
|
|
|
1055
1053
|
fa as useMicroApp,
|
|
1056
1054
|
ga as usePermission,
|
|
1057
1055
|
va as useSystem,
|
|
1058
|
-
|
|
1056
|
+
ce as useViewStack,
|
|
1059
1057
|
Je as verifyPermission,
|
|
1060
1058
|
Yt as waitMs,
|
|
1061
|
-
|
|
1059
|
+
le as waitUtil
|
|
1062
1060
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
import { PermissionObjects } from './permission';
|
|
3
|
-
export declare function provideDark(dark: Ref<boolean
|
|
4
|
-
export declare function injectDark(): Ref<boolean
|
|
3
|
+
export declare function provideDark(dark: Ref<boolean>): void;
|
|
4
|
+
export declare function injectDark(): Ref<boolean>;
|
|
5
5
|
export declare function provideLocale(locale: Ref<string>): void;
|
|
6
6
|
export declare function injectLocale(): Ref<string>;
|
|
7
7
|
export declare function providePermissionObjects(permissionObjects: Ref<PermissionObjects>): void;
|