@maltjoy/core-vue 3.28.1 → 3.29.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/JoyButton/JoyButton.types.d.ts +1 -1
- package/dist/components/JoyPanel/JoyPanel.types.d.ts +1 -0
- package/dist/components/JoyPanel/VJoyPanel.vue.d.ts +10 -1
- package/dist/components/JoyProductTour/JoyProductTour.store.d.ts +7 -370
- package/dist/components/JoyProductTour/JoyProductTour.types.d.ts +1 -1
- package/dist/components/JoyProductTourTrigger/VJoyProductTourTrigger.vue.d.ts +8 -2
- package/dist/joy-vue.js +2239 -2553
- package/dist/joy-vue.umd.cjs +4 -12
- package/dist/style.css +1 -1
- package/package.json +4 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { TGenericVariants, TPositions, TSizes } from '../../types';
|
|
2
|
-
export type TJoyButtonVariants = TGenericVariants | 'main' | 'admin' | 'ghost' | 'white';
|
|
2
|
+
export type TJoyButtonVariants = TGenericVariants | 'main' | 'admin' | 'ghost' | 'white' | 'main-ai';
|
|
3
3
|
export type TJoyButtonSizes = Exclude<TSizes, 'xlarge'>;
|
|
4
4
|
export type TJoyButtonIconPositions = TPositions;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { TJoyPanelSizes, TJoyPanelTitleSizes } from './JoyPanel.types';
|
|
2
|
+
import { TJoyPanelSizes, TJoyPanelTitleSizes, TJoyPanelVariants } from './JoyPanel.types';
|
|
3
3
|
import { TJoyScreenLoaderColors } from '../JoyScreenLoader/VJoyScreenLoader.types';
|
|
4
4
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
5
5
|
flex: {
|
|
@@ -25,6 +25,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
25
25
|
type: PropType<TJoyScreenLoaderColors>;
|
|
26
26
|
default: string;
|
|
27
27
|
};
|
|
28
|
+
variant: {
|
|
29
|
+
type: PropType<TJoyPanelVariants>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
28
32
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
33
|
flex: {
|
|
30
34
|
type: StringConstructor;
|
|
@@ -49,8 +53,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
53
|
type: PropType<TJoyScreenLoaderColors>;
|
|
50
54
|
default: string;
|
|
51
55
|
};
|
|
56
|
+
variant: {
|
|
57
|
+
type: PropType<TJoyPanelVariants>;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
52
60
|
}>>, {
|
|
53
61
|
loading: boolean;
|
|
62
|
+
variant: TJoyPanelVariants;
|
|
54
63
|
noMargin: boolean;
|
|
55
64
|
padding: TJoyPanelSizes;
|
|
56
65
|
titleSize: TJoyPanelTitleSizes;
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { TJoyProductTourEvents } from './JoyProductTour.types';
|
|
2
1
|
import VJoyProductTourInner from './VJoyProductTourInner.vue';
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyProductTours", import("pinia")._UnwrapAll<Pick<{
|
|
2
|
+
export declare const productTourState: {
|
|
5
3
|
clearProductTourRef: () => void;
|
|
6
4
|
storeProductTourRef: (productTourInstance?: InstanceType<typeof VJoyProductTourInner>) => void;
|
|
7
|
-
productToursRef: import("vue").
|
|
5
|
+
productToursRef: import("vue").Ref<({
|
|
8
6
|
$: import("vue").ComponentInternalInstance;
|
|
9
7
|
$data: {};
|
|
10
8
|
$props: Partial<{
|
|
@@ -23,8 +21,8 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
|
|
|
23
21
|
readonly maxWidth: number;
|
|
24
22
|
readonly disableOverlay: boolean;
|
|
25
23
|
readonly spotlightPadding: number;
|
|
24
|
+
readonly spotlightSelector: string;
|
|
26
25
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
27
|
-
readonly spotlightSelector?: string | undefined;
|
|
28
26
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
29
27
|
icon: {
|
|
30
28
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -59,6 +57,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
|
|
|
59
57
|
};
|
|
60
58
|
spotlightSelector: {
|
|
61
59
|
type: import("vue").PropType<string>;
|
|
60
|
+
required: true;
|
|
62
61
|
};
|
|
63
62
|
}>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
|
|
64
63
|
$attrs: {
|
|
@@ -108,6 +107,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
|
|
|
108
107
|
};
|
|
109
108
|
spotlightSelector: {
|
|
110
109
|
type: import("vue").PropType<string>;
|
|
110
|
+
required: true;
|
|
111
111
|
};
|
|
112
112
|
}>>, {
|
|
113
113
|
hide: () => void;
|
|
@@ -175,6 +175,7 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
|
|
|
175
175
|
};
|
|
176
176
|
spotlightSelector: {
|
|
177
177
|
type: import("vue").PropType<string>;
|
|
178
|
+
required: true;
|
|
178
179
|
};
|
|
179
180
|
}>>, "hide" | "show" | "isOpen"> & import("vue").ShallowUnwrapRef<{
|
|
180
181
|
hide: () => void;
|
|
@@ -183,368 +184,4 @@ export declare const useProductTourStore: import("pinia").StoreDefinition<"VJoyP
|
|
|
183
184
|
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
184
185
|
$slots: Readonly<import("./JoyProductTour.types").VJoyProductTourSlots> & import("./JoyProductTour.types").VJoyProductTourSlots;
|
|
185
186
|
}) | null>;
|
|
186
|
-
}
|
|
187
|
-
clearProductTourRef: () => void;
|
|
188
|
-
storeProductTourRef: (productTourInstance?: InstanceType<typeof VJoyProductTourInner>) => void;
|
|
189
|
-
productToursRef: import("vue").ShallowRef<({
|
|
190
|
-
$: import("vue").ComponentInternalInstance;
|
|
191
|
-
$data: {};
|
|
192
|
-
$props: Partial<{
|
|
193
|
-
open: boolean;
|
|
194
|
-
step: number;
|
|
195
|
-
steps: number;
|
|
196
|
-
position: "left" | "right" | "bottom" | "top";
|
|
197
|
-
maxWidth: number;
|
|
198
|
-
disableOverlay: boolean;
|
|
199
|
-
spotlightPadding: number;
|
|
200
|
-
}> & Omit<{
|
|
201
|
-
readonly open: boolean;
|
|
202
|
-
readonly step: number;
|
|
203
|
-
readonly steps: number;
|
|
204
|
-
readonly position: "left" | "right" | "bottom" | "top";
|
|
205
|
-
readonly maxWidth: number;
|
|
206
|
-
readonly disableOverlay: boolean;
|
|
207
|
-
readonly spotlightPadding: number;
|
|
208
|
-
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
209
|
-
readonly spotlightSelector?: string | undefined;
|
|
210
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
211
|
-
icon: {
|
|
212
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
213
|
-
};
|
|
214
|
-
open: {
|
|
215
|
-
type: import("vue").PropType<boolean>;
|
|
216
|
-
default: boolean;
|
|
217
|
-
};
|
|
218
|
-
step: {
|
|
219
|
-
type: import("vue").PropType<number>;
|
|
220
|
-
default: number;
|
|
221
|
-
};
|
|
222
|
-
steps: {
|
|
223
|
-
type: import("vue").PropType<number>;
|
|
224
|
-
default: number;
|
|
225
|
-
};
|
|
226
|
-
position: {
|
|
227
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
228
|
-
default: string;
|
|
229
|
-
};
|
|
230
|
-
maxWidth: {
|
|
231
|
-
type: import("vue").PropType<number>;
|
|
232
|
-
default: number;
|
|
233
|
-
};
|
|
234
|
-
disableOverlay: {
|
|
235
|
-
type: import("vue").PropType<boolean>;
|
|
236
|
-
default: boolean;
|
|
237
|
-
};
|
|
238
|
-
spotlightPadding: {
|
|
239
|
-
type: import("vue").PropType<number>;
|
|
240
|
-
default: number;
|
|
241
|
-
};
|
|
242
|
-
spotlightSelector: {
|
|
243
|
-
type: import("vue").PropType<string>;
|
|
244
|
-
};
|
|
245
|
-
}>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
|
|
246
|
-
$attrs: {
|
|
247
|
-
[x: string]: unknown;
|
|
248
|
-
};
|
|
249
|
-
$refs: {
|
|
250
|
-
[x: string]: unknown;
|
|
251
|
-
};
|
|
252
|
-
$slots: Readonly<{
|
|
253
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
254
|
-
}>;
|
|
255
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
256
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
257
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
258
|
-
$el: any;
|
|
259
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
260
|
-
icon: {
|
|
261
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
262
|
-
};
|
|
263
|
-
open: {
|
|
264
|
-
type: import("vue").PropType<boolean>;
|
|
265
|
-
default: boolean;
|
|
266
|
-
};
|
|
267
|
-
step: {
|
|
268
|
-
type: import("vue").PropType<number>;
|
|
269
|
-
default: number;
|
|
270
|
-
};
|
|
271
|
-
steps: {
|
|
272
|
-
type: import("vue").PropType<number>;
|
|
273
|
-
default: number;
|
|
274
|
-
};
|
|
275
|
-
position: {
|
|
276
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
277
|
-
default: string;
|
|
278
|
-
};
|
|
279
|
-
maxWidth: {
|
|
280
|
-
type: import("vue").PropType<number>;
|
|
281
|
-
default: number;
|
|
282
|
-
};
|
|
283
|
-
disableOverlay: {
|
|
284
|
-
type: import("vue").PropType<boolean>;
|
|
285
|
-
default: boolean;
|
|
286
|
-
};
|
|
287
|
-
spotlightPadding: {
|
|
288
|
-
type: import("vue").PropType<number>;
|
|
289
|
-
default: number;
|
|
290
|
-
};
|
|
291
|
-
spotlightSelector: {
|
|
292
|
-
type: import("vue").PropType<string>;
|
|
293
|
-
};
|
|
294
|
-
}>>, {
|
|
295
|
-
hide: () => void;
|
|
296
|
-
show: () => void;
|
|
297
|
-
isOpen: import("vue").Ref<boolean>;
|
|
298
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
299
|
-
open: boolean;
|
|
300
|
-
step: number;
|
|
301
|
-
steps: number;
|
|
302
|
-
position: "left" | "right" | "bottom" | "top";
|
|
303
|
-
maxWidth: number;
|
|
304
|
-
disableOverlay: boolean;
|
|
305
|
-
spotlightPadding: number;
|
|
306
|
-
}, {}, string, {}> & {
|
|
307
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
308
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
309
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
310
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
311
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
312
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
313
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
314
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
315
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
316
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
317
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
318
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
319
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
320
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
321
|
-
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;
|
|
322
|
-
};
|
|
323
|
-
$forceUpdate: () => void;
|
|
324
|
-
$nextTick: typeof import("vue").nextTick;
|
|
325
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
326
|
-
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
327
|
-
icon: {
|
|
328
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
329
|
-
};
|
|
330
|
-
open: {
|
|
331
|
-
type: import("vue").PropType<boolean>;
|
|
332
|
-
default: boolean;
|
|
333
|
-
};
|
|
334
|
-
step: {
|
|
335
|
-
type: import("vue").PropType<number>;
|
|
336
|
-
default: number;
|
|
337
|
-
};
|
|
338
|
-
steps: {
|
|
339
|
-
type: import("vue").PropType<number>;
|
|
340
|
-
default: number;
|
|
341
|
-
};
|
|
342
|
-
position: {
|
|
343
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
344
|
-
default: string;
|
|
345
|
-
};
|
|
346
|
-
maxWidth: {
|
|
347
|
-
type: import("vue").PropType<number>;
|
|
348
|
-
default: number;
|
|
349
|
-
};
|
|
350
|
-
disableOverlay: {
|
|
351
|
-
type: import("vue").PropType<boolean>;
|
|
352
|
-
default: boolean;
|
|
353
|
-
};
|
|
354
|
-
spotlightPadding: {
|
|
355
|
-
type: import("vue").PropType<number>;
|
|
356
|
-
default: number;
|
|
357
|
-
};
|
|
358
|
-
spotlightSelector: {
|
|
359
|
-
type: import("vue").PropType<string>;
|
|
360
|
-
};
|
|
361
|
-
}>>, "hide" | "show" | "isOpen"> & import("vue").ShallowUnwrapRef<{
|
|
362
|
-
hide: () => void;
|
|
363
|
-
show: () => void;
|
|
364
|
-
isOpen: import("vue").Ref<boolean>;
|
|
365
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
366
|
-
$slots: Readonly<import("./JoyProductTour.types").VJoyProductTourSlots> & import("./JoyProductTour.types").VJoyProductTourSlots;
|
|
367
|
-
}) | null>;
|
|
368
|
-
}, never>, Pick<{
|
|
369
|
-
clearProductTourRef: () => void;
|
|
370
|
-
storeProductTourRef: (productTourInstance?: InstanceType<typeof VJoyProductTourInner>) => void;
|
|
371
|
-
productToursRef: import("vue").ShallowRef<({
|
|
372
|
-
$: import("vue").ComponentInternalInstance;
|
|
373
|
-
$data: {};
|
|
374
|
-
$props: Partial<{
|
|
375
|
-
open: boolean;
|
|
376
|
-
step: number;
|
|
377
|
-
steps: number;
|
|
378
|
-
position: "left" | "right" | "bottom" | "top";
|
|
379
|
-
maxWidth: number;
|
|
380
|
-
disableOverlay: boolean;
|
|
381
|
-
spotlightPadding: number;
|
|
382
|
-
}> & Omit<{
|
|
383
|
-
readonly open: boolean;
|
|
384
|
-
readonly step: number;
|
|
385
|
-
readonly steps: number;
|
|
386
|
-
readonly position: "left" | "right" | "bottom" | "top";
|
|
387
|
-
readonly maxWidth: number;
|
|
388
|
-
readonly disableOverlay: boolean;
|
|
389
|
-
readonly spotlightPadding: number;
|
|
390
|
-
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
391
|
-
readonly spotlightSelector?: string | undefined;
|
|
392
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
393
|
-
icon: {
|
|
394
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
395
|
-
};
|
|
396
|
-
open: {
|
|
397
|
-
type: import("vue").PropType<boolean>;
|
|
398
|
-
default: boolean;
|
|
399
|
-
};
|
|
400
|
-
step: {
|
|
401
|
-
type: import("vue").PropType<number>;
|
|
402
|
-
default: number;
|
|
403
|
-
};
|
|
404
|
-
steps: {
|
|
405
|
-
type: import("vue").PropType<number>;
|
|
406
|
-
default: number;
|
|
407
|
-
};
|
|
408
|
-
position: {
|
|
409
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
410
|
-
default: string;
|
|
411
|
-
};
|
|
412
|
-
maxWidth: {
|
|
413
|
-
type: import("vue").PropType<number>;
|
|
414
|
-
default: number;
|
|
415
|
-
};
|
|
416
|
-
disableOverlay: {
|
|
417
|
-
type: import("vue").PropType<boolean>;
|
|
418
|
-
default: boolean;
|
|
419
|
-
};
|
|
420
|
-
spotlightPadding: {
|
|
421
|
-
type: import("vue").PropType<number>;
|
|
422
|
-
default: number;
|
|
423
|
-
};
|
|
424
|
-
spotlightSelector: {
|
|
425
|
-
type: import("vue").PropType<string>;
|
|
426
|
-
};
|
|
427
|
-
}>>, "open" | "step" | "steps" | "position" | "maxWidth" | "disableOverlay" | "spotlightPadding">;
|
|
428
|
-
$attrs: {
|
|
429
|
-
[x: string]: unknown;
|
|
430
|
-
};
|
|
431
|
-
$refs: {
|
|
432
|
-
[x: string]: unknown;
|
|
433
|
-
};
|
|
434
|
-
$slots: Readonly<{
|
|
435
|
-
[name: string]: import("vue").Slot<any> | undefined;
|
|
436
|
-
}>;
|
|
437
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
438
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
439
|
-
$emit: (event: string, ...args: any[]) => void;
|
|
440
|
-
$el: any;
|
|
441
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
442
|
-
icon: {
|
|
443
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
444
|
-
};
|
|
445
|
-
open: {
|
|
446
|
-
type: import("vue").PropType<boolean>;
|
|
447
|
-
default: boolean;
|
|
448
|
-
};
|
|
449
|
-
step: {
|
|
450
|
-
type: import("vue").PropType<number>;
|
|
451
|
-
default: number;
|
|
452
|
-
};
|
|
453
|
-
steps: {
|
|
454
|
-
type: import("vue").PropType<number>;
|
|
455
|
-
default: number;
|
|
456
|
-
};
|
|
457
|
-
position: {
|
|
458
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
459
|
-
default: string;
|
|
460
|
-
};
|
|
461
|
-
maxWidth: {
|
|
462
|
-
type: import("vue").PropType<number>;
|
|
463
|
-
default: number;
|
|
464
|
-
};
|
|
465
|
-
disableOverlay: {
|
|
466
|
-
type: import("vue").PropType<boolean>;
|
|
467
|
-
default: boolean;
|
|
468
|
-
};
|
|
469
|
-
spotlightPadding: {
|
|
470
|
-
type: import("vue").PropType<number>;
|
|
471
|
-
default: number;
|
|
472
|
-
};
|
|
473
|
-
spotlightSelector: {
|
|
474
|
-
type: import("vue").PropType<string>;
|
|
475
|
-
};
|
|
476
|
-
}>>, {
|
|
477
|
-
hide: () => void;
|
|
478
|
-
show: () => void;
|
|
479
|
-
isOpen: import("vue").Ref<boolean>;
|
|
480
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
481
|
-
open: boolean;
|
|
482
|
-
step: number;
|
|
483
|
-
steps: number;
|
|
484
|
-
position: "left" | "right" | "bottom" | "top";
|
|
485
|
-
maxWidth: number;
|
|
486
|
-
disableOverlay: boolean;
|
|
487
|
-
spotlightPadding: number;
|
|
488
|
-
}, {}, string, {}> & {
|
|
489
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
490
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
491
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
492
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
493
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
494
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
495
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
496
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
497
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
498
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
499
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
500
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
501
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
502
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
503
|
-
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;
|
|
504
|
-
};
|
|
505
|
-
$forceUpdate: () => void;
|
|
506
|
-
$nextTick: typeof import("vue").nextTick;
|
|
507
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
508
|
-
} & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
509
|
-
icon: {
|
|
510
|
-
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
511
|
-
};
|
|
512
|
-
open: {
|
|
513
|
-
type: import("vue").PropType<boolean>;
|
|
514
|
-
default: boolean;
|
|
515
|
-
};
|
|
516
|
-
step: {
|
|
517
|
-
type: import("vue").PropType<number>;
|
|
518
|
-
default: number;
|
|
519
|
-
};
|
|
520
|
-
steps: {
|
|
521
|
-
type: import("vue").PropType<number>;
|
|
522
|
-
default: number;
|
|
523
|
-
};
|
|
524
|
-
position: {
|
|
525
|
-
type: import("vue").PropType<"left" | "right" | "bottom" | "top">;
|
|
526
|
-
default: string;
|
|
527
|
-
};
|
|
528
|
-
maxWidth: {
|
|
529
|
-
type: import("vue").PropType<number>;
|
|
530
|
-
default: number;
|
|
531
|
-
};
|
|
532
|
-
disableOverlay: {
|
|
533
|
-
type: import("vue").PropType<boolean>;
|
|
534
|
-
default: boolean;
|
|
535
|
-
};
|
|
536
|
-
spotlightPadding: {
|
|
537
|
-
type: import("vue").PropType<number>;
|
|
538
|
-
default: number;
|
|
539
|
-
};
|
|
540
|
-
spotlightSelector: {
|
|
541
|
-
type: import("vue").PropType<string>;
|
|
542
|
-
};
|
|
543
|
-
}>>, "hide" | "show" | "isOpen"> & import("vue").ShallowUnwrapRef<{
|
|
544
|
-
hide: () => void;
|
|
545
|
-
show: () => void;
|
|
546
|
-
isOpen: import("vue").Ref<boolean>;
|
|
547
|
-
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
548
|
-
$slots: Readonly<import("./JoyProductTour.types").VJoyProductTourSlots> & import("./JoyProductTour.types").VJoyProductTourSlots;
|
|
549
|
-
}) | null>;
|
|
550
|
-
}, "clearProductTourRef" | "storeProductTourRef">>;
|
|
187
|
+
};
|
|
@@ -16,7 +16,7 @@ export interface VJoyProductTourProps {
|
|
|
16
16
|
maxWidth?: number;
|
|
17
17
|
disableOverlay?: boolean;
|
|
18
18
|
spotlightPadding?: number;
|
|
19
|
-
spotlightSelector
|
|
19
|
+
spotlightSelector: string;
|
|
20
20
|
}
|
|
21
21
|
export interface VJoyProductTourSlots {
|
|
22
22
|
/** Most of the time we use it to display tags, or short content */
|
|
@@ -4,6 +4,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
4
4
|
$: import("vue").ComponentInternalInstance;
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{}> & Omit<{
|
|
7
|
+
readonly spotlightSelector: string;
|
|
7
8
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
8
9
|
readonly open?: boolean | undefined;
|
|
9
10
|
readonly step?: number | undefined;
|
|
@@ -12,7 +13,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
12
13
|
readonly maxWidth?: number | undefined;
|
|
13
14
|
readonly disableOverlay?: boolean | undefined;
|
|
14
15
|
readonly spotlightPadding?: number | undefined;
|
|
15
|
-
readonly spotlightSelector?: string | undefined;
|
|
16
16
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
icon: {
|
|
18
18
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -40,6 +40,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
40
40
|
};
|
|
41
41
|
spotlightSelector: {
|
|
42
42
|
type: import("vue").PropType<string>;
|
|
43
|
+
required: true;
|
|
43
44
|
};
|
|
44
45
|
}>>, never>;
|
|
45
46
|
$attrs: {
|
|
@@ -82,6 +83,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
82
83
|
};
|
|
83
84
|
spotlightSelector: {
|
|
84
85
|
type: import("vue").PropType<string>;
|
|
86
|
+
required: true;
|
|
85
87
|
};
|
|
86
88
|
}>>, {
|
|
87
89
|
show: () => void;
|
|
@@ -133,6 +135,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
133
135
|
};
|
|
134
136
|
spotlightSelector: {
|
|
135
137
|
type: import("vue").PropType<string>;
|
|
138
|
+
required: true;
|
|
136
139
|
};
|
|
137
140
|
}>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
138
141
|
show: () => void;
|
|
@@ -148,6 +151,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
148
151
|
$: import("vue").ComponentInternalInstance;
|
|
149
152
|
$data: {};
|
|
150
153
|
$props: Partial<{}> & Omit<{
|
|
154
|
+
readonly spotlightSelector: string;
|
|
151
155
|
readonly icon?: import("@maltjoy/icons").JoyIconsId | undefined;
|
|
152
156
|
readonly open?: boolean | undefined;
|
|
153
157
|
readonly step?: number | undefined;
|
|
@@ -156,7 +160,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
156
160
|
readonly maxWidth?: number | undefined;
|
|
157
161
|
readonly disableOverlay?: boolean | undefined;
|
|
158
162
|
readonly spotlightPadding?: number | undefined;
|
|
159
|
-
readonly spotlightSelector?: string | undefined;
|
|
160
163
|
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
161
164
|
icon: {
|
|
162
165
|
type: import("vue").PropType<import("@maltjoy/icons").JoyIconsId>;
|
|
@@ -184,6 +187,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
184
187
|
};
|
|
185
188
|
spotlightSelector: {
|
|
186
189
|
type: import("vue").PropType<string>;
|
|
190
|
+
required: true;
|
|
187
191
|
};
|
|
188
192
|
}>>, never>;
|
|
189
193
|
$attrs: {
|
|
@@ -226,6 +230,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
226
230
|
};
|
|
227
231
|
spotlightSelector: {
|
|
228
232
|
type: import("vue").PropType<string>;
|
|
233
|
+
required: true;
|
|
229
234
|
};
|
|
230
235
|
}>>, {
|
|
231
236
|
show: () => void;
|
|
@@ -277,6 +282,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
277
282
|
};
|
|
278
283
|
spotlightSelector: {
|
|
279
284
|
type: import("vue").PropType<string>;
|
|
285
|
+
required: true;
|
|
280
286
|
};
|
|
281
287
|
}>>, "hide" | "show"> & import("vue").ShallowUnwrapRef<{
|
|
282
288
|
show: () => void;
|