@maltjoy/core-vue 6.5.0-beta.1 → 6.5.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/JoyAdminBanner/VJoyAdminBanner.vue.d.ts +7 -0
- package/dist/components/JoyAvailability/JoyAvailability.types.d.ts +1 -0
- package/dist/components/JoyAvailability/VJoyAvailability.vue.d.ts +10 -0
- package/dist/components/JoyAvatar/JoyAvatar.types.d.ts +5 -0
- package/dist/components/JoyAvatar/VJoyAvatar.vue.d.ts +68 -0
- package/dist/components/JoyAvatarsList/VJoyAvatarsList.vue.d.ts +27 -0
- package/dist/components/JoyBadge/JoyBadge.types.d.ts +2 -0
- package/dist/components/JoyBadge/VJoyBadge.vue.d.ts +66 -0
- package/dist/components/JoyBadgeLevel/JoyBadgeLevel.types.d.ts +12 -0
- package/dist/components/JoyBadgeLevel/VJoyBadgeLevel.vue.d.ts +49 -0
- package/dist/components/JoyBlockSkeleton/VJoyBlockSkeleton.vue.d.ts +32 -0
- package/dist/components/JoyBottomSheet/VJoyBottomSheet.vue.d.ts +49 -0
- package/dist/components/JoyButton/JoyButton.types.d.ts +6 -0
- package/dist/components/JoyButton/VJoyButton.vue.d.ts +101 -0
- package/dist/components/JoyButtonCard/JoyButtonCard.types.d.ts +13 -0
- package/dist/components/JoyButtonCard/VJoyButtonCard.vue.d.ts +18 -0
- package/dist/components/JoyCheckbox/JoyCheckbox.types.d.ts +26 -0
- package/dist/components/JoyCheckbox/VJoyCheckbox.vue.d.ts +36 -0
- package/dist/components/JoyCheckboxCard/JoyCheckboxCard.types.d.ts +7 -0
- package/dist/components/JoyCheckboxCard/VJoyCheckboxCard.vue.d.ts +35 -0
- package/dist/components/JoyCheckboxGroup/VJoyCheckboxGroup.vue.d.ts +67 -0
- package/dist/components/JoyCollapse/VJoyCollapse.vue.d.ts +215 -0
- package/dist/components/JoyCollapseItem/JoyCollapseItem.types.d.ts +5 -0
- package/dist/components/JoyCollapseItem/VJoyCollapseItem.vue.d.ts +101 -0
- package/dist/components/JoyCompanyAvatar/JoyCompanyAvatar.types.d.ts +2 -0
- package/dist/components/JoyCompanyAvatar/VJoyCompanyAvatar.vue.d.ts +39 -0
- package/dist/components/JoyDialog/JoyDialog.types.d.ts +2 -0
- package/dist/components/JoyDialog/VJoyDialog.vue.d.ts +238 -0
- package/dist/components/JoyDialogTrigger/VJoyDialogTrigger.vue.d.ts +589 -0
- package/dist/components/JoyDot/VJoyDot.types.d.ts +1 -0
- package/dist/components/JoyDot/VJoyDot.vue.d.ts +15 -0
- package/dist/components/JoyDrawer/JoyDrawer.types.d.ts +1 -0
- package/dist/components/JoyDrawer/VJoyDrawer.vue.d.ts +195 -0
- package/dist/components/JoyDrawerTrigger/VJoyDrawerTrigger.vue.d.ts +509 -0
- package/dist/components/JoyDropdown/JoyDropdown.types.d.ts +18 -0
- package/dist/components/JoyDropdown/VJoyDropdown.vue.d.ts +220 -0
- package/dist/components/JoyDropdownList/JoyDropdownList.types.d.ts +2 -0
- package/dist/components/JoyDropdownList/VJoyDropdownList.vue.d.ts +136 -0
- package/dist/components/JoyDropzone/VJoyDropzone.vue.d.ts +153 -0
- package/dist/components/JoyDropzone/VJoyDropzoneFileItem.vue.d.ts +84 -0
- package/dist/components/JoyDropzone/VJoyDropzoneIcon.vue.d.ts +26 -0
- package/dist/components/JoyFilterBar/VJoyFilterBar.vue.d.ts +19 -0
- package/dist/components/JoyFilterBarButton/VJoyFilterBarButton.vue.d.ts +43 -0
- package/dist/components/JoyFloatingActionsBar/VJoyFloatingActionsBar.vue.d.ts +30 -0
- package/dist/components/JoyFormError/VJoyFormError.vue.d.ts +63 -0
- package/dist/components/JoyFormFieldSkeleton/VJoyFormFieldSkeleton.vue.d.ts +41 -0
- package/dist/components/JoyFormGroup/VJoyFormGroup.vue.d.ts +13 -0
- package/dist/components/JoyFunnel/JoyFunnel.types.d.ts +3 -0
- package/dist/components/JoyFunnel/VJoyFunnel.vue.d.ts +71 -0
- package/dist/components/JoyFunnelFooter/VJoyFunnelFooter.vue.d.ts +13 -0
- package/dist/components/JoyFunnelHeader/VJoyFunnelHeader.vue.d.ts +13 -0
- package/dist/components/JoyHighlight/JoyHighlight.types.d.ts +3 -0
- package/dist/components/JoyHighlight/VJoyHighlight.vue.d.ts +76 -0
- package/dist/components/JoyIcon/JoyIcon.types.d.ts +5 -0
- package/dist/components/JoyIcon/VJoyIcon.vue.d.ts +62 -0
- package/dist/components/JoyIconButton/JoyIconButton.types.d.ts +5 -0
- package/dist/components/JoyIconButton/VJoyIconButton.vue.d.ts +80 -0
- package/dist/components/JoyIndicator/VJoyIndicator.vue.d.ts +44 -0
- package/dist/components/JoyIndicators/JoyIndicators.types.d.ts +1 -0
- package/dist/components/JoyIndicators/VJoyIndicators.vue.d.ts +74 -0
- package/dist/components/JoyInput/JoyInput.types.d.ts +33 -0
- package/dist/components/JoyInput/VJoyInput.vue.d.ts +38 -0
- package/dist/components/JoyInputDigit/JoyInputDigit.types.d.ts +14 -0
- package/dist/components/JoyInputDigit/VJoyInputDigit.vue.d.ts +24 -0
- package/dist/components/JoyInputNumber/VJoyInputNumber.vue.d.ts +33 -0
- package/dist/components/JoyInputPassword/VJoyInputPassword.vue.d.ts +31 -0
- package/dist/components/JoyLabel/JoyLabel.types.d.ts +3 -0
- package/dist/components/JoyLabel/VJoyLabel.vue.d.ts +57 -0
- package/dist/components/JoyLink/JoyLink.types.d.ts +2 -0
- package/dist/components/JoyLink/VJoyLink.vue.d.ts +41 -0
- package/dist/components/JoyListItem/VJoyListItem.vue.d.ts +21 -0
- package/dist/components/JoyMenu/JoyMenu.types.d.ts +13 -0
- package/dist/components/JoyMenu/VJoyMenu.vue.d.ts +59 -0
- package/dist/components/JoyMenuItem/JoyMenuItem.types.d.ts +13 -0
- package/dist/components/JoyMenuItem/VJoyMenuItem.vue.d.ts +73 -0
- package/dist/components/JoyPagination/PaginationIcon.vue.d.ts +35 -0
- package/dist/components/JoyPagination/VJoyPagination.vue.d.ts +84 -0
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +4 -0
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +103 -0
- package/dist/components/JoyPanelSection/VJoyPanelSection.vue.d.ts +10 -0
- package/dist/components/JoyPasswordRequirement/JoyPasswordRequirement.types.d.ts +7 -0
- package/dist/components/JoyPasswordRequirement/VJoyPasswordRequirement.vue.d.ts +13 -0
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +174 -0
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +38 -0
- package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts +6 -0
- package/dist/components/JoyProductTour/VJoyProductTour.vue.d.ts +21 -0
- package/dist/components/JoyProductTour/VJoyProductTourInner.vue.d.ts +27 -0
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +167 -0
- package/dist/components/JoyProgressBar/JoyProgressBar.types.d.ts +2 -0
- package/dist/components/JoyProgressBar/VJoyProgressBar.vue.d.ts +67 -0
- package/dist/components/JoyRadio/JoyRadio.types.d.ts +1 -0
- package/dist/components/JoyRadio/VJoyRadio.vue.d.ts +117 -0
- package/dist/components/JoyRadioGroup/JoyRadioGroup.types.d.ts +1 -0
- package/dist/components/JoyRadioGroup/VJoyRadioGroup.vue.d.ts +33 -0
- package/dist/components/JoyRatingStars/JoyRatingStars.types.d.ts +2 -0
- package/dist/components/JoyRatingStars/VJoyRatingStars.vue.d.ts +51 -0
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.types.d.ts +1 -0
- package/dist/components/JoyScreenLoader/VJoyScreenLoader.vue.d.ts +44 -0
- package/dist/components/JoySelect/JoySelect.types.d.ts +2 -0
- package/dist/components/JoySelect/VJoySelect.vue.d.ts +121 -0
- package/dist/components/JoySelectableItem/VJoySelectableItem.types.d.ts +8 -0
- package/dist/components/JoySelectableItem/VJoySelectableItem.vue.d.ts +76 -0
- package/dist/components/JoySelectableItemGroup/VJoySelectableItemGroup.vue.d.ts +93 -0
- package/dist/components/JoySeparator/JoySeparator.types.d.ts +3 -0
- package/dist/components/JoySeparator/VJoySeparator.vue.d.ts +24 -0
- package/dist/components/JoySnackbar/JoySnackbar.types.d.ts +19 -0
- package/dist/components/JoySnackbar/VJoySnackbar.vue.d.ts +104 -0
- package/dist/components/JoySnackbar/VJoySnackbarService.d.ts +25 -0
- package/dist/components/JoySnackbar/index.d.ts +1 -0
- package/dist/components/JoySpinner/JoySpinner.types.d.ts +1 -0
- package/dist/components/JoySpinner/VJoySpinner.vue.d.ts +12 -0
- package/dist/components/JoyStep/TJoyStep.types.d.ts +1 -0
- package/dist/components/JoyStep/VJoyStep.vue.d.ts +86 -0
- package/dist/components/JoyStepper/VJoyStepper.vue.d.ts +171 -0
- package/dist/components/JoyTab/TabButton.vue.d.ts +79 -0
- package/dist/components/JoyTab/VJoyTab.vue.d.ts +81 -0
- package/dist/components/JoyTabs/VJoyTabs.vue.d.ts +103 -0
- package/dist/components/JoyTag/JoyTag.types.d.ts +14 -0
- package/dist/components/JoyTag/VJoyTag.vue.d.ts +52 -0
- package/dist/components/JoyTagsInput/JoyTagsInput.service.d.ts +5 -0
- package/dist/components/JoyTagsInput/JoyTagsInput.types.d.ts +4 -0
- package/dist/components/JoyTagsInput/VJoyTagsInput.vue.d.ts +124 -0
- package/dist/components/JoyTagsList/JoyTagsList.types.d.ts +4 -0
- package/dist/components/JoyTagsList/VJoyTagsList.vue.d.ts +140 -0
- package/dist/components/JoyTemplate/JoyTemplate.types.d.ts +1 -0
- package/dist/components/JoyTemplate/VJoyTemplate.vue.d.ts +92 -0
- package/dist/components/JoyTemplate/_JoyTemplateShape/TemplateShape.vue.d.ts +2 -0
- package/dist/components/JoyText/JoyText.types.d.ts +4 -0
- package/dist/components/JoyText/VJoyText.vue.d.ts +40 -0
- package/dist/components/JoyTextarea/VJoyTextarea.vue.d.ts +155 -0
- package/dist/components/JoyTitleBrand/VJoyTitleBrand.vue.d.ts +19 -0
- package/dist/components/JoyToggle/VJoyToggle.vue.d.ts +104 -0
- package/dist/components/JoyTooltip/VJoyTooltip.vue.d.ts +112 -0
- package/dist/components/JoyUserCard/VJoyUserCard.vue.d.ts +71 -0
- package/dist/components/JoyWalkthrough/VJoyWalkthrough.vue.d.ts +39 -0
- package/dist/components/JoyWalkthroughTrigger/VJoyWalkthroughTrigger.vue.d.ts +9 -0
- package/dist/components/JoyWrapper/JoyWrapper.types.d.ts +5 -0
- package/dist/components/JoyWrapper/VJoyWrapper.vue.d.ts +100 -0
- package/dist/components/compat.d.ts +1 -0
- package/dist/components/component-metadata.d.ts +22 -0
- package/dist/components/components.d.ts +8 -0
- package/dist/components/components.types.d.ts +42 -0
- package/dist/components/index.d.ts +84 -0
- package/dist/composables/events.d.ts +5 -0
- package/dist/composables/helpers.d.ts +9 -0
- package/dist/composables/index.d.ts +5 -0
- package/dist/composables/overlay-a11y.d.ts +21 -0
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/ripple.d.ts +4 -0
- package/dist/events/bus.d.ts +3 -0
- package/dist/events/index.d.ts +1 -0
- package/dist/helpers/index.d.ts +15 -0
- package/dist/joy-core-vue-manifest.json +96 -0
- package/dist/main.d.ts +1 -0
- package/dist/pages/FunnelAndStepper.vue.d.ts +2 -0
- package/dist/pages/FunnelMode.vue.d.ts +2 -0
- package/dist/pages/IndexPage.vue.d.ts +2 -0
- package/dist/stories/fixtures/index.d.ts +1 -0
- package/dist/types/index.d.ts +27 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
2
|
+
"panel-section-title"?(_: {}): any;
|
|
3
|
+
"panel-section-content"?(_: {}): any;
|
|
4
|
+
}>;
|
|
5
|
+
export default _default;
|
|
6
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
7
|
+
new (): {
|
|
8
|
+
$slots: S;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { TLevels } from '../../types';
|
|
2
|
+
/**
|
|
3
|
+
* - neutral : The password field is focused but not this rule is not valid
|
|
4
|
+
* - valid : This rule is valid
|
|
5
|
+
* - invalid : This field is not focused and this rule is invalid
|
|
6
|
+
*/
|
|
7
|
+
export type TVJoyPasswordRequirementStatus = Extract<TLevels, 'success' | 'error' | 'neutral'>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { TVJoyPasswordRequirementStatus } from './JoyPasswordRequirement.types';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
/** Label of the password strength rule */
|
|
4
|
+
label: string;
|
|
5
|
+
/** Status of the password requirement */
|
|
6
|
+
status?: TVJoyPasswordRequirementStatus | undefined;
|
|
7
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
8
|
+
/** Label of the password strength rule */
|
|
9
|
+
label: string;
|
|
10
|
+
/** Status of the password requirement */
|
|
11
|
+
status?: TVJoyPasswordRequirementStatus | undefined;
|
|
12
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
|
+
export default _default;
|
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
import VJoyProductTourInner from './VJoyProductTourInner.vue';
|
|
2
|
+
export declare const productTourState: {
|
|
3
|
+
clearProductTourRef: () => void;
|
|
4
|
+
storeProductTourRef: (productTourInstance?: InstanceType<typeof VJoyProductTourInner>) => void;
|
|
5
|
+
productToursRef: import("vue").Ref<({
|
|
6
|
+
$: import("vue").ComponentInternalInstance;
|
|
7
|
+
$data: {};
|
|
8
|
+
$props: {
|
|
9
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
10
|
+
readonly steps?: number | undefined;
|
|
11
|
+
readonly step?: number | undefined;
|
|
12
|
+
readonly position?: "left" | "right" | "top" | "bottom" | undefined;
|
|
13
|
+
readonly open?: boolean | undefined;
|
|
14
|
+
readonly maxWidth?: number | undefined;
|
|
15
|
+
readonly disableOverlay?: boolean | undefined;
|
|
16
|
+
readonly spotlightPadding?: number | undefined;
|
|
17
|
+
readonly spotlightSelector: string;
|
|
18
|
+
readonly closeButton?: boolean | undefined;
|
|
19
|
+
readonly "onProduct-tour:hide"?: (() => any) | undefined;
|
|
20
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
21
|
+
$attrs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$refs: {
|
|
25
|
+
[x: string]: unknown;
|
|
26
|
+
};
|
|
27
|
+
$slots: Readonly<{
|
|
28
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
29
|
+
}>;
|
|
30
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
31
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
32
|
+
$host: Element | null;
|
|
33
|
+
$emit: (event: "product-tour:hide") => void;
|
|
34
|
+
$el: any;
|
|
35
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
36
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
37
|
+
}>, {
|
|
38
|
+
hide: () => void;
|
|
39
|
+
show: () => void;
|
|
40
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
41
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
42
|
+
"product-tour:hide": () => any;
|
|
43
|
+
}, string, {
|
|
44
|
+
open: boolean;
|
|
45
|
+
maxWidth: number;
|
|
46
|
+
position: "left" | "right" | "top" | "bottom";
|
|
47
|
+
step: number;
|
|
48
|
+
disableOverlay: boolean;
|
|
49
|
+
steps: number;
|
|
50
|
+
spotlightPadding: number;
|
|
51
|
+
closeButton: boolean;
|
|
52
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
53
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
66
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
67
|
+
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;
|
|
68
|
+
};
|
|
69
|
+
$forceUpdate: () => void;
|
|
70
|
+
$nextTick: typeof import("vue").nextTick;
|
|
71
|
+
$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;
|
|
72
|
+
} & Readonly<{
|
|
73
|
+
open: boolean;
|
|
74
|
+
maxWidth: number;
|
|
75
|
+
position: "left" | "right" | "top" | "bottom";
|
|
76
|
+
step: number;
|
|
77
|
+
disableOverlay: boolean;
|
|
78
|
+
steps: number;
|
|
79
|
+
spotlightPadding: number;
|
|
80
|
+
closeButton: boolean;
|
|
81
|
+
}> & Omit<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
82
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
83
|
+
}>, "isOpen" | "hide" | "show" | ("open" | "maxWidth" | "position" | "step" | "disableOverlay" | "steps" | "spotlightPadding" | "closeButton")> & import("vue").ShallowUnwrapRef<{
|
|
84
|
+
hide: () => void;
|
|
85
|
+
show: () => void;
|
|
86
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
87
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
88
|
+
$slots: Readonly<import("./JoyProductTour.types.js").VJoyProductTourSlots> & import("./JoyProductTour.types.js").VJoyProductTourSlots;
|
|
89
|
+
}) | null, ({
|
|
90
|
+
$: import("vue").ComponentInternalInstance;
|
|
91
|
+
$data: {};
|
|
92
|
+
$props: {
|
|
93
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
94
|
+
readonly steps?: number | undefined;
|
|
95
|
+
readonly step?: number | undefined;
|
|
96
|
+
readonly position?: "left" | "right" | "top" | "bottom" | undefined;
|
|
97
|
+
readonly open?: boolean | undefined;
|
|
98
|
+
readonly maxWidth?: number | undefined;
|
|
99
|
+
readonly disableOverlay?: boolean | undefined;
|
|
100
|
+
readonly spotlightPadding?: number | undefined;
|
|
101
|
+
readonly spotlightSelector: string;
|
|
102
|
+
readonly closeButton?: boolean | undefined;
|
|
103
|
+
readonly "onProduct-tour:hide"?: (() => any) | undefined;
|
|
104
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
105
|
+
$attrs: {
|
|
106
|
+
[x: string]: unknown;
|
|
107
|
+
};
|
|
108
|
+
$refs: {
|
|
109
|
+
[x: string]: unknown;
|
|
110
|
+
};
|
|
111
|
+
$slots: Readonly<{
|
|
112
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
113
|
+
}>;
|
|
114
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
115
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
116
|
+
$host: Element | null;
|
|
117
|
+
$emit: (event: "product-tour:hide") => void;
|
|
118
|
+
$el: any;
|
|
119
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
120
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
121
|
+
}>, {
|
|
122
|
+
hide: () => void;
|
|
123
|
+
show: () => void;
|
|
124
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
125
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
126
|
+
"product-tour:hide": () => any;
|
|
127
|
+
}, string, {
|
|
128
|
+
open: boolean;
|
|
129
|
+
maxWidth: number;
|
|
130
|
+
position: "left" | "right" | "top" | "bottom";
|
|
131
|
+
step: number;
|
|
132
|
+
disableOverlay: boolean;
|
|
133
|
+
steps: number;
|
|
134
|
+
spotlightPadding: number;
|
|
135
|
+
closeButton: boolean;
|
|
136
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
137
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
138
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
139
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
140
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
141
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
142
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
143
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
144
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
145
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
146
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
147
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
148
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
149
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
150
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
151
|
+
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;
|
|
152
|
+
};
|
|
153
|
+
$forceUpdate: () => void;
|
|
154
|
+
$nextTick: typeof import("vue").nextTick;
|
|
155
|
+
$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;
|
|
156
|
+
} & Readonly<{
|
|
157
|
+
open: boolean;
|
|
158
|
+
maxWidth: number;
|
|
159
|
+
position: "left" | "right" | "top" | "bottom";
|
|
160
|
+
step: number;
|
|
161
|
+
disableOverlay: boolean;
|
|
162
|
+
steps: number;
|
|
163
|
+
spotlightPadding: number;
|
|
164
|
+
closeButton: boolean;
|
|
165
|
+
}> & Omit<Readonly<import("./JoyProductTour.types.js").VJoyProductTourProps> & Readonly<{
|
|
166
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
167
|
+
}>, "isOpen" | "hide" | "show" | ("open" | "maxWidth" | "position" | "step" | "disableOverlay" | "steps" | "spotlightPadding" | "closeButton")> & import("vue").ShallowUnwrapRef<{
|
|
168
|
+
hide: () => void;
|
|
169
|
+
show: () => void;
|
|
170
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
171
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
172
|
+
$slots: Readonly<import("./JoyProductTour.types.js").VJoyProductTourSlots> & import("./JoyProductTour.types.js").VJoyProductTourSlots;
|
|
173
|
+
}) | null>;
|
|
174
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { TJoyIconsNames } from '../JoyIcon/JoyIcon.types';
|
|
2
|
+
export declare const PRODUCT_TOUR_POSITIONS: readonly ["left", "right", "top", "bottom"];
|
|
3
|
+
export type TJoyProductTourPositions = (typeof PRODUCT_TOUR_POSITIONS)[number];
|
|
4
|
+
export interface IJoyProductTourShowParams {
|
|
5
|
+
highlightSelector?: HTMLElement;
|
|
6
|
+
}
|
|
7
|
+
export type TJoyProductTourEvents = {
|
|
8
|
+
'product-tour:show': string;
|
|
9
|
+
};
|
|
10
|
+
export interface VJoyProductTourProps {
|
|
11
|
+
icon?: TJoyIconsNames;
|
|
12
|
+
steps?: number;
|
|
13
|
+
step?: number;
|
|
14
|
+
position?: TJoyProductTourPositions;
|
|
15
|
+
open?: boolean;
|
|
16
|
+
maxWidth?: number;
|
|
17
|
+
disableOverlay?: boolean;
|
|
18
|
+
spotlightPadding?: number;
|
|
19
|
+
spotlightSelector: string;
|
|
20
|
+
closeButton?: boolean;
|
|
21
|
+
}
|
|
22
|
+
export interface VJoyProductTourSlots {
|
|
23
|
+
/** Allows to inject an image above the title */
|
|
24
|
+
'product-tour-banner'?: () => any;
|
|
25
|
+
/** Most of the time we use it to display tags, or short content */
|
|
26
|
+
'product-tour-preheader'?: () => any;
|
|
27
|
+
/** Title of the component */
|
|
28
|
+
'product-tour-header'?: () => any;
|
|
29
|
+
/** Main content. Put whatever you want here */
|
|
30
|
+
'product-tour-content'?: () => any;
|
|
31
|
+
/** The click here will automatically handle slotted VJoyButton with bubbling */
|
|
32
|
+
'product-tour-dismiss'?: () => any;
|
|
33
|
+
/** To display the main CTA. Component hiding needs to be made manually */
|
|
34
|
+
'product-tour-next'?: () => any;
|
|
35
|
+
}
|
|
36
|
+
export interface VJoyProductToursEvents {
|
|
37
|
+
'product-tour:hide': [];
|
|
38
|
+
}
|
package/dist/components/JoyProductTour/JoyProductTourSpotlight/VJoyProductTourSpotlight.vue.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
disableOverlay?: boolean | undefined;
|
|
3
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
4
|
+
disableOverlay?: boolean | undefined;
|
|
5
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
6
|
+
export default _default;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { VJoyProductTourProps, VJoyProductTourSlots } from './JoyProductTour.types';
|
|
2
|
+
declare function show(): void;
|
|
3
|
+
declare function hide(options?: {
|
|
4
|
+
fireHideEvent?: boolean;
|
|
5
|
+
}): void;
|
|
6
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJoyProductTourProps, {
|
|
7
|
+
show: typeof show;
|
|
8
|
+
hide: typeof hide;
|
|
9
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
10
|
+
"product-tour:hide": () => any;
|
|
11
|
+
}, string, import("vue").PublicProps, Readonly<VJoyProductTourProps> & Readonly<{
|
|
12
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
closeButton: boolean;
|
|
15
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { VJoyProductTourProps, VJoyProductTourSlots } from './JoyProductTour.types';
|
|
2
|
+
declare function show(): void;
|
|
3
|
+
declare function hide(): void;
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<VJoyProductTourProps, {
|
|
5
|
+
hide: typeof hide;
|
|
6
|
+
show: typeof show;
|
|
7
|
+
isOpen: import("vue").Ref<boolean, boolean>;
|
|
8
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"product-tour:hide": () => any;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<VJoyProductTourProps> & Readonly<{
|
|
11
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
open: boolean;
|
|
14
|
+
maxWidth: number;
|
|
15
|
+
position: "left" | "right" | "top" | "bottom";
|
|
16
|
+
step: number;
|
|
17
|
+
disableOverlay: boolean;
|
|
18
|
+
steps: number;
|
|
19
|
+
spotlightPadding: number;
|
|
20
|
+
closeButton: boolean;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<VJoyProductTourSlots> & VJoyProductTourSlots>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
24
|
+
new (): {
|
|
25
|
+
$slots: S;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
+
/** VJoyProductTour ref. */
|
|
3
|
+
productTour: ({
|
|
4
|
+
$: import("vue").ComponentInternalInstance;
|
|
5
|
+
$data: {};
|
|
6
|
+
$props: {
|
|
7
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
8
|
+
readonly steps?: number | undefined;
|
|
9
|
+
readonly step?: number | undefined;
|
|
10
|
+
readonly position?: "left" | "right" | "top" | "bottom" | undefined;
|
|
11
|
+
readonly open?: boolean | undefined;
|
|
12
|
+
readonly maxWidth?: number | undefined;
|
|
13
|
+
readonly disableOverlay?: boolean | undefined;
|
|
14
|
+
readonly spotlightPadding?: number | undefined;
|
|
15
|
+
readonly spotlightSelector: string;
|
|
16
|
+
readonly closeButton?: boolean | undefined;
|
|
17
|
+
readonly "onProduct-tour:hide"?: (() => any) | undefined;
|
|
18
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
19
|
+
$attrs: {
|
|
20
|
+
[x: string]: unknown;
|
|
21
|
+
};
|
|
22
|
+
$refs: {
|
|
23
|
+
[x: string]: unknown;
|
|
24
|
+
};
|
|
25
|
+
$slots: Readonly<{
|
|
26
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
27
|
+
}>;
|
|
28
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
29
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
30
|
+
$host: Element | null;
|
|
31
|
+
$emit: (event: "product-tour:hide") => void;
|
|
32
|
+
$el: any;
|
|
33
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
34
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
show: () => void;
|
|
37
|
+
hide: (options?: {
|
|
38
|
+
fireHideEvent?: boolean | undefined;
|
|
39
|
+
} | undefined) => void;
|
|
40
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
"product-tour:hide": () => any;
|
|
42
|
+
}, string, {
|
|
43
|
+
closeButton: boolean;
|
|
44
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
45
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
58
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
59
|
+
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;
|
|
60
|
+
};
|
|
61
|
+
$forceUpdate: () => void;
|
|
62
|
+
$nextTick: typeof import("vue").nextTick;
|
|
63
|
+
$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;
|
|
64
|
+
} & Readonly<{
|
|
65
|
+
closeButton: boolean;
|
|
66
|
+
}> & Omit<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
67
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
68
|
+
}>, "hide" | "show" | "closeButton"> & import("vue").ShallowUnwrapRef<{
|
|
69
|
+
show: () => void;
|
|
70
|
+
hide: (options?: {
|
|
71
|
+
fireHideEvent?: boolean | undefined;
|
|
72
|
+
} | undefined) => void;
|
|
73
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
74
|
+
$slots: Readonly<import("../components.types.js").VJoyProductTourSlots> & import("../components.types.js").VJoyProductTourSlots;
|
|
75
|
+
}) | null | undefined;
|
|
76
|
+
}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
77
|
+
click: () => any;
|
|
78
|
+
}, string, import("vue").PublicProps, Readonly<{
|
|
79
|
+
/** VJoyProductTour ref. */
|
|
80
|
+
productTour: ({
|
|
81
|
+
$: import("vue").ComponentInternalInstance;
|
|
82
|
+
$data: {};
|
|
83
|
+
$props: {
|
|
84
|
+
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
85
|
+
readonly steps?: number | undefined;
|
|
86
|
+
readonly step?: number | undefined;
|
|
87
|
+
readonly position?: "left" | "right" | "top" | "bottom" | undefined;
|
|
88
|
+
readonly open?: boolean | undefined;
|
|
89
|
+
readonly maxWidth?: number | undefined;
|
|
90
|
+
readonly disableOverlay?: boolean | undefined;
|
|
91
|
+
readonly spotlightPadding?: number | undefined;
|
|
92
|
+
readonly spotlightSelector: string;
|
|
93
|
+
readonly closeButton?: boolean | undefined;
|
|
94
|
+
readonly "onProduct-tour:hide"?: (() => any) | undefined;
|
|
95
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
|
|
96
|
+
$attrs: {
|
|
97
|
+
[x: string]: unknown;
|
|
98
|
+
};
|
|
99
|
+
$refs: {
|
|
100
|
+
[x: string]: unknown;
|
|
101
|
+
};
|
|
102
|
+
$slots: Readonly<{
|
|
103
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
106
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
|
|
107
|
+
$host: Element | null;
|
|
108
|
+
$emit: (event: "product-tour:hide") => void;
|
|
109
|
+
$el: any;
|
|
110
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
111
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
112
|
+
}>, {
|
|
113
|
+
show: () => void;
|
|
114
|
+
hide: (options?: {
|
|
115
|
+
fireHideEvent?: boolean | undefined;
|
|
116
|
+
} | undefined) => void;
|
|
117
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
118
|
+
"product-tour:hide": () => any;
|
|
119
|
+
}, string, {
|
|
120
|
+
closeButton: boolean;
|
|
121
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
122
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
123
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
124
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
125
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
126
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
127
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
128
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
129
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
130
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
131
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
132
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
133
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
134
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
135
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
136
|
+
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;
|
|
137
|
+
};
|
|
138
|
+
$forceUpdate: () => void;
|
|
139
|
+
$nextTick: typeof import("vue").nextTick;
|
|
140
|
+
$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;
|
|
141
|
+
} & Readonly<{
|
|
142
|
+
closeButton: boolean;
|
|
143
|
+
}> & Omit<Readonly<import("../components.types.js").VJoyProductTourProps> & Readonly<{
|
|
144
|
+
"onProduct-tour:hide"?: (() => any) | undefined;
|
|
145
|
+
}>, "hide" | "show" | "closeButton"> & import("vue").ShallowUnwrapRef<{
|
|
146
|
+
show: () => void;
|
|
147
|
+
hide: (options?: {
|
|
148
|
+
fireHideEvent?: boolean | undefined;
|
|
149
|
+
} | undefined) => void;
|
|
150
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
151
|
+
$slots: Readonly<import("../components.types.js").VJoyProductTourSlots> & import("../components.types.js").VJoyProductTourSlots;
|
|
152
|
+
}) | null | undefined;
|
|
153
|
+
}> & Readonly<{
|
|
154
|
+
onClick?: (() => any) | undefined;
|
|
155
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, Readonly<{
|
|
156
|
+
/** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
|
|
157
|
+
default: () => any;
|
|
158
|
+
}> & {
|
|
159
|
+
/** Default slot where you can render anything you need. Most of the time it's a VJoyButton */
|
|
160
|
+
default: () => any;
|
|
161
|
+
}>;
|
|
162
|
+
export default _default;
|
|
163
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
164
|
+
new (): {
|
|
165
|
+
$slots: S;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TJoyProgressBarColors } from './JoyProgressBar.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
/** import TJoyProgressBarColors */
|
|
5
|
+
color: {
|
|
6
|
+
type: PropType<TJoyProgressBarColors>;
|
|
7
|
+
default: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Total number of steps.
|
|
11
|
+
*/
|
|
12
|
+
steps: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Current step number.
|
|
17
|
+
*/
|
|
18
|
+
currentStep: {
|
|
19
|
+
type: NumberConstructor;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* Progress bar percentage, percentage usage will override steps & currentStep definition.
|
|
23
|
+
*/
|
|
24
|
+
percentage: {
|
|
25
|
+
type: NumberConstructor;
|
|
26
|
+
};
|
|
27
|
+
/** Display the actual progress value next to the bar */
|
|
28
|
+
showLabel: {
|
|
29
|
+
type: BooleanConstructor;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
}>, {
|
|
33
|
+
computeInnerWidth: import("vue").ComputedRef<string>;
|
|
34
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
35
|
+
/** import TJoyProgressBarColors */
|
|
36
|
+
color: {
|
|
37
|
+
type: PropType<TJoyProgressBarColors>;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
/**
|
|
41
|
+
* Total number of steps.
|
|
42
|
+
*/
|
|
43
|
+
steps: {
|
|
44
|
+
type: NumberConstructor;
|
|
45
|
+
};
|
|
46
|
+
/**
|
|
47
|
+
* Current step number.
|
|
48
|
+
*/
|
|
49
|
+
currentStep: {
|
|
50
|
+
type: NumberConstructor;
|
|
51
|
+
};
|
|
52
|
+
/**
|
|
53
|
+
* Progress bar percentage, percentage usage will override steps & currentStep definition.
|
|
54
|
+
*/
|
|
55
|
+
percentage: {
|
|
56
|
+
type: NumberConstructor;
|
|
57
|
+
};
|
|
58
|
+
/** Display the actual progress value next to the bar */
|
|
59
|
+
showLabel: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
63
|
+
}>> & Readonly<{}>, {
|
|
64
|
+
color: TJoyProgressBarColors;
|
|
65
|
+
showLabel: boolean;
|
|
66
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
67
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type RadioThemes = 'default' | 'outline';
|