@annalib/anna-core 30.0.8 → 30.0.9

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 (34) 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-persisting-filter.service.mjs +5 -1
  12. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +2 -2
  13. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -3
  14. package/fesm2022/annalib-anna-core.mjs +23 -19
  15. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  16. package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
  17. package/package.json +1 -1
  18. package/src/lib/anna-common-scss/_animate.scss +27 -27
  19. package/src/lib/anna-common-scss/_button.scss +18 -18
  20. package/src/lib/anna-common-scss/_colors.scss +107 -107
  21. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
  22. package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
  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/_icons.scss +3 -3
  27. package/src/lib/anna-common-scss/_legend.scss +11 -11
  28. package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
  29. package/src/lib/anna-common-scss/_mixins.scss +187 -187
  30. package/src/lib/anna-common-scss/_modal.scss +37 -37
  31. package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
  32. package/src/lib/anna-common-scss/_toggle.scss +86 -86
  33. package/src/lib/anna-common-scss/style.scss +1 -1
  34. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
@@ -16,14 +16,14 @@ export declare class AnnaDateTimeFormatService {
16
16
  addZero(time: any): any;
17
17
  sortByTimeAscending(a: any, b: any): number;
18
18
  sortByTimeDescending(a: any, b: any): number;
19
- compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 | -1 | 0;
19
+ compareTime(a: dayjs.Dayjs, b: dayjs.Dayjs, unit: UnitType, isAsc: boolean): 1 | 0 | -1;
20
20
  convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
21
21
  compareDate(a: string, b: string, isAsc: boolean): number;
22
22
  static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
23
23
  static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
24
24
  formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
25
25
  compare(a: number | string, b: number | string, isAsc: boolean): number;
26
- sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 | -1 | 0;
26
+ sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): 1 | 0 | -1;
27
27
  convertNgbDateToMomentInSpecificFormat(ngbDate: NgbDateType, format: string): string;
28
28
  getBroadcastWeek(startDate: any, format?: string): {
29
29
  start: dayjs.Dayjs;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "30.0.8",
3
+ "version": "30.0.9",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^16.0.1",
6
6
  "@angular/common": "^16.2.12",
@@ -1,27 +1,27 @@
1
- // scss-lint:disable all
2
- .animated {
3
- animation-duration: 1s;
4
- // animation-fill-mode: both;
5
- }
6
-
7
- .animated.infinite {
8
- animation-iteration-count: infinite;
9
- }
10
-
11
- .animated.hinge {
12
- animation-duration: 2s;
13
- }
14
-
15
- @keyframes fadeIn {
16
- from {
17
- opacity: 0;
18
- }
19
-
20
- to {
21
- opacity: 1;
22
- }
23
- }
24
-
25
- .fadeIn {
26
- animation-name: fadeIn;
27
- }
1
+ // scss-lint:disable all
2
+ .animated {
3
+ animation-duration: 1s;
4
+ // animation-fill-mode: both;
5
+ }
6
+
7
+ .animated.infinite {
8
+ animation-iteration-count: infinite;
9
+ }
10
+
11
+ .animated.hinge {
12
+ animation-duration: 2s;
13
+ }
14
+
15
+ @keyframes fadeIn {
16
+ from {
17
+ opacity: 0;
18
+ }
19
+
20
+ to {
21
+ opacity: 1;
22
+ }
23
+ }
24
+
25
+ .fadeIn {
26
+ animation-name: fadeIn;
27
+ }
@@ -1,18 +1,18 @@
1
- @import "./colors";
2
-
3
- @mixin enableDisableBtnStyle() {
4
- background-color: white;
5
- text-decoration: underline;
6
- color: $primary-color;
7
- border: none;
8
-
9
- &:hover:enabled {
10
- color: $charcoal;
11
- }
12
-
13
- &:disabled {
14
- color: $charcoal;
15
- opacity: 0.5;
16
- cursor: not-allowed;
17
- }
18
- }
1
+ @import "./colors";
2
+
3
+ @mixin enableDisableBtnStyle() {
4
+ background-color: white;
5
+ text-decoration: underline;
6
+ color: $primary-color;
7
+ border: none;
8
+
9
+ &:hover:enabled {
10
+ color: $charcoal;
11
+ }
12
+
13
+ &:disabled {
14
+ color: $charcoal;
15
+ opacity: 0.5;
16
+ cursor: not-allowed;
17
+ }
18
+ }
@@ -1,107 +1,107 @@
1
- $primary-color: #268bff;
2
- $background-white: #ffffff;
3
- $lightGray: #d3d3d3;
4
- $lightGray-1: #f1f1f1;
5
- $lightGray-2: #b3b3b3;
6
- $lightGray-3: #ededed;
7
- $lightGray-4: #d4d4d4;
8
- $lightGray-5: #e6e6e6;
9
- $lightGray-6: #c8c8c8;
10
- $lightGray-7: #9b9b9b;
11
- $lightGray-9: #d9e1e6;
12
- $lightGray-8: #b7b7b7;
13
- $dimGray: #747474;
14
- $lightDimGray: #666666;
15
- $coralRed: #ff4747;
16
- $greenCyan: #00c853;
17
- $bookedColor: #9b1b93;
18
- $orderedColor: #d780d1;
19
- $billableColor: #f2bdef;
20
- $nationalColor: #f5dd31;
21
- $localColor: #8db72e;
22
- $lavenderBlue: #c7e1ff;
23
- $aliceBlue: #e3f0ff;
24
- $dodgerBlue: #1582ff;
25
- $lightGrey: #d6d6d6;
26
- $coldTurkey: #ceb6b6;
27
- $lightSilver: #d8d8d8;
28
- $GraythirtySeven: #5e5e5e;
29
- $charcoal: #4a4a4a;
30
- $sellerReviewColor: #f3bd18;
31
- $buyerReviewColor: #1565c0;
32
- $reviewCompleteColor: #00c853;
33
- $recoveredPreemptionColor: #0071ce;
34
- $deepSkyBlue: #00b0ff;
35
- $licorice: #2e384d;
36
- $navyBlue: #0071ce;
37
- $nobelGray: #b7b6b6;
38
- $whiteSmoke: #f7f6f6;
39
- $gray: #979797;
40
- $paleBlue: #c2cfd6;
41
- $lightViolet: #9169fc;
42
- $dimViolet: #e5dbff;
43
- $darkViolet: #555099;
44
- $whisper: #e9e9e9;
45
- $lynxWhite: #f7f7f7;
46
- $lightAliceBlue: #e5f1ff;
47
- $veryLightGrey: #cfcfcf;
48
- $darkCharcoal: #333333;
49
- $noRevisionFound: #f47228;
50
- $redOrange: #f44336;
51
- $DRRBgColor: #edecec;
52
- $darkYellowWarning: #f3c639;
53
- $lightYellow: #fff8e3;
54
- $filterRadioContainer: #f4f4f4;
55
- $oliveGreen: #8bac2a;
56
- $calendarLabel: #222b45;
57
- $olivedrab: #6b8e23;
58
- $redOrange: #fe3824;
59
- $chineseSilver: #cccccc;
60
- $grey: #767676;
61
- $primary-success: #47d490;
62
- $secondary-success: #ebf6f1;
63
- $primary-warning: #f3c639;
64
- $secondary-warning: #fff8e3;
65
- $primary-dark: #90a4ae;
66
- $secondary-dark: #ebedee;
67
- $primary-danger: #fc8383;
68
- $secondary-danger: #ffeded;
69
- $Gray94: #f0f0f0;
70
- $whisper: #ededed;
71
- $whiteSmoke2: #f4f4f4;
72
- $pinkSwan: #b5b5b5;
73
- $matterhorn: #4f4f4f;
74
- $lightGrey: #d4d4d4;
75
- $gray74: #bdbdbd;
76
- $gray86: #dbdbdb;
77
- $darkBlueShade: #222b45;
78
- $green: #8bac2a;
79
- $darkPurpleShade: #555099;
80
- $pattensBlue: #d8eaff;
81
- $quartz: #dddceb;
82
- $darkGray: #a7a7a7;
83
- $darkGray1: #cbcbcb;
84
- $awaitingSellerReview: #f7f2d1;
85
- $awaitingSellerReviewBorder: #dec30b;
86
- $amber: #ffc107;
87
- $whiteSmoke3: #efefef;
88
- $greyChateau: #a2a8ad;
89
- $roseBud: #f9b3ae;
90
- $paleRed: #fde4e3;
91
- $redOrange3: #f44336;
92
- $redOrange4: #fe3824;
93
- $gray43: #6e6e6e;
94
- $dodgerBlue2: #4099ff;
95
- $fruitSalad: #43a047;
96
- $nero: #212121;
97
- $darkGray2: #a4a4a4;
98
- $pinkSwan: #b7b7b7;
99
- $blue: #d8eaff;
100
- $lightBlue: #eff6ff;
101
- $sunsetOrange: #ff5353;
102
- $redShade: #ff5252;
103
- $lightBlueShade: #d6dcff;
104
- $blueBerry: #536dfe;
105
- $darkPink: #be489d;
106
- $lightPinkShade: #f4e7f2;
107
- $sellerGroupChildRow: #f9f3f8;
1
+ $primary-color: #268bff;
2
+ $background-white: #ffffff;
3
+ $lightGray: #d3d3d3;
4
+ $lightGray-1: #f1f1f1;
5
+ $lightGray-2: #b3b3b3;
6
+ $lightGray-3: #ededed;
7
+ $lightGray-4: #d4d4d4;
8
+ $lightGray-5: #e6e6e6;
9
+ $lightGray-6: #c8c8c8;
10
+ $lightGray-7: #9b9b9b;
11
+ $lightGray-9: #d9e1e6;
12
+ $lightGray-8: #b7b7b7;
13
+ $dimGray: #747474;
14
+ $lightDimGray: #666666;
15
+ $coralRed: #ff4747;
16
+ $greenCyan: #00c853;
17
+ $bookedColor: #9b1b93;
18
+ $orderedColor: #d780d1;
19
+ $billableColor: #f2bdef;
20
+ $nationalColor: #f5dd31;
21
+ $localColor: #8db72e;
22
+ $lavenderBlue: #c7e1ff;
23
+ $aliceBlue: #e3f0ff;
24
+ $dodgerBlue: #1582ff;
25
+ $lightGrey: #d6d6d6;
26
+ $coldTurkey: #ceb6b6;
27
+ $lightSilver: #d8d8d8;
28
+ $GraythirtySeven: #5e5e5e;
29
+ $charcoal: #4a4a4a;
30
+ $sellerReviewColor: #f3bd18;
31
+ $buyerReviewColor: #1565c0;
32
+ $reviewCompleteColor: #00c853;
33
+ $recoveredPreemptionColor: #0071ce;
34
+ $deepSkyBlue: #00b0ff;
35
+ $licorice: #2e384d;
36
+ $navyBlue: #0071ce;
37
+ $nobelGray: #b7b6b6;
38
+ $whiteSmoke: #f7f6f6;
39
+ $gray: #979797;
40
+ $paleBlue: #c2cfd6;
41
+ $lightViolet: #9169fc;
42
+ $dimViolet: #e5dbff;
43
+ $darkViolet: #555099;
44
+ $whisper: #e9e9e9;
45
+ $lynxWhite: #f7f7f7;
46
+ $lightAliceBlue: #e5f1ff;
47
+ $veryLightGrey: #cfcfcf;
48
+ $darkCharcoal: #333333;
49
+ $noRevisionFound: #f47228;
50
+ $redOrange: #f44336;
51
+ $DRRBgColor: #edecec;
52
+ $darkYellowWarning: #f3c639;
53
+ $lightYellow: #fff8e3;
54
+ $filterRadioContainer: #f4f4f4;
55
+ $oliveGreen: #8bac2a;
56
+ $calendarLabel: #222b45;
57
+ $olivedrab: #6b8e23;
58
+ $redOrange: #fe3824;
59
+ $chineseSilver: #cccccc;
60
+ $grey: #767676;
61
+ $primary-success: #47d490;
62
+ $secondary-success: #ebf6f1;
63
+ $primary-warning: #f3c639;
64
+ $secondary-warning: #fff8e3;
65
+ $primary-dark: #90a4ae;
66
+ $secondary-dark: #ebedee;
67
+ $primary-danger: #fc8383;
68
+ $secondary-danger: #ffeded;
69
+ $Gray94: #f0f0f0;
70
+ $whisper: #ededed;
71
+ $whiteSmoke2: #f4f4f4;
72
+ $pinkSwan: #b5b5b5;
73
+ $matterhorn: #4f4f4f;
74
+ $lightGrey: #d4d4d4;
75
+ $gray74: #bdbdbd;
76
+ $gray86: #dbdbdb;
77
+ $darkBlueShade: #222b45;
78
+ $green: #8bac2a;
79
+ $darkPurpleShade: #555099;
80
+ $pattensBlue: #d8eaff;
81
+ $quartz: #dddceb;
82
+ $darkGray: #a7a7a7;
83
+ $darkGray1: #cbcbcb;
84
+ $awaitingSellerReview: #f7f2d1;
85
+ $awaitingSellerReviewBorder: #dec30b;
86
+ $amber: #ffc107;
87
+ $whiteSmoke3: #efefef;
88
+ $greyChateau: #a2a8ad;
89
+ $roseBud: #f9b3ae;
90
+ $paleRed: #fde4e3;
91
+ $redOrange3: #f44336;
92
+ $redOrange4: #fe3824;
93
+ $gray43: #6e6e6e;
94
+ $dodgerBlue2: #4099ff;
95
+ $fruitSalad: #43a047;
96
+ $nero: #212121;
97
+ $darkGray2: #a4a4a4;
98
+ $pinkSwan: #b7b7b7;
99
+ $blue: #d8eaff;
100
+ $lightBlue: #eff6ff;
101
+ $sunsetOrange: #ff5353;
102
+ $redShade: #ff5252;
103
+ $lightBlueShade: #d6dcff;
104
+ $blueBerry: #536dfe;
105
+ $darkPink: #be489d;
106
+ $lightPinkShade: #f4e7f2;
107
+ $sellerGroupChildRow: #f9f3f8;
@@ -1,14 +1,14 @@
1
- :host ::ng-deep.ngb-dp-arrow button:disabled {
2
- color: #4a4a4a;
3
- background-color: #fff;
4
- opacity: 0.25;
5
- cursor: not-allowed;
6
- }
7
-
8
- :host ::ng-deep.ngb-dp-arrow button:disabled .ngb-dp-navigation-chevron {
9
- color: #4a4a4a;
10
- }
11
-
12
- :host ::ng-deep.ngb-dp-arrow button .ngb-dp-navigation-chevron {
13
- color: #000;
14
- }
1
+ :host ::ng-deep.ngb-dp-arrow button:disabled {
2
+ color: #4a4a4a;
3
+ background-color: #fff;
4
+ opacity: 0.25;
5
+ cursor: not-allowed;
6
+ }
7
+
8
+ :host ::ng-deep.ngb-dp-arrow button:disabled .ngb-dp-navigation-chevron {
9
+ color: #4a4a4a;
10
+ }
11
+
12
+ :host ::ng-deep.ngb-dp-arrow button .ngb-dp-navigation-chevron {
13
+ color: #000;
14
+ }
@@ -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,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
+ }