@annalib/anna-core 25.7.0 → 25.8.1
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.
- package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +5 -5
- package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +2 -2
- package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +7 -1
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +18 -4
- package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +3 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +3 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +3 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +3 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +3 -3
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +27 -6
- package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -3
- package/fesm2022/annalib-anna-core.mjs +67 -26
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +10 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +2 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +1 -1
- package/src/lib/anna-common-scss/_customDropdown.scss +7 -6
- package/src/lib/anna-common-scss/_dashboard-partials.scss +1 -0
- package/src/lib/anna-common-scss/_easy-filter.scss +8 -6
- package/src/lib/anna-common-scss/_edit-filter-popup.scss +10 -4
- package/src/lib/anna-common-scss/_filters.scss +13 -10
- package/src/lib/anna-common-scss/_generic-table-common.scss +1 -1
- package/src/lib/anna-common-scss/_gt-table.scss +326 -190
- package/src/lib/anna-common-scss/_mat-button-toggle.scss +2 -1
- package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +4 -3
- package/src/lib/anna-common-scss/_show-hide-total-row.scss +2 -2
- package/src/lib/anna-common-scss/_sort.scss +1 -1
- package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +1 -0
- package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +3 -3
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare class AnnaIconColumnComponent {
|
|
|
9
9
|
PfpIconActiveColor: string;
|
|
10
10
|
PfpIconDisableColor: string;
|
|
11
11
|
columnIconClicked: EventEmitter<GtColumnIconEmittedData>;
|
|
12
|
-
svgIconClicked(
|
|
12
|
+
svgIconClicked(): void;
|
|
13
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
14
14
|
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-icon-column", never, { "componentName": { "alias": "componentName"; "required": false; }; "iconToShow": { "alias": "iconToShow"; "required": false; }; "dataObject": { "alias": "dataObject"; "required": false; }; }, { "columnIconClicked": "columnIconClicked"; }, never, never, true, never>;
|
|
15
15
|
}
|
|
@@ -27,6 +27,8 @@ export interface ISvgOrIconTypeInGTTable {
|
|
|
27
27
|
showObjectKey: boolean;
|
|
28
28
|
svgOrIconName?: string;
|
|
29
29
|
svgOrIconTooltipMsg?: string;
|
|
30
|
+
additionalText?: string;
|
|
31
|
+
additionalTextClass?: string;
|
|
30
32
|
}
|
|
31
33
|
export declare class SvgOrIconTypeInGTTable {
|
|
32
34
|
showObjectKey: boolean;
|
|
@@ -40,7 +42,13 @@ export declare enum SvgOrIconNames {
|
|
|
40
42
|
PAY_FOR_PERFORMANCE_ACTIVE = "PAY_FOR_PERFORMANCE_ACTIVE",
|
|
41
43
|
AUTOMATION_ACTIVATED = "AUTOMATION_ACTIVATED",
|
|
42
44
|
DELETED_ORDER = "DELETED_ORDER",
|
|
43
|
-
WARNING_ICON = "WARNING_ICON"
|
|
45
|
+
WARNING_ICON = "WARNING_ICON",
|
|
46
|
+
INFORMATION_OUTLINE_ICON = "INFORMATION_OUTLINE_ICON",
|
|
47
|
+
CANCEL_ICON = "CANCEL_ICON",
|
|
48
|
+
ALPHA_B_CIRCLE = "ALPHA_B_CIRCLE",
|
|
49
|
+
ALPHA_R_CIRCLE = "ALPHA_R_CIRCLE",
|
|
50
|
+
ALPHA_E_CIRCLE = "ALPHA_E_CIRCLE",
|
|
51
|
+
ALPHA_A_CIRCLE = "ALPHA_A_CIRCLE"
|
|
44
52
|
}
|
|
45
53
|
export interface ITotalRowInfo {
|
|
46
54
|
colspan: number;
|
|
@@ -144,7 +152,7 @@ export interface IActionItemTypeWithStringIconOrTextAction {
|
|
|
144
152
|
tooltipPlacement?: string;
|
|
145
153
|
enableTooltipForAdditionalText?: boolean;
|
|
146
154
|
}
|
|
147
|
-
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATION_ACTIVATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE";
|
|
155
|
+
export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION" | "AUTOMATION_ACTIVATED" | "WARNING_ICON" | "INFORMATION_OUTLINE_ICON" | "CANCEL_ICON" | "ALPHA_B_CIRCLE" | "ALPHA_R_CIRCLE" | "ALPHA_E_CIRCLE" | "ALPHA_A_CIRCLE" | "MESSAGE";
|
|
148
156
|
export declare class TableClassNameConstant {
|
|
149
157
|
static readonly defaultClass = "table-body-row ";
|
|
150
158
|
static readonly selectedRow = "selected-row ";
|
|
@@ -131,6 +131,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
131
131
|
statusNoteTooltip: any;
|
|
132
132
|
statusNoteForTooltip: string;
|
|
133
133
|
statusNoteForPopup: string;
|
|
134
|
+
noOfRowsToCheck: number;
|
|
134
135
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
135
136
|
ngAfterViewChecked(): void;
|
|
136
137
|
ngOnInit(): void;
|
|
@@ -159,7 +160,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
159
160
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
160
161
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: RatingSellerGroupHierarchy[], tooltip: any): void;
|
|
161
162
|
iconClicked(rowData: any, iconClass: string): void;
|
|
162
|
-
svgIconClicked(data: GtColumnIconEmittedData): void;
|
|
163
|
+
svgIconClicked(data: GtColumnIconEmittedData, key: string): void;
|
|
163
164
|
textActionClicked(rowData: any, id: any, columnHeader: IHeaderInfo): void;
|
|
164
165
|
iconClickedOnStringIconActionType(rowData: any, id: any, columnHeader: IHeaderInfo): void;
|
|
165
166
|
innerHTMLCellClicked(event: any, rowData: any): void;
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
box-shadow:
|
|
10
10
|
0 6px 10px 0 rgba(0, 0, 0, 0.3),
|
|
11
11
|
0 2px 2px 0 rgba(0, 0, 0, 0.2);
|
|
12
|
-
@include fonts(Roboto,
|
|
12
|
+
@include fonts(Roboto, var(--page-message-content-fs), normal, normal, normal, normal, normal);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
&.bs-tooltip-top .arrow::before {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import "./colors", "./fonts";
|
|
2
2
|
|
|
3
3
|
#dropdown-trigger {
|
|
4
|
-
height: 1.
|
|
4
|
+
height: 1.5rem;
|
|
5
5
|
background: white;
|
|
6
6
|
border-radius: 2px;
|
|
7
7
|
border: 1px solid $lightGray-8;
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
.placeholder {
|
|
23
23
|
color: $gray74;
|
|
24
24
|
width: 100%;
|
|
25
|
-
@include fonts(Roboto,
|
|
25
|
+
@include fonts(Roboto, var(--dropdown-text-fs), normal, normal, normal, normal, normal);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
// #dropdown-trigger:disabled .placeholder {
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
.search-bar {
|
|
39
39
|
margin: 0 7px 8px 7px;
|
|
40
40
|
border: 1px solid $pinkSwan;
|
|
41
|
-
height:
|
|
41
|
+
height: 24px;
|
|
42
42
|
border-radius: 2px;
|
|
43
43
|
input {
|
|
44
44
|
outline: none;
|
|
@@ -46,10 +46,11 @@
|
|
|
46
46
|
position: relative;
|
|
47
47
|
bottom: 4px;
|
|
48
48
|
width: calc(100% - 29px);
|
|
49
|
+
font-size: var(--dropdown-text-fs);
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
.search-icon {
|
|
52
|
-
font-size:
|
|
53
|
+
font-size: var(--multi-select-dropdown-checkbox-fs);
|
|
53
54
|
color: $lightGray-7;
|
|
54
55
|
margin: 5px;
|
|
55
56
|
}
|
|
@@ -71,7 +72,7 @@ li {
|
|
|
71
72
|
list-style-type: none;
|
|
72
73
|
cursor: pointer;
|
|
73
74
|
padding-inline: 10px;
|
|
74
|
-
@include fonts(Roboto,
|
|
75
|
+
@include fonts(Roboto, var(--dropdown-text-fs), normal, normal, normal, 2.14, normal);
|
|
75
76
|
color: #4a4a4a;
|
|
76
77
|
@extend .ellipsify;
|
|
77
78
|
width: 100%;
|
|
@@ -104,7 +105,7 @@ li.active {
|
|
|
104
105
|
|
|
105
106
|
span.selected-item {
|
|
106
107
|
background: transparent;
|
|
107
|
-
@include fonts(Roboto,
|
|
108
|
+
@include fonts(Roboto, var(--dropdown-text-fs), normal, normal, normal, normal, normal);
|
|
108
109
|
color: #4a4a4a;
|
|
109
110
|
@extend .ellipsify;
|
|
110
111
|
width: calc(100% - 22px);
|
|
@@ -13,13 +13,14 @@ $intelli-filter-default-map: (
|
|
|
13
13
|
|
|
14
14
|
@mixin intelli-filter-default($padding: 5px 8px) {
|
|
15
15
|
button.intelli-filter {
|
|
16
|
-
@include fonts(Roboto,
|
|
16
|
+
@include fonts(Roboto, var(--easy-filter-text-fs), normal, 500, normal, normal, 0.6px);
|
|
17
17
|
border-radius: 0.75rem;
|
|
18
|
-
height: 1.
|
|
18
|
+
height: 1.25rem;
|
|
19
19
|
margin-right: 8px;
|
|
20
20
|
display: inline-flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
padding: $padding;
|
|
23
|
+
white-space: nowrap;
|
|
23
24
|
|
|
24
25
|
&:disabled {
|
|
25
26
|
border: 1px solid #bdbdbd !important;
|
|
@@ -69,7 +70,7 @@ $only-enabled-default-map: (
|
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
$intelli-filter-icon-default-map: (
|
|
72
|
-
"icon-font-size":
|
|
73
|
+
"icon-font-size": var(--easy-filter-icon-fs),
|
|
73
74
|
"icon-margin-right": 4px,
|
|
74
75
|
"active-icon-color": white,
|
|
75
76
|
);
|
|
@@ -123,14 +124,15 @@ $intelli-filter-icon-default-map: (
|
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
.filter-label {
|
|
126
|
-
@include fonts(Roboto,
|
|
127
|
+
@include fonts(Roboto, var(--easy-filter-label-fs), normal, normal, normal, normal, normal);
|
|
127
128
|
color: $charcoal;
|
|
128
|
-
margin-bottom:
|
|
129
|
+
margin-bottom: 0px;
|
|
130
|
+
height: 12px;
|
|
129
131
|
}
|
|
130
132
|
|
|
131
133
|
.filter-divider {
|
|
132
134
|
width: 0.5px;
|
|
133
135
|
margin-right: 8px;
|
|
134
|
-
height:
|
|
136
|
+
height: 20px;
|
|
135
137
|
background: #111;
|
|
136
138
|
}
|
|
@@ -10,7 +10,7 @@ $gap-between-headers-col: 1.5625rem !default;
|
|
|
10
10
|
display: flex;
|
|
11
11
|
flex-wrap: nowrap;
|
|
12
12
|
justify-content: space-between;
|
|
13
|
-
height:
|
|
13
|
+
height: 46px;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.filter-view {
|
|
@@ -21,13 +21,19 @@ $gap-between-headers-col: 1.5625rem !default;
|
|
|
21
21
|
.header {
|
|
22
22
|
margin-bottom: 0;
|
|
23
23
|
color: c.$darkCharcoal;
|
|
24
|
-
@include f.fonts(Roboto,
|
|
24
|
+
@include f.fonts(Roboto, var(--primary-filter-label-fs), normal, normal, normal, normal, normal);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.popup-dropdown-label {
|
|
28
|
+
margin-bottom: 0;
|
|
29
|
+
color: c.$darkCharcoal;
|
|
30
|
+
@include f.fonts(Roboto, var(--dropdown-label-fs), normal, normal, normal, normal, normal);
|
|
25
31
|
}
|
|
26
32
|
|
|
27
33
|
.selected-value {
|
|
28
34
|
margin-bottom: 0;
|
|
29
35
|
color: c.$grey;
|
|
30
|
-
@include f.fonts(Roboto,
|
|
36
|
+
@include f.fonts(Roboto, var(--primary-filter-value-fs), normal, bold, normal, normal, normal);
|
|
31
37
|
}
|
|
32
38
|
|
|
33
39
|
@mixin filter-popup-modal-header() {
|
|
@@ -38,7 +44,7 @@ $gap-between-headers-col: 1.5625rem !default;
|
|
|
38
44
|
color: white;
|
|
39
45
|
margin-top: auto;
|
|
40
46
|
margin-bottom: 0;
|
|
41
|
-
@include f.fonts(Roboto,
|
|
47
|
+
@include f.fonts(Roboto, var(--modal-header-title-fs), normal, normal, normal, normal, normal);
|
|
42
48
|
}
|
|
43
49
|
|
|
44
50
|
i {
|
|
@@ -240,7 +240,7 @@ div.radio-container {
|
|
|
240
240
|
|
|
241
241
|
.search-icon {
|
|
242
242
|
margin: 0 4px 0 0;
|
|
243
|
-
font-size:
|
|
243
|
+
font-size: var(--filter-search-icon-fs);
|
|
244
244
|
color: $lightGray-7;
|
|
245
245
|
}
|
|
246
246
|
|
|
@@ -255,13 +255,13 @@ div.radio-container {
|
|
|
255
255
|
|
|
256
256
|
.data {
|
|
257
257
|
margin: 0 13px 0px 8px;
|
|
258
|
-
@include fonts(Roboto,
|
|
258
|
+
@include fonts(Roboto, var(--filter-checkbox-label-fs), normal, normal, normal, 1.86, "");
|
|
259
259
|
color: $charcoal;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
262
|
.search-input {
|
|
263
263
|
margin: 1px 0 1px 4px;
|
|
264
|
-
@include fonts(Roboto,
|
|
264
|
+
@include fonts(Roboto, var(--filter-search-fs), normal, normal, normal, normal, normal);
|
|
265
265
|
color: $lightGray-6;
|
|
266
266
|
width: calc(100% - 38px);
|
|
267
267
|
margin-left: 2px;
|
|
@@ -342,7 +342,7 @@ section.min-maxContainer {
|
|
|
342
342
|
width: 100%;
|
|
343
343
|
input {
|
|
344
344
|
width: 30%;
|
|
345
|
-
height:
|
|
345
|
+
height: 1.5rem;
|
|
346
346
|
border: 1px solid lightgray;
|
|
347
347
|
color: gray;
|
|
348
348
|
}
|
|
@@ -353,6 +353,7 @@ section.min-maxContainer {
|
|
|
353
353
|
position: relative;
|
|
354
354
|
top: $fs-5;
|
|
355
355
|
color: $lightDimGray;
|
|
356
|
+
font-size: var(--page-message-content-fs);
|
|
356
357
|
}
|
|
357
358
|
}
|
|
358
359
|
|
|
@@ -382,12 +383,12 @@ section.min-maxContainer {
|
|
|
382
383
|
margin-top: $fs-6;
|
|
383
384
|
width: 9px;
|
|
384
385
|
height: 18px;
|
|
385
|
-
margin-right:
|
|
386
|
+
margin-right: 0.875rem;
|
|
386
387
|
i {
|
|
387
388
|
color: black;
|
|
388
389
|
cursor: pointer;
|
|
389
390
|
max-height: 9px;
|
|
390
|
-
font-size:
|
|
391
|
+
font-size: 20px;
|
|
391
392
|
width: 10px;
|
|
392
393
|
&:before {
|
|
393
394
|
width: 0;
|
|
@@ -417,6 +418,7 @@ section.min-maxContainer {
|
|
|
417
418
|
margin-top: 0.125rem;
|
|
418
419
|
margin-left: $fs-12;
|
|
419
420
|
font-weight: 700;
|
|
421
|
+
font-size: var(--dropdown-label-fs);
|
|
420
422
|
}
|
|
421
423
|
}
|
|
422
424
|
|
|
@@ -433,7 +435,7 @@ section.min-maxContainer {
|
|
|
433
435
|
width: 94%;
|
|
434
436
|
text-align: center;
|
|
435
437
|
border: none;
|
|
436
|
-
font-size:
|
|
438
|
+
font-size: var(--filter-clear-select-btn-fs);
|
|
437
439
|
background: none;
|
|
438
440
|
text-decoration: underline;
|
|
439
441
|
color: $primary-color;
|
|
@@ -496,7 +498,7 @@ span.mdi-filter-variant.active {
|
|
|
496
498
|
}
|
|
497
499
|
|
|
498
500
|
p.filter-tab {
|
|
499
|
-
@include fonts(Roboto,
|
|
501
|
+
@include fonts(Roboto, var(--filter-tab-fs), normal, normal, normal, 1.29, normal);
|
|
500
502
|
color: #1b88ff;
|
|
501
503
|
border-radius: 5px;
|
|
502
504
|
background-color: #f4f4f4;
|
|
@@ -505,6 +507,7 @@ p.filter-tab {
|
|
|
505
507
|
overflow: hidden;
|
|
506
508
|
text-align: center;
|
|
507
509
|
text-overflow: ellipsis;
|
|
510
|
+
padding-block: 3px;
|
|
508
511
|
}
|
|
509
512
|
|
|
510
513
|
p.filter-tab.active {
|
|
@@ -515,7 +518,7 @@ p.filter-tab.active {
|
|
|
515
518
|
button.filter-text-btn {
|
|
516
519
|
background: white;
|
|
517
520
|
text-decoration: underline;
|
|
518
|
-
@include fonts(Roboto,
|
|
521
|
+
@include fonts(Roboto, var(--filter-clear-select-btn-fs), normal, normal, normal, normal, normal);
|
|
519
522
|
border: none;
|
|
520
523
|
color: #268bff;
|
|
521
524
|
&:disabled {
|
|
@@ -695,7 +698,7 @@ input.error-border {
|
|
|
695
698
|
|
|
696
699
|
.no-data-case {
|
|
697
700
|
padding-left: 0.4375rem !important;
|
|
698
|
-
font-size:
|
|
701
|
+
font-size: var(--filter-checkbox-label-fs) !important;
|
|
699
702
|
margin-top: 10px !important;
|
|
700
703
|
cursor: pointer;
|
|
701
704
|
}
|