@annalib/anna-core 38.0.0 → 40.0.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 (45) hide show
  1. package/README.md +28 -28
  2. package/fesm2022/annalib-anna-core.mjs +52 -140
  3. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  4. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +7 -16
  5. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
  6. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +3 -17
  7. package/package.json +1 -1
  8. package/src/lib/anna-common-scss/_animate.scss +27 -27
  9. package/src/lib/anna-common-scss/_application-spacing.scss +8 -8
  10. package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +29 -29
  11. package/src/lib/anna-common-scss/_button.scss +18 -18
  12. package/src/lib/anna-common-scss/_colors.scss +107 -107
  13. package/src/lib/anna-common-scss/_common-order-listing-table.scss +190 -190
  14. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
  15. package/src/lib/anna-common-scss/_customDropdown.scss +126 -126
  16. package/src/lib/anna-common-scss/_dashboard-partials.scss +107 -107
  17. package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
  18. package/src/lib/anna-common-scss/_drag-and-drop.scss +22 -22
  19. package/src/lib/anna-common-scss/_easy-filter.scss +139 -139
  20. package/src/lib/anna-common-scss/_edit-filter-popup.scss +80 -80
  21. package/src/lib/anna-common-scss/_email-button.scss +89 -89
  22. package/src/lib/anna-common-scss/_filters.scss +728 -728
  23. package/src/lib/anna-common-scss/_font.scss +9 -9
  24. package/src/lib/anna-common-scss/_fonts.scss +86 -86
  25. package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
  26. package/src/lib/anna-common-scss/_generic-table-common.scss +220 -220
  27. package/src/lib/anna-common-scss/_generic-tooltip-html.scss +69 -69
  28. package/src/lib/anna-common-scss/_gt-table.scss +586 -586
  29. package/src/lib/anna-common-scss/_icons.scss +3 -3
  30. package/src/lib/anna-common-scss/_legend.scss +11 -11
  31. package/src/lib/anna-common-scss/_mat-button-toggle.scss +68 -68
  32. package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
  33. package/src/lib/anna-common-scss/_mixins.scss +187 -187
  34. package/src/lib/anna-common-scss/_modal.scss +37 -37
  35. package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +37 -37
  36. package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
  37. package/src/lib/anna-common-scss/_show-hide-total-row.scss +27 -27
  38. package/src/lib/anna-common-scss/_sort.scss +30 -30
  39. package/src/lib/anna-common-scss/_toggle.scss +86 -86
  40. package/src/lib/anna-common-scss/style.scss +7 -7
  41. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +26 -26
  42. package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +39 -39
  43. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
  44. package/src/lib/anna-common-scss/user-module-common-scss/_user-module.scss +65 -65
  45. package/src/lib/anna-common-scss/user-module-common-scss/_user-tag-status.scss +111 -111
@@ -1,139 +1,139 @@
1
- @use "./fonts" as *;
2
- @use "./colors" as *;
3
- @use "sass:map";
4
-
5
- $intelli-filter-default-map: (
6
- "inactive-text-color": $primary-color,
7
- "inactive-border-color": $primary-color,
8
- "inactive-bg-color": white,
9
- "active-bg-color": $primary-color,
10
- "active-text-color": white,
11
- "active-border-color": $primary-color,
12
- );
13
-
14
- @mixin intelli-filter-default($padding: 5px 8px) {
15
- button.intelli-filter {
16
- @include fonts(Roboto, var(--easy-filter-text-fs), normal, 500, normal, normal, 0.6px);
17
- border-radius: 0.75rem;
18
- height: 1.25rem;
19
- margin-right: 8px;
20
- display: inline-flex;
21
- align-items: center;
22
- padding: $padding;
23
- white-space: nowrap;
24
-
25
- &:disabled {
26
- border: 1px solid #bdbdbd !important;
27
- color: #4a4a4a !important;
28
- background: #bdbdbd !important;
29
- opacity: 0.5;
30
- cursor: not-allowed;
31
- }
32
- }
33
- }
34
-
35
- @mixin intelli-filter-custom-styling($intelli-filter-map: $intelli-filter-default-map) {
36
- $intelli-filter-inactive-text-color: map.get($intelli-filter-map, "inactive-text-color");
37
- $intelli-filter-inactive-border-color: map.get($intelli-filter-map, "inactive-border-color");
38
- $intelli-filter-inactive-bg-color: map.get($intelli-filter-map, "inactive-bg-color");
39
-
40
- $intelli-filter-active-bg-color: map.get($intelli-filter-map, "active-bg-color");
41
- $intelli-filter-active-text-color: map.get($intelli-filter-map, "active-text-color");
42
- $intelli-filter-active-border-color: map.get($intelli-filter-map, "active-border-color");
43
-
44
- color: $intelli-filter-inactive-text-color;
45
- border: 1px solid $intelli-filter-inactive-border-color;
46
- background: $intelli-filter-inactive-bg-color;
47
-
48
- &.active {
49
- color: $intelli-filter-active-text-color !important;
50
- background: $intelli-filter-active-bg-color !important;
51
- border: 1px solid $intelli-filter-active-border-color !important;
52
- }
53
- }
54
-
55
- $only-enabled-default-map: (
56
- "text-color": white,
57
- "bg-color": $primary-color,
58
- );
59
-
60
- @mixin only-enabled-filter($enabled-styling: $only-enabled-default-map) {
61
- $color: map.get($enabled-styling, "text-color");
62
- $bg-color: map.get($enabled-styling, "bg-color");
63
-
64
- button.only-enabled-button {
65
- color: $color;
66
- background: $bg-color;
67
- cursor: default;
68
- pointer-events: none;
69
- }
70
- }
71
-
72
- $intelli-filter-icon-default-map: (
73
- "icon-font-size": var(--easy-filter-icon-fs),
74
- "icon-margin-right": 4px,
75
- "active-icon-color": white,
76
- );
77
-
78
- @mixin intelli-filter-icons-styling($icon-styling: $intelli-filter-icon-default-map) {
79
- $icon-font-size: map.get($icon-styling, "icon-font-size");
80
- $icon-margin-right: map.get($icon-styling, "icon-margin-right");
81
- $icon-active-color: map.get($icon-styling, "active-icon-color");
82
-
83
- button.intelli-filter i {
84
- font-size: $icon-font-size;
85
- margin-right: $icon-margin-right;
86
- display: flex;
87
- vertical-align: middle;
88
-
89
- &.mdi-star {
90
- color: $amber;
91
- }
92
-
93
- &.mdi-alert,
94
- &.adu-discrepancy-easy-filter-icon {
95
- color: #f97b07;
96
- }
97
-
98
- &.mdi-bell {
99
- color: #f3bd18;
100
- }
101
-
102
- &.mdi-file-remove-outline {
103
- color: #f44336;
104
- margin-right: 2px;
105
- }
106
- }
107
-
108
- button.intelli-filter.active {
109
- ::ng-deep svg {
110
- g {
111
- stroke: $icon-active-color !important;
112
- fill: $icon-active-color !important;
113
- }
114
- }
115
-
116
- i {
117
- color: $icon-active-color;
118
- }
119
-
120
- i.mdi-star {
121
- color: #ffc107;
122
- display: flex;
123
- }
124
- }
125
- }
126
-
127
- .filter-label {
128
- @include fonts(Roboto, var(--easy-filter-label-fs), normal, normal, normal, normal, normal);
129
- color: $charcoal;
130
- margin-bottom: 0px;
131
- height: 12px;
132
- }
133
-
134
- .filter-divider {
135
- width: 0.5px;
136
- margin-right: 8px;
137
- height: 20px;
138
- background: #111;
139
- }
1
+ @use "./fonts" as *;
2
+ @use "./colors" as *;
3
+ @use "sass:map";
4
+
5
+ $intelli-filter-default-map: (
6
+ "inactive-text-color": $primary-color,
7
+ "inactive-border-color": $primary-color,
8
+ "inactive-bg-color": white,
9
+ "active-bg-color": $primary-color,
10
+ "active-text-color": white,
11
+ "active-border-color": $primary-color,
12
+ );
13
+
14
+ @mixin intelli-filter-default($padding: 5px 8px) {
15
+ button.intelli-filter {
16
+ @include fonts(Roboto, var(--easy-filter-text-fs), normal, 500, normal, normal, 0.6px);
17
+ border-radius: 0.75rem;
18
+ height: 1.25rem;
19
+ margin-right: 8px;
20
+ display: inline-flex;
21
+ align-items: center;
22
+ padding: $padding;
23
+ white-space: nowrap;
24
+
25
+ &:disabled {
26
+ border: 1px solid #bdbdbd !important;
27
+ color: #4a4a4a !important;
28
+ background: #bdbdbd !important;
29
+ opacity: 0.5;
30
+ cursor: not-allowed;
31
+ }
32
+ }
33
+ }
34
+
35
+ @mixin intelli-filter-custom-styling($intelli-filter-map: $intelli-filter-default-map) {
36
+ $intelli-filter-inactive-text-color: map.get($intelli-filter-map, "inactive-text-color");
37
+ $intelli-filter-inactive-border-color: map.get($intelli-filter-map, "inactive-border-color");
38
+ $intelli-filter-inactive-bg-color: map.get($intelli-filter-map, "inactive-bg-color");
39
+
40
+ $intelli-filter-active-bg-color: map.get($intelli-filter-map, "active-bg-color");
41
+ $intelli-filter-active-text-color: map.get($intelli-filter-map, "active-text-color");
42
+ $intelli-filter-active-border-color: map.get($intelli-filter-map, "active-border-color");
43
+
44
+ color: $intelli-filter-inactive-text-color;
45
+ border: 1px solid $intelli-filter-inactive-border-color;
46
+ background: $intelli-filter-inactive-bg-color;
47
+
48
+ &.active {
49
+ color: $intelli-filter-active-text-color !important;
50
+ background: $intelli-filter-active-bg-color !important;
51
+ border: 1px solid $intelli-filter-active-border-color !important;
52
+ }
53
+ }
54
+
55
+ $only-enabled-default-map: (
56
+ "text-color": white,
57
+ "bg-color": $primary-color,
58
+ );
59
+
60
+ @mixin only-enabled-filter($enabled-styling: $only-enabled-default-map) {
61
+ $color: map.get($enabled-styling, "text-color");
62
+ $bg-color: map.get($enabled-styling, "bg-color");
63
+
64
+ button.only-enabled-button {
65
+ color: $color;
66
+ background: $bg-color;
67
+ cursor: default;
68
+ pointer-events: none;
69
+ }
70
+ }
71
+
72
+ $intelli-filter-icon-default-map: (
73
+ "icon-font-size": var(--easy-filter-icon-fs),
74
+ "icon-margin-right": 4px,
75
+ "active-icon-color": white,
76
+ );
77
+
78
+ @mixin intelli-filter-icons-styling($icon-styling: $intelli-filter-icon-default-map) {
79
+ $icon-font-size: map.get($icon-styling, "icon-font-size");
80
+ $icon-margin-right: map.get($icon-styling, "icon-margin-right");
81
+ $icon-active-color: map.get($icon-styling, "active-icon-color");
82
+
83
+ button.intelli-filter i {
84
+ font-size: $icon-font-size;
85
+ margin-right: $icon-margin-right;
86
+ display: flex;
87
+ vertical-align: middle;
88
+
89
+ &.mdi-star {
90
+ color: $amber;
91
+ }
92
+
93
+ &.mdi-alert,
94
+ &.adu-discrepancy-easy-filter-icon {
95
+ color: #f97b07;
96
+ }
97
+
98
+ &.mdi-bell {
99
+ color: #f3bd18;
100
+ }
101
+
102
+ &.mdi-file-remove-outline {
103
+ color: #f44336;
104
+ margin-right: 2px;
105
+ }
106
+ }
107
+
108
+ button.intelli-filter.active {
109
+ ::ng-deep svg {
110
+ g {
111
+ stroke: $icon-active-color !important;
112
+ fill: $icon-active-color !important;
113
+ }
114
+ }
115
+
116
+ i {
117
+ color: $icon-active-color;
118
+ }
119
+
120
+ i.mdi-star {
121
+ color: #ffc107;
122
+ display: flex;
123
+ }
124
+ }
125
+ }
126
+
127
+ .filter-label {
128
+ @include fonts(Roboto, var(--easy-filter-label-fs), normal, normal, normal, normal, normal);
129
+ color: $charcoal;
130
+ margin-bottom: 0px;
131
+ height: 12px;
132
+ }
133
+
134
+ .filter-divider {
135
+ width: 0.5px;
136
+ margin-right: 8px;
137
+ height: 20px;
138
+ background: #111;
139
+ }
@@ -1,80 +1,80 @@
1
- @use "./colors" as c;
2
- @use "./fonts" as f;
3
-
4
- $gap-between-headers-col: 1.5625rem !default;
5
-
6
- .selected-filters-container {
7
- border-radius: 2px;
8
- border: 1px solid c.$primary-color;
9
- padding: 0.625rem 0.5rem 0.625rem 1.5rem;
10
- display: flex;
11
- flex-wrap: nowrap;
12
- justify-content: space-between;
13
- height: 50px;
14
- }
15
-
16
- .filter-view {
17
- display: flex;
18
- gap: $gap-between-headers-col;
19
- }
20
-
21
- .edit-button {
22
- margin-top: 3px;
23
- }
24
-
25
- .header {
26
- margin-bottom: 0;
27
- color: c.$darkCharcoal;
28
- @include f.fonts(Roboto, var(--primary-filter-label-fs), normal, normal, normal, normal, normal);
29
- }
30
-
31
- .popup-dropdown-label {
32
- margin-bottom: 0;
33
- color: c.$darkCharcoal;
34
- @include f.fonts(Roboto, var(--dropdown-label-fs), normal, normal, normal, normal, normal);
35
- }
36
-
37
- .selected-value {
38
- margin-bottom: 0;
39
- color: c.$grey;
40
- @include f.fonts(Roboto, var(--primary-filter-value-fs), normal, bold, normal, normal, normal);
41
- }
42
-
43
- @mixin filter-popup-modal-header() {
44
- .modal-header {
45
- padding: 0.5rem 0.5rem 0.25rem 1.5rem;
46
-
47
- .modal-title {
48
- color: white;
49
- margin-top: auto;
50
- margin-bottom: 0;
51
- @include f.fonts(Roboto, var(--modal-header-title-fs), normal, normal, normal, normal, normal);
52
- }
53
-
54
- i {
55
- color: white;
56
- font-size: 1.5rem;
57
- &:hover,
58
- &:focus {
59
- opacity: 1 !important;
60
- color: white;
61
- }
62
- }
63
- }
64
- }
65
-
66
- @mixin filter-popup-modal-body() {
67
- .modal-body {
68
- padding: 1.5rem;
69
-
70
- .popup-filter {
71
- margin-bottom: 1rem;
72
- }
73
-
74
- .btn-group {
75
- display: flex;
76
- justify-content: space-between;
77
- padding-top: 0.5rem;
78
- }
79
- }
80
- }
1
+ @use "./colors" as c;
2
+ @use "./fonts" as f;
3
+
4
+ $gap-between-headers-col: 1.5625rem !default;
5
+
6
+ .selected-filters-container {
7
+ border-radius: 2px;
8
+ border: 1px solid c.$primary-color;
9
+ padding: 0.625rem 0.5rem 0.625rem 1.5rem;
10
+ display: flex;
11
+ flex-wrap: nowrap;
12
+ justify-content: space-between;
13
+ height: 50px;
14
+ }
15
+
16
+ .filter-view {
17
+ display: flex;
18
+ gap: $gap-between-headers-col;
19
+ }
20
+
21
+ .edit-button {
22
+ margin-top: 3px;
23
+ }
24
+
25
+ .header {
26
+ margin-bottom: 0;
27
+ color: c.$darkCharcoal;
28
+ @include f.fonts(Roboto, var(--primary-filter-label-fs), normal, normal, normal, normal, normal);
29
+ }
30
+
31
+ .popup-dropdown-label {
32
+ margin-bottom: 0;
33
+ color: c.$darkCharcoal;
34
+ @include f.fonts(Roboto, var(--dropdown-label-fs), normal, normal, normal, normal, normal);
35
+ }
36
+
37
+ .selected-value {
38
+ margin-bottom: 0;
39
+ color: c.$grey;
40
+ @include f.fonts(Roboto, var(--primary-filter-value-fs), normal, bold, normal, normal, normal);
41
+ }
42
+
43
+ @mixin filter-popup-modal-header() {
44
+ .modal-header {
45
+ padding: 0.5rem 0.5rem 0.25rem 1.5rem;
46
+
47
+ .modal-title {
48
+ color: white;
49
+ margin-top: auto;
50
+ margin-bottom: 0;
51
+ @include f.fonts(Roboto, var(--modal-header-title-fs), normal, normal, normal, normal, normal);
52
+ }
53
+
54
+ i {
55
+ color: white;
56
+ font-size: 1.5rem;
57
+ &:hover,
58
+ &:focus {
59
+ opacity: 1 !important;
60
+ color: white;
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ @mixin filter-popup-modal-body() {
67
+ .modal-body {
68
+ padding: 1.5rem;
69
+
70
+ .popup-filter {
71
+ margin-bottom: 1rem;
72
+ }
73
+
74
+ .btn-group {
75
+ display: flex;
76
+ justify-content: space-between;
77
+ padding-top: 0.5rem;
78
+ }
79
+ }
80
+ }
@@ -1,89 +1,89 @@
1
- .show-text {
2
- display: none;
3
- }
4
-
5
- .hovered-email-report-button,
6
- .email-report-btn {
7
- display: flex;
8
- flex-wrap: nowrap;
9
- align-items: center;
10
- z-index: 300;
11
- width: 1.875rem;
12
- transition: 0.5s ease-in-out;
13
- height: 1.875rem;
14
- border-radius: 50%;
15
- border: none;
16
- color: #fff;
17
- background-color: #268bff;
18
- top: 6rem;
19
- right: 2.5%;
20
- position: absolute;
21
- box-shadow:
22
- 0 6px 10px 0 rgba(0, 0, 0, 0.3),
23
- 0 2px 2px 0 rgba(0, 0, 0, 0.2);
24
- font-size: var(--page-link-fs);
25
-
26
- .icon {
27
- float: right;
28
- margin-left: auto;
29
- }
30
-
31
- .show-text {
32
- display: none;
33
- }
34
-
35
- .show-icon {
36
- color: white;
37
- font-size: 1.125rem;
38
- transform: rotate(315deg);
39
- margin-left: 0.125rem;
40
- margin-top: -0.25rem;
41
- }
42
-
43
- &:disabled {
44
- background-color: #979797;
45
- cursor: not-allowed !important;
46
- opacity: 1;
47
- }
48
- }
49
-
50
- .w-180.hovered-email-report-button {
51
- width: 180px !important;
52
- }
53
-
54
- .hovered-email-report-button {
55
- color: white;
56
- width: 120px;
57
- height: 1.875rem;
58
- padding: 8px;
59
- border-radius: 0.9375rem;
60
- box-shadow:
61
- 0 6px 10px 0 rgba(0, 0, 0, 0.3),
62
- 0 2px 2px 0 rgba(0, 0, 0, 0.2);
63
-
64
- .show-text {
65
- display: block;
66
- transition: fadeInRight 0.5s ease-in-out;
67
- white-space: nowrap;
68
- white-space: nowrap;
69
- overflow: hidden;
70
- }
71
-
72
- .mdi-menu-down {
73
- display: block !important;
74
- font-size: 14px;
75
- }
76
-
77
- .show-icon {
78
- display: none;
79
- }
80
- }
81
-
82
- .send-mi {
83
- color: white;
84
- font-size: 1.125rem;
85
- transform: rotate(315deg);
86
- margin-left: 0.125rem;
87
- margin-top: 0.125rem;
88
- }
89
-
1
+ .show-text {
2
+ display: none;
3
+ }
4
+
5
+ .hovered-email-report-button,
6
+ .email-report-btn {
7
+ display: flex;
8
+ flex-wrap: nowrap;
9
+ align-items: center;
10
+ z-index: 300;
11
+ width: 1.875rem;
12
+ transition: 0.5s ease-in-out;
13
+ height: 1.875rem;
14
+ border-radius: 50%;
15
+ border: none;
16
+ color: #fff;
17
+ background-color: #268bff;
18
+ top: 6rem;
19
+ right: 2.5%;
20
+ position: absolute;
21
+ box-shadow:
22
+ 0 6px 10px 0 rgba(0, 0, 0, 0.3),
23
+ 0 2px 2px 0 rgba(0, 0, 0, 0.2);
24
+ font-size: var(--page-link-fs);
25
+
26
+ .icon {
27
+ float: right;
28
+ margin-left: auto;
29
+ }
30
+
31
+ .show-text {
32
+ display: none;
33
+ }
34
+
35
+ .show-icon {
36
+ color: white;
37
+ font-size: 1.125rem;
38
+ transform: rotate(315deg);
39
+ margin-left: 0.125rem;
40
+ margin-top: -0.25rem;
41
+ }
42
+
43
+ &:disabled {
44
+ background-color: #979797;
45
+ cursor: not-allowed !important;
46
+ opacity: 1;
47
+ }
48
+ }
49
+
50
+ .w-180.hovered-email-report-button {
51
+ width: 180px !important;
52
+ }
53
+
54
+ .hovered-email-report-button {
55
+ color: white;
56
+ width: 120px;
57
+ height: 1.875rem;
58
+ padding: 8px;
59
+ border-radius: 0.9375rem;
60
+ box-shadow:
61
+ 0 6px 10px 0 rgba(0, 0, 0, 0.3),
62
+ 0 2px 2px 0 rgba(0, 0, 0, 0.2);
63
+
64
+ .show-text {
65
+ display: block;
66
+ transition: fadeInRight 0.5s ease-in-out;
67
+ white-space: nowrap;
68
+ white-space: nowrap;
69
+ overflow: hidden;
70
+ }
71
+
72
+ .mdi-menu-down {
73
+ display: block !important;
74
+ font-size: 14px;
75
+ }
76
+
77
+ .show-icon {
78
+ display: none;
79
+ }
80
+ }
81
+
82
+ .send-mi {
83
+ color: white;
84
+ font-size: 1.125rem;
85
+ transform: rotate(315deg);
86
+ margin-left: 0.125rem;
87
+ margin-top: 0.125rem;
88
+ }
89
+