x-essential-lib 0.6.7 → 0.7.1

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.
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,28 +1,7 @@
1
1
  interface Props {
2
2
  zIndex?: number;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
4
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
5
5
  zIndex: number;
6
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
- zIndex: number;
8
- }>>>, {
9
- zIndex: number;
10
- }, {}>;
6
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
7
  export default _default;
12
- type __VLS_WithDefaults<P, D> = {
13
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
14
- default: D[K];
15
- }> : P[K];
16
- };
17
- type __VLS_Prettify<T> = {
18
- [K in keyof T]: T[K];
19
- } & {};
20
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
21
- type __VLS_TypePropsToOption<T> = {
22
- [K in keyof T]-?: {} extends Pick<T, K> ? {
23
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
24
- } : {
25
- type: import('vue').PropType<T[K]>;
26
- required: true;
27
- };
28
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -5,32 +5,11 @@ interface Props {
5
5
  text: string;
6
6
  timeout: number;
7
7
  }
8
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
- timeout: number;
10
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
9
  timeout: (...args: any[]) => void;
12
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
13
- timeout: number;
14
- }>>> & {
10
+ }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
15
11
  onTimeout?: ((...args: any[]) => any) | undefined;
16
- }, {
12
+ }>, {
17
13
  timeout: number;
18
- }, {}>;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
15
  export default _default;
20
- type __VLS_WithDefaults<P, D> = {
21
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
22
- default: D[K];
23
- }> : P[K];
24
- };
25
- type __VLS_Prettify<T> = {
26
- [K in keyof T]: T[K];
27
- } & {};
28
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
29
- type __VLS_TypePropsToOption<T> = {
30
- [K in keyof T]-?: {} extends Pick<T, K> ? {
31
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
32
- } : {
33
- type: import('vue').PropType<T[K]>;
34
- required: true;
35
- };
36
- };
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  export declare function useViewStack(name: string, hook?: (params: any) => void): {
2
- open: import("vue").WritableComputedRef<boolean>;
2
+ open: import("vue").WritableComputedRef<boolean, boolean>;
3
3
  };
package/dist/index.js CHANGED
@@ -1,10 +1,10 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.x-cont[data-v-7ab74c70]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-7ab74c70]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-7ab74c70]{transform-origin:20px 20px;animation:lds-spinner-7ab74c70 1.2s linear infinite}.lds-spinner div[data-v-7ab74c70]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-7ab74c70]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-7ab74c70]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-7ab74c70]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-7ab74c70]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-7ab74c70]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-7ab74c70]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-7ab74c70]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-7ab74c70]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-7ab74c70]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-7ab74c70]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-7ab74c70]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-7ab74c70]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-7ab74c70{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-d525e6f5]{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 { ref as d, defineComponent as T, computed as g, onMounted as V, onBeforeUnmount as I, watch as Z, resolveComponent as h, openBlock as D, createBlock as O, withKeys as F, withModifiers as W, withCtx as w, createVNode as C, createTextVNode as E, toDisplayString as q, createElementBlock as Q, normalizeStyle as re, pushScopeId as fe, popScopeId as ge, createElementVNode as v, createCommentVNode as ne, unref as le, Fragment as ve, renderList as me, getCurrentScope as he, onScopeDispose as we, watchEffect as ye, getCurrentInstance as xe } from "vue";
2
+ import { ref as d, defineComponent as T, computed as g, onMounted as V, onBeforeUnmount as I, watch as Z, resolveComponent as h, openBlock as D, createBlock as O, withKeys as F, withModifiers as W, withCtx as w, createVNode as C, createTextVNode as E, toDisplayString as q, createElementBlock as Q, normalizeStyle as re, createElementVNode as v, createCommentVNode as ne, unref as le, Fragment as fe, renderList as ge, getCurrentScope as ve, onScopeDispose as me, watchEffect as he, getCurrentInstance as we } from "vue";
3
3
  import { useI18n as Y } from "vue-i18n";
4
4
  import { defineStore as ce } from "pinia";
5
- import ke from "axios";
6
- import { useRouter as ue, useRoute as Ce } from "vue-router";
7
- import { useTheme as P, useDisplay as be } from "vuetify";
5
+ import ye from "axios";
6
+ import { useRouter as ue, useRoute as xe } from "vue-router";
7
+ import { useTheme as P, useDisplay as ke } from "vuetify";
8
8
  const G = ce("global", () => {
9
9
  const e = d(), o = d("en"), t = d({}), r = d(""), a = d("");
10
10
  return {
@@ -14,7 +14,7 @@ const G = ce("global", () => {
14
14
  permissionChecksum: r,
15
15
  lastAppPath: a
16
16
  };
17
- }), $ = ce("viewMgr", () => {
17
+ }), H = ce("viewMgr", () => {
18
18
  const e = d([]);
19
19
  function o() {
20
20
  return e.value.length <= 0;
@@ -61,7 +61,7 @@ function X(e) {
61
61
  }
62
62
  return e;
63
63
  }
64
- var De = {
64
+ var Ce = {
65
65
  read: function(e) {
66
66
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
67
67
  },
@@ -122,47 +122,47 @@ function J(e, o) {
122
122
  }
123
123
  );
124
124
  }
125
- var j = J(De, { path: "/" });
126
- function xt(e) {
127
- const o = ke.create({
125
+ var j = J(Ce, { path: "/" });
126
+ function vt(e) {
127
+ const o = ye.create({
128
128
  timeout: 6e3
129
129
  });
130
130
  return o.defaults.baseURL = e.baseUrl, o.interceptors.request.use(
131
- (t) => Le(t),
131
+ (t) => be(t),
132
132
  (t) => {
133
- Ve(t, e.onError);
133
+ De(t, e.onError);
134
134
  }
135
135
  ), o.interceptors.response.use(
136
- (t) => Me(t),
137
- (t) => Se(t, e.onError)
136
+ (t) => Le(t),
137
+ (t) => Ve(t, e.onError)
138
138
  ), o;
139
139
  }
140
- function Le(e) {
140
+ function be(e) {
141
141
  const o = j.get("accessToken") ?? "";
142
142
  return e.headers.Authorization = "Basic " + o, e.headers["Content-Type"] = "application/json", e.data = JSON.stringify(e.data), e;
143
143
  }
144
- function Ve(e, o) {
144
+ function De(e, o) {
145
145
  console.error(e), o("request timeout");
146
146
  }
147
- function Me(e) {
147
+ function Le(e) {
148
148
  return e.data;
149
149
  }
150
- function Se(e, o) {
150
+ function Ve(e, o) {
151
151
  var a;
152
152
  const t = e.response;
153
153
  if (!t)
154
154
  return Promise.reject(e);
155
- t.status === 401 && Ae();
155
+ t.status === 401 && Me();
156
156
  let r = (a = t.data) == null ? void 0 : a.message;
157
157
  return r || (r = {
158
158
  code: t.status,
159
159
  message: t.statusText
160
160
  }), o(r), Promise.reject(e);
161
161
  }
162
- function Ae() {
162
+ function Me() {
163
163
  j.remove("accessToken"), j.remove("refreshToken"), j.remove("activeOrg"), ue().replace({ path: "/passport/login" });
164
164
  }
165
- function qe(e) {
165
+ function Se(e) {
166
166
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(o, t) {
167
167
  var r = e.get(o);
168
168
  r ? r.push(t) : e.set(o, [t]);
@@ -179,9 +179,9 @@ function qe(e) {
179
179
  } };
180
180
  }
181
181
  const p = function() {
182
- return window.eventBus || (window.eventBus = qe()), window.eventBus;
182
+ return window.eventBus || (window.eventBus = Se()), window.eventBus;
183
183
  }();
184
- async function kt(e) {
184
+ async function mt(e) {
185
185
  return new Promise((o) => {
186
186
  setTimeout(o, e);
187
187
  });
@@ -195,7 +195,7 @@ async function ee(e, o, t) {
195
195
  l();
196
196
  });
197
197
  }
198
- function Re(e, o) {
198
+ function Ae(e, o) {
199
199
  const t = document.getElementById("single-spa-application:" + e);
200
200
  t && (t.classList.remove("app-left", "app-right", "app-reset"), o ? t.classList.add("app-left") : t.classList.add("app-right"), setTimeout(() => {
201
201
  t.classList.add("app-reset");
@@ -206,11 +206,11 @@ function pe() {
206
206
  const e = Date.now();
207
207
  return e - oe > 500 ? (oe = e, !0) : !1;
208
208
  }
209
- let Ie = 0;
209
+ let qe = 0;
210
210
  function se() {
211
- return ++Ie;
211
+ return ++qe;
212
212
  }
213
- async function Ct(e) {
213
+ async function ht(e) {
214
214
  if (!pe())
215
215
  return;
216
216
  let o = !1, t;
@@ -219,7 +219,7 @@ async function Ct(e) {
219
219
  }, a = se();
220
220
  return p.on("confirmDlgResult" + a, r), p.emit("confirmDlg", { ...e, seq: a }), await ee(() => o), p.off("confirmDlgResult" + a, r), t;
221
221
  }
222
- async function bt(e) {
222
+ async function wt(e) {
223
223
  if (!pe())
224
224
  return;
225
225
  let o = !1, t;
@@ -228,25 +228,25 @@ async function bt(e) {
228
228
  }, a = se();
229
229
  return p.on("promptDlgResult" + a, r), p.emit("promptDlg", { ...e, seq: a }), await ee(() => o), p.off("promptDlgResult" + a, r), t;
230
230
  }
231
- function Dt(e) {
231
+ function yt(e) {
232
232
  p.emit("openWaitDlg", { text: e });
233
233
  }
234
- function Lt() {
234
+ function xt() {
235
235
  p.emit("closeWaitDlg");
236
236
  }
237
- function Vt(e, o) {
237
+ function kt(e, o) {
238
238
  p.emit("message", { type: "error", text: e, timeout: o });
239
239
  }
240
- function Mt(e, o) {
240
+ function Ct(e, o) {
241
241
  p.emit("message", { type: "info", text: e, timeout: o });
242
242
  }
243
- function St(e, o) {
243
+ function bt(e, o) {
244
244
  p.emit("message", { type: "success", text: e, timeout: o });
245
245
  }
246
- function At(e, o) {
246
+ function Dt(e, o) {
247
247
  p.emit("message", { type: "warning", text: e, timeout: o });
248
248
  }
249
- var Oe = /* @__PURE__ */ ((e) => (e.list_app_group = "list_app_group", e.create_app_group = "create_app_group", e.delete_app_group = "delete_app_group", e.update_app_group = "update_app_group", e.arrange_app_group = "arrange_app_group", e.list_app = "list_app", e.get_app = "get_app", e.create_app = "create_app", e.delete_app = "delete_app", e.update_app = "update_app", e.list_app_release = "list_app_release", e.get_app_release = "get_app_release", e.create_app_release = "create_app_release", e.delete_app_release = "delete_app_release", e.deploy_app_release = "deploy_app_release", e.open_app_layer = "open_app_layer", e.open_app = "open_app", e.list_compute_space = "list_compute_space", e.get_compute_space = "get_compute_space", e.create_compute_space = "create_compute_space", e.delete_compute_space = "delete_compute_space", e.update_compute_space = "update_compute_space", e.arrange_compute_space = "arrange_compute_space", e.list_func_group = "list_func_group", e.create_func_group = "create_func_group", e.delete_func_group = "delete_func_group", e.update_func_group = "update_func_group", e.arrange_func_group = "arrange_func_group", e.list_func = "list_func", e.get_func = "get_func", e.create_func = "create_func", e.delete_func = "delete_func", e.update_func = "update_func", e.debug_func = "debug_func", e.call_func = "call_func", e.list_func_release = "list_func_release", e.get_func_release = "get_func_release", e.create_func_release = "create_func_release", e.delete_func_release = "delete_func_release", e.deploy_func_release = "deploy_func_release", e.list_flow_group = "list_flow_group", e.create_flow_group = "create_flow_group", e.delete_flow_group = "delete_flow_group", e.update_flow_group = "update_flow_group", e.arrange_flow_group = "arrange_flow_group", e.list_flow = "list_flow", e.get_flow = "get_flow", e.create_flow = "create_flow", e.delete_flow = "delete_flow", e.update_flow = "update_flow", e.call_flow = "call_flow", e.list_flow_release = "list_flow_release", e.get_flow_release = "get_flow_release", e.create_flow_release = "create_flow_release", e.delete_flow_release = "delete_flow_release", e.deploy_flow_release = "deploy_flow_release", e.list_task = "list_task", e.get_task = "get_task", e.create_task = "create_task", e.delete_task = "delete_task", e.update_task = "update_task", e.call_task = "call_task", e.open_compute_layer = "open_compute_layer", e.list_data_space = "list_data_space", e.get_data_space = "get_data_space", e.create_data_space = "create_data_space", e.delete_data_space = "delete_data_space", e.update_data_space = "update_data_space", e.arrange_data_space = "arrange_data_space", e.list_model_group = "list_model_group", e.create_model_group = "create_model_group", e.delete_model_group = "delete_model_group", e.update_model_group = "update_model_group", e.arrange_model_group = "arrange_model_group", e.list_model = "list_model", e.get_model = "get_model", e.create_model = "create_model", e.delete_model = "delete_model", e.update_model = "update_model", e.get_model_data = "get_model_data", e.create_model_data = "create_model_data", e.delete_model_data = "delete_model_data", e.update_model_data = "update_model_data", e.get_graph = "get_graph", e.update_graph = "update_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_model = "filter_model", e))(Oe || {});
249
+ var Re = /* @__PURE__ */ ((e) => (e.list_app_group = "list_app_group", e.create_app_group = "create_app_group", e.delete_app_group = "delete_app_group", e.update_app_group = "update_app_group", e.arrange_app_group = "arrange_app_group", e.list_app = "list_app", e.get_app = "get_app", e.create_app = "create_app", e.delete_app = "delete_app", e.update_app = "update_app", e.list_app_release = "list_app_release", e.get_app_release = "get_app_release", e.create_app_release = "create_app_release", e.delete_app_release = "delete_app_release", e.deploy_app_release = "deploy_app_release", e.open_app_layer = "open_app_layer", e.open_app = "open_app", e.list_compute_space = "list_compute_space", e.get_compute_space = "get_compute_space", e.create_compute_space = "create_compute_space", e.delete_compute_space = "delete_compute_space", e.update_compute_space = "update_compute_space", e.arrange_compute_space = "arrange_compute_space", e.list_func_group = "list_func_group", e.create_func_group = "create_func_group", e.delete_func_group = "delete_func_group", e.update_func_group = "update_func_group", e.arrange_func_group = "arrange_func_group", e.list_func = "list_func", e.get_func = "get_func", e.create_func = "create_func", e.delete_func = "delete_func", e.update_func = "update_func", e.debug_func = "debug_func", e.call_func = "call_func", e.list_func_release = "list_func_release", e.get_func_release = "get_func_release", e.create_func_release = "create_func_release", e.delete_func_release = "delete_func_release", e.deploy_func_release = "deploy_func_release", e.list_flow_group = "list_flow_group", e.create_flow_group = "create_flow_group", e.delete_flow_group = "delete_flow_group", e.update_flow_group = "update_flow_group", e.arrange_flow_group = "arrange_flow_group", e.list_flow = "list_flow", e.get_flow = "get_flow", e.create_flow = "create_flow", e.delete_flow = "delete_flow", e.update_flow = "update_flow", e.call_flow = "call_flow", e.list_flow_release = "list_flow_release", e.get_flow_release = "get_flow_release", e.create_flow_release = "create_flow_release", e.delete_flow_release = "delete_flow_release", e.deploy_flow_release = "deploy_flow_release", e.list_task = "list_task", e.get_task = "get_task", e.create_task = "create_task", e.delete_task = "delete_task", e.update_task = "update_task", e.call_task = "call_task", e.open_compute_layer = "open_compute_layer", e.list_data_space = "list_data_space", e.get_data_space = "get_data_space", e.create_data_space = "create_data_space", e.delete_data_space = "delete_data_space", e.update_data_space = "update_data_space", e.arrange_data_space = "arrange_data_space", e.list_model_group = "list_model_group", e.create_model_group = "create_model_group", e.delete_model_group = "delete_model_group", e.update_model_group = "update_model_group", e.arrange_model_group = "arrange_model_group", e.list_model = "list_model", e.get_model = "get_model", e.create_model = "create_model", e.delete_model = "delete_model", e.update_model = "update_model", e.get_model_data = "get_model_data", e.create_model_data = "create_model_data", e.delete_model_data = "delete_model_data", e.update_model_data = "update_model_data", e.get_graph = "get_graph", e.update_graph = "update_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_model = "filter_model", e))(Re || {});
250
250
  function ae(e, o) {
251
251
  if (!e)
252
252
  return !1;
@@ -260,7 +260,7 @@ function ae(e, o) {
260
260
  return !1;
261
261
  }), Object.keys(t).length <= 0);
262
262
  }
263
- const Ee = [
263
+ const Ie = [
264
264
  {
265
265
  app: "x-passport-mf",
266
266
  path: "/passport/login",
@@ -371,7 +371,7 @@ const Ee = [
371
371
  function K(e) {
372
372
  let o, t = 0;
373
373
  const r = e.split("/").filter((a) => a.trim() !== "");
374
- return Ee.forEach((a) => {
374
+ return Ie.forEach((a) => {
375
375
  const l = a.path.split("/").filter((c) => c.trim() !== "");
376
376
  let n = 0;
377
377
  for (let c = 0; c < r.length && !(c >= l.length || r[c] !== l[c]); c++)
@@ -391,16 +391,16 @@ function L(e, o) {
391
391
  if (console.info(`~~~~routeChange~~~~ ${o} -> ${e}`), !a)
392
392
  return;
393
393
  const l = r.app === a.app, n = r.path === a.path, c = r.level >= a.level;
394
- l ? n ? N.value = "" : N.value = c ? "inner-left" : "inner-right" : (N.value = "", Re(r.app, c));
394
+ l ? n ? N.value = "" : N.value = c ? "inner-left" : "inner-right" : (N.value = "", Ae(r.app, c));
395
395
  }
396
- function je() {
396
+ function Oe() {
397
397
  return !!j.get("accessToken");
398
398
  }
399
- function Te() {
399
+ function Ee() {
400
400
  return !!j.get("activeOrg");
401
401
  }
402
- function qt(e, o, t) {
403
- const r = je(), a = Te(), l = K(e.path);
402
+ function Lt(e, o, t) {
403
+ const r = Oe(), a = Ee(), l = K(e.path);
404
404
  if (!l) {
405
405
  console.assert(!1), t();
406
406
  return;
@@ -439,10 +439,10 @@ function qt(e, o, t) {
439
439
  else
440
440
  L(e.path, o.path), t();
441
441
  }
442
- const Be = /* @__PURE__ */ T({
442
+ const je = /* @__PURE__ */ T({
443
443
  __name: "index",
444
444
  setup(e) {
445
- const { t: o } = Y(), t = $(), r = g({
445
+ const { t: o } = Y(), t = H(), r = g({
446
446
  get() {
447
447
  return t.hasView("confirmDlg");
448
448
  },
@@ -519,22 +519,7 @@ const Be = /* @__PURE__ */ T({
519
519
  }, 8, ["modelValue", "onKeydown"]);
520
520
  };
521
521
  }
522
- }), Ue = (e) => (fe("data-v-7ab74c70"), e = e(), ge(), e), We = /* @__PURE__ */ Ue(() => /* @__PURE__ */ v("div", { class: "lds-spinner" }, [
523
- /* @__PURE__ */ v("div"),
524
- /* @__PURE__ */ v("div"),
525
- /* @__PURE__ */ v("div"),
526
- /* @__PURE__ */ v("div"),
527
- /* @__PURE__ */ v("div"),
528
- /* @__PURE__ */ v("div"),
529
- /* @__PURE__ */ v("div"),
530
- /* @__PURE__ */ v("div"),
531
- /* @__PURE__ */ v("div"),
532
- /* @__PURE__ */ v("div"),
533
- /* @__PURE__ */ v("div"),
534
- /* @__PURE__ */ v("div")
535
- ], -1)), $e = [
536
- We
537
- ], He = /* @__PURE__ */ T({
522
+ }), Te = /* @__PURE__ */ T({
538
523
  __name: "index",
539
524
  props: {
540
525
  zIndex: { default: 1 }
@@ -547,16 +532,31 @@ const Be = /* @__PURE__ */ T({
547
532
  return (a, l) => (D(), Q("div", {
548
533
  class: "x-cont",
549
534
  style: re(r.value)
550
- }, $e, 4));
535
+ }, l[0] || (l[0] = [
536
+ v("div", { class: "lds-spinner" }, [
537
+ v("div"),
538
+ v("div"),
539
+ v("div"),
540
+ v("div"),
541
+ v("div"),
542
+ v("div"),
543
+ v("div"),
544
+ v("div"),
545
+ v("div"),
546
+ v("div"),
547
+ v("div"),
548
+ v("div")
549
+ ], -1)
550
+ ]), 4));
551
551
  }
552
552
  }), te = (e, o) => {
553
553
  const t = e.__vccOpts || e;
554
554
  for (const [r, a] of o)
555
555
  t[r] = a;
556
556
  return t;
557
- }, ze = /* @__PURE__ */ te(He, [["__scopeId", "data-v-7ab74c70"]]);
558
- var Xe = "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", Fe = "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", Ke = "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", Ze = "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", Ge = "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";
559
- const Ne = /* @__PURE__ */ T({
557
+ }, Be = /* @__PURE__ */ te(Te, [["__scopeId", "data-v-7ab74c70"]]);
558
+ var Ue = "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", We = "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", He = "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", $e = "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", ze = "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";
559
+ const Xe = /* @__PURE__ */ T({
560
560
  __name: "item",
561
561
  props: {
562
562
  id: {},
@@ -572,13 +572,13 @@ const Ne = /* @__PURE__ */ T({
572
572
  })), a = g(() => {
573
573
  switch (t.type) {
574
574
  case "success":
575
- return Fe;
575
+ return We;
576
576
  case "info":
577
- return Ge;
577
+ return ze;
578
578
  case "error":
579
- return Ze;
579
+ return $e;
580
580
  case "warning":
581
- return Xe;
581
+ return Ue;
582
582
  default:
583
583
  return "";
584
584
  }
@@ -607,7 +607,7 @@ const Ne = /* @__PURE__ */ T({
607
607
  }, q(t.text), 5),
608
608
  C(s, {
609
609
  class: "mx-1",
610
- icon: le(Ke),
610
+ icon: le(He),
611
611
  onClick: u[0] || (u[0] = (y) => n("timeout", t.id))
612
612
  }, null, 8, ["icon"])
613
613
  ]),
@@ -615,7 +615,7 @@ const Ne = /* @__PURE__ */ T({
615
615
  }, 8, ["color"]);
616
616
  };
617
617
  }
618
- }), Qe = /* @__PURE__ */ te(Ne, [["__scopeId", "data-v-d5cfe252"]]), Je = /* @__PURE__ */ T({
618
+ }), Fe = /* @__PURE__ */ te(Xe, [["__scopeId", "data-v-d5cfe252"]]), Ke = /* @__PURE__ */ T({
619
619
  __name: "index",
620
620
  setup(e) {
621
621
  const o = d([]);
@@ -642,7 +642,7 @@ const Ne = /* @__PURE__ */ T({
642
642
  onClick: u[0] || (u[0] = W(() => {
643
643
  }, ["stop"]))
644
644
  }, [
645
- (D(!0), Q(ve, null, me(o.value, (s) => (D(), O(Qe, {
645
+ (D(!0), Q(fe, null, ge(o.value, (s) => (D(), O(Fe, {
646
646
  id: s.id,
647
647
  key: s.id,
648
648
  type: s.type,
@@ -652,10 +652,10 @@ const Ne = /* @__PURE__ */ T({
652
652
  }, null, 8, ["id", "type", "text", "timeout"]))), 128))
653
653
  ]));
654
654
  }
655
- }), Ye = /* @__PURE__ */ te(Je, [["__scopeId", "data-v-d525e6f5"]]), Pe = /* @__PURE__ */ T({
655
+ }), Ze = /* @__PURE__ */ te(Ke, [["__scopeId", "data-v-d525e6f5"]]), Ge = /* @__PURE__ */ T({
656
656
  __name: "index",
657
657
  setup(e) {
658
- const { t: o } = Y(), t = $(), r = g({
658
+ const { t: o } = Y(), t = H(), r = g({
659
659
  get() {
660
660
  return t.hasView("promptDlg");
661
661
  },
@@ -665,8 +665,8 @@ const Ne = /* @__PURE__ */ T({
665
665
  }), a = d(""), l = d(""), n = d(""), c = d(""), u = d(), s = d(""), _ = d(""), y = d(""), i = d(""), M = d(""), m = d();
666
666
  let x = 0, b = !1;
667
667
  const S = async (f) => {
668
- var k, A, H, z, B;
669
- a.value = f.title, l.value = f.text, n.value = f.label, c.value = f.placeholder, u.value = f.rules, s.value = f.value, _.value = ((k = f.cancel) == null ? void 0 : k.color) ?? "primary", y.value = ((A = f.cancel) == null ? void 0 : A.text) ?? o("dlg.common.cancel"), i.value = ((H = f.confirm) == null ? void 0 : H.color) ?? "primary", M.value = ((z = f.confirm) == null ? void 0 : z.text) ?? o("dlg.common.confirm"), x = f.seq, b = !1, r.value = !0, await ee(() => !!m.value, 1e3), (B = m.value) == null || B.focus();
668
+ var k, A, $, z, B;
669
+ a.value = f.title, l.value = f.text, n.value = f.label, c.value = f.placeholder, u.value = f.rules, s.value = f.value, _.value = ((k = f.cancel) == null ? void 0 : k.color) ?? "primary", y.value = ((A = f.cancel) == null ? void 0 : A.text) ?? o("dlg.common.cancel"), i.value = (($ = f.confirm) == null ? void 0 : $.color) ?? "primary", M.value = ((z = f.confirm) == null ? void 0 : z.text) ?? o("dlg.common.confirm"), x = f.seq, b = !1, r.value = !0, await ee(() => !!m.value, 1e3), (B = m.value) == null || B.focus();
670
670
  };
671
671
  V(() => {
672
672
  p.on("promptDlg", S);
@@ -679,7 +679,7 @@ const Ne = /* @__PURE__ */ T({
679
679
  return Z(r, (f) => {
680
680
  !f && !b && (p.emit("promptDlgResult" + x, void 0), b = !0);
681
681
  }), (f, k) => {
682
- const A = h("v-card-text"), H = h("v-text-field"), z = h("v-form"), B = h("v-btn"), de = h("v-card-actions"), _e = h("v-card"), ie = h("v-dialog");
682
+ const A = h("v-card-text"), $ = h("v-text-field"), z = h("v-form"), B = h("v-btn"), de = h("v-card-actions"), _e = h("v-card"), ie = h("v-dialog");
683
683
  return D(), O(ie, {
684
684
  modelValue: r.value,
685
685
  "onUpdate:modelValue": k[2] || (k[2] = (U) => r.value = U),
@@ -701,7 +701,7 @@ const Ne = /* @__PURE__ */ T({
701
701
  })) : ne("", !0),
702
702
  C(z, { class: "mx-3" }, {
703
703
  default: w(() => [
704
- C(H, {
704
+ C($, {
705
705
  ref_key: "target",
706
706
  ref: m,
707
707
  modelValue: s.value,
@@ -746,10 +746,10 @@ const Ne = /* @__PURE__ */ T({
746
746
  }, 8, ["modelValue", "onKeydown"]);
747
747
  };
748
748
  }
749
- }), et = { class: "mx-auto my-auto" }, tt = { class: "w-100 h-100 d-flex align-center justify-center" }, ot = { class: "text-body-1" }, at = /* @__PURE__ */ T({
749
+ }), Ne = { class: "mx-auto my-auto" }, Qe = { class: "w-100 h-100 d-flex align-center justify-center" }, Je = { class: "text-body-1" }, Ye = /* @__PURE__ */ T({
750
750
  __name: "index",
751
751
  setup(e) {
752
- const { t: o } = Y(), t = $(), r = g({
752
+ const { t: o } = Y(), t = H(), r = g({
753
753
  get() {
754
754
  return t.hasView("waitDlg");
755
755
  },
@@ -775,15 +775,15 @@ const Ne = /* @__PURE__ */ T({
775
775
  fullscreen: ""
776
776
  }, {
777
777
  default: w(() => [
778
- v("div", et, [
778
+ v("div", Ne, [
779
779
  C(s, {
780
780
  width: "300px",
781
781
  height: "80px",
782
782
  loading: ""
783
783
  }, {
784
784
  default: w(() => [
785
- v("div", tt, [
786
- v("span", ot, q(a.value), 1)
785
+ v("div", Qe, [
786
+ v("span", Je, q(a.value), 1)
787
787
  ])
788
788
  ]),
789
789
  _: 1
@@ -794,10 +794,10 @@ const Ne = /* @__PURE__ */ T({
794
794
  }, 8, ["modelValue"]);
795
795
  };
796
796
  }
797
- }), rt = (e) => {
798
- e.component("XConfirmDlg", Be), e.component("XLoading", ze), e.component("XMessage", Ye), e.component("XPromptDlg", Pe), e.component("XWaitDlg", at);
797
+ }), Pe = (e) => {
798
+ e.component("XConfirmDlg", je), e.component("XLoading", Be), e.component("XMessage", Ze), e.component("XPromptDlg", Ge), e.component("XWaitDlg", Ye);
799
799
  };
800
- function Rt() {
800
+ function Vt() {
801
801
  const e = P(), o = g(() => e.global.current.value.colors.primary), t = g(() => e.global.current.value.colors.secondary), r = g(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), a = g(() => e.current.value.dark ? "#272727" : "#eeeeee"), l = g(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), n = g(() => e.current.value.dark ? "#303030" : "#f6f6f6"), c = g(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
802
802
  return {
803
803
  primaryColor: o,
@@ -809,48 +809,48 @@ function Rt() {
809
809
  borderColor: c
810
810
  };
811
811
  }
812
- function nt(e) {
813
- return he() ? (we(e), !0) : !1;
812
+ function et(e) {
813
+ return ve() ? (me(e), !0) : !1;
814
814
  }
815
- function lt(e) {
815
+ function tt(e) {
816
816
  return typeof e == "function" ? e() : le(e);
817
817
  }
818
- const ct = typeof window < "u" && typeof document < "u";
818
+ const ot = typeof window < "u" && typeof document < "u";
819
819
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
820
- const ut = ct ? window : void 0;
821
- function pt() {
822
- const e = d(!1), o = xe();
820
+ const at = ot ? window : void 0;
821
+ function rt() {
822
+ const e = d(!1), o = we();
823
823
  return o && V(() => {
824
824
  e.value = !0;
825
825
  }, o), e;
826
826
  }
827
- function st(e) {
828
- const o = pt();
827
+ function nt(e) {
828
+ const o = rt();
829
829
  return g(() => (o.value, !!e()));
830
830
  }
831
- function dt(e, o = {}) {
832
- const { window: t = ut } = o, r = st(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
831
+ function lt(e, o = {}) {
832
+ const { window: t = at } = o, r = nt(() => t && "matchMedia" in t && typeof t.matchMedia == "function");
833
833
  let a;
834
834
  const l = d(!1), n = (s) => {
835
835
  l.value = s.matches;
836
836
  }, c = () => {
837
837
  a && ("removeEventListener" in a ? a.removeEventListener("change", n) : a.removeListener(n));
838
- }, u = ye(() => {
839
- r.value && (c(), a = t.matchMedia(lt(e)), "addEventListener" in a ? a.addEventListener("change", n) : a.addListener(n), l.value = a.matches);
838
+ }, u = he(() => {
839
+ r.value && (c(), a = t.matchMedia(tt(e)), "addEventListener" in a ? a.addEventListener("change", n) : a.addListener(n), l.value = a.matches);
840
840
  });
841
- return nt(() => {
841
+ return et(() => {
842
842
  u(), c(), a = void 0;
843
843
  }), l;
844
844
  }
845
- function _t(e) {
846
- return dt("(prefers-color-scheme: dark)", e);
845
+ function ct(e) {
846
+ return lt("(prefers-color-scheme: dark)", e);
847
847
  }
848
- function it() {
849
- const e = be(), o = G(), t = _t(), r = g(() => typeof o.dark == "boolean" ? o.dark : t.value), a = g(() => !!window.cordova), l = g(() => e.width.value <= 1280 ? e.width.value + "px" : e.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
848
+ function ut() {
849
+ const e = ke(), o = G(), t = ct(), r = g(() => typeof o.dark == "boolean" ? o.dark : t.value), a = g(() => !!window.cordova), l = g(() => e.width.value <= 1280 ? e.width.value + "px" : e.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
850
850
  return { dark: r, sysBarAvail: a, compactWidth: l };
851
851
  }
852
- function It() {
853
- const e = Ce(), o = ue(), t = P(), { dark: r } = it(), a = G(), l = $();
852
+ function Mt() {
853
+ const e = xe(), o = ue(), t = P(), { dark: r } = ut(), a = G(), l = H();
854
854
  Z(
855
855
  r,
856
856
  (i) => {
@@ -897,7 +897,7 @@ function It() {
897
897
  p.off("updateDark", u), p.off("updateLocale", s), p.off("updatePermission", _), p.off("updateLastAppPath", y);
898
898
  });
899
899
  }
900
- function Ot() {
900
+ function St() {
901
901
  const e = G();
902
902
  function o(t, r) {
903
903
  const a = e.permissionObjects[t];
@@ -905,8 +905,8 @@ function Ot() {
905
905
  }
906
906
  return { verifyPermission: o };
907
907
  }
908
- function Et(e, o) {
909
- const t = $(), r = g({
908
+ function At(e, o) {
909
+ const t = H(), r = g({
910
910
  get() {
911
911
  return t.hasView(e);
912
912
  },
@@ -922,7 +922,7 @@ function Et(e, o) {
922
922
  p.off(e, a);
923
923
  }), { open: r };
924
924
  }
925
- const ft = (e, o, t) => {
925
+ const pt = (e, o, t) => {
926
926
  const r = e[o];
927
927
  return r ? typeof r == "function" ? r() : Promise.resolve(r) : new Promise((a, l) => {
928
928
  (typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
@@ -935,36 +935,36 @@ const ft = (e, o, t) => {
935
935
  );
936
936
  });
937
937
  };
938
- async function jt(e) {
939
- return (await ft(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./en-iuzmkt0n.js"), "./locales/zhHans/index.ts": () => import("./zhHans-m6y1by9n.js") }), `./locales/${e}/index.ts`, 4)).default;
938
+ async function qt(e) {
939
+ return (await pt(/* @__PURE__ */ Object.assign({ "./locales/en/index.ts": () => import("./en-iuzmkt0n.js"), "./locales/zhHans/index.ts": () => import("./zhHans-m6y1by9n.js") }), `./locales/${e}/index.ts`, 4)).default;
940
940
  }
941
- const Tt = { install: rt };
941
+ const Rt = { install: Pe };
942
942
  export {
943
- Oe as Permission,
944
- Re as appAppear,
945
- Lt as closeWaitDlg,
946
- xt as createAxios,
947
- Tt as default,
943
+ Re as Permission,
944
+ Ae as appAppear,
945
+ xt as closeWaitDlg,
946
+ vt as createAxios,
947
+ Rt as default,
948
948
  p as eventBus,
949
949
  ae as isExist,
950
- jt as loadLocaleMessageEssential,
950
+ qt as loadLocaleMessageEssential,
951
951
  K as matchRouteMeta,
952
- Vt as messageError,
953
- Mt as messageInfo,
954
- St as messageSuccess,
955
- At as messageWarning,
956
- qt as onBeforeEach,
957
- Ct as openConfirmDlg,
958
- bt as openPromptDlg,
959
- Dt as openWaitDlg,
952
+ kt as messageError,
953
+ Ct as messageInfo,
954
+ bt as messageSuccess,
955
+ Dt as messageWarning,
956
+ Lt as onBeforeEach,
957
+ ht as openConfirmDlg,
958
+ wt as openPromptDlg,
959
+ yt as openWaitDlg,
960
960
  N as routeTransName,
961
- Rt as useColor,
961
+ Vt as useColor,
962
962
  G as useGlobalStore,
963
- It as useMicroApp,
964
- Ot as usePermission,
965
- it as useSystem,
966
- $ as useViewMgrStore,
967
- Et as useViewStack,
968
- kt as waitMs,
963
+ Mt as useMicroApp,
964
+ St as usePermission,
965
+ ut as useSystem,
966
+ H as useViewMgrStore,
967
+ At as useViewStack,
968
+ mt as waitMs,
969
969
  ee as waitUtil
970
970
  };
@@ -1,20 +1,20 @@
1
1
  import { PermissionObjects } from '../utils';
2
2
  export declare const useGlobalStore: import("pinia").StoreDefinition<"global", import("pinia")._UnwrapAll<Pick<{
3
- dark: import("vue").Ref<boolean | undefined>;
4
- locale: import("vue").Ref<string>;
5
- permissionObjects: import("vue").Ref<PermissionObjects>;
6
- permissionChecksum: import("vue").Ref<string>;
7
- lastAppPath: import("vue").Ref<string>;
3
+ dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
4
+ locale: import("vue").Ref<string, string>;
5
+ permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
6
+ permissionChecksum: import("vue").Ref<string, string>;
7
+ lastAppPath: import("vue").Ref<string, string>;
8
8
  }, "dark" | "locale" | "permissionObjects" | "permissionChecksum" | "lastAppPath">>, Pick<{
9
- dark: import("vue").Ref<boolean | undefined>;
10
- locale: import("vue").Ref<string>;
11
- permissionObjects: import("vue").Ref<PermissionObjects>;
12
- permissionChecksum: import("vue").Ref<string>;
13
- lastAppPath: import("vue").Ref<string>;
9
+ dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
10
+ locale: import("vue").Ref<string, string>;
11
+ permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
12
+ permissionChecksum: import("vue").Ref<string, string>;
13
+ lastAppPath: import("vue").Ref<string, string>;
14
14
  }, never>, Pick<{
15
- dark: import("vue").Ref<boolean | undefined>;
16
- locale: import("vue").Ref<string>;
17
- permissionObjects: import("vue").Ref<PermissionObjects>;
18
- permissionChecksum: import("vue").Ref<string>;
19
- lastAppPath: import("vue").Ref<string>;
15
+ dark: import("vue").Ref<boolean | undefined, boolean | undefined>;
16
+ locale: import("vue").Ref<string, string>;
17
+ permissionObjects: import("vue").Ref<PermissionObjects, PermissionObjects>;
18
+ permissionChecksum: import("vue").Ref<string, string>;
19
+ lastAppPath: import("vue").Ref<string, string>;
20
20
  }, never>>;
@@ -1,6 +1,6 @@
1
1
  import 'pinia-plugin-persistedstate';
2
2
  export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr", import("pinia")._UnwrapAll<Pick<{
3
- views: import("vue").Ref<string[]>;
3
+ views: import("vue").Ref<string[], string[]>;
4
4
  isEmpty: () => boolean;
5
5
  lastView: () => string | undefined;
6
6
  hasView: (name: string) => boolean;
@@ -9,7 +9,7 @@ export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr",
9
9
  popView: () => void;
10
10
  clearViews: () => void;
11
11
  }, "views">>, Pick<{
12
- views: import("vue").Ref<string[]>;
12
+ views: import("vue").Ref<string[], string[]>;
13
13
  isEmpty: () => boolean;
14
14
  lastView: () => string | undefined;
15
15
  hasView: (name: string) => boolean;
@@ -18,7 +18,7 @@ export declare const useViewMgrStore: import("pinia").StoreDefinition<"viewMgr",
18
18
  popView: () => void;
19
19
  clearViews: () => void;
20
20
  }, never>, Pick<{
21
- views: import("vue").Ref<string[]>;
21
+ views: import("vue").Ref<string[], string[]>;
22
22
  isEmpty: () => boolean;
23
23
  lastView: () => string | undefined;
24
24
  hasView: (name: string) => boolean;
@@ -7,6 +7,6 @@ interface RouteMeta {
7
7
  mainActive?: 2 | 3 | 4;
8
8
  }
9
9
  export declare function matchRouteMeta(path: string): RouteMeta | undefined;
10
- export declare const routeTransName: import("vue").Ref<string>;
10
+ export declare const routeTransName: import("vue").Ref<string, string>;
11
11
  export declare function onBeforeEach(to: RouteLocationNormalized, from: RouteLocationNormalized, next: NavigationGuardNext): void;
12
12
  export {};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.6.7",
4
+ "version": "0.7.1",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -30,10 +30,10 @@
30
30
  "axios": "^1.7.2",
31
31
  "pinia": "^2.2.2",
32
32
  "pinia-plugin-persistedstate": "^3.2.1",
33
- "vue": "^3.4.38",
33
+ "vue": "^3.5.5",
34
34
  "vue-i18n": "^9.14.0",
35
35
  "vue-router": "^4.4.3",
36
- "vuetify": "^3.7.0"
36
+ "vuetify": "^3.7.1"
37
37
  },
38
38
  "devDependencies": {
39
39
  "@mdi/js": "^7.4.47",