@maltjoy/core-vue 3.36.0-next → 3.37.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/LICENSE +21 -0
- package/dist/App.vue.d.ts +1 -1
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +4 -4
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +10 -10
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +4 -4
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +4 -4
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +4 -4
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +4 -4
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +8 -8
- package/dist/components/JoyBottomSheetTrigger/VJoyBottomSheetTrigger.vue.d.ts +93 -52
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +7 -7
- package/dist/components/JoyButton/useRandomId.d.ts +1 -1
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +15 -15
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +52 -27
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +9 -9
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +7 -7
- package/dist/components/JoyCounter/VJoyCounter.vue.d.ts +16 -16
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +13 -13
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +193 -82
- package/dist/components/JoyDividerCta/VJoyDividerCta.vue.d.ts +4 -4
- package/dist/components/JoyDot/VJoyDot.vue.d.ts +4 -4
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +13 -13
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +171 -78
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +13 -13
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +11 -11
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +10 -16
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +7 -7
- package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +3 -3
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +3 -3
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +6 -6
- package/dist/components/JoyFooter/VJoyFooter.vue.d.ts +1 -1
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +4 -4
- package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +5 -5
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +6 -6
- package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +1 -1
- package/dist/components/JoyHeader/VJoyHeader.vue.d.ts +1 -1
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +5 -5
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +4 -4
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +4 -4
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +10 -10
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +12 -12
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +5 -5
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +4 -4
- package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +15 -6
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +8 -8
- package/dist/components/JoyMultiCheckbox/VJoyMultiCheckbox.vue.d.ts +6 -6
- package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +6 -6
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +6 -6
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +4 -4
- package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +150 -113
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +27 -6
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +43 -8
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +257 -48
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +6 -6
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +10 -10
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +4 -4
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +5 -5
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +4 -4
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +11 -11
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +10 -10
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +9 -9
- package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +4 -4
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +6 -6
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +3 -3
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +7 -7
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +46 -19
- package/dist/components/JoyTab/TabButton.vue.d.ts +6 -6
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +4 -4
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +28 -12
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +44 -9
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +13 -13
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +15 -15
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +4 -4
- package/dist/components/JoyTemplateShape/VJoyTemplateShape.vue.d.ts +1 -1
- package/dist/components/JoyText/VJoyText.vue.d.ts +7 -7
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +10 -10
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +7 -7
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +7 -7
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +3 -3
- package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +36 -9
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +10 -1
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +5 -5
- package/dist/components.cjs +1 -1
- package/dist/components.js +2 -2
- package/dist/composables/helpers.d.ts +1 -1
- package/dist/joy-core-vue-manifest.json +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.js +2 -2
- package/dist/pages/FunnelAndStepper.vue.d.ts +1 -1
- package/dist/pages/FunnelMode.vue.d.ts +1 -1
- package/dist/pages/IndexPage.vue.d.ts +1 -1
- package/dist/style-DiEVDLd0.cjs +16 -0
- package/dist/{style-fNjzeg7Q.js → style-DqUSTCzR.js} +1775 -1775
- package/dist/style.css +1 -1
- package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
- package/package.json +30 -31
- package/dist/style-Cg6-S4et.cjs +0 -16
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToOption<{
|
|
2
2
|
/** VJoyDrawer ref. */
|
|
3
3
|
drawer: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -25,13 +25,65 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
readonly cancelText?: string | undefined;
|
|
26
26
|
readonly confirmText?: string | undefined;
|
|
27
27
|
readonly onBeforeHide?: (() => boolean | Promise<boolean>) | undefined;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
|
28
|
+
"onDrawer:open"?: (() => any) | undefined;
|
|
29
|
+
"onDrawer:after-open"?: (() => any) | undefined;
|
|
30
|
+
"onDrawer:hide"?: (() => any) | undefined;
|
|
31
|
+
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
32
|
+
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
33
|
+
"onDrawer:confirm"?: (() => any) | undefined;
|
|
34
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
id: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
};
|
|
38
|
+
focusTrap: {
|
|
39
|
+
type: BooleanConstructor;
|
|
40
|
+
default: boolean;
|
|
41
|
+
};
|
|
42
|
+
size: {
|
|
43
|
+
type: import("vue").PropType<import("../components.types.js").TJoyDrawerSizes>;
|
|
44
|
+
default: string;
|
|
45
|
+
};
|
|
46
|
+
teleport: {
|
|
47
|
+
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
open: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
elevated: {
|
|
55
|
+
type: BooleanConstructor;
|
|
56
|
+
default: boolean;
|
|
57
|
+
};
|
|
58
|
+
preventBodyScroll: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
closeLabel: {
|
|
63
|
+
type: StringConstructor;
|
|
64
|
+
default: string;
|
|
65
|
+
};
|
|
66
|
+
cancelText: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
};
|
|
69
|
+
confirmText: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
};
|
|
72
|
+
buttonSize: {
|
|
73
|
+
type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
|
|
74
|
+
default: string;
|
|
75
|
+
};
|
|
76
|
+
onBeforeHide: {
|
|
77
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
78
|
+
};
|
|
79
|
+
}>> & {
|
|
80
|
+
"onDrawer:open"?: (() => any) | undefined;
|
|
81
|
+
"onDrawer:after-open"?: (() => any) | undefined;
|
|
82
|
+
"onDrawer:hide"?: (() => any) | undefined;
|
|
83
|
+
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
84
|
+
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
85
|
+
"onDrawer:confirm"?: (() => any) | undefined;
|
|
86
|
+
}, "size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated">;
|
|
35
87
|
$attrs: {
|
|
36
88
|
[x: string]: unknown;
|
|
37
89
|
};
|
|
@@ -41,9 +93,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
41
93
|
$slots: Readonly<{
|
|
42
94
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
43
95
|
}>;
|
|
44
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
45
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
46
|
-
$host: Element | null;
|
|
96
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
97
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
47
98
|
$emit: ((event: "drawer:open") => void) & ((event: "drawer:after-open") => void) & ((event: "drawer:hide") => void) & ((event: "drawer:after-hide") => void) & ((event: "drawer:before-unmount") => void) & ((event: "drawer:confirm") => void);
|
|
48
99
|
$el: any;
|
|
49
100
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -91,28 +142,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
91
142
|
onBeforeHide: {
|
|
92
143
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
93
144
|
};
|
|
94
|
-
}>> &
|
|
145
|
+
}>> & {
|
|
95
146
|
"onDrawer:open"?: (() => any) | undefined;
|
|
96
147
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
97
148
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
98
149
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
99
150
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
100
151
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
101
|
-
}
|
|
152
|
+
}, {
|
|
102
153
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
103
154
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
104
155
|
hide: (options?: {
|
|
105
156
|
fireHideEvent: boolean;
|
|
106
157
|
}) => Promise<void>;
|
|
107
|
-
isOpen: import("vue").Ref<boolean
|
|
158
|
+
isOpen: import("vue").Ref<boolean>;
|
|
108
159
|
show: () => Promise<void>;
|
|
109
|
-
},
|
|
110
|
-
"drawer:open": () =>
|
|
111
|
-
"drawer:after-open": () =>
|
|
112
|
-
"drawer:hide": () =>
|
|
113
|
-
"drawer:after-hide": () =>
|
|
114
|
-
"drawer:before-unmount": () =>
|
|
115
|
-
"drawer:confirm": () =>
|
|
160
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
161
|
+
"drawer:open": () => void;
|
|
162
|
+
"drawer:after-open": () => void;
|
|
163
|
+
"drawer:hide": () => void;
|
|
164
|
+
"drawer:after-hide": () => void;
|
|
165
|
+
"drawer:before-unmount": () => void;
|
|
166
|
+
"drawer:confirm": () => void;
|
|
116
167
|
}, string, {
|
|
117
168
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
118
169
|
closeLabel: string;
|
|
@@ -122,7 +173,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
122
173
|
focusTrap: boolean;
|
|
123
174
|
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
124
175
|
elevated: boolean;
|
|
125
|
-
}, {}, string, {}
|
|
176
|
+
}, {}, string, {}> & {
|
|
126
177
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
127
178
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
128
179
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -137,21 +188,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
137
188
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
138
189
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
139
190
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
140
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
191
|
+
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;
|
|
141
192
|
};
|
|
142
193
|
$forceUpdate: () => void;
|
|
143
194
|
$nextTick: typeof import("vue").nextTick;
|
|
144
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2:
|
|
145
|
-
} & Readonly<{
|
|
146
|
-
size: import("../components.types.js").TJoyDrawerSizes;
|
|
147
|
-
closeLabel: string;
|
|
148
|
-
open: boolean;
|
|
149
|
-
preventBodyScroll: boolean;
|
|
150
|
-
teleport: string | import("vue").RendererElement | null | undefined;
|
|
151
|
-
focusTrap: boolean;
|
|
152
|
-
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
153
|
-
elevated: boolean;
|
|
154
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
195
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
196
|
+
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
155
197
|
id: {
|
|
156
198
|
type: StringConstructor;
|
|
157
199
|
};
|
|
@@ -196,20 +238,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
196
238
|
onBeforeHide: {
|
|
197
239
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
198
240
|
};
|
|
199
|
-
}>> &
|
|
241
|
+
}>> & {
|
|
200
242
|
"onDrawer:open"?: (() => any) | undefined;
|
|
201
243
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
202
244
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
203
245
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
204
246
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
205
247
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
206
|
-
}
|
|
248
|
+
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
207
249
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
208
250
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
209
251
|
hide: (options?: {
|
|
210
252
|
fireHideEvent: boolean;
|
|
211
253
|
}) => Promise<void>;
|
|
212
|
-
isOpen: import("vue").Ref<boolean
|
|
254
|
+
isOpen: import("vue").Ref<boolean>;
|
|
213
255
|
show: () => Promise<void>;
|
|
214
256
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
215
257
|
$slots: Readonly<{
|
|
@@ -228,9 +270,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
228
270
|
'drawer-confirm': () => any;
|
|
229
271
|
};
|
|
230
272
|
}) | null | undefined;
|
|
231
|
-
}
|
|
232
|
-
click: () =>
|
|
233
|
-
}, string, import("vue").PublicProps, Readonly<{
|
|
273
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
274
|
+
click: () => void;
|
|
275
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
234
276
|
/** VJoyDrawer ref. */
|
|
235
277
|
drawer: ({
|
|
236
278
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -257,13 +299,65 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
257
299
|
readonly cancelText?: string | undefined;
|
|
258
300
|
readonly confirmText?: string | undefined;
|
|
259
301
|
readonly onBeforeHide?: (() => boolean | Promise<boolean>) | undefined;
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps
|
|
302
|
+
"onDrawer:open"?: (() => any) | undefined;
|
|
303
|
+
"onDrawer:after-open"?: (() => any) | undefined;
|
|
304
|
+
"onDrawer:hide"?: (() => any) | undefined;
|
|
305
|
+
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
306
|
+
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
307
|
+
"onDrawer:confirm"?: (() => any) | undefined;
|
|
308
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
309
|
+
id: {
|
|
310
|
+
type: StringConstructor;
|
|
311
|
+
};
|
|
312
|
+
focusTrap: {
|
|
313
|
+
type: BooleanConstructor;
|
|
314
|
+
default: boolean;
|
|
315
|
+
};
|
|
316
|
+
size: {
|
|
317
|
+
type: import("vue").PropType<import("../components.types.js").TJoyDrawerSizes>;
|
|
318
|
+
default: string;
|
|
319
|
+
};
|
|
320
|
+
teleport: {
|
|
321
|
+
type: import("vue").PropType<string | import("vue").RendererElement | null | undefined>;
|
|
322
|
+
default: string;
|
|
323
|
+
};
|
|
324
|
+
open: {
|
|
325
|
+
type: BooleanConstructor;
|
|
326
|
+
default: boolean;
|
|
327
|
+
};
|
|
328
|
+
elevated: {
|
|
329
|
+
type: BooleanConstructor;
|
|
330
|
+
default: boolean;
|
|
331
|
+
};
|
|
332
|
+
preventBodyScroll: {
|
|
333
|
+
type: BooleanConstructor;
|
|
334
|
+
default: boolean;
|
|
335
|
+
};
|
|
336
|
+
closeLabel: {
|
|
337
|
+
type: StringConstructor;
|
|
338
|
+
default: string;
|
|
339
|
+
};
|
|
340
|
+
cancelText: {
|
|
341
|
+
type: StringConstructor;
|
|
342
|
+
};
|
|
343
|
+
confirmText: {
|
|
344
|
+
type: StringConstructor;
|
|
345
|
+
};
|
|
346
|
+
buttonSize: {
|
|
347
|
+
type: import("vue").PropType<import("../components.types.js").TJoyButtonSizes>;
|
|
348
|
+
default: string;
|
|
349
|
+
};
|
|
350
|
+
onBeforeHide: {
|
|
351
|
+
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
352
|
+
};
|
|
353
|
+
}>> & {
|
|
354
|
+
"onDrawer:open"?: (() => any) | undefined;
|
|
355
|
+
"onDrawer:after-open"?: (() => any) | undefined;
|
|
356
|
+
"onDrawer:hide"?: (() => any) | undefined;
|
|
357
|
+
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
358
|
+
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
359
|
+
"onDrawer:confirm"?: (() => any) | undefined;
|
|
360
|
+
}, "size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated">;
|
|
267
361
|
$attrs: {
|
|
268
362
|
[x: string]: unknown;
|
|
269
363
|
};
|
|
@@ -273,9 +367,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
273
367
|
$slots: Readonly<{
|
|
274
368
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
275
369
|
}>;
|
|
276
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
277
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
278
|
-
$host: Element | null;
|
|
370
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
371
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
279
372
|
$emit: ((event: "drawer:open") => void) & ((event: "drawer:after-open") => void) & ((event: "drawer:hide") => void) & ((event: "drawer:after-hide") => void) & ((event: "drawer:before-unmount") => void) & ((event: "drawer:confirm") => void);
|
|
280
373
|
$el: any;
|
|
281
374
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -323,28 +416,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
323
416
|
onBeforeHide: {
|
|
324
417
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
325
418
|
};
|
|
326
|
-
}>> &
|
|
419
|
+
}>> & {
|
|
327
420
|
"onDrawer:open"?: (() => any) | undefined;
|
|
328
421
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
329
422
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
330
423
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
331
424
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
332
425
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
333
|
-
}
|
|
426
|
+
}, {
|
|
334
427
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
335
428
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
336
429
|
hide: (options?: {
|
|
337
430
|
fireHideEvent: boolean;
|
|
338
431
|
}) => Promise<void>;
|
|
339
|
-
isOpen: import("vue").Ref<boolean
|
|
432
|
+
isOpen: import("vue").Ref<boolean>;
|
|
340
433
|
show: () => Promise<void>;
|
|
341
|
-
},
|
|
342
|
-
"drawer:open": () =>
|
|
343
|
-
"drawer:after-open": () =>
|
|
344
|
-
"drawer:hide": () =>
|
|
345
|
-
"drawer:after-hide": () =>
|
|
346
|
-
"drawer:before-unmount": () =>
|
|
347
|
-
"drawer:confirm": () =>
|
|
434
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
435
|
+
"drawer:open": () => void;
|
|
436
|
+
"drawer:after-open": () => void;
|
|
437
|
+
"drawer:hide": () => void;
|
|
438
|
+
"drawer:after-hide": () => void;
|
|
439
|
+
"drawer:before-unmount": () => void;
|
|
440
|
+
"drawer:confirm": () => void;
|
|
348
441
|
}, string, {
|
|
349
442
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
350
443
|
closeLabel: string;
|
|
@@ -354,7 +447,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
354
447
|
focusTrap: boolean;
|
|
355
448
|
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
356
449
|
elevated: boolean;
|
|
357
|
-
}, {}, string, {}
|
|
450
|
+
}, {}, string, {}> & {
|
|
358
451
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
359
452
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
360
453
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -369,21 +462,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
369
462
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
370
463
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
371
464
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
372
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}
|
|
465
|
+
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;
|
|
373
466
|
};
|
|
374
467
|
$forceUpdate: () => void;
|
|
375
468
|
$nextTick: typeof import("vue").nextTick;
|
|
376
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2:
|
|
377
|
-
} & Readonly<{
|
|
378
|
-
size: import("../components.types.js").TJoyDrawerSizes;
|
|
379
|
-
closeLabel: string;
|
|
380
|
-
open: boolean;
|
|
381
|
-
preventBodyScroll: boolean;
|
|
382
|
-
teleport: string | import("vue").RendererElement | null | undefined;
|
|
383
|
-
focusTrap: boolean;
|
|
384
|
-
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
385
|
-
elevated: boolean;
|
|
386
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
469
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: (cleanupFn: () => void) => void) => any : (args_0: any, args_1: any, args_2: (cleanupFn: () => void) => void) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
470
|
+
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
387
471
|
id: {
|
|
388
472
|
type: StringConstructor;
|
|
389
473
|
};
|
|
@@ -428,20 +512,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
428
512
|
onBeforeHide: {
|
|
429
513
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
430
514
|
};
|
|
431
|
-
}>> &
|
|
515
|
+
}>> & {
|
|
432
516
|
"onDrawer:open"?: (() => any) | undefined;
|
|
433
517
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
434
518
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
435
519
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
436
520
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
437
521
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
438
|
-
}
|
|
522
|
+
}, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots"> & import("vue").ShallowUnwrapRef<{
|
|
439
523
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
440
524
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
441
525
|
hide: (options?: {
|
|
442
526
|
fireHideEvent: boolean;
|
|
443
527
|
}) => Promise<void>;
|
|
444
|
-
isOpen: import("vue").Ref<boolean
|
|
528
|
+
isOpen: import("vue").Ref<boolean>;
|
|
445
529
|
show: () => Promise<void>;
|
|
446
530
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
447
531
|
$slots: Readonly<{
|
|
@@ -460,9 +544,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
460
544
|
'drawer-confirm': () => any;
|
|
461
545
|
};
|
|
462
546
|
}) | null | undefined;
|
|
463
|
-
}
|
|
547
|
+
}>>> & {
|
|
464
548
|
onClick?: (() => any) | undefined;
|
|
465
|
-
}
|
|
549
|
+
}, {}, {}>, Readonly<{
|
|
466
550
|
/** Default slot where you can render anything you need. */
|
|
467
551
|
default(): any;
|
|
468
552
|
}> & {
|
|
@@ -475,3 +559,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
475
559
|
$slots: S;
|
|
476
560
|
};
|
|
477
561
|
};
|
|
562
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
563
|
+
type __VLS_TypePropsToOption<T> = {
|
|
564
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
565
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
566
|
+
} : {
|
|
567
|
+
type: import('vue').PropType<T[K]>;
|
|
568
|
+
required: true;
|
|
569
|
+
};
|
|
570
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { TJoyDropdownDirections, TJoyDropdownOption } from './JoyDropdown.types';
|
|
3
3
|
import { TJoyDropdownListSizes } from '../JoyDropdownList/JoyDropdownList.types';
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
/** DOM valid selector to give to Vue3 Teleport "to" property */
|
|
6
6
|
appendTo: {
|
|
7
7
|
type: PropType<string | import("vue").RendererElement | null | undefined>;
|
|
@@ -82,14 +82,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
82
82
|
resetLabel: {
|
|
83
83
|
type: StringConstructor;
|
|
84
84
|
};
|
|
85
|
-
}
|
|
86
|
-
showDropdownList: import("vue").Ref<boolean
|
|
85
|
+
}, {
|
|
86
|
+
showDropdownList: import("vue").Ref<boolean>;
|
|
87
87
|
generatedId: string;
|
|
88
|
-
},
|
|
89
|
-
"update:modelValue": (value: string | undefined) =>
|
|
90
|
-
"dropdown:open": () =>
|
|
91
|
-
"dropdown:hide": () =>
|
|
92
|
-
"dropdown:reset": () =>
|
|
88
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
89
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
90
|
+
"dropdown:open": () => void;
|
|
91
|
+
"dropdown:hide": () => void;
|
|
92
|
+
"dropdown:reset": () => void;
|
|
93
93
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
94
94
|
/** DOM valid selector to give to Vue3 Teleport "to" property */
|
|
95
95
|
appendTo: {
|
|
@@ -171,16 +171,16 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
171
171
|
resetLabel: {
|
|
172
172
|
type: StringConstructor;
|
|
173
173
|
};
|
|
174
|
-
}>> &
|
|
174
|
+
}>> & {
|
|
175
175
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
176
176
|
"onDropdown:open"?: (() => any) | undefined;
|
|
177
177
|
"onDropdown:hide"?: (() => any) | undefined;
|
|
178
178
|
"onDropdown:reset"?: (() => any) | undefined;
|
|
179
|
-
}
|
|
180
|
-
|
|
179
|
+
}, {
|
|
180
|
+
height: string;
|
|
181
181
|
size: TJoyDropdownListSizes;
|
|
182
|
+
reset: boolean;
|
|
182
183
|
width: string;
|
|
183
|
-
height: string;
|
|
184
184
|
justify: import("../../types/index.js").TPositions;
|
|
185
185
|
direction: TJoyDropdownDirections;
|
|
186
186
|
options: TJoyDropdownOption[];
|
|
@@ -189,7 +189,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
189
189
|
disableTeleport: boolean;
|
|
190
190
|
closeOnSelect: boolean;
|
|
191
191
|
dropdownGap: string;
|
|
192
|
-
}, {}
|
|
192
|
+
}, {}>, Readonly<{
|
|
193
193
|
/** The trigger required to display the dropdown list. Can be anything as soon as it's focusable. */
|
|
194
194
|
'dropdown-button': () => any;
|
|
195
195
|
/** Header that will be injected in the VJoyDropdownList */
|
|
@@ -15,7 +15,7 @@ export interface Option {
|
|
|
15
15
|
checked?: boolean;
|
|
16
16
|
[k: string]: any;
|
|
17
17
|
}
|
|
18
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
19
19
|
/**
|
|
20
20
|
* You need to pass an unique ID for each option. You can also pass a value if you want to customize the value of the v-model.
|
|
21
21
|
*/
|
|
@@ -52,12 +52,12 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
52
52
|
ariaLabel: {
|
|
53
53
|
type: StringConstructor;
|
|
54
54
|
};
|
|
55
|
-
}
|
|
55
|
+
}, {
|
|
56
56
|
isSelected: import("vue").ComputedRef<(option: Option) => boolean>;
|
|
57
|
-
},
|
|
58
|
-
reset: () =>
|
|
59
|
-
"update:modelValue": (value: string | undefined) =>
|
|
60
|
-
"close:dropdownList": () =>
|
|
57
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
reset: () => void;
|
|
59
|
+
"update:modelValue": (value: string | undefined) => void;
|
|
60
|
+
"close:dropdownList": () => void;
|
|
61
61
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
62
62
|
/**
|
|
63
63
|
* You need to pass an unique ID for each option. You can also pass a value if you want to customize the value of the v-model.
|
|
@@ -95,17 +95,17 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
|
|
|
95
95
|
ariaLabel: {
|
|
96
96
|
type: StringConstructor;
|
|
97
97
|
};
|
|
98
|
-
}>> &
|
|
98
|
+
}>> & {
|
|
99
99
|
onReset?: (() => any) | undefined;
|
|
100
100
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
101
101
|
"onClose:dropdownList"?: (() => any) | undefined;
|
|
102
|
-
}
|
|
103
|
-
|
|
102
|
+
}, {
|
|
103
|
+
height: string;
|
|
104
104
|
size: TJoyDropdownListSizes;
|
|
105
|
+
reset: boolean;
|
|
105
106
|
width: string;
|
|
106
|
-
height: string;
|
|
107
107
|
options: Option[];
|
|
108
|
-
}, {}
|
|
108
|
+
}, {}>, Readonly<{
|
|
109
109
|
/** Use it to customize the innerHTML of the <li> item. See https://vuejs.org/guide/components/slots.html#scoped-slots */
|
|
110
110
|
label?: ((option: Option) => any) | undefined;
|
|
111
111
|
/** Header that will be injected in the VJoyDropdownList */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
declare const _default: <T extends {
|
|
2
2
|
name: string;
|
|
3
3
|
}>(__VLS_props: {
|
|
4
|
-
|
|
4
|
+
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
5
5
|
modelValue: (File | T)[];
|
|
6
6
|
name: string;
|
|
7
7
|
multiple?: boolean | undefined;
|
|
@@ -33,14 +33,12 @@ declare const _default: <T extends {
|
|
|
33
33
|
/** Add file actions next to the update button */
|
|
34
34
|
'file-actions'?: (() => any) | undefined;
|
|
35
35
|
};
|
|
36
|
-
emit:
|
|
37
|
-
'update:modelValue': [modelValue: (File | T)[]];
|
|
38
|
-
};
|
|
36
|
+
emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
|
|
39
37
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
40
|
-
invalid: import("vue").Ref<boolean
|
|
38
|
+
invalid: import("vue").Ref<boolean>;
|
|
41
39
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
42
40
|
props: {
|
|
43
|
-
|
|
41
|
+
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
44
42
|
modelValue: (File | T)[];
|
|
45
43
|
name: string;
|
|
46
44
|
multiple?: boolean | undefined;
|
|
@@ -53,7 +51,7 @@ declare const _default: <T extends {
|
|
|
53
51
|
errorTextFormatAndMaxSize?: string | undefined;
|
|
54
52
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
55
53
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
56
|
-
invalid: import("vue").Ref<boolean
|
|
54
|
+
invalid: import("vue").Ref<boolean>;
|
|
57
55
|
}>): void;
|
|
58
56
|
attrs: any;
|
|
59
57
|
slots: Readonly<{
|
|
@@ -75,15 +73,13 @@ declare const _default: <T extends {
|
|
|
75
73
|
/** Add file actions next to the update button */
|
|
76
74
|
'file-actions'?: (() => any) | undefined;
|
|
77
75
|
};
|
|
78
|
-
emit:
|
|
79
|
-
'update:modelValue': [modelValue: (File | T)[]];
|
|
80
|
-
};
|
|
76
|
+
emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
|
|
81
77
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
82
78
|
[key: string]: any;
|
|
83
79
|
}> & {
|
|
84
80
|
__ctx?: {
|
|
85
81
|
props: {
|
|
86
|
-
|
|
82
|
+
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
87
83
|
modelValue: (File | T)[];
|
|
88
84
|
name: string;
|
|
89
85
|
multiple?: boolean | undefined;
|
|
@@ -96,7 +92,7 @@ declare const _default: <T extends {
|
|
|
96
92
|
errorTextFormatAndMaxSize?: string | undefined;
|
|
97
93
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
98
94
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
99
|
-
invalid: import("vue").Ref<boolean
|
|
95
|
+
invalid: import("vue").Ref<boolean>;
|
|
100
96
|
}>): void;
|
|
101
97
|
attrs: any;
|
|
102
98
|
slots: Readonly<{
|
|
@@ -118,12 +114,10 @@ declare const _default: <T extends {
|
|
|
118
114
|
/** Add file actions next to the update button */
|
|
119
115
|
'file-actions'?: (() => any) | undefined;
|
|
120
116
|
};
|
|
121
|
-
emit:
|
|
122
|
-
'update:modelValue': [modelValue: (File | T)[]];
|
|
123
|
-
};
|
|
117
|
+
emit: (evt: "update:modelValue", modelValue: (File | T)[]) => void;
|
|
124
118
|
} | undefined;
|
|
125
119
|
};
|
|
126
120
|
export default _default;
|
|
127
|
-
type
|
|
121
|
+
type __VLS_Prettify<T> = {
|
|
128
122
|
[K in keyof T]: T[K];
|
|
129
123
|
} & {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: <T extends {
|
|
2
2
|
name: string;
|
|
3
3
|
}>(__VLS_props: {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
6
6
|
file: T | File;
|
|
7
7
|
deleteLabel: string;
|
|
8
8
|
updateLabel: string;
|
|
@@ -23,8 +23,8 @@ declare const _default: <T extends {
|
|
|
23
23
|
emit: (event: "delete" | "update", ...args: any[]) => void;
|
|
24
24
|
} | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
25
25
|
props: {
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
28
28
|
file: T | File;
|
|
29
29
|
deleteLabel: string;
|
|
30
30
|
updateLabel: string;
|
|
@@ -49,8 +49,8 @@ declare const _default: <T extends {
|
|
|
49
49
|
}> & {
|
|
50
50
|
__ctx?: {
|
|
51
51
|
props: {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
onDelete?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
54
54
|
file: T | File;
|
|
55
55
|
deleteLabel: string;
|
|
56
56
|
updateLabel: string;
|
|
@@ -73,6 +73,6 @@ declare const _default: <T extends {
|
|
|
73
73
|
} | undefined;
|
|
74
74
|
};
|
|
75
75
|
export default _default;
|
|
76
|
-
type
|
|
76
|
+
type __VLS_Prettify<T> = {
|
|
77
77
|
[K in keyof T]: T[K];
|
|
78
78
|
} & {};
|