@caipira/tamandua 0.0.13 → 0.0.15
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/README.md +3 -1
- package/dist/Avatar.js +2 -2
- package/dist/{Avatar.vue_vue_type_script_setup_true_lang-DshMIzMM.js → Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js} +1 -1
- package/dist/{Button-BVshp51o.js → Button-zA2axPFA.js} +3 -3
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- package/dist/Button.vue_vue_type_style_index_0_scoped_39c3f26a_lang-tn6M5dNB.js +156 -0
- package/dist/ButtonCopy.js +2 -2
- package/dist/{ButtonCopy.vue_vue_type_script_setup_true_lang-CZsqPE-4.js → ButtonCopy.vue_vue_type_script_setup_true_lang-hBqHMiGU.js} +1 -1
- package/dist/ChartTreemap.js +2 -2
- package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-BSKB-UTM.js → ChartTreemap.vue_vue_type_script_setup_true_lang-CG5aK3KH.js} +1 -1
- package/dist/Dropdown.js +2 -2
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +153 -0
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js → Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js} +10 -10
- package/dist/GraphyPrice.js +2 -2
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js → GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js} +1 -1
- package/dist/Icon.js +2 -2
- package/dist/{Icon.vue_vue_type_script_setup_true_lang-DiRGfOxc.js → Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js} +26 -23
- package/dist/IconButton.js +2 -2
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js +91 -0
- package/dist/InputPassword.js +2 -2
- package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js → InputPassword.vue_vue_type_script_setup_true_lang-DvHndXqE.js} +1 -1
- package/dist/InputSelect.js +2 -2
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js +227 -0
- package/dist/Link.js +6 -0
- package/dist/Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js +50 -0
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js → ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js} +2 -2
- package/dist/Popconfirm.js +2 -2
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-CGs37-Nn.js +63 -0
- package/dist/Popover.js +2 -2
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-Dhcy-iL3.js → Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js} +319 -321
- package/dist/{ProgressLine-CfZKbUcx.js → ProgressLine-1ZHGvPsm.js} +16 -16
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/Tag.js +2 -2
- package/dist/Tag.vue_vue_type_script_setup_true_lang-BohgPbhp.js +70 -0
- package/dist/Toast.js +2 -2
- package/dist/{Toast.vue_vue_type_script_setup_true_lang-BAsJNxU_.js → Toast.vue_vue_type_script_setup_true_lang-a5tU5-sA.js} +1 -1
- package/dist/alert-octagon-BIUtdQBd.js +5 -0
- package/dist/close-circle-Bvyw4JKW.js +5 -0
- package/dist/components.js +41 -39
- package/dist/enums.js +7 -6
- package/dist/{plugin-DLUdf4JV.js → plugin-BAUSOmg1.js} +1 -1
- package/dist/{plugin-Cp-YlP7M.js → plugin-BJT9iz31.js} +1 -1
- package/dist/{plugin-DYnmuOWz.js → plugin-BRY5cGCc.js} +1 -1
- package/dist/{plugin-Bj5VaUuH.js → plugin-BibUAa04.js} +1 -1
- package/dist/{plugin-7M6YmkX3.js → plugin-BkWUeqrs.js} +1 -1
- package/dist/plugin-C8V0p_Rv.js +10 -0
- package/dist/{plugin-CIK2QwfI.js → plugin-CCH1Q2cN.js} +1 -1
- package/dist/{plugin-BLdCHEGS.js → plugin-CQQde2zY.js} +1 -1
- package/dist/{plugin-D9vhvf_z.js → plugin-CX1WsfRO.js} +1 -1
- package/dist/{plugin-DAoreRkB.js → plugin-CqcekUXz.js} +1 -1
- package/dist/{plugin-A7Ru6-Ae.js → plugin-D3RtcfcX.js} +1 -1
- package/dist/{plugin-Ce0OhiOa.js → plugin-D9DcbHK3.js} +1 -1
- package/dist/{plugin-DGx9kLvd.js → plugin-DXEt6BIK.js} +1 -1
- package/dist/{plugin-CNoSZVuJ.js → plugin-DmfiHplR.js} +1 -1
- package/dist/{plugin-BURDNZOq.js → plugin-Duvcbc38.js} +1 -1
- package/dist/{plugin-AFgt8nH4.js → plugin-DyiLV5Qf.js} +1 -1
- package/dist/{plugin-c1rFpmlH.js → plugin-JgFOdNjC.js} +1 -1
- package/dist/{plugin-DmkLbCIU.js → plugin-zLwlm_b-.js} +1 -1
- package/dist/plugins-DZGnWkJf.js +112 -0
- package/dist/plugins.js +100 -97
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Avatar/Avatar.story.d.ts +18 -5
- package/dist/types/components/Button/Button.story.d.ts +15 -44
- package/dist/types/components/Button/Button.vue.d.ts +5 -5
- package/dist/types/components/Button/types.d.ts +2 -2
- package/dist/types/components/ChartLine/ChartLine.story.d.ts +18 -12
- package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +16 -2
- package/dist/types/components/ChartTreemap/types.d.ts +8 -2
- package/dist/types/components/Dropdown/types.d.ts +1 -1
- package/dist/types/components/Form/Form.vue.d.ts +4 -4
- package/dist/types/components/Form/types.d.ts +2 -2
- package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +24 -2
- package/dist/types/components/Icon/Icon.story.d.ts +26 -0
- package/dist/types/components/Icon/types.d.ts +1 -1
- package/dist/types/components/IconButton/IconButton.vue.d.ts +5 -45
- package/dist/types/components/IconButton/types.d.ts +1 -7
- package/dist/types/components/InputDate/InputDate.story.d.ts +9 -2
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +8 -3
- package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +6 -2
- package/dist/types/components/InputSelect/InputSelect.story.d.ts +37 -4
- package/dist/types/components/InputSelect/InputSelect.vue.d.ts +1 -1
- package/dist/types/components/InputSelect/types.d.ts +0 -1
- package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +10 -18
- package/dist/types/components/Link/Link.story.d.ts +20 -0
- package/dist/types/components/Link/Link.vue.d.ts +46 -0
- package/dist/types/components/Link/index.d.ts +5 -0
- package/dist/types/components/Link/plugin.d.ts +4 -0
- package/dist/types/components/Link/types.d.ts +11 -0
- package/dist/types/components/Pagination/Pagination.story.d.ts +6 -1
- package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -3
- package/dist/types/components/Popconfirm/types.d.ts +1 -1
- package/dist/types/components/Popover/Popover.vue.d.ts +0 -3
- package/dist/types/components/Popover/types.d.ts +0 -1
- package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +13 -3
- package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +12 -3
- package/dist/types/components/Table/Table.story.d.ts +16 -3
- package/dist/types/components/Tag/Tag.story.d.ts +29 -0
- package/dist/types/components/index.d.ts +3 -2
- package/dist/types/components/plugins.d.ts +2 -1
- package/dist/types/enums/index.d.ts +2 -2
- package/dist/types/enums/ui.d.ts +13 -4
- package/dist/types/i18n.d.ts +6 -0
- package/dist/types/types/form.d.ts +1 -1
- package/dist/types/types/ui.d.ts +2 -2
- package/dist/ui-D3dPdT4S.js +13 -0
- package/package.json +1 -2
- package/volar.d.ts +1 -0
- package/dist/Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js +0 -143
- package/dist/Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js +0 -135
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js +0 -106
- package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js +0 -216
- package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js +0 -65
- package/dist/Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js +0 -63
- package/dist/alert-octagon-D8wznooU.js +0 -4
- package/dist/close-circle-Bsf9_pUR.js +0 -4
- package/dist/plugins-DNNQp3qM.js +0 -109
- package/dist/ui-DtSy-y9T.js +0 -11
package/README.md
CHANGED
|
@@ -20,4 +20,6 @@ npx vite-bundle-visualizer
|
|
|
20
20
|
|
|
21
21
|
## Reference
|
|
22
22
|
|
|
23
|
-
[Storybook](https://storybook.js.org/docs/get-started/vue3-vite)
|
|
23
|
+
[Storybook](https://storybook.js.org/docs/get-started/vue3-vite)
|
|
24
|
+
[TailwindCSS](https://tailwindcss.com/)
|
|
25
|
+
[FakerJS](https://next.fakerjs.dev/api)
|
package/dist/Avatar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as o } from "./Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js";
|
|
2
|
+
import { p } from "./plugin-DyiLV5Qf.js";
|
|
3
3
|
export {
|
|
4
4
|
o as Avatar,
|
|
5
5
|
p as AvatarPlugin
|
|
@@ -1,6 +1,6 @@
|
|
|
1
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
2
|
import { u as z } from "./useDomHelpers-5CFMo6bx.js";
|
|
3
|
-
import {
|
|
3
|
+
import { a as o, b as l } from "./ui-D3dPdT4S.js";
|
|
4
4
|
const C = ["role"], b = ["src"], L = { key: 2 }, x = /* @__PURE__ */ f({
|
|
5
5
|
name: "TAvatar",
|
|
6
6
|
__name: "Avatar",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { _ as o } from "./Button.
|
|
1
|
+
import { _ as o } from "./Button.vue_vue_type_style_index_0_scoped_39c3f26a_lang-tn6M5dNB.js";
|
|
2
2
|
import { _ as t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
3
|
-
const
|
|
3
|
+
const s = /* @__PURE__ */ t(o, [["__scopeId", "data-v-39c3f26a"]]);
|
|
4
4
|
export {
|
|
5
|
-
|
|
5
|
+
s as B
|
|
6
6
|
};
|
package/dist/Button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.transparent-button[data-v-
|
|
1
|
+
.transparent-button[data-v-39c3f26a]:hover{background-color:rgb(from var(--caipira-primary) r g b / 45%)}
|
package/dist/Button.js
CHANGED
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import './Button.css';
|
|
2
|
+
import { defineComponent as w, getCurrentInstance as N, ref as v, computed as o, resolveComponent as x, openBlock as s, createBlock as m, resolveDynamicComponent as z, normalizeClass as y, unref as r, withCtx as O, renderSlot as M, createCommentVNode as p, createElementBlock as h, Fragment as F, createTextVNode as k, toDisplayString as G } from "vue";
|
|
3
|
+
import { u as P } from "./useDomHelpers-5CFMo6bx.js";
|
|
4
|
+
import { c as t, a, b as u, B as i } from "./ui-D3dPdT4S.js";
|
|
5
|
+
import "./Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js";
|
|
6
|
+
const X = ["multiple"], H = /* @__PURE__ */ w({
|
|
7
|
+
name: "TButton",
|
|
8
|
+
__name: "Button",
|
|
9
|
+
props: {
|
|
10
|
+
to: {},
|
|
11
|
+
icon: {},
|
|
12
|
+
href: { default: "" },
|
|
13
|
+
type: { default: t.BUTTON },
|
|
14
|
+
size: { default: a.DEFAULT },
|
|
15
|
+
label: { default: "" },
|
|
16
|
+
shape: { default: u.ROUNDED },
|
|
17
|
+
target: { default: void 0 },
|
|
18
|
+
variant: { default: i.DEFAULT },
|
|
19
|
+
multiple: { type: Boolean, default: !1 },
|
|
20
|
+
isOutline: { type: Boolean, default: !1 },
|
|
21
|
+
isDisabled: { type: Boolean, default: !1 },
|
|
22
|
+
injectStyle: { default: () => ({ icon: "" }) },
|
|
23
|
+
disableStyle: { type: Boolean, default: !1 }
|
|
24
|
+
},
|
|
25
|
+
emits: ["upload"],
|
|
26
|
+
setup(b, { expose: A, emit: E }) {
|
|
27
|
+
const e = b, g = E, c = N(), d = v(), f = v(null), { isPopoverActivator: L, onPopoverActivatorClick: R } = P(), S = o(() => e.href ? e.href : void 0), T = o(() => {
|
|
28
|
+
switch (e.type) {
|
|
29
|
+
case t.SUBMIT:
|
|
30
|
+
return "submit";
|
|
31
|
+
case t.FILE:
|
|
32
|
+
default:
|
|
33
|
+
return "button";
|
|
34
|
+
}
|
|
35
|
+
}), D = o(() => e.type === t.SUBMIT ? e.label : void 0), U = o(() => {
|
|
36
|
+
switch (e.type) {
|
|
37
|
+
case t.SUBMIT:
|
|
38
|
+
return "input";
|
|
39
|
+
case t.FILE:
|
|
40
|
+
case t.BUTTON:
|
|
41
|
+
default:
|
|
42
|
+
return "button";
|
|
43
|
+
}
|
|
44
|
+
}), _ = (n) => {
|
|
45
|
+
c && L(c) && R(n, c), e.type === t.SUBMIT && n.preventDefault(), e.type === t.FILE && d.value?.click();
|
|
46
|
+
}, B = (n) => {
|
|
47
|
+
n.stopPropagation();
|
|
48
|
+
const l = n.target.files;
|
|
49
|
+
!l || !l.length || g("upload", l);
|
|
50
|
+
}, C = o(() => {
|
|
51
|
+
switch (e.size) {
|
|
52
|
+
case a.EXTRA_SMALL:
|
|
53
|
+
return 12;
|
|
54
|
+
case a.SMALL:
|
|
55
|
+
return 16;
|
|
56
|
+
case a.DEFAULT:
|
|
57
|
+
return 20;
|
|
58
|
+
case a.LARGE:
|
|
59
|
+
return 24;
|
|
60
|
+
case a.EXTRA_LARGE:
|
|
61
|
+
return 28;
|
|
62
|
+
default:
|
|
63
|
+
return 20;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
return A({ iconReference: f }), (n, I) => {
|
|
67
|
+
const l = x("t-icon");
|
|
68
|
+
return s(), m(z(U.value), {
|
|
69
|
+
type: T.value,
|
|
70
|
+
href: S.value,
|
|
71
|
+
value: D.value,
|
|
72
|
+
to: e.to,
|
|
73
|
+
disabled: e.isDisabled,
|
|
74
|
+
target: e.target,
|
|
75
|
+
class: y([{
|
|
76
|
+
"opacity-50": e.isDisabled,
|
|
77
|
+
// Size
|
|
78
|
+
"text-xs px-2 h-4": e.size === r(a).EXTRA_SMALL,
|
|
79
|
+
"text-sm px-3 h-7": e.size === r(a).SMALL,
|
|
80
|
+
"text-base px-4 h-9": e.size === r(a).DEFAULT,
|
|
81
|
+
"text-lg px-5 h-12": e.size === r(a).LARGE,
|
|
82
|
+
"text-xl px-6 h-14": e.size === r(a).EXTRA_LARGE,
|
|
83
|
+
// Border
|
|
84
|
+
border: e.isOutline,
|
|
85
|
+
// Shape
|
|
86
|
+
"rounded-full": e.shape === r(u).CIRCLE,
|
|
87
|
+
"input-roundness": e.shape === r(u).ROUNDED,
|
|
88
|
+
// Cursor
|
|
89
|
+
"cursor-pointer": !e.isDisabled,
|
|
90
|
+
"cursor-not-allowed": e.isDisabled,
|
|
91
|
+
// Default color
|
|
92
|
+
"border-caipira-primary-inverted fill-caipira-primary-inverted": e.variant === r(i).DEFAULT,
|
|
93
|
+
"bg-transparent color-caipira-primary-inverted hover:bg-caipira-primary-inverted hover:color-caipira-primary hover:fill-white": e.variant === r(i).DEFAULT && e.isOutline,
|
|
94
|
+
"bg-caipira-primary-inverted color-caipira-primary": e.variant === r(i).DEFAULT && !e.isOutline,
|
|
95
|
+
// Primary color
|
|
96
|
+
"fill-caipira-primary": e.variant === r(i).PRIMARY,
|
|
97
|
+
"bg-transparent border-caipira-blue color-caipira-blue hover:bg-caipira-blue hover:color-caipira-primary hover:fill-white": e.variant === r(i).PRIMARY && e.isOutline,
|
|
98
|
+
"bg-caipira-blue color-caipira-primary": e.variant === r(i).PRIMARY && !e.isOutline,
|
|
99
|
+
// Success color
|
|
100
|
+
"fill-caipira-green": e.variant === r(i).SUCCESS,
|
|
101
|
+
"bg-transparent border-caipira-green color-caipira-green hover:bg-caipira-green hover:color-caipira-primary hover:fill-white": e.variant === r(i).SUCCESS && e.isOutline,
|
|
102
|
+
"bg-caipira-green color-caipira-primary": e.variant === r(i).SUCCESS && !e.isOutline,
|
|
103
|
+
// Warning color
|
|
104
|
+
"fill-caipira-yellow": e.variant === r(i).WARNING,
|
|
105
|
+
"bg-transparent border-caipira-yellow color-caipira-yellow hover:bg-caipira-yellow hover:color-caipira-primary hover:fill-white": e.variant === r(i).WARNING && e.isOutline,
|
|
106
|
+
"bg-caipira-yellow color-caipira-primary": e.variant === r(i).WARNING && !e.isOutline,
|
|
107
|
+
// Danger color
|
|
108
|
+
"fill-caipira-red": e.variant === r(i).DANGER,
|
|
109
|
+
"bg-transparent border-caipira-red color-caipira-red hover:bg-caipira-red hover:color-caipira-primary hover:fill-white": e.variant === r(i).DANGER && e.isOutline,
|
|
110
|
+
"bg-caipira-red color-caipira-primary": e.variant === r(i).DANGER && !e.isOutline,
|
|
111
|
+
// Link
|
|
112
|
+
"color-caipira-primary-inverted underline font-bold": e.variant === r(i).LINK,
|
|
113
|
+
// Transparent
|
|
114
|
+
"transparent-button": e.variant === r(i).TRANSPARENT
|
|
115
|
+
}, "input-outline flex items-center select-none whitespace-nowrap"]),
|
|
116
|
+
role: "button",
|
|
117
|
+
onClick: _
|
|
118
|
+
}, {
|
|
119
|
+
default: O(() => [
|
|
120
|
+
M(n.$slots, "default", {}, void 0, !0),
|
|
121
|
+
e.icon ? (s(), m(l, {
|
|
122
|
+
key: 0,
|
|
123
|
+
ref_key: "iconReference",
|
|
124
|
+
ref: f,
|
|
125
|
+
size: C.value,
|
|
126
|
+
icon: e.icon,
|
|
127
|
+
class: y({
|
|
128
|
+
[e.injectStyle.icon]: !0,
|
|
129
|
+
"mr-1": e.size === r(a).EXTRA_SMALL,
|
|
130
|
+
"mr-1.5": e.size === r(a).SMALL,
|
|
131
|
+
"mr-2": e.size === r(a).DEFAULT,
|
|
132
|
+
"mr-2.5": e.size === r(a).LARGE,
|
|
133
|
+
"mr-3": e.size === r(a).EXTRA_LARGE
|
|
134
|
+
})
|
|
135
|
+
}, null, 8, ["size", "icon", "class"])) : p("", !0),
|
|
136
|
+
e.label && e.type !== r(t).SUBMIT ? (s(), h(F, { key: 1 }, [
|
|
137
|
+
k(G(e.label), 1)
|
|
138
|
+
], 64)) : p("", !0),
|
|
139
|
+
e.type === "file" ? (s(), h("input", {
|
|
140
|
+
key: 2,
|
|
141
|
+
multiple: e.multiple,
|
|
142
|
+
type: "file",
|
|
143
|
+
ref_key: "fileInput",
|
|
144
|
+
ref: d,
|
|
145
|
+
class: "hidden",
|
|
146
|
+
onChange: B
|
|
147
|
+
}, null, 40, X)) : p("", !0)
|
|
148
|
+
]),
|
|
149
|
+
_: 3
|
|
150
|
+
}, 8, ["type", "href", "value", "to", "disabled", "target", "class"]);
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
});
|
|
154
|
+
export {
|
|
155
|
+
H as _
|
|
156
|
+
};
|
package/dist/ButtonCopy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as n } from "./plugin-
|
|
1
|
+
import { _ as p } from "./ButtonCopy.vue_vue_type_script_setup_true_lang-hBqHMiGU.js";
|
|
2
|
+
import { p as n } from "./plugin-CqcekUXz.js";
|
|
3
3
|
export {
|
|
4
4
|
p as ButtonCopy,
|
|
5
5
|
n as ButtonCopyPlugin
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as c, resolveComponent as f, openBlock as m, createBlock as y } from "vue";
|
|
2
2
|
import { g as i } from "./index-CVD_wAsU.js";
|
|
3
3
|
import { u as _ } from "./useClipboard-BHFD0Jvv.js";
|
|
4
|
-
import "./Button.
|
|
4
|
+
import "./Button.vue_vue_type_style_index_0_scoped_39c3f26a_lang-tn6M5dNB.js";
|
|
5
5
|
const v = /* @__PURE__ */ u({
|
|
6
6
|
name: "TButtonCopy",
|
|
7
7
|
__name: "ButtonCopy",
|
package/dist/ChartTreemap.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as e } from "./ChartTreemap.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as m } from "./plugin-
|
|
1
|
+
import { _ as e } from "./ChartTreemap.vue_vue_type_script_setup_true_lang-CG5aK3KH.js";
|
|
2
|
+
import { p as m } from "./plugin-BibUAa04.js";
|
|
3
3
|
export {
|
|
4
4
|
e as ChartTreemap,
|
|
5
5
|
m as ChartTreemapPlugin
|
|
@@ -256,7 +256,7 @@ const vt = /* @__PURE__ */ T({
|
|
|
256
256
|
const a = parseInt(
|
|
257
257
|
C(`div#${n}`).style("width"),
|
|
258
258
|
10
|
|
259
|
-
), o = { top:
|
|
259
|
+
), o = { top: 0, right: 0, bottom: 0, left: 0 }, f = a, d = 350, s = f - o.left - o.right, m = d - o.top - o.bottom, u = C(`div#${n} svg`).attr("width", f).attr("height", d).append("g").attr("transform", `translate(${o.left},${o.top})`), v = M(e.data).sum((c) => c?.value ?? 0).sort((c, h) => (h.value ?? 0) - (c.value ?? 0)), l = ft().size([s, m]).padding(1)(v), g = ht;
|
|
260
260
|
u.selectAll("rect").data(l.leaves()).enter().append("rect").attr("x", (c) => c.x0).attr("y", (c) => c.y0).attr("width", (c) => c.x1 - c.x0).attr("height", (c) => c.y1 - c.y0).attr("fill", (c, h) => {
|
|
261
261
|
const p = c.parent?.data?.color;
|
|
262
262
|
if (p)
|
package/dist/Dropdown.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as p } from "./Dropdown.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as p } from "./Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js";
|
|
2
|
+
import { p as a } from "./plugin-D3RtcfcX.js";
|
|
3
3
|
export {
|
|
4
4
|
p as Dropdown,
|
|
5
5
|
a as DropdownPlugin
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import { defineComponent as S, ref as w, resolveComponent as V, openBlock as l, createElementBlock as r, normalizeClass as u, createVNode as z, Fragment as R, renderList as K, toDisplayString as P, withKeys as T, renderSlot as A, normalizeProps as E, mergeProps as G, createBlock as $, createCommentVNode as I, createTextVNode as O, createElementVNode as F } from "vue";
|
|
2
|
+
const U = /* @__PURE__ */ F("span", null, "Loading...", -1), j = ["aria-selected", "onKeydown", "onClick"], q = {
|
|
3
|
+
key: 1,
|
|
4
|
+
class: "inline-flex items-center input-label"
|
|
5
|
+
}, Q = /* @__PURE__ */ S({
|
|
6
|
+
name: "TDropdown",
|
|
7
|
+
__name: "Dropdown",
|
|
8
|
+
props: {
|
|
9
|
+
items: { default: () => [] },
|
|
10
|
+
loading: { type: Boolean, default: !1 },
|
|
11
|
+
multiple: { type: Boolean, default: !1 },
|
|
12
|
+
isVisible: { type: Boolean, default: !1 },
|
|
13
|
+
optionMarginClass: { default: "" },
|
|
14
|
+
optionPaddingClass: { default: "py-2 px-2" },
|
|
15
|
+
wrapperPaddingClass: { default: "" },
|
|
16
|
+
optionRoundnessClass: { default: "" },
|
|
17
|
+
wrapperRoundnessClass: { default: "rounded-md" }
|
|
18
|
+
},
|
|
19
|
+
emits: ["change", "end-reached", "created"],
|
|
20
|
+
setup(H, { expose: B, emit: D }) {
|
|
21
|
+
const s = H, b = D, i = w(-1), k = w(null), d = w([]), f = w("keyboard"), y = (o = i.value, t = s.items[o], n = void 0) => {
|
|
22
|
+
n?.stopPropagation(), b("change", {
|
|
23
|
+
index: o,
|
|
24
|
+
option: t,
|
|
25
|
+
hold: n?.ctrlKey ?? !1
|
|
26
|
+
}), t.action && t.action();
|
|
27
|
+
}, L = (o) => {
|
|
28
|
+
if (!s.isVisible)
|
|
29
|
+
return !1;
|
|
30
|
+
switch (o.preventDefault(), f.value = "keyboard", o.key) {
|
|
31
|
+
case "ArrowUp":
|
|
32
|
+
case "ArrowDown":
|
|
33
|
+
return _(o);
|
|
34
|
+
case "Enter":
|
|
35
|
+
return y();
|
|
36
|
+
}
|
|
37
|
+
}, _ = (o) => {
|
|
38
|
+
const t = o.key === "ArrowDown", n = s.items.length;
|
|
39
|
+
let e = i.value;
|
|
40
|
+
const a = () => s.items[e] ? "isGroupLabel" in s.items[e] && s.items[e].isGroupLabel : !1, p = () => {
|
|
41
|
+
e === n - 1 ? e = 0 : e++;
|
|
42
|
+
}, N = () => {
|
|
43
|
+
e === 0 ? e = n - 1 : e--;
|
|
44
|
+
};
|
|
45
|
+
if (t)
|
|
46
|
+
do
|
|
47
|
+
p();
|
|
48
|
+
while (a());
|
|
49
|
+
else
|
|
50
|
+
do
|
|
51
|
+
N();
|
|
52
|
+
while (a());
|
|
53
|
+
e > -1 && e < n && (i.value = e);
|
|
54
|
+
const v = k.value, C = d.value[i.value], m = C.offsetTop, g = C.offsetHeight, x = v.offsetHeight, c = v.scrollTop;
|
|
55
|
+
let h = 0;
|
|
56
|
+
if (C.focus(), m === 0 || c === 0)
|
|
57
|
+
h = m - x + g;
|
|
58
|
+
else if (t && m + g > x + c)
|
|
59
|
+
h = c + g;
|
|
60
|
+
else if (!t && m < c)
|
|
61
|
+
h = c - g;
|
|
62
|
+
else
|
|
63
|
+
return !0;
|
|
64
|
+
return v.scroll({ top: h }), !0;
|
|
65
|
+
}, M = (o) => {
|
|
66
|
+
const t = o.target, n = d.value[0];
|
|
67
|
+
!t || !n || t.scrollTop + t.clientHeight + n.offsetHeight >= t.scrollHeight && b("end-reached");
|
|
68
|
+
};
|
|
69
|
+
return B({ move: _ }), (o, t) => {
|
|
70
|
+
const n = V("t-icon");
|
|
71
|
+
return l(), r("ul", {
|
|
72
|
+
ref_key: "listRef",
|
|
73
|
+
ref: k,
|
|
74
|
+
role: "listbox",
|
|
75
|
+
class: u(["text-left max-h-60 min-w-[12rem] z-10 overflow-y-auto scrollbar select-none floatable", [s.wrapperRoundnessClass, s.wrapperPaddingClass]]),
|
|
76
|
+
onScrollend: M,
|
|
77
|
+
onMousemove: t[0] || (t[0] = () => f.value = "mouse"),
|
|
78
|
+
onKeydown: L
|
|
79
|
+
}, [
|
|
80
|
+
s.loading ? (l(), r("li", {
|
|
81
|
+
key: 0,
|
|
82
|
+
role: "option",
|
|
83
|
+
"aria-disabled": "true",
|
|
84
|
+
class: u(["whitespace-nowrap inline-flex items-center", [
|
|
85
|
+
s.optionPaddingClass,
|
|
86
|
+
s.optionMarginClass,
|
|
87
|
+
s.optionRoundnessClass
|
|
88
|
+
]])
|
|
89
|
+
}, [
|
|
90
|
+
z(n, {
|
|
91
|
+
size: "sm",
|
|
92
|
+
class: "w-12 h-12 animate-spin mr-3",
|
|
93
|
+
icon: "loading"
|
|
94
|
+
}),
|
|
95
|
+
U
|
|
96
|
+
], 2)) : o.items.length === 0 ? (l(), r("li", {
|
|
97
|
+
key: 1,
|
|
98
|
+
role: "option",
|
|
99
|
+
"aria-disabled": "true",
|
|
100
|
+
class: u(["whitespace-nowrap text-gray-400", [
|
|
101
|
+
s.optionPaddingClass,
|
|
102
|
+
s.optionMarginClass,
|
|
103
|
+
s.optionRoundnessClass
|
|
104
|
+
]])
|
|
105
|
+
}, " Nothing here ", 2)) : (l(!0), r(R, { key: 2 }, K(o.items, (e, a) => (l(), r(R, {
|
|
106
|
+
key: e?.isGroupLabel ? a : e.value
|
|
107
|
+
}, [
|
|
108
|
+
e.isGroupLabel ? (l(), r("li", {
|
|
109
|
+
key: 0,
|
|
110
|
+
class: u(["text-xs font-bold tracking-wider text-neutral-600", [
|
|
111
|
+
s.optionPaddingClass,
|
|
112
|
+
s.optionMarginClass,
|
|
113
|
+
s.optionRoundnessClass
|
|
114
|
+
]]),
|
|
115
|
+
ref_for: !0,
|
|
116
|
+
ref_key: "itemRefs",
|
|
117
|
+
ref: d
|
|
118
|
+
}, P(e.label), 3)) : (l(), r("li", {
|
|
119
|
+
key: 1,
|
|
120
|
+
class: u([{
|
|
121
|
+
"bg-hover": a === i.value && f.value === "keyboard",
|
|
122
|
+
"hover:bg-hover": f.value === "mouse",
|
|
123
|
+
[s.optionMarginClass]: !0,
|
|
124
|
+
[s.optionPaddingClass]: !0,
|
|
125
|
+
[s.optionRoundnessClass]: !0
|
|
126
|
+
}, "flex text-base cursor-pointer whitespace-nowrap items-center focus-visible:outline-none"]),
|
|
127
|
+
role: "option",
|
|
128
|
+
ref_for: !0,
|
|
129
|
+
ref_key: "itemRefs",
|
|
130
|
+
ref: d,
|
|
131
|
+
tabindex: 0,
|
|
132
|
+
"aria-selected": a === i.value,
|
|
133
|
+
onKeydown: T((p) => y(a, e), ["enter"]),
|
|
134
|
+
onClick: (p) => y(a, e, p)
|
|
135
|
+
}, [
|
|
136
|
+
o.$slots.default ? A(o.$slots, "default", E(G({ key: 0 }, e))) : (l(), r("div", q, [
|
|
137
|
+
e.icon ? (l(), $(n, {
|
|
138
|
+
key: 0,
|
|
139
|
+
icon: e.icon,
|
|
140
|
+
class: "mr-2",
|
|
141
|
+
size: "xs"
|
|
142
|
+
}, null, 8, ["icon"])) : I("", !0),
|
|
143
|
+
O(" " + P(e.label), 1)
|
|
144
|
+
]))
|
|
145
|
+
], 42, j))
|
|
146
|
+
], 64))), 128))
|
|
147
|
+
], 34);
|
|
148
|
+
};
|
|
149
|
+
}
|
|
150
|
+
});
|
|
151
|
+
export {
|
|
152
|
+
Q as _
|
|
153
|
+
};
|
package/dist/Form.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as m } from "./Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js";
|
|
2
|
+
import { p as a } from "./plugin-BAUSOmg1.js";
|
|
3
3
|
export {
|
|
4
4
|
m as Form,
|
|
5
5
|
a as FormPlugin
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as A, reactive as P, ref as _, watch as T, provide as N, resolveComponent as O, openBlock as
|
|
1
|
+
import { defineComponent as A, reactive as P, ref as _, watch as T, provide as N, resolveComponent as O, openBlock as B, createElementBlock as j, renderSlot as E, createElementVNode as J, normalizeClass as R, withDirectives as W, createVNode as M, mergeProps as z, vShow as K } from "vue";
|
|
2
|
+
import { B as L } from "./ui-D3dPdT4S.js";
|
|
2
3
|
import { F as a, a as p } from "./form-BkXpIJ0e.js";
|
|
3
|
-
import { f as
|
|
4
|
-
|
|
5
|
-
const y = (t) => t ? L(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.value}`], b = (t) => t?.iso2 ?? "", w = async (t) => t?.encrypted ?? t?.value ?? "", i = {
|
|
4
|
+
import { f as I } from "./index-CjvqeRf7.js";
|
|
5
|
+
const y = (t) => t ? I(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.value}`], b = (t) => t?.iso2 ?? "", w = async (t) => t?.encrypted ?? t?.value ?? "", i = {
|
|
6
6
|
default: (t, r, e) => (r[e] = t, r),
|
|
7
7
|
price: (t, r, e, n = ["Currency", "Value"]) => {
|
|
8
8
|
const [c, s] = V(t);
|
|
@@ -121,7 +121,7 @@ const y = (t) => t ? L(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
121
121
|
showSubmit: { type: Boolean, default: !1 },
|
|
122
122
|
submitLabel: { default: "Submit" },
|
|
123
123
|
buttonProps: {},
|
|
124
|
-
buttonVariant: { default:
|
|
124
|
+
buttonVariant: { default: L.PRIMARY },
|
|
125
125
|
submissionFormat: { default: p.FormData },
|
|
126
126
|
buttonWrapperClasses: { default: "" }
|
|
127
127
|
},
|
|
@@ -158,16 +158,16 @@ const y = (t) => t ? L(t, "yyyy-MM-dd") : "", V = (t) => [`${t?.iso}`, `${t?.val
|
|
|
158
158
|
getValue: C
|
|
159
159
|
}), (o, d) => {
|
|
160
160
|
const f = O("t-button");
|
|
161
|
-
return
|
|
161
|
+
return B(), j("form", {
|
|
162
162
|
onSubmit: l,
|
|
163
163
|
ref_key: "formReference",
|
|
164
164
|
ref: F
|
|
165
165
|
}, [
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
class:
|
|
166
|
+
E(o.$slots, "default", { form: s }),
|
|
167
|
+
J("div", {
|
|
168
|
+
class: R([n.buttonWrapperClasses])
|
|
169
169
|
}, [
|
|
170
|
-
|
|
170
|
+
W(M(f, z(n.buttonProps, {
|
|
171
171
|
type: "submit",
|
|
172
172
|
class: "mt-4",
|
|
173
173
|
variant: n.buttonVariant,
|
package/dist/GraphyPrice.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as o } from "./plugin-
|
|
1
|
+
import { _ as a } from "./GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js";
|
|
2
|
+
import { p as o } from "./plugin-CQQde2zY.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-
|
|
2
|
+
import { G as e } from "./ui-D3dPdT4S.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-
|
|
2
|
-
import { p as a } from "./plugin-
|
|
1
|
+
import { _ as n } from "./Icon.vue_vue_type_script_setup_true_lang-CqJ-D4BM.js";
|
|
2
|
+
import { p as a } from "./plugin-BkWUeqrs.js";
|
|
3
3
|
export {
|
|
4
4
|
n as Icon,
|
|
5
5
|
a as IconPlugin
|
|
@@ -1,46 +1,49 @@
|
|
|
1
|
-
import { defineComponent as k, ref as
|
|
2
|
-
import { u as
|
|
3
|
-
import {
|
|
4
|
-
const
|
|
1
|
+
import { defineComponent as k, ref as g, getCurrentInstance as b, computed as v, watch as w, openBlock as y, createElementBlock as _, normalizeClass as x, unref as e, normalizeStyle as z } from "vue";
|
|
2
|
+
import { u as A } from "./useDomHelpers-5CFMo6bx.js";
|
|
3
|
+
import { a as t } from "./ui-D3dPdT4S.js";
|
|
4
|
+
const L = (r, n) => {
|
|
5
5
|
const s = r[n];
|
|
6
|
-
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((c,
|
|
7
|
-
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(
|
|
6
|
+
return s ? typeof s == "function" ? s() : Promise.resolve(s) : new Promise((c, o) => {
|
|
7
|
+
(typeof queueMicrotask == "function" ? queueMicrotask : setTimeout)(o.bind(null, new Error("Unknown variable dynamic import: " + n)));
|
|
8
8
|
});
|
|
9
|
-
}, E = ["innerHTML", "role"],
|
|
9
|
+
}, E = ["innerHTML", "role"], R = /* @__PURE__ */ k({
|
|
10
10
|
name: "TIcon",
|
|
11
11
|
__name: "Icon",
|
|
12
12
|
props: {
|
|
13
13
|
icon: {},
|
|
14
14
|
role: { default: "" },
|
|
15
|
-
size: { default:
|
|
15
|
+
size: { default: t.DEFAULT }
|
|
16
16
|
},
|
|
17
17
|
setup(r, { expose: n }) {
|
|
18
|
-
const s = r, c =
|
|
19
|
-
|
|
20
|
-
},
|
|
18
|
+
const s = r, c = g(""), o = b(), a = g(null), { isPopoverActivator: m, onPopoverActivatorClick: l } = A(), u = v(() => s.role === "button"), f = v(() => s.role !== "" ? s.role : o && m(o) ? "button" : ""), h = (i) => {
|
|
19
|
+
o && m(o) && l(i, o);
|
|
20
|
+
}, d = async () => (await L(/* @__PURE__ */ Object.assign({ "../../assets/icons/account.svg": () => import("./account-BJGxzbeL.js"), "../../assets/icons/alert-octagon-outline.svg": () => import("./alert-octagon-outline-fM2QVbyq.js"), "../../assets/icons/alert-octagon.svg": () => import("./alert-octagon-BIUtdQBd.js"), "../../assets/icons/archive-outline.svg": () => import("./archive-outline-BT6uCRX5.js"), "../../assets/icons/archive.svg": () => import("./archive-DDuuzVUo.js"), "../../assets/icons/arrow-left.svg": () => import("./arrow-left-CVipcGWo.js"), "../../assets/icons/arrow-right.svg": () => import("./arrow-right-DHFo5L72.js"), "../../assets/icons/bank-outline.svg": () => import("./bank-outline-wy0O9ni0.js"), "../../assets/icons/bank.svg": () => import("./bank-lwoR1P6d.js"), "../../assets/icons/camera.svg": () => import("./camera-BXoPauop.js"), "../../assets/icons/cards-outline.svg": () => import("./cards-outline-B0no8Z63.js"), "../../assets/icons/cards-variant.svg": () => import("./cards-variant-CU6V8mdM.js"), "../../assets/icons/cart-outline.svg": () => import("./cart-outline-C99s8OpS.js"), "../../assets/icons/chart-box-outline.svg": () => import("./chart-box-outline-C9ymwfIH.js"), "../../assets/icons/chart-box.svg": () => import("./chart-box-tyepg_QH.js"), "../../assets/icons/check-circle-outline.svg": () => import("./check-circle-outline-B4zmPfuc.js"), "../../assets/icons/check-circle.svg": () => import("./check-circle-C3Kf7DnE.js"), "../../assets/icons/check.svg": () => import("./check-iUT-FuWa.js"), "../../assets/icons/checkbox-dark.svg": () => import("./checkbox-dark-D_btgwCX.js"), "../../assets/icons/checkbox-indeterminate-dark.svg": () => import("./checkbox-indeterminate-dark-CSrkJBRG.js"), "../../assets/icons/checkbox-indeterminate.svg": () => import("./checkbox-indeterminate-CtbmyFkw.js"), "../../assets/icons/checkbox.svg": () => import("./checkbox-TojXdFTq.js"), "../../assets/icons/chevron-down.svg": () => import("./chevron-down-CJLshITY.js"), "../../assets/icons/chevron-left.svg": () => import("./chevron-left-n_sGCmlG.js"), "../../assets/icons/chevron-right.svg": () => import("./chevron-right-C8uLqjmq.js"), "../../assets/icons/chevron-up.svg": () => import("./chevron-up-b6VdQM8S.js"), "../../assets/icons/circle.svg": () => import("./circle-DhoEDuC5.js"), "../../assets/icons/clock.svg": () => import("./clock-BqMI2OIG.js"), "../../assets/icons/close-circle-outline.svg": () => import("./close-circle-outline-CUXfYV4M.js"), "../../assets/icons/close-circle.svg": () => import("./close-circle-Bvyw4JKW.js"), "../../assets/icons/close.svg": () => import("./close-DemH4JAO.js"), "../../assets/icons/cog.svg": () => import("./cog-Dd9I6z5D.js"), "../../assets/icons/color-fill.svg": () => import("./color-fill-DWx77G0p.js"), "../../assets/icons/copy.svg": () => import("./copy-D-Dqxp8h.js"), "../../assets/icons/credit-card-plus.svg": () => import("./credit-card-plus-TUZq5Zi0.js"), "../../assets/icons/credit-card.svg": () => import("./credit-card-B3VjoUad.js"), "../../assets/icons/currency.svg": () => import("./currency-BuSji4qA.js"), "../../assets/icons/database.svg": () => import("./database-CNG_l2Or.js"), "../../assets/icons/dots-grid.svg": () => import("./dots-grid-BhRGZg1t.js"), "../../assets/icons/dots-vertical.svg": () => import("./dots-vertical-nYIDxlT1.js"), "../../assets/icons/email-open-outline.svg": () => import("./email-open-outline-NlRAK8vu.js"), "../../assets/icons/email-outline.svg": () => import("./email-outline-v-beMKo_.js"), "../../assets/icons/eye-off.svg": () => import("./eye-off-Dq2WOPSG.js"), "../../assets/icons/eye.svg": () => import("./eye-C7_UM0rn.js"), "../../assets/icons/file-document-plus-outline.svg": () => import("./file-document-plus-outline-C_GeG8ak.js"), "../../assets/icons/filmstrip.svg": () => import("./filmstrip-Dg66xHap.js"), "../../assets/icons/filter.svg": () => import("./filter-07gM0IrM.js"), "../../assets/icons/fullscreen-exit.svg": () => import("./fullscreen-exit-DvHy2f8E.js"), "../../assets/icons/fullscreen.svg": () => import("./fullscreen-daZRwm-1.js"), "../../assets/icons/group.svg": () => import("./group-B1HQcmCl.js"), "../../assets/icons/image-album-outline.svg": () => import("./image-album-outline-oiPipPnp.js"), "../../assets/icons/image-album.svg": () => import("./image-album-DVl72ioK.js"), "../../assets/icons/image-outline.svg": () => import("./image-outline-CLpFyr7w.js"), "../../assets/icons/image.svg": () => import("./image-C-DY_SfK.js"), "../../assets/icons/info-outline.svg": () => import("./info-outline-Mn6Hjz_K.js"), "../../assets/icons/key-chain.svg": () => import("./key-chain-D-8-GrU2.js"), "../../assets/icons/key-variant.svg": () => import("./key-variant-DViBRFAJ.js"), "../../assets/icons/key.svg": () => import("./key-B8iEXxGx.js"), "../../assets/icons/listbox-outline.svg": () => import("./listbox-outline-BBriTS-r.js"), "../../assets/icons/loading.svg": () => import("./loading-E4eFmVsP.js"), "../../assets/icons/lock-outline.svg": () => import("./lock-outline-K2LxC2b6.js"), "../../assets/icons/lock.svg": () => import("./lock-Nv-e-b24.js"), "../../assets/icons/logout.svg": () => import("./logout-BHwFpuou.js"), "../../assets/icons/menu-down.svg": () => import("./menu-down-B4Fy5IG1.js"), "../../assets/icons/menu-left.svg": () => import("./menu-left-D8G3frKt.js"), "../../assets/icons/menu-right.svg": () => import("./menu-right-CMt4thJ2.js"), "../../assets/icons/menu.svg": () => import("./menu-pq7WWaJu.js"), "../../assets/icons/minus-circle-outline.svg": () => import("./minus-circle-outline-B-x6EXPD.js"), "../../assets/icons/minus-circle.svg": () => import("./minus-circle-D_N5NZW-.js"), "../../assets/icons/minus.svg": () => import("./minus-CSCkQnOm.js"), "../../assets/icons/moon.svg": () => import("./moon-Bhm_ZTV6.js"), "../../assets/icons/open-in-new.svg": () => import("./open-in-new-C2Btl_1k.js"), "../../assets/icons/pencil.svg": () => import("./pencil-BETebgXX.js"), "../../assets/icons/people.svg": () => import("./people-BUW1DRzH.js"), "../../assets/icons/piggy-bank-outline.svg": () => import("./piggy-bank-outline-5cDQNrSU.js"), "../../assets/icons/plus-circle-outline.svg": () => import("./plus-circle-outline-C-kkX0ke.js"), "../../assets/icons/plus-circle.svg": () => import("./plus-circle-Cl0YprEp.js"), "../../assets/icons/plus.svg": () => import("./plus-sbcOm60H.js"), "../../assets/icons/qrcode-scan.svg": () => import("./qrcode-scan-CpLrVFw_.js"), "../../assets/icons/radio-dark.svg": () => import("./radio-dark-Cr5v17AF.js"), "../../assets/icons/radio.svg": () => import("./radio-DkjVAhsO.js"), "../../assets/icons/refresh.svg": () => import("./refresh-DPlMWd1M.js"), "../../assets/icons/save.svg": () => import("./save-BmMH4S8b.js"), "../../assets/icons/search.svg": () => import("./search-Co2MwWOK.js"), "../../assets/icons/spotlight.svg": () => import("./spotlight-TNyCQzOY.js"), "../../assets/icons/store-outline.svg": () => import("./store-outline-B-fuVZzv.js"), "../../assets/icons/sun.svg": () => import("./sun-BWKjCEHH.js"), "../../assets/icons/swap-horizontal.svg": () => import("./swap-horizontal-DociZUG2.js"), "../../assets/icons/swap-left.svg": () => import("./swap-left-Bd2DOgf3.js"), "../../assets/icons/swap-right.svg": () => import("./swap-right-D0VYxBDb.js"), "../../assets/icons/swap.svg": () => import("./swap-CNbqKTl0.js"), "../../assets/icons/system-theme.svg": () => import("./system-theme-Cez6mSv_.js"), "../../assets/icons/tag-outline.svg": () => import("./tag-outline-Ce_qOxif.js"), "../../assets/icons/trash-can-outline.svg": () => import("./trash-can-outline-DjtqZHOC.js"), "../../assets/icons/trash-can.svg": () => import("./trash-can-CKPtMqSf.js"), "../../assets/icons/upload.svg": () => import("./upload-CKfrBexU.js"), "../../assets/icons/user-circle.svg": () => import("./user-circle-D102n1FB.js"), "../../assets/icons/zip-box.svg": () => import("./zip-box-C10560VY.js") }), `../../assets/icons/${s.icon}.svg`)).default;
|
|
21
21
|
return w(
|
|
22
22
|
() => s.icon,
|
|
23
|
-
async (
|
|
24
|
-
|
|
23
|
+
async (i, p) => {
|
|
24
|
+
i !== p && (c.value = await d());
|
|
25
25
|
},
|
|
26
26
|
{ immediate: !0 }
|
|
27
|
-
), n({ reference: a }), (
|
|
27
|
+
), n({ reference: a }), (i, p) => (y(), _("i", {
|
|
28
28
|
innerHTML: c.value,
|
|
29
29
|
ref_key: "reference",
|
|
30
30
|
ref: a,
|
|
31
|
-
class:
|
|
32
|
-
"w-
|
|
33
|
-
"w-5":
|
|
34
|
-
"w-6":
|
|
35
|
-
"w-
|
|
36
|
-
"w-
|
|
31
|
+
class: x(["inline-block fill-current", {
|
|
32
|
+
"w-3 h-3": s.size === e(t).EXTRA_SMALL,
|
|
33
|
+
"w-5 h-5": s.size === e(t).SMALL,
|
|
34
|
+
"w-6 h-6": s.size === e(t).DEFAULT,
|
|
35
|
+
"w-12 h-12": s.size === e(t).LARGE,
|
|
36
|
+
"w-16 h-16": s.size === e(t).EXTRA_LARGE,
|
|
37
37
|
"cursor-pointer": u.value
|
|
38
38
|
}]),
|
|
39
|
+
style: z(
|
|
40
|
+
typeof s.size == "number" ? `width: ${s.size}px; height: ${s.size}px;` : ""
|
|
41
|
+
),
|
|
39
42
|
role: f.value,
|
|
40
|
-
onClick:
|
|
41
|
-
}, null,
|
|
43
|
+
onClick: h
|
|
44
|
+
}, null, 14, E));
|
|
42
45
|
}
|
|
43
46
|
});
|
|
44
47
|
export {
|
|
45
|
-
|
|
48
|
+
R as _
|
|
46
49
|
};
|
package/dist/IconButton.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as n } from "./IconButton.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p } from "./plugin-
|
|
1
|
+
import { _ as n } from "./IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js";
|
|
2
|
+
import { p } from "./plugin-BJT9iz31.js";
|
|
3
3
|
export {
|
|
4
4
|
n as IconButton,
|
|
5
5
|
p as IconButtonPlugin
|