@annalib/anna-core 7.2.4 → 7.2.6
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/annalib-anna-core.d.ts +5 -0
- package/esm2020/annalib-anna-core.mjs +5 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +15 -0
- 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/components/anna-live-icon-template/anna-live-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +22 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +21 -0
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +15 -0
- package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +35 -0
- package/esm2020/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +282 -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-generic-data-type.model.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-manage-users.model.mjs +8 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +2 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +7 -0
- package/esm2020/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +30 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +26 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +46 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +25 -0
- package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +16 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +199 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +469 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +124 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +133 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +41 -0
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +147 -0
- package/esm2020/lib/anna-core.module.mjs +180 -0
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +101 -0
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +364 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +1834 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +69 -0
- package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +357 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +189 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +178 -0
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -0
- package/esm2020/public-api.mjs +50 -0
- package/fesm2015/annalib-anna-core.mjs +4875 -0
- package/fesm2015/annalib-anna-core.mjs.map +1 -0
- package/fesm2020/annalib-anna-core.mjs +4868 -0
- package/fesm2020/annalib-anna-core.mjs.map +1 -0
- package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +16 -0
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +11 -0
- package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +11 -0
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +8 -0
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +33 -0
- package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +34 -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-generic-data-type.model.d.ts +16 -0
- package/{src/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.ts → lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts} +9 -21
- package/lib/anna-core-shared-lib/models/anna-manage-users.model.d.ts +6 -0
- package/{src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.ts → lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts} +17 -28
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +11 -0
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +25 -0
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +9 -0
- package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +9 -0
- package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +9 -0
- package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +7 -0
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +27 -0
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +74 -0
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +28 -0
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +21 -0
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +7 -0
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +16 -0
- package/lib/anna-core.module.d.ts +36 -0
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +34 -0
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +70 -0
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +283 -0
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +17 -0
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +141 -0
- package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.d.ts +89 -0
- package/{src/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.ts → lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts} +0 -0
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +45 -0
- package/{src/lib/anna-generic-table-lib/directives/anna-virtual-table/index.ts → lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts} +0 -0
- package/package.json +39 -19
- package/{src/public-api.ts → public-api.d.ts} +0 -28
- package/.browserslistrc +0 -16
- package/karma.conf.js +0 -44
- package/ng-package.json +0 -14
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.html +0 -22
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.html +0 -33
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.ts +0 -28
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.html +0 -20
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.html +0 -3
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.scss +0 -17
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.spec.ts +0 -24
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.ts +0 -20
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.html +0 -23
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.html +0 -15
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.ts +0 -19
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.html +0 -14
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.scss +0 -0
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.spec.ts +0 -25
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.ts +0 -16
- package/src/lib/anna-core-shared-lib/constants/shared.constant.ts +0 -35
- package/src/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.ts +0 -307
- package/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.ts +0 -19
- package/src/lib/anna-core-shared-lib/models/anna-generic-data-type.model.ts +0 -19
- package/src/lib/anna-core-shared-lib/models/anna-manage-users.model.ts +0 -6
- package/src/lib/anna-core-shared-lib/models/anna-sort.model.ts +0 -13
- package/src/lib/anna-core-shared-lib/models/anna-tooltip.model.ts +0 -44
- package/src/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.ts +0 -20
- package/src/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.ts +0 -43
- package/src/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.ts +0 -19
- package/src/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.ts +0 -12
- package/src/lib/anna-core-shared-lib/services/anna-date-time-format.service.ts +0 -219
- package/src/lib/anna-core-shared-lib/services/anna-filter.service.ts +0 -563
- package/src/lib/anna-core-shared-lib/services/anna-generic-table.service.ts +0 -136
- package/src/lib/anna-core-shared-lib/services/anna-global-config.service.ts +0 -170
- package/src/lib/anna-core-shared-lib/services/anna-number-format.service.ts +0 -43
- package/src/lib/anna-core-shared-lib/services/anna-sort.service.ts +0 -179
- package/src/lib/anna-core.module.ts +0 -112
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.html +0 -46
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.scss +0 -153
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.spec.ts +0 -24
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.ts +0 -106
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.html +0 -129
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.scss +0 -275
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.spec.ts +0 -24
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.ts +0 -414
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.html +0 -1080
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.scss +0 -668
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.spec.ts +0 -25
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.ts +0 -2186
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.html +0 -10
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.scss +0 -1
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.spec.ts +0 -24
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.ts +0 -69
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.html +0 -13
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.scss +0 -88
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.spec.ts +0 -25
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.ts +0 -460
- package/src/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.ts +0 -237
- package/src/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.ts +0 -204
- package/src/test.ts +0 -27
- package/tsconfig.lib.json +0 -19
- package/tsconfig.lib.prod.json +0 -10
- package/tsconfig.spec.json +0 -17
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaBuyerApprovalIconTemplateComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaBuyerApprovalIconTemplateComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaBuyerApprovalIconTemplateComponent, "anna-buyer-approval-icon-template", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { GtColumnIconEmittedData } from '../../models/anna-generic-data-type.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AnnaIconColumnComponent implements OnInit {
|
|
5
|
+
componentName: string;
|
|
6
|
+
objectKey: string;
|
|
7
|
+
dataObject: any;
|
|
8
|
+
PfpIconActiveColor: string;
|
|
9
|
+
PfpIconDisableColor: string;
|
|
10
|
+
onColumnIconClicked: EventEmitter<GtColumnIconEmittedData>;
|
|
11
|
+
constructor();
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
svgIconClicked(rowData: any, key: string): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaIconColumnComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaIconColumnComponent, "anna-core-anna-icon-column", never, { "componentName": "componentName"; "objectKey": "objectKey"; "dataObject": "dataObject"; }, { "onColumnIconClicked": "onColumnIconClicked"; }, never, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaLiveIconTemplateComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaLiveIconTemplateComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaLiveIconTemplateComponent, "anna-live-icon-template", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaNoDataComponent implements OnInit {
|
|
4
|
+
width: string;
|
|
5
|
+
marginTop: string;
|
|
6
|
+
message: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNoDataComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNoDataComponent, "anna-core-no-data-lib", never, { "width": "width"; "marginTop": "marginTop"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaNotifyIconTemplateComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNotifyIconTemplateComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaNotifyIconTemplateComponent, "anna-notify-icon-template", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaPayForPerformanceIconTemplateComponent implements OnInit {
|
|
4
|
+
color: string;
|
|
5
|
+
width: string;
|
|
6
|
+
height: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaPayForPerformanceIconTemplateComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaPayForPerformanceIconTemplateComponent, "anna-pay-for-performance-icon-template", never, { "color": "color"; "width": "width"; "height": "height"; }, {}, never, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaRejectedIconTemplateComponent implements OnInit {
|
|
4
|
+
constructor();
|
|
5
|
+
ngOnInit(): void;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaRejectedIconTemplateComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaRejectedIconTemplateComponent, "anna-rejected-icon-template", never, {}, {}, never, never>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export declare class Constants {
|
|
2
|
+
static readonly SUCCESS_STRING = "success";
|
|
3
|
+
static readonly BACKEND_SERVER_URL = "/server/public/index.php/api";
|
|
4
|
+
static readonly ERROR_MSG = "Error occurred please try again.";
|
|
5
|
+
static readonly NO_DATA_MSG = "No Data to display";
|
|
6
|
+
static readonly SERVER_ERROR = "Server error. Please try Again";
|
|
7
|
+
static readonly USER_ORIGIN = "ANNA";
|
|
8
|
+
static readonly ACTIVE_USER_STATUS = "active";
|
|
9
|
+
static readonly DELETED_USER_STATUS = "deleted";
|
|
10
|
+
static readonly INACTIVE_USER_STATUS = "inactive";
|
|
11
|
+
static readonly OGAdminRole = "Ownership Group Admin";
|
|
12
|
+
static readonly ASARole = "Anna Station Admin";
|
|
13
|
+
static readonly dollars = "$";
|
|
14
|
+
}
|
|
15
|
+
export declare class ErrorCodes {
|
|
16
|
+
static readonly BAD_REQUEST = 400;
|
|
17
|
+
static readonly SERVER_ERROR = 500;
|
|
18
|
+
static readonly SUCCESS_CODE = 200;
|
|
19
|
+
static readonly SUCCESS_CODE_GET = 200;
|
|
20
|
+
static readonly SUCCESS_CODE_POST = 201;
|
|
21
|
+
static readonly SUCCESS_CODE_PATCH = 204;
|
|
22
|
+
static readonly NO_CONTENT = 204;
|
|
23
|
+
static readonly under_review = 409;
|
|
24
|
+
}
|
|
25
|
+
export declare enum Days {
|
|
26
|
+
M = 1,
|
|
27
|
+
Tu = 2,
|
|
28
|
+
We = 3,
|
|
29
|
+
Th = 4,
|
|
30
|
+
F = 5,
|
|
31
|
+
Sa = 6,
|
|
32
|
+
Su = 7
|
|
33
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DigitOnlyDirective implements OnChanges {
|
|
4
|
+
el: ElementRef;
|
|
5
|
+
private hasDecimalPoint;
|
|
6
|
+
private hasNegativeSign;
|
|
7
|
+
private navigationKeys;
|
|
8
|
+
decimal: boolean;
|
|
9
|
+
decimalSeparator: string;
|
|
10
|
+
allowNegatives: boolean;
|
|
11
|
+
allowPaste: boolean;
|
|
12
|
+
negativeSign: string;
|
|
13
|
+
min: number;
|
|
14
|
+
max: number;
|
|
15
|
+
pattern?: string | RegExp;
|
|
16
|
+
private regex;
|
|
17
|
+
inputElement: HTMLInputElement;
|
|
18
|
+
constructor(el: ElementRef);
|
|
19
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
20
|
+
onBeforeInput(e: InputEvent): any;
|
|
21
|
+
onKeyDown(e: KeyboardEvent): any;
|
|
22
|
+
onPaste(event: any): void;
|
|
23
|
+
onDrop(event: DragEvent): void;
|
|
24
|
+
private pasteData;
|
|
25
|
+
private insertAtCursor;
|
|
26
|
+
private triggerEvent;
|
|
27
|
+
private sanitizeInput;
|
|
28
|
+
private getNegativeSignRegExp;
|
|
29
|
+
private isValidDecimal;
|
|
30
|
+
private getSelection;
|
|
31
|
+
private forecastValue;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DigitOnlyDirective, never>;
|
|
33
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DigitOnlyDirective, "[digitOnly]", never, { "decimal": "decimal"; "decimalSeparator": "decimalSeparator"; "allowNegatives": "allowNegatives"; "allowPaste": "allowPaste"; "negativeSign": "negativeSign"; "min": "min"; "max": "max"; "pattern": "pattern"; }, {}, never>;
|
|
34
|
+
}
|
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
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface WeekObject {
|
|
2
|
+
startDate: string;
|
|
3
|
+
endDate: string;
|
|
4
|
+
}
|
|
5
|
+
export interface SellerGroupHierarchy {
|
|
6
|
+
inventoryCode: string;
|
|
7
|
+
program: string;
|
|
8
|
+
}
|
|
9
|
+
export interface RatingSellerGroupHierarchy {
|
|
10
|
+
InventoryCode: string;
|
|
11
|
+
Program: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GtColumnIconEmittedData {
|
|
14
|
+
data: any;
|
|
15
|
+
key: string;
|
|
16
|
+
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export interface IRadioButton {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
value: string;
|
|
3
|
+
isDisabled: boolean;
|
|
4
|
+
label: string;
|
|
5
|
+
class: string;
|
|
6
6
|
}
|
|
7
|
-
|
|
8
7
|
export interface IAngular2MultiSelectSettings {
|
|
9
8
|
text: string;
|
|
10
9
|
selectAllText: string;
|
|
@@ -22,7 +21,6 @@ export interface IAngular2MultiSelectSettings {
|
|
|
22
21
|
enableFilterSelectAll: boolean;
|
|
23
22
|
maxHeight: number;
|
|
24
23
|
}
|
|
25
|
-
|
|
26
24
|
export interface INgxAsideSettings {
|
|
27
25
|
title: string;
|
|
28
26
|
cancelButtonTitle: string;
|
|
@@ -32,7 +30,6 @@ export interface INgxAsideSettings {
|
|
|
32
30
|
showDefaultFooter: boolean;
|
|
33
31
|
showDefaultHeader: boolean;
|
|
34
32
|
}
|
|
35
|
-
|
|
36
33
|
export interface INgbDatePickerSettings {
|
|
37
34
|
autoClose: boolean;
|
|
38
35
|
placeholder: string;
|
|
@@ -41,28 +38,23 @@ export interface INgbDatePickerSettings {
|
|
|
41
38
|
showWeekNumbers: boolean;
|
|
42
39
|
readonly: boolean;
|
|
43
40
|
}
|
|
44
|
-
|
|
45
41
|
export interface INgSelectSettings {
|
|
46
42
|
allowClear: boolean;
|
|
47
43
|
placeholder: string;
|
|
48
44
|
}
|
|
49
|
-
|
|
50
45
|
export interface INgxInfiniteScrollSettings {
|
|
51
46
|
infiniteScrollDistance: number;
|
|
52
47
|
infiniteScrollUpDistance: number;
|
|
53
48
|
infiniteScrollThrottle: number;
|
|
54
49
|
scrollWindow: boolean;
|
|
55
50
|
}
|
|
56
|
-
|
|
57
51
|
export interface INgxSkeletonLoaderSettings {
|
|
58
52
|
numberOfSkeletonRows: number[];
|
|
59
53
|
}
|
|
60
|
-
|
|
61
54
|
export interface IRadioButtonComponentConfig {
|
|
62
55
|
heading?: string;
|
|
63
56
|
radioButtons: IRadioButton[];
|
|
64
57
|
}
|
|
65
|
-
|
|
66
58
|
export interface IConfirmationPopupConfig {
|
|
67
59
|
showCancelButton: boolean;
|
|
68
60
|
title: string;
|
|
@@ -75,7 +67,6 @@ export interface IConfirmationPopupConfig {
|
|
|
75
67
|
size: "sm" | "lg";
|
|
76
68
|
keyboard: boolean;
|
|
77
69
|
}
|
|
78
|
-
|
|
79
70
|
export interface IWeekCalendar {
|
|
80
71
|
firstDayOfWeek?: number;
|
|
81
72
|
numberOfMonthsToEnableInPast: number;
|
|
@@ -90,18 +81,15 @@ export interface IWeekCalendar {
|
|
|
90
81
|
showAsDropdown: boolean;
|
|
91
82
|
selectCurrentWeek: boolean;
|
|
92
83
|
}
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
export interface ICustomSingleSelect{
|
|
84
|
+
export interface ICustomSingleSelect {
|
|
96
85
|
showSearchBar: boolean;
|
|
97
86
|
placeholder: string;
|
|
98
87
|
classes: string;
|
|
99
88
|
position: Position;
|
|
100
|
-
maxHeightOfList: number;
|
|
89
|
+
maxHeightOfList: number;
|
|
101
90
|
}
|
|
102
|
-
|
|
103
|
-
export interface ICustomMultiSelect extends ICustomSingleSelect{
|
|
91
|
+
export interface ICustomMultiSelect extends ICustomSingleSelect {
|
|
104
92
|
showErrorWhenNoOptionSelected: boolean;
|
|
105
93
|
}
|
|
106
|
-
|
|
107
|
-
|
|
94
|
+
declare type Position = "TOP" | "BOTTOM";
|
|
95
|
+
export {};
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import { TooltipPosition } from "@angular/material/tooltip";
|
|
2
2
|
import { IWeekCalendar } from "./anna-global-dropdown-config.model";
|
|
3
|
-
|
|
4
3
|
export interface IGtTableHeader {
|
|
5
4
|
headerInfo: IHeaderInfo[];
|
|
6
5
|
visible: boolean;
|
|
7
6
|
width: string;
|
|
8
7
|
}
|
|
9
|
-
|
|
10
8
|
export interface IHeaderInfo {
|
|
11
9
|
name: string;
|
|
12
10
|
objectKey: string;
|
|
@@ -22,28 +20,22 @@ export interface IHeaderInfo {
|
|
|
22
20
|
tooltip?: ITooltip;
|
|
23
21
|
joinedFilterSortObjectKeys?: string;
|
|
24
22
|
}
|
|
25
|
-
|
|
26
|
-
type
|
|
27
|
-
"STRING___ICON_OR_TEXT_ACTION_1" | "STRING___ICON_OR_TEXT_ACTION_2" | "STRING___ICON_OR_TEXT_ACTION_3";
|
|
28
|
-
type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
29
|
-
type TOOLTIPOSITION = "left" | "right";
|
|
30
|
-
|
|
23
|
+
declare type DATATYPE = "CHECKBOX" | "ICON" | "STRING" | "RADIO" | "" | "SVG_ICON" | "TEXT_ACTIONS" | "CLICKABLE_DATA" | "CLICKABLE_DATA_2" | "STRING__TEXT_ACTION" | "STRING__ICON_ACTION" | "STRING___ICON_OR_TEXT_ACTION" | "STRING___ICON_OR_TEXT_ACTION_1" | "STRING___ICON_OR_TEXT_ACTION_2" | "STRING___ICON_OR_TEXT_ACTION_3";
|
|
24
|
+
declare type FILTERTYPE = "CHECKBOX" | "SLIDER" | "DATE" | "TIME" | "WEEK";
|
|
31
25
|
export interface ITotalRowInfo {
|
|
32
26
|
colspan: number;
|
|
33
27
|
data: string;
|
|
34
28
|
lowerData?: string;
|
|
35
29
|
colName: string;
|
|
36
30
|
class?: string;
|
|
37
|
-
tooltipMessage?: string;
|
|
31
|
+
tooltipMessage?: string;
|
|
38
32
|
}
|
|
39
|
-
|
|
40
33
|
export interface IGtHeaderConfig {
|
|
41
34
|
iconColumn: boolean;
|
|
42
35
|
checkboxColumn: boolean;
|
|
43
36
|
lastColumnKeys: string[];
|
|
44
37
|
}
|
|
45
|
-
|
|
46
|
-
export interface IGtGeneralConfig extends ISpotTableConfig{
|
|
38
|
+
export interface IGtGeneralConfig extends ISpotTableConfig {
|
|
47
39
|
component: COMPONENTNAME;
|
|
48
40
|
totalRow: boolean;
|
|
49
41
|
isHeaderChecked?: boolean;
|
|
@@ -56,28 +48,25 @@ export interface IGtGeneralConfig extends ISpotTableConfig{
|
|
|
56
48
|
bufferSize: number;
|
|
57
49
|
page: string;
|
|
58
50
|
}
|
|
59
|
-
|
|
60
|
-
type COMPONENTNAME = "SPOTDETAILS" | "EXCLUDEINVENTORYPOPUP" | "EXCLUDEINVENTORY" | "DRRLISTING" | "DRR" | "" | "RATING" | "ORDER_LISTING_INFLIGHT" | "ORDER_LISTING_COMPLETED" | "ORDER_LISTING_BLANK" | "LUR_VIOLATIONS" | "ACTIVITYLOG";
|
|
51
|
+
declare type COMPONENTNAME = "SPOTDETAILS" | "EXCLUDEINVENTORYPOPUP" | "EXCLUDEINVENTORY" | "DRRLISTING" | "DRR" | "" | "RATING" | "ORDER_LISTING_INFLIGHT" | "ORDER_LISTING_COMPLETED" | "ORDER_LISTING_BLANK" | "LUR_VIOLATIONS" | "ACTIVITYLOG";
|
|
61
52
|
interface ISpotTableConfig {
|
|
62
53
|
isGrouped: boolean;
|
|
63
54
|
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
export interface ITooltip{
|
|
55
|
+
export interface ITooltip {
|
|
67
56
|
iconPosition: TooltipPosition;
|
|
68
57
|
name: string;
|
|
69
58
|
tooltipPosition: string;
|
|
70
59
|
iconClass: string;
|
|
71
60
|
tooltipClass: string;
|
|
72
61
|
}
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
}
|
|
62
|
+
export interface IconData {
|
|
63
|
+
data: any;
|
|
64
|
+
iconClass: string;
|
|
65
|
+
}
|
|
66
|
+
export interface TextAction {
|
|
67
|
+
id: number;
|
|
68
|
+
name: string;
|
|
69
|
+
class: string;
|
|
70
|
+
isDisabled: boolean;
|
|
71
|
+
}
|
|
72
|
+
export {};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare class TooltipModel {
|
|
2
|
+
isSelected: boolean;
|
|
3
|
+
label: string;
|
|
4
|
+
id: number;
|
|
5
|
+
value: string;
|
|
6
|
+
constructor(obj: string, id: number);
|
|
7
|
+
}
|
|
8
|
+
export declare class tooltipModelForColumnLevelFiltering {
|
|
9
|
+
isHidden: boolean;
|
|
10
|
+
isSelected: boolean;
|
|
11
|
+
data: string;
|
|
12
|
+
constructor(data: string);
|
|
13
|
+
}
|
|
14
|
+
export declare class radioButtonModel {
|
|
15
|
+
key: string;
|
|
16
|
+
label: string;
|
|
17
|
+
isSortRequired: boolean;
|
|
18
|
+
isFilterRequired: boolean;
|
|
19
|
+
constructor(key: string, value: string, sort: boolean, filter: boolean);
|
|
20
|
+
}
|
|
21
|
+
export declare enum AllSelectedStatus {
|
|
22
|
+
none = 0,
|
|
23
|
+
allSelected = 1,
|
|
24
|
+
fewSelected = 2
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaConvertZeroOrNullOrUndefinedPipe implements PipeTransform {
|
|
4
|
+
transformer: ((value: any, convertTo: any) => number | string) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(value: any, convertTo: any): number | string;
|
|
6
|
+
replace(value: any, convertTo: any): number | string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaConvertZeroOrNullOrUndefinedPipe, "AnnaConvertZeroOrNullOrUndefined">;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaFilterSearchedTextPipe implements PipeTransform {
|
|
4
|
+
callFilter: ((items: any[], searchText: string, keyName?: any) => any[]) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(items: any[], searchText: any, keyName?: any): any[];
|
|
6
|
+
filter(items: any[], searchText: string, keyName?: any): any[];
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterSearchedTextPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaFilterSearchedTextPipe, "AnnafilterSearchedText">;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PipeTransform } from "@angular/core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaReplaceCharPipe implements PipeTransform {
|
|
4
|
+
converter: ((value: string, from: string, to: string) => string) & import("lodash").MemoizedFunction;
|
|
5
|
+
transform(value: string, charToBeReplaced: string, replaceBy: string): string;
|
|
6
|
+
replace(value: string, from: string, to: string): string;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaReplaceCharPipe, never>;
|
|
8
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaReplaceCharPipe, "annaReplaceChar">;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class AnnaTypeofDataPipe implements PipeTransform {
|
|
4
|
+
transform(value: any): any;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaTypeofDataPipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<AnnaTypeofDataPipe, "AnnatypeofData">;
|
|
7
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { NgbDate } from '@ng-bootstrap/ng-bootstrap';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare type NgbDateType = {
|
|
4
|
+
year: number;
|
|
5
|
+
month: number;
|
|
6
|
+
day: number;
|
|
7
|
+
};
|
|
8
|
+
export declare class AnnaDateTimeFormatService {
|
|
9
|
+
constructor();
|
|
10
|
+
convertToNgbDateStandardFormat(date: any): NgbDateType | NgbDate;
|
|
11
|
+
convertToNgbDate(date: any, parseFormat: any): NgbDateType | NgbDate;
|
|
12
|
+
formatToTwelveHrs(time: any, callRemoveZero: boolean): any;
|
|
13
|
+
convertTotwentyFourHrsFormat(time: any, callAddZero: any): any;
|
|
14
|
+
removeZero(time: any): any;
|
|
15
|
+
addZero(time: any): any;
|
|
16
|
+
sortByTimeAscending(a: any, b: any): number;
|
|
17
|
+
sortByTimeDescending(a: any, b: any): number;
|
|
18
|
+
convertNgbDateToMoment(ngbDate: NgbDate | NgbDateType): string;
|
|
19
|
+
compareDate(a: string, b: string, isAsc: boolean): number;
|
|
20
|
+
static formatTwentyFourHourTimeToHHMMAFormat(value: any, date?: string): string;
|
|
21
|
+
static formatTwelveHourTimeToHHMMAFormat(timeValue: any, date?: string): string;
|
|
22
|
+
formatDateAndHHMMATimeToStandardFormat(dateAndTime: any): string;
|
|
23
|
+
compare(a: number | string, b: number | string, isAsc: boolean): number;
|
|
24
|
+
sortDataByBroadcastTimeAsc(firstParamTime: string, secondParamTime: string, broadcastTime: string): number;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaDateTimeFormatService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaDateTimeFormatService>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { Options } from '@angular-slider/ngx-slider';
|
|
2
|
+
import dayjs from "dayjs";
|
|
3
|
+
import { SortType } from '../models/anna-sort.model';
|
|
4
|
+
import { AnnaDateTimeFormatService, NgbDateType } from './anna-date-time-format.service';
|
|
5
|
+
import { AnnaSortService } from './anna-sort.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class AnnaFilterService {
|
|
8
|
+
private dateTimeFormatService;
|
|
9
|
+
private annaSortService;
|
|
10
|
+
tooltipMap: Map<any, any>;
|
|
11
|
+
tooltipSelectedMap: Map<any, any>;
|
|
12
|
+
initialValueMap: Map<string, any>;
|
|
13
|
+
translateFunc: string;
|
|
14
|
+
selectedRadio: string;
|
|
15
|
+
subRadioButton: string;
|
|
16
|
+
calendarSet: Set<string>;
|
|
17
|
+
sliderSet: Set<string>;
|
|
18
|
+
timeSet: Set<string>;
|
|
19
|
+
includeMultiTime: boolean;
|
|
20
|
+
includeZeroTime: boolean;
|
|
21
|
+
includeTimeRange: boolean;
|
|
22
|
+
appliedFiltersArray: string[];
|
|
23
|
+
flightDateRange: {
|
|
24
|
+
minSelectedDate: any;
|
|
25
|
+
maxSelectedDate: any;
|
|
26
|
+
};
|
|
27
|
+
sliderData: {
|
|
28
|
+
min: any;
|
|
29
|
+
max: any;
|
|
30
|
+
};
|
|
31
|
+
ngxSliderObj: Options;
|
|
32
|
+
sliderCurrencySet: Set<string>;
|
|
33
|
+
static bufferSize: number;
|
|
34
|
+
isFilterSortActive: any;
|
|
35
|
+
resetFilterSortActiveStatus: boolean;
|
|
36
|
+
constructor(dateTimeFormatService: AnnaDateTimeFormatService, annaSortService: AnnaSortService);
|
|
37
|
+
returnMaxAndMinValue(data: any[], key: string, isMin: boolean): any;
|
|
38
|
+
returnMinAndMaxDate(data: any[], key: string): dayjs.Dayjs[];
|
|
39
|
+
isTooltipActive(header: string[], sortMap: Map<string, SortType>): boolean;
|
|
40
|
+
clearColumnFilter(): void;
|
|
41
|
+
setOptionValues(minValue: number, maxValue: number): {
|
|
42
|
+
floor: number;
|
|
43
|
+
ceil: number;
|
|
44
|
+
disabled: boolean;
|
|
45
|
+
translate: (data: number) => string;
|
|
46
|
+
};
|
|
47
|
+
percentTranslateFunction: (data: number) => string;
|
|
48
|
+
currencyTranslateFunction: (data: number) => string;
|
|
49
|
+
normalTranslateFunction: (data: number) => string;
|
|
50
|
+
findUniqueDatesWithData(data: any[]): NgbDateType[];
|
|
51
|
+
reOrderAppliedFiltersArray(isHierarchialUserFiltered: boolean, date?: any): void;
|
|
52
|
+
checkIfDataIsFiltered(isFiltered: boolean, isHierarchialUserFiltered: boolean, date?: any): boolean;
|
|
53
|
+
removeOrChangeLatestFilterIndex(isFiltered: boolean): void;
|
|
54
|
+
filterData(originalData: any[], keyToSkip: string): any[];
|
|
55
|
+
returnOrdersInTheRange(order: any, range: any, key: any): boolean;
|
|
56
|
+
returnDataForTimeRange(obj: any, selectedData: any): boolean;
|
|
57
|
+
returnDataForFromAndToTimeRange(obj: any, selectedData: any, key: any): boolean;
|
|
58
|
+
returnDataForStartAndEndTimeRange(obj: any, selectedData: any, key: string): boolean;
|
|
59
|
+
getDataInTheDateRange(obj: any, value: any, key: any): any;
|
|
60
|
+
initializeTimeFilterData(clonedData: any[], key?: string): void;
|
|
61
|
+
returnColumnFilterStatus(data: any[], headerName: string | number): boolean;
|
|
62
|
+
getFilterOptionsData(data: any[], clonedData: any[], key?: string): any[];
|
|
63
|
+
reOrderAppliedFiltersState(clonedData: any[], value: any): boolean;
|
|
64
|
+
checkIfFilterIsApplied(clonedData: any[], value: any): boolean;
|
|
65
|
+
applyFilter(data: any[], value: any): any[];
|
|
66
|
+
isObjectInTheRange(obj: any, value: {
|
|
67
|
+
fromDate: dayjs.Dayjs;
|
|
68
|
+
toDate: dayjs.Dayjs;
|
|
69
|
+
}, key: string): boolean;
|
|
70
|
+
updateStateOfTheCurrentFilterTab(sortMap: Map<string, SortType>): void;
|
|
71
|
+
updateStateOfAllTheKeys(sortMap: Map<string, SortType>): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaFilterService, never>;
|
|
73
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaFilterService>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
|
+
import { Subject } from "rxjs";
|
|
3
|
+
import { AnnaFilterService } from "./anna-filter.service";
|
|
4
|
+
import { AnnaSortService } from "./anna-sort.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class AnnaGtHelperService {
|
|
7
|
+
private annaFilterService;
|
|
8
|
+
private router;
|
|
9
|
+
private route;
|
|
10
|
+
private annaSortService;
|
|
11
|
+
virtualScrollSubject: Subject<unknown>;
|
|
12
|
+
constructor(annaFilterService: AnnaFilterService, router: Router, route: ActivatedRoute, annaSortService: AnnaSortService);
|
|
13
|
+
calculateNumberOfSkeletonColumnsForTable(tableHeaders: any[]): number[][];
|
|
14
|
+
initColumnFilterAndSorting(): void;
|
|
15
|
+
enableOrDisableClearAllBtn(): boolean;
|
|
16
|
+
updateFiltersInURL(): void;
|
|
17
|
+
prepareQueryParamsOnFilter(): {
|
|
18
|
+
appliedFilters: string[];
|
|
19
|
+
selectedFilterData: string;
|
|
20
|
+
sortState: string;
|
|
21
|
+
};
|
|
22
|
+
initTableFilters(clonedTableData: any): void;
|
|
23
|
+
initFilters(): void;
|
|
24
|
+
setDataAsPerPersistingFilter(isPersistingFilter: boolean, clonedTable: any, filters: any): any;
|
|
25
|
+
callSort(usersTable: any): any;
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGtHelperService, never>;
|
|
27
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGtHelperService>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { IAngular2MultiSelectSettings, INgxAsideSettings, INgbDatePickerSettings, INgSelectSettings, INgxInfiniteScrollSettings, INgxSkeletonLoaderSettings, IRadioButtonComponentConfig, IConfirmationPopupConfig, IWeekCalendar, ICustomSingleSelect, ICustomMultiSelect } from "../models/anna-global-dropdown-config.model";
|
|
2
|
+
import { IGtHeaderConfig, IGtGeneralConfig } from "../models/anna-non-editable-gt-models";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class AnnaGlobalConfigService {
|
|
5
|
+
readonly defaultAngular2MultiSelectSettings: IAngular2MultiSelectSettings;
|
|
6
|
+
readonly defaultNgxAsideSettings: INgxAsideSettings;
|
|
7
|
+
readonly defaultNgbDatePickerSettings: INgbDatePickerSettings;
|
|
8
|
+
readonly defaultNgSelectSettings: INgSelectSettings;
|
|
9
|
+
readonly defaultNgxInfiniteScrollSettings: INgxInfiniteScrollSettings;
|
|
10
|
+
readonly defaultNgxSkeletonLoaderSettings: INgxSkeletonLoaderSettings;
|
|
11
|
+
readonly defaultRadioButtonsComponentConfig: IRadioButtonComponentConfig;
|
|
12
|
+
readonly defaultConfirmationPopupConfig: IConfirmationPopupConfig;
|
|
13
|
+
readonly defaultWeekCalendarConfig: IWeekCalendar;
|
|
14
|
+
readonly defaultGtHeaderConfig: IGtHeaderConfig;
|
|
15
|
+
readonly defaultGtGeneralConfig: IGtGeneralConfig;
|
|
16
|
+
readonly defaultSingleSelectConfig: ICustomSingleSelect;
|
|
17
|
+
readonly defaultMultiSelectConfig: ICustomMultiSelect;
|
|
18
|
+
constructor();
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaGlobalConfigService, never>;
|
|
20
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaGlobalConfigService>;
|
|
21
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class AnnaNumberFormatService {
|
|
3
|
+
static GetRoundedValueWithUnits(inputValue: number, digitsToRoundDecimalPoint?: number): string;
|
|
4
|
+
static GetValueInUnits(inputValue: number): (string | number)[];
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaNumberFormatService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaNumberFormatService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Subject } from 'rxjs';
|
|
2
|
+
import { SortType } from '../models/anna-sort.model';
|
|
3
|
+
import { AnnaDateTimeFormatService } from './anna-date-time-format.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class AnnaSortService {
|
|
6
|
+
private annaDateTimeFormatService;
|
|
7
|
+
columnSortState: Map<string, SortType>;
|
|
8
|
+
noSortingAppliedData: any[];
|
|
9
|
+
updateSortTypeSubject: Subject<string>;
|
|
10
|
+
dateSet: Set<string>;
|
|
11
|
+
constructor(annaDateTimeFormatService: AnnaDateTimeFormatService);
|
|
12
|
+
sortDataForComponentOtherThanLurAndCsrPage(isAsc: boolean, data: any[], key: string): any[];
|
|
13
|
+
sortEnterEditLurAndCsrPage(isAsc: boolean, data: any[], key: any): any[];
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaSortService, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<AnnaSortService>;
|
|
16
|
+
}
|