@annalib/anna-core 12.8.1 → 12.9.0
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/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +1 -58
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +3 -3
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +30 -10
- package/fesm2015/annalib-anna-core.mjs +34 -71
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +34 -71
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -6
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +2 -2
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +0 -4
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +3 -3
- package/package.json +1 -1
|
@@ -21,7 +21,7 @@ export interface IHeaderInfo {
|
|
|
21
21
|
tooltip?: ITooltip;
|
|
22
22
|
joinedFilterSortObjectKeys?: string;
|
|
23
23
|
}
|
|
24
|
-
declare 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";
|
|
24
|
+
declare 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";
|
|
25
25
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
26
26
|
export interface ITotalRowInfo {
|
|
27
27
|
colspan: number;
|
|
@@ -32,11 +32,6 @@ export interface ITotalRowInfo {
|
|
|
32
32
|
tooltipMessage?: string;
|
|
33
33
|
isActionColumn?: boolean;
|
|
34
34
|
actionData?: ClickableItem[];
|
|
35
|
-
isIconColumn?: boolean;
|
|
36
|
-
iconData?: {
|
|
37
|
-
class: string;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
};
|
|
40
35
|
}
|
|
41
36
|
export interface IGtHeaderConfig {
|
|
42
37
|
iconColumn: boolean;
|
|
@@ -9,9 +9,9 @@ export declare class AnnaDateTimeFormatService {
|
|
|
9
9
|
constructor();
|
|
10
10
|
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
11
11
|
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
12
|
-
|
|
12
|
+
formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
13
|
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
-
|
|
14
|
+
removeZero(time: any): any;
|
|
15
15
|
addZero(time: any): any;
|
|
16
16
|
sortByTimeAscending(a: any, b: any): number;
|
|
17
17
|
sortByTimeDescending(a: any, b: any): number;
|
|
@@ -69,10 +69,6 @@ export declare class AnnaFilterService {
|
|
|
69
69
|
}, key: string): boolean;
|
|
70
70
|
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
71
71
|
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
72
|
-
incrementHour(value: any): any;
|
|
73
|
-
decrementHour(value: any): any;
|
|
74
|
-
incrementMinute(value: any): any;
|
|
75
|
-
decrementMinute(value: any): any;
|
|
76
72
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
77
73
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
78
74
|
}
|
|
@@ -68,9 +68,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
68
68
|
gtViewDetailClicked: EventEmitter<any>;
|
|
69
69
|
downloadSpotDetails: EventEmitter<any>;
|
|
70
70
|
clickableDataClicked: EventEmitter<any>;
|
|
71
|
-
totalRowIconClicked: EventEmitter<any>;
|
|
72
71
|
notificationIconHover: EventEmitter<any>;
|
|
73
72
|
notificationIconHoverLeave: EventEmitter<any>;
|
|
73
|
+
editableInputEdited: EventEmitter<any>;
|
|
74
74
|
numberOfSkeletonRows: number[][];
|
|
75
75
|
tableDataWrapper: any[];
|
|
76
76
|
rowChecked: boolean;
|
|
@@ -301,8 +301,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
301
301
|
mouseEnterOnTextActionType(rowData: any, tooltipKey: string): void;
|
|
302
302
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
303
303
|
removeTooltipOnScroll(): void;
|
|
304
|
-
|
|
304
|
+
editableInputValueChanged(value: any, row: any): void;
|
|
305
305
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
306
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "
|
|
306
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; "limit": "limit"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; "starredInProgress": "starredInProgress"; "clickableRow": "clickableRow"; "setTableHeightWhenRowSizeIsFixed": "setTableHeightWhenRowSizeIsFixed"; "tableBorderBottomClassRequired": "tableBorderBottomClassRequired"; "hideSomeTds": "hideSomeTds"; "tdsHaveRowSpan": "tdsHaveRowSpan"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; }, never, never, false, never>;
|
|
307
307
|
}
|
|
308
308
|
export {};
|