@provoly/hypervisor 0.0.66 → 0.0.68

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/esm2022/src/lib/general/i18n/en.translations.mjs +3 -4
  2. package/esm2022/src/lib/general/i18n/fr.translations.mjs +6 -6
  3. package/esm2022/src/lib/general/procedure-actions/action-menu.component.mjs +3 -3
  4. package/esm2022/src/lib/general/procedure-actions/action-parameters/action-parameter.component.mjs +10 -3
  5. package/esm2022/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.mjs +4 -1
  6. package/esm2022/src/lib/general/procedure-actions/action-parameters/email/email-action-display.component.mjs +16 -0
  7. package/esm2022/src/lib/general/procedure-actions/action-parameters/email/email-action-parameter.component.mjs +18 -0
  8. package/esm2022/src/lib/general/procedure-actions/action-parameters/no-param/no-param-action-display.component.mjs +16 -0
  9. package/esm2022/src/lib/general/procedure-actions/action-parameters/other/other-action-display.component.mjs +16 -0
  10. package/esm2022/src/lib/general/procedure-actions/action-parameters/other/other-action-parameter.component.mjs +3 -3
  11. package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.mjs +16 -0
  12. package/esm2022/src/lib/general/procedure-actions/action-parameters/service/service-action-parameter.component.mjs +16 -0
  13. package/esm2022/src/lib/general/procedure-actions/action-parameters/sms/sms-action-display.component.mjs +16 -0
  14. package/esm2022/src/lib/general/procedure-actions/action-parameters/sms/sms-action-parameter.component.mjs +18 -0
  15. package/esm2022/src/lib/general/procedure-actions/actions-types.constant.mjs +33 -7
  16. package/esm2022/src/lib/general/procedure-actions/procedure-actions.component.mjs +45 -12
  17. package/esm2022/src/lib/general/public-api.mjs +9 -1
  18. package/esm2022/src/lib/hypervisor.module.mjs +36 -4
  19. package/esm2022/src/lib/model/procedure/hyp-action.interface.mjs +1 -1
  20. package/esm2022/src/lib/store/procedure/procedure.service.mjs +2 -2
  21. package/fesm2022/provoly-hypervisor.mjs +256 -73
  22. package/fesm2022/provoly-hypervisor.mjs.map +1 -1
  23. package/package.json +1 -1
  24. package/src/lib/general/i18n/en.translations.d.ts +2 -3
  25. package/src/lib/general/i18n/fr.translations.d.ts +3 -3
  26. package/src/lib/general/procedure-actions/action-parameters/action-parameter.component.d.ts +3 -1
  27. package/src/lib/general/procedure-actions/action-parameters/base-parameter-action.component.d.ts +2 -1
  28. package/src/lib/general/procedure-actions/action-parameters/email/email-action-display.component.d.ts +7 -0
  29. package/src/lib/general/procedure-actions/action-parameters/email/email-action-parameter.component.d.ts +8 -0
  30. package/src/lib/general/procedure-actions/action-parameters/no-param/no-param-action-display.component.d.ts +7 -0
  31. package/src/lib/general/procedure-actions/action-parameters/other/other-action-display.component.d.ts +7 -0
  32. package/src/lib/general/procedure-actions/action-parameters/service/service-action-display.component.d.ts +7 -0
  33. package/src/lib/general/procedure-actions/action-parameters/service/service-action-parameter.component.d.ts +7 -0
  34. package/src/lib/general/procedure-actions/action-parameters/sms/sms-action-display.component.d.ts +7 -0
  35. package/src/lib/general/procedure-actions/action-parameters/sms/sms-action-parameter.component.d.ts +8 -0
  36. package/src/lib/general/procedure-actions/actions-types.constant.d.ts +5 -1
  37. package/src/lib/general/procedure-actions/procedure-actions.component.d.ts +10 -4
  38. package/src/lib/general/public-api.d.ts +8 -0
  39. package/src/lib/hypervisor.module.d.ts +17 -9
  40. package/src/lib/model/procedure/hyp-action.interface.d.ts +2 -2
  41. package/styles/components/_index.scss +1 -0
  42. package/styles/components/_o-hvy-event-detail.scss +0 -41
  43. package/styles/components/_o-hvy-procedure-actions.scss +112 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@provoly/hypervisor",
3
- "version": "0.0.66",
3
+ "version": "0.0.68",
4
4
  "peerDependencies": {
5
5
  "@angular/cdk": "16.x || 17.x",
6
6
  "@angular/common": "16.x || 17.x",
@@ -132,10 +132,9 @@ export declare const enTranslations: {
132
132
  delete: string;
133
133
  update: string;
134
134
  done: string;
135
- CSU: string;
136
- DOUTE: string;
135
+ CALL: string;
137
136
  SMS: string;
138
- AUTRE: string;
137
+ OTHER: string;
139
138
  SERVICE: string;
140
139
  EMAIL: string;
141
140
  };
@@ -134,12 +134,12 @@ export declare const frTranslations: {
134
134
  delete: string;
135
135
  update: string;
136
136
  done: string;
137
- CSU: string;
138
- DOUTE: string;
139
137
  SMS: string;
140
- AUTRE: string;
138
+ OTHER: string;
141
139
  SERVICE: string;
142
140
  EMAIL: string;
141
+ to: string;
142
+ at: string;
143
143
  };
144
144
  };
145
145
  associationModal: {
@@ -6,10 +6,12 @@ export declare class HvyActionParameterComponent {
6
6
  _action?: HypAction;
7
7
  _type: string;
8
8
  private componentRef?;
9
+ param: boolean;
10
+ set isParam(param: boolean);
9
11
  set type(type: string);
10
12
  set action(action: any);
11
13
  constructor();
12
14
  private updateParameterComponent;
13
15
  static ɵfac: i0.ɵɵFactoryDeclaration<HvyActionParameterComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyActionParameterComponent, "hvy-action-parameter", never, { "isParam": { "alias": "isParam"; "required": false; }; "type": { "alias": "type"; "required": false; }; "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
15
17
  }
@@ -4,8 +4,9 @@ export interface HypOtherAction extends HypAction {
4
4
  other: string;
5
5
  }
6
6
  export declare class HvyBaseParameterActionComponent {
7
- _action: HypOtherAction;
7
+ _action: any;
8
8
  set action(action: any);
9
+ get action(): any;
9
10
  constructor();
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<HvyBaseParameterActionComponent, never>;
11
12
  static ɵcmp: i0.ɵɵComponentDeclaration<HvyBaseParameterActionComponent, "hvy-base-action-parameter", never, { "action": { "alias": "action"; "required": false; }; }, {}, never, never, false, never>;
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyEmailActionDisplayComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyEmailActionDisplayComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyEmailActionDisplayComponent, "hvy-email-action-display", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyEmailActionParameterComponent extends HvyBaseParameterActionComponent {
4
+ static PATTERN: RegExp;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyEmailActionParameterComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyEmailActionParameterComponent, "hvy-email-action-parameter", never, {}, {}, never, never, false, never>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyNoParamsActionDisplayComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyNoParamsActionDisplayComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyNoParamsActionDisplayComponent, "hvy-no-params-action-display", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyOtherActionDisplayComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyOtherActionDisplayComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyOtherActionDisplayComponent, "hvy-other-action-display", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyServiceActionDisplayComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyServiceActionDisplayComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyServiceActionDisplayComponent, "hvy-service-action-display", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvyServiceActionParameterComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvyServiceActionParameterComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvyServiceActionParameterComponent, "hvy-service-action-parameter", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvySmsActionDisplayComponent extends HvyBaseParameterActionComponent {
4
+ constructor();
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvySmsActionDisplayComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvySmsActionDisplayComponent, "hvy-sms-action-display", never, {}, {}, never, never, false, never>;
7
+ }
@@ -0,0 +1,8 @@
1
+ import { HvyBaseParameterActionComponent } from '../base-parameter-action.component';
2
+ import * as i0 from "@angular/core";
3
+ export declare class HvySmsActionParameterComponent extends HvyBaseParameterActionComponent {
4
+ static PATTERN: RegExp;
5
+ constructor();
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<HvySmsActionParameterComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<HvySmsActionParameterComponent, "hvy-sms-action-parameter", never, {}, {}, never, never, false, never>;
8
+ }
@@ -2,6 +2,10 @@ import { Type } from '@angular/core';
2
2
  import { HvyBaseParameterActionComponent } from './action-parameters/base-parameter-action.component';
3
3
  export declare const ACTIONS_TYPES: {
4
4
  values: {
5
- [key: string]: Type<HvyBaseParameterActionComponent> | undefined;
5
+ [key: string]: {
6
+ display: undefined | Type<HvyBaseParameterActionComponent>;
7
+ parameter: undefined | Type<HvyBaseParameterActionComponent>;
8
+ validator: ((action: any) => boolean) | undefined;
9
+ };
6
10
  };
7
11
  };
@@ -1,11 +1,12 @@
1
- import { ElementRef, EventEmitter } from '@angular/core';
2
- import { PryDialogService, SubscriptionnerDirective } from '@provoly/dashboard';
1
+ import { ElementRef, EventEmitter, QueryList } from '@angular/core';
2
+ import { PryDialogService, PryI18nService, SubscriptionnerDirective } from '@provoly/dashboard';
3
3
  import { HypAction } from '../../model/procedure/hyp-action.interface';
4
4
  import { Overlay } from '@angular/cdk/overlay';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ProcedureActionsComponent extends SubscriptionnerDirective {
7
7
  private pryDialog;
8
8
  private overlay;
9
+ private i18nService;
9
10
  static CARD_HEIGHT: number;
10
11
  movingAction?: HypAction;
11
12
  moveStart: number;
@@ -17,10 +18,11 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
17
18
  mode: 'model' | 'procedure';
18
19
  ACTIONS_TYPES: string[];
19
20
  _actions: HypAction[];
20
- menuButton: ElementRef;
21
- constructor(pryDialog: PryDialogService, overlay: Overlay);
21
+ menuButtons: QueryList<ElementRef>;
22
+ constructor(pryDialog: PryDialogService, overlay: Overlay, i18nService: PryI18nService);
22
23
  set actions(actions: HypAction[]);
23
24
  get actions(): HypAction[];
25
+ get editing(): boolean;
24
26
  onMouseDown($event: MouseEvent): void;
25
27
  dragStart($event: MouseEvent, action: HypAction, index: number): void;
26
28
  move($event: MouseEvent): void;
@@ -31,6 +33,10 @@ export declare class ProcedureActionsComponent extends SubscriptionnerDirective
31
33
  protected readonly model: import("@angular/core").ModelFunction;
32
34
  update(idx: number, prop: string, $event: any): void;
33
35
  openModal(action: HypAction, idx: number): void;
36
+ saveAction(action: HypAction, idx: number): void;
37
+ cancelAction(action: HypAction, idx: number): void;
38
+ isValid(action: HypAction): boolean | "";
39
+ isDraggable(action: HypAction): boolean;
34
40
  static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureActionsComponent, never>;
35
41
  static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureActionsComponent, "hvy-procedure-actions", never, { "mode": { "alias": "mode"; "required": false; }; "actions": { "alias": "actions"; "required": false; }; }, { "modified": "modified"; }, never, never, false, never>;
36
42
  }
@@ -15,3 +15,11 @@ export * from './procedure-actions/procedure-actions.component';
15
15
  export * from './procedure-actions/action-parameters/action-parameter.component';
16
16
  export * from './procedure-actions/action-parameters/base-parameter-action.component';
17
17
  export * from './procedure-actions/action-parameters/other/other-action-parameter.component';
18
+ export * from './procedure-actions/action-parameters/other/other-action-display.component';
19
+ export * from './procedure-actions/action-parameters/no-param/no-param-action-display.component';
20
+ export * from './procedure-actions/action-parameters/sms/sms-action-parameter.component';
21
+ export * from './procedure-actions/action-parameters/sms/sms-action-display.component';
22
+ export * from './procedure-actions/action-parameters/email/email-action-parameter.component';
23
+ export * from './procedure-actions/action-parameters/email/email-action-display.component';
24
+ export * from './procedure-actions/action-parameters/service/service-action-parameter.component';
25
+ export * from './procedure-actions/action-parameters/service/service-action-display.component';
@@ -27,14 +27,22 @@ import * as i22 from "./general/procedure-actions/action-menu.component";
27
27
  import * as i23 from "./general/procedure-actions/action-parameters/action-parameter.component";
28
28
  import * as i24 from "./general/procedure-actions/action-parameters/base-parameter-action.component";
29
29
  import * as i25 from "./general/procedure-actions/action-parameters/other/other-action-parameter.component";
30
- import * as i26 from "./general/procedure-actions/procedure-actions.component";
31
- import * as i27 from "@ngrx/store";
32
- import * as i28 from "@ngrx/effects";
33
- import * as i29 from "@angular/common";
34
- import * as i30 from "@provoly/dashboard";
35
- import * as i31 from "@provoly/dashboard/components/checkbox";
36
- import * as i32 from "@angular/forms";
37
- import * as i33 from "@angular/router";
30
+ import * as i26 from "./general/procedure-actions/action-parameters/other/other-action-display.component";
31
+ import * as i27 from "./general/procedure-actions/action-parameters/no-param/no-param-action-display.component";
32
+ import * as i28 from "./general/procedure-actions/action-parameters/sms/sms-action-parameter.component";
33
+ import * as i29 from "./general/procedure-actions/action-parameters/sms/sms-action-display.component";
34
+ import * as i30 from "./general/procedure-actions/action-parameters/email/email-action-display.component";
35
+ import * as i31 from "./general/procedure-actions/action-parameters/email/email-action-parameter.component";
36
+ import * as i32 from "./general/procedure-actions/action-parameters/service/service-action-parameter.component";
37
+ import * as i33 from "./general/procedure-actions/action-parameters/service/service-action-display.component";
38
+ import * as i34 from "./general/procedure-actions/procedure-actions.component";
39
+ import * as i35 from "@ngrx/store";
40
+ import * as i36 from "@ngrx/effects";
41
+ import * as i37 from "@angular/common";
42
+ import * as i38 from "@provoly/dashboard";
43
+ import * as i39 from "@provoly/dashboard/components/checkbox";
44
+ import * as i40 from "@angular/forms";
45
+ import * as i41 from "@angular/router";
38
46
  export declare class PvyHypervisorModule {
39
47
  private baseConfig;
40
48
  private store;
@@ -46,6 +54,6 @@ export declare class PvyHypervisorModule {
46
54
  url: string;
47
55
  }, store: Store<any>, i18nService: PryI18nService);
48
56
  static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
49
- 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.HvyActionParameterComponent, typeof i24.HvyBaseParameterActionComponent, typeof i25.HvyOtherActionParameterComponent, typeof i26.ProcedureActionsComponent], [typeof i27.StoreFeatureModule, typeof i27.StoreFeatureModule, typeof i27.StoreFeatureModule, typeof i27.StoreFeatureModule, typeof i28.EffectsFeatureModule, typeof i29.NgForOf, typeof i29.AsyncPipe, typeof i30.PryI18nModule, typeof i30.PryCoreModule, typeof i29.NgStyle, typeof i31.PryCheckboxModule, typeof i32.FormsModule, typeof i33.RouterLink, typeof i30.PrySinceDateModule, typeof i29.DatePipe, typeof i30.PryIconModule, typeof i29.KeyValuePipe, typeof i30.PrySelectModule, typeof i29.JsonPipe, typeof i30.PryDatePickerModule], [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.HvyActionParameterComponent, typeof i24.HvyBaseParameterActionComponent, typeof i25.HvyOtherActionParameterComponent]>;
57
+ 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.HvyActionParameterComponent, typeof i24.HvyBaseParameterActionComponent, typeof i25.HvyOtherActionParameterComponent, typeof i26.HvyOtherActionDisplayComponent, typeof i27.HvyNoParamsActionDisplayComponent, typeof i28.HvySmsActionParameterComponent, typeof i29.HvySmsActionDisplayComponent, typeof i30.HvyEmailActionDisplayComponent, typeof i31.HvyEmailActionParameterComponent, typeof i32.HvyServiceActionParameterComponent, typeof i33.HvyServiceActionDisplayComponent, typeof i34.ProcedureActionsComponent], [typeof i35.StoreFeatureModule, typeof i35.StoreFeatureModule, typeof i35.StoreFeatureModule, typeof i35.StoreFeatureModule, typeof i36.EffectsFeatureModule, typeof i37.NgForOf, typeof i37.AsyncPipe, typeof i38.PryI18nModule, typeof i38.PryCoreModule, typeof i37.NgStyle, typeof i39.PryCheckboxModule, typeof i40.FormsModule, typeof i41.RouterLink, typeof i38.PrySinceDateModule, typeof i37.DatePipe, typeof i38.PryIconModule, typeof i37.KeyValuePipe, typeof i38.PrySelectModule, typeof i37.JsonPipe, typeof i38.PryDatePickerModule], [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.HvyActionParameterComponent, typeof i24.HvyBaseParameterActionComponent, typeof i25.HvyOtherActionParameterComponent, typeof i26.HvyOtherActionDisplayComponent, typeof i27.HvyNoParamsActionDisplayComponent, typeof i28.HvySmsActionParameterComponent, typeof i29.HvySmsActionDisplayComponent, typeof i30.HvyEmailActionDisplayComponent, typeof i31.HvyEmailActionParameterComponent, typeof i32.HvyServiceActionParameterComponent, typeof i33.HvyServiceActionDisplayComponent]>;
50
58
  static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
51
59
  }
@@ -3,6 +3,6 @@ export interface HypAction {
3
3
  type: string;
4
4
  status: string;
5
5
  lastModificationDate: string;
6
- _modify?: boolean;
7
- _create?: boolean;
6
+ _initial?: HypAction;
7
+ _status?: 'modify' | 'create';
8
8
  }
@@ -15,4 +15,5 @@
15
15
  @use "./o-hvy-event-filters" as *;
16
16
  @use "./o-hvy-procedure-list" as *;
17
17
  @use "./o-hvy-procedure-detail" as *;
18
+ @use "./o-hvy-procedure-actions" as *;
18
19
  @use "./o-hvy-action-menu" as *;
@@ -145,43 +145,6 @@
145
145
  background-color: white;
146
146
  border: 1px solid themed($theme-map, 'color', 'primary', 400);
147
147
 
148
- &__actions {
149
- &__action {
150
- display: flex;
151
- flex-direction: row;
152
- padding: toRem(20);
153
- gap: toRem(20);
154
-
155
- &:hover {
156
- background-color: themed($theme-map, 'color', 'primary', 300);
157
- }
158
-
159
- pry-icon:first-child {
160
- cursor: grab;
161
- color: #4E6C8C;
162
- }
163
-
164
- pry-checkbox {
165
- margin-top: toRem(3);
166
- }
167
-
168
- pry-icon:last-child {
169
- margin-left: auto;
170
- }
171
-
172
- &.-updating {
173
- background-color: #F5F5FA;
174
- }
175
-
176
- &__create {
177
- flex: 1;
178
- display: flex;
179
- flex-direction: column;
180
- gap: toRem(10);
181
- }
182
- }
183
- }
184
-
185
148
  &__button {
186
149
  margin-top: toRem(30);
187
150
  }
@@ -274,7 +237,3 @@
274
237
  background-color: #183C6B;
275
238
  opacity: 0.7;
276
239
  }
277
-
278
- .-done {
279
- text-decoration: line-through;
280
- }
@@ -0,0 +1,112 @@
1
+ @use 'node_modules/@provoly/dashboard/styles/abstracts' as *;
2
+ @use 'node_modules/@provoly/dashboard/styles-theme/abstracts-theme/variables.theme' as *;
3
+
4
+ .o-hvy-events-detail__procedure {
5
+ &__actions {
6
+ &__action {
7
+ display: flex;
8
+ flex-direction: row;
9
+ padding: toRem(20);
10
+ gap: toRem(20);
11
+
12
+ button:disabled {
13
+ opacity: 0.5;
14
+ }
15
+
16
+ .-hidden {
17
+ display: none;
18
+ }
19
+
20
+ .-done {
21
+ text-decoration: line-through;
22
+ }
23
+
24
+ .-disabled {
25
+ opacity: 0.5;
26
+ }
27
+
28
+ &:hover {
29
+ background-color: themed($theme-map, 'color', 'primary', 300);
30
+ }
31
+
32
+ pry-icon:first-child {
33
+ cursor: grab;
34
+ color: #4E6C8C;
35
+ }
36
+
37
+ pry-checkbox {
38
+ margin-top: toRem(3);
39
+ }
40
+
41
+ button:last-child {
42
+ margin-left: auto;
43
+ }
44
+
45
+ &.-updating {
46
+ background-color: #F5F5FA;
47
+ }
48
+
49
+ pry-icon.-disabled {
50
+ opacity: 0.5;
51
+ cursor: not-allowed;
52
+ }
53
+
54
+ &__create {
55
+ flex: 1;
56
+ display: flex;
57
+ flex-direction: column;
58
+ gap: toRem(10);
59
+
60
+ &__header {
61
+ display: flex;
62
+ flex-direction: row;
63
+ gap: toRem(10);
64
+
65
+ p {
66
+ flex: 1 1;
67
+ }
68
+ }
69
+ }
70
+
71
+ .number-badge {
72
+ border: toRem(1) solid black;
73
+ border-radius: 50%;
74
+ width: toRem(20);
75
+ min-width: toRem(20);
76
+ height: toRem(20);
77
+ font-size: toRem(14);
78
+ text-align: center;
79
+ color: black;
80
+ }
81
+ }
82
+
83
+ .-bold {
84
+ font-weight: bold;
85
+ }
86
+ }
87
+ }
88
+
89
+ hvy-action-parameter {
90
+ div.param-line {
91
+ display: flex;
92
+ flex-direction: row;
93
+ gap: toRem(5);
94
+ height: toRem(30);
95
+ }
96
+ }
97
+
98
+ hvy-sms-action-parameter, hvy-email-action-parameter {
99
+ .param-line {
100
+ * {
101
+ flex: 1 1;
102
+ }
103
+
104
+ .to {
105
+ flex: 0;
106
+ }
107
+
108
+ .phone {
109
+ flex: 0.8 0.8;
110
+ }
111
+ }
112
+ }