@aitronos/freddy-plugins 0.1.22 → 0.1.23
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/index.cjs +1 -1
- package/dist/index.d.ts +142 -0
- package/dist/index.js +733 -520
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,90 @@
|
|
|
1
1
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
2
|
import { ComponentProvideOptions } from 'vue';
|
|
3
|
+
import { ComputedRef } from 'vue';
|
|
3
4
|
import { DefineComponent } from 'vue';
|
|
4
5
|
import { ExtractPropTypes } from 'vue';
|
|
5
6
|
import { PublicProps } from 'vue';
|
|
6
7
|
import { Ref } from 'vue';
|
|
7
8
|
|
|
9
|
+
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
10
|
+
isVisible: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
largeModel: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
19
|
+
close: (...args: any[]) => void;
|
|
20
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
21
|
+
isVisible: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default: boolean;
|
|
24
|
+
};
|
|
25
|
+
largeModel: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
}>> & Readonly<{
|
|
30
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
31
|
+
}>, {
|
|
32
|
+
isVisible: boolean;
|
|
33
|
+
largeModel: boolean;
|
|
34
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
|
|
36
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
37
|
+
close: (...args: any[]) => void;
|
|
38
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
39
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
40
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
41
|
+
|
|
42
|
+
declare type __VLS_Props = {
|
|
43
|
+
modalTitle: string;
|
|
44
|
+
headerClass: string;
|
|
45
|
+
disableClickOutside?: boolean;
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
declare type __VLS_Props_2 = {
|
|
49
|
+
customClass?: string;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
declare function __VLS_template(): {
|
|
53
|
+
attrs: Partial<{}>;
|
|
54
|
+
slots: {
|
|
55
|
+
header?(_: {}): any;
|
|
56
|
+
body?(_: {}): any;
|
|
57
|
+
footer?(_: {}): any;
|
|
58
|
+
};
|
|
59
|
+
refs: {};
|
|
60
|
+
rootEl: any;
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
declare function __VLS_template_2(): {
|
|
64
|
+
attrs: Partial<{}>;
|
|
65
|
+
slots: {
|
|
66
|
+
content?(_: {}): any;
|
|
67
|
+
};
|
|
68
|
+
refs: {};
|
|
69
|
+
rootEl: HTMLDivElement;
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
73
|
+
|
|
74
|
+
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
75
|
+
|
|
76
|
+
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
77
|
+
new (): {
|
|
78
|
+
$slots: S;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
83
|
+
new (): {
|
|
84
|
+
$slots: S;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
|
|
8
88
|
export declare const IconAitronos: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
9
89
|
|
|
10
90
|
export declare const IconApplePay: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
@@ -254,16 +334,61 @@ export declare const IconZip: DefineComponent< {}, {}, {}, {}, {}, ComponentO
|
|
|
254
334
|
|
|
255
335
|
export declare const IconzipThumbnail: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, SVGSVGElement>;
|
|
256
336
|
|
|
337
|
+
export declare const ModalBox: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
338
|
+
|
|
339
|
+
export declare const ModalOverlay: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
340
|
+
|
|
257
341
|
export declare const MyButton: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
258
342
|
|
|
343
|
+
export declare const SearchInput: DefineComponent<ExtractPropTypes< {
|
|
344
|
+
placeholder: {
|
|
345
|
+
type: StringConstructor;
|
|
346
|
+
default: () => string;
|
|
347
|
+
};
|
|
348
|
+
showLoaderForSearch: {
|
|
349
|
+
type: BooleanConstructor;
|
|
350
|
+
default: () => boolean;
|
|
351
|
+
};
|
|
352
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
353
|
+
"update:searchInput": (inputValue: string | null) => any;
|
|
354
|
+
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
355
|
+
placeholder: {
|
|
356
|
+
type: StringConstructor;
|
|
357
|
+
default: () => string;
|
|
358
|
+
};
|
|
359
|
+
showLoaderForSearch: {
|
|
360
|
+
type: BooleanConstructor;
|
|
361
|
+
default: () => boolean;
|
|
362
|
+
};
|
|
363
|
+
}>> & Readonly<{
|
|
364
|
+
"onUpdate:searchInput"?: ((inputValue: string | null) => any) | undefined;
|
|
365
|
+
}>, {
|
|
366
|
+
placeholder: string;
|
|
367
|
+
showLoaderForSearch: boolean;
|
|
368
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
369
|
+
dropdownRef: HTMLDivElement;
|
|
370
|
+
searchInput: HTMLInputElement;
|
|
371
|
+
}, HTMLDivElement>;
|
|
372
|
+
|
|
259
373
|
export declare interface Snack {
|
|
260
374
|
title: string;
|
|
261
375
|
message: string;
|
|
262
376
|
toastType: ToastType;
|
|
377
|
+
duration?: number;
|
|
263
378
|
}
|
|
264
379
|
|
|
265
380
|
export declare const SnackBar: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
266
381
|
|
|
382
|
+
export declare const Spinner: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
383
|
+
|
|
384
|
+
declare interface Toast {
|
|
385
|
+
message: string;
|
|
386
|
+
toastType: "success" | "danger" | "info";
|
|
387
|
+
duration?: number;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
export declare const ToastMessage: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
391
|
+
|
|
267
392
|
declare type ToastType = "success" | "danger" | "info";
|
|
268
393
|
|
|
269
394
|
export declare const useSnackBar: () => {
|
|
@@ -271,12 +396,29 @@ export declare const useSnackBar: () => {
|
|
|
271
396
|
title: string;
|
|
272
397
|
message: string;
|
|
273
398
|
toastType: ToastType;
|
|
399
|
+
duration?: number | undefined;
|
|
274
400
|
}[], Snack[] | {
|
|
275
401
|
title: string;
|
|
276
402
|
message: string;
|
|
277
403
|
toastType: ToastType;
|
|
404
|
+
duration?: number | undefined;
|
|
278
405
|
}[]>;
|
|
279
406
|
showToast: (snack: Snack) => void;
|
|
407
|
+
removeToast: (snack: Snack) => void;
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
export declare const useToast: () => {
|
|
411
|
+
toastQueue: Ref< {
|
|
412
|
+
message: string;
|
|
413
|
+
toastType: "success" | "danger" | "info";
|
|
414
|
+
duration?: number | undefined;
|
|
415
|
+
}[], Toast[] | {
|
|
416
|
+
message: string;
|
|
417
|
+
toastType: "success" | "danger" | "info";
|
|
418
|
+
duration?: number | undefined;
|
|
419
|
+
}[]>;
|
|
420
|
+
addToast: (toast: Toast) => void;
|
|
421
|
+
hasToasts: ComputedRef<boolean>;
|
|
280
422
|
};
|
|
281
423
|
|
|
282
424
|
export { }
|