@wikicasa-dev/components 1.7.37 → 1.7.39

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 (55) hide show
  1. package/dist/BaseAutocomplete.js +1 -1
  2. package/dist/BasePagination.js +1 -1
  3. package/dist/BaseSlider.js +4 -8
  4. package/dist/BaseSnackbar.js +55 -53
  5. package/dist/BaseTabView.js +1 -1
  6. package/dist/BaseUploadFile.js +1 -1
  7. package/dist/CheckboxGroup.js +1 -1
  8. package/dist/SwiperCarousel.js +1 -1
  9. package/dist/UIKit/AccessibleSelect.vue.d.ts +21 -19
  10. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +15 -13
  11. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -15
  12. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +10 -8
  13. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +26 -24
  14. package/dist/UIKit/BaseAlert.vue.d.ts +8 -6
  15. package/dist/UIKit/BaseAutocomplete.vue.d.ts +11 -9
  16. package/dist/UIKit/BaseBadge.vue.d.ts +6 -4
  17. package/dist/UIKit/BaseButton.vue.d.ts +32 -30
  18. package/dist/UIKit/BaseCard.vue.d.ts +17 -15
  19. package/dist/UIKit/BaseComplexToggle.vue.d.ts +13 -9
  20. package/dist/UIKit/BaseDropDown.vue.d.ts +47 -45
  21. package/dist/UIKit/BaseInput.vue.d.ts +17 -15
  22. package/dist/UIKit/BaseModal.vue.d.ts +43 -41
  23. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +14 -12
  24. package/dist/UIKit/BaseSnackbar.vue.d.ts +8 -8
  25. package/dist/UIKit/BaseToggle.vue.d.ts +7 -5
  26. package/dist/UIKit/BaseTooltip.vue.d.ts +19 -17
  27. package/dist/UIKit/BaseUploadFile.vue.d.ts +20 -18
  28. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +24 -22
  29. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +31 -29
  30. package/dist/UIKit/Radio/RadioButton.vue.d.ts +2 -2
  31. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +26 -24
  32. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -4
  33. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -8
  34. package/dist/UIKit/StaticSpinner.vue.d.ts +4 -4
  35. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
  36. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +8 -6
  37. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +6 -2
  38. package/dist/assets/BaseSnackbar.css +1 -1
  39. package/dist/chart/composables/useChartjsModules.d.ts +2 -2
  40. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.DqwIqwC2.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.D_AZtW3a.js} +1 -2
  41. package/dist/chunks/{BasePagination.vue_vue_type_script_setup_true_lang.DslSstg9.js → BasePagination.vue_vue_type_script_setup_true_lang.m1hcl9Ft.js} +1 -2
  42. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ikt4-EHH.js +96 -0
  43. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.1Uo4HnFM.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.Dj2egDaT.js} +1 -2
  44. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.TNbYVnnF.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.Bn9HoCj4.js} +1 -2
  45. package/dist/chunks/{SwiperCarousel.vue_vue_type_style_index_0_lang.DydGEHWv.js → SwiperCarousel.vue_vue_type_style_index_0_lang.7z9WGfLj.js} +19 -30
  46. package/dist/chunks/{index.C2AlqfUw.js → index.DUnHxi5U.js} +30 -58
  47. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +10 -8
  48. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +9 -7
  49. package/dist/components/carousel/SwiperCarousel.vue.d.ts +6 -4
  50. package/dist/components/carousel/SwiperSlide.vue.d.ts +4 -2
  51. package/dist/index.js +6 -6
  52. package/dist/useChartjsModules.js +5 -10
  53. package/dist/useKeyboardController.js +2 -4
  54. package/package.json +15 -15
  55. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DRECN-Oz.js +0 -94
@@ -1,17 +1,23 @@
1
1
  import { ButtonTypes } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- lazyLoadIcon?: boolean | undefined;
5
- btnClass?: ButtonTypes | undefined;
6
- outlined?: boolean | undefined;
7
- size?: "" | "sm" | "lg" | undefined;
8
- iconName?: string | undefined;
9
- iconNameHovering?: string | undefined;
10
- iconClass?: string | undefined;
11
- isEmpty?: boolean | undefined;
12
- keepActive?: boolean | undefined;
13
- isLoading?: boolean | undefined;
14
- disabled?: boolean | undefined;
3
+ declare function __VLS_template(): {
4
+ default?(_: {
5
+ hover: boolean;
6
+ }): any;
7
+ spinner?(_: {}): any;
8
+ };
9
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ lazyLoadIcon?: boolean;
11
+ btnClass?: ButtonTypes;
12
+ outlined?: boolean;
13
+ size?: "sm" | "lg" | "";
14
+ iconName?: string;
15
+ iconNameHovering?: string;
16
+ iconClass?: string;
17
+ isEmpty?: boolean;
18
+ keepActive?: boolean;
19
+ isLoading?: boolean;
20
+ disabled?: boolean;
15
21
  }>, {
16
22
  lazyLoadIcon: boolean;
17
23
  btnClass: string;
@@ -29,17 +35,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
29
35
  mouseout: (e: Event) => void;
30
36
  mouseover: (e: Event) => void;
31
37
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
32
- lazyLoadIcon?: boolean | undefined;
33
- btnClass?: ButtonTypes | undefined;
34
- outlined?: boolean | undefined;
35
- size?: "" | "sm" | "lg" | undefined;
36
- iconName?: string | undefined;
37
- iconNameHovering?: string | undefined;
38
- iconClass?: string | undefined;
39
- isEmpty?: boolean | undefined;
40
- keepActive?: boolean | undefined;
41
- isLoading?: boolean | undefined;
42
- disabled?: boolean | undefined;
38
+ lazyLoadIcon?: boolean;
39
+ btnClass?: ButtonTypes;
40
+ outlined?: boolean;
41
+ size?: "sm" | "lg" | "";
42
+ iconName?: string;
43
+ iconNameHovering?: string;
44
+ iconClass?: string;
45
+ isEmpty?: boolean;
46
+ keepActive?: boolean;
47
+ isLoading?: boolean;
48
+ disabled?: boolean;
43
49
  }>, {
44
50
  lazyLoadIcon: boolean;
45
51
  btnClass: string;
@@ -57,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
57
63
  onMouseout?: ((e: Event) => any) | undefined;
58
64
  onMouseover?: ((e: Event) => any) | undefined;
59
65
  }, {
60
- size: "" | "sm" | "lg";
66
+ size: "sm" | "lg" | "";
61
67
  disabled: boolean;
62
68
  iconName: string;
63
69
  iconClass: string;
@@ -68,12 +74,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
68
74
  isEmpty: boolean;
69
75
  keepActive: boolean;
70
76
  isLoading: boolean;
71
- }, {}>, {
72
- default?(_: {
73
- hover: boolean;
74
- }): any;
75
- spinner?(_: {}): any;
76
- }>;
77
+ }, {}>;
78
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
77
79
  export default _default;
78
80
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
79
81
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,10 +1,14 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- type?: "" | "vertical" | "map-card" | "news" | undefined;
5
- rootComponent?: "article" | "div" | undefined;
6
- cardImgClasses?: ClassType | undefined;
7
- cardBodyClasses?: ClassType | undefined;
3
+ declare function __VLS_template(): {
4
+ "card-image"?(_: {}): any;
5
+ "card-description"?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ type?: "map-card" | "vertical" | "news" | "";
9
+ rootComponent?: "div" | "article";
10
+ cardImgClasses?: ClassType;
11
+ cardBodyClasses?: ClassType;
8
12
  }>, {
9
13
  type: string;
10
14
  rootComponent: string;
@@ -13,10 +17,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
13
17
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
18
  click: () => void;
15
19
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
- type?: "" | "vertical" | "map-card" | "news" | undefined;
17
- rootComponent?: "article" | "div" | undefined;
18
- cardImgClasses?: ClassType | undefined;
19
- cardBodyClasses?: ClassType | undefined;
20
+ type?: "map-card" | "vertical" | "news" | "";
21
+ rootComponent?: "div" | "article";
22
+ cardImgClasses?: ClassType;
23
+ cardBodyClasses?: ClassType;
20
24
  }>, {
21
25
  type: string;
22
26
  rootComponent: string;
@@ -25,14 +29,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
25
29
  }>>> & {
26
30
  onClick?: (() => any) | undefined;
27
31
  }, {
28
- type: "" | "vertical" | "map-card" | "news";
29
- rootComponent: "article" | "div";
32
+ type: "map-card" | "vertical" | "news" | "";
33
+ rootComponent: "div" | "article";
30
34
  cardImgClasses: ClassType;
31
35
  cardBodyClasses: ClassType;
32
- }, {}>, {
33
- "card-image"?(_: {}): any;
34
- "card-description"?(_: {}): any;
35
- }>;
36
+ }, {}>;
37
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
36
38
  export default _default;
37
39
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
38
40
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -13,10 +13,16 @@ type ComplexToggleType<T = unknown> = {
13
13
  };
14
14
  type TailwindPrefixType = "uikit-";
15
15
  type BgPrefix = "bg-w-";
16
+ type BorderPrefix = "border-w-";
16
17
  type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender" | "facile";
17
18
  type BtnBgColorType = `${TailwindPrefixType}${BgPrefix}${ColorsType}` | "";
18
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
19
- modelValue: import('vue').PropType<Nullable<ToggleType<unknown>> | undefined>;
19
+ type BorderColorType = `${TailwindPrefixType}${BorderPrefix}${ColorsType}`;
20
+ declare function __VLS_template(): {
21
+ left_icon?(_: {}): any;
22
+ right_icon?(_: {}): any;
23
+ };
24
+ declare const __VLS_component: import('vue').DefineComponent<{
25
+ modelValue: import('vue').PropType<Nullable<ToggleType> | undefined>;
20
26
  type: {
21
27
  type: import('vue').PropType<"full" | "padded">;
22
28
  default: string;
@@ -42,7 +48,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
42
48
  default: string;
43
49
  };
44
50
  }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
45
- modelValue: import('vue').PropType<Nullable<ToggleType<unknown>> | undefined>;
51
+ modelValue: import('vue').PropType<Nullable<ToggleType> | undefined>;
46
52
  type: {
47
53
  type: import('vue').PropType<"full" | "padded">;
48
54
  default: string;
@@ -70,13 +76,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
70
76
  }>>, {
71
77
  type: "full" | "padded";
72
78
  size: "" | "lg";
73
- mode: "" | "mobile";
79
+ mode: "mobile" | "";
74
80
  btnBgColor: BtnBgColorType;
75
- borderContainerColor: "uikit-border-w-secondary" | "uikit-border-w-primary" | "uikit-border-w-danger" | "uikit-border-w-warning" | "uikit-border-w-black" | "uikit-border-w-dark-primary" | "uikit-border-w-carbon" | "uikit-border-w-gray" | "uikit-border-w-lavender" | "uikit-border-w-facile";
76
- }, {}>, {
77
- left_icon?(_: {}): any;
78
- right_icon?(_: {}): any;
79
- }>;
81
+ borderContainerColor: BorderColorType;
82
+ }, {}>;
83
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
80
84
  export default _default;
81
85
  type __VLS_WithTemplateSlots<T, S> = T & {
82
86
  new (): {
@@ -1,20 +1,30 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- id?: string | undefined;
3
- dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
4
- containerDropdownClasses?: string | undefined;
5
- iconName?: string | undefined;
6
- iconClasses?: string | undefined;
7
- btnClasses?: string | undefined;
8
- withArrowIcon?: boolean | undefined;
9
- btnLabel?: string | undefined;
10
- labelClasses?: string | undefined;
11
- direction?: "up" | "down" | undefined;
12
- arrowWidth?: number | undefined;
13
- isAbsolute?: boolean | undefined;
14
- openDropdown?: boolean | undefined;
15
- closeWhenClickedOutside?: boolean | undefined;
16
- dropdownElement?: "div" | "ul" | undefined;
17
- keepState?: "" | "closed" | "opened" | undefined;
1
+ declare function __VLS_template(): {
2
+ btn_slot?(_: {
3
+ toggleDropdown: () => void;
4
+ isOpen: boolean;
5
+ }): any;
6
+ default?(_: {
7
+ isOpen: boolean;
8
+ toggleDropdown: () => void;
9
+ }): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
12
+ id?: string;
13
+ dropdownClasses?: string | string[] | (Record<string, boolean> | string)[];
14
+ containerDropdownClasses?: string;
15
+ iconName?: string;
16
+ iconClasses?: string;
17
+ btnClasses?: string;
18
+ withArrowIcon?: boolean;
19
+ btnLabel?: string;
20
+ labelClasses?: string;
21
+ direction?: "up" | "down";
22
+ arrowWidth?: number;
23
+ isAbsolute?: boolean;
24
+ openDropdown?: boolean;
25
+ closeWhenClickedOutside?: boolean;
26
+ dropdownElement?: "div" | "ul";
27
+ keepState?: "opened" | "closed" | "";
18
28
  }>, {
19
29
  id: string;
20
30
  containerDropdownClasses: string;
@@ -36,22 +46,22 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
36
46
  click: () => void;
37
47
  "update:dropdownState": (args_0: boolean) => void;
38
48
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
39
- id?: string | undefined;
40
- dropdownClasses?: string | string[] | (string | Record<string, boolean>)[] | undefined;
41
- containerDropdownClasses?: string | undefined;
42
- iconName?: string | undefined;
43
- iconClasses?: string | undefined;
44
- btnClasses?: string | undefined;
45
- withArrowIcon?: boolean | undefined;
46
- btnLabel?: string | undefined;
47
- labelClasses?: string | undefined;
48
- direction?: "up" | "down" | undefined;
49
- arrowWidth?: number | undefined;
50
- isAbsolute?: boolean | undefined;
51
- openDropdown?: boolean | undefined;
52
- closeWhenClickedOutside?: boolean | undefined;
53
- dropdownElement?: "div" | "ul" | undefined;
54
- keepState?: "" | "closed" | "opened" | undefined;
49
+ id?: string;
50
+ dropdownClasses?: string | string[] | (Record<string, boolean> | string)[];
51
+ containerDropdownClasses?: string;
52
+ iconName?: string;
53
+ iconClasses?: string;
54
+ btnClasses?: string;
55
+ withArrowIcon?: boolean;
56
+ btnLabel?: string;
57
+ labelClasses?: string;
58
+ direction?: "up" | "down";
59
+ arrowWidth?: number;
60
+ isAbsolute?: boolean;
61
+ openDropdown?: boolean;
62
+ closeWhenClickedOutside?: boolean;
63
+ dropdownElement?: "div" | "ul";
64
+ keepState?: "opened" | "closed" | "";
55
65
  }>, {
56
66
  id: string;
57
67
  containerDropdownClasses: string;
@@ -77,7 +87,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
77
87
  direction: "up" | "down";
78
88
  labelClasses: string;
79
89
  iconName: string;
80
- dropdownClasses: string | string[] | (string | Record<string, boolean>)[];
90
+ dropdownClasses: string | string[] | (Record<string, boolean> | string)[];
81
91
  containerDropdownClasses: string;
82
92
  iconClasses: string;
83
93
  btnClasses: string;
@@ -88,17 +98,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
88
98
  openDropdown: boolean;
89
99
  closeWhenClickedOutside: boolean;
90
100
  dropdownElement: "div" | "ul";
91
- keepState: "" | "closed" | "opened";
92
- }, {}>, {
93
- btn_slot?(_: {
94
- toggleDropdown: () => void;
95
- isOpen: boolean;
96
- }): any;
97
- default?(_: {
98
- isOpen: boolean;
99
- toggleDropdown: () => void;
100
- }): any;
101
- }>;
101
+ keepState: "opened" | "closed" | "";
102
+ }, {}>;
103
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
102
104
  export default _default;
103
105
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
104
106
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,6 +1,16 @@
1
1
  import { Nullable, FeedbackLabels, ClassType } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
3
+ declare function __VLS_template(): {
4
+ leftIcon?(_: {}): any;
5
+ righticon?(_: {
6
+ handleClean: () => void;
7
+ handleShowPasswd: () => void;
8
+ curType: string;
9
+ }): any;
10
+ feedback?(_: {}): any;
11
+ "under-label"?(_: {}): any;
12
+ };
13
+ declare const __VLS_component: import('vue').DefineComponent<{
4
14
  modelValue: import('vue').PropType<string | number | undefined>;
5
15
  isValid: {
6
16
  type: import('vue').PropType<Nullable<boolean>>;
@@ -23,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
23
33
  };
24
34
  formatter: {
25
35
  type: import('vue').PropType<Nullable<Partial<{
26
- formatFn: (n: string | number) => string;
36
+ formatFn: (n: number | string) => string;
27
37
  unFormatFn: (v: string) => string | number | null;
28
38
  }>>>;
29
39
  default: null;
@@ -59,7 +69,7 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
59
69
  };
60
70
  formatter: {
61
71
  type: import('vue').PropType<Nullable<Partial<{
62
- formatFn: (n: string | number) => string;
72
+ formatFn: (n: number | string) => string;
63
73
  unFormatFn: (v: string) => string | number | null;
64
74
  }>>>;
65
75
  default: null;
@@ -73,22 +83,14 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
73
83
  }, {
74
84
  isValid: Nullable<boolean>;
75
85
  labelText: string;
76
- inputClass: unknown[] | ClassType;
86
+ inputClass: ClassType | unknown[];
77
87
  keepFloatingLabel: boolean;
78
88
  formatter: Nullable<Partial<{
79
- formatFn: (n: string | number) => string;
89
+ formatFn: (n: number | string) => string;
80
90
  unFormatFn: (v: string) => string | number | null;
81
91
  }>>;
82
- }, {}>, {
83
- leftIcon?(_: {}): any;
84
- righticon?(_: {
85
- handleClean: () => void;
86
- handleShowPasswd: () => void;
87
- curType: string;
88
- }): any;
89
- feedback?(_: {}): any;
90
- "under-label"?(_: {}): any;
91
- }>;
92
+ }, {}>;
93
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
92
94
  export default _default;
93
95
  type __VLS_WithTemplateSlots<T, S> = T & {
94
96
  new (): {
@@ -1,23 +1,33 @@
1
1
  type GenericClassType = string | string[] | Record<string, boolean> | Record<string, boolean>[];
2
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
- id?: string | undefined;
4
- size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full" | undefined;
5
- customBackdropClasses?: GenericClassType | undefined;
6
- customModalDialogClasses?: GenericClassType | undefined;
7
- customModalHeaderClasses?: GenericClassType | undefined;
8
- customModalBodyClasses?: GenericClassType | undefined;
9
- customModalFooterClasses?: GenericClassType | undefined;
10
- withCloseIcon?: boolean | undefined;
11
- showModal?: boolean | undefined;
12
- closeIcon?: string | undefined;
13
- headerTitle?: string | undefined;
14
- autoClose?: number | undefined;
15
- fullHeight?: boolean | undefined;
16
- closeOnClickOut?: boolean | undefined;
2
+ declare function __VLS_template(): {
3
+ header?(_: {
4
+ closeModal: () => Promise<void>;
5
+ }): any;
6
+ body?(_: {}): any;
7
+ footer?(_: {
8
+ closeModal: () => Promise<void>;
9
+ }): any;
10
+ "fixed-bottom"?(_: {}): any;
11
+ };
12
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
+ id?: string;
14
+ size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
15
+ customBackdropClasses?: GenericClassType;
16
+ customModalDialogClasses?: GenericClassType;
17
+ customModalHeaderClasses?: GenericClassType;
18
+ customModalBodyClasses?: GenericClassType;
19
+ customModalFooterClasses?: GenericClassType;
20
+ withCloseIcon?: boolean;
21
+ showModal?: boolean;
22
+ closeIcon?: string;
23
+ headerTitle?: string;
24
+ autoClose?: number;
25
+ fullHeight?: boolean;
26
+ closeOnClickOut?: boolean;
17
27
  /**
18
28
  * If true, the modal will be centered in desktop mode
19
29
  */
20
- centered?: boolean | undefined;
30
+ centered?: boolean;
21
31
  }>, {
22
32
  id: string;
23
33
  size: string;
@@ -37,24 +47,24 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
37
47
  closed: () => void;
38
48
  opened: () => void;
39
49
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
40
- id?: string | undefined;
41
- size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full" | undefined;
42
- customBackdropClasses?: GenericClassType | undefined;
43
- customModalDialogClasses?: GenericClassType | undefined;
44
- customModalHeaderClasses?: GenericClassType | undefined;
45
- customModalBodyClasses?: GenericClassType | undefined;
46
- customModalFooterClasses?: GenericClassType | undefined;
47
- withCloseIcon?: boolean | undefined;
48
- showModal?: boolean | undefined;
49
- closeIcon?: string | undefined;
50
- headerTitle?: string | undefined;
51
- autoClose?: number | undefined;
52
- fullHeight?: boolean | undefined;
53
- closeOnClickOut?: boolean | undefined;
50
+ id?: string;
51
+ size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
52
+ customBackdropClasses?: GenericClassType;
53
+ customModalDialogClasses?: GenericClassType;
54
+ customModalHeaderClasses?: GenericClassType;
55
+ customModalBodyClasses?: GenericClassType;
56
+ customModalFooterClasses?: GenericClassType;
57
+ withCloseIcon?: boolean;
58
+ showModal?: boolean;
59
+ closeIcon?: string;
60
+ headerTitle?: string;
61
+ autoClose?: number;
62
+ fullHeight?: boolean;
63
+ closeOnClickOut?: boolean;
54
64
  /**
55
65
  * If true, the modal will be centered in desktop mode
56
66
  */
57
- centered?: boolean | undefined;
67
+ centered?: boolean;
58
68
  }>, {
59
69
  id: string;
60
70
  size: string;
@@ -88,16 +98,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
88
98
  fullHeight: boolean;
89
99
  closeOnClickOut: boolean;
90
100
  centered: boolean;
91
- }, {}>, {
92
- header?(_: {
93
- closeModal: () => Promise<void>;
94
- }): any;
95
- body?(_: {}): any;
96
- footer?(_: {
97
- closeModal: () => Promise<void>;
98
- }): any;
99
- "fixed-bottom"?(_: {}): any;
100
- }>;
101
+ }, {}>;
102
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
101
103
  export default _default;
102
104
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
103
105
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,7 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- label?: string | undefined;
3
- active?: boolean | undefined;
4
- idx?: number | undefined;
1
+ declare function __VLS_template(): {
2
+ default?(_: {
3
+ itemIdx: number;
4
+ }): any;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
7
+ label?: string;
8
+ active?: boolean;
9
+ idx?: number;
5
10
  }>, {
6
11
  label: string;
7
12
  active: boolean;
@@ -10,9 +15,9 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
10
15
  click: (args_0: number) => void;
11
16
  mouseover: (args_0: number) => void;
12
17
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- label?: string | undefined;
14
- active?: boolean | undefined;
15
- idx?: number | undefined;
18
+ label?: string;
19
+ active?: boolean;
20
+ idx?: number;
16
21
  }>, {
17
22
  label: string;
18
23
  active: boolean;
@@ -24,11 +29,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
24
29
  label: string;
25
30
  idx: number;
26
31
  active: boolean;
27
- }, {}>, {
28
- default?(_: {
29
- itemIdx: number;
30
- }): any;
31
- }>;
32
+ }, {}>;
33
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
32
34
  export default _default;
33
35
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
34
36
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,15 +1,15 @@
1
1
  import { Action, Nullable, SnackbarTypes } from '@wikicasa-dev/types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- type?: SnackbarTypes | undefined;
4
+ type?: SnackbarTypes;
5
5
  title: string;
6
6
  body: string;
7
7
  icon?: {
8
8
  src: string;
9
9
  alt: string;
10
- } | undefined;
11
- timeout?: number | undefined;
12
- cb?: Nullable<Action> | undefined;
10
+ };
11
+ timeout?: number;
12
+ cb?: Nullable<Action>;
13
13
  }>, {
14
14
  type: string;
15
15
  timeout: number;
@@ -17,15 +17,15 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
17
17
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  "snackbar-hidden": () => void;
19
19
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
- type?: SnackbarTypes | undefined;
20
+ type?: SnackbarTypes;
21
21
  title: string;
22
22
  body: string;
23
23
  icon?: {
24
24
  src: string;
25
25
  alt: string;
26
- } | undefined;
27
- timeout?: number | undefined;
28
- cb?: Nullable<Action> | undefined;
26
+ };
27
+ timeout?: number;
28
+ cb?: Nullable<Action>;
29
29
  }>, {
30
30
  type: string;
31
31
  timeout: number;
@@ -1,4 +1,8 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
1
+ declare function __VLS_template(): {
2
+ leftLabel?(_: {}): any;
3
+ rightLabel?(_: {}): any;
4
+ };
5
+ declare const __VLS_component: import('vue').DefineComponent<{
2
6
  modelValue: import('vue').PropType<boolean | undefined>;
3
7
  label: {
4
8
  type: import('vue').PropType<string>;
@@ -21,10 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
21
25
  }>>, {
22
26
  label: string;
23
27
  withRightLabel: boolean;
24
- }, {}>, {
25
- leftLabel?(_: {}): any;
26
- rightLabel?(_: {}): any;
27
- }>;
28
+ }, {}>;
29
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
28
30
  export default _default;
29
31
  type __VLS_WithTemplateSlots<T, S> = T & {
30
32
  new (): {
@@ -1,14 +1,18 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare function __VLS_template(): {
4
+ trigger?(_: {}): any;
5
+ content?(_: {}): any;
6
+ };
7
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
8
  theme?: {
5
9
  color: "blue" | "white";
6
10
  size: "sm" | "md" | "lg";
7
- } | undefined;
8
- direction?: "left" | "right" | "bottom" | "top" | "top-center" | "bottom-center" | undefined;
9
- customTooltipClass?: "" | "mail-alert" | undefined;
10
- showTooltipContentManually?: boolean | undefined;
11
- tooltipContentClasses?: ClassType | undefined;
11
+ };
12
+ direction?: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
13
+ customTooltipClass?: "mail-alert" | "";
14
+ showTooltipContentManually?: boolean;
15
+ tooltipContentClasses?: ClassType;
12
16
  }>, {
13
17
  theme: () => {
14
18
  color: string;
@@ -22,11 +26,11 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
22
26
  theme?: {
23
27
  color: "blue" | "white";
24
28
  size: "sm" | "md" | "lg";
25
- } | undefined;
26
- direction?: "left" | "right" | "bottom" | "top" | "top-center" | "bottom-center" | undefined;
27
- customTooltipClass?: "" | "mail-alert" | undefined;
28
- showTooltipContentManually?: boolean | undefined;
29
- tooltipContentClasses?: ClassType | undefined;
29
+ };
30
+ direction?: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
31
+ customTooltipClass?: "mail-alert" | "";
32
+ showTooltipContentManually?: boolean;
33
+ tooltipContentClasses?: ClassType;
30
34
  }>, {
31
35
  theme: () => {
32
36
  color: string;
@@ -37,18 +41,16 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
37
41
  showTooltipContentManually: boolean;
38
42
  tooltipContentClasses: string;
39
43
  }>>>, {
40
- direction: "left" | "right" | "bottom" | "top" | "top-center" | "bottom-center";
44
+ direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
41
45
  theme: {
42
46
  color: "blue" | "white";
43
47
  size: "sm" | "md" | "lg";
44
48
  };
45
- customTooltipClass: "" | "mail-alert";
49
+ customTooltipClass: "mail-alert" | "";
46
50
  showTooltipContentManually: boolean;
47
51
  tooltipContentClasses: ClassType;
48
- }, {}>, {
49
- trigger?(_: {}): any;
50
- content?(_: {}): any;
51
- }>;
52
+ }, {}>;
53
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
52
54
  export default _default;
53
55
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
54
56
  type __VLS_TypePropsToRuntimeProps<T> = {