@caipira/tamandua 0.0.39 → 0.0.40
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/Tag.js +2 -2
- package/dist/Tag.vue_vue_type_script_setup_true_lang-DatNytmx.js +73 -0
- package/dist/components.js +1 -1
- package/dist/{plugin-DgCa2m12.js → plugin-DXjluPIV.js} +1 -1
- package/dist/{plugins-DfXmQBVL.js → plugins-B14K99ho.js} +2 -2
- package/dist/plugins.js +2 -2
- package/dist/tamandua.js +1 -1
- package/dist/types/components/ChartTreemap/types.d.ts +4 -1
- package/package.json +1 -1
- package/dist/Tag.vue_vue_type_script_setup_true_lang-DMigzW22.js +0 -71
package/dist/Tag.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as r } from "./Tag.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as r } from "./Tag.vue_vue_type_script_setup_true_lang-DatNytmx.js";
|
|
2
|
+
import { p } from "./plugin-DXjluPIV.js";
|
|
3
3
|
export {
|
|
4
4
|
r as Tag,
|
|
5
5
|
p as TagPlugin
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { defineComponent as _, resolveComponent as m, openBlock as l, createElementBlock as r, normalizeStyle as k, normalizeClass as p, createElementVNode as v, renderSlot as z, unref as s, toDisplayString as g, createBlock as u, withCtx as h, createVNode as B, createCommentVNode as S } from "vue";
|
|
2
|
+
import { a as o } from "./ui-BC6H9E93.js";
|
|
3
|
+
const b = ["role"], E = { class: "px-2" }, $ = { key: 0 }, N = /* @__PURE__ */ _({
|
|
4
|
+
name: "TTag",
|
|
5
|
+
__name: "Tag",
|
|
6
|
+
props: {
|
|
7
|
+
text: { default: "" },
|
|
8
|
+
size: { default: o.Default },
|
|
9
|
+
role: { default: "" },
|
|
10
|
+
color: { default: "" },
|
|
11
|
+
confirmClose: { type: Boolean, default: !1 },
|
|
12
|
+
hasCloseButton: { type: Boolean, default: !1 }
|
|
13
|
+
},
|
|
14
|
+
emits: ["close"],
|
|
15
|
+
setup(f, { emit: d }) {
|
|
16
|
+
const e = f, i = d, x = (n, t) => {
|
|
17
|
+
n.stopPropagation(), t();
|
|
18
|
+
};
|
|
19
|
+
return (n, t) => {
|
|
20
|
+
const c = m("t-button"), C = m("t-popconfirm");
|
|
21
|
+
return l(), r("div", {
|
|
22
|
+
style: k(`background-color:${e.color}`),
|
|
23
|
+
class: p([{
|
|
24
|
+
"bg-caipira-primary-inverted": !e.color
|
|
25
|
+
}, "w-max inline-flex items-stretch rounded-sm select-none color-caipira-primary"]),
|
|
26
|
+
role: e.role
|
|
27
|
+
}, [
|
|
28
|
+
v("div", E, [
|
|
29
|
+
n.$slots.default ? z(n.$slots, "default", { key: 0 }) : (l(), r("span", {
|
|
30
|
+
key: 1,
|
|
31
|
+
class: p({
|
|
32
|
+
"text-xs": e.size === s(o).ExtraSmall,
|
|
33
|
+
"text-sm": e.size === s(o).Small,
|
|
34
|
+
"text-base": e.size === s(o).Default,
|
|
35
|
+
"text-lg": e.size === s(o).Large,
|
|
36
|
+
"text-xl": e.size === s(o).ExtraLarge
|
|
37
|
+
})
|
|
38
|
+
}, g(e.text), 3))
|
|
39
|
+
]),
|
|
40
|
+
e.hasCloseButton ? (l(), r("div", $, [
|
|
41
|
+
e.confirmClose ? (l(), u(C, {
|
|
42
|
+
key: 0,
|
|
43
|
+
message: "Are you sure you want to remove it?",
|
|
44
|
+
class: "h-full",
|
|
45
|
+
onConfirm: t[0] || (t[0] = (a) => i("close"))
|
|
46
|
+
}, {
|
|
47
|
+
default: h(({ onTogglePopover: a }) => [
|
|
48
|
+
B(c, {
|
|
49
|
+
variant: "transparent",
|
|
50
|
+
hover: !0,
|
|
51
|
+
icon: "close",
|
|
52
|
+
size: "",
|
|
53
|
+
class: "px-1.5 h-full",
|
|
54
|
+
onClick: (y) => x(y, a)
|
|
55
|
+
}, null, 8, ["onClick"])
|
|
56
|
+
]),
|
|
57
|
+
_: 1
|
|
58
|
+
})) : (l(), u(c, {
|
|
59
|
+
key: 1,
|
|
60
|
+
variant: "transparent",
|
|
61
|
+
icon: "close",
|
|
62
|
+
size: "sm",
|
|
63
|
+
class: "px-1.5 h-full",
|
|
64
|
+
onClick: t[1] || (t[1] = (a) => i("close"))
|
|
65
|
+
}))
|
|
66
|
+
])) : S("", !0)
|
|
67
|
+
], 14, b);
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
export {
|
|
72
|
+
N as _
|
|
73
|
+
};
|
package/dist/components.js
CHANGED
|
@@ -40,7 +40,7 @@ import { _ as Cr } from "./SensitiveInfo.vue_vue_type_script_setup_true_lang-lCd
|
|
|
40
40
|
import { _ as Gr } from "./Skeleton.vue_vue_type_script_setup_true_lang-BZItfVoN.js";
|
|
41
41
|
import { _ as gr } from "./Tab.vue_vue_type_script_setup_true_lang-VzvYvoqa.js";
|
|
42
42
|
import { T as vr } from "./Table-C0Sr_Lfm.js";
|
|
43
|
-
import { _ as Fr } from "./Tag.vue_vue_type_script_setup_true_lang-
|
|
43
|
+
import { _ as Fr } from "./Tag.vue_vue_type_script_setup_true_lang-DatNytmx.js";
|
|
44
44
|
import { _ as Br } from "./Toast.vue_vue_type_script_setup_true_lang-Dezwl4qF.js";
|
|
45
45
|
export {
|
|
46
46
|
e as Avatar,
|
|
@@ -55,8 +55,8 @@ import { p as z } from "./plugin-B9wG8DUw.js";
|
|
|
55
55
|
import { p as E } from "./plugin-5vn4G57V.js";
|
|
56
56
|
import "./Table-C0Sr_Lfm.js";
|
|
57
57
|
import { p as O } from "./plugin-CTMcmMdr.js";
|
|
58
|
-
import "./Tag.vue_vue_type_script_setup_true_lang-
|
|
59
|
-
import { p as q } from "./plugin-
|
|
58
|
+
import "./Tag.vue_vue_type_script_setup_true_lang-DatNytmx.js";
|
|
59
|
+
import { p as q } from "./plugin-DXjluPIV.js";
|
|
60
60
|
import { p as R } from "./plugin-Dn96hI0e.js";
|
|
61
61
|
const Vp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
62
62
|
__proto__: null,
|
package/dist/plugins.js
CHANGED
|
@@ -55,8 +55,8 @@ import { p as Jr } from "./plugin-B9wG8DUw.js";
|
|
|
55
55
|
import { p as Nr } from "./plugin-5vn4G57V.js";
|
|
56
56
|
import "./Table-C0Sr_Lfm.js";
|
|
57
57
|
import { p as Qr } from "./plugin-CTMcmMdr.js";
|
|
58
|
-
import "./Tag.vue_vue_type_script_setup_true_lang-
|
|
59
|
-
import { p as Vr } from "./plugin-
|
|
58
|
+
import "./Tag.vue_vue_type_script_setup_true_lang-DatNytmx.js";
|
|
59
|
+
import { p as Vr } from "./plugin-DXjluPIV.js";
|
|
60
60
|
import { p as Xr } from "./plugin-Dn96hI0e.js";
|
|
61
61
|
export {
|
|
62
62
|
T as AvatarPlugin,
|
package/dist/tamandua.js
CHANGED
package/package.json
CHANGED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { defineComponent as y, resolveComponent as m, openBlock as o, createElementBlock as a, normalizeStyle as _, normalizeClass as p, createElementVNode as C, renderSlot as k, unref as l, toDisplayString as v, createBlock as u, withCtx as z, createVNode as g, createCommentVNode as h } from "vue";
|
|
2
|
-
import { a as t } from "./ui-BC6H9E93.js";
|
|
3
|
-
const B = ["role"], S = { class: "px-2" }, b = { key: 0 }, w = /* @__PURE__ */ y({
|
|
4
|
-
name: "TTag",
|
|
5
|
-
__name: "Tag",
|
|
6
|
-
props: {
|
|
7
|
-
text: { default: "" },
|
|
8
|
-
size: { default: t.Default },
|
|
9
|
-
role: { default: "" },
|
|
10
|
-
color: { default: "" },
|
|
11
|
-
confirmClose: { type: Boolean, default: !1 },
|
|
12
|
-
hasCloseButton: { type: Boolean, default: !1 }
|
|
13
|
-
},
|
|
14
|
-
emits: ["close"],
|
|
15
|
-
setup(f, { emit: d }) {
|
|
16
|
-
const e = f, r = d;
|
|
17
|
-
return (i, s) => {
|
|
18
|
-
const c = m("t-button"), x = m("t-popconfirm");
|
|
19
|
-
return o(), a("div", {
|
|
20
|
-
style: _(`background-color:${e.color}`),
|
|
21
|
-
class: p([{
|
|
22
|
-
"bg-caipira-primary-inverted": !e.color
|
|
23
|
-
}, "w-max inline-flex items-stretch rounded-sm select-none color-caipira-primary"]),
|
|
24
|
-
role: e.role
|
|
25
|
-
}, [
|
|
26
|
-
C("div", S, [
|
|
27
|
-
i.$slots.default ? k(i.$slots, "default", { key: 0 }) : (o(), a("span", {
|
|
28
|
-
key: 1,
|
|
29
|
-
class: p({
|
|
30
|
-
"text-xs": e.size === l(t).ExtraSmall,
|
|
31
|
-
"text-sm": e.size === l(t).Small,
|
|
32
|
-
"text-base": e.size === l(t).Default,
|
|
33
|
-
"text-lg": e.size === l(t).Large,
|
|
34
|
-
"text-xl": e.size === l(t).ExtraLarge
|
|
35
|
-
})
|
|
36
|
-
}, v(e.text), 3))
|
|
37
|
-
]),
|
|
38
|
-
e.hasCloseButton ? (o(), a("div", b, [
|
|
39
|
-
e.confirmClose ? (o(), u(x, {
|
|
40
|
-
key: 0,
|
|
41
|
-
message: "Are you sure you want to remove it?",
|
|
42
|
-
class: "h-full",
|
|
43
|
-
onConfirm: s[0] || (s[0] = (n) => r("close"))
|
|
44
|
-
}, {
|
|
45
|
-
default: z(({ onTogglePopover: n }) => [
|
|
46
|
-
g(c, {
|
|
47
|
-
variant: "transparent",
|
|
48
|
-
hover: !0,
|
|
49
|
-
icon: "close",
|
|
50
|
-
size: "",
|
|
51
|
-
class: "px-1.5 h-full",
|
|
52
|
-
onClick: n
|
|
53
|
-
}, null, 8, ["onClick"])
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
})) : (o(), u(c, {
|
|
57
|
-
key: 1,
|
|
58
|
-
variant: "transparent",
|
|
59
|
-
icon: "close",
|
|
60
|
-
size: "sm",
|
|
61
|
-
class: "px-1.5 h-full",
|
|
62
|
-
onClick: s[1] || (s[1] = (n) => r("close"))
|
|
63
|
-
}))
|
|
64
|
-
])) : h("", !0)
|
|
65
|
-
], 14, B);
|
|
66
|
-
};
|
|
67
|
-
}
|
|
68
|
-
});
|
|
69
|
-
export {
|
|
70
|
-
w as _
|
|
71
|
-
};
|