@aitronos/freddy-plugins 0.2.7 → 0.3.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/CHANGELOG.md +8 -0
- package/dist/freddy-plugins.css +1 -1
- package/dist/index.cjs +35 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +17 -53
- package/dist/index.js +1204 -1148
- package/dist/index.js.map +1 -1
- package/package.json +9 -3
package/dist/index.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import { ComputedRef } from 'vue';
|
|
|
6
6
|
import { DefineComponent } from 'vue';
|
|
7
7
|
import { DirectiveBinding } from 'vue';
|
|
8
8
|
import { ExtractPropTypes } from 'vue';
|
|
9
|
+
import { default as ModalBox } from './ModalBox.vue';
|
|
9
10
|
import { PublicProps } from 'vue';
|
|
10
11
|
import { Ref } from 'vue';
|
|
11
12
|
|
|
@@ -61,40 +62,13 @@ variant: "primary" | "secondary" | "blanc";
|
|
|
61
62
|
stayOpen: boolean;
|
|
62
63
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
63
64
|
|
|
64
|
-
declare const __VLS_component_4: DefineComponent<
|
|
65
|
-
isVisible: {
|
|
66
|
-
type: BooleanConstructor;
|
|
67
|
-
default: boolean;
|
|
68
|
-
};
|
|
69
|
-
largeModel: {
|
|
70
|
-
type: BooleanConstructor;
|
|
71
|
-
default: boolean;
|
|
72
|
-
};
|
|
73
|
-
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
74
|
-
close: (...args: any[]) => void;
|
|
75
|
-
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
76
|
-
isVisible: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
largeModel: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
}>> & Readonly<{
|
|
85
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
}>, {
|
|
87
|
-
isVisible: boolean;
|
|
88
|
-
largeModel: boolean;
|
|
89
|
-
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
90
|
-
|
|
91
|
-
declare const __VLS_component_5: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
65
|
+
declare const __VLS_component_4: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
92
66
|
close: (...args: any[]) => void;
|
|
93
67
|
}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
|
|
94
68
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
95
69
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
96
70
|
|
|
97
|
-
declare const
|
|
71
|
+
declare const __VLS_component_5: DefineComponent<TooltipProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<TooltipProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
98
72
|
tooltipWrapper: HTMLDivElement;
|
|
99
73
|
}, HTMLDivElement>;
|
|
100
74
|
|
|
@@ -173,17 +147,6 @@ declare function __VLS_template_3(): {
|
|
|
173
147
|
};
|
|
174
148
|
|
|
175
149
|
declare function __VLS_template_4(): {
|
|
176
|
-
attrs: Partial<{}>;
|
|
177
|
-
slots: {
|
|
178
|
-
header?(_: {}): any;
|
|
179
|
-
body?(_: {}): any;
|
|
180
|
-
footer?(_: {}): any;
|
|
181
|
-
};
|
|
182
|
-
refs: {};
|
|
183
|
-
rootEl: any;
|
|
184
|
-
};
|
|
185
|
-
|
|
186
|
-
declare function __VLS_template_5(): {
|
|
187
150
|
attrs: Partial<{}>;
|
|
188
151
|
slots: {
|
|
189
152
|
content?(_: {}): any;
|
|
@@ -192,7 +155,7 @@ declare function __VLS_template_5(): {
|
|
|
192
155
|
rootEl: HTMLDivElement;
|
|
193
156
|
};
|
|
194
157
|
|
|
195
|
-
declare function
|
|
158
|
+
declare function __VLS_template_5(): {
|
|
196
159
|
attrs: Partial<{}>;
|
|
197
160
|
slots: {
|
|
198
161
|
default?(_: {}): any;
|
|
@@ -214,8 +177,6 @@ declare type __VLS_TemplateResult_4 = ReturnType<typeof __VLS_template_4>;
|
|
|
214
177
|
|
|
215
178
|
declare type __VLS_TemplateResult_5 = ReturnType<typeof __VLS_template_5>;
|
|
216
179
|
|
|
217
|
-
declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
218
|
-
|
|
219
180
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
220
181
|
new (): {
|
|
221
182
|
$slots: S;
|
|
@@ -246,14 +207,10 @@ declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
|
246
207
|
};
|
|
247
208
|
};
|
|
248
209
|
|
|
249
|
-
declare type __VLS_WithTemplateSlots_6<T, S> = T & {
|
|
250
|
-
new (): {
|
|
251
|
-
$slots: S;
|
|
252
|
-
};
|
|
253
|
-
};
|
|
254
|
-
|
|
255
210
|
export declare const AdvancedModal: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
256
211
|
|
|
212
|
+
export declare const AnimeSpaceman: DefineComponent<SpacemanLogoProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<SpacemanLogoProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, SVGSVGElement>;
|
|
213
|
+
|
|
257
214
|
export declare const Button: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
258
215
|
|
|
259
216
|
/**
|
|
@@ -712,9 +669,9 @@ onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
|
712
669
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
713
670
|
"onTrailing-button-click"?: ((event: MouseEvent) => any) | undefined;
|
|
714
671
|
}>, {
|
|
672
|
+
label: string;
|
|
715
673
|
type: "default" | "leading-dropdown" | "trailing-dropdown" | "leading-text" | "payment" | "trailing-button" | "clear" | "freddy-input";
|
|
716
674
|
placeholder: string;
|
|
717
|
-
label: string;
|
|
718
675
|
size: "sm" | "md" | "lg";
|
|
719
676
|
disabled: boolean;
|
|
720
677
|
destructive: boolean;
|
|
@@ -758,9 +715,9 @@ brand: "contentplate" | "flowplate" | "flowplate-csv" | "freddy";
|
|
|
758
715
|
showTitle: boolean;
|
|
759
716
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
760
717
|
|
|
761
|
-
export
|
|
718
|
+
export { ModalBox }
|
|
762
719
|
|
|
763
|
-
export declare const ModalOverlay:
|
|
720
|
+
export declare const ModalOverlay: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
764
721
|
|
|
765
722
|
export declare function openConfirmBoxModal(title: string, description: string): Promise<boolean>;
|
|
766
723
|
|
|
@@ -939,6 +896,13 @@ export declare interface Snack {
|
|
|
939
896
|
|
|
940
897
|
export declare const SnackBar: DefineComponent< {}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
941
898
|
|
|
899
|
+
declare interface SpacemanLogoProps {
|
|
900
|
+
/** Custom CSS class to apply to the component */
|
|
901
|
+
customClass?: string;
|
|
902
|
+
/** Custom inline styles to apply */
|
|
903
|
+
customStyle?: string | Record<string, string>;
|
|
904
|
+
}
|
|
905
|
+
|
|
942
906
|
export declare const Spinner: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
943
907
|
|
|
944
908
|
export declare const Switch: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -965,7 +929,7 @@ export declare const ToastMessage: DefineComponent< {}, {}, {}, {}, {}, Compo
|
|
|
965
929
|
|
|
966
930
|
declare type ToastType = "success" | "danger" | "info";
|
|
967
931
|
|
|
968
|
-
export declare const Tooltip:
|
|
932
|
+
export declare const Tooltip: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
969
933
|
|
|
970
934
|
declare interface TooltipProps {
|
|
971
935
|
/** The text content to display in the tooltip */
|