@caipira/tamandua 0.0.30 → 0.0.32
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/README.md +1 -0
- package/dist/Avatar.js +2 -2
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-C8p8_0Uc.js +47 -0
- package/dist/{Button-COkapD0v.js → Button-CAiIEdkK.js} +47 -46
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/Dropdown.js +2 -2
- package/dist/{Dropdown.vue_vue_type_script_setup_true_lang-Bt-imwu7.js → Dropdown.vue_vue_type_script_setup_true_lang-pjG__bX2.js} +1 -1
- package/dist/Icon.js +2 -2
- package/dist/Icon.vue_vue_type_script_setup_true_lang-DXUyEtqW.js +45 -0
- package/dist/InputCheckbox.js +2 -2
- package/dist/{InputCheckbox.vue_vue_type_script_setup_true_lang-DUczNK1m.js → InputCheckbox.vue_vue_type_script_setup_true_lang-Bh8HA3Ay.js} +8 -8
- package/dist/InputDate.js +2 -2
- package/dist/InputDate.vue_vue_type_script_setup_true_lang-BAgG9zPV.js +188 -0
- package/dist/InputPhone.js +2 -2
- package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-DXtliNyv.js → InputPhone.vue_vue_type_script_setup_true_lang-B4TULqLW.js} +24 -23
- package/dist/InputPrice.js +2 -2
- package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BX4rsYIr.js +67 -0
- package/dist/InputRadio.js +2 -2
- package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-Dqbov2kN.js → InputRadio.vue_vue_type_script_setup_true_lang-Cu7lzDAh.js} +7 -7
- package/dist/InputSelect.js +2 -2
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-BlA3DIYZ.js +232 -0
- package/dist/Popconfirm.js +2 -2
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-XyjBUx0p.js +62 -0
- package/dist/Popover.js +2 -2
- package/dist/Popover.vue_vue_type_script_setup_true_lang-dnL75W40.js +987 -0
- package/dist/{Table-COkg498M.js → Table-C0Sr_Lfm.js} +2 -2
- 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-CgX-nT8V.js +74 -0
- package/dist/components.js +14 -14
- package/dist/composables.js +27 -16
- package/dist/index.css +2 -1
- package/dist/{plugin-VtriDxZB.js → plugin-Bog7k3Qf.js} +1 -1
- package/dist/{plugin-Dy14_LJS.js → plugin-BtF6kCcf.js} +1 -1
- package/dist/{plugin-BwRXtPzh.js → plugin-CNqL90UL.js} +1 -1
- package/dist/{plugin-B2fe1hFi.js → plugin-CTMcmMdr.js} +1 -1
- package/dist/{plugin-Dp-F27SY.js → plugin-CdJ1wBq2.js} +1 -1
- package/dist/{plugin-CGIfywdY.js → plugin-CrHDShgh.js} +1 -1
- package/dist/{plugin-CClGi0co.js → plugin-D8CsjFdw.js} +1 -1
- package/dist/{plugin-BOXtmhcZ.js → plugin-DDoM02Fq.js} +1 -1
- package/dist/{plugin-B97SpnhW.js → plugin-DLkeyKDM.js} +1 -1
- package/dist/{plugin-BR7RSh1H.js → plugin-Daf_swsz.js} +1 -1
- package/dist/{plugin-CBhgqomZ.js → plugin-DcWjzc_X.js} +1 -1
- package/dist/{plugin-BriPeDzu.js → plugin-Dk3KBChD.js} +1 -1
- package/dist/{plugin-Bt6de9ZA.js → plugin-Ee4Z5Rtp.js} +1 -1
- package/dist/{plugin-DgCWOSWh.js → plugin-z8Hr_T_O.js} +1 -1
- package/dist/{plugins-CxgvV4Py.js → plugins-ChB184ip.js} +22 -22
- package/dist/plugins.js +22 -22
- package/dist/tamandua.js +1 -1
- package/dist/types/components/InputSelect/types.d.ts +3 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +3 -1
- package/dist/types/components/Popover/Popover.vue.d.ts +51 -35
- package/dist/types/components/Popover/types.d.ts +7 -1
- package/dist/types/composables/useDomHelpers.d.ts +0 -4
- package/dist/useDomHelpers-CGVrQd35.js +19 -0
- package/package.json +3 -3
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-Cjz3Vlw9.js +0 -51
- package/dist/Icon.vue_vue_type_script_setup_true_lang-CNUyv7CY.js +0 -49
- package/dist/InputDate.vue_vue_type_script_setup_true_lang-Do47MTJJ.js +0 -188
- package/dist/InputPrice.vue_vue_type_script_setup_true_lang-DBMW1AwZ.js +0 -66
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ukwmeVxc.js +0 -226
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js +0 -63
- package/dist/Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js +0 -985
- package/dist/Tag.vue_vue_type_script_setup_true_lang-0p-7UEvO.js +0 -72
- package/dist/types/components/EventListener/EventListener.vue.d.ts +0 -6
- package/dist/useDomHelpers-5CFMo6bx.js +0 -23
- package/dist/useRender-D8PeooXE.js +0 -16
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
import { defineComponent as _, resolveComponent as c, openBlock as o, createElementBlock as n, normalizeStyle as y, normalizeClass as m, createElementVNode as g, renderSlot as z, unref as s, toDisplayString as C, createBlock as p, withCtx as k, createVNode as v, createCommentVNode as b } from "vue";
|
|
2
|
-
import { a as t } from "./ui-BC6H9E93.js";
|
|
3
|
-
const h = ["role"], B = { class: "px-2" }, S = {
|
|
4
|
-
key: 0,
|
|
5
|
-
class: "bg-[#0000006b] hover:bg-[#000000a3]"
|
|
6
|
-
}, w = /* @__PURE__ */ _({
|
|
7
|
-
name: "TTag",
|
|
8
|
-
__name: "Tag",
|
|
9
|
-
props: {
|
|
10
|
-
text: { default: "" },
|
|
11
|
-
size: { default: t.Default },
|
|
12
|
-
role: { default: "" },
|
|
13
|
-
color: { default: "" },
|
|
14
|
-
confirmClose: { type: Boolean, default: !1 },
|
|
15
|
-
hasCloseButton: { type: Boolean, default: !1 }
|
|
16
|
-
},
|
|
17
|
-
emits: ["close"],
|
|
18
|
-
setup(u, { emit: f }) {
|
|
19
|
-
const e = u, a = f;
|
|
20
|
-
return (r, l) => {
|
|
21
|
-
const i = c("t-button"), d = c("t-popconfirm");
|
|
22
|
-
return o(), n("div", {
|
|
23
|
-
style: y(`background-color:${e.color}`),
|
|
24
|
-
class: m([{
|
|
25
|
-
"bg-neutral-700": !e.color
|
|
26
|
-
}, "w-max inline-flex items-stretch rounded-sm select-none color-caipira-primary"]),
|
|
27
|
-
role: e.role
|
|
28
|
-
}, [
|
|
29
|
-
g("div", B, [
|
|
30
|
-
r.$slots.default ? z(r.$slots, "default", { key: 0 }) : (o(), n("span", {
|
|
31
|
-
key: 1,
|
|
32
|
-
class: m({
|
|
33
|
-
"text-xs": e.size === s(t).ExtraSmall,
|
|
34
|
-
"text-sm": e.size === s(t).Small,
|
|
35
|
-
"text-base": e.size === s(t).Default,
|
|
36
|
-
"text-lg": e.size === s(t).Large,
|
|
37
|
-
"text-xl": e.size === s(t).ExtraLarge
|
|
38
|
-
})
|
|
39
|
-
}, C(e.text), 3))
|
|
40
|
-
]),
|
|
41
|
-
e.hasCloseButton ? (o(), n("div", S, [
|
|
42
|
-
e.confirmClose ? (o(), p(d, {
|
|
43
|
-
key: 0,
|
|
44
|
-
message: "Are you sure you want to remove it?",
|
|
45
|
-
placement: "top",
|
|
46
|
-
onConfirm: l[0] || (l[0] = (x) => a("close"))
|
|
47
|
-
}, {
|
|
48
|
-
default: k(() => [
|
|
49
|
-
v(i, {
|
|
50
|
-
variant: "transparent",
|
|
51
|
-
icon: "close",
|
|
52
|
-
size: "sm",
|
|
53
|
-
class: "px-1.5 h-full"
|
|
54
|
-
})
|
|
55
|
-
]),
|
|
56
|
-
_: 1
|
|
57
|
-
})) : (o(), p(i, {
|
|
58
|
-
key: 1,
|
|
59
|
-
variant: "transparent",
|
|
60
|
-
icon: "close",
|
|
61
|
-
size: "sm",
|
|
62
|
-
class: "px-1.5 h-full",
|
|
63
|
-
onClick: l[1] || (l[1] = (x) => a("close"))
|
|
64
|
-
}))
|
|
65
|
-
])) : b("", !0)
|
|
66
|
-
], 14, h);
|
|
67
|
-
};
|
|
68
|
-
}
|
|
69
|
-
});
|
|
70
|
-
export {
|
|
71
|
-
w as _
|
|
72
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
-
popoverClick: () => void;
|
|
3
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
-
onPopoverClick?: (() => any) | undefined;
|
|
5
|
-
}, {}, {}>;
|
|
6
|
-
export default _default;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
const e = "popoverClick", n = (t, o) => {
|
|
2
|
-
let r = t.target;
|
|
3
|
-
if (!r)
|
|
4
|
-
return !1;
|
|
5
|
-
do {
|
|
6
|
-
if (r === o)
|
|
7
|
-
return t.stopPropagation(), !1;
|
|
8
|
-
r = r?.parentNode;
|
|
9
|
-
} while (r);
|
|
10
|
-
return !0;
|
|
11
|
-
}, i = (t) => !t?.parent || !t?.parent?.emitsOptions ? !1 : e in t.parent.emitsOptions, p = (t, o) => {
|
|
12
|
-
i(o) && o.parent.emit(e, t), t.stopPropagation();
|
|
13
|
-
};
|
|
14
|
-
function a() {
|
|
15
|
-
return {
|
|
16
|
-
isPopoverActivator: i,
|
|
17
|
-
onPopoverActivatorClick: p,
|
|
18
|
-
wasClickOutsideOfContainer: n
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export {
|
|
22
|
-
a as u
|
|
23
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { getCurrentInstance as t } from "vue";
|
|
2
|
-
function o(r) {
|
|
3
|
-
const e = t();
|
|
4
|
-
if (!e)
|
|
5
|
-
throw new Error(
|
|
6
|
-
"[useRender] must be called from inside a setup function"
|
|
7
|
-
);
|
|
8
|
-
Object.defineProperty(e, "render", {
|
|
9
|
-
get: () => r,
|
|
10
|
-
set: () => {
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
export {
|
|
15
|
-
o as u
|
|
16
|
-
};
|