@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.
Files changed (121) hide show
  1. package/README.md +3 -1
  2. package/dist/Avatar.js +2 -2
  3. 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
  4. package/dist/{Button-BVshp51o.js → Button-zA2axPFA.js} +3 -3
  5. package/dist/Button.css +1 -1
  6. package/dist/Button.js +2 -2
  7. package/dist/Button.vue_vue_type_style_index_0_scoped_39c3f26a_lang-tn6M5dNB.js +156 -0
  8. package/dist/ButtonCopy.js +2 -2
  9. 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
  10. package/dist/ChartTreemap.js +2 -2
  11. 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
  12. package/dist/Dropdown.js +2 -2
  13. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-DRsd_7yO.js +153 -0
  14. package/dist/Form.js +2 -2
  15. package/dist/{Form.vue_vue_type_script_setup_true_lang-DIh6jDi0.js → Form.vue_vue_type_script_setup_true_lang-GWUrHIHW.js} +10 -10
  16. package/dist/GraphyPrice.js +2 -2
  17. package/dist/{GraphyPrice.vue_vue_type_script_setup_true_lang-BxKdnVzF.js → GraphyPrice.vue_vue_type_script_setup_true_lang-GY5TUNz8.js} +1 -1
  18. package/dist/Icon.js +2 -2
  19. 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
  20. package/dist/IconButton.js +2 -2
  21. package/dist/IconButton.vue_vue_type_script_setup_true_lang-CfILJjtd.js +91 -0
  22. package/dist/InputPassword.js +2 -2
  23. package/dist/{InputPassword.vue_vue_type_script_setup_true_lang-kknXv5I-.js → InputPassword.vue_vue_type_script_setup_true_lang-DvHndXqE.js} +1 -1
  24. package/dist/InputSelect.js +2 -2
  25. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-B93CKCR3.js +227 -0
  26. package/dist/Link.js +6 -0
  27. package/dist/Link.vue_vue_type_script_setup_true_lang-BJVsokc1.js +50 -0
  28. package/dist/ModalForm.js +2 -2
  29. package/dist/{ModalForm.vue_vue_type_script_setup_true_lang-CUk3DI3O.js → ModalForm.vue_vue_type_script_setup_true_lang-CZBGpJCs.js} +2 -2
  30. package/dist/Popconfirm.js +2 -2
  31. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-CGs37-Nn.js +63 -0
  32. package/dist/Popover.js +2 -2
  33. 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
  34. package/dist/{ProgressLine-CfZKbUcx.js → ProgressLine-1ZHGvPsm.js} +16 -16
  35. package/dist/ProgressLine.css +1 -1
  36. package/dist/ProgressLine.js +2 -2
  37. package/dist/Tag.js +2 -2
  38. package/dist/Tag.vue_vue_type_script_setup_true_lang-BohgPbhp.js +70 -0
  39. package/dist/Toast.js +2 -2
  40. 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
  41. package/dist/alert-octagon-BIUtdQBd.js +5 -0
  42. package/dist/close-circle-Bvyw4JKW.js +5 -0
  43. package/dist/components.js +41 -39
  44. package/dist/enums.js +7 -6
  45. package/dist/{plugin-DLUdf4JV.js → plugin-BAUSOmg1.js} +1 -1
  46. package/dist/{plugin-Cp-YlP7M.js → plugin-BJT9iz31.js} +1 -1
  47. package/dist/{plugin-DYnmuOWz.js → plugin-BRY5cGCc.js} +1 -1
  48. package/dist/{plugin-Bj5VaUuH.js → plugin-BibUAa04.js} +1 -1
  49. package/dist/{plugin-7M6YmkX3.js → plugin-BkWUeqrs.js} +1 -1
  50. package/dist/plugin-C8V0p_Rv.js +10 -0
  51. package/dist/{plugin-CIK2QwfI.js → plugin-CCH1Q2cN.js} +1 -1
  52. package/dist/{plugin-BLdCHEGS.js → plugin-CQQde2zY.js} +1 -1
  53. package/dist/{plugin-D9vhvf_z.js → plugin-CX1WsfRO.js} +1 -1
  54. package/dist/{plugin-DAoreRkB.js → plugin-CqcekUXz.js} +1 -1
  55. package/dist/{plugin-A7Ru6-Ae.js → plugin-D3RtcfcX.js} +1 -1
  56. package/dist/{plugin-Ce0OhiOa.js → plugin-D9DcbHK3.js} +1 -1
  57. package/dist/{plugin-DGx9kLvd.js → plugin-DXEt6BIK.js} +1 -1
  58. package/dist/{plugin-CNoSZVuJ.js → plugin-DmfiHplR.js} +1 -1
  59. package/dist/{plugin-BURDNZOq.js → plugin-Duvcbc38.js} +1 -1
  60. package/dist/{plugin-AFgt8nH4.js → plugin-DyiLV5Qf.js} +1 -1
  61. package/dist/{plugin-c1rFpmlH.js → plugin-JgFOdNjC.js} +1 -1
  62. package/dist/{plugin-DmkLbCIU.js → plugin-zLwlm_b-.js} +1 -1
  63. package/dist/plugins-DZGnWkJf.js +112 -0
  64. package/dist/plugins.js +100 -97
  65. package/dist/tamandua.js +1 -1
  66. package/dist/types/components/Avatar/Avatar.story.d.ts +18 -5
  67. package/dist/types/components/Button/Button.story.d.ts +15 -44
  68. package/dist/types/components/Button/Button.vue.d.ts +5 -5
  69. package/dist/types/components/Button/types.d.ts +2 -2
  70. package/dist/types/components/ChartLine/ChartLine.story.d.ts +18 -12
  71. package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +16 -2
  72. package/dist/types/components/ChartTreemap/types.d.ts +8 -2
  73. package/dist/types/components/Dropdown/types.d.ts +1 -1
  74. package/dist/types/components/Form/Form.vue.d.ts +4 -4
  75. package/dist/types/components/Form/types.d.ts +2 -2
  76. package/dist/types/components/GraphyPrice/GraphyPrice.story.d.ts +24 -2
  77. package/dist/types/components/Icon/Icon.story.d.ts +26 -0
  78. package/dist/types/components/Icon/types.d.ts +1 -1
  79. package/dist/types/components/IconButton/IconButton.vue.d.ts +5 -45
  80. package/dist/types/components/IconButton/types.d.ts +1 -7
  81. package/dist/types/components/InputDate/InputDate.story.d.ts +9 -2
  82. package/dist/types/components/InputMultiplier/input-multiplier.story.d.ts +8 -3
  83. package/dist/types/components/InputRadio/InputRadioGroup.story.d.ts +6 -2
  84. package/dist/types/components/InputSelect/InputSelect.story.d.ts +37 -4
  85. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +1 -1
  86. package/dist/types/components/InputSelect/types.d.ts +0 -1
  87. package/dist/types/components/InputSwitch/InputSwitch.story.d.ts +10 -18
  88. package/dist/types/components/Link/Link.story.d.ts +20 -0
  89. package/dist/types/components/Link/Link.vue.d.ts +46 -0
  90. package/dist/types/components/Link/index.d.ts +5 -0
  91. package/dist/types/components/Link/plugin.d.ts +4 -0
  92. package/dist/types/components/Link/types.d.ts +11 -0
  93. package/dist/types/components/Pagination/Pagination.story.d.ts +6 -1
  94. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +1 -3
  95. package/dist/types/components/Popconfirm/types.d.ts +1 -1
  96. package/dist/types/components/Popover/Popover.vue.d.ts +0 -3
  97. package/dist/types/components/Popover/types.d.ts +0 -1
  98. package/dist/types/components/ProgressCircle/ProgressCircle.story.d.ts +13 -3
  99. package/dist/types/components/ProgressLine/ProgressLine.story.d.ts +12 -3
  100. package/dist/types/components/Table/Table.story.d.ts +16 -3
  101. package/dist/types/components/Tag/Tag.story.d.ts +29 -0
  102. package/dist/types/components/index.d.ts +3 -2
  103. package/dist/types/components/plugins.d.ts +2 -1
  104. package/dist/types/enums/index.d.ts +2 -2
  105. package/dist/types/enums/ui.d.ts +13 -4
  106. package/dist/types/i18n.d.ts +6 -0
  107. package/dist/types/types/form.d.ts +1 -1
  108. package/dist/types/types/ui.d.ts +2 -2
  109. package/dist/ui-D3dPdT4S.js +13 -0
  110. package/package.json +1 -2
  111. package/volar.d.ts +1 -0
  112. package/dist/Button.vue_vue_type_style_index_0_scoped_8639b950_lang-C9uKZk0F.js +0 -143
  113. package/dist/Dropdown.vue_vue_type_script_setup_true_lang-BUcFKrav.js +0 -135
  114. package/dist/IconButton.vue_vue_type_script_setup_true_lang-DEL6iIAu.js +0 -106
  115. package/dist/InputSelect.vue_vue_type_script_setup_true_lang-ByRPZrIg.js +0 -216
  116. package/dist/Popconfirm.vue_vue_type_script_setup_true_lang-DWMW-u7V.js +0 -65
  117. package/dist/Tag.vue_vue_type_script_setup_true_lang-vLIykMPS.js +0 -63
  118. package/dist/alert-octagon-D8wznooU.js +0 -4
  119. package/dist/close-circle-Bsf9_pUR.js +0 -4
  120. package/dist/plugins-DNNQp3qM.js +0 -109
  121. package/dist/ui-DtSy-y9T.js +0 -11
@@ -1,39 +1,17 @@
1
- import { ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
1
+ import { ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
2
  import { IconButtonProps } from './types.js';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
4
+ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
5
5
  href: string;
6
6
  type: ButtonType;
7
7
  size: ElementSize;
8
8
  label: string;
9
9
  shape: ElementShape;
10
10
  target: undefined;
11
- variant: ElementVariant;
12
11
  multiple: boolean;
13
12
  isOutline: boolean;
14
13
  isDisabled: boolean;
15
- injectStyle: () => {
16
- icon: string;
17
- };
18
- disableStyle: boolean;
19
- }>, {
20
- iconReference: import("vue").Ref<import("vue").CreateComponentPublicInstance<Readonly<any>, {
21
- reference: import("vue").Ref<HTMLElement | null>;
22
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<any>, {} | {
23
- [x: string]: any;
24
- }, true, {}, {}, {
25
- P: {};
26
- B: {};
27
- D: {};
28
- C: {};
29
- M: {};
30
- Defaults: {};
31
- }, Readonly<any>, {
32
- reference: import("vue").Ref<HTMLElement | null>;
33
- }, {}, {}, {}, {} | {
34
- [x: string]: any;
35
- }> | null>;
36
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
37
15
  upload: (val: FileList) => void;
38
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<IconButtonProps>, {
39
17
  href: string;
@@ -42,34 +20,21 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
42
20
  label: string;
43
21
  shape: ElementShape;
44
22
  target: undefined;
45
- variant: ElementVariant;
46
23
  multiple: boolean;
47
24
  isOutline: boolean;
48
25
  isDisabled: boolean;
49
- injectStyle: () => {
50
- icon: string;
51
- };
52
- disableStyle: boolean;
53
26
  }>>> & {
54
27
  onUpload?: ((val: FileList) => any) | undefined;
55
28
  }, {
56
29
  size: "" | "xs" | "sm" | "lg" | "xl";
57
30
  shape: "square" | "rounded" | "circle";
58
- disableStyle: boolean;
59
- type: "button" | "submit" | "link" | "router-link" | "file";
31
+ type: "button" | "submit" | "file";
60
32
  label: string;
61
33
  href: string;
62
34
  target: string;
63
- variant: "default" | "primary" | "secondary" | "success" | "danger" | "warning" | "transparent";
64
35
  multiple: boolean;
65
- isOutline: boolean;
66
36
  isDisabled: boolean;
67
- injectStyle: {
68
- icon: string;
69
- };
70
- }, {}>, {
71
- default?(_: {}): any;
72
- }>;
37
+ }, {}>;
73
38
  export default _default;
74
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
75
40
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -88,8 +53,3 @@ type __VLS_WithDefaults<P, D> = {
88
53
  type __VLS_Prettify<T> = {
89
54
  [K in keyof T]: T[K];
90
55
  } & {};
91
- type __VLS_WithTemplateSlots<T, S> = T & {
92
- new (): {
93
- $slots: S;
94
- };
95
- };
@@ -1,4 +1,4 @@
1
- import { Icon, ButtonType, ElementSize, ElementShape, ElementVariant } from '../../enums/ui.js';
1
+ import { Icon, ButtonType, ElementSize, ElementShape } from '../../enums/ui.js';
2
2
 
3
3
  export type IconButtonProps = {
4
4
  to?: any;
@@ -9,14 +9,8 @@ export type IconButtonProps = {
9
9
  label?: string;
10
10
  shape?: `${ElementShape}`;
11
11
  target?: string;
12
- variant?: `${ElementVariant}`;
13
12
  multiple?: boolean;
14
- isOutline?: boolean;
15
13
  isDisabled?: boolean;
16
- injectStyle?: {
17
- icon: string;
18
- };
19
- disableStyle?: boolean;
20
14
  };
21
15
  export type IconButtonEvents = {
22
16
  (e: "upload", val: FileList): void;
@@ -1,6 +1,13 @@
1
1
  declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: string;
5
+ };
3
6
  };
4
7
  export default _default;
5
- declare const Default: any;
6
- export { Default };
8
+ export declare const Date: (args: any) => {
9
+ setup(): {
10
+ args: any;
11
+ };
12
+ template: string;
13
+ };
@@ -1,4 +1,4 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
3
  args: {
4
4
  label: string;
@@ -15,5 +15,10 @@ declare const story: {
15
15
  };
16
16
  };
17
17
  };
18
- declare const Default: any;
19
- export { story as default, Default };
18
+ export default _default;
19
+ export declare const Multiplier: (args: any) => {
20
+ setup(): {
21
+ args: any;
22
+ };
23
+ template: string;
24
+ };
@@ -3,5 +3,9 @@ declare const _default: {
3
3
  args: {};
4
4
  };
5
5
  export default _default;
6
- declare const Default: any;
7
- export { Default };
6
+ export declare const Radio: (args: any) => {
7
+ setup(): {
8
+ args: any;
9
+ };
10
+ template: string;
11
+ };
@@ -1,6 +1,39 @@
1
- declare const story: {
1
+ import { APISearchFilters } from '../../types/api.js';
2
+ import { SelectOption } from '../../types/form.js';
3
+ import { Pagination } from '../../types/ui.js';
4
+
5
+ declare const _default: {
2
6
  title: string;
7
+ args: {
8
+ placeholder: string;
9
+ };
10
+ };
11
+ export default _default;
12
+ export declare const Select: (args: any) => {
13
+ setup(): {
14
+ args: any;
15
+ items1: {
16
+ label: string;
17
+ value: string;
18
+ }[];
19
+ items2: {
20
+ label: {
21
+ id: number;
22
+ name: string;
23
+ thumbnail: string;
24
+ };
25
+ value: number;
26
+ }[];
27
+ items3: {
28
+ label: string;
29
+ value: string;
30
+ }[];
31
+ value3: import('vue').Ref<never[]>;
32
+ search(filters?: APISearchFilters): Promise<{
33
+ items: SelectOption[];
34
+ pagination: Pagination;
35
+ }>;
36
+ mapper(book: any): SelectOption;
37
+ };
38
+ template: string;
3
39
  };
4
- declare const Default: any;
5
- declare const With_Images: any;
6
- export { story as default, Default, With_Images };
@@ -1,7 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
2
  [x: string]: any;
3
3
  }, {}>, {
4
- selection?(_: any): any;
4
+ selection?(_: {}): any;
5
5
  default?(_: any): any;
6
6
  }>;
7
7
  export default _default;
@@ -17,7 +17,6 @@ export type InputSelectProps = {
17
17
  pagination: Pagination;
18
18
  }>;
19
19
  multiple?: boolean;
20
- identifier?: string;
21
20
  modelValue?: SelectValue;
22
21
  placeholder?: string;
23
22
  initialValue?: any;
@@ -1,29 +1,21 @@
1
1
  declare const _default: {
2
2
  title: string;
3
- args: {};
3
+ args: {
4
+ label: string;
5
+ disabled: boolean;
6
+ };
4
7
  argTypes: {
5
8
  disabled: {
6
9
  options: boolean[];
7
10
  control: string;
8
11
  description: string;
9
- table: {
10
- type: {
11
- summary: string;
12
- };
13
- defaultValue: {
14
- summary: boolean;
15
- };
16
- };
17
- };
18
- label: {
19
- table: {
20
- type: {
21
- summary: string;
22
- };
23
- };
24
12
  };
25
13
  };
26
14
  };
27
15
  export default _default;
28
- declare const Default: any;
29
- export { Default };
16
+ export declare const Switch: (args: any) => {
17
+ setup(): {
18
+ args: any;
19
+ };
20
+ template: string;
21
+ };
@@ -0,0 +1,20 @@
1
+ declare const _default: {
2
+ title: string;
3
+ args: {
4
+ label: string;
5
+ href: string;
6
+ };
7
+ argTypes: {
8
+ target: {
9
+ options: string[];
10
+ control: string;
11
+ };
12
+ };
13
+ };
14
+ export default _default;
15
+ export declare const Link: (args: any) => {
16
+ setup(): {
17
+ args: any;
18
+ };
19
+ template: string;
20
+ };
@@ -0,0 +1,46 @@
1
+ import { LinkType } from '../../enums/ui.js';
2
+ import { LinkProps } from './types.js';
3
+
4
+ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
5
+ link: string;
6
+ type: LinkType;
7
+ label: string;
8
+ target: string;
9
+ disabled: boolean;
10
+ }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
11
+ link: string;
12
+ type: LinkType;
13
+ label: string;
14
+ target: string;
15
+ disabled: boolean;
16
+ }>>>, {
17
+ type: "default" | "router";
18
+ label: string;
19
+ target: "_self" | "_blank" | "_parent" | "_top" | "_unfencedTop";
20
+ disabled: boolean;
21
+ }, {}>, {
22
+ default?(_: {}): any;
23
+ }>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: import('vue').PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ default: D[K];
37
+ }> : P[K];
38
+ };
39
+ type __VLS_Prettify<T> = {
40
+ [K in keyof T]: T[K];
41
+ } & {};
42
+ type __VLS_WithTemplateSlots<T, S> = T & {
43
+ new (): {
44
+ $slots: S;
45
+ };
46
+ };
@@ -0,0 +1,5 @@
1
+ import { default as LinkPlugin } from './plugin.js';
2
+ import { default as Link } from './Link.vue';
3
+
4
+ export { Link, LinkPlugin };
5
+ export type { LinkProps, LinkEvents } from './types.js';
@@ -0,0 +1,4 @@
1
+ import { Plugin } from 'vue';
2
+
3
+ declare const _default: Plugin;
4
+ export default _default;
@@ -0,0 +1,11 @@
1
+ import { LinkType } from '../../enums/ui.js';
2
+
3
+ export type LinkProps = {
4
+ to?: object;
5
+ href?: string;
6
+ type?: `${LinkType}`;
7
+ label?: string;
8
+ target?: "_self" | "_blank" | "_parent" | "_top" | "_unfencedTop";
9
+ disabled?: boolean;
10
+ };
11
+ export type LinkEvents = {};
@@ -2,4 +2,9 @@ declare const _default: {
2
2
  title: string;
3
3
  };
4
4
  export default _default;
5
- export declare const Pagination: any;
5
+ export declare const Pagination: (args: any) => {
6
+ setup(): {
7
+ args: any;
8
+ };
9
+ template: string;
10
+ };
@@ -1,9 +1,7 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<any, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<any>, {} | {
2
2
  [x: string]: any;
3
3
  }, {}>, {
4
- default?(_: {
5
- onClick: () => void;
6
- }): any;
4
+ default?(_: {}): any;
7
5
  }>;
8
6
  export default _default;
9
7
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { ElementPosition } from '../../enums/ui.js';
2
2
 
3
3
  export type PopconfirmProps = {
4
- title?: string;
4
+ message?: string;
5
5
  placement?: `${ElementPosition}`;
6
6
  };
7
7
  export type PopconfirmEvents = {
@@ -6,7 +6,6 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
6
6
  disabled: boolean;
7
7
  isVisible: null;
8
8
  placement: ElementPosition;
9
- disableStyle: boolean;
10
9
  slotWrapperClasses: string;
11
10
  }>, {
12
11
  visible: import("vue").Ref<boolean>;
@@ -15,10 +14,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
15
14
  disabled: boolean;
16
15
  isVisible: null;
17
16
  placement: ElementPosition;
18
- disableStyle: boolean;
19
17
  slotWrapperClasses: string;
20
18
  }>>>, {
21
- disableStyle: boolean;
22
19
  disabled: boolean;
23
20
  isVisible: boolean | null;
24
21
  placement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
@@ -5,6 +5,5 @@ export type PopoverProps = {
5
5
  disabled?: boolean;
6
6
  isVisible?: boolean | null;
7
7
  placement?: `${ElementPosition}`;
8
- disableStyle?: boolean;
9
8
  slotWrapperClasses?: string;
10
9
  };
@@ -1,5 +1,15 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: number;
5
+ width: number;
6
+ strokeWidth: number;
7
+ };
8
+ };
9
+ export default _default;
10
+ export declare const Circle: (args: any) => {
11
+ setup(): {
12
+ args: any;
13
+ };
14
+ template: string;
3
15
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -1,5 +1,14 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ value: number;
5
+ height: number;
6
+ };
7
+ };
8
+ export default _default;
9
+ export declare const Line: (args: any) => {
10
+ setup(): {
11
+ args: any;
12
+ };
13
+ template: string;
3
14
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -1,5 +1,18 @@
1
- declare const story: {
1
+ declare const _default: {
2
2
  title: string;
3
+ args: {
4
+ loading: boolean;
5
+ data: any;
6
+ columns: {
7
+ title: string;
8
+ property: string;
9
+ }[];
10
+ };
11
+ };
12
+ export default _default;
13
+ export declare const Table: (args: any) => {
14
+ setup(): {
15
+ args: any;
16
+ };
17
+ template: string;
3
18
  };
4
- declare const Default: any;
5
- export { story as default, Default };
@@ -0,0 +1,29 @@
1
+ import { ElementSize } from '../../enums/ui.js';
2
+
3
+ declare const _default: {
4
+ title: string;
5
+ args: {
6
+ text: string;
7
+ color: string;
8
+ hasCloseButton: boolean;
9
+ confirmClose: boolean;
10
+ size: ElementSize;
11
+ };
12
+ argTypes: {
13
+ size: {
14
+ control: string;
15
+ options: ElementSize[];
16
+ };
17
+ hasCloseButton: {
18
+ control: string;
19
+ options: boolean[];
20
+ };
21
+ };
22
+ };
23
+ export default _default;
24
+ export declare const Tag: (args: any) => {
25
+ setup(): {
26
+ args: any;
27
+ };
28
+ template: string;
29
+ };
@@ -10,6 +10,7 @@ import { Popconfirm, PopconfirmProps, PopconfirmEvents } from './Popconfirm/inde
10
10
  import { Pagination, PaginationProps, PaginationEvents } from './Pagination/index.js';
11
11
  import { ModalForm, ModalFormProps, ModalFormEvents } from './ModalForm/index.js';
12
12
  import { Modal, ModalProps, ModalEvents } from './Modal/index.js';
13
+ import { Link, LinkProps, LinkEvents } from './Link/index.js';
13
14
  import { InputTextarea, InputTextareaProps, InputTextareaEvents } from './InputTextarea/index.js';
14
15
  import { InputText, InputTextProps, InputTextEvents } from './InputText/index.js';
15
16
  import { InputSwitch, InputSwitchProps, InputSwitchEvents } from './InputSwitch/index.js';
@@ -42,5 +43,5 @@ import { Button, ButtonProps, ButtonEvents } from './Button/index.js';
42
43
  import { Backdrop, BackdropProps, BackdropEvents } from './Backdrop/index.js';
43
44
  import { Avatar, AvatarProps } from './Avatar/index.js';
44
45
 
45
- export { Avatar, Backdrop, Button, ButtonCopy, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, InputAvatar, InputCheckbox, InputColor, InputDate, InputMultiplier, InputPassword, InputPhone, InputPrice, InputRadio, InputSelect, InputSwitch, InputText, InputTextarea, 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, IconButtonProps, IconButtonEvents, 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, ModalProps, ModalEvents, ModalFormProps, ModalFormEvents, PaginationProps, PaginationEvents, PopconfirmProps, PopconfirmEvents, PopoverProps, ProgressCircleProps, ProgressLineProps, SensitiveInfoProps, TabProps, TableProps, TableEvents, TagEvents, TagProps, ToastProps, ToastEvents, };
46
+ export { Avatar, Backdrop, Button, ButtonCopy, ChartLine, ChartTreemap, Drawer, Dropdown, FileDrop, Form, FormItem, GraphyEmpty, GraphyLabel, GraphyPrice, GraphySubtitle, GraphyTitle, Icon, IconButton, 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, };
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, IconButtonProps, IconButtonEvents, 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, };
@@ -10,6 +10,7 @@ import { PopconfirmPlugin } from './Popconfirm/index.js';
10
10
  import { PaginationPlugin } from './Pagination/index.js';
11
11
  import { ModalFormPlugin } from './ModalForm/index.js';
12
12
  import { ModalPlugin } from './Modal/index.js';
13
+ import { LinkPlugin } from './Link/index.js';
13
14
  import { InputTextareaPlugin } from './InputTextarea/index.js';
14
15
  import { InputTextPlugin } from './InputText/index.js';
15
16
  import { InputSwitchPlugin } from './InputSwitch/index.js';
@@ -42,4 +43,4 @@ import { ButtonPlugin } from './Button/index.js';
42
43
  import { BackdropPlugin } from './Backdrop/index.js';
43
44
  import { AvatarPlugin } from './Avatar/index.js';
44
45
 
45
- export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, IconButtonPlugin, InputAvatarPlugin, InputCheckboxPlugin, InputColorPlugin, InputDatePlugin, InputMultiplierPlugin, InputPasswordPlugin, InputPhonePlugin, InputPricePlugin, InputRadioPlugin, InputSelectPlugin, InputSwitchPlugin, InputTextPlugin, InputTextareaPlugin, ModalPlugin, ModalFormPlugin, PaginationPlugin, PopconfirmPlugin, PopoverPlugin, ProgressCirclePlugin, ProgressLinePlugin, SensitiveInfoPlugin, TabPlugin, TablePlugin, TagPlugin, ToastPlugin, };
46
+ export { AvatarPlugin, BackdropPlugin, ButtonPlugin, ButtonCopyPlugin, ChartLinePlugin, ChartTreemapPlugin, DrawerPlugin, DropdownPlugin, FileDropPlugin, FormPlugin, FormItemPlugin, GraphyEmptyPlugin, GraphyLabelPlugin, GraphyPricePlugin, GraphySubtitlePlugin, GraphyTitlePlugin, IconPlugin, IconButtonPlugin, 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, };
@@ -1,4 +1,4 @@
1
- import { ElementPosition, ElementVariant, Icon } from './ui.js';
1
+ import { ElementPosition, ButtonVariant, ToastVariant, Icon } from './ui.js';
2
2
  import { FormDataTypes, FormSubmissionFormat } from './form.js';
3
3
 
4
- export { ElementPosition, ElementVariant, FormDataTypes, FormSubmissionFormat, Icon, };
4
+ export { ElementPosition, ButtonVariant, ToastVariant, FormDataTypes, FormSubmissionFormat, Icon, };
@@ -10,15 +10,22 @@ export declare const enum ElementShape {
10
10
  ROUNDED = "rounded",
11
11
  CIRCLE = "circle"
12
12
  }
13
- export declare const enum ElementVariant {
13
+ export declare const enum ButtonVariant {
14
14
  DEFAULT = "default",
15
15
  PRIMARY = "primary",
16
- SECONDARY = "secondary",
17
16
  SUCCESS = "success",
18
17
  DANGER = "danger",
19
18
  WARNING = "warning",
19
+ LINK = "link",
20
20
  TRANSPARENT = "transparent"
21
21
  }
22
+ export declare const enum ToastVariant {
23
+ DEFAULT = "default",
24
+ PRIMARY = "primary",
25
+ SUCCESS = "success",
26
+ DANGER = "danger",
27
+ WARNING = "warning"
28
+ }
22
29
  export declare const enum ElementTrigger {
23
30
  CLICK = "click",
24
31
  HOVER = "hover"
@@ -40,10 +47,12 @@ export declare const enum ElementPosition {
40
47
  export declare const enum ButtonType {
41
48
  BUTTON = "button",
42
49
  SUBMIT = "submit",
43
- LINK = "link",
44
- ROUTER_LINK = "router-link",
45
50
  FILE = "file"
46
51
  }
52
+ export declare const enum LinkType {
53
+ Default = "default",
54
+ Router = "router"
55
+ }
47
56
  export declare const enum GraphyPriceVariant {
48
57
  DEFAULT = "default",
49
58
  INCREASE = "increase",
@@ -11,5 +11,11 @@ declare const _default: import('vue-i18n').I18n<{}, {}, {
11
11
  currency: string;
12
12
  };
13
13
  };
14
+ USD: {
15
+ currency: {
16
+ style: "currency";
17
+ currency: string;
18
+ };
19
+ };
14
20
  }, string, false>;
15
21
  export default _default;
@@ -11,7 +11,7 @@ export type SelectOption = {
11
11
  /** Optional icon, to be appended to the label */
12
12
  icon?: `${Icon}`;
13
13
  /** Option label, either a string or an object containing the props necessary to render the option */
14
- label: any;
14
+ label: string | object;
15
15
  /** Optional type, used to diferentiate options from one another */
16
16
  type?: string;
17
17
  /** Optional renderer, containing the fully resolved path to the component that will be used
@@ -1,4 +1,4 @@
1
- import { ElementPosition, ElementVariant } from '../enums/ui.js';
1
+ import { ElementPosition, ToastVariant } from '../enums/ui.js';
2
2
 
3
3
  export interface Pagination {
4
4
  /** Amount of items in current page */
@@ -28,6 +28,6 @@ export type Tab = {
28
28
  export type Message = {
29
29
  id: number;
30
30
  message: string;
31
- variant: `${ElementVariant}`;
31
+ variant: `${ToastVariant}`;
32
32
  position: `${ElementPosition}`;
33
33
  };
@@ -0,0 +1,13 @@
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
+ };