@caipira/tamandua 0.0.42 → 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.
Files changed (65) hide show
  1. package/dist/{Button-CAiIEdkK.js → Button-DxCwFAWy.js} +21 -23
  2. package/dist/Button.css +1 -1
  3. package/dist/Button.js +2 -2
  4. package/dist/{Drawer-omdZnBPG.js → Drawer-KwhQs5WA.js} +8 -8
  5. package/dist/Drawer.css +1 -1
  6. package/dist/Drawer.js +2 -2
  7. package/dist/FormItem.js +2 -2
  8. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CV7IVjE4.js +84 -0
  9. package/dist/InputCheckbox.css +1 -0
  10. package/dist/InputCheckbox.js +2 -2
  11. package/dist/{InputCheckbox.vue_vue_type_script_setup_true_lang-Bh8HA3Ay.js → InputCheckbox.vue_vue_type_style_index_0_lang-BONJ9l1D.js} +1 -0
  12. package/dist/InputMultiplier.js +2 -2
  13. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BFDBZk2M.js +66 -0
  14. package/dist/InputRadio.css +1 -0
  15. package/dist/InputRadio.js +2 -2
  16. package/dist/{InputRadio.vue_vue_type_script_setup_true_lang-Cu7lzDAh.js → InputRadio.vue_vue_type_style_index_0_lang-IqPZ9Qzl.js} +1 -0
  17. package/dist/InputText.js +2 -2
  18. package/dist/InputText.vue_vue_type_script_setup_true_lang-D4nIMRiz.js +39 -0
  19. package/dist/Link.js +2 -2
  20. package/dist/Link.vue_vue_type_script_setup_true_lang-DBYJfl5l.js +51 -0
  21. package/dist/{ProgressCircle-BY2eeyGY.js → ProgressCircle-Cpmi2CpO.js} +4 -4
  22. package/dist/ProgressCircle.css +1 -1
  23. package/dist/ProgressCircle.js +2 -2
  24. package/dist/components.js +9 -9
  25. package/dist/index.css +1 -29
  26. package/dist/{plugin-Dy-OWJTa.js → plugin-BDFttGl1.js} +1 -1
  27. package/dist/{plugin-DLFPglIt.js → plugin-BjXXC0b-.js} +1 -1
  28. package/dist/{plugin-DRcJuXpS.js → plugin-CrUFQdOK.js} +1 -1
  29. package/dist/{plugin-Bog7k3Qf.js → plugin-D6dx276z.js} +1 -1
  30. package/dist/{plugin-Bbt6pP0l.js → plugin-DDUNw6fL.js} +1 -1
  31. package/dist/{plugin-DcWjzc_X.js → plugin-DQ6digu2.js} +1 -1
  32. package/dist/{plugin-DLkeyKDM.js → plugin-Dz7BPW4D.js} +1 -1
  33. package/dist/{plugin-DXSsGfRI.js → plugin-MAzqwXys.js} +1 -1
  34. package/dist/{plugin-U6NcpOUL.js → plugin-WcNmSb_y.js} +1 -1
  35. package/dist/{plugins-_YmkTecN.js → plugins-Dwz7OLJO.js} +17 -15
  36. package/dist/plugins.js +92 -90
  37. package/dist/tamandua.js +1 -1
  38. package/dist/types/components/Button/Button.vue.d.ts +47 -6
  39. package/dist/types/components/ChartTreemap/ChartTreemap.vue.d.ts +12 -3
  40. package/dist/types/components/Drawer/Drawer.vue.d.ts +44 -2
  41. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +12 -3
  42. package/dist/types/components/GraphySubtitle/GraphySubtitle.vue.d.ts +25 -2
  43. package/dist/types/components/GraphyTitle/GraphyTitle.vue.d.ts +12 -3
  44. package/dist/types/components/Icon/Icon.vue.d.ts +30 -3
  45. package/dist/types/components/InputCheckbox/InputCheckbox.vue.d.ts +37 -2
  46. package/dist/types/components/InputColor/InputColor.vue.d.ts +32 -2
  47. package/dist/types/components/InputDate/InputDate.vue.d.ts +16 -3
  48. package/dist/types/components/InputMultiplier/InputMultiplier.vue.d.ts +40 -2
  49. package/dist/types/components/InputRadio/InputRadio.vue.d.ts +12 -3
  50. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +29 -2
  51. package/dist/types/components/InputSwitch/InputSwitch.vue.d.ts +32 -2
  52. package/dist/types/components/InputText/InputText.vue.d.ts +46 -38
  53. package/dist/types/components/InputText/types.d.ts +0 -2
  54. package/dist/types/components/InputTextarea/InputTextarea.vue.d.ts +38 -2
  55. package/dist/types/components/Modal/Modal.vue.d.ts +49 -2
  56. package/dist/types/components/Pagination/Pagination.vue.d.ts +39 -2
  57. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +33 -2
  58. package/dist/types/components/Popover/Popover.vue.d.ts +9 -9
  59. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +37 -2
  60. package/package.json +1 -1
  61. package/dist/FormItem.vue_vue_type_script_setup_true_lang-CjW-P8Xf.js +0 -80
  62. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-BJJQTQzF.js +0 -74
  63. package/dist/InputText.vue_vue_type_script_setup_true_lang-Dyvx9Ob-.js +0 -40
  64. package/dist/Link.vue_vue_type_script_setup_true_lang-C6zadagH.js +0 -50
  65. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +0 -14
@@ -1,80 +0,0 @@
1
- import { defineComponent as k, useSlots as C, inject as S, computed as _, provide as $, resolveComponent as I, openBlock as t, createElementBlock as l, createElementVNode as r, normalizeClass as s, Fragment as d, unref as n, renderSlot as a, createVNode as b, withCtx as v, renderList as B, toDisplayString as F, createCommentVNode as N } from "vue";
2
- const V = { class: "w-full" }, w = {
3
- key: 0,
4
- class: "float-right"
5
- };
6
- let E = 0;
7
- const z = /* @__PURE__ */ k({
8
- name: "TFormItem",
9
- __name: "FormItem",
10
- props: {
11
- label: {},
12
- rules: {},
13
- inline: { type: Boolean, default: !0 }
14
- },
15
- setup(x) {
16
- const c = x, u = `formitem_${++E}`, i = C(), p = [], o = S("formStyle", { label: "", input: "" }), m = _(() => {
17
- if (!i || !i.default)
18
- return !1;
19
- const e = i?.default();
20
- return e ? e[0].type.name === "TInputCheckbox" : !1;
21
- }), y = _(() => m.value === !0);
22
- return $("id", u), (e, T) => {
23
- const f = I("t-graphy-label");
24
- return t(), l("div", V, [
25
- r("div", {
26
- class: s(["flex items-center gap-2 my-3", { "flex-col": !c.inline }])
27
- }, [
28
- y.value ? (t(), l(d, { key: 0 }, [
29
- r("div", {
30
- class: s(["text-right", { [n(o).label]: !0 }])
31
- }, [
32
- a(e.$slots, "default")
33
- ], 2),
34
- b(f, {
35
- text: c.label,
36
- for: u,
37
- class: s([{
38
- [n(o).input]: !0,
39
- "cursor-pointer": m.value
40
- }, "text-left"])
41
- }, {
42
- default: v(() => [
43
- a(e.$slots, "label")
44
- ]),
45
- _: 3
46
- }, 8, ["text", "class"])
47
- ], 64)) : (t(), l(d, { key: 1 }, [
48
- b(f, {
49
- text: c.label,
50
- for: u,
51
- class: s([{
52
- [n(o).label]: !0,
53
- "cursor-pointer": m.value
54
- }, "text-right"])
55
- }, {
56
- default: v(() => [
57
- a(e.$slots, "label")
58
- ]),
59
- _: 3
60
- }, 8, ["text", "class"]),
61
- r("div", {
62
- class: s({ [n(o).input]: !0 })
63
- }, [
64
- a(e.$slots, "default")
65
- ], 2)
66
- ], 64))
67
- ], 2),
68
- p ? (t(), l("div", w, [
69
- (t(), l(d, null, B(p, (h, g) => r("span", {
70
- class: "text-sm text-red-600",
71
- key: g
72
- }, F(h), 1)), 64))
73
- ])) : N("", !0)
74
- ]);
75
- };
76
- }
77
- });
78
- export {
79
- z as _
80
- };
@@ -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,50 +0,0 @@
1
- import { defineComponent as c, computed as p, resolveComponent as a, openBlock as o, createBlock as r, resolveDynamicComponent as f, unref as l, withCtx as m, renderSlot as u, createElementBlock as _, Fragment as y, createTextVNode as k, toDisplayString as b, createCommentVNode as g } from "vue";
2
- import { L as t } from "./ui-BC6H9E93.js";
3
- const B = /* @__PURE__ */ c({
4
- name: "TLink",
5
- __name: "Link",
6
- props: {
7
- to: {},
8
- href: {},
9
- type: { default: t.Default },
10
- label: { default: "" },
11
- target: { default: "_self" },
12
- disabled: { type: Boolean, default: !1 }
13
- },
14
- setup(i, { emit: h }) {
15
- const e = i, s = p(() => {
16
- switch (e.type) {
17
- case t.Router:
18
- return a("RouterLink");
19
- default:
20
- return "a";
21
- }
22
- });
23
- return (n, v) => {
24
- const d = a("t-icon");
25
- return o(), r(f(s.value), {
26
- href: e.type === l(t).Default ? e.href : void 0,
27
- to: e.type === l(t).Router ? e.to : void 0,
28
- disabled: e.disabled,
29
- target: e.target,
30
- class: "color-caipira-primary-inverted underline font-bold inline-flex items-baseline"
31
- }, {
32
- default: m(() => [
33
- n.$slots.default ? u(n.$slots, "default", { key: 0 }) : (o(), _(y, { key: 1 }, [
34
- k(b(e.label), 1)
35
- ], 64)),
36
- e.target === "_blank" ? (o(), r(d, {
37
- key: 2,
38
- size: 15,
39
- class: "ml-1",
40
- icon: "open-in-new"
41
- })) : g("", !0)
42
- ]),
43
- _: 3
44
- }, 8, ["href", "to", "disabled", "target"]);
45
- };
46
- }
47
- });
48
- export {
49
- B as _
50
- };
@@ -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
- };