x-essential-lib 0.7.14 → 0.7.15

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,5 +1,5 @@
1
1
  interface Props {
2
2
  zIndex?: number;
3
3
  }
4
- declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
4
+ declare const _default: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
5
5
  export default _default;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
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-4a0b025f]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-4a0b025f]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-4a0b025f]{transform-origin:20px 20px;animation:lds-spinner-4a0b025f 1.2s linear infinite}.lds-spinner div[data-v-4a0b025f]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-4a0b025f]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-4a0b025f]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-4a0b025f]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-4a0b025f]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-4a0b025f]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-4a0b025f]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-4a0b025f]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-4a0b025f]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-4a0b025f]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-4a0b025f]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-4a0b025f]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-4a0b025f]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-4a0b025f{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-8fd5d800]{position:absolute;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { computed as y, provide as O, inject as I, ref as f, getCurrentScope as xe, onScopeDispose as be, unref as H, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as E, resolveComponent as h, openBlock as C, createBlock as q, isRef as J, withKeys as F, withModifiers as $, withCtx as w, createVNode as b, createTextVNode as V, toDisplayString as R, createElementVNode as v, normalizeStyle as re, createCommentVNode as le, createElementBlock as ae, Fragment as De, renderList as Me, useTemplateRef as Se } from "vue";
3
- import { useI18n as Y } from "vue-i18n";
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-8062fa97]{position:absolute;top:0;left:0;bottom:0;right:0;display:flex;align-items:center;justify-content:center}.lds-spinner[data-v-8062fa97]{color:official;display:inline-block;position:relative;width:40px;height:40px}.lds-spinner div[data-v-8062fa97]{transform-origin:20px 20px;animation:lds-spinner-8062fa97 1.2s linear infinite}.lds-spinner div[data-v-8062fa97]:after{content:" ";display:block;position:absolute;top:3px;left:18px;width:2px;height:6px;border-radius:5%;background:#9e9e9e}.lds-spinner div[data-v-8062fa97]:nth-child(1){transform:rotate(0);animation-delay:-1.1s}.lds-spinner div[data-v-8062fa97]:nth-child(2){transform:rotate(30deg);animation-delay:-1s}.lds-spinner div[data-v-8062fa97]:nth-child(3){transform:rotate(60deg);animation-delay:-.9s}.lds-spinner div[data-v-8062fa97]:nth-child(4){transform:rotate(90deg);animation-delay:-.8s}.lds-spinner div[data-v-8062fa97]:nth-child(5){transform:rotate(120deg);animation-delay:-.7s}.lds-spinner div[data-v-8062fa97]:nth-child(6){transform:rotate(150deg);animation-delay:-.6s}.lds-spinner div[data-v-8062fa97]:nth-child(7){transform:rotate(180deg);animation-delay:-.5s}.lds-spinner div[data-v-8062fa97]:nth-child(8){transform:rotate(210deg);animation-delay:-.4s}.lds-spinner div[data-v-8062fa97]:nth-child(9){transform:rotate(240deg);animation-delay:-.3s}.lds-spinner div[data-v-8062fa97]:nth-child(10){transform:rotate(270deg);animation-delay:-.2s}.lds-spinner div[data-v-8062fa97]:nth-child(11){transform:rotate(300deg);animation-delay:-.1s}.lds-spinner div[data-v-8062fa97]:nth-child(12){transform:rotate(330deg);animation-delay:0s}@keyframes lds-spinner-8062fa97{0%{opacity:1}to{opacity:0}}.x-item[data-v-d5cfe252]{width:600px}@media (max-width: 600px){.x-item[data-v-d5cfe252]{width:calc(100vw - 16px)}}.x-cont[data-v-8fd5d800]{position:absolute;left:50%;bottom:20px;transform:translate(-50%);z-index:9999}')),document.head.appendChild(a)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import { computed as y, provide as O, inject as I, ref as f, getCurrentScope as xe, onScopeDispose as be, unref as H, watchEffect as ke, getCurrentInstance as Ce, onMounted as T, watch as N, onBeforeUnmount as W, onBeforeMount as Le, defineComponent as E, resolveComponent as h, openBlock as C, createBlock as q, isRef as Y, withKeys as F, withModifiers as $, withCtx as w, createVNode as b, createTextVNode as V, toDisplayString as R, createElementBlock as Q, normalizeStyle as re, createElementVNode as m, createCommentVNode as le, Fragment as De, renderList as Me, useTemplateRef as Se } from "vue";
3
+ import { useI18n as P } from "vue-i18n";
4
4
  import { useTheme as ce, useDisplay as je } from "vuetify";
5
5
  import { useRouter as ue, useRoute as Re } from "vue-router";
6
6
  import qe from "axios";
@@ -36,7 +36,7 @@ var Ae = {
36
36
  );
37
37
  }
38
38
  };
39
- function Q(e, t) {
39
+ function J(e, t) {
40
40
  function a(n, l, c) {
41
41
  if (!(typeof document > "u")) {
42
42
  c = X({}, t, c), typeof c.expires == "number" && (c.expires = new Date(Date.now() + c.expires * 864e5)), c.expires && (c.expires = c.expires.toUTCString()), n = encodeURIComponent(n).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
@@ -74,10 +74,10 @@ function Q(e, t) {
74
74
  );
75
75
  },
76
76
  withAttributes: function(n) {
77
- return Q(this.converter, X({}, this.attributes, n));
77
+ return J(this.converter, X({}, this.attributes, n));
78
78
  },
79
79
  withConverter: function(n) {
80
- return Q(X({}, this.converter, n), this.attributes);
80
+ return J(X({}, this.converter, n), this.attributes);
81
81
  }
82
82
  },
83
83
  {
@@ -86,7 +86,7 @@ function Q(e, t) {
86
86
  }
87
87
  );
88
88
  }
89
- var A = Q(Ae, { path: "/" });
89
+ var A = J(Ae, { path: "/" });
90
90
  function Et(e) {
91
91
  const t = qe.create({
92
92
  timeout: 6e3
@@ -146,7 +146,7 @@ async function Bt(e) {
146
146
  setTimeout(t, e);
147
147
  });
148
148
  }
149
- async function P(e, t, a) {
149
+ async function ee(e, t, a) {
150
150
  const o = Date.now();
151
151
  return new Promise((n) => {
152
152
  const l = async () => {
@@ -177,7 +177,7 @@ async function Ut(e) {
177
177
  const o = (l) => {
178
178
  a = l, t = !0;
179
179
  }, n = pe();
180
- return s.on("confirmDlgResult" + n, o), s.emit("confirmDlg", { ...e, seq: n }), await P(() => t), s.off("confirmDlgResult" + n, o), a;
180
+ return s.on("confirmDlgResult" + n, o), s.emit("confirmDlg", { ...e, seq: n }), await ee(() => t), s.off("confirmDlgResult" + n, o), a;
181
181
  }
182
182
  async function Wt(e) {
183
183
  if (!se())
@@ -186,7 +186,7 @@ async function Wt(e) {
186
186
  const o = (l) => {
187
187
  a = l, t = !0;
188
188
  }, n = pe();
189
- return s.on("promptDlgResult" + n, o), s.emit("promptDlg", { ...e, seq: n }), await P(() => t), s.off("promptDlgResult" + n, o), a;
189
+ return s.on("promptDlgResult" + n, o), s.emit("promptDlg", { ...e, seq: n }), await ee(() => t), s.off("promptDlgResult" + n, o), a;
190
190
  }
191
191
  function $t(e) {
192
192
  s.emit("openWaitDlg", { text: e });
@@ -512,10 +512,10 @@ function ea(e, t, a, o, n, l) {
512
512
  );
513
513
  const g = (p) => {
514
514
  if (p.key === "Escape") {
515
- m();
515
+ v();
516
516
  return;
517
517
  }
518
- }, m = () => {
518
+ }, v = () => {
519
519
  var x;
520
520
  if (!tt(l)) {
521
521
  me(l, "waitDlg") || nt(l);
@@ -530,9 +530,9 @@ function ea(e, t, a, o, n, l) {
530
530
  ) : r.back();
531
531
  };
532
532
  T(() => {
533
- window.addEventListener("keydown", g), s.on("backbutton", m);
533
+ window.addEventListener("keydown", g), s.on("backbutton", v);
534
534
  }), W(() => {
535
- window.removeEventListener("keydown", g), s.off("backbutton", m);
535
+ window.removeEventListener("keydown", g), s.off("backbutton", v);
536
536
  });
537
537
  const L = (p) => {
538
538
  e.value = p;
@@ -565,7 +565,7 @@ function aa() {
565
565
  const e = y(() => !!window.cordova), t = je(), a = y(() => t.width.value <= 1280 ? t.width.value + "px" : t.width.value <= 1920 ? 1920 / 2.5 + "px" : 2560 / 2.5 + "px");
566
566
  return { sysBarAvail: e, compactWidth: a };
567
567
  }
568
- function ee(e, t) {
568
+ function te(e, t) {
569
569
  const a = Je(), o = y({
570
570
  get() {
571
571
  return me(a, e);
@@ -585,26 +585,26 @@ function ee(e, t) {
585
585
  const dt = /* @__PURE__ */ E({
586
586
  __name: "index",
587
587
  setup(e) {
588
- const { t } = Y(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(""), r = f("");
588
+ const { t } = P(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(""), r = f("");
589
589
  let u = 0, _ = !1;
590
590
  const g = (k) => {
591
591
  var D, p, x, M;
592
592
  const i = k;
593
- a.value = i.title, o.value = i.text, n.value = ((D = i.cancel) == null ? void 0 : D.color) ?? "primary", l.value = ((p = i.cancel) == null ? void 0 : p.text) ?? t("dlg.common.cancel"), c.value = ((x = i.confirm) == null ? void 0 : x.color) ?? "primary", r.value = ((M = i.confirm) == null ? void 0 : M.text) ?? t("dlg.common.confirm"), u = i.seq, _ = !1, m.value = !0;
594
- }, { open: m } = ee("confirmDlg", g), L = () => {
595
- m.value = !1, _ || (s.emit("confirmDlgResult" + u, !0), _ = !0);
593
+ a.value = i.title, o.value = i.text, n.value = ((D = i.cancel) == null ? void 0 : D.color) ?? "primary", l.value = ((p = i.cancel) == null ? void 0 : p.text) ?? t("dlg.common.cancel"), c.value = ((x = i.confirm) == null ? void 0 : x.color) ?? "primary", r.value = ((M = i.confirm) == null ? void 0 : M.text) ?? t("dlg.common.confirm"), u = i.seq, _ = !1, v.value = !0;
594
+ }, { open: v } = te("confirmDlg", g), L = () => {
595
+ v.value = !1, _ || (s.emit("confirmDlgResult" + u, !0), _ = !0);
596
596
  };
597
- return N(m, (k) => {
597
+ return N(v, (k) => {
598
598
  !k && !_ && (s.emit("confirmDlgResult" + u, !1), _ = !0);
599
599
  }), (k, i) => {
600
600
  const D = h("v-card-text"), p = h("v-btn"), x = h("v-card-actions"), M = h("v-card"), d = h("v-dialog");
601
601
  return C(), q(d, {
602
- modelValue: H(m),
603
- "onUpdate:modelValue": i[1] || (i[1] = (j) => J(m) ? m.value = j : null),
602
+ modelValue: H(v),
603
+ "onUpdate:modelValue": i[1] || (i[1] = (j) => Y(v) ? v.value = j : null),
604
604
  transition: "dialog-top-transition",
605
605
  "max-width": "600px",
606
606
  onKeydown: [
607
- i[2] || (i[2] = F($((j) => m.value = !1, ["stop", "prevent"]), ["esc"])),
607
+ i[2] || (i[2] = F($((j) => v.value = !1, ["stop", "prevent"]), ["esc"])),
608
608
  F($(L, ["stop", "prevent"]), ["enter"])
609
609
  ]
610
610
  }, {
@@ -622,7 +622,7 @@ const dt = /* @__PURE__ */ E({
622
622
  b(p, {
623
623
  color: n.value,
624
624
  variant: "text",
625
- onClick: i[0] || (i[0] = (j) => m.value = !1)
625
+ onClick: i[0] || (i[0] = (j) => v.value = !1)
626
626
  }, {
627
627
  default: w(() => [
628
628
  V(R(l.value), 1)
@@ -660,40 +660,32 @@ const dt = /* @__PURE__ */ E({
660
660
  background: t.value,
661
661
  zIndex: e.zIndex
662
662
  }));
663
- return (o, n) => {
664
- const l = h("v-fade-transition");
665
- return C(), q(l, null, {
666
- default: w(() => [
667
- v("div", {
668
- class: "x-cont",
669
- style: re(a.value)
670
- }, n[0] || (n[0] = [
671
- v("div", { class: "lds-spinner" }, [
672
- v("div"),
673
- v("div"),
674
- v("div"),
675
- v("div"),
676
- v("div"),
677
- v("div"),
678
- v("div"),
679
- v("div"),
680
- v("div"),
681
- v("div"),
682
- v("div"),
683
- v("div")
684
- ], -1)
685
- ]), 4)
686
- ]),
687
- _: 1
688
- });
689
- };
663
+ return (o, n) => (C(), Q("div", {
664
+ class: "x-cont",
665
+ style: re(a.value)
666
+ }, n[0] || (n[0] = [
667
+ m("div", { class: "lds-spinner" }, [
668
+ m("div"),
669
+ m("div"),
670
+ m("div"),
671
+ m("div"),
672
+ m("div"),
673
+ m("div"),
674
+ m("div"),
675
+ m("div"),
676
+ m("div"),
677
+ m("div"),
678
+ m("div"),
679
+ m("div")
680
+ ], -1)
681
+ ]), 4));
690
682
  }
691
- }), te = (e, t) => {
683
+ }), ae = (e, t) => {
692
684
  const a = e.__vccOpts || e;
693
685
  for (const [o, n] of t)
694
686
  a[o] = n;
695
687
  return a;
696
- }, gt = /* @__PURE__ */ te(ft, [["__scopeId", "data-v-4a0b025f"]]);
688
+ }, gt = /* @__PURE__ */ ae(ft, [["__scopeId", "data-v-8062fa97"]]);
697
689
  var vt = "M13,13H11V7H13M13,17H11V15H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z", mt = "M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41 10.59L10 14.17L17.59 6.58L19 8L10 17Z", ht = "M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z", wt = "M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z", yt = "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";
698
690
  const xt = /* @__PURE__ */ E({
699
691
  __name: "item",
@@ -741,20 +733,20 @@ const xt = /* @__PURE__ */ E({
741
733
  class: "mx-1",
742
734
  icon: n.value
743
735
  }, null, 8, ["icon"])) : le("", !0),
744
- v("div", {
736
+ m("div", {
745
737
  style: re(o.value)
746
738
  }, R(a.text), 5),
747
739
  b(_, {
748
740
  class: "mx-1",
749
741
  icon: H(ht),
750
- onClick: u[0] || (u[0] = (m) => c("timeout", a.id))
742
+ onClick: u[0] || (u[0] = (v) => c("timeout", a.id))
751
743
  }, null, 8, ["icon"])
752
744
  ]),
753
745
  _: 1
754
746
  }, 8, ["color"]);
755
747
  };
756
748
  }
757
- }), bt = /* @__PURE__ */ te(xt, [["__scopeId", "data-v-d5cfe252"]]), kt = /* @__PURE__ */ E({
749
+ }), bt = /* @__PURE__ */ ae(xt, [["__scopeId", "data-v-d5cfe252"]]), kt = /* @__PURE__ */ E({
758
750
  __name: "index",
759
751
  setup(e) {
760
752
  const t = f([]);
@@ -777,12 +769,12 @@ const xt = /* @__PURE__ */ E({
777
769
  const u = t.value.findIndex((_) => _.id === r);
778
770
  u >= 0 && t.value.splice(u, 1);
779
771
  };
780
- return (r, u) => (C(), ae("div", {
772
+ return (r, u) => (C(), Q("div", {
781
773
  class: "x-cont d-flex flex-column-reverse align-center",
782
774
  onClick: u[0] || (u[0] = $(() => {
783
775
  }, ["stop"]))
784
776
  }, [
785
- (C(!0), ae(De, null, Me(t.value, (_) => (C(), q(bt, {
777
+ (C(!0), Q(De, null, Me(t.value, (_) => (C(), q(bt, {
786
778
  id: _.id,
787
779
  key: _.id,
788
780
  type: _.type,
@@ -792,16 +784,16 @@ const xt = /* @__PURE__ */ E({
792
784
  }, null, 8, ["id", "type", "text", "timeout"]))), 128))
793
785
  ]));
794
786
  }
795
- }), Ct = /* @__PURE__ */ te(kt, [["__scopeId", "data-v-8fd5d800"]]), Lt = /* @__PURE__ */ E({
787
+ }), Ct = /* @__PURE__ */ ae(kt, [["__scopeId", "data-v-8fd5d800"]]), Lt = /* @__PURE__ */ E({
796
788
  __name: "index",
797
789
  setup(e) {
798
- const { t } = Y(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(), r = f(""), u = f(""), _ = f(""), g = f(""), m = f(""), L = Se("target");
790
+ const { t } = P(), a = f(""), o = f(""), n = f(""), l = f(""), c = f(), r = f(""), u = f(""), _ = f(""), g = f(""), v = f(""), L = Se("target");
799
791
  let k = 0, i = !1;
800
792
  const D = async (M) => {
801
793
  var j, K, z, B;
802
794
  const d = M;
803
- a.value = d.title, o.value = d.text, n.value = d.label, l.value = d.placeholder, c.value = d.rules, r.value = d.value, u.value = ((j = d.cancel) == null ? void 0 : j.color) ?? "primary", _.value = ((K = d.cancel) == null ? void 0 : K.text) ?? t("dlg.common.cancel"), g.value = ((z = d.confirm) == null ? void 0 : z.color) ?? "primary", m.value = ((B = d.confirm) == null ? void 0 : B.text) ?? t("dlg.common.confirm"), k = d.seq, i = !1, p.value = !0, await P(() => !!L.value), L.value.focus();
804
- }, { open: p } = ee("promptDlg", D), x = () => {
795
+ a.value = d.title, o.value = d.text, n.value = d.label, l.value = d.placeholder, c.value = d.rules, r.value = d.value, u.value = ((j = d.cancel) == null ? void 0 : j.color) ?? "primary", _.value = ((K = d.cancel) == null ? void 0 : K.text) ?? t("dlg.common.cancel"), g.value = ((z = d.confirm) == null ? void 0 : z.color) ?? "primary", v.value = ((B = d.confirm) == null ? void 0 : B.text) ?? t("dlg.common.confirm"), k = d.seq, i = !1, p.value = !0, await ee(() => !!L.value), L.value.focus();
796
+ }, { open: p } = te("promptDlg", D), x = () => {
805
797
  p.value = !1, i || (s.emit("promptDlgResult" + k, r.value ?? ""), i = !0);
806
798
  };
807
799
  return N(p, (M) => {
@@ -810,7 +802,7 @@ const xt = /* @__PURE__ */ E({
810
802
  const j = h("v-card-text"), K = h("v-text-field"), z = h("v-form"), B = h("v-btn"), he = h("v-card-actions"), we = h("v-card"), ye = h("v-dialog");
811
803
  return C(), q(ye, {
812
804
  modelValue: H(p),
813
- "onUpdate:modelValue": d[2] || (d[2] = (U) => J(p) ? p.value = U : null),
805
+ "onUpdate:modelValue": d[2] || (d[2] = (U) => Y(p) ? p.value = U : null),
814
806
  transition: "dialog-top-transition",
815
807
  "max-width": "600px",
816
808
  onKeydown: [
@@ -859,7 +851,7 @@ const xt = /* @__PURE__ */ E({
859
851
  onClick: x
860
852
  }, {
861
853
  default: w(() => [
862
- V(R(m.value), 1)
854
+ V(R(v.value), 1)
863
855
  ]),
864
856
  _: 1
865
857
  }, 8, ["color"])
@@ -877,12 +869,12 @@ const xt = /* @__PURE__ */ E({
877
869
  }), Dt = { class: "mx-auto my-auto" }, Mt = { class: "w-100 h-100 d-flex align-center justify-center" }, St = { class: "text-body-1" }, jt = /* @__PURE__ */ E({
878
870
  __name: "index",
879
871
  setup(e) {
880
- const { t } = Y(), a = f(""), o = (c) => {
872
+ const { t } = P(), a = f(""), o = (c) => {
881
873
  const r = c;
882
874
  a.value = r.text ?? t("dlg.common.waiting"), l.value = !0;
883
875
  }, n = () => {
884
876
  l.value = !1;
885
- }, { open: l } = ee("waitDlg", o);
877
+ }, { open: l } = te("waitDlg", o);
886
878
  return T(() => {
887
879
  s.on("closeWaitDlg", n);
888
880
  }), W(() => {
@@ -891,21 +883,21 @@ const xt = /* @__PURE__ */ E({
891
883
  const u = h("v-card"), _ = h("v-dialog");
892
884
  return C(), q(_, {
893
885
  modelValue: H(l),
894
- "onUpdate:modelValue": r[0] || (r[0] = (g) => J(l) ? l.value = g : null),
886
+ "onUpdate:modelValue": r[0] || (r[0] = (g) => Y(l) ? l.value = g : null),
895
887
  persistent: "",
896
888
  "no-click-animation": "",
897
889
  fullscreen: ""
898
890
  }, {
899
891
  default: w(() => [
900
- v("div", Dt, [
892
+ m("div", Dt, [
901
893
  b(u, {
902
894
  width: "300px",
903
895
  height: "80px",
904
896
  loading: ""
905
897
  }, {
906
898
  default: w(() => [
907
- v("div", Mt, [
908
- v("span", St, R(a.value), 1)
899
+ m("div", Mt, [
900
+ m("span", St, R(a.value), 1)
909
901
  ])
910
902
  ]),
911
903
  _: 1
@@ -977,8 +969,8 @@ export {
977
969
  ea as useMicroApp,
978
970
  ta as usePermission,
979
971
  aa as useSystem,
980
- ee as useViewStack,
972
+ te as useViewStack,
981
973
  Ke as verifyPermission,
982
974
  Bt as waitMs,
983
- P as waitUtil
975
+ ee as waitUtil
984
976
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-essential-lib",
3
3
  "private": false,
4
- "version": "0.7.14",
4
+ "version": "0.7.15",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",