@maltjoy/core-vue 3.37.0 → 3.37.1-next

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 (99) hide show
  1. package/dist/App.vue.d.ts +1 -1
  2. package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -4
  3. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +10 -10
  4. package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +4 -4
  5. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +4 -4
  6. package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +4 -4
  7. package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +4 -4
  8. package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +8 -8
  9. package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +52 -93
  10. package/dist/components/JoyButton/VJoyButton.vue.d.ts +7 -7
  11. package/dist/components/JoyButton/useRandomId.d.ts +1 -1
  12. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +15 -15
  13. package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +27 -52
  14. package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +9 -9
  15. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +7 -7
  16. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +16 -16
  17. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +13 -13
  18. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +82 -193
  19. package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +4 -4
  20. package/dist/components/JoyDot/VJoyDot.vue.d.ts +4 -4
  21. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +13 -13
  22. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +78 -171
  23. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +13 -13
  24. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +11 -11
  25. package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +16 -10
  26. package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +7 -7
  27. package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +3 -3
  28. package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +3 -3
  29. package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +6 -6
  30. package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +1 -1
  31. package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +4 -4
  32. package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +5 -5
  33. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +6 -6
  34. package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +1 -1
  35. package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +1 -1
  36. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +5 -5
  37. package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +4 -4
  38. package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -4
  39. package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +10 -10
  40. package/dist/components/JoyInput/VJoyInput.vue.d.ts +12 -12
  41. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +5 -5
  42. package/dist/components/JoyLink/VJoyLink.vue.d.ts +4 -4
  43. package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +6 -15
  44. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +8 -8
  45. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +6 -6
  46. package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +6 -6
  47. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -6
  48. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +4 -4
  49. package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +1 -1
  50. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +113 -150
  51. package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
  52. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +6 -27
  53. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +8 -43
  54. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +48 -257
  55. package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +6 -6
  56. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +10 -10
  57. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +4 -4
  58. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +5 -5
  59. package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +4 -4
  60. package/dist/components/JoySelect/VJoySelect.vue.d.ts +11 -11
  61. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +10 -10
  62. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +9 -9
  63. package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +4 -4
  64. package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -6
  65. package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +3 -3
  66. package/dist/components/JoyStep/VJoyStep.vue.d.ts +7 -7
  67. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +19 -46
  68. package/dist/components/JoyTab/TabButton.vue.d.ts +6 -6
  69. package/dist/components/JoyTab/VJoyTab.vue.d.ts +4 -4
  70. package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +12 -28
  71. package/dist/components/JoyTag/VJoyTag.vue.d.ts +9 -44
  72. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +13 -13
  73. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +15 -15
  74. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +4 -4
  75. package/dist/components/JoyTemplateShape/VJoyTemplateShape.vue.d.ts +1 -1
  76. package/dist/components/JoyText/VJoyText.vue.d.ts +7 -7
  77. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +10 -10
  78. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +7 -7
  79. package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +7 -7
  80. package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +3 -3
  81. package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +9 -36
  82. package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +1 -10
  83. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +5 -5
  84. package/dist/components.cjs +1 -1
  85. package/dist/components.js +2 -2
  86. package/dist/composables/helpers.d.ts +1 -1
  87. package/dist/joy-core-vue-manifest.json +1 -1
  88. package/dist/main.cjs +1 -1
  89. package/dist/main.js +2 -2
  90. package/dist/pages/FunnelAndStepper.vue.d.ts +1 -1
  91. package/dist/pages/FunnelMode.vue.d.ts +1 -1
  92. package/dist/pages/IndexPage.vue.d.ts +1 -1
  93. package/dist/style-5r5kgKhD.cjs +16 -0
  94. package/dist/{style-DqUSTCzR.js → style-CyY04g9F.js} +1775 -1775
  95. package/dist/style.css +1 -1
  96. package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
  97. package/package.json +43 -42
  98. package/LICENSE +0 -21
  99. package/dist/style-DiEVDLd0.cjs +0 -16
@@ -1,13 +1,13 @@
1
1
  import { PropType } from 'vue';
2
- declare const _default: import("vue").DefineComponent<{
2
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
3
3
  name: {
4
4
  type: PropType<import("@maltjoy/icons").JoyIconsId>;
5
5
  required: true;
6
6
  };
7
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
8
  name: {
9
9
  type: PropType<import("@maltjoy/icons").JoyIconsId>;
10
10
  required: true;
11
11
  };
12
- }>>, {}, {}>;
12
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
13
13
  export default _default;
@@ -1,10 +1,10 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  /** To give a label to the whole component */
3
3
  ariaLabel: StringConstructor;
4
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
4
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
5
5
  /** To give a label to the whole component */
6
6
  ariaLabel: StringConstructor;
7
- }>>, {}, {}>, Readonly<{
7
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
8
8
  /** Use it to inject VJoyFilterBarButton or whatever you need */
9
9
  default(): any;
10
10
  }> & {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  /** Label to inject inside the button */
3
3
  label: StringConstructor;
4
4
  /** Required when used in the `VJoyFilterBar` to properly handle v-model */
@@ -10,8 +10,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
10
  type: BooleanConstructor;
11
11
  default: boolean;
12
12
  };
13
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
- filter: (value: string) => void;
13
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
14
+ filter: (value: string) => any;
15
15
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
16
16
  /** Label to inject inside the button */
17
17
  label: StringConstructor;
@@ -24,11 +24,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
24
24
  type: BooleanConstructor;
25
25
  default: boolean;
26
26
  };
27
- }>> & {
27
+ }>> & Readonly<{
28
28
  onFilter?: ((value: string) => any) | undefined;
29
- }, {
29
+ }>, {
30
30
  active: boolean;
31
- }, {}>, Readonly<{
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
32
32
  /** Free slot if you need more than the label property. */
33
33
  default(): any;
34
34
  }> & {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
2
2
  'footer-left': () => any;
3
3
  'footer-right': () => any;
4
4
  }> & {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
3
3
  visible: {
4
4
  type: BooleanConstructor;
@@ -6,7 +6,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
6
  };
7
7
  /** Error message to display. If you need a list of errors, use the slot instead */
8
8
  noHtmlErrorText: StringConstructor;
9
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
9
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
10
10
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
11
11
  visible: {
12
12
  type: BooleanConstructor;
@@ -14,9 +14,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
14
14
  };
15
15
  /** Error message to display. If you need a list of errors, use the slot instead */
16
16
  noHtmlErrorText: StringConstructor;
17
- }>>, {
17
+ }>> & Readonly<{}>, {
18
18
  visible: boolean;
19
- }, {}>, Readonly<{
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
20
20
  /** If you need a list of error, use this slot with a simple ul/li */
21
21
  default?: (() => any) | undefined;
22
22
  }> & {
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { FormSizes } from '@/types';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
5
5
  size: {
6
6
  type: PropType<FormSizes>;
@@ -16,9 +16,9 @@ declare const _default: import("vue").DefineComponent<{
16
16
  type: StringConstructor;
17
17
  default: string;
18
18
  };
19
- }, {
19
+ }>, {
20
20
  flexStyle: import("vue").ComputedRef<string>;
21
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
22
  /** In some cases you'll need to inject the error in the DOM but hide it. Visible by default */
23
23
  size: {
24
24
  type: PropType<FormSizes>;
@@ -34,8 +34,8 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: StringConstructor;
35
35
  default: string;
36
36
  };
37
- }>>, {
37
+ }>> & Readonly<{}>, {
38
38
  size: FormSizes;
39
39
  flex: string;
40
- }, {}>;
40
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
41
41
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyFunnelLayoutWidths, TJoyFunnelProfiles } from './JoyFunnel.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  /**
5
5
  * Remove decorative shapes placed at the bottom right corner
6
6
  */
@@ -16,11 +16,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  type: PropType<TJoyFunnelProfiles>;
17
17
  default: string;
18
18
  };
19
- }, {
20
- scrollOnTop: import("vue").Ref<boolean>;
19
+ }>, {
20
+ scrollOnTop: import("vue").Ref<boolean, boolean>;
21
21
  hasStepperSlot: import("vue").ComputedRef<boolean>;
22
22
  hasFooterSlot: import("vue").ComputedRef<boolean>;
23
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
24
24
  /**
25
25
  * Remove decorative shapes placed at the bottom right corner
26
26
  */
@@ -36,11 +36,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  type: PropType<TJoyFunnelProfiles>;
37
37
  default: string;
38
38
  };
39
- }>>, {
39
+ }>> & Readonly<{}>, {
40
40
  profile: TJoyFunnelProfiles;
41
41
  hideShapes: boolean;
42
42
  layoutWidth: TJoyFunnelLayoutWidths;
43
- }, {}>, Readonly<{
43
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
44
44
  /** Use VJoyTemplate here */
45
45
  default: () => any;
46
46
  /** Use VJoyHeader here */
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
2
2
  'footer-left': () => any;
3
3
  'footer-right': () => any;
4
4
  }> & {
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Readonly<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
2
2
  'header-left': () => any;
3
3
  'header-right': () => any;
4
4
  }> & {
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyHighlightVariants } from './JoyHighlight.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  accent: {
5
5
  type: BooleanConstructor;
6
6
  default: boolean;
@@ -23,9 +23,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
23
23
  type: PropType<TJoyHighlightVariants>;
24
24
  default: string;
25
25
  };
26
- }, {
26
+ }>, {
27
27
  getRelevantIcon: import("vue").ComputedRef<import("@maltjoy/icons").JoyIconsId>;
28
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
29
  accent: {
30
30
  type: BooleanConstructor;
31
31
  default: boolean;
@@ -48,12 +48,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
48
  type: PropType<TJoyHighlightVariants>;
49
49
  default: string;
50
50
  };
51
- }>>, {
51
+ }>> & Readonly<{}>, {
52
52
  variant: TJoyHighlightVariants;
53
53
  level: import("../../types/index.js").TLevels;
54
54
  accent: boolean;
55
55
  displayIcon: boolean;
56
- }, {}>, Readonly<{
56
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
57
57
  /** Main content of the highlight */
58
58
  default(): any;
59
59
  /** Use it if you want to customize the default icon associated with the highlight. You can inject whatever you want here */
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyIconsColors } from './JoyIcon.types';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  ariaLabel: {
5
5
  type: StringConstructor;
6
6
  };
@@ -27,7 +27,7 @@ declare const _default: import("vue").DefineComponent<{
27
27
  type: PropType<import("../../types").TSizes>;
28
28
  default: string;
29
29
  };
30
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  ariaLabel: {
32
32
  type: StringConstructor;
33
33
  };
@@ -54,9 +54,9 @@ declare const _default: import("vue").DefineComponent<{
54
54
  type: PropType<import("../../types").TSizes>;
55
55
  default: string;
56
56
  };
57
- }>>, {
57
+ }>> & Readonly<{}>, {
58
58
  size: import("../../types").TSizes;
59
59
  color: TJoyIconsColors;
60
60
  tabIndex: number;
61
- }, {}>;
61
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
62
62
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyIndicatorsVariants } from '../JoyIndicators/JoyIndicators.types';
3
- declare const _default: import("vue").DefineComponent<{
3
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  /** Value is used for the parent v-model. Mandatory */
5
5
  value: {
6
6
  type: (StringConstructor | NumberConstructor)[];
@@ -19,7 +19,7 @@ declare const _default: import("vue").DefineComponent<{
19
19
  ariaLabel: {
20
20
  type: StringConstructor;
21
21
  };
22
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
23
23
  /** Value is used for the parent v-model. Mandatory */
24
24
  value: {
25
25
  type: (StringConstructor | NumberConstructor)[];
@@ -38,8 +38,8 @@ declare const _default: import("vue").DefineComponent<{
38
38
  ariaLabel: {
39
39
  type: StringConstructor;
40
40
  };
41
- }>>, {
41
+ }>> & Readonly<{}>, {
42
42
  variant: TJoyIndicatorsVariants;
43
43
  selected: boolean;
44
- }, {}>;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
45
45
  export default _default;
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import VJoyIndicator from '../JoyIndicator/VJoyIndicator.vue';
3
3
  import { TJoyIndicatorsVariants } from './JoyIndicators.types';
4
4
  declare function isSelected(indicator: typeof VJoyIndicator): boolean;
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  variant: {
7
7
  type: PropType<TJoyIndicatorsVariants>;
8
8
  };
@@ -10,8 +10,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
10
10
  modelValue: {
11
11
  type: (StringConstructor | NumberConstructor)[];
12
12
  };
13
- }, {
14
- indicators: import("vue").ComputedRef<import("vue").DefineComponent<{
13
+ }>, {
14
+ indicators: import("vue").ComputedRef<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
15
  value: {
16
16
  type: (StringConstructor | NumberConstructor)[];
17
17
  required: true;
@@ -27,7 +27,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
27
27
  ariaLabel: {
28
28
  type: StringConstructor;
29
29
  };
30
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
31
31
  value: {
32
32
  type: (StringConstructor | NumberConstructor)[];
33
33
  required: true;
@@ -43,13 +43,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
43
  ariaLabel: {
44
44
  type: StringConstructor;
45
45
  };
46
- }>>, {
46
+ }>> & Readonly<{}>, {
47
47
  variant: TJoyIndicatorsVariants;
48
48
  selected: boolean;
49
- }, {}>[]>;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>[]>;
50
50
  isSelected: typeof isSelected;
51
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
- "update:modelValue": (value: string | number) => void;
51
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
52
+ "update:modelValue": (value: string | number) => any;
53
53
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
54
54
  variant: {
55
55
  type: PropType<TJoyIndicatorsVariants>;
@@ -58,9 +58,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
58
58
  modelValue: {
59
59
  type: (StringConstructor | NumberConstructor)[];
60
60
  };
61
- }>> & {
61
+ }>> & Readonly<{
62
62
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
63
- }, {}, {}>, Readonly<{
63
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
64
64
  /** Use VJoyIndicator children here */
65
65
  default(): any;
66
66
  }> & {
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
2
2
  import { TJoyInputSizes } from './JoyInput.types';
3
3
  import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
4
4
  declare function focus(): void;
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
5
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
6
  autofocus: {
7
7
  type: BooleanConstructor;
8
8
  default: boolean;
@@ -72,10 +72,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  type: BooleanConstructor;
73
73
  default: boolean;
74
74
  };
75
- }, {
75
+ }>, {
76
76
  focus: typeof focus;
77
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
- "update:modelValue": (value: string) => void;
77
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
78
+ "update:modelValue": (value: string) => any;
79
79
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
80
80
  autofocus: {
81
81
  type: BooleanConstructor;
@@ -146,15 +146,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
146
146
  type: BooleanConstructor;
147
147
  default: boolean;
148
148
  };
149
- }>> & {
149
+ }>> & Readonly<{
150
150
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
151
- }, {
152
- readonly: boolean;
153
- disabled: boolean;
154
- required: boolean;
155
- size: TJoyInputSizes;
156
- type: string;
151
+ }>, {
157
152
  invalid: boolean;
153
+ type: string;
154
+ size: TJoyInputSizes;
155
+ required: boolean;
156
+ disabled: boolean;
158
157
  autofocus: boolean;
159
158
  labelSize: TJoyLabelSizes;
160
159
  requiredMark: boolean;
@@ -162,7 +161,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
162
161
  lazy: boolean;
163
162
  };
164
163
  clearable: boolean;
165
- }, {}>, Readonly<{
164
+ readonly: boolean;
165
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
166
166
  /** Default slot to display a label on top of the element. You can use label property as well */
167
167
  default?: (() => any) | undefined;
168
168
  }> & {
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyLabelSizes } from './JoyLabel.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  size: {
5
5
  type: PropType<TJoyLabelSizes>;
6
6
  default: string;
@@ -17,7 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
17
  type: StringConstructor;
18
18
  };
19
19
  text: StringConstructor;
20
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
20
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
21
  size: {
22
22
  type: PropType<TJoyLabelSizes>;
23
23
  default: string;
@@ -34,11 +34,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
34
34
  type: StringConstructor;
35
35
  };
36
36
  text: StringConstructor;
37
- }>>, {
38
- required: boolean;
37
+ }>> & Readonly<{}>, {
39
38
  size: TJoyLabelSizes;
39
+ required: boolean;
40
40
  tagName: "label" | "legend";
41
- }, {}>, Readonly<{
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
42
42
  /** Label text here */
43
43
  default: () => any;
44
44
  }> & {
@@ -1,6 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { TJoyLinkColors } from './JoyLink.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
3
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
4
  href: {
5
5
  type: StringConstructor;
6
6
  required: true;
@@ -11,7 +11,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
11
11
  };
12
12
  icon: PropType<import("@maltjoy/icons").JoyIconsId>;
13
13
  text: PropType<string | null>;
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
15
  href: {
16
16
  type: StringConstructor;
17
17
  required: true;
@@ -22,9 +22,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
22
22
  };
23
23
  icon: PropType<import("@maltjoy/icons").JoyIconsId>;
24
24
  text: PropType<string | null>;
25
- }>>, {
25
+ }>> & Readonly<{}>, {
26
26
  color: TJoyLinkColors;
27
- }, {}>, Readonly<{
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
28
28
  default(): any;
29
29
  }> & {
30
30
  default(): any;
@@ -1,12 +1,12 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
2
  icon?: import("@maltjoy/icons").JoyIconsId | undefined;
3
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
- click: () => void;
5
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
3
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
+ click: () => any;
5
+ }, string, import("vue").PublicProps, Readonly<{
6
6
  icon?: import("@maltjoy/icons").JoyIconsId | undefined;
7
- }>>> & {
7
+ }> & Readonly<{
8
8
  onClick?: (() => any) | undefined;
9
- }, {}, {}>, Readonly<{
9
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
10
10
  'list-item-left': () => any;
11
11
  'list-item-right': () => any;
12
12
  }> & {
@@ -19,12 +19,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
19
19
  $slots: S;
20
20
  };
21
21
  };
22
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
23
- type __VLS_TypePropsToOption<T> = {
24
- [K in keyof T]-?: {} extends Pick<T, K> ? {
25
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
26
- } : {
27
- type: import('vue').PropType<T[K]>;
28
- required: true;
29
- };
30
- };
@@ -3,7 +3,7 @@ import { IJoyMenuItem } from './JoyMenu.types';
3
3
  declare function getItems(): HTMLElement[];
4
4
  declare function getItemId(item: IJoyMenuItem): string;
5
5
  declare function getFocusedItem(): HTMLElement | undefined;
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
6
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
7
  /**
8
8
  * In order to make it work with v-model, you need to pass for each option, a value or an ID.
9
9
  */
@@ -17,13 +17,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
17
17
  ariaLabel: {
18
18
  type: StringConstructor;
19
19
  };
20
- }, {
21
- activeMenuItemId: import("vue").Ref<string | undefined>;
20
+ }>, {
21
+ activeMenuItemId: import("vue").Ref<string | undefined, string | undefined>;
22
22
  getItems: typeof getItems;
23
23
  getItemId: typeof getItemId;
24
24
  getFocusedItem: typeof getFocusedItem;
25
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- selectItem: (value: IJoyMenuItem) => void;
25
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
+ selectItem: (value: IJoyMenuItem) => any;
27
27
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
28
  /**
29
29
  * In order to make it work with v-model, you need to pass for each option, a value or an ID.
@@ -38,11 +38,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
38
38
  ariaLabel: {
39
39
  type: StringConstructor;
40
40
  };
41
- }>> & {
41
+ }>> & Readonly<{
42
42
  onSelectItem?: ((value: IJoyMenuItem) => any) | undefined;
43
- }, {
43
+ }>, {
44
44
  items: IJoyMenuItem[];
45
- }, {}>, Readonly<{
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
46
46
  /** Customize the inner content of each menu item */
47
47
  'menu-item': (item: IJoyMenuItem) => any;
48
48
  }> & {
@@ -15,7 +15,7 @@ export interface Option {
15
15
  */
16
16
  required?: boolean;
17
17
  }
18
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
18
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
19
  /** To render the list of checkboxes you have to use this property. See "Controls" for object model */
20
20
  options: {
21
21
  type: PropType<Option[]>;
@@ -43,8 +43,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
43
43
  type: BooleanConstructor;
44
44
  default: boolean;
45
45
  };
46
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- "update:value": (value: any[]) => void;
46
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
47
+ "update:value": (value: any[]) => any;
48
48
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
49
49
  /** To render the list of checkboxes you have to use this property. See "Controls" for object model */
50
50
  options: {
@@ -73,14 +73,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
73
  type: BooleanConstructor;
74
74
  default: boolean;
75
75
  };
76
- }>> & {
76
+ }>> & Readonly<{
77
77
  "onUpdate:value"?: ((value: any[]) => any) | undefined;
78
- }, {
78
+ }>, {
79
79
  required: boolean;
80
80
  value: any[];
81
81
  labelSize: TJoyLabelSizes;
82
82
  requiredMark: boolean;
83
- }, {}>, Readonly<{
83
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
84
84
  /** Customize the inner content of each checkboxes */
85
85
  checkbox?: ((option: Option) => any) | undefined;
86
86
  }> & {
@@ -1,4 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{
1
+ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  label: {
3
3
  type: StringConstructor;
4
4
  required: false;
@@ -11,8 +11,8 @@ declare const _default: import("vue").DefineComponent<{
11
11
  type: BooleanConstructor;
12
12
  default: boolean;
13
13
  };
14
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- click: () => void;
14
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
+ click: () => any;
16
16
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
17
  label: {
18
18
  type: StringConstructor;
@@ -26,10 +26,10 @@ declare const _default: import("vue").DefineComponent<{
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
- }>> & {
29
+ }>> & Readonly<{
30
30
  onClick?: (() => any) | undefined;
31
- }, {
31
+ }>, {
32
32
  disabled: boolean;
33
33
  next: boolean;
34
- }, {}>;
34
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
35
  export default _default;
@@ -1,4 +1,4 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
2
  /** Current page number */
3
3
  currentPage: {
4
4
  type: NumberConstructor;
@@ -24,8 +24,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
24
24
  type: StringConstructor;
25
25
  required: false;
26
26
  };
27
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
28
- "update:current-page": (value: number) => void;
27
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
+ "update:current-page": (value: number) => any;
29
29
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
30
  /** Current page number */
31
31
  currentPage: {
@@ -52,12 +52,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
52
52
  type: StringConstructor;
53
53
  required: false;
54
54
  };
55
- }>> & {
55
+ }>> & Readonly<{
56
56
  "onUpdate:current-page"?: ((value: number) => any) | undefined;
57
- }, {
57
+ }>, {
58
58
  currentPage: number;
59
59
  totalPages: number;
60
- }, {}>, Readonly<{
60
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
61
61
  /** Customize the content of the left arrow */
62
62
  'pagination-prev'?: (() => any) | undefined;
63
63
  /** Customize the content of the right arrow */