@maltjoy/core-vue 3.12.0 → 3.13.0

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.
@@ -60,6 +60,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
60
60
  default: string;
61
61
  validator(size: DropdownListSizes): boolean;
62
62
  };
63
+ /** Use v-model */
63
64
  modelValue: {
64
65
  type: StringConstructor;
65
66
  default: string;
@@ -85,21 +86,29 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
85
86
  type: StringConstructor;
86
87
  default: string;
87
88
  };
88
- }, {
89
- coords: {
90
- position?: string | undefined;
91
- zIndex?: string | undefined;
92
- left: string;
93
- top: string;
94
- right: string;
89
+ /**
90
+ * Display a reset CTA on top of the dropdown list. Useful when using a VJoyMultiCheckbox.
91
+ * Please note that is does not automatically apply changes to you models, it simply fires a **dropdown:reset** custom event
92
+ * */
93
+ reset: {
94
+ type: BooleanConstructor;
95
+ default: boolean;
95
96
  };
97
+ /** Label of the reset CTA. Depends on reset property activation */
98
+ resetLabel: {
99
+ type: StringConstructor;
100
+ };
101
+ }, {
96
102
  showDropdownList: import("vue").Ref<boolean>;
103
+ generatedId: string;
97
104
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
98
105
  "update:modelValue": (value: string | undefined) => void;
99
106
  } & {
100
107
  "dropdown:open": () => void;
101
108
  } & {
102
109
  "dropdown:hide": () => void;
110
+ } & {
111
+ "dropdown:reset": () => void;
103
112
  }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
104
113
  /** DOM valid selector to give to Vue3 Teleport "to" property */
105
114
  appendTo: {
@@ -145,6 +154,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
145
154
  default: string;
146
155
  validator(size: DropdownListSizes): boolean;
147
156
  };
157
+ /** Use v-model */
148
158
  modelValue: {
149
159
  type: StringConstructor;
150
160
  default: string;
@@ -170,13 +180,27 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
170
180
  type: StringConstructor;
171
181
  default: string;
172
182
  };
183
+ /**
184
+ * Display a reset CTA on top of the dropdown list. Useful when using a VJoyMultiCheckbox.
185
+ * Please note that is does not automatically apply changes to you models, it simply fires a **dropdown:reset** custom event
186
+ * */
187
+ reset: {
188
+ type: BooleanConstructor;
189
+ default: boolean;
190
+ };
191
+ /** Label of the reset CTA. Depends on reset property activation */
192
+ resetLabel: {
193
+ type: StringConstructor;
194
+ };
173
195
  }>> & {
174
196
  "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
175
197
  "onDropdown:open"?: (() => any) | undefined;
176
198
  "onDropdown:hide"?: (() => any) | undefined;
199
+ "onDropdown:reset"?: (() => any) | undefined;
177
200
  }, {
178
201
  size: DropdownListSizes;
179
202
  modelValue: string;
203
+ reset: boolean;
180
204
  options: Option[];
181
205
  width: string;
182
206
  height: string;
@@ -41,13 +41,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
41
41
  type: StringConstructor;
42
42
  default: string;
43
43
  };
44
+ reset: {
45
+ type: BooleanConstructor;
46
+ default: boolean;
47
+ };
48
+ resetLabel: {
49
+ type: StringConstructor;
50
+ };
51
+ ariaLabelledBy: {
52
+ type: StringConstructor;
53
+ };
54
+ ariaLabel: {
55
+ type: StringConstructor;
56
+ };
44
57
  }, {
45
58
  isSelected: import("vue").ComputedRef<(option: Option) => boolean>;
46
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
47
- "update:modelValue": (value: string | undefined) => void;
48
- } & {
49
- "close:dropdownList": () => void;
50
- }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
59
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
51
60
  /**
52
61
  * In order to make it work with v-model, you need to pass for each option, a value or an ID.
53
62
  */
@@ -73,11 +82,22 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
73
82
  type: StringConstructor;
74
83
  default: string;
75
84
  };
76
- }>> & {
77
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
78
- "onClose:dropdownList"?: (() => any) | undefined;
79
- }, {
85
+ reset: {
86
+ type: BooleanConstructor;
87
+ default: boolean;
88
+ };
89
+ resetLabel: {
90
+ type: StringConstructor;
91
+ };
92
+ ariaLabelledBy: {
93
+ type: StringConstructor;
94
+ };
95
+ ariaLabel: {
96
+ type: StringConstructor;
97
+ };
98
+ }>>, {
80
99
  size: DropdownListSizes;
100
+ reset: boolean;
81
101
  options: Option[];
82
102
  width: string;
83
103
  height: string;
@@ -0,0 +1,13 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ ariaLabel: StringConstructor;
3
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4
+ ariaLabel: StringConstructor;
5
+ }>>, {}, {}>, {
6
+ default: (_: {}) => any;
7
+ }>;
8
+ export default _default;
9
+ type __VLS_WithTemplateSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1,31 @@
1
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
2
+ label: StringConstructor;
3
+ value: {
4
+ type: StringConstructor;
5
+ required: true;
6
+ };
7
+ active: {
8
+ type: BooleanConstructor;
9
+ default: boolean;
10
+ };
11
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
12
+ label: StringConstructor;
13
+ value: {
14
+ type: StringConstructor;
15
+ required: true;
16
+ };
17
+ active: {
18
+ type: BooleanConstructor;
19
+ default: boolean;
20
+ };
21
+ }>>, {
22
+ active: boolean;
23
+ }, {}>, {
24
+ default: (_: {}) => any;
25
+ }>;
26
+ export default _default;
27
+ type __VLS_WithTemplateSlots<T, S> = T & {
28
+ new (): {
29
+ $slots: S;
30
+ };
31
+ };
@@ -28,6 +28,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
28
28
  type: BooleanConstructor;
29
29
  default: boolean;
30
30
  };
31
+ /** Made to use the built-in v-model */
31
32
  modelValue: {
32
33
  type: (StringConstructor | NumberConstructor)[];
33
34
  };
@@ -65,6 +66,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
65
66
  type: BooleanConstructor;
66
67
  default: boolean;
67
68
  };
69
+ /** Made to use the built-in v-model */
68
70
  modelValue: {
69
71
  type: (StringConstructor | NumberConstructor)[];
70
72
  };
@@ -16,6 +16,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
16
16
  type: PropType<"dark" | "light">;
17
17
  default: string;
18
18
  };
19
+ shapes: {
20
+ type: BooleanConstructor;
21
+ default: boolean;
22
+ };
19
23
  }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
20
24
  full: {
21
25
  type: BooleanConstructor;
@@ -33,11 +37,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
33
37
  type: PropType<"dark" | "light">;
34
38
  default: string;
35
39
  };
40
+ shapes: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
36
44
  }>>, {
37
45
  loading: boolean;
38
46
  loadingColor: "dark" | "light";
39
47
  full: boolean;
40
48
  sidebar: "left" | "right";
49
+ shapes: boolean;
41
50
  }, {}>, {
42
51
  'template-back': (_: {}) => any;
43
52
  'template-title': (_: {}) => any;
@@ -0,0 +1,2 @@
1
+ declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
+ export default _default;
@@ -10,6 +10,8 @@ import VJoyCounter from '@/components/JoyCounter/VJoyCounter.vue';
10
10
  import VJoyDividerCta from '@/components/JoyDividerCta/VJoyDividerCta.vue';
11
11
  import VJoyDropdown from '@/components/JoyDropdown/VJoyDropdown.vue';
12
12
  import VJoyDropdownList from '@/components/JoyDropdownList/VJoyDropdownList.vue';
13
+ import VJoyFilterBar from '@/components/JoyFilterBar/VJoyFilterBar.vue';
14
+ import VJoyFilterBarButton from '@/components/JoyFilterBarButton/VJoyFilterBarButton.vue';
13
15
  import VJoyFormError from '@/components/JoyFormError/VJoyFormError.vue';
14
16
  import VJoyHighlight from '@/components/JoyHighlight/VJoyHighlight.vue';
15
17
  import VJoyIcon from '@/components/JoyIcon/VJoyIcon.vue';
@@ -32,6 +34,7 @@ import VJoyWrapper from '@/components/JoyWrapper/VJoyWrapper.vue';
32
34
  import VJoyTag from '@/components/JoyTag/VJoyTag.vue';
33
35
  import VJoyTagsList from '@/components/JoyTagsList/VJoyTagsList.vue';
34
36
  import VJoyTemplate from '@/components/JoyTemplate/VJoyTemplate.vue';
37
+ import VJoyTemplateShape from '@/components/JoyTemplateShape/VJoyTemplateShape.vue';
35
38
  import VJoyTextarea from '@/components/JoyTextarea/VJoyTextarea.vue';
36
39
  import VJoyToggle from '@/components/JoyToggle/VJoyToggle.vue';
37
- export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTextarea, VJoyToggle, VJoyWrapper, };
40
+ export { VJoyAvailability, VJoyAvatar, VJoyAvatarsList, VJoyBadge, VJoyBadgeLevel, VJoyButton, VJoyCheckbox, VJoyCompanyAvatar, VJoyCounter, VJoyDividerCta, VJoyDropdown, VJoyDropdownList, VJoyFilterBar, VJoyFilterBarButton, VJoyFormError, VJoyHighlight, VJoyIcon, VJoyInput, VJoyLabel, VJoyLink, VJoyMultiCheckbox, VJoyPanel, VJoyPanelSection, VJoyRadio, VJoyRadioGroup, VJoyRatingStars, VJoyScreenLoader, VJoySelect, VJoySelectableItem, VJoySelectableItemGroup, VJoySeparator, VJoySpinner, VJoyTag, VJoyTagsList, VJoyTemplate, VJoyTemplateShape, VJoyTextarea, VJoyToggle, VJoyWrapper, };