@wikicasa-dev/components 2.0.3 → 2.0.5-0.alpha-0

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 (147) 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 +16 -16
  12. package/dist/BaseComplexToggle.js +4 -4
  13. package/dist/BaseDropDown.js +1 -1
  14. package/dist/BaseFloatingLabel.js +21 -19
  15. package/dist/BaseIcon.js +4 -4
  16. package/dist/BaseInput.js +106 -100
  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 +173 -222
  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 +16 -15
  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 +10 -6
  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 +83 -0
  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 +49 -103
  45. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +9 -12
  46. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +12 -17
  47. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +10 -14
  48. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +20 -33
  49. package/dist/UIKit/BaseAlert.vue.d.ts +8 -8
  50. package/dist/UIKit/BaseAutocomplete.vue.d.ts +39 -198
  51. package/dist/UIKit/BaseBadge.vue.d.ts +7 -7
  52. package/dist/UIKit/BaseBreadcrumb.vue.d.ts +8 -10
  53. package/dist/UIKit/BaseButton.vue.d.ts +17 -30
  54. package/dist/UIKit/BaseCard.vue.d.ts +14 -23
  55. package/dist/UIKit/BaseComplexToggle.vue.d.ts +7 -6
  56. package/dist/UIKit/BaseDropDown.vue.d.ts +40 -38
  57. package/dist/UIKit/BaseFloatingLabel.vue.d.ts +8 -13
  58. package/dist/UIKit/BaseIcon.vue.d.ts +3 -9
  59. package/dist/UIKit/BaseInput.vue.d.ts +20 -20
  60. package/dist/UIKit/BaseModal.vue.d.ts +35 -60
  61. package/dist/UIKit/BasePagination.vue.d.ts +7 -14
  62. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +10 -12
  63. package/dist/UIKit/BaseSlider.vue.d.ts +20 -175
  64. package/dist/UIKit/BaseSnackbar.vue.d.ts +7 -14
  65. package/dist/UIKit/BaseTextarea.vue.d.ts +9 -10
  66. package/dist/UIKit/BaseToggle.vue.d.ts +6 -5
  67. package/dist/UIKit/BaseTooltip.vue.d.ts +13 -20
  68. package/dist/UIKit/BaseUploadFile.vue.d.ts +13 -19
  69. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +18 -31
  70. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +23 -43
  71. package/dist/UIKit/Radio/RadioButton.vue.d.ts +7 -11
  72. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +8 -7
  73. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -6
  74. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +54 -8
  75. package/dist/UIKit/Slider/SimpleSlider.vue.d.ts +19 -0
  76. package/dist/UIKit/StaticSpinner.vue.d.ts +3 -5
  77. package/dist/UIKit/Tab/BaseTab.vue.d.ts +8 -10
  78. package/dist/UIKit/Tab/BaseTabList.vue.d.ts +8 -9
  79. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +9 -11
  80. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +11 -8
  81. package/dist/UIKit/types.d.ts +4 -1
  82. package/dist/assets/BaseAlert.css +1 -1
  83. package/dist/assets/BaseBadge.css +1 -1
  84. package/dist/assets/BaseCard.css +1 -1
  85. package/dist/assets/BaseFloatingLabel.css +1 -1
  86. package/dist/assets/BaseInput.css +1 -1
  87. package/dist/assets/BaseSlider.css +1 -1
  88. package/dist/assets/BaseTextarea.css +1 -1
  89. package/dist/assets/BaseTooltip.css +1 -1
  90. package/dist/assets/CheckboxBtn.css +1 -1
  91. package/dist/assets/SimpleSlider.css +1 -0
  92. package/dist/assets/SwiperCarousel.css +1 -1
  93. package/dist/assets/index.css +1 -1
  94. package/dist/chart/DoughnutChart.vue.d.ts +3 -5
  95. package/dist/chart/LineChart.vue.d.ts +16 -6
  96. package/dist/chart/composables/useChartjsModules.d.ts +1 -1
  97. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.aBS46udY.js +246 -0
  98. package/dist/chunks/{ArrowIcon.CCFMdsq6.js → ArrowIcon.Bq6Xr3uH.js} +1 -1
  99. package/dist/chunks/{BaseAccordion.vue_vue_type_script_setup_true_lang.R7qkuKlw.js → BaseAccordion.vue_vue_type_script_setup_true_lang.C34SZThb.js} +2 -2
  100. package/dist/chunks/{BaseAccordionBtn.vue_vue_type_script_setup_true_lang.DsDqk9iP.js → BaseAccordionBtn.vue_vue_type_script_setup_true_lang.APN3hif2.js} +4 -4
  101. package/dist/chunks/{BaseAccordionContent.vue_vue_type_script_setup_true_lang.C0aiiljz.js → BaseAccordionContent.vue_vue_type_script_setup_true_lang.Dn4qNu2R.js} +2 -2
  102. package/dist/chunks/{BaseAccordionItem.vue_vue_type_script_setup_true_lang.Caagpb9M.js → BaseAccordionItem.vue_vue_type_script_setup_true_lang.Dpjir3yq.js} +8 -8
  103. package/dist/chunks/{BaseAlert.vue_vue_type_style_index_0_lang.BtqP_iYL.js → BaseAlert.vue_vue_type_style_index_0_lang.DUWb9d9_.js} +2 -2
  104. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.CwGssIPe.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.C64T2OK4.js} +89 -84
  105. package/dist/chunks/{BaseBadge.vue_vue_type_style_index_0_lang.BOA1gBKu.js → BaseBadge.vue_vue_type_style_index_0_lang.D2PAy8_x.js} +2 -2
  106. package/dist/chunks/{BaseBreadcrumb.vue_vue_type_script_setup_true_lang.BH2c3gOe.js → BaseBreadcrumb.vue_vue_type_script_setup_true_lang.DlSPjwQe.js} +18 -18
  107. package/dist/chunks/{BaseButton.vue_vue_type_script_setup_true_lang.BWZPE2Gf.js → BaseButton.vue_vue_type_script_setup_true_lang.ChUdDzP1.js} +4 -4
  108. package/dist/chunks/{BaseDropDown.vue_vue_type_script_setup_true_lang.H0XcZCcL.js → BaseDropDown.vue_vue_type_script_setup_true_lang.DoEvtblv.js} +62 -48
  109. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.Cy2ThBHM.js +151 -0
  110. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.D_X7MS6X.js +164 -0
  111. package/dist/chunks/{BaseTabList.vue_vue_type_script_setup_true_lang.CpIiJy6I.js → BaseTabList.vue_vue_type_script_setup_true_lang.CHOGs5d-.js} +3 -3
  112. package/dist/chunks/{BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js → BaseTabPanel.vue_vue_type_script_setup_true_lang.CVJUssBq.js} +2 -2
  113. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.CUgJNst9.js +105 -0
  114. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.2elmVcZt.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.Cgu0FMFv.js} +1 -1
  115. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.JlHKkjHJ.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.CAO5UUO3.js} +37 -37
  116. package/dist/chunks/{CloseIcon.DIkr4soH.js → CloseIcon.BZ4U3aiI.js} +1 -1
  117. package/dist/chunks/{DoughnutChart.vue_vue_type_script_setup_true_lang.C4QPaUsI.js → DoughnutChart.vue_vue_type_script_setup_true_lang.B8wxbJBV.js} +3 -3
  118. package/dist/chunks/{IntersectionObservable.vue_vue_type_script_setup_true_lang.BBMxY-re.js → IntersectionObservable.vue_vue_type_script_setup_true_lang.DC17cx-h.js} +2 -2
  119. package/dist/chunks/{IntersectionObserver.vue_vue_type_script_setup_true_lang.CQHjzQc3.js → IntersectionObserver.vue_vue_type_script_setup_true_lang.BKewKDXG.js} +2 -2
  120. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CXNsFiyD.js +42 -0
  121. package/dist/chunks/ObjectUtils.DwkJjVq1.js +10 -0
  122. package/dist/chunks/PharmacyIcon.DEQ8mOEJ.js +11 -0
  123. package/dist/chunks/{RadioButton.vue_vue_type_script_setup_true_lang.CiJAhkRj.js → RadioButton.vue_vue_type_script_setup_true_lang.DRQnjRA7.js} +2 -2
  124. package/dist/chunks/{RadioGroup.vue_vue_type_script_setup_true_lang.BalzO73O.js → RadioGroup.vue_vue_type_script_setup_true_lang.CpsMf2PN.js} +6 -6
  125. package/dist/chunks/{SelectItem.vue_vue_type_script_setup_true_lang.GPFf7fjA.js → SelectItem.vue_vue_type_script_setup_true_lang.Drq_K7Vx.js} +2 -2
  126. package/dist/chunks/{ShimmerMultiLine.vue_vue_type_script_setup_true_lang.DuLXZx8X.js → ShimmerMultiLine.vue_vue_type_script_setup_true_lang.CF7CkxXk.js} +3 -3
  127. package/dist/chunks/SwiperCarousel.ZIrIp4kV.js +744 -0
  128. package/dist/chunks/{index.D6IWh9UY.js → index.D3A-yNFt.js} +9 -7
  129. package/dist/chunks/polyline.DjpLdMaW.js +5256 -0
  130. package/dist/chunks/{types-B0dZ7OiV.D29wNgoj.js → useBreakpoints.BXk8Xcw3.js} +2854 -874
  131. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +10 -9
  132. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +5 -2
  133. package/dist/components/carousel/SwiperCarousel.vue.d.ts +9 -9
  134. package/dist/components/carousel/SwiperSlide.vue.d.ts +3 -2
  135. package/dist/index.d.ts +2 -1
  136. package/dist/index.js +35 -33
  137. package/dist/useChartjsModules.js +1 -1
  138. package/package.json +30 -28
  139. package/dist/chunks/AccessibleSelect.vue_vue_type_script_setup_true_lang.YIp2u7gd.js +0 -231
  140. package/dist/chunks/BaseModal.vue_vue_type_style_index_0_lang.CautEumd.js +0 -142
  141. package/dist/chunks/BasePagination.vue_vue_type_script_setup_true_lang.DxPb8OYe.js +0 -163
  142. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DGeL_YSc.js +0 -95
  143. package/dist/chunks/LineChart.vue_vue_type_script_setup_true_lang.CNkvmtfq.js +0 -37
  144. package/dist/chunks/ObjectUtils.BOUbloeg.js +0 -10
  145. package/dist/chunks/PharmacyIcon.56ql_DYl.js +0 -19
  146. package/dist/chunks/SwiperCarousel.DWUl3bgn.js +0 -718
  147. package/dist/chunks/useKeyboardController.CutKeclN.js +0 -41
@@ -1,7 +1,7 @@
1
- import { Nullable, ClassType } from '@wikicasa-dev/types';
2
- import { FeedbackLabels } from './types';
3
- declare let __VLS_typeProps: {
4
- inputClass?: ClassType | unknown[];
1
+ import { Nullable, InputTypeHTMLAttribute } from '@wikicasa-dev/types';
2
+ import { ClassType, ClassTypeProp, FeedbackLabels } from './types';
3
+ type __VLS_Props = {
4
+ inputClass?: ClassType | ClassType[];
5
5
  labelText?: string;
6
6
  feedback?: FeedbackLabels;
7
7
  isValid?: Nullable<boolean>;
@@ -10,32 +10,39 @@ declare let __VLS_typeProps: {
10
10
  formatFn: (n: number | string) => string;
11
11
  unFormatFn: (v: string) => string | number | null;
12
12
  }>>;
13
+ labelClasses?: ClassTypeProp;
14
+ fieldsetClasses?: ClassTypeProp;
15
+ labelTextClasses?: ClassTypeProp;
16
+ withLeftIcon?: boolean;
17
+ withRightIcon?: boolean;
18
+ dataCy?: string;
13
19
  };
14
20
  type __VLS_PublicProps = {
15
21
  modelValue?: string | number | undefined;
16
- } & typeof __VLS_typeProps;
22
+ } & __VLS_Props;
17
23
  declare function __VLS_template(): {
24
+ attrs: Partial<{}>;
18
25
  slots: {
19
26
  leftIcon?(_: {}): any;
20
27
  righticon?(_: {
21
28
  handleClean: () => void;
22
29
  handleShowPasswd: () => void;
23
- curType: string;
30
+ curType: InputTypeHTMLAttribute;
24
31
  }): any;
25
32
  feedback?(_: {}): any;
26
- "under-label"?(_: {}): any;
33
+ 'under-label'?(_: {}): any;
27
34
  };
28
35
  refs: {
29
36
  baseInputEl: HTMLInputElement;
30
37
  };
31
- attrs: Partial<{}>;
38
+ rootEl: any;
32
39
  };
33
40
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
34
41
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
35
42
  select: () => void;
36
43
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
44
  click: (args_0: MouseEvent) => any;
38
- "update:modelValue": (modelValue: string | number | undefined) => any;
45
+ "update:modelValue": (value: string | number | undefined) => any;
39
46
  focusin: () => any;
40
47
  focusout: () => any;
41
48
  keydown: (args_0: KeyboardEvent) => any;
@@ -43,22 +50,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
43
50
  keydownEnterPressed: () => any;
44
51
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
45
52
  onClick?: ((args_0: MouseEvent) => any) | undefined;
46
- "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
53
+ "onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
47
54
  onFocusin?: (() => any) | undefined;
48
55
  onFocusout?: (() => any) | undefined;
49
56
  onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
50
57
  onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
51
58
  onKeydownEnterPressed?: (() => any) | undefined;
52
- }>, {
53
- inputClass: ClassType | unknown[];
54
- isValid: Nullable<boolean>;
55
- labelText: string;
56
- keepFloatingLabel: boolean;
57
- formatter: Nullable<Partial<{
58
- formatFn: (n: number | string) => string;
59
- unFormatFn: (v: string) => string | number | null;
60
- }>>;
61
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
59
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
60
+ baseInputEl: HTMLInputElement;
61
+ }, any>;
62
62
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
63
63
  export default _default;
64
64
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,28 @@
1
- import { ClassType } from '@wikicasa-dev/types';
1
+ import { ClassTypeProp } from './types';
2
+ type __VLS_Props = {
3
+ id?: string;
4
+ size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
5
+ customBackdropClasses?: ClassTypeProp;
6
+ customModalDialogClasses?: ClassTypeProp;
7
+ customModalHeaderClasses?: ClassTypeProp;
8
+ customModalBodyClasses?: ClassTypeProp;
9
+ customModalFooterClasses?: ClassTypeProp;
10
+ withCloseIcon?: boolean;
11
+ showModal?: boolean;
12
+ headerTitle?: string;
13
+ autoClose?: number;
14
+ fullHeight?: boolean;
15
+ closeOnClickOut?: boolean;
16
+ /**
17
+ * If true, the modal will be centered in desktop mode
18
+ */
19
+ centered?: boolean;
20
+ dataCy?: string;
21
+ closeIconBtnClasses?: ClassTypeProp;
22
+ titleClasses?: ClassTypeProp;
23
+ };
2
24
  declare function __VLS_template(): {
25
+ attrs: Partial<{}>;
3
26
  slots: {
4
27
  header?(_: {
5
28
  closeModal: () => Promise<void>;
@@ -10,75 +33,27 @@ declare function __VLS_template(): {
10
33
  footer?(_: {
11
34
  closeModal: () => Promise<void>;
12
35
  }): any;
13
- "fixed-bottom"?(_: {}): any;
36
+ 'fixed-bottom'?(_: {}): any;
14
37
  };
15
38
  refs: {
16
39
  backdropEl: HTMLDivElement;
17
- modalEl: HTMLDialogElement;
40
+ modalDialog: HTMLDialogElement;
18
41
  };
19
- attrs: Partial<{}>;
42
+ rootEl: any;
20
43
  };
21
44
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
22
- declare const __VLS_component: import('vue').DefineComponent<{
23
- id?: string;
24
- size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
25
- customBackdropClasses?: ClassType;
26
- customModalDialogClasses?: ClassType;
27
- customModalHeaderClasses?: ClassType;
28
- customModalBodyClasses?: ClassType;
29
- customModalFooterClasses?: ClassType;
30
- withCloseIcon?: boolean;
31
- showModal?: boolean;
32
- closeIcon?: string;
33
- headerTitle?: string;
34
- autoClose?: number;
35
- fullHeight?: boolean;
36
- closeOnClickOut?: boolean;
37
- /**
38
- * If true, the modal will be centered in desktop mode
39
- */
40
- centered?: boolean;
41
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
45
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
42
46
  opened: () => any;
43
47
  closed: () => any;
44
- }, string, import('vue').PublicProps, Readonly<{
45
- id?: string;
46
- size?: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
47
- customBackdropClasses?: ClassType;
48
- customModalDialogClasses?: ClassType;
49
- customModalHeaderClasses?: ClassType;
50
- customModalBodyClasses?: ClassType;
51
- customModalFooterClasses?: ClassType;
52
- withCloseIcon?: boolean;
53
- showModal?: boolean;
54
- closeIcon?: string;
55
- headerTitle?: string;
56
- autoClose?: number;
57
- fullHeight?: boolean;
58
- closeOnClickOut?: boolean;
59
- /**
60
- * If true, the modal will be centered in desktop mode
61
- */
62
- centered?: boolean;
63
- }> & Readonly<{
48
+ dialogClick: (args_0: MouseEvent) => any;
49
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
64
50
  onOpened?: (() => any) | undefined;
65
51
  onClosed?: (() => any) | undefined;
66
- }>, {
67
- id: string;
68
- size: "modal-sm" | "modal-md" | "modal-lg" | "modal-xxl" | "modal-full";
69
- headerTitle: string;
70
- customBackdropClasses: ClassType;
71
- customModalDialogClasses: ClassType;
72
- customModalHeaderClasses: ClassType;
73
- customModalBodyClasses: ClassType;
74
- customModalFooterClasses: ClassType;
75
- withCloseIcon: boolean;
76
- showModal: boolean;
77
- closeIcon: string;
78
- fullHeight: boolean;
79
- closeOnClickOut: boolean;
80
- centered: boolean;
81
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
52
+ onDialogClick?: ((args_0: MouseEvent) => any) | undefined;
53
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
54
+ backdropEl: HTMLDivElement;
55
+ modalDialog: HTMLDialogElement;
56
+ }, any>;
82
57
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
83
58
  export default _default;
84
59
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { Optional } from '@wikicasa-dev/types';
2
- declare let __VLS_typeProps: {
2
+ type __VLS_Props = {
3
3
  count?: number;
4
4
  limit?: number;
5
5
  siblings?: number;
@@ -8,22 +8,15 @@ declare let __VLS_typeProps: {
8
8
  small?: boolean;
9
9
  prevLabel?: string;
10
10
  nextLabel?: string;
11
+ prevDataCy?: string;
12
+ nextDataCy?: string;
11
13
  };
12
14
  type __VLS_PublicProps = {
13
15
  "pageNumber"?: Optional<number>;
14
- } & typeof __VLS_typeProps;
16
+ } & __VLS_Props;
15
17
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
16
- "update:pageNumber": (pageNumber: Optional<number>) => any;
18
+ "update:pageNumber": (value: Optional<number>) => any;
17
19
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
18
- "onUpdate:pageNumber"?: ((pageNumber: Optional<number>) => any) | undefined;
19
- }>, {
20
- arrowColor: string;
21
- small: boolean;
22
- count: number;
23
- limit: number;
24
- siblings: number;
25
- additionalCount: number;
26
- prevLabel: string;
27
- nextLabel: string;
28
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
20
+ "onUpdate:pageNumber"?: ((value: Optional<number>) => any) | undefined;
21
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
29
22
  export default _default;
@@ -1,4 +1,10 @@
1
+ type __VLS_Props = {
2
+ label?: string;
3
+ active?: boolean;
4
+ idx?: number;
5
+ };
1
6
  declare function __VLS_template(): {
7
+ attrs: Partial<{}>;
2
8
  slots: {
3
9
  default?(_: {
4
10
  itemIdx: number;
@@ -7,21 +13,13 @@ declare function __VLS_template(): {
7
13
  refs: {
8
14
  liItem: HTMLLIElement;
9
15
  };
10
- attrs: Partial<{}>;
16
+ rootEl: HTMLLIElement;
11
17
  };
12
18
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
13
- declare const __VLS_component: import('vue').DefineComponent<{
14
- label?: string;
15
- active?: boolean;
16
- idx?: number;
17
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
19
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
20
  click: (args_0: number) => any;
19
21
  mouseover: (args_0: number) => any;
20
- }, string, import('vue').PublicProps, Readonly<{
21
- label?: string;
22
- active?: boolean;
23
- idx?: number;
24
- }> & Readonly<{
22
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
23
  onClick?: ((args_0: number) => any) | undefined;
26
24
  onMouseover?: ((args_0: number) => any) | undefined;
27
25
  }>, {
@@ -30,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
30
28
  idx: number;
31
29
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
32
30
  liItem: HTMLLIElement;
33
- }, any>;
31
+ }, HTMLLIElement>;
34
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
35
33
  export default _default;
36
34
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,176 +1,21 @@
1
- import { Nullable } from '@wikicasa-dev/types';
2
- type Inputs = "min-input" | "max-input";
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
4
- type: {
5
- type: () => "linear" | "logarithmic";
6
- default: string;
7
- };
8
- }>, {}, {
9
- leftSliderLimit: number;
10
- rightSliderLimit: number;
11
- minValue: number;
12
- maxValue: number;
13
- sliderMinValue: number;
14
- sliderMaxValue: number;
15
- minlval: number;
16
- maxlval: number;
17
- scale: number;
18
- }, {
19
- fromSlider(): Nullable<HTMLInputElement>;
20
- toSlider(): Nullable<HTMLInputElement>;
21
- fromInput(): Nullable<HTMLInputElement>;
22
- toInput(): Nullable<HTMLInputElement>;
23
- }, {
24
- handleInputChange(from: Inputs, value: string): void;
25
- getCurrentPosition(value: number): number;
26
- getCurrentValue(position: number): number;
27
- controlFromInput(controlSlider: HTMLInputElement): void;
28
- controlToInput(toSlider: HTMLInputElement, controlSlider: HTMLInputElement): void;
29
- controlFromSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
30
- controlToSlider(fromSlider: HTMLInputElement, toSlider: HTMLInputElement): void;
31
- }, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, ("minChanged" | "maxChanged")[], "minChanged" | "maxChanged", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
32
- type: {
33
- type: () => "linear" | "logarithmic";
34
- default: string;
35
- };
36
- }>> & Readonly<{
37
- onMinChanged?: ((...args: any[]) => any) | undefined;
38
- onMaxChanged?: ((...args: any[]) => any) | undefined;
39
- }>, {
40
- type: "linear" | "logarithmic";
41
- }, {}, {
42
- BaseInput: {
43
- new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
44
- modelValue?: string | number | undefined;
45
- } & {
46
- inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
47
- labelText?: string;
48
- feedback?: import('./types').FeedbackLabels;
49
- isValid?: Nullable<boolean>;
50
- keepFloatingLabel?: boolean;
51
- formatter?: Nullable<Partial<{
52
- formatFn: (n: number | string) => string;
53
- unFormatFn: (v: string) => string | number | null;
54
- }>>;
55
- }> & Readonly<{
56
- onClick?: ((args_0: MouseEvent) => any) | undefined;
57
- "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
58
- onFocusin?: (() => any) | undefined;
59
- onFocusout?: (() => any) | undefined;
60
- onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
61
- onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
62
- onKeydownEnterPressed?: (() => any) | undefined;
63
- }>, {
64
- select: () => void;
65
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
66
- click: (args_0: MouseEvent) => any;
67
- "update:modelValue": (modelValue: string | number | undefined) => any;
68
- focusin: () => any;
69
- focusout: () => any;
70
- keydown: (args_0: KeyboardEvent) => any;
71
- keyup: (args_0: KeyboardEvent) => any;
72
- keydownEnterPressed: () => any;
73
- }, import('vue').PublicProps, {
74
- inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
75
- isValid: Nullable<boolean>;
76
- labelText: string;
77
- keepFloatingLabel: boolean;
78
- formatter: Nullable<Partial<{
79
- formatFn: (n: number | string) => string;
80
- unFormatFn: (v: string) => string | number | null;
81
- }>>;
82
- }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
83
- P: {};
84
- B: {};
85
- D: {};
86
- C: {};
87
- M: {};
88
- Defaults: {};
89
- }, Readonly<{
90
- modelValue?: string | number | undefined;
91
- } & {
92
- inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
93
- labelText?: string;
94
- feedback?: import('./types').FeedbackLabels;
95
- isValid?: Nullable<boolean>;
96
- keepFloatingLabel?: boolean;
97
- formatter?: Nullable<Partial<{
98
- formatFn: (n: number | string) => string;
99
- unFormatFn: (v: string) => string | number | null;
100
- }>>;
101
- }> & Readonly<{
102
- onClick?: ((args_0: MouseEvent) => any) | undefined;
103
- "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
104
- onFocusin?: (() => any) | undefined;
105
- onFocusout?: (() => any) | undefined;
106
- onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
107
- onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
108
- onKeydownEnterPressed?: (() => any) | undefined;
109
- }>, {
110
- select: () => void;
111
- }, {}, {}, {}, {
112
- inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
113
- isValid: Nullable<boolean>;
114
- labelText: string;
115
- keepFloatingLabel: boolean;
116
- formatter: Nullable<Partial<{
117
- formatFn: (n: number | string) => string;
118
- unFormatFn: (v: string) => string | number | null;
119
- }>>;
120
- }>;
121
- __isFragment?: never;
122
- __isTeleport?: never;
123
- __isSuspense?: never;
124
- } & import('vue').ComponentOptionsBase<Readonly<{
125
- modelValue?: string | number | undefined;
126
- } & {
127
- inputClass?: import('@wikicasa-dev/types').ClassType | unknown[];
128
- labelText?: string;
129
- feedback?: import('./types').FeedbackLabels;
130
- isValid?: Nullable<boolean>;
131
- keepFloatingLabel?: boolean;
132
- formatter?: Nullable<Partial<{
133
- formatFn: (n: number | string) => string;
134
- unFormatFn: (v: string) => string | number | null;
135
- }>>;
136
- }> & Readonly<{
137
- onClick?: ((args_0: MouseEvent) => any) | undefined;
138
- "onUpdate:modelValue"?: ((modelValue: string | number | undefined) => any) | undefined;
139
- onFocusin?: (() => any) | undefined;
140
- onFocusout?: (() => any) | undefined;
141
- onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
142
- onKeyup?: ((args_0: KeyboardEvent) => any) | undefined;
143
- onKeydownEnterPressed?: (() => any) | undefined;
144
- }>, {
145
- select: () => void;
146
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
147
- click: (args_0: MouseEvent) => any;
148
- "update:modelValue": (modelValue: string | number | undefined) => any;
149
- focusin: () => any;
150
- focusout: () => any;
151
- keydown: (args_0: KeyboardEvent) => any;
152
- keyup: (args_0: KeyboardEvent) => any;
153
- keydownEnterPressed: () => any;
154
- }, string, {
155
- inputClass: import('@wikicasa-dev/types').ClassType | unknown[];
156
- isValid: Nullable<boolean>;
157
- labelText: string;
158
- keepFloatingLabel: boolean;
159
- formatter: Nullable<Partial<{
160
- formatFn: (n: number | string) => string;
161
- unFormatFn: (v: string) => string | number | null;
162
- }>>;
163
- }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
164
- $slots: {
165
- leftIcon?(_: {}): any;
166
- righticon?(_: {
167
- handleClean: () => void;
168
- handleShowPasswd: () => void;
169
- curType: string;
170
- }): any;
171
- feedback?(_: {}): any;
172
- "under-label"?(_: {}): any;
173
- };
174
- });
175
- }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
1
+ import { Optional } from '@wikicasa-dev/types';
2
+ type __VLS_Props = {
3
+ type?: "linear" | "logarithmic";
4
+ min?: number;
5
+ max?: number;
6
+ };
7
+ type __VLS_PublicProps = {
8
+ "minValue"?: Optional<number>;
9
+ "maxValue"?: Optional<number>;
10
+ } & __VLS_Props;
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;
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>;
176
21
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { Action, Nullable, SnackbarTypes } from '@wikicasa-dev/types';
2
- declare const _default: import('vue').DefineComponent<{
2
+ type __VLS_Props = {
3
3
  type?: SnackbarTypes;
4
4
  title: string;
5
5
  body: string;
@@ -9,23 +9,16 @@ declare const _default: import('vue').DefineComponent<{
9
9
  };
10
10
  timeout?: number;
11
11
  cb?: Nullable<Action>;
12
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
12
+ };
13
+ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
13
14
  "snackbar-hidden": () => any;
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<{
15
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
25
16
  "onSnackbar-hidden"?: (() => any) | undefined;
26
17
  }>, {
27
18
  type: SnackbarTypes;
28
19
  timeout: number;
29
20
  cb: Nullable<Action>;
30
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
21
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
22
+ snackbar: HTMLDivElement;
23
+ }, any>;
31
24
  export default _default;
@@ -1,33 +1,32 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
- import { FeedbackLabels } from './types';
3
- declare let __VLS_typeProps: {
2
+ import { FeedbackLabels, ClassTypeProp } from './types';
3
+ type __VLS_Props = {
4
4
  labelText?: string;
5
5
  feedback?: FeedbackLabels;
6
6
  isValid?: Nullable<boolean>;
7
7
  resize?: boolean;
8
+ labelClasses?: ClassTypeProp;
8
9
  };
9
10
  type __VLS_PublicProps = {
10
11
  modelValue?: string | undefined;
11
- } & typeof __VLS_typeProps;
12
+ } & __VLS_Props;
12
13
  declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {
13
14
  disableTextarea: () => void;
14
15
  clearTextareaElem: () => void;
15
16
  focusDisabledTextarea: () => void;
16
17
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
17
18
  click: (args_0: MouseEvent) => any;
18
- "update:modelValue": (modelValue: string | undefined) => any;
19
+ "update:modelValue": (value: string | undefined) => any;
19
20
  focusin: () => any;
20
21
  focusout: () => any;
21
22
  keydown: (args_0: KeyboardEvent) => any;
22
23
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
23
24
  onClick?: ((args_0: MouseEvent) => any) | undefined;
24
- "onUpdate:modelValue"?: ((modelValue: string | undefined) => any) | undefined;
25
+ "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
25
26
  onFocusin?: (() => any) | undefined;
26
27
  onFocusout?: (() => any) | undefined;
27
28
  onKeydown?: ((args_0: KeyboardEvent) => any) | undefined;
28
- }>, {
29
- isValid: Nullable<boolean>;
30
- resize: boolean;
31
- labelText: string;
32
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
30
+ textarea: HTMLTextAreaElement;
31
+ }, any>;
33
32
  export default _default;
@@ -1,23 +1,24 @@
1
- declare let __VLS_typeProps: {
1
+ type __VLS_Props = {
2
2
  withRightLabel?: boolean;
3
3
  label?: string;
4
4
  };
5
5
  type __VLS_PublicProps = {
6
6
  modelValue?: boolean | undefined;
7
- } & typeof __VLS_typeProps;
7
+ } & __VLS_Props;
8
8
  declare function __VLS_template(): {
9
+ attrs: Partial<{}>;
9
10
  slots: {
10
11
  leftLabel?(_: {}): any;
11
12
  rightLabel?(_: {}): any;
12
13
  };
13
14
  refs: {};
14
- attrs: Partial<{}>;
15
+ rootEl: any;
15
16
  };
16
17
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
17
18
  declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
- "update:modelValue": (modelValue: boolean | undefined) => any;
19
+ "update:modelValue": (value: boolean | undefined) => any;
19
20
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
20
- "onUpdate:modelValue"?: ((modelValue: boolean | undefined) => any) | undefined;
21
+ "onUpdate:modelValue"?: ((value: boolean | undefined) => any) | undefined;
21
22
  }>, {
22
23
  label: string;
23
24
  withRightLabel: boolean;
@@ -1,14 +1,5 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
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<{
2
+ type __VLS_Props = {
12
3
  theme?: {
13
4
  color: "blue" | "white";
14
5
  size: "sm" | "md" | "lg";
@@ -17,16 +8,18 @@ declare const __VLS_component: import('vue').DefineComponent<{
17
8
  customTooltipClass?: "mail-alert" | "";
18
9
  showTooltipContentManually?: boolean;
19
10
  tooltipContentClasses?: ClassType;
20
- }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
21
- theme?: {
22
- color: "blue" | "white";
23
- size: "sm" | "md" | "lg";
11
+ };
12
+ declare function __VLS_template(): {
13
+ attrs: Partial<{}>;
14
+ slots: {
15
+ trigger?(_: {}): any;
16
+ content?(_: {}): any;
24
17
  };
25
- direction?: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
26
- customTooltipClass?: "mail-alert" | "";
27
- showTooltipContentManually?: boolean;
28
- tooltipContentClasses?: ClassType;
29
- }> & Readonly<{}>, {
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<{}>, {
30
23
  direction: "top" | "bottom" | "left" | "right" | "top-center" | "bottom-center";
31
24
  theme: {
32
25
  color: "blue" | "white";
@@ -35,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<{
35
28
  customTooltipClass: "mail-alert" | "";
36
29
  showTooltipContentManually: boolean;
37
30
  tooltipContentClasses: ClassType;
38
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
31
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
39
32
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
40
33
  export default _default;
41
34
  type __VLS_WithTemplateSlots<T, S> = T & {