@annalib/anna-core 1.3.2 → 1.3.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.
Files changed (31) hide show
  1. package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -4
  2. package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +4 -4
  3. package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -4
  4. package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -4
  5. package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -4
  6. package/esm2020/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +5 -1
  7. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +65 -19
  8. package/esm2020/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -4
  9. package/esm2020/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +4 -4
  10. package/esm2020/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -4
  11. package/esm2020/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -4
  12. package/esm2020/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -4
  13. package/esm2020/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +5 -1
  14. package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +65 -19
  15. package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +10 -10
  16. package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
  17. package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +69 -19
  18. package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
  19. package/fesm2015/annalib-anna-core.mjs +80 -30
  20. package/fesm2015/annalib-anna-core.mjs.map +1 -1
  21. package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +10 -10
  22. package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
  23. package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +69 -19
  24. package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
  25. package/fesm2020/annalib-anna-core.mjs +80 -30
  26. package/fesm2020/annalib-anna-core.mjs.map +1 -1
  27. package/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +3 -2
  28. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +10 -2
  29. package/package.json +1 -1
  30. package/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +3 -2
  31. package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +10 -2
@@ -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 "@annalib/anna-core/src/lib/anna-core-shared-lib";
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 {
@@ -95,7 +94,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
95
94
  };
96
95
  sellerGroupHierarchy: SellerGroupHierarchy[];
97
96
  showFilterTooltipTabs: boolean;
98
- sortComponent: QueryList<AnnaSortComponent>;
99
97
  isScrolledLeft: boolean;
100
98
  rowBorderWidth: number;
101
99
  showSortComponent: boolean;
@@ -126,6 +124,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
126
124
  isSortChanged: boolean;
127
125
  isDifferenceLessThan25Percent: boolean;
128
126
  incorrectSliderInput: boolean;
127
+ start: number;
128
+ limit: number;
129
+ end: number;
130
+ renderedData: any[];
131
+ heightOfCheckboxTooltipFilter: number;
129
132
  constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
130
133
  ngAfterViewChecked(): void;
131
134
  ngOnInit(): void;
@@ -238,6 +241,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
238
241
  trackByTooltipModelId(index: number, item: TooltipModel): number;
239
242
  setActiveStateObject(): void;
240
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;
241
249
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
242
250
  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>;
243
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "1.3.2",
3
+ "version": "1.3.5",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "2.0.3",
6
6
  "@angular/common": "^13.2.0",
@@ -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 "@annalib/anna-core/src/lib/anna-core-shared-lib";
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 {
@@ -95,7 +94,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
95
94
  };
96
95
  sellerGroupHierarchy: SellerGroupHierarchy[];
97
96
  showFilterTooltipTabs: boolean;
98
- sortComponent: QueryList<AnnaSortComponent>;
99
97
  isScrolledLeft: boolean;
100
98
  rowBorderWidth: number;
101
99
  showSortComponent: boolean;
@@ -126,6 +124,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
126
124
  isSortChanged: boolean;
127
125
  isDifferenceLessThan25Percent: boolean;
128
126
  incorrectSliderInput: boolean;
127
+ start: number;
128
+ limit: number;
129
+ end: number;
130
+ renderedData: any[];
131
+ heightOfCheckboxTooltipFilter: number;
129
132
  constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
130
133
  ngAfterViewChecked(): void;
131
134
  ngOnInit(): void;
@@ -238,6 +241,11 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
238
241
  trackByTooltipModelId(index: number, item: TooltipModel): number;
239
242
  setActiveStateObject(): void;
240
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;
241
249
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
242
250
  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>;
243
251
  }