@maltjoy/core-vue 3.27.2 → 3.28.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.
- package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +1 -2
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -3
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +4 -6
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +3 -3
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +14 -4
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +1 -2
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +14 -8
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +8 -4
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +2 -0
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +20 -7
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +20 -14
- package/dist/components/JoyButton/JoyButton.types.d.ts +4 -20
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +13 -13
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +14 -7
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +10 -4
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +12 -4
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +2 -3
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +6 -0
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +18 -13
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +2 -3
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +31 -9
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +72 -56
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +10 -3
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +1 -2
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +33 -13
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +68 -54
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +3 -4
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +31 -24
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +2 -3
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +24 -23
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +8 -2
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +10 -2
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +6 -2
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +2 -4
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +8 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +2 -4
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +21 -9
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +3 -4
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +9 -6
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -3
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +1 -2
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +9 -6
- package/dist/components/JoyInput/JoyInput.types.d.ts +2 -3
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +13 -10
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +2 -3
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +10 -7
- package/dist/components/JoyLink/JoyLink.types.d.ts +1 -2
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +8 -7
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +6 -10
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +16 -19
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +14 -6
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +3 -5
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +30 -14
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +550 -0
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +32 -0
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +2 -0
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +22 -0
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +55 -0
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +310 -0
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -3
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +6 -3
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +1 -2
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +21 -8
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +1 -2
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +14 -6
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +2 -3
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +10 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +1 -2
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +14 -6
- package/dist/components/JoySelect/JoySelect.types.d.ts +2 -3
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +11 -6
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +4 -3
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +11 -66
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +2 -3
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +2 -3
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -2
- package/dist/components/JoySnackbar/index.d.ts +1 -1
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +1 -2
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +2 -4
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +14 -2
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +17 -9
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +2 -0
- package/dist/components/JoyTag/JoyTag.types.d.ts +3 -5
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +24 -14
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +52 -37
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +1 -2
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +9 -9
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +1 -2
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +67 -15
- package/dist/components/JoyText/VJoyText.vue.d.ts +9 -5
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +7 -6
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +8 -4
- package/dist/components/JoyTooltip/JoyTooltip.types.d.ts +0 -1
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +97 -0
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +20 -6
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +5 -10
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +19 -18
- package/dist/components/index.d.ts +3 -1
- package/dist/components/main.d.ts +1 -1
- package/dist/helpers/index.d.ts +2 -2
- package/dist/joy-vue.js +4972 -4387
- package/dist/joy-vue.umd.cjs +12 -4
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +7 -10
- package/joy-components.d.ts +2 -0
- package/package.json +22 -27
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
|
+
/** VJoyProductTour ref. */
|
|
3
|
+
productTour: ({
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: Partial<{}> & Omit<{
|
|
7
|
+
readonly step?: number | undefined;
|
|
8
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
9
|
+
readonly open?: boolean | undefined;
|
|
10
|
+
readonly steps?: number | undefined;
|
|
11
|
+
readonly position?: "left" | "right" | "bottom" | "top" | undefined;
|
|
12
|
+
readonly maxWidth?: number | undefined;
|
|
13
|
+
readonly disableOverlay?: boolean | undefined;
|
|
14
|
+
readonly spotlightPadding?: number | undefined;
|
|
15
|
+
readonly spotlightSelector?: string | undefined;
|
|
16
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
icon: {
|
|
18
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
19
|
+
};
|
|
20
|
+
steps: {
|
|
21
|
+
type: import("vue").PropType<number>;
|
|
22
|
+
};
|
|
23
|
+
step: {
|
|
24
|
+
type: import("vue").PropType<number>;
|
|
25
|
+
};
|
|
26
|
+
position: {
|
|
27
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
28
|
+
};
|
|
29
|
+
open: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
};
|
|
32
|
+
maxWidth: {
|
|
33
|
+
type: import("vue").PropType<number>;
|
|
34
|
+
};
|
|
35
|
+
disableOverlay: {
|
|
36
|
+
type: import("vue").PropType<boolean>;
|
|
37
|
+
};
|
|
38
|
+
spotlightPadding: {
|
|
39
|
+
type: import("vue").PropType<number>;
|
|
40
|
+
};
|
|
41
|
+
spotlightSelector: {
|
|
42
|
+
type: import("vue").PropType<string>;
|
|
43
|
+
};
|
|
44
|
+
}>>, never>;
|
|
45
|
+
$attrs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$refs: {
|
|
49
|
+
[x: string]: unknown;
|
|
50
|
+
};
|
|
51
|
+
$slots: Readonly<{
|
|
52
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
53
|
+
}>;
|
|
54
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
55
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
56
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
57
|
+
$el: any;
|
|
58
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
59
|
+
icon: {
|
|
60
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
61
|
+
};
|
|
62
|
+
steps: {
|
|
63
|
+
type: import("vue").PropType<number>;
|
|
64
|
+
};
|
|
65
|
+
step: {
|
|
66
|
+
type: import("vue").PropType<number>;
|
|
67
|
+
};
|
|
68
|
+
position: {
|
|
69
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
70
|
+
};
|
|
71
|
+
open: {
|
|
72
|
+
type: import("vue").PropType<boolean>;
|
|
73
|
+
};
|
|
74
|
+
maxWidth: {
|
|
75
|
+
type: import("vue").PropType<number>;
|
|
76
|
+
};
|
|
77
|
+
disableOverlay: {
|
|
78
|
+
type: import("vue").PropType<boolean>;
|
|
79
|
+
};
|
|
80
|
+
spotlightPadding: {
|
|
81
|
+
type: import("vue").PropType<number>;
|
|
82
|
+
};
|
|
83
|
+
spotlightSelector: {
|
|
84
|
+
type: import("vue").PropType<string>;
|
|
85
|
+
};
|
|
86
|
+
}>>, {
|
|
87
|
+
show: () => void;
|
|
88
|
+
hide: () => void;
|
|
89
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
90
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
91
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
92
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
93
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
94
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
95
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
96
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
97
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
98
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
99
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
100
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
101
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
102
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
103
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
104
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
105
|
+
};
|
|
106
|
+
$forceUpdate: () => void;
|
|
107
|
+
$nextTick: typeof import("vue").nextTick;
|
|
108
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
109
|
+
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
+
icon: {
|
|
111
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
112
|
+
};
|
|
113
|
+
steps: {
|
|
114
|
+
type: import("vue").PropType<number>;
|
|
115
|
+
};
|
|
116
|
+
step: {
|
|
117
|
+
type: import("vue").PropType<number>;
|
|
118
|
+
};
|
|
119
|
+
position: {
|
|
120
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
121
|
+
};
|
|
122
|
+
open: {
|
|
123
|
+
type: import("vue").PropType<boolean>;
|
|
124
|
+
};
|
|
125
|
+
maxWidth: {
|
|
126
|
+
type: import("vue").PropType<number>;
|
|
127
|
+
};
|
|
128
|
+
disableOverlay: {
|
|
129
|
+
type: import("vue").PropType<boolean>;
|
|
130
|
+
};
|
|
131
|
+
spotlightPadding: {
|
|
132
|
+
type: import("vue").PropType<number>;
|
|
133
|
+
};
|
|
134
|
+
spotlightSelector: {
|
|
135
|
+
type: import("vue").PropType<string>;
|
|
136
|
+
};
|
|
137
|
+
}>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
138
|
+
show: () => void;
|
|
139
|
+
hide: () => void;
|
|
140
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
141
|
+
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
|
|
142
|
+
}) | null | undefined;
|
|
143
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
144
|
+
click: () => void;
|
|
145
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
146
|
+
/** VJoyProductTour ref. */
|
|
147
|
+
productTour: ({
|
|
148
|
+
$: import("vue").ComponentInternalInstance;
|
|
149
|
+
$data: {};
|
|
150
|
+
$props: Partial<{}> & Omit<{
|
|
151
|
+
readonly step?: number | undefined;
|
|
152
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
153
|
+
readonly open?: boolean | undefined;
|
|
154
|
+
readonly steps?: number | undefined;
|
|
155
|
+
readonly position?: "left" | "right" | "bottom" | "top" | undefined;
|
|
156
|
+
readonly maxWidth?: number | undefined;
|
|
157
|
+
readonly disableOverlay?: boolean | undefined;
|
|
158
|
+
readonly spotlightPadding?: number | undefined;
|
|
159
|
+
readonly spotlightSelector?: string | undefined;
|
|
160
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
icon: {
|
|
162
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
163
|
+
};
|
|
164
|
+
steps: {
|
|
165
|
+
type: import("vue").PropType<number>;
|
|
166
|
+
};
|
|
167
|
+
step: {
|
|
168
|
+
type: import("vue").PropType<number>;
|
|
169
|
+
};
|
|
170
|
+
position: {
|
|
171
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
172
|
+
};
|
|
173
|
+
open: {
|
|
174
|
+
type: import("vue").PropType<boolean>;
|
|
175
|
+
};
|
|
176
|
+
maxWidth: {
|
|
177
|
+
type: import("vue").PropType<number>;
|
|
178
|
+
};
|
|
179
|
+
disableOverlay: {
|
|
180
|
+
type: import("vue").PropType<boolean>;
|
|
181
|
+
};
|
|
182
|
+
spotlightPadding: {
|
|
183
|
+
type: import("vue").PropType<number>;
|
|
184
|
+
};
|
|
185
|
+
spotlightSelector: {
|
|
186
|
+
type: import("vue").PropType<string>;
|
|
187
|
+
};
|
|
188
|
+
}>>, never>;
|
|
189
|
+
$attrs: {
|
|
190
|
+
[x: string]: unknown;
|
|
191
|
+
};
|
|
192
|
+
$refs: {
|
|
193
|
+
[x: string]: unknown;
|
|
194
|
+
};
|
|
195
|
+
$slots: Readonly<{
|
|
196
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
197
|
+
}>;
|
|
198
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
199
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
200
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
201
|
+
$el: any;
|
|
202
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
203
|
+
icon: {
|
|
204
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
205
|
+
};
|
|
206
|
+
steps: {
|
|
207
|
+
type: import("vue").PropType<number>;
|
|
208
|
+
};
|
|
209
|
+
step: {
|
|
210
|
+
type: import("vue").PropType<number>;
|
|
211
|
+
};
|
|
212
|
+
position: {
|
|
213
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
214
|
+
};
|
|
215
|
+
open: {
|
|
216
|
+
type: import("vue").PropType<boolean>;
|
|
217
|
+
};
|
|
218
|
+
maxWidth: {
|
|
219
|
+
type: import("vue").PropType<number>;
|
|
220
|
+
};
|
|
221
|
+
disableOverlay: {
|
|
222
|
+
type: import("vue").PropType<boolean>;
|
|
223
|
+
};
|
|
224
|
+
spotlightPadding: {
|
|
225
|
+
type: import("vue").PropType<number>;
|
|
226
|
+
};
|
|
227
|
+
spotlightSelector: {
|
|
228
|
+
type: import("vue").PropType<string>;
|
|
229
|
+
};
|
|
230
|
+
}>>, {
|
|
231
|
+
show: () => void;
|
|
232
|
+
hide: () => void;
|
|
233
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
234
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
235
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
236
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
237
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
238
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
239
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
240
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
241
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
242
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
243
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
244
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
245
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
246
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
247
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
248
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null, info: string) => boolean | void)[]) | undefined;
|
|
249
|
+
};
|
|
250
|
+
$forceUpdate: () => void;
|
|
251
|
+
$nextTick: typeof import("vue").nextTick;
|
|
252
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
253
|
+
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
254
|
+
icon: {
|
|
255
|
+
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
256
|
+
};
|
|
257
|
+
steps: {
|
|
258
|
+
type: import("vue").PropType<number>;
|
|
259
|
+
};
|
|
260
|
+
step: {
|
|
261
|
+
type: import("vue").PropType<number>;
|
|
262
|
+
};
|
|
263
|
+
position: {
|
|
264
|
+
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
265
|
+
};
|
|
266
|
+
open: {
|
|
267
|
+
type: import("vue").PropType<boolean>;
|
|
268
|
+
};
|
|
269
|
+
maxWidth: {
|
|
270
|
+
type: import("vue").PropType<number>;
|
|
271
|
+
};
|
|
272
|
+
disableOverlay: {
|
|
273
|
+
type: import("vue").PropType<boolean>;
|
|
274
|
+
};
|
|
275
|
+
spotlightPadding: {
|
|
276
|
+
type: import("vue").PropType<number>;
|
|
277
|
+
};
|
|
278
|
+
spotlightSelector: {
|
|
279
|
+
type: import("vue").PropType<string>;
|
|
280
|
+
};
|
|
281
|
+
}>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
282
|
+
show: () => void;
|
|
283
|
+
hide: () => void;
|
|
284
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
285
|
+
$slots: Readonly<import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots> & import("../JoyProductTour/JoyProductTour.types.js").VJoyProductTourSlots;
|
|
286
|
+
}) | null | undefined;
|
|
287
|
+
}>>> & {
|
|
288
|
+
onClick?: (() => any) | undefined;
|
|
289
|
+
}, {}, {}>, Readonly<{
|
|
290
|
+
/** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
|
|
291
|
+
default: () => any;
|
|
292
|
+
}> & {
|
|
293
|
+
/** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
|
|
294
|
+
default: () => any;
|
|
295
|
+
}>;
|
|
296
|
+
export default _default;
|
|
297
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
298
|
+
new (): {
|
|
299
|
+
$slots: S;
|
|
300
|
+
};
|
|
301
|
+
};
|
|
302
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
303
|
+
type __VLS_TypePropsToOption<T> = {
|
|
304
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
305
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
306
|
+
} : {
|
|
307
|
+
type: import('vue').PropType<T[K]>;
|
|
308
|
+
required: true;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type TJoyProgressBarColors =
|
|
3
|
-
export declare const PROGRESSBAR_VARIANT: string[];
|
|
1
|
+
import { TGenericVariants, TLevels } from '../../types';
|
|
2
|
+
export type TJoyProgressBarColors = TGenericVariants | Exclude<TLevels, 'info' | 'neutral'>;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { TJoyProgressBarColors } from './JoyProgressBar.types';
|
|
2
3
|
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
/** import TJoyProgressBarColors */
|
|
3
5
|
color: {
|
|
4
|
-
type: PropType<
|
|
6
|
+
type: PropType<TJoyProgressBarColors>;
|
|
5
7
|
default: string;
|
|
6
8
|
};
|
|
7
9
|
/**
|
|
@@ -26,8 +28,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
26
28
|
computeInnerWidth: import("vue").ComputedRef<string>;
|
|
27
29
|
computedPercentage: import("vue").Ref<number>;
|
|
28
30
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
|
+
/** import TJoyProgressBarColors */
|
|
29
32
|
color: {
|
|
30
|
-
type: PropType<
|
|
33
|
+
type: PropType<TJoyProgressBarColors>;
|
|
31
34
|
default: string;
|
|
32
35
|
};
|
|
33
36
|
/**
|
|
@@ -49,6 +52,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
49
52
|
type: NumberConstructor;
|
|
50
53
|
};
|
|
51
54
|
}>>, {
|
|
52
|
-
color:
|
|
55
|
+
color: TJoyProgressBarColors;
|
|
53
56
|
}, {}>;
|
|
54
57
|
export default _default;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type RadioThemes = (typeof RADIO_THEMES)[number];
|
|
1
|
+
export type RadioThemes = 'default' | 'outline';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { RadioThemes } from './JoyRadio.types';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
4
|
disabled: {
|
|
4
5
|
type: BooleanConstructor;
|
|
@@ -21,8 +22,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
22
|
modelValue: {
|
|
22
23
|
type: (StringConstructor | NumberConstructor)[];
|
|
23
24
|
};
|
|
25
|
+
/** Change the layout by using this property */
|
|
24
26
|
theme: {
|
|
25
|
-
type: PropType<
|
|
27
|
+
type: PropType<RadioThemes>;
|
|
26
28
|
default: string;
|
|
27
29
|
};
|
|
28
30
|
value: {
|
|
@@ -56,8 +58,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
56
58
|
modelValue: {
|
|
57
59
|
type: (StringConstructor | NumberConstructor)[];
|
|
58
60
|
};
|
|
61
|
+
/** Change the layout by using this property */
|
|
59
62
|
theme: {
|
|
60
|
-
type: PropType<
|
|
63
|
+
type: PropType<RadioThemes>;
|
|
61
64
|
default: string;
|
|
62
65
|
};
|
|
63
66
|
value: {
|
|
@@ -67,14 +70,24 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
67
70
|
}>> & {
|
|
68
71
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
69
72
|
}, {
|
|
70
|
-
required: boolean;
|
|
71
73
|
disabled: boolean;
|
|
74
|
+
required: boolean;
|
|
72
75
|
invalid: boolean;
|
|
73
|
-
theme:
|
|
74
|
-
}, {}>, {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
theme: RadioThemes;
|
|
77
|
+
}, {}>, Readonly<{
|
|
78
|
+
/** Default label of the radio */
|
|
79
|
+
default(): any;
|
|
80
|
+
/** Sub-content, pre-styled. */
|
|
81
|
+
'radio-content': () => any;
|
|
82
|
+
/** When using the theme outline, use this slot to inject hidden content */
|
|
83
|
+
'expandable-content': () => any;
|
|
84
|
+
}> & {
|
|
85
|
+
/** Default label of the radio */
|
|
86
|
+
default(): any;
|
|
87
|
+
/** Sub-content, pre-styled. */
|
|
88
|
+
'radio-content': () => any;
|
|
89
|
+
/** When using the theme outline, use this slot to inject hidden content */
|
|
90
|
+
'expandable-content': () => any;
|
|
78
91
|
}>;
|
|
79
92
|
export default _default;
|
|
80
93
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type RadioGroupDirection = (typeof RADIO_GROUP_DIRECTION)[number];
|
|
1
|
+
export type RadioGroupDirection = 'vertical' | 'horizontal';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { RadioGroupDirection } from './JoyRadioGroup.types';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
4
|
/**
|
|
4
5
|
* Change the layout
|
|
5
6
|
*/
|
|
6
7
|
direction: {
|
|
7
|
-
type: PropType<
|
|
8
|
+
type: PropType<RadioGroupDirection>;
|
|
8
9
|
default: string;
|
|
9
10
|
};
|
|
10
11
|
/**
|
|
@@ -21,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
22
|
* Change the layout
|
|
22
23
|
*/
|
|
23
24
|
direction: {
|
|
24
|
-
type: PropType<
|
|
25
|
+
type: PropType<RadioGroupDirection>;
|
|
25
26
|
default: string;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
@@ -34,10 +35,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
34
35
|
type: StringConstructor;
|
|
35
36
|
};
|
|
36
37
|
}>>, {
|
|
37
|
-
direction:
|
|
38
|
-
}, {}>, {
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
direction: RadioGroupDirection;
|
|
39
|
+
}, {}>, Readonly<{
|
|
40
|
+
/** Label of the radio group */
|
|
41
|
+
'radio-group-legend': () => any;
|
|
42
|
+
/** Use it to render the VJoyRadio */
|
|
43
|
+
default(): any;
|
|
44
|
+
}> & {
|
|
45
|
+
/** Label of the radio group */
|
|
46
|
+
'radio-group-legend': () => any;
|
|
47
|
+
/** Use it to render the VJoyRadio */
|
|
48
|
+
default(): any;
|
|
41
49
|
}>;
|
|
42
50
|
export default _default;
|
|
43
51
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type TJoyRatingStarsSizes = Extract<
|
|
3
|
-
export declare const RATING_STARS_SIZES: TJoyRatingStarsSizes[];
|
|
1
|
+
import { TSizes } from '../../types';
|
|
2
|
+
export type TJoyRatingStarsSizes = Extract<TSizes, 'small' | 'medium' | 'large'>;
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyRatingStarsSizes } from './JoyRatingStars.types';
|
|
3
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
|
+
/** Between 0 and 5 */
|
|
4
5
|
ratingValue: {
|
|
5
6
|
type: NumberConstructor;
|
|
6
7
|
default: number;
|
|
7
8
|
};
|
|
9
|
+
/** Display the amount of review leading to the rating value */
|
|
8
10
|
reviewCount: {
|
|
9
11
|
type: NumberConstructor;
|
|
10
12
|
default: number;
|
|
@@ -16,10 +18,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
16
18
|
}, {
|
|
17
19
|
setStars: import("vue").ComputedRef<string[]>;
|
|
18
20
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
/** Between 0 and 5 */
|
|
19
22
|
ratingValue: {
|
|
20
23
|
type: NumberConstructor;
|
|
21
24
|
default: number;
|
|
22
25
|
};
|
|
26
|
+
/** Display the amount of review leading to the rating value */
|
|
23
27
|
reviewCount: {
|
|
24
28
|
type: NumberConstructor;
|
|
25
29
|
default: number;
|
|
@@ -32,8 +36,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
32
36
|
size: TJoyRatingStarsSizes;
|
|
33
37
|
ratingValue: number;
|
|
34
38
|
reviewCount: number;
|
|
35
|
-
}, {}>, {
|
|
36
|
-
|
|
39
|
+
}, {}>, Readonly<{
|
|
40
|
+
/** Use this to inject some basic text */
|
|
41
|
+
'rating-stars-content': () => any;
|
|
42
|
+
}> & {
|
|
43
|
+
/** Use this to inject some basic text */
|
|
44
|
+
'rating-stars-content': () => any;
|
|
37
45
|
}>;
|
|
38
46
|
export default _default;
|
|
39
47
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
export type TJoyScreenLoaderColors = (typeof COLORS)[number];
|
|
1
|
+
export type TJoyScreenLoaderColors = 'dark' | 'light';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { TJoyScreenLoaderColors } from './VJoyScreenLoader.types';
|
|
2
3
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
4
|
/** Light or dark. Changes the spinner and background color */
|
|
4
5
|
color: {
|
|
5
|
-
type: PropType<
|
|
6
|
+
type: PropType<TJoyScreenLoaderColors>;
|
|
6
7
|
default: string;
|
|
7
8
|
};
|
|
8
9
|
/** The overlay mode set the component in an absolute position, and covers all the parent's area. */
|
|
@@ -13,7 +14,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
13
14
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
15
|
/** Light or dark. Changes the spinner and background color */
|
|
15
16
|
color: {
|
|
16
|
-
type: PropType<
|
|
17
|
+
type: PropType<TJoyScreenLoaderColors>;
|
|
17
18
|
default: string;
|
|
18
19
|
};
|
|
19
20
|
/** The overlay mode set the component in an absolute position, and covers all the parent's area. */
|
|
@@ -22,11 +23,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
22
23
|
default: boolean;
|
|
23
24
|
};
|
|
24
25
|
}>>, {
|
|
25
|
-
color:
|
|
26
|
+
color: TJoyScreenLoaderColors;
|
|
26
27
|
overlay: boolean;
|
|
27
|
-
}, {}>, {
|
|
28
|
-
spinner
|
|
29
|
-
|
|
28
|
+
}, {}>, Readonly<{
|
|
29
|
+
/** Override the spinner */
|
|
30
|
+
spinner?: (() => any) | undefined;
|
|
31
|
+
/** Inject text or whatever you want below the spinner */
|
|
32
|
+
content?: (() => any) | undefined;
|
|
33
|
+
}> & {
|
|
34
|
+
/** Override the spinner */
|
|
35
|
+
spinner?: (() => any) | undefined;
|
|
36
|
+
/** Inject text or whatever you want below the spinner */
|
|
37
|
+
content?: (() => any) | undefined;
|
|
30
38
|
}>;
|
|
31
39
|
export default _default;
|
|
32
40
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type TJoySelectSizes = Extract<
|
|
3
|
-
export declare const SELECT_SIZES: TJoySelectSizes[];
|
|
1
|
+
import { TSizes } from '../../types';
|
|
2
|
+
export type TJoySelectSizes = Extract<TSizes, 'xsmall' | 'small' | 'medium'>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { PropType, VNode } from 'vue';
|
|
2
2
|
import { TJoySelectSizes } from './JoySelect.types';
|
|
3
|
+
import { TJoyLabelSizes } from '../JoyLabel/JoyLabel.types';
|
|
3
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
4
5
|
disabled: {
|
|
5
6
|
type: BooleanConstructor;
|
|
@@ -21,7 +22,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
21
22
|
};
|
|
22
23
|
label: StringConstructor;
|
|
23
24
|
labelSize: {
|
|
24
|
-
type: PropType<
|
|
25
|
+
type: PropType<TJoyLabelSizes>;
|
|
25
26
|
};
|
|
26
27
|
optionalLabel: StringConstructor;
|
|
27
28
|
requiredMark: {
|
|
@@ -62,7 +63,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
62
63
|
};
|
|
63
64
|
label: StringConstructor;
|
|
64
65
|
labelSize: {
|
|
65
|
-
type: PropType<
|
|
66
|
+
type: PropType<TJoyLabelSizes>;
|
|
66
67
|
};
|
|
67
68
|
optionalLabel: StringConstructor;
|
|
68
69
|
requiredMark: {
|
|
@@ -81,21 +82,25 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
81
82
|
}>> & {
|
|
82
83
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
83
84
|
}, {
|
|
84
|
-
size: TJoySelectSizes;
|
|
85
|
-
required: boolean;
|
|
86
85
|
disabled: boolean;
|
|
86
|
+
required: boolean;
|
|
87
|
+
size: TJoySelectSizes;
|
|
87
88
|
invalid: boolean;
|
|
88
89
|
modelValue: string | number | null;
|
|
89
90
|
requiredMark: boolean;
|
|
90
91
|
}, {}>, Readonly<{
|
|
91
|
-
|
|
92
|
+
/** Use native <option> tags here */
|
|
93
|
+
default(): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
92
94
|
[key: string]: any;
|
|
93
95
|
}>[];
|
|
96
|
+
/** Label above the select */
|
|
94
97
|
'select-label'?: (() => any) | undefined;
|
|
95
98
|
}> & {
|
|
96
|
-
|
|
99
|
+
/** Use native <option> tags here */
|
|
100
|
+
default(): VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
97
101
|
[key: string]: any;
|
|
98
102
|
}>[];
|
|
103
|
+
/** Label above the select */
|
|
99
104
|
'select-label'?: (() => any) | undefined;
|
|
100
105
|
}>;
|
|
101
106
|
export default _default;
|
|
@@ -86,12 +86,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
86
|
}>> & {
|
|
87
87
|
"onUpdate:checked"?: ((value: string | boolean) => any) | undefined;
|
|
88
88
|
}, {
|
|
89
|
-
required: boolean;
|
|
90
|
-
disabled: boolean;
|
|
91
89
|
checked: boolean;
|
|
92
|
-
|
|
90
|
+
disabled: boolean;
|
|
93
91
|
multiple: boolean;
|
|
92
|
+
required: boolean;
|
|
93
|
+
invalid: boolean;
|
|
94
94
|
}, {}>, {
|
|
95
|
+
default?(_: {}): any;
|
|
95
96
|
default?(_: {}): any;
|
|
96
97
|
"selectable-item-sublabel"?(_: {}): any;
|
|
97
98
|
}>;
|