@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,52 +0,0 @@
1
- import type { TJoyTagVariants, TJoyTagSizes, IJoyTagSelected, IJoyTagRemoved } from './JoyTag.types';
2
- interface Props {
3
- /** Main text of the tag */
4
- label?: string;
5
- size?: TJoyTagSizes;
6
- variant?: TJoyTagVariants;
7
- /** Introduce an icon in case you need to sort your tags. **It does not create the actual "drag" mecanism** */
8
- draggable?: boolean;
9
- /** Add a cross icon on the right side */
10
- removable?: boolean;
11
- selected?: boolean;
12
- /** Selectable state is only applied to 2 variants: primary and secondary */
13
- selectable?: boolean;
14
- /** Only for style purpose, not an actual link */
15
- link?: boolean;
16
- /** Value property is handy if you use the component with `VJoyTagsList` */
17
- value?: string | number;
18
- /** Apply line-through CSS style */
19
- strikethrough?: boolean;
20
- disabled?: boolean;
21
- id?: string;
22
- }
23
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
24
- remove: (value: IJoyTagRemoved) => any;
25
- click: () => any;
26
- selected: (tag: IJoyTagSelected) => any;
27
- }, string, import("vue").PublicProps, Readonly<Props> & Readonly<{
28
- onRemove?: ((value: IJoyTagRemoved) => any) | undefined;
29
- onClick?: (() => any) | undefined;
30
- onSelected?: ((tag: IJoyTagSelected) => any) | undefined;
31
- }>, {
32
- link: boolean;
33
- size: TJoyTagSizes;
34
- value: string | number;
35
- disabled: boolean;
36
- variant: TJoyTagVariants;
37
- draggable: boolean;
38
- removable: boolean;
39
- strikethrough: boolean;
40
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
41
- /** Use it if you want to have 100% control on the tag content. */
42
- default(): any;
43
- }> & {
44
- /** Use it if you want to have 100% control on the tag content. */
45
- default(): any;
46
- }>;
47
- export default _default;
48
- type __VLS_WithTemplateSlots<T, S> = T & {
49
- new (): {
50
- $slots: S;
51
- };
52
- };
@@ -1,5 +0,0 @@
1
- /**
2
- * @return {Boolean}
3
- * @param {String[] | string} value
4
- */
5
- export declare function checkEmailsValidity(value: string[] | string): boolean;
@@ -1,4 +0,0 @@
1
- export declare enum TAGS_INPUT_ERRORS {
2
- DUPLICATED_ENTRY = "DUPLICATED_ENTRY",
3
- INVALID_EMAIL = "INVALID_EMAIL"
4
- }
@@ -1,124 +0,0 @@
1
- import { type Ref } from 'vue';
2
- import { TAGS_INPUT_ERRORS } from './JoyTagsInput.types';
3
- import type { TJoyTagVariants, TJoyTagSizes } from '../JoyTag/JoyTag.types';
4
- declare const _default: <T extends string>(__VLS_props: {
5
- readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
6
- readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
7
- name?: string | undefined;
8
- placeholder?: string | undefined;
9
- variant?: TJoyTagVariants | undefined;
10
- size?: TJoyTagSizes | undefined;
11
- modelValue?: T[] | undefined;
12
- invalid?: boolean | undefined;
13
- validation?: "email" | "none" | undefined;
14
- duplicationError?: string | undefined;
15
- invalidEmailError?: string | undefined;
16
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
17
- slots: Readonly<{
18
- /** DEPRECATED. Label of the component. Use VJoyLabel */
19
- default?: (() => any) | undefined;
20
- /** Customize the inner content of each VJoyTag */
21
- tag?: ((tag: {
22
- name: T;
23
- }) => any) | undefined;
24
- }> & {
25
- /** DEPRECATED. Label of the component. Use VJoyLabel */
26
- default?: (() => any) | undefined;
27
- /** Customize the inner content of each VJoyTag */
28
- tag?: ((tag: {
29
- name: T;
30
- }) => any) | undefined;
31
- };
32
- attrs: any;
33
- emit: {
34
- (e: 'update:modelValue', values: T[]): void;
35
- (e: 'validation:error', type: TAGS_INPUT_ERRORS): void;
36
- };
37
- } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
38
- isInvalid: Ref<boolean, boolean>;
39
- hasDuplicates: () => boolean;
40
- }>) => void) | undefined, __VLS_setup?: Promise<{
41
- props: {
42
- readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
43
- readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
44
- name?: string | undefined;
45
- placeholder?: string | undefined;
46
- variant?: TJoyTagVariants | undefined;
47
- size?: TJoyTagSizes | undefined;
48
- modelValue?: T[] | undefined;
49
- invalid?: boolean | undefined;
50
- validation?: "email" | "none" | undefined;
51
- duplicationError?: string | undefined;
52
- invalidEmailError?: string | undefined;
53
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
54
- expose(exposed: import("vue").ShallowUnwrapRef<{
55
- isInvalid: Ref<boolean, boolean>;
56
- hasDuplicates: () => boolean;
57
- }>): void;
58
- attrs: any;
59
- slots: Readonly<{
60
- /** DEPRECATED. Label of the component. Use VJoyLabel */
61
- default?: (() => any) | undefined;
62
- /** Customize the inner content of each VJoyTag */
63
- tag?: ((tag: {
64
- name: T;
65
- }) => any) | undefined;
66
- }> & {
67
- /** DEPRECATED. Label of the component. Use VJoyLabel */
68
- default?: (() => any) | undefined;
69
- /** Customize the inner content of each VJoyTag */
70
- tag?: ((tag: {
71
- name: T;
72
- }) => any) | undefined;
73
- };
74
- emit: {
75
- (e: 'update:modelValue', values: T[]): void;
76
- (e: 'validation:error', type: TAGS_INPUT_ERRORS): void;
77
- };
78
- }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
79
- [key: string]: any;
80
- }> & {
81
- __ctx?: {
82
- props: {
83
- readonly "onUpdate:modelValue"?: ((values: T[]) => any) | undefined;
84
- readonly "onValidation:error"?: ((type: TAGS_INPUT_ERRORS) => any) | undefined;
85
- name?: string | undefined;
86
- placeholder?: string | undefined;
87
- variant?: TJoyTagVariants | undefined;
88
- size?: TJoyTagSizes | undefined;
89
- modelValue?: T[] | undefined;
90
- invalid?: boolean | undefined;
91
- validation?: "email" | "none" | undefined;
92
- duplicationError?: string | undefined;
93
- invalidEmailError?: string | undefined;
94
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
95
- expose(exposed: import("vue").ShallowUnwrapRef<{
96
- isInvalid: Ref<boolean, boolean>;
97
- hasDuplicates: () => boolean;
98
- }>): void;
99
- attrs: any;
100
- slots: Readonly<{
101
- /** DEPRECATED. Label of the component. Use VJoyLabel */
102
- default?: (() => any) | undefined;
103
- /** Customize the inner content of each VJoyTag */
104
- tag?: ((tag: {
105
- name: T;
106
- }) => any) | undefined;
107
- }> & {
108
- /** DEPRECATED. Label of the component. Use VJoyLabel */
109
- default?: (() => any) | undefined;
110
- /** Customize the inner content of each VJoyTag */
111
- tag?: ((tag: {
112
- name: T;
113
- }) => any) | undefined;
114
- };
115
- emit: {
116
- (e: 'update:modelValue', values: T[]): void;
117
- (e: 'validation:error', type: TAGS_INPUT_ERRORS): void;
118
- };
119
- } | undefined;
120
- };
121
- export default _default;
122
- type __VLS_PrettifyLocal<T> = {
123
- [K in keyof T]: T[K];
124
- } & {};
@@ -1,4 +0,0 @@
1
- import { IJoyTag } from '../JoyTag/JoyTag.types';
2
- export type TJoyTagsListAlign = 'center' | 'left' | 'right';
3
- export type TJoyTagsList = IJoyTag[];
4
- export type TJoyTagsListModel = IJoyTag['value'][];
@@ -1,140 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyTagsListModel, TJoyTagsListAlign, TJoyTagsList } from './JoyTagsList.types';
3
- import { IJoyTagRemoved, IJoyTagSelected, TJoyTagVariants } from '../JoyTag/JoyTag.types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- align: {
6
- type: PropType<TJoyTagsListAlign>;
7
- default: string;
8
- };
9
- modelValue: {
10
- type: PropType<TJoyTagsListModel>;
11
- };
12
- /** Tags list. Array of objects containing at least a label. "value" is mandatory if dealing with removable or selectable tags */
13
- tags: {
14
- type: PropType<TJoyTagsList>;
15
- default(): never[];
16
- };
17
- /** You can either pass this property to make all generated tags removable, or pass the `removable: true` to each tag in "tags" prop. */
18
- removable: {
19
- type: BooleanConstructor;
20
- default: boolean;
21
- };
22
- /** Make all VJoyTag selectable. Can be overriden by setting selectable: false in specific tags property entry. */
23
- selectable: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- /** Apply variant for all VJoyTag. Can be overriden by setting a variant property in specific tags entry. */
28
- variant: {
29
- type: PropType<TJoyTagVariants>;
30
- default: string;
31
- };
32
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
33
- "update:modelValue": (tags: TJoyTagsListModel) => any;
34
- removeTag: (tagValue: string | number | undefined) => any;
35
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
- align: {
37
- type: PropType<TJoyTagsListAlign>;
38
- default: string;
39
- };
40
- modelValue: {
41
- type: PropType<TJoyTagsListModel>;
42
- };
43
- /** Tags list. Array of objects containing at least a label. "value" is mandatory if dealing with removable or selectable tags */
44
- tags: {
45
- type: PropType<TJoyTagsList>;
46
- default(): never[];
47
- };
48
- /** You can either pass this property to make all generated tags removable, or pass the `removable: true` to each tag in "tags" prop. */
49
- removable: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- /** Make all VJoyTag selectable. Can be overriden by setting selectable: false in specific tags property entry. */
54
- selectable: {
55
- type: BooleanConstructor;
56
- default: boolean;
57
- };
58
- /** Apply variant for all VJoyTag. Can be overriden by setting a variant property in specific tags entry. */
59
- variant: {
60
- type: PropType<TJoyTagVariants>;
61
- default: string;
62
- };
63
- }>> & Readonly<{
64
- "onUpdate:modelValue"?: ((tags: TJoyTagsListModel) => any) | undefined;
65
- onRemoveTag?: ((tagValue: string | number | undefined) => any) | undefined;
66
- }>, {
67
- variant: TJoyTagVariants;
68
- removable: boolean;
69
- selectable: boolean;
70
- align: TJoyTagsListAlign;
71
- tags: TJoyTagsList;
72
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
73
- tag?(_: {
74
- selectable: boolean;
75
- selected: boolean | undefined;
76
- removable: boolean;
77
- label?: string | undefined;
78
- size?: import("../JoyTag/JoyTag.types").TJoyTagSizes | undefined;
79
- variant?: TJoyTagVariants | undefined;
80
- draggable?: boolean | undefined;
81
- link?: boolean | undefined;
82
- value?: string | number | undefined;
83
- strikethrough?: boolean | undefined;
84
- disabled?: boolean | undefined;
85
- id?: string | undefined;
86
- onRemove?: ((value: IJoyTagRemoved) => any) | undefined;
87
- onClick?: (() => any) | undefined;
88
- onSelected?: ((tag: IJoyTagSelected) => any) | undefined;
89
- key?: PropertyKey | undefined;
90
- ref?: import("vue").VNodeRef | undefined;
91
- ref_for?: boolean | undefined;
92
- ref_key?: string | undefined;
93
- onVnodeBeforeMount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
94
- [key: string]: any;
95
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
96
- [key: string]: any;
97
- }>) => void)[] | undefined;
98
- onVnodeMounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
99
- [key: string]: any;
100
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
101
- [key: string]: any;
102
- }>) => void)[] | undefined;
103
- onVnodeBeforeUpdate?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
104
- [key: string]: any;
105
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
106
- [key: string]: any;
107
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
108
- [key: string]: any;
109
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
110
- [key: string]: any;
111
- }>) => void)[] | undefined;
112
- onVnodeUpdated?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
113
- [key: string]: any;
114
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
115
- [key: string]: any;
116
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
117
- [key: string]: any;
118
- }>, oldVNode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
119
- [key: string]: any;
120
- }>) => void)[] | undefined;
121
- onVnodeBeforeUnmount?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
122
- [key: string]: any;
123
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
124
- [key: string]: any;
125
- }>) => void)[] | undefined;
126
- onVnodeUnmounted?: ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
127
- [key: string]: any;
128
- }>) => void) | ((vnode: import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
129
- [key: string]: any;
130
- }>) => void)[] | undefined;
131
- class?: unknown;
132
- style?: unknown;
133
- }): any;
134
- }>;
135
- export default _default;
136
- type __VLS_WithTemplateSlots<T, S> = T & {
137
- new (): {
138
- $slots: S;
139
- };
140
- };
@@ -1 +0,0 @@
1
- export type TJoyTemplateSidebarSide = 'left' | 'right';
@@ -1,92 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyScreenLoaderColors } from '../JoyScreenLoader/VJoyScreenLoader.types';
3
- import { TJoyTemplateSidebarSide } from './JoyTemplate.types';
4
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- /** Takes 100% of free space */
6
- full: {
7
- type: BooleanConstructor;
8
- default: boolean;
9
- };
10
- sidebar: {
11
- type: PropType<TJoyTemplateSidebarSide>;
12
- default: string;
13
- };
14
- loading: {
15
- type: BooleanConstructor;
16
- default: boolean;
17
- };
18
- loadingColor: {
19
- type: PropType<TJoyScreenLoaderColors>;
20
- default: string;
21
- };
22
- /** Decorative purpose, on bottom right corner */
23
- shapes: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
28
- /** Takes 100% of free space */
29
- full: {
30
- type: BooleanConstructor;
31
- default: boolean;
32
- };
33
- sidebar: {
34
- type: PropType<TJoyTemplateSidebarSide>;
35
- default: string;
36
- };
37
- loading: {
38
- type: BooleanConstructor;
39
- default: boolean;
40
- };
41
- loadingColor: {
42
- type: PropType<TJoyScreenLoaderColors>;
43
- default: string;
44
- };
45
- /** Decorative purpose, on bottom right corner */
46
- shapes: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- }>> & Readonly<{}>, {
51
- loading: boolean;
52
- full: boolean;
53
- loadingColor: TJoyScreenLoaderColors;
54
- sidebar: TJoyTemplateSidebarSide;
55
- shapes: boolean;
56
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
57
- /** Slot to inject a "back" button left to the title */
58
- 'template-back': () => any;
59
- /** Main title of the template */
60
- 'template-title': () => any;
61
- /** Not mandatory, subtitle of the component */
62
- 'template-subtitle': () => any;
63
- /** Top right corner, free slot (mostly for CTA) */
64
- 'template-actions': () => any;
65
- /** Main content section */
66
- 'template-main': () => any;
67
- /** Aside content section */
68
- 'template-sidebar': () => any;
69
- /** Customize the loading state content */
70
- 'template-loader-content': () => any;
71
- }> & {
72
- /** Slot to inject a "back" button left to the title */
73
- 'template-back': () => any;
74
- /** Main title of the template */
75
- 'template-title': () => any;
76
- /** Not mandatory, subtitle of the component */
77
- 'template-subtitle': () => any;
78
- /** Top right corner, free slot (mostly for CTA) */
79
- 'template-actions': () => any;
80
- /** Main content section */
81
- 'template-main': () => any;
82
- /** Aside content section */
83
- 'template-sidebar': () => any;
84
- /** Customize the loading state content */
85
- 'template-loader-content': () => any;
86
- }>;
87
- export default _default;
88
- type __VLS_WithTemplateSlots<T, S> = T & {
89
- new (): {
90
- $slots: S;
91
- };
92
- };
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,4 +0,0 @@
1
- import { PRIMARY_FONT_SIZES, SECONDARY_FONT_SIZES, PRIMARY_FONT_SIZES_BOLD, FontsFamilies } from '../../types';
2
- export declare const JOY_TEXT_FONT_PRESET: (string | 150 | 250 | 350 | 450 | 650 | 850)[];
3
- export type TJoyTextFontPreset = `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES)[number]}` | `${FontsFamilies.SECONDARY}-${(typeof SECONDARY_FONT_SIZES)[number]}` | `${FontsFamilies.PRIMARY}-${(typeof PRIMARY_FONT_SIZES_BOLD)[number]}`;
4
- export type TJoyTextTagName = 'p' | 'span' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'strong';
@@ -1,40 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyTextFontPreset, TJoyTextTagName } from './JoyText.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
5
- tagName: {
6
- type: PropType<TJoyTextTagName>;
7
- default: string;
8
- };
9
- /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
10
- preset: {
11
- type: PropType<TJoyTextFontPreset>;
12
- default: string;
13
- };
14
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
15
- /** Defines the tag name of the Node you want to create. By default it's a simple P tag. Lowercase only */
16
- tagName: {
17
- type: PropType<TJoyTextTagName>;
18
- default: string;
19
- };
20
- /** Choose a pre-configured set of CSS rules : font-family, font-size, line-height, font-weight. */
21
- preset: {
22
- type: PropType<TJoyTextFontPreset>;
23
- default: string;
24
- };
25
- }>> & Readonly<{}>, {
26
- tagName: TJoyTextTagName;
27
- preset: TJoyTextFontPreset;
28
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
29
- /** Main content */
30
- default(): any;
31
- }> & {
32
- /** Main content */
33
- default(): any;
34
- }>;
35
- export default _default;
36
- type __VLS_WithTemplateSlots<T, S> = T & {
37
- new (): {
38
- $slots: S;
39
- };
40
- };
@@ -1,155 +0,0 @@
1
- import { PropType } from 'vue';
2
- import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
3
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- autofocus: {
5
- type: BooleanConstructor;
6
- default: boolean;
7
- };
8
- disabled: {
9
- type: BooleanConstructor;
10
- default: boolean;
11
- };
12
- id: {
13
- type: StringConstructor;
14
- };
15
- invalid: {
16
- type: BooleanConstructor;
17
- default: boolean;
18
- };
19
- name: {
20
- type: StringConstructor;
21
- };
22
- required: {
23
- type: BooleanConstructor;
24
- default: boolean;
25
- };
26
- /** Use it to render a basic string label. Otherwise use VJoyLabel like the WithLabel story. */
27
- label: StringConstructor;
28
- labelSize: {
29
- type: PropType<TJoyLabelSizes>;
30
- default: string;
31
- };
32
- optionalLabel: StringConstructor;
33
- requiredMark: {
34
- type: BooleanConstructor;
35
- default: boolean;
36
- };
37
- modelValue: {
38
- type: StringConstructor;
39
- default: string;
40
- };
41
- modelModifiers: {
42
- default: () => {
43
- lazy: boolean;
44
- };
45
- };
46
- autogrow: {
47
- type: BooleanConstructor;
48
- default: boolean;
49
- };
50
- minlength: {
51
- type: NumberConstructor;
52
- };
53
- minlengthLabel: StringConstructor;
54
- maxlength: {
55
- type: NumberConstructor;
56
- };
57
- }>, {
58
- isInvalid: import("vue").Ref<boolean, boolean>;
59
- valueOverMaxlength: import("vue").ComputedRef<boolean>;
60
- valueUnderMinlength: import("vue").ComputedRef<boolean>;
61
- triggerResize: () => void;
62
- eventHandlers: {
63
- onInput: (e: Event) => void;
64
- onChange: (e: Event) => void;
65
- onBlur: () => void;
66
- onFocus: () => void;
67
- /**
68
- * Here we store the function in an object to more easily test it with vitest.
69
- * There is an issue when we try to use spyOn vm object directly.
70
- * */
71
- triggerResize: () => void;
72
- };
73
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
74
- "update:modelValue": (value: string) => any;
75
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
76
- autofocus: {
77
- type: BooleanConstructor;
78
- default: boolean;
79
- };
80
- disabled: {
81
- type: BooleanConstructor;
82
- default: boolean;
83
- };
84
- id: {
85
- type: StringConstructor;
86
- };
87
- invalid: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- name: {
92
- type: StringConstructor;
93
- };
94
- required: {
95
- type: BooleanConstructor;
96
- default: boolean;
97
- };
98
- /** Use it to render a basic string label. Otherwise use VJoyLabel like the WithLabel story. */
99
- label: StringConstructor;
100
- labelSize: {
101
- type: PropType<TJoyLabelSizes>;
102
- default: string;
103
- };
104
- optionalLabel: StringConstructor;
105
- requiredMark: {
106
- type: BooleanConstructor;
107
- default: boolean;
108
- };
109
- modelValue: {
110
- type: StringConstructor;
111
- default: string;
112
- };
113
- modelModifiers: {
114
- default: () => {
115
- lazy: boolean;
116
- };
117
- };
118
- autogrow: {
119
- type: BooleanConstructor;
120
- default: boolean;
121
- };
122
- minlength: {
123
- type: NumberConstructor;
124
- };
125
- minlengthLabel: StringConstructor;
126
- maxlength: {
127
- type: NumberConstructor;
128
- };
129
- }>> & Readonly<{
130
- "onUpdate:modelValue"?: ((value: string) => any) | undefined;
131
- }>, {
132
- invalid: boolean;
133
- required: boolean;
134
- disabled: boolean;
135
- labelSize: TJoyLabelSizes;
136
- requiredMark: boolean;
137
- modelValue: string;
138
- autofocus: boolean;
139
- modelModifiers: {
140
- lazy: boolean;
141
- };
142
- autogrow: boolean;
143
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<{
144
- /** DEPRECATED. Use VJoyLabel or label property. */
145
- default: () => any;
146
- }> & {
147
- /** DEPRECATED. Use VJoyLabel or label property. */
148
- default: () => any;
149
- }>;
150
- export default _default;
151
- type __VLS_WithTemplateSlots<T, S> = T & {
152
- new (): {
153
- $slots: S;
154
- };
155
- };
@@ -1,19 +0,0 @@
1
- export interface TitleBrandProps {
2
- /** HTML tag that will be used. Default to "p" but if it's used as an actual heading, prefer using Hn tags. */
3
- tag?: string;
4
- }
5
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<TitleBrandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<TitleBrandProps> & Readonly<{}>, {
6
- tag: string;
7
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
8
- /** Inject you title content here. To highlight a specific part, use a "span" tag. */
9
- default(): any;
10
- }> & {
11
- /** Inject you title content here. To highlight a specific part, use a "span" tag. */
12
- default(): any;
13
- }>;
14
- export default _default;
15
- type __VLS_WithTemplateSlots<T, S> = T & {
16
- new (): {
17
- $slots: S;
18
- };
19
- };