@luizleon/sf.prefeiturasp.vuecomponents 0.0.65 → 4.0.0
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/axios/axiosClient.d.ts +3 -3
- package/dist/components/button/Button.d.ts +12 -12
- package/dist/components/content/Content.d.ts +8 -8
- package/dist/components/drawer/Drawer.d.ts +13 -13
- package/dist/components/icon/Icon.d.ts +21 -22
- package/dist/components/internal/HeaderAvatar.d.ts +2 -2
- package/dist/components/internal/LoadingCircle.d.ts +1 -1
- package/dist/components/internal/MenuIcon.d.ts +1 -1
- package/dist/components/internal/ScrollToTop.d.ts +1 -1
- package/dist/components/internal/ThemeToggle.d.ts +1 -1
- package/dist/components/layout/Layout.d.ts +3 -2
- package/dist/components/message/Message.d.ts +12 -12
- package/dist/components/navmenu/NavMenu.d.ts +12 -0
- package/dist/components/navmenulink/NavMenuLink.d.ts +2 -2
- package/dist/components/panelmenu/PanelMenu.d.ts +4 -4
- package/dist/components/tabnavigation/TabNavigation.d.ts +9 -9
- package/dist/components/tooltip/Tooltip.d.ts +7 -7
- package/dist/index.d.ts +18 -18
- package/dist/services/authService.d.ts +2 -2
- package/dist/services/dialogService.d.ts +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.es.js +4551 -4180
- package/dist/sf.prefeiturasp.vuecomponents.es.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.js +332 -69
- package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/types/index.d.ts +12 -1
- package/package.json +6 -6
- package/src/components/button/Button.vue +1 -1
- package/src/components/icon/Icon.vue +12 -16
- package/src/components/internal/getMaxZindex.ts +3 -2
- package/src/components/layout/Layout.vue +1 -1
- package/src/components/navmenu/NavMenu.d.ts +30 -0
- package/src/components/navmenu/NavMenu.vue +105 -0
- package/src/index.ts +2 -0
- package/src/services/authService.ts +13 -4
- package/src/style/componentes.scss +5 -1
- package/src/style/src/_functions.scss +17 -2
- package/src/style/src/_mixins.scss +51 -29
- package/src/style/src/_variables.scss +11 -0
- package/src/style/src/components/_button.scss +8 -11
- package/src/style/src/components/_icon.scss +49 -47
- package/src/style/src/components/_tooltip.scss +6 -7
- package/src/types/index.ts +24 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AxiosInstance, AxiosResponse } from
|
|
2
|
-
import { AppResult } from
|
|
3
|
-
import Keycloak from
|
|
1
|
+
import { AxiosInstance, AxiosResponse } from 'axios';
|
|
2
|
+
import { AppResult } from '../common/appResult';
|
|
3
|
+
import { default as Keycloak } from '../keycloak';
|
|
4
4
|
declare class AxiosClient {
|
|
5
5
|
constructor(keycloak: Keycloak, baseUrl: string);
|
|
6
6
|
keycloak: Keycloak;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleValue } from
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
2
|
export interface SfButtonProps {
|
|
3
3
|
icon?: string;
|
|
4
4
|
/**
|
|
@@ -31,13 +31,13 @@ export interface SfButtonProps {
|
|
|
31
31
|
type?: "submit" | "reset" | "button";
|
|
32
32
|
value?: string | string[] | number;
|
|
33
33
|
}
|
|
34
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
34
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfButtonProps>, {
|
|
35
35
|
visible: boolean;
|
|
36
36
|
color: string;
|
|
37
37
|
size: string;
|
|
38
38
|
type: string;
|
|
39
39
|
variant: string;
|
|
40
|
-
}>, {}, unknown, {}, {}, import(
|
|
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_TypePropsToOption<SfButtonProps>, {
|
|
41
41
|
visible: boolean;
|
|
42
42
|
color: string;
|
|
43
43
|
size: string;
|
|
@@ -53,15 +53,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
53
53
|
default?(_: {}): any;
|
|
54
54
|
}>;
|
|
55
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
56
|
type __VLS_WithDefaults<P, D> = {
|
|
66
57
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
67
58
|
default: D[K];
|
|
@@ -75,3 +66,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
75
66
|
$slots: S;
|
|
76
67
|
};
|
|
77
68
|
};
|
|
69
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
70
|
+
type __VLS_TypePropsToOption<T> = {
|
|
71
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
72
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
73
|
+
} : {
|
|
74
|
+
type: import('vue').PropType<T[K]>;
|
|
75
|
+
required: true;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleValue } from
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
2
|
export interface SfContentProps {
|
|
3
3
|
class?: any;
|
|
4
4
|
style?: StyleValue;
|
|
@@ -6,14 +6,19 @@ export interface SfContentProps {
|
|
|
6
6
|
disableHeaderPadding?: boolean;
|
|
7
7
|
disableFooterPadding?: boolean;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
9
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<SfContentProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<SfContentProps>>>, {}, {}>, {
|
|
10
10
|
header?(_: {}): any;
|
|
11
11
|
default?(_: {}): any;
|
|
12
12
|
footer?(_: {}): any;
|
|
13
13
|
}>;
|
|
14
14
|
export default _default;
|
|
15
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
16
|
+
new (): {
|
|
17
|
+
$slots: S;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
15
20
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
16
|
-
type
|
|
21
|
+
type __VLS_TypePropsToOption<T> = {
|
|
17
22
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
18
23
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
19
24
|
} : {
|
|
@@ -21,8 +26,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
21
26
|
required: true;
|
|
22
27
|
};
|
|
23
28
|
};
|
|
24
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
25
|
-
new (): {
|
|
26
|
-
$slots: S;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleValue } from
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
2
|
export interface SfDrawerProps {
|
|
3
3
|
visible: boolean;
|
|
4
4
|
/**
|
|
@@ -7,14 +7,14 @@ export interface SfDrawerProps {
|
|
|
7
7
|
position?: "left" | "right" | "bottom" | "full";
|
|
8
8
|
style?: StyleValue;
|
|
9
9
|
}
|
|
10
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
10
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfDrawerProps>, {
|
|
11
11
|
visible: boolean;
|
|
12
12
|
position: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import(
|
|
13
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
14
14
|
"update:visible": (v: boolean) => void;
|
|
15
15
|
open: () => void;
|
|
16
16
|
"before-close": () => void;
|
|
17
|
-
}, string, import(
|
|
17
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SfDrawerProps>, {
|
|
18
18
|
visible: boolean;
|
|
19
19
|
position: string;
|
|
20
20
|
}>>> & {
|
|
@@ -30,15 +30,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
30
30
|
footer?(_: {}): any;
|
|
31
31
|
}>;
|
|
32
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
33
|
type __VLS_WithDefaults<P, D> = {
|
|
43
34
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
44
35
|
default: D[K];
|
|
@@ -52,3 +43,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
52
43
|
$slots: S;
|
|
53
44
|
};
|
|
54
45
|
};
|
|
46
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
47
|
+
type __VLS_TypePropsToOption<T> = {
|
|
48
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
49
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
50
|
+
} : {
|
|
51
|
+
type: import('vue').PropType<T[K]>;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { ButtonHTMLAttributes, StyleValue } from
|
|
1
|
+
import { ButtonHTMLAttributes, StyleValue } from 'vue';
|
|
2
|
+
import { Color, IconSize } from '../../types';
|
|
2
3
|
export interface SfIconProps {
|
|
3
4
|
icon?: string;
|
|
4
5
|
visible?: boolean;
|
|
@@ -7,48 +8,37 @@ export interface SfIconProps {
|
|
|
7
8
|
disabled?: boolean;
|
|
8
9
|
loading?: boolean;
|
|
9
10
|
button?: boolean;
|
|
10
|
-
|
|
11
|
-
* @default 'md'
|
|
12
|
-
*/
|
|
13
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
11
|
+
size?: IconSize;
|
|
14
12
|
dot?: boolean;
|
|
15
|
-
|
|
16
|
-
* @default 'error'
|
|
17
|
-
*/
|
|
18
|
-
dotColor?: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error" | undefined;
|
|
13
|
+
dotColor?: Color;
|
|
19
14
|
filled?: boolean;
|
|
20
15
|
buttonProps?: ButtonHTMLAttributes;
|
|
21
16
|
tooltip?: string;
|
|
17
|
+
color?: Color | "inherit";
|
|
22
18
|
}
|
|
23
|
-
declare const _default: import(
|
|
19
|
+
declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfIconProps>, {
|
|
24
20
|
visible: boolean;
|
|
25
21
|
class: string;
|
|
26
22
|
style: string;
|
|
27
23
|
size: string;
|
|
28
24
|
dotColor: string;
|
|
29
|
-
|
|
25
|
+
color: string;
|
|
26
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<SfIconProps>, {
|
|
30
27
|
visible: boolean;
|
|
31
28
|
class: string;
|
|
32
29
|
style: string;
|
|
33
30
|
size: string;
|
|
34
31
|
dotColor: string;
|
|
32
|
+
color: string;
|
|
35
33
|
}>>>, {
|
|
36
34
|
style: StyleValue;
|
|
37
35
|
class: any;
|
|
38
|
-
size:
|
|
36
|
+
size: IconSize;
|
|
39
37
|
visible: boolean;
|
|
40
|
-
dotColor:
|
|
38
|
+
dotColor: Color;
|
|
39
|
+
color: Color | "inherit";
|
|
41
40
|
}, {}>;
|
|
42
41
|
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
42
|
type __VLS_WithDefaults<P, D> = {
|
|
53
43
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
44
|
default: D[K];
|
|
@@ -57,3 +47,12 @@ type __VLS_WithDefaults<P, D> = {
|
|
|
57
47
|
type __VLS_Prettify<T> = {
|
|
58
48
|
[K in keyof T]: T[K];
|
|
59
49
|
} & {};
|
|
50
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
51
|
+
type __VLS_TypePropsToOption<T> = {
|
|
52
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
53
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
54
|
+
} : {
|
|
55
|
+
type: import('vue').PropType<T[K]>;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
declare const _default: import(
|
|
1
|
+
declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
2
2
|
logout: () => void;
|
|
3
|
-
}, string, import(
|
|
3
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
4
4
|
onLogout?: (() => any) | undefined;
|
|
5
5
|
}, {}, {}>;
|
|
6
6
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
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
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
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
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
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
2
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const _default: import(
|
|
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
2
|
export default _default;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export interface SfLayoutProps {
|
|
2
2
|
}
|
|
3
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
3
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
4
4
|
mounted: () => void;
|
|
5
5
|
logout: () => void;
|
|
6
|
-
}, string, import(
|
|
6
|
+
}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<{}>> & {
|
|
7
7
|
onLogout?: (() => any) | undefined;
|
|
8
8
|
onMounted?: (() => any) | undefined;
|
|
9
9
|
}, {}, {}>, {
|
|
@@ -13,6 +13,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}
|
|
|
13
13
|
content?(_: {}): any;
|
|
14
14
|
}>;
|
|
15
15
|
export default _default;
|
|
16
|
+
|
|
16
17
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
18
|
new (): {
|
|
18
19
|
$slots: S;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { StyleValue } from
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
2
|
export interface SfMessageProps {
|
|
3
3
|
/**
|
|
4
4
|
* @default 'info'
|
|
@@ -8,9 +8,9 @@ export interface SfMessageProps {
|
|
|
8
8
|
style?: StyleValue;
|
|
9
9
|
icon?: string;
|
|
10
10
|
}
|
|
11
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfMessageProps>, {
|
|
12
12
|
color: string;
|
|
13
|
-
}>, {}, unknown, {}, {}, import(
|
|
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_TypePropsToOption<SfMessageProps>, {
|
|
14
14
|
color: string;
|
|
15
15
|
}>>>, {
|
|
16
16
|
color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
|
|
@@ -18,15 +18,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
18
18
|
default?(_: {}): any;
|
|
19
19
|
}>;
|
|
20
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
21
|
type __VLS_WithDefaults<P, D> = {
|
|
31
22
|
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
32
23
|
default: D[K];
|
|
@@ -40,3 +31,12 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
40
31
|
$slots: S;
|
|
41
32
|
};
|
|
42
33
|
};
|
|
34
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
35
|
+
type __VLS_TypePropsToOption<T> = {
|
|
36
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
37
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
38
|
+
} : {
|
|
39
|
+
type: import('vue').PropType<T[K]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { SfNavMenuProps } from './NavMenu';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<SfNavMenuProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<SfNavMenuProps>>>, {}, {}>;
|
|
3
|
+
export default _default;
|
|
4
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
5
|
+
type __VLS_TypePropsToOption<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
|
+
};
|
|
@@ -5,10 +5,10 @@ export interface SfNavMenuLinkProps {
|
|
|
5
5
|
iconFilled?: boolean;
|
|
6
6
|
exact?: boolean;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: import(
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<SfNavMenuLinkProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<SfNavMenuLinkProps>>>, {}, {}>;
|
|
9
9
|
export default _default;
|
|
10
10
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
11
|
-
type
|
|
11
|
+
type __VLS_TypePropsToOption<T> = {
|
|
12
12
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
13
13
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
14
14
|
} : {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { SfPanelMenuItem } from
|
|
2
|
-
declare const _default: import(
|
|
1
|
+
import { SfPanelMenuItem } from '../../types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<__VLS_TypePropsToOption<{
|
|
3
3
|
items: SfPanelMenuItem[];
|
|
4
|
-
}>, {}, unknown, {}, {}, import(
|
|
4
|
+
}>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<{
|
|
5
5
|
items: SfPanelMenuItem[];
|
|
6
6
|
}>>>, {}, {}>;
|
|
7
7
|
export default _default;
|
|
8
8
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type
|
|
9
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
10
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
11
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
12
|
} : {
|
|
@@ -5,16 +5,21 @@ export interface SfTabNavigationTab {
|
|
|
5
5
|
export interface SfTabNavigationProps {
|
|
6
6
|
tabs: SfTabNavigationTab[];
|
|
7
7
|
}
|
|
8
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
8
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<SfTabNavigationProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<SfTabNavigationProps>>>, {}, {}>, {
|
|
9
9
|
item?(_: {
|
|
10
10
|
item: SfTabNavigationTab;
|
|
11
|
-
navigate:
|
|
12
|
-
isActive:
|
|
11
|
+
navigate: any;
|
|
12
|
+
isActive: any;
|
|
13
13
|
}): any;
|
|
14
14
|
}>;
|
|
15
15
|
export default _default;
|
|
16
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
17
|
+
new (): {
|
|
18
|
+
$slots: S;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
16
21
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
17
|
-
type
|
|
22
|
+
type __VLS_TypePropsToOption<T> = {
|
|
18
23
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
19
24
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
20
25
|
} : {
|
|
@@ -22,8 +27,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
22
27
|
required: true;
|
|
23
28
|
};
|
|
24
29
|
};
|
|
25
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
-
new (): {
|
|
27
|
-
$slots: S;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
export interface SfTooltipProps {
|
|
2
2
|
text: string;
|
|
3
3
|
}
|
|
4
|
-
declare const _default: __VLS_WithTemplateSlots<import(
|
|
4
|
+
declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToOption<SfTooltipProps>, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToOption<SfTooltipProps>>>, {}, {}>, {
|
|
5
5
|
default?(_: {}): any;
|
|
6
6
|
}>;
|
|
7
7
|
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
8
13
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
9
|
-
type
|
|
14
|
+
type __VLS_TypePropsToOption<T> = {
|
|
10
15
|
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
11
16
|
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
12
17
|
} : {
|
|
@@ -14,8 +19,3 @@ type __VLS_TypePropsToRuntimeProps<T> = {
|
|
|
14
19
|
required: true;
|
|
15
20
|
};
|
|
16
21
|
};
|
|
17
|
-
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
-
new (): {
|
|
19
|
-
$slots: S;
|
|
20
|
-
};
|
|
21
|
-
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import SfLayout from
|
|
2
|
-
import SfIcon from
|
|
3
|
-
import SfNavMenuLink from
|
|
4
|
-
import SfContent from
|
|
5
|
-
import SfTabNavigation from
|
|
6
|
-
import SfButton from
|
|
7
|
-
import SfDrawer from
|
|
8
|
-
import SfMessage from
|
|
9
|
-
import SfTooltip from
|
|
10
|
-
import SfPanelMenu from
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import
|
|
16
|
-
import { AxiosClient, UseAxiosClient } from
|
|
17
|
-
export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, SfButton, SfDrawer, SfMessage, SfTooltip, SfPanelMenu, StartAuthService, UseAuthService, UseNavMenuService, UseConfirmService, UseAlertService, UseAxiosClient, AppResult, AxiosClient, };
|
|
18
|
-
export * from
|
|
1
|
+
import { default as SfLayout } from './components/layout/Layout';
|
|
2
|
+
import { default as SfIcon } from './components/icon/Icon';
|
|
3
|
+
import { default as SfNavMenuLink } from './components/navmenulink/NavMenuLink';
|
|
4
|
+
import { default as SfContent } from './components/content/Content';
|
|
5
|
+
import { default as SfTabNavigation } from './components/tabnavigation/TabNavigation';
|
|
6
|
+
import { default as SfButton } from './components/button/Button';
|
|
7
|
+
import { default as SfDrawer } from './components/drawer/Drawer';
|
|
8
|
+
import { default as SfMessage } from './components/message/Message';
|
|
9
|
+
import { default as SfTooltip } from './components/tooltip/Tooltip';
|
|
10
|
+
import { default as SfPanelMenu } from './components/panelmenu/PanelMenu';
|
|
11
|
+
import { default as SfNavMenu } from './components/navmenu/NavMenu';
|
|
12
|
+
import { UseNavMenuService } from './services/navMenuService';
|
|
13
|
+
import { UseAlertService, UseConfirmService } from './services/dialogService';
|
|
14
|
+
import { StartAuthService, UseAuthService } from './services/authService';
|
|
15
|
+
import { AppResult } from './common/appResult';
|
|
16
|
+
import { AxiosClient, UseAxiosClient } from './axios/axiosClient';
|
|
17
|
+
export { SfLayout, SfIcon, SfNavMenuLink, SfContent, SfTabNavigation, SfButton, SfDrawer, SfMessage, SfTooltip, SfPanelMenu, SfNavMenu, StartAuthService, UseAuthService, UseNavMenuService, UseConfirmService, UseAlertService, UseAxiosClient, AppResult, AxiosClient, };
|
|
18
|
+
export * from './types';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IAuthService } from
|
|
2
|
-
import { KeycloakConfig } from
|
|
1
|
+
import { IAuthService } from '../types';
|
|
2
|
+
import { KeycloakConfig } from './../keycloak';
|
|
3
3
|
declare const UseAuthService: () => IAuthService;
|
|
4
4
|
declare const StartAuthService: (config: KeycloakConfig) => IAuthService;
|
|
5
5
|
export { StartAuthService, UseAuthService };
|