@luizleon/sf.prefeiturasp.vuecomponents 0.0.43 → 0.0.44
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 +45 -42
- package/dist/components/content/Content.d.ts +21 -36
- package/dist/components/drawer/Drawer.d.ts +46 -55
- package/dist/components/icon/Icon.d.ts +38 -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 +18 -45
- package/dist/components/message/Message.d.ts +33 -37
- package/dist/components/navmenulink/NavMenuLink.d.ts +12 -35
- package/dist/components/tabnavigation/TabNavigation.d.ts +23 -42
- package/dist/index.d.ts +3 -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} +1300 -1266
- 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 +10 -10
- package/src/components/button/Button.d.ts +18 -3
- package/src/components/button/Button.vue +1 -0
- package/src/components/drawer/Drawer.d.ts +3 -0
- package/src/components/icon/Icon.d.ts +17 -3
- package/src/components/icon/Icon.vue +14 -8
- package/src/components/internal/HeaderAvatar.vue +4 -5
- package/src/components/message/Message.d.ts +10 -2
- package/src/components/message/Message.vue +9 -10
- package/src/index.ts +6 -6
- package/src/services/dialogService.ts +71 -25
- package/src/style/src/components/_icon.scss +0 -7
- 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 +4 -3
- 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,45 @@
|
|
|
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 { SfButtonProps } from "./Button";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfButtonProps>, {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
color: string;
|
|
5
|
+
size: string;
|
|
6
|
+
type: string;
|
|
7
|
+
variant: string;
|
|
8
|
+
}>, {}, 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>, {
|
|
9
|
+
visible: boolean;
|
|
10
|
+
color: string;
|
|
11
|
+
size: string;
|
|
12
|
+
type: string;
|
|
13
|
+
variant: string;
|
|
14
|
+
}>>>, {
|
|
15
|
+
visible: boolean;
|
|
16
|
+
type: "button" | "submit" | "reset";
|
|
17
|
+
color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
18
|
+
size: "sm" | "md" | "lg";
|
|
19
|
+
variant: "text" | "filled" | "outlined";
|
|
20
|
+
}, {}>, {
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
}>;
|
|
23
|
+
export default _default;
|
|
24
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
25
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
26
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
27
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
28
|
+
} : {
|
|
29
|
+
type: import('vue').PropType<T[K]>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
type __VLS_WithDefaults<P, D> = {
|
|
34
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
35
|
+
default: D[K];
|
|
36
|
+
}> : P[K];
|
|
37
|
+
};
|
|
38
|
+
type __VLS_Prettify<T> = {
|
|
39
|
+
[K in keyof T]: T[K];
|
|
40
|
+
} & {};
|
|
41
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
42
|
+
new (): {
|
|
43
|
+
$slots: S;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
@@ -1,36 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export declare type SfContentEmits = {};
|
|
23
|
-
|
|
24
|
-
declare class SfContent extends ClassComponent<
|
|
25
|
-
SfContentProps,
|
|
26
|
-
SfContentSlots,
|
|
27
|
-
SfContentEmits
|
|
28
|
-
> {}
|
|
29
|
-
|
|
30
|
-
declare module "@vue/runtime-core" {
|
|
31
|
-
interface GlobalComponents {
|
|
32
|
-
SfContent: GlobalComponentConstructor<SfContent>;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export default SfContent;
|
|
1
|
+
import { SfContentProps } from "./Content";
|
|
2
|
+
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>>>, {}, {}>, {
|
|
3
|
+
header?(_: {}): any;
|
|
4
|
+
default?(_: {}): any;
|
|
5
|
+
footer?(_: {}): any;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
10
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
|
+
} : {
|
|
13
|
+
type: import('vue').PropType<T[K]>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
};
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -1,55 +1,46 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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
|
-
declare module "@vue/runtime-core" {
|
|
50
|
-
interface GlobalComponents {
|
|
51
|
-
SfDrawer: GlobalComponentConstructor<SfDrawer>;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export default SfDrawer;
|
|
1
|
+
import { SfDrawerProps } from "./Drawer";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
position: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
"update:visible": (v: boolean) => void;
|
|
7
|
+
open: () => void;
|
|
8
|
+
"before-close": () => void;
|
|
9
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
|
|
10
|
+
visible: boolean;
|
|
11
|
+
position: string;
|
|
12
|
+
}>>> & {
|
|
13
|
+
"onUpdate:visible"?: ((v: boolean) => any) | undefined;
|
|
14
|
+
onOpen?: (() => any) | undefined;
|
|
15
|
+
"onBefore-close"?: (() => any) | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
visible: boolean;
|
|
18
|
+
position: "left" | "right" | "bottom" | "full";
|
|
19
|
+
}, {}>, {
|
|
20
|
+
title?(_: {}): any;
|
|
21
|
+
default?(_: {}): any;
|
|
22
|
+
footer?(_: {}): any;
|
|
23
|
+
}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
type __VLS_WithDefaults<P, D> = {
|
|
35
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
36
|
+
default: D[K];
|
|
37
|
+
}> : P[K];
|
|
38
|
+
};
|
|
39
|
+
type __VLS_Prettify<T> = {
|
|
40
|
+
[K in keyof T]: T[K];
|
|
41
|
+
} & {};
|
|
42
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
43
|
+
new (): {
|
|
44
|
+
$slots: S;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
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 { SfIconProps } from "./Icon";
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
|
|
3
|
+
visible: boolean;
|
|
4
|
+
class: string;
|
|
5
|
+
style: string;
|
|
6
|
+
tamanho: string;
|
|
7
|
+
dotColor: string;
|
|
8
|
+
}>, {}, 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>, {
|
|
9
|
+
visible: boolean;
|
|
10
|
+
class: string;
|
|
11
|
+
style: string;
|
|
12
|
+
tamanho: string;
|
|
13
|
+
dotColor: string;
|
|
14
|
+
}>>>, {
|
|
15
|
+
style: import("vue").StyleValue;
|
|
16
|
+
class: any;
|
|
17
|
+
visible: boolean;
|
|
18
|
+
tamanho: "sm" | "md" | "lg";
|
|
19
|
+
dotColor: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
20
|
+
}, {}>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
23
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
24
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
25
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
26
|
+
} : {
|
|
27
|
+
type: import('vue').PropType<T[K]>;
|
|
28
|
+
required: true;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
type __VLS_WithDefaults<P, D> = {
|
|
32
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
33
|
+
default: D[K];
|
|
34
|
+
}> : P[K];
|
|
35
|
+
};
|
|
36
|
+
type __VLS_Prettify<T> = {
|
|
37
|
+
[K in keyof T]: T[K];
|
|
38
|
+
} & {};
|
|
@@ -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,18 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
* Visível no footer da aplicação.
|
|
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
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2
|
+
mounted: () => void;
|
|
3
|
+
logout: () => void;
|
|
4
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
5
|
+
onLogout?: (() => any) | undefined;
|
|
6
|
+
onMounted?: (() => any) | undefined;
|
|
7
|
+
}, {}, {}>, {
|
|
8
|
+
title?(_: {}): any;
|
|
9
|
+
action?(_: {}): any;
|
|
10
|
+
menu?(_: {}): any;
|
|
11
|
+
content?(_: {}): any;
|
|
12
|
+
}>;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
@@ -1,37 +1,33 @@
|
|
|
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
|
-
export default SfMessage;
|
|
1
|
+
import { SfMessageProps } from "./Message";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfMessageProps>, {
|
|
3
|
+
color: string;
|
|
4
|
+
}>, {}, 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>, {
|
|
5
|
+
color: string;
|
|
6
|
+
}>>>, {
|
|
7
|
+
color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
8
|
+
}, {}>, {
|
|
9
|
+
default?(_: {}): any;
|
|
10
|
+
}>;
|
|
11
|
+
export default _default;
|
|
12
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
13
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
14
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
15
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
16
|
+
} : {
|
|
17
|
+
type: import('vue').PropType<T[K]>;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
type __VLS_WithDefaults<P, D> = {
|
|
22
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
23
|
+
default: D[K];
|
|
24
|
+
}> : P[K];
|
|
25
|
+
};
|
|
26
|
+
type __VLS_Prettify<T> = {
|
|
27
|
+
[K in keyof T]: T[K];
|
|
28
|
+
} & {};
|
|
29
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
30
|
+
new (): {
|
|
31
|
+
$slots: S;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -1,35 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export interface SfNavMenuLinkSlots {}
|
|
14
|
-
|
|
15
|
-
export declare type SfNavMenuLinkEmits = {};
|
|
16
|
-
|
|
17
|
-
declare class SfNavMenuLink extends ClassComponent<
|
|
18
|
-
SfNavMenuLinkProps,
|
|
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
|
+
import { SfNavMenuLinkProps } from "./NavMenuLink";
|
|
2
|
+
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>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
6
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
7
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
8
|
+
} : {
|
|
9
|
+
type: import('vue').PropType<T[K]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -1,42 +1,23 @@
|
|
|
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
|
-
declare class SfTabNavigation extends ClassComponent<
|
|
25
|
-
SfTabNavigationProps,
|
|
26
|
-
SfTabNavigationSlots,
|
|
27
|
-
SfTabNavigationEmits
|
|
28
|
-
> {}
|
|
29
|
-
|
|
30
|
-
declare module "@vue/runtime-core" {
|
|
31
|
-
interface GlobalComponents {
|
|
32
|
-
SfTabNavigation: GlobalComponentConstructor<SfTabNavigation>;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
/**
|
|
37
|
-
* Componente para navegação em abas
|
|
38
|
-
*
|
|
39
|
-
* Dependência: router-link.
|
|
40
|
-
* @see [https://router.vuejs.org/api/#router-link-s-v-slot](https://router.vuejs.org/api/#router-link-s-v-slot)
|
|
41
|
-
*/
|
|
42
|
-
export default SfTabNavigation;
|
|
1
|
+
import { SfTabNavigationProps } from "./TabNavigation";
|
|
2
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<SfTabNavigationProps>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfTabNavigationProps>>>, {}, {}>, {
|
|
3
|
+
item?(_: {
|
|
4
|
+
item: import("./TabNavigation").SfTabNavigationTab;
|
|
5
|
+
navigate: any;
|
|
6
|
+
isActive: any;
|
|
7
|
+
}): any;
|
|
8
|
+
}>;
|
|
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
|
+
};
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -7,9 +7,9 @@ import SfButton from "./components/button/Button";
|
|
|
7
7
|
import SfDrawer from "./components/drawer/Drawer";
|
|
8
8
|
import SfMessage from "./components/message/Message";
|
|
9
9
|
import { UseNavMenuService } from "./services/navMenuService";
|
|
10
|
-
import {
|
|
10
|
+
import { UseAlertService, UseConfirmService } from "./services/dialogService";
|
|
11
11
|
import { UseAuthService } from "./services/authService";
|
|
12
12
|
import { AppResult } from "./common/appResult";
|
|
13
|
-
import
|
|
13
|
+
import "./style/componentes.scss";
|
|
14
14
|
import { AxiosClient, UseAxiosClient } from "./axios/axiosClient";
|
|
15
|
-
export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, SfButton, SfDrawer, SfMessage, UseAuthService, UseNavMenuService,
|
|
15
|
+
export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, SfButton, SfDrawer, SfMessage, UseAuthService, UseNavMenuService, UseConfirmService, UseAlertService, UseAxiosClient, AppResult, AxiosClient, };
|
package/dist/keycloak.d.ts
CHANGED
|
@@ -361,7 +361,7 @@ export interface KeycloakRoles {
|
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
/**
|
|
364
|
-
* @deprecated Instead of importing 'KeycloakInstance' you can
|
|
364
|
+
* @deprecated Instead of importing 'KeycloakInstance' you can import 'Keycloak' directly as a type.
|
|
365
365
|
*/
|
|
366
366
|
export type KeycloakInstance = Keycloak;
|
|
367
367
|
|