@caipira/tamandua 0.0.43 → 0.0.44
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-CAiIEdkK.js → Button-DxCwFAWy.js} +21 -23
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/{Drawer-omdZnBPG.js → Drawer-KwhQs5WA.js} +8 -8
- package/dist/Drawer.css +1 -1
- package/dist/Drawer.js +2 -2
- package/dist/FormItem.js +2 -2
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV7IVjE4.js +84 -0
- package/dist/InputCheckbox.css +1 -0
- package/dist/InputCheckbox.js +2 -2
- package/dist/{InputCheckbox.vue_vue_type_script_setup_true_lang-Bh8HA3Ay.js → InputCheckbox.vue_vue_type_style_index_0_lang-BONJ9l1D.js} +1 -0
- package/dist/InputMultiplier.js +2 -2
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BFDBZk2M.js +66 -0
- package/dist/InputRadio.css +1 -0
- package/dist/InputRadio.js +2 -2
- package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-Cu7lzDAh.js → InputRadio.vue_vue_type_style_index_0_lang-IqPZ9Qzl.js} +1 -0
- package/dist/InputText.js +2 -2
- package/dist/InputText.vue_vue_type_script_setup_true_lang-D4nIMRiz.js +39 -0
- package/dist/{ProgressCircle-BY2eeyGY.js → ProgressCircle-Cpmi2CpO.js} +4 -4
- package/dist/ProgressCircle.css +1 -1
- package/dist/ProgressCircle.js +2 -2
- package/dist/components.js +8 -8
- package/dist/index.css +1 -29
- package/dist/{plugin-DLFPglIt.js → plugin-BjXXC0b-.js} +1 -1
- package/dist/{plugin-DRcJuXpS.js → plugin-CrUFQdOK.js} +1 -1
- package/dist/{plugin-Bog7k3Qf.js → plugin-D6dx276z.js} +1 -1
- package/dist/{plugin-Bbt6pP0l.js → plugin-DDUNw6fL.js} +1 -1
- package/dist/{plugin-DcWjzc_X.js → plugin-DQ6digu2.js} +1 -1
- package/dist/{plugin-DLkeyKDM.js → plugin-Dz7BPW4D.js} +1 -1
- package/dist/{plugin-DXSsGfRI.js → plugin-MAzqwXys.js} +1 -1
- package/dist/{plugin-U6NcpOUL.js → plugin-WcNmSb_y.js} +1 -1
- package/dist/{plugins-DXwzOgCo.js → plugins-Dwz7OLJO.js} +15 -13
- package/dist/plugins.js +91 -89
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +47 -6
- package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +12 -3
- package/dist/types/components/Drawer/Drawer.vue.d.ts +44 -2
- package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +12 -3
- package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +25 -2
- package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -3
- package/dist/types/components/Icon/Icon.vue.d.ts +30 -3
- package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +37 -2
- package/dist/types/components/InputColor/InputColor.vue.d.ts +32 -2
- package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -3
- package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +40 -2
- package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -3
- package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +29 -2
- package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +32 -2
- package/dist/types/components/InputText/InputText.vue.d.ts +46 -38
- package/dist/types/components/InputText/types.d.ts +0 -2
- package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +38 -2
- package/dist/types/components/Modal/Modal.vue.d.ts +49 -2
- package/dist/types/components/Pagination/Pagination.vue.d.ts +39 -2
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +33 -2
- package/dist/types/components/Popover/Popover.vue.d.ts +9 -9
- package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +37 -2
- package/package.json +1 -1
- package/dist/FormItem.vue_vue_type_script_setup_true_lang-CjW-P8Xf.js +0 -80
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BJJQTQzF.js +0 -74
- package/dist/InputText.vue_vue_type_script_setup_true_lang-Dyvx9Ob-.js +0 -40
- package/dist/types/components/Dropdown/Dropdown.vue.d.ts +0 -14
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, ref as h, watch as r, resolveComponent as m, openBlock as n, createElementBlock as o, createElementVNode as k, createBlock as c, createCommentVNode as C, createVNode as i, Fragment as g, renderList as I, resolveDynamicComponent as N, mergeProps as $, toHandlers as w } from "vue";
|
|
2
|
-
const B = { class: "inline-flex w-full items-center gap-2 my-3" }, P = ["label"], j = /* @__PURE__ */ y({
|
|
3
|
-
name: "TInputMultiplier",
|
|
4
|
-
__name: "InputMultiplier",
|
|
5
|
-
props: {
|
|
6
|
-
component: { default: "t-input-text" },
|
|
7
|
-
inputProps: { default: () => ({}) },
|
|
8
|
-
label: { default: "" },
|
|
9
|
-
listeners: { default: () => ({}) },
|
|
10
|
-
modelValue: {}
|
|
11
|
-
},
|
|
12
|
-
emits: ["update:model-value"],
|
|
13
|
-
setup(p, { emit: d }) {
|
|
14
|
-
const a = p, v = d, l = h([]), _ = () => {
|
|
15
|
-
l.value.push("");
|
|
16
|
-
}, b = (e) => {
|
|
17
|
-
l.value = e;
|
|
18
|
-
}, f = (e) => {
|
|
19
|
-
l.value.splice(e, 1);
|
|
20
|
-
};
|
|
21
|
-
return r(
|
|
22
|
-
l,
|
|
23
|
-
(e) => {
|
|
24
|
-
v("update:model-value", e);
|
|
25
|
-
},
|
|
26
|
-
{ deep: !0 }
|
|
27
|
-
), r(
|
|
28
|
-
() => a.modelValue,
|
|
29
|
-
(e) => {
|
|
30
|
-
b(e ?? []);
|
|
31
|
-
},
|
|
32
|
-
{ immediate: !0 }
|
|
33
|
-
), (e, E) => {
|
|
34
|
-
const V = m("t-graphy-label"), s = m("t-button");
|
|
35
|
-
return n(), o("div", null, [
|
|
36
|
-
k("div", B, [
|
|
37
|
-
e.label ? (n(), c(V, {
|
|
38
|
-
key: 0,
|
|
39
|
-
text: e.label,
|
|
40
|
-
class: "text-right"
|
|
41
|
-
}, null, 8, ["text"])) : C("", !0),
|
|
42
|
-
i(s, {
|
|
43
|
-
label: `Add ${e.label}`,
|
|
44
|
-
variant: "primary",
|
|
45
|
-
"is-outline": !0,
|
|
46
|
-
icon: "plus",
|
|
47
|
-
size: "sm",
|
|
48
|
-
onClick: _
|
|
49
|
-
}, null, 8, ["label"])
|
|
50
|
-
]),
|
|
51
|
-
(n(!0), o(g, null, I(l.value, (M, t) => (n(), o("div", {
|
|
52
|
-
key: t,
|
|
53
|
-
label: `${e.label} ${t + 1}`,
|
|
54
|
-
class: "flex items-center justify-start mt-1 ml-2"
|
|
55
|
-
}, [
|
|
56
|
-
(n(), c(N(a.component), $(a.inputProps, w(a.listeners), {
|
|
57
|
-
modelValue: l.value[t],
|
|
58
|
-
"onUpdate:modelValue": (u) => l.value[t] = u,
|
|
59
|
-
class: "my-1"
|
|
60
|
-
}), null, 16, ["modelValue", "onUpdate:modelValue"])),
|
|
61
|
-
i(s, {
|
|
62
|
-
variant: "transparent",
|
|
63
|
-
icon: "close",
|
|
64
|
-
class: "ml-2",
|
|
65
|
-
onClick: (u) => f(t)
|
|
66
|
-
}, null, 8, ["onClick"])
|
|
67
|
-
], 8, P))), 128))
|
|
68
|
-
]);
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export {
|
|
73
|
-
j as _
|
|
74
|
-
};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { defineComponent as m, inject as o, computed as f, withDirectives as v, openBlock as b, createElementBlock as y, mergeProps as h, unref as t, vModelDynamic as _ } from "vue";
|
|
2
|
-
const x = ["type", "id", "placeholder", "autocomplete", "disabled"], B = /* @__PURE__ */ m({
|
|
3
|
-
name: "TInputText",
|
|
4
|
-
__name: "InputText",
|
|
5
|
-
props: {
|
|
6
|
-
modelValue: { default: "" },
|
|
7
|
-
type: { default: "text" },
|
|
8
|
-
placeholder: { default: void 0 },
|
|
9
|
-
autocomplete: { default: void 0 },
|
|
10
|
-
disabled: { type: Boolean, default: !1 },
|
|
11
|
-
disableStyle: { type: Boolean, default: !1 }
|
|
12
|
-
},
|
|
13
|
-
emits: ["update:model-value", "keyup.enter"],
|
|
14
|
-
setup(i, { emit: p }) {
|
|
15
|
-
const e = i, r = o("id", ""), s = p, d = o("invalid", !1), a = o("validated", !1), n = f({
|
|
16
|
-
get: () => e.modelValue,
|
|
17
|
-
set: (l) => {
|
|
18
|
-
s("update:model-value", l);
|
|
19
|
-
}
|
|
20
|
-
});
|
|
21
|
-
return (l, u) => v((b(), y("input", h({
|
|
22
|
-
"onUpdate:modelValue": u[0] || (u[0] = (c) => n.value = c),
|
|
23
|
-
type: e.type,
|
|
24
|
-
class: {
|
|
25
|
-
"h-9 input-bg-color input-text-color input-outline border input-border input-roundness input-padding w-full": !e.disableStyle,
|
|
26
|
-
"border-red-500": !t(a) && t(d),
|
|
27
|
-
"border-emerald-500": t(a) && !t(d)
|
|
28
|
-
},
|
|
29
|
-
id: t(r),
|
|
30
|
-
placeholder: e.placeholder,
|
|
31
|
-
autocomplete: e.autocomplete,
|
|
32
|
-
disabled: e.disabled
|
|
33
|
-
}, l.$attrs), null, 16, x)), [
|
|
34
|
-
[_, n.value]
|
|
35
|
-
]);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
export {
|
|
39
|
-
B as _
|
|
40
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {
|
|
2
|
-
move: (e: KeyboardEvent) => boolean;
|
|
3
|
-
resetScroll: () => void;
|
|
4
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
|
|
5
|
-
[x: string]: any;
|
|
6
|
-
}, {}>, {
|
|
7
|
-
default?(_: any): any;
|
|
8
|
-
}>;
|
|
9
|
-
export default _default;
|
|
10
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
11
|
-
new (): {
|
|
12
|
-
$slots: S;
|
|
13
|
-
};
|
|
14
|
-
};
|