@annalib/anna-core 3.0.0 → 3.1.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/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +25 -4
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +32 -8
- package/esm2020/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.mjs +25 -4
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +32 -8
- 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 +55 -11
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core.mjs +61 -17
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- 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 +55 -11
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +61 -17
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +2 -1
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -2
- package/package.json +3 -2
- package/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -1
- package/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +2 -1
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +9 -2
|
@@ -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;
|
|
@@ -15,8 +15,9 @@ import * as i13 from "@angular/material/table";
|
|
|
15
15
|
import * as i14 from "@angular/material/radio";
|
|
16
16
|
import * as i15 from "@angular/cdk/scrolling";
|
|
17
17
|
import * as i16 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
18
|
+
import * as i17 from "ng-circle-progress";
|
|
18
19
|
export declare class AnnaGenericTableLibModule {
|
|
19
20
|
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]>;
|
|
21
|
+
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 i16.AnnaCoreSharedLibModule, typeof i17.NgCircleProgressModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
|
|
22
23
|
}
|
|
@@ -24,8 +24,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
24
24
|
};
|
|
25
25
|
tableClass: string;
|
|
26
26
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
27
|
-
includeBorderInTableHeight: boolean;
|
|
28
27
|
limit: number;
|
|
28
|
+
includeBorderInTableHeight: boolean;
|
|
29
|
+
downloadInProgress: boolean;
|
|
30
|
+
percentDone: number;
|
|
29
31
|
toggleCheckbox: EventEmitter<any>;
|
|
30
32
|
toggleRowCheckbox: EventEmitter<any>;
|
|
31
33
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -40,6 +42,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
40
42
|
gtSVGIconClicked: EventEmitter<any>;
|
|
41
43
|
gtTextActionClicked: EventEmitter<any>;
|
|
42
44
|
gtViewDetailClicked: EventEmitter<any>;
|
|
45
|
+
downloadSpotDetails: EventEmitter<any>;
|
|
43
46
|
tableDataWrapper: any[];
|
|
44
47
|
rowChecked: boolean;
|
|
45
48
|
isAllRowsChecked: boolean;
|
|
@@ -129,6 +132,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
129
132
|
start: number;
|
|
130
133
|
end: number;
|
|
131
134
|
renderedData: any[];
|
|
135
|
+
selectedInventoryIdForDownload: number;
|
|
136
|
+
selectedDemographicForDownload: any;
|
|
137
|
+
selectedRowTypeForDownload: string;
|
|
132
138
|
heightOfCheckboxTooltipFilter: number;
|
|
133
139
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
134
140
|
ngAfterViewChecked(): void;
|
|
@@ -246,7 +252,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
246
252
|
getTableData(start: number, end: number): any[];
|
|
247
253
|
updateIndex(): void;
|
|
248
254
|
setInitialRowsForTable(): void;
|
|
255
|
+
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
249
256
|
tableContainerScrolled(event: any): void;
|
|
250
257
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
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"; "
|
|
258
|
+
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"; "limit": "limit"; "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>;
|
|
252
259
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annalib/anna-core",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1.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;
|
|
@@ -15,8 +15,9 @@ import * as i13 from "@angular/material/table";
|
|
|
15
15
|
import * as i14 from "@angular/material/radio";
|
|
16
16
|
import * as i15 from "@angular/cdk/scrolling";
|
|
17
17
|
import * as i16 from "@annalib/anna-core/src/lib/anna-core-shared-lib";
|
|
18
|
+
import * as i17 from "ng-circle-progress";
|
|
18
19
|
export declare class AnnaGenericTableLibModule {
|
|
19
20
|
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]>;
|
|
21
|
+
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 i16.AnnaCoreSharedLibModule, typeof i17.NgCircleProgressModule], [typeof i1.AnnaNonEditableGenericTableComponent, typeof i2.AnnaSortComponent, typeof i3.AnnaTableVirtualScrollViewportComponent, typeof i4.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i5.AnnaVirtualTableDirective]>;
|
|
21
22
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaGenericTableLibModule>;
|
|
22
23
|
}
|
|
@@ -24,8 +24,10 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
24
24
|
};
|
|
25
25
|
tableClass: string;
|
|
26
26
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
27
|
-
includeBorderInTableHeight: boolean;
|
|
28
27
|
limit: number;
|
|
28
|
+
includeBorderInTableHeight: boolean;
|
|
29
|
+
downloadInProgress: boolean;
|
|
30
|
+
percentDone: number;
|
|
29
31
|
toggleCheckbox: EventEmitter<any>;
|
|
30
32
|
toggleRowCheckbox: EventEmitter<any>;
|
|
31
33
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -40,6 +42,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
40
42
|
gtSVGIconClicked: EventEmitter<any>;
|
|
41
43
|
gtTextActionClicked: EventEmitter<any>;
|
|
42
44
|
gtViewDetailClicked: EventEmitter<any>;
|
|
45
|
+
downloadSpotDetails: EventEmitter<any>;
|
|
43
46
|
tableDataWrapper: any[];
|
|
44
47
|
rowChecked: boolean;
|
|
45
48
|
isAllRowsChecked: boolean;
|
|
@@ -129,6 +132,9 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
129
132
|
start: number;
|
|
130
133
|
end: number;
|
|
131
134
|
renderedData: any[];
|
|
135
|
+
selectedInventoryIdForDownload: number;
|
|
136
|
+
selectedDemographicForDownload: any;
|
|
137
|
+
selectedRowTypeForDownload: string;
|
|
132
138
|
heightOfCheckboxTooltipFilter: number;
|
|
133
139
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
134
140
|
ngAfterViewChecked(): void;
|
|
@@ -246,7 +252,8 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
246
252
|
getTableData(start: number, end: number): any[];
|
|
247
253
|
updateIndex(): void;
|
|
248
254
|
setInitialRowsForTable(): void;
|
|
255
|
+
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
249
256
|
tableContainerScrolled(event: any): void;
|
|
250
257
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
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"; "
|
|
258
|
+
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"; "limit": "limit"; "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>;
|
|
252
259
|
}
|