@provoly/hypervisor 0.0.2 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/provoly-hypervisor.mjs +1 -1
- package/esm2022/public-api.mjs +7 -3
- package/esm2022/src/lib/event/detail/event-detail.component.mjs +19 -0
- package/esm2022/src/lib/event/icon-pipe/event-icon.pipe.mjs +26 -0
- package/esm2022/src/lib/event/list/event-list.component.mjs +22 -0
- package/esm2022/src/lib/event/public-api.mjs +4 -0
- package/esm2022/src/lib/event-summary/item/event-summary-item.component.mjs +28 -0
- package/esm2022/src/lib/event-summary/list/event-summary-list.component.mjs +44 -0
- package/esm2022/src/lib/event-summary/public-api.mjs +3 -0
- package/esm2022/src/lib/general/base.token.mjs +3 -0
- package/esm2022/src/lib/general/i18n/en.translations.mjs +36 -0
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +36 -0
- package/esm2022/src/lib/general/public-api.mjs +4 -0
- package/esm2022/src/lib/hypervisor.module.mjs +85 -0
- package/esm2022/src/lib/model/hyp-event.interface.mjs +13 -0
- package/esm2022/src/lib/model/hyp-process.interface.mjs +2 -0
- package/esm2022/src/lib/model/public-api.mjs +6 -0
- package/esm2022/src/lib/store/event/event.actions.mjs +11 -0
- package/esm2022/src/lib/store/event/event.effects.mjs +21 -0
- package/esm2022/src/lib/store/event/event.reducer.mjs +38 -0
- package/esm2022/src/lib/store/event/event.selectors.mjs +15 -0
- package/esm2022/src/lib/store/event/event.service.mjs +50 -0
- package/esm2022/src/lib/store/event/public-api.mjs +5 -0
- package/esm2022/src/lib/store/hypervisor/hypervisor.actions.mjs +5 -0
- package/esm2022/src/lib/store/hypervisor/hypervisor.effects.mjs +16 -0
- package/esm2022/src/lib/store/hypervisor/hypervisor.reducer.mjs +14 -0
- package/esm2022/src/lib/store/hypervisor/hypervisor.selectors.mjs +9 -0
- package/esm2022/src/lib/store/hypervisor/hypervisor.service.mjs +19 -0
- package/fesm2022/provoly-hypervisor.mjs +433 -24
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +2 -2
- package/public-api.d.ts +6 -2
- package/src/lib/event/detail/event-detail.component.d.ts +9 -0
- package/src/lib/event/icon-pipe/event-icon.pipe.d.ts +15 -0
- package/src/lib/event/list/event-list.component.d.ts +11 -0
- package/src/lib/event/public-api.d.ts +3 -0
- package/src/lib/event-summary/item/event-summary-item.component.d.ts +10 -0
- package/src/lib/event-summary/list/event-summary-list.component.d.ts +19 -0
- package/src/lib/event-summary/public-api.d.ts +2 -0
- package/src/lib/general/base.token.d.ts +2 -0
- package/src/lib/general/i18n/en.translations.d.ts +35 -0
- package/src/lib/general/i18n/fr.translations.d.ts +35 -0
- package/src/lib/general/public-api.d.ts +3 -0
- package/src/lib/hypervisor.module.d.ts +25 -0
- package/src/lib/model/hyp-event.interface.d.ts +44 -0
- package/src/lib/model/hyp-process.interface.d.ts +4 -0
- package/src/lib/model/public-api.d.ts +2 -0
- package/src/lib/store/event/event.actions.d.ts +34 -0
- package/src/lib/store/event/event.effects.d.ts +20 -0
- package/src/lib/store/event/event.reducer.d.ts +13 -0
- package/src/lib/store/event/event.selectors.d.ts +12 -0
- package/src/lib/store/event/event.service.d.ts +14 -0
- package/src/lib/store/event/public-api.d.ts +4 -0
- package/src/lib/store/hypervisor/hypervisor.actions.d.ts +7 -0
- package/src/lib/store/hypervisor/hypervisor.effects.d.ts +10 -0
- package/src/lib/store/hypervisor/hypervisor.reducer.d.ts +7 -0
- package/src/lib/store/hypervisor/hypervisor.selectors.d.ts +5 -0
- package/src/lib/store/hypervisor/hypervisor.service.d.ts +10 -0
- package/styles/components/_o-hvy-event-summary-item.scss +38 -0
- package/styles/components/_o-hvy-event-summary-list.scss +45 -0
- package/styles/components/_o-hvy-events-table.scss +31 -0
- package/styles/main.scss +4 -0
- package/esm2022/lib/hypervisor.component.mjs +0 -19
- package/esm2022/lib/hypervisor.module.mjs +0 -21
- package/lib/hypervisor.component.d.ts +0 -5
- package/lib/hypervisor.module.d.ts +0 -7
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"provoly-hypervisor.mjs","sources":["../../../../projects/provoly/hypervisor/src/lib/hypervisor.component.ts","../../../../projects/provoly/hypervisor/src/lib/hypervisor.module.ts","../../../../projects/provoly/hypervisor/src/public-api.ts","../../../../projects/provoly/hypervisor/src/provoly-hypervisor.ts"],"sourcesContent":["import { Component } from '@angular/core';\n\n@Component({\n selector: 'hvy-hypervisor',\n template: `\n <p>\n Dummy Hypervisor Component\n </p>\n `,\n styles: []\n})\nexport class DummyHypervisorComponent {\n\n}\n","import { NgModule } from '@angular/core';\nimport { DummyHypervisorComponent } from './hypervisor.component';\n\n\n@NgModule({\n declarations: [\n DummyHypervisorComponent\n ],\n imports: [\n ],\n exports: [\n DummyHypervisorComponent\n ]\n})\nexport class PvyHypervisorModule { }\n","/*\n * Public API Surface of hypervisor\n */\n\nexport * from './lib/hypervisor.component';\nexport * from './lib/hypervisor.module';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;MAWa,wBAAwB,CAAA;8GAAxB,wBAAwB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAxB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,wBAAwB,EAPzB,QAAA,EAAA,gBAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,QAAA,EAAA,IAAA,EAAA,CAAA,CAAA,EAAA;;2FAGU,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBATpC,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,gBAAgB,EAChB,QAAA,EAAA,CAAA;;;;AAIT,EAAA,CAAA,EAAA,CAAA;;;MCMU,mBAAmB,CAAA;8GAAnB,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,QAAA,EAAA,CAAA,CAAA,EAAA;+GAAnB,mBAAmB,EAAA,YAAA,EAAA,CAR5B,wBAAwB,CAAA,EAAA,OAAA,EAAA,CAKxB,wBAAwB,CAAA,EAAA,CAAA,CAAA,EAAA;+GAGf,mBAAmB,EAAA,CAAA,CAAA,EAAA;;2FAAnB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAV/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;wBACZ,wBAAwB;AACzB,qBAAA;AACD,oBAAA,OAAO,EAAE,EACR;AACD,oBAAA,OAAO,EAAE;wBACP,wBAAwB;AACzB,qBAAA;AACF,iBAAA,CAAA;;;ACbD;;AAEG;;ACFH;;AAEG;;;;"}
|
|
1
|
+
{"version":3,"file":"provoly-hypervisor.mjs","sources":["../../../../projects/provoly/hypervisor/src/lib/event/detail/event-detail.component.ts","../../../../projects/provoly/hypervisor/src/lib/event/detail/event-detail.component.html","../../../../projects/provoly/hypervisor/src/lib/event/icon-pipe/event-icon.pipe.ts","../../../../projects/provoly/hypervisor/src/lib/store/event/event.actions.ts","../../../../projects/provoly/hypervisor/src/lib/store/event/event.reducer.ts","../../../../projects/provoly/hypervisor/src/lib/store/event/event.selectors.ts","../../../../projects/provoly/hypervisor/src/lib/event/list/event-list.component.ts","../../../../projects/provoly/hypervisor/src/lib/event/list/event-list.component.html","../../../../projects/provoly/hypervisor/src/lib/event-summary/item/event-summary-item.component.ts","../../../../projects/provoly/hypervisor/src/lib/event-summary/item/event-summary-item.component.html","../../../../projects/provoly/hypervisor/src/lib/event-summary/list/event-summary-list.component.ts","../../../../projects/provoly/hypervisor/src/lib/event-summary/list/event-summary-list.component.html","../../../../projects/provoly/hypervisor/src/lib/general/base.token.ts","../../../../projects/provoly/hypervisor/src/lib/general/i18n/en.translations.ts","../../../../projects/provoly/hypervisor/src/lib/general/i18n/fr.translations.ts","../../../../projects/provoly/hypervisor/src/lib/model/hyp-event.interface.ts","../../../../projects/provoly/hypervisor/src/lib/model/public-api.ts","../../../../projects/provoly/hypervisor/src/lib/store/hypervisor/hypervisor.actions.ts","../../../../projects/provoly/hypervisor/src/lib/store/hypervisor/hypervisor.reducer.ts","../../../../projects/provoly/hypervisor/src/lib/store/hypervisor/hypervisor.selectors.ts","../../../../projects/provoly/hypervisor/src/lib/store/event/event.service.ts","../../../../projects/provoly/hypervisor/src/lib/store/event/event.effects.ts","../../../../projects/provoly/hypervisor/src/lib/store/hypervisor/hypervisor.service.ts","../../../../projects/provoly/hypervisor/src/lib/store/hypervisor/hypervisor.effects.ts","../../../../projects/provoly/hypervisor/src/lib/hypervisor.module.ts","../../../../projects/provoly/hypervisor/public-api.ts","../../../../projects/provoly/hypervisor/provoly-hypervisor.ts"],"sourcesContent":["import { Component, Input } from '@angular/core';\nimport { HypEvent } from '../../model/hyp-event.interface';\nimport { HypProcess } from '../../model/hyp-process.interface';\n\n@Component({\n selector: 'hvy-event-detail',\n templateUrl: './event-detail.component.html'\n})\nexport class EventDetailComponent {\n @Input() events: HypEvent[] = [];\n @Input() process?: HypProcess = undefined;\n}\n","<h1> TODO </h1>\n<p>Events: {{ events.length }}</p>\n<p>Process: {{ process }}</p>\n","import { Pipe, PipeTransform } from '@angular/core';\nimport { Observable, of } from 'rxjs';\nimport { HypEvent, HypEventSummary } from '../../model/hyp-event.interface';\nimport { Store } from '@ngrx/store';\nimport { DEFAULT_ICON_URL } from '@provoly/dashboard';\n\nexport const EVENT_TO_ICON = {\n fn: (event: HypEvent | HypEventSummary, store: Store<any>) => of(DEFAULT_ICON_URL),\n};\n\n@Pipe({\n name: 'eventIcon',\n standalone: true\n})\nexport class EventIconPipe implements PipeTransform {\n constructor(private store: Store<any>) {\n }\n\n transform(value: HypEvent | HypEventSummary, ...args: unknown[]): Observable<string> {\n return EVENT_TO_ICON.fn(value, this.store);\n }\n}\n","import { createAction, props } from '@ngrx/store';\nimport { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';\n\nexport const EventActions = {\n load: createAction('[Event] Load Events'),\n loadSuccess: createAction('[Event Api] (bus) Load Events Success', props<{ events: HypEventDetails[] }>()),\n loadFailure: createAction('[Event Api] Load Events Failure', props<{ error: string }>()),\n filter: createAction('[Event Api] Set filters', props<{ filters: { [key: string]: string[] } }>()),\n loadSummaries: createAction('[Event] Load Summaries'),\n loadSummariesSuccess: createAction('[Event Api] Load Summaries Success', props<{ summaries: HypEventSummaries }>()),\n loadSummariesFailure: createAction('[Event Api] Load Summaries Failure', props<{ error: string }>())\n};\n","import { Action, createReducer, on } from '@ngrx/store';\nimport { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';\nimport { EventActions } from './event.actions';\n\nexport const eventFeatureKey = '@hvy/event';\n\nexport interface EventState {\n events: HypEventDetails[];\n summaries: HypEventSummaries\n loading: boolean;\n filters: { [key: string]: string[] }\n}\n\nexport const eventInitialState: EventState = {\n events: [],\n summaries: { NEW: { events: [], count: 0 }, IN_PROGRESS: { events: [], count: 0 }, DONE: { events: [], count: 0 } },\n loading: false,\n filters: {}\n};\n\nconst internalReducer = createReducer<EventState>(\n eventInitialState,\n on(EventActions.load, (state, action) => ({\n ...state,\n loading: true\n })),\n on(EventActions.loadSuccess, (state, { events }) => ({\n ...state,\n loading: false,\n events\n })),\n on(EventActions.loadFailure, (state, action) => ({\n ...state,\n loading: false,\n events: []\n })),\n on(EventActions.loadSummaries, (state, action) => ({\n ...state,\n loading: true\n })),\n on(EventActions.loadSummariesSuccess, (state, { summaries }) => ({\n ...state,\n loading: false,\n summaries\n })),\n on(EventActions.loadSummariesFailure, (state, action) => ({\n ...state,\n loading: false\n })),\n on(EventActions.filter, (state, { filters }) => ({\n ...state,\n filters\n }))\n);\n\nexport function eventReducer(state: EventState, action: Action) {\n return internalReducer(state, action);\n}\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\nimport { eventFeatureKey, EventState } from './event.reducer';\n\n\nconst feature = createFeatureSelector<EventState>(eventFeatureKey);\nconst events = createSelector(feature, (state) => state.events);\nconst summaries = createSelector(feature, (state) => state.summaries);\nconst loading = createSelector(feature, (state) => state.loading);\nconst filters = createSelector(feature, (state) => state.filters);\n\nexport const EventSelectors = {\n feature,\n events,\n summaries,\n loading,\n filters\n};\n","import { Component } from '@angular/core';\nimport { Store } from '@ngrx/store';\nimport { EventActions } from '../../store/event/event.actions';\nimport { EventSelectors } from '../../store/event/event.selectors';\nimport { HypEventDetails } from '../../model/hyp-event.interface';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'hvy-event-list',\n templateUrl: './event-list.component.html',\n})\nexport class EventListComponent {\n events$: Observable<HypEventDetails[]>;\n\n constructor(private store: Store<any>) {\n this.store.dispatch(EventActions.load());\n this.events$ = this.store.select(EventSelectors.events);\n }\n}\n","<table class=\"o-hvy-events-table\">\n <thead>\n <tr class=\"o-hvy-events-table__header\">\n <th></th>\n <th>{{ '@hvy.event.criticality' | i18n }}</th>\n <th>{{ '@hvy.event.name' | i18n }}</th>\n <th>{{ '@hvy.event.type.name' | i18n }}</th>\n <th>{{ '@hvy.event.address' | i18n }}</th>\n <th>{{ '@hvy.event.date' | i18n }}</th>\n <th>{{ '@hvy.event.dateM' | i18n }}</th>\n <th>{{ '@hvy.event.status' | i18n }}</th>\n <th>{{ '@hvy.process.name' | i18n }}</th>\n <th></th>\n </tr>\n </thead>\n <tbody>\n <tr class=\"o-hvy-events-table__line\" *ngFor=\"let event of events$|async\">\n <td class=\"o-hvy-events-table__line__cell\"></td>\n <td class=\"o-hvy-events-table__line__cell -centered\"><img [alt]=\"event.name\" [height]=\"32\" [width]=\"32\"\n [src]=\"event | eventIcon | async | getSecuredImage | async\" /></td>\n <td class=\"o-hvy-events-table__line__cell\">\n <div class=\"o-hvy-events-table__line__name__main\">{{ event.name }}</div>\n <div>{{ event.equipment ? event.equipment.name : '' }}</div>\n </td>\n <td class=\"o-hvy-events-table__line__cell -centered\">{{ '@hvy.event.type.' + event.type | i18n }}</td>\n <td class=\"o-hvy-events-table__line__cell\">-</td>\n <td class=\"o-hvy-events-table__line__cell\">--</td>\n <td class=\"o-hvy-events-table__line__cell\">---</td>\n <td class=\"o-hvy-events-table__line__cell -centered\">----</td>\n <td class=\"o-hvy-events-table__line__cell\">-----</td>\n <td class=\"o-hvy-events-table__line__cell\"></td>\n </tr>\n </tbody>\n</table>\n","import { Component, Input } from '@angular/core';\nimport { HypEventSummary } from '../../model/hyp-event.interface';\nimport { EventIconPipe } from '../../event/icon-pipe/event-icon.pipe';\nimport { AsyncPipe, DatePipe } from '@angular/common';\nimport { RouterLink } from '@angular/router';\nimport { PryCoreModule } from '@provoly/dashboard';\n\n@Component({\n standalone: true,\n selector: 'hvy-event-summary-item',\n templateUrl: './event-summary-item.component.html',\n imports: [EventIconPipe, DatePipe, RouterLink, AsyncPipe, PryCoreModule]\n})\nexport class EventSummaryItemComponent {\n @Input({ required: true }) event!: HypEventSummary;\n @Input() linkBase: string[] = [];\n protected linkFragments: string[] = [];\n\n ngOnInit() {\n this.linkFragments = this.linkFragments.length > 0 ? [...this.linkBase, this.event.id] : ['list', this.event.id];\n }\n}\n","<div class=\"m-hvy-event-summary-item\" [routerLink]=\"linkFragments\">\n <div class=\"m-hvy-event-summary-item__title\">\n <h4>\n {{ event.name }}\n </h4>\n </div>\n <div class=\"m-hvy-event-summary-item__content\">\n <span>\n {{\n event.manifestation ?\n (event.manifestation.startDate | date : 'dd/MM HH:MM') + ' - ' + (event.manifestation.endDate | date : 'dd/MM HH:MM') :\n event.interventionRequestTitle\n }}\n </span>\n </div>\n <div class=\"m-hvy-event-summary-item__footer\">\n <div class=\"m-hvy-event-summary-item__icons\">\n <span class=\"m-hvy-event-summary-item__intervention-counter\">{{ event.interventionRequestCount }}</span>\n <img [alt]=\"'hvy' + event.name + '-icon'\" [height]=\"20\" [width]=\"20\" [src]=\"event | eventIcon | async | getSecuredImage | async\" />\n <span>{{ event.criticality }}</span>\n </div>\n <div class=\"m-hvy-event-summary-item__date\">\n <span>\n {{ event.lastModificationDate | date : 'd MMMM . HH:MM' }}\n </span>\n </div>\n </div>\n</div>\n","import { Component, Input, OnInit } from '@angular/core';\nimport { HypEventSummary } from '../../model/hyp-event.interface';\nimport { EventSummaryItemComponent } from '../item/event-summary-item.component';\nimport { PryI18nModule, PryIconModule } from '@provoly/dashboard';\nimport { Router } from '@angular/router';\nimport { Store } from '@ngrx/store';\nimport { EventActions } from '../../store/event/event.actions';\n\n@Component({\n standalone: true,\n selector: 'hvy-event-summary-list',\n imports: [EventSummaryItemComponent, PryIconModule, PryI18nModule],\n templateUrl: './event-summary-list.component.html'\n})\nexport class EventSummaryListComponent implements OnInit {\n @Input() events: HypEventSummary[] = [];\n @Input() totalEventCount = 0;\n @Input() status: string = '';\n @Input() consultLink: string[] = [];\n @Input() itemLinkBase: string[] = [];\n\n constructor(private store: Store<any>, private router: Router) {\n }\n\n ngOnInit() {\n this.consultLink = this.consultLink.length > 0 ? this.consultLink : ['events'];\n this.itemLinkBase = this.itemLinkBase.length > 0 ? this.itemLinkBase : ['events'];\n }\n\n filterAndRoute(status: string) {\n this.router.navigate([...this.consultLink]);\n this.store.dispatch(EventActions.filter({ filters: { status: [status] } }));\n }\n}\n","<div class=\"o-hvy-event-summary-list -hvy-{{status}}\">\n <div class=\"o-hvy-event-summary-list__header\">\n <h3 class=\"o-hvy-event-summary-list__title\">\n {{ '@hvy.eventSummary.statusLabels.' + status | i18n }}\n </h3>\n <span class=\"o-hvy-event-summary-list__counter\">\n {{ totalEventCount }}\n </span>\n </div>\n <div class=\"o-hvy-event-summary-list__content\">\n @for (event of events; track event.id) {\n <hvy-event-summary-item\n [event]=\"event\"\n [linkBase]=\"itemLinkBase\">\n </hvy-event-summary-item>\n } @empty {\n <span class=\"o-hvy-event-summary-list__no-content\">\n {{ '@hvy.eventSummary.noContent' | i18n }}\n </span>\n }\n </div>\n <div class=\"o-hvy-event-summary-list__footer\">\n <button class=\"o-hvy-event-summary-list__footer-button\" (click)=\"filterAndRoute(status)\">\n Consulter\n <pry-icon iconSvg=\"arrow\"></pry-icon>\n </button>\n </div>\n</div>\n","import { InjectionToken } from '@angular/core';\n\nexport const HYP_BASE_CONFIG = new InjectionToken<string>('base config');\n","export const enTranslations = {\n '@hvy': {\n event: {\n criticality: 'Criticality',\n name: 'Event',\n type: {\n name: 'Event type',\n ALERT: \"Alert\",\n REPORT: \"Report\",\n OPERATOR: \"Operator\",\n },\n address: 'Address',\n date: 'Effect date',\n dateM: 'Modification date',\n status: 'Status',\n },\n eventSummary: {\n noContent: 'No event with given status',\n statusLabels: {\n NEW: 'Open',\n IN_PROGRESS: 'In progress',\n DONE: 'Done',\n },\n criticalityLabels: {\n LOW: 'Low',\n MEDIUM: 'Medium',\n HIGH: 'High',\n ALL: 'All'\n },\n },\n process: {\n name: 'Process',\n },\n },\n};\n","export const frTranslations = {\n '@hvy': {\n event: {\n criticality: 'Criticité',\n name: 'Évènement',\n type: {\n name: 'Type d\\'évènement',\n ALERT: \"Alerte\",\n REPORT: \"Signalement\",\n OPERATOR: \"Opérateur\",\n },\n address: 'Adresse',\n date: 'Date d\\'effet',\n dateM: 'Date de modification',\n status: 'Statut'\n },\n eventSummary: {\n noContent: 'Aucun évènement avec statut donnée',\n statusLabels: {\n NEW: 'Ouverts',\n IN_PROGRESS: 'En cours',\n DONE: 'Clôturés',\n },\n criticalityLabels: {\n LOW: 'Bas',\n MEDIUM: 'Moyen',\n HIGH: 'Haut',\n ALL: 'Tous'\n },\n },\n process: {\n name: 'Procédure',\n },\n }\n};\n","export interface HypEvent {\n id: string;\n name: string;\n criticality: HypEventCriticality;\n type: HypEventType;\n}\n\nexport enum HypEventCriticality {\n LOW,\n MEDIUM,\n HIGH\n}\n\nenum HypEventType {\n ALERT,\n REPORT,\n OPERATOR\n}\n\n\nexport interface HypEventDetails extends HypEvent {\n equipment: null | HypEquipment;\n status: HypStatus;\n category: HypEventCategory;\n}\n\nexport interface HypEquipment {\n id: string;\n name: string;\n}\n\nexport type HypStatus = 'NEW' | 'IN_PROGRESS' | 'DONE';\n\ntype HypEventCategory = HypEventType | 'MALFUNCTION_ALERT' | 'LIMIT_ALERT' | 'MANIFESTATION';\n\n\nexport interface HypEventSummary extends HypEvent {\n interventionRequestCount: number,\n lastModificationDate: Date,\n manifestation?: { startDate: Date; endDate: Date },\n interventionRequestTitle?: string,\n category: HypEventCategory,\n}\n\nexport type HypEventSummaries = {\n [key in HypStatus]: {\n events: HypEventSummary[];\n count: number\n }\n}\n","/*\n * Public API Surface of hypervisor\n */\n\nexport * from './hyp-event.interface';\nexport * from './hyp-process.interface';\n","import { createAction, props } from '@ngrx/store';\n\nexport const HypervisorActions = {\n setUrl: createAction('[Event] Set Backend Url', props<{ url?: string }>())\n};\n","import { Action, createReducer, on } from '@ngrx/store';\nimport { HypervisorActions } from './hypervisor.actions';\n\nexport const hypFeatureKey = '@hvy/general';\n\nexport interface HypState {\n url: string;\n}\n\nexport const eventInitialState: HypState = {\n url: '/api/hypervisor',\n};\n\nconst internalReducer = createReducer<HypState>(\n eventInitialState,\n on(HypervisorActions.setUrl, (state, action) => ({\n ...state,\n url: action.url ?? state.url,\n })),\n);\n\nexport function hypervisorReducer(state: HypState, action: Action) {\n return internalReducer(state, action);\n}\n","import { createFeatureSelector, createSelector } from '@ngrx/store';\nimport { hypFeatureKey, HypState } from './hypervisor.reducer';\n\n\nconst feature = createFeatureSelector<HypState>(hypFeatureKey);\nconst url = createSelector(feature, (state) => state.url);\n\nexport const HypSelectors = {\n feature,\n url\n};\n","import { Injectable } from '@angular/core';\nimport { HttpClient, HttpParams } from '@angular/common/http';\nimport { mergeMap, Observable, withLatestFrom } from 'rxjs';\nimport { Store } from '@ngrx/store';\nimport { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';\nimport { HypSelectors } from '../hypervisor/hypervisor.selectors';\nimport { EventSelectors } from './event.selectors';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class EventService {\n constructor(\n private httpClient: HttpClient,\n private store: Store<any>\n ) {\n }\n\n list(): Observable<Array<HypEventDetails>> {\n return this.store\n .select(HypSelectors.url)\n .pipe(\n withLatestFrom(this.store.select(EventSelectors.filters)),\n mergeMap(([url, filters]) => {\n let params = new HttpParams();\n Object.keys(filters).forEach(filter => {\n filters[filter].forEach((filterValue) => {\n params = params.set(filter, filterValue);\n });\n });\n return this.httpClient.get<Array<HypEventDetails>>(encodeURI(`${url}/event`), { params });\n })\n );\n }\n\n listSummaries(): Observable<HypEventSummaries> {\n return this.store\n .select(HypSelectors.url)\n .pipe(\n withLatestFrom(this.store.select(EventSelectors.filters)),\n mergeMap(([url, filters]) => {\n let params = new HttpParams();\n Object.keys(filters).forEach(filter => {\n filters[filter].forEach((filterValue) => {\n params = params.set(filter, filterValue);\n });\n });\n console.log(params);\n return this.httpClient.get<HypEventSummaries>(encodeURI(`${url}/events/summary`), { params });\n })\n );\n }\n}\n","import { Injectable } from '@angular/core';\nimport { Actions, createEffect, ofType } from '@ngrx/effects';\nimport { catchError, debounceTime, map, mergeMap } from 'rxjs/operators';\nimport { EventActions } from './event.actions';\nimport { EventService } from './event.service';\n\n@Injectable()\nexport class EventEffects {\n loadEvents$ = createEffect(() =>\n this.actions$.pipe(\n ofType(EventActions.load),\n debounceTime(200),\n mergeMap((action) =>\n this.eventService.list().pipe(\n map((events) => EventActions.loadSuccess({ events })),\n catchError((error) => [EventActions.loadFailure({ error: error })]),\n ),\n ),\n ),\n );\n\n loadSummaries$ = createEffect(() =>\n this.actions$.pipe(\n ofType(EventActions.loadSummaries),\n debounceTime(200),\n mergeMap((action) =>\n this.eventService.listSummaries().pipe(\n map((summaries) => EventActions.loadSummariesSuccess({ summaries })),\n catchError((error) => [EventActions.loadSummariesFailure({ error: error })]),\n ),\n ),\n ),\n );\n\n constructor(\n private actions$: Actions,\n private eventService: EventService,\n ) {\n }\n}\n","import { Injectable } from '@angular/core';\nimport { HttpClient } from '@angular/common/http';\nimport { Store } from '@ngrx/store';\n\n@Injectable({\n providedIn: 'root'\n})\nexport class HypervisorService {\n constructor(\n private httpClient: HttpClient,\n private store: Store<any>\n ) {}\n\n}\n","import { Injectable } from '@angular/core';\nimport { Actions } from '@ngrx/effects';\nimport { HypervisorService } from './hypervisor.service';\n\n@Injectable()\nexport class HypervisorEffects {\n\n constructor(\n private actions$: Actions,\n private eventService: HypervisorService,\n ) {\n }\n}\n","import { Inject, ModuleWithProviders, NgModule } from '@angular/core';\nimport { EffectsModule } from '@ngrx/effects';\nimport { Store, StoreModule } from '@ngrx/store';\nimport { eventFeatureKey, eventReducer } from './store/event/event.reducer';\nimport { EventEffects } from './store/event/event.effects';\nimport { EventDetailComponent } from './event/detail/event-detail.component';\nimport { EventListComponent } from './event/list/event-list.component';\nimport { hypervisorReducer, hypFeatureKey } from './store/hypervisor/hypervisor.reducer';\nimport { HypervisorEffects } from './store/hypervisor/hypervisor.effects';\nimport { HYP_BASE_CONFIG } from './general/base.token';\nimport { HypervisorActions } from './store/hypervisor/hypervisor.actions';\nimport { AsyncPipe, NgForOf } from '@angular/common';\nimport { PryCoreModule, PryI18nModule, PryI18nService } from '@provoly/dashboard';\nimport { enTranslations } from './general/i18n/en.translations';\nimport { frTranslations } from './general/i18n/fr.translations';\nimport { EventIconPipe } from './event/icon-pipe/event-icon.pipe';\n\nconst components = [\n EventDetailComponent,\n EventListComponent\n];\n\n@NgModule({\n declarations: [\n ...components,\n ],\n imports: [\n StoreModule.forFeature(eventFeatureKey, eventReducer),\n StoreModule.forFeature(hypFeatureKey, hypervisorReducer),\n EffectsModule.forFeature([EventEffects, HypervisorEffects]),\n NgForOf,\n AsyncPipe,\n PryI18nModule,\n PryCoreModule,\n AsyncPipe,\n PryCoreModule,\n EventIconPipe\n ],\n exports: [\n ...components\n ],\n})\nexport class PvyHypervisorModule {\n static forRoot(options: { url?: string }): ModuleWithProviders<PvyHypervisorModule> {\n\n return {\n ngModule: PvyHypervisorModule,\n providers: [\n { provide: HYP_BASE_CONFIG, useValue: options },\n ],\n };\n }\n\n constructor(@Inject(HYP_BASE_CONFIG) private baseConfig: {\n url: string\n }, private store: Store<any>, private i18nService: PryI18nService) {\n this.store.dispatch(HypervisorActions.setUrl({ url: baseConfig.url }));\n this.i18nService.addLangObject('en', '@hvy', enTranslations);\n this.i18nService.addLangObject('fr', '@hvy', frTranslations);\n }\n}\n","/*\n * Public API Surface of hypervisor\n */\nexport * from './src/lib/event/public-api';\nexport * from './src/lib/event-summary/public-api';\nexport * from './src/lib/general/public-api';\nexport * from './src/lib/model/public-api';\nexport * from './src/lib/hypervisor.module';\nexport * from './src/lib/store/event/public-api';\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["eventInitialState","internalReducer","feature","i4.EventIconPipe","i1","i2","mergeMap","i2.EventService","i2.HypervisorService"],"mappings":";;;;;;;;;;;;;;;;;MAQa,oBAAoB,CAAA;AAJjC,IAAA,WAAA,GAAA;QAKW,IAAM,CAAA,MAAA,GAAe,EAAE,CAAC;QACxB,IAAO,CAAA,OAAA,GAAgB,SAAS,CAAC;AAC3C,KAAA;8GAHY,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAApB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,0GCRjC,sFAGA,EAAA,CAAA,CAAA,EAAA;;2FDKa,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBAJhC,SAAS;+BACE,kBAAkB,EAAA,QAAA,EAAA,sFAAA,EAAA,CAAA;8BAInB,MAAM,EAAA,CAAA;sBAAd,KAAK;gBACG,OAAO,EAAA,CAAA;sBAAf,K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b,aAAa;YAEb,aAAa,CAAA,EAAA,CAAA,CAAA,EAAA;;2FAOJ,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBApB/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACR,oBAAA,YAAY,EAAE;AACZ,wBAAA,GAAG,UAAU;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,WAAW,CAAC,UAAU,CAAC,eAAe,EAAE,YAAY,CAAC;AACrD,wBAAA,WAAW,CAAC,UAAU,CAAC,aAAa,EAAE,iBAAiB,CAAC;wBACxD,aAAa,CAAC,UAAU,CAAC,CAAC,YAAY,EAAE,iBAAiB,CAAC,CAAC;wBAC3D,OAAO;wBACP,SAAS;wBACT,aAAa;wBACb,aAAa;wBACb,SAAS;wBACT,aAAa;wBACb,aAAa;AACd,qBAAA;AACD,oBAAA,OAAO,EAAE;AACP,wBAAA,GAAG,UAAU;AACd,qBAAA;AACF,iBAAA,CAAA;;0BAYc,MAAM;2BAAC,eAAe,CAAA;;;ACrDrC;;AAEG;;ACFH;;AAEG;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provoly/hypervisor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.4",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"@angular/cdk": "16.x || 17.x",
|
|
6
6
|
"@angular/common": "16.x || 17.x",
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"rxjs": "^7.4.0",
|
|
15
15
|
"uuid": "^8.3.2 || ^9.0.0",
|
|
16
16
|
"zone.js": "~0.14.3",
|
|
17
|
-
"@provoly/dashboard": "^0.22.
|
|
17
|
+
"@provoly/dashboard": "^0.22.9"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"tslib": "^2.6.2"
|
package/public-api.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export * from './lib/
|
|
2
|
-
export * from './lib/
|
|
1
|
+
export * from './src/lib/event/public-api';
|
|
2
|
+
export * from './src/lib/event-summary/public-api';
|
|
3
|
+
export * from './src/lib/general/public-api';
|
|
4
|
+
export * from './src/lib/model/public-api';
|
|
5
|
+
export * from './src/lib/hypervisor.module';
|
|
6
|
+
export * from './src/lib/store/event/public-api';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HypEvent } from '../../model/hyp-event.interface';
|
|
2
|
+
import { HypProcess } from '../../model/hyp-process.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EventDetailComponent {
|
|
5
|
+
events: HypEvent[];
|
|
6
|
+
process?: HypProcess;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "events": { "alias": "events"; "required": false; }; "process": { "alias": "process"; "required": false; }; }, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { HypEvent, HypEventSummary } from '../../model/hyp-event.interface';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare const EVENT_TO_ICON: {
|
|
7
|
+
fn: (event: HypEvent | HypEventSummary, store: Store<any>) => Observable<string>;
|
|
8
|
+
};
|
|
9
|
+
export declare class EventIconPipe implements PipeTransform {
|
|
10
|
+
private store;
|
|
11
|
+
constructor(store: Store<any>);
|
|
12
|
+
transform(value: HypEvent | HypEventSummary, ...args: unknown[]): Observable<string>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventIconPipe, never>;
|
|
14
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<EventIconPipe, "eventIcon", true>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Store } from '@ngrx/store';
|
|
2
|
+
import { HypEventDetails } from '../../model/hyp-event.interface';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class EventListComponent {
|
|
6
|
+
private store;
|
|
7
|
+
events$: Observable<HypEventDetails[]>;
|
|
8
|
+
constructor(store: Store<any>);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventListComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventListComponent, "hvy-event-list", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HypEventSummary } from '../../model/hyp-event.interface';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class EventSummaryItemComponent {
|
|
4
|
+
event: HypEventSummary;
|
|
5
|
+
linkBase: string[];
|
|
6
|
+
protected linkFragments: string[];
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventSummaryItemComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventSummaryItemComponent, "hvy-event-summary-item", never, { "event": { "alias": "event"; "required": true; }; "linkBase": { "alias": "linkBase"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { HypEventSummary } from '../../model/hyp-event.interface';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { Store } from '@ngrx/store';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EventSummaryListComponent implements OnInit {
|
|
7
|
+
private store;
|
|
8
|
+
private router;
|
|
9
|
+
events: HypEventSummary[];
|
|
10
|
+
totalEventCount: number;
|
|
11
|
+
status: string;
|
|
12
|
+
consultLink: string[];
|
|
13
|
+
itemLinkBase: string[];
|
|
14
|
+
constructor(store: Store<any>, router: Router);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
filterAndRoute(status: string): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventSummaryListComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EventSummaryListComponent, "hvy-event-summary-list", never, { "events": { "alias": "events"; "required": false; }; "totalEventCount": { "alias": "totalEventCount"; "required": false; }; "status": { "alias": "status"; "required": false; }; "consultLink": { "alias": "consultLink"; "required": false; }; "itemLinkBase": { "alias": "itemLinkBase"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const enTranslations: {
|
|
2
|
+
'@hvy': {
|
|
3
|
+
event: {
|
|
4
|
+
criticality: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: {
|
|
7
|
+
name: string;
|
|
8
|
+
ALERT: string;
|
|
9
|
+
REPORT: string;
|
|
10
|
+
OPERATOR: string;
|
|
11
|
+
};
|
|
12
|
+
address: string;
|
|
13
|
+
date: string;
|
|
14
|
+
dateM: string;
|
|
15
|
+
status: string;
|
|
16
|
+
};
|
|
17
|
+
eventSummary: {
|
|
18
|
+
noContent: string;
|
|
19
|
+
statusLabels: {
|
|
20
|
+
NEW: string;
|
|
21
|
+
IN_PROGRESS: string;
|
|
22
|
+
DONE: string;
|
|
23
|
+
};
|
|
24
|
+
criticalityLabels: {
|
|
25
|
+
LOW: string;
|
|
26
|
+
MEDIUM: string;
|
|
27
|
+
HIGH: string;
|
|
28
|
+
ALL: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
process: {
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export declare const frTranslations: {
|
|
2
|
+
'@hvy': {
|
|
3
|
+
event: {
|
|
4
|
+
criticality: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: {
|
|
7
|
+
name: string;
|
|
8
|
+
ALERT: string;
|
|
9
|
+
REPORT: string;
|
|
10
|
+
OPERATOR: string;
|
|
11
|
+
};
|
|
12
|
+
address: string;
|
|
13
|
+
date: string;
|
|
14
|
+
dateM: string;
|
|
15
|
+
status: string;
|
|
16
|
+
};
|
|
17
|
+
eventSummary: {
|
|
18
|
+
noContent: string;
|
|
19
|
+
statusLabels: {
|
|
20
|
+
NEW: string;
|
|
21
|
+
IN_PROGRESS: string;
|
|
22
|
+
DONE: string;
|
|
23
|
+
};
|
|
24
|
+
criticalityLabels: {
|
|
25
|
+
LOW: string;
|
|
26
|
+
MEDIUM: string;
|
|
27
|
+
HIGH: string;
|
|
28
|
+
ALL: string;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
process: {
|
|
32
|
+
name: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import { PryI18nService } from '@provoly/dashboard';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "./event/detail/event-detail.component";
|
|
6
|
+
import * as i2 from "./event/list/event-list.component";
|
|
7
|
+
import * as i3 from "@ngrx/store";
|
|
8
|
+
import * as i4 from "@ngrx/effects";
|
|
9
|
+
import * as i5 from "@angular/common";
|
|
10
|
+
import * as i6 from "@provoly/dashboard";
|
|
11
|
+
import * as i7 from "./event/icon-pipe/event-icon.pipe";
|
|
12
|
+
export declare class PvyHypervisorModule {
|
|
13
|
+
private baseConfig;
|
|
14
|
+
private store;
|
|
15
|
+
private i18nService;
|
|
16
|
+
static forRoot(options: {
|
|
17
|
+
url?: string;
|
|
18
|
+
}): ModuleWithProviders<PvyHypervisorModule>;
|
|
19
|
+
constructor(baseConfig: {
|
|
20
|
+
url: string;
|
|
21
|
+
}, store: Store<any>, i18nService: PryI18nService);
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
|
|
23
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent], [typeof i3.StoreFeatureModule, typeof i3.StoreFeatureModule, typeof i4.EffectsFeatureModule, typeof i5.NgForOf, typeof i5.AsyncPipe, typeof i6.PryI18nModule, typeof i6.PryCoreModule, typeof i5.AsyncPipe, typeof i6.PryCoreModule, typeof i7.EventIconPipe], [typeof i1.EventDetailComponent, typeof i2.EventListComponent]>;
|
|
24
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
export interface HypEvent {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
criticality: HypEventCriticality;
|
|
5
|
+
type: HypEventType;
|
|
6
|
+
}
|
|
7
|
+
export declare enum HypEventCriticality {
|
|
8
|
+
LOW = 0,
|
|
9
|
+
MEDIUM = 1,
|
|
10
|
+
HIGH = 2
|
|
11
|
+
}
|
|
12
|
+
declare enum HypEventType {
|
|
13
|
+
ALERT = 0,
|
|
14
|
+
REPORT = 1,
|
|
15
|
+
OPERATOR = 2
|
|
16
|
+
}
|
|
17
|
+
export interface HypEventDetails extends HypEvent {
|
|
18
|
+
equipment: null | HypEquipment;
|
|
19
|
+
status: HypStatus;
|
|
20
|
+
category: HypEventCategory;
|
|
21
|
+
}
|
|
22
|
+
export interface HypEquipment {
|
|
23
|
+
id: string;
|
|
24
|
+
name: string;
|
|
25
|
+
}
|
|
26
|
+
export type HypStatus = 'NEW' | 'IN_PROGRESS' | 'DONE';
|
|
27
|
+
type HypEventCategory = HypEventType | 'MALFUNCTION_ALERT' | 'LIMIT_ALERT' | 'MANIFESTATION';
|
|
28
|
+
export interface HypEventSummary extends HypEvent {
|
|
29
|
+
interventionRequestCount: number;
|
|
30
|
+
lastModificationDate: Date;
|
|
31
|
+
manifestation?: {
|
|
32
|
+
startDate: Date;
|
|
33
|
+
endDate: Date;
|
|
34
|
+
};
|
|
35
|
+
interventionRequestTitle?: string;
|
|
36
|
+
category: HypEventCategory;
|
|
37
|
+
}
|
|
38
|
+
export type HypEventSummaries = {
|
|
39
|
+
[key in HypStatus]: {
|
|
40
|
+
events: HypEventSummary[];
|
|
41
|
+
count: number;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';
|
|
2
|
+
export declare const EventActions: {
|
|
3
|
+
load: import("@ngrx/store").ActionCreator<"[Event] Load Events", () => import("@ngrx/store/src/models").TypedAction<"[Event] Load Events">>;
|
|
4
|
+
loadSuccess: import("@ngrx/store").ActionCreator<"[Event Api] (bus) Load Events Success", (props: {
|
|
5
|
+
events: HypEventDetails[];
|
|
6
|
+
}) => {
|
|
7
|
+
events: HypEventDetails[];
|
|
8
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] (bus) Load Events Success">>;
|
|
9
|
+
loadFailure: import("@ngrx/store").ActionCreator<"[Event Api] Load Events Failure", (props: {
|
|
10
|
+
error: string;
|
|
11
|
+
}) => {
|
|
12
|
+
error: string;
|
|
13
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Events Failure">>;
|
|
14
|
+
filter: import("@ngrx/store").ActionCreator<"[Event Api] Set filters", (props: {
|
|
15
|
+
filters: {
|
|
16
|
+
[key: string]: string[];
|
|
17
|
+
};
|
|
18
|
+
}) => {
|
|
19
|
+
filters: {
|
|
20
|
+
[key: string]: string[];
|
|
21
|
+
};
|
|
22
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Set filters">>;
|
|
23
|
+
loadSummaries: import("@ngrx/store").ActionCreator<"[Event] Load Summaries", () => import("@ngrx/store/src/models").TypedAction<"[Event] Load Summaries">>;
|
|
24
|
+
loadSummariesSuccess: import("@ngrx/store").ActionCreator<"[Event Api] Load Summaries Success", (props: {
|
|
25
|
+
summaries: HypEventSummaries;
|
|
26
|
+
}) => {
|
|
27
|
+
summaries: HypEventSummaries;
|
|
28
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Summaries Success">>;
|
|
29
|
+
loadSummariesFailure: import("@ngrx/store").ActionCreator<"[Event Api] Load Summaries Failure", (props: {
|
|
30
|
+
error: string;
|
|
31
|
+
}) => {
|
|
32
|
+
error: string;
|
|
33
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Summaries Failure">>;
|
|
34
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Actions } from '@ngrx/effects';
|
|
2
|
+
import { EventService } from './event.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class EventEffects {
|
|
5
|
+
private actions$;
|
|
6
|
+
private eventService;
|
|
7
|
+
loadEvents$: import("rxjs").Observable<({
|
|
8
|
+
events: import("@provoly/hypervisor").HypEventDetails[];
|
|
9
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] (bus) Load Events Success">) | ({
|
|
10
|
+
error: string;
|
|
11
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Events Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
12
|
+
loadSummaries$: import("rxjs").Observable<({
|
|
13
|
+
summaries: import("@provoly/hypervisor").HypEventSummaries;
|
|
14
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Summaries Success">) | ({
|
|
15
|
+
error: string;
|
|
16
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Load Summaries Failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
17
|
+
constructor(actions$: Actions, eventService: EventService);
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventEffects, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EventEffects>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Action } from '@ngrx/store';
|
|
2
|
+
import { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';
|
|
3
|
+
export declare const eventFeatureKey = "@hvy/event";
|
|
4
|
+
export interface EventState {
|
|
5
|
+
events: HypEventDetails[];
|
|
6
|
+
summaries: HypEventSummaries;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
filters: {
|
|
9
|
+
[key: string]: string[];
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare const eventInitialState: EventState;
|
|
13
|
+
export declare function eventReducer(state: EventState, action: Action): EventState;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventState } from './event.reducer';
|
|
2
|
+
export declare const EventSelectors: {
|
|
3
|
+
feature: import("@ngrx/store").MemoizedSelector<object, EventState, import("@ngrx/store").DefaultProjectorFn<EventState>>;
|
|
4
|
+
events: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventDetails[], (s1: EventState) => import("@provoly/hypervisor").HypEventDetails[]>;
|
|
5
|
+
summaries: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventSummaries, (s1: EventState) => import("@provoly/hypervisor").HypEventSummaries>;
|
|
6
|
+
loading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EventState) => boolean>;
|
|
7
|
+
filters: import("@ngrx/store").MemoizedSelector<object, {
|
|
8
|
+
[key: string]: string[];
|
|
9
|
+
}, (s1: EventState) => {
|
|
10
|
+
[key: string]: string[];
|
|
11
|
+
}>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Store } from '@ngrx/store';
|
|
4
|
+
import { HypEventDetails, HypEventSummaries } from '../../model/hyp-event.interface';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EventService {
|
|
7
|
+
private httpClient;
|
|
8
|
+
private store;
|
|
9
|
+
constructor(httpClient: HttpClient, store: Store<any>);
|
|
10
|
+
list(): Observable<Array<HypEventDetails>>;
|
|
11
|
+
listSummaries(): Observable<HypEventSummaries>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const HypervisorActions: {
|
|
2
|
+
setUrl: import("@ngrx/store").ActionCreator<"[Event] Set Backend Url", (props: {
|
|
3
|
+
url?: string | undefined;
|
|
4
|
+
}) => {
|
|
5
|
+
url?: string | undefined;
|
|
6
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Event] Set Backend Url">>;
|
|
7
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Actions } from '@ngrx/effects';
|
|
2
|
+
import { HypervisorService } from './hypervisor.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HypervisorEffects {
|
|
5
|
+
private actions$;
|
|
6
|
+
private eventService;
|
|
7
|
+
constructor(actions$: Actions, eventService: HypervisorService);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HypervisorEffects, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HypervisorEffects>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Action } from '@ngrx/store';
|
|
2
|
+
export declare const hypFeatureKey = "@hvy/general";
|
|
3
|
+
export interface HypState {
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
6
|
+
export declare const eventInitialState: HypState;
|
|
7
|
+
export declare function hypervisorReducer(state: HypState, action: Action): HypState;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HypState } from './hypervisor.reducer';
|
|
2
|
+
export declare const HypSelectors: {
|
|
3
|
+
feature: import("@ngrx/store").MemoizedSelector<object, HypState, import("@ngrx/store").DefaultProjectorFn<HypState>>;
|
|
4
|
+
url: import("@ngrx/store").MemoizedSelector<object, string, (s1: HypState) => string>;
|
|
5
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class HypervisorService {
|
|
5
|
+
private httpClient;
|
|
6
|
+
private store;
|
|
7
|
+
constructor(httpClient: HttpClient, store: Store<any>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HypervisorService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HypervisorService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use '/node_modules/@provoly/dashboard/styles/abstracts' as *;
|
|
2
|
+
|
|
3
|
+
.m-hvy-event-summary-item {
|
|
4
|
+
gap: toRem(5);
|
|
5
|
+
padding: toRem(10);
|
|
6
|
+
border-radius: toRem(5);
|
|
7
|
+
|
|
8
|
+
background-color: #ffffff;
|
|
9
|
+
|
|
10
|
+
&:hover {
|
|
11
|
+
cursor: pointer;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&__content {
|
|
15
|
+
margin-bottom: toRem(10);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__footer {
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: space-between;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&__icons {
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: toRem(5);
|
|
27
|
+
align-items: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__intervention-counter {
|
|
31
|
+
padding: 0 toRem(5);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
&__date {
|
|
35
|
+
display: flex;
|
|
36
|
+
justify-content: space-between;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
@use '/node_modules/@provoly/dashboard/styles/abstracts' as *;
|
|
2
|
+
|
|
3
|
+
.o-hvy-event-summary-list {
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
gap: toRem(10);
|
|
7
|
+
|
|
8
|
+
height: 100%;
|
|
9
|
+
padding: toRem(10);
|
|
10
|
+
border-radius: toRem(5);
|
|
11
|
+
|
|
12
|
+
&__header {
|
|
13
|
+
display: flex;
|
|
14
|
+
align-items: center;
|
|
15
|
+
gap: toRem(10);
|
|
16
|
+
text-transform: uppercase;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
&__title {
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&__counter {
|
|
24
|
+
height: toRem(20);
|
|
25
|
+
padding: 0 toRem(5);
|
|
26
|
+
border-radius: toRem(10);
|
|
27
|
+
text-align: center;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&__content {
|
|
31
|
+
display: flex;
|
|
32
|
+
flex-direction: column;
|
|
33
|
+
gap: toRem(10);
|
|
34
|
+
flex: 1;
|
|
35
|
+
overflow-y: auto;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&__footer {
|
|
39
|
+
display: flex;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
text-decoration: underline;
|
|
43
|
+
text-underline-offset: toRem(2);
|
|
44
|
+
}
|
|
45
|
+
}
|