@annalib/anna-core 7.2.3 → 7.2.4
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/.browserslistrc +16 -0
- package/karma.conf.js +44 -0
- package/ng-package.json +14 -0
- package/package.json +19 -39
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.html +22 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.ts +16 -0
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.html +33 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.ts +28 -0
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.html +20 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.ts +16 -0
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.html +3 -0
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.scss +17 -0
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.spec.ts +24 -0
- package/src/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.ts +20 -0
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.html +23 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.ts +16 -0
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.html +15 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.ts +19 -0
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.html +14 -0
- 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 +25 -0
- package/src/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.ts +16 -0
- package/src/lib/anna-core-shared-lib/constants/shared.constant.ts +35 -0
- package/src/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.ts +307 -0
- package/src/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.ts +19 -0
- package/src/lib/anna-core-shared-lib/models/anna-generic-data-type.model.ts +19 -0
- package/{lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts → src/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.ts} +21 -9
- package/src/lib/anna-core-shared-lib/models/anna-manage-users.model.ts +6 -0
- package/{lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts → src/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.ts} +28 -17
- package/src/lib/anna-core-shared-lib/models/anna-sort.model.ts +13 -0
- package/src/lib/anna-core-shared-lib/models/anna-tooltip.model.ts +44 -0
- package/src/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.ts +20 -0
- package/src/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.ts +43 -0
- package/src/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.ts +19 -0
- package/src/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.ts +12 -0
- package/src/lib/anna-core-shared-lib/services/anna-date-time-format.service.ts +219 -0
- package/src/lib/anna-core-shared-lib/services/anna-filter.service.ts +563 -0
- package/src/lib/anna-core-shared-lib/services/anna-generic-table.service.ts +136 -0
- package/src/lib/anna-core-shared-lib/services/anna-global-config.service.ts +170 -0
- package/src/lib/anna-core-shared-lib/services/anna-number-format.service.ts +43 -0
- package/src/lib/anna-core-shared-lib/services/anna-sort.service.ts +179 -0
- package/src/lib/anna-core.module.ts +112 -0
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.html +46 -0
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.scss +153 -0
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.spec.ts +24 -0
- package/src/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.ts +106 -0
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.html +129 -0
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.scss +275 -0
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.spec.ts +24 -0
- package/src/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.ts +414 -0
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.html +1080 -0
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.scss +668 -0
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.spec.ts +25 -0
- package/src/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.ts +2186 -0
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.html +10 -0
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.scss +1 -0
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.spec.ts +24 -0
- package/src/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.ts +69 -0
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.html +13 -0
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.scss +88 -0
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.spec.ts +25 -0
- package/src/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.ts +460 -0
- 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 +237 -0
- package/{lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts → src/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.ts} +0 -0
- package/src/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.ts +204 -0
- package/{lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts → src/lib/anna-generic-table-lib/directives/anna-virtual-table/index.ts} +0 -0
- package/{public-api.d.ts → src/public-api.ts} +28 -0
- package/src/test.ts +27 -0
- package/tsconfig.lib.json +19 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +17 -0
- package/annalib-anna-core.d.ts +0 -5
- package/esm2020/annalib-anna-core.mjs +0 -5
- package/esm2020/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +0 -35
- package/esm2020/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +0 -22
- package/esm2020/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +0 -21
- package/esm2020/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +0 -15
- package/esm2020/lib/anna-core-shared-lib/constants/shared.constant.mjs +0 -35
- package/esm2020/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +0 -282
- package/esm2020/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +0 -27
- package/esm2020/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +0 -2
- package/esm2020/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +0 -2
- package/esm2020/lib/anna-core-shared-lib/models/anna-manage-users.model.mjs +0 -8
- package/esm2020/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +0 -2
- package/esm2020/lib/anna-core-shared-lib/models/anna-sort.model.mjs +0 -7
- package/esm2020/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +0 -30
- package/esm2020/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +0 -26
- package/esm2020/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +0 -46
- package/esm2020/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +0 -25
- package/esm2020/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +0 -16
- package/esm2020/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +0 -199
- package/esm2020/lib/anna-core-shared-lib/services/anna-filter.service.mjs +0 -469
- package/esm2020/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +0 -124
- package/esm2020/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +0 -133
- package/esm2020/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +0 -41
- package/esm2020/lib/anna-core-shared-lib/services/anna-sort.service.mjs +0 -147
- package/esm2020/lib/anna-core.module.mjs +0 -180
- package/esm2020/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +0 -101
- package/esm2020/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +0 -364
- package/esm2020/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +0 -1834
- package/esm2020/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +0 -69
- package/esm2020/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +0 -357
- 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 +0 -189
- package/esm2020/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +0 -2
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +0 -178
- package/esm2020/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +0 -2
- package/esm2020/public-api.mjs +0 -50
- package/fesm2015/annalib-anna-core.mjs +0 -4875
- package/fesm2015/annalib-anna-core.mjs.map +0 -1
- package/fesm2020/annalib-anna-core.mjs +0 -4868
- package/fesm2020/annalib-anna-core.mjs.map +0 -1
- package/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.d.ts +0 -8
- package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts +0 -16
- package/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.d.ts +0 -8
- package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +0 -11
- package/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.d.ts +0 -8
- package/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.d.ts +0 -11
- package/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.d.ts +0 -8
- package/lib/anna-core-shared-lib/constants/shared.constant.d.ts +0 -33
- package/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.d.ts +0 -34
- package/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.d.ts +0 -9
- package/lib/anna-core-shared-lib/models/anna-generic-data-type.model.d.ts +0 -16
- package/lib/anna-core-shared-lib/models/anna-manage-users.model.d.ts +0 -6
- package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +0 -11
- package/lib/anna-core-shared-lib/models/anna-tooltip.model.d.ts +0 -25
- package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +0 -9
- package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +0 -9
- package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +0 -9
- package/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.d.ts +0 -7
- package/lib/anna-core-shared-lib/services/anna-date-time-format.service.d.ts +0 -27
- package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +0 -74
- package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +0 -28
- package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +0 -21
- package/lib/anna-core-shared-lib/services/anna-number-format.service.d.ts +0 -7
- package/lib/anna-core-shared-lib/services/anna-sort.service.d.ts +0 -16
- package/lib/anna-core.module.d.ts +0 -36
- package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +0 -34
- package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +0 -70
- package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +0 -283
- package/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.d.ts +0 -17
- package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +0 -141
- 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 +0 -89
- package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +0 -45
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
package/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
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
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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,25 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,74 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,16 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "./anna-core-shared-lib/components/anna-no-data/anna-no-data.component";
|
|
3
|
-
import * as i2 from "./anna-core-shared-lib/pipes/annaFilterSearchedText.pipe";
|
|
4
|
-
import * as i3 from "./anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe";
|
|
5
|
-
import * as i4 from "./anna-core-shared-lib/pipes/annaTypeOfData.pipe";
|
|
6
|
-
import * as i5 from "./anna-core-shared-lib/pipes/annaReplaceChar.pipe";
|
|
7
|
-
import * as i6 from "./anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component";
|
|
8
|
-
import * as i7 from "./anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component";
|
|
9
|
-
import * as i8 from "./anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component";
|
|
10
|
-
import * as i9 from "./anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component";
|
|
11
|
-
import * as i10 from "./anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component";
|
|
12
|
-
import * as i11 from "./anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive";
|
|
13
|
-
import * as i12 from "./anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component";
|
|
14
|
-
import * as i13 from "./anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component";
|
|
15
|
-
import * as i14 from "./anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component";
|
|
16
|
-
import * as i15 from "./anna-generic-table-lib/components/anna-sort/anna-sort.component";
|
|
17
|
-
import * as i16 from "./anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive";
|
|
18
|
-
import * as i17 from "./anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component";
|
|
19
|
-
import * as i18 from "./anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component";
|
|
20
|
-
import * as i19 from "./anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive";
|
|
21
|
-
import * as i20 from "./anna-core-shared-lib/directives/digits-only/digits-only.directive";
|
|
22
|
-
import * as i21 from "@angular/common";
|
|
23
|
-
import * as i22 from "@ng-bootstrap/ng-bootstrap";
|
|
24
|
-
import * as i23 from "@angular/forms";
|
|
25
|
-
import * as i24 from "@angular/material/radio";
|
|
26
|
-
import * as i25 from "@angular/material/button-toggle";
|
|
27
|
-
import * as i26 from "@angular/material/table";
|
|
28
|
-
import * as i27 from "@angular-slider/ngx-slider";
|
|
29
|
-
import * as i28 from "ngx-skeleton-loader";
|
|
30
|
-
import * as i29 from "@angular/cdk/scrolling";
|
|
31
|
-
import * as i30 from "ng-circle-progress";
|
|
32
|
-
export declare class AnnaCoreModule {
|
|
33
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCoreModule, never>;
|
|
34
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<AnnaCoreModule, [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i5.AnnaReplaceCharPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective], [typeof i21.CommonModule, typeof i22.NgbModule, typeof i23.FormsModule, typeof i24.MatRadioModule, typeof i25.MatButtonToggleModule, typeof i26.MatTableModule, typeof i27.NgxSliderModule, typeof i28.NgxSkeletonLoaderModule, typeof i29.ScrollingModule, typeof i30.NgCircleProgressModule], [typeof i1.AnnaNoDataComponent, typeof i2.AnnaFilterSearchedTextPipe, typeof i3.AnnaConvertZeroOrNullOrUndefinedPipe, typeof i4.AnnaTypeofDataPipe, typeof i5.AnnaReplaceCharPipe, typeof i2.AnnaFilterSearchedTextPipe, typeof i6.AnnaBuyerApprovalIconTemplateComponent, typeof i7.AnnaLiveIconTemplateComponent, typeof i8.AnnaNotifyIconTemplateComponent, typeof i9.AnnaPayForPerformanceIconTemplateComponent, typeof i10.AnnaRejectedIconTemplateComponent, typeof i11.showEllipsisTextOnHoverDirective, typeof i12.AnnaIconColumnComponent, typeof i13.AnnaWeekCalendarComponent, typeof i14.AnnaCalendarFilterComponent, typeof i15.AnnaSortComponent, typeof i16.AnnaVirtualTableDirective, typeof i17.AnnaNonEditableGenericTableComponent, typeof i18.AnnaTableVirtualScrollViewportComponent, typeof i19.AnnaFixedRowSizeTableVirtualScrollStrategyDirective, typeof i20.DigitOnlyDirective]>;
|
|
35
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<AnnaCoreModule>;
|
|
36
|
-
}
|
package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
-
import { NgbDate, NgbDatepickerConfig } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
-
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class AnnaCalendarFilterComponent implements OnInit, OnChanges {
|
|
6
|
-
private annaTimeService;
|
|
7
|
-
private datePickerConfig;
|
|
8
|
-
maxDate: any;
|
|
9
|
-
label: string;
|
|
10
|
-
minDate: any;
|
|
11
|
-
selectedDate: EventEmitter<any>;
|
|
12
|
-
selectedFromDate: any;
|
|
13
|
-
selectedToDate: any;
|
|
14
|
-
apply: EventEmitter<any>;
|
|
15
|
-
cancel: EventEmitter<any>;
|
|
16
|
-
fromDate: any;
|
|
17
|
-
toDate: any;
|
|
18
|
-
hoveredDate: any;
|
|
19
|
-
disableApplyBtn: boolean;
|
|
20
|
-
dateToBeShownInInput: string;
|
|
21
|
-
constructor(annaTimeService: AnnaDateTimeFormatService, datePickerConfig: NgbDatepickerConfig);
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
ngOnInit(): void;
|
|
24
|
-
onDateSelection(date: NgbDate): void;
|
|
25
|
-
isHovered(date: NgbDate): boolean;
|
|
26
|
-
isInside(date: NgbDate): boolean;
|
|
27
|
-
isRange(date: NgbDate): boolean;
|
|
28
|
-
cancelSelection(): void;
|
|
29
|
-
applySelection(): void;
|
|
30
|
-
disableCalendarApplyBtn(): void;
|
|
31
|
-
setInputText(): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaCalendarFilterComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaCalendarFilterComponent, "anna-core-calendar-filter-lib", never, { "maxDate": "maxDate"; "label": "label"; "minDate": "minDate"; "selectedFromDate": "selectedFromDate"; "selectedToDate": "selectedToDate"; }, { "selectedDate": "selectedDate"; "apply": "apply"; "cancel": "cancel"; }, never, never>;
|
|
34
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { DatePipe } from "@angular/common";
|
|
2
|
-
import { AfterViewInit, EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
3
|
-
import { NgbCalendar, NgbDate, NgbDatepickerConfig, NgbDateStruct, NgbInputDatepicker } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
-
import { WeekObject } from '../../../anna-core-shared-lib/models/anna-generic-data-type.model';
|
|
5
|
-
import { IWeekCalendar } from '../../../anna-core-shared-lib/models/anna-global-dropdown-config.model';
|
|
6
|
-
import { AnnaDateTimeFormatService } from '../../../anna-core-shared-lib/services/anna-date-time-format.service';
|
|
7
|
-
import { AnnaGlobalConfigService } from '../../../anna-core-shared-lib/services/anna-global-config.service';
|
|
8
|
-
import * as i0 from "@angular/core";
|
|
9
|
-
export declare class AnnaWeekCalendarComponent implements OnInit, OnChanges, AfterViewInit {
|
|
10
|
-
private calendar;
|
|
11
|
-
private datePickerConfig;
|
|
12
|
-
private annaDateTimeFormatService;
|
|
13
|
-
private globalConfigService;
|
|
14
|
-
fromDate: NgbDate | null;
|
|
15
|
-
hoveredDate: NgbDate | null;
|
|
16
|
-
toDate: NgbDate | null;
|
|
17
|
-
today: NgbDate;
|
|
18
|
-
model: NgbDateStruct;
|
|
19
|
-
weekNumbers: string[];
|
|
20
|
-
pipe: DatePipe;
|
|
21
|
-
dateToDisplay: string;
|
|
22
|
-
weekObjects: WeekObject[];
|
|
23
|
-
multiSelectDropdownOpen: boolean;
|
|
24
|
-
datepicker: NgbInputDatepicker;
|
|
25
|
-
private formatter;
|
|
26
|
-
formattedStartDate: string;
|
|
27
|
-
formattedEndDate: string;
|
|
28
|
-
private calendarMap;
|
|
29
|
-
private flag1;
|
|
30
|
-
private flag2;
|
|
31
|
-
selectedFromDate: NgbDateStruct;
|
|
32
|
-
selectedEndDate: NgbDateStruct;
|
|
33
|
-
disabledDates: NgbDate[];
|
|
34
|
-
maxDate: any;
|
|
35
|
-
minDate: any;
|
|
36
|
-
disabledFunc: any;
|
|
37
|
-
state: any;
|
|
38
|
-
private _defaultValues;
|
|
39
|
-
config: IWeekCalendar;
|
|
40
|
-
applyWeekCalendarChanges: EventEmitter<any>;
|
|
41
|
-
calendarToggled: EventEmitter<any>;
|
|
42
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
-
constructor(calendar: NgbCalendar, datePickerConfig: NgbDatepickerConfig, annaDateTimeFormatService: AnnaDateTimeFormatService, globalConfigService: AnnaGlobalConfigService);
|
|
44
|
-
getWeekNumber(week: any, firstDayOfWeek: any): number;
|
|
45
|
-
ngAfterViewInit(): void;
|
|
46
|
-
ngOnInit(): void;
|
|
47
|
-
initializeWeekData(): void;
|
|
48
|
-
selectWeek(date: NgbDate): void;
|
|
49
|
-
weekNumberGenerator(): void;
|
|
50
|
-
selectedDates(dates: any): void;
|
|
51
|
-
formattedDates(): (fromDate: NgbDate, toDate: NgbDate) => this;
|
|
52
|
-
displayToUI(): void;
|
|
53
|
-
constructStartDate(date: Date): (constructDate: any) => any;
|
|
54
|
-
constructEndDate(date: Date): (constructDate: any) => any;
|
|
55
|
-
buildDate(date: Date): (number: number) => NgbDate | null;
|
|
56
|
-
isHovered(date: NgbDate): boolean | null;
|
|
57
|
-
isInside(date: NgbDate): boolean | null;
|
|
58
|
-
isRange(date: NgbDate): boolean | null;
|
|
59
|
-
previousWeek(): void;
|
|
60
|
-
nextWeek(): void;
|
|
61
|
-
setCalendarMap(): void;
|
|
62
|
-
applyChanges(): void;
|
|
63
|
-
isFocused(value: any): void;
|
|
64
|
-
isDropdownOpenedForCalendar(datepicker: NgbInputDatepicker): void;
|
|
65
|
-
revertDates(): void;
|
|
66
|
-
checkIfDateIsDisabled(date: any): boolean;
|
|
67
|
-
closeDatepicker(datepickerRef: any): void;
|
|
68
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AnnaWeekCalendarComponent, never>;
|
|
69
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AnnaWeekCalendarComponent, "anna-core-week-calendar-filter-lib", never, { "selectedFromDate": "from-date"; "selectedEndDate": "to-date"; "disabledDates": "disabled-dates"; "maxDate": "maxDate"; "minDate": "minDate"; "config": "week-calendar-config"; }, { "applyWeekCalendarChanges": "apply"; "calendarToggled": "toggle-calendar"; }, never, never>;
|
|
70
|
-
}
|