@wikicasa-dev/components 1.9.32 → 1.9.34

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 (71) hide show
  1. package/README.md +4 -18
  2. package/dist/AccessibleSelect.js +1 -1
  3. package/dist/BaseAutocomplete.js +1 -1
  4. package/dist/BaseDropDown.js +1 -1
  5. package/dist/BaseTabView.js +1 -1
  6. package/dist/SwiperCarousel.js +1 -1
  7. package/dist/UIKit/AccessibleSelect.vue.d.ts +16 -47
  8. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +18 -35
  9. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +19 -39
  10. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +15 -19
  11. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +32 -53
  12. package/dist/UIKit/BaseAlert.vue.d.ts +11 -28
  13. package/dist/UIKit/BaseAutocomplete.vue.d.ts +180 -108
  14. package/dist/UIKit/BaseBadge.vue.d.ts +11 -27
  15. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +13 -18
  16. package/dist/UIKit/BaseButton.vue.d.ts +20 -57
  17. package/dist/UIKit/BaseCard.vue.d.ts +14 -37
  18. package/dist/UIKit/BaseComplexToggle.vue.d.ts +26 -64
  19. package/dist/UIKit/BaseDropDown.vue.d.ts +28 -67
  20. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +6 -32
  21. package/dist/UIKit/BaseInput.vue.d.ts +41 -75
  22. package/dist/UIKit/BaseModal.vue.d.ts +29 -69
  23. package/dist/UIKit/BasePagination.vue.d.ts +19 -71
  24. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +21 -37
  25. package/dist/UIKit/BaseSlider.vue.d.ts +60 -104
  26. package/dist/UIKit/BaseSnackbar.vue.d.ts +6 -32
  27. package/dist/UIKit/BaseTextarea.vue.d.ts +19 -43
  28. package/dist/UIKit/BaseToggle.vue.d.ts +21 -25
  29. package/dist/UIKit/BaseTooltip.vue.d.ts +12 -43
  30. package/dist/UIKit/BaseUploadFile.vue.d.ts +17 -44
  31. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +29 -65
  32. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +24 -55
  33. package/dist/UIKit/Radio/RadioButton.vue.d.ts +6 -27
  34. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +33 -50
  35. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +10 -15
  36. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +4 -30
  37. package/dist/UIKit/StaticSpinner.vue.d.ts +4 -27
  38. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -15
  39. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +6 -28
  40. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -27
  41. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +14 -33
  42. package/dist/UIKit/types.d.ts +0 -1
  43. package/dist/assets/BaseAlert.css +1 -1
  44. package/dist/assets/BaseBadge.css +1 -1
  45. package/dist/assets/BaseFloatingLabel.css +1 -1
  46. package/dist/assets/BaseTextarea.css +1 -1
  47. package/dist/assets/SwiperCarousel.css +1 -1
  48. package/dist/assets/index.css +1 -1
  49. package/dist/chart/DoughnutChart.vue.d.ts +3 -13
  50. package/dist/chart/LineChart.vue.d.ts +3 -13
  51. package/dist/chart/composables/useChartjsModules.d.ts +0 -1
  52. package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.BZJiuA9q.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.B8sZx5ag.js} +1 -1
  53. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CuwMDpZt.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.lynxd7Sj.js} +2 -2
  54. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.BW53X5Mh.js → BaseDropDown.vue_vue_type_script_setup_true_lang.CVDnCMnS.js} +1 -1
  55. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.nuPyOFsi.js +94 -0
  56. package/dist/chunks/{SwiperCarousel.BV6QiwmC.js → SwiperCarousel.DWUl3bgn.js} +132 -131
  57. package/dist/chunks/{index.C7BPB1tC.js → index.D6IWh9UY.js} +2 -2
  58. package/dist/chunks/{useKeyboardController.CXrrg8Zt.js → useKeyboardController.CutKeclN.js} +3 -6
  59. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +14 -29
  60. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +36 -42
  61. package/dist/components/carousel/SwiperCarousel.vue.d.ts +18 -35
  62. package/dist/components/carousel/SwiperSlide.vue.d.ts +7 -2
  63. package/dist/composables/useFloatingLabel.d.ts +0 -1
  64. package/dist/composables/useValidator.d.ts +0 -1
  65. package/dist/index.d.ts +1 -4
  66. package/dist/index.js +53 -57
  67. package/package.json +19 -21
  68. package/dist/BaseNavItem.js +0 -58
  69. package/dist/UIKit/BaseNavItem.vue.d.ts +0 -93
  70. package/dist/assets/BaseNavItem.css +0 -1
  71. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.RbxW2M0Y.js +0 -85
@@ -1,82 +1,44 @@
1
1
  import { ClassType, Nullable } from '@wikicasa-dev/types';
2
2
  import { ComplexToggleType, ToggleType } from './types';
3
3
  import { TwPrefix } from '../types';
4
-
5
4
  type BgPrefix = "bg-w-";
6
5
  type BorderPrefix = "border-w-";
7
6
  type ColorsType = "black" | "primary" | "secondary" | "dark-primary" | "carbon" | "gray" | "warning" | "danger" | "lavender";
8
7
  type BtnBgColorType = `${TwPrefix}${BgPrefix}${ColorsType}` | "";
9
8
  type BorderColorType = `${TwPrefix}${BorderPrefix}${ColorsType}`;
10
- declare function __VLS_template(): {
11
- left_icon?(_: {}): any;
12
- right_icon?(_: {}): any;
9
+ declare let __VLS_typeProps: {
10
+ labels: ComplexToggleType;
11
+ type?: "full" | "padded";
12
+ mode?: "mobile" | "";
13
+ btnBgColor?: BtnBgColorType;
14
+ btnClasses?: ClassType;
15
+ borderContainerColor?: BorderColorType;
16
+ size?: "" | "lg";
13
17
  };
14
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
- modelValue: import('vue').PropType<Nullable<ToggleType> | undefined>;
16
- type: {
17
- type: import('vue').PropType<"full" | "padded">;
18
- default: string;
19
- };
20
- size: {
21
- type: import('vue').PropType<"" | "lg">;
22
- default: string;
23
- };
24
- mode: {
25
- type: import('vue').PropType<"" | "mobile">;
26
- default: string;
27
- };
28
- labels: {
29
- type: import('vue').PropType<ComplexToggleType>;
30
- required: true;
31
- };
32
- btnClasses: {
33
- type: import('vue').PropType<ClassType>;
34
- };
35
- btnBgColor: {
36
- type: import('vue').PropType<BtnBgColorType>;
37
- default: string;
38
- };
39
- borderContainerColor: {
40
- type: import('vue').PropType<"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">;
41
- default: string;
42
- };
43
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
44
- modelValue: import('vue').PropType<Nullable<ToggleType> | undefined>;
45
- type: {
46
- type: import('vue').PropType<"full" | "padded">;
47
- default: string;
48
- };
49
- size: {
50
- type: import('vue').PropType<"" | "lg">;
51
- default: string;
52
- };
53
- mode: {
54
- type: import('vue').PropType<"" | "mobile">;
55
- default: string;
56
- };
57
- labels: {
58
- type: import('vue').PropType<ComplexToggleType>;
59
- required: true;
60
- };
61
- btnClasses: {
62
- type: import('vue').PropType<ClassType>;
63
- };
64
- btnBgColor: {
65
- type: import('vue').PropType<BtnBgColorType>;
66
- default: string;
67
- };
68
- borderContainerColor: {
69
- type: import('vue').PropType<"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">;
70
- default: string;
18
+ type __VLS_PublicProps = {
19
+ modelValue?: Nullable<ToggleType> | undefined;
20
+ } & typeof __VLS_typeProps;
21
+ declare function __VLS_template(): {
22
+ slots: {
23
+ left_icon?(_: {}): any;
24
+ right_icon?(_: {}): any;
71
25
  };
72
- }>> & Readonly<{}>, {
26
+ refs: {};
27
+ attrs: Partial<{}>;
28
+ };
29
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
31
+ "update:modelValue": (modelValue: Nullable<ToggleType> | undefined) => any;
32
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
33
+ "onUpdate:modelValue"?: ((modelValue: Nullable<ToggleType> | undefined) => any) | undefined;
34
+ }>, {
73
35
  type: "full" | "padded";
74
36
  size: "" | "lg";
75
37
  mode: "mobile" | "";
76
38
  btnBgColor: BtnBgColorType;
77
39
  borderContainerColor: BorderColorType;
78
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
79
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
40
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
41
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
80
42
  export default _default;
81
43
  type __VLS_WithTemplateSlots<T, S> = T & {
82
44
  new (): {
@@ -1,18 +1,24 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
-
3
2
  declare function __VLS_template(): {
4
- btn_slot?(_: {
5
- toggleDropdown: () => void;
6
- isOpen: boolean;
7
- }): any;
8
- default?(_: {
9
- isOpen: boolean;
10
- toggleDropdown: () => void;
11
- activeIdx: number;
12
- selectedIdx: number;
13
- }): any;
3
+ slots: {
4
+ btn_slot?(_: {
5
+ toggleDropdown: () => void;
6
+ isOpen: boolean;
7
+ }): any;
8
+ default?(_: {
9
+ isOpen: boolean;
10
+ toggleDropdown: () => void;
11
+ activeIdx: number;
12
+ selectedIdx: number;
13
+ }): any;
14
+ };
15
+ refs: {
16
+ dropdown: unknown;
17
+ };
18
+ attrs: Partial<{}>;
14
19
  };
15
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<{
16
22
  dropdownClasses?: ClassType;
17
23
  btnClasses?: string;
18
24
  withArrowIcon?: boolean;
@@ -26,24 +32,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
26
32
  dropdownElement?: "div" | "ul" | "ol";
27
33
  keepState?: "opened" | "closed" | "";
28
34
  activateKeyboardController?: boolean;
29
- }>, {
30
- dropdownClasses: string;
31
- btnClasses: string;
32
- btnLabel: string;
33
- labelClasses: string;
34
- withArrowIcon: boolean;
35
- direction: string;
36
- openDropdown: boolean;
37
- isAbsolute: boolean;
38
- arrowWidth: number;
39
- closeWhenClickedOutside: boolean;
40
- dropdownElement: string;
41
- keepState: string;
42
- activateKeyboardController: boolean;
43
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
44
- click: () => void;
45
- "update:dropdownState": (args_0: boolean) => void;
46
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
36
+ click: () => any;
37
+ "update:dropdownState": (args_0: boolean) => any;
38
+ }, string, import('vue').PublicProps, Readonly<{
47
39
  dropdownClasses?: ClassType;
48
40
  btnClasses?: string;
49
41
  withArrowIcon?: boolean;
@@ -57,57 +49,26 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
57
49
  dropdownElement?: "div" | "ul" | "ol";
58
50
  keepState?: "opened" | "closed" | "";
59
51
  activateKeyboardController?: boolean;
60
- }>, {
61
- dropdownClasses: string;
62
- btnClasses: string;
63
- btnLabel: string;
64
- labelClasses: string;
65
- withArrowIcon: boolean;
66
- direction: string;
67
- openDropdown: boolean;
68
- isAbsolute: boolean;
69
- arrowWidth: number;
70
- closeWhenClickedOutside: boolean;
71
- dropdownElement: string;
72
- keepState: string;
73
- activateKeyboardController: boolean;
74
- }>>> & Readonly<{
52
+ }> & Readonly<{
75
53
  onClick?: (() => any) | undefined;
76
54
  "onUpdate:dropdownState"?: ((args_0: boolean) => any) | undefined;
77
55
  }>, {
78
- direction: "up" | "down";
56
+ arrowWidth: number;
57
+ btnClasses: string;
79
58
  labelClasses: ClassType;
80
59
  dropdownClasses: ClassType;
81
- btnClasses: string;
82
60
  withArrowIcon: boolean;
83
61
  btnLabel: string;
84
- arrowWidth: number;
62
+ direction: "up" | "down";
85
63
  isAbsolute: boolean;
86
64
  openDropdown: boolean;
87
65
  closeWhenClickedOutside: boolean;
88
66
  dropdownElement: "div" | "ul" | "ol";
89
67
  keepState: "opened" | "closed" | "";
90
68
  activateKeyboardController: boolean;
91
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
92
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
69
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
70
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
93
71
  export default _default;
94
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
95
- type __VLS_TypePropsToRuntimeProps<T> = {
96
- [K in keyof T]-?: {} extends Pick<T, K> ? {
97
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
98
- } : {
99
- type: import('vue').PropType<T[K]>;
100
- required: true;
101
- };
102
- };
103
- type __VLS_WithDefaults<P, D> = {
104
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
105
- default: D[K];
106
- }> : P[K];
107
- };
108
- type __VLS_Prettify<T> = {
109
- [K in keyof T]: T[K];
110
- } & {};
111
72
  type __VLS_WithTemplateSlots<T, S> = T & {
112
73
  new (): {
113
74
  $slots: S;
@@ -1,48 +1,22 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
-
3
2
  type LabelState = "inline-label" | "floating-label";
4
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare const _default: import('vue').DefineComponent<{
5
4
  labelState?: LabelState;
6
5
  isValid?: Nullable<boolean>;
7
6
  labelText: string;
8
7
  disabled?: string | boolean;
9
- }>, {
10
- labelState: string;
11
- isValid: null;
12
- disabled: boolean;
13
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
9
  click: (...args: any[]) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
10
+ }, string, import('vue').PublicProps, Readonly<{
16
11
  labelState?: LabelState;
17
12
  isValid?: Nullable<boolean>;
18
13
  labelText: string;
19
14
  disabled?: string | boolean;
20
- }>, {
21
- labelState: string;
22
- isValid: null;
23
- disabled: boolean;
24
- }>>> & Readonly<{
15
+ }> & Readonly<{
25
16
  onClick?: ((...args: any[]) => any) | undefined;
26
17
  }>, {
27
- labelState: LabelState;
28
18
  isValid: Nullable<boolean>;
29
19
  disabled: string | boolean;
30
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
20
+ labelState: LabelState;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
22
  export default _default;
32
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
33
- type __VLS_TypePropsToRuntimeProps<T> = {
34
- [K in keyof T]-?: {} extends Pick<T, K> ? {
35
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
36
- } : {
37
- type: import('vue').PropType<T[K]>;
38
- required: true;
39
- };
40
- };
41
- type __VLS_WithDefaults<P, D> = {
42
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
43
- default: D[K];
44
- }> : P[K];
45
- };
46
- type __VLS_Prettify<T> = {
47
- [K in keyof T]: T[K];
48
- } & {};
@@ -1,99 +1,65 @@
1
1
  import { Nullable, ClassType } from '@wikicasa-dev/types';
2
2
  import { FeedbackLabels } from './types';
3
-
4
- declare function __VLS_template(): {
5
- leftIcon?(_: {}): any;
6
- righticon?(_: {
7
- handleClean: () => void;
8
- handleShowPasswd: () => void;
9
- curType: string;
10
- }): any;
11
- feedback?(_: {}): any;
12
- "under-label"?(_: {}): any;
3
+ declare let __VLS_typeProps: {
4
+ inputClass?: ClassType | unknown[];
5
+ labelText?: string;
6
+ feedback?: FeedbackLabels;
7
+ isValid?: Nullable<boolean>;
8
+ keepFloatingLabel?: boolean;
9
+ formatter?: Nullable<Partial<{
10
+ formatFn: (n: number | string) => string;
11
+ unFormatFn: (v: string) => string | number | null;
12
+ }>>;
13
13
  };
14
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
15
- modelValue: import('vue').PropType<string | number | undefined>;
16
- isValid: {
17
- type: import('vue').PropType<Nullable<boolean>>;
18
- default: null;
19
- };
20
- labelText: {
21
- type: import('vue').PropType<string>;
22
- default: string;
23
- };
24
- feedback: {
25
- type: import('vue').PropType<FeedbackLabels>;
26
- };
27
- inputClass: {
28
- type: import('vue').PropType<unknown[] | ClassType>;
29
- default: string;
30
- };
31
- keepFloatingLabel: {
32
- type: import('vue').PropType<boolean>;
33
- default: boolean;
14
+ type __VLS_PublicProps = {
15
+ modelValue?: string | number | undefined;
16
+ } & typeof __VLS_typeProps;
17
+ declare function __VLS_template(): {
18
+ slots: {
19
+ leftIcon?(_: {}): any;
20
+ righticon?(_: {
21
+ handleClean: () => void;
22
+ handleShowPasswd: () => void;
23
+ curType: string;
24
+ }): any;
25
+ feedback?(_: {}): any;
26
+ "under-label"?(_: {}): any;
34
27
  };
35
- formatter: {
36
- type: import('vue').PropType<Nullable<Partial<{
37
- formatFn: (n: number | string) => string;
38
- unFormatFn: (v: string) => string | number | null;
39
- }>>>;
40
- default: null;
28
+ refs: {
29
+ baseInputEl: HTMLInputElement;
41
30
  };
42
- }>, {
31
+ attrs: Partial<{}>;
32
+ };
33
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
43
35
  select: () => void;
44
36
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
- click: (args_0: MouseEvent) => void;
46
- focusin: () => void;
47
- focusout: () => void;
48
- keydown: (args_0: KeyboardEvent) => void;
49
- keyup: (args_0: KeyboardEvent) => void;
50
- keydownEnterPressed: () => void;
51
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
52
- modelValue: import('vue').PropType<string | number | undefined>;
53
- isValid: {
54
- type: import('vue').PropType<Nullable<boolean>>;
55
- default: null;
56
- };
57
- labelText: {
58
- type: import('vue').PropType<string>;
59
- default: string;
60
- };
61
- feedback: {
62
- type: import('vue').PropType<FeedbackLabels>;
63
- };
64
- inputClass: {
65
- type: import('vue').PropType<unknown[] | ClassType>;
66
- default: string;
67
- };
68
- keepFloatingLabel: {
69
- type: import('vue').PropType<boolean>;
70
- default: boolean;
71
- };
72
- formatter: {
73
- type: import('vue').PropType<Nullable<Partial<{
74
- formatFn: (n: number | string) => string;
75
- unFormatFn: (v: string) => string | number | null;
76
- }>>>;
77
- default: null;
78
- };
79
- }>> & Readonly<{
37
+ click: (args_0: MouseEvent) => any;
38
+ "update:modelValue": (modelValue: string | number | undefined) => any;
39
+ focusin: () => any;
40
+ focusout: () => any;
41
+ keydown: (args_0: KeyboardEvent) => any;
42
+ keyup: (args_0: KeyboardEvent) => any;
43
+ keydownEnterPressed: () => any;
44
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
80
45
  onClick?: ((args_0: MouseEvent) => any) | undefined;
46
+ "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
81
47
  onFocusin?: (() => any) | undefined;
82
48
  onFocusout?: (() => any) | undefined;
83
49
  onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
84
50
  onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
85
51
  onKeydownEnterPressed?: (() => any) | undefined;
86
52
  }>, {
53
+ inputClass: ClassType | unknown[];
87
54
  isValid: Nullable<boolean>;
88
55
  labelText: string;
89
- inputClass: ClassType | unknown[];
90
56
  keepFloatingLabel: boolean;
91
57
  formatter: Nullable<Partial<{
92
58
  formatFn: (n: number | string) => string;
93
59
  unFormatFn: (v: string) => string | number | null;
94
60
  }>>;
95
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
96
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
61
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
62
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
97
63
  export default _default;
98
64
  type __VLS_WithTemplateSlots<T, S> = T & {
99
65
  new (): {
@@ -1,18 +1,25 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
-
3
2
  declare function __VLS_template(): {
4
- header?(_: {
5
- closeModal: () => Promise<void>;
6
- }): any;
7
- body?(_: {
8
- closeModal: () => Promise<void>;
9
- }): any;
10
- footer?(_: {
11
- closeModal: () => Promise<void>;
12
- }): any;
13
- "fixed-bottom"?(_: {}): any;
3
+ slots: {
4
+ header?(_: {
5
+ closeModal: () => Promise<void>;
6
+ }): any;
7
+ body?(_: {
8
+ closeModal: () => Promise<void>;
9
+ }): any;
10
+ footer?(_: {
11
+ closeModal: () => Promise<void>;
12
+ }): any;
13
+ "fixed-bottom"?(_: {}): any;
14
+ };
15
+ refs: {
16
+ backdropEl: HTMLDivElement;
17
+ modalEl: HTMLDialogElement;
18
+ };
19
+ attrs: Partial<{}>;
14
20
  };
15
- declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<{
16
23
  id?: string;
17
24
  size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
18
25
  customBackdropClasses?: ClassType;
@@ -31,25 +38,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
31
38
  * If true, the modal will be centered in desktop mode
32
39
  */
33
40
  centered?: boolean;
34
- }>, {
35
- id: string;
36
- size: string;
37
- customBackdropClasses: string;
38
- customModalDialogClasses: string;
39
- customModalHeaderClasses: string;
40
- customModalBodyClasses: string;
41
- customModalFooterClasses: string;
42
- withCloseIcon: boolean;
43
- showModal: boolean;
44
- closeIcon: string;
45
- headerTitle: string;
46
- fullHeight: boolean;
47
- closeOnClickOut: boolean;
48
- centered: boolean;
49
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
50
- closed: () => void;
51
- opened: () => void;
52
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
41
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
+ opened: () => any;
43
+ closed: () => any;
44
+ }, string, import('vue').PublicProps, Readonly<{
53
45
  id?: string;
54
46
  size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
55
47
  customBackdropClasses?: ClassType;
@@ -68,28 +60,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
68
60
  * If true, the modal will be centered in desktop mode
69
61
  */
70
62
  centered?: boolean;
71
- }>, {
72
- id: string;
73
- size: string;
74
- customBackdropClasses: string;
75
- customModalDialogClasses: string;
76
- customModalHeaderClasses: string;
77
- customModalBodyClasses: string;
78
- customModalFooterClasses: string;
79
- withCloseIcon: boolean;
80
- showModal: boolean;
81
- closeIcon: string;
82
- headerTitle: string;
83
- fullHeight: boolean;
84
- closeOnClickOut: boolean;
85
- centered: boolean;
86
- }>>> & Readonly<{
87
- onClosed?: (() => any) | undefined;
63
+ }> & Readonly<{
88
64
  onOpened?: (() => any) | undefined;
65
+ onClosed?: (() => any) | undefined;
89
66
  }>, {
90
67
  id: string;
91
68
  size: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
92
- closeIcon: string;
69
+ headerTitle: string;
93
70
  customBackdropClasses: ClassType;
94
71
  customModalDialogClasses: ClassType;
95
72
  customModalHeaderClasses: ClassType;
@@ -97,30 +74,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
97
74
  customModalFooterClasses: ClassType;
98
75
  withCloseIcon: boolean;
99
76
  showModal: boolean;
100
- headerTitle: string;
77
+ closeIcon: string;
101
78
  fullHeight: boolean;
102
79
  closeOnClickOut: boolean;
103
80
  centered: boolean;
104
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
105
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
81
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
82
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
106
83
  export default _default;
107
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
108
- type __VLS_TypePropsToRuntimeProps<T> = {
109
- [K in keyof T]-?: {} extends Pick<T, K> ? {
110
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
111
- } : {
112
- type: import('vue').PropType<T[K]>;
113
- required: true;
114
- };
115
- };
116
- type __VLS_WithDefaults<P, D> = {
117
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
118
- default: D[K];
119
- }> : P[K];
120
- };
121
- type __VLS_Prettify<T> = {
122
- [K in keyof T]: T[K];
123
- } & {};
124
84
  type __VLS_WithTemplateSlots<T, S> = T & {
125
85
  new (): {
126
86
  $slots: S;
@@ -1,74 +1,22 @@
1
1
  import { Optional } from '@wikicasa-dev/types';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- pageNumber: import('vue').PropType<Optional<number>>;
5
- small: {
6
- type: import('vue').PropType<boolean>;
7
- default: boolean;
8
- };
9
- count: {
10
- type: import('vue').PropType<number>;
11
- default: number;
12
- };
13
- limit: {
14
- type: import('vue').PropType<number>;
15
- default: number;
16
- };
17
- siblings: {
18
- type: import('vue').PropType<number>;
19
- default: number;
20
- };
21
- additionalCount: {
22
- type: import('vue').PropType<number>;
23
- default: number;
24
- };
25
- arrowColor: {
26
- type: import('vue').PropType<string>;
27
- default: string;
28
- };
29
- prevLabel: {
30
- type: import('vue').PropType<string>;
31
- default: string;
32
- };
33
- nextLabel: {
34
- type: import('vue').PropType<string>;
35
- default: string;
36
- };
37
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
38
- pageNumber: import('vue').PropType<Optional<number>>;
39
- small: {
40
- type: import('vue').PropType<boolean>;
41
- default: boolean;
42
- };
43
- count: {
44
- type: import('vue').PropType<number>;
45
- default: number;
46
- };
47
- limit: {
48
- type: import('vue').PropType<number>;
49
- default: number;
50
- };
51
- siblings: {
52
- type: import('vue').PropType<number>;
53
- default: number;
54
- };
55
- additionalCount: {
56
- type: import('vue').PropType<number>;
57
- default: number;
58
- };
59
- arrowColor: {
60
- type: import('vue').PropType<string>;
61
- default: string;
62
- };
63
- prevLabel: {
64
- type: import('vue').PropType<string>;
65
- default: string;
66
- };
67
- nextLabel: {
68
- type: import('vue').PropType<string>;
69
- default: string;
70
- };
71
- }>> & Readonly<{}>, {
2
+ declare let __VLS_typeProps: {
3
+ count?: number;
4
+ limit?: number;
5
+ siblings?: number;
6
+ additionalCount?: number;
7
+ arrowColor?: string;
8
+ small?: boolean;
9
+ prevLabel?: string;
10
+ nextLabel?: string;
11
+ };
12
+ type __VLS_PublicProps = {
13
+ "pageNumber"?: Optional<number>;
14
+ } & typeof __VLS_typeProps;
15
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
+ "update:pageNumber": (pageNumber: Optional<number>) => any;
17
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
+ "onUpdate:pageNumber"?: ((pageNumber: Optional<number>) => any) | undefined;
19
+ }>, {
72
20
  small: boolean;
73
21
  count: number;
74
22
  limit: number;
@@ -77,5 +25,5 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
77
25
  arrowColor: string;
78
26
  prevLabel: string;
79
27
  nextLabel: string;
80
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
28
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
81
29
  export default _default;