x-essential-lib 0.8.23 → 0.8.25
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/{i18n-en.g2u6ybqk.js → i18n-en.is028vmn.js} +1 -1
- package/dist/{i18n-zhHans.m6y1by9n.js → i18n-zhHans.bda4v4ye.js} +1 -1
- package/dist/index.js +52 -49
- package/dist/utils/router.d.ts +1 -1
- package/package.json +1 -1
- package/dist/i18n/locales/en/$vuetify.d.ts +0 -103
- package/dist/i18n/locales/en/dlg.d.ts +0 -8
- package/dist/i18n/locales/en/index.d.ts +0 -112
- package/dist/i18n/locales/zhHans/$vuetify.d.ts +0 -103
- package/dist/i18n/locales/zhHans/dlg.d.ts +0 -8
- package/dist/i18n/locales/zhHans/index.d.ts +0 -112
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
(function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.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;inset: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-f1f60167]{width:600px}@media (max-width: 600px){.x-item[data-v-f1f60167]{width:calc(100vw - 16px)}}.x-cont[data-v-3543886b]{position:fixed;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 C, provide as U, inject as $, ref as p, watchEffect as le, onMounted as N, onBeforeUnmount as K, onBeforeMount as xe, defineComponent as
|
|
2
|
+
import { computed as C, provide as U, inject as $, ref as p, watchEffect as le, onMounted as N, onBeforeUnmount as K, onBeforeMount as xe, defineComponent as A, watch as F, resolveComponent as v, createBlock as T, openBlock as q, withKeys as z, unref as I, withModifiers as M, isRef as W, withCtx as g, createVNode as b, createTextVNode as L, toDisplayString as S, Transition as ke, createElementBlock as P, createCommentVNode as ee, normalizeStyle as ue, createElementVNode as k, Fragment as De, renderList as Ve, useTemplateRef as ce } from "vue";
|
|
3
3
|
import { useI18n as G } from "vue-i18n";
|
|
4
4
|
import { useTheme as se, useDisplay as Ce } from "vuetify";
|
|
5
5
|
import { useRouter as pe, useRoute as qe } from "vue-router";
|
|
@@ -27,8 +27,8 @@ function kt(e) {
|
|
|
27
27
|
Le(a, e.onError);
|
|
28
28
|
}
|
|
29
29
|
), t.interceptors.response.use(
|
|
30
|
-
(a) =>
|
|
31
|
-
(a) =>
|
|
30
|
+
(a) => Be(a),
|
|
31
|
+
(a) => Me(a, e.onError)
|
|
32
32
|
), t;
|
|
33
33
|
}
|
|
34
34
|
function Te(e) {
|
|
@@ -38,26 +38,26 @@ function Te(e) {
|
|
|
38
38
|
function Le(e, t) {
|
|
39
39
|
console.error(e), t("request timeout");
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Be(e) {
|
|
42
42
|
return e.data;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Me(e, t) {
|
|
45
45
|
const o = e.response;
|
|
46
|
-
return o && (o.status === 401 &&
|
|
46
|
+
return o && (o.status === 401 && Ae(), o.data?.message ? t(o.data?.message) : t({
|
|
47
47
|
code: o.status,
|
|
48
48
|
message: o.statusText
|
|
49
49
|
})), Promise.reject(e);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Ae() {
|
|
52
52
|
E.remove("accessToken"), E.remove("refreshToken"), E.remove("activeOrg"), pe().replace({ path: "/passport/login" });
|
|
53
53
|
}
|
|
54
54
|
const Dt = function() {
|
|
55
55
|
return window.globalObjects || (window.globalObjects = {
|
|
56
56
|
router: null,
|
|
57
57
|
i18n: null
|
|
58
|
-
}), window.globalObjects;
|
|
58
|
+
}, console.log("globalObjects created")), window.globalObjects;
|
|
59
59
|
}(), u = function() {
|
|
60
|
-
return window.eventBus || (window.eventBus = Re()), window.eventBus;
|
|
60
|
+
return window.eventBus || (window.eventBus = Re(), console.log("eventBus created")), window.eventBus;
|
|
61
61
|
}();
|
|
62
62
|
async function Vt(e) {
|
|
63
63
|
return new Promise((t) => {
|
|
@@ -73,7 +73,7 @@ async function X(e, t, a) {
|
|
|
73
73
|
r();
|
|
74
74
|
});
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Ie(e, t) {
|
|
77
77
|
const a = document.getElementById("single-spa-application:" + e);
|
|
78
78
|
a && (a.classList.remove("app-left", "app-right", "app-reset"), t ? a.classList.add("app-left") : a.classList.add("app-right"), setTimeout(() => {
|
|
79
79
|
a.classList.add("app-reset");
|
|
@@ -130,7 +130,7 @@ function Tt(e, t) {
|
|
|
130
130
|
function Lt(e, t) {
|
|
131
131
|
u.emit("message", { type: "success", text: e, timeout: t });
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Bt(e, t) {
|
|
134
134
|
u.emit("message", { type: "warning", text: e, timeout: t });
|
|
135
135
|
}
|
|
136
136
|
var Ue = /* @__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))(Ue || {});
|
|
@@ -155,13 +155,13 @@ const _e = "essentialDark", de = "essentialLocale", ie = "essentialPermissionObj
|
|
|
155
155
|
function Ke(e) {
|
|
156
156
|
U(_e, e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Mt() {
|
|
159
159
|
return $(_e);
|
|
160
160
|
}
|
|
161
161
|
function Ne(e) {
|
|
162
162
|
U(de, e);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function At() {
|
|
165
165
|
return $(de);
|
|
166
166
|
}
|
|
167
167
|
function We(e) {
|
|
@@ -173,7 +173,7 @@ function Xe() {
|
|
|
173
173
|
function ze(e) {
|
|
174
174
|
U(fe, e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function It() {
|
|
177
177
|
return $(fe);
|
|
178
178
|
}
|
|
179
179
|
function He(e) {
|
|
@@ -192,17 +192,20 @@ const Je = [
|
|
|
192
192
|
{
|
|
193
193
|
app: "x-passport-mf",
|
|
194
194
|
path: "/passport/login",
|
|
195
|
-
level: 0
|
|
195
|
+
level: 0,
|
|
196
|
+
mainActive: 1
|
|
196
197
|
},
|
|
197
198
|
{
|
|
198
199
|
app: "x-passport-mf",
|
|
199
200
|
path: "/passport/loginAccount",
|
|
200
|
-
level: 1
|
|
201
|
+
level: 1,
|
|
202
|
+
mainActive: 1
|
|
201
203
|
},
|
|
202
204
|
{
|
|
203
205
|
app: "x-passport-mf",
|
|
204
206
|
path: "/passport/register",
|
|
205
|
-
level: 1
|
|
207
|
+
level: 1,
|
|
208
|
+
mainActive: 1
|
|
206
209
|
},
|
|
207
210
|
{
|
|
208
211
|
app: "x-org-mf",
|
|
@@ -318,7 +321,7 @@ function O(e, t, a) {
|
|
|
318
321
|
if (console.info(`~~~~routeChange~~~~ ${t} -> ${e}`), !l)
|
|
319
322
|
return;
|
|
320
323
|
const r = o.app === l.app, c = o.path === l.path, n = o.level >= l.level;
|
|
321
|
-
r ? c ? Z.value = "" : Z.value = n ? "inner-left" : "inner-right" : (Z.value = "",
|
|
324
|
+
r ? c ? Z.value = "" : Z.value = n ? "inner-left" : "inner-right" : (Z.value = "", Ie(o.app, n));
|
|
322
325
|
}
|
|
323
326
|
function Qe() {
|
|
324
327
|
return !!E.get("accessToken");
|
|
@@ -482,7 +485,7 @@ function J(e, t) {
|
|
|
482
485
|
u.off(e, l);
|
|
483
486
|
}), { open: o };
|
|
484
487
|
}
|
|
485
|
-
const at = /* @__PURE__ */
|
|
488
|
+
const at = /* @__PURE__ */ A({
|
|
486
489
|
__name: "index",
|
|
487
490
|
setup(e) {
|
|
488
491
|
const { t } = G(), a = p(""), o = p(""), l = p(""), r = p(""), c = p(""), n = p("");
|
|
@@ -498,14 +501,14 @@ const at = /* @__PURE__ */ I({
|
|
|
498
501
|
}), (h, i) => {
|
|
499
502
|
const x = v("v-card-text"), d = v("v-btn"), j = v("v-card-actions"), f = v("v-card"), m = v("v-dialog");
|
|
500
503
|
return q(), T(m, {
|
|
501
|
-
modelValue:
|
|
504
|
+
modelValue: I(D),
|
|
502
505
|
"onUpdate:modelValue": i[1] || (i[1] = (V) => W(D) ? D.value = V : null),
|
|
503
506
|
attach: "",
|
|
504
507
|
"max-width": "600px",
|
|
505
508
|
transition: "dialog-top-transition",
|
|
506
509
|
onKeydown: [
|
|
507
|
-
z(
|
|
508
|
-
i[2] || (i[2] = z(
|
|
510
|
+
z(M(y, ["stop", "prevent"]), ["enter"]),
|
|
511
|
+
i[2] || (i[2] = z(M((V) => D.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
509
512
|
]
|
|
510
513
|
}, {
|
|
511
514
|
default: g(() => [
|
|
@@ -550,7 +553,7 @@ const at = /* @__PURE__ */ I({
|
|
|
550
553
|
}, 8, ["modelValue", "onKeydown"]);
|
|
551
554
|
};
|
|
552
555
|
}
|
|
553
|
-
}), ot = /* @__PURE__ */
|
|
556
|
+
}), ot = /* @__PURE__ */ A({
|
|
554
557
|
__name: "index",
|
|
555
558
|
props: {
|
|
556
559
|
open: { type: Boolean, default: !0 },
|
|
@@ -593,7 +596,7 @@ const at = /* @__PURE__ */ I({
|
|
|
593
596
|
for (const [o, l] of t)
|
|
594
597
|
a[o] = l;
|
|
595
598
|
return a;
|
|
596
|
-
}, lt = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-0c686889"]]), nt = /* @__PURE__ */
|
|
599
|
+
}, lt = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-0c686889"]]), nt = /* @__PURE__ */ A({
|
|
597
600
|
__name: "item",
|
|
598
601
|
props: {
|
|
599
602
|
id: {},
|
|
@@ -652,7 +655,7 @@ const at = /* @__PURE__ */ I({
|
|
|
652
655
|
}, 8, ["color"]);
|
|
653
656
|
};
|
|
654
657
|
}
|
|
655
|
-
}), rt = /* @__PURE__ */ oe(nt, [["__scopeId", "data-v-f1f60167"]]), ut = /* @__PURE__ */
|
|
658
|
+
}), rt = /* @__PURE__ */ oe(nt, [["__scopeId", "data-v-f1f60167"]]), ut = /* @__PURE__ */ A({
|
|
656
659
|
__name: "index",
|
|
657
660
|
setup(e) {
|
|
658
661
|
const t = p([]);
|
|
@@ -677,7 +680,7 @@ const at = /* @__PURE__ */ I({
|
|
|
677
680
|
};
|
|
678
681
|
return (n, _) => (q(), P("div", {
|
|
679
682
|
class: "x-cont d-flex flex-column-reverse align-center",
|
|
680
|
-
onClick: _[0] || (_[0] =
|
|
683
|
+
onClick: _[0] || (_[0] = M(() => {
|
|
681
684
|
}, ["stop"]))
|
|
682
685
|
}, [
|
|
683
686
|
(q(!0), P(De, null, Ve(t.value, (s) => (q(), T(rt, {
|
|
@@ -690,7 +693,7 @@ const at = /* @__PURE__ */ I({
|
|
|
690
693
|
}, null, 8, ["id", "text", "timeout", "type"]))), 128))
|
|
691
694
|
]));
|
|
692
695
|
}
|
|
693
|
-
}), ct = /* @__PURE__ */ oe(ut, [["__scopeId", "data-v-3543886b"]]), st = /* @__PURE__ */
|
|
696
|
+
}), ct = /* @__PURE__ */ oe(ut, [["__scopeId", "data-v-3543886b"]]), st = /* @__PURE__ */ A({
|
|
694
697
|
__name: "index",
|
|
695
698
|
setup(e) {
|
|
696
699
|
const { t } = G(), a = p(""), o = p(0), l = p(), r = p(-1 / 0), c = p(1 / 0), n = p(1);
|
|
@@ -705,12 +708,12 @@ const at = /* @__PURE__ */ I({
|
|
|
705
708
|
}), (x, d) => {
|
|
706
709
|
const j = v("v-number-input"), f = v("v-btn"), m = v("v-card-actions"), V = v("v-form"), Q = v("v-card"), Y = v("v-dialog");
|
|
707
710
|
return q(), T(Y, {
|
|
708
|
-
modelValue:
|
|
711
|
+
modelValue: I(y),
|
|
709
712
|
"onUpdate:modelValue": d[3] || (d[3] = (R) => W(y) ? y.value = R : null),
|
|
710
713
|
attach: "",
|
|
711
714
|
"max-width": "600px",
|
|
712
715
|
transition: "dialog-top-transition",
|
|
713
|
-
onKeydown: d[4] || (d[4] = z(
|
|
716
|
+
onKeydown: d[4] || (d[4] = z(M((R) => y.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
714
717
|
}, {
|
|
715
718
|
default: g(() => [
|
|
716
719
|
b(Q, { title: a.value }, {
|
|
@@ -719,7 +722,7 @@ const at = /* @__PURE__ */ I({
|
|
|
719
722
|
modelValue: h.value,
|
|
720
723
|
"onUpdate:modelValue": d[2] || (d[2] = (R) => h.value = R),
|
|
721
724
|
class: "mx-3",
|
|
722
|
-
onSubmit:
|
|
725
|
+
onSubmit: M(i, ["prevent"])
|
|
723
726
|
}, {
|
|
724
727
|
default: g(() => [
|
|
725
728
|
b(j, {
|
|
@@ -741,7 +744,7 @@ const at = /* @__PURE__ */ I({
|
|
|
741
744
|
onClick: d[1] || (d[1] = (R) => y.value = !1)
|
|
742
745
|
}, {
|
|
743
746
|
default: g(() => [
|
|
744
|
-
L(S(
|
|
747
|
+
L(S(I(t)("dlg.common.cancel")), 1)
|
|
745
748
|
]),
|
|
746
749
|
_: 1
|
|
747
750
|
}),
|
|
@@ -752,7 +755,7 @@ const at = /* @__PURE__ */ I({
|
|
|
752
755
|
variant: "text"
|
|
753
756
|
}, {
|
|
754
757
|
default: g(() => [
|
|
755
|
-
L(S(
|
|
758
|
+
L(S(I(t)("dlg.common.confirm")), 1)
|
|
756
759
|
]),
|
|
757
760
|
_: 1
|
|
758
761
|
}, 8, ["disabled"])
|
|
@@ -770,7 +773,7 @@ const at = /* @__PURE__ */ I({
|
|
|
770
773
|
}, 8, ["modelValue"]);
|
|
771
774
|
};
|
|
772
775
|
}
|
|
773
|
-
}), pt = /* @__PURE__ */
|
|
776
|
+
}), pt = /* @__PURE__ */ A({
|
|
774
777
|
__name: "index",
|
|
775
778
|
setup(e) {
|
|
776
779
|
const { t } = G(), a = p(""), o = p(""), l = p(""), r = p(""), c = p(), n = p(""), _ = p(""), s = p(""), w = p(""), D = p("");
|
|
@@ -785,12 +788,12 @@ const at = /* @__PURE__ */ I({
|
|
|
785
788
|
}), (m, V) => {
|
|
786
789
|
const Q = v("v-card-text"), Y = v("v-text-field"), R = v("v-btn"), be = v("v-card-actions"), ye = v("v-form"), we = v("v-card"), he = v("v-dialog");
|
|
787
790
|
return q(), T(he, {
|
|
788
|
-
modelValue:
|
|
789
|
-
"onUpdate:modelValue": V[3] || (V[3] = (
|
|
791
|
+
modelValue: I(d),
|
|
792
|
+
"onUpdate:modelValue": V[3] || (V[3] = (B) => W(d) ? d.value = B : null),
|
|
790
793
|
attach: "",
|
|
791
794
|
"max-width": "600px",
|
|
792
795
|
transition: "dialog-top-transition",
|
|
793
|
-
onKeydown: V[4] || (V[4] = z(
|
|
796
|
+
onKeydown: V[4] || (V[4] = z(M((B) => d.value = !1, ["stop", "prevent"]), ["esc"]))
|
|
794
797
|
}, {
|
|
795
798
|
default: g(() => [
|
|
796
799
|
b(we, { title: a.value }, {
|
|
@@ -803,16 +806,16 @@ const at = /* @__PURE__ */ I({
|
|
|
803
806
|
})) : ee("", !0),
|
|
804
807
|
b(ye, {
|
|
805
808
|
modelValue: j.value,
|
|
806
|
-
"onUpdate:modelValue": V[2] || (V[2] = (
|
|
809
|
+
"onUpdate:modelValue": V[2] || (V[2] = (B) => j.value = B),
|
|
807
810
|
class: "mx-3",
|
|
808
|
-
onSubmit:
|
|
811
|
+
onSubmit: M(f, ["prevent"])
|
|
809
812
|
}, {
|
|
810
813
|
default: g(() => [
|
|
811
814
|
b(Y, {
|
|
812
815
|
ref_key: "target",
|
|
813
816
|
ref: i,
|
|
814
817
|
modelValue: n.value,
|
|
815
|
-
"onUpdate:modelValue": V[0] || (V[0] = (
|
|
818
|
+
"onUpdate:modelValue": V[0] || (V[0] = (B) => n.value = B),
|
|
816
819
|
label: l.value,
|
|
817
820
|
placeholder: r.value,
|
|
818
821
|
rules: c.value
|
|
@@ -822,7 +825,7 @@ const at = /* @__PURE__ */ I({
|
|
|
822
825
|
b(R, {
|
|
823
826
|
color: _.value,
|
|
824
827
|
variant: "text",
|
|
825
|
-
onClick: V[1] || (V[1] = (
|
|
828
|
+
onClick: V[1] || (V[1] = (B) => d.value = !1)
|
|
826
829
|
}, {
|
|
827
830
|
default: g(() => [
|
|
828
831
|
L(S(s.value), 1)
|
|
@@ -854,12 +857,12 @@ const at = /* @__PURE__ */ I({
|
|
|
854
857
|
}, 8, ["modelValue"]);
|
|
855
858
|
};
|
|
856
859
|
}
|
|
857
|
-
}), _t = { class: "ma-auto" }, dt = { class: "w-100 h-100 d-flex align-center justify-center" }, it = { class: "text-body-1" }, ft = /* @__PURE__ */
|
|
860
|
+
}), _t = { class: "ma-auto" }, dt = { class: "w-100 h-100 d-flex align-center justify-center" }, it = { class: "text-body-1" }, ft = /* @__PURE__ */ A({
|
|
858
861
|
__name: "index",
|
|
859
862
|
setup(e) {
|
|
860
863
|
const { t } = G(), a = p(""), o = (c) => {
|
|
861
864
|
const n = c;
|
|
862
|
-
a.value = n.text ?? t("dlg.common.
|
|
865
|
+
a.value = n.text ?? t("dlg.common.responding"), r.value = !0;
|
|
863
866
|
}, l = () => {
|
|
864
867
|
r.value = !1;
|
|
865
868
|
}, { open: r } = J("waitDlg", o);
|
|
@@ -870,7 +873,7 @@ const at = /* @__PURE__ */ I({
|
|
|
870
873
|
}), (c, n) => {
|
|
871
874
|
const _ = v("v-card"), s = v("v-dialog");
|
|
872
875
|
return q(), T(s, {
|
|
873
|
-
modelValue:
|
|
876
|
+
modelValue: I(r),
|
|
874
877
|
"onUpdate:modelValue": n[0] || (n[0] = (w) => W(r) ? r.value = w : null),
|
|
875
878
|
attach: "",
|
|
876
879
|
fullscreen: "",
|
|
@@ -906,13 +909,13 @@ const at = /* @__PURE__ */ I({
|
|
|
906
909
|
});
|
|
907
910
|
};
|
|
908
911
|
async function zt(e) {
|
|
909
|
-
return (await vt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.
|
|
912
|
+
return (await vt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./i18n-en.is028vmn.js"), "./locales/zhHans/index.ts": () => import("./i18n-zhHans.bda4v4ye.js") }), `./locales/${e}/index.ts`, 4)).default;
|
|
910
913
|
}
|
|
911
914
|
const Ht = { install: gt };
|
|
912
915
|
export {
|
|
913
916
|
Ue as Permission,
|
|
914
917
|
Pe as addView,
|
|
915
|
-
|
|
918
|
+
Ie as appAppear,
|
|
916
919
|
Kt as clearViews,
|
|
917
920
|
St as closeWaitDlg,
|
|
918
921
|
kt as createAxios,
|
|
@@ -921,10 +924,10 @@ export {
|
|
|
921
924
|
u as eventBus,
|
|
922
925
|
Dt as globalObjects,
|
|
923
926
|
me as hasView,
|
|
924
|
-
|
|
927
|
+
Mt as injectDark,
|
|
925
928
|
Et as injectLastAppPath,
|
|
926
|
-
|
|
927
|
-
|
|
929
|
+
At as injectLocale,
|
|
930
|
+
It as injectPermissionChecksum,
|
|
928
931
|
Xe as injectPermissionObjects,
|
|
929
932
|
Ge as injectViews,
|
|
930
933
|
Ze as isEmpty,
|
|
@@ -935,7 +938,7 @@ export {
|
|
|
935
938
|
Ot as messageError,
|
|
936
939
|
Tt as messageInfo,
|
|
937
940
|
Lt as messageSuccess,
|
|
938
|
-
|
|
941
|
+
Bt as messageWarning,
|
|
939
942
|
Ut as onBeforeEach,
|
|
940
943
|
Ct as openConfirmDlg,
|
|
941
944
|
qt as openNumberDlg,
|
package/dist/utils/router.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ interface RouteMeta {
|
|
|
4
4
|
path: string;
|
|
5
5
|
level: number;
|
|
6
6
|
requiredState?: 'auth' | 'org';
|
|
7
|
-
mainActive?: 2 | 3 | 4;
|
|
7
|
+
mainActive?: 1 | 2 | 3 | 4;
|
|
8
8
|
}
|
|
9
9
|
export declare function matchRouteMeta(path: string): RouteMeta | undefined;
|
|
10
10
|
export declare const routeTransName: import("vue").Ref<string, string>;
|
package/package.json
CHANGED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
badge: string;
|
|
3
|
-
open: string;
|
|
4
|
-
close: string;
|
|
5
|
-
dismiss: string;
|
|
6
|
-
confirmEdit: {
|
|
7
|
-
ok: string;
|
|
8
|
-
cancel: string;
|
|
9
|
-
};
|
|
10
|
-
dataIterator: {
|
|
11
|
-
noResultsText: string;
|
|
12
|
-
loadingText: string;
|
|
13
|
-
};
|
|
14
|
-
dataTable: {
|
|
15
|
-
itemsPerPageText: string;
|
|
16
|
-
ariaLabel: {
|
|
17
|
-
sortDescending: string;
|
|
18
|
-
sortAscending: string;
|
|
19
|
-
sortNone: string;
|
|
20
|
-
activateNone: string;
|
|
21
|
-
activateDescending: string;
|
|
22
|
-
activateAscending: string;
|
|
23
|
-
};
|
|
24
|
-
sortBy: string;
|
|
25
|
-
};
|
|
26
|
-
dataFooter: {
|
|
27
|
-
itemsPerPageText: string;
|
|
28
|
-
itemsPerPageAll: string;
|
|
29
|
-
nextPage: string;
|
|
30
|
-
prevPage: string;
|
|
31
|
-
firstPage: string;
|
|
32
|
-
lastPage: string;
|
|
33
|
-
pageText: string;
|
|
34
|
-
};
|
|
35
|
-
dateRangeInput: {
|
|
36
|
-
divider: string;
|
|
37
|
-
};
|
|
38
|
-
datePicker: {
|
|
39
|
-
itemsSelected: string;
|
|
40
|
-
range: {
|
|
41
|
-
title: string;
|
|
42
|
-
header: string;
|
|
43
|
-
};
|
|
44
|
-
title: string;
|
|
45
|
-
header: string;
|
|
46
|
-
input: {
|
|
47
|
-
placeholder: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
noDataText: string;
|
|
51
|
-
carousel: {
|
|
52
|
-
prev: string;
|
|
53
|
-
next: string;
|
|
54
|
-
ariaLabel: {
|
|
55
|
-
delimiter: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
calendar: {
|
|
59
|
-
moreEvents: string;
|
|
60
|
-
today: string;
|
|
61
|
-
};
|
|
62
|
-
input: {
|
|
63
|
-
clear: string;
|
|
64
|
-
prependAction: string;
|
|
65
|
-
appendAction: string;
|
|
66
|
-
otp: string;
|
|
67
|
-
};
|
|
68
|
-
fileInput: {
|
|
69
|
-
counter: string;
|
|
70
|
-
counterSize: string;
|
|
71
|
-
};
|
|
72
|
-
timePicker: {
|
|
73
|
-
am: string;
|
|
74
|
-
pm: string;
|
|
75
|
-
title: string;
|
|
76
|
-
};
|
|
77
|
-
pagination: {
|
|
78
|
-
ariaLabel: {
|
|
79
|
-
root: string;
|
|
80
|
-
next: string;
|
|
81
|
-
previous: string;
|
|
82
|
-
page: string;
|
|
83
|
-
currentPage: string;
|
|
84
|
-
first: string;
|
|
85
|
-
last: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
stepper: {
|
|
89
|
-
next: string;
|
|
90
|
-
prev: string;
|
|
91
|
-
};
|
|
92
|
-
rating: {
|
|
93
|
-
ariaLabel: {
|
|
94
|
-
item: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
loading: string;
|
|
98
|
-
infiniteScroll: {
|
|
99
|
-
loadMore: string;
|
|
100
|
-
empty: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export default _default;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
$vuetify: {
|
|
3
|
-
badge: string;
|
|
4
|
-
open: string;
|
|
5
|
-
close: string;
|
|
6
|
-
dismiss: string;
|
|
7
|
-
confirmEdit: {
|
|
8
|
-
ok: string;
|
|
9
|
-
cancel: string;
|
|
10
|
-
};
|
|
11
|
-
dataIterator: {
|
|
12
|
-
noResultsText: string;
|
|
13
|
-
loadingText: string;
|
|
14
|
-
};
|
|
15
|
-
dataTable: {
|
|
16
|
-
itemsPerPageText: string;
|
|
17
|
-
ariaLabel: {
|
|
18
|
-
sortDescending: string;
|
|
19
|
-
sortAscending: string;
|
|
20
|
-
sortNone: string;
|
|
21
|
-
activateNone: string;
|
|
22
|
-
activateDescending: string;
|
|
23
|
-
activateAscending: string;
|
|
24
|
-
};
|
|
25
|
-
sortBy: string;
|
|
26
|
-
};
|
|
27
|
-
dataFooter: {
|
|
28
|
-
itemsPerPageText: string;
|
|
29
|
-
itemsPerPageAll: string;
|
|
30
|
-
nextPage: string;
|
|
31
|
-
prevPage: string;
|
|
32
|
-
firstPage: string;
|
|
33
|
-
lastPage: string;
|
|
34
|
-
pageText: string;
|
|
35
|
-
};
|
|
36
|
-
dateRangeInput: {
|
|
37
|
-
divider: string;
|
|
38
|
-
};
|
|
39
|
-
datePicker: {
|
|
40
|
-
itemsSelected: string;
|
|
41
|
-
range: {
|
|
42
|
-
title: string;
|
|
43
|
-
header: string;
|
|
44
|
-
};
|
|
45
|
-
title: string;
|
|
46
|
-
header: string;
|
|
47
|
-
input: {
|
|
48
|
-
placeholder: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
noDataText: string;
|
|
52
|
-
carousel: {
|
|
53
|
-
prev: string;
|
|
54
|
-
next: string;
|
|
55
|
-
ariaLabel: {
|
|
56
|
-
delimiter: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
calendar: {
|
|
60
|
-
moreEvents: string;
|
|
61
|
-
today: string;
|
|
62
|
-
};
|
|
63
|
-
input: {
|
|
64
|
-
clear: string;
|
|
65
|
-
prependAction: string;
|
|
66
|
-
appendAction: string;
|
|
67
|
-
otp: string;
|
|
68
|
-
};
|
|
69
|
-
fileInput: {
|
|
70
|
-
counter: string;
|
|
71
|
-
counterSize: string;
|
|
72
|
-
};
|
|
73
|
-
timePicker: {
|
|
74
|
-
am: string;
|
|
75
|
-
pm: string;
|
|
76
|
-
title: string;
|
|
77
|
-
};
|
|
78
|
-
pagination: {
|
|
79
|
-
ariaLabel: {
|
|
80
|
-
root: string;
|
|
81
|
-
next: string;
|
|
82
|
-
previous: string;
|
|
83
|
-
page: string;
|
|
84
|
-
currentPage: string;
|
|
85
|
-
first: string;
|
|
86
|
-
last: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
stepper: {
|
|
90
|
-
next: string;
|
|
91
|
-
prev: string;
|
|
92
|
-
};
|
|
93
|
-
rating: {
|
|
94
|
-
ariaLabel: {
|
|
95
|
-
item: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
loading: string;
|
|
99
|
-
infiniteScroll: {
|
|
100
|
-
loadMore: string;
|
|
101
|
-
empty: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
dlg: {
|
|
105
|
-
common: {
|
|
106
|
-
cancel: string;
|
|
107
|
-
confirm: string;
|
|
108
|
-
waiting: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export default _default;
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
badge: string;
|
|
3
|
-
open: string;
|
|
4
|
-
close: string;
|
|
5
|
-
dismiss: string;
|
|
6
|
-
confirmEdit: {
|
|
7
|
-
ok: string;
|
|
8
|
-
cancel: string;
|
|
9
|
-
};
|
|
10
|
-
dataIterator: {
|
|
11
|
-
noResultsText: string;
|
|
12
|
-
loadingText: string;
|
|
13
|
-
};
|
|
14
|
-
dataTable: {
|
|
15
|
-
itemsPerPageText: string;
|
|
16
|
-
ariaLabel: {
|
|
17
|
-
sortDescending: string;
|
|
18
|
-
sortAscending: string;
|
|
19
|
-
sortNone: string;
|
|
20
|
-
activateNone: string;
|
|
21
|
-
activateDescending: string;
|
|
22
|
-
activateAscending: string;
|
|
23
|
-
};
|
|
24
|
-
sortBy: string;
|
|
25
|
-
};
|
|
26
|
-
dataFooter: {
|
|
27
|
-
itemsPerPageText: string;
|
|
28
|
-
itemsPerPageAll: string;
|
|
29
|
-
nextPage: string;
|
|
30
|
-
prevPage: string;
|
|
31
|
-
firstPage: string;
|
|
32
|
-
lastPage: string;
|
|
33
|
-
pageText: string;
|
|
34
|
-
};
|
|
35
|
-
dateRangeInput: {
|
|
36
|
-
divider: string;
|
|
37
|
-
};
|
|
38
|
-
datePicker: {
|
|
39
|
-
itemsSelected: string;
|
|
40
|
-
range: {
|
|
41
|
-
title: string;
|
|
42
|
-
header: string;
|
|
43
|
-
};
|
|
44
|
-
title: string;
|
|
45
|
-
header: string;
|
|
46
|
-
input: {
|
|
47
|
-
placeholder: string;
|
|
48
|
-
};
|
|
49
|
-
};
|
|
50
|
-
noDataText: string;
|
|
51
|
-
carousel: {
|
|
52
|
-
prev: string;
|
|
53
|
-
next: string;
|
|
54
|
-
ariaLabel: {
|
|
55
|
-
delimiter: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
calendar: {
|
|
59
|
-
moreEvents: string;
|
|
60
|
-
today: string;
|
|
61
|
-
};
|
|
62
|
-
input: {
|
|
63
|
-
clear: string;
|
|
64
|
-
prependAction: string;
|
|
65
|
-
appendAction: string;
|
|
66
|
-
otp: string;
|
|
67
|
-
};
|
|
68
|
-
fileInput: {
|
|
69
|
-
counter: string;
|
|
70
|
-
counterSize: string;
|
|
71
|
-
};
|
|
72
|
-
timePicker: {
|
|
73
|
-
am: string;
|
|
74
|
-
pm: string;
|
|
75
|
-
title: string;
|
|
76
|
-
};
|
|
77
|
-
pagination: {
|
|
78
|
-
ariaLabel: {
|
|
79
|
-
root: string;
|
|
80
|
-
next: string;
|
|
81
|
-
previous: string;
|
|
82
|
-
page: string;
|
|
83
|
-
currentPage: string;
|
|
84
|
-
first: string;
|
|
85
|
-
last: string;
|
|
86
|
-
};
|
|
87
|
-
};
|
|
88
|
-
stepper: {
|
|
89
|
-
next: string;
|
|
90
|
-
prev: string;
|
|
91
|
-
};
|
|
92
|
-
rating: {
|
|
93
|
-
ariaLabel: {
|
|
94
|
-
item: string;
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
loading: string;
|
|
98
|
-
infiniteScroll: {
|
|
99
|
-
loadMore: string;
|
|
100
|
-
empty: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export default _default;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
$vuetify: {
|
|
3
|
-
badge: string;
|
|
4
|
-
open: string;
|
|
5
|
-
close: string;
|
|
6
|
-
dismiss: string;
|
|
7
|
-
confirmEdit: {
|
|
8
|
-
ok: string;
|
|
9
|
-
cancel: string;
|
|
10
|
-
};
|
|
11
|
-
dataIterator: {
|
|
12
|
-
noResultsText: string;
|
|
13
|
-
loadingText: string;
|
|
14
|
-
};
|
|
15
|
-
dataTable: {
|
|
16
|
-
itemsPerPageText: string;
|
|
17
|
-
ariaLabel: {
|
|
18
|
-
sortDescending: string;
|
|
19
|
-
sortAscending: string;
|
|
20
|
-
sortNone: string;
|
|
21
|
-
activateNone: string;
|
|
22
|
-
activateDescending: string;
|
|
23
|
-
activateAscending: string;
|
|
24
|
-
};
|
|
25
|
-
sortBy: string;
|
|
26
|
-
};
|
|
27
|
-
dataFooter: {
|
|
28
|
-
itemsPerPageText: string;
|
|
29
|
-
itemsPerPageAll: string;
|
|
30
|
-
nextPage: string;
|
|
31
|
-
prevPage: string;
|
|
32
|
-
firstPage: string;
|
|
33
|
-
lastPage: string;
|
|
34
|
-
pageText: string;
|
|
35
|
-
};
|
|
36
|
-
dateRangeInput: {
|
|
37
|
-
divider: string;
|
|
38
|
-
};
|
|
39
|
-
datePicker: {
|
|
40
|
-
itemsSelected: string;
|
|
41
|
-
range: {
|
|
42
|
-
title: string;
|
|
43
|
-
header: string;
|
|
44
|
-
};
|
|
45
|
-
title: string;
|
|
46
|
-
header: string;
|
|
47
|
-
input: {
|
|
48
|
-
placeholder: string;
|
|
49
|
-
};
|
|
50
|
-
};
|
|
51
|
-
noDataText: string;
|
|
52
|
-
carousel: {
|
|
53
|
-
prev: string;
|
|
54
|
-
next: string;
|
|
55
|
-
ariaLabel: {
|
|
56
|
-
delimiter: string;
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
calendar: {
|
|
60
|
-
moreEvents: string;
|
|
61
|
-
today: string;
|
|
62
|
-
};
|
|
63
|
-
input: {
|
|
64
|
-
clear: string;
|
|
65
|
-
prependAction: string;
|
|
66
|
-
appendAction: string;
|
|
67
|
-
otp: string;
|
|
68
|
-
};
|
|
69
|
-
fileInput: {
|
|
70
|
-
counter: string;
|
|
71
|
-
counterSize: string;
|
|
72
|
-
};
|
|
73
|
-
timePicker: {
|
|
74
|
-
am: string;
|
|
75
|
-
pm: string;
|
|
76
|
-
title: string;
|
|
77
|
-
};
|
|
78
|
-
pagination: {
|
|
79
|
-
ariaLabel: {
|
|
80
|
-
root: string;
|
|
81
|
-
next: string;
|
|
82
|
-
previous: string;
|
|
83
|
-
page: string;
|
|
84
|
-
currentPage: string;
|
|
85
|
-
first: string;
|
|
86
|
-
last: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
stepper: {
|
|
90
|
-
next: string;
|
|
91
|
-
prev: string;
|
|
92
|
-
};
|
|
93
|
-
rating: {
|
|
94
|
-
ariaLabel: {
|
|
95
|
-
item: string;
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
loading: string;
|
|
99
|
-
infiniteScroll: {
|
|
100
|
-
loadMore: string;
|
|
101
|
-
empty: string;
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
dlg: {
|
|
105
|
-
common: {
|
|
106
|
-
cancel: string;
|
|
107
|
-
confirm: string;
|
|
108
|
-
waiting: string;
|
|
109
|
-
};
|
|
110
|
-
};
|
|
111
|
-
};
|
|
112
|
-
export default _default;
|