@annalib/anna-core 12.4.0 → 12.5.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/components/anna-icon-column/anna-icon-column.component.mjs +3 -3
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +5 -3
- 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 +58 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +13 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +7 -1
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +1 -1
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +1 -1
- 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 +11 -25
- package/fesm2015/annalib-anna-core.mjs +98 -35
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +98 -35
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +2 -1
- 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 +4 -0
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +1 -0
- package/lib/anna-core-shared-lib/services/anna-persisting-filter.service.d.ts +1 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +3 -1
- package/package.json +1 -1
- package/src/lib/anna-common-scss/_generic-table-common.scss +1 -0
- package/src/lib/anna-common-scss/_mat-menu.scss +17 -0
- package/src/lib/anna-common-scss/_sort.scss +1 -1
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class AnnaPayForPerformanceIconTemplateComponent implements OnInit {
|
|
4
|
+
isTitle: boolean;
|
|
4
5
|
color: string;
|
|
5
6
|
width: string;
|
|
6
7
|
height: string;
|
|
7
8
|
constructor();
|
|
8
9
|
ngOnInit(): void;
|
|
9
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPayForPerformanceIconTemplateComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "isTitle": "isTitle"; "color": "color"; "width": "width"; "height": "height"; }, {}, never, never, false, never>;
|
|
11
12
|
}
|
|
@@ -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
|
-
formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
12
|
+
static formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
13
|
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
-
removeZero(time: any): any;
|
|
14
|
+
static 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,6 +69,10 @@ 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;
|
|
72
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
73
77
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
74
78
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class AnnaNumberFormatService {
|
|
3
3
|
static GetRoundedValueWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
4
|
+
static GetRoundedImpressionsWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
4
5
|
static GetValueInUnits(inputValue: number): (string | number)[];
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNumberFormatService, never>;
|
|
6
7
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaNumberFormatService>;
|
|
@@ -3,6 +3,7 @@ export declare class AnnaPersistingFilterService {
|
|
|
3
3
|
constructor();
|
|
4
4
|
storeKeyValueInLocalStorage(val: any, isFilterKey?: boolean): string;
|
|
5
5
|
getActualQueryParams(key: string): string;
|
|
6
|
+
convertObjToQueryString(paramsObject: any): string;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPersistingFilterService, never>;
|
|
7
8
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaPersistingFilterService>;
|
|
8
9
|
}
|
|
@@ -50,6 +50,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
50
50
|
clickableRow: boolean;
|
|
51
51
|
setTableHeightWhenRowSizeIsFixed: boolean;
|
|
52
52
|
tableBorderBottomClassRequired: boolean;
|
|
53
|
+
hideSomeTds: boolean;
|
|
54
|
+
tdsHaveRowSpan: boolean;
|
|
53
55
|
toggleCheckbox: EventEmitter<any>;
|
|
54
56
|
toggleRowCheckbox: EventEmitter<any>;
|
|
55
57
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -299,6 +301,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
299
301
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
300
302
|
removeTooltipOnScroll(): void;
|
|
301
303
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
302
|
-
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"; }, { "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"; }, never, never, false, never>;
|
|
304
|
+
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"; }, never, never, false, never>;
|
|
303
305
|
}
|
|
304
306
|
export {};
|
package/package.json
CHANGED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
@mixin mat-menu-styling() {
|
|
2
|
+
&.mat-elevation-z8 {
|
|
3
|
+
box-shadow: var(--dropdown-box-shadow);
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
button.mat-mdc-menu-item:hover {
|
|
7
|
+
background-color: var(--dropdown-hover-color);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
& .mat-mdc-menu-content.mdc-list {
|
|
11
|
+
background-color: var(--body-color);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
& .mat-mdc-menu-content {
|
|
15
|
+
padding: 0;
|
|
16
|
+
}
|
|
17
|
+
}
|