hs-admin-ui 16.5.5 → 16.5.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -57052,20 +57052,43 @@ function fXe(e, t, n) {
57052
57052
  Sl.value = "";
57053
57053
  let s, c, u, h, f = () => {
57054
57054
  };
57055
- const m = {
57055
+ function m() {
57056
+ h && (h(), h = null, s = null, u !== null && (clearTimeout(u), u = null), c && (c(), c = null), T && (T = null), typeof (n == null ? void 0 : n.onHide) == "function" && n.onHide({ type: "hide" }), f = () => {
57057
+ }, n = {});
57058
+ }
57059
+ async function v(k) {
57060
+ typeof n.success == "function" && n.success({ type: k, data: k }), m();
57061
+ }
57062
+ function _(k) {
57063
+ var A;
57064
+ f = ((A = k.component.exposed) == null ? void 0 : A.getData) || (() => {
57065
+ }), k.component;
57066
+ }
57067
+ async function y(k) {
57068
+ const A = await f();
57069
+ typeof n.success == "function" && n.success({
57070
+ type: k,
57071
+ data: A,
57072
+ close: () => m()
57073
+ });
57074
+ }
57075
+ function E(k) {
57076
+ typeof n.onReady == "function" && n.onReady(k);
57077
+ }
57078
+ let T = {
57056
57079
  ...n.slots,
57057
57080
  title: ((I = n.slots) == null ? void 0 : I.title) || (() => n.title),
57058
57081
  default: () => w(
57059
57082
  YKe,
57060
57083
  {
57061
- onSuccess: T,
57084
+ onSuccess: y,
57062
57085
  showFooter: n.showFooter,
57063
57086
  closeLoading: n.closeLoading,
57064
57087
  confirmButtonText: n.confirmButtonText,
57065
57088
  cancelButtonText: n.cancelButtonText
57066
57089
  },
57067
57090
  {
57068
- default: () => w(e, { ...t, onVnodeMounted: E, onReady: C, close: y })
57091
+ default: () => w(e, { ...t, onVnodeMounted: _, onReady: E, close: v })
57069
57092
  }
57070
57093
  )
57071
57094
  };
@@ -57076,20 +57099,21 @@ function fXe(e, t, n) {
57076
57099
  className: `custom-popup ${i} `.concat((n == null ? void 0 : n.className) || ""),
57077
57100
  modelValue: !0,
57078
57101
  onHide(k) {
57079
- _(), typeof (n == null ? void 0 : n.onHide) == "function" && n.onHide(k);
57102
+ m();
57080
57103
  },
57081
- slots: m
57104
+ slots: T
57082
57105
  })
57083
57106
  ), qM && (s.appContext = qM), c = wt(() => {
57084
57107
  var k;
57085
57108
  return (k = bte.value) == null ? void 0 : k.value.path;
57086
- }, _);
57087
- function v() {
57109
+ }, m);
57110
+ function C() {
57088
57111
  SS.value++;
57089
57112
  const k = document.createDocumentFragment();
57090
57113
  return Nh(s, k), document.body.appendChild(k), u = setTimeout(() => {
57091
57114
  if (!Qt.isEmpty(n == null ? void 0 : n.position)) {
57092
57115
  const A = n.position, N = document.querySelector(`.${i} .vxe-modal--box`);
57116
+ if (!N) return;
57093
57117
  if (/%/.test(A == null ? void 0 : A.top) || /%/.test(A == null ? void 0 : A.left)) {
57094
57118
  /%/.test(A == null ? void 0 : A.top) && (N.style.top = `${A.top}`), /%/.test(A == null ? void 0 : A.left) && (N.style.top = `${A.left}`);
57095
57119
  return;
@@ -57097,33 +57121,10 @@ function fXe(e, t, n) {
57097
57121
  (A == null ? void 0 : A.top) > -1 && (N.style.top = `${A.top}px`), (A == null ? void 0 : A.left) > -1 && (N.style.left = `${A.left}px`);
57098
57122
  }
57099
57123
  }, 100), () => {
57100
- SS.value--, Sl.value = a, Nh(null, k), clearTimeout(u);
57124
+ SS.value--, Sl.value = a, Nh(null, k);
57101
57125
  };
57102
57126
  }
57103
- h = v();
57104
- function _() {
57105
- h && (u !== null && (clearTimeout(u), u = null), c && (c(), c = null), h(), h = null, f = () => {
57106
- }, s = null, n = {});
57107
- }
57108
- async function y(k) {
57109
- _(), typeof n.success == "function" && n.success({ type: k, data: k });
57110
- }
57111
- function E(k) {
57112
- var A;
57113
- f = (A = k.component.exposed) == null ? void 0 : A.getData;
57114
- }
57115
- async function T(k) {
57116
- const A = await f();
57117
- typeof n.success == "function" && n.success({
57118
- type: k,
57119
- data: A,
57120
- close: _
57121
- });
57122
- }
57123
- function C(k) {
57124
- typeof n.onReady == "function" && n.onReady(k);
57125
- }
57126
- return h;
57127
+ return h = C(), m;
57127
57128
  }
57128
57129
  const int = {
57129
57130
  install(e, t) {
@@ -1,4 +1,4 @@
1
- import { bw as ge, ed as i, ee as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
1
+ import { bw as ge, ed as i, ee as qi } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
2
2
  import { watch as Dt, reactive as wl, nextTick as fe, h as g, defineComponent as Ko, ref as je, inject as Lo, createCommentVNode as lt, onMounted as Jl, onUnmounted as en, provide as Ql, TransitionGroup as Bn, computed as Pe, Teleport as Xi, onActivated as ic, onDeactivated as ac, onBeforeUnmount as cc, resolveComponent as dc } from "vue";
3
3
  function vt(e) {
4
4
  return e && e.enabled !== !1;
@@ -1,9 +1,9 @@
1
- import { aS as r, bp as u, bq as l, br as m, H as E, aQ as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
2
- import { W as N, bt as i, bu as s, bv as M } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
3
- import "./index-CQwYkv5s.js";
4
- import { q as t } from "./index-DLhiUQwv.js";
1
+ import { aS as r, bp as u, bq as l, br as m, H as E, aQ as c } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
2
+ import { W as N, bt as i, bu as s, bv as M } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
3
+ import "./index-DGFZj0Qt.js";
4
+ import { q as t } from "./index-Be5-_GBv.js";
5
5
  import "vue";
6
- import { i as A } from "./index-xLgkWCbM.js";
6
+ import { i as A } from "./index-B_qXwgR_.js";
7
7
  function _(a, e) {
8
8
  r.value = e == null ? void 0 : e.NEXT_NAME, u.value = e == null ? void 0 : e.IS_DEV, l.value = e == null ? void 0 : e.currentRoute, m.value = e == null ? void 0 : e.currentRouter, E.has(a, "_context.directives.loading") || a.directive("loading", c.directive), a.use(t);
9
9
  }
package/dist/h5.mjs CHANGED
@@ -1,6 +1,6 @@
1
- import { h as G, g as Q, E as Y, a as f, f as K, d as W } from "./index-CQwYkv5s.js";
1
+ import { h as G, g as Q, E as Y, a as f, f as K, d as W } from "./index-DGFZj0Qt.js";
2
2
  import { defineComponent as B, shallowRef as X, reactive as O, computed as F, watch as J, resolveComponent as Z, resolveDirective as ee, withDirectives as ae, createElementBlock as M, openBlock as V, createElementVNode as p, createBlock as A, createCommentVNode as te, createVNode as n, unref as e, withCtx as d, createTextVNode as L, ref as x, onMounted as le, onUnmounted as ne, toDisplayString as N, Fragment as oe, renderList as re } from "vue";
3
- import { by as T, H, Q as se, a3 as j, E as de, bE as ie, aO as v, bF as P, aj as ue, K as pe, R, aQ as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
3
+ import { by as T, H, Q as se, a3 as j, E as de, bE as ie, aO as v, bF as P, aj as ue, K as pe, R, aQ as ce } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
4
4
  const me = { class: "upload-wrapper" }, ge = { class: "upload-wrapper-inner" }, fe = /* @__PURE__ */ B({
5
5
  __name: "Upload",
6
6
  props: {
@@ -1,4 +1,4 @@
1
- import { R as v, X as F, H as h, aw as P, J as L, ef as U, Q as S, eg as ne, eh as C, ei as b, aa as R, T as le, bD as re, ap as oe, ae as D, aj as se, bq as ie, br as ue, ej as ce, W as de, bt as fe, bu as ge, bp as me, ek as pe, aS as ye, aR as be, el as he, em as ve, en as _e, eo as xe, ep as we, eq as De, er as Ce, es as Ee, et as Se, am as Ae, Z as Ne, L as Te, eu as Be, ev as Fe, a4 as Pe, ew as Me, ex as je, ey as Ie, ez as Le, eA as Re, K as Oe, eB as Ye, eC as $e, eD as ke, eE as Ke, eF as Ue, eG as He, eH as qe, eI as We, bv as Je, eJ as ze, eK as Qe, ac as Ze, eL as Xe, eM as Ge, eN as Ve, eO as et, eP as tt, V as at, al as nt, S as lt, eQ as rt, eR as ot, an as st, eS as it, eT as ut, at as ct, eU as dt, eV as ft, eW as gt, eX as mt, eY as pt, eZ as yt, e_ as bt, e$ as ht, f0 as vt, f1 as _t, f2 as xt, f3 as wt, f4 as Dt, f5 as Ct, f6 as Et, f7 as St, f8 as At, f9 as Nt, fa as Tt, fb as Bt, fc as Ft, fd as Pt, fe as Mt, ff as jt, fg as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
1
+ import { R as v, X as F, H as h, aw as P, J as L, ef as U, Q as S, eg as ne, eh as C, ei as b, aa as R, T as le, bD as re, ap as oe, ae as D, aj as se, bq as ie, br as ue, ej as ce, W as de, bt as fe, bu as ge, bp as me, ek as pe, aS as ye, aR as be, el as he, em as ve, en as _e, eo as xe, ep as we, eq as De, er as Ce, es as Ee, et as Se, am as Ae, Z as Ne, L as Te, eu as Be, ev as Fe, a4 as Pe, ew as Me, ex as je, ey as Ie, ez as Le, eA as Re, K as Oe, eB as Ye, eC as $e, eD as ke, eE as Ke, eF as Ue, eG as He, eH as qe, eI as We, bv as Je, eJ as ze, eK as Qe, ac as Ze, eL as Xe, eM as Ge, eN as Ve, eO as et, eP as tt, V as at, al as nt, S as lt, eQ as rt, eR as ot, an as st, eS as it, eT as ut, at as ct, eU as dt, eV as ft, eW as gt, eX as mt, eY as pt, eZ as yt, e_ as bt, e$ as ht, f0 as vt, f1 as _t, f2 as xt, f3 as wt, f4 as Dt, f5 as Ct, f6 as Et, f7 as St, f8 as At, f9 as Nt, fa as Tt, fb as Bt, fc as Ft, fd as Pt, fe as Mt, ff as jt, fg as It } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
2
2
  import { ref as Lt, onBeforeUnmount as Rt, nextTick as Ot } from "vue";
3
3
  function Yt(t, e) {
4
4
  const l = M(t), a = M(e);
@@ -1,6 +1,6 @@
1
1
  import { getCurrentInstance as me, computed as _, watch as pe, onMounted as at, unref as l, shallowRef as Xt, ref as L, onBeforeUnmount as zt, onBeforeMount as Xr, provide as rt, isVNode as Pc, defineComponent as H, watchEffect as kn, createElementBlock as K, openBlock as $, normalizeStyle as Re, normalizeClass as O, createElementVNode as Y, renderSlot as ee, useSlots as Qt, createBlock as q, Transition as Dn, withCtx as Z, withDirectives as Ye, createCommentVNode as te, resolveDynamicComponent as ge, createTextVNode as st, toDisplayString as we, Fragment as xe, createVNode as X, vShow as dt, inject as Ie, cloneVNode as Dv, Text as Rv, Comment as Dc, mergeProps as _t, toRef as gt, Teleport as Av, readonly as Rc, onDeactivated as Bv, useAttrs as pa, withKeys as mt, withModifiers as Le, createSlots as Zn, renderList as Qe, nextTick as Ve, normalizeProps as za, guardReactiveProps as Ka, reactive as $t, onUnmounted as rl, toRaw as Uo, isRef as ca, vModelCheckbox as Wl, toRefs as $n, h as se, resolveComponent as qe, onBeforeUpdate as xv, vModelText as Zr, toHandlers as Lv, markRaw as Fo, effectScope as Vv, onUpdated as il, resolveDirective as ss, toHandlerKey as Fv, onActivated as zv, render as eu } from "vue";
2
- import { l as It, bG as Kv, bH as Ea, bI as Hv, bJ as Wv, bK as Ac, bL as jv, bM as Bc, bN as xc, bO as Yv, bP as Lc, bQ as Jr, G as Vt, bR as Uv, bS as Vc, bT as jl, bU as Gv, bV as qv, bW as tu, bX as Xv, bY as Fc, bZ as Qr, b_ as zc, b$ as Zv, c0 as Jv, e as ot, o as St, j as Go, r as po, c1 as va, d as oe, c2 as Kt, c3 as sr, c4 as Qv, c5 as eh, c6 as Kc, b as ke, a as Ze, c7 as ul, c8 as yt, _ as Ce, u as ve, c9 as th, ca as nu, f as Rn, t as an, cb as Hc, k as Gt, w as Ge, cc as ei, cd as Wc, E as Me, ce as nh, cf as qo, cg as bt, z as Ot, ch as jc, ci as $a, cj as cn, ck as yn, cl as rs, cm as Xo, cn as is, co as Ne, v as We, cp as ti, cq as An, cr as dn, cs as Ue, ct as Yc, cu as Oa, aO as nn, cv as To, cw as Uc, cx as ah, i as Ct, h as nt, s as Bt, cy as ha, cz as ma, cA as Cn, cB as vo, cC as cl, cD as on, cE as dl, cF as En, cG as us, cH as Zt, cI as Gc, cJ as oh, cK as lh, cL as ni, cM as ga, p as Rt, bz as qc, by as qt, A as At, cN as Ta, F as hn, cO as Yl, cP as ba, cQ as io, cR as ho, cS as ai, cT as sh, cU as oi, cV as Pl, cW as Xc, c as cs, cX as Ha, cY as li, cZ as rr, c_ as rh, B as Ft, n as Kn, c$ as ds, d0 as ih, d1 as In, d2 as Na, d3 as Ma, d4 as uh, d5 as Zc, d6 as ch, d7 as Jc, d8 as dh, d9 as fh, da as Qc, db as Ul, dc as ed, dd as ph, de as vh, df as hh, dg as mh, dh as gh, di as bh, dj as yh, dk as wh, dl as td, dm as Dl, dn as ua, dp as zn, dq as Ch, dr as kh, ds as nd, dt as au, du as Ds, dv as ad, ak as ou, dw as Sh, dx as $h, dy as lu, dz as _h, dA as Cl, dB as Eh, dC as Th, dD as Nh, dE as Mh, dF as Ih, dG as Oh, dH as Ph, dI as od, dJ as Dh, dK as Rh, dL as Ah, dM as Bh, dN as su, dO as xh, dP as ld, dQ as Lh, dR as Vh, dS as ru, dT as Fh, dU as iu, dV as zh, dW as sd, H as Ee, bx as Kh, bA as Hh, bo as Wh, dX as jh, dY as Yh, a3 as Uh } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
3
- import { i as fs, j as Gh, S as rd, k as id, l as ud, m as cd, n as dd, o as qh, p as Xh, q as Zh, r as Jh, s as Qh, t as em, u as tm, v as nm, w as Rs, x as fd, y as am, z as om, g as ta, A as fn, d as pd, B as vd, c as Mn, C as lm, E as sm, a as rm, b as im, e as um, f as cm, h as dm } from "./index-CQwYkv5s.js";
2
+ import { l as It, bG as Kv, bH as Ea, bI as Hv, bJ as Wv, bK as Ac, bL as jv, bM as Bc, bN as xc, bO as Yv, bP as Lc, bQ as Jr, G as Vt, bR as Uv, bS as Vc, bT as jl, bU as Gv, bV as qv, bW as tu, bX as Xv, bY as Fc, bZ as Qr, b_ as zc, b$ as Zv, c0 as Jv, e as ot, o as St, j as Go, r as po, c1 as va, d as oe, c2 as Kt, c3 as sr, c4 as Qv, c5 as eh, c6 as Kc, b as ke, a as Ze, c7 as ul, c8 as yt, _ as Ce, u as ve, c9 as th, ca as nu, f as Rn, t as an, cb as Hc, k as Gt, w as Ge, cc as ei, cd as Wc, E as Me, ce as nh, cf as qo, cg as bt, z as Ot, ch as jc, ci as $a, cj as cn, ck as yn, cl as rs, cm as Xo, cn as is, co as Ne, v as We, cp as ti, cq as An, cr as dn, cs as Ue, ct as Yc, cu as Oa, aO as nn, cv as To, cw as Uc, cx as ah, i as Ct, h as nt, s as Bt, cy as ha, cz as ma, cA as Cn, cB as vo, cC as cl, cD as on, cE as dl, cF as En, cG as us, cH as Zt, cI as Gc, cJ as oh, cK as lh, cL as ni, cM as ga, p as Rt, bz as qc, by as qt, A as At, cN as Ta, F as hn, cO as Yl, cP as ba, cQ as io, cR as ho, cS as ai, cT as sh, cU as oi, cV as Pl, cW as Xc, c as cs, cX as Ha, cY as li, cZ as rr, c_ as rh, B as Ft, n as Kn, c$ as ds, d0 as ih, d1 as In, d2 as Na, d3 as Ma, d4 as uh, d5 as Zc, d6 as ch, d7 as Jc, d8 as dh, d9 as fh, da as Qc, db as Ul, dc as ed, dd as ph, de as vh, df as hh, dg as mh, dh as gh, di as bh, dj as yh, dk as wh, dl as td, dm as Dl, dn as ua, dp as zn, dq as Ch, dr as kh, ds as nd, dt as au, du as Ds, dv as ad, ak as ou, dw as Sh, dx as $h, dy as lu, dz as _h, dA as Cl, dB as Eh, dC as Th, dD as Nh, dE as Mh, dF as Ih, dG as Oh, dH as Ph, dI as od, dJ as Dh, dK as Rh, dL as Ah, dM as Bh, dN as su, dO as xh, dP as ld, dQ as Lh, dR as Vh, dS as ru, dT as Fh, dU as iu, dV as zh, dW as sd, H as Ee, bx as Kh, bA as Hh, bo as Wh, dX as jh, dY as Yh, a3 as Uh } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
3
+ import { i as fs, j as Gh, S as rd, k as id, l as ud, m as cd, n as dd, o as qh, p as Xh, q as Zh, r as Jh, s as Qh, t as em, u as tm, v as nm, w as Rs, x as fd, y as am, z as om, g as ta, A as fn, d as pd, B as vd, c as Mn, C as lm, E as sm, a as rm, b as im, e as um, f as cm, h as dm } from "./index-DGFZj0Qt.js";
4
4
  const Wt = (e, t, { checkForDefaultPrevented: a = !0 } = {}) => (o) => {
5
5
  const s = e == null ? void 0 : e(o);
6
6
  if (a === !1 || !s)
@@ -1,5 +1,5 @@
1
1
  import { ref as C, computed as E, defineComponent as q, watch as ue, provide as je, reactive as Xe, toRefs as Tt, createElementBlock as I, openBlock as F, normalizeClass as T, unref as o, renderSlot as N, inject as ce, onMounted as Ye, onBeforeUnmount as Ze, onUpdated as Cr, createVNode as H, Fragment as At, nextTick as _e, useSlots as xn, createElementVNode as k, withCtx as D, createBlock as Z, createCommentVNode as B, resolveDynamicComponent as Ot, normalizeStyle as Q, createTextVNode as Ft, toDisplayString as de, TransitionGroup as xr, toRef as ot, Transition as qn, withDirectives as Pt, vShow as Bn, onActivated as In, withModifiers as ie, isRef as qr, vModelRadio as Br, renderList as Mn, withKeys as Ir, shallowRef as lt, createSlots as Kt, mergeProps as Xt } from "vue";
2
- import { dZ as Je, bU as ye, bH as Rt, bV as Nn, d_ as Mr, d$ as Nr, bX as kn, bN as Re, bO as Lt, e0 as Dn, bW as Un, bL as zn, bT as Se, e1 as jt, e2 as Ue, e3 as kr, e4 as Dr, e5 as Te, e6 as ze, bM as Wn, v as Ct, e as me, c2 as We, b as X, d as R, c as Ur, cg as oe, _ as te, cH as xt, u as J, dC as qt, o as Qe, cm as ut, t as Ce, A as zr, cq as Wr, e7 as Vn, f as Ve, dK as nt, w as xe, s as Bt, k as ft, l as Gn, a as ve, ck as Vr, z as Hn, c8 as Kn, cs as It, cD as Gr, cO as Yt, cu as qe, cQ as Xn, cF as Yn, cP as Zn, dF as Jn, e8 as Hr, cE as Qn, cS as Kr, cX as Xr, E as pe, cj as Yr, cf as K, B as ct, h as ea, e9 as ta, dh as ra, ea as na, eb as Zt, ec as aa, dQ as sa } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-DWP1QGza.js";
2
+ import { dZ as Je, bU as ye, bH as Rt, bV as Nn, d_ as Mr, d$ as Nr, bX as kn, bN as Re, bO as Lt, e0 as Dn, bW as Un, bL as zn, bT as Se, e1 as jt, e2 as Ue, e3 as kr, e4 as Dr, e5 as Te, e6 as ze, bM as Wn, v as Ct, e as me, c2 as We, b as X, d as R, c as Ur, cg as oe, _ as te, cH as xt, u as J, dC as qt, o as Qe, cm as ut, t as Ce, A as zr, cq as Wr, e7 as Vn, f as Ve, dK as nt, w as xe, s as Bt, k as ft, l as Gn, a as ve, ck as Vr, z as Hn, c8 as Kn, cs as It, cD as Gr, cO as Yt, cu as qe, cQ as Xn, cF as Yn, cP as Zn, dF as Jn, e8 as Hr, cE as Qn, cS as Kr, cX as Xr, E as pe, cj as Yr, cf as K, B as ct, h as ea, e9 as ta, dh as ra, ea as na, eb as Zt, ec as aa, dQ as sa } from "./bcVisual.vue_vue_type_style_index_0_scoped_cae31cec_lang-BZNwpCAW.js";
3
3
  var dt = Je(ye, "WeakMap"), Jt = Object.create, ia = /* @__PURE__ */ function() {
4
4
  function t() {
5
5
  }