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