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,23 +1,23 @@
1
1
  ::ng-deep {
2
- .p-checkbox-false {
3
- .p-checkbox-box {
4
- border-color: var(--p-checkbox-checked-border-color);
5
- background: var(--p-checkbox-checked-background);
6
- }
7
- .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
8
- border-color: var(--p-checkbox-checked-hover-border-color);
9
- background: var(--p-checkbox-checked-hover-background);
10
- }
11
- .p-checkbox-false:has(.p-checkbox.p-disabled) .p-checkbox-false-icon {
12
- color: var(--p-checkbox-icon-disabled-color);
13
- }
2
+ .p-checkbox-false {
3
+ .p-checkbox-box {
4
+ border-color: var(--p-checkbox-checked-border-color);
5
+ background: var(--p-checkbox-checked-background);
14
6
  }
7
+ .p-checkbox:not(.p-disabled):has(.p-checkbox-input:hover) .p-checkbox-box {
8
+ border-color: var(--p-checkbox-checked-hover-border-color);
9
+ background: var(--p-checkbox-checked-hover-background);
10
+ }
11
+ .p-checkbox-false:has(.p-checkbox.p-disabled) .p-checkbox-false-icon {
12
+ color: var(--p-checkbox-icon-disabled-color);
13
+ }
14
+ }
15
15
  }
16
16
 
17
17
  .p-checkbox-false-icon {
18
- position: absolute;
19
- top: 3px;
20
- left: 2.7px;
21
- font-size: 12.25px;
22
- color: var(--p-checkbox-icon-checked-color);
23
- }
18
+ position: absolute;
19
+ top: 3px;
20
+ left: 2.7px;
21
+ font-size: 12.25px;
22
+ color: var(--p-checkbox-icon-checked-color);
23
+ }
@@ -1,14 +1,14 @@
1
- @use './_variables' as *;
1
+ @use "./_variables" as *;
2
2
 
3
3
  .layout-main-container {
4
- display: flex;
5
- flex-direction: column;
6
- min-height: 100vh;
7
- justify-content: space-between;
8
- padding: 7rem 2rem 2rem 4rem;
9
- transition: margin-left $transitionDuration;
4
+ display: flex;
5
+ flex-direction: column;
6
+ min-height: 100vh;
7
+ justify-content: space-between;
8
+ padding: 7rem 2rem 2rem 4rem;
9
+ transition: margin-left $transitionDuration;
10
10
  }
11
11
 
12
12
  .layout-main {
13
- flex: 1 1 auto;
13
+ flex: 1 1 auto;
14
14
  }
@@ -1,11 +1,11 @@
1
- @use './_variables' as *;
1
+ @use "./_variables" as *;
2
2
 
3
3
  .layout-footer {
4
- transition: margin-left $transitionDuration;
5
- display: flex;
6
- align-items: center;
7
- justify-content: center;
8
- padding-top: 1.5rem;
9
- border-top: 1px solid var(--surface-border);
10
- margin-top: 2rem;
4
+ transition: margin-left $transitionDuration;
5
+ display: flex;
6
+ align-items: center;
7
+ justify-content: center;
8
+ padding-top: 1.5rem;
9
+ border-top: 1px solid var(--surface-border);
10
+ margin-top: 2rem;
11
11
  }
@@ -1,35 +1,35 @@
1
- @use './_variables' as *;
1
+ @use "./_variables" as *;
2
2
 
3
3
  * {
4
- box-sizing: border-box;
4
+ box-sizing: border-box;
5
5
  }
6
6
 
7
7
  html {
8
- height: 100%;
9
- font-size: $scale;
10
- scroll-behavior: smooth;
8
+ height: 100%;
9
+ font-size: $scale;
10
+ scroll-behavior: smooth;
11
11
  }
12
12
 
13
13
  body {
14
- font-family: var(--font-family);
15
- color: var(--p-text-color);
16
- background-color: var(--p-surface-50);
17
- margin: 0;
18
- padding: 0;
19
- min-height: 100%;
20
- -webkit-font-smoothing: antialiased;
21
- -moz-osx-font-smoothing: grayscale;
14
+ font-family: var(--font-family);
15
+ color: var(--p-text-color);
16
+ background-color: var(--p-surface-50);
17
+ margin: 0;
18
+ padding: 0;
19
+ min-height: 100%;
20
+ -webkit-font-smoothing: antialiased;
21
+ -moz-osx-font-smoothing: grayscale;
22
22
  }
23
23
 
24
24
  .dark body {
25
- background-color: var(--p-surface-950);
25
+ background-color: var(--p-surface-950);
26
26
  }
27
27
 
28
28
  a {
29
- text-decoration: none;
30
- color: var(--p-primary-color);
29
+ text-decoration: none;
30
+ color: var(--p-primary-color);
31
31
  }
32
32
 
33
33
  .layout-wrapper {
34
- min-height: 100vh;
35
- }
34
+ min-height: 100vh;
35
+ }
@@ -1,138 +1,145 @@
1
- @use './_variables' as *;
2
- @use './_mixins' as *;
1
+ @use "./_variables" as *;
2
+ @use "./_mixins" as *;
3
3
 
4
4
  .layout-sidebar {
5
- position: fixed;
6
- width: 300px;
7
- height: calc(100vh - 9rem);
8
- z-index: 999;
9
- overflow-y: auto;
10
- user-select: none;
11
- top: 7rem;
12
- left: 2rem;
13
- transition: transform $transitionDuration, left $transitionDuration;
14
- background-color: var(--p-content-background);
15
- border-radius: var(--p-content-border-radius);
16
- padding: 0.5rem 1.5rem;
17
- box-shadow: 0px 3px 5px rgba(0, 0, 0, .02), 0px 0px 2px rgba(0, 0, 0, .05), 0px 1px 4px rgba(0, 0, 0, .08);
5
+ position: fixed;
6
+ width: 300px;
7
+ height: calc(100vh - 9rem);
8
+ z-index: 999;
9
+ overflow-y: auto;
10
+ user-select: none;
11
+ top: 7rem;
12
+ left: 2rem;
13
+ transition:
14
+ transform $transitionDuration,
15
+ left $transitionDuration;
16
+ background-color: var(--p-content-background);
17
+ border-radius: var(--p-content-border-radius);
18
+ padding: 0.5rem 1.5rem;
19
+ box-shadow:
20
+ 0px 3px 5px rgba(0, 0, 0, 0.02),
21
+ 0px 0px 2px rgba(0, 0, 0, 0.05),
22
+ 0px 1px 4px rgba(0, 0, 0, 0.08);
18
23
  }
19
24
 
20
25
  .layout-menu {
21
- margin: 0;
22
- padding: 0;
23
- list-style-type: none;
24
-
25
- .layout-root-menuitem {
26
- >.layout-menuitem-root-text {
27
- font-size: .857rem;
28
- text-transform: uppercase;
29
- font-weight: 700;
30
- color: var(--surface-900);
31
- margin: .75rem 0;
32
- }
26
+ margin: 0;
27
+ padding: 0;
28
+ list-style-type: none;
29
+
30
+ .layout-root-menuitem {
31
+ > .layout-menuitem-root-text {
32
+ font-size: 0.857rem;
33
+ text-transform: uppercase;
34
+ font-weight: 700;
35
+ color: var(--surface-900);
36
+ margin: 0.75rem 0;
37
+ }
33
38
 
34
- >a {
35
- display: none;
36
- }
39
+ > a {
40
+ display: none;
37
41
  }
42
+ }
38
43
 
39
- a {
40
- user-select: none;
44
+ a {
45
+ user-select: none;
41
46
 
42
- &.active-menuitem {
43
- >.layout-submenu-toggler {
44
- transform: rotate(-180deg);
45
- }
46
- }
47
+ &.active-menuitem {
48
+ > .layout-submenu-toggler {
49
+ transform: rotate(-180deg);
50
+ }
47
51
  }
52
+ }
48
53
 
49
- li.active-menuitem {
50
- >a {
51
- .layout-submenu-toggler {
52
- transform: rotate(-180deg);
53
- }
54
- }
54
+ li.active-menuitem {
55
+ > a {
56
+ .layout-submenu-toggler {
57
+ transform: rotate(-180deg);
58
+ }
55
59
  }
60
+ }
56
61
 
57
- ul {
58
- margin: 0;
59
- padding: 0;
60
- list-style-type: none;
62
+ ul {
63
+ margin: 0;
64
+ padding: 0;
65
+ list-style-type: none;
61
66
 
62
- a {
63
- display: flex;
64
- align-items: center;
65
- position: relative;
66
- outline: 0 none;
67
- color: var(--p-text-color);
68
- cursor: pointer;
69
- padding: .75rem 1rem;
70
- border-radius: var(--p-content-border-radius);
71
- transition: background-color $transitionDuration, box-shadow $transitionDuration;
72
-
73
- .layout-menuitem-icon {
74
- margin-right: .5rem;
75
- }
67
+ a {
68
+ display: flex;
69
+ align-items: center;
70
+ position: relative;
71
+ outline: 0 none;
72
+ color: var(--p-text-color);
73
+ cursor: pointer;
74
+ padding: 0.75rem 1rem;
75
+ border-radius: var(--p-content-border-radius);
76
+ transition:
77
+ background-color $transitionDuration,
78
+ box-shadow $transitionDuration;
79
+
80
+ .layout-menuitem-icon {
81
+ margin-right: 0.5rem;
82
+ }
83
+
84
+ .layout-submenu-toggler {
85
+ font-size: 75%;
86
+ margin-left: auto;
87
+ transition: transform $transitionDuration;
88
+ }
89
+
90
+ &.active-route {
91
+ font-weight: 700;
92
+ color: var(--p-primary-color);
93
+ }
94
+
95
+ &:hover {
96
+ background-color: var(--p-content-hover-background);
97
+ }
98
+
99
+ &:focus {
100
+ @include focused-inset();
101
+ }
102
+ }
76
103
 
77
- .layout-submenu-toggler {
78
- font-size: 75%;
79
- margin-left: auto;
80
- transition: transform $transitionDuration;
81
- }
104
+ ul {
105
+ overflow: hidden;
106
+ border-radius: var(--p-content-border-radius);
82
107
 
83
- &.active-route {
84
- font-weight: 700;
85
- color: var(--p-primary-color);
86
- }
108
+ li {
109
+ a {
110
+ margin-left: 1rem;
111
+ }
87
112
 
88
- &:hover {
89
- background-color: var(--p-content-hover-background);
90
- }
113
+ li {
114
+ a {
115
+ margin-left: 2rem;
116
+ }
91
117
 
92
- &:focus {
93
- @include focused-inset();
118
+ li {
119
+ a {
120
+ margin-left: 2.5rem;
94
121
  }
95
- }
96
-
97
- ul {
98
- overflow: hidden;
99
- border-radius: var(--p-content-border-radius);
100
122
 
101
123
  li {
124
+ a {
125
+ margin-left: 3rem;
126
+ }
127
+
128
+ li {
102
129
  a {
103
- margin-left: 1rem;
130
+ margin-left: 3.5rem;
104
131
  }
105
132
 
106
133
  li {
107
- a {
108
- margin-left: 2rem;
109
- }
110
-
111
- li {
112
- a {
113
- margin-left: 2.5rem;
114
- }
115
-
116
- li {
117
- a {
118
- margin-left: 3rem;
119
- }
120
-
121
- li {
122
- a {
123
- margin-left: 3.5rem;
124
- }
125
-
126
- li {
127
- a {
128
- margin-left: 4rem;
129
- }
130
- }
131
- }
132
- }
133
- }
134
+ a {
135
+ margin-left: 4rem;
136
+ }
134
137
  }
138
+ }
135
139
  }
140
+ }
136
141
  }
142
+ }
137
143
  }
138
- }
144
+ }
145
+ }
@@ -1,13 +1,13 @@
1
1
  @mixin focused() {
2
- outline: 0 none;
3
- outline-offset: 0;
4
- transition: box-shadow .2s;
5
- box-shadow: 0 0 0 0.2rem var(--p-primary-400);
2
+ outline: 0 none;
3
+ outline-offset: 0;
4
+ transition: box-shadow 0.2s;
5
+ box-shadow: 0 0 0 0.2rem var(--p-primary-400);
6
6
  }
7
7
 
8
8
  @mixin focused-inset() {
9
- outline: 0 none;
10
- outline-offset: 0;
11
- transition: box-shadow .2s;
12
- box-shadow: inset 0 0 0 0.2rem var(--p-primary-400);
9
+ outline: 0 none;
10
+ outline-offset: 0;
11
+ transition: box-shadow 0.2s;
12
+ box-shadow: inset 0 0 0 0.2rem var(--p-primary-400);
13
13
  }
@@ -1,47 +1,48 @@
1
1
  .preloader {
2
- position: fixed;
3
- z-index: 999999;
4
- background: #edf1f5;
5
- width: 100%;
6
- height: 100%;
2
+ position: fixed;
3
+ z-index: 999999;
4
+ background: #edf1f5;
5
+ width: 100%;
6
+ height: 100%;
7
7
  }
8
8
  .preloader-content {
9
- border: 0 solid transparent;
10
- border-radius: 50%;
11
- width: 150px;
12
- height: 150px;
13
- position: absolute;
14
- top: calc(50vh - 75px);
15
- left: calc(50vw - 75px);
9
+ border: 0 solid transparent;
10
+ border-radius: 50%;
11
+ width: 150px;
12
+ height: 150px;
13
+ position: absolute;
14
+ top: calc(50vh - 75px);
15
+ left: calc(50vw - 75px);
16
16
  }
17
17
 
18
- .preloader-content:before, .preloader-content:after{
19
- content: '';
20
- border: 1em solid var(--p-primary-color);
21
- border-radius: 50%;
22
- width: inherit;
23
- height: inherit;
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- animation: loader 2s linear infinite;
28
- opacity: 0;
18
+ .preloader-content:before,
19
+ .preloader-content:after {
20
+ content: "";
21
+ border: 1em solid var(--p-primary-color);
22
+ border-radius: 50%;
23
+ width: inherit;
24
+ height: inherit;
25
+ position: absolute;
26
+ top: 0;
27
+ left: 0;
28
+ animation: loader 2s linear infinite;
29
+ opacity: 0;
29
30
  }
30
31
 
31
- .preloader-content:before{
32
- animation-delay: 0.5s;
32
+ .preloader-content:before {
33
+ animation-delay: 0.5s;
33
34
  }
34
35
 
35
- @keyframes loader{
36
- 0%{
37
- transform: scale(0);
38
- opacity: 0;
39
- }
40
- 50%{
41
- opacity: 1;
42
- }
43
- 100%{
44
- transform: scale(1);
45
- opacity: 0;
46
- }
36
+ @keyframes loader {
37
+ 0% {
38
+ transform: scale(0);
39
+ opacity: 0;
40
+ }
41
+ 50% {
42
+ opacity: 1;
43
+ }
44
+ 100% {
45
+ transform: scale(1);
46
+ opacity: 0;
47
+ }
47
48
  }