@appsbd/vue3-appsbd-ui 1.0.9 → 1.0.10

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,4 +1,4 @@
1
- import { reactive as gc, useAttrs as Qt, useSlots as sr, computed as W, openBlock as D, createBlock as ne, resolveDynamicComponent as $t, mergeProps as st, unref as k, withCtx as X, createElementBlock as E, Fragment as Se, renderSlot as $, createCommentVNode as B, createElementVNode as z, normalizeClass as K, h as hi, renderList as $e, createVNode as he, createTextVNode as q, toDisplayString as G, getCurrentInstance as nn, resolveComponent as xn, resolveDirective as di, withDirectives as Ne, vShow as Sr, normalizeStyle as rt, ref as te, onMounted as Wt, onUnmounted as Dn, watch as Tt, nextTick as nr, Teleport as Ks, Transition as Vv, useModel as mc, mergeModels as Es, onErrorCaptured as FC, createSlots as tr, withModifiers as ft, provide as mn, normalizeProps as sa, guardReactiveProps as Xi, inject as Cr, vModelCheckbox as HC, onBeforeUnmount as yc, withKeys as co, vModelText as yn, triggerRef as Io, vModelDynamic as GC, defineComponent as WC, shallowRef as hl, toRefs as UC, watchEffect as dg, isRef as YC, createApp as Pb, TransitionGroup as ZC } from "vue";
1
+ import { reactive as gc, useAttrs as Qt, useSlots as sr, computed as W, openBlock as D, createBlock as ne, resolveDynamicComponent as $t, mergeProps as lt, unref as k, withCtx as X, createElementBlock as E, Fragment as Se, renderSlot as $, createCommentVNode as B, createElementVNode as z, normalizeClass as K, h as hi, renderList as $e, createVNode as he, createTextVNode as q, toDisplayString as G, getCurrentInstance as nn, resolveComponent as xn, resolveDirective as di, withDirectives as Ne, vShow as Sr, normalizeStyle as rt, ref as te, onMounted as Wt, onUnmounted as Dn, watch as Tt, nextTick as nr, Teleport as Ks, Transition as Vv, useModel as mc, mergeModels as Es, onErrorCaptured as FC, createSlots as tr, withModifiers as ft, provide as mn, normalizeProps as sa, guardReactiveProps as Xi, inject as Cr, vModelCheckbox as HC, onBeforeUnmount as yc, withKeys as co, vModelText as yn, triggerRef as Io, vModelDynamic as GC, defineComponent as WC, shallowRef as hl, toRefs as UC, watchEffect as dg, isRef as YC, createApp as Pb, TransitionGroup as ZC } from "vue";
2
2
  import { Form as Rb, ErrorMessage as Ma, Field as An } from "vee-validate";
3
3
  import { createGettext as XC, useGettext as jC } from "vue3-gettext";
4
4
  import { Dropdown as qC } from "bootstrap";
@@ -256,7 +256,7 @@ const i2 = (r, t, e = {}) => {
256
256
  var s;
257
257
  return e.iconPosition !== void 0 && e.iconPosition !== null ? e.iconPosition : ((s = xe.button) == null ? void 0 : s.iconPosition) ?? "left";
258
258
  }), o = W(() => e.mode === "router-link" ? "router-link" : e.mode === "link" ? "a" : "button");
259
- return (s, l) => (D(), ne($t(o.value), st({ class: "apbd-btn btn" }, k(t), {
259
+ return (s, l) => (D(), ne($t(o.value), lt({ class: "apbd-btn btn" }, k(t), {
260
260
  class: {
261
261
  "apbd-animated": r.isAnimated,
262
262
  "with-icon-divider": r.showIconDivider,
@@ -395,7 +395,7 @@ const i2 = (r, t, e = {}) => {
395
395
  },
396
396
  setup(r) {
397
397
  const t = r, e = Qt(), n = sr(), a = W(() => t.containerClass !== void 0 && t.containerClass !== null ? t.containerClass : xe.inputContainerClass ?? ""), i = W(() => t.borderBottomVariant ? `border-bottom-${t.borderBottomVariant}` : "");
398
- return (o, s) => (D(), E("div", st({
398
+ return (o, s) => (D(), E("div", lt({
399
399
  class: ["abpd-card card", [a.value, r.variation, r.bgColorVariant, i.value, { "tile-card": r.isTileCard }, { "border-card": r.isBorderCard }]]
400
400
  }, k(e)), [
401
401
  k(n).header ? (D(), E("div", {
@@ -1295,14 +1295,14 @@ const $2 = (r) => {
1295
1295
  function J2(r, t, e, n, a, i) {
1296
1296
  var u, c, f, h, d;
1297
1297
  const o = xn("AbResponseMsg"), s = xn("Form"), l = di("translate");
1298
- return D(), E("div", st({ class: "modal fade show apbd-modal" }, r.$attrs, {
1298
+ return D(), E("div", lt({ class: "modal fade show apbd-modal" }, r.$attrs, {
1299
1299
  class: { "modal-border-0": !i.effectiveIsModalBorder },
1300
1300
  tabindex: "-1",
1301
1301
  role: "dialog",
1302
1302
  "aria-labelledby": "exampleModalCenterTitle",
1303
1303
  "aria-hidden": "true"
1304
1304
  }), [
1305
- z("div", st(r.$attrs, {
1305
+ z("div", lt(r.$attrs, {
1306
1306
  class: [e.modalSize + (e.isModalCenter ? " modal-dialog-centered" : ""), "modal-dialog"],
1307
1307
  role: "document"
1308
1308
  }), [
@@ -1621,9 +1621,9 @@ const Fb = /* @__PURE__ */ Ut(W2, [["render", J2]]), eT = ["aria-valuenow", "ari
1621
1621
  setup(r) {
1622
1622
  return (t, e) => {
1623
1623
  var n, a, i, o, s, l, u, c, f, h, d, v, p, g;
1624
- return D(), E("div", st({
1625
- class: [t.effectiveContainerClass, t.dynamicIconBorder]
1626
- }, t.$attrs, { class: "apbd-input-container" }), [
1624
+ return D(), E("div", {
1625
+ class: K([[t.effectiveContainerClass, t.dynamicIconBorder], "apbd-input-container"])
1626
+ }, [
1627
1627
  (r.label || t.$slots.label) && !r.isHideLabel ? (D(), E("label", {
1628
1628
  key: 0,
1629
1629
  class: "form-label",
@@ -1658,7 +1658,7 @@ const Fb = /* @__PURE__ */ Ut(W2, [["render", J2]]), eT = ["aria-valuenow", "ari
1658
1658
  he(k(sd))
1659
1659
  ])
1660
1660
  ])) : B("", !0),
1661
- he(k(An), st({ class: "form-control" }, this.$attrs, {
1661
+ he(k(An), lt({ class: "form-control" }, t.$attrs, {
1662
1662
  class: [r.inputClass || ((u = t.$attrs) == null ? void 0 : u.class), t.effectiveSize ? `form-control-${t.effectiveSize}` : "", { "mega-input-field": r.isCodeInput }],
1663
1663
  disabled: (c = t.$attrs) == null ? void 0 : c.disabled,
1664
1664
  id: (f = t.$attrs) == null ? void 0 : f.id,
@@ -1667,7 +1667,7 @@ const Fb = /* @__PURE__ */ Ut(W2, [["render", J2]]), eT = ["aria-valuenow", "ari
1667
1667
  placeholder: k(j)(r.placeholder),
1668
1668
  label: k(j)(r.label ?? r.type),
1669
1669
  name: t.generatedName,
1670
- value: r.modelValue ? r.modelValue : (v = this.$attrs) == null ? void 0 : v.value,
1670
+ value: r.modelValue ? r.modelValue : (v = t.$attrs) == null ? void 0 : v.value,
1671
1671
  maxlength: r.maxlength,
1672
1672
  onInput: e[1] || (e[1] = (m) => (t.$emit("input", m.target.value), t.$emit("update:modelValue", m))),
1673
1673
  onKeyup: e[2] || (e[2] = (m) => t.$emit("keyup", m)),
@@ -1708,7 +1708,7 @@ const Fb = /* @__PURE__ */ Ut(W2, [["render", J2]]), eT = ["aria-valuenow", "ari
1708
1708
  q(G(k(j)(r.hints)), 1)
1709
1709
  ])
1710
1710
  ])) : B("", !0)
1711
- ], 16);
1711
+ ], 2);
1712
1712
  };
1713
1713
  }
1714
1714
  }), uT = ["for"], cT = {
@@ -2236,7 +2236,7 @@ const dl = /* @__PURE__ */ new Set(), fd = {
2236
2236
  s.val !== void 0 && s.val !== null && (a.value === void 0 || a.value === null || a.value === "" || Array.isArray(a.value) && a.value.length === 0) && (v.value || (a.value = p(s.val)));
2237
2237
  }), (g, m) => {
2238
2238
  var y, b;
2239
- return D(), E("div", st({ class: "apbd-checkbox" }, k(e), {
2239
+ return D(), E("div", lt({ class: "apbd-checkbox" }, k(e), {
2240
2240
  class: [
2241
2241
  f.value,
2242
2242
  d.value ? "apbd-radio-input-container" : "",
@@ -2677,7 +2677,7 @@ const dl = /* @__PURE__ */ new Set(), fd = {
2677
2677
  ye.value === "date" ? ie.value === 0 ? (ie.value = 11, le.value--) : ie.value-- : ye.value === "month" ? le.value-- : ye.value === "year" && (qe.value -= 12);
2678
2678
  }, Xe = () => {
2679
2679
  ye.value === "date" ? ie.value === 11 ? (ie.value = 0, le.value++) : ie.value++ : ye.value === "month" ? le.value++ : ye.value === "year" && (qe.value += 12);
2680
- }, lt = (Z) => {
2680
+ }, st = (Z) => {
2681
2681
  ie.value = Z, ye.value = "date";
2682
2682
  }, je = (Z) => {
2683
2683
  le.value = Z, ye.value = "month";
@@ -2834,7 +2834,7 @@ const dl = /* @__PURE__ */ new Set(), fd = {
2834
2834
  type: "button",
2835
2835
  key: Ye,
2836
2836
  class: K(["cal-month-cell", { "is-selected": ie.value === Ye }]),
2837
- onClick: ft((gt) => lt(Ye), ["stop"])
2837
+ onClick: ft((gt) => st(Ye), ["stop"])
2838
2838
  }, G(ce), 11, HT))), 128))
2839
2839
  ])) : ye.value === "year" ? (D(), E("div", GT, [
2840
2840
  (D(!0), E(Se, null, $e(ve.value, (ce) => (D(), E("button", {
@@ -3114,7 +3114,7 @@ const dl = /* @__PURE__ */ new Set(), fd = {
3114
3114
  const o = Qt(), s = r, l = W(() => s.size !== void 0 && s.size !== null ? s.size : xe.size ?? "md");
3115
3115
  return (u, c) => {
3116
3116
  var f;
3117
- return D(), E("div", st({ class: "apbd-avatar" }, k(o), {
3117
+ return D(), E("div", lt({ class: "apbd-avatar" }, k(o), {
3118
3118
  class: [
3119
3119
  (f = k(o)) == null ? void 0 : f.class,
3120
3120
  `avatar-${l.value}`,
@@ -3394,7 +3394,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
3394
3394
  h();
3395
3395
  }), (d, v) => {
3396
3396
  var p, g, m, y, b, _, w, S, x, C, T, M, A, I, R;
3397
- return D(), E("div", st({ class: "apbd-toggle" }, k(t), { class: l.value }), [
3397
+ return D(), E("div", lt({ class: "apbd-toggle" }, k(t), { class: l.value }), [
3398
3398
  ((p = k(e)) != null && p.label || r.label) && r.variant === "column" ? (D(), E("label", {
3399
3399
  key: 0,
3400
3400
  class: "form-label",
@@ -3710,7 +3710,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
3710
3710
  q(G(k(j)(r.prefix)), 1)
3711
3711
  ])
3712
3712
  ])) : B("", !0),
3713
- he(k(An), st({ label: r.label }, k(a), {
3713
+ he(k(An), lt({ label: r.label }, k(a), {
3714
3714
  value: r.modelValue ? r.modelValue : (le = k(a)) == null ? void 0 : le.value,
3715
3715
  name: v.value,
3716
3716
  id: (qe = k(a)) == null ? void 0 : qe.id,
@@ -3719,7 +3719,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
3719
3719
  "onUpdate:modelValue": O[1] || (O[1] = (Ae) => y.value = Ae)
3720
3720
  }), {
3721
3721
  default: X(() => {
3722
- var Ae, ue, ve, Ke, Ge, Xe, lt;
3722
+ var Ae, ue, ve, Ke, Ge, Xe, st;
3723
3723
  return [
3724
3724
  z("div", {
3725
3725
  ref_key: "multiselectRef",
@@ -3736,7 +3736,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
3736
3736
  ]),
3737
3737
  disabled: (Ge = k(a)) == null ? void 0 : Ge.disabled,
3738
3738
  id: (Xe = k(a)) == null ? void 0 : Xe.id,
3739
- style: rt((lt = k(a)) == null ? void 0 : lt.style),
3739
+ style: rt((st = k(a)) == null ? void 0 : st.style),
3740
3740
  tabindex: "0",
3741
3741
  onMousedown: ft(P, ["prevent"]),
3742
3742
  onKeydown: F
@@ -3876,7 +3876,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
3876
3876
  const t = Qt(), e = sr(), n = r, a = W(() => n.size !== void 0 && n.size !== null ? n.size : xe.size ?? "md");
3877
3877
  return (i, o) => {
3878
3878
  var s;
3879
- return D(), E("span", st({ class: "apbd-badge badge d-inline-flex align-items-center justify-content-center" }, k(t), {
3879
+ return D(), E("span", lt({ class: "apbd-badge badge d-inline-flex align-items-center justify-content-center" }, k(t), {
3880
3880
  class: [
3881
3881
  (s = k(t)) == null ? void 0 : s.class,
3882
3882
  {
@@ -4304,7 +4304,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
4304
4304
  ])
4305
4305
  ]),
4306
4306
  default: X(() => [
4307
- z("a", st({ class: "nav-link-custom" }, c.value), [
4307
+ z("a", lt({ class: "nav-link-custom" }, c.value), [
4308
4308
  z("div", QM, [
4309
4309
  $(v.$slots, "icon", {}, () => [
4310
4310
  he(k(lf))
@@ -4328,7 +4328,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
4328
4328
  ]),
4329
4329
  _: 3
4330
4330
  }, 8, ["trigger", "auto-hide"])) : (D(), E(Se, { key: 1 }, [
4331
- (b = k(u)) != null && b.href || f.value ? (D(), E("a", st({
4331
+ (b = k(u)) != null && b.href || f.value ? (D(), E("a", lt({
4332
4332
  key: 0,
4333
4333
  class: "nav-link-custom",
4334
4334
  href: (_ = k(u)) != null && _.href && !f.value ? (w = k(u)) == null ? void 0 : w.href : null,
@@ -4354,7 +4354,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
4354
4354
  class: K(["sub-menu-icon", { collapsed: e.value }]),
4355
4355
  "stroke-width": 1
4356
4356
  }, null, 8, ["class"])) : B("", !0)
4357
- ], 16, aD)) : Ne((D(), ne(g, st({
4357
+ ], 16, aD)) : Ne((D(), ne(g, lt({
4358
4358
  key: 1,
4359
4359
  class: ["nav-link-custom", { "parent-is-menu": k(d) }],
4360
4360
  to: (S = k(u)) == null ? void 0 : S.to
@@ -4914,7 +4914,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
4914
4914
  const Me = Y(oe), Q = (Array.isArray(V.value) ? [...V.value] : []).filter((Ie) => (e.object ? Ie[e.valueKey] : Ie) !== Me);
4915
4915
  V.value = Q, n("change", Q);
4916
4916
  }
4917
- function lt() {
4917
+ function st() {
4918
4918
  R.value ? V.value = [] : V.value = null, f.value = "", n("clear"), n("change", V.value), ve(), s.value && s.value.focus();
4919
4919
  }
4920
4920
  function je() {
@@ -5047,7 +5047,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
5047
5047
  q(G(k(j)(r.prefix)), 1)
5048
5048
  ])
5049
5049
  ])) : B("", !0),
5050
- he(k(An), st({
5050
+ he(k(An), lt({
5051
5051
  label: r.label,
5052
5052
  name: T.value,
5053
5053
  id: (Ye = k(i)) == null ? void 0 : Ye.id,
@@ -5151,7 +5151,7 @@ const hM = /* @__PURE__ */ Ut(cM, [["render", fM]]), dM = ["for"], vM = ["for"],
5151
5151
  qe.value && !M.value && !I.value ? (D(), E("div", {
5152
5152
  key: 1,
5153
5153
  class: "multiselect-clear",
5154
- onMousedown: ft(lt, ["prevent", "stop"])
5154
+ onMousedown: ft(st, ["prevent", "stop"])
5155
5155
  }, [...Me[4] || (Me[4] = [
5156
5156
  z("div", { class: "clear-icon-wrapper" }, [
5157
5157
  z("svg", {
@@ -5919,7 +5919,7 @@ const rA = ["for"], nA = {
5919
5919
  q(G(k(j)(r.label)), 1)
5920
5920
  ], !0)
5921
5921
  ], 8, rA)) : B("", !0),
5922
- z("input", st({
5922
+ z("input", lt({
5923
5923
  ref_key: "afuInput",
5924
5924
  ref: a,
5925
5925
  class: "afu-input"
@@ -6814,7 +6814,7 @@ const rA = ["for"], nA = {
6814
6814
  (D(!0), E(Se, null, $e(r.options, (f, h) => {
6815
6815
  var d;
6816
6816
  return D(), E("div", { key: h }, [
6817
- Ne(z("input", st({
6817
+ Ne(z("input", lt({
6818
6818
  id: a.value + h,
6819
6819
  type: ((d = k(e)) == null ? void 0 : d.type) || "radio",
6820
6820
  name: a.value,
@@ -7080,7 +7080,7 @@ const rA = ["for"], nA = {
7080
7080
  C ? y() : b();
7081
7081
  }), Dn(() => {
7082
7082
  window.removeEventListener("resize", c), b(), t.value && t.value.removeEventListener("wheel", p), x && t.value && x.disconnect();
7083
- }), (C, T) => (D(), E("div", st({
7083
+ }), (C, T) => (D(), E("div", lt({
7084
7084
  class: ["apbd-carousel-wrapper", [
7085
7085
  i.value ? "apbd-carousel-vertical" : "",
7086
7086
  a.navOutside ? "apbd-carousel-nav-outside" : "",
@@ -7578,7 +7578,7 @@ const rA = ["for"], nA = {
7578
7578
  ]]),
7579
7579
  style: { width: "var(--ab-wizard-trigger-size)", height: "var(--ab-wizard-trigger-size)", "min-width": "var(--ab-wizard-trigger-size)", "min-height": "var(--ab-wizard-trigger-size)" }
7580
7580
  }, [
7581
- $(V.$slots, "step-icon", st({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7581
+ $(V.$slots, "step-icon", lt({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7582
7582
  H(le) === "completed" ? (D(), ne(k(id), {
7583
7583
  key: 0,
7584
7584
  class: "icon-sm"
@@ -7609,7 +7609,7 @@ const rA = ["for"], nA = {
7609
7609
  textAlign: le === 0 ? "start" : le === i.value.length - 1 ? "end" : "center"
7610
7610
  } : {})
7611
7611
  }, [
7612
- $(V.$slots, "step-label", st({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7612
+ $(V.$slots, "step-label", lt({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7613
7613
  z("span", {
7614
7614
  class: K(["ab-wizard-title fw-semibold transition-all", H(le) === "active" || H(le) === "completed" ? "text-primary" : ""])
7615
7615
  }, G(k(j)(ie.title)), 3),
@@ -7669,7 +7669,7 @@ const rA = ["for"], nA = {
7669
7669
  _: 1
7670
7670
  }, 8, ["disabled"])),
7671
7671
  z("div", Ck, [
7672
- s.value ? $(V.$slots, "loader", sa(st({ key: 0 }, { isLoading: s.value, variant: "inline", isModal: !0, currentIndex: o.value })), () => [
7672
+ s.value ? $(V.$slots, "loader", sa(lt({ key: 0 }, { isLoading: s.value, variant: "inline", isModal: !0, currentIndex: o.value })), () => [
7673
7673
  z("div", Tk, [
7674
7674
  Ne((D(), E("span", Mk, [...O[8] || (O[8] = [
7675
7675
  q("Loading...", -1)
@@ -7786,7 +7786,7 @@ const rA = ["for"], nA = {
7786
7786
  ]]),
7787
7787
  style: { width: "var(--ab-wizard-trigger-size)", height: "var(--ab-wizard-trigger-size)", "min-width": "var(--ab-wizard-trigger-size)", "min-height": "var(--ab-wizard-trigger-size)" }
7788
7788
  }, [
7789
- $(V.$slots, "step-icon", st({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7789
+ $(V.$slots, "step-icon", lt({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7790
7790
  H(le) === "completed" ? (D(), ne(k(id), {
7791
7791
  key: 0,
7792
7792
  class: "icon-sm"
@@ -7817,7 +7817,7 @@ const rA = ["for"], nA = {
7817
7817
  textAlign: le === 0 ? "start" : le === i.value.length - 1 ? "end" : "center"
7818
7818
  } : {})
7819
7819
  }, [
7820
- $(V.$slots, "step-label", st({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7820
+ $(V.$slots, "step-label", lt({ ref_for: !0 }, { step: ie, index: le, state: H(le) }), () => [
7821
7821
  z("span", {
7822
7822
  class: K(["ab-wizard-title fw-semibold transition-all", H(le) === "active" || H(le) === "completed" ? "text-primary" : ""])
7823
7823
  }, G(k(j)(ie.title)), 3),
@@ -7862,7 +7862,7 @@ const rA = ["for"], nA = {
7862
7862
  _: 1
7863
7863
  }, 8, ["disabled"]),
7864
7864
  z("div", Hk, [
7865
- s.value ? $(V.$slots, "loader", sa(st({ key: 0 }, { isLoading: s.value, variant: "inline", isModal: !1, currentIndex: o.value })), () => [
7865
+ s.value ? $(V.$slots, "loader", sa(lt({ key: 0 }, { isLoading: s.value, variant: "inline", isModal: !1, currentIndex: o.value })), () => [
7866
7866
  z("div", Gk, [
7867
7867
  Ne((D(), E("span", Wk, [...O[12] || (O[12] = [
7868
7868
  q("Loading...", -1)
@@ -8112,7 +8112,7 @@ const rA = ["for"], nA = {
8112
8112
  return (p, g) => {
8113
8113
  var m, y, b, _, w;
8114
8114
  return D(), E(Se, null, [
8115
- ["text", "password", "email", "number", "url", "textarea"].includes(r.type) ? (D(), ne(vn, st({
8115
+ ["text", "password", "email", "number", "url", "textarea"].includes(r.type) ? (D(), ne(vn, lt({
8116
8116
  key: 0,
8117
8117
  modelValue: v.value,
8118
8118
  "onUpdate:modelValue": g[0] || (g[0] = (S) => v.value = S)
@@ -8184,7 +8184,7 @@ const rA = ["for"], nA = {
8184
8184
  key: "5"
8185
8185
  } : void 0
8186
8186
  ]), 1040, ["modelValue", "label", "placeholder", "hints", "name", "isCodeInput", "maxlength", "minlength", "rules", "type", "isLeftIconBorder", "isRightIconBorder", "passIconPosition", "isHideLabel", "iconPosition", "as", "containerClass", "size"])) : B("", !0),
8187
- ["select", "multiselect"].includes(r.type) ? (D(), ne(no, st({
8187
+ ["select", "multiselect"].includes(r.type) ? (D(), ne(no, lt({
8188
8188
  key: 1,
8189
8189
  size: h.value,
8190
8190
  modelValue: v.value,
@@ -8269,7 +8269,7 @@ const rA = ["for"], nA = {
8269
8269
  key: "5"
8270
8270
  } : void 0
8271
8271
  ]), 1040, ["size", "modelValue", "options", "label", "placeholder", "hints", "name", "id", "style", "max", "rules", "object", "valueKey", "labelKey", "mode", "disabled", "searchable", "isLeftIconBorder", "isRightIconBorder", "isHideLabel", "iconPosition", "containerClass", "onSearch", "isAjaxSearch", "hideSelected", "loading", "appendToBody"])) : B("", !0),
8272
- r.type == "tag" ? (D(), ne(Gb, st({
8272
+ r.type == "tag" ? (D(), ne(Gb, lt({
8273
8273
  key: 2,
8274
8274
  modelValue: v.value,
8275
8275
  "onUpdate:modelValue": g[6] || (g[6] = (S) => v.value = S),
@@ -8798,7 +8798,7 @@ const jb = /* @__PURE__ */ Ut(dI, [["render", pI], ["__scopeId", "data-v-e4a05fc
8798
8798
  }, [
8799
8799
  $(i.$slots, "action")
8800
8800
  ]),
8801
- e.value ? (D(), ne(Fb, st({ key: 0 }, i.$attrs, { onClose: a }), tr({ _: 2 }, [
8801
+ e.value ? (D(), ne(Fb, lt({ key: 0 }, i.$attrs, { onClose: a }), tr({ _: 2 }, [
8802
8802
  i.$slots.title ? {
8803
8803
  name: "headerTitle",
8804
8804
  fn: X(() => [
@@ -8928,7 +8928,7 @@ const jb = /* @__PURE__ */ Ut(dI, [["render", pI], ["__scopeId", "data-v-e4a05fc
8928
8928
  }
8929
8929
  },
8930
8930
  setup(r) {
8931
- return (t, e) => (D(), E("div", st({
8931
+ return (t, e) => (D(), E("div", lt({
8932
8932
  class: ["abpd-pricing-card", [{ "is-active": r.active, "is-recommended": r.recommended, "is-highlighted": r.variant === "highlighted", "is-minimal": r.variant === "minimal", "is-badge-price": r.variant === "badge-price" }, `is-${r.color}`]]
8933
8933
  }, t.$attrs), [
8934
8934
  r.recommended ? (D(), E("div", CI, [
@@ -21359,8 +21359,8 @@ function rv(r, t) {
21359
21359
  function ye(pe, Ae, ue, ve, Ke) {
21360
21360
  var Ge = a ? 1 : e, Xe = Kt(Ke, pe * Ge, Ae * Ge, ue * Ge, ve * Ge, o.color, o.symbolKeepAspect);
21361
21361
  if (a) {
21362
- var lt = n.painter.renderOneToVNode(Xe);
21363
- lt && S.children.push(lt);
21362
+ var st = n.painter.renderOneToVNode(Xe);
21363
+ st && S.children.push(st);
21364
21364
  } else
21365
21365
  mS(C, Xe);
21366
21366
  }
@@ -27694,21 +27694,21 @@ function r$(r) {
27694
27694
  }
27695
27695
  qe = ye ? "center" : P === "edge" ? se > 0 ? "right" : "left" : se > 0 ? "left" : "right";
27696
27696
  }
27697
- var Xe = Math.PI, lt = 0, je = I.get("rotate");
27697
+ var Xe = Math.PI, st = 0, je = I.get("rotate");
27698
27698
  if (at(je))
27699
- lt = je * (Xe / 180);
27699
+ st = je * (Xe / 180);
27700
27700
  else if (R === "center")
27701
- lt = 0;
27701
+ st = 0;
27702
27702
  else if (je === "radial" || je === !0) {
27703
27703
  var mt = se < 0 ? -U + Xe : -U;
27704
- lt = mt;
27704
+ st = mt;
27705
27705
  } else if (je === "tangential" && R !== "outside" && R !== "outer") {
27706
27706
  var pt = Math.atan2(se, fe);
27707
27707
  pt < 0 && (pt = Xe * 2 + pt);
27708
27708
  var Pn = fe > 0;
27709
- Pn && (pt = Xe + pt), lt = pt - Xe;
27709
+ Pn && (pt = Xe + pt), st = pt - Xe;
27710
27710
  }
27711
- if (i = !!lt, T.x = me, T.y = ie, T.rotation = lt, T.setStyle({
27711
+ if (i = !!st, T.x = me, T.y = ie, T.rotation = st, T.setStyle({
27712
27712
  verticalAlign: "middle"
27713
27713
  }), ye) {
27714
27714
  T.setStyle({
@@ -31797,8 +31797,8 @@ function K3(r, t, e, n, a, i, o, s, l, u) {
31797
31797
  Ge.fill = Ke;
31798
31798
  var Xe = qa(x);
31799
31799
  Xe.fill = x.get("borderColor");
31800
- var lt = qa(C);
31801
- lt.fill = C.get("borderColor");
31800
+ var st = qa(C);
31801
+ st.fill = C.get("borderColor");
31802
31802
  var je = qa(T);
31803
31803
  if (je.fill = T.get("borderColor"), Ae) {
31804
31804
  var mt = d - 2 * p;
@@ -31816,7 +31816,7 @@ function K3(r, t, e, n, a, i, o, s, l, u) {
31816
31816
  );
31817
31817
  } else
31818
31818
  pe.removeTextContent();
31819
- pe.setStyle(Ge), pe.ensureState("emphasis").style = Xe, pe.ensureState("blur").style = lt, pe.ensureState("select").style = je, Gu(pe);
31819
+ pe.setStyle(Ge), pe.ensureState("emphasis").style = Xe, pe.ensureState("blur").style = st, pe.ensureState("select").style = je, Gu(pe);
31820
31820
  }
31821
31821
  ye.add(pe);
31822
31822
  }
@@ -31836,8 +31836,8 @@ function K3(r, t, e, n, a, i, o, s, l, u) {
31836
31836
  pe.invisible = !1;
31837
31837
  var Ke = o.getVisual("style"), Ge = Ke.fill, Xe = u1(S);
31838
31838
  Xe.fill = Ge, Xe.decal = Ke.decal;
31839
- var lt = qa(x), je = qa(C), mt = qa(T);
31840
- fe(pe, Ge, Ke.opacity, null), pe.setStyle(Xe), pe.ensureState("emphasis").style = lt, pe.ensureState("blur").style = je, pe.ensureState("select").style = mt, Gu(pe);
31839
+ var st = qa(x), je = qa(C), mt = qa(T);
31840
+ fe(pe, Ge, Ke.opacity, null), pe.setStyle(Xe), pe.ensureState("emphasis").style = st, pe.ensureState("blur").style = je, pe.ensureState("select").style = mt, Gu(pe);
31841
31841
  }
31842
31842
  ye.add(pe);
31843
31843
  }
@@ -31855,16 +31855,16 @@ function K3(r, t, e, n, a, i, o, s, l, u) {
31855
31855
  });
31856
31856
  var Xe = ye.getTextContent();
31857
31857
  if (Xe) {
31858
- var lt = Xe.style, je = Gv(lt.padding || 0);
31858
+ var st = Xe.style, je = Gv(st.padding || 0);
31859
31859
  ue && (ye.setTextConfig({
31860
31860
  layoutRect: ue
31861
31861
  }), Xe.disableLabelLayout = !0), Xe.beforeUpdate = function() {
31862
31862
  var pt = Math.max((ue ? ue.width : ye.shape.width) - je[1] - je[3], 0), Pn = Math.max((ue ? ue.height : ye.shape.height) - je[0] - je[2], 0);
31863
- (lt.width !== pt || lt.height !== Pn) && Xe.setStyle({
31863
+ (st.width !== pt || st.height !== Pn) && Xe.setStyle({
31864
31864
  width: pt,
31865
31865
  height: Pn
31866
31866
  });
31867
- }, lt.truncateMinChar = 2, lt.lineOverflow = "truncate", me(lt, ue, c);
31867
+ }, st.truncateMinChar = 2, st.lineOverflow = "truncate", me(st, ue, c);
31868
31868
  var mt = Xe.getState("emphasis");
31869
31869
  me(mt ? mt.style : null, ue, c);
31870
31870
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsbd/vue3-appsbd-ui",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Reusable Vue 3 component library",
5
5
  "type": "module",
6
6
  "main": "./dist/vue3-appsbd-ui.cjs.js",