@luizleon/sf.prefeiturasp.vuecomponents 0.0.19 → 0.0.21
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/package.json +14 -4
- package/src/common/appResult.ts +0 -22
- package/src/components/button/Button.d.ts +0 -42
- package/src/components/button/Button.vue +0 -61
- package/src/components/content/Content.d.ts +0 -35
- package/src/components/content/Content.vue +0 -41
- package/src/components/icon/Icon.d.ts +0 -38
- package/src/components/icon/Icon.vue +0 -43
- package/src/components/internal/HeaderAvatar.vue +0 -49
- 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/layout/Layout.d.ts +0 -44
- package/src/components/layout/Layout.vue +0 -51
- package/src/components/navmenulink/NavMenuLink.d.ts +0 -35
- package/src/components/navmenulink/NavMenuLink.vue +0 -41
- package/src/components/tabnavigation/TabNavigation.d.ts +0 -42
- package/src/components/tabnavigation/TabNavigation.vue +0 -117
- package/src/enum/cor.ts +0 -9
- package/src/enum/index.ts +0 -2
- package/src/enum/tamanho.ts +0 -5
- package/src/index.ts +0 -62
- package/src/keycloak.d.ts +0 -671
- package/src/keycloak.js +0 -1731
- package/src/services/authService.ts +0 -68
- package/src/services/dialogService.ts +0 -63
- package/src/services/navMenuService.ts +0 -21
- package/src/style/componentes.scss +0 -15
- 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/_functions.scss +0 -171
- package/src/style/src/_gap.scss +0 -8
- package/src/style/src/_grid.scss +0 -100
- package/src/style/src/_mixins.scss +0 -633
- 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/_variables.scss +0 -87
- package/src/style/src/components/_button.scss +0 -107
- package/src/style/src/components/_content.scss +0 -57
- package/src/style/src/components/_drawer.scss +0 -99
- package/src/style/src/components/_headerAvatar.scss +0 -22
- package/src/style/src/components/_icon.scss +0 -120
- package/src/style/src/components/_internal-icon-button.scss +0 -5
- package/src/style/src/components/_layout.scss +0 -183
- package/src/style/src/components/_loading-circle.scss +0 -24
- 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 -25
- package/src/style/src/components/_tooltip.scss +0 -55
- 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 -863
- 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 -265
- package/src/style/tema.scss +0 -169
- package/src/ts-helpers.d.ts +0 -57
- package/tsconfig.json +0 -19
- package/vite.config.js +0 -26
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
@use "sass:color";
|
|
2
|
-
|
|
3
|
-
@function alpha($color, $opacity) {
|
|
4
|
-
$color-h: unquote("var(#{$color + -color-h})");
|
|
5
|
-
$color-s: unquote("var(#{$color + -color-s})");
|
|
6
|
-
$color-l: unquote("var(#{$color + -color-l})");
|
|
7
|
-
@return hsla($color-h, $color-s, $color-l, $opacity);
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@function str-replace($string, $search, $replace: "") {
|
|
11
|
-
$index: str-index($string, $search);
|
|
12
|
-
|
|
13
|
-
@if $index {
|
|
14
|
-
@return str-slice($string, 1, $index - 1) + $replace +
|
|
15
|
-
str-replace(
|
|
16
|
-
str-slice($string, $index + str-length($search)),
|
|
17
|
-
$search,
|
|
18
|
-
$replace
|
|
19
|
-
);
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@return $string;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@function tetradColor($color) {
|
|
26
|
-
$hue: hue($color);
|
|
27
|
-
$saturation: saturation($color);
|
|
28
|
-
$lightness: lightness($color);
|
|
29
|
-
$tetrad: (
|
|
30
|
-
hsl($hue, $saturation, $lightness),
|
|
31
|
-
hsl($hue + 90 % 360, $saturation, $lightness),
|
|
32
|
-
hsl($hue + 180 % 360, $saturation, $lightness),
|
|
33
|
-
hsl($hue + 270 % 360, $saturation, $lightness)
|
|
34
|
-
);
|
|
35
|
-
@return $tetrad;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@function multiplyColor($fore, $back) {
|
|
39
|
-
$red: calc(red($back) * red($fore) / 255);
|
|
40
|
-
$green: calc(green($back) * green($fore) / 255);
|
|
41
|
-
$blue: calc(blue($back) * blue($fore) / 255);
|
|
42
|
-
@return rgb($red, $green, $blue);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@function makeColorPalette($color) {
|
|
46
|
-
$light: #fff;
|
|
47
|
-
$dark: multiplyColor($color, $color);
|
|
48
|
-
$tetrad: tetradColor($color);
|
|
49
|
-
$palette: (
|
|
50
|
-
"": mix($light, $color, 0%),
|
|
51
|
-
"-50": mix($light, $color, 88%),
|
|
52
|
-
"-100": mix($light, $color, 70%),
|
|
53
|
-
"-200": mix($light, $color, 50%),
|
|
54
|
-
"-300": mix($light, $color, 30%),
|
|
55
|
-
"-400": mix($light, $color, 15%),
|
|
56
|
-
"-500": mix($light, $color, 0%),
|
|
57
|
-
"-600": mix($dark, $color, 13%),
|
|
58
|
-
"-700": mix($dark, $color, 30%),
|
|
59
|
-
"-800": mix($dark, $color, 46%),
|
|
60
|
-
"-900": mix($dark, $color, 75%),
|
|
61
|
-
);
|
|
62
|
-
@return $palette;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
@function themeColors($dark: false) {
|
|
66
|
-
$bg: #fff;
|
|
67
|
-
$text: #334d5c;
|
|
68
|
-
$primary: #3f51b5;
|
|
69
|
-
$info: #2196f3;
|
|
70
|
-
$success: #4caf50;
|
|
71
|
-
$warn: #cbb701;
|
|
72
|
-
$help: #673ab7;
|
|
73
|
-
$error: #f44336;
|
|
74
|
-
$secondary: #607d8b;
|
|
75
|
-
$disabled: #c4c4c4;
|
|
76
|
-
$primary-hover: rgba(color.scale($primary, $lightness: 70%), 0.5);
|
|
77
|
-
$info-hover: rgba(color.scale($info, $lightness: 70%), 0.5);
|
|
78
|
-
$success-hover: rgba(color.scale($success, $lightness: 70%), 0.5);
|
|
79
|
-
$warn-hover: rgba(color.scale($warn, $lightness: 70%), 0.5);
|
|
80
|
-
$help-hover: rgba(color.scale($help, $lightness: 70%), 0.5);
|
|
81
|
-
$error-hover: rgba(color.scale($error, $lightness: 70%), 0.5);
|
|
82
|
-
$secondary-hover: rgba(color.scale($secondary, $lightness: 70%), 0.5);
|
|
83
|
-
$surface: #fafafd;
|
|
84
|
-
$surface-100: color.scale($surface, $lightness: -1%);
|
|
85
|
-
$surface-200: color.scale($surface, $lightness: -3%);
|
|
86
|
-
$surface-300: color.scale($surface, $lightness: -5%);
|
|
87
|
-
$surface-400: color.scale($surface, $lightness: -7%);
|
|
88
|
-
$surface-500: color.scale($surface, $lightness: -9%);
|
|
89
|
-
$surface-600: color.scale($surface, $lightness: -11%);
|
|
90
|
-
$surface-700: color.scale($surface, $lightness: -13%);
|
|
91
|
-
$surface-800: color.scale($surface, $lightness: -15%);
|
|
92
|
-
$surface-900: color.scale($surface, $lightness: -17%);
|
|
93
|
-
$surface-1000: color.scale($surface, $lightness: -19%);
|
|
94
|
-
$surface-1100: color.scale($surface, $lightness: -22%);
|
|
95
|
-
$surface-1200: color.scale($surface, $lightness: -24%);
|
|
96
|
-
$surface-1300: color.scale($surface, $lightness: -26%);
|
|
97
|
-
$surface-border: $surface-800;
|
|
98
|
-
$maskbg: color.adjust($text, $alpha: -0.2);
|
|
99
|
-
|
|
100
|
-
@if ($dark) {
|
|
101
|
-
$bg: hsl(215, 69%, 9%);
|
|
102
|
-
$text: #cfd8dc;
|
|
103
|
-
$primary: color.scale($primary, $lightness: 35%);
|
|
104
|
-
$info: color.scale($info, $lightness: 22.5%);
|
|
105
|
-
$success: color.scale($success, $lightness: 22.5%);
|
|
106
|
-
$warn: color.scale($warn, $lightness: 22.5%);
|
|
107
|
-
$help: color.scale($help, $lightness: 35%);
|
|
108
|
-
$error: color.scale($error, $lightness: 22.5%);
|
|
109
|
-
$secondary: color.scale($secondary, $lightness: 22.5%);
|
|
110
|
-
$disabled: #576374;
|
|
111
|
-
$primary-hover: rgba(color.scale($primary, $lightness: -70%), 0.5);
|
|
112
|
-
$info-hover: rgba(color.scale($info, $lightness: -70%), 0.5);
|
|
113
|
-
$success-hover: rgba(color.scale($success, $lightness: -70%), 0.5);
|
|
114
|
-
$warn-hover: rgba(color.scale($warn, $lightness: -70%), 0.5);
|
|
115
|
-
$help-hover: rgba(color.scale($help, $lightness: -70%), 0.5);
|
|
116
|
-
$error-hover: rgba(color.scale($error, $lightness: -70%), 0.5);
|
|
117
|
-
$secondary-hover: rgba(color.scale($secondary, $lightness: -70%), 0.5);
|
|
118
|
-
$surface-100: color.scale($bg, $lightness: 2%);
|
|
119
|
-
$surface-200: color.scale($bg, $lightness: 4%);
|
|
120
|
-
$surface-300: color.scale($bg, $lightness: 6%);
|
|
121
|
-
$surface-400: color.scale($bg, $lightness: 8%);
|
|
122
|
-
$surface-500: color.scale($bg, $lightness: 10%);
|
|
123
|
-
$surface-600: color.scale($bg, $lightness: 12%);
|
|
124
|
-
$surface-700: color.scale($bg, $lightness: 14%);
|
|
125
|
-
$surface-800: color.scale($bg, $lightness: 16%);
|
|
126
|
-
$surface-900: color.scale($bg, $lightness: 18%);
|
|
127
|
-
$surface-1000: color.scale($bg, $lightness: 20%);
|
|
128
|
-
$surface-1100: color.scale($bg, $lightness: 22%);
|
|
129
|
-
$surface-1200: color.scale($bg, $lightness: 24%);
|
|
130
|
-
$surface-1300: color.scale($bg, $lightness: 26%);
|
|
131
|
-
$surface-border: $surface-800;
|
|
132
|
-
$maskbg: color.adjust($surface-600, $alpha: -0.4);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
$v: (
|
|
136
|
-
"--bg": $bg,
|
|
137
|
-
"--text": $text,
|
|
138
|
-
"--primary": $primary,
|
|
139
|
-
"--info": $info,
|
|
140
|
-
"--success": $success,
|
|
141
|
-
"--warn": $warn,
|
|
142
|
-
"--help": $help,
|
|
143
|
-
"--error": $error,
|
|
144
|
-
"--secondary": $secondary,
|
|
145
|
-
"--disabled": $disabled,
|
|
146
|
-
"--primary-hover": $primary-hover,
|
|
147
|
-
"--info-hover": $info-hover,
|
|
148
|
-
"--success-hover": $success-hover,
|
|
149
|
-
"--warn-hover": $warn-hover,
|
|
150
|
-
"--help-hover": $help-hover,
|
|
151
|
-
"--error-hover": $error-hover,
|
|
152
|
-
"--secondary-hover": $secondary-hover,
|
|
153
|
-
"--surface-100": $surface-100,
|
|
154
|
-
"--surface-200": $surface-200,
|
|
155
|
-
"--surface-300": $surface-300,
|
|
156
|
-
"--surface-400": $surface-400,
|
|
157
|
-
"--surface-500": $surface-500,
|
|
158
|
-
"--surface-600": $surface-600,
|
|
159
|
-
"--surface-700": $surface-700,
|
|
160
|
-
"--surface-800": $surface-800,
|
|
161
|
-
"--surface-900": $surface-900,
|
|
162
|
-
"--surface-1000": $surface-1000,
|
|
163
|
-
"--surface-1100": $surface-1100,
|
|
164
|
-
"--surface-1200": $surface-1200,
|
|
165
|
-
"--surface-1300": $surface-1300,
|
|
166
|
-
"--surface-border": $surface-border,
|
|
167
|
-
"--maskbg": $maskbg,
|
|
168
|
-
);
|
|
169
|
-
|
|
170
|
-
@return $v;
|
|
171
|
-
}
|
package/src/style/src/_gap.scss
DELETED
package/src/style/src/_grid.scss
DELETED
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
.#{$prefix}grid {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
margin-right: -1 * $gutter;
|
|
5
|
-
margin-left: -1 * $gutter;
|
|
6
|
-
margin-top: -1 * $gutter;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.#{$prefix}grid > #{$prefix}.col,
|
|
10
|
-
.#{$prefix}grid > [class*="#{$prefix}col"] {
|
|
11
|
-
box-sizing: border-box;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.#{$prefix}grid-nogutter {
|
|
15
|
-
margin-right: 0;
|
|
16
|
-
margin-left: 0;
|
|
17
|
-
margin-top: 0;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.#{$prefix}grid-nogutter > .#{$prefix}col,
|
|
21
|
-
.#{$prefix}grid-nogutter > [class*="#{$prefix}col-"] {
|
|
22
|
-
padding: 0;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.#{$prefix}col {
|
|
26
|
-
flex-grow: 1;
|
|
27
|
-
flex-basis: 0;
|
|
28
|
-
padding: $gutter;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.#{$prefix}col-fixed {
|
|
32
|
-
flex: 0 0 auto;
|
|
33
|
-
padding: $gutter;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
$grid-columns: (
|
|
37
|
-
"col-1": 8.3333%,
|
|
38
|
-
"col-2": 16.6667%,
|
|
39
|
-
"col-3": 25%,
|
|
40
|
-
"col-4": 33.3333%,
|
|
41
|
-
"col-5": 41.6667%,
|
|
42
|
-
"col-6": 50%,
|
|
43
|
-
"col-7": 58.3333%,
|
|
44
|
-
"col-8": 66.6667%,
|
|
45
|
-
"col-9": 75%,
|
|
46
|
-
"col-10": 83.3333%,
|
|
47
|
-
"col-11": 91.6667%,
|
|
48
|
-
"col-12": 100%,
|
|
49
|
-
);
|
|
50
|
-
|
|
51
|
-
$grid-column-offsets: (
|
|
52
|
-
"col-offset-0": 0,
|
|
53
|
-
"col-offset-1": 8.3333%,
|
|
54
|
-
"col-offset-2": 16.6667%,
|
|
55
|
-
"col-offset-3": 25%,
|
|
56
|
-
"col-offset-4": 33.3333%,
|
|
57
|
-
"col-offset-5": 41.6667%,
|
|
58
|
-
"col-offset-6": 50%,
|
|
59
|
-
"col-offset-7": 58.3333%,
|
|
60
|
-
"col-offset-8": 66.6667%,
|
|
61
|
-
"col-offset-9": 75%,
|
|
62
|
-
"col-offset-10": 83.3333%,
|
|
63
|
-
"col-offset-11": 91.6667%,
|
|
64
|
-
"col-offset-12": 100%,
|
|
65
|
-
);
|
|
66
|
-
|
|
67
|
-
@each $col, $width in $grid-columns {
|
|
68
|
-
.#{$prefix}#{$col} {
|
|
69
|
-
flex: 0 0 auto;
|
|
70
|
-
padding: $gutter;
|
|
71
|
-
width: #{$width};
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
@each $key, $val in $breakpoints {
|
|
76
|
-
@media screen and (min-width: #{$val}) {
|
|
77
|
-
.#{$key + $separator} {
|
|
78
|
-
&#{$prefix}col {
|
|
79
|
-
flex-grow: 1;
|
|
80
|
-
flex-basis: 0;
|
|
81
|
-
padding: $gutter;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&#{$prefix}col-fixed {
|
|
85
|
-
flex: 0 0 auto;
|
|
86
|
-
padding: $gutter;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
@each $col, $width in $grid-columns {
|
|
90
|
-
&#{$prefix}#{$col} {
|
|
91
|
-
flex: 0 0 auto;
|
|
92
|
-
padding: $gutter;
|
|
93
|
-
width: #{$width};
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
@include style-class("margin-left", $grid-column-offsets, true);
|