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MC4B/C,GAAaE,KAAkB,KAAzB,GAAOA,GAAP,KAAOA,EAAkB,GAAAjX,CAAA,CAAAK,IAAA,UAAAmE,CAAA,aAAAA,CAAA,EAAlByS,IAAkB,GAAAjX,CAAA,CAAAyT,IAAA,CAAAC,CAAA,EAAA3O,IAAA,CAAlBkS,CAAkB,GAAAjX,CAAA,CAAA2T,IAAA,CAAAC,CAAA,EAAAC,SAAA,CAPhB,CACPnP,EACAnE,GACAd,EACAgB,EAAwB,EAC3BqT,QAAA,CAzBDC,EACAvB,EACAyB,EACApB,EACAqE,GACAC,GACAC,GACAC,GACAC,GACApE,EACAqE,GACA/D,GACAuD,GACAJ,GACApE,EACAiF,GACA3K,GACAN,GACAyC,EAAqB,IASnB,GAAOiI,GAAPQ,QAAOR,EAAkB,aAAAS,EAAA,IAAAT,kBAAA","names":["SoftDeletePortalEventGQL","Mutation","constructor","arguments","document","gql","t","e","ɵprov","J","token","factory","ɵfac","_SoftDeletePortalEventGQL","RestoreDeletedPortalEventGQL","_RestoreDeletedPortalEventGQL","HardDeletePortalEventGQL","_HardDeletePortalEventGQL","At","w","h","resizeMode","dt","Pt","roles","Nt","r","M","ɵɵelementStart","ɵɵlistener","ɵɵrestoreView","_r1","item_r2","ɵɵnextContext","$implicit","ctx_r2","ɵɵresetView","editEvent","deleteEvent","ɵɵelementEnd","_","O","ɵɵproperty","eventBlock_r4","hovered","Ct","ɵɵtemplate","PortalEventsHeaderResponsiveComponent_ng_template_7_card_edit_bar_2_Template","i","ɵɵpureFunction1","_c1","ɵɵpureFunction0","_c0","ɵɵadvance","_c2","UserRolesEnum","admin","PortalEventsHeaderResponsiveComponent","portalEventsGQL","router","activatedRoute","isFirstLoad","nextPortalEvent","ngOnInit","recentEventsQuery","watch","first","orderType","OrderType","firstin","fromDate","Date","now","onlyFirst","addEvent","navigate","relativeTo","event","_id","o","ɵɵdirectiveInject","PortalEventsGQL","Router","ActivatedRoute","ɵcmp","g","type","selectors","standalone","features","ɵɵStandaloneFeature","decls","vars","consts","i18n_0","$localize","ɵɵi18n","ɵɵelement","PortalEventsHeaderResponsiveComponent_ng_template_7_Template","ɵɵtemplateRefExtractor","s","recentEventsScrollerTpl_r5","ctx","dependencies","FullHeaderSliderComponent","BlockHorizontalScrollerComponent","EventBlockComponent","RenderIfDirective","CardEditBarComponent","styles","encapsulation","changeDetection","_PortalEventsHeaderResponsiveComponent","Mt","$","BlockHorizontalComponent","_a","isBOF","currentPageInfo","isEOF","platform","cd","renderer","zone","itemHeight","itemWidth","rowGap","colGap","autoScroll","buttonStyle","enableVirtualScroll","renderOnInVisible","renderOnTimeOut","pageChanged","EventEmitter","isInView","pauseAutoscroll","isBrowser","runOutsideAngular","scrollTimer","timer","pipe","untilDestroyed","filter","subscribe","pvs","nextPage","ngAfterViewInit","p","emit","detectChanges","el","viewportEl","nativeElement","getRows","setStyle","rows","Math","floor","clientHeight","mouseEnter","mouseLeave","trackByFn","index","item","onViewStateChange","isVisible","Platform","ChangeDetectorRef","Renderer2","NgZone","viewQuery","rf","ge","PagedVirtualScrollerComponent","Re","Ae","inputs","itemTpl","itemsQuery","pageSize","sender","R","template","$event","i0","OnScrollViewDirective","__decorate","UntilDestroy","__metadata","Ot","Et","Vt","It","softDeletePortalEvent","yt","PortalEventsHeaderComponent_ng_template_7_card_edit_bar_2_Template","PortalEventsHeaderComponent","softDeletePortalEventGQL","minDate","mutate","id","PortalEventsHeaderComponent_ng_template_7_Template","_PortalEventsHeaderComponent","Dt","then","CarouselBannerComponent","Lt","MatFabButton","m","MatIcon","Gt","FooterComponent","$t","mediaSelector","Ht","Ft","Me","ft","kt","zt","Qt","Bt","Ut","jt","Xt","_r2","addPortalEvent","Wt","PortalEventsComponent_Defer_8_button_0_Template","_c4","_c3","Kt","ɵɵtext","field_r4","value","ɵɵtextInterpolate","label","qt","_r5","item_r6","editPortalEvent","eventBlock_r7","Zt","PortalEventsComponent_ng_template_26_card_edit_bar_2_Template","_c5","Yt","PortalEventsComponent","metadataService","formBuilder","breadcrumbsService","usersService","scaleUpOnRender","fields","FieldsOfRelevances","searchForm","group","searchInput","UntypedFormControl","fromRangeDate","toRangeDate","fieldOfRelevance","breadcrumb","url","store","appendMetadata","title","description","images","pageType","eventsQuery","skip","search","checkPermission","get","refetch","clear","MetadataService","UntypedFormBuilder","BreadcrumbsService","UsersService","PortalEventsComponent_toolbar_halls_0_Template","PortalEventsComponent_events_header_1_Template","PortalEventsComponent_events_headerResponsive_2_Template","PortalEventsComponent_Defer_3_Template","PortalEventsComponent_DeferPlaceholder_4_Template","ɵɵdefer","PortalEventsComponent_Defer_5_DepsFn","PortalEventsComponent_Defer_8_Template","PortalEventsComponent_Defer_9_DepsFn","ɵɵrepeaterCreate","PortalEventsComponent_For_20_Template","ɵɵrepeaterTrackByIndex","PortalEventsComponent_ng_template_26_Template","PortalEventsComponent_Defer_28_Template","PortalEventsComponent_Defer_29_DepsFn","ɵɵdeferOnTimer","ɵɵdeferWhen","userAction","ɵɵrepeater","ɵɵstyleProp","eventScrollerTpl_r8","ToolbarHallsComponent","FormsModule","ɵNgNoValidate","DefaultValueAccessor","NgControlStatus","NgControlStatusGroup","ReactiveFormsModule","FormGroupDirective","FormControlName","MatFormField","MatLabel","MatDatepickerModule","MatInput","MatSelect","MatOption","MatButton","_PortalEventsComponent","PortalEventsHeaderModule","ɵmod","F","ɵinj","H","providers","imports","CommonModule","BlockHorizontalScrollerModule","NgScrollbarModule","_PortalEventsHeaderModule","EventsArchiveHeaderResponsiveComponent","_EventsArchiveHeaderResponsiveComponent","EventsArchiveHeaderComponent","_EventsArchiveHeaderComponent","ei","ti","ii","oi","ni","St","ri","li","ai","si","ci","mi","EventsArchiveComponent_ng_template_5_card_edit_bar_2_Template","_i","EventsArchiveComponent","lastin","toDate","EventsArchiveComponent_toolbar_halls_0_Template","EventsArchiveComponent_events_archive_header_1_Template","EventsArchiveComponent_events_archive_headerResponsive_2_Template","EventsArchiveComponent_ng_template_5_Template","EventsArchiveComponent_Defer_7_Template","EventsArchiveComponent_Defer_8_DepsFn","eventScrollerTpl_r5","_EventsArchiveComponent","routes","path","component","pathMatch","loadChildren","DetailsPortalEventModule","data","isCacheable","toolbarMode","ToolbarMode","solid","PortalEventsRoutingModule","RouterModule","forChild","_PortalEventsRoutingModule","PortalEventsHeaderResponsiveModule","_PortalEventsHeaderResponsiveModule","PortalEventsModule","MatButtonModule","MatIconModule","MatInputModule","MatSelectModule","MatFormFieldModule","MatNativeDateModule","PagedVirtualScrollerModule","_PortalEventsModule","pr"],"ignoreList":[],"sources":["src/app/shared/services/portal-events/graphql/portal-event-delete.gql.service.ts","src/app/main/pages/portal-events/portal-events-headerResponsive/portal-events-headerResponsive.component.html","src/app/main/pages/portal-events/portal-events-headerResponsive/portal-events-headerResponsive.component.ts","src/app/shared/components/block-horizontal/block-horizontal.component.ts","src/app/shared/components/block-horizontal/block-horizontal.component.html","src/app/main/pages/portal-events/portal-events-header/portal-events-header.component.html","src/app/main/pages/portal-events/portal-events-header/portal-events-header.component.ts","src/app/main/pages/portal-events/portal-events.component.ts","src/app/main/pages/portal-events/portal-events.component.html","src/app/main/pages/portal-events/portal-events-header/portal-events-header.module.ts","src/app/main/pages/portal-events/events-archive-headerResponsive/events-archive-headerResponsive.component.ts","src/app/main/pages/portal-events/events-archive-headerResponsive/events-archive-headerResponsive.component.html","src/app/main/pages/portal-events/events-archive-header/events-archive-header.component.ts","src/app/main/pages/portal-events/events-archive-header/events-archive-header.component.html","src/app/main/pages/portal-events/events-archive/events-archive.component.html","src/app/main/pages/portal-events/events-archive/events-archive.component.ts","src/app/main/pages/portal-events/portal-events-routing.module.ts","src/app/main/pages/portal-events/portal-events-headerResponsive/portal-events-headerResponsive.module.ts","src/app/main/pages/portal-events/portal-events.module.ts"],"sourcesContent":["import {Injectable} from '@angular/core';\r\nimport {Mutation, gql} from 'apollo-angular';\r\nimport { IPortalEvent } from '@collections/portal-events/interfaces/portal-events.interface';\r\n\r\nexport interface ISoftDeletePortalEventResponse {\r\n softDeletePortalEvent: IPortalEvent;\r\n}\r\n\r\n@Injectable()\r\nexport class SoftDeletePortalEventGQL extends Mutation {\r\n document = gql`\r\n mutation softDeletePortalEvent( $id: ObjectId!) {\r\n softDeletePortalEvent( id: $id) {\r\n _id\r\n deleted\r\n }\r\n }\r\n `;\r\n}\r\n\r\nexport interface IRestoreDeletedPortalEventResponse {\r\n restoreDeletedPortalEvent: IPortalEvent;\r\n}\r\n\r\n@Injectable()\r\nexport class RestoreDeletedPortalEventGQL extends Mutation {\r\n document = gql`\r\n mutation restoreDeletedPortalEvent($id: ObjectId!) {\r\n restoreDeletedPortalEvent(id: $id) {\r\n _id\r\n deleted\r\n }\r\n }\r\n `;\r\n}\r\n\r\nexport interface IHardDeletePortalEventResponse {\r\n hardDeletePortalEvent: IPortalEvent;\r\n}\r\n\r\n@Injectable()\r\nexport class HardDeletePortalEventGQL extends Mutation {\r\n document = gql`\r\n mutation hardDeletePortalEvent($id: ObjectId!) {\r\n hardDeletePortalEvent(id: $id) {\r\n _id\r\n }\r\n }\r\n `;\r\n}\r\n","\r\n
\r\n

Upcoming events in the metalworking industry

\r\n

Keep in the loop with all the upcoming international events for your reference field

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { PortalEventsGQL, PortalEventsResponse } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\nimport { QueryRef } from 'apollo-angular';\r\nimport { Observable } from 'rxjs';\r\nimport { IPortalEvent } from '@collections/portal-events/interfaces/portal-events.interface';\r\nimport { CardEditBarComponent } from '../../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { RenderIfDirective } from '../../../../shared/directives/render-if.directive';\r\nimport { EventBlockComponent } from '../../../../portal-events/views/event-block/event-block.component';\r\nimport { BlockHorizontalScrollerComponent } from '../../../../shared/components/block-horizontal-scroller/block-horizontal-scroller.component';\r\nimport { FullHeaderSliderComponent } from '../../../../layout/components/full-header-slider/full-header-slider.component';\r\nimport { OrderType } from '@collections/companies/enums';\r\n\r\n@Component({\r\n selector: 'events-headerResponsive',\r\n templateUrl: './portal-events-headerResponsive.component.html',\r\n styleUrls: ['./portal-events-headerResponsive.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [FullHeaderSliderComponent, BlockHorizontalScrollerComponent, EventBlockComponent, RenderIfDirective, CardEditBarComponent]\r\n})\r\nexport class PortalEventsHeaderResponsiveComponent implements OnInit {\r\n\r\n UserRolesEnum = UserRolesEnum;\r\n portalEvent$: Observable;\r\n recentEventsQuery: QueryRef;\r\n isFirstLoad = true;\r\n nextPortalEvent = [];\r\n\r\n constructor(\r\n private portalEventsGQL: PortalEventsGQL,\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.recentEventsQuery = this.portalEventsGQL.watch({\r\n first: 3,\r\n orderType: OrderType.firstin,\r\n fromDate: Date.now(),\r\n onlyFirst:3\r\n })\r\n }\r\n\r\n addEvent(): void {\r\n this.router.navigate(['../', 'events', 'edit', ''], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n editEvent(event): void {\r\n this.router.navigate(['../', 'events', 'edit', event._id], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n deleteEvent(event): void {\r\n\r\n }\r\n}\r\n","import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\r\nimport { QueryRef } from 'apollo-angular';\r\nimport {\r\n Component, ViewEncapsulation, ViewChild, ChangeDetectionStrategy,\r\n Input, TemplateRef, AfterViewInit,\r\n OnInit, ChangeDetectorRef, ElementRef, EventEmitter, Renderer2, NgZone\r\n} from '@angular/core';\r\n\r\nimport { timer, Observable } from 'rxjs';\r\nimport { filter } from 'rxjs/operators';\r\nimport { Platform } from '@angular/cdk/platform';\r\nimport { MatIcon } from '@angular/material/icon';\r\nimport { MatButton, MatIconButton } from '@angular/material/button';\r\nimport { OnScrollViewDirective } from '../../scroll/on-scroll-view.directive';\r\nimport { PagedVirtualScrollerComponent, PageScrollerInfo } from '../paged-virtual-scroller/paged-virtual-scroller.component';\r\n\r\n@UntilDestroy()\r\n@Component({\r\n selector: 'block-horizontal',\r\n templateUrl: './block-horizontal.component.html',\r\n styleUrls: ['./block-horizontal.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [OnScrollViewDirective, MatButton, MatIcon, MatIconButton, PagedVirtualScrollerComponent]\r\n})\r\nexport class BlockHorizontalComponent implements OnInit, AfterViewInit {\r\n\r\n @ViewChild(PagedVirtualScrollerComponent, { static: false }) pvs: PagedVirtualScrollerComponent;\r\n @ViewChild('viewport', {static: true}) viewportEl: ElementRef;\r\n\r\n @Input() itemHeight = 0;\r\n @Input() itemWidth = 0;\r\n @Input() rows: number;\r\n @Input() rowGap = 0;\r\n @Input() colGap = 0;\r\n @Input() itemTpl: TemplateRef;\r\n @Input() autoScroll = false;\r\n @Input() buttonStyle: 'ios' | 'raised' | 'round' | 'none' = 'raised';\r\n @Input() itemsQuery: QueryRef;\r\n @Input() pageSize: number;\r\n @Input() enableVirtualScroll = true;\r\n @Input() renderOnInVisible = false;\r\n @Input() renderOnTimeOut = -1;\r\n @Input() sender : 'header';\r\n\r\n\r\n\r\n pageChanged: EventEmitter = new EventEmitter();\r\n currentPageInfo: PageScrollerInfo;\r\n private scrollTimer: Observable;\r\n private isInView = false;\r\n private pauseAutoscroll = false;\r\n\r\n get isBOF(): boolean {\r\n return this.currentPageInfo?.isBOF ?? true;\r\n }\r\n\r\n get isEOF(): boolean {\r\n return this.currentPageInfo?.isEOF ?? false;\r\n }\r\n\r\n constructor(\r\n public platform: Platform,\r\n public cd: ChangeDetectorRef,\r\n private renderer: Renderer2,\r\n private zone: NgZone\r\n ) {\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n if (this.platform.isBrowser && this.autoScroll) {\r\n this.zone.runOutsideAngular(() => {\r\n this.scrollTimer = timer(3000, 5000);\r\n this.scrollTimer.pipe(\r\n untilDestroyed(this),\r\n filter(() => this.isInView && !this.pauseAutoscroll)\r\n ).subscribe(() => {\r\n this.pvs.nextPage();\r\n });\r\n });\r\n }\r\n\r\n }\r\n ngAfterViewInit(): void {\r\n this.pvs.pageChanged\r\n .pipe(\r\n untilDestroyed(this)\r\n )\r\n .subscribe(p => {\r\n this.currentPageInfo = p;\r\n this.pageChanged.emit(p);\r\n this.cd.detectChanges();\r\n });\r\n\r\n const el = this.viewportEl.nativeElement;\r\n const h = this.getRows() * (this.itemHeight + this.rowGap) - this.rowGap;\r\n this.renderer.setStyle(el, '--row-height', `${this.itemHeight}px` , 2 );\r\n this.renderer.setStyle(el, '--col-width', `${this.itemWidth}px` , 2 );\r\n this.renderer.setStyle(el, '--row-gap', `${this.rowGap}px` , 2 );\r\n this.renderer.setStyle(el, '--col-gap', `${this.colGap}px` , 2 );\r\n this.renderer.setStyle(el, '--grid-height', `${h}px` , 2 );\r\n\r\n this.cd.detectChanges();\r\n }\r\n\r\n getRows(): number {\r\n if (this.rows) {\r\n return this.rows;\r\n }\r\n if (this.viewportEl) {\r\n return Math.floor(this.viewportEl.nativeElement.clientHeight / (this.itemHeight + this.rowGap));\r\n } else {\r\n return 1;\r\n }\r\n }\r\n\r\n mouseEnter(): void {\r\n this.enableVirtualScroll = true;\r\n this.pauseAutoscroll = true;\r\n }\r\n\r\n mouseLeave(): void {\r\n this.pauseAutoscroll = false;\r\n }\r\n\r\n trackByFn(index, item): string {\r\n return index;\r\n }\r\n\r\n onViewStateChange(isVisible: boolean): void {\r\n this.isInView = isVisible;\r\n }\r\n}\r\n","
\r\n \r\n \r\n
\r\n","\r\n
\r\n

Upcoming events in the metalworking industry

\r\n

Keep in the loop with all the upcoming international events for your reference field

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { PortalEventsGQL, PortalEventsResponse } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\nimport { QueryRef } from 'apollo-angular';\r\nimport { Observable } from 'rxjs';\r\nimport { IPortalEvent } from '@collections/portal-events/interfaces/portal-events.interface';\r\nimport { SoftDeletePortalEventGQL } from 'app/shared/services/portal-events/graphql/portal-event-delete.gql.service';\r\nimport { CardEditBarComponent } from '../../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { RenderIfDirective } from '../../../../shared/directives/render-if.directive';\r\nimport { EventBlockComponent } from '../../../../portal-events/views/event-block/event-block.component';\r\nimport { BlockHorizontalComponent } from '../../../../shared/components/block-horizontal/block-horizontal.component';\r\nimport { FullHeaderSliderComponent } from '../../../../layout/components/full-header-slider/full-header-slider.component';\r\nimport { OrderType } from '@collections/companies/enums';\r\n@Component({\r\n selector: 'events-header',\r\n templateUrl: './portal-events-header.component.html',\r\n styleUrls: ['./portal-events-header.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [FullHeaderSliderComponent, BlockHorizontalComponent, EventBlockComponent, RenderIfDirective, CardEditBarComponent]\r\n})\r\nexport class PortalEventsHeaderComponent implements OnInit {\r\n\r\n UserRolesEnum = UserRolesEnum;\r\n portalEvent$: Observable;\r\n recentEventsQuery: QueryRef;\r\n isFirstLoad = true;\r\n nextPortalEvent = [];\r\n minDate = new Date(-8640000000000000);\r\n\r\n constructor(\r\n private portalEventsGQL: PortalEventsGQL,\r\n private softDeletePortalEventGQL: SoftDeletePortalEventGQL,\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.recentEventsQuery = this.portalEventsGQL.watch({\r\n first: 3,\r\n orderType: OrderType.firstin,\r\n fromDate: Date.now(),\r\n onlyFirst:3\r\n })\r\n \r\n /* this.portalEventsGQL.watch({\r\n first: 3,\r\n fromDate: new Date(\"01-01-2018\")\r\n }).valueChanges\r\n .pipe(\r\n map(result => result.data.portalEvents),\r\n take(3),\r\n untilDestroyed(this),\r\n ).subscribe(v => {\r\n v.edges.forEach(element => {\r\n if(this.nextPortalEvent.indexOf(element.node) < 0 && this.nextPortalEvent.length < 3){\r\n this.nextPortalEvent.push(element.node)\r\n }\r\n })\r\n }) */\r\n\r\n\r\n }\r\n\r\n addEvent(): void {\r\n this.router.navigate(['../', 'events', 'edit', ''], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n editEvent(event): void {\r\n this.router.navigate(['../', 'events', 'edit', event._id], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n softDeletePortalEvent(event): void {\r\n this.softDeletePortalEventGQL.mutate({\r\n id: event._id\r\n })\r\n .subscribe();\r\n }\r\n}\r\n","import { ChangeDetectionStrategy, Component, Input, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { QueryRef } from 'apollo-angular';\r\nimport { PortalEventsGQL, PortalEventsResponse } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\nimport { Observable, skip } from 'rxjs';\r\nimport { FieldsOfRelevances } from '@shared/constants/fields-of-relevance';\r\nimport { LabelValue } from 'app/shared/constants/labelValue.model';\r\nimport { FieldsOfRelevanceEnum } from '@collections/common/enums/fields-of-relevance.enums';\r\nimport { SoftDeletePortalEventGQL } from 'app/shared/services/portal-events/graphql/portal-event-delete.gql.service';\r\nimport { MetadataService } from 'app/shared/services/meta-data-service/meta-data.service';\r\nimport { FooterComponent } from '../../../layout/components/footer/footer.component';\r\nimport { CardEditBarComponent } from '../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { EventBlockComponent } from '../../../portal-events/views/event-block/event-block.component';\r\nimport { MatOption } from '@angular/material/core';\r\nimport { MatSelect } from '@angular/material/select';\r\nimport { MatInput } from '@angular/material/input';\r\nimport { MatDatepickerModule } from '@matheo/datepicker';\r\nimport { MatFormField, MatLabel, MatSuffix } from '@angular/material/form-field';\r\nimport { MatIcon } from '@angular/material/icon';\r\nimport { MatFabButton, MatButton } from '@angular/material/button';\r\nimport { CarouselBannerComponent } from '../../../shared/components/carousel-banner/carousel-banner.component';\r\nimport { PortalEventsHeaderResponsiveComponent } from './portal-events-headerResponsive/portal-events-headerResponsive.component';\r\nimport { PortalEventsHeaderComponent } from './portal-events-header/portal-events-header.component';\r\nimport { ToolbarHallsComponent } from '../../../layout/components/toolbar-halls/toolbar-halls.component';\r\nimport { RenderIfDirective } from '../../../shared/directives/render-if.directive';\r\nimport { OrderType } from '@collections/companies/enums';\r\nimport { PagedVirtualScrollerComponent } from 'app/shared/components/paged-virtual-scroller/paged-virtual-scroller.component';\r\nimport { UsersService } from 'app/shared/services/users/users.service';\r\nimport { BreadcrumbsService, IBreadcrumb } from 'app/shared/services/breadcrumbs/breadcrumbs.service';\r\n@Component({\r\n selector: 'events-page',\r\n templateUrl: './portal-events.component.html',\r\n styleUrls: ['./portal-events.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [RenderIfDirective, ToolbarHallsComponent, PortalEventsHeaderComponent, PortalEventsHeaderResponsiveComponent, CarouselBannerComponent, MatFabButton, MatIcon, FormsModule, ReactiveFormsModule, MatFormField, MatLabel, MatDatepickerModule, MatSuffix, MatInput, MatSelect, MatOption, MatButton, PagedVirtualScrollerComponent, EventBlockComponent, CardEditBarComponent, FooterComponent]\r\n})\r\nexport class PortalEventsComponent implements OnInit {\r\n breadcrumb: IBreadcrumb[];\r\n @Input() scaleUpOnRender = true;\r\n eventsQuery: QueryRef;\r\n skipPortalEvent: string;\r\n subscription: Observable;\r\n UserRolesEnum = UserRolesEnum;\r\n\r\n fields: LabelValue[] = FieldsOfRelevances;\r\n minDate = new Date(-8640000000000000);\r\n\r\n // [\r\n // { id: 0, value: 'all', viewValue: $localize`All fields`, },\r\n // { id: 100, value: 'fasteners', viewValue: $localize`Fasteners`, },\r\n // { id: 200, value: 'wire', viewValue: $localize`Wire` },\r\n // { id: 300, value: 'cables', viewValue: $localize`Cable` },\r\n // { id: 400, value: 'ropes', viewValue: $localize`Rope` },\r\n // { id: 500, value: 'springs', viewValue: $localize`Spring` },\r\n // { id: 600, value: 'tubes', viewValue: $localize`Tube` },\r\n // { id: 700, value: 'longProducts', viewValue: $localize`Long products` },\r\n // { id: 800, value: 'flatProducts', viewValue: $localize`Flat products` },\r\n // { id: 900, value: 'profiles', viewValue: $localize`Profiles` },\r\n // { id: 1000, value: 'sheetMetal', viewValue: $localize`Metal sheet` },\r\n // { id: 1100, value: 'smallMetalParts', viewValue: $localize`Small metal parts` },\r\n // ];\r\n searchForm: UntypedFormGroup;\r\n isVisible : boolean;\r\n\r\n constructor(\r\n private portalEventsGQL: PortalEventsGQL,\r\n private softDeletePortalEventGQL: SoftDeletePortalEventGQL,\r\n private router: Router,\r\n private metadataService: MetadataService,\r\n private activatedRoute: ActivatedRoute,\r\n private formBuilder: UntypedFormBuilder,\r\n private breadcrumbsService: BreadcrumbsService,\r\n public usersService: UsersService\r\n ) {\r\n this.searchForm = this.formBuilder.group({\r\n searchInput: new UntypedFormControl(),\r\n fromRangeDate: new UntypedFormControl(),\r\n toRangeDate: new UntypedFormControl(),\r\n fieldOfRelevance: new UntypedFormControl(),\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n this.breadcrumb = [\r\n {\r\n label: $localize`Events`,\r\n url: \"/events\"\r\n }\r\n ]\r\n this.breadcrumbsService.store(this.breadcrumb);\r\n\r\n this.metadataService.appendMetadata({\r\n title: $localize`:events description|titolo della pagina@@EventsTitle:Industry Events and Initiatives`,\r\n description: $localize`Upcoming events and highlights of the metalworking industry. Find out about conferences, trade shows, webinars, and much more with expometals!`,\r\n images: ['assets/expometals-social.png'],\r\n pageType: 'website',\r\n },\r\n null,\r\n 'auto');\r\n\r\n this.eventsQuery = this.portalEventsGQL.watch({\r\n orderType: OrderType.firstin,\r\n first: 9,\r\n fromDate: Date.now(),\r\n skip: 3,\r\n })\r\n\r\n //this.eventsQuery.valueChanges.pipe(skip(3))\r\n }\r\n\r\n addPortalEvent(): void {\r\n this.router.navigate(['../', 'events', 'edit', 'new'], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n editPortalEvent(event): void {\r\n this.router.navigate(['../', 'events', 'edit', event._id], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n softDeletePortalEvent(event): void {\r\n this.softDeletePortalEventGQL.mutate({\r\n id: event._id\r\n })\r\n .subscribe();\r\n }\r\n\r\n search(): void {\r\n this.usersService.checkPermission(() => {\r\n const fieldOfRelevance = this.searchForm.get('fieldOfRelevance').value;\r\n const search = this.searchForm.get('searchInput').value\r\n\r\n if (fieldOfRelevance || search){\r\n this.eventsQuery.refetch({\r\n orderType: OrderType.firstin,\r\n fromDate: Date.now(),\r\n fieldOfRelevance: fieldOfRelevance,\r\n search: search,\r\n skip: 0\r\n });\r\n this.isVisible = true\r\n }\r\n })\r\n } \r\n\r\n clear(): void{\r\n this.eventsQuery.refetch({\r\n orderType: OrderType.firstin,\r\n fromDate: Date.now(),\r\n fieldOfRelevance: null,\r\n search: null,\r\n skip: 3\r\n });\r\n this.isVisible = false\r\n }\r\n}\r\n","\r\n\r\n\r\n@defer (when usersService.userAction()) {\r\n\r\n\r\n} @placeholder() {\r\n
\r\n}\r\n\r\n\r\n\r\n @defer (when usersService.userAction()) {\r\n \r\n }\r\n
\r\n
\r\n \r\n Event name\r\n \r\n \r\n\r\n \r\n \r\n @for (field of fields; track $index) {\r\n {{field.label}}\r\n }\r\n \r\n \r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n@defer(on timer(5s)) {\r\n \r\n}\r\n\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { PortalEventsHeaderComponent } from './portal-events-header.component';\r\nimport { BlockHorizontalScrollerModule } from 'app/shared/components/block-horizontal-scroller/block-horizontal-scroller.module';\r\nimport { PortalEventsGQL } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\n\r\n\r\n\r\nimport { NgScrollbarModule } from 'ngx-scrollbar';\r\n\r\nimport { FullHeaderSliderComponent } from 'app/layout/components/full-header-slider/full-header-slider.component';\r\nimport { ToolbarHallsComponent } from 'app/layout/components/toolbar-halls/toolbar-halls.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FullHeaderSliderComponent,\r\n BlockHorizontalScrollerModule,\r\n ToolbarHallsComponent,\r\n NgScrollbarModule,\r\n PortalEventsHeaderComponent\r\n],\r\n exports: [\r\n PortalEventsHeaderComponent\r\n ],\r\n providers: [\r\n PortalEventsGQL\r\n ]\r\n})\r\nexport class PortalEventsHeaderModule { }\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { Observable } from 'rxjs';\r\nimport { IPortalEvent } from '@collections/portal-events/interfaces/portal-events.interface';\r\nimport { CardEditBarComponent } from '../../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { RenderIfDirective } from '../../../../shared/directives/render-if.directive';\r\nimport { EventBlockComponent } from '../../../../portal-events/views/event-block/event-block.component';\r\nimport { BlockHorizontalScrollerComponent } from '../../../../shared/components/block-horizontal-scroller/block-horizontal-scroller.component';\r\nimport { FullHeaderSliderComponent } from '../../../../layout/components/full-header-slider/full-header-slider.component';\r\n\r\n@Component({\r\n selector: 'events-archive-headerResponsive',\r\n templateUrl: './events-archive-headerResponsive.component.html',\r\n styleUrls: ['./events-archive-headerResponsive.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [FullHeaderSliderComponent, RenderIfDirective, CardEditBarComponent]\r\n})\r\nexport class EventsArchiveHeaderResponsiveComponent implements OnInit {\r\n\r\n UserRolesEnum = UserRolesEnum;\r\n portalEvent$: Observable;\r\n isFirstLoad = true;\r\n nextPortalEvent = [];\r\n minDate = new Date(-8640000000000000);\r\n\r\n constructor(\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n}\r\n","\r\n
\r\n

Events archive

\r\n

All past events in one place

\r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","import { Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy } from '@angular/core';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { Observable } from 'rxjs';\r\nimport { IPortalEvent } from '@collections/portal-events/interfaces/portal-events.interface';\r\nimport { SoftDeletePortalEventGQL } from 'app/shared/services/portal-events/graphql/portal-event-delete.gql.service';\r\nimport { CardEditBarComponent } from '../../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { RenderIfDirective } from '../../../../shared/directives/render-if.directive';\r\nimport { EventBlockComponent } from '../../../../portal-events/views/event-block/event-block.component';\r\nimport { BlockHorizontalScrollerComponent } from '../../../../shared/components/block-horizontal-scroller/block-horizontal-scroller.component';\r\nimport { FullHeaderSliderComponent } from '../../../../layout/components/full-header-slider/full-header-slider.component';\r\n\r\n@Component({\r\n selector: 'events-archive-header',\r\n templateUrl: './events-archive-header.component.html',\r\n styleUrls: ['./events-archive-header.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [FullHeaderSliderComponent, BlockHorizontalScrollerComponent, EventBlockComponent, RenderIfDirective, CardEditBarComponent]\r\n})\r\nexport class EventsArchiveHeaderComponent implements OnInit {\r\n\r\n UserRolesEnum = UserRolesEnum;\r\n portalEvent$: Observable;\r\n isFirstLoad = true;\r\n nextPortalEvent = [];\r\n minDate = new Date(-8640000000000000);\r\n constructor(\r\n private softDeletePortalEventGQL: SoftDeletePortalEventGQL,\r\n private router: Router,\r\n private activatedRoute: ActivatedRoute,\r\n ) {\r\n\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n }\r\n\r\n addEvent(): void {\r\n this.router.navigate(['../', 'events', 'edit', ''], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n editEvent(event): void {\r\n this.router.navigate(['../', 'events', 'edit', event._id], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n softDeletePortalEvent(event): void {\r\n this.softDeletePortalEventGQL.mutate({\r\n id: event._id\r\n })\r\n .subscribe();\r\n }\r\n}\r\n","\r\n
\r\n

Events archive

\r\n

All past events in one place

\r\n \r\n \r\n \r\n
\r\n
\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n@defer(on timer(5s)) {\r\n \r\n}","import { ChangeDetectionStrategy, Component, Input, OnInit, ViewEncapsulation } from '@angular/core';\r\nimport { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup, FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { UserRolesEnum } from '@collections/users/enums';\r\nimport { QueryRef } from 'apollo-angular';\r\nimport { PortalEventsGQL, PortalEventsResponse } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\nimport { Observable } from 'rxjs';\r\nimport { FieldsOfRelevances } from '@shared/constants/fields-of-relevance';\r\nimport { LabelValue } from 'app/shared/constants/labelValue.model';\r\nimport { FieldsOfRelevanceEnum } from '@collections/common/enums/fields-of-relevance.enums';\r\nimport { UsersService } from 'app/shared/services/users/users.service';\r\nimport { FooterComponent } from '../../../../layout/components/footer/footer.component';\r\nimport { CardEditBarComponent } from '../../../../shared/components/card-edit-bar/card-edit-bar.component';\r\nimport { EventBlockComponent } from '../../../../portal-events/views/event-block/event-block.component';\r\nimport { MatOption } from '@angular/material/core';\r\nimport { MatSelect } from '@angular/material/select';\r\nimport { MatInput } from '@angular/material/input';\r\nimport { MatDatepickerModule } from '@matheo/datepicker';\r\nimport { MatFormField, MatLabel, MatSuffix } from '@angular/material/form-field';\r\nimport { MatIcon } from '@angular/material/icon';\r\nimport { MatFabButton, MatButton } from '@angular/material/button';\r\nimport { CarouselBannerComponent } from '../../../../shared/components/carousel-banner/carousel-banner.component';\r\nimport { EventsArchiveHeaderResponsiveComponent } from '../events-archive-headerResponsive/events-archive-headerResponsive.component';\r\nimport { EventsArchiveHeaderComponent } from '../events-archive-header/events-archive-header.component';\r\nimport { ToolbarHallsComponent } from '../../../../layout/components/toolbar-halls/toolbar-halls.component';\r\nimport { RenderIfDirective } from '../../../../shared/directives/render-if.directive';\r\nimport { PagedVirtualScrollerComponent } from 'app/shared/components/paged-virtual-scroller/paged-virtual-scroller.component';\r\nimport { OrderType } from '@collections/companies/enums';\r\nimport { SoftDeletePortalEventGQL } from 'app/shared/services/portal-events/graphql/portal-event-delete.gql.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { MetadataService } from 'app/shared/services/meta-data-service/meta-data.service';\r\nimport { BreadcrumbsService, IBreadcrumb } from 'app/shared/services/breadcrumbs/breadcrumbs.service';\r\n\r\n@Component({\r\n selector: 'events-archive',\r\n templateUrl: './events-archive.component.html',\r\n styleUrls: ['./events-archive.component.scss'],\r\n encapsulation: ViewEncapsulation.None,\r\n changeDetection: ChangeDetectionStrategy.OnPush,\r\n standalone: true,\r\n imports: [RenderIfDirective, ToolbarHallsComponent, EventsArchiveHeaderComponent, EventsArchiveHeaderResponsiveComponent, CarouselBannerComponent, MatFabButton, MatIcon, FormsModule, ReactiveFormsModule, MatFormField, MatLabel, MatDatepickerModule, MatSuffix, MatInput, MatSelect, MatOption, MatButton, PagedVirtualScrollerComponent, EventBlockComponent, CardEditBarComponent, FooterComponent]\r\n})\r\nexport class EventsArchiveComponent implements OnInit {\r\n breadcrumb: IBreadcrumb[];\r\n @Input() scaleUpOnRender = true;\r\n eventsQuery: QueryRef;\r\n skipPortalEvent: string;\r\n subscription: Observable;\r\n UserRolesEnum = UserRolesEnum;\r\n\r\n fields: LabelValue[] = FieldsOfRelevances;\r\n minDate = new Date(-8640000000000000);\r\n isVisible : boolean;\r\n searchForm: UntypedFormGroup;\r\n\r\n constructor(\r\n private portalEventsGQL: PortalEventsGQL,\r\n private usersService: UsersService,\r\n private formBuilder: UntypedFormBuilder,\r\n private metadataService: MetadataService,\r\n private softDeletePortalEventGQL: SoftDeletePortalEventGQL,\r\n private router: Router,\r\n private breadcrumbsService: BreadcrumbsService,\r\n private activatedRoute: ActivatedRoute\r\n ) {\r\n this.searchForm = this.formBuilder.group({\r\n searchInput: new UntypedFormControl(),\r\n fromRangeDate: new UntypedFormControl(),\r\n toRangeDate: new UntypedFormControl(),\r\n fieldOfRelevance: new UntypedFormControl(),\r\n });\r\n }\r\n\r\n ngOnInit(): void {\r\n\r\n this.breadcrumb = [\r\n {\r\n label: $localize`Events`,\r\n url: \"/events\"\r\n },\r\n {\r\n label: $localize`Events Archive`,\r\n url: \"/archive\"\r\n }\r\n ]\r\n this.breadcrumbsService.store(this.breadcrumb);\r\n\r\n this.metadataService.appendMetadata({\r\n title: $localize`Events archive`,\r\n description: $localize`All past events in one place`,\r\n images: ['assets/expometals-social.png'],\r\n pageType: 'website',\r\n },\r\n null,\r\n 'auto');\r\n\r\n this.eventsQuery = this.portalEventsGQL.watch({\r\n orderType: OrderType.lastin,\r\n first: 6,\r\n fromDate: this.minDate,\r\n toDate: Date.now()\r\n });\r\n this.isVisible = true;\r\n }\r\n\r\n search(): void {\r\n this.usersService.checkPermission(() => {\r\n const fieldOfRelevance = this.searchForm.get('fieldOfRelevance').value;\r\n if (fieldOfRelevance && fieldOfRelevance !== 'all'){\r\n this.eventsQuery.refetch({\r\n first: 6,\r\n orderType: OrderType.firstin,\r\n fromDate: this.minDate,\r\n toDate: Date.now(),\r\n fieldOfRelevance: fieldOfRelevance\r\n });\r\n this.isVisible = true\r\n }\r\n else{\r\n this.eventsQuery.refetch({\r\n first: 6,\r\n orderType: OrderType.firstin,\r\n fromDate: this.minDate,\r\n toDate: Date.now(),\r\n fieldOfRelevance: null\r\n });\r\n }\r\n })\r\n}\r\n clear(): void{\r\n this.eventsQuery.refetch({\r\n first: 6,\r\n orderType: OrderType.firstin,\r\n fromDate: this.minDate,\r\n toDate: Date.now(),\r\n fieldOfRelevance: null\r\n });\r\n this.isVisible = false\r\n }\r\n\r\n editPortalEvent(event): void {\r\n this.router.navigate(['../', 'edit', event._id], { relativeTo: this.activatedRoute });\r\n }\r\n\r\n softDeletePortalEvent(event): void {\r\n this.softDeletePortalEventGQL.mutate({\r\n id: event._id\r\n })\r\n .subscribe();\r\n }\r\n}","import { NgModule } from '@angular/core';\r\nimport { Routes, RouterModule } from '@angular/router';\r\nimport { ToolbarMode } from '@fuse/types/fuse-config';\r\nimport { PortalEventsComponent } from './portal-events.component';\r\nimport { EventsArchiveComponent } from './events-archive/events-archive.component';\r\n\r\n\r\nconst routes: Routes = [\r\n {\r\n path: '',\r\n component: PortalEventsComponent\r\n },\r\n {\r\n path: 'archive',\r\n pathMatch: 'full',\r\n component: EventsArchiveComponent\r\n },\r\n {\r\n path: ':slug',\r\n loadChildren: () => import('./details-portal-event/details-portal-event.module').then(m => m.DetailsPortalEventModule),\r\n data: {\r\n isCacheable: true,\r\n toolbarMode: ToolbarMode.solid\r\n },\r\n }\r\n\r\n];\r\n\r\n@NgModule({\r\n imports: [RouterModule.forChild(routes)],\r\n exports: [RouterModule]\r\n})\r\nexport class PortalEventsRoutingModule { }\r\n","import { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { PortalEventsHeaderResponsiveComponent } from './portal-events-headerResponsive.component';\r\nimport { BlockHorizontalScrollerModule } from 'app/shared/components/block-horizontal-scroller/block-horizontal-scroller.module';\r\nimport { PortalEventsGQL } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\n\r\n\r\n\r\nimport { NgScrollbarModule } from 'ngx-scrollbar';\r\n\r\nimport { FullHeaderSliderComponent } from 'app/layout/components/full-header-slider/full-header-slider.component';\r\nimport { ToolbarHallsComponent } from 'app/layout/components/toolbar-halls/toolbar-halls.component';\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FullHeaderSliderComponent,\r\n BlockHorizontalScrollerModule,\r\n ToolbarHallsComponent,\r\n NgScrollbarModule,\r\n PortalEventsHeaderResponsiveComponent\r\n],\r\n exports: [\r\n PortalEventsHeaderResponsiveComponent\r\n ],\r\n providers: [PortalEventsGQL]\r\n})\r\nexport class PortalEventsHeaderResponsiveModule { }\r\n","import { FooterComponent } from 'app/layout/components/footer/footer.component';\r\nimport { FormsModule, ReactiveFormsModule } from '@angular/forms';\r\nimport { NgModule } from '@angular/core';\r\nimport { CommonModule } from '@angular/common';\r\nimport { PortalEventsComponent } from './portal-events.component';\r\nimport { MatButtonModule } from '@angular/material/button';\r\nimport { MatIconModule } from '@angular/material/icon';\r\nimport { PortalEventsHeaderModule } from './portal-events-header/portal-events-header.module';\r\nimport { MatInputModule } from '@angular/material/input';\r\nimport { MatFormFieldModule } from '@angular/material/form-field';\r\nimport { MatSelectModule } from '@angular/material/select';\r\nimport { MatDatepickerModule } from '@matheo/datepicker';\r\nimport { MatNativeDateModule } from '@matheo/datepicker/core';\r\nimport { PagedVirtualScrollerModule } from 'app/shared/components/paged-virtual-scroller/paged-virtual-scroller.module';\r\n\r\n\r\nimport { PortalEventsRoutingModule } from './portal-events-routing.module';\r\n\r\nimport { PortalEventsGQL } from 'app/shared/services/portal-events/graphql/portal-events.gql.service';\r\nimport { NgScrollbarModule } from 'ngx-scrollbar';\r\nimport { HardDeletePortalEventGQL, RestoreDeletedPortalEventGQL, SoftDeletePortalEventGQL } from 'app/shared/services/portal-events/graphql/portal-event-delete.gql.service';\r\nimport { PortalEventsHeaderResponsiveModule } from './portal-events-headerResponsive/portal-events-headerResponsive.module';\r\nimport { ToolbarHallsComponent } from 'app/layout/components/toolbar-halls/toolbar-halls.component';\r\nimport { CarouselBannerComponent } from 'app/shared/components/carousel-banner/carousel-banner.component';\r\n\r\n\r\n@NgModule({\r\n imports: [\r\n CommonModule,\r\n FormsModule,\r\n NgScrollbarModule,\r\n ReactiveFormsModule,\r\n MatButtonModule,\r\n MatIconModule,\r\n MatInputModule,\r\n MatSelectModule,\r\n MatFormFieldModule,\r\n MatDatepickerModule,\r\n MatNativeDateModule,\r\n PortalEventsHeaderModule,\r\n PortalEventsHeaderResponsiveModule,\r\n PortalEventsRoutingModule,\r\n ToolbarHallsComponent,\r\n PagedVirtualScrollerModule,\r\n FooterComponent,\r\n CarouselBannerComponent,\r\n PortalEventsComponent\r\n],\r\n providers: [\r\n PortalEventsGQL,\r\n RestoreDeletedPortalEventGQL,\r\n SoftDeletePortalEventGQL,\r\n HardDeletePortalEventGQL\r\n ]\r\n})\r\nexport class PortalEventsModule { }\r\n"]}