@maltjoy/core-vue 3.35.1 → 3.36.0-next
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/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 +52 -93
- 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 +27 -52
- 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 +82 -193
- 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 +78 -171
- 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 +16 -10
- 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 +6 -15
- 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 +115 -137
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +1 -0
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +1 -1
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +7 -14
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +9 -41
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +52 -227
- 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 +16 -7
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +32 -40
- 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 +12 -28
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +9 -44
- 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 +9 -36
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +1 -10
- 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 +2 -0
- package/dist/pages/FunnelMode.vue.d.ts +1 -1
- package/dist/pages/IndexPage.vue.d.ts +1 -1
- package/dist/style-Cg6-S4et.cjs +16 -0
- package/dist/{style-BET1Es3P.js → style-fNjzeg7Q.js} +2467 -2450
- package/dist/style.css +1 -1
- package/dist/tests/helpers/FocusOnFormElement.vue.d.ts +4 -4
- package/package.json +31 -30
- package/LICENSE +0 -21
- package/dist/style-BxpQNErt.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<{
|
|
2
2
|
/** VJoyDrawer ref. */
|
|
3
3
|
drawer: ({
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -25,65 +25,13 @@ 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
|
-
"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
|
|
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">;
|
|
28
|
+
readonly "onDrawer:open"?: (() => any) | undefined;
|
|
29
|
+
readonly "onDrawer:after-open"?: (() => any) | undefined;
|
|
30
|
+
readonly "onDrawer:hide"?: (() => any) | undefined;
|
|
31
|
+
readonly "onDrawer:after-hide"?: (() => any) | undefined;
|
|
32
|
+
readonly "onDrawer:before-unmount"?: (() => any) | undefined;
|
|
33
|
+
readonly "onDrawer:confirm"?: (() => any) | undefined;
|
|
34
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated">;
|
|
87
35
|
$attrs: {
|
|
88
36
|
[x: string]: unknown;
|
|
89
37
|
};
|
|
@@ -93,8 +41,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
93
41
|
$slots: Readonly<{
|
|
94
42
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
95
43
|
}>;
|
|
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;
|
|
44
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
45
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
46
|
+
$host: Element | null;
|
|
98
47
|
$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);
|
|
99
48
|
$el: any;
|
|
100
49
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -142,28 +91,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
142
91
|
onBeforeHide: {
|
|
143
92
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
144
93
|
};
|
|
145
|
-
}>> & {
|
|
94
|
+
}>> & Readonly<{
|
|
146
95
|
"onDrawer:open"?: (() => any) | undefined;
|
|
147
96
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
148
97
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
149
98
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
150
99
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
151
100
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
152
|
-
}
|
|
101
|
+
}>, {
|
|
153
102
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
154
103
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
155
104
|
hide: (options?: {
|
|
156
105
|
fireHideEvent: boolean;
|
|
157
106
|
}) => Promise<void>;
|
|
158
|
-
isOpen: import("vue").Ref<boolean>;
|
|
107
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
159
108
|
show: () => Promise<void>;
|
|
160
|
-
},
|
|
161
|
-
"drawer:open": () =>
|
|
162
|
-
"drawer:after-open": () =>
|
|
163
|
-
"drawer:hide": () =>
|
|
164
|
-
"drawer:after-hide": () =>
|
|
165
|
-
"drawer:before-unmount": () =>
|
|
166
|
-
"drawer:confirm": () =>
|
|
109
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
110
|
+
"drawer:open": () => any;
|
|
111
|
+
"drawer:after-open": () => any;
|
|
112
|
+
"drawer:hide": () => any;
|
|
113
|
+
"drawer:after-hide": () => any;
|
|
114
|
+
"drawer:before-unmount": () => any;
|
|
115
|
+
"drawer:confirm": () => any;
|
|
167
116
|
}, string, {
|
|
168
117
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
169
118
|
closeLabel: string;
|
|
@@ -173,7 +122,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
173
122
|
focusTrap: boolean;
|
|
174
123
|
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
175
124
|
elevated: boolean;
|
|
176
|
-
}, {}, string, {}> & {
|
|
125
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
177
126
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
178
127
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
179
128
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -188,12 +137,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
188
137
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
189
138
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
190
139
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
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;
|
|
140
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | 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, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
192
141
|
};
|
|
193
142
|
$forceUpdate: () => void;
|
|
194
143
|
$nextTick: typeof import("vue").nextTick;
|
|
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: (
|
|
196
|
-
} &
|
|
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: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
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<{
|
|
197
155
|
id: {
|
|
198
156
|
type: StringConstructor;
|
|
199
157
|
};
|
|
@@ -238,20 +196,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
238
196
|
onBeforeHide: {
|
|
239
197
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
240
198
|
};
|
|
241
|
-
}>> & {
|
|
199
|
+
}>> & Readonly<{
|
|
242
200
|
"onDrawer:open"?: (() => any) | undefined;
|
|
243
201
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
244
202
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
245
203
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
246
204
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
247
205
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
248
|
-
}
|
|
206
|
+
}>, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots" | ("size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated")> & import("vue").ShallowUnwrapRef<{
|
|
249
207
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
250
208
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
251
209
|
hide: (options?: {
|
|
252
210
|
fireHideEvent: boolean;
|
|
253
211
|
}) => Promise<void>;
|
|
254
|
-
isOpen: import("vue").Ref<boolean>;
|
|
212
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
255
213
|
show: () => Promise<void>;
|
|
256
214
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
257
215
|
$slots: Readonly<{
|
|
@@ -270,9 +228,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
270
228
|
'drawer-confirm': () => any;
|
|
271
229
|
};
|
|
272
230
|
}) | null | undefined;
|
|
273
|
-
}
|
|
274
|
-
click: () =>
|
|
275
|
-
}, string, import("vue").PublicProps, Readonly<
|
|
231
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
232
|
+
click: () => any;
|
|
233
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
276
234
|
/** VJoyDrawer ref. */
|
|
277
235
|
drawer: ({
|
|
278
236
|
$: import("vue").ComponentInternalInstance;
|
|
@@ -299,65 +257,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
299
257
|
readonly cancelText?: string | undefined;
|
|
300
258
|
readonly confirmText?: string | undefined;
|
|
301
259
|
readonly onBeforeHide?: (() => boolean | Promise<boolean>) | undefined;
|
|
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
|
|
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">;
|
|
260
|
+
readonly "onDrawer:open"?: (() => any) | undefined;
|
|
261
|
+
readonly "onDrawer:after-open"?: (() => any) | undefined;
|
|
262
|
+
readonly "onDrawer:hide"?: (() => any) | undefined;
|
|
263
|
+
readonly "onDrawer:after-hide"?: (() => any) | undefined;
|
|
264
|
+
readonly "onDrawer:before-unmount"?: (() => any) | undefined;
|
|
265
|
+
readonly "onDrawer:confirm"?: (() => any) | undefined;
|
|
266
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated">;
|
|
361
267
|
$attrs: {
|
|
362
268
|
[x: string]: unknown;
|
|
363
269
|
};
|
|
@@ -367,8 +273,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
367
273
|
$slots: Readonly<{
|
|
368
274
|
[name: string]: import("vue").Slot<any> | undefined;
|
|
369
275
|
}>;
|
|
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;
|
|
276
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
277
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
278
|
+
$host: Element | null;
|
|
372
279
|
$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);
|
|
373
280
|
$el: any;
|
|
374
281
|
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -416,28 +323,28 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
416
323
|
onBeforeHide: {
|
|
417
324
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
418
325
|
};
|
|
419
|
-
}>> & {
|
|
326
|
+
}>> & Readonly<{
|
|
420
327
|
"onDrawer:open"?: (() => any) | undefined;
|
|
421
328
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
422
329
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
423
330
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
424
331
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
425
332
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
426
|
-
}
|
|
333
|
+
}>, {
|
|
427
334
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
428
335
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
429
336
|
hide: (options?: {
|
|
430
337
|
fireHideEvent: boolean;
|
|
431
338
|
}) => Promise<void>;
|
|
432
|
-
isOpen: import("vue").Ref<boolean>;
|
|
339
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
433
340
|
show: () => Promise<void>;
|
|
434
|
-
},
|
|
435
|
-
"drawer:open": () =>
|
|
436
|
-
"drawer:after-open": () =>
|
|
437
|
-
"drawer:hide": () =>
|
|
438
|
-
"drawer:after-hide": () =>
|
|
439
|
-
"drawer:before-unmount": () =>
|
|
440
|
-
"drawer:confirm": () =>
|
|
341
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
342
|
+
"drawer:open": () => any;
|
|
343
|
+
"drawer:after-open": () => any;
|
|
344
|
+
"drawer:hide": () => any;
|
|
345
|
+
"drawer:after-hide": () => any;
|
|
346
|
+
"drawer:before-unmount": () => any;
|
|
347
|
+
"drawer:confirm": () => any;
|
|
441
348
|
}, string, {
|
|
442
349
|
size: import("../components.types.js").TJoyDrawerSizes;
|
|
443
350
|
closeLabel: string;
|
|
@@ -447,7 +354,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
447
354
|
focusTrap: boolean;
|
|
448
355
|
buttonSize: import("../components.types.js").TJoyButtonSizes;
|
|
449
356
|
elevated: boolean;
|
|
450
|
-
}, {}, string, {}> & {
|
|
357
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
451
358
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
452
359
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
453
360
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -462,12 +369,21 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
462
369
|
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
463
370
|
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
464
371
|
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
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;
|
|
372
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | 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, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
|
|
466
373
|
};
|
|
467
374
|
$forceUpdate: () => void;
|
|
468
375
|
$nextTick: typeof import("vue").nextTick;
|
|
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: (
|
|
470
|
-
} &
|
|
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: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
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<{
|
|
471
387
|
id: {
|
|
472
388
|
type: StringConstructor;
|
|
473
389
|
};
|
|
@@ -512,20 +428,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
512
428
|
onBeforeHide: {
|
|
513
429
|
type: import("vue").PropType<() => boolean | Promise<boolean>>;
|
|
514
430
|
};
|
|
515
|
-
}>> & {
|
|
431
|
+
}>> & Readonly<{
|
|
516
432
|
"onDrawer:open"?: (() => any) | undefined;
|
|
517
433
|
"onDrawer:after-open"?: (() => any) | undefined;
|
|
518
434
|
"onDrawer:hide"?: (() => any) | undefined;
|
|
519
435
|
"onDrawer:after-hide"?: (() => any) | undefined;
|
|
520
436
|
"onDrawer:before-unmount"?: (() => any) | undefined;
|
|
521
437
|
"onDrawer:confirm"?: (() => any) | undefined;
|
|
522
|
-
}
|
|
438
|
+
}>, "hide" | "show" | "isOpen" | "focusTrapReturn" | "hasFooterSlots" | ("size" | "closeLabel" | "open" | "preventBodyScroll" | "teleport" | "focusTrap" | "buttonSize" | "elevated")> & import("vue").ShallowUnwrapRef<{
|
|
523
439
|
focusTrapReturn: import("@vueuse/integrations/useFocusTrap.js").UseFocusTrapReturn;
|
|
524
440
|
hasFooterSlots: import("vue").ComputedRef<boolean>;
|
|
525
441
|
hide: (options?: {
|
|
526
442
|
fireHideEvent: boolean;
|
|
527
443
|
}) => Promise<void>;
|
|
528
|
-
isOpen: import("vue").Ref<boolean>;
|
|
444
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
529
445
|
show: () => Promise<void>;
|
|
530
446
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
531
447
|
$slots: Readonly<{
|
|
@@ -544,9 +460,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
544
460
|
'drawer-confirm': () => any;
|
|
545
461
|
};
|
|
546
462
|
}) | null | undefined;
|
|
547
|
-
}
|
|
463
|
+
}> & Readonly<{
|
|
548
464
|
onClick?: (() => any) | undefined;
|
|
549
|
-
}, {}, {}>, Readonly<{
|
|
465
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
550
466
|
/** Default slot where you can render anything you need. */
|
|
551
467
|
default(): any;
|
|
552
468
|
}> & {
|
|
@@ -559,12 +475,3 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
559
475
|
$slots: S;
|
|
560
476
|
};
|
|
561
477
|
};
|
|
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<import("vue").ExtractPropTypes<{
|
|
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<{
|
|
|
82
82
|
resetLabel: {
|
|
83
83
|
type: StringConstructor;
|
|
84
84
|
};
|
|
85
|
-
}
|
|
86
|
-
showDropdownList: import("vue").Ref<boolean>;
|
|
85
|
+
}>, {
|
|
86
|
+
showDropdownList: import("vue").Ref<boolean, boolean>;
|
|
87
87
|
generatedId: string;
|
|
88
|
-
},
|
|
89
|
-
"update:modelValue": (value: string | undefined) =>
|
|
90
|
-
"dropdown:open": () =>
|
|
91
|
-
"dropdown:hide": () =>
|
|
92
|
-
"dropdown:reset": () =>
|
|
88
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
89
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
90
|
+
"dropdown:open": () => any;
|
|
91
|
+
"dropdown:hide": () => any;
|
|
92
|
+
"dropdown:reset": () => any;
|
|
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<{
|
|
|
171
171
|
resetLabel: {
|
|
172
172
|
type: StringConstructor;
|
|
173
173
|
};
|
|
174
|
-
}>> & {
|
|
174
|
+
}>> & Readonly<{
|
|
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
|
-
height: string;
|
|
181
|
-
size: TJoyDropdownListSizes;
|
|
179
|
+
}>, {
|
|
182
180
|
reset: boolean;
|
|
181
|
+
size: TJoyDropdownListSizes;
|
|
183
182
|
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<{
|
|
|
189
189
|
disableTeleport: boolean;
|
|
190
190
|
closeOnSelect: boolean;
|
|
191
191
|
dropdownGap: string;
|
|
192
|
-
}, {}>, Readonly<{
|
|
192
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, 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<import("vue").ExtractPropTypes<{
|
|
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<{
|
|
|
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
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
58
|
+
reset: () => any;
|
|
59
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
60
|
+
"close:dropdownList": () => any;
|
|
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<{
|
|
|
95
95
|
ariaLabel: {
|
|
96
96
|
type: StringConstructor;
|
|
97
97
|
};
|
|
98
|
-
}>> & {
|
|
98
|
+
}>> & Readonly<{
|
|
99
99
|
onReset?: (() => any) | undefined;
|
|
100
100
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
101
101
|
"onClose:dropdownList"?: (() => any) | undefined;
|
|
102
|
-
}
|
|
103
|
-
height: string;
|
|
104
|
-
size: TJoyDropdownListSizes;
|
|
102
|
+
}>, {
|
|
105
103
|
reset: boolean;
|
|
104
|
+
size: TJoyDropdownListSizes;
|
|
106
105
|
width: string;
|
|
106
|
+
height: string;
|
|
107
107
|
options: Option[];
|
|
108
|
-
}, {}>, Readonly<{
|
|
108
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, 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
|
-
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
4
|
+
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
5
5
|
modelValue: (File | T)[];
|
|
6
6
|
name: string;
|
|
7
7
|
multiple?: boolean | undefined;
|
|
@@ -33,12 +33,14 @@ 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:
|
|
36
|
+
emit: {
|
|
37
|
+
'update:modelValue': [modelValue: (File | T)[]];
|
|
38
|
+
};
|
|
37
39
|
} | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
|
|
38
|
-
invalid: import("vue").Ref<boolean>;
|
|
40
|
+
invalid: import("vue").Ref<boolean, boolean>;
|
|
39
41
|
}>) => void) | undefined, __VLS_setup?: Promise<{
|
|
40
42
|
props: {
|
|
41
|
-
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
43
|
+
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
42
44
|
modelValue: (File | T)[];
|
|
43
45
|
name: string;
|
|
44
46
|
multiple?: boolean | undefined;
|
|
@@ -51,7 +53,7 @@ declare const _default: <T extends {
|
|
|
51
53
|
errorTextFormatAndMaxSize?: string | undefined;
|
|
52
54
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
53
55
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
54
|
-
invalid: import("vue").Ref<boolean>;
|
|
56
|
+
invalid: import("vue").Ref<boolean, boolean>;
|
|
55
57
|
}>): void;
|
|
56
58
|
attrs: any;
|
|
57
59
|
slots: Readonly<{
|
|
@@ -73,13 +75,15 @@ declare const _default: <T extends {
|
|
|
73
75
|
/** Add file actions next to the update button */
|
|
74
76
|
'file-actions'?: (() => any) | undefined;
|
|
75
77
|
};
|
|
76
|
-
emit:
|
|
78
|
+
emit: {
|
|
79
|
+
'update:modelValue': [modelValue: (File | T)[]];
|
|
80
|
+
};
|
|
77
81
|
}>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
82
|
[key: string]: any;
|
|
79
83
|
}> & {
|
|
80
84
|
__ctx?: {
|
|
81
85
|
props: {
|
|
82
|
-
"onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
86
|
+
readonly "onUpdate:modelValue"?: ((modelValue: (File | T)[]) => any) | undefined;
|
|
83
87
|
modelValue: (File | T)[];
|
|
84
88
|
name: string;
|
|
85
89
|
multiple?: boolean | undefined;
|
|
@@ -92,7 +96,7 @@ declare const _default: <T extends {
|
|
|
92
96
|
errorTextFormatAndMaxSize?: string | undefined;
|
|
93
97
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
94
98
|
expose(exposed: import("vue").ShallowUnwrapRef<{
|
|
95
|
-
invalid: import("vue").Ref<boolean>;
|
|
99
|
+
invalid: import("vue").Ref<boolean, boolean>;
|
|
96
100
|
}>): void;
|
|
97
101
|
attrs: any;
|
|
98
102
|
slots: Readonly<{
|
|
@@ -114,10 +118,12 @@ declare const _default: <T extends {
|
|
|
114
118
|
/** Add file actions next to the update button */
|
|
115
119
|
'file-actions'?: (() => any) | undefined;
|
|
116
120
|
};
|
|
117
|
-
emit:
|
|
121
|
+
emit: {
|
|
122
|
+
'update:modelValue': [modelValue: (File | T)[]];
|
|
123
|
+
};
|
|
118
124
|
} | undefined;
|
|
119
125
|
};
|
|
120
126
|
export default _default;
|
|
121
|
-
type
|
|
127
|
+
type __VLS_PrettifyLocal<T> = {
|
|
122
128
|
[K in keyof T]: T[K];
|
|
123
129
|
} & {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare const _default: <T extends {
|
|
2
2
|
name: string;
|
|
3
3
|
}>(__VLS_props: {
|
|
4
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
4
|
+
readonly onDelete?: ((...args: any[]) => any) | undefined;
|
|
5
|
+
readonly 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
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
27
|
-
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
readonly onDelete?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
readonly 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
|
-
onDelete?: ((...args: any[]) => any) | undefined;
|
|
53
|
-
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
52
|
+
readonly onDelete?: ((...args: any[]) => any) | undefined;
|
|
53
|
+
readonly 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_PrettifyLocal<T> = {
|
|
77
77
|
[K in keyof T]: T[K];
|
|
78
78
|
} & {};
|