@annalib/anna-core 24.0.18 → 24.0.20
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/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +34 -1
- package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +45 -37
- package/fesm2022/annalib-anna-core.mjs +77 -36
- package/fesm2022/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +2 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -2
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_easy-filter.scss +1 -1
|
@@ -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" | 'STRING_WITH_ELLIPSIS_AND_READ_MORE_TOOLTIP';
|
|
25
25
|
type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
26
26
|
export interface ITotalRowInfo {
|
|
27
27
|
colspan: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ElementRef, QueryList } from "@angular/core";
|
|
1
2
|
import { Options } from "@angular-slider/ngx-slider";
|
|
2
3
|
import dayjs from "dayjs";
|
|
3
4
|
import { SortType } from "../models/anna-sort.model";
|
|
@@ -149,6 +150,7 @@ export declare class AnnaFilterService {
|
|
|
149
150
|
isHourValueInvalid(hr: string): boolean;
|
|
150
151
|
isMinuteValueInvalid(minute: string): boolean;
|
|
151
152
|
updateSortMap(tempSortOrder: SortType, tableData: any[], isLurAndCsrComponent: boolean): any[];
|
|
153
|
+
setMarginLeftForFilterIcon(thElements: QueryList<ElementRef>): void;
|
|
152
154
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
153
155
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
154
156
|
}
|
|
@@ -73,6 +73,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
73
73
|
notificationIconHoverLeave: EventEmitter<any>;
|
|
74
74
|
editableInputEdited: EventEmitter<any>;
|
|
75
75
|
radioButtonMessageIconClicked: EventEmitter<any>;
|
|
76
|
+
statusNotePopupOpened: EventEmitter<string>;
|
|
76
77
|
numberOfSkeletonRows: number[][];
|
|
77
78
|
tableDataWrapper: any[];
|
|
78
79
|
rowChecked: boolean;
|
|
@@ -102,6 +103,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
102
103
|
isScrollEnded: boolean;
|
|
103
104
|
marginTop: string;
|
|
104
105
|
viewChildTableHeaders: QueryList<ElementRef>;
|
|
106
|
+
tableElementRef: ElementRef;
|
|
105
107
|
isDifferenceLessThan25Percent: boolean;
|
|
106
108
|
start: number;
|
|
107
109
|
end: number;
|
|
@@ -116,6 +118,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
116
118
|
tooltipContainingTable: TableTooltipType;
|
|
117
119
|
tableBottomBorderClass: string;
|
|
118
120
|
showCheckboxesForTimeFilter: boolean;
|
|
121
|
+
statusNoteTooltip: any;
|
|
122
|
+
statusNoteForTooltip: string;
|
|
123
|
+
statusNoteForPopup: string;
|
|
119
124
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
120
125
|
ngAfterViewChecked(): void;
|
|
121
126
|
ngOnInit(): void;
|
|
@@ -140,7 +145,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
140
145
|
checkIfUniqueValuePresentForTheHeader(header: IHeaderInfo, enabledHeaders: any[]): void;
|
|
141
146
|
openTooltip(tooltip: any, header: any, columnHeader: IHeaderInfo): void;
|
|
142
147
|
disableEnableEachColumnTooltipIcon(): void;
|
|
143
|
-
setMarginLeftForFilterIcon(): void;
|
|
144
148
|
dataRowClicked(rowData: any): void;
|
|
145
149
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
146
150
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: RatingSellerGroupHierarchy[], tooltip: any): void;
|
|
@@ -171,7 +175,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
171
175
|
radioButtonIconClicked(data: any): void;
|
|
172
176
|
filterApplied(tableData: any[]): void;
|
|
173
177
|
sortingApplied(tableData: any[]): void;
|
|
178
|
+
bindTheValueToStatusNote(note: string, tooltip: any): void;
|
|
179
|
+
showEntireStatusNote(): void;
|
|
180
|
+
closeStatusNoteTooltip(): void;
|
|
174
181
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
175
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", 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>;
|
|
182
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", 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"; "statusNotePopupOpened": "statusNotePopupOpened"; }, never, never, true, never>;
|
|
176
183
|
}
|
|
177
184
|
export {};
|
package/package.json
CHANGED