@annalib/anna-core 1.2.7 → 1.2.8
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/anna-core-shared-lib.module.mjs +11 -6
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +35 -0
- package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +27 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/lib/anna-core-shared-lib/public-api.mjs +3 -2
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +18 -9
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +23 -131
- package/esm2020/src/lib/anna-core-shared-lib/anna-core-shared-lib.module.mjs +11 -6
- package/esm2020/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +35 -0
- package/esm2020/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +27 -0
- package/esm2020/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
- package/esm2020/src/lib/anna-core-shared-lib/public-api.mjs +3 -2
- package/esm2020/src/lib/anna-core-shared-lib/services/anna-filter.service.mjs +18 -9
- package/esm2020/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +23 -131
- package/fesm2015/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +59 -19
- 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 +23 -131
- package/fesm2015/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2015/annalib-anna-core.mjs +81 -149
- package/fesm2015/annalib-anna-core.mjs.map +1 -1
- package/fesm2020/annalib-anna-core-src-lib-anna-core-shared-lib.mjs +59 -19
- 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 +23 -131
- package/fesm2020/annalib-anna-core-src-lib-anna-generic-table-lib.mjs.map +1 -1
- package/fesm2020/annalib-anna-core.mjs +81 -149
- package/fesm2020/annalib-anna-core.mjs.map +1 -1
- package/lib/anna-core-shared-lib/anna-core-shared-lib.module.d.ts +4 -3
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +15 -0
- package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +9 -0
- package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -0
- package/lib/anna-core-shared-lib/public-api.d.ts +2 -1
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +4 -1
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +2 -3
- package/package.json +1 -1
- package/src/lib/anna-core-shared-lib/anna-core-shared-lib.module.d.ts +4 -3
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +15 -0
- package/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +9 -0
- package/src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +1 -0
- package/src/lib/anna-core-shared-lib/public-api.d.ts +2 -1
- package/src/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +4 -1
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +2 -3
- package/esm2020/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.mjs +0 -27
- package/esm2020/src/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.mjs +0 -27
- package/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.d.ts +0 -9
- package/src/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.d.ts +0 -9
|
@@ -6,10 +6,11 @@ import * as i4 from "./components/anna-live-icon-template/anna-live-icon-templat
|
|
|
6
6
|
import * as i5 from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
7
7
|
import * as i6 from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
8
8
|
import * as i7 from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
9
|
-
import * as i8 from "./directives/show-
|
|
10
|
-
import * as i9 from "
|
|
9
|
+
import * as i8 from "./directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
10
|
+
import * as i9 from "./components/anna-icon-column/anna-icon-column.component";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
11
12
|
export declare class AnnaCoreSharedLibModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreSharedLibModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent], [typeof i10.CommonModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreSharedLibModule>;
|
|
15
16
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaIconColumnComponent implements OnInit {
|
|
4
|
+
componentName: string;
|
|
5
|
+
objectKey: string;
|
|
6
|
+
dataObject: any;
|
|
7
|
+
PfpIconActiveColor: string;
|
|
8
|
+
PfpIconDisableColor: string;
|
|
9
|
+
pfpIconClicked: EventEmitter<any>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
svgIconClicked(rowData: any, key: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "objectKey": "objectKey"; "dataObject": "dataObject"; }, { "pfpIconClicked": "pfpIconClicked"; }, never, never>;
|
|
15
|
+
}
|
package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class showEllipsisTextOnHoverDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
onMouseEnter(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<showEllipsisTextOnHoverDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<showEllipsisTextOnHoverDirective, "[showEllipsisTextOnHover]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -18,6 +18,7 @@ export interface IHeaderInfo {
|
|
|
18
18
|
showTooltipIcon: boolean;
|
|
19
19
|
disableTooltipIcon?: boolean;
|
|
20
20
|
tooltip?: ITooltip;
|
|
21
|
+
joinedFilterSortObjectKeys?: string;
|
|
21
22
|
}
|
|
22
23
|
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS";
|
|
23
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
@@ -5,6 +5,7 @@ export * from "./components/anna-live-icon-template/anna-live-icon-template.comp
|
|
|
5
5
|
export * from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
6
6
|
export * from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
7
7
|
export * from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
8
|
+
export * from "./components/anna-icon-column/anna-icon-column.component";
|
|
8
9
|
export * from "./services/anna-date-time-format.service";
|
|
9
10
|
export * from "./services/anna-global-config.service";
|
|
10
11
|
export * from "./services/anna-filter.service";
|
|
@@ -17,4 +18,4 @@ export * from "./models/anna-tooltip.model";
|
|
|
17
18
|
export * from "./models/anna-sort.model";
|
|
18
19
|
export * from "./constants/shared.constant";
|
|
19
20
|
export * from "./pipes/annaFilterSearchedText.pipe";
|
|
20
|
-
export * from "./directives/show-
|
|
21
|
+
export * from "./directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from '@angular-slider/ngx-slider';
|
|
2
2
|
import moment from "moment";
|
|
3
|
+
import { SortType } from '../models/anna-sort.model';
|
|
3
4
|
import { AllSelectedStatus } from "../models/anna-tooltip.model";
|
|
4
|
-
import { SortType } from '../public-api';
|
|
5
5
|
import { AnnaDateTimeFormatService, NgbDateType } from './anna-date-time-format.service';
|
|
6
6
|
import { AnnaSortService } from './anna-sort.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -32,6 +32,7 @@ export declare class AnnaFilterService {
|
|
|
32
32
|
ngxSliderObj: Options;
|
|
33
33
|
sliderCurrencySet: Set<string>;
|
|
34
34
|
static bufferSize: number;
|
|
35
|
+
isFilterSortActive: any;
|
|
35
36
|
constructor(dateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService);
|
|
36
37
|
returnMaxAndMinValue(data: any[], key: string, isMin: boolean): any;
|
|
37
38
|
returnMinAndMaxDate(data: any[], key: string): moment.Moment[];
|
|
@@ -77,6 +78,8 @@ export declare class AnnaFilterService {
|
|
|
77
78
|
fromDate: moment.Moment;
|
|
78
79
|
toDate: moment.Moment;
|
|
79
80
|
}, key: string): boolean;
|
|
81
|
+
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
82
|
+
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
80
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
81
84
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
82
85
|
}
|
|
@@ -98,8 +98,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
98
98
|
sortComponent: QueryList<AnnaSortComponent>;
|
|
99
99
|
isScrolledLeft: boolean;
|
|
100
100
|
rowBorderWidth: number;
|
|
101
|
-
PfpIconActiveColor: string;
|
|
102
|
-
PfpIconDisableColor: string;
|
|
103
101
|
showSortComponent: boolean;
|
|
104
102
|
showFilterComponent: boolean;
|
|
105
103
|
tempSortOrder: SortType;
|
|
@@ -207,7 +205,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
207
205
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
208
206
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: SellerGroupHierarchy[], tooltip: any): void;
|
|
209
207
|
iconClicked(rowData: any, iconClass: string): void;
|
|
210
|
-
svgIconClicked(
|
|
208
|
+
svgIconClicked(data: any): void;
|
|
211
209
|
textActionClicked(rowData: any, id: number): void;
|
|
212
210
|
viewDetailsClicked(rowData: any): void;
|
|
213
211
|
setColumnSortStateMap(): void;
|
|
@@ -236,6 +234,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
236
234
|
disableApplyButtonOfSelectedFilter(): void;
|
|
237
235
|
disableCheckboxFilterApplyButton(): void;
|
|
238
236
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
237
|
+
setActiveStateObject(): void;
|
|
239
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
240
239
|
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>;
|
|
241
240
|
}
|
package/package.json
CHANGED
|
@@ -6,10 +6,11 @@ import * as i4 from "./components/anna-live-icon-template/anna-live-icon-templat
|
|
|
6
6
|
import * as i5 from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
7
7
|
import * as i6 from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
8
8
|
import * as i7 from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
9
|
-
import * as i8 from "./directives/show-
|
|
10
|
-
import * as i9 from "
|
|
9
|
+
import * as i8 from "./directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
10
|
+
import * as i9 from "./components/anna-icon-column/anna-icon-column.component";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
11
12
|
export declare class AnnaCoreSharedLibModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreSharedLibModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreSharedLibModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent], [typeof i10.CommonModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaBuyerApprovalIconTemplateComponent, typeof i4.AnnaLiveIconTemplateComponent, typeof i5.AnnaNotifyIconTemplateComponent, typeof i6.AnnaPayForPerformanceIconTemplateComponent, typeof i7.AnnaRejectedIconTemplateComponent, typeof i8.showEllipsisTextOnHoverDirective, typeof i9.AnnaIconColumnComponent]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreSharedLibModule>;
|
|
15
16
|
}
|
package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaIconColumnComponent implements OnInit {
|
|
4
|
+
componentName: string;
|
|
5
|
+
objectKey: string;
|
|
6
|
+
dataObject: any;
|
|
7
|
+
PfpIconActiveColor: string;
|
|
8
|
+
PfpIconDisableColor: string;
|
|
9
|
+
pfpIconClicked: EventEmitter<any>;
|
|
10
|
+
constructor();
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
svgIconClicked(rowData: any, key: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "objectKey": "objectKey"; "dataObject": "dataObject"; }, { "pfpIconClicked": "pfpIconClicked"; }, never, never>;
|
|
15
|
+
}
|
package/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class showEllipsisTextOnHoverDirective {
|
|
4
|
+
private elementRef;
|
|
5
|
+
constructor(elementRef: ElementRef);
|
|
6
|
+
onMouseEnter(): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<showEllipsisTextOnHoverDirective, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<showEllipsisTextOnHoverDirective, "[showEllipsisTextOnHover]", never, {}, {}, never>;
|
|
9
|
+
}
|
|
@@ -18,6 +18,7 @@ export interface IHeaderInfo {
|
|
|
18
18
|
showTooltipIcon: boolean;
|
|
19
19
|
disableTooltipIcon?: boolean;
|
|
20
20
|
tooltip?: ITooltip;
|
|
21
|
+
joinedFilterSortObjectKeys?: string;
|
|
21
22
|
}
|
|
22
23
|
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS";
|
|
23
24
|
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
@@ -5,6 +5,7 @@ export * from "./components/anna-live-icon-template/anna-live-icon-template.comp
|
|
|
5
5
|
export * from "./components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
6
6
|
export * from "./components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
7
7
|
export * from "./components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
8
|
+
export * from "./components/anna-icon-column/anna-icon-column.component";
|
|
8
9
|
export * from "./services/anna-date-time-format.service";
|
|
9
10
|
export * from "./services/anna-global-config.service";
|
|
10
11
|
export * from "./services/anna-filter.service";
|
|
@@ -17,4 +18,4 @@ export * from "./models/anna-tooltip.model";
|
|
|
17
18
|
export * from "./models/anna-sort.model";
|
|
18
19
|
export * from "./constants/shared.constant";
|
|
19
20
|
export * from "./pipes/annaFilterSearchedText.pipe";
|
|
20
|
-
export * from "./directives/show-
|
|
21
|
+
export * from "./directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Options } from '@angular-slider/ngx-slider';
|
|
2
2
|
import moment from "moment";
|
|
3
|
+
import { SortType } from '../models/anna-sort.model';
|
|
3
4
|
import { AllSelectedStatus } from "../models/anna-tooltip.model";
|
|
4
|
-
import { SortType } from '../public-api';
|
|
5
5
|
import { AnnaDateTimeFormatService, NgbDateType } from './anna-date-time-format.service';
|
|
6
6
|
import { AnnaSortService } from './anna-sort.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -32,6 +32,7 @@ export declare class AnnaFilterService {
|
|
|
32
32
|
ngxSliderObj: Options;
|
|
33
33
|
sliderCurrencySet: Set<string>;
|
|
34
34
|
static bufferSize: number;
|
|
35
|
+
isFilterSortActive: any;
|
|
35
36
|
constructor(dateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService);
|
|
36
37
|
returnMaxAndMinValue(data: any[], key: string, isMin: boolean): any;
|
|
37
38
|
returnMinAndMaxDate(data: any[], key: string): moment.Moment[];
|
|
@@ -77,6 +78,8 @@ export declare class AnnaFilterService {
|
|
|
77
78
|
fromDate: moment.Moment;
|
|
78
79
|
toDate: moment.Moment;
|
|
79
80
|
}, key: string): boolean;
|
|
81
|
+
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
82
|
+
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
80
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
81
84
|
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
82
85
|
}
|
|
@@ -98,8 +98,6 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
98
98
|
sortComponent: QueryList<AnnaSortComponent>;
|
|
99
99
|
isScrolledLeft: boolean;
|
|
100
100
|
rowBorderWidth: number;
|
|
101
|
-
PfpIconActiveColor: string;
|
|
102
|
-
PfpIconDisableColor: string;
|
|
103
101
|
showSortComponent: boolean;
|
|
104
102
|
showFilterComponent: boolean;
|
|
105
103
|
tempSortOrder: SortType;
|
|
@@ -207,7 +205,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
207
205
|
radioButtonClicked(data: any, action: string, isDisabled: boolean): void;
|
|
208
206
|
bindTheValueToSellerGroupTooltip(sellerGroupHierarchy: SellerGroupHierarchy[], tooltip: any): void;
|
|
209
207
|
iconClicked(rowData: any, iconClass: string): void;
|
|
210
|
-
svgIconClicked(
|
|
208
|
+
svgIconClicked(data: any): void;
|
|
211
209
|
textActionClicked(rowData: any, id: number): void;
|
|
212
210
|
viewDetailsClicked(rowData: any): void;
|
|
213
211
|
setColumnSortStateMap(): void;
|
|
@@ -236,6 +234,7 @@ export declare class AnnaNonEditableGenericTableComponent implements OnInit, OnC
|
|
|
236
234
|
disableApplyButtonOfSelectedFilter(): void;
|
|
237
235
|
disableCheckboxFilterApplyButton(): void;
|
|
238
236
|
trackByTooltipModelId(index: number, item: TooltipModel): number;
|
|
237
|
+
setActiveStateObject(): void;
|
|
239
238
|
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNonEditableGenericTableComponent, never>;
|
|
240
239
|
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>;
|
|
241
240
|
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ShowTooltipDirective {
|
|
4
|
-
constructor(elementRef) {
|
|
5
|
-
this.elementRef = elementRef;
|
|
6
|
-
}
|
|
7
|
-
onMouseEnter() {
|
|
8
|
-
const element = this.elementRef.nativeElement;
|
|
9
|
-
if (element.offsetWidth < element.scrollWidth) {
|
|
10
|
-
element.title = element.textContent;
|
|
11
|
-
}
|
|
12
|
-
else if (element.title)
|
|
13
|
-
element.removeAttribute('title');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
ShowTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ShowTooltipDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
ShowTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: ShowTooltipDirective, selector: "[showTooltip]", host: { listeners: { "mouseenter": "onMouseEnter()" } }, ngImport: i0 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ShowTooltipDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[showTooltip]'
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onMouseEnter: [{
|
|
24
|
-
type: HostListener,
|
|
25
|
-
args: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pcmVjdGl2ZSwgRWxlbWVudFJlZiwgSG9zdExpc3RlbmVyIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XHJcblxyXG5ARGlyZWN0aXZlKHtcclxuICBzZWxlY3RvcjogJ1tzaG93VG9vbHRpcF0nXHJcbn0pXHJcblxyXG5leHBvcnQgY2xhc3MgU2hvd1Rvb2x0aXBEaXJlY3RpdmUge1xyXG5cclxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWYpIHt9XHJcblxyXG4gIEBIb3N0TGlzdGVuZXIoJ21vdXNlZW50ZXInKVxyXG4gIG9uTW91c2VFbnRlcigpOiB2b2lkIHtcclxuICAgICAgY29uc3QgZWxlbWVudCA9IHRoaXMuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50O1xyXG4gICAgICBpZiAoZWxlbWVudC5vZmZzZXRXaWR0aCA8IGVsZW1lbnQuc2Nyb2xsV2lkdGgpIHtcclxuICAgICAgICBlbGVtZW50LnRpdGxlID0gZWxlbWVudC50ZXh0Q29udGVudDtcclxuICAgICAgfVxyXG4gICAgICBlbHNlIGlmIChlbGVtZW50LnRpdGxlKSBlbGVtZW50LnJlbW92ZUF0dHJpYnV0ZSgndGl0bGUnKTsgXHJcbiAgfVxyXG59Il19
|
package/esm2020/src/lib/anna-core-shared-lib/directives/show-tooltip/show-tooltip.directive.mjs
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Directive, ElementRef, HostListener } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export class ShowTooltipDirective {
|
|
4
|
-
constructor(elementRef) {
|
|
5
|
-
this.elementRef = elementRef;
|
|
6
|
-
}
|
|
7
|
-
onMouseEnter() {
|
|
8
|
-
const element = this.elementRef.nativeElement;
|
|
9
|
-
if (element.offsetWidth < element.scrollWidth) {
|
|
10
|
-
element.title = element.textContent;
|
|
11
|
-
}
|
|
12
|
-
else if (element.title)
|
|
13
|
-
element.removeAttribute('title');
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
ShowTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ShowTooltipDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
17
|
-
ShowTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.7", type: ShowTooltipDirective, selector: "[showTooltip]", host: { listeners: { "mouseenter": "onMouseEnter()" } }, ngImport: i0 });
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.7", ngImport: i0, type: ShowTooltipDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
selector: '[showTooltip]'
|
|
22
|
-
}]
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { onMouseEnter: [{
|
|
24
|
-
type: HostListener,
|
|
25
|
-
args: ['mouseenter']
|
|
26
|
-
}] } });
|
|
27
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvdy10b29sdGlwLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2FubmEtY29yZS9zcmMvbGliL2FubmEtY29yZS1zaGFyZWQtbGliL2RpcmVjdGl2ZXMvc2hvdy10b29sdGlwL3Nob3ctdG9vbHRpcC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxVQUFVLEVBQUUsWUFBWSxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQU1wRSxNQUFNLE9BQU8sb0JBQW9CO0lBRS9CLFlBQW9CLFVBQXNCO1FBQXRCLGVBQVUsR0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yb2xsV2lkdGgpIHtcclxuICAgICAgICBlbGVtZW50LnRpdGxlID0gZWxlbWVudC50ZXh0Q29udGVudDtcclxuICAgICAgfVxyXG4gICAgICBlbHNlIGlmIChlbGVtZW50LnRpdGxlKSBlbGVtZW50LnJlbW92ZUF0dHJpYnV0ZSgndGl0bGUnKTsgXHJcbiAgfVxyXG59Il19
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ShowTooltipDirective {
|
|
4
|
-
private elementRef;
|
|
5
|
-
constructor(elementRef: ElementRef);
|
|
6
|
-
onMouseEnter(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipDirective, "[showTooltip]", never, {}, {}, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ShowTooltipDirective {
|
|
4
|
-
private elementRef;
|
|
5
|
-
constructor(elementRef: ElementRef);
|
|
6
|
-
onMouseEnter(): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ShowTooltipDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ShowTooltipDirective, "[showTooltip]", never, {}, {}, never>;
|
|
9
|
-
}
|