x-essential-lib 0.8.20 → 0.8.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,12 +1,12 @@
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-c6a59757]{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 V, provide as U, inject as $, ref as i, watchEffect as le, onMounted as W, onBeforeUnmount as K, onBeforeMount as xe, defineComponent as B, watch as F, resolveComponent as m, createBlock as T, openBlock as C, withKeys as z, unref as A, withModifiers as M, isRef as N, withCtx as g, createVNode as y, createTextVNode as I, toDisplayString as R, Transition as ke, createElementBlock as Z, createCommentVNode as P, normalizeStyle as ue, createElementVNode as w, Fragment as De, renderList as Ve, useTemplateRef as ce } from "vue";
1
+ (function(){"use strict";try{if(typeof document<"u"){var a=document.createElement("style");a.id="x-essential-lib",a.appendChild(document.createTextNode('.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 W, onBeforeUnmount as K, onBeforeMount as xe, defineComponent as I, watch as F, resolveComponent as v, createBlock as T, openBlock as q, withKeys as z, unref as A, withModifiers as B, isRef as N, 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";
6
6
  import je from "axios";
7
7
  import { a as E, m as Re, u as Se } from "./vendor.detlzgps.js";
8
8
  function Oe() {
9
- const e = se(), t = V(() => e.global.current.value.colors.primary), a = V(() => e.global.current.value.colors.secondary), o = V(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), l = V(() => e.current.value.dark ? "#272727" : "#eeeeee"), r = V(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), c = V(() => e.current.value.dark ? "#303030" : "#f6f6f6"), n = V(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
9
+ const e = se(), t = C(() => e.global.current.value.colors.primary), a = C(() => e.global.current.value.colors.secondary), o = C(() => e.current.value.dark ? "#2e2e2e" : "#bdbdbd"), l = C(() => e.current.value.dark ? "#272727" : "#eeeeee"), r = C(() => e.current.value.dark ? "#1e1e1e" : "#ffffff"), c = C(() => e.current.value.dark ? "#303030" : "#f6f6f6"), n = C(() => e.current.value.dark ? "#ffffff1f" : "#0000001f");
10
10
  return {
11
11
  primaryColor: t,
12
12
  secondaryColor: a,
@@ -24,31 +24,31 @@ function kt(e) {
24
24
  return t.defaults.baseURL = e.baseUrl, t.interceptors.request.use(
25
25
  (a) => Te(a),
26
26
  (a) => {
27
- Ie(a, e.onError);
27
+ Le(a, e.onError);
28
28
  }
29
29
  ), t.interceptors.response.use(
30
- (a) => Le(a),
31
- (a) => Me(a, e.onError)
30
+ (a) => Me(a),
31
+ (a) => Be(a, e.onError)
32
32
  ), t;
33
33
  }
34
34
  function Te(e) {
35
35
  const t = E.get("accessToken") ?? "";
36
36
  return e.headers.Authorization = "Basic " + t, e.headers["Content-Type"] = "application/json", e.data = JSON.stringify(e.data), e;
37
37
  }
38
- function Ie(e, t) {
38
+ function Le(e, t) {
39
39
  console.error(e), t("request timeout");
40
40
  }
41
- function Le(e) {
41
+ function Me(e) {
42
42
  return e.data;
43
43
  }
44
- function Me(e, t) {
44
+ function Be(e, t) {
45
45
  const o = e.response;
46
- return o && (o.status === 401 && Be(), o.data?.message ? t(o.data?.message) : t({
46
+ return o && (o.status === 401 && Ie(), 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 Be() {
51
+ function Ie() {
52
52
  E.remove("accessToken"), E.remove("refreshToken"), E.remove("activeOrg"), pe().replace({ path: "/passport/login" });
53
53
  }
54
54
  const Dt = function() {
@@ -80,39 +80,39 @@ function Ae(e, t) {
80
80
  }, 50));
81
81
  }
82
82
  let ne = Date.now();
83
- function ee() {
83
+ function te() {
84
84
  const e = Date.now();
85
85
  return e - ne > 500 ? (ne = e, !0) : !1;
86
86
  }
87
87
  let Ee = 0;
88
- function te() {
88
+ function ae() {
89
89
  return ++Ee;
90
90
  }
91
91
  async function Ct(e) {
92
- if (!ee())
92
+ if (!te())
93
93
  return;
94
94
  let t = !1, a;
95
95
  const o = (r) => {
96
96
  a = r, t = !0;
97
- }, l = te();
97
+ }, l = ae();
98
98
  return u.on("confirmDlgResult" + l, o), u.emit("confirmDlg", { ...e, seq: l }), await X(() => t), u.off("confirmDlgResult" + l, o), a;
99
99
  }
100
100
  async function qt(e) {
101
- if (!ee())
101
+ if (!te())
102
102
  return;
103
103
  let t = !1, a;
104
104
  const o = (r) => {
105
105
  a = r, t = !0;
106
- }, l = te();
106
+ }, l = ae();
107
107
  return u.on("numberDlgResult" + l, o), u.emit("numberDlg", { ...e, seq: l }), await X(() => t), u.off("numberDlgResult" + l, o), a;
108
108
  }
109
109
  async function jt(e) {
110
- if (!ee())
110
+ if (!te())
111
111
  return;
112
112
  let t = !1, a;
113
113
  const o = (r) => {
114
114
  a = r, t = !0;
115
- }, l = te();
115
+ }, l = ae();
116
116
  return u.on("promptDlgResult" + l, o), u.emit("promptDlg", { ...e, seq: l }), await X(() => t), u.off("promptDlgResult" + l, o), a;
117
117
  }
118
118
  function Rt(e) {
@@ -127,10 +127,10 @@ function Ot(e, t) {
127
127
  function Tt(e, t) {
128
128
  u.emit("message", { type: "info", text: e, timeout: t });
129
129
  }
130
- function It(e, t) {
130
+ function Lt(e, t) {
131
131
  u.emit("message", { type: "success", text: e, timeout: t });
132
132
  }
133
- function Lt(e, t) {
133
+ function Mt(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 Mt() {
158
+ function Bt() {
159
159
  return $(_e);
160
160
  }
161
161
  function We(e) {
162
162
  U(de, e);
163
163
  }
164
- function Bt() {
164
+ function It() {
165
165
  return $(de);
166
166
  }
167
167
  function Ne(e) {
@@ -307,7 +307,7 @@ function H(e) {
307
307
  c > 0 && c > a && (t = l, a = c);
308
308
  }), t;
309
309
  }
310
- const Y = i("");
310
+ const Z = p("");
311
311
  function O(e, t, a) {
312
312
  t === "/" && (t = a);
313
313
  const o = H(e), l = H(t);
@@ -318,7 +318,7 @@ function O(e, t, a) {
318
318
  if (console.info(`~~~~routeChange~~~~ ${t} -> ${e}`), !l)
319
319
  return;
320
320
  const r = o.app === l.app, c = o.path === l.path, n = o.level >= l.level;
321
- r ? c ? Y.value = "" : Y.value = n ? "inner-left" : "inner-right" : (Y.value = "", Ae(o.app, n));
321
+ r ? c ? Z.value = "" : Z.value = n ? "inner-left" : "inner-right" : (Z.value = "", Ae(o.app, n));
322
322
  }
323
323
  function Qe() {
324
324
  return !!E.get("accessToken");
@@ -391,58 +391,58 @@ function Kt(e) {
391
391
  e.value = [];
392
392
  }
393
393
  function Wt(e, t, a, o, l, r) {
394
- const c = qe(), n = pe(), _ = Se(), p = i(!1);
394
+ const c = qe(), n = pe(), _ = Se(), s = p(!1);
395
395
  le(() => {
396
- let v = !1;
397
- typeof e.value == "boolean" ? v = e.value : v = _.value, p.value = v;
398
- }), Ke(p), We(t), Ne(a), ze(o), He(l), Fe(r);
399
- const x = se();
396
+ let f = !1;
397
+ typeof e.value == "boolean" ? f = e.value : f = _.value, s.value = f;
398
+ }), Ke(s), We(t), Ne(a), ze(o), He(l), Fe(r);
399
+ const w = se();
400
400
  le(() => {
401
- x.change(p.value ? "dark" : "light");
401
+ w.change(s.value ? "dark" : "light");
402
402
  });
403
- const f = () => {
403
+ const D = () => {
404
404
  if (!Ze(r)) {
405
405
  me(r, "waitDlg") || tt(r);
406
406
  return;
407
407
  }
408
- const v = H(c.path);
409
- if (!v) {
408
+ const f = H(c.path);
409
+ if (!f) {
410
410
  console.assert(!1);
411
411
  return;
412
412
  }
413
- v.level === 0 ? navigator?.Backbutton?.goHome(
413
+ f.level === 0 ? navigator?.Backbutton?.goHome(
414
414
  () => {
415
415
  },
416
416
  () => {
417
417
  }
418
418
  ) : n.back();
419
- }, k = (v) => {
420
- if (v.key === "Escape") {
421
- f();
419
+ }, y = (f) => {
420
+ if (f.key === "Escape") {
421
+ D();
422
422
  return;
423
423
  }
424
- }, D = () => {
425
- f();
424
+ }, h = () => {
425
+ D();
426
426
  };
427
427
  W(() => {
428
- window.addEventListener("keydown", k), u.on("backbutton", D);
428
+ window.addEventListener("keydown", y), u.on("backbutton", h);
429
429
  }), K(() => {
430
- window.removeEventListener("keydown", k), u.off("backbutton", D);
430
+ window.removeEventListener("keydown", y), u.off("backbutton", h);
431
431
  });
432
- const s = (v) => {
433
- e.value = v;
434
- }, b = (v) => {
435
- t.value = v;
436
- }, h = (v) => {
437
- const j = v;
438
- a.value = j[0], o.value = j[1];
439
- }, q = (v) => {
440
- l.value = v;
432
+ const i = (f) => {
433
+ e.value = f;
434
+ }, x = (f) => {
435
+ t.value = f;
436
+ }, d = (f) => {
437
+ const m = f;
438
+ a.value = m[0], o.value = m[1];
439
+ }, j = (f) => {
440
+ l.value = f;
441
441
  };
442
442
  xe(() => {
443
- u.on("updateDark", s), u.on("updateLocale", b), u.on("updatePermission", h), u.on("updateLastAppPath", q), u.emit("syncGlobalState");
443
+ u.on("updateDark", i), u.on("updateLocale", x), u.on("updatePermission", d), u.on("updateLastAppPath", j), u.emit("syncGlobalState");
444
444
  }), K(() => {
445
- u.off("updateDark", s), u.off("updateLocale", b), u.off("updatePermission", h), u.off("updateLastAppPath", q);
445
+ u.off("updateDark", i), u.off("updateLocale", x), u.off("updatePermission", d), u.off("updateLastAppPath", j);
446
446
  });
447
447
  }
448
448
  function Nt() {
@@ -457,7 +457,7 @@ function Nt() {
457
457
  return { verifyPermission: t };
458
458
  }
459
459
  function Xt() {
460
- const e = V(() => !!window.cordova), t = Ce(), a = V(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
460
+ const e = C(() => !!window.cordova), t = Ce(), a = C(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
461
461
  function o() {
462
462
  return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
463
463
  navigator.userAgent
@@ -466,7 +466,7 @@ function Xt() {
466
466
  return { sysBarAvail: e, compactWidth: a, isMobile: o };
467
467
  }
468
468
  function J(e, t) {
469
- const a = Ge(), o = V({
469
+ const a = Ge(), o = C({
470
470
  get() {
471
471
  return me(a, e);
472
472
  },
@@ -482,60 +482,60 @@ function J(e, t) {
482
482
  u.off(e, l);
483
483
  }), { open: o };
484
484
  }
485
- const at = /* @__PURE__ */ B({
485
+ const at = /* @__PURE__ */ I({
486
486
  __name: "index",
487
487
  setup(e) {
488
- const { t } = G(), a = i(""), o = i(""), l = i(""), r = i(""), c = i(""), n = i("");
489
- let _ = 0, p = !1;
490
- const x = (D) => {
491
- const s = D;
492
- a.value = s.title, o.value = s.text, l.value = s.cancel?.color ?? "primary", r.value = s.cancel?.text ?? t("dlg.common.cancel"), c.value = s.confirm?.color ?? "primary", n.value = s.confirm?.text ?? t("dlg.common.confirm"), _ = s.seq, p = !1, f.value = !0;
493
- }, { open: f } = J("confirmDlg", x), k = () => {
494
- f.value = !1, p || (u.emit("confirmDlgResult" + _, !0), p = !0);
488
+ const { t } = G(), a = p(""), o = p(""), l = p(""), r = p(""), c = p(""), n = p("");
489
+ let _ = 0, s = !1;
490
+ const w = (h) => {
491
+ const i = h;
492
+ a.value = i.title, o.value = i.text, l.value = i.cancel?.color ?? "primary", r.value = i.cancel?.text ?? t("dlg.common.cancel"), c.value = i.confirm?.color ?? "primary", n.value = i.confirm?.text ?? t("dlg.common.confirm"), _ = i.seq, s = !1, D.value = !0;
493
+ }, { open: D } = J("confirmDlg", w), y = () => {
494
+ D.value = !1, s || (u.emit("confirmDlgResult" + _, !0), s = !0);
495
495
  };
496
- return F(f, (D) => {
497
- !D && !p && (u.emit("confirmDlgResult" + _, !1), p = !0);
498
- }), (D, s) => {
499
- const b = m("v-card-text"), h = m("v-btn"), q = m("v-card-actions"), v = m("v-card"), j = m("v-dialog");
500
- return C(), T(j, {
501
- modelValue: A(f),
502
- "onUpdate:modelValue": s[1] || (s[1] = (d) => N(f) ? f.value = d : null),
503
- transition: "dialog-top-transition",
504
- "max-width": "600px",
496
+ return F(D, (h) => {
497
+ !h && !s && (u.emit("confirmDlgResult" + _, !1), s = !0);
498
+ }), (h, i) => {
499
+ const x = v("v-card-text"), d = v("v-btn"), j = v("v-card-actions"), f = v("v-card"), m = v("v-dialog");
500
+ return q(), T(m, {
501
+ modelValue: A(D),
502
+ "onUpdate:modelValue": i[1] || (i[1] = (V) => N(D) ? D.value = V : null),
505
503
  attach: "",
504
+ "max-width": "600px",
505
+ transition: "dialog-top-transition",
506
506
  onKeydown: [
507
- s[2] || (s[2] = z(M((d) => f.value = !1, ["stop", "prevent"]), ["esc"])),
508
- z(M(k, ["stop", "prevent"]), ["enter"])
507
+ z(B(y, ["stop", "prevent"]), ["enter"]),
508
+ i[2] || (i[2] = z(B((V) => D.value = !1, ["stop", "prevent"]), ["esc"]))
509
509
  ]
510
510
  }, {
511
511
  default: g(() => [
512
- y(v, { title: a.value }, {
512
+ b(f, { title: a.value }, {
513
513
  default: g(() => [
514
- y(b, null, {
514
+ b(x, null, {
515
515
  default: g(() => [
516
- I(R(o.value), 1)
516
+ L(S(o.value), 1)
517
517
  ]),
518
518
  _: 1
519
519
  }),
520
- y(q, { class: "d-flex justify-end" }, {
520
+ b(j, { class: "d-flex justify-end" }, {
521
521
  default: g(() => [
522
- y(h, {
522
+ b(d, {
523
523
  color: l.value,
524
524
  variant: "text",
525
- onClick: s[0] || (s[0] = (d) => f.value = !1)
525
+ onClick: i[0] || (i[0] = (V) => D.value = !1)
526
526
  }, {
527
527
  default: g(() => [
528
- I(R(r.value), 1)
528
+ L(S(r.value), 1)
529
529
  ]),
530
530
  _: 1
531
531
  }, 8, ["color"]),
532
- y(h, {
532
+ b(d, {
533
533
  color: c.value,
534
534
  variant: "text",
535
- onClick: k
535
+ onClick: y
536
536
  }, {
537
537
  default: g(() => [
538
- I(R(n.value), 1)
538
+ L(S(n.value), 1)
539
539
  ]),
540
540
  _: 1
541
541
  }, 8, ["color"])
@@ -550,50 +550,50 @@ const at = /* @__PURE__ */ B({
550
550
  }, 8, ["modelValue", "onKeydown"]);
551
551
  };
552
552
  }
553
- }), ot = /* @__PURE__ */ B({
553
+ }), ot = /* @__PURE__ */ I({
554
554
  __name: "index",
555
555
  props: {
556
556
  open: { type: Boolean, default: !0 },
557
557
  zIndex: { default: 1 }
558
558
  },
559
559
  setup(e) {
560
- const { backgroundColor2: t } = Oe(), a = V(() => ({
560
+ const { backgroundColor2: t } = Oe(), a = C(() => ({
561
561
  background: t.value,
562
562
  zIndex: e.zIndex
563
563
  }));
564
564
  let o = 0;
565
- return (l, r) => (C(), T(ke, { name: "fade" }, {
565
+ return (l, r) => (q(), T(ke, { name: "fade" }, {
566
566
  default: g(() => [
567
- l.open ? (C(), Z("div", {
567
+ l.open ? (q(), P("div", {
568
568
  key: N(o) ? ++o.value : ++o,
569
569
  class: "x-cont",
570
570
  style: ue(a.value)
571
571
  }, r[0] || (r[0] = [
572
- w("div", { class: "lds-spinner" }, [
573
- w("div"),
574
- w("div"),
575
- w("div"),
576
- w("div"),
577
- w("div"),
578
- w("div"),
579
- w("div"),
580
- w("div"),
581
- w("div"),
582
- w("div"),
583
- w("div"),
584
- w("div")
572
+ k("div", { class: "lds-spinner" }, [
573
+ k("div"),
574
+ k("div"),
575
+ k("div"),
576
+ k("div"),
577
+ k("div"),
578
+ k("div"),
579
+ k("div"),
580
+ k("div"),
581
+ k("div"),
582
+ k("div"),
583
+ k("div"),
584
+ k("div")
585
585
  ], -1)
586
- ]), 4)) : P("", !0)
586
+ ]), 4)) : ee("", !0)
587
587
  ]),
588
588
  _: 1
589
589
  }));
590
590
  }
591
- }), ae = (e, t) => {
591
+ }), oe = (e, t) => {
592
592
  const a = e.__vccOpts || e;
593
593
  for (const [o, l] of t)
594
594
  a[o] = l;
595
595
  return a;
596
- }, lt = /* @__PURE__ */ ae(ot, [["__scopeId", "data-v-0c686889"]]), nt = /* @__PURE__ */ B({
596
+ }, lt = /* @__PURE__ */ oe(ot, [["__scopeId", "data-v-0c686889"]]), nt = /* @__PURE__ */ I({
597
597
  __name: "item",
598
598
  props: {
599
599
  id: {},
@@ -603,10 +603,10 @@ const at = /* @__PURE__ */ B({
603
603
  },
604
604
  emits: ["timeout"],
605
605
  setup(e, { emit: t }) {
606
- const a = V(() => ({
606
+ const a = C(() => ({
607
607
  width: "calc(100% - 64px)",
608
608
  overflowWrap: "break-word"
609
- })), o = V(() => {
609
+ })), o = C(() => {
610
610
  switch (e.type) {
611
611
  case "success":
612
612
  return "mdi-check-circle";
@@ -619,7 +619,7 @@ const at = /* @__PURE__ */ B({
619
619
  default:
620
620
  return "";
621
621
  }
622
- }), l = i(!0), r = t;
622
+ }), l = p(!0), r = t;
623
623
  return W(() => {
624
624
  setTimeout(() => {
625
625
  r("timeout", e.id);
@@ -627,131 +627,132 @@ const at = /* @__PURE__ */ B({
627
627
  }), F(l, (c) => {
628
628
  c || r("timeout", e.id);
629
629
  }), (c, n) => {
630
- const _ = m("v-icon"), p = m("v-sheet");
631
- return C(), T(p, {
630
+ const _ = v("v-icon"), s = v("v-sheet");
631
+ return q(), T(s, {
632
632
  class: "x-item d-flex align-center py-2 mb-2",
633
633
  color: c.type,
634
634
  elevation: 1
635
635
  }, {
636
636
  default: g(() => [
637
- o.value ? (C(), T(_, {
637
+ o.value ? (q(), T(_, {
638
638
  key: 0,
639
639
  class: "mx-1",
640
640
  icon: o.value
641
- }, null, 8, ["icon"])) : P("", !0),
642
- w("div", {
641
+ }, null, 8, ["icon"])) : ee("", !0),
642
+ k("div", {
643
643
  style: ue(a.value)
644
- }, R(c.text), 5),
645
- y(_, {
644
+ }, S(c.text), 5),
645
+ b(_, {
646
646
  class: "mx-1",
647
647
  icon: "mdi-close",
648
- onClick: n[0] || (n[0] = (x) => r("timeout", c.id))
648
+ onClick: n[0] || (n[0] = (w) => r("timeout", c.id))
649
649
  })
650
650
  ]),
651
651
  _: 1
652
652
  }, 8, ["color"]);
653
653
  };
654
654
  }
655
- }), rt = /* @__PURE__ */ ae(nt, [["__scopeId", "data-v-f1f60167"]]), ut = /* @__PURE__ */ B({
655
+ }), rt = /* @__PURE__ */ oe(nt, [["__scopeId", "data-v-f1f60167"]]), ut = /* @__PURE__ */ I({
656
656
  __name: "index",
657
657
  setup(e) {
658
- const t = i([]);
658
+ const t = p([]);
659
659
  W(() => {
660
660
  u.on("message", a);
661
661
  }), K(() => {
662
662
  u.off("message", a);
663
663
  });
664
664
  const a = (n) => {
665
- const { type: _, text: p, timeout: x } = n;
666
- r(_, p, x);
665
+ const { type: _, text: s, timeout: w } = n;
666
+ r(_, s, w);
667
667
  }, o = (n) => {
668
668
  c(n);
669
669
  };
670
670
  let l = 0;
671
- const r = (n, _, p) => {
672
- const x = l++;
673
- t.value.push({ id: x, type: n, text: _, timeout: p });
671
+ const r = (n, _, s) => {
672
+ const w = l++;
673
+ t.value.push({ id: w, type: n, text: _, timeout: s });
674
674
  }, c = (n) => {
675
- const _ = t.value.findIndex((p) => p.id === n);
675
+ const _ = t.value.findIndex((s) => s.id === n);
676
676
  _ >= 0 && t.value.splice(_, 1);
677
677
  };
678
- return (n, _) => (C(), Z("div", {
678
+ return (n, _) => (q(), P("div", {
679
679
  class: "x-cont d-flex flex-column-reverse align-center",
680
- onClick: _[0] || (_[0] = M(() => {
680
+ onClick: _[0] || (_[0] = B(() => {
681
681
  }, ["stop"]))
682
682
  }, [
683
- (C(!0), Z(De, null, Ve(t.value, (p) => (C(), T(rt, {
684
- id: p.id,
685
- key: p.id,
686
- type: p.type,
687
- text: p.text,
688
- timeout: p.timeout,
683
+ (q(!0), P(De, null, Ve(t.value, (s) => (q(), T(rt, {
684
+ id: s.id,
685
+ key: s.id,
686
+ text: s.text,
687
+ timeout: s.timeout,
688
+ type: s.type,
689
689
  onTimeout: o
690
- }, null, 8, ["id", "type", "text", "timeout"]))), 128))
690
+ }, null, 8, ["id", "text", "timeout", "type"]))), 128))
691
691
  ]));
692
692
  }
693
- }), ct = /* @__PURE__ */ ae(ut, [["__scopeId", "data-v-c6a59757"]]), st = /* @__PURE__ */ B({
693
+ }), ct = /* @__PURE__ */ oe(ut, [["__scopeId", "data-v-3543886b"]]), st = /* @__PURE__ */ I({
694
694
  __name: "index",
695
695
  setup(e) {
696
- const { t } = G(), a = i(0), o = i(), l = i(-1 / 0), r = i(1 / 0), c = i(1);
697
- let n = 0, _ = !1;
698
- const p = ce("target"), x = async (s) => {
699
- a.value = s.value, o.value = s.precision, l.value = s.min, r.value = s.max, c.value = s.step, n = s.seq, _ = !1, f.value = !0, await X(() => !!p.value), p.value.focus();
700
- }, { open: f } = J("numberDlg", x), k = i(!1), D = () => {
701
- f.value = !1, _ || (u.emit(`numberDlgResult${n}`, a.value), _ = !0);
696
+ const { t } = G(), a = p(""), o = p(0), l = p(), r = p(-1 / 0), c = p(1 / 0), n = p(1);
697
+ let _ = 0, s = !1;
698
+ const w = ce("target"), D = async (x) => {
699
+ a.value = x.title, o.value = x.value, l.value = x.precision, r.value = x.min, c.value = x.max, n.value = x.step, _ = x.seq, s = !1, y.value = !0, await X(() => !!w.value), w.value.focus();
700
+ }, { open: y } = J("numberDlg", D), h = p(!1), i = () => {
701
+ y.value = !1, s || (u.emit(`numberDlgResult${_}`, o.value), s = !0);
702
702
  };
703
- return F(f, (s) => {
704
- !s && !_ && (u.emit(`numberDlgResult${n}`, void 0), _ = !0);
705
- }), (s, b) => {
706
- const h = m("v-number-input"), q = m("v-btn"), v = m("v-card-actions"), j = m("v-form"), d = m("v-card"), Q = m("v-dialog");
707
- return C(), T(Q, {
708
- modelValue: A(f),
709
- "onUpdate:modelValue": b[3] || (b[3] = (S) => N(f) ? f.value = S : null),
710
- transition: "dialog-top-transition",
711
- "max-width": "600px",
703
+ return F(y, (x) => {
704
+ !x && !s && (u.emit(`numberDlgResult${_}`, void 0), s = !0);
705
+ }), (x, d) => {
706
+ 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
+ return q(), T(Y, {
708
+ modelValue: A(y),
709
+ "onUpdate:modelValue": d[3] || (d[3] = (R) => N(y) ? y.value = R : null),
712
710
  attach: "",
713
- onKeydown: b[4] || (b[4] = z(M((S) => f.value = !1, ["stop", "prevent"]), ["esc"]))
711
+ "max-width": "600px",
712
+ transition: "dialog-top-transition",
713
+ onKeydown: d[4] || (d[4] = z(B((R) => y.value = !1, ["stop", "prevent"]), ["esc"]))
714
714
  }, {
715
715
  default: g(() => [
716
- y(d, null, {
716
+ b(Q, { title: a.value }, {
717
717
  default: g(() => [
718
- y(j, {
719
- modelValue: k.value,
720
- "onUpdate:modelValue": b[2] || (b[2] = (S) => k.value = S),
718
+ b(V, {
719
+ modelValue: h.value,
720
+ "onUpdate:modelValue": d[2] || (d[2] = (R) => h.value = R),
721
721
  class: "mx-3",
722
- onSubmit: M(D, ["prevent"])
722
+ onSubmit: B(i, ["prevent"])
723
723
  }, {
724
724
  default: g(() => [
725
- y(h, {
725
+ b(j, {
726
726
  ref_key: "target",
727
- ref: p,
728
- modelValue: a.value,
729
- "onUpdate:modelValue": b[0] || (b[0] = (S) => a.value = S),
730
- max: r.value !== void 0 ? r.value : 1 / 0,
731
- min: l.value !== void 0 ? l.value : -1 / 0,
732
- precision: o.value !== void 0 ? o.value : null,
733
- step: c.value !== void 0 ? c.value : 1
727
+ ref: w,
728
+ modelValue: o.value,
729
+ "onUpdate:modelValue": d[0] || (d[0] = (R) => o.value = R),
730
+ "control-variant": "stacked",
731
+ max: c.value,
732
+ min: r.value,
733
+ precision: l.value,
734
+ step: n.value
734
735
  }, null, 8, ["modelValue", "max", "min", "precision", "step"]),
735
- y(v, { class: "d-flex justify-end" }, {
736
+ b(m, { class: "d-flex justify-end" }, {
736
737
  default: g(() => [
737
- y(q, {
738
- variant: "text",
738
+ b(f, {
739
739
  color: "primary",
740
- onClick: b[1] || (b[1] = (S) => f.value = !1)
740
+ variant: "text",
741
+ onClick: d[1] || (d[1] = (R) => y.value = !1)
741
742
  }, {
742
743
  default: g(() => [
743
- I(R(A(t)("dlg.common.cancel")), 1)
744
+ L(S(A(t)("dlg.common.cancel")), 1)
744
745
  ]),
745
746
  _: 1
746
747
  }),
747
- y(q, {
748
- disabled: !k.value,
749
- variant: "text",
748
+ b(f, {
750
749
  color: "primary",
751
- type: "submit"
750
+ disabled: !h.value,
751
+ type: "submit",
752
+ variant: "text"
752
753
  }, {
753
754
  default: g(() => [
754
- I(R(A(t)("dlg.common.confirm")), 1)
755
+ L(S(A(t)("dlg.common.confirm")), 1)
755
756
  ]),
756
757
  _: 1
757
758
  }, 8, ["disabled"])
@@ -763,83 +764,82 @@ const at = /* @__PURE__ */ B({
763
764
  }, 8, ["modelValue"])
764
765
  ]),
765
766
  _: 1
766
- })
767
+ }, 8, ["title"])
767
768
  ]),
768
769
  _: 1
769
770
  }, 8, ["modelValue"]);
770
771
  };
771
772
  }
772
- }), pt = /* @__PURE__ */ B({
773
+ }), pt = /* @__PURE__ */ I({
773
774
  __name: "index",
774
775
  setup(e) {
775
- const { t } = G(), a = i(""), o = i(""), l = i(""), r = i(""), c = i(), n = i(""), _ = i(""), p = i(""), x = i(""), f = i(""), k = ce("target");
776
- let D = 0, s = !1;
777
- const b = async (j) => {
778
- const d = j;
779
- a.value = d.title, o.value = d.text, l.value = d.label, r.value = d.placeholder, c.value = d.rules, n.value = d.value, _.value = d.cancel?.color ?? "primary", p.value = d.cancel?.text ?? t("dlg.common.cancel"), x.value = d.confirm?.color ?? "primary", f.value = d.confirm?.text ?? t("dlg.common.confirm"), D = d.seq, s = !1, h.value = !0, await X(() => !!k.value), k.value.focus();
780
- }, { open: h } = J("promptDlg", b), q = i(!1), v = () => {
781
- h.value = !1, s || (u.emit("promptDlgResult" + D, n.value ?? ""), s = !0);
776
+ const { t } = G(), a = p(""), o = p(""), l = p(""), r = p(""), c = p(), n = p(""), _ = p(""), s = p(""), w = p(""), D = p("");
777
+ let y = 0, h = !1;
778
+ const i = ce("target"), x = async (m) => {
779
+ a.value = m.title, o.value = m.text, l.value = m.label, r.value = m.placeholder, c.value = m.rules, n.value = m.value, _.value = m.cancel?.color ?? "primary", s.value = m.cancel?.text ?? t("dlg.common.cancel"), w.value = m.confirm?.color ?? "primary", D.value = m.confirm?.text ?? t("dlg.common.confirm"), y = m.seq, h = !1, d.value = !0, await X(() => !!i.value), i.value.focus();
780
+ }, { open: d } = J("promptDlg", x), j = p(!1), f = () => {
781
+ d.value = !1, h || (u.emit("promptDlgResult" + y, n.value ?? ""), h = !0);
782
782
  };
783
- return F(h, (j) => {
784
- !j && !s && (u.emit("promptDlgResult" + D, void 0), s = !0);
785
- }), (j, d) => {
786
- const Q = m("v-card-text"), S = m("v-text-field"), oe = m("v-btn"), ye = m("v-card-actions"), be = m("v-form"), we = m("v-card"), he = m("v-dialog");
787
- return C(), T(he, {
788
- modelValue: A(h),
789
- "onUpdate:modelValue": d[3] || (d[3] = (L) => N(h) ? h.value = L : null),
790
- transition: "dialog-top-transition",
791
- "max-width": "600px",
783
+ return F(d, (m) => {
784
+ !m && !h && (u.emit("promptDlgResult" + y, void 0), h = !0);
785
+ }), (m, V) => {
786
+ 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
+ return q(), T(he, {
788
+ modelValue: A(d),
789
+ "onUpdate:modelValue": V[3] || (V[3] = (M) => N(d) ? d.value = M : null),
792
790
  attach: "",
793
- onKeydown: d[4] || (d[4] = z(M((L) => h.value = !1, ["stop", "prevent"]), ["esc"]))
791
+ "max-width": "600px",
792
+ transition: "dialog-top-transition",
793
+ onKeydown: V[4] || (V[4] = z(B((M) => d.value = !1, ["stop", "prevent"]), ["esc"]))
794
794
  }, {
795
795
  default: g(() => [
796
- y(we, { title: a.value }, {
796
+ b(we, { title: a.value }, {
797
797
  default: g(() => [
798
- o.value ? (C(), T(Q, { key: 0 }, {
798
+ o.value ? (q(), T(Q, { key: 0 }, {
799
799
  default: g(() => [
800
- I(R(o.value), 1)
800
+ L(S(o.value), 1)
801
801
  ]),
802
802
  _: 1
803
- })) : P("", !0),
804
- y(be, {
805
- modelValue: q.value,
806
- "onUpdate:modelValue": d[2] || (d[2] = (L) => q.value = L),
803
+ })) : ee("", !0),
804
+ b(ye, {
805
+ modelValue: j.value,
806
+ "onUpdate:modelValue": V[2] || (V[2] = (M) => j.value = M),
807
807
  class: "mx-3",
808
- onSubmit: M(v, ["prevent"])
808
+ onSubmit: B(f, ["prevent"])
809
809
  }, {
810
810
  default: g(() => [
811
- y(S, {
811
+ b(Y, {
812
812
  ref_key: "target",
813
- ref: k,
813
+ ref: i,
814
814
  modelValue: n.value,
815
- "onUpdate:modelValue": d[0] || (d[0] = (L) => n.value = L),
815
+ "onUpdate:modelValue": V[0] || (V[0] = (M) => n.value = M),
816
816
  label: l.value,
817
817
  placeholder: r.value,
818
818
  rules: c.value
819
819
  }, null, 8, ["modelValue", "label", "placeholder", "rules"]),
820
- y(ye, { class: "d-flex justify-end" }, {
820
+ b(be, { class: "d-flex justify-end" }, {
821
821
  default: g(() => [
822
- y(oe, {
823
- variant: "text",
822
+ b(R, {
824
823
  color: _.value,
825
- onClick: d[1] || (d[1] = (L) => h.value = !1)
824
+ variant: "text",
825
+ onClick: V[1] || (V[1] = (M) => d.value = !1)
826
826
  }, {
827
827
  default: g(() => [
828
- I(R(p.value), 1)
828
+ L(S(s.value), 1)
829
829
  ]),
830
830
  _: 1
831
831
  }, 8, ["color"]),
832
- y(oe, {
833
- disabled: !q.value,
834
- variant: "text",
835
- color: x.value,
836
- type: "submit"
832
+ b(R, {
833
+ color: w.value,
834
+ disabled: !j.value,
835
+ type: "submit",
836
+ variant: "text"
837
837
  }, {
838
838
  default: g(() => [
839
- I(R(f.value), 1)
839
+ L(S(D.value), 1)
840
840
  ]),
841
841
  _: 1
842
- }, 8, ["disabled", "color"])
842
+ }, 8, ["color", "disabled"])
843
843
  ]),
844
844
  _: 1
845
845
  })
@@ -854,10 +854,10 @@ const at = /* @__PURE__ */ B({
854
854
  }, 8, ["modelValue"]);
855
855
  };
856
856
  }
857
- }), _t = { class: "mx-auto my-auto" }, dt = { class: "w-100 h-100 d-flex align-center justify-center" }, it = { class: "text-body-1" }, ft = /* @__PURE__ */ B({
857
+ }), _t = { class: "mx-auto my-auto" }, dt = { class: "w-100 h-100 d-flex align-center justify-center" }, it = { class: "text-body-1" }, ft = /* @__PURE__ */ I({
858
858
  __name: "index",
859
859
  setup(e) {
860
- const { t } = G(), a = i(""), o = (c) => {
860
+ const { t } = G(), a = p(""), o = (c) => {
861
861
  const n = c;
862
862
  a.value = n.text ?? t("dlg.common.waiting"), r.value = !0;
863
863
  }, l = () => {
@@ -868,25 +868,25 @@ const at = /* @__PURE__ */ B({
868
868
  }), K(() => {
869
869
  u.off("closeWaitDlg", l);
870
870
  }), (c, n) => {
871
- const _ = m("v-card"), p = m("v-dialog");
872
- return C(), T(p, {
871
+ const _ = v("v-card"), s = v("v-dialog");
872
+ return q(), T(s, {
873
873
  modelValue: A(r),
874
- "onUpdate:modelValue": n[0] || (n[0] = (x) => N(r) ? r.value = x : null),
875
- persistent: "",
876
- "no-click-animation": "",
874
+ "onUpdate:modelValue": n[0] || (n[0] = (w) => N(r) ? r.value = w : null),
875
+ attach: "",
877
876
  fullscreen: "",
878
- attach: ""
877
+ "no-click-animation": "",
878
+ persistent: ""
879
879
  }, {
880
880
  default: g(() => [
881
- w("div", _t, [
882
- y(_, {
883
- width: "300px",
881
+ k("div", _t, [
882
+ b(_, {
884
883
  height: "80px",
885
- loading: ""
884
+ loading: "",
885
+ width: "300px"
886
886
  }, {
887
887
  default: g(() => [
888
- w("div", dt, [
889
- w("span", it, R(a.value), 1)
888
+ k("div", dt, [
889
+ k("span", it, S(a.value), 1)
890
890
  ])
891
891
  ]),
892
892
  _: 1
@@ -921,9 +921,9 @@ export {
921
921
  u as eventBus,
922
922
  Dt as globalObjects,
923
923
  me as hasView,
924
- Mt as injectDark,
924
+ Bt as injectDark,
925
925
  Et as injectLastAppPath,
926
- Bt as injectLocale,
926
+ It as injectLocale,
927
927
  At as injectPermissionChecksum,
928
928
  Xe as injectPermissionObjects,
929
929
  Ge as injectViews,
@@ -934,11 +934,11 @@ export {
934
934
  H as matchRouteMeta,
935
935
  Ot as messageError,
936
936
  Tt as messageInfo,
937
- It as messageSuccess,
938
- Lt as messageWarning,
937
+ Lt as messageSuccess,
938
+ Mt as messageWarning,
939
939
  Ut as onBeforeEach,
940
940
  Ct as openConfirmDlg,
941
- qt as openNumberDlog,
941
+ qt as openNumberDlg,
942
942
  jt as openPromptDlg,
943
943
  Rt as openWaitDlg,
944
944
  tt as popView,
@@ -948,7 +948,7 @@ export {
948
948
  ze as providePermissionChecksum,
949
949
  Ne as providePermissionObjects,
950
950
  Fe as provideViews,
951
- Y as routeTransName,
951
+ Z as routeTransName,
952
952
  Oe as useColor,
953
953
  Wt as useMicroApp,
954
954
  Nt as usePermission,
@@ -10,13 +10,14 @@ interface ConfirmParams {
10
10
  }
11
11
  export declare function openConfirmDlg(params: ConfirmParams): Promise<boolean | undefined>;
12
12
  interface NumberParams {
13
+ title: string;
13
14
  value: number;
14
15
  precision?: number;
15
16
  min?: number;
16
17
  max?: number;
17
18
  step?: number;
18
19
  }
19
- export declare function openNumberDlog(params: NumberParams): Promise<number | undefined>;
20
+ export declare function openNumberDlg(params: NumberParams): Promise<number | undefined>;
20
21
  interface PromptParams {
21
22
  title: string;
22
23
  text?: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.8.20",
4
+ "version": "0.8.22",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -27,16 +27,16 @@
27
27
  "js-cookie": "^3.0.5",
28
28
  "mitt": "^3.0.1",
29
29
  "vue": "^3.5.17",
30
- "vue-i18n": "^11.1.9",
30
+ "vue-i18n": "^11.1.10",
31
31
  "vue-router": "^4.5.1",
32
32
  "vuetify": "^3.9.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@eslint/js": "^9.30.1",
35
+ "@eslint/js": "^9.31.0",
36
36
  "@types/js-cookie": "^3.0.6",
37
- "@types/node": "^24.0.12",
37
+ "@types/node": "^24.0.14",
38
38
  "@vitejs/plugin-vue": "^6.0.0",
39
- "eslint": "^9.30.1",
39
+ "eslint": "^9.31.0",
40
40
  "eslint-config-prettier": "^10.1.5",
41
41
  "eslint-plugin-prettier": "^5.5.1",
42
42
  "eslint-plugin-vue": "^10.3.0",
@@ -46,8 +46,8 @@
46
46
  "prettier": "3.6.2",
47
47
  "sass": "^1.89.2",
48
48
  "typescript": "^5.8.3",
49
- "typescript-eslint": "^8.36.0",
50
- "vite": "^7.0.3",
49
+ "typescript-eslint": "^8.37.0",
50
+ "vite": "^7.0.4",
51
51
  "vite-plugin-css-injected-by-js": "^3.5.2",
52
52
  "vite-plugin-vuetify": "^2.1.1",
53
53
  "vue-eslint-parser": "^10.2.0",