@solfacil/girassol 0.2.3 → 0.2.6
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.d.ts +2 -0
- package/dist/components.json +1 -1
- package/dist/girassol.es.js +849 -672
- package/dist/girassol.umd.js +6 -6
- package/dist/style.css +1 -1
- package/dist/theme/solfacil/index.d.ts +2 -1
- package/dist/theme/solfacil/miscs.d.ts +124 -0
- package/dist/theme/solfacil/screens.d.ts +12 -0
- package/dist/theme/solfacil/spacing.d.ts +28 -18
- package/dist/types/components/menu/Menu.vue.d.ts +112 -0
- package/dist/types/components/menu/index.d.ts +2 -0
- package/dist/types/components/menu/menu.spec.d.ts +1 -0
- package/dist/types/components/menu-item/MenuItemLink.vue.d.ts +87 -0
- package/dist/types/components/menu-item/index.d.ts +2 -0
- package/dist/types/composables/use-navigate/index.d.ts +20 -0
- package/dist/types/composables/use-navigate/types.d.ts +19 -0
- package/dist/types/composables/use-toast/Toast.vue.d.ts +4 -4
- package/dist/types/index.d.ts +253 -1
- package/package.json +1 -1
- package/theme/safelist.ts +2 -0
- package/theme/solfacil/index.ts +3 -1
- package/theme/solfacil/miscs.ts +12 -1
- package/theme/solfacil/screens.ts +5 -0
- package/theme/solfacil/spacing.ts +27 -50
- package/theme/solfacil/utilities.ts +57 -95
- package/windi.config.ts +5 -2
|
@@ -1,21 +1,24 @@
|
|
|
1
|
+
export declare const sizings: {
|
|
2
|
+
quark: string;
|
|
3
|
+
nano: string;
|
|
4
|
+
micro: string;
|
|
5
|
+
'3xs': string;
|
|
6
|
+
'2xs': string;
|
|
7
|
+
xs: string;
|
|
8
|
+
sm: string;
|
|
9
|
+
md: string;
|
|
10
|
+
lg: string;
|
|
11
|
+
xl: string;
|
|
12
|
+
'2xl': string;
|
|
13
|
+
'3xl': string;
|
|
14
|
+
mega: string;
|
|
15
|
+
'2mega': string;
|
|
16
|
+
'3mega': string;
|
|
17
|
+
giga: string;
|
|
18
|
+
};
|
|
1
19
|
declare const _default: {
|
|
2
|
-
space: {
|
|
3
|
-
nano: string;
|
|
4
|
-
micro: string;
|
|
5
|
-
'3xs': string;
|
|
6
|
-
'2xs': string;
|
|
7
|
-
xs: string;
|
|
8
|
-
sm: string;
|
|
9
|
-
md: string;
|
|
10
|
-
lg: string;
|
|
11
|
-
xl: string;
|
|
12
|
-
'2xl': string;
|
|
13
|
-
'3xl': string;
|
|
14
|
-
mega: string;
|
|
15
|
-
huge: string;
|
|
16
|
-
giga: string;
|
|
17
|
-
};
|
|
18
20
|
padding: {
|
|
21
|
+
quark: string;
|
|
19
22
|
nano: string;
|
|
20
23
|
micro: string;
|
|
21
24
|
'3xs': string;
|
|
@@ -28,10 +31,14 @@ declare const _default: {
|
|
|
28
31
|
'2xl': string;
|
|
29
32
|
'3xl': string;
|
|
30
33
|
mega: string;
|
|
31
|
-
|
|
34
|
+
'2mega': string;
|
|
35
|
+
'3mega': string;
|
|
32
36
|
giga: string;
|
|
37
|
+
auto: string;
|
|
38
|
+
'0': string;
|
|
33
39
|
};
|
|
34
40
|
margin: {
|
|
41
|
+
quark: string;
|
|
35
42
|
nano: string;
|
|
36
43
|
micro: string;
|
|
37
44
|
'3xs': string;
|
|
@@ -44,8 +51,11 @@ declare const _default: {
|
|
|
44
51
|
'2xl': string;
|
|
45
52
|
'3xl': string;
|
|
46
53
|
mega: string;
|
|
47
|
-
|
|
54
|
+
'2mega': string;
|
|
55
|
+
'3mega': string;
|
|
48
56
|
giga: string;
|
|
57
|
+
auto: string;
|
|
58
|
+
'0': string;
|
|
49
59
|
};
|
|
50
60
|
};
|
|
51
61
|
export default _default;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{
|
|
6
|
+
label: string;
|
|
7
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
8
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
9
|
+
id: string;
|
|
10
|
+
label?: string | undefined;
|
|
11
|
+
position?: (("top" | "bottom") | ("right" | "left")) | undefined;
|
|
12
|
+
}>, {
|
|
13
|
+
label: string;
|
|
14
|
+
position: string;
|
|
15
|
+
}>>> & {
|
|
16
|
+
onChange?: ((value: string) => any) | undefined;
|
|
17
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
|
|
18
|
+
$attrs: {
|
|
19
|
+
[x: string]: unknown;
|
|
20
|
+
};
|
|
21
|
+
$refs: {
|
|
22
|
+
[x: string]: unknown;
|
|
23
|
+
};
|
|
24
|
+
$slots: Readonly<{
|
|
25
|
+
[name: string]: import("vue").Slot | undefined;
|
|
26
|
+
}>;
|
|
27
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
29
|
+
$emit: (event: "change", value: string) => void;
|
|
30
|
+
$el: any;
|
|
31
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
32
|
+
id: string;
|
|
33
|
+
label?: string | undefined;
|
|
34
|
+
position?: (("top" | "bottom") | ("right" | "left")) | undefined;
|
|
35
|
+
}>, {
|
|
36
|
+
label: string;
|
|
37
|
+
position: string;
|
|
38
|
+
}>>> & {
|
|
39
|
+
onChange?: ((value: string) => any) | undefined;
|
|
40
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
41
|
+
change: (value: string) => void;
|
|
42
|
+
}, string, {
|
|
43
|
+
label: string;
|
|
44
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
45
|
+
}> & {
|
|
46
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
59
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
60
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, 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, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
61
|
+
};
|
|
62
|
+
$forceUpdate: () => void;
|
|
63
|
+
$nextTick: typeof import("vue").nextTick;
|
|
64
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
65
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
66
|
+
id: string;
|
|
67
|
+
label?: string | undefined;
|
|
68
|
+
position?: (("top" | "bottom") | ("right" | "left")) | undefined;
|
|
69
|
+
}>, {
|
|
70
|
+
label: string;
|
|
71
|
+
position: string;
|
|
72
|
+
}>>> & {
|
|
73
|
+
onChange?: ((value: string) => any) | undefined;
|
|
74
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
75
|
+
__isFragment?: undefined;
|
|
76
|
+
__isTeleport?: undefined;
|
|
77
|
+
__isSuspense?: undefined;
|
|
78
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
79
|
+
id: string;
|
|
80
|
+
label?: string | undefined;
|
|
81
|
+
position?: (("top" | "bottom") | ("right" | "left")) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
label: string;
|
|
84
|
+
position: string;
|
|
85
|
+
}>>> & {
|
|
86
|
+
onChange?: ((value: string) => any) | undefined;
|
|
87
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
88
|
+
change: (value: string) => void;
|
|
89
|
+
}, string, {
|
|
90
|
+
label: string;
|
|
91
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
92
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
93
|
+
$slots: {
|
|
94
|
+
label: (_: {}) => any;
|
|
95
|
+
default: (_: {}) => any;
|
|
96
|
+
};
|
|
97
|
+
});
|
|
98
|
+
export default _default;
|
|
99
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
100
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
101
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
102
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
103
|
+
} : {
|
|
104
|
+
type: import('vue').PropType<T[K]>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
108
|
+
declare type __VLS_WithDefaults<P, D> = {
|
|
109
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
110
|
+
default: D[K];
|
|
111
|
+
} : P[K];
|
|
112
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
new (...args: any[]): {
|
|
3
|
+
$: import("vue").ComponentInternalInstance;
|
|
4
|
+
$data: {};
|
|
5
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
id: string;
|
|
7
|
+
text?: string | undefined;
|
|
8
|
+
link?: string | undefined;
|
|
9
|
+
active?: boolean | undefined;
|
|
10
|
+
external?: boolean | undefined;
|
|
11
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
12
|
+
$attrs: {
|
|
13
|
+
[x: string]: unknown;
|
|
14
|
+
};
|
|
15
|
+
$refs: {
|
|
16
|
+
[x: string]: unknown;
|
|
17
|
+
};
|
|
18
|
+
$slots: Readonly<{
|
|
19
|
+
[name: string]: import("vue").Slot | undefined;
|
|
20
|
+
}>;
|
|
21
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
22
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
23
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
24
|
+
$el: any;
|
|
25
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
26
|
+
id: string;
|
|
27
|
+
text?: string | undefined;
|
|
28
|
+
link?: string | undefined;
|
|
29
|
+
active?: boolean | undefined;
|
|
30
|
+
external?: boolean | undefined;
|
|
31
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
32
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
33
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
34
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
35
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
36
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
37
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
38
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
39
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
40
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
41
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
45
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
46
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, 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, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
47
|
+
};
|
|
48
|
+
$forceUpdate: () => void;
|
|
49
|
+
$nextTick: typeof import("vue").nextTick;
|
|
50
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
51
|
+
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
52
|
+
id: string;
|
|
53
|
+
text?: string | undefined;
|
|
54
|
+
link?: string | undefined;
|
|
55
|
+
active?: boolean | undefined;
|
|
56
|
+
external?: boolean | undefined;
|
|
57
|
+
}>>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
58
|
+
__isFragment?: undefined;
|
|
59
|
+
__isTeleport?: undefined;
|
|
60
|
+
__isSuspense?: undefined;
|
|
61
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
62
|
+
id: string;
|
|
63
|
+
text?: string | undefined;
|
|
64
|
+
link?: string | undefined;
|
|
65
|
+
active?: boolean | undefined;
|
|
66
|
+
external?: boolean | undefined;
|
|
67
|
+
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
68
|
+
$slots: {
|
|
69
|
+
default: (_: {
|
|
70
|
+
id: string;
|
|
71
|
+
active: boolean | undefined;
|
|
72
|
+
link: string | undefined;
|
|
73
|
+
text: string | undefined;
|
|
74
|
+
external: boolean | undefined;
|
|
75
|
+
}) => any;
|
|
76
|
+
};
|
|
77
|
+
});
|
|
78
|
+
export default _default;
|
|
79
|
+
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
80
|
+
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
81
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
82
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
83
|
+
} : {
|
|
84
|
+
type: import('vue').PropType<T[K]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { Args, Codes, UseNavigateArgs } from './types';
|
|
2
|
+
export declare function useNavigate(codes: Codes, args?: UseNavigateArgs): {
|
|
3
|
+
navigate: ({ code }: KeyboardEvent) => void;
|
|
4
|
+
};
|
|
5
|
+
export declare function useNavigateProvider({ target, query }: Args): {
|
|
6
|
+
elementFocus: {
|
|
7
|
+
id: string;
|
|
8
|
+
index: number;
|
|
9
|
+
};
|
|
10
|
+
isItemFocused: (arg: {
|
|
11
|
+
index?: number;
|
|
12
|
+
id?: string;
|
|
13
|
+
}) => boolean;
|
|
14
|
+
resetStateFocus: () => void;
|
|
15
|
+
focusListItem: (index?: number) => void;
|
|
16
|
+
focusOnPreviousItem: () => void;
|
|
17
|
+
focusOnNextItem: (dataLength: number) => void;
|
|
18
|
+
focusOnFirstItem: () => void;
|
|
19
|
+
focusOnLastItem: (dataLength: number) => void;
|
|
20
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { Ref, VNodeRef } from "vue";
|
|
2
|
+
declare type Arrows = 'ArrowUp' | 'ArrowDown' | 'ArrowLeft' | 'ArrowRight';
|
|
3
|
+
declare type Commands = 'Home' | 'End' | 'Space' | 'Enter' | 'NumpadEnter' | 'Escape' | 'Tab' | 'Delete' | 'Backspace';
|
|
4
|
+
declare type Numbers = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
|
|
5
|
+
declare type Alphabetic = 'A' | 'B' | 'C' | 'D' | 'E' | 'F' | 'G' | 'H' | 'I' | 'J' | 'K' | 'L' | 'M' | 'N' | 'O' | 'P' | 'Q' | 'R' | 'S' | 'U' | 'T' | 'W' | 'X' | 'Y' | 'Z';
|
|
6
|
+
declare type DigitNumbers = `Digit${Numbers}`;
|
|
7
|
+
declare type NumpadNumbers = `Numpad${Numbers}`;
|
|
8
|
+
declare type KeyLetters = `Key${Alphabetic}`;
|
|
9
|
+
export declare type Code = Commands | Arrows | KeyLetters | DigitNumbers | NumpadNumbers;
|
|
10
|
+
export declare type Codes = Partial<Record<Code, () => void>>;
|
|
11
|
+
export declare type UseNavigateArgs = {
|
|
12
|
+
fallback: () => void;
|
|
13
|
+
exclude?: Code | Code[];
|
|
14
|
+
};
|
|
15
|
+
export declare type Args = {
|
|
16
|
+
target: Ref<VNodeRef> | undefined;
|
|
17
|
+
query?: string;
|
|
18
|
+
};
|
|
19
|
+
export {};
|
|
@@ -5,8 +5,8 @@ declare const _default: {
|
|
|
5
5
|
$data: {};
|
|
6
6
|
$props: Partial<{
|
|
7
7
|
type: ToastType;
|
|
8
|
-
offset: number;
|
|
9
8
|
position: Position;
|
|
9
|
+
offset: number;
|
|
10
10
|
visible: boolean;
|
|
11
11
|
hideProgressBar: boolean;
|
|
12
12
|
showIcon: boolean;
|
|
@@ -31,7 +31,7 @@ declare const _default: {
|
|
|
31
31
|
hideProgressBar: boolean | undefined;
|
|
32
32
|
offset: number;
|
|
33
33
|
visible: boolean;
|
|
34
|
-
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "
|
|
34
|
+
}>>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "type" | "position" | "offset" | "visible" | "hideProgressBar" | "showIcon">;
|
|
35
35
|
$attrs: {
|
|
36
36
|
[x: string]: unknown;
|
|
37
37
|
};
|
|
@@ -68,8 +68,8 @@ declare const _default: {
|
|
|
68
68
|
visible: boolean;
|
|
69
69
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
70
70
|
type: ToastType;
|
|
71
|
-
offset: number;
|
|
72
71
|
position: Position;
|
|
72
|
+
offset: number;
|
|
73
73
|
visible: boolean;
|
|
74
74
|
hideProgressBar: boolean;
|
|
75
75
|
showIcon: boolean;
|
|
@@ -141,8 +141,8 @@ declare const _default: {
|
|
|
141
141
|
visible: boolean;
|
|
142
142
|
}>>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {
|
|
143
143
|
type: ToastType;
|
|
144
|
-
offset: number;
|
|
145
144
|
position: Position;
|
|
145
|
+
offset: number;
|
|
146
146
|
visible: boolean;
|
|
147
147
|
hideProgressBar: boolean;
|
|
148
148
|
showIcon: boolean;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ import { SolDropdown } from './components/dropdown/';
|
|
|
10
10
|
import { SolSelect } from './components/forms/select';
|
|
11
11
|
import { SolChip } from './components/informations/chip';
|
|
12
12
|
import { SolAccordion } from './components/accordion/';
|
|
13
|
+
import { SolMenu } from './components/menu/';
|
|
14
|
+
import { SolMenuItemLink } from './components/menu-item';
|
|
13
15
|
import 'virtual:windi-base.css';
|
|
14
16
|
import 'virtual:windi-components.css';
|
|
15
17
|
import 'virtual:windi-utilities.css';
|
|
@@ -2854,6 +2856,256 @@ export declare const components: {
|
|
|
2854
2856
|
default: (_: {}) => any;
|
|
2855
2857
|
};
|
|
2856
2858
|
});
|
|
2859
|
+
SolMenu: {
|
|
2860
|
+
new (...args: any[]): {
|
|
2861
|
+
$: import("vue").ComponentInternalInstance;
|
|
2862
|
+
$data: {};
|
|
2863
|
+
$props: Partial<{
|
|
2864
|
+
label: string;
|
|
2865
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
2866
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2867
|
+
label: {
|
|
2868
|
+
type: import("vue").PropType<string>;
|
|
2869
|
+
} & {
|
|
2870
|
+
default: string;
|
|
2871
|
+
};
|
|
2872
|
+
id: {
|
|
2873
|
+
type: import("vue").PropType<string>;
|
|
2874
|
+
required: true;
|
|
2875
|
+
};
|
|
2876
|
+
position: {
|
|
2877
|
+
type: import("vue").PropType<("top" | "bottom") | ("right" | "left")>;
|
|
2878
|
+
} & {
|
|
2879
|
+
default: string;
|
|
2880
|
+
};
|
|
2881
|
+
}>> & {
|
|
2882
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2883
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "label" | "position">;
|
|
2884
|
+
$attrs: {
|
|
2885
|
+
[x: string]: unknown;
|
|
2886
|
+
};
|
|
2887
|
+
$refs: {
|
|
2888
|
+
[x: string]: unknown;
|
|
2889
|
+
};
|
|
2890
|
+
$slots: Readonly<{
|
|
2891
|
+
[name: string]: import("vue").Slot | undefined;
|
|
2892
|
+
}>;
|
|
2893
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2894
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
2895
|
+
$emit: (event: "change", value: string) => void;
|
|
2896
|
+
$el: any;
|
|
2897
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2898
|
+
label: {
|
|
2899
|
+
type: import("vue").PropType<string>;
|
|
2900
|
+
} & {
|
|
2901
|
+
default: string;
|
|
2902
|
+
};
|
|
2903
|
+
id: {
|
|
2904
|
+
type: import("vue").PropType<string>;
|
|
2905
|
+
required: true;
|
|
2906
|
+
};
|
|
2907
|
+
position: {
|
|
2908
|
+
type: import("vue").PropType<("top" | "bottom") | ("right" | "left")>;
|
|
2909
|
+
} & {
|
|
2910
|
+
default: string;
|
|
2911
|
+
};
|
|
2912
|
+
}>> & {
|
|
2913
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2914
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2915
|
+
change: (value: string) => void;
|
|
2916
|
+
}, string, {
|
|
2917
|
+
label: string;
|
|
2918
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
2919
|
+
}> & {
|
|
2920
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
2921
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
2922
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
2923
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
2924
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
2925
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
2926
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
2927
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
2928
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
2929
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
2930
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
2931
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
2932
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
2933
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
2934
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, 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, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
2935
|
+
};
|
|
2936
|
+
$forceUpdate: () => void;
|
|
2937
|
+
$nextTick: typeof import("vue").nextTick;
|
|
2938
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
2939
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
2940
|
+
label: {
|
|
2941
|
+
type: import("vue").PropType<string>;
|
|
2942
|
+
} & {
|
|
2943
|
+
default: string;
|
|
2944
|
+
};
|
|
2945
|
+
id: {
|
|
2946
|
+
type: import("vue").PropType<string>;
|
|
2947
|
+
required: true;
|
|
2948
|
+
};
|
|
2949
|
+
position: {
|
|
2950
|
+
type: import("vue").PropType<("top" | "bottom") | ("right" | "left")>;
|
|
2951
|
+
} & {
|
|
2952
|
+
default: string;
|
|
2953
|
+
};
|
|
2954
|
+
}>> & {
|
|
2955
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2956
|
+
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
2957
|
+
__isFragment?: undefined;
|
|
2958
|
+
__isTeleport?: undefined;
|
|
2959
|
+
__isSuspense?: undefined;
|
|
2960
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
2961
|
+
label: {
|
|
2962
|
+
type: import("vue").PropType<string>;
|
|
2963
|
+
} & {
|
|
2964
|
+
default: string;
|
|
2965
|
+
};
|
|
2966
|
+
id: {
|
|
2967
|
+
type: import("vue").PropType<string>;
|
|
2968
|
+
required: true;
|
|
2969
|
+
};
|
|
2970
|
+
position: {
|
|
2971
|
+
type: import("vue").PropType<("top" | "bottom") | ("right" | "left")>;
|
|
2972
|
+
} & {
|
|
2973
|
+
default: string;
|
|
2974
|
+
};
|
|
2975
|
+
}>> & {
|
|
2976
|
+
onChange?: ((value: string) => any) | undefined;
|
|
2977
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2978
|
+
change: (value: string) => void;
|
|
2979
|
+
}, string, {
|
|
2980
|
+
label: string;
|
|
2981
|
+
position: ("top" | "bottom") | ("right" | "left");
|
|
2982
|
+
}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
2983
|
+
$slots: {
|
|
2984
|
+
label: (_: {}) => any;
|
|
2985
|
+
default: (_: {}) => any;
|
|
2986
|
+
};
|
|
2987
|
+
});
|
|
2988
|
+
SolMenuItemLink: {
|
|
2989
|
+
new (...args: any[]): {
|
|
2990
|
+
$: import("vue").ComponentInternalInstance;
|
|
2991
|
+
$data: {};
|
|
2992
|
+
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
2993
|
+
id: {
|
|
2994
|
+
type: import("vue").PropType<string>;
|
|
2995
|
+
required: true;
|
|
2996
|
+
};
|
|
2997
|
+
text: {
|
|
2998
|
+
type: import("vue").PropType<string>;
|
|
2999
|
+
};
|
|
3000
|
+
link: {
|
|
3001
|
+
type: import("vue").PropType<string>;
|
|
3002
|
+
};
|
|
3003
|
+
active: {
|
|
3004
|
+
type: import("vue").PropType<boolean>;
|
|
3005
|
+
};
|
|
3006
|
+
external: {
|
|
3007
|
+
type: import("vue").PropType<boolean>;
|
|
3008
|
+
};
|
|
3009
|
+
}>> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
3010
|
+
$attrs: {
|
|
3011
|
+
[x: string]: unknown;
|
|
3012
|
+
};
|
|
3013
|
+
$refs: {
|
|
3014
|
+
[x: string]: unknown;
|
|
3015
|
+
};
|
|
3016
|
+
$slots: Readonly<{
|
|
3017
|
+
[name: string]: import("vue").Slot | undefined;
|
|
3018
|
+
}>;
|
|
3019
|
+
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3020
|
+
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
3021
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
3022
|
+
$el: any;
|
|
3023
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3024
|
+
id: {
|
|
3025
|
+
type: import("vue").PropType<string>;
|
|
3026
|
+
required: true;
|
|
3027
|
+
};
|
|
3028
|
+
text: {
|
|
3029
|
+
type: import("vue").PropType<string>;
|
|
3030
|
+
};
|
|
3031
|
+
link: {
|
|
3032
|
+
type: import("vue").PropType<string>;
|
|
3033
|
+
};
|
|
3034
|
+
active: {
|
|
3035
|
+
type: import("vue").PropType<boolean>;
|
|
3036
|
+
};
|
|
3037
|
+
external: {
|
|
3038
|
+
type: import("vue").PropType<boolean>;
|
|
3039
|
+
};
|
|
3040
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & {
|
|
3041
|
+
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
3042
|
+
created?: ((() => void) | (() => void)[]) | undefined;
|
|
3043
|
+
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
3044
|
+
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3045
|
+
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
3046
|
+
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
3047
|
+
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
3048
|
+
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
3049
|
+
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
3050
|
+
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
3051
|
+
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
3052
|
+
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
3053
|
+
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3054
|
+
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
3055
|
+
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, 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, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
3056
|
+
};
|
|
3057
|
+
$forceUpdate: () => void;
|
|
3058
|
+
$nextTick: typeof import("vue").nextTick;
|
|
3059
|
+
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
3060
|
+
} & Readonly<import("vue").ExtractPropTypes<{
|
|
3061
|
+
id: {
|
|
3062
|
+
type: import("vue").PropType<string>;
|
|
3063
|
+
required: true;
|
|
3064
|
+
};
|
|
3065
|
+
text: {
|
|
3066
|
+
type: import("vue").PropType<string>;
|
|
3067
|
+
};
|
|
3068
|
+
link: {
|
|
3069
|
+
type: import("vue").PropType<string>;
|
|
3070
|
+
};
|
|
3071
|
+
active: {
|
|
3072
|
+
type: import("vue").PropType<boolean>;
|
|
3073
|
+
};
|
|
3074
|
+
external: {
|
|
3075
|
+
type: import("vue").PropType<boolean>;
|
|
3076
|
+
};
|
|
3077
|
+
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
3078
|
+
__isFragment?: undefined;
|
|
3079
|
+
__isTeleport?: undefined;
|
|
3080
|
+
__isSuspense?: undefined;
|
|
3081
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
3082
|
+
id: {
|
|
3083
|
+
type: import("vue").PropType<string>;
|
|
3084
|
+
required: true;
|
|
3085
|
+
};
|
|
3086
|
+
text: {
|
|
3087
|
+
type: import("vue").PropType<string>;
|
|
3088
|
+
};
|
|
3089
|
+
link: {
|
|
3090
|
+
type: import("vue").PropType<string>;
|
|
3091
|
+
};
|
|
3092
|
+
active: {
|
|
3093
|
+
type: import("vue").PropType<boolean>;
|
|
3094
|
+
};
|
|
3095
|
+
external: {
|
|
3096
|
+
type: import("vue").PropType<boolean>;
|
|
3097
|
+
};
|
|
3098
|
+
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
3099
|
+
$slots: {
|
|
3100
|
+
default: (_: {
|
|
3101
|
+
id: string;
|
|
3102
|
+
active: boolean | undefined;
|
|
3103
|
+
link: string | undefined;
|
|
3104
|
+
text: string | undefined;
|
|
3105
|
+
external: boolean | undefined;
|
|
3106
|
+
}) => any;
|
|
3107
|
+
};
|
|
3108
|
+
});
|
|
2857
3109
|
};
|
|
2858
3110
|
export declare function install(App: App): void;
|
|
2859
|
-
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, };
|
|
3111
|
+
export { SolButton, SolButtonDestructive, SolInput, SolTextarea, SolTextfield, SolTextfieldPassword, SolRadio, SolRadioGroup, SolCheckbox, SolCheckboxGroup, SolSwitch, SolDropdown, SolSelect, SolChip, SolAccordion, SolMenu, SolMenuItemLink, };
|
package/package.json
CHANGED