@caipira/tamandua 0.0.17 → 0.0.18

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 (77) hide show
  1. package/dist/Avatar.js +2 -2
  2. package/dist/Avatar.vue_vue_type_script_setup_true_lang-Cjz3Vlw9.js +51 -0
  3. package/dist/Button-BVvZv1Xl.js +6 -0
  4. package/dist/Button.css +1 -1
  5. package/dist/Button.js +2 -2
  6. package/dist/{Button.vue_vue_type_style_index_0_scoped_4208c238_lang-Blwygh_-.js → Button.vue_vue_type_style_index_0_scoped_028abb2a_lang-B8Np_xdG.js} +65 -68
  7. package/dist/ButtonCopy.js +2 -2
  8. package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-CCdkF36R.js → ButtonCopy.vue_vue_type_script_setup_true_lang-B_Jorqip.js} +12 -11
  9. package/dist/Form.js +2 -2
  10. package/dist/{Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js → Form.vue_vue_type_script_setup_true_lang-hFd1xBcd.js} +1 -1
  11. package/dist/GraphyPrice.js +2 -2
  12. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BdCwug4U.js} +1 -1
  13. package/dist/Icon.js +2 -2
  14. package/dist/{Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js → Icon.vue_vue_type_script_setup_true_lang-CNUyv7CY.js} +18 -18
  15. package/dist/InputMultiplier.js +2 -2
  16. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-DUKWtKSy.js +83 -0
  17. package/dist/InputPassword.js +2 -2
  18. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-B-x3dFWK.js → InputPassword.vue_vue_type_script_setup_true_lang-D_xGJ0Ci.js} +1 -1
  19. package/dist/InputSelect.js +2 -2
  20. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js → InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js} +30 -28
  21. package/dist/Link.js +2 -2
  22. package/dist/{Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js → Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js} +1 -1
  23. package/dist/Popconfirm.js +2 -2
  24. package/dist/{Popconfirm.vue_vue_type_script_setup_true_lang-CGs37-Nn.js → Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js} +1 -1
  25. package/dist/Popover.js +2 -2
  26. package/dist/{Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js → Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js} +1 -1
  27. package/dist/{Table-grkQ9tby.js → Table-CYnCf_CG.js} +12 -11
  28. package/dist/Table.css +1 -1
  29. package/dist/Table.js +2 -2
  30. package/dist/Tag.js +2 -2
  31. package/dist/{Tag.vue_vue_type_script_setup_true_lang-BohgPbhp.js → Tag.vue_vue_type_script_setup_true_lang-D-yGH5I5.js} +28 -26
  32. package/dist/Toast.js +2 -2
  33. package/dist/{Toast.vue_vue_type_script_setup_true_lang-a5tU5-sA.js → Toast.vue_vue_type_script_setup_true_lang-Dezwl4qF.js} +1 -1
  34. package/dist/components.js +65 -67
  35. package/dist/enums.js +1 -1
  36. package/dist/{plugin-BCt5Fd1Y.js → plugin-BOTI2tkp.js} +1 -1
  37. package/dist/{plugin-DyiLV5Qf.js → plugin-BOXtmhcZ.js} +1 -1
  38. package/dist/{plugin-BAUSOmg1.js → plugin-Bp0MadmC.js} +1 -1
  39. package/dist/{plugin-BkWUeqrs.js → plugin-BriPeDzu.js} +1 -1
  40. package/dist/{plugin-CX1WsfRO.js → plugin-Bt6de9ZA.js} +1 -1
  41. package/dist/{plugin-PahpuGjl.js → plugin-CXsVFJPx.js} +1 -1
  42. package/dist/{plugin-DXEt6BIK.js → plugin-Cg_Ls0OX.js} +1 -1
  43. package/dist/{plugin-CQQde2zY.js → plugin-CxYhyNRA.js} +1 -1
  44. package/dist/{plugin-CHQRlAGJ.js → plugin-D2cyoBNg.js} +1 -1
  45. package/dist/{plugin-2nTovNcx.js → plugin-DBSBNsHg.js} +1 -1
  46. package/dist/{plugin-DmfiHplR.js → plugin-DK-_BDxt.js} +1 -1
  47. package/dist/{plugin-D9DcbHK3.js → plugin-Dn96hI0e.js} +1 -1
  48. package/dist/{plugin-JgFOdNjC.js → plugin-Dp-F27SY.js} +1 -1
  49. package/dist/{plugin-1JFePZNV.js → plugin-GzMD7Mhm.js} +1 -1
  50. package/dist/{plugin-C8V0p_Rv.js → plugin-dL6oP11N.js} +1 -1
  51. package/dist/plugins-DGJaL8lf.js +109 -0
  52. package/dist/plugins.js +91 -94
  53. package/dist/tamandua.js +1 -1
  54. package/dist/types/components/Avatar/Avatar.story.d.ts +1 -1
  55. package/dist/types/components/Avatar/Avatar.vue.d.ts +2 -2
  56. package/dist/types/components/Button/Button.story.d.ts +1 -1
  57. package/dist/types/components/Button/Button.vue.d.ts +7 -5
  58. package/dist/types/components/Button/types.d.ts +4 -1
  59. package/dist/types/components/Icon/Icon.story.d.ts +1 -1
  60. package/dist/types/components/index.d.ts +2 -3
  61. package/dist/types/components/plugins.d.ts +1 -2
  62. package/dist/types/enums/ui.d.ts +10 -8
  63. package/dist/ui-BC6H9E93.js +13 -0
  64. package/package.json +1 -1
  65. package/volar.d.ts +0 -1
  66. package/dist/Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js +0 -51
  67. package/dist/Button-42CN8gSf.js +0 -6
  68. package/dist/IconButton.js +0 -6
  69. package/dist/IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js +0 -91
  70. package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +0 -83
  71. package/dist/plugin-BJT9iz31.js +0 -10
  72. package/dist/plugins-DVzcsSnU.js +0 -112
  73. package/dist/types/components/IconButton/IconButton.vue.d.ts +0 -55
  74. package/dist/types/components/IconButton/index.d.ts +0 -5
  75. package/dist/types/components/IconButton/plugin.d.ts +0 -4
  76. package/dist/types/components/IconButton/types.d.ts +0 -17
  77. package/dist/ui-D3dPdT4S.js +0 -13
@@ -1,51 +0,0 @@
1
- import { defineComponent as f, getCurrentInstance as _, computed as h, resolveComponent as y, openBlock as i, createElementBlock as n, normalizeClass as A, unref as t, createBlock as v, toDisplayString as E, createCommentVNode as S } from "vue";
2
- import { u as z } from "./useDomHelpers-5CFMo6bx.js";
3
- import { a as o, b as l } from "./ui-D3dPdT4S.js";
4
- const C = ["role"], b = ["src"], L = { key: 2 }, x = /* @__PURE__ */ f({
5
- name: "TAvatar",
6
- __name: "Avatar",
7
- props: {
8
- icon: {},
9
- text: { default: "" },
10
- role: { default: "" },
11
- size: { default: o.DEFAULT },
12
- image: { default: "" },
13
- shape: { default: l.CIRCLE },
14
- disableStyle: { type: Boolean, default: !1 }
15
- },
16
- setup(c) {
17
- const e = c, s = _(), { isPopoverActivator: r, onPopoverActivatorClick: p } = z(), u = h(() => e.role !== "" ? e.role : s && r(s) ? "button" : ""), d = (a) => {
18
- s && r(s) && p(a, s);
19
- };
20
- return (a, k) => {
21
- const m = y("t-icon");
22
- return i(), n("div", {
23
- role: u.value,
24
- class: A([{
25
- "h-5 w-5": !e.disableStyle && e.size === t(o).EXTRA_SMALL,
26
- "h-7 w-7": !e.disableStyle && e.size === t(o).SMALL,
27
- "h-10 w-10": !e.disableStyle && e.size === t(o).DEFAULT,
28
- "h-20 w-20": !e.disableStyle && e.size === t(o).LARGE,
29
- "h-40 w-40": !e.disableStyle && e.size === t(o).EXTRA_LARGE,
30
- "rounded-full": e.shape === t(l).CIRCLE,
31
- rounded: e.shape === t(l).SQUARE
32
- }, "overflow-hidden inline-flex items-center justify-center bg-caipira-primary-inverted"]),
33
- onClick: d
34
- }, [
35
- e.image ? (i(), n("img", {
36
- key: 0,
37
- class: "w-full h-full object-cover",
38
- src: e.image
39
- }, null, 8, b)) : e.icon ? (i(), v(m, {
40
- key: 1,
41
- class: "color-caipira-primary",
42
- icon: e.icon,
43
- size: e.size
44
- }, null, 8, ["icon", "size"])) : e.text ? (i(), n("span", L, E(e.text), 1)) : S("", !0)
45
- ], 10, C);
46
- };
47
- }
48
- });
49
- export {
50
- x as _
51
- };
@@ -1,6 +0,0 @@
1
- import { _ as o } from "./Button.vue_vue_type_style_index_0_scoped_4208c238_lang-Blwygh_-.js";
2
- import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
- const a = /* @__PURE__ */ t(o, [["__scopeId", "data-v-4208c238"]]);
4
- export {
5
- a as B
6
- };
@@ -1,6 +0,0 @@
1
- import { _ as n } from "./IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js";
2
- import { p } from "./plugin-BJT9iz31.js";
3
- export {
4
- n as IconButton,
5
- p as IconButtonPlugin
6
- };
@@ -1,91 +0,0 @@
1
- import { defineComponent as D, getCurrentInstance as B, ref as g, computed as l, resolveComponent as k, openBlock as r, createBlock as E, resolveDynamicComponent as T, normalizeClass as N, unref as u, withCtx as U, createVNode as L, createElementBlock as z, createCommentVNode as w } from "vue";
2
- import { c as t, a as R, b as s } from "./ui-D3dPdT4S.js";
3
- import { u as S } from "./useDomHelpers-5CFMo6bx.js";
4
- const x = ["multiple"], K = /* @__PURE__ */ D({
5
- name: "TIconButton",
6
- __name: "IconButton",
7
- props: {
8
- to: {},
9
- icon: {},
10
- href: { default: "" },
11
- type: { default: t.BUTTON },
12
- size: { default: R.DEFAULT },
13
- label: { default: "" },
14
- shape: { default: s.ROUNDED },
15
- target: { default: void 0 },
16
- multiple: { type: Boolean, default: !1 },
17
- isDisabled: { type: Boolean, default: !1 }
18
- },
19
- emits: ["upload"],
20
- setup(c, { emit: p }) {
21
- const e = c, f = p, a = B(), i = g(), { isPopoverActivator: d, onPopoverActivatorClick: m } = S(), h = l(() => e.href ? e.href : void 0), v = l(() => {
22
- switch (e.type) {
23
- case t.LINK:
24
- return;
25
- case t.FILE:
26
- return "button";
27
- default:
28
- return e.type;
29
- }
30
- }), y = l(() => e.type === t.SUBMIT ? e.label : void 0), _ = l(() => {
31
- switch (e.type) {
32
- case t.SUBMIT:
33
- return "input";
34
- case t.LINK:
35
- return "a";
36
- case t.ROUTER_LINK:
37
- return "router-link";
38
- default:
39
- return "button";
40
- }
41
- }), I = (n) => {
42
- a && d(a) && m(n, a), e.type === t.SUBMIT && n.preventDefault(), e.type === t.FILE && i.value?.click();
43
- }, b = (n) => {
44
- n.stopPropagation();
45
- const o = n.target.files;
46
- !o || !o.length || f("upload", o);
47
- };
48
- return (n, C) => {
49
- const o = k("t-icon");
50
- return r(), E(T(_.value), {
51
- type: v.value,
52
- href: h.value,
53
- value: y.value,
54
- to: e.to,
55
- disabled: e.isDisabled,
56
- target: e.target,
57
- class: N([{
58
- "opacity-50": e.isDisabled,
59
- // Shape
60
- "rounded-full": e.shape === u(s).CIRCLE,
61
- "input-roundness": e.shape === u(s).ROUNDED,
62
- // Cursor
63
- "cursor-pointer": !e.isDisabled,
64
- "cursor-not-allowed": e.isDisabled
65
- }, "input-outline flex items-center"]),
66
- role: "button",
67
- onClick: I
68
- }, {
69
- default: U(() => [
70
- L(o, {
71
- size: e.size,
72
- icon: e.icon
73
- }, null, 8, ["size", "icon"]),
74
- e.type === "file" ? (r(), z("input", {
75
- key: 0,
76
- multiple: e.multiple,
77
- onChange: b,
78
- type: "file",
79
- ref_key: "fileInput",
80
- ref: i,
81
- class: "hidden"
82
- }, null, 40, x)) : w("", !0)
83
- ]),
84
- _: 1
85
- }, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
86
- };
87
- }
88
- });
89
- export {
90
- K as _
91
- };
@@ -1,83 +0,0 @@
1
- import { defineComponent as I, ref as $, inject as N, watch as r, resolveComponent as a, openBlock as n, createElementBlock as s, createElementVNode as c, createBlock as m, createCommentVNode as z, createVNode as i, Fragment as B, renderList as P, normalizeClass as j, unref as E, resolveDynamicComponent as M, mergeProps as S, toHandlers as U } from "vue";
2
- const A = { class: "inline-flex w-full items-center my-3" }, D = ["label"], H = /* @__PURE__ */ I({
3
- name: "TInputMultiplier",
4
- __name: "InputMultiplier",
5
- props: {
6
- component: {},
7
- inputProps: { default: () => ({}) },
8
- label: { default: "" },
9
- listeners: { default: () => ({}) },
10
- modelValue: {}
11
- },
12
- emits: ["update:model-value"],
13
- setup(p, { emit: d }) {
14
- const l = p, _ = d, t = $([]), b = N("formStyle", { label: "", input: "" }), f = () => {
15
- t.value.push({});
16
- }, v = (e) => {
17
- t.value = e;
18
- }, y = (e) => {
19
- t.value.splice(e, 1);
20
- }, V = (e, u) => {
21
- switch (l.type) {
22
- case "social":
23
- return `${e.network}-${e.profile}`;
24
- default:
25
- return u;
26
- }
27
- };
28
- return r(
29
- t,
30
- (e) => {
31
- _("update:model-value", e);
32
- },
33
- { deep: !0 }
34
- ), r(
35
- () => l.modelValue,
36
- (e) => {
37
- v(e ?? []);
38
- },
39
- { immediate: !0 }
40
- ), (e, u) => {
41
- const h = a("t-graphy-label"), k = a("t-button"), C = a("t-icon-button");
42
- return n(), s("div", null, [
43
- c("div", A, [
44
- e.label ? (n(), m(h, {
45
- key: 0,
46
- text: e.label,
47
- class: "text-right"
48
- }, null, 8, ["text"])) : z("", !0),
49
- i(k, {
50
- label: `Add ${e.label}`,
51
- variant: "primary",
52
- "is-outline": !0,
53
- icon: "plus",
54
- size: "sm",
55
- onClick: f
56
- }, null, 8, ["label"])
57
- ]),
58
- (n(!0), s(B, null, P(t.value, (g, o) => (n(), s("div", {
59
- key: V(g, o),
60
- label: `${e.label} ${o + 1}`,
61
- class: "flex items-center justify-start mt-1 ml-2"
62
- }, [
63
- c("div", {
64
- class: j({ [E(b).label]: !0 })
65
- }, null, 2),
66
- (n(), m(M(l.component), S({
67
- modelValue: t.value[o],
68
- "onUpdate:modelValue": (w) => t.value[o] = w
69
- }, l.inputProps, U(l.listeners), { class: "my-1" }), null, 16, ["modelValue", "onUpdate:modelValue"])),
70
- i(C, {
71
- icon: "close",
72
- size: "sm",
73
- class: "ml-2",
74
- onClick: () => y(o)
75
- }, null, 8, ["onClick"])
76
- ], 8, D))), 128))
77
- ]);
78
- };
79
- }
80
- });
81
- export {
82
- H as _
83
- };
@@ -1,10 +0,0 @@
1
- import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js";
3
- const m = {
4
- install(o) {
5
- r(o, s);
6
- }
7
- };
8
- export {
9
- m as p
10
- };
@@ -1,112 +0,0 @@
1
- import "./Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js";
2
- import { p } from "./plugin-DyiLV5Qf.js";
3
- import "vue";
4
- import { p as i } from "./plugin-C-iGigb_.js";
5
- import "./Button.vue_vue_type_style_index_0_scoped_4208c238_lang-Blwygh_-.js";
6
- import { p as o } from "./plugin-CHQRlAGJ.js";
7
- import { p as r } from "./plugin-1JFePZNV.js";
8
- import "./transform-DSaNEFMr.js";
9
- import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
10
- import { p as n } from "./plugin-DDXOF4cU.js";
11
- import { p as m } from "./plugin-BibUAa04.js";
12
- import "./Drawer-omdZnBPG.js";
13
- import { p as u } from "./plugin-DRcJuXpS.js";
14
- import { p as t } from "./plugin-D3RtcfcX.js";
15
- import { p as l } from "./plugin-3VDgn3kO.js";
16
- import "./Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js";
17
- import { p as g } from "./plugin-BAUSOmg1.js";
18
- import { p as a } from "./plugin-BYkYqIjb.js";
19
- import { p as s } from "./plugin-Buc7eEox.js";
20
- import { p as P } from "./plugin-CHyrn6sC.js";
21
- import "./GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js";
22
- import { p as f } from "./plugin-CQQde2zY.js";
23
- import { p as $ } from "./plugin-DN54VuID.js";
24
- import { p as e } from "./plugin-DOeDaXWj.js";
25
- import "./Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js";
26
- import { p as I } from "./plugin-BkWUeqrs.js";
27
- import "./IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js";
28
- import { p as c } from "./plugin-BJT9iz31.js";
29
- import { p as h } from "./plugin--F5QK2vy.js";
30
- import { p as y } from "./plugin-DaibhM02.js";
31
- import { p as b } from "./plugin-DppW8rQi.js";
32
- import { p as d } from "./plugin-DkDbha5K.js";
33
- import { p as T } from "./plugin-2nTovNcx.js";
34
- import { p as C } from "./plugin-PahpuGjl.js";
35
- import { p as v } from "./plugin-CGg5IOSy.js";
36
- import { p as G } from "./plugin-C3tFXHbZ.js";
37
- import { p as S } from "./plugin-BrwUi1gG.js";
38
- import "./InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js";
39
- import { p as w } from "./plugin-DmfiHplR.js";
40
- import { p as x } from "./plugin-DT7LVAli.js";
41
- import { p as B } from "./plugin-CwJMh4ht.js";
42
- import { p as D } from "./plugin-CqcxTgW6.js";
43
- import "./Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js";
44
- import { p as F } from "./plugin-C8V0p_Rv.js";
45
- import { p as k } from "./plugin-BZC231Oj.js";
46
- import { p as L } from "./plugin-CCH1Q2cN.js";
47
- import { p as M } from "./plugin-YUomn9tF.js";
48
- import "./Popconfirm.vue_vue_type_script_setup_true_lang-CGs37-Nn.js";
49
- import { p as _ } from "./plugin-CX1WsfRO.js";
50
- import "./Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js";
51
- import { p as j } from "./plugin-JgFOdNjC.js";
52
- import "./ProgressCircle-BY2eeyGY.js";
53
- import { p as A } from "./plugin-DXSsGfRI.js";
54
- import "./ProgressLine-1ZHGvPsm.js";
55
- import { p as z } from "./plugin-BRY5cGCc.js";
56
- import { p as E } from "./plugin-cvHKUGjm.js";
57
- import { p as O } from "./plugin-5vn4G57V.js";
58
- import "./Table-grkQ9tby.js";
59
- import { p as q } from "./plugin-BCt5Fd1Y.js";
60
- import "./Tag.vue_vue_type_script_setup_true_lang-BohgPbhp.js";
61
- import { p as H } from "./plugin-DXEt6BIK.js";
62
- import { p as R } from "./plugin-D9DcbHK3.js";
63
- const Yp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
64
- __proto__: null,
65
- AvatarPlugin: p,
66
- BackdropPlugin: i,
67
- ButtonCopyPlugin: r,
68
- ButtonPlugin: o,
69
- ChartLinePlugin: n,
70
- ChartTreemapPlugin: m,
71
- DrawerPlugin: u,
72
- DropdownPlugin: t,
73
- FileDropPlugin: l,
74
- FormItemPlugin: a,
75
- FormPlugin: g,
76
- GraphyEmptyPlugin: s,
77
- GraphyLabelPlugin: P,
78
- GraphyPricePlugin: f,
79
- GraphySubtitlePlugin: $,
80
- GraphyTitlePlugin: e,
81
- IconButtonPlugin: c,
82
- IconPlugin: I,
83
- InputAvatarPlugin: h,
84
- InputCheckboxPlugin: y,
85
- InputColorPlugin: b,
86
- InputDatePlugin: d,
87
- InputMultiplierPlugin: T,
88
- InputPasswordPlugin: C,
89
- InputPhonePlugin: v,
90
- InputPricePlugin: G,
91
- InputRadioPlugin: S,
92
- InputSelectPlugin: w,
93
- InputSwitchPlugin: x,
94
- InputTextPlugin: B,
95
- InputTextareaPlugin: D,
96
- LinkPlugin: F,
97
- ModalFormPlugin: L,
98
- ModalPlugin: k,
99
- PaginationPlugin: M,
100
- PopconfirmPlugin: _,
101
- PopoverPlugin: j,
102
- ProgressCirclePlugin: A,
103
- ProgressLinePlugin: z,
104
- SensitiveInfoPlugin: E,
105
- TabPlugin: O,
106
- TablePlugin: q,
107
- TagPlugin: H,
108
- ToastPlugin: R
109
- }, Symbol.toStringTag, { value: "Module" }));
110
- export {
111
- Yp as p
112
- };
@@ -1,55 +0,0 @@
1
- import { ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
- import { IconButtonProps } from './types.js';
3
-
4
- declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
5
- href: string;
6
- type: ButtonType;
7
- size: ElementSize;
8
- label: string;
9
- shape: ElementShape;
10
- target: undefined;
11
- multiple: boolean;
12
- isOutline: boolean;
13
- isDisabled: boolean;
14
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- upload: (val: FileList) => void;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
17
- href: string;
18
- type: ButtonType;
19
- size: ElementSize;
20
- label: string;
21
- shape: ElementShape;
22
- target: undefined;
23
- multiple: boolean;
24
- isOutline: boolean;
25
- isDisabled: boolean;
26
- }>>> & {
27
- onUpload?: ((val: FileList) => any) | undefined;
28
- }, {
29
- size: "" | "xs" | "sm" | "lg" | "xl";
30
- shape: "square" | "rounded" | "circle";
31
- type: "button" | "submit" | "file";
32
- label: string;
33
- multiple: boolean;
34
- href: string;
35
- isDisabled: boolean;
36
- target: string;
37
- }, {}>;
38
- export default _default;
39
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
40
- type __VLS_TypePropsToRuntimeProps<T> = {
41
- [K in keyof T]-?: {} extends Pick<T, K> ? {
42
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
43
- } : {
44
- type: import('vue').PropType<T[K]>;
45
- required: true;
46
- };
47
- };
48
- type __VLS_WithDefaults<P, D> = {
49
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
50
- default: D[K];
51
- }> : P[K];
52
- };
53
- type __VLS_Prettify<T> = {
54
- [K in keyof T]: T[K];
55
- } & {};
@@ -1,5 +0,0 @@
1
- import { default as IconButtonPlugin } from './plugin.js';
2
- import { default as IconButton } from './IconButton.vue';
3
-
4
- export { IconButton, IconButtonPlugin };
5
- export type { IconButtonProps, IconButtonEvents } from './types.js';
@@ -1,4 +0,0 @@
1
- import { Plugin } from 'vue';
2
-
3
- declare const _default: Plugin;
4
- export default _default;
@@ -1,17 +0,0 @@
1
- import { Icon, ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
-
3
- export type IconButtonProps = {
4
- to?: any;
5
- icon: `${Icon}`;
6
- href?: string;
7
- type?: `${ButtonType}`;
8
- size?: `${ElementSize}`;
9
- label?: string;
10
- shape?: `${ElementShape}`;
11
- target?: string;
12
- multiple?: boolean;
13
- isDisabled?: boolean;
14
- };
15
- export type IconButtonEvents = {
16
- (e: "upload", val: FileList): void;
17
- };
@@ -1,13 +0,0 @@
1
- var r = /* @__PURE__ */ ((e) => (e.EXTRA_SMALL = "xs", e.SMALL = "sm", e.DEFAULT = "", e.LARGE = "lg", e.EXTRA_LARGE = "xl", e))(r || {}), l = /* @__PURE__ */ ((e) => (e.SQUARE = "square", e.ROUNDED = "rounded", e.CIRCLE = "circle", e))(l || {}), u = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e))(u || {}), a = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e))(a || {}), t = /* @__PURE__ */ ((e) => (e.CLICK = "click", e.HOVER = "hover", e))(t || {}), i = /* @__PURE__ */ ((e) => (e.TOP_START = "top-start", e.TOP = "top", e.TOP_END = "top-end", e.RIGHT_START = "right-start", e.RIGHT = "right", e.RIGHT_END = "right-end", e.BOTTOM_END = "bottom-end", e.BOTTOM = "bottom", e.BOTTOM_START = "bottom-start", e.LEFT_END = "left-end", e.LEFT = "left", e.LEFT_START = "left-start", e))(i || {}), s = /* @__PURE__ */ ((e) => (e.BUTTON = "button", e.SUBMIT = "submit", e.FILE = "file", e))(s || {}), C = /* @__PURE__ */ ((e) => (e.Default = "default", e.Router = "router", e))(C || {}), h = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(h || {}), g = /* @__PURE__ */ ((e) => (e.Account = "account", e.AlertOctagon = "alert-octagon", e.AlertOctagonOutline = "alert-octagon-outline", e.Archive = "archive", e.ArchiveOutline = "archive-outline", e.ArrowLeft = "arrow-left", e.ArrowRight = "arrow-right", e.Bank = "bank", e.BankOutline = "bank-outline", e.Camera = "camera", e.CardsOutline = "cards-outline", e.CardsVariant = "cards-variant", e.CartOutline = "cart-outline", e.ChartBox = "chart-box", e.ChartBoxOutline = "chart-box-outline", e.Check = "check", e.CheckCircle = "check-circle", e.CheckCircleOutline = "check-circle-outline", e.ChevronDown = "chevron-down", e.ChevronLeft = "chevron-left", e.ChevronRight = "chevron-right", e.ChevronUp = "chevron-up", e.Circle = "circle", e.Clock = "clock", e.Close = "close", e.CloseCircle = "close-circle", e.CloseCircleOutline = "close-circle-outline", e.Cog = "cog", e.ColorFill = "color-fill", e.Copy = "copy", e.CreditCard = "credit-card", e.CreditCardPlus = "credit-card-plus", e.Currency = "currency", e.Database = "database", e.DotsGrid = "dots-grid", e.DotsVertical = "dots-vertical", e.EmailOpenOutline = "email-open-outline", e.EmailOutline = "email-outline", e.Eye = "eye", e.EyeOff = "eye-off", e.FIleDocumentPlusOutline = "file-document-plus-outline", e.Filmstrip = "filmstrip", e.Filter = "filter", e.Fullscreen = "fullscreen", e.FullscreenExit = "fullscreen-exit", e.Group = "group", e.Image = "image", e.ImageAlbum = "image-album", e.ImageAlbumOutline = "image-album-outline", e.ImageOutline = "image-outline", e.InfoOutline = "info-outline", e.Key = "key", e.KeyChain = "key-chain", e.KeyVariant = "key-variant", e.ListboxOutline = "listbox-outline", e.Loading = "loading", e.Lock = "lock", e.LockOutline = "lock-outline", e.Logout = "logout", e.Menu = "menu", e.MenuDown = "menu-down", e.MenuLeft = "menu-left", e.MenuRight = "menu-right", e.Minus = "minus", e.MinusCircle = "minus-circle", e.MinusCircleOutline = "minus-circle-outline", e.Moon = "moon", e.OpenInNew = "open-in-new", e.Pencil = "pencil", e.People = "people", e.PiggyBankOutline = "piggy-bank-outline", e.Plus = "plus", e.PlusCircle = "plus-circle", e.PlusCircleOutline = "plus-circle-outline", e.QrcodeScan = "qrcode-scan", e.Refresh = "refresh", e.Save = "save", e.Search = "search", e.Spotlight = "spotlight", e.StoreOutline = "store-outline", e.Sun = "sun", e.Swap = "swap", e.SwapHorizontal = "swap-horizontal", e.SwapLeft = "swap-left", e.SwapRight = "swap-right", e.SystemTheme = "system-theme", e.TagOutline = "tag-outline", e.TrashCan = "trash-can", e.TrashCanOutline = "trash-can-outline", e.Upload = "upload", e.UserCircle = "user-circle", e.ZipBox = "zip-box", e))(g || {});
2
- export {
3
- u as B,
4
- i as E,
5
- h as G,
6
- g as I,
7
- C as L,
8
- a as T,
9
- r as a,
10
- l as b,
11
- s as c,
12
- t as d
13
- };