@annalib/anna-core 24.2.9 → 24.2.10

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 (44) hide show
  1. package/README.md +28 -28
  2. package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +3 -3
  3. package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +3 -3
  4. package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +3 -3
  5. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +3 -3
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +3 -3
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +3 -3
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -3
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +3 -3
  10. package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  11. package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +6 -6
  12. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +3 -3
  13. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -3
  14. package/fesm2022/annalib-anna-core.mjs +25 -25
  15. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  16. package/package.json +1 -1
  17. package/src/lib/anna-common-scss/_animate.scss +27 -27
  18. package/src/lib/anna-common-scss/_application-spacing.scss +8 -7
  19. package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +27 -27
  20. package/src/lib/anna-common-scss/_button.scss +18 -18
  21. package/src/lib/anna-common-scss/_colors.scss +107 -107
  22. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
  23. package/src/lib/anna-common-scss/_customDropdown.scss +123 -123
  24. package/src/lib/anna-common-scss/_dashboard-partials.scss +106 -106
  25. package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
  26. package/src/lib/anna-common-scss/_edit-filter-popup.scss +70 -70
  27. package/src/lib/anna-common-scss/_font.scss +9 -9
  28. package/src/lib/anna-common-scss/_fonts.scss +86 -86
  29. package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
  30. package/src/lib/anna-common-scss/_generic-table-common.scss +198 -198
  31. package/src/lib/anna-common-scss/_gt-table.scss +425 -425
  32. package/src/lib/anna-common-scss/_icons.scss +3 -3
  33. package/src/lib/anna-common-scss/_legend.scss +11 -11
  34. package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
  35. package/src/lib/anna-common-scss/_mixins.scss +187 -187
  36. package/src/lib/anna-common-scss/_modal.scss +37 -37
  37. package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +36 -36
  38. package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
  39. package/src/lib/anna-common-scss/_sort.scss +30 -30
  40. package/src/lib/anna-common-scss/_toggle.scss +86 -86
  41. package/src/lib/anna-common-scss/style.scss +1 -1
  42. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +25 -25
  43. package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +34 -34
  44. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
@@ -1,106 +1,106 @@
1
- .dashboard-heading {
2
- color: #268bff;
3
- font-size: 1rem;
4
- font-weight: 500;
5
- letter-spacing: 2.5px;
6
- }
7
-
8
- @mixin user-card($bgColor) {
9
- background-color: $bgColor;
10
- box-shadow:
11
- 0 2px 2px 0 rgba(0, 0, 0, 0.24),
12
- 0 0 2px 0 rgba(0, 0, 0, 0.12);
13
- cursor: default;
14
- transition: 150ms;
15
- position: relative;
16
- border-radius: 0.25rem;
17
- padding: 1.5rem;
18
- }
19
-
20
- //orderCard issue 2
21
- // .user-card:hover {
22
- // box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
23
- // top: -2px;
24
- // }
25
-
26
- @mixin view_link {
27
- float: right;
28
- color: #268bff;
29
- cursor: pointer;
30
- }
31
-
32
- @mixin info-box {
33
- background-color: #c7e1ff;
34
- border-radius: $fs-4;
35
- padding: 0.1875rem 0.5rem 0 0.5rem;
36
- @include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
37
- }
38
-
39
- .noData {
40
- background-color: lightgrey;
41
- padding: 0.5em;
42
- width: 40%;
43
- text-align: center;
44
- margin: 12.5em auto;
45
- border-radius: 0.2em;
46
- }
47
-
48
- @mixin svg-parent-card($cardHeight, $cardBgColor) {
49
- max-width: 100%;
50
- height: $cardHeight;
51
- width: 100%;
52
- background-color: $cardBgColor;
53
- border: none;
54
- outline: none;
55
- padding-bottom: 0;
56
- margin-bottom: 0;
57
- }
58
-
59
- @mixin svg-content-placeholder($backgroundGradient, $clipPath) {
60
- animation: linear 1s placeHolderShimmer infinite;
61
- background: $backgroundGradient;
62
- background-size: 800px 104px;
63
-
64
- width: 100%;
65
- height: 100%;
66
- -webkit-clip-path: url($clipPath);
67
- clip-path: url($clipPath);
68
- // Safari render fix
69
- transform: translateZ(0);
70
- }
71
-
72
- @keyframes placeHolderShimmer {
73
- 0% {
74
- background-position: -468px 0;
75
- }
76
- 100% {
77
- background-position: 468px 0;
78
- }
79
- }
80
-
81
- :host::ng-deep.btn-secondary {
82
- box-shadow: none;
83
- border: 1px solid lightgray;
84
- }
85
- :host ::ng-deep .ui-select-match-text {
86
- padding-top: 0;
87
- display: inline-block;
88
- width: 100%;
89
- white-space: nowrap;
90
- overflow: hidden;
91
- text-overflow: ellipsis;
92
- }
93
- @mixin material-icons-and-expand-icon {
94
- color: #268bff;
95
- position: absolute;
96
- float: right;
97
- cursor: pointer;
98
- pointer-events: none;
99
- }
100
-
101
- @mixin dropdownContainer {
102
- position: relative;
103
- margin: 0 0.5625rem 0 0;
104
- display: flex;
105
- flex-direction: column;
106
- }
1
+ .dashboard-heading {
2
+ color: #268bff;
3
+ font-size: 1rem;
4
+ font-weight: 500;
5
+ letter-spacing: 2.5px;
6
+ }
7
+
8
+ @mixin user-card($bgColor) {
9
+ background-color: $bgColor;
10
+ box-shadow:
11
+ 0 2px 2px 0 rgba(0, 0, 0, 0.24),
12
+ 0 0 2px 0 rgba(0, 0, 0, 0.12);
13
+ cursor: default;
14
+ transition: 150ms;
15
+ position: relative;
16
+ border-radius: 0.25rem;
17
+ padding: 1.5rem;
18
+ }
19
+
20
+ //orderCard issue 2
21
+ // .user-card:hover {
22
+ // box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
23
+ // top: -2px;
24
+ // }
25
+
26
+ @mixin view_link {
27
+ float: right;
28
+ color: #268bff;
29
+ cursor: pointer;
30
+ }
31
+
32
+ @mixin info-box {
33
+ background-color: #c7e1ff;
34
+ border-radius: $fs-4;
35
+ padding: 0.1875rem 0.5rem 0 0.5rem;
36
+ @include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
37
+ }
38
+
39
+ .noData {
40
+ background-color: lightgrey;
41
+ padding: 0.5em;
42
+ width: 40%;
43
+ text-align: center;
44
+ margin: 12.5em auto;
45
+ border-radius: 0.2em;
46
+ }
47
+
48
+ @mixin svg-parent-card($cardHeight, $cardBgColor) {
49
+ max-width: 100%;
50
+ height: $cardHeight;
51
+ width: 100%;
52
+ background-color: $cardBgColor;
53
+ border: none;
54
+ outline: none;
55
+ padding-bottom: 0;
56
+ margin-bottom: 0;
57
+ }
58
+
59
+ @mixin svg-content-placeholder($backgroundGradient, $clipPath) {
60
+ animation: linear 1s placeHolderShimmer infinite;
61
+ background: $backgroundGradient;
62
+ background-size: 800px 104px;
63
+
64
+ width: 100%;
65
+ height: 100%;
66
+ -webkit-clip-path: url($clipPath);
67
+ clip-path: url($clipPath);
68
+ // Safari render fix
69
+ transform: translateZ(0);
70
+ }
71
+
72
+ @keyframes placeHolderShimmer {
73
+ 0% {
74
+ background-position: -468px 0;
75
+ }
76
+ 100% {
77
+ background-position: 468px 0;
78
+ }
79
+ }
80
+
81
+ :host::ng-deep.btn-secondary {
82
+ box-shadow: none;
83
+ border: 1px solid lightgray;
84
+ }
85
+ :host ::ng-deep .ui-select-match-text {
86
+ padding-top: 0;
87
+ display: inline-block;
88
+ width: 100%;
89
+ white-space: nowrap;
90
+ overflow: hidden;
91
+ text-overflow: ellipsis;
92
+ }
93
+ @mixin material-icons-and-expand-icon {
94
+ color: #268bff;
95
+ position: absolute;
96
+ float: right;
97
+ cursor: pointer;
98
+ pointer-events: none;
99
+ }
100
+
101
+ @mixin dropdownContainer {
102
+ position: relative;
103
+ margin: 0 0.5625rem 0 0;
104
+ display: flex;
105
+ flex-direction: column;
106
+ }
@@ -1,87 +1,87 @@
1
- @import "./fonts", "./colors";
2
-
3
- .input-group-append {
4
- margin: auto;
5
- width: 25px;
6
- background-color: #d8d8d8;
7
- }
8
-
9
- .input-group {
10
- background-color: #fff;
11
- }
12
-
13
- .input-group > .form-control {
14
- width: 150px;
15
- font-size: 12px;
16
- border: none;
17
- background-color: white;
18
- border-right: 1px solid #d4d4d4;
19
- cursor: pointer;
20
- }
21
-
22
- .datepicker-form-group {
23
- border-radius: 2px;
24
- border: 1px solid #d6d6d6;
25
- }
26
-
27
- :host ::ng-deep.ngb-dp-arrow.right {
28
- width: unset !important;
29
- }
30
-
31
- ::ng-deep .ngb-dp-day.disabled {
32
- opacity: 0.5;
33
- }
34
-
35
- .form-control {
36
- padding: 7px;
37
- color: #000;
38
- }
39
-
40
- :host ::ng-deep .bg-primary {
41
- background-color: #8bac2a !important;
42
- &:focus {
43
- outline: none;
44
- }
45
- }
46
-
47
- .form-control {
48
- &:focus {
49
- outline: none;
50
- box-shadow: none;
51
- }
52
- }
53
-
54
- textarea:focus,
55
- input:focus {
56
- outline: none;
57
- }
58
-
59
- ::ng-deep .custom-select {
60
- cursor: pointer;
61
- &:focus {
62
- border-color: unset;
63
- outline: 0;
64
- box-shadow: unset;
65
- }
66
- }
67
-
68
- .icon-width {
69
- font-size: 16px;
70
- cursor: pointer;
71
- width: 25px;
72
- display: flex;
73
- justify-content: center;
74
- background-color: #fff;
75
- }
76
-
77
- input.form-control:disabled {
78
- background-color: #fff !important;
79
- }
80
-
81
- ::ng-deep app-single-select-dropdown {
82
- width: 19.5rem !important;
83
- }
84
-
85
- .form-control {
86
- background-color: transparent !important;
87
- }
1
+ @import "./fonts", "./colors";
2
+
3
+ .input-group-append {
4
+ margin: auto;
5
+ width: 25px;
6
+ background-color: #d8d8d8;
7
+ }
8
+
9
+ .input-group {
10
+ background-color: #fff;
11
+ }
12
+
13
+ .input-group > .form-control {
14
+ width: 150px;
15
+ font-size: 12px;
16
+ border: none;
17
+ background-color: white;
18
+ border-right: 1px solid #d4d4d4;
19
+ cursor: pointer;
20
+ }
21
+
22
+ .datepicker-form-group {
23
+ border-radius: 2px;
24
+ border: 1px solid #d6d6d6;
25
+ }
26
+
27
+ :host ::ng-deep.ngb-dp-arrow.right {
28
+ width: unset !important;
29
+ }
30
+
31
+ ::ng-deep .ngb-dp-day.disabled {
32
+ opacity: 0.5;
33
+ }
34
+
35
+ .form-control {
36
+ padding: 7px;
37
+ color: #000;
38
+ }
39
+
40
+ :host ::ng-deep .bg-primary {
41
+ background-color: #8bac2a !important;
42
+ &:focus {
43
+ outline: none;
44
+ }
45
+ }
46
+
47
+ .form-control {
48
+ &:focus {
49
+ outline: none;
50
+ box-shadow: none;
51
+ }
52
+ }
53
+
54
+ textarea:focus,
55
+ input:focus {
56
+ outline: none;
57
+ }
58
+
59
+ ::ng-deep .custom-select {
60
+ cursor: pointer;
61
+ &:focus {
62
+ border-color: unset;
63
+ outline: 0;
64
+ box-shadow: unset;
65
+ }
66
+ }
67
+
68
+ .icon-width {
69
+ font-size: 16px;
70
+ cursor: pointer;
71
+ width: 25px;
72
+ display: flex;
73
+ justify-content: center;
74
+ background-color: #fff;
75
+ }
76
+
77
+ input.form-control:disabled {
78
+ background-color: #fff !important;
79
+ }
80
+
81
+ ::ng-deep app-single-select-dropdown {
82
+ width: 19.5rem !important;
83
+ }
84
+
85
+ .form-control {
86
+ background-color: transparent !important;
87
+ }
@@ -1,70 +1,70 @@
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: 3.25rem;
14
- }
15
-
16
- .filter-view {
17
- display: flex;
18
- gap: $gap-between-headers-col;
19
- }
20
-
21
- .header {
22
- margin-bottom: 0;
23
- color: c.$darkCharcoal;
24
- @include f.fonts(Roboto, 0.75rem, normal, normal, normal, normal, normal);
25
- }
26
-
27
- .selected-value {
28
- margin-bottom: 0;
29
- color: c.$grey;
30
- @include f.fonts(Roboto, 0.875rem, normal, bold, normal, 1.14, normal);
31
- }
32
-
33
- @mixin filter-popup-modal-header() {
34
- .modal-header {
35
- padding: 0.5rem 0.5rem 0.25rem 1.5rem;
36
-
37
- .modal-title {
38
- color: white;
39
- margin-top: auto;
40
- margin-bottom: 0;
41
- @include f.fonts(Roboto, 1.125rem, normal, normal, normal, normal, normal);
42
- }
43
-
44
- i {
45
- color: white;
46
- font-size: 1.5rem;
47
- &:hover,
48
- &:focus {
49
- opacity: 1 !important;
50
- color: white;
51
- }
52
- }
53
- }
54
- }
55
-
56
- @mixin filter-popup-modal-body() {
57
- .modal-body {
58
- padding: 1.5rem;
59
-
60
- .popup-filter {
61
- margin-bottom: 1rem;
62
- }
63
-
64
- .btn-group {
65
- display: flex;
66
- justify-content: space-between;
67
- padding-top: 0.5rem;
68
- }
69
- }
70
- }
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: 3.25rem;
14
+ }
15
+
16
+ .filter-view {
17
+ display: flex;
18
+ gap: $gap-between-headers-col;
19
+ }
20
+
21
+ .header {
22
+ margin-bottom: 0;
23
+ color: c.$darkCharcoal;
24
+ @include f.fonts(Roboto, 0.75rem, normal, normal, normal, normal, normal);
25
+ }
26
+
27
+ .selected-value {
28
+ margin-bottom: 0;
29
+ color: c.$grey;
30
+ @include f.fonts(Roboto, 0.875rem, normal, bold, normal, 1.14, normal);
31
+ }
32
+
33
+ @mixin filter-popup-modal-header() {
34
+ .modal-header {
35
+ padding: 0.5rem 0.5rem 0.25rem 1.5rem;
36
+
37
+ .modal-title {
38
+ color: white;
39
+ margin-top: auto;
40
+ margin-bottom: 0;
41
+ @include f.fonts(Roboto, 1.125rem, normal, normal, normal, normal, normal);
42
+ }
43
+
44
+ i {
45
+ color: white;
46
+ font-size: 1.5rem;
47
+ &:hover,
48
+ &:focus {
49
+ opacity: 1 !important;
50
+ color: white;
51
+ }
52
+ }
53
+ }
54
+ }
55
+
56
+ @mixin filter-popup-modal-body() {
57
+ .modal-body {
58
+ padding: 1.5rem;
59
+
60
+ .popup-filter {
61
+ margin-bottom: 1rem;
62
+ }
63
+
64
+ .btn-group {
65
+ display: flex;
66
+ justify-content: space-between;
67
+ padding-top: 0.5rem;
68
+ }
69
+ }
70
+ }
@@ -1,9 +1,9 @@
1
- @mixin fonts($fontFamily, $fontSize, $fontStretch, $fontWeight, $fontStyle, $lineHeight, $letterSpacing) {
2
- font-family: $fontFamily;
3
- font-size: $fontSize;
4
- font-weight: $fontWeight;
5
- font-stretch: $fontStretch;
6
- font-style: $fontStyle;
7
- line-height: $lineHeight;
8
- letter-spacing: $letterSpacing;
9
- }
1
+ @mixin fonts($fontFamily, $fontSize, $fontStretch, $fontWeight, $fontStyle, $lineHeight, $letterSpacing) {
2
+ font-family: $fontFamily;
3
+ font-size: $fontSize;
4
+ font-weight: $fontWeight;
5
+ font-stretch: $fontStretch;
6
+ font-style: $fontStyle;
7
+ line-height: $lineHeight;
8
+ letter-spacing: $letterSpacing;
9
+ }