@luizleon/sf.prefeiturasp.vuecomponents 0.0.43 → 0.0.45
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/button/Button.d.ts +77 -42
- package/dist/components/content/Content.d.ts +28 -36
- package/dist/components/drawer/Drawer.d.ts +54 -55
- package/dist/components/icon/Icon.d.ts +59 -38
- package/dist/components/internal/HeaderAvatar.d.ts +6 -0
- package/dist/components/internal/ScrollToTop.d.ts +2 -7
- package/dist/components/internal/ThemeToggle.d.ts +2 -11
- package/dist/components/layout/Layout.d.ts +20 -45
- package/dist/components/message/Message.d.ts +42 -37
- package/dist/components/navmenulink/NavMenuLink.d.ts +18 -35
- package/dist/components/tabnavigation/TabNavigation.d.ts +29 -42
- package/dist/components/tooltip/Tooltip.d.ts +21 -0
- package/dist/index.d.ts +4 -3
- package/dist/keycloak.d.ts +1 -1
- package/dist/services/dialogService.d.ts +16 -5
- package/dist/{lib.es.js → sf.prefeiturasp.vuecomponents.es.js} +2009 -1909
- package/dist/sf.prefeiturasp.vuecomponents.es.js.map +1 -0
- package/dist/sf.prefeiturasp.vuecomponents.umd.js +82 -0
- package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +1 -0
- package/dist/style.css +1 -1
- package/package.json +9 -10
- package/src/components/button/Button.d.ts +2 -18
- package/src/components/button/Button.vue +45 -2
- package/src/components/content/Content.d.ts +0 -8
- package/src/components/content/Content.vue +9 -1
- package/src/components/drawer/Drawer.d.ts +1 -6
- package/src/components/drawer/Drawer.vue +11 -3
- package/src/components/icon/Icon.d.ts +1 -16
- package/src/components/icon/Icon.vue +65 -22
- package/src/components/internal/HeaderAvatar.vue +4 -5
- package/src/components/layout/Layout.d.ts +1 -2
- package/src/components/layout/Layout.vue +6 -1
- package/src/components/message/Message.d.ts +1 -10
- package/src/components/message/Message.vue +28 -12
- package/src/components/navmenulink/NavMenuLink.d.ts +1 -7
- package/src/components/navmenulink/NavMenuLink.vue +10 -2
- package/src/components/tabnavigation/TabNavigation.d.ts +1 -9
- package/src/components/tabnavigation/TabNavigation.vue +9 -1
- package/src/components/tooltip/Tooltip.d.ts +23 -0
- package/src/components/tooltip/Tooltip.vue +91 -0
- package/src/index.ts +8 -6
- package/src/services/dialogService.ts +71 -25
- package/src/style/src/_mixins.scss +5 -0
- package/src/style/src/components/_icon.scss +7 -7
- package/src/style/src/components/_message.scss +1 -1
- package/src/style/src/components/_tooltip.scss +11 -12
- package/src/style/src/sweetalert/scss/_animations.scss +197 -197
- package/src/style/src/sweetalert/scss/_body.scss +45 -45
- package/src/style/src/sweetalert/scss/_core.scss +862 -862
- package/src/style/src/sweetalert/scss/_mixins.scss +16 -16
- package/src/style/src/sweetalert/scss/_theming.scss +8 -8
- package/src/style/src/sweetalert/scss/_toasts-animations.scss +83 -83
- package/src/style/src/sweetalert/scss/_toasts-body.scss +85 -85
- package/src/style/src/sweetalert/scss/_toasts.scss +203 -203
- package/src/ts-helpers.d.ts +9 -9
- package/tsconfig.json +2 -2
- package/vite.config.js +5 -5
- package/dist/enum/cor.d.ts +0 -9
- package/dist/enum/index.d.ts +0 -2
- package/dist/enum/tamanho.d.ts +0 -5
- package/dist/lib.es.js.map +0 -1
- package/dist/lib.umd.js +0 -84
- package/dist/lib.umd.js.map +0 -1
- package/dist/ts-helpers.d.ts +0 -57
- package/src/enum/cor.ts +0 -9
- package/src/enum/index.ts +0 -2
- package/src/enum/tamanho.ts +0 -5
|
@@ -1,42 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
1
|
+
import { StyleValue } from "vue";
|
|
2
|
+
export interface SfButtonProps {
|
|
3
|
+
icon?: string;
|
|
4
|
+
/**
|
|
5
|
+
* @default true
|
|
6
|
+
*/
|
|
7
|
+
visible?: boolean;
|
|
8
|
+
class?: any;
|
|
9
|
+
style?: StyleValue;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* @default 'primary'
|
|
14
|
+
*/
|
|
15
|
+
color?: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error" | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* @default 'md'
|
|
18
|
+
*/
|
|
19
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
20
|
+
/**
|
|
21
|
+
* @default 'filled'
|
|
22
|
+
*/
|
|
23
|
+
variant?: "filled" | "outlined" | "text" | undefined;
|
|
24
|
+
autofocus?: boolean;
|
|
25
|
+
form?: string;
|
|
26
|
+
name?: string;
|
|
27
|
+
id?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @default 'button'
|
|
30
|
+
*/
|
|
31
|
+
type?: "submit" | "reset" | "button";
|
|
32
|
+
value?: string | string[] | number;
|
|
33
|
+
}
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfButtonProps>, {
|
|
35
|
+
visible: boolean;
|
|
36
|
+
color: string;
|
|
37
|
+
size: string;
|
|
38
|
+
type: string;
|
|
39
|
+
variant: string;
|
|
40
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfButtonProps>, {
|
|
41
|
+
visible: boolean;
|
|
42
|
+
color: string;
|
|
43
|
+
size: string;
|
|
44
|
+
type: string;
|
|
45
|
+
variant: string;
|
|
46
|
+
}>>>, {
|
|
47
|
+
size: "sm" | "md" | "lg";
|
|
48
|
+
type: "button" | "submit" | "reset";
|
|
49
|
+
visible: boolean;
|
|
50
|
+
color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
51
|
+
variant: "text" | "filled" | "outlined";
|
|
52
|
+
}, {}>, {
|
|
53
|
+
default?(_: {}): any;
|
|
54
|
+
}>;
|
|
55
|
+
export default _default;
|
|
56
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
57
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
58
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
59
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
60
|
+
} : {
|
|
61
|
+
type: import('vue').PropType<T[K]>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
type __VLS_WithDefaults<P, D> = {
|
|
66
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
|
+
default: D[K];
|
|
68
|
+
}> : P[K];
|
|
69
|
+
};
|
|
70
|
+
type __VLS_Prettify<T> = {
|
|
71
|
+
[K in keyof T]: T[K];
|
|
72
|
+
} & {};
|
|
73
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
74
|
+
new (): {
|
|
75
|
+
$slots: S;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -1,36 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
declare module "@vue/runtime-core" {
|
|
31
|
-
interface GlobalComponents {
|
|
32
|
-
SfContent: GlobalComponentConstructor<SfContent>;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export default SfContent;
|
|
1
|
+
import { StyleValue } from "vue";
|
|
2
|
+
export interface SfContentProps {
|
|
3
|
+
class?: any;
|
|
4
|
+
style?: StyleValue;
|
|
5
|
+
disableBodyPadding?: boolean;
|
|
6
|
+
disableHeaderPadding?: boolean;
|
|
7
|
+
disableFooterPadding?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SfContentProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfContentProps>>>, {}, {}>, {
|
|
10
|
+
header?(_: {}): any;
|
|
11
|
+
default?(_: {}): any;
|
|
12
|
+
footer?(_: {}): any;
|
|
13
|
+
}>;
|
|
14
|
+
export default _default;
|
|
15
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
17
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
|
+
} : {
|
|
20
|
+
type: import('vue').PropType<T[K]>;
|
|
21
|
+
required: true;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
+
new (): {
|
|
26
|
+
$slots: S;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -1,55 +1,54 @@
|
|
|
1
|
-
import { StyleValue
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
};
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
> {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default SfDrawer;
|
|
1
|
+
import { StyleValue } from "vue";
|
|
2
|
+
export interface SfDrawerProps {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @default 'left'
|
|
6
|
+
*/
|
|
7
|
+
position?: "left" | "right" | "bottom" | "full";
|
|
8
|
+
style?: StyleValue;
|
|
9
|
+
}
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
|
|
11
|
+
visible: boolean;
|
|
12
|
+
position: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
14
|
+
"update:visible": (v: boolean) => void;
|
|
15
|
+
open: () => void;
|
|
16
|
+
"before-close": () => void;
|
|
17
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
|
|
18
|
+
visible: boolean;
|
|
19
|
+
position: string;
|
|
20
|
+
}>>> & {
|
|
21
|
+
"onUpdate:visible"?: ((v: boolean) => any) | undefined;
|
|
22
|
+
onOpen?: (() => any) | undefined;
|
|
23
|
+
"onBefore-close"?: (() => any) | undefined;
|
|
24
|
+
}, {
|
|
25
|
+
visible: boolean;
|
|
26
|
+
position: "left" | "right" | "bottom" | "full";
|
|
27
|
+
}, {}>, {
|
|
28
|
+
title?(_: {}): any;
|
|
29
|
+
default?(_: {}): any;
|
|
30
|
+
footer?(_: {}): any;
|
|
31
|
+
}>;
|
|
32
|
+
export default _default;
|
|
33
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
34
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
35
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
36
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
37
|
+
} : {
|
|
38
|
+
type: import('vue').PropType<T[K]>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
type __VLS_WithDefaults<P, D> = {
|
|
43
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
|
+
default: D[K];
|
|
45
|
+
}> : P[K];
|
|
46
|
+
};
|
|
47
|
+
type __VLS_Prettify<T> = {
|
|
48
|
+
[K in keyof T]: T[K];
|
|
49
|
+
} & {};
|
|
50
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
51
|
+
new (): {
|
|
52
|
+
$slots: S;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,38 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
1
|
+
import { ButtonHTMLAttributes, StyleValue } from "vue";
|
|
2
|
+
export interface SfIconProps {
|
|
3
|
+
icon?: string;
|
|
4
|
+
visible?: boolean;
|
|
5
|
+
class?: any;
|
|
6
|
+
style?: StyleValue;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
loading?: boolean;
|
|
9
|
+
button?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* @default 'md'
|
|
12
|
+
*/
|
|
13
|
+
size?: "sm" | "md" | "lg" | undefined;
|
|
14
|
+
dot?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* @default 'error'
|
|
17
|
+
*/
|
|
18
|
+
dotColor?: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error" | undefined;
|
|
19
|
+
filled?: boolean;
|
|
20
|
+
buttonProps?: ButtonHTMLAttributes;
|
|
21
|
+
tooltip?: string;
|
|
22
|
+
}
|
|
23
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
|
|
24
|
+
visible: boolean;
|
|
25
|
+
class: string;
|
|
26
|
+
style: string;
|
|
27
|
+
size: string;
|
|
28
|
+
dotColor: string;
|
|
29
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
|
|
30
|
+
visible: boolean;
|
|
31
|
+
class: string;
|
|
32
|
+
style: string;
|
|
33
|
+
size: string;
|
|
34
|
+
dotColor: string;
|
|
35
|
+
}>>>, {
|
|
36
|
+
style: StyleValue;
|
|
37
|
+
class: any;
|
|
38
|
+
size: "sm" | "md" | "lg";
|
|
39
|
+
visible: boolean;
|
|
40
|
+
dotColor: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
logout: () => void;
|
|
3
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
4
|
+
onLogout?: (() => any) | undefined;
|
|
5
|
+
}, {}, {}>;
|
|
6
|
+
export default _default;
|
|
@@ -1,7 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
id: string;
|
|
4
|
-
parent: HTMLElement | null;
|
|
5
|
-
ButtonClick: () => void;
|
|
6
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
7
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
|
|
3
|
-
readonly storedTheme: "light" | "dark" | null;
|
|
4
|
-
readonly IsDark: boolean;
|
|
5
|
-
Toggle(): void;
|
|
6
|
-
EnableDarkMode(): void;
|
|
7
|
-
EnableLightMode(): void;
|
|
8
|
-
SetInitialTheme(): void;
|
|
9
|
-
};
|
|
10
|
-
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
|
-
export default _sfc_main;
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -1,45 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"app-version": () => VNode[];
|
|
22
|
-
/**
|
|
23
|
-
* Conteúdo principal
|
|
24
|
-
*/
|
|
25
|
-
content: () => VNode[];
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export declare type SfLayoutEmits = {
|
|
29
|
-
mounted: () => void;
|
|
30
|
-
logout: () => void;
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
declare class SfLayout extends ClassComponent<
|
|
34
|
-
SfLayoutProps,
|
|
35
|
-
SfLayoutSlots,
|
|
36
|
-
SfLayoutEmits
|
|
37
|
-
> {}
|
|
38
|
-
|
|
39
|
-
declare module "@vue/runtime-core" {
|
|
40
|
-
interface GlobalComponents {
|
|
41
|
-
SfLayout: GlobalComponentConstructor<SfLayout>;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export default SfLayout;
|
|
1
|
+
export interface SfLayoutProps {
|
|
2
|
+
}
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
|
+
mounted: () => void;
|
|
5
|
+
logout: () => void;
|
|
6
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
7
|
+
onLogout?: (() => any) | undefined;
|
|
8
|
+
onMounted?: (() => any) | undefined;
|
|
9
|
+
}, {}, {}>, {
|
|
10
|
+
title?(_: {}): any;
|
|
11
|
+
action?(_: {}): any;
|
|
12
|
+
menu?(_: {}): any;
|
|
13
|
+
content?(_: {}): any;
|
|
14
|
+
}>;
|
|
15
|
+
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -1,37 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
import { StyleValue } from "vue";
|
|
2
|
+
export interface SfMessageProps {
|
|
3
|
+
/**
|
|
4
|
+
* @default 'info'
|
|
5
|
+
*/
|
|
6
|
+
color?: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error" | undefined;
|
|
7
|
+
class?: any;
|
|
8
|
+
style?: StyleValue;
|
|
9
|
+
icon?: string;
|
|
10
|
+
}
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfMessageProps>, {
|
|
12
|
+
color: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfMessageProps>, {
|
|
14
|
+
color: string;
|
|
15
|
+
}>>>, {
|
|
16
|
+
color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
17
|
+
}, {}>, {
|
|
18
|
+
default?(_: {}): any;
|
|
19
|
+
}>;
|
|
20
|
+
export default _default;
|
|
21
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
22
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
23
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
24
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
25
|
+
} : {
|
|
26
|
+
type: import('vue').PropType<T[K]>;
|
|
27
|
+
required: true;
|
|
28
|
+
};
|
|
29
|
+
};
|
|
30
|
+
type __VLS_WithDefaults<P, D> = {
|
|
31
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
|
+
default: D[K];
|
|
33
|
+
}> : P[K];
|
|
34
|
+
};
|
|
35
|
+
type __VLS_Prettify<T> = {
|
|
36
|
+
[K in keyof T]: T[K];
|
|
37
|
+
} & {};
|
|
38
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
39
|
+
new (): {
|
|
40
|
+
$slots: S;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -1,35 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
SfNavMenuLinkSlots,
|
|
20
|
-
SfNavMenuLinkEmits
|
|
21
|
-
> {}
|
|
22
|
-
|
|
23
|
-
declare module "@vue/runtime-core" {
|
|
24
|
-
interface GlobalComponents {
|
|
25
|
-
SfNavMenuLink: GlobalComponentConstructor<SfNavMenuLink>;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/**
|
|
30
|
-
* Componente para navegação no menu.
|
|
31
|
-
*
|
|
32
|
-
* Dependência: router-link.
|
|
33
|
-
* @see [https://router.vuejs.org/api/#router-link-s-v-slot](https://router.vuejs.org/api/#router-link-s-v-slot)
|
|
34
|
-
*/
|
|
35
|
-
export default SfNavMenuLink;
|
|
1
|
+
export interface SfNavMenuLinkProps {
|
|
2
|
+
href: string;
|
|
3
|
+
text: string;
|
|
4
|
+
icon?: string;
|
|
5
|
+
iconFilled?: boolean;
|
|
6
|
+
exact?: boolean;
|
|
7
|
+
}
|
|
8
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SfNavMenuLinkProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfNavMenuLinkProps>>>, {}, {}>;
|
|
9
|
+
export default _default;
|
|
10
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
12
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
|
+
} : {
|
|
15
|
+
type: import('vue').PropType<T[K]>;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
};
|