@provoly/hypervisor 1.4.53 → 1.4.55
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/src/lib/event/detail/event-detail.component.mjs +11 -3
- package/esm2022/src/lib/general/i18n/fr.translations.mjs +2 -2
- package/esm2022/src/lib/general/icon-display/icon-display.component.mjs +3 -3
- package/esm2022/src/lib/general/last-events/last-events.component.mjs +4 -3
- package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +2 -1
- package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +19 -9
- package/esm2022/src/lib/general/public-api.mjs +2 -1
- package/esm2022/src/lib/general/truncate-pipe/truncate.pipe.mjs +19 -0
- package/esm2022/src/lib/hypervisor.module.mjs +6 -3
- package/esm2022/src/lib/procedure/model-detail/procedure-model-detail.component.mjs +1 -1
- package/esm2022/src/lib/procedure/model-list/procedure-list.component.mjs +7 -4
- package/esm2022/src/lib/store/service/service.service.mjs +3 -2
- package/fesm2022/provoly-hypervisor.mjs +58 -17
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +1 -0
- package/src/lib/general/procedure-actions/procedure-actions.component.d.ts +5 -2
- package/src/lib/general/public-api.d.ts +1 -0
- package/src/lib/general/truncate-pipe/truncate.pipe.d.ts +7 -0
- package/src/lib/hypervisor.module.d.ts +2 -1
- package/src/lib/procedure/model-list/procedure-list.component.d.ts +2 -1
- package/src/lib/store/service/service.service.d.ts +2 -1
package/package.json
CHANGED
|
@@ -144,6 +144,7 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
144
144
|
};
|
|
145
145
|
protected readonly subCategories: (string | undefined)[];
|
|
146
146
|
modifiedActions($event: any): void;
|
|
147
|
+
refreshActions($event: HypAction[]): void;
|
|
147
148
|
openAssociationModal(): void;
|
|
148
149
|
openDeleteModal(): void;
|
|
149
150
|
private convertDate;
|
|
@@ -6,11 +6,13 @@ import { HypCommentsService } from '../../store/comments/comments.service';
|
|
|
6
6
|
import { Subject } from 'rxjs';
|
|
7
7
|
import { HypEventDetails } from '../../model/event/hyp-event-detail.interface';
|
|
8
8
|
import { HypComment } from '../../model/comment.interface';
|
|
9
|
+
import { ServiceService } from "../../store/service/service.service";
|
|
9
10
|
import * as i0 from "@angular/core";
|
|
10
11
|
export declare class ProcedureActionsComponent extends SubscriptionnerDirective {
|
|
11
12
|
private pryDialog;
|
|
12
13
|
private overlay;
|
|
13
14
|
private commentsService;
|
|
15
|
+
private serviceService;
|
|
14
16
|
static CARD_HEIGHT: number;
|
|
15
17
|
movingAction?: HypAction;
|
|
16
18
|
moveStart: number;
|
|
@@ -35,8 +37,9 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
35
37
|
triggers: {
|
|
36
38
|
[p: string]: Subject<boolean>;
|
|
37
39
|
};
|
|
38
|
-
constructor(pryDialog: PryDialogService, overlay: Overlay, commentsService: HypCommentsService);
|
|
40
|
+
constructor(pryDialog: PryDialogService, overlay: Overlay, commentsService: HypCommentsService, serviceService: ServiceService);
|
|
39
41
|
set actions(actions: HypAction[]);
|
|
42
|
+
refreshActions: EventEmitter<HypAction[]>;
|
|
40
43
|
get actions(): HypAction[];
|
|
41
44
|
get editing(): boolean;
|
|
42
45
|
onMouseDown($event: MouseEvent): void;
|
|
@@ -58,5 +61,5 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
|
|
|
58
61
|
message: string;
|
|
59
62
|
}): void;
|
|
60
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureActionsComponent, never>;
|
|
61
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureActionsComponent, "hvy-procedure-actions", never, { "mode": { "alias": "mode"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "events": { "alias": "events"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "modified": "modified"; "commented": "commented"; }, never, never, false, never>;
|
|
64
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureActionsComponent, "hvy-procedure-actions", never, { "mode": { "alias": "mode"; "required": false; }; "me": { "alias": "me"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "readOnlyComment": { "alias": "readOnlyComment"; "required": false; }; "enableEditActions": { "alias": "enableEditActions"; "required": false; }; "events": { "alias": "events"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "modified": "modified"; "commented": "commented"; "refreshActions": "refreshActions"; }, never, never, false, never>;
|
|
62
65
|
}
|
|
@@ -27,4 +27,5 @@ export * from './procedure-actions/action-parameters/email/email-action-display.
|
|
|
27
27
|
export * from './procedure-actions/action-parameters/service/service-action-parameter.component';
|
|
28
28
|
export * from './procedure-actions/action-parameters/service/service-action-display.component';
|
|
29
29
|
export * from './procedure-actions/action-parameters/service/create-service.component';
|
|
30
|
+
export * from './truncate-pipe/truncate.pipe';
|
|
30
31
|
export * from './display-date.function';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { PipeTransform } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class TruncatePipe implements PipeTransform {
|
|
4
|
+
transform(value: string, args: any[]): string;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TruncatePipe, never>;
|
|
6
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<TruncatePipe, "truncate", true>;
|
|
7
|
+
}
|
|
@@ -49,6 +49,7 @@ import * as i44 from "@provoly/dashboard";
|
|
|
49
49
|
import * as i45 from "@provoly/dashboard/components/checkbox";
|
|
50
50
|
import * as i46 from "@angular/forms";
|
|
51
51
|
import * as i47 from "@angular/router";
|
|
52
|
+
import * as i48 from "./general/truncate-pipe/truncate.pipe";
|
|
52
53
|
export declare class PvyHypervisorModule {
|
|
53
54
|
private baseConfig;
|
|
54
55
|
private store;
|
|
@@ -60,6 +61,6 @@ export declare class PvyHypervisorModule {
|
|
|
60
61
|
url: string;
|
|
61
62
|
}, store: Store<any>, i18nService: PryI18nService);
|
|
62
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
|
|
63
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent, typeof i40.ProcedureActionsComponent], [typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i42.EffectsFeatureModule, typeof i43.NgForOf, typeof i43.AsyncPipe, typeof i44.PryI18nModule, typeof i44.PryCoreModule, typeof i43.NgStyle, typeof i45.PryCheckboxModule, typeof i46.FormsModule, typeof i47.RouterLink, typeof i44.PrySinceDateModule, typeof i43.DatePipe, typeof i44.PryIconModule, typeof i43.KeyValuePipe, typeof i44.PrySelectModule, typeof i43.JsonPipe, typeof i44.PryDatePickerModule, typeof i43.NgIf, typeof i44.PryCoreModule, typeof i44.PryI18nModule, typeof i46.FormsModule, typeof i43.AsyncPipe], [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent]>;
|
|
64
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PvyHypervisorModule, [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent, typeof i40.ProcedureActionsComponent], [typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i41.StoreFeatureModule, typeof i42.EffectsFeatureModule, typeof i43.NgForOf, typeof i43.AsyncPipe, typeof i44.PryI18nModule, typeof i44.PryCoreModule, typeof i43.NgStyle, typeof i45.PryCheckboxModule, typeof i46.FormsModule, typeof i47.RouterLink, typeof i44.PrySinceDateModule, typeof i43.DatePipe, typeof i44.PryIconModule, typeof i43.KeyValuePipe, typeof i44.PrySelectModule, typeof i43.JsonPipe, typeof i44.PryDatePickerModule, typeof i43.NgIf, typeof i44.PryCoreModule, typeof i44.PryI18nModule, typeof i46.FormsModule, typeof i43.AsyncPipe, typeof i48.TruncatePipe], [typeof i1.EventDetailComponent, typeof i2.EventListComponent, typeof i3.EventColumnOrderComponent, typeof i4.IconDisplayComponent, typeof i5.EventSummaryItemComponent, typeof i6.EventSummaryListComponent, typeof i7.EventSummaryPageComponent, typeof i8.EventIconPipe, typeof i9.ForDatetimeLocalPipe, typeof i10.StatusDisplayComponent, typeof i11.ProgressDisplayComponent, typeof i12.ColumnOrderComponent, typeof i13.EventFiltersComponent, typeof i14.DateFilterComponent, typeof i15.TextFilterComponent, typeof i16.ChoiceFilterComponent, typeof i17.ProcedureListComponent, typeof i18.ProcedureColumnOrderComponent, typeof i19.ProcedureAssociationModalComponent, typeof i20.ProcedureModelDetailComponent, typeof i21.ImmediateFiltersComponent, typeof i22.HvyActionMenuComponent, typeof i23.HvyCreateServiceComponent, typeof i24.HvyActionParameterComponent, typeof i25.HvyBaseParameterActionComponent, typeof i26.HvyOtherActionParameterComponent, typeof i27.HvyOtherActionDisplayComponent, typeof i28.HvyNoParamsActionDisplayComponent, typeof i29.HvyPhoneActionParameterComponent, typeof i30.HvyPhoneActionDisplayComponent, typeof i31.HvyEmailActionDisplayComponent, typeof i32.HvyEmailActionParameterComponent, typeof i33.HvyServiceActionParameterComponent, typeof i34.HvyServiceActionDisplayComponent, typeof i35.DisplayLocaleDateTime, typeof i36.HvyCommentsComponent, typeof i37.LastEventsComponent, typeof i38.HvyEventDetailsTooltipComponent, typeof i39.HvyEventAddEventComponent]>;
|
|
64
65
|
static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
|
|
65
66
|
}
|
|
@@ -22,6 +22,7 @@ export declare class ProcedureListComponent extends SubscriptionnerDirective imp
|
|
|
22
22
|
key: string;
|
|
23
23
|
}[];
|
|
24
24
|
scrollable: ElementRef;
|
|
25
|
+
placeholder: string;
|
|
25
26
|
constructor(store: Store<any>, router: Router, scroll: InfiniteScrollService);
|
|
26
27
|
ngAfterViewInit(): void;
|
|
27
28
|
goTo(procedure: HypProcedureModel): Promise<boolean>;
|
|
@@ -29,5 +30,5 @@ export declare class ProcedureListComponent extends SubscriptionnerDirective imp
|
|
|
29
30
|
fn: (id: number | string) => string;
|
|
30
31
|
};
|
|
31
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureListComponent, never>;
|
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureListComponent, "hvy-procedure-model-list", never, {}, {}, never, ["*"], false, never>;
|
|
33
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureListComponent, "hvy-procedure-model-list", never, { "placeholder": { "alias": "placeholder"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
33
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
2
|
+
import { Observable, Subject } from 'rxjs';
|
|
3
3
|
import { Store } from '@ngrx/store';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export interface HypServiceType {
|
|
@@ -19,6 +19,7 @@ export interface HypService {
|
|
|
19
19
|
export declare class ServiceService {
|
|
20
20
|
private httpClient;
|
|
21
21
|
private store;
|
|
22
|
+
refreshDiAction: Subject<unknown>;
|
|
22
23
|
constructor(httpClient: HttpClient, store: Store<any>);
|
|
23
24
|
types(): Observable<HypServiceType[]>;
|
|
24
25
|
create(service: HypService, actionId: string): Observable<{
|