@luizleon/sf.prefeiturasp.vuecomponents 0.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.
- package/dist/components/content/Content.d.ts +21 -0
- package/dist/components/icon/Icon.d.ts +39 -0
- package/dist/components/internal/LoadingCircle.d.ts +2 -0
- package/dist/components/internal/LogoutIcon.d.ts +2 -0
- package/dist/components/internal/MenuIcon.d.ts +2 -0
- package/dist/components/internal/ScrollToTop.d.ts +2 -0
- package/dist/components/internal/ThemeToggle.d.ts +2 -0
- package/dist/components/internal/cssClassBuilder.d.ts +29 -0
- package/dist/components/layout/Layout.d.ts +12 -0
- package/dist/components/navmenulink/NavMenuLink.d.ts +12 -0
- package/dist/enum/cor.d.ts +9 -0
- package/dist/enum/index.d.ts +2 -0
- package/dist/enum/tamanho.d.ts +5 -0
- package/dist/index.d.ts +9 -0
- package/dist/lib.es.js +2724 -0
- package/dist/lib.umd.js +79 -0
- package/dist/services/authService.d.ts +20 -0
- package/dist/services/dialogService.d.ts +12 -0
- package/dist/services/navMenuService.d.ts +9 -0
- package/dist/style.css +1 -0
- package/package.json +31 -0
- package/src/components/content/Content.d.ts +35 -0
- package/src/components/content/Content.vue +41 -0
- package/src/components/icon/Icon.d.ts +38 -0
- package/src/components/icon/Icon.vue +43 -0
- package/src/components/internal/LoadingCircle.vue +16 -0
- package/src/components/internal/LogoutIcon.vue +14 -0
- package/src/components/internal/MenuIcon.vue +13 -0
- package/src/components/internal/ScrollToTop.vue +26 -0
- package/src/components/internal/ThemeToggle.ts +41 -0
- package/src/components/internal/ThemeToggle.vue +23 -0
- package/src/components/internal/cssClassBuilder.ts +44 -0
- package/src/components/layout/Layout.d.ts +44 -0
- package/src/components/layout/Layout.vue +63 -0
- package/src/components/navmenulink/NavMenuLink.d.ts +34 -0
- package/src/components/navmenulink/NavMenuLink.vue +41 -0
- package/src/enum/cor.ts +9 -0
- package/src/enum/index.ts +2 -0
- package/src/enum/tamanho.ts +5 -0
- package/src/index.ts +56 -0
- package/src/services/authService.ts +69 -0
- package/src/services/dialogService.ts +35 -0
- package/src/services/navMenuService.ts +21 -0
- package/src/sf-oidc-state.html +15 -0
- package/src/style/componentes.scss +22 -0
- package/src/style/src/_animation.scss +441 -0
- package/src/style/src/_display.scss +10 -0
- package/src/style/src/_flexbox.scss +85 -0
- package/src/style/src/_functions.scss +171 -0
- package/src/style/src/_gap.scss +8 -0
- package/src/style/src/_grid.scss +100 -0
- package/src/style/src/_mixins.scss +633 -0
- package/src/style/src/_normalize.scss +351 -0
- package/src/style/src/_ripple.scss +30 -0
- package/src/style/src/_size.scss +98 -0
- package/src/style/src/_spacing.scss +42 -0
- package/src/style/src/_typography.scss +43 -0
- package/src/style/src/_variables.scss +87 -0
- package/src/style/src/components/_button.scss +110 -0
- package/src/style/src/components/_checkbox.scss +53 -0
- package/src/style/src/components/_content.scss +57 -0
- package/src/style/src/components/_datefield.scss +405 -0
- package/src/style/src/components/_drawer.scss +99 -0
- package/src/style/src/components/_icon.scss +120 -0
- package/src/style/src/components/_internal_icon_button.scss +5 -0
- package/src/style/src/components/_layout.scss +183 -0
- package/src/style/src/components/_loading-circle.scss +24 -0
- package/src/style/src/components/_mark.scss +9 -0
- package/src/style/src/components/_mask.scss +33 -0
- package/src/style/src/components/_navmenulink.scss +31 -0
- package/src/style/src/components/_numpad.scss +58 -0
- package/src/style/src/components/_progress-circular.scss +52 -0
- package/src/style/src/components/_scrollToTop.scss +28 -0
- package/src/style/src/components/_select.scss +60 -0
- package/src/style/src/components/_svg_icon.scss +5 -0
- package/src/style/src/components/_textfield.scss +186 -0
- package/src/style/src/components/_themetoggle.scss +25 -0
- package/src/style/src/components/_toast.scss +66 -0
- package/src/style/src/components/_tooltip.scss +55 -0
- package/src/style/src/sweetalert/_sweetalert.scss +9 -0
- package/src/style/src/sweetalert/scss/_animations.scss +197 -0
- package/src/style/src/sweetalert/scss/_body.scss +45 -0
- package/src/style/src/sweetalert/scss/_core.scss +863 -0
- package/src/style/src/sweetalert/scss/_mixins.scss +16 -0
- package/src/style/src/sweetalert/scss/_theming.scss +8 -0
- package/src/style/src/sweetalert/scss/_toasts-animations.scss +83 -0
- package/src/style/src/sweetalert/scss/_toasts-body.scss +85 -0
- package/src/style/src/sweetalert/scss/_toasts.scss +203 -0
- package/src/style/src/sweetalert/scss/_variables.scss +265 -0
- package/src/style/tema.scss +169 -0
- package/src/ts-helpers.d.ts +57 -0
- package/tsconfig.json +19 -0
- package/vite.config.js +25 -0
|
@@ -0,0 +1,21 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Cor, Tamanho } from "../../enum";
|
|
2
|
+
import { SfIconProps } from "./Icon";
|
|
3
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<SfIconProps>, {
|
|
4
|
+
visible: boolean;
|
|
5
|
+
class: string;
|
|
6
|
+
style: string;
|
|
7
|
+
tamanho: Tamanho;
|
|
8
|
+
dotColor: Cor;
|
|
9
|
+
}>, {}, 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>, {
|
|
10
|
+
visible: boolean;
|
|
11
|
+
class: string;
|
|
12
|
+
style: string;
|
|
13
|
+
tamanho: Tamanho;
|
|
14
|
+
dotColor: Cor;
|
|
15
|
+
}>>>, {
|
|
16
|
+
style: import("vue").StyleValue;
|
|
17
|
+
visible: boolean;
|
|
18
|
+
class: any;
|
|
19
|
+
tamanho: Tamanho;
|
|
20
|
+
dotColor: Cor;
|
|
21
|
+
}, {}>;
|
|
22
|
+
export default _default;
|
|
23
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
24
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
25
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
26
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
27
|
+
} : {
|
|
28
|
+
type: import('vue').PropType<T[K]>;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
type __VLS_WithDefaults<P, D> = {
|
|
33
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
34
|
+
default: D[K];
|
|
35
|
+
}> : P[K];
|
|
36
|
+
};
|
|
37
|
+
type __VLS_Prettify<T> = {
|
|
38
|
+
[K in keyof T]: T[K];
|
|
39
|
+
} & {};
|
|
@@ -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,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,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A utility class for building CSS class strings.
|
|
3
|
+
*/
|
|
4
|
+
export declare class CssClassBuilder {
|
|
5
|
+
/**
|
|
6
|
+
* Creates a new instance of the CssClassBuilder class.
|
|
7
|
+
* @param value The initial value of the CSS class string.
|
|
8
|
+
*/
|
|
9
|
+
constructor(value: string);
|
|
10
|
+
retorno: string;
|
|
11
|
+
/**
|
|
12
|
+
* Concatenates a new CSS class to the existing string.
|
|
13
|
+
* @param value The CSS class to concatenate.
|
|
14
|
+
* @returns The current instance of the CssClassBuilder class.
|
|
15
|
+
*/
|
|
16
|
+
private Concat;
|
|
17
|
+
/**
|
|
18
|
+
* Adds a new CSS class to the string if the specified condition is true.
|
|
19
|
+
* @param value The CSS class to add.
|
|
20
|
+
* @param when The condition that determines whether to add the CSS class.
|
|
21
|
+
* @returns The current instance of the CssClassBuilder class.
|
|
22
|
+
*/
|
|
23
|
+
AddClass(value?: string, when?: boolean): this;
|
|
24
|
+
/**
|
|
25
|
+
* Builds the final CSS class string.
|
|
26
|
+
* @returns The final CSS class string.
|
|
27
|
+
*/
|
|
28
|
+
Build(): string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
|
|
2
|
+
title?(_: {}): any;
|
|
3
|
+
action?(_: {}): any;
|
|
4
|
+
menu?(_: {}): any;
|
|
5
|
+
content?(_: {}): any;
|
|
6
|
+
}>;
|
|
7
|
+
export default _default;
|
|
8
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
9
|
+
new (): {
|
|
10
|
+
$slots: S;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
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
|
+
};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import SfLayout from "./components/layout/Layout";
|
|
2
|
+
import SfIcon from "./components/icon/Icon";
|
|
3
|
+
import SfNavMenuLink from "./components/navmenulink/NavMenuLink";
|
|
4
|
+
import SfContent from "./components/content/Content";
|
|
5
|
+
import { UseNavMenuService } from "./services/navMenuService";
|
|
6
|
+
import { UseDialogService } from "./services/dialogService";
|
|
7
|
+
import { AuthService } from "./services/authService";
|
|
8
|
+
import { Cor, Tamanho } from "./enum";
|
|
9
|
+
export { SfLayout, SfIcon, SfNavMenuLink, SfContent, AuthService, UseNavMenuService, UseDialogService, Cor, Tamanho, };
|