@annalib/anna-core 2.5.0 → 2.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.
- 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 +4 -22
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +10 -34
- 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 +4 -22
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +10 -34
- 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 +13 -54
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core.mjs +19 -60
- 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 +13 -54
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +19 -60
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +2 -1
- package/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +1 -2
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -8
- package/package.json +2 -3
- package/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +2 -1
- package/src/lib/anna-generic-table-lib/anna-generic-table-lib.module.d.ts +1 -2
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -8
|
@@ -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";
|
|
24
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
25
25
|
export interface ITotalRowInfo {
|
|
26
26
|
colspan: number;
|
|
@@ -43,6 +43,7 @@ export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
|
43
43
|
multiWeekPickerConfig?: IWeekCalendar;
|
|
44
44
|
verticalScrollOffsetForFilterTooltip?: number;
|
|
45
45
|
tableContainerName?: string;
|
|
46
|
+
tableOuterContainerName?: string;
|
|
46
47
|
showAllColumnFilter: boolean;
|
|
47
48
|
bufferSize: number;
|
|
48
49
|
page: string;
|
|
@@ -14,9 +14,8 @@ 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";
|
|
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.AnnaCoreSharedLibModule
|
|
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
|
}
|
|
@@ -26,8 +26,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
26
26
|
tableClass: string;
|
|
27
27
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
28
28
|
includeBorderInTableHeight: boolean;
|
|
29
|
-
downloadInProgress: boolean;
|
|
30
|
-
percentDone: number;
|
|
31
29
|
toggleCheckbox: EventEmitter<any>;
|
|
32
30
|
toggleRowCheckbox: EventEmitter<any>;
|
|
33
31
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -42,7 +40,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
42
40
|
gtSVGIconClicked: EventEmitter<any>;
|
|
43
41
|
gtTextActionClicked: EventEmitter<any>;
|
|
44
42
|
gtViewDetailClicked: EventEmitter<any>;
|
|
45
|
-
downloadSpotDetails: EventEmitter<any>;
|
|
46
43
|
tableDataWrapper: any[];
|
|
47
44
|
rowChecked: boolean;
|
|
48
45
|
isAllRowsChecked: boolean;
|
|
@@ -130,9 +127,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
130
127
|
isSortChanged: boolean;
|
|
131
128
|
isDifferenceLessThan25Percent: boolean;
|
|
132
129
|
incorrectSliderInput: boolean;
|
|
133
|
-
selectedInventoryIdForDownload: number;
|
|
134
|
-
selectedDemographicForDownload: any;
|
|
135
|
-
selectedRowTypeForDownload: string;
|
|
136
130
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
137
131
|
ngAfterViewChecked(): void;
|
|
138
132
|
ngOnInit(): void;
|
|
@@ -245,8 +239,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
245
239
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
246
240
|
setActiveStateObject(): void;
|
|
247
241
|
setIsDifference(value: boolean): void;
|
|
248
|
-
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
249
242
|
tableContainerScrolled(event: any): void;
|
|
250
243
|
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";
|
|
244
|
+
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>;
|
|
252
245
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@annalib/anna-core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular-slider/ngx-slider": "2.0.3",
|
|
6
6
|
"@angular/common": "^13.2.0",
|
|
@@ -9,8 +9,7 @@
|
|
|
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"
|
|
13
|
-
"ng-circle-progress": "^1.6.0"
|
|
12
|
+
"ngx-skeleton-loader": "^2.10.1"
|
|
14
13
|
},
|
|
15
14
|
"dependencies": {
|
|
16
15
|
"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";
|
|
24
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
25
25
|
export interface ITotalRowInfo {
|
|
26
26
|
colspan: number;
|
|
@@ -43,6 +43,7 @@ export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
|
43
43
|
multiWeekPickerConfig?: IWeekCalendar;
|
|
44
44
|
verticalScrollOffsetForFilterTooltip?: number;
|
|
45
45
|
tableContainerName?: string;
|
|
46
|
+
tableOuterContainerName?: string;
|
|
46
47
|
showAllColumnFilter: boolean;
|
|
47
48
|
bufferSize: number;
|
|
48
49
|
page: string;
|
|
@@ -14,9 +14,8 @@ 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";
|
|
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.AnnaCoreSharedLibModule
|
|
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
|
}
|
|
@@ -26,8 +26,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
26
26
|
tableClass: string;
|
|
27
27
|
maximumRowsWhichCanBeRenderedWithoutScroll: number;
|
|
28
28
|
includeBorderInTableHeight: boolean;
|
|
29
|
-
downloadInProgress: boolean;
|
|
30
|
-
percentDone: number;
|
|
31
29
|
toggleCheckbox: EventEmitter<any>;
|
|
32
30
|
toggleRowCheckbox: EventEmitter<any>;
|
|
33
31
|
toggleHeaderCheckbox: EventEmitter<any>;
|
|
@@ -42,7 +40,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
42
40
|
gtSVGIconClicked: EventEmitter<any>;
|
|
43
41
|
gtTextActionClicked: EventEmitter<any>;
|
|
44
42
|
gtViewDetailClicked: EventEmitter<any>;
|
|
45
|
-
downloadSpotDetails: EventEmitter<any>;
|
|
46
43
|
tableDataWrapper: any[];
|
|
47
44
|
rowChecked: boolean;
|
|
48
45
|
isAllRowsChecked: boolean;
|
|
@@ -130,9 +127,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
130
127
|
isSortChanged: boolean;
|
|
131
128
|
isDifferenceLessThan25Percent: boolean;
|
|
132
129
|
incorrectSliderInput: boolean;
|
|
133
|
-
selectedInventoryIdForDownload: number;
|
|
134
|
-
selectedDemographicForDownload: any;
|
|
135
|
-
selectedRowTypeForDownload: string;
|
|
136
130
|
constructor(cdRef: ChangeDetectorRef, annaSortService: AnnaSortService, annaDateTimeFormatService: AnnaDateTimeFormatService, annaFilterService: AnnaFilterService, annaGenericTableService: AnnaGenericTableService);
|
|
137
131
|
ngAfterViewChecked(): void;
|
|
138
132
|
ngOnInit(): void;
|
|
@@ -245,8 +239,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
245
239
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
246
240
|
setActiveStateObject(): void;
|
|
247
241
|
setIsDifference(value: boolean): void;
|
|
248
|
-
spotDetailsDownloadClicked(parentChildOrTotalRow: "DATAROW" | "TOTALROW", rowdata?: any): void;
|
|
249
242
|
tableContainerScrolled(event: any): void;
|
|
250
243
|
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";
|
|
244
|
+
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>;
|
|
252
245
|
}
|