@caipira/tamandua 0.0.47 → 0.0.49

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 (33) hide show
  1. package/dist/InputCheckbox.js +2 -2
  2. package/dist/{InputCheckbox.vue_vue_type_style_index_0_lang-D5J-rPuH.js → InputCheckbox.vue_vue_type_style_index_0_lang-DnRqQiOj.js} +20 -19
  3. package/dist/InputCryptoCurrency.js +6 -0
  4. package/dist/InputCryptoCurrency.vue_vue_type_script_setup_true_lang-BIUT5eCh.js +757 -0
  5. package/dist/InputPrice.js +2 -2
  6. package/dist/InputPrice.vue_vue_type_script_setup_true_lang-C2wDVwnm.js +80 -0
  7. package/dist/InputSelect.js +2 -2
  8. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-B89uyzj-.js +226 -0
  9. package/dist/components.js +61 -59
  10. package/dist/{plugin-DPCk5fFS.js → plugin-4XhHBTQc.js} +1 -1
  11. package/dist/plugin-Bq4nQPd4.js +10 -0
  12. package/dist/{plugin-cVdTR_s6.js → plugin-C77cnZuW.js} +1 -1
  13. package/dist/{plugin-z8Hr_T_O.js → plugin-CQ-FpZui.js} +1 -1
  14. package/dist/{plugins-DFHv5iXr.js → plugins-CkB_la4g.js} +48 -46
  15. package/dist/plugins.js +59 -57
  16. package/dist/tamandua.js +1 -1
  17. package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.story.d.ts +14 -0
  18. package/dist/types/components/InputCryptoCurrency/InputCryptoCurrency.vue.d.ts +14 -0
  19. package/dist/types/components/InputCryptoCurrency/currencies.d.ts +8 -0
  20. package/dist/types/components/InputCryptoCurrency/index.d.ts +5 -0
  21. package/dist/types/components/InputCryptoCurrency/plugin.d.ts +4 -0
  22. package/dist/types/components/InputCryptoCurrency/types.d.ts +8 -0
  23. package/dist/types/components/InputPrice/InputPrice.story.d.ts +13 -0
  24. package/dist/types/components/InputPrice/InputPrice.vue.d.ts +8 -2
  25. package/dist/types/components/InputPrice/types.d.ts +4 -1
  26. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +157 -53
  27. package/dist/types/components/InputSelect/types.d.ts +0 -1
  28. package/dist/types/components/index.d.ts +2 -1
  29. package/dist/types/components/plugins.d.ts +2 -1
  30. package/package.json +1 -1
  31. package/volar.d.ts +1 -0
  32. package/dist/InputPrice.vue_vue_type_script_setup_true_lang-BX4rsYIr.js +0 -67
  33. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-vCtwK795.js +0 -235
@@ -1,5 +1,5 @@
1
- import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-D5J-rPuH.js";
2
- import { p as t } from "./plugin-DPCk5fFS.js";
1
+ import { _ as e } from "./InputCheckbox.vue_vue_type_style_index_0_lang-DnRqQiOj.js";
2
+ import { p as t } from "./plugin-4XhHBTQc.js";
3
3
  export {
4
4
  e as InputCheckbox,
5
5
  t as InputCheckboxPlugin
@@ -1,8 +1,8 @@
1
1
  import './InputCheckbox.css';
2
- import { defineComponent as u, ref as c, watch as m, openBlock as f, createElementBlock as b, withDirectives as h, createElementVNode as o, mergeProps as v, vModelCheckbox as k, toDisplayString as y } from "vue";
3
- const x = { class: "h-9 inline-flex items-center" }, _ = ["indeterminate", "disabled"];
4
- let B = 0;
5
- const V = /* @__PURE__ */ u({
2
+ import { defineComponent as c, ref as m, watch as b, openBlock as o, createElementBlock as r, withDirectives as f, createElementVNode as h, mergeProps as v, vModelCheckbox as k, toDisplayString as y, createCommentVNode as x } from "vue";
3
+ const _ = { class: "h-9 inline-flex items-center" }, B = ["indeterminate", "disabled"];
4
+ let V = 0;
5
+ const I = /* @__PURE__ */ c({
6
6
  name: "TInputCheckbox",
7
7
  __name: "InputCheckbox",
8
8
  props: {
@@ -13,37 +13,38 @@ const V = /* @__PURE__ */ u({
13
13
  initializeValue: { type: Boolean, default: !1 }
14
14
  },
15
15
  emits: ["update:model-value", "input"],
16
- setup(r, { emit: d }) {
17
- const t = r, i = d, l = `checkbox_${++B}`, a = c(!1), s = () => {
16
+ setup(d, { emit: s }) {
17
+ const t = d, l = s, i = `checkbox_${++V}`, a = m(!1), p = () => {
18
18
  const e = !a.value;
19
- i("update:model-value", e), i("input", e);
19
+ l("update:model-value", e), l("input", e);
20
20
  };
21
- return m(
21
+ return b(
22
22
  () => t.modelValue,
23
23
  (e) => {
24
- t.initializeValue && typeof e > "u" && i("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
- ), (e, n) => (f(), b("div", x, [
28
- h(o("input", v({
29
- "onUpdate:modelValue": n[0] || (n[0] = (p) => a.value = p)
27
+ ), (e, n) => (o(), r("div", _, [
28
+ f(h("input", v({
29
+ "onUpdate:modelValue": n[0] || (n[0] = (u) => a.value = u)
30
30
  }, e.$attrs, {
31
31
  type: "checkbox",
32
32
  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",
33
33
  indeterminate: t.isIndeterminate,
34
- id: l,
34
+ id: i,
35
35
  disabled: e.disabled,
36
- onInput: s
37
- }), null, 16, _), [
36
+ onInput: p
37
+ }), null, 16, B), [
38
38
  [k, a.value]
39
39
  ]),
40
- o("label", {
40
+ t.label ? (o(), r("label", {
41
+ key: 0,
41
42
  class: "cursor-pointer pl-2 mr-3 input-label",
42
- for: l
43
- }, y(t.label), 1)
43
+ for: i
44
+ }, y(t.label), 1)) : x("", !0)
44
45
  ]));
45
46
  }
46
47
  });
47
48
  export {
48
- V as _
49
+ I as _
49
50
  };
@@ -0,0 +1,6 @@
1
+ import { _ as o } from "./InputCryptoCurrency.vue_vue_type_script_setup_true_lang-BIUT5eCh.js";
2
+ import { p as n } from "./plugin-Bq4nQPd4.js";
3
+ export {
4
+ o as InputCryptoCurrency,
5
+ n as InputCryptoCurrencyPlugin
6
+ };