@annalib/anna-core 1.2.2 → 1.2.5
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/anna-core-shared-lib.module.mjs +10 -5
- package/esm2020/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.mjs +27 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +5 -3
- package/esm2020/lib/anna-core-shared-lib/public-api.mjs +3 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +396 -267
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -2
- package/esm2020/src/lib/anna-core-shared-lib/anna-core-shared-lib.module.mjs +10 -5
- package/esm2020/src/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.mjs +27 -0
- package/esm2020/src/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +5 -3
- package/esm2020/src/lib/anna-core-shared-lib/public-api.mjs +3 -1
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +396 -267
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +3 -2
- package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +39 -8
- package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +397 -267
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core.mjs +436 -275
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +39 -8
- package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +397 -267
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +436 -275
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/anna-core-shared-lib.module.d.ts +3 -2
- package/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.d.ts +9 -0
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +4 -2
- package/lib/anna-core-shared-lib/public-api.d.ts +1 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +18 -2
- package/package.json +1 -1
- package/src/lib/anna-core-shared-lib/anna-core-shared-lib.module.d.ts +3 -2
- package/src/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.d.ts +9 -0
- package/src/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +4 -2
- package/src/lib/anna-core-shared-lib/public-api.d.ts +1 -0
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +18 -2
|
@@ -6,9 +6,10 @@ import * as i4 from "./components/anna-live-icon-template/anna-live-icon-templat
|
|
|
6
6
|
import * as i5 from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
7
7
|
import * as i6 from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
8
8
|
import * as i7 from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
9
|
-
import * as i8 from "
|
|
9
|
+
import * as i8 from "./directives/show-tooltip/show-tooltip.directive";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
10
11
|
export declare class AnnaCoreSharedLibModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreSharedLibModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent], [typeof
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.ShowTooltipDirective], [typeof i9.CommonModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.ShowTooltipDirective]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreSharedLibModule>;
|
|
14
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ShowTooltipDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
onMouseEnter(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipDirective, "[showTooltip]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare class TooltipModel {
|
|
2
2
|
isSelected: boolean;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
id: number;
|
|
5
|
+
value: string;
|
|
6
|
+
constructor(obj: string, id: number);
|
|
5
7
|
}
|
|
6
8
|
export declare class tooltipModelForColumnLevelFiltering {
|
|
7
9
|
isHidden: boolean;
|
|
@@ -120,6 +120,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
120
120
|
showNoDataToDisplay: boolean;
|
|
121
121
|
marginTop: string;
|
|
122
122
|
viewChildTableHeaders: QueryList<ElementRef>;
|
|
123
|
+
selectedCheckboxOptionsCount: number;
|
|
124
|
+
isFilterChanged: boolean;
|
|
125
|
+
isSortChanged: boolean;
|
|
123
126
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
124
127
|
ngAfterViewChecked(): void;
|
|
125
128
|
ngOnInit(): void;
|
|
@@ -147,20 +150,22 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
147
150
|
selectOrUnselectMultiTimeCheckbox(): void;
|
|
148
151
|
selectOrUnselectZeroTimeCheckbox(): void;
|
|
149
152
|
selectOrUnselectEnterTimeCheckbox(): void;
|
|
150
|
-
disableSliderApplyBtn(): boolean;
|
|
151
153
|
selectUnselectCheckbox(data: TooltipModel): void;
|
|
152
154
|
minValueChanged(value: string): void;
|
|
153
155
|
maxValueChanged(value: string): void;
|
|
154
156
|
showErrorForMinAndMaxValue(): void;
|
|
157
|
+
disableSliderApplyBtn(): void;
|
|
155
158
|
sliderValueChange(): void;
|
|
156
159
|
cancelSliderFilter(): void;
|
|
157
160
|
allOptionClicked(): void;
|
|
158
161
|
applyFilters(): void;
|
|
162
|
+
emitData(): void;
|
|
159
163
|
applySorting(key: string): void;
|
|
160
164
|
revert(): void;
|
|
161
165
|
closeCheckboxFilter(): void;
|
|
162
166
|
applySliderFilter(): void;
|
|
163
167
|
cancelInDateFilter(): void;
|
|
168
|
+
updateSortMap(): void;
|
|
164
169
|
applyDateFilter(): void;
|
|
165
170
|
applyWeekFilter(event: any): void;
|
|
166
171
|
incrementHour(arr: any[]): void;
|
|
@@ -174,6 +179,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
174
179
|
applyTimeFilters(): void;
|
|
175
180
|
closeTimeFilter(): void;
|
|
176
181
|
disableTimeFilterApplyButton(): void;
|
|
182
|
+
validateTimeFilterInput(): boolean;
|
|
177
183
|
sortedData(event: any): void;
|
|
178
184
|
checkIfSortingIsApplied(): void;
|
|
179
185
|
disableEnableEachColumnTooltipIcon(): void;
|
|
@@ -195,13 +201,23 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
195
201
|
removeBoldElementFromString(originalString: string): string;
|
|
196
202
|
clearSearchedItem(): void;
|
|
197
203
|
calendarDateChanged(event: any): void;
|
|
198
|
-
|
|
204
|
+
disableCalendarApplyButton(): void;
|
|
199
205
|
setInitialValueMapForTimeFilter(key: string): void;
|
|
200
206
|
setInitialValueMapForRatingPageTimeFilter(key: string): void;
|
|
201
207
|
startTimeHourChange(val: string): void;
|
|
202
208
|
startTimeMinChange(val: string): void;
|
|
203
209
|
endTimeHourChange(val: string): void;
|
|
204
210
|
endTimeMinChange(val: string): void;
|
|
211
|
+
checkIfCheckboxTooltipIsFiltered(): boolean;
|
|
212
|
+
checkIfTimeTooltipIsFiltered(): boolean;
|
|
213
|
+
checkIfDateTooltipIsFiltered(): boolean;
|
|
214
|
+
setInitialValueMapForDateFilter(): void;
|
|
215
|
+
checkIfSliderTooltipIsFiltered(): boolean;
|
|
216
|
+
setInitialValueMapForSliderFilter(): void;
|
|
217
|
+
checkIfSortingChanged(): boolean;
|
|
218
|
+
disableApplyButtonOfSelectedFilter(): void;
|
|
219
|
+
disableCheckboxFilterApplyButton(): void;
|
|
220
|
+
onHover(): void;
|
|
205
221
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
206
222
|
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "numberOfSkeletonRows": "numberOfSkeletonRows"; "numberOfSkeletonColumns": "numberOfSkeletonColumns"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; }, { "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"; }, never, never>;
|
|
207
223
|
}
|
package/package.json
CHANGED
|
@@ -6,9 +6,10 @@ import * as i4 from "./components/anna-live-icon-template/anna-live-icon-templat
|
|
|
6
6
|
import * as i5 from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
7
7
|
import * as i6 from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
8
8
|
import * as i7 from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
9
|
-
import * as i8 from "
|
|
9
|
+
import * as i8 from "./directives/show-tooltip/show-tooltip.directive";
|
|
10
|
+
import * as i9 from "@angular/common";
|
|
10
11
|
export declare class AnnaCoreSharedLibModule {
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreSharedLibModule, never>;
|
|
12
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent], [typeof
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.ShowTooltipDirective], [typeof i9.CommonModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.ShowTooltipDirective]>;
|
|
13
14
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreSharedLibModule>;
|
|
14
15
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ShowTooltipDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
onMouseEnter(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipDirective, "[showTooltip]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export declare class TooltipModel {
|
|
2
2
|
isSelected: boolean;
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
label: string;
|
|
4
|
+
id: number;
|
|
5
|
+
value: string;
|
|
6
|
+
constructor(obj: string, id: number);
|
|
5
7
|
}
|
|
6
8
|
export declare class tooltipModelForColumnLevelFiltering {
|
|
7
9
|
isHidden: boolean;
|
|
@@ -120,6 +120,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
120
120
|
showNoDataToDisplay: boolean;
|
|
121
121
|
marginTop: string;
|
|
122
122
|
viewChildTableHeaders: QueryList<ElementRef>;
|
|
123
|
+
selectedCheckboxOptionsCount: number;
|
|
124
|
+
isFilterChanged: boolean;
|
|
125
|
+
isSortChanged: boolean;
|
|
123
126
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
124
127
|
ngAfterViewChecked(): void;
|
|
125
128
|
ngOnInit(): void;
|
|
@@ -147,20 +150,22 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
147
150
|
selectOrUnselectMultiTimeCheckbox(): void;
|
|
148
151
|
selectOrUnselectZeroTimeCheckbox(): void;
|
|
149
152
|
selectOrUnselectEnterTimeCheckbox(): void;
|
|
150
|
-
disableSliderApplyBtn(): boolean;
|
|
151
153
|
selectUnselectCheckbox(data: TooltipModel): void;
|
|
152
154
|
minValueChanged(value: string): void;
|
|
153
155
|
maxValueChanged(value: string): void;
|
|
154
156
|
showErrorForMinAndMaxValue(): void;
|
|
157
|
+
disableSliderApplyBtn(): void;
|
|
155
158
|
sliderValueChange(): void;
|
|
156
159
|
cancelSliderFilter(): void;
|
|
157
160
|
allOptionClicked(): void;
|
|
158
161
|
applyFilters(): void;
|
|
162
|
+
emitData(): void;
|
|
159
163
|
applySorting(key: string): void;
|
|
160
164
|
revert(): void;
|
|
161
165
|
closeCheckboxFilter(): void;
|
|
162
166
|
applySliderFilter(): void;
|
|
163
167
|
cancelInDateFilter(): void;
|
|
168
|
+
updateSortMap(): void;
|
|
164
169
|
applyDateFilter(): void;
|
|
165
170
|
applyWeekFilter(event: any): void;
|
|
166
171
|
incrementHour(arr: any[]): void;
|
|
@@ -174,6 +179,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
174
179
|
applyTimeFilters(): void;
|
|
175
180
|
closeTimeFilter(): void;
|
|
176
181
|
disableTimeFilterApplyButton(): void;
|
|
182
|
+
validateTimeFilterInput(): boolean;
|
|
177
183
|
sortedData(event: any): void;
|
|
178
184
|
checkIfSortingIsApplied(): void;
|
|
179
185
|
disableEnableEachColumnTooltipIcon(): void;
|
|
@@ -195,13 +201,23 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
195
201
|
removeBoldElementFromString(originalString: string): string;
|
|
196
202
|
clearSearchedItem(): void;
|
|
197
203
|
calendarDateChanged(event: any): void;
|
|
198
|
-
|
|
204
|
+
disableCalendarApplyButton(): void;
|
|
199
205
|
setInitialValueMapForTimeFilter(key: string): void;
|
|
200
206
|
setInitialValueMapForRatingPageTimeFilter(key: string): void;
|
|
201
207
|
startTimeHourChange(val: string): void;
|
|
202
208
|
startTimeMinChange(val: string): void;
|
|
203
209
|
endTimeHourChange(val: string): void;
|
|
204
210
|
endTimeMinChange(val: string): void;
|
|
211
|
+
checkIfCheckboxTooltipIsFiltered(): boolean;
|
|
212
|
+
checkIfTimeTooltipIsFiltered(): boolean;
|
|
213
|
+
checkIfDateTooltipIsFiltered(): boolean;
|
|
214
|
+
setInitialValueMapForDateFilter(): void;
|
|
215
|
+
checkIfSliderTooltipIsFiltered(): boolean;
|
|
216
|
+
setInitialValueMapForSliderFilter(): void;
|
|
217
|
+
checkIfSortingChanged(): boolean;
|
|
218
|
+
disableApplyButtonOfSelectedFilter(): void;
|
|
219
|
+
disableCheckboxFilterApplyButton(): void;
|
|
220
|
+
onHover(): void;
|
|
205
221
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
206
222
|
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNonEditableGenericTableComponent, "anna-core-non-editable-generic-table-lib", never, { "showSkeletonLoading": "showSkeletonLoading"; "tableHeaders": "tableHeaders"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "numberOfSkeletonRows": "numberOfSkeletonRows"; "numberOfSkeletonColumns": "numberOfSkeletonColumns"; "gtGeneralConfig": "gtGeneralConfig"; "totalRowInfo": "totalRowInfo"; "gtDimension": "gtDimension"; "tableClass": "tableClass"; "maximumRowsWhichCanBeRenderedWithoutScroll": "maximumRowsWhichCanBeRenderedWithoutScroll"; }, { "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"; }, never, never>;
|
|
207
223
|
}
|