@caipira/tamandua 0.0.64 → 0.0.66

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.
Files changed (60) hide show
  1. package/dist/Avatar.js +2 -2
  2. package/dist/{Avatar.vue_vue_type_script_setup_true_lang-BbcM5CB3.js → Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js} +1 -1
  3. package/dist/Button.js +2 -2
  4. package/dist/{Button-BThdMs5-.js → Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js} +81 -79
  5. package/dist/FileDrop.js +2 -2
  6. package/dist/{FileDrop.vue_vue_type_script_setup_true_lang-DLEH_LLX.js → FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js} +26 -26
  7. package/dist/GraphyPrice.js +2 -2
  8. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-DI2x-MAS.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BDYxfzF6.js} +1 -1
  9. package/dist/Icon.js +2 -2
  10. package/dist/{Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js → Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js} +1 -1
  11. package/dist/InputCheckbox.js +2 -2
  12. package/dist/{InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js → InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js} +9 -9
  13. package/dist/InputRadio.js +2 -2
  14. package/dist/InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js +35 -0
  15. package/dist/InputSelect.js +2 -2
  16. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js → InputSelect.vue_vue_type_script_setup_true_lang-BuO105oW.js} +1 -1
  17. package/dist/InputSwitch.js +2 -2
  18. package/dist/{InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js → InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js} +10 -11
  19. package/dist/Link.js +2 -2
  20. package/dist/{Link.vue_vue_type_script_setup_true_lang-DIzaFPvW.js → Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js} +1 -1
  21. package/dist/Pagination.js +2 -2
  22. package/dist/Pagination.vue_vue_type_script_setup_true_lang-BB6dLKpi.js +106 -0
  23. package/dist/Popconfirm.js +2 -2
  24. package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-CgWeJEGu.js → Popconfirm.vue_vue_type_script_setup_true_lang-C37pLEUq.js} +1 -1
  25. package/dist/Popover.js +2 -2
  26. package/dist/{Popover.vue_vue_type_script_setup_true_lang-MaJDdAe0.js → Popover.vue_vue_type_script_setup_true_lang-DoSN5ymu.js} +6 -6
  27. package/dist/Tag.js +2 -2
  28. package/dist/{Tag.vue_vue_type_script_setup_true_lang-CkDz2_qz.js → Tag.vue_vue_type_script_setup_true_lang-CKzb-As0.js} +1 -1
  29. package/dist/Toast.js +2 -2
  30. package/dist/{Toast.vue_vue_type_script_setup_true_lang-Lw1lJoH3.js → Toast.vue_vue_type_script_setup_true_lang-DcVS4Iyg.js} +1 -1
  31. package/dist/components.js +20 -20
  32. package/dist/enums.js +1 -1
  33. package/dist/index.css +18 -25
  34. package/dist/{plugin-BU44OLnf.js → plugin-2Cr_XUjp.js} +1 -1
  35. package/dist/{plugin-BZOU6h10.js → plugin-B63n9_uc.js} +1 -1
  36. package/dist/{plugin-6ziw5jJj.js → plugin-BShPzL82.js} +1 -1
  37. package/dist/{plugin-BQqeQUxM.js → plugin-BVJKxqmv.js} +1 -1
  38. package/dist/{plugin-BOewyU0C.js → plugin-BdTrCTL4.js} +1 -1
  39. package/dist/{plugin-Bw-AW29_.js → plugin-CEByTREY.js} +1 -1
  40. package/dist/{plugin-aR9suX-A.js → plugin-CGE6W117.js} +1 -1
  41. package/dist/{plugin-BscWXR9h.js → plugin-CJ6sqqaI.js} +1 -1
  42. package/dist/{plugin-hcORPz_I.js → plugin-ColpxTKB.js} +1 -1
  43. package/dist/plugin-Cr3oXX-8.js +10 -0
  44. package/dist/{plugin-B5vbbM7n.js → plugin-DJlVAL-g.js} +1 -1
  45. package/dist/{plugin-DqD4mnko.js → plugin-DNwjBl_u.js} +1 -1
  46. package/dist/{plugin-CZiSoM73.js → plugin-DPAnsB4s.js} +1 -1
  47. package/dist/{plugin-Y4yYnlO3.js → plugin-Do2-cqMT.js} +1 -1
  48. package/dist/{plugin-DPcsc5tO.js → plugin-DxG6Hhao.js} +1 -1
  49. package/dist/{plugins-CXIwZwnV.js → plugins-BFVTdy-_.js} +26 -26
  50. package/dist/plugins.js +26 -26
  51. package/dist/tamandua.js +1 -1
  52. package/dist/types/components/Button/Button.vue.d.ts +23 -17
  53. package/dist/types/components/Button/types.d.ts +15 -13
  54. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +6 -6
  55. package/dist/{ui-BSiRZzeZ.js → ui-J-lhC9qd.js} +2 -2
  56. package/package.json +1 -1
  57. package/dist/Button.css +0 -1
  58. package/dist/InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js +0 -35
  59. package/dist/Pagination.vue_vue_type_script_setup_true_lang-BNeFZWgA.js +0 -108
  60. package/dist/plugin-BoP2-VzO.js +0 -10
package/dist/Avatar.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-BbcM5CB3.js";
2
- import { p } from "./plugin-DqD4mnko.js";
1
+ import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-D7NdR9hu.js";
2
+ import { p } from "./plugin-DNwjBl_u.js";
3
3
  export {
4
4
  o as Avatar,
5
5
  p as AvatarPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, computed as d, resolveComponent as m, openBlock as a, createElementBlock as o, normalizeClass as u, unref as t, createBlock as p, toDisplayString as f, createCommentVNode as h } from "vue";
2
- import { a as l, b as i } from "./ui-BSiRZzeZ.js";
2
+ import { a as l, b as i } from "./ui-J-lhC9qd.js";
3
3
  const _ = ["role"], y = ["src"], S = { key: 2 }, w = /* @__PURE__ */ c({
4
4
  name: "TAvatar",
5
5
  __name: "Avatar",
package/dist/Button.js CHANGED
@@ -1,5 +1,5 @@
1
- import { B as r } from "./Button-BThdMs5-.js";
2
- import { p } from "./plugin-BoP2-VzO.js";
1
+ import { _ as r } from "./Button.vue_vue_type_script_setup_true_lang-CUPz7wT9.js";
2
+ import { p } from "./plugin-Cr3oXX-8.js";
3
3
  export {
4
4
  r as Button,
5
5
  p as ButtonPlugin
@@ -1,99 +1,101 @@
1
- import './Button.css';
2
- import { defineComponent as _, useSlots as z, ref as v, computed as c, resolveComponent as A, openBlock as s, createBlock as y, resolveDynamicComponent as U, normalizeClass as D, unref as a, withCtx as L, renderSlot as k, mergeProps as F, createCommentVNode as m, createElementBlock as h, Fragment as P, createTextVNode as M, toDisplayString as G } from "vue";
3
- import { d as i, a as t, b as d, B as r } from "./ui-BSiRZzeZ.js";
4
- import { g as b } from "./index-CVD_wAsU.js";
5
- import "./Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js";
6
- import { _ as O } from "./_plugin-vue_export-helper-CHgC5LLL.js";
7
- const W = ["multiple"], V = /* @__PURE__ */ _({
1
+ import { defineComponent as A, useSlots as U, ref as b, computed as c, resolveComponent as _, openBlock as p, createBlock as d, resolveDynamicComponent as z, normalizeClass as D, unref as a, withCtx as P, mergeProps as y, createCommentVNode as u, renderSlot as k, createElementBlock as h, Fragment as L, createTextVNode as F, toDisplayString as M } from "vue";
2
+ import { b as f, a as i, c as t, B as r } from "./ui-J-lhC9qd.js";
3
+ import { g } from "./index-CVD_wAsU.js";
4
+ import "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
5
+ const G = ["multiple"], K = /* @__PURE__ */ A({
8
6
  name: "TButton",
9
7
  __name: "Button",
10
8
  props: {
9
+ animate: {},
10
+ bold: { type: Boolean, default: !1 },
11
+ disabled: { type: Boolean, default: !1 },
12
+ hover: { type: Boolean, default: !0 },
11
13
  icon: {},
12
- type: { default: i.BUTTON },
13
- size: { default: t.Default },
14
+ iconPosition: { default: "left" },
15
+ iconProps: { default: () => ({}) },
14
16
  label: { default: "" },
15
- shape: { default: d.Rounded },
16
- hover: { type: Boolean, default: !0 },
17
- variant: { default: r.DEFAULT },
18
- outline: { type: Boolean, default: !1 },
19
17
  multiple: { type: Boolean, default: !1 },
20
- disabled: { type: Boolean, default: !1 },
21
- iconProps: { default: () => ({}) },
22
- animate: {}
18
+ outline: { type: Boolean, default: !1 },
19
+ shape: { default: f.Rounded },
20
+ size: { default: i.Default },
21
+ type: { default: t.BUTTON },
22
+ variant: { default: r.DEFAULT }
23
23
  },
24
24
  emits: ["upload"],
25
- setup(g, { expose: S, emit: x }) {
26
- const e = g, E = x, T = z(), f = v(), u = v(null), B = c(() => {
25
+ setup(S, { expose: T, emit: E }) {
26
+ const e = S, x = E, B = U(), m = b(), s = b(null), R = c(() => {
27
27
  switch (e.type) {
28
- case i.SUBMIT:
28
+ case t.SUBMIT:
29
29
  return "submit";
30
- case i.BUTTON:
31
- case i.FILE:
30
+ case t.BUTTON:
31
+ case t.FILE:
32
32
  default:
33
33
  return "button";
34
34
  }
35
- }), R = c(() => e.type === i.SUBMIT ? e.label : void 0), w = c(() => {
35
+ }), w = c(() => e.type === t.SUBMIT ? e.label : void 0), N = c(() => {
36
36
  switch (e.type) {
37
- case i.SUBMIT:
37
+ case t.SUBMIT:
38
38
  return "input";
39
- case i.BUTTON:
40
- case i.FILE:
39
+ case t.BUTTON:
40
+ case t.FILE:
41
41
  default:
42
42
  return "button";
43
43
  }
44
- }), C = (l) => {
45
- if (e.type === i.SUBMIT && l.preventDefault(), e.type === i.FILE && f.value?.click(), e.animate) {
46
- let o = null;
47
- e.animate.target === "icon" && (o = u.value?.reference), o && b.to(o, {
44
+ }), C = (o) => {
45
+ if (e.type === t.SUBMIT && o.preventDefault(), e.type === t.FILE && m.value?.click(), e.animate) {
46
+ let n = null;
47
+ e.animate.target === "icon" && (n = s.value?.reference), n && g.to(n, {
48
48
  duration: 0.2,
49
49
  ...e.animate.animation,
50
50
  ease: "power3.easeInOut",
51
51
  onComplete: () => {
52
- b.set(o, e.animate?.reset);
52
+ g.set(n, e.animate?.reset);
53
53
  }
54
54
  });
55
55
  }
56
- }, I = (l) => {
57
- l.stopPropagation();
58
- const p = l.target.files;
59
- !p || !p.length || E("upload", p);
60
- }, N = c(() => {
56
+ }, I = (o) => {
57
+ o.stopPropagation();
58
+ const l = o.target.files;
59
+ !l || !l.length || x("upload", l);
60
+ }, v = c(() => {
61
61
  switch (e.size) {
62
- case t.ExtraSmall:
62
+ case i.ExtraSmall:
63
63
  return 12;
64
- case t.Small:
64
+ case i.Small:
65
65
  return 16;
66
- case t.Default:
66
+ case i.Default:
67
67
  return 20;
68
- case t.Large:
68
+ case i.Large:
69
69
  return 24;
70
- case t.ExtraLarge:
70
+ case i.ExtraLarge:
71
71
  return 28;
72
72
  default:
73
73
  return 20;
74
74
  }
75
- }), n = c(() => !!e.label || !!T.default);
76
- return S({ iconReference: u }), (l, o) => {
77
- const p = A("t-icon");
78
- return s(), y(U(w.value), {
79
- type: B.value,
80
- value: R.value,
75
+ });
76
+ return c(() => !!e.label || !!B.default), T({ iconReference: s }), (o, n) => {
77
+ const l = _("t-icon");
78
+ return p(), d(z(N.value), {
79
+ type: R.value,
80
+ value: w.value,
81
81
  disabled: e.disabled,
82
82
  class: D([{
83
83
  // Size
84
- "text-xs px-1 h-4": e.size === a(t).ExtraSmall,
85
- "text-sm px-2 h-7": e.size === a(t).Small,
86
- "text-base px-3 h-9": e.size === a(t).Default,
87
- "text-lg px-3.5 h-12": e.size === a(t).Large,
88
- "text-xl px-4 h-14": e.size === a(t).ExtraLarge,
84
+ "text-xs px-1 h-4": e.size === a(i).ExtraSmall,
85
+ "text-sm px-2 h-7": e.size === a(i).Small,
86
+ "text-base px-3 h-9": e.size === a(i).Default,
87
+ "text-lg px-3.5 h-12": e.size === a(i).Large,
88
+ "text-xl px-4 h-14": e.size === a(i).ExtraLarge,
89
89
  // Border
90
- border: e.outline,
90
+ "border border-color": e.outline,
91
91
  // Shape
92
- "rounded-full": e.shape === a(d).Circle,
93
- "input-roundness": e.shape === a(d).Rounded,
92
+ "rounded-full": e.shape === a(f).Circle,
93
+ "input-roundness": e.shape === a(f).Rounded,
94
94
  // Enabled/Disabled
95
- "cursor-not-allowed opacity-50": e.disabled,
95
+ "cursor-not-allowed": e.disabled,
96
96
  "cursor-pointer": !e.disabled,
97
+ // Bold
98
+ "font-bold": e.bold,
97
99
  // Default color
98
100
  "border-caipira-primary-inverted fill-caipira-primary-inverted": e.variant === a(r).DEFAULT,
99
101
  "bg-transparent color-caipira-primary-inverted hover:bg-caipira-primary-inverted hover:color-caipira-primary hover:fill-white": e.variant === a(r).DEFAULT && e.outline,
@@ -118,45 +120,45 @@ const W = ["multiple"], V = /* @__PURE__ */ _({
118
120
  "color-caipira-primary-inverted underline font-bold": e.variant === a(r).LINK,
119
121
  // Transparent
120
122
  "transparent-button": e.variant === a(r).TRANSPARENT,
121
- "transparent-hover": e.variant === a(r).TRANSPARENT && e.hover
122
- }, "input-outline flex items-center select-none whitespace-nowrap"]),
123
+ "hover:bg-[var(--hover-color)]": e.variant === a(r).TRANSPARENT && e.hover
124
+ }, "input-outline inline-flex gap-1 items-center select-none whitespace-nowrap"]),
123
125
  role: "button",
124
126
  onClick: C
125
127
  }, {
126
- default: L(() => [
127
- k(l.$slots, "default", {}, void 0, !0),
128
- e.icon ? (s(), y(p, F({
128
+ default: P(() => [
129
+ e.icon && e.iconPosition === "left" ? (p(), d(l, y({
129
130
  key: 0,
130
131
  ref_key: "iconReference",
131
- ref: u,
132
- size: N.value,
133
- icon: e.icon,
134
- class: {
135
- "mr-1": n.value && e.size === a(t).ExtraSmall,
136
- "mr-1.5": n.value && e.size === a(t).Small,
137
- "mr-2": n.value && e.size === a(t).Default,
138
- "mr-2.5": n.value && e.size === a(t).Large,
139
- "mr-3": n.value && e.size === a(t).ExtraLarge
140
- }
141
- }, e.iconProps), null, 16, ["size", "icon", "class"])) : m("", !0),
142
- e.label && e.type !== a(i).SUBMIT ? (s(), h(P, { key: 1 }, [
143
- M(G(e.label), 1)
144
- ], 64)) : m("", !0),
145
- e.type === "file" ? (s(), h("input", {
132
+ ref: s,
133
+ size: v.value,
134
+ icon: e.icon
135
+ }, e.iconProps), null, 16, ["size", "icon"])) : u("", !0),
136
+ k(o.$slots, "default"),
137
+ e.label && e.type !== a(t).SUBMIT ? (p(), h(L, { key: 1 }, [
138
+ F(M(e.label), 1)
139
+ ], 64)) : u("", !0),
140
+ e.icon && e.iconPosition === "right" ? (p(), d(l, y({
146
141
  key: 2,
142
+ ref_key: "iconReference",
143
+ ref: s,
144
+ size: v.value,
145
+ icon: e.icon
146
+ }, e.iconProps), null, 16, ["size", "icon"])) : u("", !0),
147
+ e.type === "file" ? (p(), h("input", {
148
+ key: 3,
147
149
  multiple: e.multiple,
148
150
  type: "file",
149
151
  ref_key: "fileInput",
150
- ref: f,
152
+ ref: m,
151
153
  class: "hidden",
152
154
  onChange: I
153
- }, null, 40, W)) : m("", !0)
155
+ }, null, 40, G)) : u("", !0)
154
156
  ]),
155
157
  _: 3
156
158
  }, 8, ["type", "value", "disabled", "class"]);
157
159
  };
158
160
  }
159
- }), H = /* @__PURE__ */ O(V, [["__scopeId", "data-v-ad1f5bfc"]]);
161
+ });
160
162
  export {
161
- H as B
163
+ K as _
162
164
  };
package/dist/FileDrop.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-DLEH_LLX.js";
2
- import { p as i } from "./plugin-BscWXR9h.js";
1
+ import { _ as p } from "./FileDrop.vue_vue_type_script_setup_true_lang-BDzMbrCN.js";
2
+ import { p as i } from "./plugin-CJ6sqqaI.js";
3
3
  export {
4
4
  p as FileDrop,
5
5
  i as FileDropPlugin
@@ -5,10 +5,10 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
5
5
  }, N = { class: "text-xs" }, j = {
6
6
  key: 1,
7
7
  class: "flex items-center justify-evenly my-4 w-full"
8
- }, B = { class: "text-center" }, A = /* @__PURE__ */ n("p", { class: "mb-2 text-sm text-gray-500 dark:text-gray-400" }, [
8
+ }, B = { class: "text-center" }, A = /* @__PURE__ */ n("p", { class: "mb-2 text-sm" }, [
9
9
  /* @__PURE__ */ n("span", { class: "font-semibold" }, "Click to upload"),
10
10
  /* @__PURE__ */ G(" or drag and drop ")
11
- ], -1), E = { class: "text-xs text-gray-500 dark:text-gray-400" }, K = ["multiple"], J = /* @__PURE__ */ k({
11
+ ], -1), E = { class: "text-xs" }, K = ["multiple"], J = /* @__PURE__ */ k({
12
12
  name: "TFileDrop",
13
13
  __name: "FileDrop",
14
14
  props: /* @__PURE__ */ F({
@@ -20,39 +20,39 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
20
20
  }),
21
21
  emits: ["update:modelValue"],
22
22
  setup(c, { emit: S }) {
23
- const _ = c, l = C(c, "modelValue"), u = V(null), y = p(() => l.value.length > 0), g = p(() => {
23
+ const _ = c, o = C(c, "modelValue"), u = V(null), v = p(() => o.value.length > 0), h = p(() => {
24
24
  switch (_.types) {
25
25
  default:
26
26
  return "SVG, PNG, JPG or GIF";
27
27
  }
28
- }), h = (e, r) => {
29
- e.stopPropagation(), e.preventDefault(), l.value = l.value.filter((o) => o.name !== r);
30
- }, x = (e) => {
28
+ }), x = (e, i) => {
29
+ e.stopPropagation(), e.preventDefault(), o.value = o.value.filter((l) => l.name !== i);
30
+ }, y = (e) => {
31
31
  e.stopPropagation();
32
- const o = e.target.files;
33
- if (!o || !o.length)
32
+ const l = e.target.files;
33
+ if (!l || !l.length)
34
34
  return;
35
- const i = l.value.flatMap((t) => t.name);
36
- l.value = [
37
- ...l.value,
38
- ...Array.from(o).filter(
39
- (t) => !i.includes(t.name)
35
+ const r = o.value.flatMap((t) => t.name);
36
+ o.value = [
37
+ ...o.value,
38
+ ...Array.from(l).filter(
39
+ (t) => !r.includes(t.name)
40
40
  )
41
41
  ];
42
- }, v = (e) => {
42
+ }, g = (e) => {
43
43
  e.stopPropagation(), u.value?.click();
44
44
  };
45
- return (e, r) => {
46
- const o = d("t-button"), i = d("t-icon");
45
+ return (e, i) => {
46
+ const l = d("t-button"), r = d("t-icon");
47
47
  return s(), a("div", I, [
48
48
  n("label", {
49
49
  for: "dropzone-file",
50
50
  tabindex: "0",
51
- class: "flex flex-col items-center justify-center w-full h-full cursor-pointer border input-border border-dashed input-roundness input-text-color input-bg-color hover:bg-caipira-secondary input-outline",
52
- onKeyup: w(v, ["space", "enter"])
51
+ class: "flex flex-col items-center justify-center w-full h-full cursor-pointer border input-border input-roundness input-text-color input-bg-color input-outline",
52
+ onKeyup: w(g, ["space", "enter"])
53
53
  }, [
54
- y.value ? (s(), a("div", M, [
55
- (s(!0), a(z, null, D(l.value, (t) => (s(), a("div", {
54
+ v.value ? (s(), a("div", M, [
55
+ (s(!0), a(z, null, D(o.value, (t) => (s(), a("div", {
56
56
  key: t.name,
57
57
  class: "flex items-center"
58
58
  }, [
@@ -60,26 +60,26 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
60
60
  class: P(["fs mr-1", [t.name.split(".").pop()]])
61
61
  }, null, 2),
62
62
  n("span", N, m(t.name), 1),
63
- f(o, {
63
+ f(l, {
64
64
  variant: "transparent",
65
65
  size: "sm",
66
66
  hover: !1,
67
67
  icon: "trash-can-outline",
68
68
  class: "text-red-400",
69
69
  role: "button",
70
- onClick: (b) => h(b, t.name)
70
+ onClick: (b) => x(b, t.name)
71
71
  }, null, 8, ["onClick"])
72
72
  ]))), 128))
73
73
  ])) : (s(), a("div", j, [
74
- f(i, {
75
- class: "fill-gray-500 dark:fill-gray-400",
74
+ f(r, {
75
+ class: "text-[var(--unfocused-color)]",
76
76
  icon: "upload",
77
77
  role: "button",
78
78
  size: "lg"
79
79
  }),
80
80
  n("div", B, [
81
81
  A,
82
- n("p", E, m(g.value), 1)
82
+ n("p", E, m(h.value), 1)
83
83
  ])
84
84
  ])),
85
85
  n("input", {
@@ -90,7 +90,7 @@ const I = { class: "flex items-center justify-center w-full" }, M = {
90
90
  type: "file",
91
91
  class: "hidden",
92
92
  multiple: e.multiple,
93
- onChange: x
93
+ onChange: y
94
94
  }, null, 40, K)
95
95
  ], 32)
96
96
  ]);
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-DI2x-MAS.js";
2
- import { p as o } from "./plugin-aR9suX-A.js";
1
+ import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-BDYxfzF6.js";
2
+ import { p as o } from "./plugin-CGE6W117.js";
3
3
  export {
4
4
  a as GraphyPrice,
5
5
  o as GraphyPricePlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, reactive as p, watch as l, openBlock as s, createElementBlock as u, normalizeClass as m, unref as r, toDisplayString as v } from "vue";
2
- import { G as e } from "./ui-BSiRZzeZ.js";
2
+ import { G as e } from "./ui-J-lhC9qd.js";
3
3
  import { g as f } from "./index-CVD_wAsU.js";
4
4
  import { useI18n as y } from "vue-i18n";
5
5
  const _ = /* @__PURE__ */ c({
package/dist/Icon.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as n } from "./Icon.vue_vue_type_script_setup_true_lang-CDJweTzy.js";
2
- import { p as a } from "./plugin-6ziw5jJj.js";
1
+ import { _ as n } from "./Icon.vue_vue_type_script_setup_true_lang-C2QvF2xM.js";
2
+ import { p as a } from "./plugin-BShPzL82.js";
3
3
  export {
4
4
  n as Icon,
5
5
  a as IconPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as u, ref as m, computed as p, watch as h, openBlock as f, createElementBlock as d, normalizeClass as b, unref as o, normalizeStyle as k } from "vue";
2
- import { a as t } from "./ui-BSiRZzeZ.js";
2
+ import { a as t } from "./ui-J-lhC9qd.js";
3
3
  const x = (n, i) => {
4
4
  const s = n[i];
5
5
  return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((r, e) => {
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-BOY41cD-.js";
2
- import { p as t } from "./plugin-BQqeQUxM.js";
1
+ import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-Dp-FyMon.js";
2
+ import { p as t } from "./plugin-BVJKxqmv.js";
3
3
  export {
4
4
  e as InputCheckbox,
5
5
  t as InputCheckboxPlugin
@@ -1,5 +1,5 @@
1
1
  import './InputCheckbox.css';
2
- import { defineComponent as u, ref as m, watch as f, resolveComponent as b, openBlock as i, createElementBlock as h, withDirectives as v, createElementVNode as y, mergeProps as _, vModelCheckbox as k, createBlock as x, withCtx as B, createTextVNode as C, toDisplayString as V, createCommentVNode as g } from "vue";
2
+ import { defineComponent as u, ref as m, watch as f, resolveComponent as b, openBlock as i, createElementBlock as h, withDirectives as v, createElementVNode as _, mergeProps as k, vModelCheckbox as y, createBlock as x, withCtx as B, createTextVNode as C, toDisplayString as V, createCommentVNode as g } from "vue";
3
3
  const I = { class: "h-9 inline-flex items-center" }, w = ["indeterminate", "disabled"];
4
4
  let N = 0;
5
5
  const D = /* @__PURE__ */ u({
@@ -14,35 +14,35 @@ const D = /* @__PURE__ */ u({
14
14
  },
15
15
  emits: ["update:model-value", "input"],
16
16
  setup(r, { emit: d }) {
17
- const t = r, o = d, l = `checkbox_${++N}`, a = m(!1), s = () => {
17
+ const t = r, l = d, o = `checkbox_${++N}`, a = m(!1), s = () => {
18
18
  const e = !a.value;
19
- o("update:model-value", e), o("input", e);
19
+ l("update:model-value", e), l("input", e);
20
20
  };
21
21
  return f(
22
22
  () => t.modelValue,
23
23
  (e) => {
24
- t.initializeValue && typeof e > "u" && o("update:model-value", !1), a.value = e;
24
+ t.initializeValue && typeof e > "u" && l("update:model-value", !1), a.value = e;
25
25
  },
26
26
  { immediate: !0 }
27
27
  ), (e, n) => {
28
28
  const p = b("t-graphy-label");
29
29
  return i(), h("div", I, [
30
- v(y("input", _({
30
+ v(_("input", k({
31
31
  "onUpdate:modelValue": n[0] || (n[0] = (c) => a.value = c)
32
32
  }, e.$attrs, {
33
33
  type: "checkbox",
34
- class: "form-checkbox w-5 h-5 border input-border input-roundness color-caipira-primary-inverted bg-caipira-primary checked:bg-caipira-primary-inverted input-outline",
34
+ class: "form-checkbox w-5 h-5 border input-border input-roundness bg-caipira-primary checked:bg-caipira-primary-inverted input-outline",
35
35
  indeterminate: t.isIndeterminate,
36
- id: l,
36
+ id: o,
37
37
  disabled: e.disabled,
38
38
  onInput: s
39
39
  }), null, 16, w), [
40
- [k, a.value]
40
+ [y, a.value]
41
41
  ]),
42
42
  t.label ? (i(), x(p, {
43
43
  key: 0,
44
44
  class: "cursor-pointer pl-2 mr-3",
45
- for: l
45
+ for: o
46
46
  }, {
47
47
  default: B(() => [
48
48
  C(V(t.label), 1)
@@ -1,5 +1,5 @@
1
- import { _ as a } from "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
2
- import { p as t } from "./plugin-Y4yYnlO3.js";
1
+ import { _ as a } from "./InputRadio.vue_vue_type_style_index_0_lang-n0nJwz8x.js";
2
+ import { p as t } from "./plugin-Do2-cqMT.js";
3
3
  export {
4
4
  a as InputRadio,
5
5
  t as InputRadioPlugin
@@ -0,0 +1,35 @@
1
+ import './InputRadio.css';
2
+ import { defineComponent as p, inject as r, openBlock as u, createElementBlock as m, createElementVNode as o, unref as a, toDisplayString as b } from "vue";
3
+ const h = { class: "h-9 inline-flex items-center" }, v = ["value", "name", "disabled", "checked"];
4
+ let f = 0;
5
+ const g = /* @__PURE__ */ p({
6
+ name: "TInputRadio",
7
+ __name: "InputRadio",
8
+ props: {
9
+ value: {},
10
+ label: {}
11
+ },
12
+ setup(t) {
13
+ const n = `radio_${++f}`, c = r("name", ""), e = t, l = r("model", ""), d = r("change", () => {
14
+ }), s = r("disabled", !1);
15
+ return (_, i) => (u(), m("div", h, [
16
+ o("input", {
17
+ value: e.value,
18
+ name: a(c),
19
+ id: n,
20
+ disabled: a(s),
21
+ checked: e.value === a(l),
22
+ type: "radio",
23
+ class: "form-radio w-5 h-5 border input-border checked:hover:border-caipira-primary-inverted checked:focus:border-caipira-primary-inverted checked:border-caipira-primary-inverted input-outline focus:input-outline bg-caipira-primary color-caipira-primary",
24
+ onChange: i[0] || (i[0] = (k) => a(d)(e.value))
25
+ }, null, 40, v),
26
+ o("label", {
27
+ class: "cursor-pointer pl-2 mr-3 input-label",
28
+ for: n
29
+ }, b(e.label), 1)
30
+ ]));
31
+ }
32
+ });
33
+ export {
34
+ g as _
35
+ };
@@ -1,5 +1,5 @@
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";
1
+ import { _ as p } from "./InputSelect.vue_vue_type_script_setup_true_lang-BuO105oW.js";
2
+ import { p as r } from "./plugin-DPAnsB4s.js";
3
3
  export {
4
4
  p as InputSelect,
5
5
  r as InputSelectPlugin
@@ -1,5 +1,5 @@
1
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
- import { a as fe, E as ve } from "./ui-BSiRZzeZ.js";
2
+ import { a as fe, E as ve } from "./ui-J-lhC9qd.js";
3
3
  const me = { key: 1 }, ye = ["placeholder", "disabled", "readonly"], he = {
4
4
  key: 0,
5
5
  class: "inline-flex w-full justify-between items-center"
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-Q3wQlqfk.js";
2
- import { p as i } from "./plugin-BZOU6h10.js";
1
+ import { _ as o } from "./InputSwitch.vue_vue_type_script_setup_true_lang-CgE_12vY.js";
2
+ import { p as i } from "./plugin-B63n9_uc.js";
3
3
  export {
4
4
  o as InputSwitch,
5
5
  i as InputSwitchPlugin
@@ -1,4 +1,4 @@
1
- import { defineComponent as b, ref as v, watch as f, openBlock as i, createElementBlock as n, createElementVNode as t, normalizeClass as o, withDirectives as h, vModelCheckbox as y, toDisplayString as k, createCommentVNode as w } from "vue";
1
+ import { defineComponent as b, ref as v, watch as f, openBlock as r, createElementBlock as i, createElementVNode as t, normalizeClass as o, withDirectives as h, vModelCheckbox as k, toDisplayString as w, createCommentVNode as y } from "vue";
2
2
  const g = ["disabled"];
3
3
  let V = 0;
4
4
  const B = /* @__PURE__ */ b({
@@ -10,8 +10,8 @@ const B = /* @__PURE__ */ b({
10
10
  modelValue: { type: Boolean }
11
11
  },
12
12
  emits: ["update:model-value"],
13
- setup(d, { emit: u }) {
14
- const s = d, c = u, a = `switch_${++V}`, e = v(!1), p = () => {
13
+ setup(u, { emit: d }) {
14
+ const s = u, c = d, a = `switch_${++V}`, e = v(!1), p = () => {
15
15
  const l = !e.value;
16
16
  c("update:model-value", l);
17
17
  };
@@ -21,25 +21,24 @@ const B = /* @__PURE__ */ b({
21
21
  e.value = !!l;
22
22
  },
23
23
  { immediate: !0 }
24
- ), (l, r) => (i(), n("div", null, [
24
+ ), (l, n) => (r(), i("div", null, [
25
25
  t("div", {
26
26
  class: o(["relative inline-block w-12 mr-2 align-middle select-none", {
27
27
  "rounded-full": !e.value
28
28
  }])
29
29
  }, [
30
30
  h(t("input", {
31
- "onUpdate:modelValue": r[0] || (r[0] = (m) => e.value = m),
31
+ "onUpdate:modelValue": n[0] || (n[0] = (m) => e.value = m),
32
32
  type: "checkbox",
33
- class: o(["absolute block w-6 h-6 rounded-full appearance-none cursor-pointer bg-caipira-primary border input-outline", {
34
- "right-0 border-caipira-primary-inverted": e.value,
35
- "border-caipira-tertiary": !e.value
33
+ class: o(["absolute block w-6 h-6 rounded-full appearance-none cursor-pointer bg-caipira-primary input-outline border input-border", {
34
+ "right-0": e.value
36
35
  }]),
37
36
  name: a,
38
37
  id: a,
39
38
  disabled: l.disabled,
40
39
  onInput: p
41
40
  }, null, 42, g), [
42
- [y, e.value]
41
+ [k, e.value]
43
42
  ]),
44
43
  t("label", {
45
44
  for: a,
@@ -49,11 +48,11 @@ const B = /* @__PURE__ */ b({
49
48
  }, "block overflow-hidden h-6 rounded-full cursor-pointer"])
50
49
  }, null, 2)
51
50
  ], 2),
52
- l.label ? (i(), n("label", {
51
+ l.label ? (r(), i("label", {
53
52
  key: 0,
54
53
  class: "text-base cursor-pointer select-none",
55
54
  for: a
56
- }, k(l.label), 1)) : w("", !0)
55
+ }, w(l.label), 1)) : y("", !0)
57
56
  ]));
58
57
  }
59
58
  });
package/dist/Link.js CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as i } from "./Link.vue_vue_type_script_setup_true_lang-DIzaFPvW.js";
2
- import { p } from "./plugin-Bw-AW29_.js";
1
+ import { _ as i } from "./Link.vue_vue_type_script_setup_true_lang-BE-Gh_jJ.js";
2
+ import { p } from "./plugin-CEByTREY.js";
3
3
  export {
4
4
  i as Link,
5
5
  p as LinkPlugin
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, computed as o, resolveComponent as u, openBlock as t, createBlock as r, resolveDynamicComponent as m, mergeProps as d, withCtx as f, renderSlot as _, createElementBlock as k, Fragment as y, createTextVNode as b, toDisplayString as g, createCommentVNode as h } from "vue";
2
- import { L as a } from "./ui-BSiRZzeZ.js";
2
+ import { L as a } from "./ui-J-lhC9qd.js";
3
3
  const w = /* @__PURE__ */ p({
4
4
  name: "TLink",
5
5
  __name: "Link",
@@ -1,5 +1,5 @@
1
- import { _ as i } from "./Pagination.vue_vue_type_script_setup_true_lang-BNeFZWgA.js";
2
- import { p as r } from "./plugin-DPcsc5tO.js";
1
+ import { _ as i } from "./Pagination.vue_vue_type_script_setup_true_lang-BB6dLKpi.js";
2
+ import { p as r } from "./plugin-DxG6Hhao.js";
3
3
  export {
4
4
  i as Pagination,
5
5
  r as PaginationPlugin