@caipira/tamandua 0.0.17 → 0.0.19
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/dist/Avatar.js +2 -2
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-Cjz3Vlw9.js +51 -0
- package/dist/Button-BVvZv1Xl.js +6 -0
- package/dist/Button.css +1 -1
- package/dist/Button.js +2 -2
- 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
- package/dist/ButtonCopy.js +2 -2
- 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
- package/dist/Form.js +2 -2
- package/dist/{Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js → Form.vue_vue_type_script_setup_true_lang-hFd1xBcd.js} +1 -1
- package/dist/GraphyPrice.js +2 -2
- package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js → GraphyPrice.vue_vue_type_script_setup_true_lang-BdCwug4U.js} +1 -1
- package/dist/Icon.js +2 -2
- 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
- package/dist/InputMultiplier.js +2 -2
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-DlITLRxb.js +74 -0
- package/dist/InputPassword.js +2 -2
- 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
- package/dist/InputPhone.js +2 -2
- package/dist/{InputPhone.vue_vue_type_script_setup_true_lang-uNqXphQY.js → InputPhone.vue_vue_type_script_setup_true_lang-DvSNQmar.js} +13 -13
- package/dist/InputSelect.js +2 -2
- package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js → InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js} +30 -28
- package/dist/InputText.js +2 -2
- package/dist/{InputText.vue_vue_type_script_setup_true_lang-CkoBmp9p.js → InputText.vue_vue_type_script_setup_true_lang-BWM3bHKU.js} +5 -5
- package/dist/Link.js +2 -2
- package/dist/{Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js → Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js} +1 -1
- package/dist/ModalForm.js +2 -2
- package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js → ModalForm.vue_vue_type_script_setup_true_lang-BaYQDOnJ.js} +11 -13
- package/dist/Popconfirm.js +2 -2
- 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
- package/dist/Popover.js +2 -2
- package/dist/{Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js → Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js} +1 -1
- package/dist/{ProgressLine-1ZHGvPsm.js → ProgressLine-B_Teev3n.js} +25 -19
- package/dist/ProgressLine.css +1 -1
- package/dist/ProgressLine.js +2 -2
- package/dist/{Table-grkQ9tby.js → Table-CYnCf_CG.js} +12 -11
- package/dist/Table.css +1 -1
- package/dist/Table.js +2 -2
- package/dist/Tag.js +2 -2
- 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
- package/dist/Toast.js +2 -2
- 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
- package/dist/components.js +65 -67
- package/dist/enums.js +1 -1
- package/dist/index.css +0 -6
- package/dist/{plugin-CwJMh4ht.js → plugin-5nhQC5Ck.js} +1 -1
- package/dist/{plugin-CCH1Q2cN.js → plugin-BGWPliCj.js} +1 -1
- package/dist/{plugin-BCt5Fd1Y.js → plugin-BOTI2tkp.js} +1 -1
- package/dist/{plugin-DyiLV5Qf.js → plugin-BOXtmhcZ.js} +1 -1
- package/dist/{plugin-BAUSOmg1.js → plugin-Bp0MadmC.js} +1 -1
- package/dist/{plugin-BkWUeqrs.js → plugin-BriPeDzu.js} +1 -1
- package/dist/{plugin-CX1WsfRO.js → plugin-Bt6de9ZA.js} +1 -1
- package/dist/{plugin-PahpuGjl.js → plugin-CXsVFJPx.js} +1 -1
- package/dist/{plugin-DXEt6BIK.js → plugin-Cg_Ls0OX.js} +1 -1
- package/dist/{plugin-CQQde2zY.js → plugin-CxYhyNRA.js} +1 -1
- package/dist/{plugin-CHQRlAGJ.js → plugin-D2cyoBNg.js} +1 -1
- package/dist/{plugin-2nTovNcx.js → plugin-DEybStkj.js} +1 -1
- package/dist/{plugin-DmfiHplR.js → plugin-DK-_BDxt.js} +1 -1
- package/dist/{plugin-D9DcbHK3.js → plugin-Dn96hI0e.js} +1 -1
- package/dist/{plugin-JgFOdNjC.js → plugin-Dp-F27SY.js} +1 -1
- package/dist/{plugin-1JFePZNV.js → plugin-GzMD7Mhm.js} +1 -1
- package/dist/{plugin-C8V0p_Rv.js → plugin-dL6oP11N.js} +1 -1
- package/dist/{plugin-CGg5IOSy.js → plugin-hr8-EXeF.js} +1 -1
- package/dist/{plugin-BRY5cGCc.js → plugin-xaGfuM5Z.js} +1 -1
- package/dist/plugins-C0eAws64.js +109 -0
- package/dist/plugins.js +92 -95
- package/dist/tamandua.js +1 -1
- package/dist/types/components/Avatar/Avatar.story.d.ts +1 -1
- package/dist/types/components/Avatar/Avatar.vue.d.ts +2 -2
- package/dist/types/components/Button/Button.story.d.ts +1 -1
- package/dist/types/components/Button/Button.vue.d.ts +7 -5
- package/dist/types/components/Button/types.d.ts +4 -1
- package/dist/types/components/Icon/Icon.story.d.ts +1 -1
- package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +0 -3
- package/dist/types/components/InputMultiplier/types.d.ts +4 -2
- package/dist/types/components/index.d.ts +2 -3
- package/dist/types/components/plugins.d.ts +1 -2
- package/dist/types/enums/ui.d.ts +10 -8
- package/dist/types/index.d.ts +0 -1
- package/dist/types/types/website.d.ts +1 -5
- package/dist/ui-BC6H9E93.js +13 -0
- package/package.json +1 -1
- package/volar.d.ts +0 -1
- package/dist/Avatar.vue_vue_type_script_setup_true_lang-BZy_UetF.js +0 -51
- package/dist/Button-42CN8gSf.js +0 -6
- package/dist/IconButton.js +0 -6
- package/dist/IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js +0 -91
- package/dist/InputMultiplier.vue_vue_type_script_setup_true_lang-w2RuSz1R.js +0 -83
- package/dist/plugin-BJT9iz31.js +0 -10
- package/dist/plugins-DVzcsSnU.js +0 -112
- package/dist/types/components/IconButton/IconButton.vue.d.ts +0 -55
- package/dist/types/components/IconButton/index.d.ts +0 -5
- package/dist/types/components/IconButton/plugin.d.ts +0 -4
- package/dist/types/components/IconButton/types.d.ts +0 -17
- package/dist/ui-D3dPdT4S.js +0 -13
package/dist/plugins.js
CHANGED
|
@@ -1,108 +1,105 @@
|
|
|
1
|
-
import "./Avatar.vue_vue_type_script_setup_true_lang-
|
|
2
|
-
import { p as
|
|
1
|
+
import "./Avatar.vue_vue_type_script_setup_true_lang-Cjz3Vlw9.js";
|
|
2
|
+
import { p as T } from "./plugin-BOXtmhcZ.js";
|
|
3
3
|
import "vue";
|
|
4
|
-
import { p as
|
|
5
|
-
import "./Button.
|
|
6
|
-
import { p as
|
|
7
|
-
import { p as
|
|
4
|
+
import { p as d } from "./plugin-C-iGigb_.js";
|
|
5
|
+
import "./Button.vue_vue_type_style_index_0_scoped_028abb2a_lang-B8Np_xdG.js";
|
|
6
|
+
import { p as b } from "./plugin-D2cyoBNg.js";
|
|
7
|
+
import { p as v } from "./plugin-GzMD7Mhm.js";
|
|
8
8
|
import "./transform-DSaNEFMr.js";
|
|
9
9
|
import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
|
|
10
10
|
import { p as D } from "./plugin-DDXOF4cU.js";
|
|
11
11
|
import { p as L } from "./plugin-BibUAa04.js";
|
|
12
12
|
import "./Drawer-omdZnBPG.js";
|
|
13
13
|
import { p as k } from "./plugin-DRcJuXpS.js";
|
|
14
|
-
import { p as
|
|
15
|
-
import { p as
|
|
16
|
-
import "./Form.vue_vue_type_script_setup_true_lang-
|
|
17
|
-
import { p as
|
|
18
|
-
import { p as
|
|
19
|
-
import { p as
|
|
20
|
-
import { p as
|
|
21
|
-
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-
|
|
22
|
-
import { p as
|
|
23
|
-
import { p as
|
|
24
|
-
import { p as
|
|
25
|
-
import "./Icon.vue_vue_type_script_setup_true_lang-
|
|
26
|
-
import { p as
|
|
27
|
-
import "./
|
|
28
|
-
import { p as
|
|
29
|
-
import { p as
|
|
30
|
-
import { p as
|
|
31
|
-
import { p as
|
|
32
|
-
import { p as
|
|
33
|
-
import { p as
|
|
34
|
-
import { p as
|
|
35
|
-
import { p as
|
|
36
|
-
import
|
|
37
|
-
import { p as hr } from "./plugin-
|
|
38
|
-
import "./
|
|
39
|
-
import { p as
|
|
40
|
-
import { p as
|
|
41
|
-
import
|
|
42
|
-
import { p as
|
|
43
|
-
import "./
|
|
44
|
-
import { p as
|
|
45
|
-
import { p as
|
|
46
|
-
import
|
|
47
|
-
import { p as
|
|
48
|
-
import "./
|
|
49
|
-
import { p as
|
|
50
|
-
import "./Popover.vue_vue_type_script_setup_true_lang-B1brEdFx.js";
|
|
51
|
-
import { p as qr } from "./plugin-JgFOdNjC.js";
|
|
14
|
+
import { p as M } from "./plugin-D3RtcfcX.js";
|
|
15
|
+
import { p as E } from "./plugin-3VDgn3kO.js";
|
|
16
|
+
import "./Form.vue_vue_type_script_setup_true_lang-hFd1xBcd.js";
|
|
17
|
+
import { p as j } from "./plugin-Bp0MadmC.js";
|
|
18
|
+
import { p as z } from "./plugin-BYkYqIjb.js";
|
|
19
|
+
import { p as J } from "./plugin-Buc7eEox.js";
|
|
20
|
+
import { p as N } from "./plugin-CHyrn6sC.js";
|
|
21
|
+
import "./GraphyPrice.vue_vue_type_script_setup_true_lang-BdCwug4U.js";
|
|
22
|
+
import { p as Q } from "./plugin-CxYhyNRA.js";
|
|
23
|
+
import { p as V } from "./plugin-DN54VuID.js";
|
|
24
|
+
import { p as X } from "./plugin-DOeDaXWj.js";
|
|
25
|
+
import "./Icon.vue_vue_type_script_setup_true_lang-CNUyv7CY.js";
|
|
26
|
+
import { p as Z } from "./plugin-BriPeDzu.js";
|
|
27
|
+
import { p as $ } from "./plugin--F5QK2vy.js";
|
|
28
|
+
import { p as or } from "./plugin-DaibhM02.js";
|
|
29
|
+
import { p as tr } from "./plugin-DppW8rQi.js";
|
|
30
|
+
import { p as ar } from "./plugin-DkDbha5K.js";
|
|
31
|
+
import { p as nr } from "./plugin-DEybStkj.js";
|
|
32
|
+
import { p as ur } from "./plugin-CXsVFJPx.js";
|
|
33
|
+
import { p as Pr } from "./plugin-hr8-EXeF.js";
|
|
34
|
+
import { p as gr } from "./plugin-C3tFXHbZ.js";
|
|
35
|
+
import { p as fr } from "./plugin-BrwUi1gG.js";
|
|
36
|
+
import "./InputSelect.vue_vue_type_script_setup_true_lang-Cc2Knxl7.js";
|
|
37
|
+
import { p as hr } from "./plugin-DK-_BDxt.js";
|
|
38
|
+
import { p as Tr } from "./plugin-DT7LVAli.js";
|
|
39
|
+
import { p as dr } from "./plugin-5nhQC5Ck.js";
|
|
40
|
+
import { p as br } from "./plugin-CqcxTgW6.js";
|
|
41
|
+
import "./Link.vue_vue_type_script_setup_true_lang-DeBJ2UGi.js";
|
|
42
|
+
import { p as vr } from "./plugin-dL6oP11N.js";
|
|
43
|
+
import { p as Dr } from "./plugin-BZC231Oj.js";
|
|
44
|
+
import { p as Lr } from "./plugin-BGWPliCj.js";
|
|
45
|
+
import { p as kr } from "./plugin-YUomn9tF.js";
|
|
46
|
+
import "./Popconfirm.vue_vue_type_script_setup_true_lang-BNpLdXq7.js";
|
|
47
|
+
import { p as Mr } from "./plugin-Bt6de9ZA.js";
|
|
48
|
+
import "./Popover.vue_vue_type_script_setup_true_lang-B4Polh2y.js";
|
|
49
|
+
import { p as Er } from "./plugin-Dp-F27SY.js";
|
|
52
50
|
import "./ProgressCircle-BY2eeyGY.js";
|
|
53
|
-
import { p as
|
|
54
|
-
import "./ProgressLine-
|
|
55
|
-
import { p as
|
|
56
|
-
import { p as
|
|
57
|
-
import { p as
|
|
58
|
-
import "./Table-
|
|
59
|
-
import { p as
|
|
60
|
-
import "./Tag.vue_vue_type_script_setup_true_lang-
|
|
61
|
-
import { p as
|
|
62
|
-
import { p as
|
|
51
|
+
import { p as jr } from "./plugin-DXSsGfRI.js";
|
|
52
|
+
import "./ProgressLine-B_Teev3n.js";
|
|
53
|
+
import { p as zr } from "./plugin-xaGfuM5Z.js";
|
|
54
|
+
import { p as Jr } from "./plugin-cvHKUGjm.js";
|
|
55
|
+
import { p as Nr } from "./plugin-5vn4G57V.js";
|
|
56
|
+
import "./Table-CYnCf_CG.js";
|
|
57
|
+
import { p as Qr } from "./plugin-BOTI2tkp.js";
|
|
58
|
+
import "./Tag.vue_vue_type_script_setup_true_lang-D-yGH5I5.js";
|
|
59
|
+
import { p as Vr } from "./plugin-Cg_Ls0OX.js";
|
|
60
|
+
import { p as Xr } from "./plugin-Dn96hI0e.js";
|
|
63
61
|
export {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
T as AvatarPlugin,
|
|
63
|
+
d as BackdropPlugin,
|
|
64
|
+
v as ButtonCopyPlugin,
|
|
65
|
+
b as ButtonPlugin,
|
|
68
66
|
D as ChartLinePlugin,
|
|
69
67
|
L as ChartTreemapPlugin,
|
|
70
68
|
k as DrawerPlugin,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
hr as
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
_r as ToastPlugin
|
|
69
|
+
M as DropdownPlugin,
|
|
70
|
+
E as FileDropPlugin,
|
|
71
|
+
z as FormItemPlugin,
|
|
72
|
+
j as FormPlugin,
|
|
73
|
+
J as GraphyEmptyPlugin,
|
|
74
|
+
N as GraphyLabelPlugin,
|
|
75
|
+
Q as GraphyPricePlugin,
|
|
76
|
+
V as GraphySubtitlePlugin,
|
|
77
|
+
X as GraphyTitlePlugin,
|
|
78
|
+
Z as IconPlugin,
|
|
79
|
+
$ as InputAvatarPlugin,
|
|
80
|
+
or as InputCheckboxPlugin,
|
|
81
|
+
tr as InputColorPlugin,
|
|
82
|
+
ar as InputDatePlugin,
|
|
83
|
+
nr as InputMultiplierPlugin,
|
|
84
|
+
ur as InputPasswordPlugin,
|
|
85
|
+
Pr as InputPhonePlugin,
|
|
86
|
+
gr as InputPricePlugin,
|
|
87
|
+
fr as InputRadioPlugin,
|
|
88
|
+
hr as InputSelectPlugin,
|
|
89
|
+
Tr as InputSwitchPlugin,
|
|
90
|
+
dr as InputTextPlugin,
|
|
91
|
+
br as InputTextareaPlugin,
|
|
92
|
+
vr as LinkPlugin,
|
|
93
|
+
Lr as ModalFormPlugin,
|
|
94
|
+
Dr as ModalPlugin,
|
|
95
|
+
kr as PaginationPlugin,
|
|
96
|
+
Mr as PopconfirmPlugin,
|
|
97
|
+
Er as PopoverPlugin,
|
|
98
|
+
jr as ProgressCirclePlugin,
|
|
99
|
+
zr as ProgressLinePlugin,
|
|
100
|
+
Jr as SensitiveInfoPlugin,
|
|
101
|
+
Nr as TabPlugin,
|
|
102
|
+
Qr as TablePlugin,
|
|
103
|
+
Vr as TagPlugin,
|
|
104
|
+
Xr as ToastPlugin
|
|
108
105
|
};
|
package/dist/tamandua.js
CHANGED
|
@@ -19,8 +19,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
19
|
image: string;
|
|
20
20
|
text: string;
|
|
21
21
|
role: string;
|
|
22
|
-
size: "" | "xs" | "sm" | "lg" | "xl";
|
|
23
|
-
shape: "square" | "rounded" | "circle";
|
|
22
|
+
size: "" | "xs" | "sm" | "default" | "lg" | "xl";
|
|
23
|
+
shape: "" | "square" | "rounded" | "circle";
|
|
24
24
|
disableStyle: boolean;
|
|
25
25
|
}, {}>;
|
|
26
26
|
export default _default;
|
|
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
11
11
|
outline: boolean;
|
|
12
12
|
multiple: boolean;
|
|
13
13
|
disabled: boolean;
|
|
14
|
-
|
|
14
|
+
iconProps: () => {};
|
|
15
15
|
}>, {
|
|
16
16
|
iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
|
|
17
17
|
reference: import("vue").Ref<HTMLElement | null>;
|
|
@@ -41,19 +41,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
|
|
|
41
41
|
outline: boolean;
|
|
42
42
|
multiple: boolean;
|
|
43
43
|
disabled: boolean;
|
|
44
|
-
|
|
44
|
+
iconProps: () => {};
|
|
45
45
|
}>>> & {
|
|
46
46
|
onUpload?: ((val: FileList) => any) | undefined;
|
|
47
47
|
}, {
|
|
48
|
-
size: "" | "xs" | "sm" | "lg" | "xl";
|
|
49
|
-
shape: "square" | "rounded" | "circle";
|
|
48
|
+
size: "" | "xs" | "sm" | "default" | "lg" | "xl";
|
|
49
|
+
shape: "" | "square" | "rounded" | "circle";
|
|
50
50
|
type: "button" | "submit" | "file";
|
|
51
51
|
label: string;
|
|
52
52
|
variant: "default" | "primary" | "success" | "danger" | "warning" | "link" | "transparent";
|
|
53
53
|
outline: boolean;
|
|
54
54
|
multiple: boolean;
|
|
55
55
|
disabled: boolean;
|
|
56
|
-
|
|
56
|
+
iconProps: Partial<import("../index.js").IconProps> & {
|
|
57
|
+
class?: string | undefined;
|
|
58
|
+
};
|
|
57
59
|
}, {}>, {
|
|
58
60
|
default?(_: {}): any;
|
|
59
61
|
}>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Icon, ButtonType, ElementSize, ElementShape, ButtonVariant } from '../../enums/ui.js';
|
|
2
|
+
import { IconProps } from '../Icon/types.js';
|
|
2
3
|
|
|
3
4
|
export type ButtonProps = {
|
|
4
5
|
icon?: `${Icon}`;
|
|
@@ -10,7 +11,9 @@ export type ButtonProps = {
|
|
|
10
11
|
outline?: boolean;
|
|
11
12
|
multiple?: boolean;
|
|
12
13
|
disabled?: boolean;
|
|
13
|
-
|
|
14
|
+
iconProps?: Partial<IconProps> & {
|
|
15
|
+
class?: string;
|
|
16
|
+
};
|
|
14
17
|
};
|
|
15
18
|
export type ButtonEvents = {
|
|
16
19
|
(e: "upload", val: FileList): void;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
|
|
3
|
+
type ComponentType = "t-input-text" | "t-input-phone" | Component;
|
|
2
4
|
export type InputMultiplierProps = {
|
|
3
5
|
component?: ComponentType;
|
|
4
6
|
inputProps?: any;
|
|
5
|
-
label
|
|
7
|
+
label: string;
|
|
6
8
|
listeners?: {
|
|
7
9
|
[key: string]: (...args: any[]) => void;
|
|
8
10
|
};
|
|
@@ -24,7 +24,6 @@ import { InputDate, InputDateProps, InputDateEvents } from './InputDate/index.js
|
|
|
24
24
|
import { InputColor, InputColorProps, InputColorEvents } from './InputColor/index.js';
|
|
25
25
|
import { InputCheckbox, InputCheckboxProps, InputCheckboxEvents } from './InputCheckbox/index.js';
|
|
26
26
|
import { InputAvatar, InputAvatarProps, InputAvatarEvents } from './InputAvatar/index.js';
|
|
27
|
-
import { IconButton, IconButtonProps, IconButtonEvents } from './IconButton/index.js';
|
|
28
27
|
import { Icon, IconProps } from './Icon/index.js';
|
|
29
28
|
import { GraphyTitle, GraphyTitleProps } from './GraphyTitle/index.js';
|
|
30
29
|
import { GraphySubtitle, GraphySubtitleProps } from './GraphySubtitle/index.js';
|
|
@@ -43,5 +42,5 @@ import { Button, ButtonProps, ButtonEvents } from './Button/index.js';
|
|
|
43
42
|
import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
|
|
44
43
|
import { Avatar, AvatarProps } from './Avatar/index.js';
|
|
45
44
|
|
|
46
|
-
export { Avatar, Backdrop, Button, ButtonCopy, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon,
|
|
47
|
-
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps,
|
|
45
|
+
export { Avatar, Backdrop, Button, ButtonCopy, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, Link, Modal, ModalForm, Pagination, Popconfirm, Popover, ProgressCircle, ProgressLine, SensitiveInfo, Tab, Table, Tag, Toast, };
|
|
46
|
+
export type { AvatarProps, BackdropProps, BackdropEvents, ButtonProps, ButtonEvents, ButtonCopyProps, ChartLineProps, ChartTreemapProps, DrawerProps, DrawerEvents, DropdownProps, DropdownEvents, FileDropProps, FileDropEvents, FormProps, FormEvents, FormItemProps, GraphyEmptyProps, GraphyLabelProps, GraphyPriceProps, GraphySubtitleProps, GraphyTitleProps, IconProps, InputAvatarProps, InputAvatarEvents, InputCheckboxProps, InputCheckboxEvents, InputColorProps, InputColorEvents, InputDateProps, InputDateEvents, InputMultiplierEvents, InputPasswordProps, InputPasswordEvents, InputPhoneProps, InputPhoneEvents, InputPriceProps, InputPriceEvents, InputRadioProps, InputRadioGroupProps, InputRadioGroupEvents, InputSelectProps, InputSelectEvents, InputSwitchProps, InputSwitchEvents, InputMultiplierProps, InputTextProps, InputTextEvents, InputTextareaProps, InputTextareaEvents, LinkProps, LinkEvents, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
|
|
@@ -24,7 +24,6 @@ import { InputDatePlugin } from './InputDate/index.js';
|
|
|
24
24
|
import { InputColorPlugin } from './InputColor/index.js';
|
|
25
25
|
import { InputCheckboxPlugin } from './InputCheckbox/index.js';
|
|
26
26
|
import { InputAvatarPlugin } from './InputAvatar/index.js';
|
|
27
|
-
import { IconButtonPlugin } from './IconButton/index.js';
|
|
28
27
|
import { IconPlugin } from './Icon/index.js';
|
|
29
28
|
import { GraphyTitlePlugin } from './GraphyTitle/index.js';
|
|
30
29
|
import { GraphySubtitlePlugin } from './GraphySubtitle/index.js';
|
|
@@ -43,4 +42,4 @@ import { ButtonPlugin } from './Button/index.js';
|
|
|
43
42
|
import { BackdropPlugin } from './Backdrop/index.js';
|
|
44
43
|
import { AvatarPlugin } from './Avatar/index.js';
|
|
45
44
|
|
|
46
|
-
export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin,
|
|
45
|
+
export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, LinkPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
|
package/dist/types/enums/ui.d.ts
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
export declare const enum ElementSize {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
2
|
+
Unset = "",
|
|
3
|
+
ExtraSmall = "xs",
|
|
4
|
+
Small = "sm",
|
|
5
|
+
Default = "default",
|
|
6
|
+
Large = "lg",
|
|
7
|
+
ExtraLarge = "xl"
|
|
7
8
|
}
|
|
8
9
|
export declare const enum ElementShape {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
Unset = "",
|
|
11
|
+
Square = "square",
|
|
12
|
+
Rounded = "rounded",
|
|
13
|
+
Circle = "circle"
|
|
12
14
|
}
|
|
13
15
|
export declare const enum ButtonVariant {
|
|
14
16
|
DEFAULT = "default",
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,14 +2,10 @@ export type Website = {
|
|
|
2
2
|
url: string;
|
|
3
3
|
uri?: string;
|
|
4
4
|
www?: boolean;
|
|
5
|
-
|
|
5
|
+
https?: boolean;
|
|
6
6
|
title?: string;
|
|
7
7
|
updatedAt?: string;
|
|
8
8
|
favicon?: string;
|
|
9
9
|
faviconCache?: string;
|
|
10
10
|
faviconLink?: string;
|
|
11
11
|
};
|
|
12
|
-
export type WebsiteMinified = {
|
|
13
|
-
f: string;
|
|
14
|
-
u: string;
|
|
15
|
-
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var r = /* @__PURE__ */ ((e) => (e.Unset = "", e.ExtraSmall = "xs", e.Small = "sm", e.Default = "default", e.Large = "lg", e.ExtraLarge = "xl", e))(r || {}), l = /* @__PURE__ */ ((e) => (e.Unset = "", e.Square = "square", e.Rounded = "rounded", e.Circle = "circle", e))(l || {}), a = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e.LINK = "link", e.TRANSPARENT = "transparent", e))(a || {}), u = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.PRIMARY = "primary", e.SUCCESS = "success", e.DANGER = "danger", e.WARNING = "warning", e))(u || {}), 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 || {}), g = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.INCREASE = "increase", e.DECREASE = "decrease", e.AUTO = "auto", e))(g || {}), d = /* @__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))(d || {});
|
|
2
|
+
export {
|
|
3
|
+
a as B,
|
|
4
|
+
i as E,
|
|
5
|
+
g as G,
|
|
6
|
+
d as I,
|
|
7
|
+
C as L,
|
|
8
|
+
u as T,
|
|
9
|
+
r as a,
|
|
10
|
+
l as b,
|
|
11
|
+
s as c,
|
|
12
|
+
t as d
|
|
13
|
+
};
|
package/package.json
CHANGED
package/volar.d.ts
CHANGED
|
@@ -17,7 +17,6 @@ declare module "vue" {
|
|
|
17
17
|
TGraphySubtitle: (typeof import("@caipira/tamandua/dist/types/components/GraphySubtitle"))["GraphySubtitle"];
|
|
18
18
|
TGraphyTitle: (typeof import("@caipira/tamandua/dist/types/components/GraphyTitle"))["GraphyTitle"];
|
|
19
19
|
TIcon: (typeof import("@caipira/tamandua/dist/types/components/Icon"))["Icon"];
|
|
20
|
-
TIconButton: (typeof import("@caipira/tamandua/dist/types/components/IconButton"))["IconButton"];
|
|
21
20
|
TInputAvatar: (typeof import("@caipira/tamandua/dist/types/components/InputAvatar"))["InputAvatar"];
|
|
22
21
|
TInputCheckbox: (typeof import("@caipira/tamandua/dist/types/components/InputCheckbox"))["InputCheckbox"];
|
|
23
22
|
TInputColor: (typeof import("@caipira/tamandua/dist/types/components/InputColor"))["InputColor"];
|
|
@@ -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
|
-
};
|
package/dist/Button-42CN8gSf.js
DELETED
package/dist/IconButton.js
DELETED
|
@@ -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
|
-
};
|