@caipira/tamandua 0.0.60 → 0.0.62

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 (44) hide show
  1. package/dist/ChartTreemap.js +2 -2
  2. package/dist/{ChartTreemap.vue_vue_type_script_setup_true_lang-B7eDxuIH.js → ChartTreemap.vue_vue_type_script_setup_true_lang-DKaI62CD.js} +48 -49
  3. package/dist/InputPrice.js +2 -2
  4. package/dist/{InputPrice.vue_vue_type_script_setup_true_lang-C2wDVwnm.js → InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js} +20 -20
  5. package/dist/InputSelect.js +2 -2
  6. package/dist/{InputSelect.vue_vue_type_script_setup_true_lang-DgMRjecc.js → InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js} +79 -78
  7. package/dist/components.js +3 -3
  8. package/dist/date.js +170 -354
  9. package/dist/{plugin-D8EMKVQ9.js → plugin-B97_3CZA.js} +1 -1
  10. package/dist/{plugin-fGlPPiqA.js → plugin-CZiSoM73.js} +1 -1
  11. package/dist/{plugin-CQ-FpZui.js → plugin-RM2wZuwL.js} +1 -1
  12. package/dist/{plugins-CpDwnGUh.js → plugins-DD6fcgTJ.js} +4 -4
  13. package/dist/plugins.js +4 -4
  14. package/dist/tamandua.js +1 -1
  15. package/dist/types/components/Avatar/Avatar.vue.d.ts +2 -2
  16. package/dist/types/components/Button/Button.vue.d.ts +13 -11
  17. package/dist/types/components/ChartLine/ChartLine.vue.d.ts +2 -2
  18. package/dist/types/components/ChartTreemap/ChartTreemap.story.d.ts +0 -1
  19. package/dist/types/components/ChartTreemap/types.d.ts +4 -7
  20. package/dist/types/components/Drawer/Drawer.vue.d.ts +8 -6
  21. package/dist/types/components/Dropdown/Dropdown.vue.d.ts +33 -31
  22. package/dist/types/components/Form/Form.vue.d.ts +8 -76
  23. package/dist/types/components/FormItem/FormItem.vue.d.ts +4 -2
  24. package/dist/types/components/GraphyLabel/GraphyLabel.vue.d.ts +4 -2
  25. package/dist/types/components/GraphyPrice/GraphyPrice.vue.d.ts +1 -1
  26. package/dist/types/components/Icon/Icon.vue.d.ts +1 -1
  27. package/dist/types/components/InputPrice/service.d.ts +1 -1
  28. package/dist/types/components/InputPrice/types.d.ts +1 -1
  29. package/dist/types/components/InputRadio/InputRadioGroup.vue.d.ts +6 -4
  30. package/dist/types/components/InputSelect/InputSelect.vue.d.ts +35 -33
  31. package/dist/types/components/Link/Link.vue.d.ts +7 -5
  32. package/dist/types/components/Modal/Modal.vue.d.ts +8 -6
  33. package/dist/types/components/ModalForm/ModalForm.vue.d.ts +7 -5
  34. package/dist/types/components/Pagination/Pagination.vue.d.ts +1 -1
  35. package/dist/types/components/Popconfirm/Popconfirm.vue.d.ts +9 -7
  36. package/dist/types/components/Popover/Popover.vue.d.ts +4 -4
  37. package/dist/types/components/ProgressCircle/ProgressCircle.vue.d.ts +6 -4
  38. package/dist/types/components/ProgressLine/ProgressLine.vue.d.ts +6 -4
  39. package/dist/types/components/SensitiveInfo/SensitiveInfo.vue.d.ts +4 -2
  40. package/dist/types/components/Tab/Tab.vue.d.ts +4 -2
  41. package/dist/types/components/Table/Table.vue.d.ts +12 -73
  42. package/dist/types/components/Tag/Tag.vue.d.ts +6 -4
  43. package/dist/types/services/date.d.ts +2 -2
  44. package/package.json +14 -14
@@ -1,5 +1,5 @@
1
1
  import { r } from "./register-component-B-fdqewb.js";
2
- import { _ as s } from "./InputPrice.vue_vue_type_script_setup_true_lang-C2wDVwnm.js";
2
+ import { _ as s } from "./InputPrice.vue_vue_type_script_setup_true_lang-R3kHhxN2.js";
3
3
  const m = {
4
4
  install(o) {
5
5
  r(o, s);
@@ -7,7 +7,7 @@ import { p as r } from "./plugin-D3ADZgWc.js";
7
7
  import "./transform-DSaNEFMr.js";
8
8
  import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
9
9
  import { p as o } from "./plugin-DDXOF4cU.js";
10
- import { p as n } from "./plugin-D8EMKVQ9.js";
10
+ import { p as n } from "./plugin-B97_3CZA.js";
11
11
  import "./Drawer-Cl9_4uHA.js";
12
12
  import { p as m } from "./plugin-CNwzCYlr.js";
13
13
  import { p as u } from "./plugin-CNqL90UL.js";
@@ -32,11 +32,11 @@ import { p as b } from "./plugin-BQPL19WY.js";
32
32
  import { p as d } from "./plugin-Br-QOjhk.js";
33
33
  import { p as T } from "./plugin-B-YDK-TW.js";
34
34
  import { p as C } from "./plugin-CrHDShgh.js";
35
- import { p as S } from "./plugin-CQ-FpZui.js";
35
+ import { p as S } from "./plugin-RM2wZuwL.js";
36
36
  import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
37
37
  import { p as v } from "./plugin-Y4yYnlO3.js";
38
- import "./InputSelect.vue_vue_type_script_setup_true_lang-DgMRjecc.js";
39
- import { p as G } from "./plugin-fGlPPiqA.js";
38
+ import "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
39
+ import { p as G } from "./plugin-CZiSoM73.js";
40
40
  import { p as k } from "./plugin-BZOU6h10.js";
41
41
  import { p as w } from "./plugin-lYDlOt8p.js";
42
42
  import { p as x } from "./plugin-BQFwx3d5.js";
package/dist/plugins.js CHANGED
@@ -7,7 +7,7 @@ import { p as S } from "./plugin-D3ADZgWc.js";
7
7
  import "./transform-DSaNEFMr.js";
8
8
  import "./ChartLine.vue_vue_type_style_index_0_lang-DO_gKCe4.js";
9
9
  import { p as v } from "./plugin-DDXOF4cU.js";
10
- import { p as D } from "./plugin-D8EMKVQ9.js";
10
+ import { p as D } from "./plugin-B97_3CZA.js";
11
11
  import "./Drawer-Cl9_4uHA.js";
12
12
  import { p as L } from "./plugin-CNwzCYlr.js";
13
13
  import { p as A } from "./plugin-CNqL90UL.js";
@@ -32,11 +32,11 @@ import { p as nr } from "./plugin-BQPL19WY.js";
32
32
  import { p as ur } from "./plugin-Br-QOjhk.js";
33
33
  import { p as Pr } from "./plugin-B-YDK-TW.js";
34
34
  import { p as gr } from "./plugin-CrHDShgh.js";
35
- import { p as fr } from "./plugin-CQ-FpZui.js";
35
+ import { p as fr } from "./plugin-RM2wZuwL.js";
36
36
  import "./InputRadio.vue_vue_type_style_index_0_lang-DusKEybQ.js";
37
37
  import { p as cr } from "./plugin-Y4yYnlO3.js";
38
- import "./InputSelect.vue_vue_type_script_setup_true_lang-DgMRjecc.js";
39
- import { p as yr } from "./plugin-fGlPPiqA.js";
38
+ import "./InputSelect.vue_vue_type_script_setup_true_lang-W2S_TcOu.js";
39
+ import { p as yr } from "./plugin-CZiSoM73.js";
40
40
  import { p as Cr } from "./plugin-BZOU6h10.js";
41
41
  import { p as br } from "./plugin-lYDlOt8p.js";
42
42
  import { p as Sr } from "./plugin-BQFwx3d5.js";
package/dist/tamandua.js CHANGED
@@ -1,4 +1,4 @@
1
- import { p as n } from "./plugins-CpDwnGUh.js";
1
+ import { p as n } from "./plugins-DD6fcgTJ.js";
2
2
  const o = {
3
3
  install(s) {
4
4
  for (const i in n)
@@ -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" | "default" | "lg" | "xl";
23
- shape: "" | "square" | "rounded" | "circle";
22
+ size: `${ElementSize}`;
23
+ shape: `${ElementShape}`;
24
24
  disableStyle: boolean;
25
25
  }, {}>;
26
26
  export default _default;
@@ -1,7 +1,10 @@
1
1
  import { ButtonType, ElementSize, ElementShape, ButtonVariant } from '../../enums/ui.js';
2
2
  import { ButtonProps } from './types.js';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<ButtonProps>, {
5
8
  href: string;
6
9
  type: ButtonType;
7
10
  size: ElementSize;
@@ -44,7 +47,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
44
47
  };
45
48
  }>>, {
46
49
  role: string;
47
- size: "" | "xs" | "sm" | "default" | "lg" | "xl";
50
+ size: `${ElementSize}`;
48
51
  }, true, {}, {}, {
49
52
  P: {};
50
53
  B: {};
@@ -69,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
69
72
  reference: import("vue").Ref<HTMLElement | null>;
70
73
  }, {}, {}, {}, {
71
74
  role: string;
72
- size: "" | "xs" | "sm" | "default" | "lg" | "xl";
75
+ size: `${ElementSize}`;
73
76
  }> | null>;
74
77
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
75
78
  upload: (val: FileList) => void;
@@ -89,20 +92,19 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
89
92
  onUpload?: ((val: FileList) => any) | undefined;
90
93
  }, {
91
94
  hover: boolean;
92
- size: "" | "xs" | "sm" | "default" | "lg" | "xl";
93
- shape: "" | "square" | "rounded" | "circle";
94
- type: "button" | "submit" | "file";
95
+ size: `${ElementSize}`;
96
+ shape: `${ElementShape}`;
97
+ type: `${ButtonType}`;
95
98
  label: string;
96
- variant: "default" | "primary" | "success" | "danger" | "warning" | "link" | "transparent";
99
+ variant: `${ButtonVariant}`;
97
100
  outline: boolean;
98
101
  multiple: boolean;
99
102
  disabled: boolean;
100
103
  iconProps: Partial<import("../types.js").IconProps> & {
101
- class?: string | undefined;
104
+ class?: string;
102
105
  };
103
- }, {}>, {
104
- default?(_: {}): any;
105
- }>;
106
+ }, {}>;
107
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
106
108
  export default _default;
107
109
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
108
110
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -10,8 +10,8 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
10
10
  };
11
11
  }>>>, {
12
12
  options: {
13
- scatterplot?: boolean | undefined;
14
- grid?: boolean | undefined;
13
+ scatterplot?: boolean;
14
+ grid?: boolean;
15
15
  };
16
16
  }, {}>;
17
17
  export default _default;
@@ -34,7 +34,6 @@ declare const _default: {
34
34
  tooltipSlotComponentProps?: undefined;
35
35
  })[];
36
36
  };
37
- options: {};
38
37
  };
39
38
  };
40
39
  export default _default;
@@ -1,18 +1,15 @@
1
- import { VueElement } from 'vue';
2
-
3
- export type Node = {
4
- children?: Node[];
1
+ export type ChartTreemapNode = {
2
+ children?: ChartTreemapNode[];
5
3
  color?: string;
6
4
  label?: string;
7
5
  tooltipSlotName?: string;
8
- tooltipSlotComponent?: VueElement;
6
+ tooltipSlotComponent?: any;
9
7
  tooltipSlotComponentProps?: Record<string, any>;
10
8
  value: number;
11
9
  };
12
10
  export type ChartTreemapProps = {
13
11
  data: {
14
12
  name: string;
15
- children: Node[];
13
+ children: ChartTreemapNode[];
16
14
  };
17
- options: never;
18
15
  };
@@ -1,6 +1,11 @@
1
1
  import { DrawerProps } from './types.js';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DrawerProps>, {
3
+ declare function __VLS_template(): {
4
+ header?(_: {}): any;
5
+ default?(_: {}): any;
6
+ footer?(_: {}): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DrawerProps>, {
4
9
  title: string;
5
10
  style: () => {
6
11
  footer: string;
@@ -25,11 +30,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
25
30
  title: string;
26
31
  direction: "rtl" | "ltr";
27
32
  showHeader: boolean;
28
- }, {}>, {
29
- header?(_: {}): any;
30
- default?(_: {}): any;
31
- footer?(_: {}): any;
32
- }>;
33
+ }, {}>;
34
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
33
35
  export default _default;
34
36
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
35
37
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,7 +1,37 @@
1
1
  import { DropdownProps } from './types.js';
2
2
  import { InputSelectOption } from '../InputSelect/types.js';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DropdownProps>, {
4
+ declare function __VLS_template(): {
5
+ default?(_: {
6
+ icon?: `${import('../../enums/ui.js').Icon}`;
7
+ label: string | object;
8
+ type?: string;
9
+ renderer?: string;
10
+ isGroupLabel: boolean;
11
+ value?: never;
12
+ action?: never;
13
+ } | {
14
+ icon?: `${import('../../enums/ui.js').Icon}`;
15
+ label: string | object;
16
+ type?: string;
17
+ renderer?: string;
18
+ value: import('../InputSelect/types.js').InputSelectValue;
19
+ action?: never;
20
+ isGroupLabel?: never;
21
+ } | {
22
+ icon?: `${import('../../enums/ui.js').Icon}`;
23
+ label: string | object;
24
+ type?: string;
25
+ renderer?: string;
26
+ action: (filters?: import('../../index.js').APISearchFilters) => Promise<{
27
+ items: unknown[];
28
+ pagination: import('../../index.js').Pagination;
29
+ }> | Promise<void> | void;
30
+ value?: never;
31
+ isGroupLabel?: never;
32
+ }): any;
33
+ };
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<DropdownProps>, {
5
35
  items: () => never[];
6
36
  loading: boolean;
7
37
  multiple: boolean;
@@ -42,36 +72,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
42
72
  wrapperPaddingClass: string;
43
73
  optionRoundnessClass: string;
44
74
  wrapperRoundnessClass: string;
45
- }, {}>, {
46
- default?(_: {
47
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
48
- label: string | object;
49
- type?: string | undefined;
50
- renderer?: string | undefined;
51
- isGroupLabel: boolean;
52
- value?: undefined;
53
- action?: undefined;
54
- } | {
55
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
56
- label: string | object;
57
- type?: string | undefined;
58
- renderer?: string | undefined;
59
- value: import('../InputSelect/types.js').InputSelectValue;
60
- action?: undefined;
61
- isGroupLabel?: undefined;
62
- } | {
63
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
64
- label: string | object;
65
- type?: string | undefined;
66
- renderer?: string | undefined;
67
- action: (filters?: import('../../index.js').APISearchFilters | undefined) => void | Promise<void> | Promise<{
68
- items: unknown[];
69
- pagination: import('../../index.js').Pagination;
70
- }>;
71
- value?: undefined;
72
- isGroupLabel?: undefined;
73
- }): any;
74
- }>;
75
+ }, {}>;
76
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
75
77
  export default _default;
76
78
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
77
79
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,45 +1,8 @@
1
- import { FormSubmissionFormat } from '../../enums/form.js';
2
1
  import { FormSchema, FormInstance } from '../../types/form.js';
3
- import { FormEvents } from './types.js';
2
+ import { FormProps, FormEvents } from './types.js';
4
3
 
5
- declare const _default: <T extends FormSchema>(__VLS_props: {
6
- schema?: T | undefined;
7
- layout?: import('./types.js').FormLayout | undefined;
8
- formStyle?: import('./types.js').FormStyle | undefined;
9
- identifier?: string | number | undefined;
10
- showSubmit?: boolean | undefined;
11
- buttonProps?: import('../types.js').ButtonProps | undefined;
12
- submissionFormat?: FormSubmissionFormat | undefined;
13
- buttonWrapperClasses?: string | undefined;
14
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, __VLS_ctx?: {
15
- attrs: any;
16
- slots: {
17
- default?(_: {
18
- form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
19
- }): any;
20
- };
21
- emit: FormEvents;
22
- } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{
23
- submit: () => Promise<{
24
- isValid: boolean;
25
- form: FormData | import("@/types/form.js").JSONForm;
26
- }>;
27
- reset: () => void;
28
- setValues: (values: Partial<FormInstance<T extends undefined ? never : T>>) => void;
29
- form: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>;
30
- setValue: <K extends keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>(key: K, value: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[K]) => void;
31
- getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
32
- }>) => void) | undefined, __VLS_setup?: Promise<{
33
- props: {
34
- schema?: T | undefined;
35
- layout?: import('./types.js').FormLayout | undefined;
36
- formStyle?: import('./types.js').FormStyle | undefined;
37
- identifier?: string | number | undefined;
38
- showSubmit?: boolean | undefined;
39
- buttonProps?: import('../types.js').ButtonProps | undefined;
40
- submissionFormat?: FormSubmissionFormat | undefined;
41
- buttonWrapperClasses?: string | undefined;
42
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
4
+ declare const _default: <T extends FormSchema>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
5
+ props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<any & FormProps<T>, keyof import('vue').VNodeProps | keyof import('vue').AllowedComponentProps>> & {} & (import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps);
43
6
  expose(exposed: import('vue').ShallowUnwrapRef<{
44
7
  submit: () => Promise<{
45
8
  isValid: boolean;
@@ -52,45 +15,14 @@ declare const _default: <T extends FormSchema>(__VLS_props: {
52
15
  getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
53
16
  }>): void;
54
17
  attrs: any;
55
- slots: {
18
+ slots: ReturnType<() => {
56
19
  default?(_: {
57
- form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
20
+ form: any;
58
21
  }): any;
59
- };
22
+ }>;
60
23
  emit: FormEvents;
61
- }>) => import('vue').VNode<import("vue").RendererNode, import("vue").RendererElement, {
62
- [key: string]: any;
63
- }> & {
64
- __ctx?: {
65
- props: {
66
- schema?: T | undefined;
67
- layout?: import('./types.js').FormLayout | undefined;
68
- formStyle?: import('./types.js').FormStyle | undefined;
69
- identifier?: string | number | undefined;
70
- showSubmit?: boolean | undefined;
71
- buttonProps?: import('../types.js').ButtonProps | undefined;
72
- submissionFormat?: FormSubmissionFormat | undefined;
73
- buttonWrapperClasses?: string | undefined;
74
- } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
75
- expose(exposed: import('vue').ShallowUnwrapRef<{
76
- submit: () => Promise<{
77
- isValid: boolean;
78
- form: FormData | import("@/types/form.js").JSONForm;
79
- }>;
80
- reset: () => void;
81
- setValues: (values: Partial<FormInstance<T extends undefined ? never : T>>) => void;
82
- form: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>;
83
- setValue: <K extends keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>(key: K, value: import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[K]) => void;
84
- getValue: (key: keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>) => import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>[keyof import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>];
85
- }>): void;
86
- attrs: any;
87
- slots: {
88
- default?(_: {
89
- form: import('@vue/reactivity').DistrubuteRef<import("vue").UnwrapNestedRefs<FormInstance<T extends undefined ? never : T>>>;
90
- }): any;
91
- };
92
- emit: FormEvents;
93
- } | undefined;
24
+ }>) => import('vue').VNode & {
25
+ __ctx?: Awaited<typeof __VLS_setup>;
94
26
  };
95
27
  export default _default;
96
28
  type __VLS_Prettify<T> = {
@@ -1,9 +1,11 @@
1
1
  import { FormItemProps } from './types.js';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FormItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormItemProps>>>, {}, {}>, {
3
+ declare function __VLS_template(): {
4
4
  label?(_: {}): any;
5
5
  default?(_: {}): any;
6
- }>;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FormItemProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<FormItemProps>>>, {}, {}>;
8
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
7
9
  export default _default;
8
10
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
9
11
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,8 +1,10 @@
1
1
  import { GraphyLabelProps } from './types.js';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>>>, {}, {}>, {
3
+ declare function __VLS_template(): {
4
4
  default?(_: {}): any;
5
- }>;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<GraphyLabelProps>>>, {}, {}>;
7
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
6
8
  export default _default;
7
9
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
10
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  priceColor: string;
12
12
  }>>>, {
13
13
  animate: boolean;
14
- variant: "default" | "increase" | "decrease" | "auto";
14
+ variant: `${GraphyPriceVariant}`;
15
15
  priceColor: string;
16
16
  }, {}>;
17
17
  export default _default;
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  size: ElementSize;
12
12
  }>>>, {
13
13
  role: string;
14
- size: "" | "xs" | "sm" | "default" | "lg" | "xl";
14
+ size: `${ElementSize}`;
15
15
  }, {}>;
16
16
  export default _default;
17
17
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
@@ -2,6 +2,6 @@ declare const _default: {
2
2
  options: {
3
3
  precision: number;
4
4
  };
5
- inputToPriceNumber(input: string): number | undefined;
5
+ inputToPriceNumber(input: string): string;
6
6
  };
7
7
  export default _default;
@@ -1,6 +1,6 @@
1
1
  export type InputPriceModel = {
2
2
  iso: string;
3
- value?: number;
3
+ value?: string;
4
4
  };
5
5
  export type InputPriceProps = {
6
6
  resource?: () => any;
@@ -1,6 +1,9 @@
1
1
  import { InputRadioGroupProps } from './types.js';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputRadioGroupProps>, {
3
+ declare function __VLS_template(): {
4
+ default?(_: {}): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<InputRadioGroupProps>, {
4
7
  disabled: boolean;
5
8
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
9
  "update:model-value": (val: string) => void;
@@ -10,9 +13,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
10
13
  "onUpdate:model-value"?: ((val: string) => any) | undefined;
11
14
  }, {
12
15
  disabled: boolean;
13
- }, {}>, {
14
- default?(_: {}): any;
15
- }>;
16
+ }, {}>;
17
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
16
18
  export default _default;
17
19
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
18
20
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -3,7 +3,38 @@ import { InputSelectValue, InputSelectOption, SelectValuePrimitives } from './ty
3
3
  import { APISearchFilters } from '../../types/api.js';
4
4
  import { Pagination } from '../../types/ui.js';
5
5
 
6
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
6
+ declare function __VLS_template(): {
7
+ selection?(_: {
8
+ icon?: `${import('../../enums/ui.js').Icon}` | undefined;
9
+ label: string | object;
10
+ type?: string | undefined;
11
+ renderer?: string | undefined;
12
+ isGroupLabel: boolean;
13
+ value?: never | undefined;
14
+ action?: never | undefined;
15
+ } | {
16
+ icon?: `${import('../../enums/ui.js').Icon}` | undefined;
17
+ label: string | object;
18
+ type?: string | undefined;
19
+ renderer?: string | undefined;
20
+ value: SelectValuePrimitives | SelectValuePrimitives[];
21
+ action?: never | undefined;
22
+ isGroupLabel?: never | undefined;
23
+ } | {
24
+ icon?: `${import('../../enums/ui.js').Icon}` | undefined;
25
+ label: string | object;
26
+ type?: string | undefined;
27
+ renderer?: string | undefined;
28
+ action: (filters?: APISearchFilters) => Promise<{
29
+ items: unknown[];
30
+ pagination: Pagination;
31
+ }> | Promise<void> | void;
32
+ value?: never | undefined;
33
+ isGroupLabel?: never | undefined;
34
+ }): any;
35
+ default?(_: any): any;
36
+ };
37
+ declare const __VLS_component: import('vue').DefineComponent<{
7
38
  modelValue: import("vue").PropType<InputSelectValue>;
8
39
  filter: {
9
40
  type: import("vue").PropType<(input: string, option: InputSelectOption) => boolean>;
@@ -140,41 +171,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
140
171
  placeholder: string;
141
172
  mapper: (i: any) => InputSelectOption;
142
173
  isSearchable: boolean;
143
- dropdownPlacement: "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start";
174
+ dropdownPlacement: `${ElementPosition}`;
144
175
  widthClass: string;
145
176
  borderClass: string;
146
177
  roundnessClass: string;
147
- }, {}>, {
148
- selection?(_: {
149
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
150
- label: string | object;
151
- type?: string | undefined;
152
- renderer?: string | undefined;
153
- isGroupLabel: boolean;
154
- value?: undefined;
155
- action?: undefined;
156
- } | {
157
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
158
- label: string | object;
159
- type?: string | undefined;
160
- renderer?: string | undefined;
161
- value: SelectValuePrimitives | SelectValuePrimitives[];
162
- action?: undefined;
163
- isGroupLabel?: undefined;
164
- } | {
165
- icon?: "circle" | "account" | "alert-octagon" | "alert-octagon-outline" | "archive" | "archive-outline" | "arrow-left" | "arrow-right" | "bank" | "bank-outline" | "book-alphabet" | "camera" | "cards-outline" | "cards-variant" | "cart-outline" | "chart-box" | "chart-box-outline" | "check" | "check-circle" | "check-circle-outline" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clock" | "close" | "close-circle" | "close-circle-outline" | "cog" | "color-fill" | "copy" | "credit-card" | "credit-card-plus" | "currency" | "database" | "dots-grid" | "dots-vertical" | "email-open-outline" | "email-outline" | "eye" | "eye-off" | "file-document-plus-outline" | "filmstrip" | "filter" | "fullscreen" | "fullscreen-exit" | "group" | "image" | "image-album" | "image-album-outline" | "image-outline" | "info-outline" | "key" | "key-chain" | "key-variant" | "listbox-outline" | "loading" | "lock" | "lock-outline" | "logout" | "menu" | "menu-down" | "menu-left" | "menu-right" | "minus" | "minus-circle" | "minus-circle-outline" | "moon" | "open-in-new" | "pencil" | "people" | "piggy-bank-outline" | "plus" | "plus-circle" | "plus-circle-outline" | "qrcode-scan" | "refresh" | "save" | "search" | "spotlight" | "store-outline" | "sun" | "swap" | "swap-horizontal" | "swap-left" | "swap-right" | "system-theme" | "tag-outline" | "text-box" | "text-box-multiple" | "text-box-multiple-outline" | "text-box-outline" | "trash-can" | "trash-can-outline" | "upload" | "user-circle" | "zip-box" | undefined;
166
- label: string | object;
167
- type?: string | undefined;
168
- renderer?: string | undefined;
169
- action: (filters?: APISearchFilters | undefined) => void | Promise<void> | Promise<{
170
- items: unknown[];
171
- pagination: Pagination;
172
- }>;
173
- value?: undefined;
174
- isGroupLabel?: undefined;
175
- }): any;
176
- default?(_: any): any;
177
- }>;
178
+ }, {}>;
179
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
178
180
  export default _default;
179
181
  type __VLS_WithTemplateSlots<T, S> = T & {
180
182
  new (): {
@@ -1,7 +1,10 @@
1
1
  import { LinkType } from '../../enums/ui.js';
2
2
  import { LinkProps } from './types.js';
3
3
 
4
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
4
+ declare function __VLS_template(): {
5
+ default?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<LinkProps>, {
5
8
  link: string;
6
9
  type: LinkType;
7
10
  label: string;
@@ -14,13 +17,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
14
17
  target: string;
15
18
  disabled: boolean;
16
19
  }>>>, {
17
- type: "default" | "router";
20
+ type: `${LinkType}`;
18
21
  label: string;
19
22
  disabled: boolean;
20
23
  target: "_self" | "_blank" | "_parent" | "_top" | "_unfencedTop";
21
- }, {}>, {
22
- default?(_: {}): any;
23
- }>;
24
+ }, {}>;
25
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
24
26
  export default _default;
25
27
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
28
  type __VLS_TypePropsToRuntimeProps<T> = {