@annalib/anna-core 17.0.5 → 17.1.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-filter.service.mjs +537 -1
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +25 -1
- package/esm2020/lib/anna-core.module.mjs +6 -6
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +55 -188
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +41 -167
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +306 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +58 -362
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +36 -1293
- package/esm2020/public-api.mjs +2 -2
- package/fesm2015/annalib-anna-core.mjs +2873 -3849
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +2899 -3875
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -0
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +78 -0
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +2 -0
- package/lib/anna-core.module.d.ts +2 -2
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +6 -18
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +6 -21
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.d.ts +65 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +7 -28
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +6 -153
- package/package.json +1 -1
- package/public-api.d.ts +1 -1
- package/src/lib/anna-common-scss/_filters.scss +14 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +0 -22
- package/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.d.ts +0 -8
|
@@ -3,6 +3,7 @@ import dayjs from "dayjs";
|
|
|
3
3
|
import { SortType } from '../models/anna-sort.model';
|
|
4
4
|
import { AnnaDateTimeFormatService, NgbDateType } from './anna-date-time-format.service';
|
|
5
5
|
import { AnnaSortService } from './anna-sort.service';
|
|
6
|
+
import { TooltipModel } from '../models/anna-tooltip.model';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
export declare class AnnaFilterService {
|
|
8
9
|
private dateTimeFormatService;
|
|
@@ -71,6 +72,83 @@ export declare class AnnaFilterService {
|
|
|
71
72
|
decrementHour(value: any): any;
|
|
72
73
|
incrementMinute(value: any): any;
|
|
73
74
|
decrementMinute(value: any): any;
|
|
75
|
+
disableActiveFilterClearButton(): boolean;
|
|
76
|
+
getColumnSortStateForSelectedRadio(): string;
|
|
77
|
+
createListForCheckboxFilter(header: string, optionData: any[]): TooltipModel[];
|
|
78
|
+
getTooltipModelFromOptionData(optionData: any[], header: string): TooltipModel[];
|
|
79
|
+
selectUnselectListCheckbox(tooltipOptions: TooltipModel[], header: string): void;
|
|
80
|
+
formatNullOptionToSpecifiedString(tooltipOptions: TooltipModel[], formattedString: string): void;
|
|
81
|
+
getClonedTooltipAndTooltipOption(tooltipOptions: TooltipModel[], sortByString: string): TooltipModel[][];
|
|
82
|
+
getHeightOfCheckboxTooltipFilter(dataLength: number, margin: number): number;
|
|
83
|
+
unCheckAllCheckbox(tooltipOptions: TooltipModel[], clonedTooltipOptions: TooltipModel[]): void;
|
|
84
|
+
selectAllCheckbox(tooltipOptions: TooltipModel[], clonedTooltipOptions: TooltipModel[]): void;
|
|
85
|
+
selectUnselectCheckbox(data: TooltipModel, clonedTooltipOptions: TooltipModel[]): void;
|
|
86
|
+
getSelectedAndUnselectedItems(tooltipOptions: TooltipModel[]): TooltipModel[][];
|
|
87
|
+
getCheckboxPreviousSelectedValue(clonedTableData: any[]): any;
|
|
88
|
+
getCheckboxCurrentSelectedValue(searchedString: string, tooltipOptions: TooltipModel[]): any;
|
|
89
|
+
checkIfSortingChanged(tempSortOrder: SortType): boolean;
|
|
90
|
+
getFilteredOptionAsBoldString(str: string, clonedTooltipOptions: TooltipModel[]): TooltipModel[];
|
|
91
|
+
boldString(str: string, find: string): string;
|
|
92
|
+
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
93
|
+
disableAllBtnsWhenThereAreNoFilteredResults(): [number, boolean, boolean, boolean];
|
|
94
|
+
createRangeForTheDateFilter(optionData: any[]): dayjs.Dayjs[];
|
|
95
|
+
createStartEndDateRange(optionData: any[]): dayjs.Dayjs[];
|
|
96
|
+
getMinAndMaxDateRangeForCalendar(minMaxDate: any[], parsingFormat: string): NgbDateType[];
|
|
97
|
+
getSelectedDateForCalendar(minMaxDate: any[], parsingFormat: string, minDate: NgbDateType, maxDate: NgbDateType): NgbDateType[];
|
|
98
|
+
getPreviousSelectedDatesForCalendar(optionData: any[]): {
|
|
99
|
+
fromDate: any;
|
|
100
|
+
toDate: any;
|
|
101
|
+
};
|
|
102
|
+
setInitialValueMapForDateFilter(optionData: any[]): void;
|
|
103
|
+
getCurrentSelectedDatesForCalendar(currentSelectedDate: any, minDate: NgbDateType, maxDate: NgbDateType): any;
|
|
104
|
+
getSliderTranslateFuncVal(header: string, currencySet: Set<string>): string;
|
|
105
|
+
getSliderOptions(optionsData: any[], translateFunc: string, header: string): {
|
|
106
|
+
floor: number;
|
|
107
|
+
ceil: number;
|
|
108
|
+
disabled: boolean;
|
|
109
|
+
translate: (data: number) => string;
|
|
110
|
+
};
|
|
111
|
+
setSelectedRangeForSlider(header: string, options: Options): any[];
|
|
112
|
+
isValueInRange(options: Options, val: number): boolean;
|
|
113
|
+
getPreviousSelectedValueForSlider(clonedData: any[]): {
|
|
114
|
+
min: any;
|
|
115
|
+
max: any;
|
|
116
|
+
};
|
|
117
|
+
setInitialValueMapForSliderFilter(clonedData: any[]): void;
|
|
118
|
+
getCurrentSelectedValueForSlider(minEnteredVal: number, maxEnteredVal: number, options: Options): {
|
|
119
|
+
min: any;
|
|
120
|
+
max: any;
|
|
121
|
+
};
|
|
122
|
+
getSelectedTimeRange(header: string, clonedData: any[]): any[][];
|
|
123
|
+
setInitialValueMapForTimeFilter(clonedData: any[], key: string): void;
|
|
124
|
+
setInitialValueForStartAndEndTimeRange(clonedData: any[], key: string): void;
|
|
125
|
+
setInitialValueForStartOrEndTimeRange(clonedData: any[], key: string): void;
|
|
126
|
+
selectUnselectTimeFilterCheckbox(key: string, optionsData: any[]): {
|
|
127
|
+
showMultiTimeCheckbox: boolean;
|
|
128
|
+
showZeroTimeCheckbox: boolean;
|
|
129
|
+
showEnterTimeCheckbox: boolean;
|
|
130
|
+
multiTimeCheckboxChecked: boolean;
|
|
131
|
+
zeroTimeCheckboxChecked: boolean;
|
|
132
|
+
enterTimeCheckboxChecked: boolean;
|
|
133
|
+
};
|
|
134
|
+
checkIfStartTimeIsAfterEndTime(startTime: string[], endTime: string[]): boolean;
|
|
135
|
+
getPreviousSelectedTimeFilter(): any;
|
|
136
|
+
getCurrentSelectedTimeFilter(startTime: string[], endTime: string[], includeMulti: boolean, includeZero: boolean, includeTimeRange: boolean): {
|
|
137
|
+
fromTime: string;
|
|
138
|
+
toTime: string;
|
|
139
|
+
includeMulti: boolean;
|
|
140
|
+
includeZero: boolean;
|
|
141
|
+
includeTimeRange: boolean;
|
|
142
|
+
};
|
|
143
|
+
incrementHourInput(arr: any[]): void;
|
|
144
|
+
decrementHourInput(arr: any[]): void;
|
|
145
|
+
incrementMinuteInput(arr: any[]): void;
|
|
146
|
+
decrementMinuteInput(arr: any): void;
|
|
147
|
+
incrementOrDecrementHour(increment: boolean, time: string[]): void;
|
|
148
|
+
incrementOrDecrementMin(increment: boolean, time: string[]): void;
|
|
149
|
+
isHourValueInvalid(hr: string): boolean;
|
|
150
|
+
isMinuteValueInvalid(min: string): boolean;
|
|
151
|
+
updateSortMap(tempSortOrder: SortType, tableData: any[], isLurAndCsrComponent: boolean): any[];
|
|
74
152
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
75
153
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
76
154
|
}
|
|
@@ -11,6 +11,8 @@ export declare class AnnaSortService {
|
|
|
11
11
|
constructor(annaDateTimeFormatService: AnnaDateTimeFormatService);
|
|
12
12
|
sortDataForComponentOtherThanLurAndCsrPage(isAsc: boolean, data: any[], key: string): any[];
|
|
13
13
|
sortEnterEditLurAndCsrPage(isAsc: boolean, data: any[], key: any): any[];
|
|
14
|
+
checkIfSortingIsApplied(tableData: any[], isLurAndCsrComponent: boolean): any[];
|
|
15
|
+
applySorting(key: string, tempSortOrder: SortType, tableData: any[], isLurAndCsrComponent: boolean): any[];
|
|
14
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaSortService, never>;
|
|
15
17
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaSortService>;
|
|
16
18
|
}
|
|
@@ -23,7 +23,7 @@ import * as i21 from "./anna-generic-table-lib/components/anna-column-filters/an
|
|
|
23
23
|
import * as i22 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
|
|
24
24
|
import * as i23 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component";
|
|
25
25
|
import * as i24 from "./anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component";
|
|
26
|
-
import * as i25 from "./anna-
|
|
26
|
+
import * as i25 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component";
|
|
27
27
|
import * as i26 from "@angular/common";
|
|
28
28
|
import * as i27 from "@ng-bootstrap/ng-bootstrap";
|
|
29
29
|
import * as i28 from "@angular/forms";
|
|
@@ -36,6 +36,6 @@ import * as i34 from "@angular/cdk/scrolling";
|
|
|
36
36
|
import * as i35 from "ng-circle-progress";
|
|
37
37
|
export declare class AnnaCoreModule {
|
|
38
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
|
|
39
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaReplaceCharPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i24.AnnaDeletedOrderIconTemplateComponent, typeof i25.
|
|
39
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaReplaceCharPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i24.AnnaDeletedOrderIconTemplateComponent, typeof i25.AnnaColumnSliderFilterComponent], [typeof i26.CommonModule, typeof i27.NgbModule, typeof i28.FormsModule, typeof i29.MatRadioModule, typeof i30.MatButtonToggleModule, typeof i31.MatTableModule, typeof i32.NgxSliderModule, typeof i33.NgxSkeletonLoaderModule, typeof i34.ScrollingModule, typeof i35.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i5.AnnaReplaceCharPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i21.AnnaColumnDateRangeFilterComponent, typeof i22.AnnaColumnTimeFilterComponent, typeof i23.AnnaColumnCheckboxFilterComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective, typeof i24.AnnaDeletedOrderIconTemplateComponent, typeof i25.AnnaColumnSliderFilterComponent]>;
|
|
40
40
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
|
|
41
41
|
}
|
|
@@ -7,12 +7,14 @@ import * as i0 from "@angular/core";
|
|
|
7
7
|
export declare class AnnaColumnCheckboxFilterComponent {
|
|
8
8
|
private annaSortService;
|
|
9
9
|
annaFilterService: AnnaFilterService;
|
|
10
|
+
showFilterHeaderTabs: boolean;
|
|
11
|
+
isLurAndCsrComponent: boolean;
|
|
10
12
|
tableData: any[];
|
|
11
13
|
clonedTableData: any[];
|
|
12
|
-
limit: number;
|
|
13
14
|
filterTabObjects: any[];
|
|
14
15
|
filterAppliedToTable: EventEmitter<any>;
|
|
15
16
|
sortingAppliedToTable: EventEmitter<any>;
|
|
17
|
+
getSortType: EventEmitter<any>;
|
|
16
18
|
closeTooltip: EventEmitter<any>;
|
|
17
19
|
tooltipOptions: TooltipModel[];
|
|
18
20
|
clonedTooltipOptions: TooltipModel[];
|
|
@@ -28,15 +30,12 @@ export declare class AnnaColumnCheckboxFilterComponent {
|
|
|
28
30
|
searchItem: string;
|
|
29
31
|
showSortComponent: boolean;
|
|
30
32
|
disableCheckboxApply: boolean;
|
|
31
|
-
selectedLabel: string;
|
|
32
33
|
showFilterComponent: boolean;
|
|
33
|
-
start: number;
|
|
34
|
-
end: number;
|
|
35
|
-
disableColumnClearAllBtn: boolean;
|
|
36
34
|
margin: number;
|
|
37
35
|
constructor(annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
38
36
|
ngOnInit(): void;
|
|
39
|
-
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
37
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel, reload: boolean): void;
|
|
38
|
+
createFilterTooltipData(activeTab: radioButtonModel, key: string): void;
|
|
40
39
|
getCheckboxData(header: string): void;
|
|
41
40
|
createListForCheckboxFilter(header: string): TooltipModel[];
|
|
42
41
|
selectUnselectListCheckbox(tooltipOptions: TooltipModel[], header: string): void;
|
|
@@ -44,29 +43,18 @@ export declare class AnnaColumnCheckboxFilterComponent {
|
|
|
44
43
|
selectAllCheckbox(): void;
|
|
45
44
|
searchForTheItem(str: string): void;
|
|
46
45
|
calculateHeightForFilterTooltip(): void;
|
|
47
|
-
boldString(str: string, find: string): string;
|
|
48
|
-
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
49
|
-
removeBoldElementFromString(originalString: string): string;
|
|
50
46
|
disableCheckboxFilterApplyButton(): void;
|
|
51
47
|
checkIfSortingChanged(): boolean;
|
|
52
48
|
checkIfCheckboxTooltipIsFiltered(): boolean;
|
|
53
|
-
getColumnSortStateForSelectedRadio(): string;
|
|
54
49
|
applyFilters(): void;
|
|
55
50
|
applyListFilters(): void;
|
|
56
51
|
applySortingOnFilteredData(): void;
|
|
57
|
-
updateSortMap(): void;
|
|
58
|
-
checkIfSortingIsApplied(): void;
|
|
59
52
|
emitData(): void;
|
|
60
|
-
updateIndex(): void;
|
|
61
|
-
setInitialRowsForTable(): void;
|
|
62
53
|
selectUnselectCheckbox(data: TooltipModel): void;
|
|
63
54
|
closeCheckboxFilter(): void;
|
|
64
55
|
revert(): void;
|
|
65
56
|
clearSearchedItem(): void;
|
|
66
|
-
resetIndex(): void;
|
|
67
57
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
68
|
-
disableActiveFilterClearButton(): void;
|
|
69
|
-
createFilterTooltipData(header: string): void;
|
|
70
58
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnCheckboxFilterComponent, never>;
|
|
71
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnCheckboxFilterComponent, "anna-core-anna-column-checkbox-filter", never, { "
|
|
59
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnCheckboxFilterComponent, "anna-core-anna-column-checkbox-filter", never, { "showFilterHeaderTabs": "showFilterHeaderTabs"; "isLurAndCsrComponent": "isLurAndCsrComponent"; "tableData": "tableData"; "clonedTableData": "clonedTableData"; "filterTabObjects": "filterTabObjects"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, false, never>;
|
|
72
60
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import dayjs from 'dayjs';
|
|
3
2
|
import { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
4
3
|
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
5
4
|
import { AnnaDateTimeFormatService, NgbDateType } from '../../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
@@ -12,23 +11,20 @@ export declare class AnnaColumnDateRangeFilterComponent implements OnInit {
|
|
|
12
11
|
annaFilterService: AnnaFilterService;
|
|
13
12
|
tableData: any[];
|
|
14
13
|
clonedTableData: any[];
|
|
15
|
-
limit: number;
|
|
16
14
|
filterTabObjects: any[];
|
|
15
|
+
isLurAndCsrComponent: boolean;
|
|
16
|
+
showFilterHeaderTabs: boolean;
|
|
17
17
|
filterAppliedToTable: EventEmitter<any>;
|
|
18
18
|
sortingAppliedToTable: EventEmitter<any>;
|
|
19
|
+
getSortType: EventEmitter<any>;
|
|
19
20
|
closeTooltip: EventEmitter<any>;
|
|
20
21
|
isFilterChanged: boolean;
|
|
21
22
|
tempSortOrder: SortType;
|
|
22
23
|
isSortChanged: boolean;
|
|
23
|
-
disableSelectAll: boolean;
|
|
24
|
-
disableClearAll: boolean;
|
|
25
|
-
searchItem: string;
|
|
26
24
|
showSortComponent: boolean;
|
|
27
25
|
disableCalendarApplyBtn: boolean;
|
|
28
26
|
selectedLabel: string;
|
|
29
27
|
showFilterComponent: boolean;
|
|
30
|
-
start: number;
|
|
31
|
-
end: number;
|
|
32
28
|
disableColumnClearAllBtn: boolean;
|
|
33
29
|
calendarMinEnabledDate: NgbDateType;
|
|
34
30
|
calendarMaxEnabledDate: NgbDateType;
|
|
@@ -37,32 +33,21 @@ export declare class AnnaColumnDateRangeFilterComponent implements OnInit {
|
|
|
37
33
|
calendarSelection: any;
|
|
38
34
|
constructor(annaDateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
39
35
|
ngOnInit(): void;
|
|
40
|
-
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
41
|
-
|
|
42
|
-
getColumnSortStateForSelectedRadio(): string;
|
|
43
|
-
createFilterTooltipData(header: string): void;
|
|
36
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel, reload: boolean): void;
|
|
37
|
+
createFilterTooltipData(activeTab: radioButtonModel, key: string): void;
|
|
44
38
|
getCalendarData(): void;
|
|
45
|
-
createRangeForTheDateFilter(): dayjs.Dayjs[];
|
|
46
|
-
createStartEndDateRange(optionData: any[]): dayjs.Dayjs[];
|
|
47
39
|
selectRangeForTheDateFilter(minMaxDate: any[], parsingFormat: string): void;
|
|
48
40
|
applyDateFilter(): void;
|
|
49
|
-
updateIndex(): void;
|
|
50
|
-
resetIndex(): void;
|
|
51
|
-
setInitialRowsForTable(): void;
|
|
52
41
|
applySortingOnFilteredData(): void;
|
|
53
|
-
updateSortMap(): void;
|
|
54
|
-
checkIfSortingIsApplied(): void;
|
|
55
|
-
applySorting(key: string): void;
|
|
56
42
|
emitData(): void;
|
|
57
43
|
cancelInDateFilter(): void;
|
|
58
44
|
calendarDateChanged(event: any): void;
|
|
59
45
|
disableCalendarApplyButton(): void;
|
|
60
46
|
checkIfSortingChanged(): boolean;
|
|
61
47
|
checkIfDateTooltipIsFiltered(): boolean;
|
|
62
|
-
setInitialValueMapForDateFilter(): void;
|
|
63
48
|
applyDateFilterOnData(): void;
|
|
64
49
|
clearColumnFilter(): void;
|
|
65
50
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
66
51
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnDateRangeFilterComponent, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnDateRangeFilterComponent, "anna-core-anna-column-date-range-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnDateRangeFilterComponent, "anna-core-anna-column-date-range-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "filterTabObjects": "filterTabObjects"; "isLurAndCsrComponent": "isLurAndCsrComponent"; "showFilterHeaderTabs": "showFilterHeaderTabs"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, false, never>;
|
|
68
53
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { radioButtonModel } from '../../../../anna-core-shared-lib/models/anna-tooltip.model';
|
|
3
|
+
import { SortType } from '../../../../anna-core-shared-lib/models/anna-sort.model';
|
|
4
|
+
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
5
|
+
import { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
6
|
+
import { Options } from '@angular-slider/ngx-slider';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class AnnaColumnSliderFilterComponent {
|
|
9
|
+
annaFilterService: AnnaFilterService;
|
|
10
|
+
annaSortService: AnnaSortService;
|
|
11
|
+
filterTabObjects: any[];
|
|
12
|
+
isLurAndCsrComponent: boolean;
|
|
13
|
+
tableData: any[];
|
|
14
|
+
showFilterHeaderTabs: boolean;
|
|
15
|
+
clonedTableData: any[];
|
|
16
|
+
closeTooltip: EventEmitter<any>;
|
|
17
|
+
filterAppliedToTable: EventEmitter<any>;
|
|
18
|
+
getSortType: EventEmitter<any>;
|
|
19
|
+
sortingAppliedToTable: EventEmitter<any>;
|
|
20
|
+
showSortComponent: boolean;
|
|
21
|
+
showFilterComponent: boolean;
|
|
22
|
+
tempSortOrder: SortType;
|
|
23
|
+
isFilterChanged: boolean;
|
|
24
|
+
isSortChanged: boolean;
|
|
25
|
+
showEmptySpaceForSlider: boolean;
|
|
26
|
+
incorrectSliderInput: boolean;
|
|
27
|
+
sliderEnteredMaxValue: number;
|
|
28
|
+
sliderEnteredMinValue: number;
|
|
29
|
+
showSliderMinValueError: boolean;
|
|
30
|
+
showSliderMaxValueError: boolean;
|
|
31
|
+
isMinTextBoxEmpty: boolean;
|
|
32
|
+
isMaxTextBoxEmpty: boolean;
|
|
33
|
+
options: Options;
|
|
34
|
+
sliderFilterTextBoxStep: string;
|
|
35
|
+
sliderMinValue: number;
|
|
36
|
+
sliderMaxValue: number;
|
|
37
|
+
disableSliderApplyButton: boolean;
|
|
38
|
+
sliderValue: {
|
|
39
|
+
min: number;
|
|
40
|
+
max: number;
|
|
41
|
+
};
|
|
42
|
+
disableColumnClearAllBtn: boolean;
|
|
43
|
+
constructor(annaFilterService: AnnaFilterService, annaSortService: AnnaSortService);
|
|
44
|
+
ngOnInit(): void;
|
|
45
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel, reload: boolean): void;
|
|
46
|
+
createFilterTooltipData(activeTab: radioButtonModel, key: string): void;
|
|
47
|
+
getSliderData(key: string): void;
|
|
48
|
+
createOptionsForSlider(key: string): void;
|
|
49
|
+
setSelectedRangeForSlider(key: string): void;
|
|
50
|
+
cancelSliderFilter(): void;
|
|
51
|
+
minValueChanged(val: string): void;
|
|
52
|
+
maxValueChanged(val: string): void;
|
|
53
|
+
showErrorForMinAndMaxValue(): void;
|
|
54
|
+
disableSliderApplyBtn(): void;
|
|
55
|
+
checkIfSortingChanged(): boolean;
|
|
56
|
+
checkIfSliderTooltipIsFiltered(): boolean;
|
|
57
|
+
storeSortTypeInTempVariable(event: SortType): void;
|
|
58
|
+
applyFilters(): void;
|
|
59
|
+
applySliderFilter(): void;
|
|
60
|
+
applySortingOnFilteredData(): void;
|
|
61
|
+
emitData(): void;
|
|
62
|
+
clearColumnFilter(): void;
|
|
63
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnSliderFilterComponent, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnSliderFilterComponent, "anna-core-anna-column-slider-filter", never, { "filterTabObjects": "filterTabObjects"; "isLurAndCsrComponent": "isLurAndCsrComponent"; "tableData": "tableData"; "showFilterHeaderTabs": "showFilterHeaderTabs"; "clonedTableData": "clonedTableData"; }, { "closeTooltip": "closeTooltip"; "filterAppliedToTable": "filterAppliedToTable"; "getSortType": "getSortType"; "sortingAppliedToTable": "sortingAppliedToTable"; }, never, never, false, never>;
|
|
65
|
+
}
|
|
@@ -4,7 +4,6 @@ import { SortType } from '../../../../anna-core-shared-lib/models/anna-sort.mode
|
|
|
4
4
|
import { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
5
5
|
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
6
6
|
import { AnnaDateTimeFormatService } from '../../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
7
|
-
import { IGtGeneralConfig } from '../../../../anna-core-shared-lib/models/anna-non-editable-gt-models';
|
|
8
7
|
import * as i0 from "@angular/core";
|
|
9
8
|
export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
10
9
|
private annaSortService;
|
|
@@ -12,23 +11,19 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
12
11
|
annaFilterService: AnnaFilterService;
|
|
13
12
|
tableData: any[];
|
|
14
13
|
clonedTableData: any[];
|
|
15
|
-
limit: number;
|
|
16
14
|
filterTabObjects: any[];
|
|
17
|
-
|
|
15
|
+
showFilterHeaderTabs: boolean;
|
|
16
|
+
showAllTimeRangeCheckboxes: boolean;
|
|
17
|
+
isLurAndCsrComponent: boolean;
|
|
18
18
|
filterAppliedToTable: EventEmitter<any>;
|
|
19
19
|
sortingAppliedToTable: EventEmitter<any>;
|
|
20
|
+
getSortType: EventEmitter<any>;
|
|
20
21
|
closeTooltip: EventEmitter<any>;
|
|
21
22
|
isFilterChanged: boolean;
|
|
22
23
|
tempSortOrder: SortType;
|
|
23
24
|
isSortChanged: boolean;
|
|
24
|
-
disableSelectAll: boolean;
|
|
25
|
-
disableClearAll: boolean;
|
|
26
|
-
searchItem: string;
|
|
27
25
|
showSortComponent: boolean;
|
|
28
|
-
selectedLabel: string;
|
|
29
26
|
showFilterComponent: boolean;
|
|
30
|
-
start: number;
|
|
31
|
-
end: number;
|
|
32
27
|
disableColumnClearAllBtn: boolean;
|
|
33
28
|
startTimeHourErr: boolean;
|
|
34
29
|
startTimeMinErr: boolean;
|
|
@@ -50,15 +45,9 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
50
45
|
bindValueFuncCalled: boolean;
|
|
51
46
|
constructor(annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
52
47
|
ngOnInit(): void;
|
|
53
|
-
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
54
|
-
|
|
55
|
-
getColumnSortStateForSelectedRadio(): string;
|
|
56
|
-
createFilterTooltipData(header: string): void;
|
|
48
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel, reload: boolean): void;
|
|
49
|
+
createFilterTooltipData(activeTab: radioButtonModel, header: string): void;
|
|
57
50
|
getTimeFilterData(header: string): void;
|
|
58
|
-
setInitialValueMapForTimeFilter(key: string): void;
|
|
59
|
-
setInitialValueMapForRatingPageTimeFilter(key: string): void;
|
|
60
|
-
setTimeFilterDataForComponentsOtherThanRatingsPage(header: string): void;
|
|
61
|
-
setTimeFilterDataForRatingPageComponent(header: string): void;
|
|
62
51
|
selectOrUnselectMultiTimeCheckbox(): void;
|
|
63
52
|
selectOrUnselectZeroTimeCheckbox(): void;
|
|
64
53
|
selectOrUnselectEnterTimeCheckbox(): void;
|
|
@@ -68,10 +57,6 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
68
57
|
validateTimeFilterInput(): boolean;
|
|
69
58
|
applyTimeFilters(): void;
|
|
70
59
|
emitData(): void;
|
|
71
|
-
updateIndex(): void;
|
|
72
|
-
resetIndex(): void;
|
|
73
|
-
setInitialRowsForTable(): void;
|
|
74
|
-
applySorting(key: string): void;
|
|
75
60
|
changeStartTimeHour(increment: boolean): void;
|
|
76
61
|
changeEndTimeHour(increment: boolean): void;
|
|
77
62
|
changeEndTimeMinute(increment: boolean): void;
|
|
@@ -80,17 +65,11 @@ export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
|
80
65
|
startTimeMinChange(val: string): void;
|
|
81
66
|
endTimeHourChange(val: string): void;
|
|
82
67
|
endTimeMinChange(val: string): void;
|
|
83
|
-
incrementHour(arr: any[]): void;
|
|
84
|
-
decrementHour(arr: any[]): void;
|
|
85
|
-
incrementMinute(arr: any[]): void;
|
|
86
|
-
decrementMinute(arr: any): void;
|
|
87
|
-
updateSortMap(): void;
|
|
88
|
-
checkIfSortingIsApplied(): void;
|
|
89
68
|
applySortingOnFilteredData(): void;
|
|
90
69
|
applyTimeFilterOnData(): void;
|
|
91
70
|
closeTimeFilter(): void;
|
|
92
71
|
clearColumnFilter(): void;
|
|
93
72
|
storeSortTypeInTempVariable(event: SortType): void;
|
|
94
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnTimeFilterComponent, never>;
|
|
95
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnTimeFilterComponent, "anna-core-anna-column-time-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "
|
|
74
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnTimeFilterComponent, "anna-core-anna-column-time-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "filterTabObjects": "filterTabObjects"; "showFilterHeaderTabs": "showFilterHeaderTabs"; "showAllTimeRangeCheckboxes": "showAllTimeRangeCheckboxes"; "isLurAndCsrComponent": "isLurAndCsrComponent"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "getSortType": "getSortType"; "closeTooltip": "closeTooltip"; }, never, never, false, never>;
|
|
96
75
|
}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { OnInit, QueryList, EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef, ElementRef, AfterViewChecked } from '@angular/core';
|
|
2
|
-
import dayjs from "dayjs";
|
|
3
|
-
import { Options } from '@angular-slider/ngx-slider';
|
|
4
2
|
import { IGtGeneralConfig, IGtTableHeader, IHeaderInfo, ITotalRowInfo } from '../../../anna-core-shared-lib/models/anna-non-editable-gt-models';
|
|
5
|
-
import { AnnaDateTimeFormatService
|
|
3
|
+
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
6
4
|
import { IWeekCalendar } from '../../../anna-core-shared-lib/models/anna-global-dropdown-config.model';
|
|
7
5
|
import { GtColumnIconEmittedData, RatingSellerGroupHierarchy } from '../../../anna-core-shared-lib/models/anna-generic-data-type.model';
|
|
8
|
-
import { SortType } from '../../../anna-core-shared-lib/models/anna-sort.model';
|
|
9
|
-
import { radioButtonModel, TooltipModel } from '../../../anna-core-shared-lib/models/anna-tooltip.model';
|
|
10
6
|
import { AnnaSortService } from '../../../anna-core-shared-lib/services/anna-sort.service';
|
|
11
7
|
import { AnnaFilterService } from '../../../anna-core-shared-lib/services/anna-filter.service';
|
|
12
8
|
import { BehaviorSubject } from 'rxjs';
|
|
@@ -81,50 +77,14 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
81
77
|
noDataWidth: string;
|
|
82
78
|
markedForCreditStatus: string;
|
|
83
79
|
markedForMGStatus: string;
|
|
84
|
-
toolTipdata: any;
|
|
85
|
-
tempTooltipData: any;
|
|
86
80
|
tooltipRadioTextMap: Map<any, any>;
|
|
87
81
|
filterTabObjects: any[];
|
|
88
82
|
tooltip: any;
|
|
89
|
-
clonedTooltipData: any;
|
|
90
|
-
clonedTooltipSelectedMapData: any;
|
|
91
|
-
searchBar: string;
|
|
92
|
-
disableClearAllBtn: boolean;
|
|
93
83
|
disableColumnClearAllBtn: boolean;
|
|
94
|
-
allSelected: number;
|
|
95
|
-
showAll: boolean;
|
|
96
|
-
disableCheckboxApply: boolean;
|
|
97
|
-
disableSliderApplyButton: boolean;
|
|
98
|
-
disableTimeApplyButton: boolean;
|
|
99
84
|
margin: number;
|
|
100
|
-
sliderMinValue: number;
|
|
101
|
-
sliderMaxValue: number;
|
|
102
|
-
options: Options;
|
|
103
|
-
sliderValue: {
|
|
104
|
-
min: number;
|
|
105
|
-
max: number;
|
|
106
|
-
};
|
|
107
|
-
sliderFilterTextBoxStep: string;
|
|
108
|
-
sliderEnteredMinValue: number;
|
|
109
|
-
sliderEnteredMaxValue: number;
|
|
110
|
-
calendarMinEnabledDate: NgbDateType;
|
|
111
|
-
calendarMaxEnabledDate: NgbDateType;
|
|
112
|
-
selectedMinDate: NgbDateType;
|
|
113
|
-
selectedMaxDate: NgbDateType;
|
|
114
85
|
multiWeekPickerConfig: IWeekCalendar;
|
|
115
|
-
selectedFromTime: any[];
|
|
116
|
-
selectedToTime: any[];
|
|
117
|
-
clonedSelectedFromTime: any;
|
|
118
|
-
clonedSelectedToTime: any;
|
|
119
|
-
disableTimeFilterApplyBtn: boolean;
|
|
120
86
|
tableColumns: string[];
|
|
121
87
|
totalRowColumns: string[];
|
|
122
|
-
showMultiTimeCheckbox: boolean;
|
|
123
|
-
showZeroTimeCheckbox: boolean;
|
|
124
|
-
showEnterTimeCheckbox: boolean;
|
|
125
|
-
multiTimeCheckboxChecked: boolean;
|
|
126
|
-
zeroTimeCheckboxChecked: boolean;
|
|
127
|
-
enterTimeCheckboxChecked: boolean;
|
|
128
88
|
bindValueFuncCalled: boolean;
|
|
129
89
|
hierarchyTooltip: {
|
|
130
90
|
open: () => void;
|
|
@@ -134,33 +94,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
134
94
|
showFilterTooltipTabs: boolean;
|
|
135
95
|
isScrolledLeft: boolean;
|
|
136
96
|
rowBorderWidth: number;
|
|
137
|
-
showSortComponent: boolean;
|
|
138
|
-
showFilterComponent: boolean;
|
|
139
|
-
tempSortOrder: SortType;
|
|
140
|
-
tooltipOptions: TooltipModel[];
|
|
141
|
-
clonedTooltipOptions: TooltipModel[];
|
|
142
|
-
disableSelectAll: boolean;
|
|
143
|
-
disableClearAll: boolean;
|
|
144
|
-
searchItem: string;
|
|
145
|
-
disableCalendarApplyBtn: boolean;
|
|
146
|
-
calendarSelection: any;
|
|
147
|
-
showSliderMinValueError: boolean;
|
|
148
|
-
showSliderMaxValueError: boolean;
|
|
149
|
-
isMinTextBoxEmpty: boolean;
|
|
150
|
-
isMaxTextBoxEmpty: boolean;
|
|
151
|
-
selectedLabel: string;
|
|
152
|
-
startTimeHourErr: boolean;
|
|
153
|
-
startTimeMinErr: boolean;
|
|
154
|
-
endTimeHourErr: boolean;
|
|
155
|
-
endTimeMinErr: boolean;
|
|
156
97
|
sameTooltipClicked: boolean;
|
|
157
98
|
marginTop: string;
|
|
158
99
|
viewChildTableHeaders: QueryList<ElementRef>;
|
|
159
|
-
selectedCheckboxOptionsCount: number;
|
|
160
|
-
isFilterChanged: boolean;
|
|
161
|
-
isSortChanged: boolean;
|
|
162
100
|
isDifferenceLessThan25Percent: boolean;
|
|
163
|
-
incorrectSliderInput: boolean;
|
|
164
101
|
start: number;
|
|
165
102
|
end: number;
|
|
166
103
|
renderedData: any[];
|
|
@@ -173,18 +110,18 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
173
110
|
UserActivationStatus: typeof UserActivationStatus;
|
|
174
111
|
textActionTooltip: keyValueTooltipType[];
|
|
175
112
|
tooltipContainingTable: tableTooltipType;
|
|
176
|
-
showEmptySpaceForSlider: boolean;
|
|
177
113
|
tableBottomBorderClass: string;
|
|
114
|
+
showCheckboxesForTimeFilter: boolean;
|
|
178
115
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
179
116
|
ngAfterViewChecked(): void;
|
|
180
117
|
ngOnInit(): void;
|
|
118
|
+
detectChanges(): void;
|
|
181
119
|
ngOnChanges(changes: SimpleChanges): void;
|
|
182
120
|
setTableBottomBorder(): void;
|
|
183
121
|
checkIfAllTheElementsAreZero(): boolean;
|
|
184
122
|
setTableHeight(): void;
|
|
185
123
|
trackByFn(index: number): number;
|
|
186
124
|
setTooltipRadioNames(): void;
|
|
187
|
-
generateTableDataWrapper(): void;
|
|
188
125
|
selectOrUnselectCheckbox(rowData: any, columnKeys: any, isCheckboxSelected: any): void;
|
|
189
126
|
selectUnselectAllRows(): void;
|
|
190
127
|
selectUnselectRow(rowData: any): void;
|
|
@@ -195,64 +132,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
195
132
|
bindTheValueToToolTip(tooltip: any, header: IHeaderInfo): void;
|
|
196
133
|
checkIfUniqueValuePresentForTheHeader(header: IHeaderInfo, enabledHeaders: any[]): void;
|
|
197
134
|
openTooltip(tooltip: any, header: any, columnHeader: IHeaderInfo): void;
|
|
198
|
-
clearColumnFilter(): void;
|
|
199
|
-
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel, reload: boolean): void;
|
|
200
|
-
setFilterDataAndCallCreateTooltipdataFunc(activeTab: radioButtonModel, header: string): void;
|
|
201
|
-
createFilterTooltipData(header: string): void;
|
|
202
|
-
disableActiveFilterClearButton(): void;
|
|
203
|
-
getSliderData(header: string): void;
|
|
204
|
-
createOptionsForSlider(header: string): void;
|
|
205
|
-
setSelectedRangeForSlider(header: string): void;
|
|
206
|
-
getCheckboxData(header: string): void;
|
|
207
|
-
createListForCheckboxFilter(header: string): TooltipModel[];
|
|
208
|
-
selectUnselectListCheckbox(tooltipOptions: TooltipModel[], header: string): void;
|
|
209
|
-
getCalendarData(): void;
|
|
210
|
-
createRangeForTheDateFilter(): dayjs.Dayjs[];
|
|
211
|
-
createStartEndDateRange(optionData: any[]): dayjs.Dayjs[];
|
|
212
|
-
selectRangeForTheDateFilter(minMaxDate: any[], parsingFormat: string): void;
|
|
213
|
-
getTimeFilterData(header: string): void;
|
|
214
|
-
setTimeFilterDataForComponentsOtherThanRatingsPage(header: string): void;
|
|
215
|
-
setTimeFilterDataForRatingPageComponent(header: string): void;
|
|
216
|
-
selectOrUnselectMultiTimeCheckbox(): void;
|
|
217
|
-
selectOrUnselectZeroTimeCheckbox(): void;
|
|
218
|
-
selectOrUnselectEnterTimeCheckbox(): void;
|
|
219
|
-
selectUnselectCheckbox(data: TooltipModel): void;
|
|
220
|
-
minValueChanged(val: string): void;
|
|
221
|
-
maxValueChanged(val: string): void;
|
|
222
|
-
showErrorForMinAndMaxValue(): void;
|
|
223
|
-
isValueInRange(val: number): boolean;
|
|
224
|
-
disableSliderApplyBtn(): void;
|
|
225
|
-
sliderValueChange(): void;
|
|
226
|
-
cancelSliderFilter(): void;
|
|
227
|
-
applyFilters(): void;
|
|
228
|
-
applyListFilters(): void;
|
|
229
|
-
applySortingOnFilteredData(): void;
|
|
230
|
-
emitData(): void;
|
|
231
|
-
applySorting(key: string): void;
|
|
232
|
-
revert(): void;
|
|
233
|
-
closeCheckboxFilter(): void;
|
|
234
|
-
applySliderFilter(): void;
|
|
235
|
-
applySliderFilterOnData(): void;
|
|
236
|
-
cancelInDateFilter(): void;
|
|
237
|
-
updateSortMap(): void;
|
|
238
|
-
applyDateFilter(): void;
|
|
239
|
-
applyDateFilterOnData(): void;
|
|
240
|
-
applyWeekFilter(event: any): void;
|
|
241
|
-
incrementHour(arr: any[]): void;
|
|
242
|
-
decrementHour(arr: any[]): void;
|
|
243
|
-
incrementMinute(arr: any[]): void;
|
|
244
|
-
decrementMinute(arr: any): void;
|
|
245
|
-
changeStartTimeHour(increment: boolean): void;
|
|
246
|
-
changeEndTimeHour(increment: boolean): void;
|
|
247
|
-
changeEndTimeMinute(increment: boolean): void;
|
|
248
|
-
changeStartTimeMinute(increment: boolean): void;
|
|
249
|
-
applyTimeFilters(): void;
|
|
250
|
-
applyTimeFilterOnData(): void;
|
|
251
|
-
closeTimeFilter(): void;
|
|
252
|
-
disableTimeFilterApplyButton(): void;
|
|
253
|
-
validateTimeFilterInput(): boolean;
|
|
254
|
-
sortedData(event: any): void;
|
|
255
|
-
checkIfSortingIsApplied(): void;
|
|
256
135
|
disableEnableEachColumnTooltipIcon(): void;
|
|
257
136
|
setMarginLeftForFilterIcon(): void;
|
|
258
137
|
dataRowClicked(rowData: any): void;
|
|
@@ -264,34 +143,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
264
143
|
iconClickedOnStringIconActionType(rowData: any, id: any): void;
|
|
265
144
|
innerHTMLCellClicked(event: any, rowData: any): void;
|
|
266
145
|
viewDetailsClicked(rowData: any): void;
|
|
267
|
-
storeSortTypeInTempVariable(event: SortType): void;
|
|
268
|
-
unCheckAllCheckbox(): void;
|
|
269
|
-
selectAllCheckbox(): void;
|
|
270
|
-
searchForTheItem(str: string): void;
|
|
271
|
-
calculateHeightForFilterTooltip(): void;
|
|
272
|
-
boldString(str: string, find: string): string;
|
|
273
|
-
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
274
|
-
removeBoldElementFromString(originalString: string): string;
|
|
275
|
-
clearSearchedItem(): void;
|
|
276
|
-
calendarDateChanged(event: any): void;
|
|
277
|
-
disableCalendarApplyButton(): void;
|
|
278
|
-
setInitialValueMapForTimeFilter(key: string): void;
|
|
279
|
-
setInitialValueMapForRatingPageTimeFilter(key: string): void;
|
|
280
|
-
startTimeHourChange(val: string): void;
|
|
281
|
-
startTimeMinChange(val: string): void;
|
|
282
|
-
endTimeHourChange(val: string): void;
|
|
283
|
-
endTimeMinChange(val: string): void;
|
|
284
|
-
checkIfCheckboxTooltipIsFiltered(): boolean;
|
|
285
|
-
checkIfTimeTooltipIsFiltered(): boolean;
|
|
286
|
-
checkIfDateTooltipIsFiltered(): boolean;
|
|
287
|
-
setInitialValueMapForDateFilter(): void;
|
|
288
|
-
checkIfSliderTooltipIsFiltered(): boolean;
|
|
289
|
-
setInitialValueMapForSliderFilter(): void;
|
|
290
|
-
checkIfSortingChanged(): boolean;
|
|
291
|
-
getColumnSortStateForSelectedRadio(): string;
|
|
292
|
-
disableApplyButtonOfSelectedFilter(): void;
|
|
293
|
-
disableCheckboxFilterApplyButton(): void;
|
|
294
|
-
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
295
146
|
setActiveStateObject(): void;
|
|
296
147
|
setIsDifference(value: boolean): void;
|
|
297
148
|
resetIndex(): void;
|
|
@@ -308,8 +159,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
308
159
|
onClickableDataClicked(Rowdata: any, id: number): void;
|
|
309
160
|
removeTooltipOnScroll(): void;
|
|
310
161
|
iconClickedInTotalRow(colName: string): void;
|
|
311
|
-
editableInputValueChanged(value: any, row: any): void;
|
|
162
|
+
editableInputValueChanged(value: any, row: any, keyEdited: string): void;
|
|
312
163
|
radioButtonIconClicked(data: any): void;
|
|
164
|
+
filterApplied(tableData: any[]): void;
|
|
165
|
+
sortingApplied(tableData: any[]): void;
|
|
313
166
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
314
167
|
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"; "gtInnerHTMLClicked": "gtInnerHTMLClicked"; "downloadSpotDetails": "downloadSpotDetails"; "clickableDataClicked": "clickableDataClicked"; "totalRowIconClicked": "totalRowIconClicked"; "notificationIconHover": "notificationIconHover"; "notificationIconHoverLeave": "notificationIconHoverLeave"; "editableInputEdited": "editableInputEdited"; "radioButtonMessageIconClicked": "radioButtonMessageIconClicked"; }, never, never, false, never>;
|
|
315
168
|
}
|