@luizleon/sf.prefeiturasp.vuecomponents 4.0.1 → 4.0.3
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/{src/axios → axios}/axiosClient.d.ts +3 -3
- package/dist/{src/components/button/Button.vue.d.ts → components/button/Button.d.ts} +3 -3
- package/dist/{src/components/content/Content.vue.d.ts → components/content/Content.d.ts} +2 -2
- package/dist/{src/components/drawer/Drawer.vue.d.ts → components/drawer/Drawer.d.ts} +4 -4
- package/dist/{src/components/icon/Icon.vue.d.ts → components/icon/Icon.d.ts} +4 -4
- package/dist/components/internal/HeaderAvatar.d.ts +6 -0
- package/dist/components/internal/LoadingCircle.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/layout/Layout.d.ts +19 -0
- package/dist/{src/components/message/Message.vue.d.ts → components/message/Message.d.ts} +3 -3
- package/dist/components/navmenu/NavMenu.d.ts +15 -0
- package/dist/{src/components/tabnavigation/TabNavigation.vue.d.ts → components/tabnavigation/TabNavigation.d.ts} +1 -1
- package/dist/{src/components/tooltip/Tooltip.vue.d.ts → components/tooltip/Tooltip.d.ts} +1 -1
- package/dist/index.d.ts +16 -0
- package/dist/{src/services → services}/authService.d.ts +2 -2
- package/dist/{src/services → services}/dialogService.d.ts +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.cjs.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.js.map +1 -1
- package/dist/sf.prefeiturasp.vuecomponents.umd.cjs.map +1 -1
- package/dist/{src/types → types}/index.d.ts +1 -1
- package/package.json +7 -6
- package/dist/src/components/internal/HeaderAvatar.vue.d.ts +0 -6
- package/dist/src/components/internal/LoadingCircle.vue.d.ts +0 -2
- package/dist/src/components/internal/MenuIcon.vue.d.ts +0 -2
- package/dist/src/components/internal/ScrollToTop.vue.d.ts +0 -2
- package/dist/src/components/internal/ThemeToggle.d.ts +0 -10
- package/dist/src/components/internal/ThemeToggle.vue.d.ts +0 -2
- package/dist/src/components/layout/Layout.vue.d.ts +0 -27
- package/dist/src/components/navmenu/NavMenu.vue.d.ts +0 -15
- package/dist/src/index.d.ts +0 -17
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/src/axios/axiosClient.ts +0 -207
- package/src/common/appResult.ts +0 -34
- package/src/components/button/Button.vue +0 -104
- package/src/components/content/Content.vue +0 -49
- package/src/components/drawer/Drawer.vue +0 -146
- package/src/components/icon/Icon.vue +0 -96
- package/src/components/internal/HeaderAvatar.vue +0 -73
- package/src/components/internal/LoadingCircle.vue +0 -16
- package/src/components/internal/MenuIcon.vue +0 -13
- package/src/components/internal/ScrollToTop.vue +0 -26
- package/src/components/internal/ThemeToggle.ts +0 -41
- package/src/components/internal/ThemeToggle.vue +0 -23
- package/src/components/internal/cssClassBuilder.ts +0 -44
- package/src/components/internal/getMaxZindex.ts +0 -15
- package/src/components/layout/Layout.vue +0 -67
- package/src/components/message/Message.vue +0 -65
- package/src/components/navmenu/NavMenu.vue +0 -109
- package/src/components/tabnavigation/TabNavigation.vue +0 -125
- package/src/components/tooltip/Tooltip.vue +0 -91
- package/src/index.ts +0 -53
- package/src/keycloak.js +0 -1731
- package/src/services/authService.ts +0 -118
- package/src/services/dialogService.ts +0 -109
- package/src/services/navMenuService.ts +0 -21
- package/src/style/componentes.scss +0 -20
- package/src/style/src/_functions.scss +0 -19
- package/src/style/src/_mixins.scss +0 -193
- package/src/style/src/_variables.scss +0 -12
- package/src/style/src/components/_button.scss +0 -104
- package/src/style/src/components/_content.scss +0 -57
- package/src/style/src/components/_drawer.scss +0 -89
- package/src/style/src/components/_headerAvatar.scss +0 -22
- package/src/style/src/components/_icon.scss +0 -119
- package/src/style/src/components/_layout.scss +0 -160
- package/src/style/src/components/_loading-circle.scss +0 -24
- package/src/style/src/components/_mask.scss +0 -35
- package/src/style/src/components/_message.scss +0 -47
- package/src/style/src/components/_navmenulink.scss +0 -31
- package/src/style/src/components/_scrollToTop.scss +0 -28
- package/src/style/src/components/_svg_icon.scss +0 -5
- package/src/style/src/components/_tab-navigation.scss +0 -93
- package/src/style/src/components/_themetoggle.scss +0 -52
- package/src/style/src/components/_tooltip.scss +0 -53
- package/src/style/src/sweetalert/_sweetalert.scss +0 -9
- package/src/style/src/sweetalert/scss/_animations.scss +0 -197
- package/src/style/src/sweetalert/scss/_body.scss +0 -45
- package/src/style/src/sweetalert/scss/_core.scss +0 -862
- package/src/style/src/sweetalert/scss/_mixins.scss +0 -16
- package/src/style/src/sweetalert/scss/_theming.scss +0 -8
- package/src/style/src/sweetalert/scss/_toasts-animations.scss +0 -83
- package/src/style/src/sweetalert/scss/_toasts-body.scss +0 -85
- package/src/style/src/sweetalert/scss/_toasts.scss +0 -203
- package/src/style/src/sweetalert/scss/_variables.scss +0 -271
- package/src/types/index.ts +0 -59
- package/src/vite-env.d.ts +0 -1
- package/tsconfig.json +0 -22
- package/vite.config.js +0 -28
- /package/dist/{src/common → common}/appResult.d.ts +0 -0
- /package/dist/{src/components → components}/internal/cssClassBuilder.d.ts +0 -0
- /package/dist/{src/components → components}/internal/getMaxZindex.d.ts +0 -0
- /package/{src → dist}/keycloak.d.ts +0 -0
- /package/dist/{src/services → services}/navMenuService.d.ts +0 -0
package/src/types/index.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import Keycloak, { KeycloakInitOptions } from "./../keycloak";
|
|
2
|
-
|
|
3
|
-
export type Color =
|
|
4
|
-
| "primary"
|
|
5
|
-
| "secondary"
|
|
6
|
-
| "info"
|
|
7
|
-
| "success"
|
|
8
|
-
| "help"
|
|
9
|
-
| "warn"
|
|
10
|
-
| "error"
|
|
11
|
-
| "text";
|
|
12
|
-
|
|
13
|
-
export type Size = "sm" | "md" | "lg";
|
|
14
|
-
|
|
15
|
-
export type IconSize = Size | "xl" | "2xl" | "3xl";
|
|
16
|
-
|
|
17
|
-
export type ButtonVariant = "filled" | "outlined" | "text";
|
|
18
|
-
|
|
19
|
-
interface SfPanelMenuItem {
|
|
20
|
-
label: string;
|
|
21
|
-
routeName?: string;
|
|
22
|
-
url?: string;
|
|
23
|
-
icon?: string;
|
|
24
|
-
items?: SfPanelMenuItem[];
|
|
25
|
-
key?: string;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface SfNavMenuItem {
|
|
29
|
-
text: string;
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
href?: string;
|
|
32
|
-
icon?: string;
|
|
33
|
-
items?: SfNavMenuItem[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
interface User {
|
|
37
|
-
name: string;
|
|
38
|
-
email: string;
|
|
39
|
-
username: string;
|
|
40
|
-
roles: string[];
|
|
41
|
-
groups: string[];
|
|
42
|
-
emailVerified: boolean;
|
|
43
|
-
firstName: string;
|
|
44
|
-
lastName: string;
|
|
45
|
-
sub: string;
|
|
46
|
-
IsInRole: (role: string) => boolean;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
interface IAuthService {
|
|
50
|
-
Instance: Keycloak;
|
|
51
|
-
User: User;
|
|
52
|
-
Init: (
|
|
53
|
-
initOptions?: KeycloakInitOptions,
|
|
54
|
-
callback?: () => void
|
|
55
|
-
) => Promise<void>;
|
|
56
|
-
Logout: () => void;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export { SfPanelMenuItem, IAuthService, User };
|
package/src/vite-env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
/// <reference types="vite/client" />
|
package/tsconfig.json
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"lib": ["ESNext", "DOM"],
|
|
4
|
-
"module": "ESNext",
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"moduleResolution": "node",
|
|
7
|
-
"outDir": "dist",
|
|
8
|
-
"declaration": true,
|
|
9
|
-
"strict": true,
|
|
10
|
-
"esModuleInterop": true,
|
|
11
|
-
"skipLibCheck": true,
|
|
12
|
-
"forceConsistentCasingInFileNames": true,
|
|
13
|
-
"allowSyntheticDefaultImports": true,
|
|
14
|
-
"noUnusedLocals": true,
|
|
15
|
-
"useDefineForClassFields": true,
|
|
16
|
-
"resolveJsonModule": true,
|
|
17
|
-
"jsx": "preserve",
|
|
18
|
-
"composite": true,
|
|
19
|
-
},
|
|
20
|
-
"include": ["vite-env.d.ts", "src/**/*", "src/**/*.vue"],
|
|
21
|
-
"exclude": ["node_modules", "**/*.cy.ts", "**/*.spec.ts", "**/__tests__/**/*"]
|
|
22
|
-
}
|
package/vite.config.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from "vite";
|
|
2
|
-
import vue from "@vitejs/plugin-vue";
|
|
3
|
-
import path from "path";
|
|
4
|
-
import sourcemaps from "rollup-plugin-sourcemaps";
|
|
5
|
-
|
|
6
|
-
// https://vitejs.dev/config/
|
|
7
|
-
export default defineConfig({
|
|
8
|
-
build: {
|
|
9
|
-
lib: {
|
|
10
|
-
entry: path.resolve(__dirname, "src/index.ts"),
|
|
11
|
-
name: "sf.prefeiturasp.vuecomponents",
|
|
12
|
-
formats: ["es", "cjs", "umd"],
|
|
13
|
-
},
|
|
14
|
-
rollupOptions: {
|
|
15
|
-
plugins: [sourcemaps()],
|
|
16
|
-
external: ["vue", "primevue", "vue-router"],
|
|
17
|
-
output: {
|
|
18
|
-
globals: {
|
|
19
|
-
vue: "Vue",
|
|
20
|
-
primevue: "Primevue",
|
|
21
|
-
"vue-router": "VueRouter",
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
sourcemap: true,
|
|
26
|
-
},
|
|
27
|
-
plugins: [vue()],
|
|
28
|
-
});
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|