@point-hub/papp 0.0.94 → 0.0.95
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/components/base-input.vue.d.ts +7 -2
- package/dist/index.css +1 -1
- package/dist/index.js +44 -40
- package/dist/index.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var Ll = Object.defineProperty;
|
|
|
2
2
|
var _l = (e, t, n) => t in e ? Ll(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var Ua = (e, t, n) => _l(e, typeof t != "symbol" ? t + "" : t, n);
|
|
4
4
|
import * as za from "vue";
|
|
5
|
-
import { defineComponent as R, ref as E, provide as Be, openBlock as S, createElementBlock as T, renderSlot as K, normalizeClass as H, createCommentVNode as q, inject as Pe, watch as re, createBlock as N, resolveDynamicComponent as oe, withCtx as F, createElementVNode as C, toDisplayString as Q, normalizeStyle as wt, createTextVNode as Le, resolveComponent as $e, createVNode as X, Fragment as me, renderList as _e, mergeModels as ke, useModel as
|
|
5
|
+
import { defineComponent as R, ref as E, provide as Be, openBlock as S, createElementBlock as T, renderSlot as K, normalizeClass as H, createCommentVNode as q, inject as Pe, watch as re, createBlock as N, resolveDynamicComponent as oe, withCtx as F, createElementVNode as C, toDisplayString as Q, normalizeStyle as wt, createTextVNode as Le, resolveComponent as $e, createVNode as X, Fragment as me, renderList as _e, mergeModels as ke, useModel as we, computed as P, unref as V, shallowRef as ha, triggerRef as Ya, onScopeDispose as qo, onUnmounted as Ie, nextTick as ye, watchEffect as Te, onMounted as te, cloneVNode as Ho, h as de, reactive as hr, toRaw as Ae, getCurrentInstance as Uo, Teleport as Fl, Transition as ga, getCurrentScope as Vl, toRef as Nl, readonly as Wl, customRef as jl, toValue as Tt, useCssVars as ql, useSlots as Hl, toRefs as zo, withKeys as Ul, withDirectives as nt, vShow as zl, onBeforeUnmount as gr, isRef as yt, mergeProps as Yl, normalizeProps as Xl, guardReactiveProps as Ql, isReactive as Xa, isVNode as Gl, createApp as Qa, createSlots as Kl, vModelCheckbox as Yo, resolveDirective as Xo, vModelText as ln, vModelDynamic as Jl } from "vue";
|
|
6
6
|
import { defineStore as ba } from "pinia";
|
|
7
7
|
import { useRoute as Qo } from "vue-router";
|
|
8
8
|
const Zl = { class: "accordion-container" }, es = /* @__PURE__ */ R({
|
|
@@ -297,7 +297,7 @@ const xs = /* @__PURE__ */ le(ys, [["render", ws], ["__scopeId", "data-v-85c79e7
|
|
|
297
297
|
}),
|
|
298
298
|
emits: ["update:bgColor", "update:titleColor", "update:bodyColor"],
|
|
299
299
|
setup(e) {
|
|
300
|
-
const t =
|
|
300
|
+
const t = we(e, "bgColor"), n = we(e, "titleColor"), r = we(e, "bodyColor");
|
|
301
301
|
return (a, i) => (S(), T("div", {
|
|
302
302
|
class: H(["card", { "card-shadow ": a.shadow, "card-rounded": a.shape === "rounded" }]),
|
|
303
303
|
style: wt({ backgroundColor: t.value, color: n.value })
|
|
@@ -2132,15 +2132,15 @@ let er = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qu = R({ name: "Dialog", inheri
|
|
|
2132
2132
|
let ie = M(m);
|
|
2133
2133
|
if (!ie) return;
|
|
2134
2134
|
let Se = new ResizeObserver((ve) => {
|
|
2135
|
-
for (let
|
|
2136
|
-
let Me =
|
|
2135
|
+
for (let xe of ve) {
|
|
2136
|
+
let Me = xe.target.getBoundingClientRect();
|
|
2137
2137
|
Me.x === 0 && Me.y === 0 && Me.width === 0 && Me.height === 0 && ae.close();
|
|
2138
2138
|
}
|
|
2139
2139
|
});
|
|
2140
2140
|
Se.observe(ie), Z(() => Se.disconnect());
|
|
2141
2141
|
}), () => {
|
|
2142
|
-
let { open: Z, initialFocus: ie, ...Se } = e, ve = { ...n, ref: m, id: l, role: u.value, "aria-modal": g.value === 0 ? !0 : void 0, "aria-labelledby": G.value, "aria-describedby": Y.value },
|
|
2143
|
-
return de(Kr, { force: !0 }, () => [de(gi, () => de(Wu, { target: m.value }, () => de(Kr, { force: !1 }, () => de(An, { initialFocus: ie, containers: x, features: b.value ? be($.value, { parent: An.features.RestoreFocus, leaf: An.features.All & ~An.features.FocusLock }) : An.features.None }, () => de(A, {}, () => ue({ ourProps: ve, theirProps: { ...Se, ...n }, slot:
|
|
2142
|
+
let { open: Z, initialFocus: ie, ...Se } = e, ve = { ...n, ref: m, id: l, role: u.value, "aria-modal": g.value === 0 ? !0 : void 0, "aria-labelledby": G.value, "aria-describedby": Y.value }, xe = { open: g.value === 0 };
|
|
2143
|
+
return de(Kr, { force: !0 }, () => [de(gi, () => de(Wu, { target: m.value }, () => de(Kr, { force: !1 }, () => de(An, { initialFocus: ie, containers: x, features: b.value ? be($.value, { parent: An.features.RestoreFocus, leaf: An.features.All & ~An.features.FocusLock }) : An.features.None }, () => de(A, {}, () => ue({ ourProps: ve, theirProps: { ...Se, ...n }, slot: xe, attrs: n, slots: r, visible: g.value === 0, features: je.RenderStrategy | je.Static, name: "Dialog" })))))), de(O)]);
|
|
2144
2144
|
};
|
|
2145
2145
|
} });
|
|
2146
2146
|
R({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: null } }, setup(e, { attrs: t, slots: n }) {
|
|
@@ -4344,7 +4344,7 @@ function Yc(e) {
|
|
|
4344
4344
|
var I = v === "y" ? Xe : Qe, _ = v === "y" ? rt : at, L = v === "y" ? "height" : "width", z = x[v], Y = x[v] + g[I], G = x[v] - g[_], ae = h ? -O[L] / 2 : 0, ne = y === un ? k[L] : O[L], fe = y === un ? -O[L] : -k[L], pe = t.elements.arrow, Z = h && pe ? Ba(pe) : {
|
|
4345
4345
|
width: 0,
|
|
4346
4346
|
height: 0
|
|
4347
|
-
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Wi(), Se = ie[I], ve = ie[_],
|
|
4347
|
+
}, ie = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Wi(), Se = ie[I], ve = ie[_], xe = ur(0, k[L], Z[L]), Me = w ? k[L] / 2 - ae - xe - Se - $ : ne - xe - Se - $, lt = w ? -k[L] / 2 + ae + xe + ve + $ : fe + xe + ve + $, Fe = t.elements.arrow && qn(t.elements.arrow), st = Fe ? v === "y" ? Fe.clientTop || 0 : Fe.clientLeft || 0 : 0, et = t.modifiersData.offset ? t.modifiersData.offset[t.placement][v] : 0, gt = x[v] + Me - et - st, Vt = x[v] + lt - et;
|
|
4348
4348
|
if (i) {
|
|
4349
4349
|
var St = ur(h ? $n(Y, gt) : Y, z, h ? Bt(G, Vt) : G);
|
|
4350
4350
|
x[v] = St, D[v] = St - z;
|
|
@@ -4412,15 +4412,15 @@ function Jc(e) {
|
|
|
4412
4412
|
function Zc(e) {
|
|
4413
4413
|
var t = e.state, n = e.options, r = e.name;
|
|
4414
4414
|
if (!t.modifiersData[r]._skip) {
|
|
4415
|
-
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, d = n.padding, u = n.boundary, c = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, p = n.allowedAutoPlacements, g = t.options.placement, b = ft(g), y = b === g, w = s || (y || !m ? [dr(g)] : Jc(g)), v = [g].concat(w).reduce(function(ve,
|
|
4416
|
-
return ve.concat(ft(
|
|
4417
|
-
placement:
|
|
4415
|
+
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, d = n.padding, u = n.boundary, c = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, p = n.allowedAutoPlacements, g = t.options.placement, b = ft(g), y = b === g, w = s || (y || !m ? [dr(g)] : Jc(g)), v = [g].concat(w).reduce(function(ve, xe) {
|
|
4416
|
+
return ve.concat(ft(xe) === Ia ? Kc(t, {
|
|
4417
|
+
placement: xe,
|
|
4418
4418
|
boundary: u,
|
|
4419
4419
|
rootBoundary: c,
|
|
4420
4420
|
padding: d,
|
|
4421
4421
|
flipVariations: m,
|
|
4422
4422
|
allowedAutoPlacements: p
|
|
4423
|
-
}) :
|
|
4423
|
+
}) : xe);
|
|
4424
4424
|
}, []), A = t.rects.reference, x = t.rects.popper, k = /* @__PURE__ */ new Map(), O = !0, $ = v[0], D = 0; D < v.length; D++) {
|
|
4425
4425
|
var I = v[D], _ = ft(I), L = dn(I) === un, z = [Xe, rt].indexOf(_) >= 0, Y = z ? "width" : "height", G = $a(t, {
|
|
4426
4426
|
placement: I,
|
|
@@ -4440,11 +4440,11 @@ function Zc(e) {
|
|
|
4440
4440
|
k.set(I, fe);
|
|
4441
4441
|
}
|
|
4442
4442
|
if (O)
|
|
4443
|
-
for (var pe = m ? 3 : 1, Z = function(
|
|
4443
|
+
for (var pe = m ? 3 : 1, Z = function(xe) {
|
|
4444
4444
|
var Me = v.find(function(lt) {
|
|
4445
4445
|
var Fe = k.get(lt);
|
|
4446
4446
|
if (Fe)
|
|
4447
|
-
return Fe.slice(0,
|
|
4447
|
+
return Fe.slice(0, xe).every(function(st) {
|
|
4448
4448
|
return st;
|
|
4449
4449
|
});
|
|
4450
4450
|
});
|
|
@@ -4990,7 +4990,7 @@ const la = /* @__PURE__ */ R({
|
|
|
4990
4990
|
},
|
|
4991
4991
|
emits: ["update:sitemap"],
|
|
4992
4992
|
setup(e) {
|
|
4993
|
-
const t =
|
|
4993
|
+
const t = we(e, "sitemap");
|
|
4994
4994
|
return (n, r) => (S(), T("div", yf, [
|
|
4995
4995
|
t.value.title ? (S(), T("h1", Af, Q(t.value.title), 1)) : q("", !0),
|
|
4996
4996
|
t.value.subtitle ? (S(), T("h2", wf, Q(t.value.subtitle), 1)) : q("", !0),
|
|
@@ -5806,15 +5806,15 @@ function Kp(e) {
|
|
|
5806
5806
|
function Jp(e) {
|
|
5807
5807
|
var t = e.state, n = e.options, r = e.name;
|
|
5808
5808
|
if (!t.modifiersData[r]._skip) {
|
|
5809
|
-
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, d = n.padding, u = n.boundary, c = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, p = n.allowedAutoPlacements, g = t.options.placement, b = pt(g), y = b === g, w = s || (y || !m ? [cr(g)] : Kp(g)), v = [g].concat(w).reduce(function(ve,
|
|
5810
|
-
return ve.concat(pt(
|
|
5811
|
-
placement:
|
|
5809
|
+
for (var a = n.mainAxis, i = a === void 0 ? !0 : a, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, d = n.padding, u = n.boundary, c = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, p = n.allowedAutoPlacements, g = t.options.placement, b = pt(g), y = b === g, w = s || (y || !m ? [cr(g)] : Kp(g)), v = [g].concat(w).reduce(function(ve, xe) {
|
|
5810
|
+
return ve.concat(pt(xe) === La ? Gp(t, {
|
|
5811
|
+
placement: xe,
|
|
5812
5812
|
boundary: u,
|
|
5813
5813
|
rootBoundary: c,
|
|
5814
5814
|
padding: d,
|
|
5815
5815
|
flipVariations: m,
|
|
5816
5816
|
allowedAutoPlacements: p
|
|
5817
|
-
}) :
|
|
5817
|
+
}) : xe);
|
|
5818
5818
|
}, []), A = t.rects.reference, x = t.rects.popper, k = /* @__PURE__ */ new Map(), O = !0, $ = v[0], D = 0; D < v.length; D++) {
|
|
5819
5819
|
var I = v[D], _ = pt(I), L = mn(I) === cn, z = [Ne, Ke].indexOf(_) >= 0, Y = z ? "width" : "height", G = Ln(t, {
|
|
5820
5820
|
placement: I,
|
|
@@ -5834,11 +5834,11 @@ function Jp(e) {
|
|
|
5834
5834
|
k.set(I, fe);
|
|
5835
5835
|
}
|
|
5836
5836
|
if (O)
|
|
5837
|
-
for (var pe = m ? 3 : 1, Z = function(
|
|
5837
|
+
for (var pe = m ? 3 : 1, Z = function(xe) {
|
|
5838
5838
|
var Me = v.find(function(lt) {
|
|
5839
5839
|
var Fe = k.get(lt);
|
|
5840
5840
|
if (Fe)
|
|
5841
|
-
return Fe.slice(0,
|
|
5841
|
+
return Fe.slice(0, xe).every(function(st) {
|
|
5842
5842
|
return st;
|
|
5843
5843
|
});
|
|
5844
5844
|
});
|
|
@@ -5967,7 +5967,7 @@ function sv(e) {
|
|
|
5967
5967
|
var L, z = v === "y" ? Ne : We, Y = v === "y" ? Ke : Je, G = v === "y" ? "height" : "width", ae = x[v], ne = ae + g[z], fe = ae - g[Y], pe = h ? -O[G] / 2 : 0, Z = y === cn ? k[G] : O[G], ie = y === cn ? -O[G] : -k[G], Se = t.elements.arrow, ve = h && Se ? _a(Se) : {
|
|
5968
5968
|
width: 0,
|
|
5969
5969
|
height: 0
|
|
5970
|
-
},
|
|
5970
|
+
}, xe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : tl(), Me = xe[z], lt = xe[Y], Fe = Dn(0, k[G], ve[G]), st = w ? k[G] / 2 - pe - Fe - Me - D.mainAxis : Z - Fe - Me - D.mainAxis, et = w ? -k[G] / 2 + pe + Fe + lt + D.mainAxis : ie + Fe + lt + D.mainAxis, gt = t.elements.arrow && zn(t.elements.arrow), Vt = gt ? v === "y" ? gt.clientTop || 0 : gt.clientLeft || 0 : 0, St = (L = I == null ? void 0 : I[v]) != null ? L : 0, Zt = ae + st - St - Vt, en = ae + et - St, ut = Dn(h ? pr(ne, Zt) : ne, ae, h ? Gt(fe, en) : fe);
|
|
5971
5971
|
x[v] = ut, _[v] = ut - ae;
|
|
5972
5972
|
}
|
|
5973
5973
|
if (l) {
|
|
@@ -6602,7 +6602,7 @@ function Wv(e, t) {
|
|
|
6602
6602
|
function ve() {
|
|
6603
6603
|
s = !1;
|
|
6604
6604
|
}
|
|
6605
|
-
function
|
|
6605
|
+
function xe() {
|
|
6606
6606
|
var B = z();
|
|
6607
6607
|
B.addEventListener("mousedown", ie, !0), B.addEventListener("touchend", ie, Ut), B.addEventListener("touchstart", ve, Ut), B.addEventListener("touchmove", Se, Ut);
|
|
6608
6608
|
}
|
|
@@ -6772,7 +6772,7 @@ function Wv(e, t) {
|
|
|
6772
6772
|
return hn(x.querySelectorAll("[data-tippy-root]"));
|
|
6773
6773
|
}
|
|
6774
6774
|
function bn(B) {
|
|
6775
|
-
v.clearDelayTimeouts(), B && ne("onTrigger", [v, B]),
|
|
6775
|
+
v.clearDelayTimeouts(), B && ne("onTrigger", [v, B]), xe();
|
|
6776
6776
|
var j = G(!0), J = D(), he = J[0], ce = J[1];
|
|
6777
6777
|
dt.isTouch && he === "hold" && ce && (j = ce), j ? r = setTimeout(function() {
|
|
6778
6778
|
v.show();
|
|
@@ -6822,7 +6822,7 @@ function Wv(e, t) {
|
|
|
6822
6822
|
function Dl() {
|
|
6823
6823
|
var B = v.state.isVisible, j = v.state.isDestroyed, J = !v.state.isEnabled, he = dt.isTouch && !v.props.touch, ce = qr(v.props.duration, 0, tt.duration);
|
|
6824
6824
|
if (!(B || j || J || he) && !L().hasAttribute("disabled") && (ne("onShow", [v], !1), v.props.onShow(v) !== !1)) {
|
|
6825
|
-
if (v.state.isVisible = !0, _() && (x.style.visibility = "visible"), ae(),
|
|
6825
|
+
if (v.state.isVisible = !0, _() && (x.style.visibility = "visible"), ae(), xe(), v.state.isMounted || (x.style.transition = "none"), _()) {
|
|
6826
6826
|
var Ve = Y(), ze = Ve.box, tn = Ve.content;
|
|
6827
6827
|
Hr([ze, tn], 0);
|
|
6828
6828
|
}
|
|
@@ -7769,7 +7769,7 @@ const lm = /* @__PURE__ */ R({
|
|
|
7769
7769
|
}),
|
|
7770
7770
|
emits: ["update:modelValue", "update:isLoading", "update:query", "update:errors"],
|
|
7771
7771
|
setup(e, { expose: t }) {
|
|
7772
|
-
const n = e, r =
|
|
7772
|
+
const n = e, r = we(e, "modelValue"), a = we(e, "isLoading"), i = we(e, "query"), o = we(e, "errors"), l = P(
|
|
7773
7773
|
() => i.value === "" ? n.options : n.options.filter(
|
|
7774
7774
|
(f) => {
|
|
7775
7775
|
var h;
|
|
@@ -7922,7 +7922,7 @@ const lm = /* @__PURE__ */ R({
|
|
|
7922
7922
|
a("update:modelValue", d), (u = s.value) != null && u.length && (s.value = []);
|
|
7923
7923
|
},
|
|
7924
7924
|
get: () => r.modelValue
|
|
7925
|
-
}), o = r.id ?? Qi(), l = E(), s =
|
|
7925
|
+
}), o = r.id ?? Qi(), l = E(), s = we(e, "errors");
|
|
7926
7926
|
return t({
|
|
7927
7927
|
inputRef: l
|
|
7928
7928
|
}), (d, u) => (S(), N(oe(Ue), {
|
|
@@ -8005,7 +8005,7 @@ const lm = /* @__PURE__ */ R({
|
|
|
8005
8005
|
}),
|
|
8006
8006
|
emits: ["update:modelValue", "update:isLoading", "update:selected", "update:search", "update:options", "update:errors"],
|
|
8007
8007
|
setup(e) {
|
|
8008
|
-
const t = e, n =
|
|
8008
|
+
const t = e, n = we(e, "modelValue"), r = we(e, "isLoading"), a = we(e, "selected"), i = we(e, "search"), o = we(e, "options"), l = we(e, "errors"), s = E(!1), d = E(), u = E();
|
|
8009
8009
|
re(
|
|
8010
8010
|
() => {
|
|
8011
8011
|
var p;
|
|
@@ -9422,7 +9422,7 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9422
9422
|
}),
|
|
9423
9423
|
emits: /* @__PURE__ */ ke(["isoValue", "update:modelValue"], ["update:errors"]),
|
|
9424
9424
|
setup(e, { expose: t, emit: n }) {
|
|
9425
|
-
const r = e, a = n, i =
|
|
9425
|
+
const r = e, a = n, i = we(e, "errors"), o = P({
|
|
9426
9426
|
set: (c) => {
|
|
9427
9427
|
if (!r.disabled) {
|
|
9428
9428
|
i.value = [];
|
|
@@ -9540,7 +9540,7 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9540
9540
|
const r = e, a = n, i = (d) => {
|
|
9541
9541
|
var u;
|
|
9542
9542
|
a("change", d), (u = s.value) != null && u.length && (s.value = []);
|
|
9543
|
-
}, o = E(), l = E(), s =
|
|
9543
|
+
}, o = E(), l = E(), s = we(e, "errors");
|
|
9544
9544
|
return t({
|
|
9545
9545
|
fileRef: o,
|
|
9546
9546
|
inputRef: l
|
|
@@ -9592,7 +9592,6 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9592
9592
|
label: {},
|
|
9593
9593
|
description: {},
|
|
9594
9594
|
placeholder: {},
|
|
9595
|
-
type: { default: "text" },
|
|
9596
9595
|
border: { default: "simple" },
|
|
9597
9596
|
layout: { default: "vertical" },
|
|
9598
9597
|
maxlength: {},
|
|
@@ -9603,10 +9602,15 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9603
9602
|
resetErrorsOnUpdate: { type: Boolean, default: !0 },
|
|
9604
9603
|
helpers: {}
|
|
9605
9604
|
}, {
|
|
9605
|
+
type: {
|
|
9606
|
+
type: String,
|
|
9607
|
+
default: "text"
|
|
9608
|
+
},
|
|
9609
|
+
typeModifiers: {},
|
|
9606
9610
|
errors: {},
|
|
9607
9611
|
errorsModifiers: {}
|
|
9608
9612
|
}),
|
|
9609
|
-
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
9613
|
+
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:type", "update:errors"]),
|
|
9610
9614
|
setup(e, { expose: t, emit: n }) {
|
|
9611
9615
|
const r = e, a = n, i = P({
|
|
9612
9616
|
set: (m) => {
|
|
@@ -9614,7 +9618,7 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9614
9618
|
a("update:modelValue", m), r.resetErrorsOnUpdate === !0 && ((p = f.value) != null && p.length) && (f.value = []);
|
|
9615
9619
|
},
|
|
9616
9620
|
get: () => r.modelValue
|
|
9617
|
-
}), o =
|
|
9621
|
+
}), o = we(e, "type"), l = E(), s = E(), d = E(), u = E(0), c = E(0), f = we(e, "errors");
|
|
9618
9622
|
te(() => {
|
|
9619
9623
|
h();
|
|
9620
9624
|
});
|
|
@@ -9682,7 +9686,7 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9682
9686
|
_: 3
|
|
9683
9687
|
}, 8, ["label", "layout", "description", "required", "helpers", "errors"]));
|
|
9684
9688
|
}
|
|
9685
|
-
}), dg = /* @__PURE__ */ le(ug, [["__scopeId", "data-v-
|
|
9689
|
+
}), dg = /* @__PURE__ */ le(ug, [["__scopeId", "data-v-d9c94dfc"]]), cg = ["placeholder", "autofocus", "required", "disabled"], fg = /* @__PURE__ */ R({
|
|
9686
9690
|
__name: "base-input-mask",
|
|
9687
9691
|
props: /* @__PURE__ */ ke({
|
|
9688
9692
|
modelValue: { type: [String, Number, Boolean, null] },
|
|
@@ -9709,7 +9713,7 @@ const tg = ["autofocus", "required", "disabled"], ng = /* @__PURE__ */ R({
|
|
|
9709
9713
|
a("update:modelValue", s), (d = l.value) != null && d.length && (l.value = []);
|
|
9710
9714
|
},
|
|
9711
9715
|
get: () => r.modelValue
|
|
9712
|
-
}), o = E(), l =
|
|
9716
|
+
}), o = E(), l = we(e, "errors");
|
|
9713
9717
|
return t({
|
|
9714
9718
|
inputRef: o
|
|
9715
9719
|
}), (s, d) => {
|
|
@@ -10400,7 +10404,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10400
10404
|
(r.border === "full" || (x = l.value) != null && x.clientWidth) && (d.value = ((k = l.value) == null ? void 0 : k.clientWidth) === 0 ? 10 : (O = l.value) == null ? void 0 : O.clientWidth), (r.border === "full" || ($ = s.value) != null && $.clientWidth) && (u.value = ((D = s.value) == null ? void 0 : D.clientWidth) === 0 ? 10 : (I = s.value) == null ? void 0 : I.clientWidth);
|
|
10401
10405
|
}, 1e3);
|
|
10402
10406
|
});
|
|
10403
|
-
const c =
|
|
10407
|
+
const c = we(e, "modelValue"), f = we(e, "errors"), h = n, m = (g) => {
|
|
10404
10408
|
var b;
|
|
10405
10409
|
h("update:modelValue", Number(g.target.rawValue)), r.resetErrorsOnUpdate === !0 && ((b = f.value) != null && b.length) && (f.value = []);
|
|
10406
10410
|
}, p = P({
|
|
@@ -10487,7 +10491,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10487
10491
|
}),
|
|
10488
10492
|
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
10489
10493
|
setup(e, { emit: t }) {
|
|
10490
|
-
const n = e, r =
|
|
10494
|
+
const n = e, r = we(e, "errors"), a = t, i = P({
|
|
10491
10495
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10492
10496
|
set: (o) => {
|
|
10493
10497
|
var l;
|
|
@@ -10572,7 +10576,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10572
10576
|
}),
|
|
10573
10577
|
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
10574
10578
|
setup(e, { emit: t }) {
|
|
10575
|
-
const n = e, r =
|
|
10579
|
+
const n = e, r = we(e, "errors"), a = t, i = P({
|
|
10576
10580
|
set: (o) => {
|
|
10577
10581
|
var l;
|
|
10578
10582
|
a("update:modelValue", o), (l = r.value) != null && l.length && (r.value = []);
|
|
@@ -10633,7 +10637,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10633
10637
|
}),
|
|
10634
10638
|
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
10635
10639
|
setup(e, { emit: t }) {
|
|
10636
|
-
const n = e, r =
|
|
10640
|
+
const n = e, r = we(e, "errors"), a = t, i = P({
|
|
10637
10641
|
set: (l) => {
|
|
10638
10642
|
var s;
|
|
10639
10643
|
a("update:modelValue", l), (s = r.value) != null && s.length && (r.value = []);
|
|
@@ -10738,7 +10742,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10738
10742
|
}),
|
|
10739
10743
|
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
10740
10744
|
setup(e, { emit: t }) {
|
|
10741
|
-
const n = e, r = t, a =
|
|
10745
|
+
const n = e, r = t, a = we(e, "errors"), i = P({
|
|
10742
10746
|
set: (o) => {
|
|
10743
10747
|
var l;
|
|
10744
10748
|
r("update:modelValue", o), (l = a.value) != null && l.length && (a.value = []);
|
|
@@ -10806,7 +10810,7 @@ const Sg = ["placeholder", "autofocus", "required", "disabled"], Og = /* @__PURE
|
|
|
10806
10810
|
}),
|
|
10807
10811
|
emits: /* @__PURE__ */ ke(["update:modelValue"], ["update:errors"]),
|
|
10808
10812
|
setup(e, { expose: t, emit: n }) {
|
|
10809
|
-
const r = e, a =
|
|
10813
|
+
const r = e, a = we(e, "errors"), i = n, o = P({
|
|
10810
10814
|
set: (u) => {
|
|
10811
10815
|
var c;
|
|
10812
10816
|
i("update:modelValue", u), (c = a.value) != null && c.length && (a.value = []), d();
|