@luizleon/sf.prefeiturasp.vuecomponents 0.0.37 → 0.0.38
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/drawer/Drawer.d.ts +55 -0
- package/dist/components/internal/ThemeToggle.d.ts +11 -8
- package/dist/components/internal/getMaxZindex.d.ts +2 -0
- package/dist/lib.es.js +2030 -1907
- package/dist/lib.es.js.map +1 -1
- package/dist/lib.umd.js +16 -16
- package/dist/lib.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +3 -2
- package/src/components/drawer/Drawer.d.ts +55 -0
- package/src/components/drawer/Drawer.vue +131 -0
- package/src/components/internal/HeaderAvatar.vue +18 -1
- package/src/components/internal/getMaxZindex.ts +14 -0
- package/src/components/layout/Layout.vue +1 -14
- package/src/index.ts +0 -1
- package/src/services/authService.ts +3 -4
- package/src/style/componentes.scss +1 -1
- package/src/style/src/_functions.scss +3 -170
- package/src/style/src/_mixins.scss +70 -553
- package/src/style/src/_variables.scss +1 -87
- package/src/style/src/components/_button.scss +22 -22
- package/src/style/src/components/_drawer.scss +29 -39
- package/src/style/src/components/_icon.scss +17 -20
- package/src/style/src/components/_layout.scss +5 -47
- package/src/style/src/components/_mask.scss +35 -0
- package/src/style/src/components/_themetoggle.scss +30 -3
- package/src/style/src/sweetalert/scss/_core.scss +13 -14
- package/src/style/src/sweetalert/scss/_variables.scss +17 -11
- package/src/style/src/_animation.scss +0 -441
- package/src/style/src/_display.scss +0 -10
- package/src/style/src/_flexbox.scss +0 -85
- package/src/style/src/_gap.scss +0 -8
- package/src/style/src/_grid.scss +0 -100
- package/src/style/src/_normalize.scss +0 -351
- package/src/style/src/_ripple.scss +0 -30
- package/src/style/src/_size.scss +0 -98
- package/src/style/src/_spacing.scss +0 -42
- package/src/style/src/_typography.scss +0 -43
- package/src/style/src/components/_internal-icon-button.scss +0 -5
- package/src/style/tema.scss +0 -171
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { StyleValue, VNode } from "vue";
|
|
2
|
+
import {
|
|
3
|
+
ClassComponent,
|
|
4
|
+
GlobalComponentConstructor,
|
|
5
|
+
} from "../../ts-helpers";
|
|
6
|
+
|
|
7
|
+
export interface SfDrawerProps {
|
|
8
|
+
visible: boolean;
|
|
9
|
+
position?: "left" | "right" | "bottom" | "full";
|
|
10
|
+
style?: StyleValue;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export interface SfDrawerSlots {
|
|
14
|
+
/**
|
|
15
|
+
* Default content slot.
|
|
16
|
+
*/
|
|
17
|
+
default: () => VNode[];
|
|
18
|
+
/**
|
|
19
|
+
* Título da janela
|
|
20
|
+
*/
|
|
21
|
+
title: () => VNode[];
|
|
22
|
+
/**
|
|
23
|
+
* Conteúdo para exibir no rodapé
|
|
24
|
+
*/
|
|
25
|
+
footer: () => VNode[];
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export declare type SfDrawerEmits = {
|
|
29
|
+
/**
|
|
30
|
+
* Emitted when the visible changes.
|
|
31
|
+
*/
|
|
32
|
+
"update:visible": (value: boolean) => void;
|
|
33
|
+
/**
|
|
34
|
+
* Emitido após aberta
|
|
35
|
+
*/
|
|
36
|
+
open: () => void;
|
|
37
|
+
/**
|
|
38
|
+
* Emitido antes de fechar
|
|
39
|
+
*/
|
|
40
|
+
"before-close": () => void;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
declare class SfDrawer extends ClassComponent<
|
|
44
|
+
SfDrawerProps,
|
|
45
|
+
SfDrawerSlots,
|
|
46
|
+
SfDrawerEmits
|
|
47
|
+
> {}
|
|
48
|
+
|
|
49
|
+
declare module "@vue/runtime-core" {
|
|
50
|
+
interface GlobalComponents {
|
|
51
|
+
Drawer: GlobalComponentConstructor<SfDrawer>;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export default SfDrawer;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
-
declare
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
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 {};
|
|
11
|
+
SetInitialTheme(): void;
|
|
9
12
|
};
|
|
10
13
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
11
14
|
export default _sfc_main;
|