@caipira/tamandua 0.0.61 → 0.0.63
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/{Button-uTiKL1_J.js → Button-BThdMs5-.js} +3 -2
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/ChartTreemap.js +2 -2
- package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-DKaI62CD.js → ChartTreemap.vue_vue_type_script_setup_true_lang-CLi_IXfP.js} +9 -9
- package/dist/Dropdown.js +2 -2
- package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-pjG__bX2.js → Dropdown.vue_vue_type_script_setup_true_lang-ByO3ZI8p.js} +28 -28
- package/dist/GraphyLabel.js +2 -2
- package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-DIKuG0Po.js +18 -0
- package/dist/InputCheckbox.js +2 -2
- package/dist/InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js +58 -0
- package/dist/InputDate.js +2 -2
- package/dist/{InputDate.vue_vue_type_script_setup_true_lang-mrB_0-J7.js → InputDate.vue_vue_type_script_setup_true_lang-UQywr42W.js} +1 -1
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-CPDcQb5I.js → InputPassword.vue_vue_type_script_setup_true_lang-BMChy2_E.js} +32 -32
- 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/InputTextarea.js +2 -2
- package/dist/{InputTextarea.vue_vue_type_script_setup_true_lang-DRo5eIw4.js → InputTextarea.vue_vue_type_script_setup_true_lang-q9T4fINI.js} +1 -1
- package/dist/Modal.js +2 -2
- package/dist/{Modal.vue_vue_type_script_setup_true_lang-CEaX1svl.js → Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js} +1 -1
- package/dist/Pagination.js +2 -2
- package/dist/{Pagination.vue_vue_type_script_setup_true_lang-Bgc3FPMU.js → Pagination.vue_vue_type_script_setup_true_lang-BNeFZWgA.js} +1 -1
- package/dist/Popconfirm.js +2 -2
- package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-CQJc0gL_.js → Popconfirm.vue_vue_type_script_setup_true_lang-CgWeJEGu.js} +2 -2
- package/dist/{ProgressLine-bKh0terH.js → ProgressLine-CTS0VOAI.js} +8 -8
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/SensitiveInfo.js +2 -2
- package/dist/{SensitiveInfo.vue_vue_type_script_setup_true_lang-lCdRDxvZ.js → SensitiveInfo.vue_vue_type_script_setup_true_lang-D288W5VF.js} +1 -1
- package/dist/Skeleton.js +2 -2
- package/dist/{Skeleton.vue_vue_type_script_setup_true_lang-BZItfVoN.js → Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js} +3 -3
- package/dist/Tab.js +2 -2
- package/dist/{Tab.vue_vue_type_script_setup_true_lang-Bk9igf63.js → Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js} +6 -6
- package/dist/{Table-C0Sr_Lfm.js → Table-DAdBSj3C.js} +25 -25
- package/dist/Table.css +1 -1
- package/dist/Table.js +2 -2
- package/dist/Tag.js +2 -2
- package/dist/{Tag.vue_vue_type_script_setup_true_lang-D7gxjn91.js → Tag.vue_vue_type_script_setup_true_lang-CkDz2_qz.js} +1 -1
- package/dist/Toast.js +2 -2
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-xJF3jtka.js → Toast.vue_vue_type_script_setup_true_lang-Lw1lJoH3.js} +6 -6
- package/dist/components.js +20 -20
- package/dist/date.js +170 -354
- package/dist/index.css +197 -215
- package/dist/{plugin-CNqL90UL.js → plugin-8nvB-f8B.js} +1 -1
- package/dist/{plugin-BQPL19WY.js → plugin-B1ev5kjp.js} +1 -1
- package/dist/{plugin-CGCl2Tuy.js → plugin-B5vbbM7n.js} +1 -1
- package/dist/{plugin-B-YDK-TW.js → plugin-BJyDH94F.js} +1 -1
- package/dist/{plugin-B6qqYLZU.js → plugin-BOewyU0C.js} +1 -1
- package/dist/{plugin-4XhHBTQc.js → plugin-BQqeQUxM.js} +1 -1
- package/dist/{plugin-TONwKALZ.js → plugin-BU44OLnf.js} +1 -1
- package/dist/{plugin-cvHKUGjm.js → plugin-BWfDY9pB.js} +1 -1
- package/dist/{plugin-D3ADZgWc.js → plugin-BoP2-VzO.js} +1 -1
- package/dist/{plugin-CTMcmMdr.js → plugin-BpdfpzgE.js} +1 -1
- package/dist/{plugin-B9wG8DUw.js → plugin-C1kAmMfE.js} +1 -1
- package/dist/{plugin-BQFwx3d5.js → plugin-C8Z-XgLn.js} +1 -1
- package/dist/{plugin-D9k93Uu1.js → plugin-CC97Vx-s.js} +1 -1
- package/dist/{plugin-VQZG4jD0.js → plugin-CZ2rAHjJ.js} +1 -1
- package/dist/{plugin-fGlPPiqA.js → plugin-CZiSoM73.js} +1 -1
- package/dist/{plugin-B97_3CZA.js → plugin-CyDnzy2n.js} +1 -1
- package/dist/{plugin-KCYRmKkj.js → plugin-DPcsc5tO.js} +1 -1
- package/dist/{plugin-CQ-FpZui.js → plugin-RM2wZuwL.js} +1 -1
- package/dist/{plugin-DKjcKBPg.js → plugin-dX-bbpm5.js} +1 -1
- package/dist/{plugin-BV-k02s1.js → plugin-wVt0wQNv.js} +1 -1
- package/dist/{plugins-B1SFJH99.js → plugins-B3Md0lwW.js} +27 -27
- package/dist/plugins.js +27 -27
- 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.story.d.ts +2 -11
- 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/InputCheckbox/types.d.ts +7 -0
- 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 +15 -16
- package/dist/GraphyLabel.vue_vue_type_script_setup_true_lang-n_0200p7.js +0 -18
- package/dist/InputCheckbox.vue_vue_type_style_index_0_lang-DnRqQiOj.js +0 -50
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/InputTextarea.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as r } from "./InputTextarea.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as r } from "./InputTextarea.vue_vue_type_script_setup_true_lang-q9T4fINI.js";
|
|
2
|
+
import { p } from "./plugin-C8Z-XgLn.js";
|
|
3
3
|
export {
|
|
4
4
|
r as InputTextarea,
|
|
5
5
|
p as InputTextareaPlugin
|
|
@@ -27,7 +27,7 @@ const y = ["value", "type", "placeholder", "disabled"], x = /* @__PURE__ */ m({
|
|
|
27
27
|
value: a.value,
|
|
28
28
|
type: e.type,
|
|
29
29
|
class: h(["min-h-9 input-bg-color input-text-color input-outline border input-border input-roundnes input-padding input-roundness", {
|
|
30
|
-
"border rounded h-9": !e.disableStyle,
|
|
30
|
+
"border rounded-sm h-9": !e.disableStyle,
|
|
31
31
|
"border-red-500": !t(o) && t(l),
|
|
32
32
|
"border-emerald-500": t(o) && !t(l)
|
|
33
33
|
}]),
|
package/dist/Modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as r } from "./Modal.vue_vue_type_script_setup_true_lang-DiUI27HX.js";
|
|
2
|
+
import { p } from "./plugin-dX-bbpm5.js";
|
|
3
3
|
export {
|
|
4
4
|
r as Modal,
|
|
5
5
|
p as ModalPlugin
|
|
@@ -29,7 +29,7 @@ const x = {
|
|
|
29
29
|
}), (t, g) => {
|
|
30
30
|
const f = h("t-button");
|
|
31
31
|
return o(), l("div", {
|
|
32
|
-
class: a(["fixed inset-0 focus-visible:outline-
|
|
32
|
+
class: a(["fixed inset-0 focus-visible:outline-hidden z-10", {
|
|
33
33
|
"flex items-center": !e.disableStyle,
|
|
34
34
|
[e.injectStyle.wrapper]: !0
|
|
35
35
|
}]),
|
package/dist/Pagination.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as i } from "./Pagination.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as r } from "./plugin-
|
|
1
|
+
import { _ as i } from "./Pagination.vue_vue_type_script_setup_true_lang-BNeFZWgA.js";
|
|
2
|
+
import { p as r } from "./plugin-DPcsc5tO.js";
|
|
3
3
|
export {
|
|
4
4
|
i as Pagination,
|
|
5
5
|
r as PaginationPlugin
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as C, mergeModels as V, useModel as x, ref as z, computed as o, resolveComponent as h, openBlock as i, createElementBlock as d, toDisplayString as B, createCommentVNode as b, createElementVNode as L, createVNode as y, normalizeClass as p, Fragment as M, renderList as S, createBlock as P } from "vue";
|
|
2
|
-
const D = { class: "flex gap-2 items-center flex-wrap" }, N = {
|
|
2
|
+
const D = { class: "flex gap-2 items-center flex-wrap select-none" }, N = {
|
|
3
3
|
key: 0,
|
|
4
4
|
class: "md:block hidden"
|
|
5
5
|
}, E = { class: "h-9 flex" }, T = /* @__PURE__ */ C({
|
package/dist/Popconfirm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./Popconfirm.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as m } from "./plugin-
|
|
1
|
+
import { _ as p } from "./Popconfirm.vue_vue_type_script_setup_true_lang-CgWeJEGu.js";
|
|
2
|
+
import { p as m } from "./plugin-BU44OLnf.js";
|
|
3
3
|
export {
|
|
4
4
|
p as Popconfirm,
|
|
5
5
|
m as PopconfirmPlugin
|
|
@@ -18,14 +18,14 @@ const $ = { class: "text-sm mb-6 inline-flex items-center" }, B = { class: "colo
|
|
|
18
18
|
open: o.value,
|
|
19
19
|
"onUpdate:open": e[2] || (e[2] = (n) => o.value = n),
|
|
20
20
|
placement: i.placement,
|
|
21
|
-
"slot-wrapper-classes": "rounded"
|
|
21
|
+
"slot-wrapper-classes": "rounded-sm"
|
|
22
22
|
}, {
|
|
23
23
|
default: m(({ onTogglePopover: n }) => [
|
|
24
24
|
k(s.$slots, "default", y(P({ onTogglePopover: n })))
|
|
25
25
|
]),
|
|
26
26
|
content: m(({ onTogglePopover: n }) => [
|
|
27
27
|
t("div", {
|
|
28
|
-
class: "px-2 py-3 floatable rounded-
|
|
28
|
+
class: "px-2 py-3 floatable rounded-xs",
|
|
29
29
|
onClick: e[1] || (e[1] = (p) => o.value = !o.value)
|
|
30
30
|
}, [
|
|
31
31
|
t("p", $, [
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import './ProgressLine.css';
|
|
2
|
-
import { defineComponent as d, ref as u, watch as c, computed as f, openBlock as
|
|
2
|
+
import { defineComponent as d, ref as u, watch as c, computed as f, openBlock as o, createElementBlock as l, normalizeClass as t, createElementVNode as s, renderSlot as h, toDisplayString as v, createCommentVNode as p } from "vue";
|
|
3
3
|
import { _ as g } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "rx", "fill"], w = {
|
|
5
5
|
key: 1,
|
|
6
6
|
class: "text-sm select-none"
|
|
7
|
-
},
|
|
7
|
+
}, k = /* @__PURE__ */ d({
|
|
8
8
|
name: "TProgressLine",
|
|
9
9
|
__name: "ProgressLine",
|
|
10
10
|
props: {
|
|
@@ -29,17 +29,17 @@ const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "
|
|
|
29
29
|
{ immediate: !0 }
|
|
30
30
|
);
|
|
31
31
|
const n = f(() => a.value === 100 ? e.finishedColor : a.value > 100 ? e.overColor : e.progressColor);
|
|
32
|
-
return (r,
|
|
32
|
+
return (r, x) => (o(), l("div", {
|
|
33
33
|
class: "flex items-center",
|
|
34
34
|
role: "progressbar",
|
|
35
35
|
"aria-valuemax": "100",
|
|
36
36
|
"aria-valuemin": "0",
|
|
37
37
|
"aria-valuenow": a.value
|
|
38
38
|
}, [
|
|
39
|
-
(
|
|
39
|
+
(o(), l("svg", {
|
|
40
40
|
width: "100%",
|
|
41
41
|
height: e.height,
|
|
42
|
-
class: t(["inline-block
|
|
42
|
+
class: t(["inline-block grow", e.svgClass])
|
|
43
43
|
}, [
|
|
44
44
|
s("rect", {
|
|
45
45
|
width: "100%",
|
|
@@ -54,15 +54,15 @@ const m = ["aria-valuenow"], _ = ["height"], C = ["rx", "fill"], b = ["width", "
|
|
|
54
54
|
fill: n.value
|
|
55
55
|
}, null, 8, b)
|
|
56
56
|
], 10, _)),
|
|
57
|
-
e.showPercentage ? (
|
|
57
|
+
e.showPercentage ? (o(), l("div", {
|
|
58
58
|
key: 0,
|
|
59
59
|
class: t(["flex-none ml-2", r.labelClass])
|
|
60
60
|
}, [
|
|
61
|
-
r.$slots.label ? h(r.$slots, "label", { key: 0 }, void 0, !0) : (
|
|
61
|
+
r.$slots.label ? h(r.$slots, "label", { key: 0 }, void 0, !0) : (o(), l("span", w, v(a.value) + "% ", 1))
|
|
62
62
|
], 2)) : p("", !0)
|
|
63
63
|
], 8, m));
|
|
64
64
|
}
|
|
65
|
-
}), B = /* @__PURE__ */ g(
|
|
65
|
+
}), B = /* @__PURE__ */ g(k, [["__scopeId", "data-v-08cf9019"]]);
|
|
66
66
|
export {
|
|
67
67
|
B as P
|
|
68
68
|
};
|
package/dist/ProgressLine.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
svg rect[data-v-
|
|
1
|
+
svg rect[data-v-08cf9019]{transition:width .3s linear}
|
package/dist/ProgressLine.js
CHANGED
package/dist/SensitiveInfo.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as i } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as f } from "./plugin-
|
|
1
|
+
import { _ as i } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-D288W5VF.js";
|
|
2
|
+
import { p as f } from "./plugin-BWfDY9pB.js";
|
|
3
3
|
export {
|
|
4
4
|
i as SensitiveInfo,
|
|
5
5
|
f as SensitiveInfoPlugin
|
package/dist/Skeleton.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as r } from "./Skeleton.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as l } from "./plugin-
|
|
1
|
+
import { _ as r } from "./Skeleton.vue_vue_type_script_setup_true_lang-WahY1vGW.js";
|
|
2
|
+
import { p as l } from "./plugin-C1kAmMfE.js";
|
|
3
3
|
export {
|
|
4
4
|
r as Skeleton,
|
|
5
5
|
l as SkeletonPlugin
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as e, openBlock as n, createElementBlock as t } from "vue";
|
|
2
|
-
const o = { class: "animate-pulse h-4 bg-gray-100 my-1 mx-2 dark:bg-neutral-800 rounded" },
|
|
2
|
+
const o = { class: "animate-pulse h-4 bg-gray-100 my-1 mx-2 dark:bg-neutral-800 rounded-sm" }, _ = /* @__PURE__ */ e({
|
|
3
3
|
name: "TSkeleton",
|
|
4
4
|
__name: "Skeleton",
|
|
5
5
|
setup(r) {
|
|
6
|
-
return (a,
|
|
6
|
+
return (a, m) => (n(), t("div", o));
|
|
7
7
|
}
|
|
8
8
|
});
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
_
|
|
11
11
|
};
|
package/dist/Tab.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as r } from "./Tab.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as b } from "./plugin-
|
|
1
|
+
import { _ as r } from "./Tab.vue_vue_type_script_setup_true_lang-6bgS8FOw.js";
|
|
2
|
+
import { p as b } from "./plugin-wVt0wQNv.js";
|
|
3
3
|
export {
|
|
4
4
|
r as Tab,
|
|
5
5
|
b as TabPlugin
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as d, ref as
|
|
1
|
+
import { defineComponent as d, ref as b, openBlock as t, createElementBlock as a, Fragment as o, createElementVNode as n, renderList as c, normalizeClass as i, toDisplayString as m, renderSlot as _, createCommentVNode as f } from "vue";
|
|
2
2
|
const k = {
|
|
3
|
-
class: "flex flex-col md:flex-row flex-wrap rounded-
|
|
3
|
+
class: "flex flex-col md:flex-row flex-wrap rounded-xs list-none mb-6 pt-1 bg-caipira-tertiary",
|
|
4
4
|
role: "tablist"
|
|
5
5
|
}, v = ["onClick"], y = {
|
|
6
6
|
class: "tab-content",
|
|
7
7
|
id: "tabs-tabContent"
|
|
8
|
-
},
|
|
8
|
+
}, g = /* @__PURE__ */ d({
|
|
9
9
|
name: "TTab",
|
|
10
10
|
__name: "Tab",
|
|
11
11
|
props: {
|
|
12
12
|
tabs: { default: () => [] }
|
|
13
13
|
},
|
|
14
14
|
setup(p) {
|
|
15
|
-
const s = p, l =
|
|
15
|
+
const s = p, l = b(0);
|
|
16
16
|
return (u, h) => (t(), a(o, null, [
|
|
17
17
|
n("ul", k, [
|
|
18
18
|
(t(!0), a(o, null, c(s.tabs, (r, e) => (t(), a("li", {
|
|
@@ -27,7 +27,7 @@ const k = {
|
|
|
27
27
|
role: "tab",
|
|
28
28
|
"aria-selected": "true",
|
|
29
29
|
onClick: (C) => l.value = e
|
|
30
|
-
},
|
|
30
|
+
}, m(r?.title), 11, v)
|
|
31
31
|
]))), 128))
|
|
32
32
|
]),
|
|
33
33
|
n("div", y, [
|
|
@@ -43,5 +43,5 @@ const k = {
|
|
|
43
43
|
}
|
|
44
44
|
});
|
|
45
45
|
export {
|
|
46
|
-
|
|
46
|
+
g as _
|
|
47
47
|
};
|