@luizleon/sf.prefeiturasp.vuecomponents 0.0.66 → 4.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/dist/sf.prefeiturasp.vuecomponents.cjs +423 -0
  2. package/dist/sf.prefeiturasp.vuecomponents.cjs.map +1 -0
  3. package/dist/sf.prefeiturasp.vuecomponents.js +8953 -0
  4. package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -0
  5. package/dist/sf.prefeiturasp.vuecomponents.umd.cjs +423 -0
  6. package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -0
  7. package/dist/{axios → src/axios}/axiosClient.d.ts +7 -0
  8. package/dist/{components/button/Button.d.ts → src/components/button/Button.vue.d.ts} +16 -16
  9. package/dist/{components/content/Content.d.ts → src/components/content/Content.vue.d.ts} +7 -7
  10. package/dist/{components/drawer/Drawer.d.ts → src/components/drawer/Drawer.vue.d.ts} +15 -15
  11. package/dist/{components/icon/Icon.d.ts → src/components/icon/Icon.vue.d.ts} +23 -24
  12. package/dist/{components/internal/HeaderAvatar.d.ts → src/components/internal/HeaderAvatar.vue.d.ts} +2 -2
  13. package/dist/src/components/internal/LoadingCircle.vue.d.ts +2 -0
  14. package/dist/src/components/internal/MenuIcon.vue.d.ts +2 -0
  15. package/dist/src/components/internal/ScrollToTop.vue.d.ts +2 -0
  16. package/dist/src/components/internal/ThemeToggle.d.ts +10 -0
  17. package/dist/src/components/internal/ThemeToggle.vue.d.ts +2 -0
  18. package/dist/{components/layout/Layout.d.ts → src/components/layout/Layout.vue.d.ts} +9 -2
  19. package/dist/{components/message/Message.d.ts → src/components/message/Message.vue.d.ts} +14 -14
  20. package/dist/src/components/navmenu/NavMenu.vue.d.ts +15 -0
  21. package/dist/{components/tabnavigation/TabNavigation.d.ts → src/components/tabnavigation/TabNavigation.vue.d.ts} +9 -9
  22. package/dist/{components/tooltip/Tooltip.d.ts → src/components/tooltip/Tooltip.vue.d.ts} +7 -7
  23. package/dist/src/index.d.ts +17 -0
  24. package/dist/{types → src/types}/index.d.ts +11 -0
  25. package/dist/style.css +1 -1
  26. package/dist/tsconfig.tsbuildinfo +1 -0
  27. package/package.json +10 -9
  28. package/src/axios/axiosClient.ts +111 -3
  29. package/src/components/button/Button.vue +1 -1
  30. package/src/components/icon/Icon.vue +12 -16
  31. package/src/components/internal/getMaxZindex.ts +3 -2
  32. package/src/components/layout/Layout.vue +8 -1
  33. package/src/components/navmenu/NavMenu.vue +109 -0
  34. package/src/index.ts +2 -4
  35. package/src/keycloak.js +1485 -1890
  36. package/src/services/authService.ts +13 -4
  37. package/src/style/componentes.scss +5 -1
  38. package/src/style/src/_functions.scss +17 -2
  39. package/src/style/src/_mixins.scss +51 -29
  40. package/src/style/src/_variables.scss +11 -0
  41. package/src/style/src/components/_button.scss +8 -11
  42. package/src/style/src/components/_icon.scss +49 -47
  43. package/src/style/src/components/_tooltip.scss +6 -7
  44. package/src/types/index.ts +24 -0
  45. package/src/vite-env.d.ts +1 -0
  46. package/tsconfig.json +5 -3
  47. package/vite.config.js +2 -4
  48. package/dist/components/internal/LoadingCircle.d.ts +0 -2
  49. package/dist/components/internal/MenuIcon.d.ts +0 -2
  50. package/dist/components/internal/ScrollToTop.d.ts +0 -2
  51. package/dist/components/internal/ThemeToggle.d.ts +0 -2
  52. package/dist/components/navmenulink/NavMenuLink.d.ts +0 -18
  53. package/dist/components/panelmenu/PanelMenu.d.ts +0 -16
  54. package/dist/index.d.ts +0 -18
  55. package/dist/keycloak.d.ts +0 -671
  56. package/dist/sf.prefeiturasp.vuecomponents.es.js +0 -8685
  57. package/dist/sf.prefeiturasp.vuecomponents.es.js.map +0 -1
  58. package/dist/sf.prefeiturasp.vuecomponents.umd.js +0 -153
  59. package/dist/sf.prefeiturasp.vuecomponents.umd.js.map +0 -1
  60. package/src/components/button/Button.d.ts +0 -26
  61. package/src/components/content/Content.d.ts +0 -28
  62. package/src/components/drawer/Drawer.d.ts +0 -50
  63. package/src/components/icon/Icon.d.ts +0 -23
  64. package/src/components/layout/Layout.d.ts +0 -44
  65. package/src/components/message/Message.d.ts +0 -28
  66. package/src/components/navmenulink/NavMenuLink.d.ts +0 -29
  67. package/src/components/navmenulink/NavMenuLink.vue +0 -49
  68. package/src/components/panelmenu/PanelMenu.d.ts +0 -26
  69. package/src/components/panelmenu/PanelMenu.vue +0 -101
  70. package/src/components/tabnavigation/TabNavigation.d.ts +0 -34
  71. package/src/components/tooltip/Tooltip.d.ts +0 -23
  72. package/src/ts-helpers.d.ts +0 -57
  73. /package/dist/{common → src/common}/appResult.d.ts +0 -0
  74. /package/dist/{components → src/components}/internal/cssClassBuilder.d.ts +0 -0
  75. /package/dist/{components → src/components}/internal/getMaxZindex.d.ts +0 -0
  76. /package/dist/{services → src/services}/authService.d.ts +0 -0
  77. /package/dist/{services → src/services}/dialogService.d.ts +0 -0
  78. /package/dist/{services → src/services}/navMenuService.d.ts +0 -0
@@ -5,6 +5,7 @@ declare class AxiosClient {
5
5
  constructor(keycloak: Keycloak, baseUrl: string);
6
6
  keycloak: Keycloak;
7
7
  axios: AxiosInstance;
8
+ private fileName;
8
9
  private ParseAppResult;
9
10
  /**
10
11
  * Usar após 'then' (httpStatusCode 2xx) para obter o resultado da requisição.
@@ -18,6 +19,12 @@ declare class AxiosClient {
18
19
  */
19
20
  HandleCatch<T>(r: any): AppResult<T>;
20
21
  private SilentLogin;
22
+ private GetCodeVerifierFromState;
23
+ private TokenExchangeParams;
24
+ private GenerateIframe;
25
+ private get silentLoginRedirectUrl();
26
+ private get tokenExchangeUrl();
27
+ private get isTokenExpired();
21
28
  }
22
29
  declare const UseAxiosClient: (keycloak: Keycloak, baseURL: string) => AxiosClient;
23
30
  export { AxiosClient, UseAxiosClient };
@@ -31,37 +31,28 @@ export interface SfButtonProps {
31
31
  type?: "submit" | "reset" | "button";
32
32
  value?: string | string[] | number;
33
33
  }
34
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfButtonProps>, {
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
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfButtonProps>, {
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;
44
44
  type: string;
45
45
  variant: string;
46
- }>>> & Readonly<{}>, {
47
- visible: boolean;
48
- type: "reset" | "submit" | "button";
46
+ }>>>, {
49
47
  size: "sm" | "md" | "lg";
50
- color: "error" | "primary" | "secondary" | "info" | "success" | "help" | "warn";
48
+ type: "button" | "submit" | "reset";
49
+ visible: boolean;
50
+ color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
51
51
  variant: "text" | "filled" | "outlined";
52
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
52
+ }, {}>, {
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
+ };
@@ -6,14 +6,19 @@ export interface SfContentProps {
6
6
  disableHeaderPadding?: boolean;
7
7
  disableFooterPadding?: boolean;
8
8
  }
9
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfContentProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfContentProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
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 __VLS_TypePropsToRuntimeProps<T> = {
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
- };
@@ -7,38 +7,29 @@ export interface SfDrawerProps {
7
7
  position?: "left" | "right" | "bottom" | "full";
8
8
  style?: StyleValue;
9
9
  }
10
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
10
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfDrawerProps>, {
11
11
  visible: boolean;
12
12
  position: string;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
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("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfDrawerProps>, {
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
- }>>> & Readonly<{
20
+ }>>> & {
21
21
  "onUpdate:visible"?: ((v: boolean) => any) | undefined;
22
22
  onOpen?: (() => any) | undefined;
23
23
  "onBefore-close"?: (() => any) | undefined;
24
- }>, {
24
+ }, {
25
25
  visible: boolean;
26
26
  position: "left" | "right" | "bottom" | "full";
27
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
27
+ }, {}>, {
28
28
  title?(_: {}): any;
29
29
  default?(_: {}): any;
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
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("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
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
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
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;
35
- }>>> & Readonly<{}>, {
36
- style: string | false | import("vue").CSSProperties | StyleValue[] | null;
32
+ color: string;
33
+ }>>>, {
34
+ style: StyleValue;
37
35
  class: any;
36
+ size: IconSize;
38
37
  visible: boolean;
39
- size: "sm" | "md" | "lg";
40
- dotColor: "error" | "primary" | "secondary" | "info" | "success" | "help" | "warn";
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
38
+ dotColor: Color;
39
+ color: Color | "inherit";
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
1
  declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
2
2
  logout: () => void;
3
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
3
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
4
4
  onLogout?: (() => any) | undefined;
5
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
5
+ }, {}, {}>;
6
6
  export default _default;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,2 @@
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;
@@ -0,0 +1,10 @@
1
+ declare class ThemeToggle {
2
+ get storedTheme(): "light" | "dark" | null;
3
+ get IsDark(): boolean;
4
+ Toggle(): void;
5
+ EnableDarkMode(): void;
6
+ EnableLightMode(): void;
7
+ SetInitialTheme(): void;
8
+ }
9
+ export declare const ThemeToggleBase: ThemeToggle;
10
+ export {};
@@ -0,0 +1,2 @@
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,18 +1,25 @@
1
1
  export interface SfLayoutProps {
2
2
  }
3
+ export interface SfLayoutSlots {
4
+ title: {};
5
+ action: {};
6
+ menu: {};
7
+ content: {};
8
+ }
3
9
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
4
10
  mounted: () => void;
5
11
  logout: () => void;
6
- }, string, import("vue").PublicProps, Readonly<{}> & Readonly<{
12
+ }, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
7
13
  onLogout?: (() => any) | undefined;
8
14
  onMounted?: (() => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
+ }, {}, {}>, {
10
16
  title?(_: {}): any;
11
17
  action?(_: {}): any;
12
18
  menu?(_: {}): any;
13
19
  content?(_: {}): any;
14
20
  }>;
15
21
  export default _default;
22
+
16
23
  type __VLS_WithTemplateSlots<T, S> = T & {
17
24
  new (): {
18
25
  $slots: S;
@@ -8,25 +8,16 @@ export interface SfMessageProps {
8
8
  style?: StyleValue;
9
9
  icon?: string;
10
10
  }
11
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfMessageProps>, {
11
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<SfMessageProps>, {
12
12
  color: string;
13
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfMessageProps>, {
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
- }>>> & Readonly<{}>, {
16
- color: "error" | "primary" | "secondary" | "info" | "success" | "help" | "warn";
17
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
15
+ }>>>, {
16
+ color: "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error";
17
+ }, {}>, {
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,15 @@
1
+ import { SfNavMenuItem } from "./../../types";
2
+ export interface SfNavMenuProps {
3
+ items: SfNavMenuItem[];
4
+ }
5
+ 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>>>, {}, {}>;
6
+ export default _default;
7
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
+ type __VLS_TypePropsToOption<T> = {
9
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
10
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
+ } : {
12
+ type: import('vue').PropType<T[K]>;
13
+ required: true;
14
+ };
15
+ };
@@ -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("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfTabNavigationProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfTabNavigationProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
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: (e?: MouseEvent | undefined) => Promise<void | import("vue-router").NavigationFailure>;
12
- isActive: boolean;
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 __VLS_TypePropsToRuntimeProps<T> = {
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("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfTooltipProps>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SfTooltipProps>>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
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 __VLS_TypePropsToRuntimeProps<T> = {
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
- };
@@ -0,0 +1,17 @@
1
+ import SfLayout from "./components/layout/Layout.vue";
2
+ import SfIcon from "./components/icon/Icon.vue";
3
+ import SfContent from "./components/content/Content.vue";
4
+ import SfTabNavigation from "./components/tabnavigation/TabNavigation.vue";
5
+ import SfButton from "./components/button/Button.vue";
6
+ import SfDrawer from "./components/drawer/Drawer.vue";
7
+ import SfMessage from "./components/message/Message.vue";
8
+ import SfTooltip from "./components/tooltip/Tooltip.vue";
9
+ import SfNavMenu from "./components/navmenu/NavMenu.vue";
10
+ import { UseNavMenuService } from "./services/navMenuService";
11
+ import { UseAlertService, UseConfirmService } from "./services/dialogService";
12
+ import { StartAuthService, UseAuthService } from "./services/authService";
13
+ import { AppResult } from "./common/appResult";
14
+ import "./style/componentes.scss";
15
+ import { AxiosClient, UseAxiosClient } from "./axios/axiosClient";
16
+ export { SfLayout, SfIcon, SfContent, SfTabNavigation, SfButton, SfDrawer, SfMessage, SfTooltip, SfNavMenu, StartAuthService, UseAuthService, UseNavMenuService, UseConfirmService, UseAlertService, UseAxiosClient, AppResult, AxiosClient, };
17
+ export * from "./types";
@@ -1,4 +1,8 @@
1
1
  import Keycloak, { KeycloakInitOptions } from "./../keycloak";
2
+ export type Color = "primary" | "secondary" | "info" | "success" | "help" | "warn" | "error" | "text";
3
+ export type Size = "sm" | "md" | "lg";
4
+ export type IconSize = Size | "xl" | "2xl" | "3xl";
5
+ export type ButtonVariant = "filled" | "outlined" | "text";
2
6
  interface SfPanelMenuItem {
3
7
  label: string;
4
8
  routeName?: string;
@@ -7,6 +11,13 @@ interface SfPanelMenuItem {
7
11
  items?: SfPanelMenuItem[];
8
12
  key?: string;
9
13
  }
14
+ export interface SfNavMenuItem {
15
+ text: string;
16
+ [key: string]: any;
17
+ href?: string;
18
+ icon?: string;
19
+ items?: SfNavMenuItem[];
20
+ }
10
21
  interface User {
11
22
  name: string;
12
23
  email: string;