@maltjoy/core-vue 3.16.0 → 3.16.2

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 (46) hide show
  1. package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +6 -2
  2. package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +1 -1
  3. package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +3 -4
  4. package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +1 -1
  5. package/dist/components/JoyButton/VJoyButton.vue.d.ts +4 -4
  6. package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +2 -4
  7. package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +1 -1
  8. package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +2 -2
  9. package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +17 -12
  10. package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +32 -10
  11. package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +1 -1
  12. package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +7 -3
  13. package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +4 -4
  14. package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +1 -1
  15. package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +6 -6
  16. package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +4 -4
  17. package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +4 -5
  18. package/dist/components/JoyInput/VJoyInput.vue.d.ts +7 -3
  19. package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +3 -4
  20. package/dist/components/JoyLink/VJoyLink.vue.d.ts +3 -4
  21. package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +22 -6
  22. package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +17 -3
  23. package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +6 -2
  24. package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +2 -2
  25. package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +6 -6
  26. package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +2 -2
  27. package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +3 -3
  28. package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +2 -2
  29. package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +1 -1
  30. package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +2 -2
  31. package/dist/components/JoySelect/VJoySelect.vue.d.ts +2 -2
  32. package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +2 -2
  33. package/dist/components/JoyTab/TabButton.vue.d.ts +1 -1
  34. package/dist/components/JoyTab/VJoyTab.vue.d.ts +10 -3
  35. package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +3 -3
  36. package/dist/components/JoyTag/VJoyTag.vue.d.ts +15 -3
  37. package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +8 -2
  38. package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +7 -7
  39. package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +1 -1
  40. package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +4 -2
  41. package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +1 -1
  42. package/dist/components/index.d.ts +2 -1
  43. package/dist/joy-vue.js +1456 -1792
  44. package/dist/joy-vue.umd.cjs +1 -1
  45. package/dist/style.css +1 -1
  46. package/package.json +3 -3
@@ -59,12 +59,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
59
59
  titleSize: TJoyPanelTitleSizes;
60
60
  loadingColor: "dark" | "light";
61
61
  }, {}>, {
62
- 'panel-title': (_: {}) => any;
63
- 'panel-title-action': (_: {}) => any;
64
- 'panel-subtitle': (_: {}) => any;
65
- 'panel-body': (_: {}) => any;
66
- 'panel-action': (_: {}) => any;
67
- 'panel-loader-content': (_: {}) => any;
62
+ "panel-title"?(_: {}): any;
63
+ "panel-title-action"?(_: {}): any;
64
+ "panel-subtitle"?(_: {}): any;
65
+ "panel-body"?(_: {}): any;
66
+ "panel-action"?(_: {}): any;
67
+ "panel-loader-content"?(_: {}): any;
68
68
  }>;
69
69
  export default _default;
70
70
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -1,6 +1,6 @@
1
1
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- 'panel-section-title': (_: {}) => any;
3
- 'panel-section-content': (_: {}) => any;
2
+ "panel-section-title"?(_: {}): any;
3
+ "panel-section-content"?(_: {}): any;
4
4
  }>;
5
5
  export default _default;
6
6
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -72,9 +72,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
72
72
  invalid: boolean;
73
73
  theme: "default" | "outline";
74
74
  }, {}>, {
75
- default: (_: {}) => any;
76
- 'radio-content': (_: {}) => any;
77
- 'expandable-content': (_: {}) => any;
75
+ default?(_: {}): any;
76
+ "radio-content"?(_: {}): any;
77
+ "expandable-content"?(_: {}): any;
78
78
  }>;
79
79
  export default _default;
80
80
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -36,8 +36,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
36
36
  }>>, {
37
37
  direction: "vertical" | "horizontal";
38
38
  }, {}>, {
39
- 'radio-group-legend': (_: {}) => any;
40
- default: (_: {}) => any;
39
+ "radio-group-legend"?(_: {}): any;
40
+ default?(_: {}): any;
41
41
  }>;
42
42
  export default _default;
43
43
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -33,7 +33,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
33
  ratingValue: number;
34
34
  reviewCount: number;
35
35
  }, {}>, {
36
- 'rating-stars-content': (_: {}) => any;
36
+ "rating-stars-content"?(_: {}): any;
37
37
  }>;
38
38
  export default _default;
39
39
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -25,8 +25,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
25
25
  color: "dark" | "light";
26
26
  overlay: boolean;
27
27
  }, {}>, {
28
- spinner: (_: {}) => any;
29
- content: (_: {}) => any;
28
+ spinner?(_: {}): any;
29
+ content?(_: {}): any;
30
30
  }>;
31
31
  export default _default;
32
32
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -83,8 +83,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
83
83
  invalid: boolean;
84
84
  requiredMark: boolean;
85
85
  }, {}>, {
86
- 'select-label': (_: {}) => any;
87
- default: (_: {}) => any;
86
+ "select-label"?(_: {}): any;
87
+ default?(_: {}): any;
88
88
  }>;
89
89
  export default _default;
90
90
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -73,8 +73,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
73
  invalid: boolean;
74
74
  multiple: boolean;
75
75
  }, {}>, {
76
- default: (_: {}) => any;
77
- 'selectable-item-sublabel': (_: {}) => any;
76
+ default?(_: {}): any;
77
+ "selectable-item-sublabel"?(_: {}): any;
78
78
  }>;
79
79
  export default _default;
80
80
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -63,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
63
63
  }, {
64
64
  selected: boolean;
65
65
  }, {}>, {
66
- default: (_: {}) => any;
66
+ default?(_: {}): any;
67
67
  }>;
68
68
  export default _default;
69
69
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -44,9 +44,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
44
44
  type: StringConstructor;
45
45
  required: false;
46
46
  };
47
- }>>, {}, {}>, {
48
- default: (_: {}) => any;
49
- }>;
47
+ }>>, {}, {}>, Readonly<{
48
+ /**
49
+ * The slot for the content
50
+ */
51
+ default(): any;
52
+ /**
53
+ * Slot to have a custom header
54
+ */
55
+ header(): any;
56
+ }>>;
50
57
  export default _default;
51
58
  type __VLS_WithTemplateSlots<T, S> = T & {
52
59
  new (): {
@@ -12,9 +12,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
12
12
  };
13
13
  }>> & {
14
14
  "onUpdate:selected-tab"?: ((value: string) => any) | undefined;
15
- }, {}, {}>, {
16
- default: (_: {}) => any;
17
- }>;
15
+ }, {}, {}>, Readonly<{
16
+ default(): any;
17
+ }>>;
18
18
  export default _default;
19
19
  type __VLS_WithTemplateSlots<T, S> = T & {
20
20
  new (): {
@@ -1,5 +1,5 @@
1
1
  import { PropType } from 'vue';
2
- import { TJoyTagSizes } from './JoyTag.types';
2
+ import { TJoyTagSizes, IJoyTagSelected } from './JoyTag.types';
3
3
  declare const _default: import("vue").DefineComponent<{
4
4
  /** Text injected within the tag */
5
5
  label: {
@@ -34,7 +34,13 @@ declare const _default: import("vue").DefineComponent<{
34
34
  type: BooleanConstructor;
35
35
  default: boolean;
36
36
  };
37
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
37
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
38
+ click: () => void;
39
+ selected: (args_0: IJoyTagSelected) => void;
40
+ remove: (args_0: {
41
+ value: string;
42
+ }) => void;
43
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
38
44
  /** Text injected within the tag */
39
45
  label: {
40
46
  type: StringConstructor;
@@ -68,7 +74,13 @@ declare const _default: import("vue").DefineComponent<{
68
74
  type: BooleanConstructor;
69
75
  default: boolean;
70
76
  };
71
- }>>, {
77
+ }>> & {
78
+ onClick?: (() => any) | undefined;
79
+ onSelected?: ((args_0: IJoyTagSelected) => any) | undefined;
80
+ onRemove?: ((args_0: {
81
+ value: string;
82
+ }) => any) | undefined;
83
+ }, {
72
84
  link: boolean;
73
85
  size: TJoyTagSizes;
74
86
  variant: "primary" | "secondary" | "important" | "inactive" | "pending" | "pricing";
@@ -18,7 +18,10 @@ declare const _default: import("vue").DefineComponent<{
18
18
  type: BooleanConstructor;
19
19
  default: boolean;
20
20
  };
21
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
21
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
+ "update:modelValue": (tags: TJoyTagsListModel) => void;
23
+ removeTag: (tagValue: string) => void;
24
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
22
25
  align: {
23
26
  type: PropType<"left" | "right" | "center">;
24
27
  default: string;
@@ -36,7 +39,10 @@ declare const _default: import("vue").DefineComponent<{
36
39
  type: BooleanConstructor;
37
40
  default: boolean;
38
41
  };
39
- }>>, {
42
+ }>> & {
43
+ "onUpdate:modelValue"?: ((tags: TJoyTagsListModel) => any) | undefined;
44
+ onRemoveTag?: ((tagValue: string) => any) | undefined;
45
+ }, {
40
46
  align: "left" | "right" | "center";
41
47
  removable: boolean;
42
48
  tags: TJoyTagsList;
@@ -48,13 +48,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
48
48
  sidebar: "left" | "right";
49
49
  shapes: boolean;
50
50
  }, {}>, {
51
- 'template-back': (_: {}) => any;
52
- 'template-title': (_: {}) => any;
53
- 'template-subtitle': (_: {}) => any;
54
- 'template-actions': (_: {}) => any;
55
- 'template-main': (_: {}) => any;
56
- 'template-sidebar': (_: {}) => any;
57
- 'template-loader-content': (_: {}) => any;
51
+ "template-back"?(_: {}): any;
52
+ "template-title"?(_: {}): any;
53
+ "template-subtitle"?(_: {}): any;
54
+ "template-actions"?(_: {}): any;
55
+ "template-main"?(_: {}): any;
56
+ "template-sidebar"?(_: {}): any;
57
+ "template-loader-content"?(_: {}): any;
58
58
  }>;
59
59
  export default _default;
60
60
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -117,7 +117,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
117
117
  };
118
118
  autogrow: boolean;
119
119
  }, {}>, {
120
- default: (_: {}) => any;
120
+ default?(_: {}): any;
121
121
  }>;
122
122
  export default _default;
123
123
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -26,7 +26,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
26
26
  default: boolean;
27
27
  };
28
28
  label: StringConstructor;
29
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
29
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
30
+ "update:modelValue": (...args: any[]) => void;
31
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
30
32
  modelValue: {
31
33
  type: BooleanConstructor;
32
34
  default: boolean;
@@ -63,7 +65,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
63
65
  value: string;
64
66
  modelValue: boolean;
65
67
  }, {}>, {
66
- default: (_: {}) => any;
68
+ default?(_: {}): any;
67
69
  }>;
68
70
  export default _default;
69
71
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -89,7 +89,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
89
89
  columnGap: "0" | "1" | "2" | "3" | "12" | "10" | "4" | "5" | "6" | "7" | "8" | "9" | "11";
90
90
  rowGap: "0" | "1" | "2" | "3" | "12" | "10" | "4" | "5" | "6" | "7" | "8" | "9" | "11";
91
91
  }, {}>, {
92
- default: (_: {}) => any;
92
+ default?(_: {}): any;
93
93
  }>;
94
94
  export default _default;
95
95
  type __VLS_WithTemplateSlots<T, S> = T & {
@@ -16,6 +16,7 @@ import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
16
16
  import VJoyFormFieldSkeleton from '@/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue';
17
17
  import VJoyFooter from '@/components/JoyFooter/VJoyFooter.vue';
18
18
  import VJoyFunnel from '@/components/JoyFunnel/VJoyFunnel.vue';
19
+ import VJoyHeader from '@/components/JoyHeader/VJoyHeader.vue';
19
20
  import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
20
21
  import VJoyIcon from '@/components/JoyIcon/VJoyIcon.vue';
21
22
  import VJoyInput from '@/components/JoyInput/VJoyInput.vue';
@@ -45,4 +46,4 @@ import VJoyTemplateShape from '@/components/JoyTemplateShape/VJoyTemplateShape.v
45
46
  import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
46
47
  import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
47
48
  import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
48
- export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFilterBar, VJoyFilterBarButton, VJoyFooter, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMenu, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyProgressBar, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyTabs, VJoyTab, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTemplateShape, VJoyTextarea, VJoyToggle, VJoyWrapper, };
49
+ export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFilterBar, VJoyFilterBarButton, VJoyFooter, VJoyFormError, VJoyFormFieldSkeleton, VJoyFunnel, VJoyHeader, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMenu, VJoyMultiCheckbox, VJoyPagination, VJoyPanel, VJoyPanelSection, VJoyProgressBar, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyTabs, VJoyTab, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTemplateShape, VJoyTextarea, VJoyToggle, VJoyWrapper, };