@luizleon/sf.prefeiturasp.vuecomponents 0.0.18 → 0.0.20

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 (77) hide show
  1. package/dist/lib.es.js +2003 -1509
  2. package/dist/lib.es.js.map +1 -1
  3. package/dist/lib.umd.js +36 -35
  4. package/dist/lib.umd.js.map +1 -1
  5. package/dist/services/dialogService.d.ts +2 -2
  6. package/package.json +17 -5
  7. package/src/common/appResult.ts +0 -22
  8. package/src/components/button/Button.d.ts +0 -42
  9. package/src/components/button/Button.vue +0 -61
  10. package/src/components/content/Content.d.ts +0 -35
  11. package/src/components/content/Content.vue +0 -41
  12. package/src/components/icon/Icon.d.ts +0 -38
  13. package/src/components/icon/Icon.vue +0 -43
  14. package/src/components/internal/HeaderAvatar.vue +0 -49
  15. package/src/components/internal/LoadingCircle.vue +0 -16
  16. package/src/components/internal/MenuIcon.vue +0 -13
  17. package/src/components/internal/ScrollToTop.vue +0 -26
  18. package/src/components/internal/ThemeToggle.ts +0 -41
  19. package/src/components/internal/ThemeToggle.vue +0 -23
  20. package/src/components/internal/cssClassBuilder.ts +0 -44
  21. package/src/components/layout/Layout.d.ts +0 -44
  22. package/src/components/layout/Layout.vue +0 -51
  23. package/src/components/navmenulink/NavMenuLink.d.ts +0 -35
  24. package/src/components/navmenulink/NavMenuLink.vue +0 -41
  25. package/src/components/tabnavigation/TabNavigation.d.ts +0 -42
  26. package/src/components/tabnavigation/TabNavigation.vue +0 -117
  27. package/src/enum/cor.ts +0 -9
  28. package/src/enum/index.ts +0 -2
  29. package/src/enum/tamanho.ts +0 -5
  30. package/src/index.ts +0 -62
  31. package/src/keycloak.d.ts +0 -671
  32. package/src/keycloak.js +0 -1731
  33. package/src/services/authService.ts +0 -68
  34. package/src/services/dialogService.ts +0 -64
  35. package/src/services/navMenuService.ts +0 -21
  36. package/src/style/componentes.scss +0 -15
  37. package/src/style/src/_animation.scss +0 -441
  38. package/src/style/src/_display.scss +0 -10
  39. package/src/style/src/_flexbox.scss +0 -85
  40. package/src/style/src/_functions.scss +0 -171
  41. package/src/style/src/_gap.scss +0 -8
  42. package/src/style/src/_grid.scss +0 -100
  43. package/src/style/src/_mixins.scss +0 -633
  44. package/src/style/src/_normalize.scss +0 -351
  45. package/src/style/src/_ripple.scss +0 -30
  46. package/src/style/src/_size.scss +0 -98
  47. package/src/style/src/_spacing.scss +0 -42
  48. package/src/style/src/_typography.scss +0 -43
  49. package/src/style/src/_variables.scss +0 -87
  50. package/src/style/src/components/_button.scss +0 -107
  51. package/src/style/src/components/_content.scss +0 -57
  52. package/src/style/src/components/_drawer.scss +0 -99
  53. package/src/style/src/components/_headerAvatar.scss +0 -22
  54. package/src/style/src/components/_icon.scss +0 -120
  55. package/src/style/src/components/_internal-icon-button.scss +0 -5
  56. package/src/style/src/components/_layout.scss +0 -183
  57. package/src/style/src/components/_loading-circle.scss +0 -24
  58. package/src/style/src/components/_navmenulink.scss +0 -31
  59. package/src/style/src/components/_scrollToTop.scss +0 -28
  60. package/src/style/src/components/_svg_icon.scss +0 -5
  61. package/src/style/src/components/_tab-navigation.scss +0 -93
  62. package/src/style/src/components/_themetoggle.scss +0 -25
  63. package/src/style/src/components/_tooltip.scss +0 -55
  64. package/src/style/src/sweetalert/_sweetalert.scss +0 -9
  65. package/src/style/src/sweetalert/scss/_animations.scss +0 -197
  66. package/src/style/src/sweetalert/scss/_body.scss +0 -45
  67. package/src/style/src/sweetalert/scss/_core.scss +0 -863
  68. package/src/style/src/sweetalert/scss/_mixins.scss +0 -16
  69. package/src/style/src/sweetalert/scss/_theming.scss +0 -8
  70. package/src/style/src/sweetalert/scss/_toasts-animations.scss +0 -83
  71. package/src/style/src/sweetalert/scss/_toasts-body.scss +0 -85
  72. package/src/style/src/sweetalert/scss/_toasts.scss +0 -203
  73. package/src/style/src/sweetalert/scss/_variables.scss +0 -265
  74. package/src/style/tema.scss +0 -169
  75. package/src/ts-helpers.d.ts +0 -57
  76. package/tsconfig.json +0 -19
  77. package/vite.config.js +0 -26
@@ -1,93 +0,0 @@
1
- .sf-tab-navigation {
2
- background: var(--surface-100-color);
3
- overflow: hidden;
4
- position: relative;
5
- }
6
-
7
- .sf-tab-navigation svg {
8
- width: 36px;
9
- height: 36px;
10
- padding: 8px;
11
- cursor: pointer;
12
- color: var(--text-color);
13
- border-radius: 50%;
14
- pointer-events: auto;
15
- }
16
-
17
- .sf-tab-navigation ul {
18
- padding: 0;
19
- margin: 0;
20
- display: flex;
21
- height: 42px;
22
- list-style: none;
23
- overflow: scroll;
24
- -ms-overflow-style: none;
25
- scrollbar-width: none;
26
- scroll-behavior: smooth;
27
- background-color: var(--bg-color);
28
- border-bottom: 1px solid var(--surface-border-color);
29
- > li {
30
- display: flex;
31
- align-items: center;
32
- padding: 0 1rem;
33
- border-bottom: 2px solid transparent;
34
- &[data-active="true"] {
35
- border-bottom-color: var(--primary-color);
36
- pointer-events: none;
37
- }
38
- &:not([data-active="true"]) {
39
- > a {
40
- &:hover,
41
- &:focus {
42
- color: var(--info-color);
43
- }
44
- }
45
- }
46
- > a {
47
- text-decoration: none;
48
- }
49
- }
50
- }
51
-
52
- .sf-tab-navigation ul::-webkit-scrollbar {
53
- display: none;
54
- }
55
-
56
- .sf-tab-navigation .right-arrow,
57
- .sf-tab-navigation .left-arrow {
58
- position: absolute;
59
- height: 100%;
60
- width: 100px;
61
- top: 0;
62
- display: none;
63
- align-items: center;
64
- padding: 0 10px;
65
- pointer-events: none;
66
- }
67
-
68
- .sf-tab-navigation .right-arrow.active,
69
- .sf-tab-navigation .left-arrow.active {
70
- display: flex;
71
- }
72
-
73
- .sf-tab-navigation .right-arrow {
74
- right: 0;
75
- background: linear-gradient(
76
- to left,
77
- var(--surface-100-color) 30%,
78
- transparent
79
- );
80
- justify-content: flex-end;
81
- }
82
-
83
- .sf-tab-navigation .left-arrow {
84
- background: linear-gradient(
85
- to right,
86
- var(--surface-100-color) 50%,
87
- transparent
88
- );
89
- }
90
-
91
- .sf-tab-navigation svg:hover {
92
- background: var(--surface-300-color);
93
- }
@@ -1,25 +0,0 @@
1
- @import "../mixins";
2
-
3
- html {
4
- #sf-theme-toggle {
5
- @include sf-internal-icon-button;
6
-
7
- .toggle-circle {
8
- transition: transform 500ms ease-out;
9
- transform: translateX(-15%);
10
- }
11
-
12
- .toggle-sun {
13
- transform-origin: center center;
14
- transition: transform 750ms cubic-bezier(0.11, 0.14, 0.29, 1.32);
15
- transform: rotate(0.5turn);
16
- }
17
- }
18
-
19
- &.dark #sf-theme-toggle {
20
- .toggle-circle,
21
- .toggle-sun {
22
- transform: unset;
23
- }
24
- }
25
- }
@@ -1,55 +0,0 @@
1
- .sf-tooltip-wrapper {
2
- --arrow-width: 7.5px;
3
- pointer-events: none;
4
- width: 120px;
5
- color: var(--bg-color);
6
- text-align: center;
7
- text-transform: lowercase;
8
- position: absolute;
9
- opacity: 0;
10
- transition: opacity 0.3s;
11
-
12
- .sf-tooltip-inner {
13
- position: relative;
14
- padding: 6px 0;
15
- border-radius: 4px;
16
- background-color: var(--text-color);
17
- font-size: 0.875rem;
18
-
19
- &::after {
20
- content: "";
21
- position: absolute;
22
- left: var(--arrow-width);
23
- top: calc(var(--arrow-width) * -1);
24
- border-left: var(--arrow-width) solid transparent;
25
- border-right: var(--arrow-width) solid transparent;
26
- border-bottom: var(--arrow-width) solid var(--text-color);
27
- }
28
- }
29
-
30
- &.visible {
31
- opacity: 1;
32
- }
33
-
34
- &.top .sf-tooltip-inner::after {
35
- top: unset;
36
- bottom: calc(var(--arrow-width) * -1);
37
- border-bottom: unset;
38
- border-top: var(--arrow-width) solid var(--text-color);
39
- }
40
-
41
- &.left .sf-tooltip-inner::after {
42
- left: unset;
43
- right: var(--arrow-width);
44
- }
45
- }
46
-
47
- .sf-tooltip-anchor {
48
- display: inline !important;
49
- border-radius: 50%;
50
- &:has(.sf-component-disabled),
51
- &:has(.sf-component-loading),
52
- &:has(.sf-component-freeze) {
53
- pointer-events: none !important;
54
- }
55
- }
@@ -1,9 +0,0 @@
1
- /*! SweetAlert2 github.com/sweetalert2/sweetalert2 */
2
-
3
- @import "scss/theming";
4
- @import "scss/animations";
5
-
6
- body {
7
- @include sweetalert2-body();
8
- //@include sweetalert2-toasts-body();
9
- }
@@ -1,197 +0,0 @@
1
- //@import 'toasts-animations';
2
-
3
- // Appearance animation
4
- @keyframes swal2-show {
5
- 0% {
6
- transform: scale(0.7);
7
- }
8
-
9
- 45% {
10
- transform: scale(1.05);
11
- }
12
-
13
- 80% {
14
- transform: scale(0.95);
15
- }
16
-
17
- 100% {
18
- transform: scale(1);
19
- }
20
- }
21
-
22
- // Disppearance animation
23
- @keyframes swal2-hide {
24
- 0% {
25
- transform: scale(1);
26
- opacity: 1;
27
- }
28
-
29
- 100% {
30
- transform: scale(0.5);
31
- opacity: 0;
32
- }
33
- }
34
-
35
- // Success icon animations
36
- @keyframes swal2-animate-success-line-tip {
37
- 0% {
38
- top: 1.1875em;
39
- left: 0.0625em;
40
- width: 0;
41
- }
42
-
43
- 54% {
44
- top: 1.0625em;
45
- left: 0.125em;
46
- width: 0;
47
- }
48
-
49
- 70% {
50
- top: 2.1875em;
51
- left: -0.375em;
52
- width: 3.125em;
53
- }
54
-
55
- 84% {
56
- top: 3em;
57
- left: 1.3125em;
58
- width: 1.0625em;
59
- }
60
-
61
- 100% {
62
- top: 2.8125em;
63
- left: 0.8125em;
64
- width: 1.5625em;
65
- }
66
- }
67
-
68
- @keyframes swal2-animate-success-line-long {
69
- 0% {
70
- top: 3.375em;
71
- right: 2.875em;
72
- width: 0;
73
- }
74
-
75
- 65% {
76
- top: 3.375em;
77
- right: 2.875em;
78
- width: 0;
79
- }
80
-
81
- 84% {
82
- top: 2.1875em;
83
- right: 0;
84
- width: 3.4375em;
85
- }
86
-
87
- 100% {
88
- top: 2.375em;
89
- right: 0.5em;
90
- width: 2.9375em;
91
- }
92
- }
93
-
94
- @keyframes swal2-rotate-success-circular-line {
95
- 0% {
96
- transform: rotate(-45deg);
97
- }
98
-
99
- 5% {
100
- transform: rotate(-45deg);
101
- }
102
-
103
- 12% {
104
- transform: rotate(-405deg);
105
- }
106
-
107
- 100% {
108
- transform: rotate(-405deg);
109
- }
110
- }
111
-
112
- // Error icon animations
113
- @keyframes swal2-animate-error-x-mark {
114
- 0% {
115
- margin-top: 1.625em;
116
- transform: scale(0.4);
117
- opacity: 0;
118
- }
119
-
120
- 50% {
121
- margin-top: 1.625em;
122
- transform: scale(0.4);
123
- opacity: 0;
124
- }
125
-
126
- 80% {
127
- margin-top: -0.375em;
128
- transform: scale(1.15);
129
- }
130
-
131
- 100% {
132
- margin-top: 0;
133
- transform: scale(1);
134
- opacity: 1;
135
- }
136
- }
137
-
138
- @keyframes swal2-animate-error-icon {
139
- 0% {
140
- transform: rotateX(100deg);
141
- opacity: 0;
142
- }
143
-
144
- 100% {
145
- transform: rotateX(0deg);
146
- opacity: 1;
147
- }
148
- }
149
-
150
- @keyframes swal2-rotate-loading {
151
- 0% {
152
- transform: rotate(0deg);
153
- }
154
-
155
- 100% {
156
- transform: rotate(360deg);
157
- }
158
- }
159
-
160
- // Question mark animation
161
- @keyframes swal2-animate-question-mark {
162
- 0% {
163
- transform: rotateY(-360deg);
164
- }
165
-
166
- 100% {
167
- transform: rotateY(0);
168
- }
169
- }
170
-
171
- // Info and Warning mark animation
172
- @keyframes swal2-animate-i-mark {
173
- 0% {
174
- transform: rotateZ(45deg);
175
- opacity: 0;
176
- }
177
-
178
- 25% {
179
- transform: rotateZ(-25deg);
180
- opacity: 0.4;
181
- }
182
-
183
- 50% {
184
- transform: rotateZ(15deg);
185
- opacity: 0.8;
186
- }
187
-
188
- 75% {
189
- transform: rotateZ(-5deg);
190
- opacity: 1;
191
- }
192
-
193
- 100% {
194
- transform: rotateX(0);
195
- opacity: 1;
196
- }
197
- }
@@ -1,45 +0,0 @@
1
- //@import "toasts-body";
2
-
3
- @mixin sweetalert2-body() {
4
- &.swal2-shown {
5
- @include not(".swal2-no-backdrop", ".swal2-toast-shown") {
6
- overflow: hidden; // not overflow-y because of Sarari, #1253
7
- }
8
- }
9
-
10
- // SfLayout define height de html.
11
- // &.swal2-height-auto {
12
- // height: auto !important; // #781 #1107
13
- // }
14
-
15
- &.swal2-no-backdrop {
16
- .swal2-container {
17
- background-color: transparent !important;
18
- pointer-events: none;
19
-
20
- .swal2-popup {
21
- pointer-events: all;
22
- }
23
-
24
- .swal2-modal {
25
- box-shadow: 0 0 10px $swal2-backdrop;
26
- }
27
- }
28
- }
29
-
30
- @media print {
31
- &.swal2-shown {
32
- @include not(".swal2-no-backdrop", ".swal2-toast-shown") {
33
- overflow-y: scroll !important;
34
-
35
- > [aria-hidden="true"] {
36
- display: none;
37
- }
38
-
39
- .swal2-container {
40
- position: static !important;
41
- }
42
- }
43
- }
44
- }
45
- }