@wikicasa-dev/components 1.7.37 → 1.7.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (55) hide show
  1. package/dist/BaseAutocomplete.js +1 -1
  2. package/dist/BasePagination.js +1 -1
  3. package/dist/BaseSlider.js +4 -8
  4. package/dist/BaseSnackbar.js +55 -53
  5. package/dist/BaseTabView.js +1 -1
  6. package/dist/BaseUploadFile.js +1 -1
  7. package/dist/CheckboxGroup.js +1 -1
  8. package/dist/SwiperCarousel.js +1 -1
  9. package/dist/UIKit/AccessibleSelect.vue.d.ts +21 -19
  10. package/dist/UIKit/Accordion/BaseAccordion.vue.d.ts +15 -13
  11. package/dist/UIKit/Accordion/BaseAccordionBtn.vue.d.ts +17 -15
  12. package/dist/UIKit/Accordion/BaseAccordionContent.vue.d.ts +10 -8
  13. package/dist/UIKit/Accordion/BaseAccordionItem.vue.d.ts +26 -24
  14. package/dist/UIKit/BaseAlert.vue.d.ts +8 -6
  15. package/dist/UIKit/BaseAutocomplete.vue.d.ts +11 -9
  16. package/dist/UIKit/BaseBadge.vue.d.ts +6 -4
  17. package/dist/UIKit/BaseButton.vue.d.ts +32 -30
  18. package/dist/UIKit/BaseCard.vue.d.ts +17 -15
  19. package/dist/UIKit/BaseComplexToggle.vue.d.ts +13 -9
  20. package/dist/UIKit/BaseDropDown.vue.d.ts +47 -45
  21. package/dist/UIKit/BaseInput.vue.d.ts +17 -15
  22. package/dist/UIKit/BaseModal.vue.d.ts +43 -41
  23. package/dist/UIKit/BaseSelect/SelectItem.vue.d.ts +14 -12
  24. package/dist/UIKit/BaseSnackbar.vue.d.ts +8 -8
  25. package/dist/UIKit/BaseToggle.vue.d.ts +7 -5
  26. package/dist/UIKit/BaseTooltip.vue.d.ts +19 -17
  27. package/dist/UIKit/BaseUploadFile.vue.d.ts +20 -18
  28. package/dist/UIKit/Checkbox/CheckboxBtn.vue.d.ts +24 -22
  29. package/dist/UIKit/Checkbox/CheckboxGroup.vue.d.ts +31 -29
  30. package/dist/UIKit/Radio/RadioButton.vue.d.ts +2 -2
  31. package/dist/UIKit/Radio/RadioGroup.vue.d.ts +26 -24
  32. package/dist/UIKit/ShimmerLoader/BaseShimmerLoader.vue.d.ts +6 -4
  33. package/dist/UIKit/ShimmerLoader/ShimmerMultiLine.vue.d.ts +8 -8
  34. package/dist/UIKit/StaticSpinner.vue.d.ts +4 -4
  35. package/dist/UIKit/Tab/BaseTab.vue.d.ts +10 -8
  36. package/dist/UIKit/Tab/BaseTabPanel.vue.d.ts +8 -6
  37. package/dist/UIKit/Tab/BaseTabView.vue.d.ts +6 -2
  38. package/dist/assets/BaseSnackbar.css +1 -1
  39. package/dist/chart/composables/useChartjsModules.d.ts +2 -2
  40. package/dist/chunks/{BaseAutocomplete.vue_vue_type_script_setup_true_lang.DqwIqwC2.js → BaseAutocomplete.vue_vue_type_script_setup_true_lang.D_AZtW3a.js} +1 -2
  41. package/dist/chunks/{BasePagination.vue_vue_type_script_setup_true_lang.DslSstg9.js → BasePagination.vue_vue_type_script_setup_true_lang.m1hcl9Ft.js} +1 -2
  42. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.Ikt4-EHH.js +96 -0
  43. package/dist/chunks/{BaseUploadFile.vue_vue_type_script_setup_true_lang.1Uo4HnFM.js → BaseUploadFile.vue_vue_type_script_setup_true_lang.Dj2egDaT.js} +1 -2
  44. package/dist/chunks/{CheckboxGroup.vue_vue_type_script_setup_true_lang.TNbYVnnF.js → CheckboxGroup.vue_vue_type_script_setup_true_lang.Bn9HoCj4.js} +1 -2
  45. package/dist/chunks/{SwiperCarousel.vue_vue_type_style_index_0_lang.DydGEHWv.js → SwiperCarousel.vue_vue_type_style_index_0_lang.7z9WGfLj.js} +19 -30
  46. package/dist/chunks/{index.C2AlqfUw.js → index.DUnHxi5U.js} +30 -58
  47. package/dist/components/IntersectionObserver/IntersectionObservable.vue.d.ts +10 -8
  48. package/dist/components/IntersectionObserver/IntersectionObserver.vue.d.ts +9 -7
  49. package/dist/components/carousel/SwiperCarousel.vue.d.ts +6 -4
  50. package/dist/components/carousel/SwiperSlide.vue.d.ts +4 -2
  51. package/dist/index.js +6 -6
  52. package/dist/useChartjsModules.js +5 -10
  53. package/dist/useKeyboardController.js +2 -4
  54. package/package.json +15 -15
  55. package/dist/chunks/BaseTabView.vue_vue_type_script_setup_true_lang.DRECN-Oz.js +0 -94
@@ -1,13 +1,18 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
3
+ declare function __VLS_template(): {
4
+ label?(_: {
5
+ filename: string;
6
+ }): any;
7
+ };
8
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
9
  id: string;
5
- labelText?: string | undefined;
6
- clear?: boolean | undefined;
7
- labelClasses?: ClassType | undefined;
8
- floatingLabelClasses?: ClassType | undefined;
9
- fieldsetClasses?: ClassType | undefined;
10
- legendClasses?: ClassType | undefined;
10
+ labelText?: string;
11
+ clear?: boolean;
12
+ labelClasses?: ClassType;
13
+ floatingLabelClasses?: ClassType;
14
+ fieldsetClasses?: ClassType;
15
+ legendClasses?: ClassType;
11
16
  }>, {
12
17
  labelText: string;
13
18
  clear: boolean;
@@ -20,12 +25,12 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
20
25
  uploaded: (args_0: File) => void;
21
26
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
22
27
  id: string;
23
- labelText?: string | undefined;
24
- clear?: boolean | undefined;
25
- labelClasses?: ClassType | undefined;
26
- floatingLabelClasses?: ClassType | undefined;
27
- fieldsetClasses?: ClassType | undefined;
28
- legendClasses?: ClassType | undefined;
28
+ labelText?: string;
29
+ clear?: boolean;
30
+ labelClasses?: ClassType;
31
+ floatingLabelClasses?: ClassType;
32
+ fieldsetClasses?: ClassType;
33
+ legendClasses?: ClassType;
29
34
  }>, {
30
35
  labelText: string;
31
36
  clear: boolean;
@@ -43,11 +48,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
43
48
  floatingLabelClasses: ClassType;
44
49
  fieldsetClasses: ClassType;
45
50
  legendClasses: ClassType;
46
- }, {}>, {
47
- label?(_: {
48
- filename: string;
49
- }): any;
50
- }>;
51
+ }, {}>;
52
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
51
53
  export default _default;
52
54
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
53
55
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -5,17 +5,20 @@ type EventPayload = {
5
5
  label: string | number;
6
6
  checked: boolean;
7
7
  };
8
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
+ declare function __VLS_template(): {
9
+ label?(_: {}): any;
10
+ };
11
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
9
12
  id: string | number;
10
- inputClass?: string | undefined;
11
- inline?: boolean | undefined;
12
- label?: string | number | undefined;
13
- labelClass?: string | undefined;
14
- isValid?: Nullable<boolean> | undefined;
15
- modelValue?: boolean | undefined;
16
- containerId?: string | undefined;
17
- containerClass?: string | undefined;
18
- handleLabelClick?: boolean | undefined;
13
+ inputClass?: string;
14
+ inline?: boolean;
15
+ label?: string | number;
16
+ labelClass?: string;
17
+ isValid?: Nullable<boolean>;
18
+ modelValue?: boolean;
19
+ containerId?: string;
20
+ containerClass?: string;
21
+ handleLabelClick?: boolean;
19
22
  }>, {
20
23
  inputClass: string;
21
24
  inline: boolean;
@@ -32,15 +35,15 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
32
35
  "update:modelValue": (args_0: boolean) => void;
33
36
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
34
37
  id: string | number;
35
- inputClass?: string | undefined;
36
- inline?: boolean | undefined;
37
- label?: string | number | undefined;
38
- labelClass?: string | undefined;
39
- isValid?: Nullable<boolean> | undefined;
40
- modelValue?: boolean | undefined;
41
- containerId?: string | undefined;
42
- containerClass?: string | undefined;
43
- handleLabelClick?: boolean | undefined;
38
+ inputClass?: string;
39
+ inline?: boolean;
40
+ label?: string | number;
41
+ labelClass?: string;
42
+ isValid?: Nullable<boolean>;
43
+ modelValue?: boolean;
44
+ containerId?: string;
45
+ containerClass?: string;
46
+ handleLabelClick?: boolean;
44
47
  }>, {
45
48
  inputClass: string;
46
49
  inline: boolean;
@@ -65,9 +68,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
65
68
  labelClass: string;
66
69
  containerId: string;
67
70
  handleLabelClick: boolean;
68
- }, {}>, {
69
- label?(_: {}): any;
70
- }>;
71
+ }, {}>;
72
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
71
73
  export default _default;
72
74
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
73
75
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,17 +1,29 @@
1
1
  import { CheckboxButtonType, GetterIdType } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- valuesObj?: Record<string, CheckboxButtonType> | undefined;
5
- formCheckInline?: boolean | undefined;
6
- customClass?: string | undefined;
7
- reset?: boolean | undefined;
8
- autoCheckResetAll?: boolean | undefined;
9
- autoCheckResetEmpty?: boolean | undefined;
3
+ declare function __VLS_template(): {
4
+ default?(_: {
5
+ isActive: (elem: CheckboxButtonType) => boolean;
6
+ handleChange: (checkboxValue: CheckboxButtonType) => void;
7
+ checkboxesData: Record<string, CheckboxButtonType>;
8
+ }): any;
9
+ checkbox_elements?(_: {
10
+ isActive: (elem: CheckboxButtonType) => boolean;
11
+ handleChange: (checkboxValue: CheckboxButtonType) => void;
12
+ checkboxesData: Record<string, CheckboxButtonType>;
13
+ }): any;
14
+ };
15
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
16
+ valuesObj?: Record<string, CheckboxButtonType>;
17
+ formCheckInline?: boolean;
18
+ customClass?: string;
19
+ reset?: boolean;
20
+ autoCheckResetAll?: boolean;
21
+ autoCheckResetEmpty?: boolean;
10
22
  /**
11
23
  * If true, the reset button could be unchecked
12
24
  */
13
- manualToggleResetButton?: boolean | undefined;
14
- getKey?: GetterIdType | undefined;
25
+ manualToggleResetButton?: boolean;
26
+ getKey?: GetterIdType;
15
27
  }>, {
16
28
  valuesObj(): {};
17
29
  formCheckInline: boolean;
@@ -26,17 +38,17 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
26
38
  resetted: () => void;
27
39
  checkedGroup: (args_0: string) => void;
28
40
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
29
- valuesObj?: Record<string, CheckboxButtonType> | undefined;
30
- formCheckInline?: boolean | undefined;
31
- customClass?: string | undefined;
32
- reset?: boolean | undefined;
33
- autoCheckResetAll?: boolean | undefined;
34
- autoCheckResetEmpty?: boolean | undefined;
41
+ valuesObj?: Record<string, CheckboxButtonType>;
42
+ formCheckInline?: boolean;
43
+ customClass?: string;
44
+ reset?: boolean;
45
+ autoCheckResetAll?: boolean;
46
+ autoCheckResetEmpty?: boolean;
35
47
  /**
36
48
  * If true, the reset button could be unchecked
37
49
  */
38
- manualToggleResetButton?: boolean | undefined;
39
- getKey?: GetterIdType | undefined;
50
+ manualToggleResetButton?: boolean;
51
+ getKey?: GetterIdType;
40
52
  }>, {
41
53
  valuesObj(): {};
42
54
  formCheckInline: boolean;
@@ -59,18 +71,8 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
59
71
  autoCheckResetEmpty: boolean;
60
72
  manualToggleResetButton: boolean;
61
73
  getKey: GetterIdType;
62
- }, {}>, {
63
- default?(_: {
64
- isActive: (elem: CheckboxButtonType) => boolean;
65
- handleChange: (checkboxValue: CheckboxButtonType) => void;
66
- checkboxesData: Record<string, CheckboxButtonType>;
67
- }): any;
68
- checkbox_elements?(_: {
69
- isActive: (elem: CheckboxButtonType) => boolean;
70
- handleChange: (checkboxValue: CheckboxButtonType) => void;
71
- checkboxesData: Record<string, CheckboxButtonType>;
72
- }): any;
73
- }>;
74
+ }, {}>;
75
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
74
76
  export default _default;
75
77
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
76
78
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,6 +1,6 @@
1
1
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
2
  label: string;
3
- isChecked?: boolean | undefined;
3
+ isChecked?: boolean;
4
4
  }>, {
5
5
  isChecked: boolean;
6
6
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -11,7 +11,7 @@ declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_T
11
11
  }) => void;
12
12
  }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
13
  label: string;
14
- isChecked?: boolean | undefined;
14
+ isChecked?: boolean;
15
15
  }>, {
16
16
  isChecked: boolean;
17
17
  }>>> & {
@@ -1,30 +1,10 @@
1
1
  import { RadioButtonType, Nullable } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- initialValue?: RadioButtonType | undefined;
5
- radioValues?: RadioButtonType[] | undefined;
6
- resetRadio?: boolean | undefined;
7
- }>, {
8
- resetRadio: boolean;
9
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
10
- "update:modelValue": (args_0: Nullable<RadioButtonType>) => void;
11
- resetted: () => void;
12
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- initialValue?: RadioButtonType | undefined;
14
- radioValues?: RadioButtonType[] | undefined;
15
- resetRadio?: boolean | undefined;
16
- }>, {
17
- resetRadio: boolean;
18
- }>>> & {
19
- "onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
20
- onResetted?: (() => any) | undefined;
21
- }, {
22
- resetRadio: boolean;
23
- }, {}>, {
3
+ declare function __VLS_template(): {
24
4
  default?(_: {
25
5
  handleClick: (elem: RadioButtonType) => void;
26
6
  activeValue: {
27
- id?: string | number | null | undefined;
7
+ id?: string | number | null;
28
8
  label: string | number;
29
9
  payload?: unknown;
30
10
  } | null;
@@ -34,14 +14,36 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__
34
14
  radio_elements?(_: {
35
15
  handleClick: (elem: RadioButtonType) => void;
36
16
  activeValue: {
37
- id?: string | number | null | undefined;
17
+ id?: string | number | null;
38
18
  label: string | number;
39
19
  payload?: unknown;
40
20
  } | null;
41
21
  reset: () => void;
42
22
  isActive: (elem: RadioButtonType) => boolean;
43
23
  }): any;
44
- }>;
24
+ };
25
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
26
+ initialValue?: RadioButtonType;
27
+ radioValues?: RadioButtonType[];
28
+ resetRadio?: boolean;
29
+ }>, {
30
+ resetRadio: boolean;
31
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
32
+ "update:modelValue": (args_0: Nullable<RadioButtonType>) => void;
33
+ resetted: () => void;
34
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
35
+ initialValue?: RadioButtonType;
36
+ radioValues?: RadioButtonType[];
37
+ resetRadio?: boolean;
38
+ }>, {
39
+ resetRadio: boolean;
40
+ }>>> & {
41
+ "onUpdate:modelValue"?: ((args_0: Nullable<RadioButtonType>) => any) | undefined;
42
+ onResetted?: (() => any) | undefined;
43
+ }, {
44
+ resetRadio: boolean;
45
+ }, {}>;
46
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
45
47
  export default _default;
46
48
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
47
49
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,10 +1,12 @@
1
1
  import { Nullable } from '@wikicasa-dev/types';
2
2
 
3
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {
4
- el: import('vue').Ref<Nullable<HTMLElement>>;
5
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>, {
3
+ declare function __VLS_template(): {
6
4
  default?(_: {}): any;
7
- }>;
5
+ };
6
+ declare const __VLS_component: import('vue').DefineComponent<{}, {
7
+ el: import('vue').Ref<Nullable<HTMLElement>>;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{}>>, {}, {}>;
9
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
8
10
  export default _default;
9
11
  type __VLS_WithTemplateSlots<T, S> = T & {
10
12
  new (): {
@@ -1,19 +1,19 @@
1
1
  import { ClassType } from '@wikicasa-dev/types';
2
2
 
3
3
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
- lines?: number | undefined;
5
- randomLength?: boolean | undefined;
6
- shimmerClasses?: ClassType | undefined;
7
- inheritHeight?: boolean | undefined;
4
+ lines?: number;
5
+ randomLength?: boolean;
6
+ shimmerClasses?: ClassType;
7
+ inheritHeight?: boolean;
8
8
  }>, {
9
9
  lines: number;
10
10
  randomLength: boolean;
11
11
  inheritHeight: boolean;
12
12
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
13
- lines?: number | undefined;
14
- randomLength?: boolean | undefined;
15
- shimmerClasses?: ClassType | undefined;
16
- inheritHeight?: boolean | undefined;
13
+ lines?: number;
14
+ randomLength?: boolean;
15
+ shimmerClasses?: ClassType;
16
+ inheritHeight?: boolean;
17
17
  }>, {
18
18
  lines: number;
19
19
  randomLength: boolean;
@@ -1,12 +1,12 @@
1
1
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
- thickness?: number | undefined;
3
- strokeColor?: string | undefined;
2
+ thickness?: number;
3
+ strokeColor?: string;
4
4
  }>, {
5
5
  thickness: number;
6
6
  strokeColor: string;
7
7
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
- thickness?: number | undefined;
9
- strokeColor?: string | undefined;
8
+ thickness?: number;
9
+ strokeColor?: string;
10
10
  }>, {
11
11
  thickness: number;
12
12
  strokeColor: string;
@@ -1,12 +1,14 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
2
- activeTabPanelIdx?: number | undefined;
3
- headerTitle?: string | undefined;
4
- }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
5
- activeTabPanelIdx?: number | undefined;
6
- headerTitle?: string | undefined;
7
- }>>>, {}, {}>, {
1
+ declare function __VLS_template(): {
8
2
  header?(_: {}): any;
9
- }>;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<{
5
+ activeTabPanelIdx?: number;
6
+ headerTitle?: string;
7
+ }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
8
+ activeTabPanelIdx?: number;
9
+ headerTitle?: string;
10
+ }>>>, {}, {}>;
11
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
10
12
  export default _default;
11
13
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
12
14
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -1,20 +1,22 @@
1
- declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
1
+ declare function __VLS_template(): {
2
+ default?(_: {}): any;
3
+ };
4
+ declare const __VLS_component: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
2
5
  id: string;
3
- active?: boolean | undefined;
6
+ active?: boolean;
4
7
  labelledBy: string;
5
8
  }>, {
6
9
  active: boolean;
7
10
  }>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
8
11
  id: string;
9
- active?: boolean | undefined;
12
+ active?: boolean;
10
13
  labelledBy: string;
11
14
  }>, {
12
15
  active: boolean;
13
16
  }>>>, {
14
17
  active: boolean;
15
- }, {}>, {
16
- default?(_: {}): any;
17
- }>;
18
+ }, {}>;
19
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
18
20
  export default _default;
19
21
  type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
20
22
  type __VLS_TypePropsToRuntimeProps<T> = {
@@ -10,7 +10,9 @@ declare const _default: import('vue').DefineComponent<{
10
10
  type: import('vue').PropType<ClassType>;
11
11
  default: string;
12
12
  };
13
- }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
13
+ }, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
+ tabClick: (args_0: MouseEvent) => void;
15
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
14
16
  activeIdx: import('vue').PropType<number | undefined>;
15
17
  tabViewDescription: {
16
18
  type: import('vue').PropType<string>;
@@ -20,7 +22,9 @@ declare const _default: import('vue').DefineComponent<{
20
22
  type: import('vue').PropType<ClassType>;
21
23
  default: string;
22
24
  };
23
- }>>, {
25
+ }>> & {
26
+ onTabClick?: ((args_0: MouseEvent) => any) | undefined;
27
+ }, {
24
28
  tabListClasses: ClassType;
25
29
  }, {}>;
26
30
  export default _default;
@@ -1 +1 @@
1
- .snackbar-container[data-v-1288e108]{--icon-size: 25px}.snackbar-container .snackbar[data-v-1288e108]{--snackbar-error-bg-color: #fff4f4;--snackbar-error-color: #FA4F64;--snackbar-error-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FA4F64' viewBox='0 0 24 24'%3E%3Cpath d='M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E");--snackbar-warning-bg-color: rgb(255, 244, 229);--snackbar-warning-color: #ffa726;--snackbar-warning-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' aria-hidden='true' class='iconify iconify--emojione-monotone' viewBox='0 0 64 64' fill='%23ffa726'%3E%3Cpath d='M61.428 56.709 34.693 4.182C33.953 2.727 32.977 2 32 2s-1.953.728-2.693 2.183L2.572 56.709C1.09 59.621 2.588 62 5.9 62h52.197c3.313 0 4.813-2.379 3.331-5.291m-1.555 2.664c-.24.393-.904.627-1.775.627H5.9c-.87 0-1.534-.232-1.774-.625-.228-.373-.143-1.029.229-1.758L31.089 5.089c.431-.845.828-1.075.911-1.089.083.015.48.244.911 1.09l26.734 52.528c.371.728.457 1.384.228 1.755'/%3E%3Cpath d='M30.551 42.051c.275 1.84 2.623 1.84 2.898 0l2.748-18.464c.506-7.199-8.904-7.199-8.396 0l2.75 18.464'/%3E%3Cellipse cx='32' cy='49.605' rx='4.219' ry='4.207'/%3E%3C/svg%3E");--snackbar-info-bg-color: #2B5DFF;--snackbar-info-color: #fff;--snackbar-info-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='%23fff' version='1.1' id='Capa_1' viewBox='0 0 330 330' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M165,0C74.019,0,0,74.02,0,165.001C0,255.982,74.019,330,165,330s165-74.018,165-164.999C330,74.02,255.981,0,165,0z M165,300c-74.44,0-135-60.56-135-134.999C30,90.562,90.56,30,165,30s135,60.562,135,135.001C300,239.44,239.439,300,165,300z'/%3E%3Cpath d='M164.998,70c-11.026,0-19.996,8.976-19.996,20.009c0,11.023,8.97,19.991,19.996,19.991 c11.026,0,19.996-8.968,19.996-19.991C184.994,78.976,176.024,70,164.998,70z'/%3E%3Cpath d='M165,140c-8.284,0-15,6.716-15,15v90c0,8.284,6.716,15,15,15c8.284,0,15-6.716,15-15v-90C180,146.716,173.284,140,165,140z '/%3E%3C/g%3E%3C/svg%3E");--snackbar-success-bg-color: #E9EFFE;--snackbar-success-color: #2B5DFF;--snackbar-success-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='256' height='256' viewBox='0 0 256 256' xml:space='preserve'%3E%3Cdefs%3E%3C/defs%3E%3Cg style='stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;' transform='translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)'%3E%3Cpath d='M 43.121 62.779 c -0.046 0 -0.093 -0.001 -0.14 -0.002 c -1.375 -0.039 -2.672 -0.642 -3.588 -1.666 L 26.376 46.546 c -1.84 -2.059 -1.663 -5.22 0.396 -7.06 c 2.059 -1.842 5.22 -1.663 7.06 0.396 l 9.492 10.621 l 31.347 -31.346 c 1.951 -1.952 5.119 -1.952 7.07 0 c 1.953 1.953 1.953 5.119 0 7.071 L 46.656 61.314 C 45.717 62.254 44.445 62.779 43.121 62.779 z' style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: %232B5DFF; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round'/%3E%3Cpath d='M 45 90 C 20.187 90 0 69.813 0 45 C 0 20.187 20.187 0 45 0 c 8.231 0 16.286 2.244 23.292 6.491 c 2.362 1.431 3.116 4.505 1.686 6.867 c -1.432 2.362 -4.506 3.117 -6.868 1.685 C 57.666 11.744 51.403 10 45 10 c -19.299 0 -35 15.701 -35 35 s 15.701 35 35 35 s 35 -15.701 35 -35 c 0 -1.487 -0.095 -2.987 -0.28 -4.458 c -0.348 -2.74 1.592 -5.242 4.332 -5.589 c 2.74 -0.349 5.241 1.593 5.588 4.332 C 89.879 41.172 90 43.094 90 45 C 90 69.813 69.813 90 45 90 z'%0Astyle='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: %232B5DFF; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");--snackbar-bg-color: var(--snackbar-error-bg-color);--snackbar-color: var(--snackbar-error-color);--snackbar-icon: var(--snackbar-error-icon);--snackbar-close-icon-color: brightness(0) saturate(100%) invert(44%) sepia(88%) saturate(2855%) hue-rotate(325deg) brightness(103%) contrast(96%);background-color:var(--snackbar-bg-color);color:var(--snackbar-color)}.snackbar-container .snackbar .snackbar-close-icon[data-v-1288e108]{filter:var(--snackbar-close-icon-color)}.snackbar-container .snackbar.snackbar-active[data-v-1288e108]{animation:pop-1288e108 .25s,fade-in-1288e108 .25s}.snackbar-container .snackbar.snackbar-hidden[data-v-1288e108]{animation:shrink-1288e108 .25s,fade-out-1288e108 .25s forwards}.snackbar-container .snackbar span[data-v-1288e108]{width:var(--icon-size);height:var(--icon-size)}.snackbar-container .snackbar span.snackbar-type-icon[data-v-1288e108]{background-image:var(--snackbar-icon)}.snackbar-container .snackbar.warning[data-v-1288e108]{--snackbar-bg-color: var(--snackbar-warning-bg-color);--snackbar-color: var(--snackbar-warning-color)}.snackbar-container .snackbar.warning span.snackbar-type-icon[data-v-1288e108]{--snackbar-icon: var(--snackbar-warning-icon)}.snackbar-container .snackbar.warning .snackbar-close-icon[data-v-1288e108]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(80%) sepia(44%) saturate(2971%) hue-rotate(337deg) brightness(100%) contrast(103%)}.snackbar-container .snackbar.info[data-v-1288e108]{--snackbar-bg-color: var(--snackbar-info-bg-color);--snackbar-color: var(--snackbar-info-color)}.snackbar-container .snackbar.info span.snackbar-type-icon[data-v-1288e108]{--snackbar-icon: var(--snackbar-info-icon)}.snackbar-container .snackbar.info .snackbar-close-icon[data-v-1288e108]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(100%) sepia(79%) saturate(0%) hue-rotate(242deg) brightness(111%) contrast(101%)}.snackbar-container .snackbar.success[data-v-1288e108]{--snackbar-bg-color: var(--snackbar-success-bg-color);--snackbar-color: var(--snackbar-success-color)}.snackbar-container .snackbar.success span.snackbar-type-icon[data-v-1288e108]{--snackbar-icon: var(--snackbar-success-icon)}.snackbar-container .snackbar.success .snackbar-close-icon[data-v-1288e108]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(27%) sepia(77%) saturate(3033%) hue-rotate(222deg) brightness(100%) contrast(102%)}@keyframes pop-1288e108{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes shrink-1288e108{0%{transform:scale(1)}to{transform:scale(.5)}}@keyframes fade-in-1288e108{0%{opacity:0}to{opacity:1}}@keyframes fade-out-1288e108{0%{opacity:1}to{opacity:0}}
1
+ .snackbar-container[data-v-ac8cba3f]{--icon-size: 25px}.snackbar-container .snackbar[data-v-ac8cba3f]{--snackbar-error-bg-color: #fff4f4;--snackbar-error-color: #FA4F64;--snackbar-error-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23FA4F64' viewBox='0 0 24 24'%3E%3Cpath d='M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E");--snackbar-warning-bg-color: rgb(255, 244, 229);--snackbar-warning-color: #ffa726;--snackbar-warning-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='800' height='800' aria-hidden='true' class='iconify iconify--emojione-monotone' viewBox='0 0 64 64' fill='%23ffa726'%3E%3Cpath d='M61.428 56.709 34.693 4.182C33.953 2.727 32.977 2 32 2s-1.953.728-2.693 2.183L2.572 56.709C1.09 59.621 2.588 62 5.9 62h52.197c3.313 0 4.813-2.379 3.331-5.291m-1.555 2.664c-.24.393-.904.627-1.775.627H5.9c-.87 0-1.534-.232-1.774-.625-.228-.373-.143-1.029.229-1.758L31.089 5.089c.431-.845.828-1.075.911-1.089.083.015.48.244.911 1.09l26.734 52.528c.371.728.457 1.384.228 1.755'/%3E%3Cpath d='M30.551 42.051c.275 1.84 2.623 1.84 2.898 0l2.748-18.464c.506-7.199-8.904-7.199-8.396 0l2.75 18.464'/%3E%3Cellipse cx='32' cy='49.605' rx='4.219' ry='4.207'/%3E%3C/svg%3E");--snackbar-info-bg-color: #2B5DFF;--snackbar-info-color: #fff;--snackbar-info-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' fill='%23fff' version='1.1' id='Capa_1' viewBox='0 0 330 330' xml:space='preserve'%3E%3Cg%3E%3Cpath d='M165,0C74.019,0,0,74.02,0,165.001C0,255.982,74.019,330,165,330s165-74.018,165-164.999C330,74.02,255.981,0,165,0z M165,300c-74.44,0-135-60.56-135-134.999C30,90.562,90.56,30,165,30s135,60.562,135,135.001C300,239.44,239.439,300,165,300z'/%3E%3Cpath d='M164.998,70c-11.026,0-19.996,8.976-19.996,20.009c0,11.023,8.97,19.991,19.996,19.991 c11.026,0,19.996-8.968,19.996-19.991C184.994,78.976,176.024,70,164.998,70z'/%3E%3Cpath d='M165,140c-8.284,0-15,6.716-15,15v90c0,8.284,6.716,15,15,15c8.284,0,15-6.716,15-15v-90C180,146.716,173.284,140,165,140z '/%3E%3C/g%3E%3C/svg%3E");--snackbar-success-bg-color: #E9EFFE;--snackbar-success-color: #2B5DFF;--snackbar-success-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='256' height='256' viewBox='0 0 256 256' xml:space='preserve'%3E%3Cdefs%3E%3C/defs%3E%3Cg style='stroke: none; stroke-width: 0; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: none; fill-rule: nonzero; opacity: 1;' transform='translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)'%3E%3Cpath d='M 43.121 62.779 c -0.046 0 -0.093 -0.001 -0.14 -0.002 c -1.375 -0.039 -2.672 -0.642 -3.588 -1.666 L 26.376 46.546 c -1.84 -2.059 -1.663 -5.22 0.396 -7.06 c 2.059 -1.842 5.22 -1.663 7.06 0.396 l 9.492 10.621 l 31.347 -31.346 c 1.951 -1.952 5.119 -1.952 7.07 0 c 1.953 1.953 1.953 5.119 0 7.071 L 46.656 61.314 C 45.717 62.254 44.445 62.779 43.121 62.779 z' style='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: %232B5DFF; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round'/%3E%3Cpath d='M 45 90 C 20.187 90 0 69.813 0 45 C 0 20.187 20.187 0 45 0 c 8.231 0 16.286 2.244 23.292 6.491 c 2.362 1.431 3.116 4.505 1.686 6.867 c -1.432 2.362 -4.506 3.117 -6.868 1.685 C 57.666 11.744 51.403 10 45 10 c -19.299 0 -35 15.701 -35 35 s 15.701 35 35 35 s 35 -15.701 35 -35 c 0 -1.487 -0.095 -2.987 -0.28 -4.458 c -0.348 -2.74 1.592 -5.242 4.332 -5.589 c 2.74 -0.349 5.241 1.593 5.588 4.332 C 89.879 41.172 90 43.094 90 45 C 90 69.813 69.813 90 45 90 z'%0Astyle='stroke: none; stroke-width: 1; stroke-dasharray: none; stroke-linecap: butt; stroke-linejoin: miter; stroke-miterlimit: 10; fill: %232B5DFF; fill-rule: nonzero; opacity: 1;' transform=' matrix(1 0 0 1 0 0) ' stroke-linecap='round'/%3E%3C/g%3E%3C/svg%3E");--snackbar-bg-color: var(--snackbar-error-bg-color);--snackbar-color: var(--snackbar-error-color);--snackbar-icon: var(--snackbar-error-icon);--snackbar-close-icon-color: brightness(0) saturate(100%) invert(44%) sepia(88%) saturate(2855%) hue-rotate(325deg) brightness(103%) contrast(96%);background-color:var(--snackbar-bg-color);color:var(--snackbar-color)}.snackbar-container .snackbar .snackbar-close-icon[data-v-ac8cba3f]{filter:var(--snackbar-close-icon-color)}.snackbar-container .snackbar.snackbar-active[data-v-ac8cba3f]{animation:pop-ac8cba3f .25s,fade-in-ac8cba3f .25s}.snackbar-container .snackbar.snackbar-hidden[data-v-ac8cba3f]{animation:shrink-ac8cba3f .25s,fade-out-ac8cba3f .25s forwards}.snackbar-container .snackbar span[data-v-ac8cba3f]{width:var(--icon-size);height:var(--icon-size)}.snackbar-container .snackbar span.snackbar-type-icon[data-v-ac8cba3f]{background-image:var(--snackbar-icon)}.snackbar-container .snackbar.warning[data-v-ac8cba3f]{--snackbar-bg-color: var(--snackbar-warning-bg-color);--snackbar-color: var(--snackbar-warning-color)}.snackbar-container .snackbar.warning span.snackbar-type-icon[data-v-ac8cba3f]{--snackbar-icon: var(--snackbar-warning-icon)}.snackbar-container .snackbar.warning .snackbar-close-icon[data-v-ac8cba3f]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(80%) sepia(44%) saturate(2971%) hue-rotate(337deg) brightness(100%) contrast(103%)}.snackbar-container .snackbar.info[data-v-ac8cba3f]{--snackbar-bg-color: var(--snackbar-info-bg-color);--snackbar-color: var(--snackbar-info-color)}.snackbar-container .snackbar.info span.snackbar-type-icon[data-v-ac8cba3f]{--snackbar-icon: var(--snackbar-info-icon)}.snackbar-container .snackbar.info .snackbar-close-icon[data-v-ac8cba3f]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(100%) sepia(79%) saturate(0%) hue-rotate(242deg) brightness(111%) contrast(101%)}.snackbar-container .snackbar.success[data-v-ac8cba3f]{--snackbar-bg-color: var(--snackbar-success-bg-color);--snackbar-color: var(--snackbar-success-color)}.snackbar-container .snackbar.success span.snackbar-type-icon[data-v-ac8cba3f]{--snackbar-icon: var(--snackbar-success-icon)}.snackbar-container .snackbar.success .snackbar-close-icon[data-v-ac8cba3f]{--snackbar-close-icon-color: brightness(0) saturate(100%) invert(27%) sepia(77%) saturate(3033%) hue-rotate(222deg) brightness(100%) contrast(102%)}@keyframes pop-ac8cba3f{0%{transform:scale(.5)}to{transform:scale(1)}}@keyframes shrink-ac8cba3f{0%{transform:scale(1)}to{transform:scale(.5)}}@keyframes fade-in-ac8cba3f{0%{opacity:0}to{opacity:1}}@keyframes fade-out-ac8cba3f{0%{opacity:1}to{opacity:0}}
@@ -1,6 +1,6 @@
1
- import { ChartOptions } from 'chart.js';
1
+ import { ChartOptions, ChartType } from 'chart.js';
2
2
 
3
- export declare const useChartJsModules: <T extends keyof import('chart.js').ChartTypeRegistry = keyof import('chart.js').ChartTypeRegistry>(options: ChartOptions<T>) => {
3
+ export declare const useChartJsModules: <T extends ChartType = keyof import('chart.js').ChartTypeRegistry>(options: ChartOptions<T>) => {
4
4
  registerTitle: () => Promise<void>;
5
5
  registerLegend: () => Promise<void>;
6
6
  registerTooltip: () => Promise<void>;
@@ -102,8 +102,7 @@ const X = ["innerHTML"], oe = /* @__PURE__ */ L({
102
102
  },
103
103
  { immediate: !0 }
104
104
  ), f(C, (e) => {
105
- if (e === -1 || !n.value.length)
106
- return;
105
+ if (e === -1 || !n.value.length) return;
107
106
  const t = n.value[e];
108
107
  p.value && t.label === d.value?.label || $(t, e);
109
108
  }), f(
@@ -73,8 +73,7 @@ const F = {
73
73
  new Number(u.value === o.value).valueOf();
74
74
  let i = Math.max((u.value || 0) - e, 2);
75
75
  const t = [];
76
- for (i; i < (u.value || 0); i++)
77
- t.push(i);
76
+ for (i; i < (u.value || 0); i++) t.push(i);
78
77
  return t;
79
78
  }), L = k(() => {
80
79
  const e = x.value + /* Filling with the remaining left siblings */
@@ -0,0 +1,96 @@
1
+ import { defineComponent as S, mergeModels as y, useModel as z, ref as o, onMounted as U, useSlots as j, computed as q, watch as G, openBlock as l, createElementBlock as i, normalizeClass as v, createElementVNode as _, toDisplayString as T, Fragment as C, renderList as I, createBlock as p, resolveDynamicComponent as g, createCommentVNode as $, withCtx as H } from "vue";
2
+ import { _ as J } from "./BaseTabPanel.vue_vue_type_script_setup_true_lang.DoZHWHt1.js";
3
+ import { getUID as K } from "../utils.js";
4
+ const O = ["id"], Q = ["aria-labelledby"], R = ["id", "aria-selected", "aria-controls", "tabindex", "onClick"], W = { key: 0 }, ee = /* @__PURE__ */ S({
5
+ inheritAttrs: !1,
6
+ __name: "BaseTabView",
7
+ props: /* @__PURE__ */ y({
8
+ tabViewDescription: {},
9
+ tabListClasses: { default: "" }
10
+ }, {
11
+ activeIdx: { default: 0 },
12
+ activeIdxModifiers: {}
13
+ }),
14
+ emits: /* @__PURE__ */ y(["tabClick"], ["update:activeIdx"]),
15
+ setup(F, { emit: B }) {
16
+ const w = B, c = z(F, "activeIdx"), P = o(""), m = o(null), V = o(null), r = o("");
17
+ U(() => {
18
+ r.value = K();
19
+ });
20
+ const f = j(), d = (e) => e.props ?? null, h = (e) => e.type.__name === "BaseTab", k = (e, t) => ({
21
+ renderFn: e,
22
+ tabId: b(t),
23
+ "active-tab-panel-idx": d(e)?.["active-tab-panel-idx"] ?? t,
24
+ "header-title": d(e)?.["header-title"] || "",
25
+ class: d(e)?.class || ""
26
+ }), s = q(() => f.default ? f.default().reduce((e, t) => (t.children && Array.isArray(t.children) ? t.children.forEach((a) => {
27
+ h(a) && e.push(k(a, e.length));
28
+ }) : h(t) && e.push(k(t, e.length)), e), []) : []), u = (e) => c.value === e, A = (e) => m.value === e, b = (e) => `base-tab-${e}-${r.value}`, D = (e) => `base-tab-panel-${e}-${r.value}`, M = (e) => s.value.find((t) => t["active-tab-panel-idx"] === e)?.tabId, x = (e) => {
29
+ P.value = b(e);
30
+ }, E = (e) => {
31
+ const t = s.value.at(e ?? -1);
32
+ m.value = t?.["active-tab-panel-idx"] ?? null;
33
+ }, L = (e) => {
34
+ x(e), c.value = e;
35
+ };
36
+ return G(
37
+ c,
38
+ (e) => {
39
+ E(e ?? -1);
40
+ },
41
+ {
42
+ immediate: !0
43
+ }
44
+ ), (e, t) => (l(), i("div", {
45
+ ref_key: "root",
46
+ ref: V,
47
+ class: v(e.$attrs.class)
48
+ }, [
49
+ _("span", {
50
+ id: `tablist-${r.value}`,
51
+ class: "uikit-sr-only"
52
+ }, T(e.tabViewDescription), 9, O),
53
+ _("div", {
54
+ role: "tablist",
55
+ "aria-labelledby": `tablist-${r.value}`,
56
+ class: v(e.tabListClasses)
57
+ }, [
58
+ (l(!0), i(C, null, I(s.value, (a, n) => (l(), i("button", {
59
+ key: n,
60
+ id: b(n),
61
+ type: "button",
62
+ role: "tab",
63
+ "aria-selected": u(n),
64
+ "aria-controls": `base-tab-panel-${n}-${r.value}`,
65
+ tabindex: u(n) ? void 0 : -1,
66
+ class: v([
67
+ "uikit-bg-transparent uikit-p-5px",
68
+ {
69
+ "uikit-border-b-2 uikit-border-solid uikit-border-w-primary uikit-font-semibold": u(n)
70
+ },
71
+ a.class
72
+ ]),
73
+ onClick: (N) => {
74
+ L(n), w("tabClick", N);
75
+ }
76
+ }, [
77
+ a["header-title"] ? (l(), i("span", W, T(a["header-title"]), 1)) : a.renderFn.children && a.renderFn.children.header ? (l(), p(g(a.renderFn.children.header), { key: 1 })) : $("", !0)
78
+ ], 10, R))), 128))
79
+ ], 10, Q),
80
+ (l(!0), i(C, null, I(s.value, (a, n) => (l(), p(J, {
81
+ key: n,
82
+ id: D(n),
83
+ "labelled-by": M(n) || "",
84
+ active: A(n)
85
+ }, {
86
+ default: H(() => [
87
+ a.renderFn.children && a.renderFn.children.default ? (l(), p(g(a.renderFn.children.default), { key: 0 })) : $("", !0)
88
+ ]),
89
+ _: 2
90
+ }, 1032, ["id", "labelled-by", "active"]))), 128))
91
+ ], 2));
92
+ }
93
+ });
94
+ export {
95
+ ee as _
96
+ };
@@ -22,8 +22,7 @@ const C = ["innerHTML"], g = ["for"], y = ["id", "multiple", "accept"], T = /* @
22
22
  }
23
23
  );
24
24
  const d = ({ target: e }) => {
25
- if (!e)
26
- return;
25
+ if (!e) return;
27
26
  const i = e.files;
28
27
  i?.length && (s.value = i[0].name, a("uploaded", i[0]));
29
28
  };
@@ -26,8 +26,7 @@ const D = (l = "") => !l || !l.trim() ? "" : (l = l.trim(), l.replace(" ", "-").
26
26
  }), c = d(() => {
27
27
  for (const e in t.valuesObj) {
28
28
  const a = t.valuesObj[e];
29
- if (a.reset)
30
- return a;
29
+ if (a.reset) return a;
31
30
  }
32
31
  return null;
33
32
  }), p = d(