@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
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
import { CurrencyPipe } from "@angular/common";
|
|
2
|
+
import { ClickableItem, IActionItemTypeWithStringIconOrTextAction, IconCellActionKey, ICustomSingleSelect, IDropdownConfigForGT, ISvgOrIconTypeInGTTable, ITimeInputData } from "@annalib/anna-core";
|
|
3
|
+
import { SingleSelectIdText } from "@annalib/anna-design-components-lib";
|
|
4
|
+
import { ISpotInformationResponse } from "./anna-revisions-backend.model";
|
|
5
|
+
import { ESTIMATEPRIORITIES } from "./anna-revisions-enums.model";
|
|
6
|
+
export interface IRevenueClassList {
|
|
7
|
+
id: number;
|
|
8
|
+
stationId: number;
|
|
9
|
+
code: string;
|
|
10
|
+
description: string;
|
|
11
|
+
display: string;
|
|
12
|
+
placerPriority: number;
|
|
13
|
+
isRequiredForPoliticalRate: boolean;
|
|
14
|
+
}
|
|
15
|
+
export interface IAdditionalInformationForSpot extends ISpotInformationResponse {
|
|
16
|
+
DisplayRate: string;
|
|
17
|
+
firstTwoEstimatePrioritiesForIMPSMetric: string;
|
|
18
|
+
lastTwoEstimatePrioritiesForIMPSMetric: string;
|
|
19
|
+
firstTwoEstimatePrioritiesForRTGMetric: string;
|
|
20
|
+
lastTwoEstimatePrioritiesForRTGMetric: string;
|
|
21
|
+
}
|
|
22
|
+
export declare class ClickableItemForOSSpotsTableActionColumn extends ClickableItem {
|
|
23
|
+
name: "Remove";
|
|
24
|
+
constructor(typeOfActionLinkForGt: any, name: "Remove", className: string, showTooltip: boolean, tooltipData: {
|
|
25
|
+
key: string;
|
|
26
|
+
value: string;
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
export interface IPreemptionSpotInformationForEdit extends IAdditionalInformationForSpot {
|
|
30
|
+
SellerAndBuyerLine: string;
|
|
31
|
+
SpotTypeActionKey: ISvgOrIconTypeInGTTable[];
|
|
32
|
+
ActionKeyForEdit?: ClickableItemForOSSpotsTableActionColumn[];
|
|
33
|
+
}
|
|
34
|
+
export declare class CheckBoxName {
|
|
35
|
+
static checkedCheckBox: string;
|
|
36
|
+
static blankCheckBox: string;
|
|
37
|
+
static intermediateCheckBox: string;
|
|
38
|
+
}
|
|
39
|
+
export interface IOSPESpotsData extends IPreemptionSpotInformationForEdit {
|
|
40
|
+
IsSelected: boolean;
|
|
41
|
+
}
|
|
42
|
+
export interface IMakeGoodSpotInformationForEdit extends IAdditionalInformationForSpot {
|
|
43
|
+
TimeInputData: ITimeInputData;
|
|
44
|
+
OriginalRating: number;
|
|
45
|
+
OriginalBuyerProgramName: string;
|
|
46
|
+
OriginalImpressions: number;
|
|
47
|
+
DisplayStatusActionKey: StatusColumnIconActionForSpotsApprovalEdit[];
|
|
48
|
+
ActionKeyForEdit: ClickableItemForMGTableActionColumn[];
|
|
49
|
+
DisplayStatusTooltipKey: any;
|
|
50
|
+
OfferedRatingOrImpressionsColumn: IEditableInput;
|
|
51
|
+
OfferedRatingOrImpressionsColumnIcons: any[];
|
|
52
|
+
OfferedRateForInputBoxColumn: IEditableInput;
|
|
53
|
+
OfferedRateColumnErrorIcons: {
|
|
54
|
+
id: string;
|
|
55
|
+
showIcon?: boolean;
|
|
56
|
+
showSvgIcon?: boolean;
|
|
57
|
+
iconClass?: string;
|
|
58
|
+
iconTooltip?: string;
|
|
59
|
+
tooltipMessage?: string;
|
|
60
|
+
showLink?: boolean;
|
|
61
|
+
linkText?: string;
|
|
62
|
+
linkClass?: string;
|
|
63
|
+
}[];
|
|
64
|
+
ChangedNewRate: number;
|
|
65
|
+
DisplayStatus: "Offered" | any;
|
|
66
|
+
BuyerProgramNameColumn: IEditableInput;
|
|
67
|
+
gtClass: string;
|
|
68
|
+
MeetsBizRules: "Yes" | "No";
|
|
69
|
+
ICActionKey: IconCellActionKey[];
|
|
70
|
+
ICTooltipKey: string;
|
|
71
|
+
PoliticalrateViolationInfo: {
|
|
72
|
+
TargetLur: string;
|
|
73
|
+
InventoryCode: string;
|
|
74
|
+
PoliticalWindowName: string;
|
|
75
|
+
OfferedRate: string;
|
|
76
|
+
} | null;
|
|
77
|
+
RevenueClassSelectedByUser: string;
|
|
78
|
+
readonly OriginalRevenueClassForComparision: string;
|
|
79
|
+
readonly OriginalRateForComparision: number;
|
|
80
|
+
readonly OriginalStartTimeForComparision: string;
|
|
81
|
+
readonly OriginalEndTimeForComparision: string;
|
|
82
|
+
RevenueClassDropdownConfigForGT: IDropdownConfigForGT[];
|
|
83
|
+
AutoAssignablePriorityCodeFromBE: {
|
|
84
|
+
id: number;
|
|
85
|
+
text: string;
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export declare class ClickableItemForMGTableActionColumn extends ClickableItem {
|
|
89
|
+
name: "Undo" | "Remove";
|
|
90
|
+
constructor(typeOfActionLinkForGt: any, name: "Undo" | "Remove", className: string, showTooltip: boolean, tooltipData: {
|
|
91
|
+
key: string;
|
|
92
|
+
value: string;
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
export declare class ClickableItemForAvailableTableActionColumn extends ClickableItem {
|
|
96
|
+
name: "Add";
|
|
97
|
+
constructor(typeOfActionLinkForGt: any, name: "Add", className: string, showTooltip: boolean, tooltipData: {
|
|
98
|
+
key: string;
|
|
99
|
+
value: string;
|
|
100
|
+
});
|
|
101
|
+
}
|
|
102
|
+
export interface IADUSpotInformationForEdit extends IAdditionalInformationForSpot {
|
|
103
|
+
index: number;
|
|
104
|
+
ActionKeyForEdit: ClickableItemForMGTableActionColumn[];
|
|
105
|
+
BuyerProgramNameColumn: IEditableInput;
|
|
106
|
+
DisplayStatus: "Offered" | "Added" | "Removed" | "Created";
|
|
107
|
+
hideDisplayStatusTd: boolean;
|
|
108
|
+
DisplayStatusRowspan: number;
|
|
109
|
+
}
|
|
110
|
+
export interface IAvailableSpotInformationForEdit extends IAdditionalInformationForSpot {
|
|
111
|
+
ActionKeyForEdit: ClickableItemForAvailableTableActionColumn[];
|
|
112
|
+
}
|
|
113
|
+
export interface IAdditionInformationForRotators extends IAvailableSpotInformationForEdit {
|
|
114
|
+
InventoryAvailability: "Booked" | "Available";
|
|
115
|
+
ShowBookedSpotLink: boolean;
|
|
116
|
+
IsFreeFlowGroup: boolean;
|
|
117
|
+
}
|
|
118
|
+
export interface IAdditionInformationForFreeFlowSpot extends IAdditionInformationForRotators {
|
|
119
|
+
InventoryActionKey: IActionItemTypeWithStringIconOrTextAction;
|
|
120
|
+
}
|
|
121
|
+
export declare enum TypeOfActionLinkForGtEnumSpotsApprovalEdit {
|
|
122
|
+
ACTION_COLUMN_CLICK = "ACTION_COLUMN_CLICK"
|
|
123
|
+
}
|
|
124
|
+
export interface IEditableInput {
|
|
125
|
+
type: "INPUT" | "STRING";
|
|
126
|
+
value: string;
|
|
127
|
+
disabled?: boolean;
|
|
128
|
+
className?: string;
|
|
129
|
+
hasError?: boolean;
|
|
130
|
+
placeholder?: string;
|
|
131
|
+
showIcon?: boolean;
|
|
132
|
+
iconClass?: string;
|
|
133
|
+
iconTooltip?: string;
|
|
134
|
+
charactersToRestrict: any[];
|
|
135
|
+
}
|
|
136
|
+
export declare class EditGroupPayload {
|
|
137
|
+
GroupTableId: number[];
|
|
138
|
+
Duration: number;
|
|
139
|
+
TrafficOrderId: string;
|
|
140
|
+
StationId: number;
|
|
141
|
+
}
|
|
142
|
+
export interface IValidateEditedOffersPayload {
|
|
143
|
+
PreemptionSpots: IPreemptionSpotInformationForEdit[];
|
|
144
|
+
MakeGoodSpots: IMakeGoodSpotInformationForEdit[];
|
|
145
|
+
ModifiedSpots: IMakeGoodSpotInformationForEdit[];
|
|
146
|
+
NewOffers: IMakeGoodSpotInformationForEdit[];
|
|
147
|
+
BizRulesFromDb: any;
|
|
148
|
+
IsCpm: boolean;
|
|
149
|
+
OrderId: string;
|
|
150
|
+
StationId: number;
|
|
151
|
+
SpDayparts: string[];
|
|
152
|
+
IsFreeFlowGroup: boolean;
|
|
153
|
+
BroadCastTime: string;
|
|
154
|
+
}
|
|
155
|
+
export interface IValidateEditedOffersResponse {
|
|
156
|
+
RateViolation: {
|
|
157
|
+
IsGreater: boolean;
|
|
158
|
+
IsLesser: boolean;
|
|
159
|
+
};
|
|
160
|
+
RatingViolation: {
|
|
161
|
+
IsGreater: boolean;
|
|
162
|
+
IsLesser: boolean;
|
|
163
|
+
};
|
|
164
|
+
MaxMGSpotViolation: {
|
|
165
|
+
IsViolated: boolean;
|
|
166
|
+
MaxCount: number;
|
|
167
|
+
};
|
|
168
|
+
MinGrpPerSpotViolation: {
|
|
169
|
+
SpotId: string;
|
|
170
|
+
Rate: number;
|
|
171
|
+
TargetLur: number;
|
|
172
|
+
MinimumRating: number;
|
|
173
|
+
}[];
|
|
174
|
+
LurViolated: {
|
|
175
|
+
SpotId: string;
|
|
176
|
+
Rate: number;
|
|
177
|
+
TargetLur: number;
|
|
178
|
+
InventoryCode: string;
|
|
179
|
+
PoliticalWindowName: string;
|
|
180
|
+
AutoAssignablePriority: string;
|
|
181
|
+
}[];
|
|
182
|
+
TimeViolation: string[];
|
|
183
|
+
SpotsWithNewCost: {
|
|
184
|
+
SpotId: string;
|
|
185
|
+
Rate: number;
|
|
186
|
+
TargetLur: number;
|
|
187
|
+
}[];
|
|
188
|
+
InventoryViolation: string[];
|
|
189
|
+
MaxSpotPerDayStripViolation: string[];
|
|
190
|
+
MaxSpotPerWeekStripViolation: string[];
|
|
191
|
+
}
|
|
192
|
+
export interface ISaveEditedOffersPayload {
|
|
193
|
+
PreemptionSpots: IPreemptionSpotInformationForEdit[];
|
|
194
|
+
ModifiedSpots: IMakeGoodSpotInformationForEdit[];
|
|
195
|
+
RemovedSpots: IMakeGoodSpotInformationForEdit[];
|
|
196
|
+
ANNANewOffers: IMakeGoodSpotInformationForEdit[];
|
|
197
|
+
FreeFlowOffers: IMakeGoodSpotInformationForEdit[];
|
|
198
|
+
UndoSpots: IMakeGoodSpotInformationForEdit[];
|
|
199
|
+
ProgramChangeSpots: IMakeGoodSpotInformationForEdit[];
|
|
200
|
+
UnmodifiedSpots: IMakeGoodSpotInformationForEdit[];
|
|
201
|
+
ReofferComment: string;
|
|
202
|
+
IsFreeFlowGroup: boolean;
|
|
203
|
+
IsNoRevision: boolean;
|
|
204
|
+
StationId: number;
|
|
205
|
+
BuyerOrderId: string;
|
|
206
|
+
EditedBy: string;
|
|
207
|
+
IsCpm: boolean;
|
|
208
|
+
TgId: number;
|
|
209
|
+
IsReoffer: boolean;
|
|
210
|
+
IsBadlyBehavedGroup: boolean;
|
|
211
|
+
}
|
|
212
|
+
export interface FreeFlowSpotsPayload {
|
|
213
|
+
OrderId: string;
|
|
214
|
+
StationId: number;
|
|
215
|
+
StartDate: string;
|
|
216
|
+
EndDate: string;
|
|
217
|
+
Duration: number;
|
|
218
|
+
TgId: number;
|
|
219
|
+
}
|
|
220
|
+
export interface EditMakeGoodGroupNewPayload {
|
|
221
|
+
GroupId: string;
|
|
222
|
+
Duration: number;
|
|
223
|
+
StationId: number;
|
|
224
|
+
TrafficOrderId: string;
|
|
225
|
+
}
|
|
226
|
+
export declare class IconActionForSpotsApprovalEdit implements IActionItemTypeWithStringIconOrTextAction {
|
|
227
|
+
id: any;
|
|
228
|
+
data: string;
|
|
229
|
+
iconClass: string;
|
|
230
|
+
showIcon: boolean;
|
|
231
|
+
disabledIcon: boolean;
|
|
232
|
+
showTooltip: boolean;
|
|
233
|
+
typeOfData: "STRING" | "ICON_TEXT_ACTION";
|
|
234
|
+
additionalTextBeforeLink: string;
|
|
235
|
+
disableTooltip: boolean;
|
|
236
|
+
tooltipData: any;
|
|
237
|
+
tooltipClass: string;
|
|
238
|
+
additionalTextClass: string;
|
|
239
|
+
showLink?: boolean;
|
|
240
|
+
constructor(text: string, tooltipMessage: string, additionalTextClass: string, id: string, showLink?: boolean, linkText?: string);
|
|
241
|
+
}
|
|
242
|
+
export type MGTableStatusTypes = "Offered" | "Added" | "Removed";
|
|
243
|
+
export type MGTableActionTypes = "Remove" | "Undo" | "Add";
|
|
244
|
+
export declare class TotalRowForOfferedmadeGoodEditTable {
|
|
245
|
+
totalRTG: number;
|
|
246
|
+
totalIMPS: number;
|
|
247
|
+
totalOfferedRateForDisplay: string;
|
|
248
|
+
message: string;
|
|
249
|
+
constructor(data: IMakeGoodSpotInformationForEdit[]);
|
|
250
|
+
}
|
|
251
|
+
export declare class StatusColumnIconActionForSpotsApprovalEdit extends IconActionForSpotsApprovalEdit {
|
|
252
|
+
constructor(text: MGTableStatusTypes, toolipMessage: string, additionaltextClass: string);
|
|
253
|
+
}
|
|
254
|
+
export declare class MakeGoodSpotInformationForEdit {
|
|
255
|
+
OriginalRating: number;
|
|
256
|
+
OriginalImpressions: number;
|
|
257
|
+
OriginalBuyerProgramName: string;
|
|
258
|
+
ActionKeyForEdit: ClickableItemForMGTableActionColumn[];
|
|
259
|
+
DisplayStatus: "Removed" | "Added" | "Offered" | any;
|
|
260
|
+
DisplayStatusActionKey: StatusColumnIconActionForSpotsApprovalEdit[];
|
|
261
|
+
DisplayStatusTooltipKey: any;
|
|
262
|
+
OfferedRatingOrImpressionsColumn: IEditableInput;
|
|
263
|
+
OfferedRatingOrImpressionsColumnIcons: any[];
|
|
264
|
+
OfferedRateForInputBoxColumn: IEditableInput;
|
|
265
|
+
OfferedRateColumnErrorIcons: {
|
|
266
|
+
id: string;
|
|
267
|
+
showIcon?: boolean;
|
|
268
|
+
showSvgIcon?: boolean;
|
|
269
|
+
iconClass?: string;
|
|
270
|
+
iconTooltip?: string;
|
|
271
|
+
tooltipMessage?: string;
|
|
272
|
+
showLink?: boolean;
|
|
273
|
+
linkText?: string;
|
|
274
|
+
}[];
|
|
275
|
+
BuyerProgramNameColumn: IEditableInput;
|
|
276
|
+
ChangedNewRate: number;
|
|
277
|
+
gtClass: string;
|
|
278
|
+
MeetsBizRules: "Yes" | "No";
|
|
279
|
+
ICActionKey: IconCellActionKey[];
|
|
280
|
+
ICTooltipKey: string;
|
|
281
|
+
PoliticalrateViolationInfo: {
|
|
282
|
+
TargetLur: string;
|
|
283
|
+
InventoryCode: string;
|
|
284
|
+
PoliticalWindowName: string;
|
|
285
|
+
OfferedRate: string;
|
|
286
|
+
} | null;
|
|
287
|
+
RevenueClassSelectedByUser: string;
|
|
288
|
+
readonly OriginalRevenueClassForComparision: string;
|
|
289
|
+
readonly OriginalRateForComparision: number;
|
|
290
|
+
readonly OriginalStartTimeForComparision: string;
|
|
291
|
+
readonly OriginalEndTimeForComparision: string;
|
|
292
|
+
RevenueClassDropdownConfigForGT: IDropdownConfigForGT[];
|
|
293
|
+
AutoAssignablePriorityCodeFromBE: {
|
|
294
|
+
id: number;
|
|
295
|
+
text: string;
|
|
296
|
+
};
|
|
297
|
+
TimeInputData: ITimeInputData;
|
|
298
|
+
constructor(data: IAdditionalInformationForSpot, showImpression: boolean, currencyPipe: CurrencyPipe, revenueClassList: IRevenueClassList[], decimalPlacesCountAllowedInRatesMgTable?: number);
|
|
299
|
+
}
|
|
300
|
+
export declare class RevenueClassDropdownConfigForGT {
|
|
301
|
+
itemList: SingleSelectIdText[];
|
|
302
|
+
selectedItem: SingleSelectIdText;
|
|
303
|
+
dropdownConfig: ICustomSingleSelect;
|
|
304
|
+
constructor(revClassList: {
|
|
305
|
+
id: number;
|
|
306
|
+
code: string;
|
|
307
|
+
}[], selectedRevClass: string);
|
|
308
|
+
}
|
|
309
|
+
export declare class IconActionForOfferedRTGOrIMPSColumn {
|
|
310
|
+
tooltipObjList: {
|
|
311
|
+
showIcon: boolean;
|
|
312
|
+
showSvgIcon: boolean;
|
|
313
|
+
iconClass?: string;
|
|
314
|
+
iconTooltip?: string;
|
|
315
|
+
svgOrIconName?: string;
|
|
316
|
+
svgOrIconTooltipMsg?: string;
|
|
317
|
+
}[];
|
|
318
|
+
constructor(data: IAdditionalInformationForSpot, orderMetric: "CPP" | "CPM");
|
|
319
|
+
}
|
|
320
|
+
export declare class AdditionalInformationForSpot {
|
|
321
|
+
DisplayRate: string;
|
|
322
|
+
DisplayWeeklyAUR: string;
|
|
323
|
+
DisplayLength: string;
|
|
324
|
+
DisplayRevenueClass: string;
|
|
325
|
+
firstTwoEstimatePrioritiesForIMPSMetric: string;
|
|
326
|
+
lastTwoEstimatePrioritiesForIMPSMetric: string;
|
|
327
|
+
firstTwoEstimatePrioritiesForRTGMetric: string;
|
|
328
|
+
lastTwoEstimatePrioritiesForRTGMetric: string;
|
|
329
|
+
constructor(data: IMakeGoodSpotInformationForEdit | IADUSpotInformationForEdit | ISpotInformationResponse, estimatePriorities: ESTIMATEPRIORITIES[], currencyPipe?: CurrencyPipe);
|
|
330
|
+
}
|
|
331
|
+
export declare class ADUSpotInformationForEdit {
|
|
332
|
+
ActionKeyForEdit: ClickableItemForMGTableActionColumn[];
|
|
333
|
+
BuyerProgramNameColumn: IEditableInput;
|
|
334
|
+
DisplayStatus: "Offered" | "Added" | "Removed" | "Created";
|
|
335
|
+
gtClass: string;
|
|
336
|
+
hideDisplayStatusTd: boolean;
|
|
337
|
+
DisplayStatusRowspan: number;
|
|
338
|
+
constructor(BuyerProgramName: string, action: "Remove" | "Undo", actionColumnClass: string, status: "Offered" | "Added" | "Removed" | "Created", hideDisplayStatusTd?: boolean, DisplayStatusRowspan?: number);
|
|
339
|
+
}
|
|
340
|
+
export declare class EditableInput {
|
|
341
|
+
type: "INPUT" | "STRING";
|
|
342
|
+
value: string;
|
|
343
|
+
disabled?: boolean;
|
|
344
|
+
className?: string;
|
|
345
|
+
hasError?: boolean;
|
|
346
|
+
placeholder?: string;
|
|
347
|
+
allowSpecialCharacters: boolean;
|
|
348
|
+
maxDecimalPointsAllowed: number;
|
|
349
|
+
isDecimalPointCheckRequired: boolean;
|
|
350
|
+
charactersToRestrict: any[];
|
|
351
|
+
constructor(value: string, type: "INPUT" | "STRING", placeholder: string, disabled?: boolean, className?: string, allowSpecialCharacters?: boolean, maxDecimalPointsAllowed?: number, isDecimalPointCheckRequired?: boolean, charactersToRestrict?: string[]);
|
|
352
|
+
}
|
|
353
|
+
export declare class IconsAndTooltips {
|
|
354
|
+
iconsAndTooltips: {
|
|
355
|
+
showIcon: boolean;
|
|
356
|
+
showSvgIcon: boolean;
|
|
357
|
+
iconClass?: string;
|
|
358
|
+
iconTooltip?: string;
|
|
359
|
+
svgOrIconName?: string;
|
|
360
|
+
svgOrIconTooltipMsg?: string;
|
|
361
|
+
}[];
|
|
362
|
+
constructor(iconsAndTooltips?: {
|
|
363
|
+
showIcon: boolean;
|
|
364
|
+
showSvgIcon: boolean;
|
|
365
|
+
iconClass?: string;
|
|
366
|
+
iconTooltip?: string;
|
|
367
|
+
svgOrIconName?: string;
|
|
368
|
+
svgOrIconTooltipMsg?: string;
|
|
369
|
+
}[]);
|
|
370
|
+
}
|
|
371
|
+
export interface SpotDetailsForOtherSpotsTablePopup {
|
|
372
|
+
OrderId: string;
|
|
373
|
+
AdvertiserName: string;
|
|
374
|
+
Spot: string;
|
|
375
|
+
Rate: string;
|
|
376
|
+
ActualRate: number;
|
|
377
|
+
Rating: number;
|
|
378
|
+
Impressions: number;
|
|
379
|
+
AirDateTime: string;
|
|
380
|
+
AirDate: string;
|
|
381
|
+
Length: string;
|
|
382
|
+
ActualLength: number;
|
|
383
|
+
SpotStatus: string;
|
|
384
|
+
}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import { REVISIONSTATUSES } from "@annalib/anna-feature-lib/anna-feature-shared-lib";
|
|
2
|
+
import { IntelliFilter } from "./anna-revisions-enums.model";
|
|
3
|
+
import { AdditionalSpotInformation } from "./anna-revisions-response.model";
|
|
4
|
+
export interface OrderData {
|
|
5
|
+
orderRevisionStatus: REVISIONSTATUSES;
|
|
6
|
+
campaignId: number;
|
|
7
|
+
stationName: string;
|
|
8
|
+
orderId: string;
|
|
9
|
+
ogId: number;
|
|
10
|
+
revisionNo: number;
|
|
11
|
+
revisionType?: REVISIONTYPES;
|
|
12
|
+
writeEnabledOrder: boolean;
|
|
13
|
+
flightEndDate: string;
|
|
14
|
+
flightStartDate: string;
|
|
15
|
+
stationId: number;
|
|
16
|
+
isStationInSandboxMode?: boolean;
|
|
17
|
+
}
|
|
18
|
+
export interface CollapsedOrderInfo {
|
|
19
|
+
name: string;
|
|
20
|
+
value: string;
|
|
21
|
+
}
|
|
22
|
+
export interface HeaderInfo {
|
|
23
|
+
currentOrderIndex: number;
|
|
24
|
+
totalOrders: number;
|
|
25
|
+
}
|
|
26
|
+
export declare class Buyer {
|
|
27
|
+
primary: BuyerDetails;
|
|
28
|
+
secondary: BuyerDetails;
|
|
29
|
+
constructor(object: any);
|
|
30
|
+
}
|
|
31
|
+
declare class BuyerDetails {
|
|
32
|
+
id: number;
|
|
33
|
+
email: string;
|
|
34
|
+
constructor(data: any);
|
|
35
|
+
}
|
|
36
|
+
export declare class BuyerAndChannelDetails extends Buyer {
|
|
37
|
+
channelBackdate: string;
|
|
38
|
+
stationLogoUrl: string;
|
|
39
|
+
constructor(object: any);
|
|
40
|
+
}
|
|
41
|
+
export declare enum RevisionStatus {
|
|
42
|
+
BuyerPending = "Buyer Pending",
|
|
43
|
+
SellerPending = "Seller Pending",
|
|
44
|
+
SellerReconfirm = "Seller Reconfirm",
|
|
45
|
+
SMPending = "SM Pending",
|
|
46
|
+
RevGenerated = "Rev Generated",
|
|
47
|
+
RevDiscarded = "Rev Discarded",
|
|
48
|
+
OutstandingSpots = "O/S Spots",
|
|
49
|
+
OutstandingUD = "O/S UD"
|
|
50
|
+
}
|
|
51
|
+
export interface SummaryDetail {
|
|
52
|
+
class?: string;
|
|
53
|
+
heading: string;
|
|
54
|
+
value: string;
|
|
55
|
+
firstValue?: string;
|
|
56
|
+
secondValue?: string;
|
|
57
|
+
rating?: string | null;
|
|
58
|
+
tooltip?: string | null;
|
|
59
|
+
showRightBorder?: boolean;
|
|
60
|
+
showValueRTG?: boolean;
|
|
61
|
+
CPPOrCPM?: string | null;
|
|
62
|
+
expandedRow?: boolean;
|
|
63
|
+
}
|
|
64
|
+
export interface HeaderStatus {
|
|
65
|
+
Status: string;
|
|
66
|
+
IsCurrent: boolean;
|
|
67
|
+
Action: Action;
|
|
68
|
+
}
|
|
69
|
+
export type Action = "ShowTime" | "ShowTimeout" | "AutoRejected" | "NoAction" | "Skipped";
|
|
70
|
+
type REVISIONTYPES = "ANNA" | "USER" | "BUYER";
|
|
71
|
+
type USERTYPES = "SELLER" | "BUYER";
|
|
72
|
+
export interface MarkedForCreditOrMakegoodPayload {
|
|
73
|
+
OrderId: string;
|
|
74
|
+
StationId: number;
|
|
75
|
+
Spots: number[];
|
|
76
|
+
}
|
|
77
|
+
export interface UpdateSellerActionPayload {
|
|
78
|
+
OrderId: string;
|
|
79
|
+
StationId: number;
|
|
80
|
+
RevisionNumber: number;
|
|
81
|
+
SellerActionForOsPeTakenBy: string;
|
|
82
|
+
}
|
|
83
|
+
export interface SubmitSpotsPayload {
|
|
84
|
+
orderId: string;
|
|
85
|
+
StationName: string;
|
|
86
|
+
stationId: number;
|
|
87
|
+
revisionNumber: number;
|
|
88
|
+
actionUserType: USERTYPES;
|
|
89
|
+
actionTakenBy: string;
|
|
90
|
+
actionOnSpots: ActionOnSpots[];
|
|
91
|
+
UpdatedBuyerProgramName?: {
|
|
92
|
+
SpotId: string;
|
|
93
|
+
BuyerProgramName: string;
|
|
94
|
+
};
|
|
95
|
+
IsOSPESubmit: boolean;
|
|
96
|
+
Comments?: {
|
|
97
|
+
SpotId: number;
|
|
98
|
+
SellerOfferComments: string[];
|
|
99
|
+
}[];
|
|
100
|
+
CentralBuyerId?: string;
|
|
101
|
+
}
|
|
102
|
+
export interface ActionOnSpots {
|
|
103
|
+
spotId: string;
|
|
104
|
+
spotAction: string;
|
|
105
|
+
spotType: string;
|
|
106
|
+
}
|
|
107
|
+
export interface GoToPageObj {
|
|
108
|
+
page: "BizRules" | "revisions" | "offers";
|
|
109
|
+
selectedIntelliFilter: IntelliFilter;
|
|
110
|
+
advertiserId: number;
|
|
111
|
+
orderMetric?: "CPP" | "CPM";
|
|
112
|
+
parentTab: "TV Revenue" | "Other Revenue";
|
|
113
|
+
}
|
|
114
|
+
export interface RevisionDataPayload {
|
|
115
|
+
OrderId: string;
|
|
116
|
+
StationId: number;
|
|
117
|
+
RevisionNumber: number;
|
|
118
|
+
Page: string;
|
|
119
|
+
Equivalisation: boolean;
|
|
120
|
+
UserId: number;
|
|
121
|
+
UserName: string;
|
|
122
|
+
CentralBuyerId?: string;
|
|
123
|
+
}
|
|
124
|
+
export declare class IconActionForBookedRTGColumn {
|
|
125
|
+
tooltipObjList: any[];
|
|
126
|
+
constructor(data: AdditionalSpotInformation, orderMetric: "CPP" | "CPM", textBeforeTooltip: number, showTooltip: boolean, showBadSpotsTooltip: boolean, showBuyerRTGChangedTooltip: boolean);
|
|
127
|
+
}
|
|
128
|
+
export interface OfferRejectedReasonAndCommentPopupData {
|
|
129
|
+
reasons: {
|
|
130
|
+
title: string;
|
|
131
|
+
isSelected: boolean;
|
|
132
|
+
}[];
|
|
133
|
+
spotData: AdditionalSpotInformation;
|
|
134
|
+
comment: string;
|
|
135
|
+
isDisabled: boolean;
|
|
136
|
+
disableApply: boolean;
|
|
137
|
+
disableCommentBox: boolean;
|
|
138
|
+
commentBoxPlaceholder: string;
|
|
139
|
+
excludeFutureOffers: boolean;
|
|
140
|
+
}
|
|
141
|
+
export declare class IconActionForStatusColumn {
|
|
142
|
+
id: any;
|
|
143
|
+
data: string;
|
|
144
|
+
iconClass: string;
|
|
145
|
+
showIcon: boolean;
|
|
146
|
+
disabledIcon: boolean;
|
|
147
|
+
showTooltip: boolean;
|
|
148
|
+
typeOfData: "STRING" | "ICON_TEXT_ACTION";
|
|
149
|
+
additionalTextBeforeLink: string;
|
|
150
|
+
disableTooltip: boolean;
|
|
151
|
+
tooltipData: any;
|
|
152
|
+
tooltipClass: string;
|
|
153
|
+
additionalTextClass: string;
|
|
154
|
+
constructor(data: AdditionalSpotInformation);
|
|
155
|
+
}
|
|
156
|
+
export {};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { AnnaFilterService, AnnaGlobalConfigService, AnnaGtHelperService, AnnaSortService, IGtGeneralConfig, IGtTableHeader, ITotalRowInfo } from "@annalib/anna-core";
|
|
3
|
+
import { MessageBoxData } from "@annalib/anna-design-components-lib";
|
|
4
|
+
import { IMakeGoodSpotInformationForEdit } from "../models/create-or-edit-offers-popup.model";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class OfferedMgEditTableComponent implements OnInit, OnChanges {
|
|
7
|
+
private annaGlobalConfig;
|
|
8
|
+
private annaSortService;
|
|
9
|
+
private annaFilterService;
|
|
10
|
+
private annaGtService;
|
|
11
|
+
offeredMGsTableHeaders: IGtTableHeader[];
|
|
12
|
+
messageBoxData: MessageBoxData;
|
|
13
|
+
showMakegoodTableSkeletonLoader: boolean;
|
|
14
|
+
offeredMakegoods: IMakeGoodSpotInformationForEdit[];
|
|
15
|
+
offeredMakeGoodsForDisplay: IMakeGoodSpotInformationForEdit[];
|
|
16
|
+
totalRowInfoForOfferedMakeGoods: ITotalRowInfo[];
|
|
17
|
+
applyFiltersAndSorting: boolean;
|
|
18
|
+
resetFiltersAndSorting: boolean;
|
|
19
|
+
title: string;
|
|
20
|
+
offeredMgActionClicked: EventEmitter<any>;
|
|
21
|
+
inputEdited: EventEmitter<any>;
|
|
22
|
+
timeSelectedInTableRow: EventEmitter<any>;
|
|
23
|
+
sotingApplied: EventEmitter<any>;
|
|
24
|
+
filtered: EventEmitter<any>;
|
|
25
|
+
reArrangeAndCalculateTotalRow: EventEmitter<any>;
|
|
26
|
+
revenueClassEditedEmit: EventEmitter<{
|
|
27
|
+
selectedItem: {
|
|
28
|
+
id: number;
|
|
29
|
+
text: string;
|
|
30
|
+
};
|
|
31
|
+
row: IMakeGoodSpotInformationForEdit;
|
|
32
|
+
dropdownIndex: number;
|
|
33
|
+
}>;
|
|
34
|
+
gtGeneralConfigForOfferedMG: IGtGeneralConfig;
|
|
35
|
+
gtDimensionForMGTable: {
|
|
36
|
+
rowHeight: number;
|
|
37
|
+
headerHeight: number;
|
|
38
|
+
dataOnTopHeight: number;
|
|
39
|
+
marginFromBottom: number;
|
|
40
|
+
};
|
|
41
|
+
constructor(annaGlobalConfig: AnnaGlobalConfigService, annaSortService: AnnaSortService, annaFilterService: AnnaFilterService, annaGtService: AnnaGtHelperService);
|
|
42
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
43
|
+
ngOnInit(): void;
|
|
44
|
+
revenueClassEdited(event: {
|
|
45
|
+
selectedItem: {
|
|
46
|
+
id: number;
|
|
47
|
+
text: string;
|
|
48
|
+
};
|
|
49
|
+
row: IMakeGoodSpotInformationForEdit;
|
|
50
|
+
dropdownIndex: number;
|
|
51
|
+
}): void;
|
|
52
|
+
setTableConfig(): void;
|
|
53
|
+
filterApplied(tableData: IMakeGoodSpotInformationForEdit[]): void;
|
|
54
|
+
sortingApplied(tableData: IMakeGoodSpotInformationForEdit[]): void;
|
|
55
|
+
offeredMGTableActionClicked(event: {
|
|
56
|
+
data: IMakeGoodSpotInformationForEdit;
|
|
57
|
+
id: any;
|
|
58
|
+
}): void;
|
|
59
|
+
editableInputEdited(event: {
|
|
60
|
+
row: any;
|
|
61
|
+
value: string;
|
|
62
|
+
keyEdited: string;
|
|
63
|
+
}): void;
|
|
64
|
+
timeSelected(obj: {
|
|
65
|
+
selectedTime: string[][];
|
|
66
|
+
selectedTimeConverted: {
|
|
67
|
+
startTime: string;
|
|
68
|
+
endTime: string;
|
|
69
|
+
};
|
|
70
|
+
rowData: any;
|
|
71
|
+
}): void;
|
|
72
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OfferedMgEditTableComponent, never>;
|
|
73
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OfferedMgEditTableComponent, "anna-feature-offered-mg-edit-table", never, { "offeredMGsTableHeaders": { "alias": "offeredMGsTableHeaders"; "required": false; }; "messageBoxData": { "alias": "messageBoxData"; "required": false; }; "showMakegoodTableSkeletonLoader": { "alias": "showMakegoodTableSkeletonLoader"; "required": false; }; "offeredMakegoods": { "alias": "offeredMakegoods"; "required": false; }; "offeredMakeGoodsForDisplay": { "alias": "offeredMakeGoodsForDisplay"; "required": false; }; "totalRowInfoForOfferedMakeGoods": { "alias": "totalRowInfoForOfferedMakeGoods"; "required": false; }; "applyFiltersAndSorting": { "alias": "applyFiltersAndSorting"; "required": false; }; "resetFiltersAndSorting": { "alias": "resetFiltersAndSorting"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, { "offeredMgActionClicked": "offeredMgActionClicked"; "inputEdited": "inputEdited"; "timeSelectedInTableRow": "timeSelectedInTableRow"; "sotingApplied": "sotingApplied"; "filtered": "filtered"; "reArrangeAndCalculateTotalRow": "reArrangeAndCalculateTotalRow"; "revenueClassEditedEmit": "revenueClassEditedEmit"; }, never, never, true, never>;
|
|
74
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { AnnaFilterService, AnnaGlobalConfigService, AnnaGtHelperService, AnnaNonEditableGenericTableComponent, AnnaSortService, IGtGeneralConfig, IGtTableHeader } from "@annalib/anna-core";
|
|
3
|
+
import { IAvailableSpotInformationForEdit } from "../models/create-or-edit-offers-popup.model";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class OtherSpotsEditTableComponent implements OnInit, OnChanges {
|
|
6
|
+
private annaGlobalConfig;
|
|
7
|
+
private annaSortService;
|
|
8
|
+
private annaFilterService;
|
|
9
|
+
private annaGtService;
|
|
10
|
+
title: string;
|
|
11
|
+
tableHeaders: IGtTableHeader[];
|
|
12
|
+
spots: IAvailableSpotInformationForEdit[];
|
|
13
|
+
spotsForDisplay: IAvailableSpotInformationForEdit[];
|
|
14
|
+
showTableSkeletonLoader: boolean;
|
|
15
|
+
revisedOnDate: string;
|
|
16
|
+
resetFiltersAndSorting: boolean;
|
|
17
|
+
applyFiltersAndSorting: boolean;
|
|
18
|
+
gtClass: string;
|
|
19
|
+
spotsActionClicked: EventEmitter<any>;
|
|
20
|
+
filterSortingApplied: EventEmitter<any>;
|
|
21
|
+
gtDimension: {
|
|
22
|
+
rowHeight: number;
|
|
23
|
+
headerHeight: number;
|
|
24
|
+
dataOnTopHeight: number;
|
|
25
|
+
marginFromBottom: number;
|
|
26
|
+
};
|
|
27
|
+
gtGeneralConfig: IGtGeneralConfig;
|
|
28
|
+
disableResetAllAvailableSpotsFilters: boolean;
|
|
29
|
+
nonEditableGTComponent: AnnaNonEditableGenericTableComponent;
|
|
30
|
+
constructor(annaGlobalConfig: AnnaGlobalConfigService, annaSortService: AnnaSortService, annaFilterService: AnnaFilterService, annaGtService: AnnaGtHelperService);
|
|
31
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
32
|
+
ngOnInit(): void;
|
|
33
|
+
setGtTableConfig(): void;
|
|
34
|
+
availableSpotsActionClicked(event: {
|
|
35
|
+
data: IAvailableSpotInformationForEdit;
|
|
36
|
+
id: any;
|
|
37
|
+
}): void;
|
|
38
|
+
resetAllAvailableSpotsFilters(): void;
|
|
39
|
+
filterApplied(tableData: IAvailableSpotInformationForEdit[]): void;
|
|
40
|
+
sortingApplied(tableData: IAvailableSpotInformationForEdit[]): void;
|
|
41
|
+
enableDisableResetAllAvailableSpotsFilters(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OtherSpotsEditTableComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OtherSpotsEditTableComponent, "anna-feature-other-spots-edit-table", never, { "title": { "alias": "title"; "required": false; }; "tableHeaders": { "alias": "tableHeaders"; "required": false; }; "spots": { "alias": "spots"; "required": false; }; "spotsForDisplay": { "alias": "spotsForDisplay"; "required": false; }; "showTableSkeletonLoader": { "alias": "showTableSkeletonLoader"; "required": false; }; "revisedOnDate": { "alias": "revisedOnDate"; "required": false; }; "resetFiltersAndSorting": { "alias": "resetFiltersAndSorting"; "required": false; }; "applyFiltersAndSorting": { "alias": "applyFiltersAndSorting"; "required": false; }; "gtClass": { "alias": "gtClass"; "required": false; }; }, { "spotsActionClicked": "spotsActionClicked"; "filterSortingApplied": "filterSortingApplied"; }, never, never, true, never>;
|
|
44
|
+
}
|
package/spots-approval/src/political-rate-warning-popup/political-rate-warning-popup.component.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { NgbModal, NgbModalRef } from "@ng-bootstrap/ng-bootstrap";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class PoliticalRateWarningPopupComponent implements OnInit {
|
|
5
|
+
private modalService;
|
|
6
|
+
data: {
|
|
7
|
+
key: string;
|
|
8
|
+
value: string;
|
|
9
|
+
}[];
|
|
10
|
+
autoAssignablePriorityCode: {
|
|
11
|
+
id: number;
|
|
12
|
+
text: string;
|
|
13
|
+
};
|
|
14
|
+
closed: EventEmitter<any>;
|
|
15
|
+
autoAssignPriorityCodeForGivenLURViolation: EventEmitter<any>;
|
|
16
|
+
private politicalRateWarningModal;
|
|
17
|
+
politicalRateWarningModalReference: NgbModalRef;
|
|
18
|
+
politicalRate: string;
|
|
19
|
+
constructor(modalService: NgbModal);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
openModal(): void;
|
|
22
|
+
closeModal(): void;
|
|
23
|
+
autoAssignPriorityCode(): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PoliticalRateWarningPopupComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PoliticalRateWarningPopupComponent, "anna-feature-political-rate-warning-popup", never, { "data": { "alias": "data"; "required": false; }; "autoAssignablePriorityCode": { "alias": "autoAssignablePriorityCode"; "required": false; }; }, { "closed": "closed"; "autoAssignPriorityCodeForGivenLURViolation": "autoAssignPriorityCodeForGivenLURViolation"; }, never, never, true, never>;
|
|
26
|
+
}
|