@annalib/anna-feature-biz-rules 48.0.0-final-ng-19 → 50.0.0-final-ng-19

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.
Files changed (27) hide show
  1. package/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.d.ts +1 -1
  2. package/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.d.ts +1 -1
  3. package/business-rules/src/add-edit-buyer-contact-popup/add-edit-buyer-contact-popup.component.d.ts +1 -1
  4. package/business-rules/src/adu-rules/adu-rules.component.d.ts +1 -1
  5. package/business-rules/src/approval-config/approval-config.component.d.ts +1 -1
  6. package/business-rules/src/avatar/avatar.component.d.ts +1 -1
  7. package/business-rules/src/business-rule-page/business-rule-page.component.d.ts +1 -1
  8. package/business-rules/src/business-rules-history/business-rules-history.component.d.ts +1 -1
  9. package/business-rules/src/business-rules-history-popup/business-rules-history-popup.component.d.ts +1 -1
  10. package/business-rules/src/buyer-contact-history/buyer-contact-history.component.d.ts +1 -1
  11. package/business-rules/src/buyer-contact-section/buyer-rep-contact-section.component.d.ts +1 -1
  12. package/business-rules/src/copy-biz-rules-popup/copy-biz-rules-popup.component.d.ts +1 -1
  13. package/business-rules/src/daypart-grouping-popup/daypart-grouping-popup.component.d.ts +1 -1
  14. package/business-rules/src/daypart-restrictions/daypart-restrictions.component.d.ts +1 -1
  15. package/business-rules/src/equivalent-and-higher-daypart/equivalent-and-higher-daypart.component.d.ts +1 -1
  16. package/business-rules/src/excluded-or-special-program/excluded-or-special-program.component.d.ts +1 -1
  17. package/business-rules/src/general-rules/general-rules.component.d.ts +1 -1
  18. package/business-rules/src/inherit-biz-rule-approval-popup/inherit-biz-rule-approval-popup.component.d.ts +1 -1
  19. package/business-rules/src/make-good-rules/make-good-rules.component.d.ts +1 -1
  20. package/business-rules/src/mass-copy-biz-rules-popup/mass-copy-biz-rules-popup.component.d.ts +1 -1
  21. package/fesm2022/annalib-anna-feature-biz-rules-advertiser-listing.mjs +11 -11
  22. package/fesm2022/annalib-anna-feature-biz-rules-advertiser-listing.mjs.map +1 -1
  23. package/fesm2022/annalib-anna-feature-biz-rules-biz-rules-order-listing.mjs +3 -3
  24. package/fesm2022/annalib-anna-feature-biz-rules-business-rules.mjs +89 -90
  25. package/fesm2022/annalib-anna-feature-biz-rules-business-rules.mjs.map +1 -1
  26. package/fesm2022/annalib-anna-feature-biz-rules.mjs +4 -4
  27. package/package.json +10 -10
@@ -1 +1 @@
1
- {"version":3,"file":"annalib-anna-feature-biz-rules-advertiser-listing.mjs","sources":["../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/models/advertiser-filter-modal.model.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.html","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/model/adv-table-listing.model.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/services/adv-table-listing.service.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.html","../../../projects/anna-feature-biz-rules/advertiser-listing/annalib-anna-feature-biz-rules-advertiser-listing.ts"],"sourcesContent":["import { PersistedDashboardPrimaryFilters } from \"@annalib/anna-design-components-lib\";\n\nexport enum AdvertiserListingFilterPopupradioButtons {\n showAllActiveAdvertisers = \"Show all active advertisers\",\n calendarSelection = \"Calendar selection\",\n}\n\nexport interface AdvertiserListingFilterPopup extends PersistedDashboardPrimaryFilters {\n showCalendarSelection: boolean;\n stationName?: string;\n includeExpiredAdvertisers: boolean;\n}\n\nexport interface AdvertiserListingFilterSelectionPopUp extends AdvertiserListingFilterPopup {\n updateNavigation?: boolean;\n}\n","/* eslint-disable import/no-extraneous-dependencies */\n// Angular import statements\nimport {\n DatePipe,\n NgClass,\n NgFor,\n NgIf,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgTemplateOutlet,\n} from \"@angular/common\";\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n TemplateRef,\n ViewChild,\n} from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MatRadioModule } from \"@angular/material/radio\";\n// Anna Lib\nimport {\n AnnaGlobalConfigService,\n ICustomSingleSelect,\n IRadioButtonComponentConfig,\n UpdateStationIdService,\n} from \"@annalib/anna-core\";\n// User defined Imports\nimport {\n CalendarQuarterYearFilterService,\n DashboardFilterModalConstants,\n GenericPeriodSelectionComponent,\n ICalendarTypeResponse,\n IdTextForDropdown,\n IYearQuarter,\n PeriodSelectionPopUp,\n PrimaryFiltersData,\n SingleSelectComponent,\n SkeletonLoaderComponent,\n StartDateConsideringFactor,\n} from \"@annalib/anna-design-components-lib\";\nimport { NgbModal, NgbModalOptions, NgbModalRef } from \"@ng-bootstrap/ng-bootstrap\";\n// Third party import statements\nimport dayjs from \"dayjs\";\nimport minMax from \"dayjs/plugin/minMax\";\nimport { cloneDeep, isEqual } from \"lodash-es\";\n\nimport {\n AdvertiserListingFilterPopup,\n AdvertiserListingFilterPopupradioButtons,\n AdvertiserListingFilterSelectionPopUp,\n} from \"./models/advertiser-filter-modal.model\";\n\n@Component({\n selector: \"anna-feature-biz-rules-advertiser-filter-modal\",\n templateUrl: \"./advertiser-filter-modal.component.html\",\n styleUrls: [\"./advertiser-filter-modal.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgIf,\n NgFor,\n NgClass,\n FormsModule,\n NgTemplateOutlet,\n MatRadioModule,\n SingleSelectComponent,\n GenericPeriodSelectionComponent,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n SkeletonLoaderComponent,\n DatePipe,\n ]\n})\nexport class AdvertiserFilterModalComponent implements OnChanges {\n @Input() toDisable: boolean;\n @Input() filterData: PrimaryFiltersData;\n @Input() persistingFilter: AdvertiserListingFilterPopup;\n @Input() stationIdsWithValidLicense: number[] = [];\n\n @Output() applyFilter = new EventEmitter<any>();\n @Output() getInitialFilter = new EventEmitter<any>();\n\n @ViewChild(\"dbFilterModal\", { static: true }) private dbFilterModal: TemplateRef<any>;\n modalRef: NgbModalRef;\n ngbModalOptions: NgbModalOptions;\n constants = DashboardFilterModalConstants;\n\n clonedFilter: AdvertiserListingFilterSelectionPopUp;\n\n stationDropdownConfig: ICustomSingleSelect;\n calendarTypeConfig: IRadioButtonComponentConfig;\n\n selectedStation: IdTextForDropdown;\n stations: IdTextForDropdown[];\n selectedPeriodData: PeriodSelectionPopUp;\n selectedStartDate: string;\n selectedEndDate: string;\n includeExpiredAdvertisers: boolean;\n\n minMaxDateRangeForCalendar: { startDate: string; endDate: string };\n\n loggedInUserId: number;\n\n @Input() toShowAllPeriodModeSetting: boolean = false;\n @Input() PeriodOptions: string[] = [\"Quarter\"];\n\n defaultQuarterYear: string;\n defaultQuarter: string;\n calendarData: any;\n\n DATE_FORMAT = \"MM/DD/YYYY\";\n DATE_FORMAT_HTML = \"MM/dd/YYYY\";\n MONTH_DATE_FORMAT_HTML = \"d MMM\";\n isFilterValueChanged: boolean;\n\n noQuarterYearPresent: boolean;\n previousSelectedStation: IdTextForDropdown;\n previousSelectedOwnershipGroup: IdTextForDropdown;\n\n periodDataLoader: boolean;\n initialFiltersForStationAndPeriod: AdvertiserListingFilterPopup;\n StartDateConsideringFactor = StartDateConsideringFactor;\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle: AdvertiserListingFilterPopupradioButtons;\n advertiserListingFilterPopupradioButtons = AdvertiserListingFilterPopupradioButtons;\n\n constructor(\n private modalService: NgbModal,\n private annaGlobalService: AnnaGlobalConfigService,\n private quarterFilterService: CalendarQuarterYearFilterService,\n private updateStationIdService: UpdateStationIdService,\n ) {\n dayjs.extend(minMax);\n this.configModalOptions();\n this.setStationDropdownConfig();\n this.resetClonedFilter();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.filterData && changes.filterData.currentValue) {\n if (this.stationIdsWithValidLicense?.length) {\n this.filterData.stationArr = this.filterData.stationArr.filter((station) =>\n this.stationIdsWithValidLicense.includes(station.id),\n );\n }\n this.disableEditFilterBtn();\n this.getLoginUserId();\n this.setFilterData();\n }\n }\n\n setInitialFiltersForComponent() {\n this.initialFiltersForStationAndPeriod = {\n stationId: this.selectedStation.id,\n showCalendarSelection:\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection,\n includeExpiredAdvertisers: this.includeExpiredAdvertisers,\n };\n const calendarData = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n\n if (this.calendarData.BroadcastQuarterYear.length) {\n let selectedQuarter;\n const quarter = calendarData.BroadcastQuarterYear;\n for (let i = 0; i < quarter.length; i++) {\n selectedQuarter = quarter[i].Quarters.filter((data: any) => data.IsCurrentQuarter);\n if (selectedQuarter.length) {\n break;\n }\n }\n\n if (selectedQuarter) {\n const defaultQuarterYear = dayjs(selectedQuarter[0].EndDate).format(\"YYYY\");\n const defaultQuarter = selectedQuarter[0].DisplayDate;\n\n const selectedStartDate = dayjs(selectedQuarter[0].StartDate).format(this.DATE_FORMAT);\n const selectedEndDate = dayjs(selectedQuarter[0].EndDate).format(this.DATE_FORMAT);\n\n this.initialFiltersForStationAndPeriod.periodData = {\n year: defaultQuarterYear,\n quarter: defaultQuarter,\n calendarType: this.constants.Broadcast,\n periodMode: this.constants.Quarter,\n month: null,\n isEntireFlightPeriod: false,\n startDate: selectedStartDate,\n endDate: selectedEndDate,\n };\n } else {\n this.initialFiltersForStationAndPeriod.periodData = null;\n }\n }\n\n this.getInitialFilter.emit(this.initialFiltersForStationAndPeriod);\n }\n\n disableEditFilterBtn() {\n this.noQuarterYearPresent = true;\n this.filterData.stationCalendarTypeMap.forEach((value, key) => {\n if (value.BroadcastQuarterYear.length > 0) {\n this.noQuarterYearPresent = false;\n }\n });\n }\n\n setFilterData() {\n this.periodDataLoader = true;\n this.setStationData();\n this.setShowCalendarSelectionValue();\n this.setIncludeExcludedAdvertisersValue();\n this.setCalendarQuarterFilter();\n this.callBackFuncOnInitialSetup();\n }\n\n setShowCalendarSelectionValue() {\n const showCalendarSelection =\n this.persistingFilter && this.persistingFilter.showCalendarSelection !== undefined\n ? this.persistingFilter.showCalendarSelection\n : true;\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle = showCalendarSelection\n ? this.advertiserListingFilterPopupradioButtons.calendarSelection\n : this.advertiserListingFilterPopupradioButtons.showAllActiveAdvertisers;\n }\n\n setIncludeExcludedAdvertisersValue() {\n this.includeExpiredAdvertisers =\n this.persistingFilter && this.persistingFilter.includeExpiredAdvertisers !== undefined\n ? this.persistingFilter.includeExpiredAdvertisers\n : false;\n }\n\n callBackFuncOnInitialSetup() {\n this.setInitialFiltersForComponent();\n this.setClonedDataAndEmitFilters();\n this.periodDataLoader = false;\n this.isFilterValueChanged = false;\n }\n\n setStationData() {\n this.stations = this.filterData.stationArr;\n if (this.persistingFilter && this.persistingFilter.stationId) {\n this.selectedStation = this.stations.some((station) => station.id === this.persistingFilter.stationId)\n ? this.stations.find((station) => station.id === this.persistingFilter.stationId)\n : this.stations[0];\n } else {\n this.selectedStation = this.stations[0];\n }\n this.previousSelectedStation = cloneDeep(this.selectedStation);\n }\n\n setCalendarQuarterFilter() {\n this.selectedPeriodData =\n this.persistingFilter && this.persistingFilter.periodData ? this.persistingFilter.periodData : null;\n this.setGenericPeriodSelectionComponentData();\n if (this.isPeriodData()) {\n this.setStartAndEndDate(this.calendarData);\n this.setMinMaxDateRangeAsPerQuarter();\n }\n }\n\n isPeriodData() {\n return this.calendarData.BroadcastQuarterYear.length;\n }\n\n setGenericPeriodSelectionComponentData() {\n this.calendarData = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n this.quarterFilterService.publishQuarterFilterData({ filterData: this.calendarData, selectedFilter: null });\n }\n\n setMinMaxDateRangeAsPerQuarter() {\n if (this.calendarData.BroadcastQuarterYear.length > 0) {\n this.minMaxDateRangeForCalendar = null;\n if (this.isFiscalPeriod()) {\n this.setMinMaxDate(this.calendarData.FiscalQuarterYear);\n } else {\n this.setMinMaxDate(this.calendarData.BroadcastQuarterYear);\n }\n }\n }\n\n setMinMaxDate(quarterYear: IYearQuarter[]) {\n const totalYear = quarterYear.length - 1;\n const totalQuarterInLastYear = quarterYear[totalYear].Quarters.length - 1;\n\n const startDate = dayjs(quarterYear[0].Quarters[0].StartDate).format(this.DATE_FORMAT);\n const endDate = dayjs(quarterYear[totalYear].Quarters[totalQuarterInLastYear].EndDate).format(this.DATE_FORMAT);\n this.minMaxDateRangeForCalendar = { startDate, endDate };\n }\n\n isFiscalPeriod() {\n return (\n (this.persistingFilter &&\n this.persistingFilter.periodData &&\n this.persistingFilter.periodData.calendarType === this.constants.Fiscal) ||\n (this.selectedPeriodData && this.selectedPeriodData.calendarType === this.constants.Fiscal)\n );\n }\n\n setStartAndEndDate(calendarData: ICalendarTypeResponse) {\n if (this.persistingFilter && this.persistingFilter.periodData) {\n this.selectedStartDate = this.persistingFilter.periodData.startDate;\n this.selectedEndDate = this.persistingFilter.periodData.endDate;\n this.defaultQuarterYear = null;\n this.defaultQuarter = null;\n } else {\n this.setDefaultPeriodFilter(calendarData);\n }\n }\n\n openFilterModal() {\n this.previousSelectedStation = null;\n if (this.persistingFilter && this.persistingFilter.stationId) {\n this.previousSelectedStation = this.stations?.filter((n) => n.id === this.persistingFilter.stationId)[0];\n } else if (this.stations) {\n this.previousSelectedStation = this.stations[0];\n }\n this.modalRef = this.modalService.open(this.dbFilterModal, this.ngbModalOptions);\n }\n\n closeOptionsModal() {\n this.modalRef.close();\n }\n\n isPeriodFilterChanged(periodFilter: PeriodSelectionPopUp) {\n this.selectedPeriodData = cloneDeep(periodFilter);\n this.selectedStartDate = periodFilter.startDate;\n this.selectedEndDate = periodFilter.endDate;\n this.setMinMaxDateRangeAsPerQuarter();\n this.isFilterDropdownValueChanged();\n }\n\n // default is broadcast quater year\n setDefaultPeriodFilter(calendarData: ICalendarTypeResponse) {\n let selectedQuarter;\n const quarter = calendarData.BroadcastQuarterYear;\n for (let i = 0; i < quarter.length; i++) {\n selectedQuarter = quarter[i].Quarters.filter((data) => data.IsCurrentQuarter);\n if (selectedQuarter.length) {\n break;\n }\n }\n this.defaultQuarterYear = dayjs(selectedQuarter[0].EndDate).format(\"YYYY\");\n this.defaultQuarter = selectedQuarter[0].DisplayDate;\n\n this.selectedStartDate = dayjs(selectedQuarter[0].StartDate).format(this.DATE_FORMAT);\n this.selectedEndDate = dayjs(selectedQuarter[0].EndDate).format(this.DATE_FORMAT);\n }\n\n onApplyFilterAndUpdateNavigation() {\n this.updateStationIdService.updateStationIdInLocalStorage([this.selectedStation.id]);\n this.previousSelectedStation = cloneDeep(this.selectedStation);\n this.setClonedDataAndEmitFilters();\n this.closeOptionsModal();\n }\n\n setClonedDataAndEmitFilters() {\n const filterApplied = this.setClonedFilter();\n this.applyFilter.emit(filterApplied);\n }\n\n setClonedFilter() {\n const showCalendarSelection: boolean =\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection;\n this.clonedFilter = {\n periodData: cloneDeep(this.selectedPeriodData),\n stationId: this.selectedStation.id,\n stationName: this.selectedStation.text,\n includeExpiredAdvertisers: this.includeExpiredAdvertisers,\n showCalendarSelection,\n };\n this.updateStationIdService.updateStationIdInLocalStorage([this.clonedFilter.stationId]);\n this.addIncludeExpiredAdvertisersClonedFilter(this.includeExpiredAdvertisers);\n this.addShowCalendarSelectionClonedFilter(showCalendarSelection);\n this.setDefaultSelectedPeriodData();\n return this.clonedFilter;\n }\n\n addIncludeExpiredAdvertisersClonedFilter(val: boolean) {\n this.clonedFilter.includeExpiredAdvertisers = val !== undefined ? val : false;\n }\n\n addShowCalendarSelectionClonedFilter(val: boolean) {\n this.clonedFilter.showCalendarSelection = val !== undefined ? val : true;\n }\n\n setDefaultSelectedPeriodData() {\n if (this.clonedFilter.periodData == null && this.defaultQuarter) {\n this.clonedFilter.periodData = {\n year: this.defaultQuarterYear,\n quarter: this.defaultQuarter,\n calendarType: this.constants.Broadcast,\n periodMode: this.constants.Quarter,\n month: null,\n startDate: this.selectedStartDate,\n endDate: this.selectedEndDate,\n };\n this.clonedFilter = cloneDeep(this.clonedFilter);\n } else {\n this.clonedFilter.periodData = cloneDeep(this.selectedPeriodData);\n }\n }\n\n onCancelClicked() {\n this.selectedStartDate = this.clonedFilter.periodData?.startDate;\n this.selectedEndDate = this.clonedFilter.periodData?.endDate;\n\n this.selectedPeriodData = cloneDeep(this.clonedFilter.periodData);\n\n this.setPreviousDataForStationOrOG();\n this.setGenericPeriodSelectionComponentData();\n this.setMinMaxDateRangeAsPerQuarter();\n this.closeOptionsModal();\n }\n\n setPreviousDataForStationOrOG() {\n this.selectedStation = this.stations.filter((n) => n.id === this.clonedFilter.stationId)[0];\n }\n\n resetClonedFilter() {\n this.clonedFilter = {\n periodData: null,\n stationId: null,\n updateNavigation: null,\n showCalendarSelection: true,\n includeExpiredAdvertisers: false,\n };\n\n this.addIncludeExpiredAdvertisersClonedFilter(false);\n this.addShowCalendarSelectionClonedFilter(true);\n }\n\n stationSelected(selectedStation: IdTextForDropdown) {\n this.selectedStation = selectedStation;\n const previousQuarterFilter = this.filterData.stationCalendarTypeMap.get(this.previousSelectedStation.id);\n const currentQuarterFilter = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n\n if (previousQuarterFilter.BroadcastQuarterYear.length !== currentQuarterFilter.BroadcastQuarterYear.length) {\n this.setGenericPeriodSelectionComponentData();\n if (this.isPeriodData()) {\n this.setStartAndEndDate(this.calendarData);\n this.setMinMaxDateRangeAsPerQuarter();\n }\n }\n\n this.selectedStation = cloneDeep(selectedStation);\n this.isFilterDropdownValueChanged();\n }\n\n configModalOptions() {\n this.ngbModalOptions = {\n windowClass: \"dashboard-filter-modal\",\n };\n }\n\n getLoginUserId() {\n this.loggedInUserId = +JSON.parse(localStorage.getItem(\"userProfileData\")).userId;\n }\n\n isFilterDropdownValueChanged() {\n const calendarSelection =\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection;\n this.isFilterValueChanged =\n !isEqual(this.clonedFilter.periodData?.startDate, this.selectedStartDate) ||\n !isEqual(this.clonedFilter.periodData?.endDate, this.selectedEndDate) ||\n !isEqual(this.clonedFilter.periodData?.periodMode, this.selectedPeriodData?.periodMode) ||\n !isEqual(this.clonedFilter.periodData?.calendarType, this.selectedPeriodData?.calendarType);\n\n if (!this.isFilterValueChanged) {\n this.isFilterValueChanged = !isEqual(this.clonedFilter.stationId, this.selectedStation?.id);\n }\n\n if (!this.isFilterValueChanged) {\n this.isFilterValueChanged =\n !isEqual(this.clonedFilter.includeExpiredAdvertisers, this.includeExpiredAdvertisers) ||\n !isEqual(this.clonedFilter.showCalendarSelection, calendarSelection);\n }\n }\n\n setStationDropdownConfig() {\n this.stationDropdownConfig = { ...this.annaGlobalService.defaultSingleSelectConfig };\n this.stationDropdownConfig.placeholder = \"No station selected\";\n }\n\n showCalendarSelectionAndAllActiveAdvertisersToggled(event: AdvertiserListingFilterPopupradioButtons) {\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle = cloneDeep(event);\n this.includeExpiredAdvertisers =\n event === this.advertiserListingFilterPopupradioButtons.calendarSelection\n ? false\n : this.includeExpiredAdvertisers;\n this.isFilterDropdownValueChanged();\n }\n\n showOrHideExpiredAdvertisers() {\n this.includeExpiredAdvertisers = !this.includeExpiredAdvertisers;\n this.isFilterDropdownValueChanged();\n }\n}\n","<article class=\"selected-filters-container\">\n <section\n *ngIf=\"filterData\"\n class=\"filter-view\"\n >\n <div>\n <header class=\"header\">Station</header>\n <p class=\"selected-value\">\n {{ previousSelectedStation && previousSelectedStation.text ? previousSelectedStation.text : \"-\" }}\n </p>\n </div>\n\n <div>\n <ng-container\n *ngIf=\"!periodDataLoader\"\n [ngTemplateOutlet]=\"periodSelected\"\n ></ng-container>\n <ng-container\n *ngIf=\"periodDataLoader\"\n [ngTemplateOutlet]=\"periodSkeletonLoader\"\n ></ng-container>\n </div>\n </section>\n\n <section\n *ngIf=\"!filterData\"\n class=\"filter-view\"\n >\n <ng-container [ngTemplateOutlet]=\"skeletonLoader\"></ng-container>\n </section>\n\n <button\n *ngIf=\"!toDisable\"\n class=\"anna edit-button\"\n [disabled]=\"!filterData || noQuarterYearPresent || toDisable\"\n (click)=\"openFilterModal()\"\n >\n Edit\n </button>\n <ng-container\n *ngIf=\"toDisable\"\n [ngTemplateOutlet]=\"editButtonLoader\"\n ></ng-container>\n</article>\n\n<ng-template\n #dbFilterModal\n let-modal\n>\n <div class=\"modal-header confirm-modal-header\">\n <h3 class=\"modal-title\">Edit Filter</h3>\n </div>\n <div class=\"modal-body\">\n <div class=\"filter-dropdown\">\n <div class=\"popup-filter\">\n <header class=\"header\">Station</header>\n <anna-design-single-select\n *ngIf=\"stations.length\"\n [items]=\"stations\"\n [selectedItem]=\"selectedStation\"\n [config]=\"stationDropdownConfig\"\n (valueChanged)=\"stationSelected($event)\"\n >\n </anna-design-single-select>\n </div>\n\n <div>\n <div class=\"custom-radio-group\">\n <div\n class=\"d-flex bold-text\"\n (click)=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle =\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers;\n showCalendarSelectionAndAllActiveAdvertisersToggled(\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers\n )\n \"\n >\n <span\n class=\"mdi radio-button-icon\"\n [ngClass]=\"{\n 'mdi-radiobox-marked':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers,\n 'mdi-radiobox-blank':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers\n }\"\n ></span>\n {{ advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers }}\n </div>\n\n <label\n class=\"checkbox-and-message pl-30\"\n [ngClass]=\"{\n 'disabled-label':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.calendarSelection\n }\"\n (click)=\"showOrHideExpiredAdvertisers()\"\n >\n <i\n class=\"mi mdi-check-box\"\n *ngIf=\"includeExpiredAdvertisers\"\n ></i>\n <i\n class=\"mi mdi-check-box-outline-blank\"\n *ngIf=\"!includeExpiredAdvertisers\"\n ></i>\n <span>Also include expired advertisers</span>\n </label>\n\n <br />\n\n <div\n class=\"d-flex bold-text\"\n (click)=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle =\n advertiserListingFilterPopupradioButtons?.calendarSelection;\n showCalendarSelectionAndAllActiveAdvertisersToggled(\n advertiserListingFilterPopupradioButtons?.calendarSelection\n )\n \"\n >\n <span\n class=\"mdi radio-button-icon\"\n [ngClass]=\"{\n 'mdi-radiobox-marked':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.calendarSelection,\n 'mdi-radiobox-blank':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons?.calendarSelection\n }\"\n ></span>\n {{ advertiserListingFilterPopupradioButtons?.calendarSelection }}\n </div>\n </div>\n </div>\n\n <div class=\"popup-filter pl-30\">\n <anna-design-generic-period-selection\n [selectedData]=\"persistingFilter?.periodData\"\n [disablePeriodSelection]=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons.calendarSelection\n \"\n [PeriodOptions]=\"PeriodOptions\"\n [minMaxDateRangeForCalendar]=\"minMaxDateRangeForCalendar\"\n [startDateConsideringFactor]=\"StartDateConsideringFactor.FLIGHT_START_DATE\"\n (isFilterChanged)=\"isPeriodFilterChanged($event)\"\n [toShowAllPeriodMode]=\"toShowAllPeriodModeSetting\"\n [showAllSelectionInDropdown]=\"false\"\n [toShowAllMonthsOfYear]=\"false\"\n >\n </anna-design-generic-period-selection>\n </div>\n </div>\n <div class=\"btn-group\">\n <button\n class=\"anna cancel-button\"\n (click)=\"onCancelClicked()\"\n >\n Cancel\n </button>\n\n <button\n class=\"anna apply-button\"\n [disabled]=\"!isFilterValueChanged || !selectedStartDate || !selectedEndDate\"\n (click)=\"onApplyFilterAndUpdateNavigation()\"\n >\n Apply\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #periodSelected>\n <header class=\"header\">Period</header>\n <ng-container *ngIf=\"clonedFilter.periodData && clonedFilter?.showCalendarSelection\">\n <ng-container [ngSwitch]=\"clonedFilter.periodData.periodMode\">\n <p\n class=\"selected-value\"\n *ngSwitchCase=\"constants.Quarter\"\n >\n {{ clonedFilter.periodData.year }}\n {{ clonedFilter.periodData.quarter }}\n </p>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"!clonedFilter.periodData || !clonedFilter?.showCalendarSelection\">\n <p class=\"selected-value\">-</p>\n </ng-container>\n</ng-template>\n\n<ng-template #skeletonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '150px',\n 'margin-bottom': '0',\n 'margin-right': '20px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '170px',\n 'margin-bottom': '0',\n 'margin-right': '20px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n\n<ng-template #periodSkeletonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '167px',\n 'margin-bottom': '0',\n 'margin-right': '0px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n\n<ng-template #editButtonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '52px',\n 'margin-bottom': '0',\n 'margin-right': '0px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n","export interface IEasyFilters {\n isEnabled: boolean;\n isActive: boolean;\n filterName: string;\n onlyEnabled?: boolean;\n}\n\nexport class AdvertiserListingTableData {\n advertiserId: number;\n advertiserName: string;\n status: string;\n agency: string;\n primaryBuyerName: string;\n primaryBuyerEmail: string;\n secondaryBuyerName: string;\n secondaryBuyerEmail: string;\n isExpired: boolean;\n}\n\nexport enum TypeOfActionLinkForGtEnum {\n ADEVERTISER_NAME_CLICK = \"ADEVERTISER_NAME_CLICK\",\n}\n\nexport class AdvertiserEzFilterConstants {\n static readonly AWAITING_APPROVAL = \"AWAITING APPROVAL\";\n static readonly APPROVED = \"APPROVED\";\n}\n","import { Injectable } from \"@angular/core\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class AdvTableListingService {\n latestEcListingTabFilters: any;\n}\n","import { NgClass, NgFor, NgIf, NgTemplateOutlet } from \"@angular/common\";\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild,\n} from \"@angular/core\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport {\n AnnaCoreModule,\n AnnaFilterService,\n AnnaGtHelperService,\n AnnaNonEditableGenericTableComponent,\n AnnaPersistingFilterService,\n AnnaSortService,\n IGtGeneralConfig,\n IGtTableHeader,\n} from \"@annalib/anna-core\";\nimport {\n AnnaDesignComponentsLibModule,\n EasyFilters,\n GenericMessageBoxTheme,\n IBreadcrumb,\n MessageBoxData,\n} from \"@annalib/anna-design-components-lib\";\n// eslint-disable-next-line max-len\nimport { GenericBusinessRuleCommonSIBILogicService } from \"@annalib/anna-feature-shared-lib\";\nimport dayjs from \"dayjs\";\nimport { cloneDeep, isEqual } from \"lodash-es\";\nimport { NgxSkeletonLoaderModule } from \"ngx-skeleton-loader\";\n\nimport { AdvertiserListingTableData, TypeOfActionLinkForGtEnum } from \"./model/adv-table-listing.model\";\nimport { AdvTableListingService } from \"./services/adv-table-listing.service\";\n\n@Component({\n selector: \"anna-feature-biz-rules-advertiser-table-listing\",\n templateUrl: \"./advertiser-table-listing.component.html\",\n styleUrls: [\"./advertiser-table-listing.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgIf,\n AnnaDesignComponentsLibModule,\n NgFor,\n NgClass,\n NgTemplateOutlet,\n NgxSkeletonLoaderModule,\n AnnaCoreModule,\n ]\n})\nexport class AdvertiserTableListingComponent implements OnInit, OnChanges {\n @Input() advertiserTableData: AdvertiserListingTableData[];\n @Input() advertiserTableDataClonned: AdvertiserListingTableData[];\n @Input() loading: boolean = true;\n @Input() userType: \"SELLER\" | \"BUYER\" = \"SELLER\";\n @Input() gtGeneralConfig: IGtGeneralConfig;\n @Input() gtDimension: {\n rowHeight: number;\n headerHeight: number;\n dataOnTopHeight: number;\n marginFromBottom: number;\n };\n @Input() tableHeaders: IGtTableHeader[];\n @Input() easyFilters: EasyFilters[];\n @Input() showNoDataToDisplayInsideTable: boolean = true;\n @Input() showExpiredAdvertisers: boolean;\n @Input() numberOfEasyFilterLoader: number = 2;\n @Input() totalAdvertisersMessage: string = \"Total Advertisers\";\n @Input() popupFilters: any;\n\n @Output() advertiserNameClicked = new EventEmitter<{\n advertiser: AdvertiserListingTableData;\n breadcrumbsToPersist: IBreadcrumb[];\n }>();\n @Output() resetAllFilter = new EventEmitter();\n @Output() columnfilterAppliedToTable = new EventEmitter();\n @Output() easyFilterClicked = new EventEmitter();\n\n disableClearAllBtn: boolean = true;\n filtersFromTheUrL: any;\n breadcrumbsToPersist: IBreadcrumb[];\n messageBoxData: MessageBoxData;\n applyPersistedFilters: boolean;\n filtersAppliedChanges: boolean = false;\n @ViewChild(AnnaNonEditableGenericTableComponent) nonEditableGTComponent: AnnaNonEditableGenericTableComponent;\n\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n private persistingFilterService: AnnaPersistingFilterService,\n private gtHelperService: AnnaGtHelperService,\n public annaFilterService: AnnaFilterService,\n public annaSortService: AnnaSortService,\n private businessRuleCommonSIBILogicService: GenericBusinessRuleCommonSIBILogicService,\n public advertiserTableListingService: AdvTableListingService,\n ) {}\n\n ngOnInit(): void {\n this.detectUrlChanges();\n this.setMessageForNoAdvertisers();\n // if (this.applyPersistedFilters) {\n // this.initPersistedFiltersForTable();\n // } else {\n // this.initFiltersForTable();\n // }\n }\n\n setMessageForNoAdvertisers() {\n const msg =\n // eslint-disable-next-line max-len\n \"Advertiser business rules will appear here for your approval once the station Account Executive forwards them.\";\n this.messageBoxData = new MessageBoxData(\n \"\",\n msg,\n \"mdi mdi-information\",\n `${GenericMessageBoxTheme.informationBlue.messageBoxClass} sm`,\n );\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes && changes?.advertiserTableData?.currentValue) {\n this.enableDisableClearAllBtn();\n if (!this.filtersAppliedChanges) {\n if (this.applyPersistedFilters) {\n this.initPersistedFiltersForTable();\n this.applyFilters();\n } else {\n this.initFiltersForTable();\n this.applyFilters();\n }\n }\n }\n\n this.filtersAppliedChanges = false;\n }\n\n initFiltersForTable() {\n this.annaFilterService.tooltipSelectedMap = new Map();\n this.annaFilterService.selectedRadio = null;\n this.annaFilterService.appliedFiltersArray = [];\n this.annaSortService.noSortingAppliedData = [];\n this.annaSortService.columnSortState = new Map();\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n }\n\n initPersistedFiltersForTable() {\n this.annaFilterService.tooltipSelectedMap = this.filtersFromTheUrL.selectedFilterData\n ? new Map(JSON.parse(this.filtersFromTheUrL.selectedFilterData))\n : new Map();\n this.annaFilterService.selectedRadio = null;\n this.annaFilterService.appliedFiltersArray = this.filtersFromTheUrL.appliedFilters\n ? cloneDeep(this.filtersFromTheUrL.appliedFilters)\n : [];\n\n this.annaSortService.columnSortState =\n this.filtersFromTheUrL && this.filtersFromTheUrL.sortState && this.applyPersistedFilters\n ? new Map(JSON.parse(this.filtersFromTheUrL.sortState))\n : new Map();\n if (this.annaFilterService.tooltipSelectedMap.has(\"Date\")) {\n const selectedDateObj: any = {};\n const date = this.annaFilterService.tooltipSelectedMap.get(\"Date\");\n selectedDateObj.fromDate = dayjs(date.fromDate);\n selectedDateObj.toDate = dayjs(date.toDate);\n this.annaFilterService.tooltipSelectedMap.set(\"Date\", selectedDateObj);\n }\n }\n\n detectUrlChanges() {\n this.route.queryParams.subscribe((params) => {\n this.updateLatestFilters(params);\n this.applyPersistedFilters = !!(\n params.filters && this.persistingFilterService.getActualQueryParams(params.filters)\n );\n this.setPersistedBreadcrumbsVariable(params.breadcrumbs);\n this.filtersFromTheUrL =\n params.filters && this.persistingFilterService.getActualQueryParams(params.filters)\n ? JSON.parse(this.persistingFilterService.getActualQueryParams(params.filters))\n : null;\n this.businessRuleCommonSIBILogicService.filtersFromTheUrlForAdvertiserBizTab = this.filtersFromTheUrL;\n this.businessRuleCommonSIBILogicService.stationIdfiltersFromTheUrlForAdvertiserBizTab = JSON.parse(\n this.persistingFilterService.getActualQueryParams(params.stationId),\n );\n });\n }\n\n setPersistedBreadcrumbsVariable(filter: string) {\n this.breadcrumbsToPersist =\n filter && this.persistingFilterService.getActualQueryParams(filter)\n ? JSON.parse(this.persistingFilterService.getActualQueryParams(filter))\n : null;\n }\n\n updateLatestFilters(queryParams: any) {\n const latestFilters = this.getLatestFilters();\n const updatedQueryParams = Object.keys(queryParams).length === 0 ? null : queryParams;\n\n if (!isEqual(updatedQueryParams, latestFilters)) {\n this.setLatestFilters(cloneDeep(updatedQueryParams));\n }\n }\n\n filterAppliedToTable(filteredData: AdvertiserListingTableData[]) {\n this.advertiserTableData = cloneDeep(filteredData);\n this.disableClearAllBtn = this.gtHelperService.enableOrDisableClearAllBtn();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.columnfilterAppliedToTable.emit();\n }\n\n sortingAppliedToTable(sortedData: AdvertiserListingTableData[]) {\n this.advertiserTableData = cloneDeep(sortedData);\n this.disableClearAllBtn = this.gtHelperService.enableOrDisableClearAllBtn();\n this.updateNavigationHistory();\n }\n\n updateFiltersInURL() {\n const latestQueryParams = this.prepareQueryParamsOnFilter();\n let queryParams = {};\n\n if (\n Object.keys(latestQueryParams).length > 0 ||\n (this.userType === \"BUYER\" && this.showExpiredAdvertisers) ||\n Object.keys(this.popupFilters).length > 0 ||\n Object.keys(this.popupFilters).length > 0\n ) {\n const hashedQueryParams = this.persistingFilterService.storeKeyValueInLocalStorage(latestQueryParams);\n if (Object.keys(this.popupFilters).length > 0) {\n Object.assign(queryParams, { popupFilters: this.popupFilters });\n }\n if (Object.keys(latestQueryParams).length > 0) {\n queryParams = { filters: hashedQueryParams };\n }\n if (this.userType === \"BUYER\" && this.showExpiredAdvertisers) {\n Object.assign(queryParams, { showExpiredAdvertisers: this.showExpiredAdvertisers });\n }\n this.router.navigate([], {\n queryParams,\n relativeTo: this.route.parent,\n queryParamsHandling: \"merge\",\n });\n } else {\n this.router.navigate([], {\n queryParams,\n relativeTo: this.route.parent,\n queryParamsHandling: \"merge\",\n });\n }\n }\n\n prepareQueryParamsOnFilter() {\n const query: any = {};\n\n if (this.annaFilterService.appliedFiltersArray.length > 0) {\n query.appliedFilters = this.annaFilterService.appliedFiltersArray;\n query.selectedFilterData = JSON.stringify(Array.from(this.annaFilterService.tooltipSelectedMap));\n }\n if (this.annaSortService.columnSortState && this.gtHelperService.isSortingAppliedToTable()) {\n query.sortState = JSON.stringify(Array.from(this.annaSortService.columnSortState));\n }\n return query;\n }\n\n tableActionClicked(rowData: { data: AdvertiserListingTableData; id: TypeOfActionLinkForGtEnum }) {\n const selectedAdvertiser = rowData.data;\n switch (rowData.id) {\n case TypeOfActionLinkForGtEnum.ADEVERTISER_NAME_CLICK:\n this.goToAdvertiserBusinessRules(selectedAdvertiser);\n break;\n // no default\n }\n }\n\n goToAdvertiserBusinessRules(advertiser: AdvertiserListingTableData) {\n const emitableData = {\n advertiser,\n breadcrumbsToPersist: this.breadcrumbsToPersist,\n };\n this.advertiserNameClicked.emit(emitableData);\n }\n\n applyFilters() {\n if (this.applyPersistedFilters) {\n this.disableClearAllBtn = false;\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n this.advertiserTableData = this.annaFilterService.filterData(this.advertiserTableDataClonned, \"\");\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.callSort();\n } else {\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.disableClearAllBtn = true;\n }\n }\n\n\n callSort() {\n if (!this.annaSortService?.columnSortState) return;\n this.annaSortService.columnSortState.forEach((value, key) => {\n if (value === \"ASC\") {\n this.advertiserTableData = this.annaSortService.sortDataForComponentOtherThanLurAndCsrPage(\n true,\n this.advertiserTableData,\n key,\n );\n } else if (value === \"DESC\") {\n this.advertiserTableData = this.annaSortService.sortDataForComponentOtherThanLurAndCsrPage(\n false,\n this.advertiserTableData,\n key,\n );\n }\n });\n }\n\n intelliFilterClicked(emittedObj: any) {\n this.advertiserTableData = emittedObj.filteredData;\n\n this.enableDisableClearAllBtn();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.easyFilterClicked.emit();\n }\n\n prepareQueryParamOnFilterApplication() {\n const query: any = {};\n let latestFilters = this.getLatestFilters();\n\n if (this.annaFilterService.appliedFiltersArray.length > 0) {\n query.appliedFilters = this.annaFilterService.appliedFiltersArray;\n query.selectedFilterData = JSON.stringify(Array.from(this.annaFilterService.tooltipSelectedMap));\n }\n\n if (this.checkIfSortIsApplied()) {\n query.sortState = JSON.stringify(Array.from(this.annaSortService.columnSortState));\n }\n\n latestFilters = this.getLatestFilters();\n\n if (Object.keys(query).length > 0) {\n latestFilters = latestFilters || {};\n const hashedQueryParams = this.persistingFilterService.storeKeyValueInLocalStorage(query);\n latestFilters.filters = hashedQueryParams;\n } else {\n latestFilters = [];\n }\n this.setLatestFilters(latestFilters);\n\n return latestFilters;\n }\n\n checkIfSortIsApplied() {\n let isSortingApplied = false;\n this.annaSortService.columnSortState.forEach((val, key) => {\n if (val === \"ASC\" || val === \"DESC\") {\n isSortingApplied = true;\n }\n });\n\n return isSortingApplied;\n }\n\n getLatestFilters() {\n return this.advertiserTableListingService.latestEcListingTabFilters;\n }\n\n setLatestFilters(queryParams: any) {\n this.advertiserTableListingService.latestEcListingTabFilters = queryParams;\n }\n\n enableDisableClearAllBtn() {\n if (!this.annaSortService?.columnSortState) return;\n let isSortApplied: boolean = false;\n this.annaSortService.columnSortState.forEach((val, key) => {\n if (val === \"ASC\" || val === \"DESC\") {\n isSortApplied = true;\n }\n });\n\n this.disableClearAllBtn = this.annaFilterService.appliedFiltersArray.length === 0 && !isSortApplied;\n }\n\n updateNavigationHistory() {\n const queryParams = this.prepareQueryParamOnFilterApplication();\n\n if (this.popupFilters && Object.keys(this.popupFilters).length > 0) {\n Object.assign(queryParams, { popupFilters: this.popupFilters });\n }\n if (this.userType === \"BUYER\" && this.showExpiredAdvertisers) {\n Object.assign(queryParams, { showExpiredAdvertisers: this.showExpiredAdvertisers });\n }\n const path = \"business-rules/advertisers\";\n\n if (queryParams && Object.keys(queryParams).length > 0) {\n this.router.navigate([`${path}`], {\n queryParams,\n });\n } else {\n this.router.navigate([`${path}`], {});\n }\n }\n\n clearAllFiltersAndSorting() {\n this.nonEditableGTComponent?.setScrollToInitialPosition();\n this.disableClearAllBtn = true;\n this.initFiltersForTable();\n this.ClearFandS();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.resetAllFilter.emit();\n }\n\n ClearFandS() {\n this.advertiserTableData = cloneDeep(this.advertiserTableDataClonned);\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n }\n}\n","<section class=\"advertiser-container {{ userType }}\">\n <ng-container *ngIf=\"!showNoDataToDisplayInsideTable && !loading && advertiserTableDataClonned.length === 0\">\n <anna-design-message-box\n class=\"no-data-info-msg\"\n [messageBoxData]=\"messageBoxData\"\n [hide]=\"false\"\n [headerAsBlockElement]=\"false\"\n [showHyphen]=\"false\"\n >\n </anna-design-message-box>\n </ng-container>\n <ng-container\n *ngIf=\"loading || (!loading && (showNoDataToDisplayInsideTable || advertiserTableDataClonned.length > 0))\"\n >\n <!-- <div class=\"d-flex p-8\" *ngIf=\"userType === 'SELLER'\">\n <anna-design-easy-filters\n [showLoader]=\"loading\"\n [numberOfItemsForLoader]=\"numberOfEasyFilterLoader\"\n [easyFilters]=\"easyFilters\"\n [tableData]=\"advertiserTableData\"\n [clonedTableData]=\"advertiserTableDataClonned\"\n (easyFilterClickEvent)=\"intelliFilterClicked($event)\"\n >\n </anna-design-easy-filters>\n </div> -->\n\n <div class=\"main-table\">\n <div class=\"count-text\">\n <anna-design-skt-loader\n *ngIf=\"loading\"\n [theme]=\"{ height: '12px', width: '120px', 'margin-bottom': '0', 'margin-top': '0' }\"\n >\n </anna-design-skt-loader>\n <span *ngIf=\"!loading && advertiserTableData?.length\"\n >{{ totalAdvertisersMessage }}: <b>{{ advertiserTableData.length }}</b></span\n >\n </div>\n\n <button\n *ngIf=\"!loading\"\n class=\"clear-all-btn\"\n [disabled]=\"disableClearAllBtn\"\n (click)=\"clearAllFiltersAndSorting()\"\n >\n Reset all filters\n </button>\n\n <anna-core-non-editable-generic-table-lib\n [showSkeletonLoading]=\"loading\"\n [ngClass]=\"{\n 'advertiser-table-no-data-table': !loading && advertiserTableData && !advertiserTableData.length\n }\"\n [tableHeaders]=\"tableHeaders\"\n [tableData]=\"advertiserTableData\"\n [clonedTableData]=\"advertiserTableDataClonned\"\n [gtGeneralConfig]=\"gtGeneralConfig\"\n [gtDimension]=\"gtDimension\"\n [clickableRow]=\"false\"\n (filterAppliedToTable)=\"filterAppliedToTable($event)\"\n (sortingAppliedToTable)=\"sortingAppliedToTable($event)\"\n (gtTextActionClicked)=\"tableActionClicked($event)\"\n (clickableDataClicked)=\"tableActionClicked($event)\"\n >\n </anna-core-non-editable-generic-table-lib>\n </div>\n </ng-container>\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3","i4.AdvTableListingService","i5"],"mappings":";;;;;;;;;;;;;;;;;IAEY;AAAZ,CAAA,UAAY,wCAAwC,EAAA;AAChD,IAAA,wCAAA,CAAA,0BAAA,CAAA,GAAA,6BAAwD;AACxD,IAAA,wCAAA,CAAA,mBAAA,CAAA,GAAA,oBAAwC;AAC5C,CAAC,EAHW,wCAAwC,KAAxC,wCAAwC,GAGnD,EAAA,CAAA,CAAA;;ACLD;AACA;MA8Ea,8BAA8B,CAAA;AAoDvC,IAAA,WAAA,CACY,YAAsB,EACtB,iBAA0C,EAC1C,oBAAsD,EACtD,sBAA8C,EAAA;QAH9C,IAAY,CAAA,YAAA,GAAZ,YAAY;QACZ,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB;QACjB,IAAoB,CAAA,oBAAA,GAApB,oBAAoB;QACpB,IAAsB,CAAA,sBAAA,GAAtB,sBAAsB;QApDzB,IAA0B,CAAA,0BAAA,GAAa,EAAE;AAExC,QAAA,IAAA,CAAA,WAAW,GAAG,IAAI,YAAY,EAAO;AACrC,QAAA,IAAA,CAAA,gBAAgB,GAAG,IAAI,YAAY,EAAO;QAKpD,IAAS,CAAA,SAAA,GAAG,6BAA6B;QAkBhC,IAA0B,CAAA,0BAAA,GAAY,KAAK;AAC3C,QAAA,IAAA,CAAA,aAAa,GAAa,CAAC,SAAS,CAAC;QAM9C,IAAW,CAAA,WAAA,GAAG,YAAY;QAC1B,IAAgB,CAAA,gBAAA,GAAG,YAAY;QAC/B,IAAsB,CAAA,sBAAA,GAAG,OAAO;QAShC,IAA0B,CAAA,0BAAA,GAAG,0BAA0B;QAEvD,IAAwC,CAAA,wCAAA,GAAG,wCAAwC;AAQ/E,QAAA,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACpB,IAAI,CAAC,kBAAkB,EAAE;QACzB,I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0BAA0B,EAAA,CAAA;sBAAnC;gBACS,iBAAiB,EAAA,CAAA;sBAA1B;gBAQgD,sBAAsB,EAAA,CAAA;sBAAtE,SAAS;uBAAC,oCAAoC;;;AExFnD;;AAEG;;;;"}
1
+ {"version":3,"file":"annalib-anna-feature-biz-rules-advertiser-listing.mjs","sources":["../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/models/advertiser-filter-modal.model.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-filter-modal/advertiser-filter-modal.component.html","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/model/adv-table-listing.model.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/services/adv-table-listing.service.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.ts","../../../projects/anna-feature-biz-rules/advertiser-listing/src/advertiser-table-listing/advertiser-table-listing.component.html","../../../projects/anna-feature-biz-rules/advertiser-listing/annalib-anna-feature-biz-rules-advertiser-listing.ts"],"sourcesContent":["import { PersistedDashboardPrimaryFilters } from \"@annalib/anna-design-components-lib\";\n\nexport enum AdvertiserListingFilterPopupradioButtons {\n showAllActiveAdvertisers = \"Show all active advertisers\",\n calendarSelection = \"Calendar selection\",\n}\n\nexport interface AdvertiserListingFilterPopup extends PersistedDashboardPrimaryFilters {\n showCalendarSelection: boolean;\n stationName?: string;\n includeExpiredAdvertisers: boolean;\n}\n\nexport interface AdvertiserListingFilterSelectionPopUp extends AdvertiserListingFilterPopup {\n updateNavigation?: boolean;\n}\n","/* eslint-disable import/no-extraneous-dependencies */\n// Angular import statements\nimport {\n DatePipe,\n NgClass,\n NgFor,\n NgIf,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n NgTemplateOutlet,\n} from \"@angular/common\";\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n Output,\n SimpleChanges,\n TemplateRef,\n ViewChild,\n} from \"@angular/core\";\nimport { FormsModule } from \"@angular/forms\";\nimport { MatRadioModule } from \"@angular/material/radio\";\n// Anna Lib\nimport {\n AnnaGlobalConfigService,\n ICustomSingleSelect,\n IRadioButtonComponentConfig,\n UpdateStationIdService,\n} from \"@annalib/anna-core\";\n// User defined Imports\nimport {\n CalendarQuarterYearFilterService,\n DashboardFilterModalConstants,\n GenericPeriodSelectionComponent,\n ICalendarTypeResponse,\n IdTextForDropdown,\n IYearQuarter,\n PeriodSelectionPopUp,\n PrimaryFiltersData,\n SingleSelectComponent,\n SkeletonLoaderComponent,\n StartDateConsideringFactor,\n} from \"@annalib/anna-design-components-lib\";\nimport { NgbModal, NgbModalOptions, NgbModalRef } from \"@ng-bootstrap/ng-bootstrap\";\n// Third party import statements\nimport dayjs from \"dayjs\";\nimport minMax from \"dayjs/plugin/minMax\";\nimport { cloneDeep, isEqual } from \"lodash-es\";\n\nimport {\n AdvertiserListingFilterPopup,\n AdvertiserListingFilterPopupradioButtons,\n AdvertiserListingFilterSelectionPopUp,\n} from \"./models/advertiser-filter-modal.model\";\n\n@Component({\n selector: \"anna-feature-advertiser-filter-modal\",\n templateUrl: \"./advertiser-filter-modal.component.html\",\n styleUrls: [\"./advertiser-filter-modal.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgIf,\n NgFor,\n NgClass,\n FormsModule,\n NgTemplateOutlet,\n MatRadioModule,\n SingleSelectComponent,\n GenericPeriodSelectionComponent,\n NgSwitch,\n NgSwitchCase,\n NgSwitchDefault,\n SkeletonLoaderComponent,\n DatePipe,\n ]\n})\nexport class AdvertiserFilterModalComponent implements OnChanges {\n @Input() toDisable: boolean;\n @Input() filterData: PrimaryFiltersData;\n @Input() persistingFilter: AdvertiserListingFilterPopup;\n @Input() stationIdsWithValidLicense: number[] = [];\n\n @Output() applyFilter = new EventEmitter<any>();\n @Output() getInitialFilter = new EventEmitter<any>();\n\n @ViewChild(\"dbFilterModal\", { static: true }) private dbFilterModal: TemplateRef<any>;\n modalRef: NgbModalRef;\n ngbModalOptions: NgbModalOptions;\n constants = DashboardFilterModalConstants;\n\n clonedFilter: AdvertiserListingFilterSelectionPopUp;\n\n stationDropdownConfig: ICustomSingleSelect;\n calendarTypeConfig: IRadioButtonComponentConfig;\n\n selectedStation: IdTextForDropdown;\n stations: IdTextForDropdown[];\n selectedPeriodData: PeriodSelectionPopUp;\n selectedStartDate: string;\n selectedEndDate: string;\n includeExpiredAdvertisers: boolean;\n\n minMaxDateRangeForCalendar: { startDate: string; endDate: string };\n\n loggedInUserId: number;\n\n @Input() toShowAllPeriodModeSetting: boolean = false;\n @Input() PeriodOptions: string[] = [\"Quarter\"];\n\n defaultQuarterYear: string;\n defaultQuarter: string;\n calendarData: any;\n\n DATE_FORMAT = \"MM/DD/YYYY\";\n DATE_FORMAT_HTML = \"MM/dd/YYYY\";\n MONTH_DATE_FORMAT_HTML = \"d MMM\";\n isFilterValueChanged: boolean;\n\n noQuarterYearPresent: boolean;\n previousSelectedStation: IdTextForDropdown;\n previousSelectedOwnershipGroup: IdTextForDropdown;\n\n periodDataLoader: boolean;\n initialFiltersForStationAndPeriod: AdvertiserListingFilterPopup;\n StartDateConsideringFactor = StartDateConsideringFactor;\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle: AdvertiserListingFilterPopupradioButtons;\n advertiserListingFilterPopupradioButtons = AdvertiserListingFilterPopupradioButtons;\n\n constructor(\n private modalService: NgbModal,\n private annaGlobalService: AnnaGlobalConfigService,\n private quarterFilterService: CalendarQuarterYearFilterService,\n private updateStationIdService: UpdateStationIdService,\n ) {\n dayjs.extend(minMax);\n this.configModalOptions();\n this.setStationDropdownConfig();\n this.resetClonedFilter();\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes.filterData && changes.filterData.currentValue) {\n if (this.stationIdsWithValidLicense?.length) {\n this.filterData.stationArr = this.filterData.stationArr.filter((station) =>\n this.stationIdsWithValidLicense.includes(station.id),\n );\n }\n this.disableEditFilterBtn();\n this.getLoginUserId();\n this.setFilterData();\n }\n }\n\n setInitialFiltersForComponent() {\n this.initialFiltersForStationAndPeriod = {\n stationId: this.selectedStation.id,\n showCalendarSelection:\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection,\n includeExpiredAdvertisers: this.includeExpiredAdvertisers,\n };\n const calendarData = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n\n if (this.calendarData.BroadcastQuarterYear.length) {\n let selectedQuarter;\n const quarter = calendarData.BroadcastQuarterYear;\n for (let i = 0; i < quarter.length; i++) {\n selectedQuarter = quarter[i].Quarters.filter((data: any) => data.IsCurrentQuarter);\n if (selectedQuarter.length) {\n break;\n }\n }\n\n if (selectedQuarter) {\n const defaultQuarterYear = dayjs(selectedQuarter[0].EndDate).format(\"YYYY\");\n const defaultQuarter = selectedQuarter[0].DisplayDate;\n\n const selectedStartDate = dayjs(selectedQuarter[0].StartDate).format(this.DATE_FORMAT);\n const selectedEndDate = dayjs(selectedQuarter[0].EndDate).format(this.DATE_FORMAT);\n\n this.initialFiltersForStationAndPeriod.periodData = {\n year: defaultQuarterYear,\n quarter: defaultQuarter,\n calendarType: this.constants.Broadcast,\n periodMode: this.constants.Quarter,\n month: null,\n isEntireFlightPeriod: false,\n startDate: selectedStartDate,\n endDate: selectedEndDate,\n };\n } else {\n this.initialFiltersForStationAndPeriod.periodData = null;\n }\n }\n\n this.getInitialFilter.emit(this.initialFiltersForStationAndPeriod);\n }\n\n disableEditFilterBtn() {\n this.noQuarterYearPresent = true;\n this.filterData.stationCalendarTypeMap.forEach((value, key) => {\n if (value.BroadcastQuarterYear.length > 0) {\n this.noQuarterYearPresent = false;\n }\n });\n }\n\n setFilterData() {\n this.periodDataLoader = true;\n this.setStationData();\n this.setShowCalendarSelectionValue();\n this.setIncludeExcludedAdvertisersValue();\n this.setCalendarQuarterFilter();\n this.callBackFuncOnInitialSetup();\n }\n\n setShowCalendarSelectionValue() {\n const showCalendarSelection =\n this.persistingFilter && this.persistingFilter.showCalendarSelection !== undefined\n ? this.persistingFilter.showCalendarSelection\n : true;\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle = showCalendarSelection\n ? this.advertiserListingFilterPopupradioButtons.calendarSelection\n : this.advertiserListingFilterPopupradioButtons.showAllActiveAdvertisers;\n }\n\n setIncludeExcludedAdvertisersValue() {\n this.includeExpiredAdvertisers =\n this.persistingFilter && this.persistingFilter.includeExpiredAdvertisers !== undefined\n ? this.persistingFilter.includeExpiredAdvertisers\n : false;\n }\n\n callBackFuncOnInitialSetup() {\n this.setInitialFiltersForComponent();\n this.setClonedDataAndEmitFilters();\n this.periodDataLoader = false;\n this.isFilterValueChanged = false;\n }\n\n setStationData() {\n this.stations = this.filterData.stationArr;\n if (this.persistingFilter && this.persistingFilter.stationId) {\n this.selectedStation = this.stations.some((station) => station.id === this.persistingFilter.stationId)\n ? this.stations.find((station) => station.id === this.persistingFilter.stationId)\n : this.stations[0];\n } else {\n this.selectedStation = this.stations[0];\n }\n this.previousSelectedStation = cloneDeep(this.selectedStation);\n }\n\n setCalendarQuarterFilter() {\n this.selectedPeriodData =\n this.persistingFilter && this.persistingFilter.periodData ? this.persistingFilter.periodData : null;\n this.setGenericPeriodSelectionComponentData();\n if (this.isPeriodData()) {\n this.setStartAndEndDate(this.calendarData);\n this.setMinMaxDateRangeAsPerQuarter();\n }\n }\n\n isPeriodData() {\n return this.calendarData.BroadcastQuarterYear.length;\n }\n\n setGenericPeriodSelectionComponentData() {\n this.calendarData = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n this.quarterFilterService.publishQuarterFilterData({ filterData: this.calendarData, selectedFilter: null });\n }\n\n setMinMaxDateRangeAsPerQuarter() {\n if (this.calendarData.BroadcastQuarterYear.length > 0) {\n this.minMaxDateRangeForCalendar = null;\n if (this.isFiscalPeriod()) {\n this.setMinMaxDate(this.calendarData.FiscalQuarterYear);\n } else {\n this.setMinMaxDate(this.calendarData.BroadcastQuarterYear);\n }\n }\n }\n\n setMinMaxDate(quarterYear: IYearQuarter[]) {\n const totalYear = quarterYear.length - 1;\n const totalQuarterInLastYear = quarterYear[totalYear].Quarters.length - 1;\n\n const startDate = dayjs(quarterYear[0].Quarters[0].StartDate).format(this.DATE_FORMAT);\n const endDate = dayjs(quarterYear[totalYear].Quarters[totalQuarterInLastYear].EndDate).format(this.DATE_FORMAT);\n this.minMaxDateRangeForCalendar = { startDate, endDate };\n }\n\n isFiscalPeriod() {\n return (\n (this.persistingFilter &&\n this.persistingFilter.periodData &&\n this.persistingFilter.periodData.calendarType === this.constants.Fiscal) ||\n (this.selectedPeriodData && this.selectedPeriodData.calendarType === this.constants.Fiscal)\n );\n }\n\n setStartAndEndDate(calendarData: ICalendarTypeResponse) {\n if (this.persistingFilter && this.persistingFilter.periodData) {\n this.selectedStartDate = this.persistingFilter.periodData.startDate;\n this.selectedEndDate = this.persistingFilter.periodData.endDate;\n this.defaultQuarterYear = null;\n this.defaultQuarter = null;\n } else {\n this.setDefaultPeriodFilter(calendarData);\n }\n }\n\n openFilterModal() {\n this.previousSelectedStation = null;\n if (this.persistingFilter && this.persistingFilter.stationId) {\n this.previousSelectedStation = this.stations?.filter((n) => n.id === this.persistingFilter.stationId)[0];\n } else if (this.stations) {\n this.previousSelectedStation = this.stations[0];\n }\n this.modalRef = this.modalService.open(this.dbFilterModal, this.ngbModalOptions);\n }\n\n closeOptionsModal() {\n this.modalRef.close();\n }\n\n isPeriodFilterChanged(periodFilter: PeriodSelectionPopUp) {\n this.selectedPeriodData = cloneDeep(periodFilter);\n this.selectedStartDate = periodFilter.startDate;\n this.selectedEndDate = periodFilter.endDate;\n this.setMinMaxDateRangeAsPerQuarter();\n this.isFilterDropdownValueChanged();\n }\n\n // default is broadcast quater year\n setDefaultPeriodFilter(calendarData: ICalendarTypeResponse) {\n let selectedQuarter;\n const quarter = calendarData.BroadcastQuarterYear;\n for (let i = 0; i < quarter.length; i++) {\n selectedQuarter = quarter[i].Quarters.filter((data) => data.IsCurrentQuarter);\n if (selectedQuarter.length) {\n break;\n }\n }\n this.defaultQuarterYear = dayjs(selectedQuarter[0].EndDate).format(\"YYYY\");\n this.defaultQuarter = selectedQuarter[0].DisplayDate;\n\n this.selectedStartDate = dayjs(selectedQuarter[0].StartDate).format(this.DATE_FORMAT);\n this.selectedEndDate = dayjs(selectedQuarter[0].EndDate).format(this.DATE_FORMAT);\n }\n\n onApplyFilterAndUpdateNavigation() {\n this.updateStationIdService.updateStationIdInLocalStorage([this.selectedStation.id]);\n this.previousSelectedStation = cloneDeep(this.selectedStation);\n this.setClonedDataAndEmitFilters();\n this.closeOptionsModal();\n }\n\n setClonedDataAndEmitFilters() {\n const filterApplied = this.setClonedFilter();\n this.applyFilter.emit(filterApplied);\n }\n\n setClonedFilter() {\n const showCalendarSelection: boolean =\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection;\n this.clonedFilter = {\n periodData: cloneDeep(this.selectedPeriodData),\n stationId: this.selectedStation.id,\n stationName: this.selectedStation.text,\n includeExpiredAdvertisers: this.includeExpiredAdvertisers,\n showCalendarSelection,\n };\n this.updateStationIdService.updateStationIdInLocalStorage([this.clonedFilter.stationId]);\n this.addIncludeExpiredAdvertisersClonedFilter(this.includeExpiredAdvertisers);\n this.addShowCalendarSelectionClonedFilter(showCalendarSelection);\n this.setDefaultSelectedPeriodData();\n return this.clonedFilter;\n }\n\n addIncludeExpiredAdvertisersClonedFilter(val: boolean) {\n this.clonedFilter.includeExpiredAdvertisers = val !== undefined ? val : false;\n }\n\n addShowCalendarSelectionClonedFilter(val: boolean) {\n this.clonedFilter.showCalendarSelection = val !== undefined ? val : true;\n }\n\n setDefaultSelectedPeriodData() {\n if (this.clonedFilter.periodData == null && this.defaultQuarter) {\n this.clonedFilter.periodData = {\n year: this.defaultQuarterYear,\n quarter: this.defaultQuarter,\n calendarType: this.constants.Broadcast,\n periodMode: this.constants.Quarter,\n month: null,\n startDate: this.selectedStartDate,\n endDate: this.selectedEndDate,\n };\n this.clonedFilter = cloneDeep(this.clonedFilter);\n } else {\n this.clonedFilter.periodData = cloneDeep(this.selectedPeriodData);\n }\n }\n\n onCancelClicked() {\n this.selectedStartDate = this.clonedFilter.periodData?.startDate;\n this.selectedEndDate = this.clonedFilter.periodData?.endDate;\n\n this.selectedPeriodData = cloneDeep(this.clonedFilter.periodData);\n\n this.setPreviousDataForStationOrOG();\n this.setGenericPeriodSelectionComponentData();\n this.setMinMaxDateRangeAsPerQuarter();\n this.closeOptionsModal();\n }\n\n setPreviousDataForStationOrOG() {\n this.selectedStation = this.stations.filter((n) => n.id === this.clonedFilter.stationId)[0];\n }\n\n resetClonedFilter() {\n this.clonedFilter = {\n periodData: null,\n stationId: null,\n updateNavigation: null,\n showCalendarSelection: true,\n includeExpiredAdvertisers: false,\n };\n\n this.addIncludeExpiredAdvertisersClonedFilter(false);\n this.addShowCalendarSelectionClonedFilter(true);\n }\n\n stationSelected(selectedStation: IdTextForDropdown) {\n this.selectedStation = selectedStation;\n const previousQuarterFilter = this.filterData.stationCalendarTypeMap.get(this.previousSelectedStation.id);\n const currentQuarterFilter = this.filterData.stationCalendarTypeMap.get(this.selectedStation.id);\n\n if (previousQuarterFilter.BroadcastQuarterYear.length !== currentQuarterFilter.BroadcastQuarterYear.length) {\n this.setGenericPeriodSelectionComponentData();\n if (this.isPeriodData()) {\n this.setStartAndEndDate(this.calendarData);\n this.setMinMaxDateRangeAsPerQuarter();\n }\n }\n\n this.selectedStation = cloneDeep(selectedStation);\n this.isFilterDropdownValueChanged();\n }\n\n configModalOptions() {\n this.ngbModalOptions = {\n windowClass: \"dashboard-filter-modal\",\n };\n }\n\n getLoginUserId() {\n this.loggedInUserId = +JSON.parse(localStorage.getItem(\"userProfileData\")).userId;\n }\n\n isFilterDropdownValueChanged() {\n const calendarSelection =\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n this.advertiserListingFilterPopupradioButtons.calendarSelection;\n this.isFilterValueChanged =\n !isEqual(this.clonedFilter.periodData?.startDate, this.selectedStartDate) ||\n !isEqual(this.clonedFilter.periodData?.endDate, this.selectedEndDate) ||\n !isEqual(this.clonedFilter.periodData?.periodMode, this.selectedPeriodData?.periodMode) ||\n !isEqual(this.clonedFilter.periodData?.calendarType, this.selectedPeriodData?.calendarType);\n\n if (!this.isFilterValueChanged) {\n this.isFilterValueChanged = !isEqual(this.clonedFilter.stationId, this.selectedStation?.id);\n }\n\n if (!this.isFilterValueChanged) {\n this.isFilterValueChanged =\n !isEqual(this.clonedFilter.includeExpiredAdvertisers, this.includeExpiredAdvertisers) ||\n !isEqual(this.clonedFilter.showCalendarSelection, calendarSelection);\n }\n }\n\n setStationDropdownConfig() {\n this.stationDropdownConfig = { ...this.annaGlobalService.defaultSingleSelectConfig };\n this.stationDropdownConfig.placeholder = \"No station selected\";\n }\n\n showCalendarSelectionAndAllActiveAdvertisersToggled(event: AdvertiserListingFilterPopupradioButtons) {\n this.selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle = cloneDeep(event);\n this.includeExpiredAdvertisers =\n event === this.advertiserListingFilterPopupradioButtons.calendarSelection\n ? false\n : this.includeExpiredAdvertisers;\n this.isFilterDropdownValueChanged();\n }\n\n showOrHideExpiredAdvertisers() {\n this.includeExpiredAdvertisers = !this.includeExpiredAdvertisers;\n this.isFilterDropdownValueChanged();\n }\n}\n","<article class=\"selected-filters-container\">\n <section\n *ngIf=\"filterData\"\n class=\"filter-view\"\n >\n <div>\n <header class=\"header\">Station</header>\n <p class=\"selected-value\">\n {{ previousSelectedStation && previousSelectedStation.text ? previousSelectedStation.text : \"-\" }}\n </p>\n </div>\n\n <div>\n <ng-container\n *ngIf=\"!periodDataLoader\"\n [ngTemplateOutlet]=\"periodSelected\"\n ></ng-container>\n <ng-container\n *ngIf=\"periodDataLoader\"\n [ngTemplateOutlet]=\"periodSkeletonLoader\"\n ></ng-container>\n </div>\n </section>\n\n <section\n *ngIf=\"!filterData\"\n class=\"filter-view\"\n >\n <ng-container [ngTemplateOutlet]=\"skeletonLoader\"></ng-container>\n </section>\n\n <button\n *ngIf=\"!toDisable\"\n class=\"anna edit-button\"\n [disabled]=\"!filterData || noQuarterYearPresent || toDisable\"\n (click)=\"openFilterModal()\"\n >\n Edit\n </button>\n <ng-container\n *ngIf=\"toDisable\"\n [ngTemplateOutlet]=\"editButtonLoader\"\n ></ng-container>\n</article>\n\n<ng-template\n #dbFilterModal\n let-modal\n>\n <div class=\"modal-header confirm-modal-header\">\n <h3 class=\"modal-title\">Edit Filter</h3>\n </div>\n <div class=\"modal-body\">\n <div class=\"filter-dropdown\">\n <div class=\"popup-filter\">\n <header class=\"header\">Station</header>\n <anna-design-single-select\n *ngIf=\"stations.length\"\n [items]=\"stations\"\n [selectedItem]=\"selectedStation\"\n [config]=\"stationDropdownConfig\"\n (valueChanged)=\"stationSelected($event)\"\n >\n </anna-design-single-select>\n </div>\n\n <div>\n <div class=\"custom-radio-group\">\n <div\n class=\"d-flex bold-text\"\n (click)=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle =\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers;\n showCalendarSelectionAndAllActiveAdvertisersToggled(\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers\n )\n \"\n >\n <span\n class=\"mdi radio-button-icon\"\n [ngClass]=\"{\n 'mdi-radiobox-marked':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers,\n 'mdi-radiobox-blank':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers\n }\"\n ></span>\n {{ advertiserListingFilterPopupradioButtons?.showAllActiveAdvertisers }}\n </div>\n\n <label\n class=\"checkbox-and-message pl-30\"\n [ngClass]=\"{\n 'disabled-label':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.calendarSelection\n }\"\n (click)=\"showOrHideExpiredAdvertisers()\"\n >\n <i\n class=\"mi mdi-check-box\"\n *ngIf=\"includeExpiredAdvertisers\"\n ></i>\n <i\n class=\"mi mdi-check-box-outline-blank\"\n *ngIf=\"!includeExpiredAdvertisers\"\n ></i>\n <span>Also include expired advertisers</span>\n </label>\n\n <br />\n\n <div\n class=\"d-flex bold-text\"\n (click)=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle =\n advertiserListingFilterPopupradioButtons?.calendarSelection;\n showCalendarSelectionAndAllActiveAdvertisersToggled(\n advertiserListingFilterPopupradioButtons?.calendarSelection\n )\n \"\n >\n <span\n class=\"mdi radio-button-icon\"\n [ngClass]=\"{\n 'mdi-radiobox-marked':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle ===\n advertiserListingFilterPopupradioButtons?.calendarSelection,\n 'mdi-radiobox-blank':\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons?.calendarSelection\n }\"\n ></span>\n {{ advertiserListingFilterPopupradioButtons?.calendarSelection }}\n </div>\n </div>\n </div>\n\n <div class=\"popup-filter pl-30\">\n <anna-design-generic-period-selection\n [selectedData]=\"persistingFilter?.periodData\"\n [disablePeriodSelection]=\"\n selectedValueForCalendarSelectionAndAllActiveAdvertisersToggle !==\n advertiserListingFilterPopupradioButtons.calendarSelection\n \"\n [PeriodOptions]=\"PeriodOptions\"\n [minMaxDateRangeForCalendar]=\"minMaxDateRangeForCalendar\"\n [startDateConsideringFactor]=\"StartDateConsideringFactor.FLIGHT_START_DATE\"\n (isFilterChanged)=\"isPeriodFilterChanged($event)\"\n [toShowAllPeriodMode]=\"toShowAllPeriodModeSetting\"\n [showAllSelectionInDropdown]=\"false\"\n [toShowAllMonthsOfYear]=\"false\"\n >\n </anna-design-generic-period-selection>\n </div>\n </div>\n <div class=\"btn-group\">\n <button\n class=\"anna cancel-button\"\n (click)=\"onCancelClicked()\"\n >\n Cancel\n </button>\n\n <button\n class=\"anna apply-button\"\n [disabled]=\"!isFilterValueChanged || !selectedStartDate || !selectedEndDate\"\n (click)=\"onApplyFilterAndUpdateNavigation()\"\n >\n Apply\n </button>\n </div>\n </div>\n</ng-template>\n\n<ng-template #periodSelected>\n <header class=\"header\">Period</header>\n <ng-container *ngIf=\"clonedFilter.periodData && clonedFilter?.showCalendarSelection\">\n <ng-container [ngSwitch]=\"clonedFilter.periodData.periodMode\">\n <p\n class=\"selected-value\"\n *ngSwitchCase=\"constants.Quarter\"\n >\n {{ clonedFilter.periodData.year }}\n {{ clonedFilter.periodData.quarter }}\n </p>\n </ng-container>\n </ng-container>\n\n <ng-container *ngIf=\"!clonedFilter.periodData || !clonedFilter?.showCalendarSelection\">\n <p class=\"selected-value\">-</p>\n </ng-container>\n</ng-template>\n\n<ng-template #skeletonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '150px',\n 'margin-bottom': '0',\n 'margin-right': '20px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '170px',\n 'margin-bottom': '0',\n 'margin-right': '20px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n\n<ng-template #periodSkeletonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '167px',\n 'margin-bottom': '0',\n 'margin-right': '0px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n\n<ng-template #editButtonLoader>\n <anna-design-skt-loader\n [theme]=\"{\n height: '100%',\n width: '52px',\n 'margin-bottom': '0',\n 'margin-right': '0px',\n display: 'inline-block'\n }\"\n >\n </anna-design-skt-loader>\n</ng-template>\n","export interface IEasyFilters {\n isEnabled: boolean;\n isActive: boolean;\n filterName: string;\n onlyEnabled?: boolean;\n}\n\nexport class AdvertiserListingTableData {\n advertiserId: number;\n advertiserName: string;\n status: string;\n agency: string;\n primaryBuyerName: string;\n primaryBuyerEmail: string;\n secondaryBuyerName: string;\n secondaryBuyerEmail: string;\n isExpired: boolean;\n}\n\nexport enum TypeOfActionLinkForGtEnum {\n ADEVERTISER_NAME_CLICK = \"ADEVERTISER_NAME_CLICK\",\n}\n\nexport class AdvertiserEzFilterConstants {\n static readonly AWAITING_APPROVAL = \"AWAITING APPROVAL\";\n static readonly APPROVED = \"APPROVED\";\n}\n","import { Injectable } from \"@angular/core\";\n\n@Injectable({\n providedIn: \"root\",\n})\nexport class AdvTableListingService {\n latestEcListingTabFilters: any;\n}\n","import { NgClass, NgFor, NgIf, NgTemplateOutlet } from \"@angular/common\";\nimport {\n ChangeDetectionStrategy,\n Component,\n EventEmitter,\n Input,\n OnChanges,\n OnInit,\n Output,\n SimpleChanges,\n ViewChild,\n} from \"@angular/core\";\nimport { ActivatedRoute, Router } from \"@angular/router\";\nimport {\n AnnaCoreModule,\n AnnaFilterService,\n AnnaGtHelperService,\n AnnaNonEditableGenericTableComponent,\n AnnaPersistingFilterService,\n AnnaSortService,\n IGtGeneralConfig,\n IGtTableHeader,\n} from \"@annalib/anna-core\";\nimport {\n AnnaDesignComponentsLibModule,\n EasyFilters,\n GenericMessageBoxTheme,\n IBreadcrumb,\n MessageBoxData,\n} from \"@annalib/anna-design-components-lib\";\n// eslint-disable-next-line max-len\nimport { GenericBusinessRuleCommonSIBILogicService } from \"@annalib/anna-feature-shared-lib\";\nimport dayjs from \"dayjs\";\nimport { cloneDeep, isEqual } from \"lodash-es\";\nimport { NgxSkeletonLoaderModule } from \"ngx-skeleton-loader\";\n\nimport { AdvertiserListingTableData, TypeOfActionLinkForGtEnum } from \"./model/adv-table-listing.model\";\nimport { AdvTableListingService } from \"./services/adv-table-listing.service\";\n\n@Component({\n selector: \"anna-feature-advertiser-table-listing\",\n templateUrl: \"./advertiser-table-listing.component.html\",\n styleUrls: [\"./advertiser-table-listing.component.scss\"],\n changeDetection: ChangeDetectionStrategy.OnPush,\n imports: [\n NgIf,\n AnnaDesignComponentsLibModule,\n NgFor,\n NgClass,\n NgTemplateOutlet,\n NgxSkeletonLoaderModule,\n AnnaCoreModule,\n ]\n})\nexport class AdvertiserTableListingComponent implements OnInit, OnChanges {\n @Input() advertiserTableData: AdvertiserListingTableData[];\n @Input() advertiserTableDataClonned: AdvertiserListingTableData[];\n @Input() loading: boolean = true;\n @Input() userType: \"SELLER\" | \"BUYER\" = \"SELLER\";\n @Input() gtGeneralConfig: IGtGeneralConfig;\n @Input() gtDimension: {\n rowHeight: number;\n headerHeight: number;\n dataOnTopHeight: number;\n marginFromBottom: number;\n };\n @Input() tableHeaders: IGtTableHeader[];\n @Input() easyFilters: EasyFilters[];\n @Input() showNoDataToDisplayInsideTable: boolean = true;\n @Input() showExpiredAdvertisers: boolean;\n @Input() numberOfEasyFilterLoader: number = 2;\n @Input() totalAdvertisersMessage: string = \"Total Advertisers\";\n @Input() popupFilters: any;\n\n @Output() advertiserNameClicked = new EventEmitter<{\n advertiser: AdvertiserListingTableData;\n breadcrumbsToPersist: IBreadcrumb[];\n }>();\n @Output() resetAllFilter = new EventEmitter();\n @Output() columnfilterAppliedToTable = new EventEmitter();\n @Output() easyFilterClicked = new EventEmitter();\n\n disableClearAllBtn: boolean = true;\n filtersFromTheUrL: any;\n breadcrumbsToPersist: IBreadcrumb[];\n messageBoxData: MessageBoxData;\n applyPersistedFilters: boolean;\n filtersAppliedChanges: boolean = false;\n @ViewChild(AnnaNonEditableGenericTableComponent) nonEditableGTComponent: AnnaNonEditableGenericTableComponent;\n\n constructor(\n private router: Router,\n private route: ActivatedRoute,\n private persistingFilterService: AnnaPersistingFilterService,\n private gtHelperService: AnnaGtHelperService,\n public annaFilterService: AnnaFilterService,\n public annaSortService: AnnaSortService,\n private businessRuleCommonSIBILogicService: GenericBusinessRuleCommonSIBILogicService,\n public advertiserTableListingService: AdvTableListingService,\n ) {}\n\n ngOnInit(): void {\n this.detectUrlChanges();\n this.setMessageForNoAdvertisers();\n // if (this.applyPersistedFilters) {\n // this.initPersistedFiltersForTable();\n // } else {\n // this.initFiltersForTable();\n // }\n }\n\n setMessageForNoAdvertisers() {\n const msg =\n // eslint-disable-next-line max-len\n \"Advertiser business rules will appear here for your approval once the station Account Executive forwards them.\";\n this.messageBoxData = new MessageBoxData(\n \"\",\n msg,\n \"mdi mdi-information\",\n `${GenericMessageBoxTheme.informationBlue.messageBoxClass} sm`,\n );\n }\n\n ngOnChanges(changes: SimpleChanges) {\n if (changes && changes?.advertiserTableData?.currentValue) {\n this.enableDisableClearAllBtn();\n if (!this.filtersAppliedChanges) {\n if (this.applyPersistedFilters) {\n this.initPersistedFiltersForTable();\n this.applyFilters();\n } else {\n this.initFiltersForTable();\n this.applyFilters();\n }\n }\n }\n\n this.filtersAppliedChanges = false;\n }\n\n initFiltersForTable() {\n this.annaFilterService.tooltipSelectedMap = new Map();\n this.annaFilterService.selectedRadio = null;\n this.annaFilterService.appliedFiltersArray = [];\n this.annaSortService.noSortingAppliedData = [];\n this.annaSortService.columnSortState = new Map();\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n }\n\n initPersistedFiltersForTable() {\n this.annaFilterService.tooltipSelectedMap = this.filtersFromTheUrL.selectedFilterData\n ? new Map(JSON.parse(this.filtersFromTheUrL.selectedFilterData))\n : new Map();\n this.annaFilterService.selectedRadio = null;\n this.annaFilterService.appliedFiltersArray = this.filtersFromTheUrL.appliedFilters\n ? cloneDeep(this.filtersFromTheUrL.appliedFilters)\n : [];\n\n this.annaSortService.columnSortState =\n this.filtersFromTheUrL && this.filtersFromTheUrL.sortState && this.applyPersistedFilters\n ? new Map(JSON.parse(this.filtersFromTheUrL.sortState))\n : new Map();\n if (this.annaFilterService.tooltipSelectedMap.has(\"Date\")) {\n const selectedDateObj: any = {};\n const date = this.annaFilterService.tooltipSelectedMap.get(\"Date\");\n selectedDateObj.fromDate = dayjs(date.fromDate);\n selectedDateObj.toDate = dayjs(date.toDate);\n this.annaFilterService.tooltipSelectedMap.set(\"Date\", selectedDateObj);\n }\n }\n\n detectUrlChanges() {\n this.route.queryParams.subscribe((params) => {\n this.updateLatestFilters(params);\n this.applyPersistedFilters = !!(\n params.filters && this.persistingFilterService.getActualQueryParams(params.filters)\n );\n this.setPersistedBreadcrumbsVariable(params.breadcrumbs);\n this.filtersFromTheUrL =\n params.filters && this.persistingFilterService.getActualQueryParams(params.filters)\n ? JSON.parse(this.persistingFilterService.getActualQueryParams(params.filters))\n : null;\n this.businessRuleCommonSIBILogicService.filtersFromTheUrlForAdvertiserBizTab = this.filtersFromTheUrL;\n this.businessRuleCommonSIBILogicService.stationIdfiltersFromTheUrlForAdvertiserBizTab = JSON.parse(\n this.persistingFilterService.getActualQueryParams(params.stationId),\n );\n });\n }\n\n setPersistedBreadcrumbsVariable(filter: string) {\n this.breadcrumbsToPersist =\n filter && this.persistingFilterService.getActualQueryParams(filter)\n ? JSON.parse(this.persistingFilterService.getActualQueryParams(filter))\n : null;\n }\n\n updateLatestFilters(queryParams: any) {\n const latestFilters = this.getLatestFilters();\n const updatedQueryParams = Object.keys(queryParams).length === 0 ? null : queryParams;\n\n if (!isEqual(updatedQueryParams, latestFilters)) {\n this.setLatestFilters(cloneDeep(updatedQueryParams));\n }\n }\n\n filterAppliedToTable(filteredData: AdvertiserListingTableData[]) {\n this.advertiserTableData = cloneDeep(filteredData);\n this.disableClearAllBtn = this.gtHelperService.enableOrDisableClearAllBtn();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.columnfilterAppliedToTable.emit();\n }\n\n sortingAppliedToTable(sortedData: AdvertiserListingTableData[]) {\n this.advertiserTableData = cloneDeep(sortedData);\n this.disableClearAllBtn = this.gtHelperService.enableOrDisableClearAllBtn();\n this.updateNavigationHistory();\n }\n\n updateFiltersInURL() {\n const latestQueryParams = this.prepareQueryParamsOnFilter();\n let queryParams = {};\n\n if (\n Object.keys(latestQueryParams).length > 0 ||\n (this.userType === \"BUYER\" && this.showExpiredAdvertisers) ||\n Object.keys(this.popupFilters).length > 0 ||\n Object.keys(this.popupFilters).length > 0\n ) {\n const hashedQueryParams = this.persistingFilterService.storeKeyValueInLocalStorage(latestQueryParams);\n if (Object.keys(this.popupFilters).length > 0) {\n Object.assign(queryParams, { popupFilters: this.popupFilters });\n }\n if (Object.keys(latestQueryParams).length > 0) {\n queryParams = { filters: hashedQueryParams };\n }\n if (this.userType === \"BUYER\" && this.showExpiredAdvertisers) {\n Object.assign(queryParams, { showExpiredAdvertisers: this.showExpiredAdvertisers });\n }\n this.router.navigate([], {\n queryParams,\n relativeTo: this.route.parent,\n queryParamsHandling: \"merge\",\n });\n } else {\n this.router.navigate([], {\n queryParams,\n relativeTo: this.route.parent,\n queryParamsHandling: \"merge\",\n });\n }\n }\n\n prepareQueryParamsOnFilter() {\n const query: any = {};\n\n if (this.annaFilterService.appliedFiltersArray.length > 0) {\n query.appliedFilters = this.annaFilterService.appliedFiltersArray;\n query.selectedFilterData = JSON.stringify(Array.from(this.annaFilterService.tooltipSelectedMap));\n }\n if (this.annaSortService.columnSortState && this.gtHelperService.isSortingAppliedToTable()) {\n query.sortState = JSON.stringify(Array.from(this.annaSortService.columnSortState));\n }\n return query;\n }\n\n tableActionClicked(rowData: { data: AdvertiserListingTableData; id: TypeOfActionLinkForGtEnum }) {\n const selectedAdvertiser = rowData.data;\n switch (rowData.id) {\n case TypeOfActionLinkForGtEnum.ADEVERTISER_NAME_CLICK:\n this.goToAdvertiserBusinessRules(selectedAdvertiser);\n break;\n // no default\n }\n }\n\n goToAdvertiserBusinessRules(advertiser: AdvertiserListingTableData) {\n const emitableData = {\n advertiser,\n breadcrumbsToPersist: this.breadcrumbsToPersist,\n };\n this.advertiserNameClicked.emit(emitableData);\n }\n\n applyFilters() {\n if (this.applyPersistedFilters) {\n this.disableClearAllBtn = false;\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n this.advertiserTableData = this.annaFilterService.filterData(this.advertiserTableDataClonned, \"\");\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.callSort();\n } else {\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.disableClearAllBtn = true;\n }\n }\n\n\n callSort() {\n if (!this.annaSortService?.columnSortState) return;\n this.annaSortService.columnSortState.forEach((value, key) => {\n if (value === \"ASC\") {\n this.advertiserTableData = this.annaSortService.sortDataForComponentOtherThanLurAndCsrPage(\n true,\n this.advertiserTableData,\n key,\n );\n } else if (value === \"DESC\") {\n this.advertiserTableData = this.annaSortService.sortDataForComponentOtherThanLurAndCsrPage(\n false,\n this.advertiserTableData,\n key,\n );\n }\n });\n }\n\n intelliFilterClicked(emittedObj: any) {\n this.advertiserTableData = emittedObj.filteredData;\n\n this.enableDisableClearAllBtn();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.easyFilterClicked.emit();\n }\n\n prepareQueryParamOnFilterApplication() {\n const query: any = {};\n let latestFilters = this.getLatestFilters();\n\n if (this.annaFilterService.appliedFiltersArray.length > 0) {\n query.appliedFilters = this.annaFilterService.appliedFiltersArray;\n query.selectedFilterData = JSON.stringify(Array.from(this.annaFilterService.tooltipSelectedMap));\n }\n\n if (this.checkIfSortIsApplied()) {\n query.sortState = JSON.stringify(Array.from(this.annaSortService.columnSortState));\n }\n\n latestFilters = this.getLatestFilters();\n\n if (Object.keys(query).length > 0) {\n latestFilters = latestFilters || {};\n const hashedQueryParams = this.persistingFilterService.storeKeyValueInLocalStorage(query);\n latestFilters.filters = hashedQueryParams;\n } else {\n latestFilters = [];\n }\n this.setLatestFilters(latestFilters);\n\n return latestFilters;\n }\n\n checkIfSortIsApplied() {\n let isSortingApplied = false;\n this.annaSortService.columnSortState.forEach((val, key) => {\n if (val === \"ASC\" || val === \"DESC\") {\n isSortingApplied = true;\n }\n });\n\n return isSortingApplied;\n }\n\n getLatestFilters() {\n return this.advertiserTableListingService.latestEcListingTabFilters;\n }\n\n setLatestFilters(queryParams: any) {\n this.advertiserTableListingService.latestEcListingTabFilters = queryParams;\n }\n\n enableDisableClearAllBtn() {\n if (!this.annaSortService?.columnSortState) return;\n let isSortApplied: boolean = false;\n this.annaSortService.columnSortState.forEach((val, key) => {\n if (val === \"ASC\" || val === \"DESC\") {\n isSortApplied = true;\n }\n });\n\n this.disableClearAllBtn = this.annaFilterService.appliedFiltersArray.length === 0 && !isSortApplied;\n }\n\n updateNavigationHistory() {\n const queryParams = this.prepareQueryParamOnFilterApplication();\n\n if (this.popupFilters && Object.keys(this.popupFilters).length > 0) {\n Object.assign(queryParams, { popupFilters: this.popupFilters });\n }\n if (this.userType === \"BUYER\" && this.showExpiredAdvertisers) {\n Object.assign(queryParams, { showExpiredAdvertisers: this.showExpiredAdvertisers });\n }\n const path = \"business-rules/advertisers\";\n\n if (queryParams && Object.keys(queryParams).length > 0) {\n this.router.navigate([`${path}`], {\n queryParams,\n });\n } else {\n this.router.navigate([`${path}`], {});\n }\n }\n\n clearAllFiltersAndSorting() {\n this.nonEditableGTComponent?.setScrollToInitialPosition();\n this.disableClearAllBtn = true;\n this.initFiltersForTable();\n this.ClearFandS();\n this.updateNavigationHistory();\n this.filtersAppliedChanges = true;\n this.resetAllFilter.emit();\n }\n\n ClearFandS() {\n this.advertiserTableData = cloneDeep(this.advertiserTableDataClonned);\n this.annaSortService.noSortingAppliedData = cloneDeep(this.advertiserTableData);\n this.annaFilterService.updateStateOfAllTheKeys(this.annaSortService.columnSortState);\n }\n}\n","<section class=\"advertiser-container {{ userType }}\">\n <ng-container *ngIf=\"!showNoDataToDisplayInsideTable && !loading && advertiserTableDataClonned.length === 0\">\n <anna-design-message-box\n class=\"no-data-info-msg\"\n [messageBoxData]=\"messageBoxData\"\n [hide]=\"false\"\n [headerAsBlockElement]=\"false\"\n [showHyphen]=\"false\"\n >\n </anna-design-message-box>\n </ng-container>\n <ng-container\n *ngIf=\"loading || (!loading && (showNoDataToDisplayInsideTable || advertiserTableDataClonned.length > 0))\"\n >\n <!-- <div class=\"d-flex p-8\" *ngIf=\"userType === 'SELLER'\">\n <anna-design-easy-filters\n [showLoader]=\"loading\"\n [numberOfItemsForLoader]=\"numberOfEasyFilterLoader\"\n [easyFilters]=\"easyFilters\"\n [tableData]=\"advertiserTableData\"\n [clonedTableData]=\"advertiserTableDataClonned\"\n (easyFilterClickEvent)=\"intelliFilterClicked($event)\"\n >\n </anna-design-easy-filters>\n </div> -->\n\n <div class=\"main-table\">\n <div class=\"count-text\">\n <anna-design-skt-loader\n *ngIf=\"loading\"\n [theme]=\"{ height: '12px', width: '120px', 'margin-bottom': '0', 'margin-top': '0' }\"\n >\n </anna-design-skt-loader>\n <span *ngIf=\"!loading && advertiserTableData?.length\"\n >{{ totalAdvertisersMessage }}: <b>{{ advertiserTableData.length }}</b></span\n >\n </div>\n\n <button\n *ngIf=\"!loading\"\n class=\"clear-all-btn\"\n [disabled]=\"disableClearAllBtn\"\n (click)=\"clearAllFiltersAndSorting()\"\n >\n Reset all filters\n </button>\n\n <anna-core-non-editable-generic-table-lib\n [showSkeletonLoading]=\"loading\"\n [ngClass]=\"{\n 'advertiser-table-no-data-table': !loading && advertiserTableData && !advertiserTableData.length\n }\"\n [tableHeaders]=\"tableHeaders\"\n [tableData]=\"advertiserTableData\"\n [clonedTableData]=\"advertiserTableDataClonned\"\n [gtGeneralConfig]=\"gtGeneralConfig\"\n [gtDimension]=\"gtDimension\"\n [clickableRow]=\"false\"\n (filterAppliedToTable)=\"filterAppliedToTable($event)\"\n (sortingAppliedToTable)=\"sortingAppliedToTable($event)\"\n (gtTextActionClicked)=\"tableActionClicked($event)\"\n (clickableDataClicked)=\"tableActionClicked($event)\"\n >\n </anna-core-non-editable-generic-table-lib>\n </div>\n </ng-container>\n</section>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i3","i4.AdvTableListingService","i5"],"mappings":";;;;;;;;;;;;;;;;;IAEY;AAAZ,CA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derListingComponent {
962
962
  this.bulkAutomationConfirmationModalConfig.title = `Please note that ${this.countOfSelectedOrdersForAutomation} order(s) will be automated from the next revision cycle. Are you sure you want to proceed?`;
963
963
  this.bulkAutomationConfirmation.openModal();
964
964
  }
965
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BizRulesOrderListingComponent, deps: [{ token: i1.Router }, { token: i2.AnnaGtHelperService }, { token: i1.ActivatedRoute }, { token: i2.AnnaPersistingFilterService }, { token: i2.AnnaFilterService }, { token: i2.AnnaSortService }, { token: i3.ToastrService }, { token: i4.NgxUiLoaderService }, { token: i5.BreadcrumbsService }, { token: i6.GenericBusinessRuleCommonSIBILogicService }, { token: BIZ_RULE_ORDER_LISTING_SERVICE_TOKEN }, { token: AUTOMATION_ACTIVATED_AND_POD_SERVICE_TOKEN }, { token: i2.AnnaGlobalConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
966
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.17", type: BizRulesOrderListingComponent, isStandalone: true, selector: "anna-feature-biz-rules-order-listing", inputs: { loading: "loading", gtGeneralConfig: "gtGeneralConfig", error: "error", aclPermission: "aclPermission", userType: "userType", filterData: "filterData", easyFilters: "easyFilters", tableHeaders: "tableHeaders", gtDimension: "gtDimension", showOwnershipGroupFilter: "showOwnershipGroupFilter", showStationFilter: "showStationFilter", showNoDataToDisplay: "showNoDataToDisplay", stationIdsWithValidLicense: "stationIdsWithValidLicense" }, outputs: { onorderRowClicked: "onorderRowClicked", stayOnPageAndCloseModal: "stayOnPageAndCloseModal" }, viewQueries: [{ propertyName: "activateOrderConfirmation", first: true, predicate: ["activateOrderModal"], descendants: true }, { propertyName: "disableOrderAutomationConfirmation", first: true, predicate: ["disableOrderAutomationModal"], descendants: true }, { propertyName: "selectOrdersForBulkAutomation", first: true, predicate: ["selectOrdersForBulkAutomationModal"], descendants: true }, { propertyName: "bulkAutomationConfirmation", first: true, predicate: ["bulkAutomationConfirmationModal"], descendants: true }, { propertyName: "nonEditableGTComponent", first: true, predicate: AnnaNonEditableGenericTableComponent, descendants: true }, { propertyName: "discardUnsavedChangesConfirmModal", first: true, predicate: ["discardUnsavedChangesConfirmModal"], descendants: true }], ngImport: i0, template: "<div\n class=\"station-period-row\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-dashboard-filter-modal\n [filterData]=\"filterData\"\n [headerText]=\"'Edit Filter'\"\n [showOwnershipGroup]=\"showOwnershipGroupFilter\"\n [showStation]=\"showStationFilter\"\n [showEquivilization]=\"false\"\n [showNormalization]=\"false\"\n [disableEditButton]=\"editModeForBulkAutomationOfOrders\"\n [error]=\"error\"\n [handleNavigation]=\"false\"\n [message]=\"'Select data for which you want to view the orders for.'\"\n [toDisable]=\"showTableSkeletonLoader\"\n [persistingFilter]=\"persistingFilterForPopup\"\n [stationIdsWithValidLicense]=\"stationIdsWithValidLicense\"\n (getInitialFilter)=\"updateInitialStationOrOGFilter($event)\"\n (applyFilter)=\"applyOrderListingPopupFilter($event)\"\n >\n </anna-design-dashboard-filter-modal>\n <ng-container *ngIf=\"userType === 'SELLER' && aclPermission\">\n <div class=\"button-container\">\n <button\n *ngIf=\"!editModeForBulkAutomationOfOrders\"\n class=\"anna select-orders-to-automate-button apply-button\"\n [disabled]=\"orderListingTableData?.length === 0 || orderListingAutomationOrdersCloned?.length === 0\"\n (click)=\"openAllowBulkSelectionOfOrdersToAutomateModal()\"\n >\n Select Orders to Automate\n </button>\n <ng-container *ngIf=\"editModeForBulkAutomationOfOrders\">\n <button\n class=\"anna cancel-button\"\n (click)=\"resetOrderListing()\"\n >\n Cancel\n </button>\n <button\n class=\"anna automate-button apply-button\"\n [disabled]=\"countOfSelectedOrdersForAutomation === 0\"\n (click)=\"confirmBulkAutomationOfOrders()\"\n >\n Automate\n </button>\n </ng-container>\n </div>\n </ng-container>\n</div>\n<div\n class=\"easy-reset-filter-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <div class=\"filters\">\n <anna-design-easy-filters\n [showLoader]=\"showTableSkeletonLoader\"\n [numberOfItemsForLoader]=\"easyFilterSkeletonLoaderCount\"\n [easyFilters]=\"easyFilters\"\n [tableData]=\"editModeForBulkAutomationOfOrders ? [] : orderListingTableData\"\n [clonedTableData]=\"orderListingTableDataCloned\"\n (easyFilterClickEvent)=\"intelliFilterClicked($event)\"\n >\n </anna-design-easy-filters>\n </div>\n</div>\n<section\n class=\"count-reset-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-skt-loader\n *ngIf=\"showTableSkeletonLoader\"\n [theme]=\"{\n height: '12px',\n width: '120px',\n 'margin-bottom': '0',\n 'margin-top': '0',\n 'margin-left': 'var(--app-left-space)'\n }\"\n >\n </anna-design-skt-loader>\n <button\n *ngIf=\"!showTableSkeletonLoader\"\n class=\"clear-all-btn\"\n (click)=\"clearAllFilter()\"\n [disabled]=\"disableClearAllBtn\"\n >\n Reset all filters\n </button>\n\n <div class=\"count-text\">\n <span\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n class=\"total-orders-selected\"\n >\n <ng-container *ngIf=\"!isTableFiltersApplied\">\n <i\n [ngClass]=\"isAllOrderSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\"\n (click)=\"toggleHeaderCheckbox()\"\n ></i>\n Select all orders for automation <span> ({{ orderListingAutomationOrdersCloned?.length }}) | </span>\n </ng-container>\n <ng-container *ngIf=\"isTableFiltersApplied\">\n <i\n [ngClass]=\"\n isAllFilteredOrdersSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\n \"\n (click)=\"toggleSelectFilteredOrdersCheckbox()\"\n ></i>\n Select all filtered orders for automation <span> ({{ orderListingTableData?.length }}) | </span>\n </ng-container>\n </span>\n <span\n class=\"selectedAutomateOrdersCount\"\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n >Selected Orders:\n <b>{{\n isTableFiltersApplied ? countOfSelectedFilteredOrdersForAutomation : countOfSelectedOrdersForAutomation\n }}</b>\n </span>\n <span *ngIf=\"!showTableSkeletonLoader && !editModeForBulkAutomationOfOrders\"\n >Total Orders: <b>{{ orderListingTableData.length }}</b></span\n >\n </div>\n</section>\n\n<section\n class=\"biz-order-table-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-core-non-editable-generic-table-lib\n class=\"biz-order-listing-generic-table\"\n [ngClass]=\"{\n 'no-data-table': !showTableSkeletonLoader && orderListingTableData && orderListingTableData.length === 0,\n showCheckBoxColumn: editModeForBulkAutomationOfOrders\n }\"\n [showSkeletonLoading]=\"showTableSkeletonLoader\"\n [tableHeaders]=\"tableHeaders\"\n [tableData]=\"orderListingTableData\"\n [clonedTableData]=\"\n editModeForBulkAutomationOfOrders ? orderListingAutomationOrdersCloned : orderListingTableDataCloned\n \"\n [gtGeneralConfig]=\"gtGeneralConfig\"\n [gtDimension]=\"gtDimension\"\n [clickableRow]=\"false\"\n [tableBorderBottomClassRequired]=\"false\"\n [includeBorderInTableHeight]=\"false\"\n (toggleCheckbox)=\"toggleCheckbox($event)\"\n (filterAppliedToTable)=\"filterAppliedToTable($event)\"\n (sortingAppliedToTable)=\"sortingAppliedToTable($event)\"\n (gtTextActionClicked)=\"tableActionClicked($event)\"\n (clickableDataClicked)=\"tableActionClicked($event)\"\n >\n </anna-core-non-editable-generic-table-lib>\n</section>\n\n<ng-container *ngIf=\"showNoDataToDisplay\">\n <anna-core-no-data-lib width=\"50%\"> </anna-core-no-data-lib>\n</ng-container>\n\n<anna-design-confirmation-popup\n #activateOrderModal\n [config]=\"activateOrderConfirmationConfig\"\n (confirmClicked)=\"activateOrder()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #disableOrderAutomationModal\n [config]=\"disableAutomationConfirmationConfig\"\n (confirmClicked)=\"onConfirmdisableOrderAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #selectOrdersForBulkAutomationModal\n [config]=\"selectOrdersForBulkAutomationModalConfig\"\n (confirmClicked)=\"allowBulkSelectionOfOrdersForAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #bulkAutomationConfirmationModal\n [config]=\"bulkAutomationConfirmationModalConfig\"\n (confirmClicked)=\"sendBulkOrdersForActivation()\"\n>\n</anna-design-confirmation-popup>\n<anna-design-confirmation-popup\n #discardUnsavedChangesConfirmModal\n [config]=\"discardUnsavedChangesConfirmConfig\"\n (cancelClicked)=\"stayOnBizRulePageAndCloseModal()\"\n>\n</anna-design-confirmation-popup>\n", styles: ["::ng-deep .select-orders-bulk-automation-confirm-popup .modal-content{width:320px!important;max-width:320px!important}.station-period-row{padding-left:var(--app-left-space);padding-right:var(--app-right-space);margin-bottom:12px;margin-top:12px}::ng-deep app-dashboard-filter-modal{width:100%}:host ::ng-deep anna-design-easy-filters section{flex-wrap:wrap}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active{border:1px solid #f3bd18!important;background-color:#f3bd18!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL{border:1px solid #f3bd18!important;background-color:#f7f2d1!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED{border:1px solid #00c853!important;background-color:#e3f3ea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active{border:1px solid #00c853!important;background-color:#00c853!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED{border:1px solid #9b1b93!important;background-color:#ffe8fe!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active{border:1px solid #9b1b93!important;background-color:#9b1b93!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED{border:1px solid #1565c0!important;background-color:#d5e3f4!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active{border:1px solid #1565c0!important;background-color:#1565c0!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED{border:1px solid #8bac2a!important;background-color:#faffea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active{border:1px solid #fff!important;background-color:#8bac2a!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}.easy-reset-filter-container{padding-left:var(--app-left-space);padding-right:2.5rem;display:flex;align-items:flex-end;flex-wrap:wrap;justify-content:space-between}:host ::ng-deep .wrapper{width:max-content}.filters{display:flex;flex-wrap:wrap;position:relative;margin-bottom:4px}button.clear-all-btn{display:flex;float:right;min-width:max-content;margin-right:40px;padding:0;border:none;display:block;text-align:right;margin-left:auto;width:fit-content;background-color:transparent;text-decoration:underline;color:#268bff;line-height:1!important;font-size:var(--reset-all-filter-fs)!important;letter-spacing:normal!important;font-weight:400!important;line-height:normal!important}button.clear-all-btn:hover:enabled{color:#268bff}button.clear-all-btn:disabled{color:#4a4a4a;opacity:.5;cursor:not-allowed}button.clear-all-btn:disabled{background-color:#fff}.reset-container{display:contents}.count-text{font-size:var(--page-message-content-fs);font-family:Roboto;font-style:italic;display:inline-block;margin-left:var(--app-left-space);margin-top:0;color:var(--primary-text-color-medium)}.count-text b{color:var(--font-color)}.total-orders-selected{font-size:12px;color:#4a4a4a;font-style:normal}.select-orders-to-automate-button{width:180px!important}.button-container{display:flex;align-items:end;margin-left:10px}.cancel-button,.automate-button{width:86px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td{cursor:default!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container{margin-left:var(--app-left-space);margin-right:2.5rem}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-identicalToAdvBizRule p.lower-label{color:#4a4a4a!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-automation_activated div.row:nth-of-type(2){display:none!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.row{white-space:normal!important;max-width:fit-content!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.sort-filter-container{margin-left:-20px!important;margin-top:-13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .mdi-info-outline{color:#268bff;margin-left:.4rem;font-size:.6875rem}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.MODIFICATION_REQUESTED,:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.APPROVED{background-color:#00c853!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.AWAITING_APPROVAL{background-color:#f3bd18!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.BUYER_APPROVAL_REQUESTED{background-color:#1565c0!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.SELLER_APPROVAL_REQUESTED{background-color:#9b1b93!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib a.stationOrderNumber,:host ::ng-deep anna-core-non-editable-generic-table-lib a#ACTIVATE_NOW_LINK_CLICKED{color:#268bff!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div{display:flex!important;color:#000!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div i{color:#f44336;font-size:.75rem;cursor:pointer;float:right;margin-left:auto}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container.no-data-table>div{height:120px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-unchecked,:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-checked{color:#268bff!important;font-size:13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-isSelectedForBulkAutomation div{display:flex;justify-content:center;align-items:center}:host ::ng-deep .italic.orange-text{margin-left:1px;filter:drop-shadow(0px 0 0px #d4d4d4)!important}@media only screen and (max-width: 1281px){:host ::ng-deep anna-design-easy-filters section.d-flex{row-gap:4px}}.mdi-checkbox-blank-outline,.mdi-checkbox-marked{cursor:pointer;color:#268bff!important;font-size:13px!important}::ng-deep .grey-text-italics{color:#a7a7a7!important;font-style:italic!important}.selectedAutomateOrdersCount{font-style:normal!important}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AnnaDesignComponentsLibModule }, { kind: "component", type: i5.SkeletonLoaderComponent, selector: "anna-design-skt-loader", inputs: ["theme", "count"] }, { kind: "component", type: i5.ConfirmationPopupComponent, selector: "anna-design-confirmation-popup", inputs: ["config"], outputs: ["confirmClicked", "cancelClicked"] }, { kind: "component", type: i5.DashboardFilterModalComponent, selector: "anna-design-dashboard-filter-modal", inputs: ["error", "toDisable", "disableEditButton", "filterData", "persistingFilter", "headerText", "handleNavigation", "showEquivilization", "showNormalization", "showOwnershipGroup", "showStation", "showMultiSelectionForStation", "stationIdsWithValidLicense", "message", "toShowAllPeriodModeSetting", "PeriodOptions"], outputs: ["applyFilter", "getInitialFilter"] }, { kind: "component", type: i5.EasyFiltersComponent, selector: "anna-design-easy-filters", inputs: ["showLoader", "tableData", "clonedTableData", "autoSelectionOfOnlyEnabledFilter", "showUnsavedChangesPopup", "isUnSavedChangesPresent", "defaultFilterNameToBeSelected", "filterToBeUpdatedManually", "easyFilters", "numberOfItemsForLoader"], outputs: ["easyFilterClickEvent", "easyFilterIsSelected", "getUpdatedDataAfterUserAction"] }, { kind: "ngmodule", type: AnnaCoreModule }, { kind: "component", type: i2.AnnaNoDataComponent, selector: "anna-core-no-data-lib", inputs: ["width", "marginTop"] }, { kind: "component", type: i2.AnnaNonEditableGenericTableComponent, selector: "anna-core-non-editable-generic-table-lib", inputs: ["showSkeletonLoading", "tableHeaders", "tableData", "clonedTableData", "gtGeneralConfig", "totalRowInfo", "gtDimension", "extraHeaderRowForAdjustingColumnWidths", "tableClass", "maximumRowsWhichCanBeRenderedWithoutScroll", "fixNumberOfRowsForPopup", "fixRowsToRender", "includeBorderInTableHeight", "downloadInProgress", "percentDone", "starredInProgress", "clickableRow", "setTableHeightWhenRowSizeIsFixed", "tableBorderBottomClassRequired", "hideSomeTds", "tdsHaveRowSpan", "multipleTablesPresent", "showOrHideToggleForTotalRow", "enableCustomizableColumns"], outputs: ["toggleCheckbox", "toggleRowCheckbox", "toggleHeaderCheckbox", "undoIconClicked", "filterAppliedToTable", "sortingAppliedToTable", "rowClicked", "radioButtonSelected", "columnFilterOpened", "columnFilterClosed", "gtIconClicked", "gtSVGIconClicked", "gtTextActionClicked", "gtViewDetailClicked", "gtInnerHTMLClicked", "downloadSpotDetails", "clickableDataClicked", "totalRowIconClicked", "notificationIconHover", "notificationIconHoverLeave", "editableInputEdited", "radioButtonMessageIconClicked", "statusNotePopupOpened", "textPopupOpened", "digitOnlyInputChanged", "singleSelectDropdownValueEmit", "timeSelected", "totalRowRadioButtonClicked", "totalRowRadioButtonIconClicked", "columnsCustomized", "acfiRateInputChanged", "acfiRateCopyRequested"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
965
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BizRulesOrderListingComponent, deps: [{ token: i1.Router }, { token: i2.AnnaGtHelperService }, { token: i1.ActivatedRoute }, { token: i2.AnnaPersistingFilterService }, { token: i2.AnnaFilterService }, { token: i2.AnnaSortService }, { token: i3.ToastrService }, { token: i4.NgxUiLoaderService }, { token: i5.BreadcrumbsService }, { token: i6.GenericBusinessRuleCommonSIBILogicService }, { token: BIZ_RULE_ORDER_LISTING_SERVICE_TOKEN }, { token: AUTOMATION_ACTIVATED_AND_POD_SERVICE_TOKEN }, { token: i2.AnnaGlobalConfigService }], target: i0.ɵɵFactoryTarget.Component }); }
966
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: BizRulesOrderListingComponent, isStandalone: true, selector: "anna-feature-biz-rules-order-listing", inputs: { loading: "loading", gtGeneralConfig: "gtGeneralConfig", error: "error", aclPermission: "aclPermission", userType: "userType", filterData: "filterData", easyFilters: "easyFilters", tableHeaders: "tableHeaders", gtDimension: "gtDimension", showOwnershipGroupFilter: "showOwnershipGroupFilter", showStationFilter: "showStationFilter", showNoDataToDisplay: "showNoDataToDisplay", stationIdsWithValidLicense: "stationIdsWithValidLicense" }, outputs: { onorderRowClicked: "onorderRowClicked", stayOnPageAndCloseModal: "stayOnPageAndCloseModal" }, viewQueries: [{ propertyName: "activateOrderConfirmation", first: true, predicate: ["activateOrderModal"], descendants: true }, { propertyName: "disableOrderAutomationConfirmation", first: true, predicate: ["disableOrderAutomationModal"], descendants: true }, { propertyName: "selectOrdersForBulkAutomation", first: true, predicate: ["selectOrdersForBulkAutomationModal"], descendants: true }, { propertyName: "bulkAutomationConfirmation", first: true, predicate: ["bulkAutomationConfirmationModal"], descendants: true }, { propertyName: "nonEditableGTComponent", first: true, predicate: AnnaNonEditableGenericTableComponent, descendants: true }, { propertyName: "discardUnsavedChangesConfirmModal", first: true, predicate: ["discardUnsavedChangesConfirmModal"], descendants: true }], ngImport: i0, template: "<div\n class=\"station-period-row\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-dashboard-filter-modal\n [filterData]=\"filterData\"\n [headerText]=\"'Edit Filter'\"\n [showOwnershipGroup]=\"showOwnershipGroupFilter\"\n [showStation]=\"showStationFilter\"\n [showEquivilization]=\"false\"\n [showNormalization]=\"false\"\n [disableEditButton]=\"editModeForBulkAutomationOfOrders\"\n [error]=\"error\"\n [handleNavigation]=\"false\"\n [message]=\"'Select data for which you want to view the orders for.'\"\n [toDisable]=\"showTableSkeletonLoader\"\n [persistingFilter]=\"persistingFilterForPopup\"\n [stationIdsWithValidLicense]=\"stationIdsWithValidLicense\"\n (getInitialFilter)=\"updateInitialStationOrOGFilter($event)\"\n (applyFilter)=\"applyOrderListingPopupFilter($event)\"\n >\n </anna-design-dashboard-filter-modal>\n <ng-container *ngIf=\"userType === 'SELLER' && aclPermission\">\n <div class=\"button-container\">\n <button\n *ngIf=\"!editModeForBulkAutomationOfOrders\"\n class=\"anna select-orders-to-automate-button apply-button\"\n [disabled]=\"orderListingTableData?.length === 0 || orderListingAutomationOrdersCloned?.length === 0\"\n (click)=\"openAllowBulkSelectionOfOrdersToAutomateModal()\"\n >\n Select Orders to Automate\n </button>\n <ng-container *ngIf=\"editModeForBulkAutomationOfOrders\">\n <button\n class=\"anna cancel-button\"\n (click)=\"resetOrderListing()\"\n >\n Cancel\n </button>\n <button\n class=\"anna automate-button apply-button\"\n [disabled]=\"countOfSelectedOrdersForAutomation === 0\"\n (click)=\"confirmBulkAutomationOfOrders()\"\n >\n Automate\n </button>\n </ng-container>\n </div>\n </ng-container>\n</div>\n<div\n class=\"easy-reset-filter-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <div class=\"filters\">\n <anna-design-easy-filters\n [showLoader]=\"showTableSkeletonLoader\"\n [numberOfItemsForLoader]=\"easyFilterSkeletonLoaderCount\"\n [easyFilters]=\"easyFilters\"\n [tableData]=\"editModeForBulkAutomationOfOrders ? [] : orderListingTableData\"\n [clonedTableData]=\"orderListingTableDataCloned\"\n (easyFilterClickEvent)=\"intelliFilterClicked($event)\"\n >\n </anna-design-easy-filters>\n </div>\n</div>\n<section\n class=\"count-reset-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-skt-loader\n *ngIf=\"showTableSkeletonLoader\"\n [theme]=\"{\n height: '12px',\n width: '120px',\n 'margin-bottom': '0',\n 'margin-top': '0',\n 'margin-left': 'var(--app-left-space)'\n }\"\n >\n </anna-design-skt-loader>\n <button\n *ngIf=\"!showTableSkeletonLoader\"\n class=\"clear-all-btn\"\n (click)=\"clearAllFilter()\"\n [disabled]=\"disableClearAllBtn\"\n >\n Reset all filters\n </button>\n\n <div class=\"count-text\">\n <span\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n class=\"total-orders-selected\"\n >\n <ng-container *ngIf=\"!isTableFiltersApplied\">\n <i\n [ngClass]=\"isAllOrderSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\"\n (click)=\"toggleHeaderCheckbox()\"\n ></i>\n Select all orders for automation <span> ({{ orderListingAutomationOrdersCloned?.length }}) | </span>\n </ng-container>\n <ng-container *ngIf=\"isTableFiltersApplied\">\n <i\n [ngClass]=\"\n isAllFilteredOrdersSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\n \"\n (click)=\"toggleSelectFilteredOrdersCheckbox()\"\n ></i>\n Select all filtered orders for automation <span> ({{ orderListingTableData?.length }}) | </span>\n </ng-container>\n </span>\n <span\n class=\"selectedAutomateOrdersCount\"\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n >Selected Orders:\n <b>{{\n isTableFiltersApplied ? countOfSelectedFilteredOrdersForAutomation : countOfSelectedOrdersForAutomation\n }}</b>\n </span>\n <span *ngIf=\"!showTableSkeletonLoader && !editModeForBulkAutomationOfOrders\"\n >Total Orders: <b>{{ orderListingTableData.length }}</b></span\n >\n </div>\n</section>\n\n<section\n class=\"biz-order-table-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-core-non-editable-generic-table-lib\n class=\"biz-order-listing-generic-table\"\n [ngClass]=\"{\n 'no-data-table': !showTableSkeletonLoader && orderListingTableData && orderListingTableData.length === 0,\n showCheckBoxColumn: editModeForBulkAutomationOfOrders\n }\"\n [showSkeletonLoading]=\"showTableSkeletonLoader\"\n [tableHeaders]=\"tableHeaders\"\n [tableData]=\"orderListingTableData\"\n [clonedTableData]=\"\n editModeForBulkAutomationOfOrders ? orderListingAutomationOrdersCloned : orderListingTableDataCloned\n \"\n [gtGeneralConfig]=\"gtGeneralConfig\"\n [gtDimension]=\"gtDimension\"\n [clickableRow]=\"false\"\n [tableBorderBottomClassRequired]=\"false\"\n [includeBorderInTableHeight]=\"false\"\n (toggleCheckbox)=\"toggleCheckbox($event)\"\n (filterAppliedToTable)=\"filterAppliedToTable($event)\"\n (sortingAppliedToTable)=\"sortingAppliedToTable($event)\"\n (gtTextActionClicked)=\"tableActionClicked($event)\"\n (clickableDataClicked)=\"tableActionClicked($event)\"\n >\n </anna-core-non-editable-generic-table-lib>\n</section>\n\n<ng-container *ngIf=\"showNoDataToDisplay\">\n <anna-core-no-data-lib width=\"50%\"> </anna-core-no-data-lib>\n</ng-container>\n\n<anna-design-confirmation-popup\n #activateOrderModal\n [config]=\"activateOrderConfirmationConfig\"\n (confirmClicked)=\"activateOrder()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #disableOrderAutomationModal\n [config]=\"disableAutomationConfirmationConfig\"\n (confirmClicked)=\"onConfirmdisableOrderAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #selectOrdersForBulkAutomationModal\n [config]=\"selectOrdersForBulkAutomationModalConfig\"\n (confirmClicked)=\"allowBulkSelectionOfOrdersForAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #bulkAutomationConfirmationModal\n [config]=\"bulkAutomationConfirmationModalConfig\"\n (confirmClicked)=\"sendBulkOrdersForActivation()\"\n>\n</anna-design-confirmation-popup>\n<anna-design-confirmation-popup\n #discardUnsavedChangesConfirmModal\n [config]=\"discardUnsavedChangesConfirmConfig\"\n (cancelClicked)=\"stayOnBizRulePageAndCloseModal()\"\n>\n</anna-design-confirmation-popup>\n", styles: ["::ng-deep .select-orders-bulk-automation-confirm-popup .modal-content{width:320px!important;max-width:320px!important}.station-period-row{padding-left:var(--app-left-space);padding-right:var(--app-right-space);margin-bottom:12px;margin-top:12px}::ng-deep app-dashboard-filter-modal{width:100%}:host ::ng-deep anna-design-easy-filters section{flex-wrap:wrap}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active{border:1px solid #f3bd18!important;background-color:#f3bd18!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL{border:1px solid #f3bd18!important;background-color:#f7f2d1!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED{border:1px solid #00c853!important;background-color:#e3f3ea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active{border:1px solid #00c853!important;background-color:#00c853!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED{border:1px solid #9b1b93!important;background-color:#ffe8fe!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active{border:1px solid #9b1b93!important;background-color:#9b1b93!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED{border:1px solid #1565c0!important;background-color:#d5e3f4!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active{border:1px solid #1565c0!important;background-color:#1565c0!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED{border:1px solid #8bac2a!important;background-color:#faffea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active{border:1px solid #fff!important;background-color:#8bac2a!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}.easy-reset-filter-container{padding-left:var(--app-left-space);padding-right:2.5rem;display:flex;align-items:flex-end;flex-wrap:wrap;justify-content:space-between}:host ::ng-deep .wrapper{width:max-content}.filters{display:flex;flex-wrap:wrap;position:relative;margin-bottom:4px}button.clear-all-btn{display:flex;float:right;min-width:max-content;margin-right:40px;padding:0;border:none;display:block;text-align:right;margin-left:auto;width:fit-content;background-color:transparent;text-decoration:underline;color:#268bff;line-height:1!important;font-size:var(--reset-all-filter-fs)!important;letter-spacing:normal!important;font-weight:400!important;line-height:normal!important}button.clear-all-btn:hover:enabled{color:#268bff}button.clear-all-btn:disabled{color:#4a4a4a;opacity:.5;cursor:not-allowed}button.clear-all-btn:disabled{background-color:#fff}.reset-container{display:contents}.count-text{font-size:var(--page-message-content-fs);font-family:Roboto;font-style:italic;display:inline-block;margin-left:var(--app-left-space);margin-top:0;color:var(--primary-text-color-medium)}.count-text b{color:var(--font-color)}.total-orders-selected{font-size:12px;color:#4a4a4a;font-style:normal}.select-orders-to-automate-button{width:180px!important}.button-container{display:flex;align-items:end;margin-left:10px}.cancel-button,.automate-button{width:86px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td{cursor:default!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container{margin-left:var(--app-left-space);margin-right:2.5rem}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-identicalToAdvBizRule p.lower-label{color:#4a4a4a!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-automation_activated div.row:nth-of-type(2){display:none!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.row{white-space:normal!important;max-width:fit-content!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.sort-filter-container{margin-left:-20px!important;margin-top:-13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .mdi-info-outline{color:#268bff;margin-left:.4rem;font-size:.6875rem}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.MODIFICATION_REQUESTED,:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.APPROVED{background-color:#00c853!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.AWAITING_APPROVAL{background-color:#f3bd18!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.BUYER_APPROVAL_REQUESTED{background-color:#1565c0!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.SELLER_APPROVAL_REQUESTED{background-color:#9b1b93!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib a.stationOrderNumber,:host ::ng-deep anna-core-non-editable-generic-table-lib a#ACTIVATE_NOW_LINK_CLICKED{color:#268bff!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div{display:flex!important;color:#000!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div i{color:#f44336;font-size:.75rem;cursor:pointer;float:right;margin-left:auto}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container.no-data-table>div{height:120px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-unchecked,:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-checked{color:#268bff!important;font-size:13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-isSelectedForBulkAutomation div{display:flex;justify-content:center;align-items:center}:host ::ng-deep .italic.orange-text{margin-left:1px;filter:drop-shadow(0px 0 0px #d4d4d4)!important}@media only screen and (max-width: 1281px){:host ::ng-deep anna-design-easy-filters section.d-flex{row-gap:4px}}.mdi-checkbox-blank-outline,.mdi-checkbox-marked{cursor:pointer;color:#268bff!important;font-size:13px!important}::ng-deep .grey-text-italics{color:#a7a7a7!important;font-style:italic!important}.selectedAutomateOrdersCount{font-style:normal!important}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: AnnaDesignComponentsLibModule }, { kind: "component", type: i5.SkeletonLoaderComponent, selector: "anna-design-skt-loader", inputs: ["theme", "count"] }, { kind: "component", type: i5.ConfirmationPopupComponent, selector: "anna-design-confirmation-popup", inputs: ["config"], outputs: ["confirmClicked", "cancelClicked"] }, { kind: "component", type: i5.DashboardFilterModalComponent, selector: "anna-design-dashboard-filter-modal", inputs: ["error", "toDisable", "disableEditButton", "filterData", "persistingFilter", "headerText", "handleNavigation", "showEquivilization", "showNormalization", "showOwnershipGroup", "showStation", "showMultiSelectionForStation", "stationIdsWithValidLicense", "message", "toShowAllPeriodModeSetting", "PeriodOptions"], outputs: ["applyFilter", "getInitialFilter"] }, { kind: "component", type: i5.EasyFiltersComponent, selector: "anna-design-easy-filters", inputs: ["showLoader", "tableData", "clonedTableData", "autoSelectionOfOnlyEnabledFilter", "showUnsavedChangesPopup", "isUnSavedChangesPresent", "defaultFilterNameToBeSelected", "filterToBeUpdatedManually", "easyFilters", "numberOfItemsForLoader"], outputs: ["easyFilterClickEvent", "easyFilterIsSelected", "getUpdatedDataAfterUserAction"] }, { kind: "ngmodule", type: AnnaCoreModule }, { kind: "component", type: i2.AnnaNoDataComponent, selector: "anna-core-no-data-lib", inputs: ["width", "marginTop"] }, { kind: "component", type: i2.AnnaNonEditableGenericTableComponent, selector: "anna-core-non-editable-generic-table-lib", inputs: ["showSkeletonLoading", "tableHeaders", "tableData", "clonedTableData", "gtGeneralConfig", "totalRowInfo", "gtDimension", "extraHeaderRowForAdjustingColumnWidths", "tableClass", "maximumRowsWhichCanBeRenderedWithoutScroll", "fixNumberOfRowsForPopup", "fixRowsToRender", "includeBorderInTableHeight", "downloadInProgress", "percentDone", "starredInProgress", "clickableRow", "setTableHeightWhenRowSizeIsFixed", "tableBorderBottomClassRequired", "hideSomeTds", "tdsHaveRowSpan", "multipleTablesPresent", "showOrHideToggleForTotalRow", "enableCustomizableColumns"], outputs: ["toggleCheckbox", "toggleRowCheckbox", "toggleHeaderCheckbox", "undoIconClicked", "filterAppliedToTable", "sortingAppliedToTable", "rowClicked", "radioButtonSelected", "columnFilterOpened", "columnFilterClosed", "gtIconClicked", "gtSVGIconClicked", "gtTextActionClicked", "gtViewDetailClicked", "gtInnerHTMLClicked", "downloadSpotDetails", "clickableDataClicked", "totalRowIconClicked", "notificationIconHover", "notificationIconHoverLeave", "editableInputEdited", "radioButtonMessageIconClicked", "statusNotePopupOpened", "textPopupOpened", "digitOnlyInputChanged", "singleSelectDropdownValueEmit", "timeSelected", "totalRowRadioButtonClicked", "totalRowRadioButtonIconClicked", "columnsCustomized", "acfiRateInputChanged", "acfiRateCopyRequested"] }, { kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }] }); }
967
967
  }
968
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.17", ngImport: i0, type: BizRulesOrderListingComponent, decorators: [{
968
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: BizRulesOrderListingComponent, decorators: [{
969
969
  type: Component,
970
970
  args: [{ selector: "anna-feature-biz-rules-order-listing", imports: [NgIf, AnnaDesignComponentsLibModule, AnnaCoreModule, NgClass], template: "<div\n class=\"station-period-row\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-dashboard-filter-modal\n [filterData]=\"filterData\"\n [headerText]=\"'Edit Filter'\"\n [showOwnershipGroup]=\"showOwnershipGroupFilter\"\n [showStation]=\"showStationFilter\"\n [showEquivilization]=\"false\"\n [showNormalization]=\"false\"\n [disableEditButton]=\"editModeForBulkAutomationOfOrders\"\n [error]=\"error\"\n [handleNavigation]=\"false\"\n [message]=\"'Select data for which you want to view the orders for.'\"\n [toDisable]=\"showTableSkeletonLoader\"\n [persistingFilter]=\"persistingFilterForPopup\"\n [stationIdsWithValidLicense]=\"stationIdsWithValidLicense\"\n (getInitialFilter)=\"updateInitialStationOrOGFilter($event)\"\n (applyFilter)=\"applyOrderListingPopupFilter($event)\"\n >\n </anna-design-dashboard-filter-modal>\n <ng-container *ngIf=\"userType === 'SELLER' && aclPermission\">\n <div class=\"button-container\">\n <button\n *ngIf=\"!editModeForBulkAutomationOfOrders\"\n class=\"anna select-orders-to-automate-button apply-button\"\n [disabled]=\"orderListingTableData?.length === 0 || orderListingAutomationOrdersCloned?.length === 0\"\n (click)=\"openAllowBulkSelectionOfOrdersToAutomateModal()\"\n >\n Select Orders to Automate\n </button>\n <ng-container *ngIf=\"editModeForBulkAutomationOfOrders\">\n <button\n class=\"anna cancel-button\"\n (click)=\"resetOrderListing()\"\n >\n Cancel\n </button>\n <button\n class=\"anna automate-button apply-button\"\n [disabled]=\"countOfSelectedOrdersForAutomation === 0\"\n (click)=\"confirmBulkAutomationOfOrders()\"\n >\n Automate\n </button>\n </ng-container>\n </div>\n </ng-container>\n</div>\n<div\n class=\"easy-reset-filter-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <div class=\"filters\">\n <anna-design-easy-filters\n [showLoader]=\"showTableSkeletonLoader\"\n [numberOfItemsForLoader]=\"easyFilterSkeletonLoaderCount\"\n [easyFilters]=\"easyFilters\"\n [tableData]=\"editModeForBulkAutomationOfOrders ? [] : orderListingTableData\"\n [clonedTableData]=\"orderListingTableDataCloned\"\n (easyFilterClickEvent)=\"intelliFilterClicked($event)\"\n >\n </anna-design-easy-filters>\n </div>\n</div>\n<section\n class=\"count-reset-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-design-skt-loader\n *ngIf=\"showTableSkeletonLoader\"\n [theme]=\"{\n height: '12px',\n width: '120px',\n 'margin-bottom': '0',\n 'margin-top': '0',\n 'margin-left': 'var(--app-left-space)'\n }\"\n >\n </anna-design-skt-loader>\n <button\n *ngIf=\"!showTableSkeletonLoader\"\n class=\"clear-all-btn\"\n (click)=\"clearAllFilter()\"\n [disabled]=\"disableClearAllBtn\"\n >\n Reset all filters\n </button>\n\n <div class=\"count-text\">\n <span\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n class=\"total-orders-selected\"\n >\n <ng-container *ngIf=\"!isTableFiltersApplied\">\n <i\n [ngClass]=\"isAllOrderSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\"\n (click)=\"toggleHeaderCheckbox()\"\n ></i>\n Select all orders for automation <span> ({{ orderListingAutomationOrdersCloned?.length }}) | </span>\n </ng-container>\n <ng-container *ngIf=\"isTableFiltersApplied\">\n <i\n [ngClass]=\"\n isAllFilteredOrdersSelected ? 'mdi mdi-checkbox-marked' : 'mdi mdi-checkbox-blank-outline'\n \"\n (click)=\"toggleSelectFilteredOrdersCheckbox()\"\n ></i>\n Select all filtered orders for automation <span> ({{ orderListingTableData?.length }}) | </span>\n </ng-container>\n </span>\n <span\n class=\"selectedAutomateOrdersCount\"\n *ngIf=\"editModeForBulkAutomationOfOrders\"\n >Selected Orders:\n <b>{{\n isTableFiltersApplied ? countOfSelectedFilteredOrdersForAutomation : countOfSelectedOrdersForAutomation\n }}</b>\n </span>\n <span *ngIf=\"!showTableSkeletonLoader && !editModeForBulkAutomationOfOrders\"\n >Total Orders: <b>{{ orderListingTableData.length }}</b></span\n >\n </div>\n</section>\n\n<section\n class=\"biz-order-table-container\"\n *ngIf=\"!showNoDataToDisplay\"\n>\n <anna-core-non-editable-generic-table-lib\n class=\"biz-order-listing-generic-table\"\n [ngClass]=\"{\n 'no-data-table': !showTableSkeletonLoader && orderListingTableData && orderListingTableData.length === 0,\n showCheckBoxColumn: editModeForBulkAutomationOfOrders\n }\"\n [showSkeletonLoading]=\"showTableSkeletonLoader\"\n [tableHeaders]=\"tableHeaders\"\n [tableData]=\"orderListingTableData\"\n [clonedTableData]=\"\n editModeForBulkAutomationOfOrders ? orderListingAutomationOrdersCloned : orderListingTableDataCloned\n \"\n [gtGeneralConfig]=\"gtGeneralConfig\"\n [gtDimension]=\"gtDimension\"\n [clickableRow]=\"false\"\n [tableBorderBottomClassRequired]=\"false\"\n [includeBorderInTableHeight]=\"false\"\n (toggleCheckbox)=\"toggleCheckbox($event)\"\n (filterAppliedToTable)=\"filterAppliedToTable($event)\"\n (sortingAppliedToTable)=\"sortingAppliedToTable($event)\"\n (gtTextActionClicked)=\"tableActionClicked($event)\"\n (clickableDataClicked)=\"tableActionClicked($event)\"\n >\n </anna-core-non-editable-generic-table-lib>\n</section>\n\n<ng-container *ngIf=\"showNoDataToDisplay\">\n <anna-core-no-data-lib width=\"50%\"> </anna-core-no-data-lib>\n</ng-container>\n\n<anna-design-confirmation-popup\n #activateOrderModal\n [config]=\"activateOrderConfirmationConfig\"\n (confirmClicked)=\"activateOrder()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #disableOrderAutomationModal\n [config]=\"disableAutomationConfirmationConfig\"\n (confirmClicked)=\"onConfirmdisableOrderAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #selectOrdersForBulkAutomationModal\n [config]=\"selectOrdersForBulkAutomationModalConfig\"\n (confirmClicked)=\"allowBulkSelectionOfOrdersForAutomation()\"\n>\n</anna-design-confirmation-popup>\n\n<anna-design-confirmation-popup\n #bulkAutomationConfirmationModal\n [config]=\"bulkAutomationConfirmationModalConfig\"\n (confirmClicked)=\"sendBulkOrdersForActivation()\"\n>\n</anna-design-confirmation-popup>\n<anna-design-confirmation-popup\n #discardUnsavedChangesConfirmModal\n [config]=\"discardUnsavedChangesConfirmConfig\"\n (cancelClicked)=\"stayOnBizRulePageAndCloseModal()\"\n>\n</anna-design-confirmation-popup>\n", styles: ["::ng-deep .select-orders-bulk-automation-confirm-popup .modal-content{width:320px!important;max-width:320px!important}.station-period-row{padding-left:var(--app-left-space);padding-right:var(--app-right-space);margin-bottom:12px;margin-top:12px}::ng-deep app-dashboard-filter-modal{width:100%}:host ::ng-deep anna-design-easy-filters section{flex-wrap:wrap}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active{border:1px solid #f3bd18!important;background-color:#f3bd18!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL{border:1px solid #f3bd18!important;background-color:#f7f2d1!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AWAITING_APPROVAL:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED{border:1px solid #00c853!important;background-color:#e3f3ea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active{border:1px solid #00c853!important;background-color:#00c853!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.APPROVED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED{border:1px solid #9b1b93!important;background-color:#ffe8fe!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active{border:1px solid #9b1b93!important;background-color:#9b1b93!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.SELLER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED{border:1px solid #1565c0!important;background-color:#d5e3f4!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active{border:1px solid #1565c0!important;background-color:#1565c0!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.BUYER_APPROVAL_REQUESTED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED{border:1px solid #8bac2a!important;background-color:#faffea!important;color:#268bff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active{border:1px solid #fff!important;background-color:#8bac2a!important;color:#268bff!important;color:#fff!important}:host ::ng-deep anna-design-easy-filters button.AUTOMATED.active:disabled{border:1px solid #bdbdbd!important;color:#4a4a4a!important;background:#bdbdbd!important;cursor:not-allowed!important}.easy-reset-filter-container{padding-left:var(--app-left-space);padding-right:2.5rem;display:flex;align-items:flex-end;flex-wrap:wrap;justify-content:space-between}:host ::ng-deep .wrapper{width:max-content}.filters{display:flex;flex-wrap:wrap;position:relative;margin-bottom:4px}button.clear-all-btn{display:flex;float:right;min-width:max-content;margin-right:40px;padding:0;border:none;display:block;text-align:right;margin-left:auto;width:fit-content;background-color:transparent;text-decoration:underline;color:#268bff;line-height:1!important;font-size:var(--reset-all-filter-fs)!important;letter-spacing:normal!important;font-weight:400!important;line-height:normal!important}button.clear-all-btn:hover:enabled{color:#268bff}button.clear-all-btn:disabled{color:#4a4a4a;opacity:.5;cursor:not-allowed}button.clear-all-btn:disabled{background-color:#fff}.reset-container{display:contents}.count-text{font-size:var(--page-message-content-fs);font-family:Roboto;font-style:italic;display:inline-block;margin-left:var(--app-left-space);margin-top:0;color:var(--primary-text-color-medium)}.count-text b{color:var(--font-color)}.total-orders-selected{font-size:12px;color:#4a4a4a;font-style:normal}.select-orders-to-automate-button{width:180px!important}.button-container{display:flex;align-items:end;margin-left:10px}.cancel-button,.automate-button{width:86px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td{cursor:default!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container{margin-left:var(--app-left-space);margin-right:2.5rem}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-identicalToAdvBizRule p.lower-label{color:#4a4a4a!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-automation_activated div.row:nth-of-type(2){display:none!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.row{white-space:normal!important;max-width:fit-content!important}:host ::ng-deep anna-core-non-editable-generic-table-lib th.mat-column-isInhertingAdvBizRules div.sort-filter-container{margin-left:-20px!important;margin-top:-13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .mdi-info-outline{color:#268bff;margin-left:.4rem;font-size:.6875rem}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.MODIFICATION_REQUESTED,:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.APPROVED{background-color:#00c853!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.AWAITING_APPROVAL{background-color:#f3bd18!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.BUYER_APPROVAL_REQUESTED{background-color:#1565c0!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib .status-btn.SELLER_APPROVAL_REQUESTED{background-color:#9b1b93!important;border-radius:2px!important;padding:2px 6px!important;cursor:default!important;color:#fff!important;text-decoration:none!important;display:inline-block!important;font-family:Roboto;font-size:12px;font-weight:700!important;font-stretch:normal;font-style:normal;line-height:normal;letter-spacing:normal}:host ::ng-deep anna-core-non-editable-generic-table-lib a.stationOrderNumber,:host ::ng-deep anna-core-non-editable-generic-table-lib a#ACTIVATE_NOW_LINK_CLICKED{color:#268bff!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div{display:flex!important;color:#000!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-automation_activated div i{color:#f44336;font-size:.75rem;cursor:pointer;float:right;margin-left:auto}:host ::ng-deep anna-core-non-editable-generic-table-lib .table-container.no-data-table>div{height:120px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-unchecked,:host ::ng-deep anna-core-non-editable-generic-table-lib .custom-column-checkbox-checked{color:#268bff!important;font-size:13px!important}:host ::ng-deep anna-core-non-editable-generic-table-lib td.mat-column-isSelectedForBulkAutomation div{display:flex;justify-content:center;align-items:center}:host ::ng-deep .italic.orange-text{margin-left:1px;filter:drop-shadow(0px 0 0px #d4d4d4)!important}@media only screen and (max-width: 1281px){:host ::ng-deep anna-design-easy-filters section.d-flex{row-gap:4px}}.mdi-checkbox-blank-outline,.mdi-checkbox-marked{cursor:pointer;color:#268bff!important;font-size:13px!important}::ng-deep .grey-text-italics{color:#a7a7a7!important;font-style:italic!important}.selectedAutomateOrdersCount{font-style:normal!important}\n"] }]
971
971
  }], ctorParameters: () => [{ type: i1.Router }, { type: i2.AnnaGtHelperService }, { type: i1.ActivatedRoute }, { type: i2.AnnaPersistingFilterService }, { type: i2.AnnaFilterService }, { type: i2.AnnaSortService }, { type: i3.ToastrService }, { type: i4.NgxUiLoaderService }, { type: i5.BreadcrumbsService }, { type: i6.GenericBusinessRuleCommonSIBILogicService }, { type: undefined, decorators: [{