voiptime-components 1.12.18 → 1.12.19
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.cjs.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +84 -77
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1108,6 +1108,8 @@ export declare interface PaginationState {
|
|
|
1108
1108
|
|
|
1109
1109
|
export declare const parseTimeString: (timeStr: string) => TimeObject | null;
|
|
1110
1110
|
|
|
1111
|
+
export declare const phoneNumber: ValidatorFn;
|
|
1112
|
+
|
|
1111
1113
|
declare interface Props {
|
|
1112
1114
|
name: IconName;
|
|
1113
1115
|
width?: string | number;
|
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { createElementBlock as i, openBlock as l, createElementVNode as o, createStaticVNode as Ie, defineComponent as ge, computed as S, createBlock as me, createCommentVNode as Y, resolveDynamicComponent as y1, normalizeStyle as Me, useSlots as
|
|
1
|
+
import { createElementBlock as i, openBlock as l, createElementVNode as o, createStaticVNode as Ie, defineComponent as ge, computed as S, createBlock as me, createCommentVNode as Y, resolveDynamicComponent as y1, normalizeStyle as Me, useSlots as v1, resolveDirective as j1, withDirectives as i1, normalizeClass as G, renderSlot as xe, Teleport as a1, withModifiers as $e, toDisplayString as O, createTextVNode as ke, ref as E, onUnmounted as t1, nextTick as Ve, watch as be, onMounted as Oe, createVNode as ne, Fragment as le, renderList as ve, provide as C1, unref as F, Transition as p1, withCtx as ye, inject as f1, onBeforeUnmount as st, createApp as lt, h as x1, mergeModels as R1, useModel as Lt, reactive as E1, toRef as d1, toRefs as St, vShow as it, TransitionGroup as Dt, isRef as w1 } from "vue";
|
|
2
2
|
const M = (n, e) => {
|
|
3
3
|
const r = n.__vccOpts || n;
|
|
4
4
|
for (const [t, a] of e)
|
|
@@ -3033,7 +3033,7 @@ const k1 = /* @__PURE__ */ M(u6, [["render", d6]]), h6 = ["disabled", "type", "d
|
|
|
3033
3033
|
},
|
|
3034
3034
|
emits: ["click"],
|
|
3035
3035
|
setup(n, { emit: e }) {
|
|
3036
|
-
const r = n, t = e, a =
|
|
3036
|
+
const r = n, t = e, a = v1(), c = S(() => !!(r.icon && r.shape)), d = S(() => {
|
|
3037
3037
|
var C, w;
|
|
3038
3038
|
const m = a.default ? a.default({}) : null;
|
|
3039
3039
|
return ((w = (C = m == null ? void 0 : m[0]) == null ? void 0 : C.children) == null ? void 0 : w.toString()) ?? "";
|
|
@@ -3395,16 +3395,16 @@ function M1(n, e, r = {}) {
|
|
|
3395
3395
|
};
|
|
3396
3396
|
}
|
|
3397
3397
|
const ut = Symbol("VtSelectContext");
|
|
3398
|
-
var k6 = typeof global == "object" && global && global.Object === Object && global, b6 = typeof self == "object" && self && self.Object === Object && self, ct = k6 || b6 || Function("return this")(), b1 = ct.Symbol, dt = Object.prototype, y6 = dt.hasOwnProperty, M6 = dt.toString,
|
|
3398
|
+
var k6 = typeof global == "object" && global && global.Object === Object && global, b6 = typeof self == "object" && self && self.Object === Object && self, ct = k6 || b6 || Function("return this")(), b1 = ct.Symbol, dt = Object.prototype, y6 = dt.hasOwnProperty, M6 = dt.toString, h1 = b1 ? b1.toStringTag : void 0;
|
|
3399
3399
|
function $6(n) {
|
|
3400
|
-
var e = y6.call(n,
|
|
3400
|
+
var e = y6.call(n, h1), r = n[h1];
|
|
3401
3401
|
try {
|
|
3402
|
-
n[
|
|
3402
|
+
n[h1] = void 0;
|
|
3403
3403
|
var t = !0;
|
|
3404
3404
|
} catch {
|
|
3405
3405
|
}
|
|
3406
3406
|
var a = M6.call(n);
|
|
3407
|
-
return t && (e ? n[
|
|
3407
|
+
return t && (e ? n[h1] = r : delete n[h1]), a;
|
|
3408
3408
|
}
|
|
3409
3409
|
var x6 = Object.prototype, L6 = x6.toString;
|
|
3410
3410
|
function S6(n) {
|
|
@@ -4149,7 +4149,7 @@ const ta = ["for"], na = {
|
|
|
4149
4149
|
registerOption: L,
|
|
4150
4150
|
unregisterOption: x
|
|
4151
4151
|
};
|
|
4152
|
-
return
|
|
4152
|
+
return C1(ut, k), e({
|
|
4153
4153
|
...{
|
|
4154
4154
|
focus() {
|
|
4155
4155
|
q.value || P();
|
|
@@ -4315,7 +4315,7 @@ const ta = ["for"], na = {
|
|
|
4315
4315
|
}, null, 8, ["class"]))
|
|
4316
4316
|
])
|
|
4317
4317
|
], 544),
|
|
4318
|
-
ne(
|
|
4318
|
+
ne(p1, { name: "fade" }, {
|
|
4319
4319
|
default: ye(() => [
|
|
4320
4320
|
C.validationErrors && C.validationErrors.value.length ? (l(), i("div", ya, [
|
|
4321
4321
|
(l(!0), i(le, null, ve(C.validationErrors.value, (T, ae) => (l(), i("div", {
|
|
@@ -4333,7 +4333,7 @@ const ta = ["for"], na = {
|
|
|
4333
4333
|
key: 1,
|
|
4334
4334
|
to: "body"
|
|
4335
4335
|
}, [
|
|
4336
|
-
ne(
|
|
4336
|
+
ne(p1, { name: "dropdown" }, {
|
|
4337
4337
|
default: ye(() => [
|
|
4338
4338
|
o("div", {
|
|
4339
4339
|
ref_key: "dropdownRef",
|
|
@@ -4422,7 +4422,7 @@ const ta = ["for"], na = {
|
|
|
4422
4422
|
},
|
|
4423
4423
|
emits: ["click"],
|
|
4424
4424
|
setup(n, { emit: e }) {
|
|
4425
|
-
const r = n, t =
|
|
4425
|
+
const r = n, t = v1(), a = f1(ut);
|
|
4426
4426
|
a || console.warn("VOption повинен використовуватися всередині VSelect");
|
|
4427
4427
|
const c = S(() => ({
|
|
4428
4428
|
label: r.label,
|
|
@@ -4962,7 +4962,7 @@ const Ja = (n, e, r = "asc") => {
|
|
|
4962
4962
|
!f.value && !v.value && N();
|
|
4963
4963
|
}, t.hideTimeout);
|
|
4964
4964
|
};
|
|
4965
|
-
|
|
4965
|
+
C1(Ct, {
|
|
4966
4966
|
handleCommand: (q) => {
|
|
4967
4967
|
a("command", q), t.hideOnClick && N();
|
|
4968
4968
|
},
|
|
@@ -5041,7 +5041,7 @@ const Ja = (n, e, r = "asc") => {
|
|
|
5041
5041
|
},
|
|
5042
5042
|
emits: ["click"],
|
|
5043
5043
|
setup(n, { emit: e }) {
|
|
5044
|
-
const r = n, t = e, a =
|
|
5044
|
+
const r = n, t = e, a = f1(Ct);
|
|
5045
5045
|
a || console.warn("VDropdownItem must be used within VDropdown");
|
|
5046
5046
|
const c = (d) => {
|
|
5047
5047
|
r.disabled || (console.log("VDropdownItem click:", r.command), t("click", d), r.command !== void 0 && a && (console.log("Calling handleCommand with:", r.command), a.handleCommand(r.command)));
|
|
@@ -5524,7 +5524,7 @@ const Xe = new n0(), o0 = {
|
|
|
5524
5524
|
R && !m.value && (f.length = 0, f.push(...R));
|
|
5525
5525
|
},
|
|
5526
5526
|
{ deep: !0 }
|
|
5527
|
-
),
|
|
5527
|
+
), C1("vt-table-columns", f);
|
|
5528
5528
|
const { sortedColumns: L, getDefaultColumnWidth: x, getStickyOffset: I } = qa(f), { getTableWrapperStyle: W, getColumnStyle: U, getHeaderStyle: H, getFooterStyle: V } = Ka(t), { onMouseDown: K } = Xa(), oe = S(() => t.allData || t.data), Z = t.selectable ? Ga(t, h, a, oe) : null, q = t.rowDraggable ? Qa(() => h.value, a) : null, he = () => ({
|
|
5529
5529
|
width: `${m1}px`,
|
|
5530
5530
|
minWidth: `${m1}px`,
|
|
@@ -5940,7 +5940,7 @@ const Xe = new n0(), o0 = {
|
|
|
5940
5940
|
sortMethod: {}
|
|
5941
5941
|
},
|
|
5942
5942
|
setup(n) {
|
|
5943
|
-
const e = n, r =
|
|
5943
|
+
const e = n, r = v1(), t = f1("vt-table-columns");
|
|
5944
5944
|
t || console.error(
|
|
5945
5945
|
"VTableColumn: не знайдено контекст таблиці. Переконайтеся, що компонент використовується всередині VTable."
|
|
5946
5946
|
);
|
|
@@ -6000,7 +6000,7 @@ const Xe = new n0(), o0 = {
|
|
|
6000
6000
|
}
|
|
6001
6001
|
}), (d, p) => null;
|
|
6002
6002
|
}
|
|
6003
|
-
}),
|
|
6003
|
+
}), j8 = {
|
|
6004
6004
|
yyyy: {
|
|
6005
6005
|
pattern: /yyyy/g,
|
|
6006
6006
|
replacement: (n) => String(n.getFullYear())
|
|
@@ -6058,7 +6058,7 @@ const Xe = new n0(), o0 = {
|
|
|
6058
6058
|
"Жовтень",
|
|
6059
6059
|
"Листопад",
|
|
6060
6060
|
"Грудень"
|
|
6061
|
-
], mt = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"],
|
|
6061
|
+
], mt = ["Січ", "Лют", "Бер", "Кві", "Тра", "Чер", "Лип", "Сер", "Вер", "Жов", "Лис", "Гру"], E8 = ["Неділя", "Понеділок", "Вівторок", "Середа", "Четвер", "П'ятниця", "Субота"], D1 = ["Нд", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб"], P0 = {
|
|
6062
6062
|
date: "yyyy-MM-dd",
|
|
6063
6063
|
datetime: "yyyy-MM-dd HH:mm:ss",
|
|
6064
6064
|
daterange: "yyyy-MM-dd",
|
|
@@ -6457,7 +6457,7 @@ const Xe = new n0(), o0 = {
|
|
|
6457
6457
|
Pe = z.value;
|
|
6458
6458
|
break;
|
|
6459
6459
|
}
|
|
6460
|
-
const We = Pe.find((
|
|
6460
|
+
const We = Pe.find((c1) => c1.value === ue);
|
|
6461
6461
|
We && !We.disabled && ($ === "hour" ? u ? oe.value = ue : U.value = ue : $ === "minute" ? u ? Z.value = ue : H.value = ue : $ === "second" && (u ? q.value = ue : V.value = ue));
|
|
6462
6462
|
}
|
|
6463
6463
|
}
|
|
@@ -6695,7 +6695,7 @@ const Xe = new n0(), o0 = {
|
|
|
6695
6695
|
key: 0,
|
|
6696
6696
|
to: "body"
|
|
6697
6697
|
}, [
|
|
6698
|
-
ne(
|
|
6698
|
+
ne(p1, { name: "dropdown" }, {
|
|
6699
6699
|
default: ye(() => [
|
|
6700
6700
|
o("div", {
|
|
6701
6701
|
ref_key: "dropdownRef",
|
|
@@ -7056,8 +7056,8 @@ const Xe = new n0(), o0 = {
|
|
|
7056
7056
|
// Time state for datetime types
|
|
7057
7057
|
startTime: E(C()),
|
|
7058
7058
|
endTime: E(w())
|
|
7059
|
-
}, N =
|
|
7060
|
-
|
|
7059
|
+
}, N = d1(t, "modelValue"), j = d1(t, "type"), L = d1(t, "format"), x = d1(t, "valueFormat");
|
|
7060
|
+
d1(t, "rangeSeparator");
|
|
7061
7061
|
const {
|
|
7062
7062
|
isRange: I,
|
|
7063
7063
|
parsedValue: W,
|
|
@@ -7319,7 +7319,7 @@ const Xe = new n0(), o0 = {
|
|
|
7319
7319
|
(t.type === "daterange" || t.type === "datetimerange") && (D && !pe(_) || y && !ce(_)) || I.value && s.isSelectingEnd.value && s.startDate.value && (s.hoverDate.value = new Date(_));
|
|
7320
7320
|
}, We = () => {
|
|
7321
7321
|
I.value && s.isSelectingEnd.value && (s.hoverDate.value = null);
|
|
7322
|
-
},
|
|
7322
|
+
}, c1 = (_, D = !1) => {
|
|
7323
7323
|
if (D ? s.endTime.value = _ : s.startTime.value = _, !I.value && s.startDate.value && s.startTime.value) {
|
|
7324
7324
|
const y = T(s.startDate.value, s.startTime.value);
|
|
7325
7325
|
try {
|
|
@@ -7503,7 +7503,7 @@ const Xe = new n0(), o0 = {
|
|
|
7503
7503
|
key: 0,
|
|
7504
7504
|
to: "body"
|
|
7505
7505
|
}, [
|
|
7506
|
-
ne(
|
|
7506
|
+
ne(p1, { name: "dropdown" }, {
|
|
7507
7507
|
default: ye(() => [
|
|
7508
7508
|
o("div", {
|
|
7509
7509
|
ref_key: "dropdownRef",
|
|
@@ -7538,7 +7538,7 @@ const Xe = new n0(), o0 = {
|
|
|
7538
7538
|
"use12-hours": t.use12Hours,
|
|
7539
7539
|
placeholder: "Початковий час",
|
|
7540
7540
|
type: "time",
|
|
7541
|
-
onChange: D[1] || (D[1] = (y) =>
|
|
7541
|
+
onChange: D[1] || (D[1] = (y) => c1(y, !1))
|
|
7542
7542
|
}, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
|
|
7543
7543
|
])) : Y("", !0),
|
|
7544
7544
|
o("div", t4, [
|
|
@@ -7607,7 +7607,7 @@ const Xe = new n0(), o0 = {
|
|
|
7607
7607
|
"use12-hours": t.use12Hours,
|
|
7608
7608
|
placeholder: "Кінцевий час",
|
|
7609
7609
|
type: "time",
|
|
7610
|
-
onChange: D[4] || (D[4] = (y) =>
|
|
7610
|
+
onChange: D[4] || (D[4] = (y) => c1(y, !0))
|
|
7611
7611
|
}, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
|
|
7612
7612
|
])) : Y("", !0),
|
|
7613
7613
|
o("div", c4, [
|
|
@@ -7676,7 +7676,7 @@ const Xe = new n0(), o0 = {
|
|
|
7676
7676
|
"use12-hours": t.use12Hours,
|
|
7677
7677
|
placeholder: "Час",
|
|
7678
7678
|
type: "time",
|
|
7679
|
-
onChange: D[7] || (D[7] = (y) =>
|
|
7679
|
+
onChange: D[7] || (D[7] = (y) => c1(y, !1))
|
|
7680
7680
|
}, null, 8, ["modelValue", "disabled-hours", "disabled-minutes", "disabled-seconds", "hide-disabled-options", "hour-step", "minute-step", "second-step", "show-seconds", "use12-hours"])
|
|
7681
7681
|
])) : Y("", !0),
|
|
7682
7682
|
o("div", _4, [
|
|
@@ -7820,7 +7820,7 @@ const Xe = new n0(), o0 = {
|
|
|
7820
7820
|
h > -1 ? v.splice(h, 1) : v.push(f), t("update:modelValue", v), t("change", v);
|
|
7821
7821
|
}
|
|
7822
7822
|
});
|
|
7823
|
-
return
|
|
7823
|
+
return C1("collapseContext", p), (f, v) => (l(), i("div", j4, [
|
|
7824
7824
|
xe(f.$slots, "default")
|
|
7825
7825
|
]));
|
|
7826
7826
|
}
|
|
@@ -7833,7 +7833,7 @@ const Xe = new n0(), o0 = {
|
|
|
7833
7833
|
},
|
|
7834
7834
|
emits: ["toggle"],
|
|
7835
7835
|
setup(n, { emit: e }) {
|
|
7836
|
-
const r = n, t = e, a =
|
|
7836
|
+
const r = n, t = e, a = f1("collapseContext");
|
|
7837
7837
|
if (!a)
|
|
7838
7838
|
throw new Error("VCollapseItem must be used within VCollapse");
|
|
7839
7839
|
const c = S(() => a.activeNames.includes(r.name)), d = () => {
|
|
@@ -7872,7 +7872,7 @@ const Xe = new n0(), o0 = {
|
|
|
7872
7872
|
ne(Ce, { name: "arrowRight" })
|
|
7873
7873
|
], 2)
|
|
7874
7874
|
], 2),
|
|
7875
|
-
ne(
|
|
7875
|
+
ne(p1, {
|
|
7876
7876
|
name: "collapse",
|
|
7877
7877
|
onEnter: p,
|
|
7878
7878
|
onLeave: f,
|
|
@@ -7899,7 +7899,7 @@ const Xe = new n0(), o0 = {
|
|
|
7899
7899
|
},
|
|
7900
7900
|
emits: ["update:modelValue", "tab-change", "tab-remove", "tab-add"],
|
|
7901
7901
|
setup(n, { emit: e }) {
|
|
7902
|
-
const r = n, t = e, a =
|
|
7902
|
+
const r = n, t = e, a = v1(), c = E(r.modelValue), d = E([]);
|
|
7903
7903
|
be(
|
|
7904
7904
|
() => r.modelValue,
|
|
7905
7905
|
(m) => {
|
|
@@ -7922,7 +7922,7 @@ const Xe = new n0(), o0 = {
|
|
|
7922
7922
|
});
|
|
7923
7923
|
return w && w.children && typeof w.children == "object" && "title" in w.children ? w.children.title : null;
|
|
7924
7924
|
};
|
|
7925
|
-
return
|
|
7925
|
+
return C1("VTabsContext", {
|
|
7926
7926
|
currentValue: c,
|
|
7927
7927
|
addTab: p,
|
|
7928
7928
|
removeTab: f,
|
|
@@ -7973,8 +7973,8 @@ const Xe = new n0(), o0 = {
|
|
|
7973
7973
|
},
|
|
7974
7974
|
setup(n) {
|
|
7975
7975
|
const e = n;
|
|
7976
|
-
|
|
7977
|
-
const r =
|
|
7976
|
+
v1();
|
|
7977
|
+
const r = f1("VTabsContext");
|
|
7978
7978
|
if (!r)
|
|
7979
7979
|
throw new Error("VTabItem must be used inside VTabs");
|
|
7980
7980
|
const t = S(() => r.currentValue.value === e.name);
|
|
@@ -8484,46 +8484,52 @@ const qe = new g8(), rt = Object.assign(
|
|
|
8484
8484
|
};
|
|
8485
8485
|
}
|
|
8486
8486
|
};
|
|
8487
|
-
function
|
|
8487
|
+
function A8(n, e) {
|
|
8488
8488
|
const r = e;
|
|
8489
8489
|
return r.$params = n, r;
|
|
8490
8490
|
}
|
|
8491
|
-
function
|
|
8491
|
+
function P8(n, e) {
|
|
8492
8492
|
const r = e;
|
|
8493
8493
|
return r.$message = n, r;
|
|
8494
8494
|
}
|
|
8495
|
-
function
|
|
8495
|
+
function R8(n) {
|
|
8496
8496
|
const e = n;
|
|
8497
8497
|
return e.$async = !0, e;
|
|
8498
8498
|
}
|
|
8499
|
-
function
|
|
8499
|
+
function u1(n, e) {
|
|
8500
8500
|
const r = e;
|
|
8501
8501
|
return r.$validatorName = n, r;
|
|
8502
8502
|
}
|
|
8503
|
-
function
|
|
8503
|
+
function Z8(n, e) {
|
|
8504
8504
|
let r = e;
|
|
8505
8505
|
return n.name && (r.$validatorName = n.name), n.params && (r.$params = n.params), n.message && (r.$message = n.message), n.async && (r.$async = !0), r;
|
|
8506
8506
|
}
|
|
8507
8507
|
const w8 = (n) => n == null ? "Поле є обовʼязковим" : Array.isArray(n) ? n.length > 0 || "Поле є обовʼязковим" : n.toString().trim() !== "" || "Поле є обовʼязковим";
|
|
8508
|
-
|
|
8509
|
-
const
|
|
8508
|
+
u1("required", w8);
|
|
8509
|
+
const F8 = (n) => Object.assign(
|
|
8510
8510
|
(e) => e == null || e === "" ? !0 : e.length >= n || `Мінімальна довжина ${n}`,
|
|
8511
8511
|
{ $params: { min: n }, $validatorName: "minLength" }
|
|
8512
|
-
),
|
|
8512
|
+
), z8 = (n) => Object.assign(
|
|
8513
8513
|
(e) => e == null || e === "" ? !0 : e.length <= n || `Максимальна довжина ${n}`,
|
|
8514
8514
|
{ $params: { max: n }, $validatorName: "maxLength" }
|
|
8515
8515
|
), k8 = (n) => (n == null || n === "" ? !0 : /^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(n)) || "Невірний email";
|
|
8516
|
-
|
|
8517
|
-
const
|
|
8516
|
+
u1("email", k8);
|
|
8517
|
+
const O8 = (n, e) => Object.assign(
|
|
8518
8518
|
(r) => r === n() || e || "Значення не співпадає",
|
|
8519
8519
|
{ $params: { eq: n }, $validatorName: "sameAs" }
|
|
8520
|
-
), b8 = (n) =>
|
|
8521
|
-
|
|
8522
|
-
const
|
|
8523
|
-
|
|
8524
|
-
|
|
8525
|
-
|
|
8526
|
-
const
|
|
8520
|
+
), b8 = (n) => {
|
|
8521
|
+
if (n == null || n === "") return !0;
|
|
8522
|
+
const e = n.toString().trim();
|
|
8523
|
+
return /^\+?\d+$/.test(e) || "Номер повинен містити лише цифри або починатися з +";
|
|
8524
|
+
};
|
|
8525
|
+
u1("phoneNumber", b8);
|
|
8526
|
+
const y8 = (n) => (n == null || n === "" ? !0 : !isNaN(Number(n))) || "Повинно бути числом";
|
|
8527
|
+
u1("numeric", y8);
|
|
8528
|
+
const M8 = (n) => n == null || n === "" ? !0 : /[A-Z]/.test(n) || "Має містити хоча б одну велику літеру";
|
|
8529
|
+
u1("containUpperCaseLetter", M8);
|
|
8530
|
+
const $8 = (n) => n == null || n === "" ? !0 : !/\s/.test(n) || "Не повинно містити пробілів";
|
|
8531
|
+
u1("noSpaces", $8);
|
|
8532
|
+
const N8 = (n, e = "Значення вже зайнято") => Object.assign(async (t) => t == null || t === "" ? !0 : await n(t) || e, { $async: !0, $validatorName: "uniqueAsync" });
|
|
8527
8533
|
function gt(n, e) {
|
|
8528
8534
|
if (!e) return n;
|
|
8529
8535
|
const r = e.split(".");
|
|
@@ -8534,7 +8540,7 @@ function gt(n, e) {
|
|
|
8534
8540
|
}
|
|
8535
8541
|
return t;
|
|
8536
8542
|
}
|
|
8537
|
-
function
|
|
8543
|
+
function x8(n, e, r) {
|
|
8538
8544
|
const t = e.split(".");
|
|
8539
8545
|
let a = n;
|
|
8540
8546
|
for (let c = 0; c < t.length - 1; c++) {
|
|
@@ -8543,7 +8549,7 @@ function $8(n, e, r) {
|
|
|
8543
8549
|
}
|
|
8544
8550
|
a[t[t.length - 1]] = r;
|
|
8545
8551
|
}
|
|
8546
|
-
function
|
|
8552
|
+
function L8(n, e) {
|
|
8547
8553
|
return {
|
|
8548
8554
|
get value() {
|
|
8549
8555
|
const r = w1(n) ? n.value : n;
|
|
@@ -8551,12 +8557,12 @@ function x8(n, e) {
|
|
|
8551
8557
|
},
|
|
8552
8558
|
set value(r) {
|
|
8553
8559
|
const t = w1(n) ? n.value : n;
|
|
8554
|
-
|
|
8560
|
+
x8(t, e, r);
|
|
8555
8561
|
}
|
|
8556
8562
|
};
|
|
8557
8563
|
}
|
|
8558
|
-
function
|
|
8559
|
-
const a =
|
|
8564
|
+
function S8(n, e, r, t) {
|
|
8565
|
+
const a = L8(n, e), c = E(!1), d = E(!1), p = E(!1), f = { t: 0 };
|
|
8560
8566
|
let v = !1, h = [];
|
|
8561
8567
|
const m = E([]);
|
|
8562
8568
|
async function C(s) {
|
|
@@ -8647,7 +8653,7 @@ function L8(n, e, r, t) {
|
|
|
8647
8653
|
h = [], w.$validate();
|
|
8648
8654
|
}, w;
|
|
8649
8655
|
}
|
|
8650
|
-
function
|
|
8656
|
+
function Y8(n, e, r) {
|
|
8651
8657
|
const t = { silentErrors: !!(r != null && r.silentErrors) }, a = typeof n == "function" ? n() : n, c = (w1(e), e);
|
|
8652
8658
|
function d(h, m = "") {
|
|
8653
8659
|
const C = {}, w = Object.keys(h || {});
|
|
@@ -8655,7 +8661,7 @@ function N8(n, e, r) {
|
|
|
8655
8661
|
const V = h[H], K = m ? `${m}.${H}` : H;
|
|
8656
8662
|
if (typeof V == "function" || Array.isArray(V) && V.length > 0 && typeof V[0] == "function") {
|
|
8657
8663
|
const oe = Array.isArray(V) ? V : [V];
|
|
8658
|
-
C[H] =
|
|
8664
|
+
C[H] = S8(c, K, oe, t);
|
|
8659
8665
|
} else typeof V == "object" && V !== null ? typeof V == "object" && Array.isArray(V) === !1 && (C[H] = d(V, K)) : C[H] = d({}, K);
|
|
8660
8666
|
}
|
|
8661
8667
|
const s = async () => {
|
|
@@ -8750,25 +8756,25 @@ function N8(n, e, r) {
|
|
|
8750
8756
|
const v = d(a, "");
|
|
8751
8757
|
return v;
|
|
8752
8758
|
}
|
|
8753
|
-
const
|
|
8759
|
+
const W8 = {
|
|
8754
8760
|
sortable: !0,
|
|
8755
8761
|
actionColumn: !1,
|
|
8756
8762
|
showOverflowTooltip: !0,
|
|
8757
8763
|
visible: !0,
|
|
8758
8764
|
pinnedLeft: !1,
|
|
8759
8765
|
pinnedRight: !1
|
|
8760
|
-
},
|
|
8766
|
+
}, D8 = {
|
|
8761
8767
|
install(n, e = {}) {
|
|
8762
8768
|
const { prefix: r = "V", modal: t = !0, message: a = !0 } = e;
|
|
8763
8769
|
n.component(`${r}Button`, Ge), n.component(`${r}Icon`, Ce), n.component(`${r}Loader`, k1), n.component(`${r}Modal`, at), n.component(`${r}Pagination`, Na), n.component(`${r}Checkbox`, r1), n.component(`${r}Radiobox`, Ua), n.component(`${r}Table`, j0), n.component(`${r}TableColumn`, E0), n.component(`${r}Dropdown`, ft), n.component(`${r}DropdownItem`, T1), n.component(`${r}Input`, ht), n.component(`${r}Select`, pt), n.component(`${r}Option`, vt), n.component(`${r}DatePicker`, B4), n.component(`${r}TimePicker`, _1), n.component(`${r}Collapse`, E4), n.component(`${r}CollapseItem`, Z4), n.component(`${r}Tabs`, U4), n.component(`${r}TabItem`, K4), n.component(`${r}Upload`, a8), n.directive("tooltip", u8), n.directive("loader", c8), t && n.use(o0), a && n.use(_8);
|
|
8764
8770
|
}
|
|
8765
|
-
},
|
|
8771
|
+
}, U8 = D8.install;
|
|
8766
8772
|
export {
|
|
8767
|
-
|
|
8773
|
+
W8 as DEFAULT_COLUMN_CONFIG,
|
|
8768
8774
|
P0 as DEFAULT_FORMATS,
|
|
8769
8775
|
g1 as DEFAULT_TIME_FORMATS,
|
|
8770
8776
|
Ct as DropdownContextKey,
|
|
8771
|
-
|
|
8777
|
+
j8 as FORMAT_TOKENS,
|
|
8772
8778
|
l1 as FileValidator,
|
|
8773
8779
|
A0 as MONTH_NAMES,
|
|
8774
8780
|
mt as MONTH_NAMES_SHORT,
|
|
@@ -8797,34 +8803,35 @@ export {
|
|
|
8797
8803
|
_1 as VTimePicker,
|
|
8798
8804
|
a8 as VUpload,
|
|
8799
8805
|
ut as VtSelectContextKey,
|
|
8800
|
-
|
|
8806
|
+
E8 as WEEKDAY_NAMES,
|
|
8801
8807
|
D1 as WEEKDAY_NAMES_SHORT,
|
|
8802
|
-
|
|
8803
|
-
|
|
8808
|
+
M8 as containUpperCaseLetter,
|
|
8809
|
+
D8 as default,
|
|
8804
8810
|
k8 as email,
|
|
8805
8811
|
N0 as formatTime,
|
|
8806
8812
|
V1 as generateTimeOptions,
|
|
8807
|
-
|
|
8813
|
+
U8 as install,
|
|
8808
8814
|
q1 as isValidDate,
|
|
8809
8815
|
I1 as isValidTimeString,
|
|
8810
8816
|
c8 as loaderDirective,
|
|
8811
|
-
|
|
8817
|
+
z8 as maxLength,
|
|
8812
8818
|
qe as messageManager,
|
|
8813
|
-
|
|
8814
|
-
|
|
8819
|
+
F8 as minLength,
|
|
8820
|
+
Z8 as mk,
|
|
8815
8821
|
Xe as modalManager,
|
|
8816
|
-
|
|
8817
|
-
|
|
8822
|
+
$8 as noSpaces,
|
|
8823
|
+
y8 as numeric,
|
|
8818
8824
|
Y0 as parseTimeString,
|
|
8825
|
+
b8 as phoneNumber,
|
|
8819
8826
|
w8 as required,
|
|
8820
|
-
|
|
8827
|
+
O8 as sameAs,
|
|
8821
8828
|
u8 as tooltipDirective,
|
|
8822
|
-
|
|
8823
|
-
|
|
8829
|
+
N8 as uniqueAsync,
|
|
8830
|
+
Y8 as useValidate,
|
|
8824
8831
|
Z0 as validateDateValue,
|
|
8825
8832
|
O0 as validateTimeValue,
|
|
8826
|
-
|
|
8827
|
-
|
|
8828
|
-
|
|
8829
|
-
|
|
8833
|
+
R8 as withAsync,
|
|
8834
|
+
P8 as withMessage,
|
|
8835
|
+
u1 as withName,
|
|
8836
|
+
A8 as withParams
|
|
8830
8837
|
};
|