@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,38 +0,0 @@
1
- import { VJoyInputProps } from './JoyInput.types';
2
- declare function focus(): void;
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJoyInputProps, {
4
- focus: typeof focus;
5
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
- "update:modelValue": (value: string) => any;
7
- }, string, import("vue").PublicProps, Readonly<VJoyInputProps> & Readonly<{
8
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
9
- }>, {
10
- invalid: boolean;
11
- size: import("./JoyInput.types").TJoyInputSizes;
12
- type: string;
13
- required: boolean;
14
- disabled: boolean;
15
- labelSize: import("../JoyLabel/JoyLabel.types").TJoyLabelSizes;
16
- requiredMark: boolean;
17
- autofocus: boolean;
18
- modelModifiers: Partial<Record<"number" | "trim" | "lazy", boolean>>;
19
- clearable: boolean;
20
- readonly: boolean;
21
- clearAriaLabel: string;
22
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
23
- /** DEPRECATED. Default slot to display a label on top of the element. You can use label property as well */
24
- default?: (() => any) | undefined;
25
- /** Slot used to inject a custom action on the right side of the input wrapper. */
26
- 'right-action'?: (() => any) | undefined;
27
- }> & {
28
- /** DEPRECATED. Default slot to display a label on top of the element. You can use label property as well */
29
- default?: (() => any) | undefined;
30
- /** Slot used to inject a custom action on the right side of the input wrapper. */
31
- 'right-action'?: (() => any) | undefined;
32
- }>;
33
- export default _default;
34
- type __VLS_WithTemplateSlots<T, S> = T & {
35
- new (): {
36
- $slots: S;
37
- };
38
- };
@@ -1,14 +0,0 @@
1
- export interface VJoyInputDigitProps {
2
- /** Joined value of all input slots. */
3
- modelValue?: string;
4
- /** Number of displayed input slots. */
5
- length?: number;
6
- /** Applies invalid visual state on every slot. */
7
- invalid?: boolean;
8
- /** Disables all input slots. */
9
- disabled?: boolean;
10
- /** Name prefix used for each generated input. */
11
- name?: string;
12
- /** Base aria-label used for each input, indexed automatically (e.g. "Digit 1 of 6"). */
13
- inputAriaLabel?: string;
14
- }
@@ -1,24 +0,0 @@
1
- import type { VJoyInputDigitProps } from './JoyInputDigit.types';
2
- declare function focusInput(index: number): void;
3
- declare const _default: import("vue").DefineComponent<VJoyInputDigitProps, {
4
- focusInput: typeof focusInput;
5
- tokens: import("vue").Ref<string[], string[]>;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- blur: (event: FocusEvent) => any;
8
- change: (value: string, event: Event) => any;
9
- focus: (event: FocusEvent) => any;
10
- "update:modelValue": (value: string) => any;
11
- }, string, import("vue").PublicProps, Readonly<VJoyInputDigitProps> & Readonly<{
12
- onBlur?: ((event: FocusEvent) => any) | undefined;
13
- onChange?: ((value: string, event: Event) => any) | undefined;
14
- onFocus?: ((event: FocusEvent) => any) | undefined;
15
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
- }>, {
17
- invalid: boolean;
18
- length: number;
19
- name: string;
20
- disabled: boolean;
21
- modelValue: string;
22
- inputAriaLabel: string;
23
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
24
- export default _default;
@@ -1,33 +0,0 @@
1
- import type { VJoyInputProps } from '../JoyInput/JoyInput.types';
2
- type VJoyInputNumberProps = Omit<VJoyInputProps, 'clearable' | 'clearAriaLabel'> & {
3
- /** Unit label displayed on the right side of the number input. */
4
- unit?: string;
5
- };
6
- declare function focus(): void;
7
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJoyInputNumberProps, {
8
- focus: typeof focus;
9
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:modelValue": (value: string) => any;
11
- }, string, import("vue").PublicProps, Readonly<VJoyInputNumberProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
13
- }>, {
14
- invalid: boolean;
15
- name: string;
16
- type: string;
17
- required: boolean;
18
- disabled: boolean;
19
- labelSize: import("../components.types.js").TJoyLabelSizes;
20
- requiredMark: boolean;
21
- autofocus: boolean;
22
- modelModifiers: Partial<Record<"number" | "trim" | "lazy", boolean>>;
23
- readonly: boolean;
24
- unit: string;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
- default?(_: {}): any;
27
- }>;
28
- export default _default;
29
- type __VLS_WithTemplateSlots<T, S> = T & {
30
- new (): {
31
- $slots: S;
32
- };
33
- };
@@ -1,31 +0,0 @@
1
- import type { VJoyInputProps } from '../JoyInput/JoyInput.types';
2
- type VJoyInputPasswordProps = Omit<VJoyInputProps, 'type' | 'clearable' | 'clearAriaLabel' | 'readonly'>;
3
- declare function focus(): void;
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJoyInputPasswordProps, {
5
- focus: typeof focus;
6
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:modelValue": (value: string) => any;
8
- }, string, import("vue").PublicProps, Readonly<VJoyInputPasswordProps> & Readonly<{
9
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
10
- }>, {
11
- invalid: boolean;
12
- name: string;
13
- required: boolean;
14
- disabled: boolean;
15
- labelSize: import("../components.types.js").TJoyLabelSizes;
16
- requiredMark: boolean;
17
- autofocus: boolean;
18
- modelModifiers: Partial<Record<"number" | "trim" | "lazy", boolean>>;
19
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
20
- /** Slot used to inject password requirements. Use VJoyPasswordRequirement component to display the requirements. */
21
- 'password-requirements'?: (() => any) | undefined;
22
- }> & {
23
- /** Slot used to inject password requirements. Use VJoyPasswordRequirement component to display the requirements. */
24
- 'password-requirements'?: (() => any) | undefined;
25
- }>;
26
- export default _default;
27
- type __VLS_WithTemplateSlots<T, S> = T & {
28
- new (): {
29
- $slots: S;
30
- };
31
- };
@@ -1,3 +0,0 @@
1
- import { TSizes } from '@/types';
2
- export type TJoyLabelSizes = Extract<TSizes, 'small' | 'medium' | 'large'>;
3
- export declare const JoyFormElementContext = "JoyFormElementContext";
@@ -1,57 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyLabelSizes } from './JoyLabel.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- size: {
5
- type: PropType<TJoyLabelSizes>;
6
- default: string;
7
- };
8
- tagName: {
9
- type: PropType<"label" | "legend">;
10
- default: string;
11
- };
12
- required: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- optionalLabel: {
17
- type: StringConstructor;
18
- };
19
- text: StringConstructor;
20
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- size: {
22
- type: PropType<TJoyLabelSizes>;
23
- default: string;
24
- };
25
- tagName: {
26
- type: PropType<"label" | "legend">;
27
- default: string;
28
- };
29
- required: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- optionalLabel: {
34
- type: StringConstructor;
35
- };
36
- text: StringConstructor;
37
- }>> & Readonly<{}>, {
38
- size: TJoyLabelSizes;
39
- required: boolean;
40
- tagName: "label" | "legend";
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
42
- /** Label text here */
43
- default: () => any;
44
- 'label-legend'?: (() => any) | undefined;
45
- 'label-tooltip'?: (() => any) | undefined;
46
- }> & {
47
- /** Label text here */
48
- default: () => any;
49
- 'label-legend'?: (() => any) | undefined;
50
- 'label-tooltip'?: (() => any) | undefined;
51
- }>;
52
- export default _default;
53
- type __VLS_WithTemplateSlots<T, S> = T & {
54
- new (): {
55
- $slots: S;
56
- };
57
- };
@@ -1,2 +0,0 @@
1
- export type TJoyLinkColors = 'teal' | 'white';
2
- export type TJoyLinkType = HTMLButtonElement['type'];
@@ -1,41 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyLinkColors } from './JoyLink.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- href: {
5
- type: StringConstructor;
6
- };
7
- color: {
8
- type: PropType<TJoyLinkColors>;
9
- default: string;
10
- };
11
- icon: PropType<import("@maltjoy/icons").JoyIconsId>;
12
- text: PropType<string | null>;
13
- type: {
14
- type: PropType<"reset" | "submit" | "button">;
15
- };
16
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
- href: {
18
- type: StringConstructor;
19
- };
20
- color: {
21
- type: PropType<TJoyLinkColors>;
22
- default: string;
23
- };
24
- icon: PropType<import("@maltjoy/icons").JoyIconsId>;
25
- text: PropType<string | null>;
26
- type: {
27
- type: PropType<"reset" | "submit" | "button">;
28
- };
29
- }>> & Readonly<{}>, {
30
- color: TJoyLinkColors;
31
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
32
- default(): any;
33
- }> & {
34
- default(): any;
35
- }>;
36
- export default _default;
37
- type __VLS_WithTemplateSlots<T, S> = T & {
38
- new (): {
39
- $slots: S;
40
- };
41
- };
@@ -1,21 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
- icon?: import("@maltjoy/icons").JoyIconsId | undefined;
3
- }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
4
- click: () => any;
5
- }, string, import("vue").PublicProps, Readonly<{
6
- icon?: import("@maltjoy/icons").JoyIconsId | undefined;
7
- }> & Readonly<{
8
- onClick?: (() => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
10
- 'list-item-left': () => any;
11
- 'list-item-right': () => any;
12
- }> & {
13
- 'list-item-left': () => any;
14
- 'list-item-right': () => any;
15
- }>;
16
- export default _default;
17
- type __VLS_WithTemplateSlots<T, S> = T & {
18
- new (): {
19
- $slots: S;
20
- };
21
- };
@@ -1,13 +0,0 @@
1
- import { JoyIconsId } from '@maltjoy/icons';
2
- export interface IJoyMenuItem {
3
- id?: string;
4
- label: string;
5
- href?: string;
6
- icon?: JoyIconsId;
7
- current?: boolean;
8
- /**
9
- * @default false
10
- */
11
- disabled?: boolean;
12
- [k: string]: any;
13
- }
@@ -1,59 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { IJoyMenuItem } from './JoyMenu.types';
3
- declare function getItems(): HTMLElement[];
4
- declare function getItemId(item: IJoyMenuItem): string;
5
- declare function getFocusedItem(): HTMLElement | undefined;
6
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
7
- /**
8
- * DEPRECATED: In order to make it work with v-model, you need to pass for each option, a value or an ID.
9
- */
10
- items: {
11
- type: PropType<IJoyMenuItem[]>;
12
- default(): never[];
13
- };
14
- modelValue: {
15
- type: StringConstructor;
16
- };
17
- ariaLabel: {
18
- type: StringConstructor;
19
- };
20
- }>, {
21
- activeMenuItemId: import("vue").Ref<string | undefined, string | undefined>;
22
- getItems: typeof getItems;
23
- getItemId: typeof getItemId;
24
- getFocusedItem: typeof getFocusedItem;
25
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
26
- selectItem: (value: IJoyMenuItem) => any;
27
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
- /**
29
- * DEPRECATED: In order to make it work with v-model, you need to pass for each option, a value or an ID.
30
- */
31
- items: {
32
- type: PropType<IJoyMenuItem[]>;
33
- default(): never[];
34
- };
35
- modelValue: {
36
- type: StringConstructor;
37
- };
38
- ariaLabel: {
39
- type: StringConstructor;
40
- };
41
- }>> & Readonly<{
42
- onSelectItem?: ((value: IJoyMenuItem) => any) | undefined;
43
- }>, {
44
- items: IJoyMenuItem[];
45
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
46
- default: () => any;
47
- /** Customize the inner content of each menu item */
48
- 'menu-item'?: ((item: IJoyMenuItem) => any) | undefined;
49
- }> & {
50
- default: () => any;
51
- /** Customize the inner content of each menu item */
52
- 'menu-item'?: ((item: IJoyMenuItem) => any) | undefined;
53
- }>;
54
- export default _default;
55
- type __VLS_WithTemplateSlots<T, S> = T & {
56
- new (): {
57
- $slots: S;
58
- };
59
- };
@@ -1,13 +0,0 @@
1
- import { JoyIconsId } from '@maltjoy/icons';
2
- export interface IJoyMenuItemBis {
3
- id?: string;
4
- label: string;
5
- href?: string;
6
- icon?: JoyIconsId;
7
- current?: boolean;
8
- /**
9
- * @default false
10
- */
11
- disabled?: boolean;
12
- [k: string]: any;
13
- }
@@ -1,73 +0,0 @@
1
- import { type Component } from 'vue';
2
- import { TJoyIconsColors } from '../components.types';
3
- import { ComponentProps } from 'vue-component-type-helpers';
4
- declare const _default: <T extends "a" | "button" | Component>(__VLS_props: {
5
- readonly onClick?: (() => any) | undefined;
6
- label: string;
7
- href?: string | undefined;
8
- icon?: import("@maltjoy/icons").JoyIconsId | undefined;
9
- current?: boolean | undefined;
10
- disabled?: boolean | undefined;
11
- status?: import("@maltjoy/icons").JoyIconsId | undefined;
12
- statusColor?: TJoyIconsColors | undefined;
13
- type?: T | undefined;
14
- linkProps?: ComponentProps<T> | undefined;
15
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
16
- slots: {};
17
- attrs: any;
18
- emit: (e: 'click') => void;
19
- } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
20
- getProps: import("vue").ComputedRef<ComponentProps<T> | {
21
- href: string | undefined;
22
- } | undefined>;
23
- }>) => void) | undefined, __VLS_setup?: Promise<{
24
- props: {
25
- readonly onClick?: (() => any) | undefined;
26
- label: string;
27
- href?: string | undefined;
28
- icon?: import("@maltjoy/icons").JoyIconsId | undefined;
29
- current?: boolean | undefined;
30
- disabled?: boolean | undefined;
31
- status?: import("@maltjoy/icons").JoyIconsId | undefined;
32
- statusColor?: TJoyIconsColors | undefined;
33
- type?: T | undefined;
34
- linkProps?: ComponentProps<T> | undefined;
35
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
36
- expose(exposed: import("vue").ShallowUnwrapRef<{
37
- getProps: import("vue").ComputedRef<ComponentProps<T> | {
38
- href: string | undefined;
39
- } | undefined>;
40
- }>): void;
41
- attrs: any;
42
- slots: {};
43
- emit: (e: 'click') => void;
44
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
45
- [key: string]: any;
46
- }> & {
47
- __ctx?: {
48
- props: {
49
- readonly onClick?: (() => any) | undefined;
50
- label: string;
51
- href?: string | undefined;
52
- icon?: import("@maltjoy/icons").JoyIconsId | undefined;
53
- current?: boolean | undefined;
54
- disabled?: boolean | undefined;
55
- status?: import("@maltjoy/icons").JoyIconsId | undefined;
56
- statusColor?: TJoyIconsColors | undefined;
57
- type?: T | undefined;
58
- linkProps?: ComponentProps<T> | undefined;
59
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
60
- expose(exposed: import("vue").ShallowUnwrapRef<{
61
- getProps: import("vue").ComputedRef<ComponentProps<T> | {
62
- href: string | undefined;
63
- } | undefined>;
64
- }>): void;
65
- attrs: any;
66
- slots: {};
67
- emit: (e: 'click') => void;
68
- } | undefined;
69
- };
70
- export default _default;
71
- type __VLS_PrettifyLocal<T> = {
72
- [K in keyof T]: T[K];
73
- } & {};
@@ -1,35 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- label: {
3
- type: StringConstructor;
4
- required: false;
5
- };
6
- next: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- disabled: {
11
- type: BooleanConstructor;
12
- default: boolean;
13
- };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
- click: () => any;
16
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
- label: {
18
- type: StringConstructor;
19
- required: false;
20
- };
21
- next: {
22
- type: BooleanConstructor;
23
- default: boolean;
24
- };
25
- disabled: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- }>> & Readonly<{
30
- onClick?: (() => any) | undefined;
31
- }>, {
32
- disabled: boolean;
33
- next: boolean;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
- export default _default;
@@ -1,84 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- /** Current page number */
3
- currentPage: {
4
- type: NumberConstructor;
5
- default: number;
6
- };
7
- /** Total number of pages in order to construct the pagination */
8
- totalPages: {
9
- type: NumberConstructor;
10
- default: number;
11
- };
12
- /** Can be used as aria-label attribute for the full component */
13
- labelPagination: {
14
- type: StringConstructor;
15
- required: false;
16
- };
17
- /** Can be used as title and aria-label attributes for the previous CTA */
18
- labelPrev: {
19
- type: StringConstructor;
20
- required: false;
21
- };
22
- /** Can be used as title and aria-label attributes for the next CTA */
23
- labelNext: {
24
- type: StringConstructor;
25
- required: false;
26
- };
27
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
- "update:current-page": (value: number) => any;
29
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
30
- /** Current page number */
31
- currentPage: {
32
- type: NumberConstructor;
33
- default: number;
34
- };
35
- /** Total number of pages in order to construct the pagination */
36
- totalPages: {
37
- type: NumberConstructor;
38
- default: number;
39
- };
40
- /** Can be used as aria-label attribute for the full component */
41
- labelPagination: {
42
- type: StringConstructor;
43
- required: false;
44
- };
45
- /** Can be used as title and aria-label attributes for the previous CTA */
46
- labelPrev: {
47
- type: StringConstructor;
48
- required: false;
49
- };
50
- /** Can be used as title and aria-label attributes for the next CTA */
51
- labelNext: {
52
- type: StringConstructor;
53
- required: false;
54
- };
55
- }>> & Readonly<{
56
- "onUpdate:current-page"?: ((value: number) => any) | undefined;
57
- }>, {
58
- currentPage: number;
59
- totalPages: number;
60
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
61
- /** Customize the content of the left arrow */
62
- 'pagination-prev'?: (() => any) | undefined;
63
- /** Customize the content of the right arrow */
64
- 'pagination-next'?: (() => any) | undefined;
65
- /** Customize the content of each pagination item */
66
- page?: ((page: {
67
- page: number;
68
- }) => any) | undefined;
69
- }> & {
70
- /** Customize the content of the left arrow */
71
- 'pagination-prev'?: (() => any) | undefined;
72
- /** Customize the content of the right arrow */
73
- 'pagination-next'?: (() => any) | undefined;
74
- /** Customize the content of each pagination item */
75
- page?: ((page: {
76
- page: number;
77
- }) => any) | undefined;
78
- }>;
79
- export default _default;
80
- type __VLS_WithTemplateSlots<T, S> = T & {
81
- new (): {
82
- $slots: S;
83
- };
84
- };
@@ -1,4 +0,0 @@
1
- import { TSizes } from '../../types';
2
- export type TJoyPanelSizes = Extract<TSizes, 'small' | 'medium' | 'large'>;
3
- export type TJoyPanelTitleSizes = Extract<TSizes, 'small' | 'large'>;
4
- export type TJoyPanelVariants = 'default' | 'ai';
@@ -1,103 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyPanelSizes, TJoyPanelTitleSizes, TJoyPanelVariants } from './JoyPanel.types';
3
- import { TJoyScreenLoaderColors } from '../JoyScreenLoader/VJoyScreenLoader.types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- flex: {
6
- type: StringConstructor;
7
- };
8
- noMargin: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- padding: {
13
- type: PropType<TJoyPanelSizes>;
14
- default: string;
15
- };
16
- titleSize: {
17
- type: PropType<TJoyPanelTitleSizes>;
18
- default: string;
19
- };
20
- loading: {
21
- type: BooleanConstructor;
22
- default: boolean;
23
- };
24
- loadingColor: {
25
- type: PropType<TJoyScreenLoaderColors>;
26
- default: string;
27
- };
28
- variant: {
29
- type: PropType<TJoyPanelVariants>;
30
- default: string;
31
- };
32
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
33
- flex: {
34
- type: StringConstructor;
35
- };
36
- noMargin: {
37
- type: BooleanConstructor;
38
- default: boolean;
39
- };
40
- padding: {
41
- type: PropType<TJoyPanelSizes>;
42
- default: string;
43
- };
44
- titleSize: {
45
- type: PropType<TJoyPanelTitleSizes>;
46
- default: string;
47
- };
48
- loading: {
49
- type: BooleanConstructor;
50
- default: boolean;
51
- };
52
- loadingColor: {
53
- type: PropType<TJoyScreenLoaderColors>;
54
- default: string;
55
- };
56
- variant: {
57
- type: PropType<TJoyPanelVariants>;
58
- default: string;
59
- };
60
- }>> & Readonly<{}>, {
61
- loading: boolean;
62
- variant: TJoyPanelVariants;
63
- noMargin: boolean;
64
- padding: TJoyPanelSizes;
65
- titleSize: TJoyPanelTitleSizes;
66
- loadingColor: TJoyScreenLoaderColors;
67
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
68
- /** Use the slot to inject a VJoyIcon at the beginning of your panel title. */
69
- 'panel-title-icon'?(): any;
70
- /** Main title of the panel */
71
- 'panel-title'(): any;
72
- /** Subtitle, not mandatory */
73
- 'panel-subtitle'?(): any;
74
- /** Top right corner actions. Put whatever you want */
75
- 'panel-title-action'?(): any;
76
- /** Main content */
77
- 'panel-body'?(): any;
78
- /** Mostly for CTA */
79
- 'panel-action'?(): any;
80
- /** Customize the loading state content */
81
- 'panel-loader-content'?(): any;
82
- }> & {
83
- /** Use the slot to inject a VJoyIcon at the beginning of your panel title. */
84
- 'panel-title-icon'?(): any;
85
- /** Main title of the panel */
86
- 'panel-title'(): any;
87
- /** Subtitle, not mandatory */
88
- 'panel-subtitle'?(): any;
89
- /** Top right corner actions. Put whatever you want */
90
- 'panel-title-action'?(): any;
91
- /** Main content */
92
- 'panel-body'?(): any;
93
- /** Mostly for CTA */
94
- 'panel-action'?(): any;
95
- /** Customize the loading state content */
96
- 'panel-loader-content'?(): any;
97
- }>;
98
- export default _default;
99
- type __VLS_WithTemplateSlots<T, S> = T & {
100
- new (): {
101
- $slots: S;
102
- };
103
- };