@annalib/anna-core 24.1.11 → 24.1.13

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 (55) 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-icon-column/anna-icon-column.component.mjs +6 -4
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +3 -3
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +3 -3
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +3 -3
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +3 -3
  10. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +3 -3
  11. package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  12. package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -15
  13. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +4 -2
  14. package/esm2022/lib/anna-core.module.mjs +10 -4
  15. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-normal-table/anna-non-editable-generic-normal-table.component.mjs +982 -0
  16. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +10 -4
  17. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -3
  18. package/esm2022/public-api.mjs +2 -1
  19. package/fesm2022/annalib-anna-core.mjs +1187 -239
  20. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  21. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +7 -14
  22. package/lib/anna-core.module.d.ts +2 -1
  23. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-normal-table/anna-non-editable-generic-normal-table.component.d.ts +179 -0
  24. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +3 -1
  25. package/package.json +1 -1
  26. package/public-api.d.ts +1 -0
  27. package/src/lib/anna-common-scss/_animate.scss +27 -27
  28. package/src/lib/anna-common-scss/_application-spacing.scss +7 -7
  29. package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +27 -27
  30. package/src/lib/anna-common-scss/_button.scss +18 -18
  31. package/src/lib/anna-common-scss/_colors.scss +107 -107
  32. package/src/lib/anna-common-scss/_common-order-listing-table.scss +176 -176
  33. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +14 -14
  34. package/src/lib/anna-common-scss/_customDropdown.scss +123 -123
  35. package/src/lib/anna-common-scss/_dashboard-partials.scss +106 -106
  36. package/src/lib/anna-common-scss/_date-picker-form.scss +87 -87
  37. package/src/lib/anna-common-scss/_edit-filter-popup.scss +70 -70
  38. package/src/lib/anna-common-scss/_font.scss +9 -9
  39. package/src/lib/anna-common-scss/_fonts.scss +86 -86
  40. package/src/lib/anna-common-scss/_generic-modal.scss +63 -63
  41. package/src/lib/anna-common-scss/_generic-table-common.scss +198 -198
  42. package/src/lib/anna-common-scss/_gt-table.scss +425 -425
  43. package/src/lib/anna-common-scss/_icons.scss +3 -3
  44. package/src/lib/anna-common-scss/_legend.scss +11 -11
  45. package/src/lib/anna-common-scss/_mat-menu.scss +17 -17
  46. package/src/lib/anna-common-scss/_mixins.scss +187 -187
  47. package/src/lib/anna-common-scss/_modal.scss +37 -37
  48. package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +36 -36
  49. package/src/lib/anna-common-scss/_scrollbar.scss +14 -14
  50. package/src/lib/anna-common-scss/_sort.scss +30 -30
  51. package/src/lib/anna-common-scss/_toggle.scss +86 -86
  52. package/src/lib/anna-common-scss/style.scss +1 -1
  53. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +25 -25
  54. package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +34 -34
  55. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +31 -31
@@ -21,7 +21,7 @@ export interface IHeaderInfo {
21
21
  tooltip?: ITooltip;
22
22
  joinedFilterSortObjectKeys?: string;
23
23
  }
24
- type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP";
24
+ type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "HTML" | "HTML_STRING" | "ICON_CELL" | "STRING_OR_INPUT" | "SINGLE_RADIO" | "STRING_WITH_TOOLTIP" | "HISTORY_DESCRIPTION";
25
25
  type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
26
26
  export interface ITotalRowInfo {
27
27
  colspan: number;
@@ -126,18 +126,11 @@ export interface IActionItemTypeWithStringIconOrTextAction {
126
126
  enableTooltipForAdditionalText?: boolean;
127
127
  }
128
128
  export type IconToShow = "LIVE" | "PAY_FOR_PERFORMANCE_ACTIVE" | "PAY_FOR_PERFORMANCE" | "REJECTED" | "NOTIFY" | "AWAITING_APPROVAL" | "DELETED_ORDER" | "NEED_SELLER_CONFIRMATION" | "NEED_BUYER_CONFIRMATION";
129
- export declare class TableClassNameConstant {
130
- static readonly defaultClass = "table-body-row ";
131
- static readonly selectedRow = "selected-row ";
132
- static readonly selectableRow = "selectable-row ";
133
- static readonly lastRowOfGroup = "last-row-of-group ";
134
- static readonly mgRow = "mg-row ";
135
- static readonly redColorCellBorder = "redcolor-cell-border ";
136
- static readonly redColorCellBorderForBookedRtgImpsCol = " redcolor-cell-border-rtg-imps-col";
137
- static readonly greenColorCellBorder = "greencolor-cell-border ";
138
- static readonly yellowColorCellBorder = "yellowcolor-cell-border";
139
- static readonly orangeColorCellBorder = "orangecolor-cell-border ";
140
- static readonly redColorStatus = "redcolor-status ";
141
- static readonly groupedTableClass = "grouped-table-container ";
129
+ export interface IGtDimension {
130
+ rowHeight: number;
131
+ headerHeight: number;
132
+ dataOnTopHeight: number;
133
+ marginFromBottom: number;
134
+ tableHeight?: string;
142
135
  }
143
136
  export {};
@@ -35,8 +35,9 @@ import * as i33 from "./anna-core-shared-lib/pipes/annaDateFormatter.pipe";
35
35
  import * as i34 from "./anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe";
36
36
  import * as i35 from "./anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive";
37
37
  import * as i36 from "./anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component";
38
+ import * as i37 from "./anna-generic-table-lib/components/anna-non-editable-generic-normal-table/anna-non-editable-generic-normal-table.component";
38
39
  export declare class AnnaCoreModule {
39
40
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
40
- static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, never, [typeof i1.CommonModule, typeof i2.NgbModule, typeof i3.FormsModule, typeof i4.MatRadioModule, typeof i5.MatButtonToggleModule, typeof i6.MatTableModule, typeof i7.NgxSliderModule, typeof i8.NgxSkeletonLoaderModule, typeof i9.ScrollingModule, typeof i10.NgCircleProgressModule, typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i15.AnnaReplaceCharPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i27.DigitOnlyDirective, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i36.AnnaEstIconTemplateComponent], [typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i15.AnnaReplaceCharPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i27.DigitOnlyDirective, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective]>;
41
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, never, [typeof i1.CommonModule, typeof i2.NgbModule, typeof i3.FormsModule, typeof i4.MatRadioModule, typeof i5.MatButtonToggleModule, typeof i6.MatTableModule, typeof i7.NgxSliderModule, typeof i8.NgxSkeletonLoaderModule, typeof i9.ScrollingModule, typeof i10.NgCircleProgressModule, typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i15.AnnaReplaceCharPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i27.DigitOnlyDirective, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i36.AnnaEstIconTemplateComponent, typeof i37.AnnaNonEditableGenericNormalTableComponent], [typeof i11.AnnaNoDataComponent, typeof i12.AnnaFilterSearchedTextPipe, typeof i13.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i14.AnnaTypeofDataPipe, typeof i15.AnnaReplaceCharPipe, typeof i12.AnnaFilterSearchedTextPipe, typeof i16.AnnaBuyerApprovalIconTemplateComponent, typeof i17.AnnaLiveIconTemplateComponent, typeof i18.AnnaNotifyIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i19.AnnaPayForPerformanceIconTemplateComponent, typeof i20.AnnaRejectedIconTemplateComponent, typeof i21.ShowEllipsisTextOnHoverDirective, typeof i22.AnnaIconColumnComponent, typeof i23.AnnaWeekCalendarComponent, typeof i24.AnnaCalendarFilterComponent, typeof i25.AnnaSortComponent, typeof i26.AnnaNonEditableGenericTableComponent, typeof i28.AnnaColumnDateRangeFilterComponent, typeof i29.AnnaColumnTimeFilterComponent, typeof i30.AnnaColumnCheckboxFilterComponent, typeof i27.DigitOnlyDirective, typeof i31.AnnaDeletedOrderIconTemplateComponent, typeof i32.AnnaColumnSliderFilterComponent, typeof i33.AnnaDateFormatterPipe, typeof i34.AnnaConvertArrayToCommaSeperatedValue, typeof i35.FixedRowsPopupTableDirective, typeof i37.AnnaNonEditableGenericNormalTableComponent]>;
41
42
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
42
43
  }
@@ -0,0 +1,179 @@
1
+ import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChanges, OnInit, QueryList, SimpleChanges } from "@angular/core";
2
+ import { BehaviorSubject } from "rxjs";
3
+ import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
4
+ import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
5
+ import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
6
+ import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
7
+ import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
8
+ import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
9
+ import * as i0 from "@angular/core";
10
+ interface KeyValueTooltipType {
11
+ key: string;
12
+ value: string;
13
+ }
14
+ interface TableTooltipType {
15
+ tooltipTableHeader: string[];
16
+ tooltipTableBody: string[][];
17
+ tableHeaderMsg: string[];
18
+ tableFooterMsg: string[];
19
+ innerHtml: string;
20
+ }
21
+ export declare class AnnaNonEditableGenericNormalTableComponent implements OnInit, OnChanges, AfterViewChecked {
22
+ private cdRef;
23
+ private annaSortService;
24
+ annaDateTimeFormatService: AnnaDateTimeFormatService;
25
+ annaFilterService: AnnaFilterService;
26
+ showSkeletonLoading: boolean;
27
+ tableHeaders: IGtTableHeader[];
28
+ tableData: any[];
29
+ clonedTableData: any[];
30
+ gtGeneralConfig: IGtGeneralConfig;
31
+ totalRowInfo?: ITotalRowInfo[];
32
+ gtDimension: {
33
+ rowHeight: number;
34
+ headerHeight: number;
35
+ dataOnTopHeight: number;
36
+ marginFromBottom: number;
37
+ tableHeight?: string;
38
+ };
39
+ tableClass: string;
40
+ maximumRowsWhichCanBeRenderedWithoutScroll: number;
41
+ fixNumberOfRowsForPopup: boolean;
42
+ limit: number;
43
+ includeBorderInTableHeight: boolean;
44
+ downloadInProgress: boolean;
45
+ percentDone: number;
46
+ starredInProgress: boolean;
47
+ clickableRow: boolean;
48
+ setTableHeightWhenRowSizeIsFixed: boolean;
49
+ tableBorderBottomClassRequired: boolean;
50
+ hideSomeTds: boolean;
51
+ tdsHaveRowSpan: boolean;
52
+ multipleTablesPresent: boolean;
53
+ showOrHideToggleForTotalRow: boolean;
54
+ toggleCheckbox: EventEmitter<any>;
55
+ toggleRowCheckbox: EventEmitter<any>;
56
+ toggleHeaderCheckbox: EventEmitter<any>;
57
+ undoIconClicked: EventEmitter<any>;
58
+ filterAppliedToTable: EventEmitter<any>;
59
+ sortingAppliedToTable: EventEmitter<any>;
60
+ rowClicked: EventEmitter<any>;
61
+ radioButtonSelected: EventEmitter<any>;
62
+ columnFilterOpened: EventEmitter<any>;
63
+ columnFilterClosed: EventEmitter<any>;
64
+ gtIconClicked: EventEmitter<any>;
65
+ gtSVGIconClicked: EventEmitter<any>;
66
+ gtTextActionClicked: EventEmitter<any>;
67
+ gtViewDetailClicked: EventEmitter<any>;
68
+ gtInnerHTMLClicked: EventEmitter<any>;
69
+ downloadSpotDetails: EventEmitter<any>;
70
+ clickableDataClicked: EventEmitter<any>;
71
+ totalRowIconClicked: EventEmitter<any>;
72
+ notificationIconHover: EventEmitter<any>;
73
+ notificationIconHoverLeave: EventEmitter<any>;
74
+ editableInputEdited: EventEmitter<any>;
75
+ radioButtonMessageIconClicked: EventEmitter<any>;
76
+ numberOfSkeletonRows: number[][];
77
+ tableDataWrapper: any[];
78
+ rowChecked: boolean;
79
+ isAllRowsChecked: boolean;
80
+ noDataWidth: string;
81
+ markedForCreditStatus: string;
82
+ markedForMGStatus: string;
83
+ filterAlignment: string;
84
+ tooltipRadioTextMap: Map<any, any>;
85
+ filterTabObjects: any[];
86
+ tooltip: any;
87
+ disableColumnClearAllBtn: boolean;
88
+ margin: number;
89
+ multiWeekPickerConfig: IWeekCalendar;
90
+ tableColumns: string[];
91
+ totalRowColumns: string[];
92
+ bindValueFuncCalled: boolean;
93
+ hierarchyTooltip: {
94
+ open: () => void;
95
+ close: () => void;
96
+ };
97
+ sellerGroupHierarchy: RatingSellerGroupHierarchy[];
98
+ showFilterTooltipTabs: boolean;
99
+ isScrolledLeft: boolean;
100
+ rowBorderWidth: number;
101
+ sameTooltipClicked: boolean;
102
+ isScrollEnded: boolean;
103
+ marginTop: string;
104
+ viewChildTableHeaders: QueryList<ElementRef>;
105
+ tableElementRef: ElementRef;
106
+ isDifferenceLessThan25Percent: boolean;
107
+ start: number;
108
+ end: number;
109
+ renderedData: any[];
110
+ selectedInventoryIdForDownload: number;
111
+ selectedDemographicForDownload: any;
112
+ selectedRowTypeForDownload: string;
113
+ heightOfCheckboxTooltipFilter: number;
114
+ isNoDataToDisplaySubject$: BehaviorSubject<boolean>;
115
+ selectedStarredOrderId: string;
116
+ textActionTooltip: KeyValueTooltipType[];
117
+ tooltipContainingTable: TableTooltipType;
118
+ tableBottomBorderClass: string;
119
+ showCheckboxesForTimeFilter: boolean;
120
+ constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
121
+ ngAfterViewChecked(): void;
122
+ ngOnInit(): void;
123
+ detectChanges(): void;
124
+ ngOnChanges(changes: SimpleChanges): void;
125
+ setFilterAlignmentBasedOnScreenResolution(): void;
126
+ setTableBottomBorder(): void;
127
+ checkIfAllTheElementsAreZero(): boolean;
128
+ showHideTotalRow(): void;
129
+ setTableHeight(): void;
130
+ trackByHeaderFn(index: number, item: IGtTableHeader): string;
131
+ trackByTotalRowFn(index: number, item: ITotalRowInfo): string;
132
+ trackByFn(index: number): number;
133
+ setTooltipRadioNames(): void;
134
+ selectOrUnselectCheckbox(rowData: any, columnKeys: any, isCheckboxSelected: any): void;
135
+ selectOrUnselectRadiobox(rowData: any, columnKeys: any, isCheckboxSelected: boolean): void;
136
+ selectUnselectAllRows(): void;
137
+ selectUnselectRow(rowData: any): void;
138
+ undoCreditedSpot(data: any): void;
139
+ undoMgSpot(data: any): void;
140
+ closeTooltip(): void;
141
+ isTooltipActive(header: any[]): boolean;
142
+ bindTheValueToToolTip(tooltip: any, header: IHeaderInfo): void;
143
+ checkIfUniqueValuePresentForTheHeader(header: IHeaderInfo, enabledHeaders: any[]): void;
144
+ openTooltip(tooltip: any, header: any, columnHeader: IHeaderInfo): void;
145
+ disableEnableEachColumnTooltipIcon(): void;
146
+ dataRowClicked(rowData: any): void;
147
+ radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
148
+ bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: RatingSellerGroupHierarchy[], tooltip: any): void;
149
+ iconClicked(rowData: any, iconClass: string): void;
150
+ svgIconClicked(data: GtColumnIconEmittedData): void;
151
+ textActionClicked(rowData: any, id: any, columnHeader: IHeaderInfo): void;
152
+ iconClickedOnStringIconActionType(rowData: any, id: any, columnHeader: IHeaderInfo): void;
153
+ innerHTMLCellClicked(event: any, rowData: any): void;
154
+ viewDetailsClicked(rowData: any): void;
155
+ setActiveStateObject(): void;
156
+ setIsDifference(value: boolean): void;
157
+ resetIndex(): void;
158
+ onTableContainerScroll(e: any): void;
159
+ getTableData(start: number, end: number): any[];
160
+ updateIndex(): void;
161
+ setInitialRowsForTable(): void;
162
+ spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
163
+ tableContainerScrolled(event: any): void;
164
+ mouseEnterOnStringTextActionType(rowData: any, tooltipKey: string): void;
165
+ mouseEnterOnStringTextActionTypeContainingTable(rowData: any, tooltipKey: string): void;
166
+ mouseLeaveTextActionType(rowData: any): void;
167
+ mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
168
+ onClickableDataClicked(Rowdata: any, id: number): void;
169
+ removeTooltipOnScroll(): void;
170
+ iconClickedInTotalRow(colName: string): void;
171
+ changesMadeInEditableInputBox(event: any, editedObject: any, pasteEvent: boolean): void;
172
+ editableInputValueChanged(value: any, row: any, keyEdited: string): void;
173
+ radioButtonIconClicked(data: any): void;
174
+ filterApplied(tableData: any[]): void;
175
+ sortingApplied(tableData: any[]): void;
176
+ static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericNormalTableComponent, never>;
177
+ static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericNormalTableComponent, "anna-core-anna-non-editable-generic-normal-table", never, { "showSkeletonLoading": { "alias": "showSkeletonLoading"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "clonedTableData": { "alias": "clonedTableData"; "required": false; }; "gtGeneralConfig": { "alias": "gtGeneralConfig"; "required": false; }; "totalRowInfo": { "alias": "totalRowInfo"; "required": false; }; "gtDimension": { "alias": "gtDimension"; "required": false; }; "tableClass": { "alias": "tableClass"; "required": false; }; "maximumRowsWhichCanBeRenderedWithoutScroll": { "alias": "maximumRowsWhichCanBeRenderedWithoutScroll"; "required": false; }; "fixNumberOfRowsForPopup": { "alias": "fixNumberOfRowsForPopup"; "required": false; }; "limit": { "alias": "limit"; "required": false; }; "includeBorderInTableHeight": { "alias": "includeBorderInTableHeight"; "required": false; }; "downloadInProgress": { "alias": "downloadInProgress"; "required": false; }; "percentDone": { "alias": "percentDone"; "required": false; }; "starredInProgress": { "alias": "starredInProgress"; "required": false; }; "clickableRow": { "alias": "clickableRow"; "required": false; }; "setTableHeightWhenRowSizeIsFixed": { "alias": "setTableHeightWhenRowSizeIsFixed"; "required": false; }; "tableBorderBottomClassRequired": { "alias": "tableBorderBottomClassRequired"; "required": false; }; "hideSomeTds": { "alias": "hideSomeTds"; "required": false; }; "tdsHaveRowSpan": { "alias": "tdsHaveRowSpan"; "required": false; }; "multipleTablesPresent": { "alias": "multipleTablesPresent"; "required": false; }; "showOrHideToggleForTotalRow": { "alias": "showOrHideToggleForTotalRow"; "required": false; }; }, { "toggleCheckbox": "toggleCheckbox"; "toggleRowCheckbox": "toggleRowCheckbox"; "toggleHeaderCheckbox": "toggleHeaderCheckbox"; "undoIconClicked": "undoIconClicked"; "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "rowClicked": "rowClicked"; "radioButtonSelected": "radioButtonSelected"; "columnFilterOpened": "columnFilterOpened"; "columnFilterClosed": "columnFilterClosed"; "gtIconClicked": "gtIconClicked"; "gtSVGIconClicked": "gtSVGIconClicked"; "gtTextActionClicked": "gtTextActionClicked"; "gtViewDetailClicked": "gtViewDetailClicked"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; }, never, never, true, never>;
178
+ }
179
+ export {};
@@ -2,7 +2,7 @@ import { AfterViewChecked, ChangeDetectorRef, ElementRef, EventEmitter, OnChange
2
2
  import { BehaviorSubject } from "rxjs";
3
3
  import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from "../../../anna-core-shared-lib/models/anna-generic-data-type.model";
4
4
  import { IWeekCalendar } from "../../../anna-core-shared-lib/models/anna-global-dropdown-config.model";
5
- import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
5
+ import { ClickableItem, IconCellActionKey, IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from "../../../anna-core-shared-lib/models/anna-non-editable-gt-models";
6
6
  import { AnnaDateTimeFormatService } from "../../../anna-core-shared-lib/services/anna-date-time-format.service";
7
7
  import { AnnaFilterService } from "../../../anna-core-shared-lib/services/anna-filter.service";
8
8
  import { AnnaSortService } from "../../../anna-core-shared-lib/services/anna-sort.service";
@@ -128,6 +128,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
128
128
  showHideTotalRow(): void;
129
129
  setTableHeight(): void;
130
130
  trackByFn(index: number): number;
131
+ trackByHeaderActionCol(index: number, item: ClickableItem): any;
132
+ trackByIconCellAction(index: number, item: IconCellActionKey): string | number;
131
133
  setTooltipRadioNames(): void;
132
134
  selectOrUnselectCheckbox(rowData: any, columnKeys: any, isCheckboxSelected: any): void;
133
135
  selectOrUnselectRadiobox(rowData: any, columnKeys: any, isCheckboxSelected: boolean): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "24.1.11",
3
+ "version": "24.1.13",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^16.0.1",
6
6
  "@angular/common": "^16.2.12",
package/public-api.d.ts CHANGED
@@ -35,5 +35,6 @@ export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-
35
35
  export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component";
36
36
  export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component";
37
37
  export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
38
+ export * from "./lib/anna-generic-table-lib/components/anna-non-editable-generic-normal-table/anna-non-editable-generic-normal-table.component";
38
39
  export * from "./lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
39
40
  export * from "./lib/anna-generic-table-lib/components/anna-sort/anna-sort.component";
@@ -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,7 +1,7 @@
1
- //GLOBAL LAYOUT VARIABLE
2
- $app-screen-max-width: 1920px;
3
- $app-left-space: 40px;
4
- $app-right-space: 40px;
5
- $sidebar-minimized-width: 64px;
6
- $navbar-height: 50px;
7
- $app-max-width: calc($app-screen-max-width - $app-left-space);
1
+ //GLOBAL LAYOUT VARIABLE
2
+ $app-screen-max-width: 1920px;
3
+ $app-left-space: 40px;
4
+ $app-right-space: 40px;
5
+ $sidebar-minimized-width: 64px;
6
+ $navbar-height: 50px;
7
+ $app-max-width: calc($app-screen-max-width - $app-left-space);
@@ -1,27 +1,27 @@
1
- @mixin common-bootstrap-tooltip() {
2
- opacity: 1 !important;
3
- .tooltip-inner {
4
- color: #4a4a4a;
5
- text-align: left;
6
- padding: 8px !important;
7
- border-radius: 2px;
8
- background: white !important;
9
- box-shadow:
10
- 0 6px 10px 0 rgba(0, 0, 0, 0.3),
11
- 0 2px 2px 0 rgba(0, 0, 0, 0.2);
12
- @include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
13
- }
14
-
15
- &.bs-tooltip-top .arrow::before {
16
- border-top: 6px solid white;
17
- }
18
- &.bs-tooltip-left .arrow::before {
19
- border-left: 6px solid white;
20
- }
21
- &.bs-tooltip-bottom .arrow::before {
22
- border-bottom: 6px solid white;
23
- }
24
- &.bs-tooltip-right .arrow::before {
25
- border-right: 5px solid white;
26
- }
27
- }
1
+ @mixin common-bootstrap-tooltip() {
2
+ opacity: 1 !important;
3
+ .tooltip-inner {
4
+ color: #4a4a4a;
5
+ text-align: left;
6
+ padding: 8px !important;
7
+ border-radius: 2px;
8
+ background: white !important;
9
+ box-shadow:
10
+ 0 6px 10px 0 rgba(0, 0, 0, 0.3),
11
+ 0 2px 2px 0 rgba(0, 0, 0, 0.2);
12
+ @include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
13
+ }
14
+
15
+ &.bs-tooltip-top .arrow::before {
16
+ border-top: 6px solid white;
17
+ }
18
+ &.bs-tooltip-left .arrow::before {
19
+ border-left: 6px solid white;
20
+ }
21
+ &.bs-tooltip-bottom .arrow::before {
22
+ border-bottom: 6px solid white;
23
+ }
24
+ &.bs-tooltip-right .arrow::before {
25
+ border-right: 5px solid white;
26
+ }
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;