@maltjoy/core-vue 6.4.0 → 6.5.0-beta.1

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 (163) hide show
  1. package/dist/core-vue.js +3176 -2959
  2. package/dist/core-vue.umd.cjs +3 -3
  3. package/dist/style.css +1 -1
  4. package/package.json +1 -1
  5. package/dist/App.vue.d.ts +0 -2
  6. package/dist/components/JoyAdminBanner/VJoyAdminBanner.vue.d.ts +0 -7
  7. package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +0 -1
  8. package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +0 -10
  9. package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +0 -5
  10. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +0 -68
  11. package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +0 -27
  12. package/dist/components/JoyBadge/JoyBadge.types.d.ts +0 -2
  13. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +0 -66
  14. package/dist/components/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +0 -12
  15. package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +0 -49
  16. package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +0 -32
  17. package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +0 -49
  18. package/dist/components/JoyButton/JoyButton.types.d.ts +0 -6
  19. package/dist/components/JoyButton/VJoyButton.vue.d.ts +0 -101
  20. package/dist/components/JoyButtonCard/JoyButtonCard.types.d.ts +0 -13
  21. package/dist/components/JoyButtonCard/VJoyButtonCard.vue.d.ts +0 -18
  22. package/dist/components/JoyCheckbox/JoyCheckbox.types.d.ts +0 -26
  23. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +0 -36
  24. package/dist/components/JoyCheckboxCard/JoyCheckboxCard.types.d.ts +0 -7
  25. package/dist/components/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts +0 -35
  26. package/dist/components/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts +0 -67
  27. package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +0 -215
  28. package/dist/components/JoyCollapseItem/JoyCollapseItem.types.d.ts +0 -5
  29. package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +0 -101
  30. package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +0 -2
  31. package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +0 -39
  32. package/dist/components/JoyDialog/JoyDialog.types.d.ts +0 -2
  33. package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +0 -227
  34. package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +0 -563
  35. package/dist/components/JoyDot/VJoyDot.types.d.ts +0 -1
  36. package/dist/components/JoyDot/VJoyDot.vue.d.ts +0 -15
  37. package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +0 -1
  38. package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +0 -192
  39. package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +0 -497
  40. package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +0 -18
  41. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +0 -220
  42. package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +0 -2
  43. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +0 -136
  44. package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +0 -153
  45. package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +0 -84
  46. package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +0 -26
  47. package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +0 -19
  48. package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +0 -43
  49. package/dist/components/JoyFloatingActionsBar/VJoyFloatingActionsBar.vue.d.ts +0 -30
  50. package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +0 -63
  51. package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +0 -41
  52. package/dist/components/JoyFormGroup/VJoyFormGroup.vue.d.ts +0 -13
  53. package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +0 -3
  54. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +0 -71
  55. package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +0 -13
  56. package/dist/components/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts +0 -13
  57. package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +0 -3
  58. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +0 -76
  59. package/dist/components/JoyIcon/JoyIcon.types.d.ts +0 -5
  60. package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +0 -62
  61. package/dist/components/JoyIconButton/JoyIconButton.types.d.ts +0 -5
  62. package/dist/components/JoyIconButton/VJoyIconButton.vue.d.ts +0 -80
  63. package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +0 -44
  64. package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +0 -1
  65. package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +0 -74
  66. package/dist/components/JoyInput/JoyInput.types.d.ts +0 -33
  67. package/dist/components/JoyInput/VJoyInput.vue.d.ts +0 -38
  68. package/dist/components/JoyInputDigit/JoyInputDigit.types.d.ts +0 -14
  69. package/dist/components/JoyInputDigit/VJoyInputDigit.vue.d.ts +0 -24
  70. package/dist/components/JoyInputNumber/VJoyInputNumber.vue.d.ts +0 -33
  71. package/dist/components/JoyInputPassword/VJoyInputPassword.vue.d.ts +0 -31
  72. package/dist/components/JoyLabel/JoyLabel.types.d.ts +0 -3
  73. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +0 -57
  74. package/dist/components/JoyLink/JoyLink.types.d.ts +0 -2
  75. package/dist/components/JoyLink/VJoyLink.vue.d.ts +0 -41
  76. package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +0 -21
  77. package/dist/components/JoyMenu/JoyMenu.types.d.ts +0 -13
  78. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +0 -59
  79. package/dist/components/JoyMenuItem/JoyMenuItem.types.d.ts +0 -13
  80. package/dist/components/JoyMenuItem/VJoyMenuItem.vue.d.ts +0 -73
  81. package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +0 -35
  82. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +0 -84
  83. package/dist/components/JoyPanel/JoyPanel.types.d.ts +0 -4
  84. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +0 -103
  85. package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +0 -10
  86. package/dist/components/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +0 -7
  87. package/dist/components/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +0 -13
  88. package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +0 -174
  89. package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +0 -38
  90. package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +0 -6
  91. package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +0 -21
  92. package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +0 -27
  93. package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +0 -167
  94. package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +0 -2
  95. package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +0 -67
  96. package/dist/components/JoyRadio/JoyRadio.types.d.ts +0 -1
  97. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +0 -117
  98. package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +0 -1
  99. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +0 -33
  100. package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +0 -2
  101. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +0 -51
  102. package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +0 -1
  103. package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +0 -44
  104. package/dist/components/JoySelect/JoySelect.types.d.ts +0 -2
  105. package/dist/components/JoySelect/VJoySelect.vue.d.ts +0 -121
  106. package/dist/components/JoySelectableItem/VJoySelectableItem.types.d.ts +0 -8
  107. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +0 -76
  108. package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +0 -93
  109. package/dist/components/JoySeparator/JoySeparator.types.d.ts +0 -3
  110. package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +0 -24
  111. package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +0 -19
  112. package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +0 -104
  113. package/dist/components/JoySnackbar/VJoySnackbarService.d.ts +0 -25
  114. package/dist/components/JoySnackbar/index.d.ts +0 -1
  115. package/dist/components/JoySpinner/JoySpinner.types.d.ts +0 -1
  116. package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +0 -12
  117. package/dist/components/JoyStep/TJoyStep.types.d.ts +0 -1
  118. package/dist/components/JoyStep/VJoyStep.vue.d.ts +0 -86
  119. package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +0 -171
  120. package/dist/components/JoyTab/TabButton.vue.d.ts +0 -79
  121. package/dist/components/JoyTab/VJoyTab.vue.d.ts +0 -81
  122. package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +0 -103
  123. package/dist/components/JoyTag/JoyTag.types.d.ts +0 -14
  124. package/dist/components/JoyTag/VJoyTag.vue.d.ts +0 -52
  125. package/dist/components/JoyTagsInput/JoyTagsInput.service.d.ts +0 -5
  126. package/dist/components/JoyTagsInput/JoyTagsInput.types.d.ts +0 -4
  127. package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +0 -124
  128. package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +0 -4
  129. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +0 -140
  130. package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +0 -1
  131. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +0 -92
  132. package/dist/components/JoyTemplate/_JoyTemplateShape/TemplateShape.vue.d.ts +0 -2
  133. package/dist/components/JoyText/JoyText.types.d.ts +0 -4
  134. package/dist/components/JoyText/VJoyText.vue.d.ts +0 -40
  135. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +0 -155
  136. package/dist/components/JoyTitleBrand/VJoyTitleBrand.vue.d.ts +0 -19
  137. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +0 -104
  138. package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +0 -112
  139. package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +0 -71
  140. package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +0 -39
  141. package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +0 -9
  142. package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +0 -5
  143. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +0 -100
  144. package/dist/components/compat.d.ts +0 -1
  145. package/dist/components/component-metadata.d.ts +0 -22
  146. package/dist/components/components.d.ts +0 -8
  147. package/dist/components/components.types.d.ts +0 -42
  148. package/dist/components/index.d.ts +0 -84
  149. package/dist/composables/events.d.ts +0 -5
  150. package/dist/composables/helpers.d.ts +0 -9
  151. package/dist/composables/index.d.ts +0 -4
  152. package/dist/directives/index.d.ts +0 -1
  153. package/dist/directives/ripple.d.ts +0 -4
  154. package/dist/events/bus.d.ts +0 -3
  155. package/dist/events/index.d.ts +0 -1
  156. package/dist/helpers/index.d.ts +0 -15
  157. package/dist/joy-core-vue-manifest.json +0 -96
  158. package/dist/main.d.ts +0 -1
  159. package/dist/pages/FunnelAndStepper.vue.d.ts +0 -2
  160. package/dist/pages/FunnelMode.vue.d.ts +0 -2
  161. package/dist/pages/IndexPage.vue.d.ts +0 -2
  162. package/dist/stories/fixtures/index.d.ts +0 -1
  163. package/dist/types/index.d.ts +0 -27
@@ -1,104 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { Emitter } from 'mitt';
3
- import { TJoySnackbarEvents, TJoySnackbarLevels } from './JoySnackbar.types';
4
- declare function destroySnackbarAfterTimeout(): void;
5
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- level: {
7
- type: PropType<TJoySnackbarLevels>;
8
- default: string;
9
- };
10
- /** Allows to manually hide the component before its timeout */
11
- closable: {
12
- type: BooleanConstructor;
13
- default: boolean;
14
- };
15
- /** Default snackar display duration. Default to 5000ms. Set "forever" to constantly display it. */
16
- duration: {
17
- type: PropType<number | "forever">;
18
- default: number;
19
- };
20
- /** The title if you need to set one */
21
- header: {
22
- type: StringConstructor;
23
- };
24
- /** Main snackbar message. Mandatory */
25
- message: {
26
- type: StringConstructor;
27
- required: true;
28
- };
29
- /** If you need to trigger an action from the generated snackbar, use this field to create a CTA.
30
- *
31
- * Use `bus.on('snackbar:action-click')` to catch the event.
32
- */
33
- actionText: {
34
- type: StringConstructor;
35
- };
36
- /** Documentation purpose */
37
- frozen: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- /** You don't need to explicitely set the bus property as the snackbar service is already handling it. */
42
- bus: {
43
- type: PropType<Emitter<TJoySnackbarEvents>>;
44
- };
45
- /** Internal purpose */
46
- instanceNb: {
47
- type: NumberConstructor;
48
- };
49
- }>, {
50
- isOpen: import("vue").Ref<boolean, boolean>;
51
- exposedMethods: {
52
- destroySnackbarAfterTimeout: typeof destroySnackbarAfterTimeout;
53
- };
54
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
- level: {
56
- type: PropType<TJoySnackbarLevels>;
57
- default: string;
58
- };
59
- /** Allows to manually hide the component before its timeout */
60
- closable: {
61
- type: BooleanConstructor;
62
- default: boolean;
63
- };
64
- /** Default snackar display duration. Default to 5000ms. Set "forever" to constantly display it. */
65
- duration: {
66
- type: PropType<number | "forever">;
67
- default: number;
68
- };
69
- /** The title if you need to set one */
70
- header: {
71
- type: StringConstructor;
72
- };
73
- /** Main snackbar message. Mandatory */
74
- message: {
75
- type: StringConstructor;
76
- required: true;
77
- };
78
- /** If you need to trigger an action from the generated snackbar, use this field to create a CTA.
79
- *
80
- * Use `bus.on('snackbar:action-click')` to catch the event.
81
- */
82
- actionText: {
83
- type: StringConstructor;
84
- };
85
- /** Documentation purpose */
86
- frozen: {
87
- type: BooleanConstructor;
88
- default: boolean;
89
- };
90
- /** You don't need to explicitely set the bus property as the snackbar service is already handling it. */
91
- bus: {
92
- type: PropType<Emitter<TJoySnackbarEvents>>;
93
- };
94
- /** Internal purpose */
95
- instanceNb: {
96
- type: NumberConstructor;
97
- };
98
- }>> & Readonly<{}>, {
99
- level: TJoySnackbarLevels;
100
- closable: boolean;
101
- duration: number | "forever";
102
- frozen: boolean;
103
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
104
- export default _default;
@@ -1,25 +0,0 @@
1
- import { App } from 'vue';
2
- import { IJoynackbarServiceOptions, IJoynackbarServiceReturn } from './JoySnackbar.types';
3
- export declare const snackbarMountedInstances: App<Element>[];
4
- /**
5
- * For testing purpose, it's called before test execution.
6
- * @return {void}
7
- */
8
- export declare function resetCount(): void;
9
- /**
10
- *
11
- * @param {Object} options - createAllSnackbarsContainer options
12
- * @param {string } options.appendTo - where to injecte the snackbar shell
13
- * @param {string } options.defaultMountSelector - where to injecte the snackbar shell
14
- * @return {void}
15
- */
16
- export declare function createAllSnackbarsContainer(options?: {
17
- appendTo?: string;
18
- defaultMountSelector?: string;
19
- }): void;
20
- /**
21
- * @param {Object} options - pushVJoySnackbar options. Props are mandatory.
22
- * @param {Object} options.props - VJoySnackbar properties. props.message is mandatory.
23
- * @returns {Object} - Returns snackbarEventBus and snackbarApp instance
24
- */
25
- export declare function pushVJoySnackbar(options: IJoynackbarServiceOptions): IJoynackbarServiceReturn;
@@ -1 +0,0 @@
1
- export { createAllSnackbarsContainer, pushVJoySnackbar, resetCount } from './VJoySnackbarService';
@@ -1 +0,0 @@
1
- export type TJoySpinnerColors = 'teal' | 'white';
@@ -1,12 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoySpinnerColors } from './JoySpinner.types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- color: {
5
- type: PropType<TJoySpinnerColors>;
6
- };
7
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
8
- color: {
9
- type: PropType<TJoySpinnerColors>;
10
- };
11
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
12
- export default _default;
@@ -1 +0,0 @@
1
- export type TJoyStepSizes = 'small' | 'default';
@@ -1,86 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyStepSizes } from './TJoyStep.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- /** Set it to completed to change it's color */
5
- completed: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- /** Progress substep of the current step */
10
- currentSubStep: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- /** Adjust the text size, not the component size */
15
- size: {
16
- type: PropType<TJoyStepSizes>;
17
- default: string;
18
- };
19
- /** Set the amount of sub steps of the current step */
20
- subSteps: {
21
- type: NumberConstructor;
22
- default: number;
23
- };
24
- id: {
25
- type: StringConstructor;
26
- default: string;
27
- };
28
- showLabel: {
29
- type: BooleanConstructor;
30
- default: boolean;
31
- };
32
- }>, {
33
- progress: import("vue").ComputedRef<string>;
34
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
35
- "update:subSteps": () => any;
36
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
37
- /** Set it to completed to change it's color */
38
- completed: {
39
- type: BooleanConstructor;
40
- default: boolean;
41
- };
42
- /** Progress substep of the current step */
43
- currentSubStep: {
44
- type: NumberConstructor;
45
- default: number;
46
- };
47
- /** Adjust the text size, not the component size */
48
- size: {
49
- type: PropType<TJoyStepSizes>;
50
- default: string;
51
- };
52
- /** Set the amount of sub steps of the current step */
53
- subSteps: {
54
- type: NumberConstructor;
55
- default: number;
56
- };
57
- id: {
58
- type: StringConstructor;
59
- default: string;
60
- };
61
- showLabel: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- }>> & Readonly<{
66
- "onUpdate:subSteps"?: (() => any) | undefined;
67
- }>, {
68
- size: TJoyStepSizes;
69
- id: string;
70
- showLabel: boolean;
71
- completed: boolean;
72
- currentSubStep: number;
73
- subSteps: number;
74
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
75
- /** Label of the step. For text only */
76
- default(): any;
77
- }> & {
78
- /** Label of the step. For text only */
79
- default(): any;
80
- }>;
81
- export default _default;
82
- type __VLS_WithTemplateSlots<T, S> = T & {
83
- new (): {
84
- $slots: S;
85
- };
86
- };
@@ -1,171 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /** Current step value */
3
- step: {
4
- type: NumberConstructor;
5
- required: true;
6
- };
7
- /** Each main step can have sub-steps to have more specific visual progress feedback */
8
- subStep: {
9
- type: NumberConstructor;
10
- default: number;
11
- };
12
- }>, {
13
- currentItemSubStep: import("vue").ComputedRef<any>;
14
- steps: import("vue").ComputedRef<({
15
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
16
- completed: {
17
- type: BooleanConstructor;
18
- default: boolean;
19
- };
20
- currentSubStep: {
21
- type: NumberConstructor;
22
- default: number;
23
- };
24
- size: {
25
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
26
- default: string;
27
- };
28
- subSteps: {
29
- type: NumberConstructor;
30
- default: number;
31
- };
32
- id: {
33
- type: StringConstructor;
34
- default: string;
35
- };
36
- showLabel: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- }>> & Readonly<{
41
- "onUpdate:subSteps"?: (() => any) | undefined;
42
- }>, {
43
- progress: import("vue").ComputedRef<string>;
44
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
45
- "update:subSteps": () => any;
46
- }, import("vue").PublicProps, {
47
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
48
- id: string;
49
- showLabel: boolean;
50
- completed: boolean;
51
- currentSubStep: number;
52
- subSteps: number;
53
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
54
- P: {};
55
- B: {};
56
- D: {};
57
- C: {};
58
- M: {};
59
- Defaults: {};
60
- }, Readonly<import("vue").ExtractPropTypes<{
61
- completed: {
62
- type: BooleanConstructor;
63
- default: boolean;
64
- };
65
- currentSubStep: {
66
- type: NumberConstructor;
67
- default: number;
68
- };
69
- size: {
70
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
71
- default: string;
72
- };
73
- subSteps: {
74
- type: NumberConstructor;
75
- default: number;
76
- };
77
- id: {
78
- type: StringConstructor;
79
- default: string;
80
- };
81
- showLabel: {
82
- type: BooleanConstructor;
83
- default: boolean;
84
- };
85
- }>> & Readonly<{
86
- "onUpdate:subSteps"?: (() => any) | undefined;
87
- }>, {
88
- progress: import("vue").ComputedRef<string>;
89
- }, {}, {}, {}, {
90
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
91
- id: string;
92
- showLabel: boolean;
93
- completed: boolean;
94
- currentSubStep: number;
95
- subSteps: number;
96
- }>;
97
- __isFragment?: undefined;
98
- __isTeleport?: undefined;
99
- __isSuspense?: undefined;
100
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
101
- completed: {
102
- type: BooleanConstructor;
103
- default: boolean;
104
- };
105
- currentSubStep: {
106
- type: NumberConstructor;
107
- default: number;
108
- };
109
- size: {
110
- type: import("vue").PropType<import("../JoyStep/TJoyStep.types.js").TJoyStepSizes>;
111
- default: string;
112
- };
113
- subSteps: {
114
- type: NumberConstructor;
115
- default: number;
116
- };
117
- id: {
118
- type: StringConstructor;
119
- default: string;
120
- };
121
- showLabel: {
122
- type: BooleanConstructor;
123
- default: boolean;
124
- };
125
- }>> & Readonly<{
126
- "onUpdate:subSteps"?: (() => any) | undefined;
127
- }>, {
128
- progress: import("vue").ComputedRef<string>;
129
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
130
- "update:subSteps": () => any;
131
- }, string, {
132
- size: import("../JoyStep/TJoyStep.types.js").TJoyStepSizes;
133
- id: string;
134
- showLabel: boolean;
135
- completed: boolean;
136
- currentSubStep: number;
137
- subSteps: number;
138
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
139
- $slots: Readonly<{
140
- default(): any;
141
- }> & {
142
- default(): any;
143
- };
144
- }))[]>;
145
- invalidSubStepValue: import("vue").ComputedRef<boolean>;
146
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
147
- /** Current step value */
148
- step: {
149
- type: NumberConstructor;
150
- required: true;
151
- };
152
- /** Each main step can have sub-steps to have more specific visual progress feedback */
153
- subStep: {
154
- type: NumberConstructor;
155
- default: number;
156
- };
157
- }>> & Readonly<{}>, {
158
- subStep: number;
159
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
160
- /** Use it to inject all VJoyStep children */
161
- default(): any;
162
- }> & {
163
- /** Use it to inject all VJoyStep children */
164
- default(): any;
165
- }>;
166
- export default _default;
167
- type __VLS_WithTemplateSlots<T, S> = T & {
168
- new (): {
169
- $slots: S;
170
- };
171
- };
@@ -1,79 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /**
3
- * Boolean to change style if tabButton is selected
4
- */
5
- selected: {
6
- type: BooleanConstructor;
7
- default: boolean;
8
- };
9
- /**
10
- * Id of the tab, used for aria prop
11
- */
12
- tab: {
13
- type: (StringConstructor | NumberConstructor)[];
14
- required: true;
15
- };
16
- /**
17
- * Href props to send to a link. If filled, it replaces the default comportment
18
- */
19
- href: {
20
- type: StringConstructor;
21
- required: false;
22
- };
23
- /**
24
- * Label of the button. If filled, it replaces the default slot
25
- */
26
- label: {
27
- type: (StringConstructor | NumberConstructor)[];
28
- required: false;
29
- };
30
- notifications: {
31
- type: NumberConstructor;
32
- };
33
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
34
- changeTab: () => any;
35
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
- /**
37
- * Boolean to change style if tabButton is selected
38
- */
39
- selected: {
40
- type: BooleanConstructor;
41
- default: boolean;
42
- };
43
- /**
44
- * Id of the tab, used for aria prop
45
- */
46
- tab: {
47
- type: (StringConstructor | NumberConstructor)[];
48
- required: true;
49
- };
50
- /**
51
- * Href props to send to a link. If filled, it replaces the default comportment
52
- */
53
- href: {
54
- type: StringConstructor;
55
- required: false;
56
- };
57
- /**
58
- * Label of the button. If filled, it replaces the default slot
59
- */
60
- label: {
61
- type: (StringConstructor | NumberConstructor)[];
62
- required: false;
63
- };
64
- notifications: {
65
- type: NumberConstructor;
66
- };
67
- }>> & Readonly<{
68
- onChangeTab?: (() => any) | undefined;
69
- }>, {
70
- selected: boolean;
71
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
72
- default?(_: {}): any;
73
- }>;
74
- export default _default;
75
- type __VLS_WithTemplateSlots<T, S> = T & {
76
- new (): {
77
- $slots: S;
78
- };
79
- };
@@ -1,81 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /**
3
- * A tab id or name must be provided for each `joy-tab`. It's used internally to reference
4
- * the selected tab
5
- */
6
- tab: {
7
- type: (StringConstructor | NumberConstructor)[];
8
- required: true;
9
- };
10
- /**
11
- * The title given to the button
12
- */
13
- label: {
14
- type: (StringConstructor | NumberConstructor)[];
15
- };
16
- /**
17
- * Allow to have a link on the button. When clicking on the button, you will be redirected to the target of the URL.
18
- */
19
- href: {
20
- type: StringConstructor;
21
- required: false;
22
- };
23
- /** Activates a little notification badge in the tab button. */
24
- notification: {
25
- type: BooleanConstructor;
26
- required: false;
27
- };
28
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
29
- /**
30
- * A tab id or name must be provided for each `joy-tab`. It's used internally to reference
31
- * the selected tab
32
- */
33
- tab: {
34
- type: (StringConstructor | NumberConstructor)[];
35
- required: true;
36
- };
37
- /**
38
- * The title given to the button
39
- */
40
- label: {
41
- type: (StringConstructor | NumberConstructor)[];
42
- };
43
- /**
44
- * Allow to have a link on the button. When clicking on the button, you will be redirected to the target of the URL.
45
- */
46
- href: {
47
- type: StringConstructor;
48
- required: false;
49
- };
50
- /** Activates a little notification badge in the tab button. */
51
- notification: {
52
- type: BooleanConstructor;
53
- required: false;
54
- };
55
- }>> & Readonly<{}>, {
56
- notification: boolean;
57
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
58
- /**
59
- * The slot for the content
60
- */
61
- default(): any;
62
- /**
63
- * Slot to have a custom header
64
- */
65
- header(): any;
66
- }> & {
67
- /**
68
- * The slot for the content
69
- */
70
- default(): any;
71
- /**
72
- * Slot to have a custom header
73
- */
74
- header(): any;
75
- }>;
76
- export default _default;
77
- type __VLS_WithTemplateSlots<T, S> = T & {
78
- new (): {
79
- $slots: S;
80
- };
81
- };
@@ -1,103 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /** Use this prop to activate a specific tab by default by giving its name */
3
- selectedTab: {
4
- type: StringConstructor;
5
- };
6
- }>, {
7
- tabs: import("vue").ComputedRef<({
8
- new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
9
- tab: {
10
- type: (StringConstructor | NumberConstructor)[];
11
- required: true;
12
- };
13
- label: {
14
- type: (StringConstructor | NumberConstructor)[];
15
- };
16
- href: {
17
- type: StringConstructor;
18
- required: false;
19
- };
20
- notification: {
21
- type: BooleanConstructor;
22
- required: false;
23
- };
24
- }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
25
- notification: boolean;
26
- }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
27
- P: {};
28
- B: {};
29
- D: {};
30
- C: {};
31
- M: {};
32
- Defaults: {};
33
- }, Readonly<import("vue").ExtractPropTypes<{
34
- tab: {
35
- type: (StringConstructor | NumberConstructor)[];
36
- required: true;
37
- };
38
- label: {
39
- type: (StringConstructor | NumberConstructor)[];
40
- };
41
- href: {
42
- type: StringConstructor;
43
- required: false;
44
- };
45
- notification: {
46
- type: BooleanConstructor;
47
- required: false;
48
- };
49
- }>> & Readonly<{}>, {}, {}, {}, {}, {
50
- notification: boolean;
51
- }>;
52
- __isFragment?: undefined;
53
- __isTeleport?: undefined;
54
- __isSuspense?: undefined;
55
- } & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
56
- tab: {
57
- type: (StringConstructor | NumberConstructor)[];
58
- required: true;
59
- };
60
- label: {
61
- type: (StringConstructor | NumberConstructor)[];
62
- };
63
- href: {
64
- type: StringConstructor;
65
- required: false;
66
- };
67
- notification: {
68
- type: BooleanConstructor;
69
- required: false;
70
- };
71
- }>> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
72
- notification: boolean;
73
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
74
- $slots: Readonly<{
75
- default(): any;
76
- header(): any;
77
- }> & {
78
- default(): any;
79
- header(): any;
80
- };
81
- }))[]>;
82
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
83
- "update:selected-tab": (value: string) => any;
84
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
85
- /** Use this prop to activate a specific tab by default by giving its name */
86
- selectedTab: {
87
- type: StringConstructor;
88
- };
89
- }>> & Readonly<{
90
- "onUpdate:selected-tab"?: ((value: string) => any) | undefined;
91
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
92
- /** Use it to inject all your `VJoyTab` children */
93
- default(): any;
94
- }> & {
95
- /** Use it to inject all your `VJoyTab` children */
96
- default(): any;
97
- }>;
98
- export default _default;
99
- type __VLS_WithTemplateSlots<T, S> = T & {
100
- new (): {
101
- $slots: S;
102
- };
103
- };
@@ -1,14 +0,0 @@
1
- import { TSizes } from '../../types';
2
- import VJoyTag from './VJoyTag.vue';
3
- export type TJoyTagVariants = 'important' | 'inactive' | 'pending' | 'pricing' | 'special' | 'primary' | 'secondary' | 'ai-primary' | 'ai-secondary' | 'empty';
4
- export type TJoyTagSizes = Exclude<TSizes, 'xlarge' | 'xxsmall'>;
5
- export type VJoyTagProps = InstanceType<typeof VJoyTag>['$props'];
6
- export interface IJoyTagSelected {
7
- selected: boolean;
8
- value: VJoyTagProps['value'];
9
- }
10
- export interface IJoyTagRemoved {
11
- value: VJoyTagProps['value'];
12
- }
13
- export interface IJoyTag extends VJoyTagProps {
14
- }