@annalib/anna-core 1.5.1 → 1.6.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.
Files changed (23) hide show
  1. package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
  2. package/esm2020/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +22 -4
  3. package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +48 -9
  4. package/esm2020/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
  5. package/esm2020/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +22 -4
  6. package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +48 -9
  7. package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
  8. package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +68 -13
  9. package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
  10. package/fesm2015/annalib-anna-core.mjs +74 -19
  11. package/fesm2015/annalib-anna-core.mjs.map +1 -1
  12. package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs.map +1 -1
  13. package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs +68 -13
  14. package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
  15. package/fesm2020/annalib-anna-core.mjs +74 -19
  16. package/fesm2020/annalib-anna-core.mjs.map +1 -1
  17. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
  18. package/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +2 -1
  19. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -1
  20. package/package.json +3 -2
  21. package/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
  22. package/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +2 -1
  23. package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -1
@@ -20,7 +20,7 @@ export interface IHeaderInfo {
20
20
  tooltip?: ITooltip;
21
21
  joinedFilterSortObjectKeys?: string;
22
22
  }
23
- declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS";
23
+ declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA";
24
24
  declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
25
25
  export interface ITotalRowInfo {
26
26
  colspan: number;
@@ -14,8 +14,9 @@ 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
16
  import * as i15 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
17
+ import * as i16 from "ng-circle-progress";
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.AnnaCoreSharedLibModule, typeof i16.NgCircleProgressModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
21
22
  }
@@ -25,6 +25,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
25
25
  };
26
26
  tableClass: string;
27
27
  maximumRowsWhichCanBeRenderedWithoutScroll: number;
28
+ includeBorderInTableHeight: boolean;
29
+ downloadInProgress: boolean;
30
+ percentDone: number;
28
31
  toggleCheckbox: EventEmitter<any>;
29
32
  toggleRowCheckbox: EventEmitter<any>;
30
33
  toggleHeaderCheckbox: EventEmitter<any>;
@@ -39,6 +42,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
39
42
  gtSVGIconClicked: EventEmitter<any>;
40
43
  gtTextActionClicked: EventEmitter<any>;
41
44
  gtViewDetailClicked: EventEmitter<any>;
45
+ downloadSpotDetails: EventEmitter<any>;
42
46
  tableDataWrapper: any[];
43
47
  rowChecked: boolean;
44
48
  isAllRowsChecked: boolean;
@@ -126,6 +130,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
126
130
  isSortChanged: boolean;
127
131
  isDifferenceLessThan25Percent: boolean;
128
132
  incorrectSliderInput: boolean;
133
+ selectedInventoryIdForDownload: number;
134
+ selectedDemographicForDownload: any;
135
+ selectedRowTypeForDownload: string;
129
136
  constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
130
137
  ngAfterViewChecked(): void;
131
138
  ngOnInit(): void;
@@ -238,6 +245,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
238
245
  trackByTooltipModelId(index: number, item: TooltipModel): number;
239
246
  setActiveStateObject(): void;
240
247
  setIsDifference(value: boolean): void;
248
+ spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
241
249
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
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>;
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"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; }, never, never>;
243
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "1.5.1",
3
+ "version": "1.6.0",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "2.0.3",
6
6
  "@angular/common": "^13.2.0",
@@ -9,7 +9,8 @@
9
9
  "@ng-bootstrap/ng-bootstrap": "^9.0.1",
10
10
  "lodash-es": "^4.17.21",
11
11
  "moment": "^2.24.0",
12
- "ngx-skeleton-loader": "^2.10.1"
12
+ "ngx-skeleton-loader": "^2.10.1",
13
+ "ng-circle-progress": "^1.6.0"
13
14
  },
14
15
  "dependencies": {
15
16
  "tslib": "^2.3.0"
@@ -20,7 +20,7 @@ export interface IHeaderInfo {
20
20
  tooltip?: ITooltip;
21
21
  joinedFilterSortObjectKeys?: string;
22
22
  }
23
- declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS";
23
+ declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA";
24
24
  declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
25
25
  export interface ITotalRowInfo {
26
26
  colspan: number;
@@ -14,8 +14,9 @@ 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
16
  import * as i15 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
17
+ import * as i16 from "ng-circle-progress";
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.AnnaCoreSharedLibModule, typeof i16.NgCircleProgressModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
20
21
  static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
21
22
  }
@@ -25,6 +25,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
25
25
  };
26
26
  tableClass: string;
27
27
  maximumRowsWhichCanBeRenderedWithoutScroll: number;
28
+ includeBorderInTableHeight: boolean;
29
+ downloadInProgress: boolean;
30
+ percentDone: number;
28
31
  toggleCheckbox: EventEmitter<any>;
29
32
  toggleRowCheckbox: EventEmitter<any>;
30
33
  toggleHeaderCheckbox: EventEmitter<any>;
@@ -39,6 +42,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
39
42
  gtSVGIconClicked: EventEmitter<any>;
40
43
  gtTextActionClicked: EventEmitter<any>;
41
44
  gtViewDetailClicked: EventEmitter<any>;
45
+ downloadSpotDetails: EventEmitter<any>;
42
46
  tableDataWrapper: any[];
43
47
  rowChecked: boolean;
44
48
  isAllRowsChecked: boolean;
@@ -126,6 +130,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
126
130
  isSortChanged: boolean;
127
131
  isDifferenceLessThan25Percent: boolean;
128
132
  incorrectSliderInput: boolean;
133
+ selectedInventoryIdForDownload: number;
134
+ selectedDemographicForDownload: any;
135
+ selectedRowTypeForDownload: string;
129
136
  constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
130
137
  ngAfterViewChecked(): void;
131
138
  ngOnInit(): void;
@@ -238,6 +245,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
238
245
  trackByTooltipModelId(index: number, item: TooltipModel): number;
239
246
  setActiveStateObject(): void;
240
247
  setIsDifference(value: boolean): void;
248
+ spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
241
249
  static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
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>;
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"; "includeBorderInTableHeight": "includeBorderInTableHeight"; "downloadInProgress": "downloadInProgress"; "percentDone": "percentDone"; }, { "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"; "downloadSpotDetails": "downloadSpotDetails"; }, never, never>;
243
251
  }