@wikicasa-dev/components 2.0.51 → 2.0.52

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 (128) hide show
  1. package/dist/AccessibleSelect.js +1 -1
  2. package/dist/BaseAccordion.js +1 -1
  3. package/dist/BaseAccordionBtn.js +1 -1
  4. package/dist/BaseAccordionContent.js +1 -1
  5. package/dist/BaseAccordionItem.js +1 -1
  6. package/dist/BaseAlert.js +1 -1
  7. package/dist/BaseAutocomplete.js +1 -1
  8. package/dist/BaseBadge.js +1 -1
  9. package/dist/BaseBreadcrumb.js +1 -1
  10. package/dist/BaseButton.js +1 -1
  11. package/dist/BaseCard.js +2 -2
  12. package/dist/BaseComplexToggle.js +4 -4
  13. package/dist/BaseDropDown.js +1 -1
  14. package/dist/BaseFloatingLabel.js +3 -3
  15. package/dist/BaseIcon.js +4 -4
  16. package/dist/BaseInput.js +9 -9
  17. package/dist/BaseModal.js +1 -1
  18. package/dist/BasePagination.js +1 -1
  19. package/dist/BasePaper.js +2 -2
  20. package/dist/BaseShimmerLoader.js +2 -2
  21. package/dist/BaseSlider.js +2 -2
  22. package/dist/BaseSnackbar.js +3 -3
  23. package/dist/BaseTabList.js +1 -1
  24. package/dist/BaseTabPanel.js +1 -1
  25. package/dist/BaseTabView.js +1 -1
  26. package/dist/BaseTextarea.js +4 -4
  27. package/dist/BaseToggle.js +4 -4
  28. package/dist/BaseTooltip.js +3 -3
  29. package/dist/BaseUploadFile.js +1 -1
  30. package/dist/CheckboxBtn.js +5 -5
  31. package/dist/CheckboxGroup.js +1 -1
  32. package/dist/DoughnutChart.js +1 -1
  33. package/dist/IntersectionObservable.js +1 -1
  34. package/dist/IntersectionObserver.js +1 -1
  35. package/dist/LineChart.js +1 -1
  36. package/dist/RadioButton.js +1 -1
  37. package/dist/RadioGroup.js +1 -1
  38. package/dist/SelectItem.js +1 -1
  39. package/dist/ShimmerMultiLine.js +1 -1
  40. package/dist/SimpleSlider.js +2 -2
  41. package/dist/StaticSpinner.js +2 -2
  42. package/dist/SwiperCarousel.js +1 -1
  43. package/dist/SwiperSlide.js +2 -2
  44. package/dist/UIKit/AccessibleSelect.vue.d.ts +10 -5
  45. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +12 -9
  46. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -12
  47. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +14 -10
  48. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +33 -20
  49. package/dist/UIKit/BaseAlert.vue.d.ts +7 -7
  50. package/dist/UIKit/BaseAutocomplete.vue.d.ts +8 -4
  51. package/dist/UIKit/BaseBadge.vue.d.ts +6 -6
  52. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +10 -8
  53. package/dist/UIKit/BaseButton.vue.d.ts +30 -17
  54. package/dist/UIKit/BaseCard.vue.d.ts +15 -12
  55. package/dist/UIKit/BaseComplexToggle.vue.d.ts +6 -7
  56. package/dist/UIKit/BaseDropDown.vue.d.ts +6 -9
  57. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +11 -5
  58. package/dist/UIKit/BaseIcon.vue.d.ts +9 -3
  59. package/dist/UIKit/BaseInput.vue.d.ts +7 -10
  60. package/dist/UIKit/BaseModal.vue.d.ts +44 -25
  61. package/dist/UIKit/BasePagination.vue.d.ts +5 -5
  62. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +12 -10
  63. package/dist/UIKit/BaseSlider.vue.d.ts +7 -10
  64. package/dist/UIKit/BaseSnackbar.vue.d.ts +14 -7
  65. package/dist/UIKit/BaseTextarea.vue.d.ts +5 -7
  66. package/dist/UIKit/BaseToggle.vue.d.ts +5 -6
  67. package/dist/UIKit/BaseTooltip.vue.d.ts +20 -13
  68. package/dist/UIKit/BaseUploadFile.vue.d.ts +19 -13
  69. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +31 -18
  70. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +43 -23
  71. package/dist/UIKit/Radio/RadioButton.vue.d.ts +11 -7
  72. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +7 -8
  73. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
  74. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -54
  75. package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +5 -7
  76. package/dist/UIKit/StaticSpinner.vue.d.ts +5 -3
  77. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
  78. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +7 -5
  79. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +11 -9
  80. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +5 -7
  81. package/dist/assets/SwiperCarousel.css +1 -1
  82. package/dist/chart/DoughnutChart.vue.d.ts +5 -3
  83. package/dist/chart/LineChart.vue.d.ts +6 -4
  84. package/dist/chart/composables/useChartjsModules.d.ts +1 -1
  85. package/dist/chunks/{AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js → AccessibleSelect.vue_vue_type_script_setup_true_lang.tcyWuhKm.js} +4 -4
  86. package/dist/chunks/{ArrowIcon.Bq6Xr3uH.js → ArrowIcon.CCFMdsq6.js} +1 -1
  87. package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js → BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js} +2 -2
  88. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js} +4 -4
  89. package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js} +2 -2
  90. package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js} +8 -8
  91. package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js → BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js} +2 -2
  92. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.B31Vyyn6.js} +9 -9
  93. package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js → BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js} +2 -2
  94. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BAE3i6sW.js} +7 -7
  95. package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js → BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js} +4 -4
  96. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js → BaseDropDown.vue_vue_type_script_setup_true_lang.CpbjEyOl.js} +9 -9
  97. package/dist/chunks/{BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js → BaseModal.vue_vue_type_style_index_0_lang.CeKWAwpg.js} +4 -4
  98. package/dist/chunks/{BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js → BasePagination.vue_vue_type_script_setup_true_lang.Cb6fEMc-.js} +19 -20
  99. package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js → BaseTabList.vue_vue_type_script_setup_true_lang.CohlLou1.js} +2 -2
  100. package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js} +2 -2
  101. package/dist/chunks/{BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js → BaseTabView.vue_vue_type_script_setup_true_lang.DTPN9Rg-.js} +3 -3
  102. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js} +1 -1
  103. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.BC3hlJfx.js} +5 -5
  104. package/dist/chunks/{CloseIcon.BZ4U3aiI.js → CloseIcon.DIkr4soH.js} +1 -1
  105. package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js → DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js} +3 -3
  106. package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js} +2 -2
  107. package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js} +2 -2
  108. package/dist/chunks/{LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js → LineChart.vue_vue_type_script_setup_true_lang.iRZ_Q6nK.js} +3 -3
  109. package/dist/chunks/ObjectUtils.BOUbloeg.js +10 -0
  110. package/dist/chunks/PharmacyIcon.56ql_DYl.js +19 -0
  111. package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js → RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js} +2 -2
  112. package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js → RadioGroup.vue_vue_type_script_setup_true_lang.DdmSUyxZ.js} +2 -2
  113. package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js → SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js} +2 -2
  114. package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js} +3 -3
  115. package/dist/chunks/SwiperCarousel.ZCDTriDD.js +720 -0
  116. package/dist/chunks/{index.B8665G6v.js → index.DzeXT3uf.js} +7 -9
  117. package/dist/chunks/{useBreakpoints.BXk8Xcw3.js → types-B0dZ7OiV.D29wNgoj.js} +832 -2812
  118. package/dist/chunks/useKeyboardController.CutKeclN.js +41 -0
  119. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +9 -10
  120. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +2 -5
  121. package/dist/components/carousel/SwiperCarousel.vue.d.ts +2 -6
  122. package/dist/components/carousel/SwiperSlide.vue.d.ts +2 -3
  123. package/dist/index.js +25 -25
  124. package/package.json +1 -1
  125. package/dist/chunks/ObjectUtils.DwkJjVq1.js +0 -10
  126. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +0 -11
  127. package/dist/chunks/SwiperCarousel.D_wjYYan.js +0 -749
  128. package/dist/chunks/polyline.DjpLdMaW.js +0 -5256
@@ -1,5 +1,25 @@
1
1
  import { ClassTypeProp } from './types';
2
- type __VLS_Props = {
2
+ declare function __VLS_template(): {
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
+ modalDialog: HTMLDialogElement;
18
+ };
19
+ attrs: Partial<{}>;
20
+ };
21
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
+ declare const __VLS_component: import('vue').DefineComponent<{
3
23
  id?: string;
4
24
  size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
5
25
  customBackdropClasses?: ClassTypeProp;
@@ -20,33 +40,32 @@ type __VLS_Props = {
20
40
  dataCy?: string;
21
41
  closeIconBtnClasses?: ClassTypeProp;
22
42
  titleClasses?: ClassTypeProp;
23
- };
24
- declare function __VLS_template(): {
25
- attrs: Partial<{}>;
26
- slots: {
27
- header?(_: {
28
- closeModal: () => Promise<void>;
29
- }): any;
30
- body?(_: {
31
- closeModal: () => Promise<void>;
32
- }): any;
33
- footer?(_: {
34
- closeModal: () => Promise<void>;
35
- }): any;
36
- 'fixed-bottom'?(_: {}): any;
37
- };
38
- refs: {
39
- backdropEl: HTMLDivElement;
40
- modalDialog: HTMLDialogElement;
41
- };
42
- rootEl: any;
43
- };
44
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
45
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
44
  opened: () => any;
47
45
  closed: () => any;
48
46
  dialogClick: (args_0: MouseEvent) => any;
49
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
47
+ }, string, import('vue').PublicProps, Readonly<{
48
+ id?: string;
49
+ size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
50
+ customBackdropClasses?: ClassTypeProp;
51
+ customModalDialogClasses?: ClassTypeProp;
52
+ customModalHeaderClasses?: ClassTypeProp;
53
+ customModalBodyClasses?: ClassTypeProp;
54
+ customModalFooterClasses?: ClassTypeProp;
55
+ withCloseIcon?: boolean;
56
+ showModal?: boolean;
57
+ headerTitle?: string;
58
+ autoClose?: number;
59
+ fullHeight?: boolean;
60
+ closeOnClickOut?: boolean;
61
+ /**
62
+ * If true, the modal will be centered in desktop mode
63
+ */
64
+ centered?: boolean;
65
+ dataCy?: string;
66
+ closeIconBtnClasses?: ClassTypeProp;
67
+ titleClasses?: ClassTypeProp;
68
+ }> & Readonly<{
50
69
  onOpened?: (() => any) | undefined;
51
70
  onClosed?: (() => any) | undefined;
52
71
  onDialogClick?: ((args_0: MouseEvent) => any) | undefined;
@@ -1,5 +1,5 @@
1
1
  import { Optional } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
2
+ declare let __VLS_typeProps: {
3
3
  count?: number;
4
4
  limit?: number;
5
5
  siblings?: number;
@@ -13,10 +13,10 @@ type __VLS_Props = {
13
13
  };
14
14
  type __VLS_PublicProps = {
15
15
  "pageNumber"?: Optional<number>;
16
- } & __VLS_Props;
16
+ } & typeof __VLS_typeProps;
17
17
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- "update:pageNumber": (value: Optional<number>) => any;
18
+ "update:pageNumber": (pageNumber: Optional<number>) => any;
19
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- "onUpdate:pageNumber"?: ((value: Optional<number>) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
20
+ "onUpdate:pageNumber"?: ((pageNumber: Optional<number>) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
22
22
  export default _default;
@@ -1,10 +1,4 @@
1
- type __VLS_Props = {
2
- label?: string;
3
- active?: boolean;
4
- idx?: number;
5
- };
6
1
  declare function __VLS_template(): {
7
- attrs: Partial<{}>;
8
2
  slots: {
9
3
  default?(_: {
10
4
  itemIdx: number;
@@ -13,13 +7,21 @@ declare function __VLS_template(): {
13
7
  refs: {
14
8
  liItem: HTMLLIElement;
15
9
  };
16
- rootEl: HTMLLIElement;
10
+ attrs: Partial<{}>;
17
11
  };
18
12
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
+ declare const __VLS_component: import('vue').DefineComponent<{
14
+ label?: string;
15
+ active?: boolean;
16
+ idx?: number;
17
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
18
  click: (args_0: number) => any;
21
19
  mouseover: (args_0: number) => any;
22
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
20
+ }, string, import('vue').PublicProps, Readonly<{
21
+ label?: string;
22
+ active?: boolean;
23
+ idx?: number;
24
+ }> & Readonly<{
23
25
  onClick?: ((args_0: number) => any) | undefined;
24
26
  onMouseover?: ((args_0: number) => any) | undefined;
25
27
  }>, {
@@ -28,7 +30,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
28
30
  idx: number;
29
31
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
32
  liItem: HTMLLIElement;
31
- }, HTMLLIElement>;
33
+ }, any>;
32
34
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
35
  export default _default;
34
36
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { Optional } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
2
+ declare let __VLS_typeProps: {
3
3
  type?: "linear" | "logarithmic";
4
4
  min?: number;
5
5
  max?: number;
@@ -7,15 +7,12 @@ type __VLS_Props = {
7
7
  type __VLS_PublicProps = {
8
8
  "minValue"?: Optional<number>;
9
9
  "maxValue"?: Optional<number>;
10
- } & __VLS_Props;
10
+ } & typeof __VLS_typeProps;
11
11
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
- "update:minValue": (value: Optional<number>) => any;
13
- "update:maxValue": (value: Optional<number>) => any;
12
+ "update:minValue": (minValue: Optional<number>) => any;
13
+ "update:maxValue": (maxValue: Optional<number>) => any;
14
14
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
15
- "onUpdate:minValue"?: ((value: Optional<number>) => any) | undefined;
16
- "onUpdate:maxValue"?: ((value: Optional<number>) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
18
- fromSlider: HTMLInputElement;
19
- toSlider: HTMLInputElement;
20
- }, HTMLDivElement>;
15
+ "onUpdate:minValue"?: ((minValue: Optional<number>) => any) | undefined;
16
+ "onUpdate:maxValue"?: ((maxValue: Optional<number>) => any) | undefined;
17
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
18
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Action, Nullable, SnackbarTypes } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
2
+ declare const _default: import('vue').DefineComponent<{
3
3
  type?: SnackbarTypes;
4
4
  title: string;
5
5
  body: string;
@@ -9,16 +9,23 @@ type __VLS_Props = {
9
9
  };
10
10
  timeout?: number;
11
11
  cb?: Nullable<Action>;
12
- };
13
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
13
  "snackbar-hidden": () => any;
15
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ }, string, import('vue').PublicProps, Readonly<{
15
+ type?: SnackbarTypes;
16
+ title: string;
17
+ body: string;
18
+ icon?: {
19
+ src: string;
20
+ alt: string;
21
+ };
22
+ timeout?: number;
23
+ cb?: Nullable<Action>;
24
+ }> & Readonly<{
16
25
  "onSnackbar-hidden"?: (() => any) | undefined;
17
26
  }>, {
18
27
  type: SnackbarTypes;
19
28
  timeout: number;
20
29
  cb: Nullable<Action>;
21
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
- snackbar: HTMLDivElement;
23
- }, any>;
30
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
31
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
2
  import { FeedbackLabels, ClassTypeProp } from './types';
3
- type __VLS_Props = {
3
+ declare let __VLS_typeProps: {
4
4
  labelText?: string;
5
5
  feedback?: FeedbackLabels;
6
6
  isValid?: Nullable<boolean>;
@@ -9,24 +9,22 @@ type __VLS_Props = {
9
9
  };
10
10
  type __VLS_PublicProps = {
11
11
  modelValue?: string | undefined;
12
- } & __VLS_Props;
12
+ } & typeof __VLS_typeProps;
13
13
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
14
14
  disableTextarea: () => void;
15
15
  clearTextareaElem: () => void;
16
16
  focusDisabledTextarea: () => void;
17
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
18
  click: (args_0: MouseEvent) => any;
19
- "update:modelValue": (value: string | undefined) => any;
19
+ "update:modelValue": (modelValue: string | undefined) => any;
20
20
  focusin: () => any;
21
21
  focusout: () => any;
22
22
  keydown: (args_0: KeyboardEvent) => any;
23
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
24
24
  onClick?: ((args_0: MouseEvent) => any) | undefined;
25
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
26
26
  onFocusin?: (() => any) | undefined;
27
27
  onFocusout?: (() => any) | undefined;
28
28
  onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
29
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
- textarea: HTMLTextAreaElement;
31
- }, any>;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
30
  export default _default;
@@ -1,24 +1,23 @@
1
- type __VLS_Props = {
1
+ declare let __VLS_typeProps: {
2
2
  withRightLabel?: boolean;
3
3
  label?: string;
4
4
  };
5
5
  type __VLS_PublicProps = {
6
6
  modelValue?: boolean | undefined;
7
- } & __VLS_Props;
7
+ } & typeof __VLS_typeProps;
8
8
  declare function __VLS_template(): {
9
- attrs: Partial<{}>;
10
9
  slots: {
11
10
  leftLabel?(_: {}): any;
12
11
  rightLabel?(_: {}): any;
13
12
  };
14
13
  refs: {};
15
- rootEl: any;
14
+ attrs: Partial<{}>;
16
15
  };
17
16
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
17
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
- "update:modelValue": (value: boolean | undefined) => any;
18
+ "update:modelValue": (modelValue: boolean | undefined) => any;
20
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
21
- "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
20
+ "onUpdate:modelValue"?: ((modelValue: boolean | undefined) => any) | undefined;
22
21
  }>, {
23
22
  label: string;
24
23
  withRightLabel: boolean;
@@ -1,5 +1,14 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
2
+ declare function __VLS_template(): {
3
+ slots: {
4
+ trigger?(_: {}): any;
5
+ content?(_: {}): any;
6
+ };
7
+ refs: {};
8
+ attrs: Partial<{}>;
9
+ };
10
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
11
+ declare const __VLS_component: import('vue').DefineComponent<{
3
12
  theme?: {
4
13
  color: "blue" | "white";
5
14
  size: "sm" | "md" | "lg";
@@ -8,18 +17,16 @@ type __VLS_Props = {
8
17
  customTooltipClass?: "mail-alert" | "";
9
18
  showTooltipContentManually?: boolean;
10
19
  tooltipContentClasses?: ClassType;
11
- };
12
- declare function __VLS_template(): {
13
- attrs: Partial<{}>;
14
- slots: {
15
- trigger?(_: {}): any;
16
- content?(_: {}): any;
20
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
21
+ theme?: {
22
+ color: "blue" | "white";
23
+ size: "sm" | "md" | "lg";
17
24
  };
18
- refs: {};
19
- rootEl: HTMLDivElement;
20
- };
21
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
25
+ direction?: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
26
+ customTooltipClass?: "mail-alert" | "";
27
+ showTooltipContentManually?: boolean;
28
+ tooltipContentClasses?: ClassType;
29
+ }> & Readonly<{}>, {
23
30
  direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
24
31
  theme: {
25
32
  color: "blue" | "white";
@@ -28,7 +35,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
28
35
  customTooltipClass: "mail-alert" | "";
29
36
  showTooltipContentManually: boolean;
30
37
  tooltipContentClasses: ClassType;
31
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
38
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
32
39
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
33
40
  export default _default;
34
41
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,28 +1,34 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
3
- id: string;
4
- labelText?: string;
5
- clear?: boolean;
6
- labelClasses?: ClassType;
7
- floatingLabelClasses?: ClassType;
8
- fieldsetClasses?: ClassType;
9
- legendClasses?: ClassType;
10
- };
11
2
  declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
3
  slots: {
14
4
  label?(_: {
15
5
  filename: string;
16
6
  }): any;
17
7
  };
18
8
  refs: {};
19
- rootEl: any;
9
+ attrs: Partial<{}>;
20
10
  };
21
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ declare const __VLS_component: import('vue').DefineComponent<{
13
+ id: string;
14
+ labelText?: string;
15
+ clear?: boolean;
16
+ labelClasses?: ClassType;
17
+ floatingLabelClasses?: ClassType;
18
+ fieldsetClasses?: ClassType;
19
+ legendClasses?: ClassType;
20
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
23
21
  cleared: () => any;
24
22
  uploaded: (args_0: File) => any;
25
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ }, string, import('vue').PublicProps, Readonly<{
24
+ id: string;
25
+ labelText?: string;
26
+ clear?: boolean;
27
+ labelClasses?: ClassType;
28
+ floatingLabelClasses?: ClassType;
29
+ fieldsetClasses?: ClassType;
30
+ legendClasses?: ClassType;
31
+ }> & Readonly<{
26
32
  onCleared?: (() => any) | undefined;
27
33
  onUploaded?: ((args_0: File) => any) | undefined;
28
34
  }>, {
@@ -4,7 +4,17 @@ type EventPayload = {
4
4
  label: string | number;
5
5
  checked: boolean;
6
6
  };
7
- type __VLS_Props = {
7
+ declare function __VLS_template(): {
8
+ slots: {
9
+ label?(_: {}): any;
10
+ };
11
+ refs: {
12
+ checkbox: HTMLInputElement;
13
+ };
14
+ attrs: Partial<{}>;
15
+ };
16
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
+ declare const __VLS_component: import('vue').DefineComponent<{
8
18
  id?: string | number;
9
19
  dataCy?: string;
10
20
  disabled?: boolean;
@@ -21,29 +31,32 @@ type __VLS_Props = {
21
31
  */
22
32
  handleLabelClick?: boolean;
23
33
  modelValue?: boolean;
24
- };
25
- declare function __VLS_template(): {
26
- attrs: Partial<{}>;
27
- slots: {
28
- label?(_: {}): any;
29
- };
30
- refs: {
31
- checkbox: HTMLInputElement;
32
- };
33
- rootEl: HTMLDivElement;
34
- };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
34
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
35
  click: () => any;
38
36
  change: (args_0: EventPayload) => any;
39
37
  "update:modelValue": (args_0: boolean) => any;
40
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
38
+ }, string, import('vue').PublicProps, Readonly<{
39
+ id?: string | number;
40
+ dataCy?: string;
41
+ disabled?: boolean;
42
+ checked?: boolean;
43
+ required?: boolean;
44
+ inputClass?: ClassType;
45
+ inline?: boolean;
46
+ label?: string | number;
47
+ labelClass?: ClassType;
48
+ isValid?: Nullable<boolean>;
49
+ containerId?: string;
50
+ /**
51
+ * If false, the click event won't be emitted
52
+ */
53
+ handleLabelClick?: boolean;
54
+ modelValue?: boolean;
55
+ }> & Readonly<{
41
56
  onClick?: (() => any) | undefined;
42
57
  onChange?: ((args_0: EventPayload) => any) | undefined;
43
58
  "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
45
- checkbox: HTMLInputElement;
46
- }, HTMLDivElement>;
59
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
47
60
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
48
61
  export default _default;
49
62
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,24 @@
1
1
  import { CheckboxButtonType, GetterIdType } from '../types';
2
2
  import { ClassType } from '@wikicasa-dev/types';
3
- type __VLS_Props = {
3
+ declare function __VLS_template(): {
4
+ slots: {
5
+ default?(_: {
6
+ isActive: (elem: CheckboxButtonType | string | number) => boolean;
7
+ handleChange: (checkboxValue: CheckboxButtonType) => void;
8
+ checkboxesData: CheckboxButtonType[];
9
+ }): any;
10
+ checkbox_elements?(_: {
11
+ isActive: (elem: CheckboxButtonType | string | number) => boolean;
12
+ handleChange: (checkboxValue: CheckboxButtonType) => void;
13
+ checkboxesData: CheckboxButtonType[];
14
+ reset: () => void;
15
+ }): any;
16
+ };
17
+ refs: {};
18
+ attrs: Partial<{}>;
19
+ };
20
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
21
+ declare const __VLS_component: import('vue').DefineComponent<{
4
22
  checkboxData?: CheckboxButtonType[];
5
23
  formCheckInline?: boolean;
6
24
  reset?: boolean;
@@ -22,31 +40,33 @@ type __VLS_Props = {
22
40
  getKey?: GetterIdType;
23
41
  groupId?: string;
24
42
  dataCy?: string;
25
- };
26
- declare function __VLS_template(): {
27
- attrs: Partial<{}>;
28
- slots: {
29
- default?(_: {
30
- isActive: (elem: CheckboxButtonType | string | number) => boolean;
31
- handleChange: (checkboxValue: CheckboxButtonType) => void;
32
- checkboxesData: CheckboxButtonType[];
33
- }): any;
34
- checkbox_elements?(_: {
35
- isActive: (elem: CheckboxButtonType | string | number) => boolean;
36
- handleChange: (checkboxValue: CheckboxButtonType) => void;
37
- checkboxesData: CheckboxButtonType[];
38
- reset: () => void;
39
- }): any;
40
- };
41
- refs: {};
42
- rootEl: any;
43
- };
44
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
45
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
43
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
46
44
  "update:modelValue": (args_0: CheckboxButtonType[]) => any;
47
45
  resetted: () => any;
48
46
  checkedGroup: (args_0: string) => any;
49
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
47
+ }, string, import('vue').PublicProps, Readonly<{
48
+ checkboxData?: CheckboxButtonType[];
49
+ formCheckInline?: boolean;
50
+ reset?: boolean;
51
+ checkboxContainerClasses?: ClassType;
52
+ /**
53
+ * [ResetCheckbox required] If true, when you check all the checkboxes, the reset one will be checked
54
+ */
55
+ autoCheckResetAll?: boolean;
56
+ /**
57
+ * [ResetCheckbox required] If true, when you uncheck all the checkboxes, the reset one will be checked
58
+ */
59
+ autoCheckResetEmpty?: boolean;
60
+ /**
61
+ * [ResetCheckbox required]
62
+ * If true, you can manually toggle the reset button.
63
+ * Otherwise, if autoCheckResetEmpty is false, the reset button would never be unchecked when the user clicks on it
64
+ */
65
+ manualToggleResetButton?: boolean;
66
+ getKey?: GetterIdType;
67
+ groupId?: string;
68
+ dataCy?: string;
69
+ }> & Readonly<{
50
70
  "onUpdate:modelValue"?: ((args_0: CheckboxButtonType[]) => any) | undefined;
51
71
  onResetted?: (() => any) | undefined;
52
72
  onCheckedGroup?: ((args_0: string) => any) | undefined;
@@ -1,27 +1,31 @@
1
1
  import { ClassType, Nullable } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
2
+ declare const _default: import('vue').DefineComponent<{
3
3
  id?: Nullable<string | number>;
4
4
  name?: string;
5
5
  label: string;
6
6
  modelValue?: boolean;
7
7
  inputClasses?: ClassType;
8
8
  labelClasses?: ClassType;
9
- };
10
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
10
  change: (args_0: {
12
11
  id: string | number;
13
12
  label: string;
14
13
  name?: string;
15
14
  }) => any;
16
15
  "update:modelValue": (args_0: boolean) => any;
17
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
16
+ }, string, import('vue').PublicProps, Readonly<{
17
+ id?: Nullable<string | number>;
18
+ name?: string;
19
+ label: string;
20
+ modelValue?: boolean;
21
+ inputClasses?: ClassType;
22
+ labelClasses?: ClassType;
23
+ }> & Readonly<{
18
24
  onChange?: ((args_0: {
19
25
  id: string | number;
20
26
  label: string;
21
27
  name?: string;
22
28
  }) => any) | undefined;
23
29
  "onUpdate:modelValue"?: ((args_0: boolean) => any) | undefined;
24
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
25
- checkbox: HTMLInputElement;
26
- }, HTMLDivElement>;
30
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
31
  export default _default;
@@ -1,20 +1,19 @@
1
1
  import { RadioButtonType } from '../types';
2
2
  import { ClassType, Nullable, Optional } from '@wikicasa-dev/types';
3
- type __VLS_Props = {
3
+ declare let __VLS_typeProps: {
4
4
  radioValues?: RadioButtonType[];
5
5
  dataCy?: string;
6
6
  radioContainerClasses?: ClassType;
7
7
  };
8
8
  type __VLS_PublicProps = {
9
9
  "resetRadio"?: Optional<boolean>;
10
- } & __VLS_Props;
10
+ } & typeof __VLS_typeProps;
11
11
  declare function __VLS_template(): {
12
- attrs: Partial<{}>;
13
12
  slots: {
14
13
  default?(_: {
15
14
  handleClick: (elem: RadioButtonType) => void;
16
15
  activeValue: {
17
- id?: string | number | null | undefined;
16
+ id?: (string | number | null) | undefined;
18
17
  label: string | number;
19
18
  payload?: unknown;
20
19
  active?: boolean | undefined;
@@ -25,7 +24,7 @@ declare function __VLS_template(): {
25
24
  radio_elements?(_: {
26
25
  handleClick: (elem: RadioButtonType) => void;
27
26
  activeValue: {
28
- id?: string | number | null | undefined;
27
+ id?: (string | number | null) | undefined;
29
28
  label: string | number;
30
29
  payload?: unknown;
31
30
  active?: boolean | undefined;
@@ -35,15 +34,15 @@ declare function __VLS_template(): {
35
34
  }): any;
36
35
  };
37
36
  refs: {};
38
- rootEl: any;
37
+ attrs: Partial<{}>;
39
38
  };
40
39
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
41
40
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
41
  "update:modelValue": (args_0: Nullable<RadioButtonType>) => any;
43
- "update:resetRadio": (value: Optional<boolean>) => any;
42
+ "update:resetRadio": (resetRadio: Optional<boolean>) => any;
44
43
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
45
44
  "onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
46
- "onUpdate:resetRadio"?: ((value: Optional<boolean>) => any) | undefined;
45
+ "onUpdate:resetRadio"?: ((resetRadio: Optional<boolean>) => any) | undefined;
47
46
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
48
47
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
49
48
  export default _default;
@@ -1,17 +1,17 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
- type __VLS_Props = {
3
- shimmerClasses?: ClassType;
4
- };
5
2
  declare function __VLS_template(): {
6
- attrs: Partial<{}>;
7
3
  slots: {
8
4
  default?(_: {}): any;
9
5
  };
10
6
  refs: {};
11
- rootEl: any;
7
+ attrs: Partial<{}>;
12
8
  };
13
9
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
14
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_component: import('vue').DefineComponent<{
11
+ shimmerClasses?: ClassType;
12
+ }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
+ shimmerClasses?: ClassType;
14
+ }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
15
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
16
16
  export default _default;
17
17
  type __VLS_WithTemplateSlots<T, S> = T & {