@annalib/anna-core 2.3.0 → 2.4.2
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-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -4
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +5 -1
- package/esm2020/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +5 -1
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +74 -35
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -4
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +4 -4
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -4
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -4
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -4
- package/esm2020/src/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +5 -1
- package/esm2020/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +5 -1
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +74 -35
- package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +14 -10
- 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 +79 -35
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core.mjs +94 -46
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +14 -10
- 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 +79 -35
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +94 -46
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +3 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +11 -3
- package/package.json +1 -1
- package/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +3 -2
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +11 -3
|
@@ -13,9 +13,10 @@ import * as i11 from "@angular-slider/ngx-slider";
|
|
|
13
13
|
import * as i12 from "ngx-skeleton-loader";
|
|
14
14
|
import * as i13 from "@angular/material/table";
|
|
15
15
|
import * as i14 from "@angular/material/radio";
|
|
16
|
-
import * as i15 from "@
|
|
16
|
+
import * as i15 from "@angular/cdk/scrolling";
|
|
17
|
+
import * as i16 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
17
18
|
export declare class AnnaGenericTableLibModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGenericTableLibModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaGenericTableLibModule, [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective], [typeof i6.CommonModule, typeof i7.NgbModule, typeof i8.AnnaDropdownLibModule, typeof i9.MatButtonToggleModule, typeof i10.FormsModule, typeof i11.NgxSliderModule, typeof i12.NgxSkeletonLoaderModule, typeof i13.MatTableModule, typeof i14.MatRadioModule, typeof i15.AnnaCoreSharedLibModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaGenericTableLibModule, [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective], [typeof i6.CommonModule, typeof i7.NgbModule, typeof i8.AnnaDropdownLibModule, typeof i9.MatButtonToggleModule, typeof i10.FormsModule, typeof i11.NgxSliderModule, typeof i12.NgxSkeletonLoaderModule, typeof i13.MatTableModule, typeof i14.MatRadioModule, typeof i15.ScrollingModule, typeof i16.AnnaCoreSharedLibModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
|
|
21
22
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OnInit, QueryList, EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef, ElementRef, AfterViewChecked } from '@angular/core';
|
|
2
2
|
import moment from "moment";
|
|
3
3
|
import { Options } from '@angular-slider/ngx-slider';
|
|
4
|
-
import { AnnaSortComponent } from '../anna-sort/anna-sort.component';
|
|
5
4
|
import { SellerGroupHierarchy, IWeekCalendar, TooltipModel, AnnaSortService, AnnaDateTimeFormatService, NgbDateType, AnnaFilterService, IGtGeneralConfig, IGtTableHeader, ITotalRowInfo, AnnaGenericTableService, SortType, IHeaderInfo, radioButtonModel, GtColumnIconEmittedData } from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnChanges, AfterViewChecked {
|
|
@@ -96,7 +95,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
96
95
|
};
|
|
97
96
|
sellerGroupHierarchy: SellerGroupHierarchy[];
|
|
98
97
|
showFilterTooltipTabs: boolean;
|
|
99
|
-
sortComponent: QueryList<AnnaSortComponent>;
|
|
100
98
|
isScrolledLeft: boolean;
|
|
101
99
|
rowBorderWidth: number;
|
|
102
100
|
showSortComponent: boolean;
|
|
@@ -127,6 +125,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
127
125
|
isSortChanged: boolean;
|
|
128
126
|
isDifferenceLessThan25Percent: boolean;
|
|
129
127
|
incorrectSliderInput: boolean;
|
|
128
|
+
start: number;
|
|
129
|
+
limit: number;
|
|
130
|
+
end: number;
|
|
131
|
+
renderedData: any[];
|
|
132
|
+
heightOfCheckboxTooltipFilter: number;
|
|
130
133
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
131
134
|
ngAfterViewChecked(): void;
|
|
132
135
|
ngOnInit(): void;
|
|
@@ -202,7 +205,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
202
205
|
sortedData(event: any): void;
|
|
203
206
|
checkIfSortingIsApplied(): void;
|
|
204
207
|
disableEnableEachColumnTooltipIcon(): void;
|
|
205
|
-
ngAfterViewInit(): void;
|
|
206
208
|
setMarginLeftForFilterIcon(): void;
|
|
207
209
|
dataRowClicked(rowData: any): void;
|
|
208
210
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
@@ -239,6 +241,12 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
239
241
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
240
242
|
setActiveStateObject(): void;
|
|
241
243
|
setIsDifference(value: boolean): void;
|
|
244
|
+
resetIndex(): void;
|
|
245
|
+
onTableContainerScroll(e: any): void;
|
|
246
|
+
getTableData(start: number, end: number): any[];
|
|
247
|
+
updateIndex(): void;
|
|
248
|
+
setInitialRowsForTable(): void;
|
|
249
|
+
tableContainerScrolled(event: any): void;
|
|
242
250
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
243
251
|
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"; "includeBorderInTableHeight": "includeBorderInTableHeight"; }, { "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>;
|
|
244
252
|
}
|
package/package.json
CHANGED
|
@@ -13,9 +13,10 @@ import * as i11 from "@angular-slider/ngx-slider";
|
|
|
13
13
|
import * as i12 from "ngx-skeleton-loader";
|
|
14
14
|
import * as i13 from "@angular/material/table";
|
|
15
15
|
import * as i14 from "@angular/material/radio";
|
|
16
|
-
import * as i15 from "@
|
|
16
|
+
import * as i15 from "@angular/cdk/scrolling";
|
|
17
|
+
import * as i16 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
17
18
|
export declare class AnnaGenericTableLibModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGenericTableLibModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaGenericTableLibModule, [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective], [typeof i6.CommonModule, typeof i7.NgbModule, typeof i8.AnnaDropdownLibModule, typeof i9.MatButtonToggleModule, typeof i10.FormsModule, typeof i11.NgxSliderModule, typeof i12.NgxSkeletonLoaderModule, typeof i13.MatTableModule, typeof i14.MatRadioModule, typeof i15.AnnaCoreSharedLibModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaGenericTableLibModule, [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective], [typeof i6.CommonModule, typeof i7.NgbModule, typeof i8.AnnaDropdownLibModule, typeof i9.MatButtonToggleModule, typeof i10.FormsModule, typeof i11.NgxSliderModule, typeof i12.NgxSkeletonLoaderModule, typeof i13.MatTableModule, typeof i14.MatRadioModule, typeof i15.ScrollingModule, typeof i16.AnnaCoreSharedLibModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
|
|
21
22
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { OnInit, QueryList, EventEmitter, SimpleChanges, OnChanges, ChangeDetectorRef, ElementRef, AfterViewChecked } from '@angular/core';
|
|
2
2
|
import moment from "moment";
|
|
3
3
|
import { Options } from '@angular-slider/ngx-slider';
|
|
4
|
-
import { AnnaSortComponent } from '../anna-sort/anna-sort.component';
|
|
5
4
|
import { SellerGroupHierarchy, IWeekCalendar, TooltipModel, AnnaSortService, AnnaDateTimeFormatService, NgbDateType, AnnaFilterService, IGtGeneralConfig, IGtTableHeader, ITotalRowInfo, AnnaGenericTableService, SortType, IHeaderInfo, radioButtonModel, GtColumnIconEmittedData } from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnChanges, AfterViewChecked {
|
|
@@ -96,7 +95,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
96
95
|
};
|
|
97
96
|
sellerGroupHierarchy: SellerGroupHierarchy[];
|
|
98
97
|
showFilterTooltipTabs: boolean;
|
|
99
|
-
sortComponent: QueryList<AnnaSortComponent>;
|
|
100
98
|
isScrolledLeft: boolean;
|
|
101
99
|
rowBorderWidth: number;
|
|
102
100
|
showSortComponent: boolean;
|
|
@@ -127,6 +125,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
127
125
|
isSortChanged: boolean;
|
|
128
126
|
isDifferenceLessThan25Percent: boolean;
|
|
129
127
|
incorrectSliderInput: boolean;
|
|
128
|
+
start: number;
|
|
129
|
+
limit: number;
|
|
130
|
+
end: number;
|
|
131
|
+
renderedData: any[];
|
|
132
|
+
heightOfCheckboxTooltipFilter: number;
|
|
130
133
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
131
134
|
ngAfterViewChecked(): void;
|
|
132
135
|
ngOnInit(): void;
|
|
@@ -202,7 +205,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
202
205
|
sortedData(event: any): void;
|
|
203
206
|
checkIfSortingIsApplied(): void;
|
|
204
207
|
disableEnableEachColumnTooltipIcon(): void;
|
|
205
|
-
ngAfterViewInit(): void;
|
|
206
208
|
setMarginLeftForFilterIcon(): void;
|
|
207
209
|
dataRowClicked(rowData: any): void;
|
|
208
210
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
@@ -239,6 +241,12 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
239
241
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
240
242
|
setActiveStateObject(): void;
|
|
241
243
|
setIsDifference(value: boolean): void;
|
|
244
|
+
resetIndex(): void;
|
|
245
|
+
onTableContainerScroll(e: any): void;
|
|
246
|
+
getTableData(start: number, end: number): any[];
|
|
247
|
+
updateIndex(): void;
|
|
248
|
+
setInitialRowsForTable(): void;
|
|
249
|
+
tableContainerScrolled(event: any): void;
|
|
242
250
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
243
251
|
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"; "includeBorderInTableHeight": "includeBorderInTableHeight"; }, { "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>;
|
|
244
252
|
}
|