@annalib/anna-feature-spots-approval 0.0.2
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/README.md +63 -0
- package/anna-feature-shared-lib/index.d.ts +5 -0
- package/anna-feature-shared-lib/public-api.d.ts +16 -0
- package/anna-feature-shared-lib/src/biz-rules/constants/generic-business-rule-page.constants.d.ts +5 -0
- package/anna-feature-shared-lib/src/biz-rules/models/generic-business-rule-history-popup.model.d.ts +10 -0
- package/anna-feature-shared-lib/src/biz-rules/services/generic-business-rule-common-SI-BI-logic.service.d.ts +20 -0
- package/anna-feature-shared-lib/src/constants/generic-feature-related-constants.d.ts +3 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/components/action-comments-popup/action-comments-popup.component.d.ts +35 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/components/offer-rejection-popup/offer-rejection-popup.component.d.ts +44 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-daily-revision-listing.model.d.ts +64 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-offers-awaiting-approval.model.d.ts +36 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-todays-anna-offers-listing.model.d.ts +34 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/generic-todays-user-offers-listing.model.d.ts +39 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/models/spot-approval-generic.model.d.ts +12 -0
- package/anna-feature-shared-lib/src/daily-revision-listing/services/generic-daily-revision-listing.service.d.ts +12 -0
- package/anna-feature-shared-lib/src/generic-primary-order-panel/models/generic-primary-order-panel.model.d.ts +5 -0
- package/anna-feature-shared-lib/src/generic-primary-order-panel/services/generic-primary-order-panel.service.d.ts +13 -0
- package/anna-feature-shared-lib/src/order-listing/constants/generic-order-listing.constant.d.ts +18 -0
- package/anna-feature-shared-lib/src/spot-approval/models/spot-approval-generic-in-feature-shared-lib.model.d.ts +7 -0
- package/anna-feature-shared-lib/src/spot-approval/services/spot-approval-generic-in-feature-shared-lib.service.d.ts +14 -0
- package/drr-listing/index.d.ts +5 -0
- package/drr-listing/public-api.d.ts +8 -0
- package/drr-listing/src/daily-revision-filter-modal/config/daily-revision-listing-backend-service.token.d.ts +10 -0
- package/drr-listing/src/daily-revision-filter-modal/daily-revision-filter-modal.component.d.ts +89 -0
- package/drr-listing/src/daily-revision-filter-modal/models/daily-revision-filter-modal.model.d.ts +41 -0
- package/drr-listing/src/daily-revision-listing/config/daily-revision-listing-backend-service.token.d.ts +18 -0
- package/drr-listing/src/daily-revision-listing/constants/daily-revision-listing.constant.d.ts +80 -0
- package/drr-listing/src/daily-revision-listing/constants/orders.constant.d.ts +69 -0
- package/drr-listing/src/daily-revision-listing/daily-revision-listing.component.d.ts +154 -0
- package/drr-listing/src/daily-revision-listing/models/daily-revision-listing.model.d.ts +33 -0
- package/drr-listing/src/daily-revision-listing/services/daily-revision-listing.service.d.ts +25 -0
- package/fesm2022/annalib-anna-feature-spots-approval-anna-feature-shared-lib.mjs +670 -0
- package/fesm2022/annalib-anna-feature-spots-approval-anna-feature-shared-lib.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-drr-listing.mjs +2844 -0
- package/fesm2022/annalib-anna-feature-spots-approval-drr-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spot-approval-shared-lib.mjs +112 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spot-approval-shared-lib.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spots-approval.mjs +12115 -0
- package/fesm2022/annalib-anna-feature-spots-approval-spots-approval.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-all-offers-listing.mjs +1369 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-all-offers-listing.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-spot-approval-seller-or-buyer-revision.mjs +1223 -0
- package/fesm2022/annalib-anna-feature-spots-approval-src-lib-spot-approval-seller-or-buyer-revision.mjs.map +1 -0
- package/fesm2022/annalib-anna-feature-spots-approval.mjs +88 -0
- package/fesm2022/annalib-anna-feature-spots-approval.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/anna-feature-spots-approval.module.d.ts +20 -0
- package/package.json +57 -0
- package/public-api.d.ts +1 -0
- package/spot-approval-shared-lib/index.d.ts +5 -0
- package/spot-approval-shared-lib/public-api.d.ts +2 -0
- package/spot-approval-shared-lib/src/revision-offer-status-progress-view/revision-offer-status-progress-view.component.d.ts +19 -0
- package/spot-approval-shared-lib/src/revision-summary-panel/revision-summary-panel.component.d.ts +21 -0
- package/spots-approval/index.d.ts +5 -0
- package/spots-approval/public-api.d.ts +21 -0
- package/spots-approval/src/add-os-spots-popup/add-os-spots-popup.component.d.ts +59 -0
- package/spots-approval/src/anna-revision/anna-revision.component.d.ts +551 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/badly-behaved-spot-details-popup.component.d.ts +38 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/models/badly-behaved-spot-details-popup.model.d.ts +15 -0
- package/spots-approval/src/badly-behaved-spot-details-popup/services/badly-behaved-spot-details-popup.service.d.ts +7 -0
- package/spots-approval/src/cancel-offers-popup/cancel-offers-popup.component.d.ts +36 -0
- package/spots-approval/src/config/spots-approval-backend-service.token.d.ts +30 -0
- package/spots-approval/src/constants/create-or-edit-offers.constant.d.ts +44 -0
- package/spots-approval/src/constants/spots-approval.constant.d.ts +129 -0
- package/spots-approval/src/create-or-edit-adu-or-bonus/create-or-edit-adu-or-bonus.component.d.ts +214 -0
- package/spots-approval/src/create-or-edit-offers-popup/create-or-edit-offers-popup.component.d.ts +333 -0
- package/spots-approval/src/credit-confirmation-table-popup/credit-confirmation-table-popup.component.d.ts +72 -0
- package/spots-approval/src/models/anna-revisions-backend.model.d.ts +325 -0
- package/spots-approval/src/models/anna-revisions-enums.model.d.ts +53 -0
- package/spots-approval/src/models/anna-revisions-response.model.d.ts +355 -0
- package/spots-approval/src/models/anna-revisions-total-rows.model.d.ts +124 -0
- package/spots-approval/src/models/create-or-edit-offer-total-rows.model.d.ts +73 -0
- package/spots-approval/src/models/create-or-edit-offers-popup.model.d.ts +384 -0
- package/spots-approval/src/models/order-revision-detail.model.d.ts +156 -0
- package/spots-approval/src/offered-mg-edit-table/offered-mg-edit-table.component.d.ts +74 -0
- package/spots-approval/src/other-spots-edit-table/other-spots-edit-table.component.d.ts +44 -0
- package/spots-approval/src/political-rate-warning-popup/political-rate-warning-popup.component.d.ts +26 -0
- package/spots-approval/src/revision-header/revision-header.component.d.ts +21 -0
- package/spots-approval/src/revision-summary/revision-summary.component.d.ts +22 -0
- package/spots-approval/src/select-spot-length-popup/select-spot-length-popup.component.d.ts +37 -0
- package/spots-approval/src/services/create-or-edit-offers-popup.service.d.ts +25 -0
- package/spots-approval/src/services/generic-spots-approval.service.d.ts +99 -0
- package/spots-approval/src/services/spots-approval.service.d.ts +81 -0
- package/spots-approval/src/spot-details-popup/spot-details-popup.component.d.ts +57 -0
- package/src/lib/all-offers-listing/index.d.ts +5 -0
- package/src/lib/all-offers-listing/public-api.d.ts +6 -0
- package/src/lib/all-offers-listing/src/all-offers-listing.component.d.ts +162 -0
- package/src/lib/all-offers-listing/src/configs/all-offers-listing-backend.token.d.ts +11 -0
- package/src/lib/all-offers-listing/src/models/all-offers-filter.model.d.ts +12 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing-backend.model.d.ts +88 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing.constant.d.ts +84 -0
- package/src/lib/all-offers-listing/src/models/all-offers-listing.model.d.ts +95 -0
- package/src/lib/all-offers-listing/src/services/all-offers-listing.service.d.ts +25 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/index.d.ts +5 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/public-api.d.ts +6 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-additional-data.model.d.ts +73 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-backend.model.d.ts +57 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-response.model.d.ts +117 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision-total-row.model.d.ts +29 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision.constant.d.ts +13 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/models/seller-or-buyer-revision.token.d.ts +14 -0
- package/src/lib/spot-approval-seller-or-buyer-revision/src/seller-or-buyer-revision/seller-or-buyer-revision.component.d.ts +128 -0
package/README.md
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AnnaFeatureSpotsApproval
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 19.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build anna-feature-spots-approval
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
```bash
|
|
35
|
+
cd dist/anna-feature-spots-approval
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
39
|
+
```bash
|
|
40
|
+
npm publish
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Running unit tests
|
|
44
|
+
|
|
45
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
46
|
+
|
|
47
|
+
```bash
|
|
48
|
+
ng test
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Running end-to-end tests
|
|
52
|
+
|
|
53
|
+
For end-to-end (e2e) testing, run:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
ng e2e
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
60
|
+
|
|
61
|
+
## Additional Resources
|
|
62
|
+
|
|
63
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export * from "./src/biz-rules/constants/generic-business-rule-page.constants";
|
|
2
|
+
export * from "./src/biz-rules/models/generic-business-rule-history-popup.model";
|
|
3
|
+
export * from "./src/biz-rules/services/generic-business-rule-common-SI-BI-logic.service";
|
|
4
|
+
export * from "./src/generic-primary-order-panel/models/generic-primary-order-panel.model";
|
|
5
|
+
export * from "./src/generic-primary-order-panel/services/generic-primary-order-panel.service";
|
|
6
|
+
export * from "./src/daily-revision-listing/models/generic-daily-revision-listing.model";
|
|
7
|
+
export * from "./src/daily-revision-listing/models/generic-offers-awaiting-approval.model";
|
|
8
|
+
export * from "./src/daily-revision-listing/models/generic-todays-anna-offers-listing.model";
|
|
9
|
+
export * from "./src/daily-revision-listing/models/generic-todays-user-offers-listing.model";
|
|
10
|
+
export * from "./src/daily-revision-listing/services/generic-daily-revision-listing.service";
|
|
11
|
+
export * from "./src/order-listing/constants/generic-order-listing.constant";
|
|
12
|
+
export * from "./src/daily-revision-listing/components/action-comments-popup/action-comments-popup.component";
|
|
13
|
+
export * from "./src/daily-revision-listing/components/offer-rejection-popup/offer-rejection-popup.component";
|
|
14
|
+
export * from "./src/spot-approval/models/spot-approval-generic-in-feature-shared-lib.model";
|
|
15
|
+
export * from "./src/spot-approval/services/spot-approval-generic-in-feature-shared-lib.service";
|
|
16
|
+
export * from "./src/constants/generic-feature-related-constants";
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Subject } from "rxjs";
|
|
2
|
+
import { BuyerContactInfo } from "../models/generic-business-rule-history-popup.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class GenericBusinessRuleCommonSIBILogicService {
|
|
5
|
+
stationIdFilterFromUrlForStationBizTab: any;
|
|
6
|
+
filtersFromTheUrlForAdvertiserBizTab: any;
|
|
7
|
+
stationIdfiltersFromTheUrlForAdvertiserBizTab: any;
|
|
8
|
+
popupFiltersFromTheUrlForAdvertiserBizTab: any;
|
|
9
|
+
filtersFromTheUrlForOrderBizTab: any;
|
|
10
|
+
popupfiltersFromTheUrlForOrderBizTab: any;
|
|
11
|
+
buyerDetailsChanged$: Subject<{
|
|
12
|
+
primaryBuyer: BuyerContactInfo;
|
|
13
|
+
secondaryBuyer: BuyerContactInfo;
|
|
14
|
+
}>;
|
|
15
|
+
private businessRulesSubject;
|
|
16
|
+
businessRules$: import("rxjs").Observable<void>;
|
|
17
|
+
notifyBusinessRulesChanged(): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericBusinessRuleCommonSIBILogicService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GenericBusinessRuleCommonSIBILogicService>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare class GenericFeatureRelatedConstants {
|
|
2
|
+
static readonly ProjectedGrpOrImpsMessage = "ANNA calculates projected RTG/IMPS values using either the computed estimates or the actual posted data, depending on what is available. If posted data has not yet been received, ANNA will use the computed estimates as the projected value. Once the actual posted data is received, the projection will automatically update to reflect the real, posted values. This ensures that projected data is always based on the most accurate and up-to-date information.";
|
|
3
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { MessageBoxData } from "@annalib/anna-design-components-lib";
|
|
3
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ActionCommentsPopupComponent {
|
|
6
|
+
private modalService;
|
|
7
|
+
title: string;
|
|
8
|
+
allowEdit: boolean;
|
|
9
|
+
applyCloseButtonText: {
|
|
10
|
+
apply: string;
|
|
11
|
+
cancel: string;
|
|
12
|
+
};
|
|
13
|
+
commented: EventEmitter<{
|
|
14
|
+
spotData: any;
|
|
15
|
+
comment: string;
|
|
16
|
+
}>;
|
|
17
|
+
userActed: EventEmitter<any>;
|
|
18
|
+
cancel: EventEmitter<boolean>;
|
|
19
|
+
comment: string;
|
|
20
|
+
infoMessage: MessageBoxData;
|
|
21
|
+
disableApply: boolean;
|
|
22
|
+
private actionCommentModal;
|
|
23
|
+
actionCommentModalRef: any;
|
|
24
|
+
originalComment: any;
|
|
25
|
+
spotData: any;
|
|
26
|
+
constructor(modalService: NgbModal);
|
|
27
|
+
openModal(data: any, comment: string, customTopMessage?: string): void;
|
|
28
|
+
cancelClicked(): void;
|
|
29
|
+
closeModal(): void;
|
|
30
|
+
apply(): void;
|
|
31
|
+
reasonChanged(): void;
|
|
32
|
+
enableDisableApply(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ActionCommentsPopupComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ActionCommentsPopupComponent, "anna-feature-action-comments-popup", never, { "title": { "alias": "title"; "required": false; }; "allowEdit": { "alias": "allowEdit"; "required": false; }; "applyCloseButtonText": { "alias": "applyCloseButtonText"; "required": false; }; }, { "commented": "commented"; "userActed": "userActed"; "cancel": "cancel"; }, never, never, true, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from "@angular/core";
|
|
2
|
+
import { NgbModal } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import { OfferRejectedReasonAndCommentPopupData } from "../../models/spot-approval-generic.model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OfferRejectionPopupComponent {
|
|
6
|
+
private modalService;
|
|
7
|
+
spotType: any;
|
|
8
|
+
rejectionHeader: string;
|
|
9
|
+
rejectionPopupData: {
|
|
10
|
+
showActionInRejectionPopup: boolean;
|
|
11
|
+
allowActionInRejectionPopup: boolean;
|
|
12
|
+
rejectActionComment: string[] | any;
|
|
13
|
+
excludeFromFutureOffers: boolean;
|
|
14
|
+
rejectionHeader: string;
|
|
15
|
+
};
|
|
16
|
+
isSubmitCommentButtonEnabled: boolean;
|
|
17
|
+
offerRjectionPossibleReasons: string[];
|
|
18
|
+
hideExcludePECheckbox: boolean;
|
|
19
|
+
apply: EventEmitter<{
|
|
20
|
+
comments: string[];
|
|
21
|
+
excludeFutureOffers: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
cancel: EventEmitter<any>;
|
|
24
|
+
userActed: EventEmitter<any>;
|
|
25
|
+
offerRejectedReasonAndCommentPopupData: OfferRejectedReasonAndCommentPopupData;
|
|
26
|
+
private offerRejectionReasonAndCommentModal;
|
|
27
|
+
offerRejectionReasonAndCommentModalRef: any;
|
|
28
|
+
rejectionReasonHasSpecialCharacter: boolean;
|
|
29
|
+
revertToApproveIfCancelClickedInPopup: boolean;
|
|
30
|
+
constructor(modalService: NgbModal);
|
|
31
|
+
setRevertToApproveIfCancelClickedInPopup(revertToApproveIfCancelClickedInPopup: boolean): void;
|
|
32
|
+
openOfferRejectionReasonAndCommentModal(): void;
|
|
33
|
+
changesMadeInCommentBox(e: any): void;
|
|
34
|
+
reasonTextChanged(event: any): void;
|
|
35
|
+
closeOfferRejectionReasonAndCommentModal(): void;
|
|
36
|
+
applyOfferRejectionReasonSelectedAndComment(): void;
|
|
37
|
+
prepareCommentsArray(): string[];
|
|
38
|
+
isOfferRejectionReasonsChanged(): boolean;
|
|
39
|
+
disableEnableOfferRejectedReasonAndCommentPopupApplyButton(): void;
|
|
40
|
+
offerRejectionReasonCheckedOrUnchecked(index: number): void;
|
|
41
|
+
excludeFutureOffers(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OfferRejectionPopupComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfferRejectionPopupComponent, "anna-feature-offer-rejection-popup", never, { "spotType": { "alias": "spotType"; "required": false; }; "rejectionHeader": { "alias": "rejectionHeader"; "required": false; }; "rejectionPopupData": { "alias": "rejectionPopupData"; "required": false; }; "isSubmitCommentButtonEnabled": { "alias": "isSubmitCommentButtonEnabled"; "required": false; }; "offerRjectionPossibleReasons": { "alias": "offerRjectionPossibleReasons"; "required": false; }; "hideExcludePECheckbox": { "alias": "hideExcludePECheckbox"; "required": false; }; }, { "apply": "apply"; "cancel": "cancel"; "userActed": "userActed"; }, never, never, true, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export declare class DRROrderGenericData {
|
|
2
|
+
orderId: string;
|
|
3
|
+
revisionNo: number;
|
|
4
|
+
alternateOrderId: string;
|
|
5
|
+
primaryAEName: string;
|
|
6
|
+
region: string;
|
|
7
|
+
agencyName: string;
|
|
8
|
+
location: string;
|
|
9
|
+
advertiserName: string;
|
|
10
|
+
flightStartDate: string;
|
|
11
|
+
flightEndDate: string;
|
|
12
|
+
revisionStartDate: string;
|
|
13
|
+
revisionType: REVISIONTYPES;
|
|
14
|
+
revisionTypeForEasyFilters: REVISIONTYPES;
|
|
15
|
+
campaignId: number;
|
|
16
|
+
isPayForPerformanceOrder: boolean;
|
|
17
|
+
isWriteEnabledOrder: boolean;
|
|
18
|
+
annaEnteredRepOrder: boolean;
|
|
19
|
+
isStarred: boolean;
|
|
20
|
+
constructor(data: any);
|
|
21
|
+
}
|
|
22
|
+
type REVISIONTYPES = "ANNA" | "BUYER" | "SELLER USER";
|
|
23
|
+
export type REVISIONSTATUSES = `Seller Pending` | `Buyer Pending` | `Seller Reconfirm` | `SM Pending` | `Rev Generated` | `Rev Discarded` | `O/S Spots` | `O/S UD`;
|
|
24
|
+
export declare class AdditionalDRROrderGenericData extends DRROrderGenericData {
|
|
25
|
+
revisionNumberText: string;
|
|
26
|
+
orderIdAndRevNumber: string;
|
|
27
|
+
iconClass: string;
|
|
28
|
+
constructor(data: any);
|
|
29
|
+
}
|
|
30
|
+
export declare enum StatusCodeAndBackgroundColors {
|
|
31
|
+
"Seller Pending" = "#F7F2D1",
|
|
32
|
+
"Seller Reconfirm" = "#D9D1F7",
|
|
33
|
+
"Buyer Pending" = "#D5E3F4",
|
|
34
|
+
"SM Pending" = "#FEE7D2",
|
|
35
|
+
"Rev Discarded" = "#FDD8D5",
|
|
36
|
+
"Rev Generated" = "#DBF0E4",
|
|
37
|
+
"O/S Spots" = "#EFEFEF",
|
|
38
|
+
"O/S UD" = "#EFEFEF"
|
|
39
|
+
}
|
|
40
|
+
export declare enum StatusCodeAndClass {
|
|
41
|
+
"Seller Pending" = "seller-pending",
|
|
42
|
+
"Seller Reconfirm" = "seller-reconfirm",
|
|
43
|
+
"Buyer Pending" = "buyer-pending",
|
|
44
|
+
"SM Pending" = "sm-pending",
|
|
45
|
+
"Rev Generated" = "rev-generated",
|
|
46
|
+
"Rev Discarded" = "rev-discarded",
|
|
47
|
+
"O/S Spots" = "os-spots",
|
|
48
|
+
"O/S UD" = "os-ud"
|
|
49
|
+
}
|
|
50
|
+
export interface RevisionListingPayloadForSeller {
|
|
51
|
+
loggedInUserId: number;
|
|
52
|
+
StationId: number;
|
|
53
|
+
isEquivalized: boolean;
|
|
54
|
+
isNormalized: boolean;
|
|
55
|
+
demoId?: number;
|
|
56
|
+
}
|
|
57
|
+
export interface RevisionListingPayloadForBuyer {
|
|
58
|
+
BuyerId: string;
|
|
59
|
+
OgId: number;
|
|
60
|
+
isEquivalized: boolean;
|
|
61
|
+
isNormalized: boolean;
|
|
62
|
+
demoId?: number;
|
|
63
|
+
}
|
|
64
|
+
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { ISvgOrIconTypeInGTTable } from "@annalib/anna-core";
|
|
2
|
+
import { AdditionalDRROrderGenericData, REVISIONSTATUSES } from "./generic-daily-revision-listing.model";
|
|
3
|
+
export declare class ANNAOfferSpecificDRROrderDataForBuyer extends AdditionalDRROrderGenericData {
|
|
4
|
+
primaryBuyer: string;
|
|
5
|
+
secondaryBuyer: string;
|
|
6
|
+
station: string;
|
|
7
|
+
stationId: number;
|
|
8
|
+
timeoutDateTimeForDisplay: string;
|
|
9
|
+
timeoutDate: string;
|
|
10
|
+
timeoutTime: string;
|
|
11
|
+
offerCount: number;
|
|
12
|
+
showNeedsAttentionIcon: boolean;
|
|
13
|
+
includeOrderInBubbleCount: boolean;
|
|
14
|
+
orderRevisionStatus: REVISIONSTATUSES;
|
|
15
|
+
orderRevisionStatusForEasyFilter: REVISIONSTATUSES;
|
|
16
|
+
offeredMGsValueDisplay: string;
|
|
17
|
+
offeredMGsValue: string;
|
|
18
|
+
offeredADUsValueDisplay: string;
|
|
19
|
+
offeredADUsValue: number;
|
|
20
|
+
outstandingSpotsValueDisplay: string;
|
|
21
|
+
outstandingSpotsValue: number;
|
|
22
|
+
uDProjectionValueDisplay: string;
|
|
23
|
+
uDProjectionValue: number;
|
|
24
|
+
backgroundColor: string;
|
|
25
|
+
poDandAAKey: ISvgOrIconTypeInGTTable[];
|
|
26
|
+
statusAndNeedsAttentionActionKey: {
|
|
27
|
+
showObjectKey: boolean;
|
|
28
|
+
svgOrIconName: any;
|
|
29
|
+
svgOrIconTooltipMsg: string;
|
|
30
|
+
}[];
|
|
31
|
+
gtClass: string;
|
|
32
|
+
buyerNames: string;
|
|
33
|
+
repUserNames: string;
|
|
34
|
+
constructor(data: any);
|
|
35
|
+
static convertToCommaSeperatedString(arrList: any[]): string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { ISvgOrIconTypeInGTTable } from "@annalib/anna-core";
|
|
2
|
+
import { AdditionalDRROrderGenericData, REVISIONSTATUSES } from "./generic-daily-revision-listing.model";
|
|
3
|
+
export interface StationRevisionInformationForANNAOffers {
|
|
4
|
+
SellerCutOffTime: string;
|
|
5
|
+
SellerReconfirmCutOffTime: string;
|
|
6
|
+
IsSellerCutOffTimeExpired: boolean;
|
|
7
|
+
IsSellerReconfirmCutOffTimeExpired: boolean;
|
|
8
|
+
StationTimeZone: string;
|
|
9
|
+
}
|
|
10
|
+
export declare class ANNAOfferSpecificDRROrderDataForSeller extends AdditionalDRROrderGenericData {
|
|
11
|
+
productCode: string;
|
|
12
|
+
offerCount: number;
|
|
13
|
+
orderRevisionStatus: REVISIONSTATUSES;
|
|
14
|
+
orderRevisionStatusForEasyFilter: REVISIONSTATUSES;
|
|
15
|
+
showNeedsAttentionIcon: boolean;
|
|
16
|
+
includeOrderInBubbleCount: boolean;
|
|
17
|
+
offeredMGsValueDisplay: string;
|
|
18
|
+
offeredMGsValue: string;
|
|
19
|
+
offeredADUsValueDisplay: string;
|
|
20
|
+
offeredADUsValue: number;
|
|
21
|
+
outstandingSpotsValueDisplay: string;
|
|
22
|
+
outstandingSpotsValue: number;
|
|
23
|
+
uDProjectionValueDisplay: string;
|
|
24
|
+
uDProjectionValue: number;
|
|
25
|
+
backgroundColor: string;
|
|
26
|
+
statusAndNeedsAttentionActionKey: ISvgOrIconTypeInGTTable[];
|
|
27
|
+
statusAndNeedsAttentionKey: string;
|
|
28
|
+
gtClass: string;
|
|
29
|
+
poDandAAKey: ISvgOrIconTypeInGTTable[];
|
|
30
|
+
isDeletedAtTraffic: boolean;
|
|
31
|
+
creditAdusValue: number;
|
|
32
|
+
creditAdusValueDisplay: string;
|
|
33
|
+
constructor(data: any);
|
|
34
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { ISvgOrIconTypeInGTTable } from "@annalib/anna-core";
|
|
2
|
+
import { AdditionalDRROrderGenericData } from "./generic-daily-revision-listing.model";
|
|
3
|
+
export declare class StationRevisionInformationForUserOffers {
|
|
4
|
+
revisionStartedAt: string;
|
|
5
|
+
stationTimezone: string;
|
|
6
|
+
constructor(data: any);
|
|
7
|
+
}
|
|
8
|
+
export declare class UserOfferSpecificDRROrderDataForSeller extends AdditionalDRROrderGenericData {
|
|
9
|
+
userMGValue: number;
|
|
10
|
+
userMGValueDisplay: string;
|
|
11
|
+
outstandingPreemptionsValueDisplay: string;
|
|
12
|
+
outstandingPreemptionsValue: number;
|
|
13
|
+
userADUValue: number;
|
|
14
|
+
userADUValueDisplay: string;
|
|
15
|
+
audienceDeficitValue: number;
|
|
16
|
+
audienceDeficitValueDisplay: string;
|
|
17
|
+
userChangesValue: number;
|
|
18
|
+
userChangesValueDisplay: string;
|
|
19
|
+
buyerChangesValue: number;
|
|
20
|
+
buyerChangesValueDisplay: string;
|
|
21
|
+
buyerGrpChangesValue: number;
|
|
22
|
+
buyerImpChangesValue: number;
|
|
23
|
+
buyerGrpChangesValueDisplay: string;
|
|
24
|
+
buyerImpChangesValueDisplay: string;
|
|
25
|
+
productCode: string;
|
|
26
|
+
isDeletedAtTraffic: boolean;
|
|
27
|
+
poDandAAKey: ISvgOrIconTypeInGTTable[];
|
|
28
|
+
displayRevisionType: string;
|
|
29
|
+
buyerAddedValue: any;
|
|
30
|
+
buyerDeletedValue: any;
|
|
31
|
+
buyerAddedValueDisplay: any;
|
|
32
|
+
buyerDeletedValueDisplay: any;
|
|
33
|
+
constructor(data: any);
|
|
34
|
+
}
|
|
35
|
+
export declare enum RevisionTypeAndDisplayRevisionType {
|
|
36
|
+
"SELLER USER" = "Seller User",
|
|
37
|
+
"BUYER" = "Buyer",
|
|
38
|
+
"ANNA" = "ANNA"
|
|
39
|
+
}
|
package/anna-feature-shared-lib/src/daily-revision-listing/models/spot-approval-generic.model.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface OfferRejectedReasonAndCommentPopupData {
|
|
2
|
+
reasons: {
|
|
3
|
+
title: string;
|
|
4
|
+
isSelected: boolean;
|
|
5
|
+
}[];
|
|
6
|
+
comment: string;
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
disableApply: boolean;
|
|
9
|
+
disableCommentBox: boolean;
|
|
10
|
+
commentBoxPlaceholder: string;
|
|
11
|
+
excludeFutureOffers: boolean;
|
|
12
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DRROrderGenericData } from "../models/generic-daily-revision-listing.model";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class GenericDailyRevisionService {
|
|
4
|
+
orderInfo: DRROrderGenericData;
|
|
5
|
+
selectedStationId: any;
|
|
6
|
+
selectedOgId: number;
|
|
7
|
+
fromOrderRevisionsPage: boolean;
|
|
8
|
+
fromOrderHistoryPage: boolean;
|
|
9
|
+
spotsApprovalFiltersAppliedRouteChange: boolean;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<GenericDailyRevisionService, never>;
|
|
11
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<GenericDailyRevisionService>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BehaviorSubject, Subject } from "rxjs";
|
|
2
|
+
import { OrderMetrics } from "../models/generic-primary-order-panel.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PrimaryOrderPanelService {
|
|
5
|
+
parentContainerScrolled: Subject<boolean>;
|
|
6
|
+
isPrimaryOrderPanelOpen$: BehaviorSubject<boolean>;
|
|
7
|
+
getOrderMetricsDropdownValues(): {
|
|
8
|
+
id: number;
|
|
9
|
+
text: OrderMetrics;
|
|
10
|
+
}[];
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PrimaryOrderPanelService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PrimaryOrderPanelService>;
|
|
13
|
+
}
|
package/anna-feature-shared-lib/src/order-listing/constants/generic-order-listing.constant.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare class OrderListingConstants {
|
|
2
|
+
static readonly InFlightAndUpcoming = "In-flight & Upcoming";
|
|
3
|
+
static readonly Completed = "Completed";
|
|
4
|
+
static readonly BlankAndDeleted = "Blank & Deleted";
|
|
5
|
+
static readonly Deleted = "Deleted";
|
|
6
|
+
static readonly TodaysANNAOffers = "Today\u2019s ANNA Offers";
|
|
7
|
+
static readonly TodaysUserOffers = "Today\u2019s User Offers";
|
|
8
|
+
static readonly OffersAwaitingApproval = "Offers Awaiting Approval";
|
|
9
|
+
static readonly RATING = "RATING";
|
|
10
|
+
static readonly IMPRESSIONS = "IMPRESSIONS";
|
|
11
|
+
static readonly GRP = "GRP";
|
|
12
|
+
static readonly TvRevenueAndDigital = "TV & Digital";
|
|
13
|
+
static readonly DRR = "Daily Revisions";
|
|
14
|
+
static readonly TvRevenue = "TV Revenue";
|
|
15
|
+
static readonly TV = "TV";
|
|
16
|
+
static readonly OtherRevenue = "Other Revenue";
|
|
17
|
+
static readonly AnnaOrderEntry = "ANNA ORDER ENTRY";
|
|
18
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export type SolvedTypeFromBE = "LINE" | "ROLLING_ESTIMATES" | "ESTIMATES" | "AVERAGE" | "MODIFIED";
|
|
2
|
+
export declare enum ESTIMATEPRIORITIES {
|
|
3
|
+
AverageRTG = "AverageRTG",
|
|
4
|
+
BookedRTG = "BookedRTG",
|
|
5
|
+
RollingEstimate = "RollingEstimate",
|
|
6
|
+
StationEstimate = "StationEstimate"
|
|
7
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvgOrIconNames } from "@annalib/anna-core";
|
|
2
|
+
import { ESTIMATEPRIORITIES, SolvedTypeFromBE } from "../models/spot-approval-generic-in-feature-shared-lib.model";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SpotApprovalGenericInFeatureSharedLibService {
|
|
5
|
+
static returnTooltipAndIconForSolvedType(solvedType: SolvedTypeFromBE, metric: string, valueToUse: number): {
|
|
6
|
+
icon: SvgOrIconNames;
|
|
7
|
+
tooltipMsg: string;
|
|
8
|
+
};
|
|
9
|
+
static returnEstimatePriorities(data: any, estimatePriority: ESTIMATEPRIORITIES[]): string[];
|
|
10
|
+
static returnEstimateValueBasedOnKeyForRTGMetric(BEData: any, key: ESTIMATEPRIORITIES): number | string;
|
|
11
|
+
static returnEstimateValueBasedOnKeyForIMPSMetric(data: any, key: ESTIMATEPRIORITIES): number | string;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpotApprovalGenericInFeatureSharedLibService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpotApprovalGenericInFeatureSharedLibService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./src/daily-revision-filter-modal/config/daily-revision-listing-backend-service.token";
|
|
2
|
+
export * from "./src/daily-revision-filter-modal/daily-revision-filter-modal.component";
|
|
3
|
+
export * from "./src/daily-revision-filter-modal/models/daily-revision-filter-modal.model";
|
|
4
|
+
export * from "./src/daily-revision-listing/config/daily-revision-listing-backend-service.token";
|
|
5
|
+
export * from "./src/daily-revision-listing/constants/daily-revision-listing.constant";
|
|
6
|
+
export * from "./src/daily-revision-listing/daily-revision-listing.component";
|
|
7
|
+
export * from "./src/daily-revision-listing/models/daily-revision-listing.model";
|
|
8
|
+
export * from "./src/daily-revision-listing/services/daily-revision-listing.service";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken } from "@angular/core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
export declare const DAILY_REVISION_FILTERS_SERVICE_TOKEN: InjectionToken<IDRRFiltersBackendService>;
|
|
4
|
+
export interface IDRRFiltersBackendService {
|
|
5
|
+
getSecondaryFiltersForDashboard(requestPayload: any): Observable<any>;
|
|
6
|
+
getNormalizedDemoForStation(): Observable<{
|
|
7
|
+
Id: number;
|
|
8
|
+
Name: string;
|
|
9
|
+
}[]>;
|
|
10
|
+
}
|
package/drr-listing/src/daily-revision-filter-modal/daily-revision-filter-modal.component.d.ts
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { ActivatedRoute, Router } from "@angular/router";
|
|
3
|
+
import { AnnaGlobalConfigService, AnnaPersistingFilterService, ICustomMultiSelect, ICustomSingleSelect, INgSelectSettings, UpdateStationIdService } from "@annalib/anna-core";
|
|
4
|
+
import { IDashboardFilterModalService, IdText, MultiSelectDropdownService, MultiSelectIdText } from "@annalib/anna-design-components-lib";
|
|
5
|
+
import { NgbModal, NgbModalOptions, NgbModalRef } from "@ng-bootstrap/ng-bootstrap";
|
|
6
|
+
import { IDRRFiltersBackendService } from "./config/daily-revision-listing-backend-service.token";
|
|
7
|
+
import { DailyRevisionFilterSelection, DailyRevisionPersistedFilter, DailyRevisionPersistedFilterFromUrl, SecondaryFiltersData } from "./models/daily-revision-filter-modal.model";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class DailyRevisionFilterModalComponent implements OnInit, OnChanges {
|
|
10
|
+
private multiselectDropdownService;
|
|
11
|
+
private modalService;
|
|
12
|
+
private annaGlobalService;
|
|
13
|
+
private router;
|
|
14
|
+
private currentRoute;
|
|
15
|
+
private persistingFilterService;
|
|
16
|
+
consumingProjectDRRFilterBackendService: IDRRFiltersBackendService;
|
|
17
|
+
consumingProjectDashboardFilterService: IDashboardFilterModalService;
|
|
18
|
+
private updateStationIdService;
|
|
19
|
+
filterData: IdText[];
|
|
20
|
+
stationOrOgDropdownTitleText?: string;
|
|
21
|
+
error: any;
|
|
22
|
+
showUserFilter: boolean;
|
|
23
|
+
showDemoNormalization: boolean;
|
|
24
|
+
persistingFilter: DailyRevisionPersistedFilterFromUrl;
|
|
25
|
+
headerText: string;
|
|
26
|
+
handleNavigation: boolean;
|
|
27
|
+
toDisable: boolean;
|
|
28
|
+
stationIdsWithValidLicense: number[];
|
|
29
|
+
applyFilter: EventEmitter<any>;
|
|
30
|
+
getInitialFilter: EventEmitter<any>;
|
|
31
|
+
private dRFilterModal;
|
|
32
|
+
modalRef: NgbModalRef;
|
|
33
|
+
ngbModalOptions: NgbModalOptions;
|
|
34
|
+
selectedStationOrOG: IdText;
|
|
35
|
+
previousSelectedStationOrOG: IdText;
|
|
36
|
+
stationsOrOGs: IdText[];
|
|
37
|
+
selectedEquivilizationToggle: boolean;
|
|
38
|
+
clonedFilter: DailyRevisionFilterSelection;
|
|
39
|
+
loggedInUserId: number;
|
|
40
|
+
loggedInUserName: string;
|
|
41
|
+
secondaryFilterData: SecondaryFiltersData;
|
|
42
|
+
disableEquivalization: boolean;
|
|
43
|
+
multiSelectBottomBorderObj: any;
|
|
44
|
+
usersList: MultiSelectIdText[];
|
|
45
|
+
selectedUsersList: MultiSelectIdText[];
|
|
46
|
+
isFilterValueChanged: boolean;
|
|
47
|
+
usersText: string;
|
|
48
|
+
ngSelectConfigStation: INgSelectSettings;
|
|
49
|
+
usersDropdownSetting: ICustomMultiSelect;
|
|
50
|
+
userNormalizationLoader: boolean;
|
|
51
|
+
initialFiltersForDailyRevisionModal: DailyRevisionPersistedFilter;
|
|
52
|
+
singleSelectConfig: ICustomSingleSelect;
|
|
53
|
+
showLoaderInUsersDropdown: boolean;
|
|
54
|
+
constructor(multiselectDropdownService: MultiSelectDropdownService, modalService: NgbModal, annaGlobalService: AnnaGlobalConfigService, router: Router, currentRoute: ActivatedRoute, persistingFilterService: AnnaPersistingFilterService, consumingProjectDRRFilterBackendService: IDRRFiltersBackendService, consumingProjectDashboardFilterService: IDashboardFilterModalService, updateStationIdService: UpdateStationIdService);
|
|
55
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
56
|
+
ngOnInit(): void;
|
|
57
|
+
configModalOptions(): void;
|
|
58
|
+
resetClonedFilter(): void;
|
|
59
|
+
getLoginUserId(): void;
|
|
60
|
+
setFilterData(): void;
|
|
61
|
+
setStationData(): void;
|
|
62
|
+
callBackFuncOnInitialSetup(): void;
|
|
63
|
+
setInitialFiltersForComponent(): void;
|
|
64
|
+
getTextFromSelectedFilters(data: any, originalData: any): string;
|
|
65
|
+
setClonedDataAndEmitFilters(updateNavigation: boolean): void;
|
|
66
|
+
closeOptionsModal(): void;
|
|
67
|
+
setClonedFilter(updateNavigation: boolean): DailyRevisionFilterSelection;
|
|
68
|
+
addUserKeyInClonedFilter(val: MultiSelectIdText[]): void;
|
|
69
|
+
createUserDropdownData(): void;
|
|
70
|
+
selectUserDropdownData(): void;
|
|
71
|
+
findLoggedInUserIndex(users: MultiSelectIdText[], loggedInUserId: number): number;
|
|
72
|
+
setEquivilizationToggleVal(): void;
|
|
73
|
+
setUsersAndNormalizationData(callBackFunc: any): void;
|
|
74
|
+
createPayloadForSecondaryFilterApi(): any;
|
|
75
|
+
dropdownConfig(): void;
|
|
76
|
+
openFilterModal(): void;
|
|
77
|
+
isFilterDropdownValueChanged(): void;
|
|
78
|
+
updateEquivalizationToggle(val: boolean): void;
|
|
79
|
+
stationOrOGSelected(station: IdText): void;
|
|
80
|
+
callBackFuncOnStationChange(): void;
|
|
81
|
+
userSelectionChanged(selectedItems: MultiSelectIdText[]): void;
|
|
82
|
+
onCancelClicked(): void;
|
|
83
|
+
callBackFuncOnCancelClicked(): void;
|
|
84
|
+
onApplyDRFilterAndUpdateNavigation(): void;
|
|
85
|
+
updateNavigationHistory(): void;
|
|
86
|
+
createQueryParams(): any;
|
|
87
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DailyRevisionFilterModalComponent, never>;
|
|
88
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DailyRevisionFilterModalComponent, "anna-feature-daily-revision-filter-modal", never, { "filterData": { "alias": "filterData"; "required": false; }; "stationOrOgDropdownTitleText": { "alias": "stationOrOgDropdownTitleText"; "required": false; }; "error": { "alias": "error"; "required": false; }; "showUserFilter": { "alias": "showUserFilter"; "required": false; }; "showDemoNormalization": { "alias": "showDemoNormalization"; "required": false; }; "persistingFilter": { "alias": "persistingFilter"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "handleNavigation": { "alias": "handleNavigation"; "required": false; }; "toDisable": { "alias": "toDisable"; "required": false; }; "stationIdsWithValidLicense": { "alias": "stationIdsWithValidLicense"; "required": false; }; }, { "applyFilter": "applyFilter"; "getInitialFilter": "getInitialFilter"; }, never, never, true, never>;
|
|
89
|
+
}
|
package/drr-listing/src/daily-revision-filter-modal/models/daily-revision-filter-modal.model.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { IdText, MultiSelectIdText, NormalizedData } from "@annalib/anna-design-components-lib";
|
|
2
|
+
export interface DailyRevisionPersistedFilter {
|
|
3
|
+
station: IdText;
|
|
4
|
+
userIds?: number[];
|
|
5
|
+
isEquivalised?: boolean;
|
|
6
|
+
normalizedData?: NormalizedData;
|
|
7
|
+
}
|
|
8
|
+
export interface DailyRevisionPersistedFilterFromUrl {
|
|
9
|
+
stationId: number;
|
|
10
|
+
userIds?: number[];
|
|
11
|
+
isEquivalised?: boolean;
|
|
12
|
+
normalizedData?: NormalizedData;
|
|
13
|
+
}
|
|
14
|
+
export interface DailyRevisionFilterSelection {
|
|
15
|
+
station: IdText;
|
|
16
|
+
users?: MultiSelectIdText[];
|
|
17
|
+
isEquivalised: boolean;
|
|
18
|
+
updateNavigation: boolean;
|
|
19
|
+
}
|
|
20
|
+
export declare class SecondaryFiltersData {
|
|
21
|
+
childAndProxiedUsers: ChildAndProxiedUsers;
|
|
22
|
+
productCategories: string[];
|
|
23
|
+
constructor(data: any);
|
|
24
|
+
}
|
|
25
|
+
export declare class ChildAndProxiedUsers {
|
|
26
|
+
childUsers: Users[];
|
|
27
|
+
proxiedUsers: Users[];
|
|
28
|
+
constructor(data: any);
|
|
29
|
+
}
|
|
30
|
+
export declare class Users {
|
|
31
|
+
userId: number;
|
|
32
|
+
userName: string;
|
|
33
|
+
advertisers: Advertisers[];
|
|
34
|
+
isDeleted: boolean;
|
|
35
|
+
constructor(data: any);
|
|
36
|
+
}
|
|
37
|
+
export declare class Advertisers {
|
|
38
|
+
advertiserId: number;
|
|
39
|
+
advertiserName: string;
|
|
40
|
+
constructor(data: any);
|
|
41
|
+
}
|