spiderly 19.5.2 → 19.5.4-preview.0

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 (61) hide show
  1. package/README.md +6 -1
  2. package/fesm2022/spiderly.mjs +2603 -2325
  3. package/fesm2022/spiderly.mjs.map +1 -1
  4. package/lib/components/auth/partials/auth.component.d.ts +3 -3
  5. package/lib/components/base-form/base-form copy.d.ts +130 -9
  6. package/lib/components/layout/topbar/topbar.component.d.ts +3 -3
  7. package/lib/components/spiderly-buttons/google-button/google-button.component.d.ts +1 -1
  8. package/lib/components/spiderly-buttons/spiderly-button/spiderly-button.component.d.ts +1 -1
  9. package/lib/components/spiderly-buttons/spiderly-button-base/spiderly-button-base.d.ts +2 -2
  10. package/lib/components/spiderly-buttons/spiderly-split-button/spiderly-split-button.component.d.ts +2 -2
  11. package/lib/components/spiderly-data-table/spiderly-data-table.component.d.ts +6 -6
  12. package/lib/components/spiderly-data-view/spiderly-data-view.component.d.ts +1 -1
  13. package/lib/components/spiderly-delete-dialog/spiderly-delete-confirmation.component.d.ts +1 -1
  14. package/lib/components/spiderly-form-control/spiderly-form-control.d.ts +8 -2
  15. package/lib/controls/spiderly-file/spiderly-file.component.d.ts +16 -4
  16. package/lib/entities/codebook.d.ts +1 -1
  17. package/lib/entities/filter-rule.d.ts +1 -1
  18. package/lib/entities/filter.d.ts +3 -3
  19. package/lib/entities/image-dimensions-validation-result.d.ts +4 -0
  20. package/lib/entities/init-company-auth-dialog-details.d.ts +1 -1
  21. package/lib/entities/init-top-bar-data.d.ts +2 -2
  22. package/lib/entities/is-authorized-for-save-event.d.ts +1 -1
  23. package/lib/entities/last-menu-icon-index-clicked.d.ts +1 -1
  24. package/lib/entities/lazy-load-selected-ids-result.d.ts +1 -1
  25. package/lib/entities/namebook.d.ts +1 -1
  26. package/lib/entities/primeng-option.d.ts +1 -1
  27. package/lib/entities/security-entities.d.ts +12 -12
  28. package/lib/entities/simple-save-result.d.ts +1 -1
  29. package/lib/interceptors/http-loading.interceptor.d.ts +1 -1
  30. package/lib/services/base-form.service.d.ts +2 -4
  31. package/lib/services/config.service.base.d.ts +1 -1
  32. package/lib/services/helper-functions.d.ts +13 -9
  33. package/lib/services/validator-abstract.service.d.ts +8 -3
  34. package/package.json +1 -1
  35. package/public-api.d.ts +26 -27
  36. package/styles/components/info-card/info-card.component.scss +7 -7
  37. package/styles/components/layout/profile-avatar/profile-avatar.component.scss +5 -5
  38. package/styles/components/layout/topbar/topbar.component.scss +8 -8
  39. package/styles/components/spiderly-data-table/spiderly-data-table.component.scss +39 -39
  40. package/styles/components/spiderly-data-view/spiderly-data-view.component.scss +45 -47
  41. package/styles/components/spiderly-panels/panel-body/panel-body.component.scss +6 -6
  42. package/styles/components/spiderly-panels/panel-footer/panel-footer.component.scss +15 -15
  43. package/styles/components/spiderly-panels/spiderly-panel/spiderly-panel.component.scss +59 -59
  44. package/styles/controls/base-controls.scss +12 -12
  45. package/styles/controls/spiderly-checkbox/spiderly-checkbox.component.scss +18 -18
  46. package/styles/styles/layout/_content.scss +8 -8
  47. package/styles/styles/layout/_footer.scss +8 -8
  48. package/styles/styles/layout/_main.scss +18 -18
  49. package/styles/styles/layout/_menu.scss +116 -109
  50. package/styles/styles/layout/_mixins.scss +8 -8
  51. package/styles/styles/layout/_preloading.scss +38 -37
  52. package/styles/styles/layout/_responsive.scss +78 -78
  53. package/styles/styles/layout/_spiderly-controls.scss +1 -1
  54. package/styles/styles/layout/_topbar.scss +211 -206
  55. package/styles/styles/layout/_typography.scss +35 -30
  56. package/styles/styles/layout/_utils.scss +15 -15
  57. package/styles/styles/layout/_variables.scss +796 -705
  58. package/styles/styles/layout/layout.scss +2 -2
  59. package/styles/styles/styles.scss +1 -1
  60. package/lib/entities/mime-type.d.ts +0 -11
  61. package/lib/services/translate-labels-abstract.service.d.ts +0 -7
@@ -1,102 +1,102 @@
1
- @use './_variables' as *;
1
+ @use "./_variables" as *;
2
2
 
3
3
  @media screen and (min-width: 1960px) {
4
- .layout-main, .landing-wrapper {
5
- width: 1504px;
6
- margin-left: auto !important;
7
- margin-right: auto !important;
8
- }
9
-
4
+ .layout-main,
5
+ .landing-wrapper {
6
+ width: 1504px;
7
+ margin-left: auto !important;
8
+ margin-right: auto !important;
9
+ }
10
10
  }
11
11
 
12
12
  @media (min-width: 992px) {
13
- .layout-wrapper {
14
- &.layout-overlay {
15
- .layout-main-container {
16
- margin-left: 0;
17
- padding-left: 2rem;
18
- }
13
+ .layout-wrapper {
14
+ &.layout-overlay {
15
+ .layout-main-container {
16
+ margin-left: 0;
17
+ padding-left: 2rem;
18
+ }
19
19
 
20
- .layout-sidebar {
21
- transform: translateX(-100%);
22
- left: 0;
23
- top: 0;
24
- height: 100vh;
25
- border-top-left-radius: 0;
26
- border-bottom-left-radius: 0;
27
- }
20
+ .layout-sidebar {
21
+ transform: translateX(-100%);
22
+ left: 0;
23
+ top: 0;
24
+ height: 100vh;
25
+ border-top-left-radius: 0;
26
+ border-bottom-left-radius: 0;
27
+ }
28
28
 
29
- &.layout-overlay-active {
30
- .layout-sidebar {
31
- transform: translateX(0);
32
- }
33
- }
29
+ &.layout-overlay-active {
30
+ .layout-sidebar {
31
+ transform: translateX(0);
34
32
  }
33
+ }
34
+ }
35
35
 
36
- &.layout-static {
37
- .layout-main-container {
38
- margin-left: 300px;
39
- }
40
-
41
- &.layout-static-inactive {
42
- .layout-sidebar {
43
- transform: translateX(-100%);
44
- left: 0;
45
- }
36
+ &.layout-static {
37
+ .layout-main-container {
38
+ margin-left: 300px;
39
+ }
46
40
 
47
- .layout-main-container {
48
- margin-left: 0;
49
- padding-left: 2rem;
50
- }
51
- }
41
+ &.layout-static-inactive {
42
+ .layout-sidebar {
43
+ transform: translateX(-100%);
44
+ left: 0;
52
45
  }
53
46
 
54
- .layout-mask {
55
- display: none;
47
+ .layout-main-container {
48
+ margin-left: 0;
49
+ padding-left: 2rem;
56
50
  }
51
+ }
57
52
  }
53
+
54
+ .layout-mask {
55
+ display: none;
56
+ }
57
+ }
58
58
  }
59
59
 
60
60
  @media (max-width: 991px) {
61
- .blocked-scroll {
62
- overflow: hidden;
63
- }
61
+ .blocked-scroll {
62
+ overflow: hidden;
63
+ }
64
64
 
65
- .layout-wrapper {
66
- .layout-main-container {
67
- margin-left: 0;
68
- padding-left: 2rem;
69
- }
65
+ .layout-wrapper {
66
+ .layout-main-container {
67
+ margin-left: 0;
68
+ padding-left: 2rem;
69
+ }
70
70
 
71
- .layout-sidebar {
72
- transform: translateX(-100%);
73
- left: 0;
74
- top: 0;
75
- height: 100vh;
76
- border-top-left-radius: 0;
77
- border-bottom-left-radius: 0;
78
- }
71
+ .layout-sidebar {
72
+ transform: translateX(-100%);
73
+ left: 0;
74
+ top: 0;
75
+ height: 100vh;
76
+ border-top-left-radius: 0;
77
+ border-bottom-left-radius: 0;
78
+ }
79
79
 
80
- .layout-mask {
81
- display: none;
82
- position: fixed;
83
- top: 0;
84
- left: 0;
85
- z-index: 998;
86
- width: 100%;
87
- height: 100%;
88
- background-color: var(--maskbg);
89
- }
80
+ .layout-mask {
81
+ display: none;
82
+ position: fixed;
83
+ top: 0;
84
+ left: 0;
85
+ z-index: 998;
86
+ width: 100%;
87
+ height: 100%;
88
+ background-color: var(--maskbg);
89
+ }
90
90
 
91
- &.layout-mobile-active {
92
- .layout-sidebar {
93
- transform: translateX(0);
94
- }
91
+ &.layout-mobile-active {
92
+ .layout-sidebar {
93
+ transform: translateX(0);
94
+ }
95
95
 
96
- .layout-mask {
97
- display: block;
98
- animation: fadein $transitionDuration;
99
- }
100
- }
96
+ .layout-mask {
97
+ display: block;
98
+ animation: fadein $transitionDuration;
99
+ }
101
100
  }
101
+ }
102
102
  }
@@ -1,4 +1,4 @@
1
- @use './_variables' as *;
1
+ @use "./_variables" as *;
2
2
 
3
3
  .spiderly-tooltip-invalid.p-tooltip .p-tooltip-text {
4
4
  background-color: $errorColorLight !important;
@@ -1,236 +1,241 @@
1
- @use './_variables' as *;
2
- @use './_mixins' as *;
1
+ @use "./_variables" as *;
2
+ @use "./_mixins" as *;
3
3
 
4
4
  .layout-topbar {
5
- position: fixed;
6
- height: 5rem;
7
- z-index: 997;
8
- left: 0;
9
- top: 0;
10
- width: 100%;
11
- padding: 0 2rem;
12
- background-color: var(--surface-card);
13
- transition: left $transitionDuration;
5
+ position: fixed;
6
+ height: 5rem;
7
+ z-index: 997;
8
+ left: 0;
9
+ top: 0;
10
+ width: 100%;
11
+ padding: 0 2rem;
12
+ background-color: var(--surface-card);
13
+ transition: left $transitionDuration;
14
+ display: flex;
15
+ align-items: center;
16
+ box-shadow:
17
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
18
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
19
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
20
+
21
+ .layout-topbar-logo {
14
22
  display: flex;
15
23
  align-items: center;
16
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
17
- 0px 1px 4px rgba(0, 0, 0, 0.08);
24
+ color: var(--surface-900);
25
+ font-size: 1.5rem;
26
+ font-weight: 500;
27
+ width: 300px;
28
+ border-radius: var(--p-content-border-radius);
18
29
 
19
- .layout-topbar-logo {
20
- display: flex;
21
- align-items: center;
22
- color: var(--surface-900);
30
+ img {
31
+ height: 2.5rem;
32
+ margin-right: 0.5rem;
33
+ }
34
+
35
+ &:focus {
36
+ @include focused();
37
+ }
38
+ }
39
+
40
+ .layout-topbar-button {
41
+ display: inline-flex;
42
+ justify-content: center;
43
+ align-items: center;
44
+ position: relative;
45
+ color: var(--p-text-color-secondary);
46
+ background-color: transparent;
47
+ border-color: transparent;
48
+ // border-radius: 50%;
49
+ // width: 3rem;
50
+ // height: 3rem;
51
+ cursor: pointer;
52
+ transition: background-color $transitionDuration;
53
+
54
+ &:hover {
55
+ color: var(--p-text-color);
56
+ background-color: var(--p-content-hover-background);
57
+ }
58
+
59
+ &:focus {
60
+ @include focused();
61
+ }
62
+
63
+ i {
23
64
  font-size: 1.5rem;
24
- font-weight: 500;
25
- width: 300px;
26
- border-radius: var(--p-content-border-radius);
27
-
28
- img {
29
- height: 2.5rem;
30
- margin-right: 0.5rem;
31
- }
32
-
33
- &:focus {
34
- @include focused();
35
- }
36
65
  }
37
-
66
+
67
+ span {
68
+ font-size: 1rem;
69
+ display: none;
70
+ }
71
+ }
72
+
73
+ .layout-menu-button {
74
+ border-radius: 50%;
75
+ width: 3rem;
76
+ height: 3rem;
77
+ margin-left: 2rem;
78
+ }
79
+
80
+ // .layout-topbar-menu-button {
81
+ // display: none;
82
+
83
+ // i {
84
+ // font-size: 1.25rem;
85
+ // }
86
+ // }
87
+
88
+ .profile-button {
89
+ margin: 0 0 0 auto;
90
+ padding: 0;
91
+ list-style: none;
92
+ display: flex;
93
+
38
94
  .layout-topbar-button {
39
- display: inline-flex;
40
- justify-content: center;
41
- align-items: center;
42
- position: relative;
43
- color: var(--p-text-color-secondary);
44
- background-color: transparent;
45
- border-color: transparent;
46
- // border-radius: 50%;
47
- // width: 3rem;
48
- // height: 3rem;
49
- cursor: pointer;
50
- transition: background-color $transitionDuration;
51
-
52
- &:hover {
53
- color: var(--p-text-color);
54
- background-color: var(--p-content-hover-background);
55
- }
56
-
57
- &:focus {
58
- @include focused();
59
- }
60
-
61
- i {
62
- font-size: 1.5rem;
63
- }
64
-
65
- span {
66
- font-size: 1rem;
67
- display: none;
68
- }
95
+ margin-left: 1rem;
69
96
  }
70
-
97
+ }
98
+ }
99
+
100
+ @media (max-width: 991px) {
101
+ .display-none-on-mobile {
102
+ display: none !important;
103
+ }
104
+
105
+ .layout-topbar {
106
+ justify-content: space-between;
107
+
108
+ .layout-topbar-logo {
109
+ width: auto;
110
+ order: 2;
111
+ }
112
+
71
113
  .layout-menu-button {
72
- border-radius: 50%;
73
- width: 3rem;
74
- height: 3rem;
75
- margin-left: 2rem;
114
+ margin-left: 0;
115
+ order: 1;
76
116
  }
77
-
78
- // .layout-topbar-menu-button {
79
- // display: none;
80
-
81
- // i {
82
- // font-size: 1.25rem;
83
- // }
84
- // }
85
-
117
+
86
118
  .profile-button {
87
- margin: 0 0 0 auto;
88
- padding: 0;
89
- list-style: none;
90
- display: flex;
91
-
92
- .layout-topbar-button {
93
- margin-left: 1rem;
94
- }
119
+ // burger meni
120
+ border-radius: 50%;
121
+ display: inline-flex;
122
+ margin-left: 0;
123
+ order: 3;
95
124
  }
96
- }
97
-
98
- @media (max-width: 991px) {
99
125
 
100
- .display-none-on-mobile{
101
- display: none !important;
102
- }
126
+ .layout-topbar-menu {
127
+ // div koji obgrljuje buttone
128
+ margin-left: 0;
129
+ position: absolute;
130
+ flex-direction: column;
131
+ background-color: var(--surface-overlay);
132
+ box-shadow:
133
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
134
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
135
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
136
+ border-radius: var(--p-content-border-radius);
137
+ padding: 1rem;
138
+ right: 2rem;
139
+ top: 5rem;
140
+ min-width: 15rem;
141
+ display: none;
142
+ -webkit-animation: scalein 0.15s linear;
143
+ animation: scalein 0.15s linear;
103
144
 
104
- .layout-topbar {
105
- justify-content: space-between;
106
-
107
- .layout-topbar-logo {
108
- width: auto;
109
- order: 2;
110
- }
111
-
112
- .layout-menu-button {
113
- margin-left: 0;
114
- order: 1;
115
- }
116
-
117
- .profile-button {
118
- // burger meni
119
- border-radius: 50%;
120
- display: inline-flex;
121
- margin-left: 0;
122
- order: 3;
145
+ &.layout-topbar-menu-mobile-active {
146
+ display: block;
123
147
  }
124
-
125
- .layout-topbar-menu {
126
- // div koji obgrljuje buttone
148
+
149
+ .layout-topbar-button {
127
150
  margin-left: 0;
128
- position: absolute;
129
- flex-direction: column;
130
- background-color: var(--surface-overlay);
131
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02),
132
- 0px 0px 2px rgba(0, 0, 0, 0.05), 0px 1px 4px rgba(0, 0, 0, 0.08);
151
+ display: flex;
152
+ width: 100%;
153
+ height: auto;
154
+ justify-content: flex-start;
133
155
  border-radius: var(--p-content-border-radius);
134
156
  padding: 1rem;
135
- right: 2rem;
136
- top: 5rem;
137
- min-width: 15rem;
138
- display: none;
139
- -webkit-animation: scalein 0.15s linear;
140
- animation: scalein 0.15s linear;
141
-
142
- &.layout-topbar-menu-mobile-active {
143
- display: block;
157
+
158
+ i {
159
+ font-size: 1rem;
160
+ margin-right: 0.5rem;
144
161
  }
145
-
146
- .layout-topbar-button {
147
- margin-left: 0;
148
- display: flex;
149
- width: 100%;
150
- height: auto;
151
- justify-content: flex-start;
152
- border-radius: var(--p-content-border-radius);
153
- padding: 1rem;
154
-
155
- i {
156
- font-size: 1rem;
157
- margin-right: 0.5rem;
158
- }
159
-
160
- span {
161
- font-weight: medium;
162
- display: block;
163
- }
162
+
163
+ span {
164
+ font-weight: medium;
165
+ display: block;
164
166
  }
165
167
  }
166
168
  }
167
169
  }
168
-
169
- .layout-topbar-profile-dropdown-menu {
170
- // background-color: var(--surface-card);
171
- display: none;
172
- position: absolute;
173
- background-color: var(--surface-overlay);
174
- box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.02), 0px 0px 2px rgba(0, 0, 0, 0.05),
175
- 0px 1px 4px rgba(0, 0, 0, 0.08);
170
+ }
171
+
172
+ .layout-topbar-profile-dropdown-menu {
173
+ // background-color: var(--surface-card);
174
+ display: none;
175
+ position: absolute;
176
+ background-color: var(--surface-overlay);
177
+ box-shadow:
178
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
179
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
180
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
181
+ border-radius: var(--p-content-border-radius);
182
+ padding: 1rem;
183
+ right: 2rem;
184
+ top: 5rem;
185
+ min-width: 15rem;
186
+ -webkit-animation: scalein 0.15s linear;
187
+ animation: scalein 0.15s linear;
188
+ // height: 150px;
189
+ // width: 280px;
190
+ z-index: 10;
191
+
192
+ &.layout-topbar-menu-mobile-active {
193
+ display: block;
194
+ }
195
+
196
+ @media (max-width: 991px) {
197
+ width: 210px;
198
+ right: 1rem;
199
+ top: 4.5rem;
200
+ }
201
+
202
+ .layout-topbar-profile-dropdown-button {
203
+ margin-left: 0;
204
+ display: flex;
205
+ align-items: center;
206
+ position: relative;
207
+ color: var(--p-text-color-secondary);
208
+ width: 100%;
209
+ height: auto;
210
+ justify-content: flex-start;
176
211
  border-radius: var(--p-content-border-radius);
177
212
  padding: 1rem;
178
- right: 2rem;
179
- top: 5rem;
180
- min-width: 15rem;
181
- -webkit-animation: scalein 0.15s linear;
182
- animation: scalein 0.15s linear;
183
- // height: 150px;
184
- // width: 280px;
185
- z-index: 10;
186
-
187
- &.layout-topbar-menu-mobile-active {
188
- display: block;
213
+ cursor: pointer;
214
+ transition: background-color $transitionDuration;
215
+
216
+ &:hover {
217
+ color: var(--p-text-color);
218
+ background-color: var(--p-content-hover-background);
189
219
  }
190
-
191
- @media (max-width: 991px) {
192
- width: 210px;
193
- right: 1rem;
194
- top: 4.5rem;
220
+
221
+ &:focus {
222
+ @include focused();
195
223
  }
196
-
197
- .layout-topbar-profile-dropdown-button {
198
- margin-left: 0;
199
- display: flex;
200
- align-items: center;
201
- position: relative;
202
- color: var(--p-text-color-secondary);
203
- width: 100%;
204
- height: auto;
205
- justify-content: flex-start;
206
- border-radius: var(--p-content-border-radius);
207
- padding: 1rem;
208
- cursor: pointer;
209
- transition: background-color $transitionDuration;
210
-
211
- &:hover {
212
- color: var(--p-text-color);
213
- background-color: var(--p-content-hover-background);
214
- }
215
-
216
- &:focus {
217
- @include focused();
218
- }
219
-
220
- i {
221
- font-size: 1rem;
222
- margin-right: 0.5rem;
223
- }
224
-
225
- span {
226
- font-weight: medium;
227
- display: block;
228
- }
224
+
225
+ i {
226
+ font-size: 1rem;
227
+ margin-right: 0.5rem;
229
228
  }
230
- }
231
-
232
- @media (min-width: 992px) {
233
- .display-none-on-desktop{
234
- display: none !important;
229
+
230
+ span {
231
+ font-weight: medium;
232
+ display: block;
235
233
  }
236
- }
234
+ }
235
+ }
236
+
237
+ @media (min-width: 992px) {
238
+ .display-none-on-desktop {
239
+ display: none !important;
240
+ }
241
+ }