@annalib/anna-core 10.5.2 → 10.7.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/services/anna-filter.service.mjs +1 -1
- package/esm2020/lib/anna-core.module.mjs +18 -3
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +360 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-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 +532 -0
- package/esm2020/public-api.mjs +4 -1
- package/fesm2015/annalib-anna-core.mjs +1175 -7
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +1175 -7
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core.module.d.ts +14 -11
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.d.ts +70 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.d.ts +68 -0
- package/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.d.ts +94 -0
- package/package.json +1 -1
- package/public-api.d.ts +3 -0
- package/src/lib/anna-common-scss/_customDropdown.scss +0 -132
|
@@ -19,18 +19,21 @@ import * as i17 from "./anna-generic-table-lib/components/anna-non-editable-gene
|
|
|
19
19
|
import * as i18 from "./anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
|
|
20
20
|
import * as i19 from "./anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive";
|
|
21
21
|
import * as i20 from "./anna-core-shared-lib/directives/digits-only/digits-only.directive";
|
|
22
|
-
import * as i21 from "
|
|
23
|
-
import * as i22 from "
|
|
24
|
-
import * as i23 from "
|
|
25
|
-
import * as i24 from "@angular/
|
|
26
|
-
import * as i25 from "@
|
|
27
|
-
import * as i26 from "@angular/
|
|
28
|
-
import * as i27 from "@angular
|
|
29
|
-
import * as i28 from "
|
|
30
|
-
import * as i29 from "@angular/
|
|
31
|
-
import * as i30 from "
|
|
22
|
+
import * as i21 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component";
|
|
23
|
+
import * as i22 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
|
|
24
|
+
import * as i23 from "./anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component";
|
|
25
|
+
import * as i24 from "@angular/common";
|
|
26
|
+
import * as i25 from "@ng-bootstrap/ng-bootstrap";
|
|
27
|
+
import * as i26 from "@angular/forms";
|
|
28
|
+
import * as i27 from "@angular/material/radio";
|
|
29
|
+
import * as i28 from "@angular/material/button-toggle";
|
|
30
|
+
import * as i29 from "@angular/material/table";
|
|
31
|
+
import * as i30 from "@angular-slider/ngx-slider";
|
|
32
|
+
import * as i31 from "ngx-skeleton-loader";
|
|
33
|
+
import * as i32 from "@angular/cdk/scrolling";
|
|
34
|
+
import * as i33 from "ng-circle-progress";
|
|
32
35
|
export declare class AnnaCoreModule {
|
|
33
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
|
|
34
|
-
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
|
|
37
|
+
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.CommonModule, typeof i25.NgbModule, typeof i26.FormsModule, typeof i27.MatRadioModule, typeof i28.MatButtonToggleModule, typeof i29.MatTableModule, typeof i30.NgxSliderModule, typeof i31.NgxSkeletonLoaderModule, typeof i32.ScrollingModule, typeof i33.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]>;
|
|
35
38
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
|
|
36
39
|
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { SortType } from '../../../../anna-core-shared-lib/models/anna-sort.model';
|
|
3
|
+
import { TooltipModel, radioButtonModel } from '../../../../anna-core-shared-lib/models/anna-tooltip.model';
|
|
4
|
+
import { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
5
|
+
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AnnaColumnCheckboxFilterComponent {
|
|
8
|
+
private annaSortService;
|
|
9
|
+
annaFilterService: AnnaFilterService;
|
|
10
|
+
tableData: any[];
|
|
11
|
+
clonedTableData: any[];
|
|
12
|
+
limit: number;
|
|
13
|
+
filterTabObjects: any[];
|
|
14
|
+
filterAppliedToTable: EventEmitter<any>;
|
|
15
|
+
sortingAppliedToTable: EventEmitter<any>;
|
|
16
|
+
closeTooltip: EventEmitter<any>;
|
|
17
|
+
tooltipOptions: TooltipModel[];
|
|
18
|
+
clonedTooltipOptions: TooltipModel[];
|
|
19
|
+
heightOfCheckboxTooltipFilter: number;
|
|
20
|
+
toolTipdata: any;
|
|
21
|
+
tempTooltipData: any;
|
|
22
|
+
selectedCheckboxOptionsCount: number;
|
|
23
|
+
isFilterChanged: boolean;
|
|
24
|
+
tempSortOrder: SortType;
|
|
25
|
+
isSortChanged: boolean;
|
|
26
|
+
disableSelectAll: boolean;
|
|
27
|
+
disableClearAll: boolean;
|
|
28
|
+
searchItem: string;
|
|
29
|
+
showSortComponent: boolean;
|
|
30
|
+
disableCheckboxApply: boolean;
|
|
31
|
+
selectedLabel: string;
|
|
32
|
+
showFilterComponent: boolean;
|
|
33
|
+
start: number;
|
|
34
|
+
end: number;
|
|
35
|
+
disableColumnClearAllBtn: boolean;
|
|
36
|
+
constructor(annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
37
|
+
ngOnInit(): void;
|
|
38
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
39
|
+
getCheckboxData(header: string): void;
|
|
40
|
+
createListForCheckboxFilter(header: string): TooltipModel[];
|
|
41
|
+
selectUnselectListCheckbox(tooltipOptions: TooltipModel[], header: string): void;
|
|
42
|
+
unCheckAllCheckbox(): void;
|
|
43
|
+
selectAllCheckbox(): void;
|
|
44
|
+
searchForTheItem(str: string): void;
|
|
45
|
+
boldString(str: string, find: string): string;
|
|
46
|
+
getIndicesOf(searchStr: string, str: string, caseSensitive: boolean): number[];
|
|
47
|
+
removeBoldElementFromString(originalString: string): string;
|
|
48
|
+
disableCheckboxFilterApplyButton(): void;
|
|
49
|
+
checkIfSortingChanged(): boolean;
|
|
50
|
+
checkIfCheckboxTooltipIsFiltered(): boolean;
|
|
51
|
+
getColumnSortStateForSelectedRadio(): string;
|
|
52
|
+
applyFilters(): void;
|
|
53
|
+
applyListFilters(): void;
|
|
54
|
+
applySortingOnFilteredData(): void;
|
|
55
|
+
updateSortMap(): void;
|
|
56
|
+
checkIfSortingIsApplied(): void;
|
|
57
|
+
emitData(): void;
|
|
58
|
+
updateIndex(): void;
|
|
59
|
+
setInitialRowsForTable(): void;
|
|
60
|
+
selectUnselectCheckbox(data: TooltipModel): void;
|
|
61
|
+
closeCheckboxFilter(): void;
|
|
62
|
+
revert(): void;
|
|
63
|
+
clearSearchedItem(): void;
|
|
64
|
+
resetIndex(): void;
|
|
65
|
+
storeSortTypeInTempVariable(event: SortType): void;
|
|
66
|
+
disableActiveFilterClearButton(): void;
|
|
67
|
+
createFilterTooltipData(header: string): void;
|
|
68
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnCheckboxFilterComponent, never>;
|
|
69
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnCheckboxFilterComponent, "anna-core-anna-column-checkbox-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "limit": "limit"; "filterTabObjects": "filterTabObjects"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "closeTooltip": "closeTooltip"; }, never, never, false>;
|
|
70
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import dayjs from 'dayjs';
|
|
3
|
+
import { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
4
|
+
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
5
|
+
import { AnnaDateTimeFormatService, NgbDateType } from '../../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
6
|
+
import { SortType } from '../../../../anna-core-shared-lib/models/anna-sort.model';
|
|
7
|
+
import { radioButtonModel } from '../../../../anna-core-shared-lib/models/anna-tooltip.model';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class AnnaColumnDateRangeFilterComponent implements OnInit {
|
|
10
|
+
annaDateTimeFormatService: AnnaDateTimeFormatService;
|
|
11
|
+
private annaSortService;
|
|
12
|
+
annaFilterService: AnnaFilterService;
|
|
13
|
+
tableData: any[];
|
|
14
|
+
clonedTableData: any[];
|
|
15
|
+
limit: number;
|
|
16
|
+
filterTabObjects: any[];
|
|
17
|
+
filterAppliedToTable: EventEmitter<any>;
|
|
18
|
+
sortingAppliedToTable: EventEmitter<any>;
|
|
19
|
+
closeTooltip: EventEmitter<any>;
|
|
20
|
+
isFilterChanged: boolean;
|
|
21
|
+
tempSortOrder: SortType;
|
|
22
|
+
isSortChanged: boolean;
|
|
23
|
+
disableSelectAll: boolean;
|
|
24
|
+
disableClearAll: boolean;
|
|
25
|
+
searchItem: string;
|
|
26
|
+
showSortComponent: boolean;
|
|
27
|
+
disableCalendarApplyBtn: boolean;
|
|
28
|
+
selectedLabel: string;
|
|
29
|
+
showFilterComponent: boolean;
|
|
30
|
+
start: number;
|
|
31
|
+
end: number;
|
|
32
|
+
disableColumnClearAllBtn: boolean;
|
|
33
|
+
calendarMinEnabledDate: NgbDateType;
|
|
34
|
+
calendarMaxEnabledDate: NgbDateType;
|
|
35
|
+
selectedMinDate: NgbDateType;
|
|
36
|
+
selectedMaxDate: NgbDateType;
|
|
37
|
+
calendarSelection: any;
|
|
38
|
+
constructor(annaDateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService, annaFilterService: AnnaFilterService);
|
|
39
|
+
ngOnInit(): void;
|
|
40
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
41
|
+
disableActiveFilterClearButton(): void;
|
|
42
|
+
getColumnSortStateForSelectedRadio(): string;
|
|
43
|
+
createFilterTooltipData(header: string): void;
|
|
44
|
+
getCalendarData(): void;
|
|
45
|
+
createRangeForTheDateFilter(): dayjs.Dayjs[];
|
|
46
|
+
createStartEndDateRange(optionData: any[]): dayjs.Dayjs[];
|
|
47
|
+
selectRangeForTheDateFilter(minMaxDate: any[], parsingFormat: string): void;
|
|
48
|
+
applyDateFilter(): void;
|
|
49
|
+
updateIndex(): void;
|
|
50
|
+
resetIndex(): void;
|
|
51
|
+
setInitialRowsForTable(): void;
|
|
52
|
+
applySortingOnFilteredData(): void;
|
|
53
|
+
updateSortMap(): void;
|
|
54
|
+
checkIfSortingIsApplied(): void;
|
|
55
|
+
applySorting(key: string): void;
|
|
56
|
+
emitData(): void;
|
|
57
|
+
cancelInDateFilter(): void;
|
|
58
|
+
calendarDateChanged(event: any): void;
|
|
59
|
+
disableCalendarApplyButton(): void;
|
|
60
|
+
checkIfSortingChanged(): boolean;
|
|
61
|
+
checkIfDateTooltipIsFiltered(): boolean;
|
|
62
|
+
setInitialValueMapForDateFilter(): void;
|
|
63
|
+
applyDateFilterOnData(): void;
|
|
64
|
+
clearColumnFilter(): void;
|
|
65
|
+
storeSortTypeInTempVariable(event: SortType): void;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnDateRangeFilterComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnDateRangeFilterComponent, "anna-core-anna-column-date-range-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "limit": "limit"; "filterTabObjects": "filterTabObjects"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "closeTooltip": "closeTooltip"; }, never, never, false>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } 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 { AnnaSortService } from '../../../../anna-core-shared-lib/services/anna-sort.service';
|
|
5
|
+
import { AnnaFilterService } from '../../../../anna-core-shared-lib/services/anna-filter.service';
|
|
6
|
+
import { AnnaDateTimeFormatService } from '../../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class AnnaColumnTimeFilterComponent implements OnInit {
|
|
9
|
+
private annaSortService;
|
|
10
|
+
annaDateTimeFormatService: AnnaDateTimeFormatService;
|
|
11
|
+
annaFilterService: AnnaFilterService;
|
|
12
|
+
tableData: any[];
|
|
13
|
+
clonedTableData: any[];
|
|
14
|
+
limit: number;
|
|
15
|
+
filterTabObjects: any[];
|
|
16
|
+
filterAppliedToTable: EventEmitter<any>;
|
|
17
|
+
sortingAppliedToTable: EventEmitter<any>;
|
|
18
|
+
closeTooltip: EventEmitter<any>;
|
|
19
|
+
isFilterChanged: boolean;
|
|
20
|
+
tempSortOrder: SortType;
|
|
21
|
+
isSortChanged: boolean;
|
|
22
|
+
disableSelectAll: boolean;
|
|
23
|
+
disableClearAll: boolean;
|
|
24
|
+
searchItem: string;
|
|
25
|
+
showSortComponent: boolean;
|
|
26
|
+
disableCheckboxApply: boolean;
|
|
27
|
+
selectedLabel: string;
|
|
28
|
+
showFilterComponent: boolean;
|
|
29
|
+
start: number;
|
|
30
|
+
end: number;
|
|
31
|
+
disableColumnClearAllBtn: boolean;
|
|
32
|
+
startTimeHourErr: boolean;
|
|
33
|
+
startTimeMinErr: boolean;
|
|
34
|
+
endTimeHourErr: boolean;
|
|
35
|
+
endTimeMinErr: boolean;
|
|
36
|
+
selectedFromTime: any[];
|
|
37
|
+
selectedToTime: any[];
|
|
38
|
+
clonedSelectedFromTime: any;
|
|
39
|
+
clonedSelectedToTime: any;
|
|
40
|
+
disableTimeFilterApplyBtn: boolean;
|
|
41
|
+
tableColumns: string[];
|
|
42
|
+
totalRowColumns: string[];
|
|
43
|
+
showMultiTimeCheckbox: boolean;
|
|
44
|
+
showZeroTimeCheckbox: boolean;
|
|
45
|
+
showEnterTimeCheckbox: boolean;
|
|
46
|
+
multiTimeCheckboxChecked: boolean;
|
|
47
|
+
zeroTimeCheckboxChecked: boolean;
|
|
48
|
+
enterTimeCheckboxChecked: boolean;
|
|
49
|
+
bindValueFuncCalled: boolean;
|
|
50
|
+
constructor(annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService);
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
populateTooltipDataBasedOnSelectedRadio(activeTab: radioButtonModel): void;
|
|
53
|
+
disableActiveFilterClearButton(): void;
|
|
54
|
+
getColumnSortStateForSelectedRadio(): string;
|
|
55
|
+
createFilterTooltipData(header: string): void;
|
|
56
|
+
getTimeFilterData(header: string): void;
|
|
57
|
+
setInitialValueMapForTimeFilter(key: string): void;
|
|
58
|
+
setTimeFilterDataForComponentsOtherThanRatingsPage(header: string): void;
|
|
59
|
+
setTimeFilterDataForRatingPageComponent(header: string): void;
|
|
60
|
+
selectOrUnselectMultiTimeCheckbox(): void;
|
|
61
|
+
selectOrUnselectZeroTimeCheckbox(): void;
|
|
62
|
+
selectOrUnselectEnterTimeCheckbox(): void;
|
|
63
|
+
checkIfTimeTooltipIsFiltered(): boolean;
|
|
64
|
+
disableTimeFilterApplyButton(): void;
|
|
65
|
+
checkIfSortingChanged(): boolean;
|
|
66
|
+
validateTimeFilterInput(): boolean;
|
|
67
|
+
applyTimeFilters(): void;
|
|
68
|
+
emitData(): void;
|
|
69
|
+
updateIndex(): void;
|
|
70
|
+
resetIndex(): void;
|
|
71
|
+
setInitialRowsForTable(): void;
|
|
72
|
+
applySorting(key: string): void;
|
|
73
|
+
changeStartTimeHour(increment: boolean): void;
|
|
74
|
+
changeEndTimeHour(increment: boolean): void;
|
|
75
|
+
changeEndTimeMinute(increment: boolean): void;
|
|
76
|
+
changeStartTimeMinute(increment: boolean): void;
|
|
77
|
+
startTimeHourChange(val: string): void;
|
|
78
|
+
startTimeMinChange(val: string): void;
|
|
79
|
+
endTimeHourChange(val: string): void;
|
|
80
|
+
endTimeMinChange(val: string): void;
|
|
81
|
+
incrementHour(arr: any[]): void;
|
|
82
|
+
decrementHour(arr: any[]): void;
|
|
83
|
+
incrementMinute(arr: any[]): void;
|
|
84
|
+
decrementMinute(arr: any): void;
|
|
85
|
+
updateSortMap(): void;
|
|
86
|
+
checkIfSortingIsApplied(): void;
|
|
87
|
+
applySortingOnFilteredData(): void;
|
|
88
|
+
applyTimeFilterOnData(): void;
|
|
89
|
+
closeTimeFilter(): void;
|
|
90
|
+
clearColumnFilter(): void;
|
|
91
|
+
storeSortTypeInTempVariable(event: SortType): void;
|
|
92
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaColumnTimeFilterComponent, never>;
|
|
93
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaColumnTimeFilterComponent, "anna-core-anna-column-time-filter", never, { "tableData": "tableData"; "clonedTableData": "clonedTableData"; "limit": "limit"; "filterTabObjects": "filterTabObjects"; }, { "filterAppliedToTable": "filterAppliedToTable"; "sortingAppliedToTable": "sortingAppliedToTable"; "closeTooltip": "closeTooltip"; }, never, never, false>;
|
|
94
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -30,5 +30,8 @@ export * from "./lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna
|
|
|
30
30
|
export * from "./lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
|
|
31
31
|
export * from "./lib/anna-generic-table-lib/components/anna-sort/anna-sort.component";
|
|
32
32
|
export * from "./lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
|
|
33
|
+
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component";
|
|
34
|
+
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component";
|
|
35
|
+
export * from "./lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component";
|
|
33
36
|
export * from "./lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy";
|
|
34
37
|
export * from "./lib/anna-generic-table-lib/directives/anna-virtual-table";
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
@import "./colors", "./fonts";
|
|
2
|
-
|
|
3
|
-
#dropdown-trigger {
|
|
4
|
-
height: 1.875rem;
|
|
5
|
-
background: white;
|
|
6
|
-
border-radius: 2px;
|
|
7
|
-
border: 1px solid $lightGray-8;
|
|
8
|
-
width: 100%;
|
|
9
|
-
text-align: left;
|
|
10
|
-
&:disabled{
|
|
11
|
-
background-color: $gray74;
|
|
12
|
-
opacity: 0.5;
|
|
13
|
-
& .placeholder, .icon {
|
|
14
|
-
color: #000;
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.placeholder {
|
|
20
|
-
color: $gray74;
|
|
21
|
-
@include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// #dropdown-trigger:disabled .placeholder {
|
|
25
|
-
// color: #000;
|
|
26
|
-
// }
|
|
27
|
-
|
|
28
|
-
.icon {
|
|
29
|
-
font-size: 1.125rem;
|
|
30
|
-
float: right;
|
|
31
|
-
margin-left: auto;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.search-bar {
|
|
35
|
-
margin: 9px 7px 8px 7px;
|
|
36
|
-
border: 1px solid $pinkSwan;
|
|
37
|
-
height: 1.875rem;
|
|
38
|
-
border-radius: 2px;
|
|
39
|
-
input {
|
|
40
|
-
outline: none;
|
|
41
|
-
border: none;
|
|
42
|
-
position: relative;
|
|
43
|
-
bottom: 4px;
|
|
44
|
-
width: calc(100% - 29px);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.search-icon {
|
|
48
|
-
font-size: 1.125rem;
|
|
49
|
-
color: $lightGray-7;
|
|
50
|
-
margin: 5px;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
.close-icon{
|
|
54
|
-
cursor: pointer;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
ul {
|
|
59
|
-
overflow-y: auto;
|
|
60
|
-
padding-left: 0;
|
|
61
|
-
padding-bottom: 0;
|
|
62
|
-
margin-bottom: 0;
|
|
63
|
-
max-height: calc(50vh - 80px) !important;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
li {
|
|
67
|
-
list-style-type: none;
|
|
68
|
-
cursor: pointer;
|
|
69
|
-
padding-inline: 6px;
|
|
70
|
-
@include fonts(Roboto, 14px, normal, normal, normal, 2.14, normal);
|
|
71
|
-
color: #4a4a4a;
|
|
72
|
-
@extend .ellipsify;
|
|
73
|
-
width: 100%;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
ul::-webkit-scrollbar {
|
|
77
|
-
width: 4px;
|
|
78
|
-
height: 4px;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
ul::-webkit-scrollbar-track {
|
|
82
|
-
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
ul::-webkit-scrollbar-thumb {
|
|
86
|
-
border-radius: 4px;
|
|
87
|
-
background-color: rgba(0, 0, 0, 0.4) !important;
|
|
88
|
-
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
li:hover {
|
|
92
|
-
// color: white;
|
|
93
|
-
background: #ebebeb;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
li.active {
|
|
97
|
-
color: white;
|
|
98
|
-
background: $primary-color;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
span.selected-item{
|
|
102
|
-
background: transparent;
|
|
103
|
-
@include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
|
|
104
|
-
color: #4a4a4a;
|
|
105
|
-
@extend .ellipsify;
|
|
106
|
-
width: calc(100% - 22px);
|
|
107
|
-
display: inline-block;
|
|
108
|
-
vertical-align: middle;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.ellipsify{
|
|
112
|
-
white-space: nowrap;
|
|
113
|
-
text-overflow: ellipsis;
|
|
114
|
-
overflow: hidden;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
::ng-deep .cdk-overlay-container{
|
|
118
|
-
z-index: 1051;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
::ng-deep .multi-select-dropdown + div .mat-menu-panel,
|
|
122
|
-
::ng-deep .single-select-dropdown + div .mat-menu-panel{
|
|
123
|
-
min-width: 100px !important;
|
|
124
|
-
max-width: 100%;
|
|
125
|
-
min-height: 30px !important;
|
|
126
|
-
overflow-y: hidden;
|
|
127
|
-
max-height: 50vh;
|
|
128
|
-
.mat-menu-content:not(:empty) {
|
|
129
|
-
padding-top: 0;
|
|
130
|
-
padding-bottom: 0;
|
|
131
|
-
}
|
|
132
|
-
}
|