@caipira/tamandua 0.0.61 → 0.0.62
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/InputPrice.js +2 -2
- package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-C2wDVwnm.js → InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js} +20 -20
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DgMRjecc.js → InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js} +79 -78
- package/dist/components.js +2 -2
- package/dist/date.js +170 -354
- package/dist/{plugin-fGlPPiqA.js → plugin-CZiSoM73.js} +1 -1
- package/dist/{plugin-CQ-FpZui.js → plugin-RM2wZuwL.js} +1 -1
- package/dist/{plugins-B1SFJH99.js → plugins-DD6fcgTJ.js} +3 -3
- package/dist/plugins.js +3 -3
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Avatar/Avatar.vue.d.ts +2 -2
- package/dist/types/components/Button/Button.vue.d.ts +13 -11
- package/dist/types/components/ChartLine/ChartLine.vue.d.ts +2 -2
- package/dist/types/components/Drawer/Drawer.vue.d.ts +8 -6
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +33 -31
- package/dist/types/components/Form/Form.vue.d.ts +8 -76
- package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -2
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +4 -2
- package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +1 -1
- package/dist/types/components/Icon/Icon.vue.d.ts +1 -1
- package/dist/types/components/InputPrice/service.d.ts +1 -1
- package/dist/types/components/InputPrice/types.d.ts +1 -1
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +6 -4
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +35 -33
- package/dist/types/components/Link/Link.vue.d.ts +7 -5
- package/dist/types/components/Modal/Modal.vue.d.ts +8 -6
- package/dist/types/components/ModalForm/ModalForm.vue.d.ts +7 -5
- package/dist/types/components/Pagination/Pagination.vue.d.ts +1 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +9 -7
- package/dist/types/components/Popover/Popover.vue.d.ts +4 -4
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +6 -4
- package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +6 -4
- package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +4 -2
- package/dist/types/components/Tab/Tab.vue.d.ts +4 -2
- package/dist/types/components/Table/Table.vue.d.ts +12 -73
- package/dist/types/components/Tag/Tag.vue.d.ts +6 -4
- package/dist/types/services/date.d.ts +2 -2
- package/package.json +14 -14
package/dist/InputPrice.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./InputPrice.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as t } from "./plugin-
|
|
1
|
+
import { _ as e } from "./InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js";
|
|
2
|
+
import { p as t } from "./plugin-RM2wZuwL.js";
|
|
3
3
|
export {
|
|
4
4
|
e as InputPrice,
|
|
5
5
|
t as InputPricePlugin
|
|
@@ -3,10 +3,10 @@ const _ = {
|
|
|
3
3
|
options: {
|
|
4
4
|
precision: 2
|
|
5
5
|
},
|
|
6
|
-
inputToPriceNumber(
|
|
7
|
-
return
|
|
6
|
+
inputToPriceNumber(r) {
|
|
7
|
+
return r = r.replace(/[^0-9]/g, "").trim(), r ? (parseFloat(r) / Math.pow(10, this.options.precision)).toFixed(this.options.precision) : "";
|
|
8
8
|
}
|
|
9
|
-
},
|
|
9
|
+
}, h = { class: "flex items-center h-9 w-full input-bg-color input-text-color border input-border input-roundness" }, k = ["disabled"], T = /* @__PURE__ */ v({
|
|
10
10
|
name: "TInputPrice",
|
|
11
11
|
inheritAttrs: !1,
|
|
12
12
|
__name: "InputPrice",
|
|
@@ -17,17 +17,17 @@ const _ = {
|
|
|
17
17
|
modelValue: {
|
|
18
18
|
default: {
|
|
19
19
|
iso: "",
|
|
20
|
-
value:
|
|
20
|
+
value: ""
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
23
|
modelModifiers: {}
|
|
24
24
|
}),
|
|
25
25
|
emits: /* @__PURE__ */ a(["keyup", "blur"], ["update:modelValue"]),
|
|
26
|
-
setup(
|
|
27
|
-
const e = b(
|
|
26
|
+
setup(r, { emit: n }) {
|
|
27
|
+
const e = b(r, "modelValue"), u = n, i = r, p = (o) => ({
|
|
28
28
|
label: o.symbol,
|
|
29
29
|
value: o.iso
|
|
30
|
-
}),
|
|
30
|
+
}), d = (o, t) => {
|
|
31
31
|
if (t === void 0) {
|
|
32
32
|
e.value = { ...e.value };
|
|
33
33
|
return;
|
|
@@ -39,36 +39,36 @@ const _ = {
|
|
|
39
39
|
iso: o
|
|
40
40
|
};
|
|
41
41
|
}, m = (o) => {
|
|
42
|
-
const
|
|
42
|
+
const l = o.target.value;
|
|
43
43
|
e.value = {
|
|
44
44
|
...e.value,
|
|
45
|
-
value: _.inputToPriceNumber(
|
|
45
|
+
value: _.inputToPriceNumber(l)
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
return f(e,
|
|
49
|
-
const
|
|
50
|
-
return x(), y("div",
|
|
51
|
-
I(
|
|
48
|
+
return f(e, d, { immediate: !0 }), (o, t) => {
|
|
49
|
+
const l = g("t-input-select");
|
|
50
|
+
return x(), y("div", h, [
|
|
51
|
+
I(l, {
|
|
52
52
|
modelValue: e.value.iso,
|
|
53
53
|
"onUpdate:modelValue": [
|
|
54
|
-
t[0] || (t[0] = (
|
|
54
|
+
t[0] || (t[0] = (s) => e.value.iso = s),
|
|
55
55
|
c
|
|
56
56
|
],
|
|
57
57
|
resource: i.resource,
|
|
58
|
-
mapper:
|
|
58
|
+
mapper: p,
|
|
59
59
|
"width-class": "w-20",
|
|
60
60
|
"border-class": "border-t border-r border-b input-border",
|
|
61
61
|
"roundness-class": ""
|
|
62
62
|
}, null, 8, ["modelValue", "resource"]),
|
|
63
63
|
N(M("input", {
|
|
64
|
-
"onUpdate:modelValue": t[1] || (t[1] = (
|
|
64
|
+
"onUpdate:modelValue": t[1] || (t[1] = (s) => e.value.value = s),
|
|
65
65
|
type: "text",
|
|
66
66
|
class: "w-full h-full input-bg-color input-text-color input-outline input-roundness input-padding",
|
|
67
67
|
disabled: i.disabled,
|
|
68
68
|
onInput: m,
|
|
69
|
-
onKeyup: t[2] || (t[2] = (
|
|
70
|
-
onBlur: t[3] || (t[3] = (
|
|
71
|
-
}, null, 40,
|
|
69
|
+
onKeyup: t[2] || (t[2] = (s) => u("keyup", s)),
|
|
70
|
+
onBlur: t[3] || (t[3] = (s) => u("blur", s))
|
|
71
|
+
}, null, 40, k), [
|
|
72
72
|
[P, e.value.value]
|
|
73
73
|
])
|
|
74
74
|
]);
|
|
@@ -76,5 +76,5 @@ const _ = {
|
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
78
|
export {
|
|
79
|
-
|
|
79
|
+
T as _
|
|
80
80
|
};
|
package/dist/InputSelect.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as r } from "./plugin-
|
|
1
|
+
import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
|
|
2
|
+
import { p as r } from "./plugin-CZiSoM73.js";
|
|
3
3
|
export {
|
|
4
4
|
p as InputSelect,
|
|
5
5
|
r as InputSelectPlugin
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as ue, mergeModels as O, useModel as ne, ref as d, computed as I, onBeforeMount as oe, watch as D, resolveComponent as k, openBlock as o, createBlock as z, normalizeClass as x, withCtx as R, createElementVNode as se, createVNode as K, createElementBlock as p, renderSlot as g, normalizeProps as _, mergeProps as M, Fragment as V, renderList as N, guardReactiveProps as U, toDisplayString as q, createCommentVNode as T, withDirectives as ie, vModelText as re, createSlots as ce, createTextVNode as pe, nextTick as de } from "vue";
|
|
2
2
|
import { a as fe, E as ve } from "./ui-BSiRZzeZ.js";
|
|
3
3
|
const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
4
4
|
key: 0,
|
|
@@ -6,7 +6,7 @@ const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
|
6
6
|
}, be = {
|
|
7
7
|
key: 1,
|
|
8
8
|
class: "inline-flex items-center"
|
|
9
|
-
},
|
|
9
|
+
}, ge = /* @__PURE__ */ ue({
|
|
10
10
|
name: "TInputSelect",
|
|
11
11
|
__name: "InputSelect",
|
|
12
12
|
props: /* @__PURE__ */ O({
|
|
@@ -16,7 +16,7 @@ const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
|
16
16
|
value: f.id ?? f.uuid,
|
|
17
17
|
label: f
|
|
18
18
|
}) },
|
|
19
|
-
filter: { type: Function, default: (f,
|
|
19
|
+
filter: { type: Function, default: (f, B) => B.label.toLowerCase().indexOf(f.toLowerCase()) >= 0 },
|
|
20
20
|
tooltip: { default: "" },
|
|
21
21
|
disabled: { type: Boolean },
|
|
22
22
|
resource: {},
|
|
@@ -33,101 +33,101 @@ const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
|
33
33
|
modelModifiers: {}
|
|
34
34
|
}),
|
|
35
35
|
emits: /* @__PURE__ */ O(["update:model-value"], ["update:modelValue"]),
|
|
36
|
-
setup(f, { emit:
|
|
36
|
+
setup(f, { emit: B }) {
|
|
37
37
|
const l = f;
|
|
38
|
-
let
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
if (
|
|
38
|
+
let $ = !1, C, j = "";
|
|
39
|
+
const G = B, s = ne(f, "modelValue"), u = d([]), c = d(""), P = d(null), F = d(), i = d(!1), L = d(null), a = d([]), A = d(!1), v = d(null), h = I(() => a.value.length > 0), m = I(() => l.isSearchable && i.value), b = I(() => typeof l.resource == "function"), H = (e) => !l.multiple || !s.value || !Array.isArray(s.value) ? !1 : s.value.includes(e.value), J = (e = s.value) => !(e === void 0 || e === "" || Array.isArray(e) && e.length === 0), Q = (e) => {
|
|
40
|
+
G("update:model-value", e);
|
|
41
|
+
}, y = (e = s.value) => {
|
|
42
|
+
if (J(e))
|
|
43
43
|
if (l.multiple)
|
|
44
44
|
Array.isArray(e) && (a.value = e.map(
|
|
45
|
-
(t) =>
|
|
45
|
+
(t) => E(t)
|
|
46
46
|
).filter((t) => t > -1));
|
|
47
47
|
else {
|
|
48
|
-
const t =
|
|
48
|
+
const t = E(e);
|
|
49
49
|
~t && (a.value = [t]);
|
|
50
50
|
}
|
|
51
|
-
},
|
|
52
|
-
|
|
51
|
+
}, W = (e) => {
|
|
52
|
+
i.value = !i.value, i.value && m.value && de(() => {
|
|
53
53
|
P.value?.focus();
|
|
54
54
|
});
|
|
55
|
-
},
|
|
55
|
+
}, E = (e) => u.value.findIndex(
|
|
56
56
|
(t) => t.value === e
|
|
57
57
|
), S = async (e = !1) => {
|
|
58
58
|
if (!l.resource)
|
|
59
59
|
return;
|
|
60
|
-
|
|
60
|
+
A.value = !0;
|
|
61
61
|
const t = {
|
|
62
62
|
t: c.value,
|
|
63
63
|
r: "option"
|
|
64
64
|
};
|
|
65
|
-
e && v.value && v.value.pages > v.value.page ? t.page = v.value.page + 1 : e = !1, !c.value &&
|
|
65
|
+
e && v.value && v.value.pages > v.value.page ? t.page = v.value.page + 1 : e = !1, !c.value && s.value && (t.i = s.value);
|
|
66
66
|
const r = await l.resource(t);
|
|
67
|
-
e ?
|
|
68
|
-
},
|
|
67
|
+
e ? u.value.push(...r.items.map(l.mapper)) : u.value = r.items.map(l.mapper), v.value = r.pagination, !b.value && c.value && y(c.value), A.value = !1;
|
|
68
|
+
}, X = () => {
|
|
69
69
|
!c.value || j === c.value || (C && (clearTimeout(C), C = null), C = setTimeout(() => {
|
|
70
|
-
j = c.value, b.value ? (
|
|
70
|
+
j = c.value, b.value ? (i.value || (i.value = !0), S()) : l.isSearchable && (u.value = l.options.filter(
|
|
71
71
|
(e) => l.filter(c.value, e)
|
|
72
72
|
));
|
|
73
73
|
}, 500));
|
|
74
|
-
},
|
|
74
|
+
}, Y = ({
|
|
75
75
|
index: e,
|
|
76
76
|
hold: t
|
|
77
77
|
}) => {
|
|
78
|
-
if (
|
|
78
|
+
if ($ = !0, l.multiple) {
|
|
79
79
|
const r = a.value.findIndex(
|
|
80
80
|
(w) => w === e
|
|
81
81
|
);
|
|
82
82
|
~r ? a.value.splice(r, 1) : a.value.push(e);
|
|
83
83
|
} else
|
|
84
84
|
a.value = [e];
|
|
85
|
-
(!l.multiple || !t) && (
|
|
86
|
-
},
|
|
85
|
+
(!l.multiple || !t) && (i.value = !1);
|
|
86
|
+
}, Z = () => {
|
|
87
87
|
b.value && v.value && v.value.pages > v.value.page && S(!0);
|
|
88
|
-
},
|
|
88
|
+
}, ee = async (e) => {
|
|
89
89
|
switch (e.key) {
|
|
90
90
|
case "ArrowDown":
|
|
91
91
|
L.value?.move(e);
|
|
92
92
|
break;
|
|
93
93
|
case "Escape":
|
|
94
|
-
|
|
94
|
+
i.value = !1;
|
|
95
95
|
break;
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
|
-
return
|
|
99
|
-
b.value ? (await S(),
|
|
100
|
-
}),
|
|
101
|
-
() =>
|
|
98
|
+
return oe(async () => {
|
|
99
|
+
b.value ? (await S(), y()) : l.options.length > 0 && (u.value = l.options), !s.value && l.initialValue ? y(l.initialValue) : y(s.value);
|
|
100
|
+
}), D(
|
|
101
|
+
() => s.value,
|
|
102
102
|
async (e) => {
|
|
103
|
-
e && (
|
|
103
|
+
e && (E(e) < 0 && b.value && await S(), y(e));
|
|
104
104
|
}
|
|
105
|
-
),
|
|
105
|
+
), D(
|
|
106
106
|
a,
|
|
107
107
|
(e) => {
|
|
108
|
-
const t = l.multiple ?
|
|
108
|
+
const t = l.multiple ? u.value.filter(
|
|
109
109
|
(r, w) => a.value.includes(w)
|
|
110
|
-
).map((r) => r.value) :
|
|
111
|
-
|
|
110
|
+
).map((r) => r.value) : u.value[a.value[0]].value;
|
|
111
|
+
$ && ($ = !1, Q(t));
|
|
112
112
|
},
|
|
113
113
|
{ deep: !0 }
|
|
114
|
-
),
|
|
114
|
+
), D(
|
|
115
115
|
() => l.options,
|
|
116
116
|
(e) => {
|
|
117
|
-
e.length > 0 && (
|
|
117
|
+
e.length > 0 && (u.value = e, s.value && a.value.length === 0 && y(s.value));
|
|
118
118
|
}
|
|
119
119
|
), (e, t) => {
|
|
120
|
-
const r =
|
|
121
|
-
return
|
|
122
|
-
open:
|
|
123
|
-
"onUpdate:open": t[1] || (t[1] = (
|
|
120
|
+
const r = k("t-tag"), w = k("t-button"), le = k("t-icon"), te = k("t-dropdown"), ae = k("t-popover");
|
|
121
|
+
return o(), z(ae, {
|
|
122
|
+
open: i.value,
|
|
123
|
+
"onUpdate:open": t[1] || (t[1] = (n) => i.value = n),
|
|
124
124
|
placement: l.dropdownPlacement,
|
|
125
125
|
class: x([l.widthClass]),
|
|
126
126
|
ref_key: "popoverRef",
|
|
127
127
|
ref: F
|
|
128
128
|
}, {
|
|
129
129
|
default: R(() => [
|
|
130
|
-
|
|
130
|
+
se("div", {
|
|
131
131
|
class: x([{
|
|
132
132
|
"h-9": !l.multiple,
|
|
133
133
|
"h-full *:min-h-9": l.multiple,
|
|
@@ -135,81 +135,82 @@ const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
|
135
135
|
[l.roundnessClass]: !0
|
|
136
136
|
}, "flex justify-between items-center w-full max-w-96 input-text-color select-none input-bg-color"])
|
|
137
137
|
}, [
|
|
138
|
-
|
|
138
|
+
K(w, {
|
|
139
139
|
variant: "transparent",
|
|
140
140
|
size: "",
|
|
141
141
|
class: x(["h-full", {
|
|
142
|
-
"w-full justify-end pr-2": !
|
|
143
|
-
"w-full justify-between pr-2": !
|
|
144
|
-
"w-10 justify-center":
|
|
142
|
+
"w-full justify-end pr-2": !m.value && !h.value,
|
|
143
|
+
"w-full justify-between pr-2": !m.value && h.value,
|
|
144
|
+
"w-10 justify-center": m.value
|
|
145
145
|
}]),
|
|
146
146
|
"aria-describedby": F.value?.name,
|
|
147
|
-
icon:
|
|
148
|
-
onClick:
|
|
147
|
+
icon: i.value === !0 ? "chevron-up" : "chevron-down",
|
|
148
|
+
onClick: W
|
|
149
149
|
}, {
|
|
150
150
|
default: R(() => [
|
|
151
|
-
|
|
151
|
+
m.value ? T("", !0) : (o(), p("div", {
|
|
152
|
+
key: 0,
|
|
152
153
|
class: x(["inline-flex items-center ml-2 max-w-[calc(100%-2.5rem)]", {
|
|
153
154
|
"overflow-hidden whitespace-nowrap": !l.multiple,
|
|
154
155
|
"flex-wrap gap-2 py-1": l.multiple
|
|
155
156
|
}])
|
|
156
157
|
}, [
|
|
157
|
-
e.$slots.selection &&
|
|
158
|
-
l.multiple ? (
|
|
159
|
-
], 64)) :
|
|
160
|
-
l.multiple ? (
|
|
161
|
-
key:
|
|
162
|
-
text:
|
|
158
|
+
e.$slots.selection && h.value ? g(e.$slots, "selection", _(M({ key: 0 }, u.value[a.value[0]]))) : e.$slots.default && h.value ? (o(), p(V, { key: 1 }, [
|
|
159
|
+
l.multiple ? (o(!0), p(V, { key: 0 }, N(a.value, (n) => g(e.$slots, "default", _(U(u.value[n])))), 256)) : g(e.$slots, "default", _(M({ key: 1 }, u.value[a.value[0]])))
|
|
160
|
+
], 64)) : h.value ? (o(), p(V, { key: 2 }, [
|
|
161
|
+
l.multiple ? (o(!0), p(V, { key: 0 }, N(a.value, (n) => (o(), z(r, {
|
|
162
|
+
key: n,
|
|
163
|
+
text: u.value[n].label,
|
|
163
164
|
color: "#6e6e6e"
|
|
164
|
-
}, null, 8, ["text"]))), 128)) : (
|
|
165
|
-
], 64)) :
|
|
166
|
-
], 2)
|
|
165
|
+
}, null, 8, ["text"]))), 128)) : (o(), p("span", me, q(u.value[a.value[0]]?.label), 1))
|
|
166
|
+
], 64)) : T("", !0)
|
|
167
|
+
], 2))
|
|
167
168
|
]),
|
|
168
169
|
_: 3
|
|
169
170
|
}, 8, ["aria-describedby", "class", "icon"]),
|
|
170
|
-
|
|
171
|
+
m.value ? ie((o(), p("input", {
|
|
171
172
|
key: 0,
|
|
172
|
-
"onUpdate:modelValue": t[0] || (t[0] = (
|
|
173
|
+
"onUpdate:modelValue": t[0] || (t[0] = (n) => c.value = n),
|
|
173
174
|
type: "text",
|
|
174
175
|
ref_key: "inputRef",
|
|
175
176
|
ref: P,
|
|
176
177
|
placeholder: l.placeholder,
|
|
177
178
|
disabled: l.disabled,
|
|
178
179
|
readonly: !l.isSearchable,
|
|
179
|
-
class: "h-9 bg-transparent input-padding input-roundness input-outline",
|
|
180
|
-
onInput:
|
|
181
|
-
onKeydown:
|
|
180
|
+
class: "h-9 bg-transparent input-padding input-roundness input-outline w-full",
|
|
181
|
+
onInput: X,
|
|
182
|
+
onKeydown: ee
|
|
182
183
|
}, null, 40, ye)), [
|
|
183
184
|
[re, c.value]
|
|
184
|
-
]) :
|
|
185
|
+
]) : T("", !0)
|
|
185
186
|
], 2)
|
|
186
187
|
]),
|
|
187
188
|
content: R(() => [
|
|
188
|
-
|
|
189
|
+
K(te, {
|
|
189
190
|
ref_key: "dropdownRef",
|
|
190
191
|
ref: L,
|
|
191
|
-
items:
|
|
192
|
-
"is-visible":
|
|
192
|
+
items: u.value,
|
|
193
|
+
"is-visible": i.value,
|
|
193
194
|
multiple: l.multiple,
|
|
194
|
-
loading:
|
|
195
|
-
onChange:
|
|
196
|
-
onEndReached:
|
|
195
|
+
loading: A.value,
|
|
196
|
+
onChange: Y,
|
|
197
|
+
onEndReached: Z
|
|
197
198
|
}, ce({ _: 2 }, [
|
|
198
199
|
e.$slots.default || l.multiple ? {
|
|
199
200
|
name: "default",
|
|
200
|
-
fn: R((
|
|
201
|
-
l.multiple ? (
|
|
202
|
-
e.$slots.default ?
|
|
203
|
-
pe(
|
|
201
|
+
fn: R((n) => [
|
|
202
|
+
l.multiple ? (o(), p("div", he, [
|
|
203
|
+
e.$slots.default ? g(e.$slots, "default", _(M({ key: 0 }, n))) : (o(), p(V, { key: 1 }, [
|
|
204
|
+
pe(q(n.label), 1)
|
|
204
205
|
], 64)),
|
|
205
|
-
|
|
206
|
+
H(n) ? (o(), z(le, {
|
|
206
207
|
key: 2,
|
|
207
208
|
icon: "check",
|
|
208
209
|
size: "sm",
|
|
209
210
|
class: "float-right ml-2"
|
|
210
|
-
})) :
|
|
211
|
-
])) : (
|
|
212
|
-
|
|
211
|
+
})) : T("", !0)
|
|
212
|
+
])) : (o(), p("div", be, [
|
|
213
|
+
g(e.$slots, "default", _(U(n)))
|
|
213
214
|
]))
|
|
214
215
|
]),
|
|
215
216
|
key: "0"
|
|
@@ -222,5 +223,5 @@ const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
|
|
|
222
223
|
}
|
|
223
224
|
});
|
|
224
225
|
export {
|
|
225
|
-
|
|
226
|
+
ge as _
|
|
226
227
|
};
|
package/dist/components.js
CHANGED
|
@@ -22,10 +22,10 @@ import { _ as K } from "./InputDate.vue_vue_type_script_setup_true_lang-mrB_0-J7
|
|
|
22
22
|
import { _ as O } from "./InputMultiplier.vue_vue_type_script_setup_true_lang-BguqKGGe.js";
|
|
23
23
|
import { _ as U } from "./InputPassword.vue_vue_type_script_setup_true_lang-CPDcQb5I.js";
|
|
24
24
|
import { _ as W } from "./InputPhone.vue_vue_type_script_setup_true_lang-B4TULqLW.js";
|
|
25
|
-
import { _ as Y } from "./InputPrice.vue_vue_type_script_setup_true_lang-
|
|
25
|
+
import { _ as Y } from "./InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js";
|
|
26
26
|
import { _ as $ } from "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
|
|
27
27
|
import "vue";
|
|
28
|
-
import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-
|
|
28
|
+
import { _ as or } from "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
|
|
29
29
|
import { _ as er } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js";
|
|
30
30
|
import { _ as ar } from "./InputText.vue_vue_type_script_setup_true_lang-JLAlUE_2.js";
|
|
31
31
|
import { _ as sr } from "./InputTextarea.vue_vue_type_script_setup_true_lang-DRo5eIw4.js";
|