@provoly/hypervisor 0.0.60 → 0.0.61
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 +21 -13
- package/esm2022/src/lib/event/filters/text/text-filter.component.mjs +34 -0
- package/esm2022/src/lib/event/list/event-list.component.mjs +3 -2
- package/esm2022/src/lib/event/public-api.mjs +2 -1
- package/esm2022/src/lib/general/pad-id.function.mjs +6 -0
- package/esm2022/src/lib/general/public-api.mjs +2 -1
- package/esm2022/src/lib/hypervisor.module.mjs +12 -4
- package/esm2022/src/lib/model/event/hyp-event.interface.mjs +1 -1
- package/esm2022/src/lib/model/procedure/hyp-procedure-model.interface.mjs +1 -1
- package/esm2022/src/lib/model/procedure/hyp-procedure.interface.mjs +1 -1
- package/esm2022/src/lib/procedure/detail/procedure-detail.component.mjs +14 -0
- package/esm2022/src/lib/procedure/list/procedure-list.component.mjs +23 -24
- package/esm2022/src/lib/procedure/public-api.mjs +2 -1
- package/esm2022/src/lib/store/event/event.actions.mjs +1 -1
- package/esm2022/src/lib/store/event/event.effects.mjs +3 -3
- package/esm2022/src/lib/store/event/event.reducer.mjs +1 -1
- package/esm2022/src/lib/store/event/event.service.mjs +6 -2
- package/esm2022/src/lib/store/procedure/procedure.actions.mjs +5 -3
- package/esm2022/src/lib/store/procedure/procedure.reducer.mjs +14 -6
- package/esm2022/src/lib/store/procedure/procedure.selectors.mjs +4 -4
- package/esm2022/src/lib/store/procedure/procedure.service.mjs +18 -12
- package/fesm2022/provoly-hypervisor.mjs +134 -63
- package/fesm2022/provoly-hypervisor.mjs.map +1 -1
- package/package.json +1 -1
- package/src/lib/event/detail/event-detail.component.d.ts +4 -0
- package/src/lib/event/filters/text/text-filter.component.d.ts +14 -0
- package/src/lib/event/list/event-list.component.d.ts +1 -1
- package/src/lib/event/public-api.d.ts +1 -0
- package/src/lib/general/pad-id.function.d.ts +3 -0
- package/src/lib/general/public-api.d.ts +1 -0
- package/src/lib/hypervisor.module.d.ts +14 -12
- package/src/lib/model/event/hyp-event-detail.interface.d.ts +1 -1
- package/src/lib/model/event/hyp-event.interface.d.ts +1 -1
- package/src/lib/model/procedure/hyp-procedure-model.interface.d.ts +1 -1
- package/src/lib/model/procedure/hyp-procedure.interface.d.ts +3 -3
- package/src/lib/procedure/detail/procedure-detail.component.d.ts +8 -0
- package/src/lib/procedure/list/procedure-list.component.d.ts +10 -5
- package/src/lib/procedure/public-api.d.ts +1 -0
- package/src/lib/store/event/event.actions.d.ts +8 -8
- package/src/lib/store/event/event.effects.d.ts +2 -2
- package/src/lib/store/event/event.reducer.d.ts +1 -1
- package/src/lib/store/event/event.selectors.d.ts +1 -1
- package/src/lib/store/event/event.service.d.ts +5 -5
- package/src/lib/store/procedure/procedure.actions.d.ts +15 -5
- package/src/lib/store/procedure/procedure.reducer.d.ts +1 -1
- package/src/lib/store/procedure/procedure.selectors.d.ts +1 -1
- package/styles/components/_o-hvy-event-detail.scss +4 -0
- package/styles/components/_o-hvy-event-filters.scss +17 -0
- package/styles/components/_o-hvy-procedure-list.scss +6 -11
package/package.json
CHANGED
|
@@ -96,6 +96,10 @@ export declare class EventDetailComponent extends SubscriptionnerDirective {
|
|
|
96
96
|
allowDrop($event: MouseEvent): void;
|
|
97
97
|
confirmDisabled(): boolean;
|
|
98
98
|
toggleActionStatus(index: number, $event: MouseEvent): void;
|
|
99
|
+
get calculatedProgress(): number;
|
|
100
|
+
protected readonly padId: {
|
|
101
|
+
fn: (id: string | number) => string;
|
|
102
|
+
};
|
|
99
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventDetailComponent, never>;
|
|
100
104
|
static ɵcmp: i0.ɵɵComponentDeclaration<EventDetailComponent, "hvy-event-detail", never, { "title": { "alias": "title"; "required": false; }; "events": { "alias": "events"; "required": false; }; "procedure": { "alias": "procedure"; "required": false; }; "cancelModifications": { "alias": "cancelModifications"; "required": false; }; "equipmentName": { "alias": "equipmentName"; "required": false; }; }, { "modifiedEvents": "modifiedEvents"; "modifiedProcedure": "modifiedProcedure"; "eventErrors": "eventErrors"; }, never, never, false, never>;
|
|
101
105
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { HvyUnitFilterComponent } from '../hvy-unit-filter.class';
|
|
2
|
+
import { Store } from '@ngrx/store';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class TextFilterComponent extends HvyUnitFilterComponent {
|
|
5
|
+
private store;
|
|
6
|
+
value: string;
|
|
7
|
+
constructor(store: Store);
|
|
8
|
+
getParams(): {
|
|
9
|
+
[key: string]: string[];
|
|
10
|
+
};
|
|
11
|
+
triggerChange($event: Event): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<TextFilterComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TextFilterComponent, "hvy-text-filter", never, {}, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -16,7 +16,7 @@ export declare class EventListComponent extends SubscriptionnerDirective impleme
|
|
|
16
16
|
private router;
|
|
17
17
|
private scroll;
|
|
18
18
|
events$: Observable<HypEventDetails[]>;
|
|
19
|
-
selectedIds$: Observable<
|
|
19
|
+
selectedIds$: Observable<number[]>;
|
|
20
20
|
EVENT_LINK: {
|
|
21
21
|
fn: (event: HypEventDetails | HypEventSummary, store: Store<any>) => string[];
|
|
22
22
|
};
|
|
@@ -4,4 +4,5 @@ export * from './list/event-column-order.component';
|
|
|
4
4
|
export * from './filters/event-filters.component';
|
|
5
5
|
export * from './filters/date/date-filter.component';
|
|
6
6
|
export * from './filters/choice/choice-filter.component';
|
|
7
|
+
export * from './filters/text/text-filter.component';
|
|
7
8
|
export * from './procedure-association-modal/procedure-association-modal.component';
|
|
@@ -8,3 +8,4 @@ export * from './icon-display/icon-display.component';
|
|
|
8
8
|
export * from './status-display/status-display.component';
|
|
9
9
|
export * from './progress-display/progress-display.component';
|
|
10
10
|
export * from './column-order/column-order.component';
|
|
11
|
+
export * from './pad-id.function';
|
|
@@ -16,17 +16,19 @@ import * as i11 from "./general/progress-display/progress-display.component";
|
|
|
16
16
|
import * as i12 from "./general/column-order/column-order.component";
|
|
17
17
|
import * as i13 from "./event/filters/event-filters.component";
|
|
18
18
|
import * as i14 from "./event/filters/date/date-filter.component";
|
|
19
|
-
import * as i15 from "./event/filters/
|
|
20
|
-
import * as i16 from "./
|
|
21
|
-
import * as i17 from "./procedure/list/procedure-
|
|
22
|
-
import * as i18 from "./
|
|
23
|
-
import * as i19 from "
|
|
24
|
-
import * as i20 from "
|
|
25
|
-
import * as i21 from "@
|
|
26
|
-
import * as i22 from "@
|
|
27
|
-
import * as i23 from "@
|
|
28
|
-
import * as i24 from "@
|
|
29
|
-
import * as i25 from "@
|
|
19
|
+
import * as i15 from "./event/filters/text/text-filter.component";
|
|
20
|
+
import * as i16 from "./event/filters/choice/choice-filter.component";
|
|
21
|
+
import * as i17 from "./procedure/list/procedure-list.component";
|
|
22
|
+
import * as i18 from "./procedure/list/procedure-column-order.component";
|
|
23
|
+
import * as i19 from "./event/procedure-association-modal/procedure-association-modal.component";
|
|
24
|
+
import * as i20 from "./procedure/detail/procedure-detail.component";
|
|
25
|
+
import * as i21 from "@ngrx/store";
|
|
26
|
+
import * as i22 from "@ngrx/effects";
|
|
27
|
+
import * as i23 from "@angular/common";
|
|
28
|
+
import * as i24 from "@provoly/dashboard";
|
|
29
|
+
import * as i25 from "@provoly/dashboard/components/checkbox";
|
|
30
|
+
import * as i26 from "@angular/forms";
|
|
31
|
+
import * as i27 from "@angular/router";
|
|
30
32
|
export declare class PvyHypervisorModule {
|
|
31
33
|
private baseConfig;
|
|
32
34
|
private store;
|
|
@@ -38,6 +40,6 @@ export declare class PvyHypervisorModule {
|
|
|
38
40
|
url: string;
|
|
39
41
|
}, store: Store<any>, i18nService: PryI18nService);
|
|
40
42
|
static ɵfac: i0.ɵɵFactoryDeclaration<PvyHypervisorModule, never>;
|
|
41
|
-
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.
|
|
43
|
+
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.ProcedureDetailComponent], [typeof i21.StoreFeatureModule, typeof i21.StoreFeatureModule, typeof i21.StoreFeatureModule, typeof i21.StoreFeatureModule, typeof i22.EffectsFeatureModule, typeof i23.NgForOf, typeof i23.AsyncPipe, typeof i24.PryI18nModule, typeof i24.PryCoreModule, typeof i23.NgStyle, typeof i25.PryCheckboxModule, typeof i26.FormsModule, typeof i27.RouterLink, typeof i24.PrySinceDateModule, typeof i23.DatePipe, typeof i24.PryIconModule, typeof i23.KeyValuePipe, typeof i24.PrySelectModule, typeof i23.JsonPipe, typeof i24.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.ProcedureDetailComponent]>;
|
|
42
44
|
static ɵinj: i0.ɵɵInjectorDeclaration<PvyHypervisorModule>;
|
|
43
45
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HypEventDetails } from '../event/hyp-event-detail.interface';
|
|
2
2
|
import { HypAction } from './hyp-action.interface';
|
|
3
3
|
export interface HypProcedure {
|
|
4
|
-
id:
|
|
4
|
+
id: number;
|
|
5
5
|
name: string;
|
|
6
6
|
description: string;
|
|
7
7
|
creationDate: string;
|
|
@@ -31,13 +31,13 @@ export declare const procedureForWriteAPI: (procedure: HypProcedure) => {
|
|
|
31
31
|
linkedEvents: number;
|
|
32
32
|
procedureProgress?: number | undefined;
|
|
33
33
|
domain?: string | undefined;
|
|
34
|
-
id:
|
|
34
|
+
id: number;
|
|
35
35
|
name: string;
|
|
36
36
|
criticality: string;
|
|
37
37
|
type: string;
|
|
38
38
|
category: string;
|
|
39
39
|
}[];
|
|
40
|
-
id:
|
|
40
|
+
id: number;
|
|
41
41
|
name: string;
|
|
42
42
|
description: string;
|
|
43
43
|
creationDate: string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
2
|
+
import { HypProcedureModel } from '../../model/procedure/hyp-procedure-model.interface';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProcedureDetailComponent extends SubscriptionnerDirective {
|
|
5
|
+
model?: HypProcedureModel;
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureDetailComponent, never>;
|
|
7
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureDetailComponent, "hvy-procedure-detail", never, { "model": { "alias": "model"; "required": false; }; }, {}, never, never, false, never>;
|
|
8
|
+
}
|
|
@@ -7,24 +7,29 @@ import { SubscriptionnerDirective } from '@provoly/dashboard';
|
|
|
7
7
|
import { InfiniteScrollService } from '../../general/infiniteScroll.service';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare const PROCEDURE_LINK: {
|
|
10
|
-
fn: (procedure: HypProcedureModel, store: Store<any>) => string[];
|
|
10
|
+
fn: (procedure: HypProcedureModel, store: Store<any>) => (string | number)[];
|
|
11
11
|
};
|
|
12
12
|
export declare class ProcedureListComponent extends SubscriptionnerDirective implements AfterViewInit, OnDestroy {
|
|
13
13
|
protected store: Store<any>;
|
|
14
|
-
private el;
|
|
15
14
|
private router;
|
|
16
15
|
private scroll;
|
|
17
16
|
procedures$: Observable<HypProcedureModel[]>;
|
|
18
17
|
PROCEDURE_LINK: {
|
|
19
|
-
fn: (procedure: HypProcedureModel, store: Store<any>) => string[];
|
|
18
|
+
fn: (procedure: HypProcedureModel, store: Store<any>) => (string | number)[];
|
|
20
19
|
};
|
|
21
20
|
search: string;
|
|
22
21
|
search$: Subject<string>;
|
|
23
|
-
|
|
22
|
+
protected readonly DOMAINS: {
|
|
23
|
+
key: string;
|
|
24
|
+
}[];
|
|
25
|
+
scrollable: ElementRef;
|
|
26
|
+
constructor(store: Store<any>, router: Router, scroll: InfiniteScrollService);
|
|
24
27
|
ngAfterViewInit(): void;
|
|
25
28
|
emitSearch(): void;
|
|
26
29
|
goTo(procedure: HypProcedureModel): Promise<boolean>;
|
|
27
|
-
|
|
30
|
+
protected readonly padId: {
|
|
31
|
+
fn: (id: string | number) => string;
|
|
32
|
+
};
|
|
28
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProcedureListComponent, never>;
|
|
29
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProcedureListComponent, "hvy-procedure-list", never, {}, {}, never, ["*"], false, never>;
|
|
30
35
|
}
|
|
@@ -32,20 +32,20 @@ export declare const EventActions: {
|
|
|
32
32
|
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Set filters">>;
|
|
33
33
|
select: import("@ngrx/store").ActionCreator<"[Event Api] Select", (props: {
|
|
34
34
|
cumulative: boolean;
|
|
35
|
-
ids:
|
|
35
|
+
ids: number[];
|
|
36
36
|
}) => {
|
|
37
37
|
cumulative: boolean;
|
|
38
|
-
ids:
|
|
38
|
+
ids: number[];
|
|
39
39
|
} & import("@ngrx/store/src/models").TypedAction<"[Event Api] Select">>;
|
|
40
40
|
get: import("@ngrx/store").ActionCreator<"[Event] Load specific Event", (props: {
|
|
41
|
-
id:
|
|
41
|
+
id: number;
|
|
42
42
|
}) => {
|
|
43
|
-
id:
|
|
43
|
+
id: number;
|
|
44
44
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Load specific Event">>;
|
|
45
45
|
getForProcedure: import("@ngrx/store").ActionCreator<"[Event] Load specific Event for procedure", (props: {
|
|
46
|
-
id:
|
|
46
|
+
id: number;
|
|
47
47
|
}) => {
|
|
48
|
-
id:
|
|
48
|
+
id: number;
|
|
49
49
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Load specific Event for procedure">>;
|
|
50
50
|
getSuccess: import("@ngrx/store").ActionCreator<"[Event Api] (bus) Get Events/Procedure Success", (props: {
|
|
51
51
|
event?: HypEventDetails | undefined;
|
|
@@ -127,9 +127,9 @@ export declare const EventActions: {
|
|
|
127
127
|
order: string;
|
|
128
128
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] set log event sorting">>;
|
|
129
129
|
associateProcedure: import("@ngrx/store").ActionCreator<"[Event] Associate Procedure to Event", (props: {
|
|
130
|
-
procedureId:
|
|
130
|
+
procedureId: number;
|
|
131
131
|
}) => {
|
|
132
|
-
procedureId:
|
|
132
|
+
procedureId: number;
|
|
133
133
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Associate Procedure to Event">>;
|
|
134
134
|
associateProcedureFailure: import("@ngrx/store").ActionCreator<"[Event] Associate Procedure to Event Failure", (props: {
|
|
135
135
|
error: string;
|
|
@@ -42,9 +42,9 @@ export declare class EventEffects {
|
|
|
42
42
|
error: string;
|
|
43
43
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Save failure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
44
44
|
refreshAfterSave$: import("rxjs").Observable<({
|
|
45
|
-
id:
|
|
45
|
+
id: number;
|
|
46
46
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Load specific Event">) | ({
|
|
47
|
-
id:
|
|
47
|
+
id: number;
|
|
48
48
|
} & import("@ngrx/store/src/models").TypedAction<"[Event] Load specific Event for procedure">)> & import("@ngrx/effects").CreateEffectMetadata;
|
|
49
49
|
close$: import("rxjs").Observable<({
|
|
50
50
|
next?: boolean | undefined;
|
|
@@ -2,7 +2,7 @@ import { EventState } from './event.reducer';
|
|
|
2
2
|
export declare const EventSelectors: {
|
|
3
3
|
feature: import("@ngrx/store").MemoizedSelector<object, EventState, import("@ngrx/store").DefaultProjectorFn<EventState>>;
|
|
4
4
|
events: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventDetails[], (s1: EventState) => import("@provoly/hypervisor").HypEventDetails[]>;
|
|
5
|
-
selectedIds: import("@ngrx/store").MemoizedSelector<object,
|
|
5
|
+
selectedIds: import("@ngrx/store").MemoizedSelector<object, number[], (s1: EventState) => number[]>;
|
|
6
6
|
selectedEvents: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypEventDetails[], (s1: EventState) => import("@provoly/hypervisor").HypEventDetails[]>;
|
|
7
7
|
loading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: EventState) => boolean>;
|
|
8
8
|
filters: import("@ngrx/store").MemoizedSelector<object, import("../../event/filters/hvy-unit-filter.class").HvyFilterParams, (s1: EventState) => import("../../event/filters/hvy-unit-filter.class").HvyFilterParams>;
|
|
@@ -17,14 +17,14 @@ export declare class EventService {
|
|
|
17
17
|
private store;
|
|
18
18
|
constructor(httpClient: HttpClient, store: Store<any>);
|
|
19
19
|
list(startWith?: number, pageSize?: number): Observable<Array<HypEventDetails>>;
|
|
20
|
-
get(id:
|
|
20
|
+
get(id: number): Observable<HypEventDetails>;
|
|
21
21
|
getTooltipInfo(name: string): Observable<HypEventTooltip>;
|
|
22
|
-
getProcedure(id:
|
|
23
|
-
save(event: HypEventDetails): Observable<
|
|
24
|
-
saveProcedure(procedure: HypProcedure): Observable<
|
|
22
|
+
getProcedure(id: number): Observable<HypProcedure>;
|
|
23
|
+
save(event: HypEventDetails): Observable<HypEventDetails>;
|
|
24
|
+
saveProcedure(procedure: HypProcedure): Observable<HypProcedure>;
|
|
25
25
|
status(event: HypEventDetails, status: string, comment: string): Observable<void>;
|
|
26
26
|
statusProcedure(procedure: HypProcedure, status: string, comment: string): Observable<void>;
|
|
27
|
-
associateProcedure(procedureId:
|
|
27
|
+
associateProcedure(procedureId: number): Observable<void>;
|
|
28
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<EventService, never>;
|
|
29
29
|
static ɵprov: i0.ɵɵInjectableDeclaration<EventService>;
|
|
30
30
|
}
|
|
@@ -24,14 +24,24 @@ export declare const ProcedureActions: {
|
|
|
24
24
|
field: string;
|
|
25
25
|
order: string;
|
|
26
26
|
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Set Procedure List Sorting">>;
|
|
27
|
-
search: import("@ngrx/store").ActionCreator<"[Procedure] Set Search Query Value", (props: {
|
|
28
|
-
search?: string | undefined;
|
|
29
|
-
}) => {
|
|
30
|
-
search?: string | undefined;
|
|
31
|
-
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Set Search Query Value">>;
|
|
32
27
|
setCategory: import("@ngrx/store").ActionCreator<"[Procedure] Set Category Value", (props: {
|
|
33
28
|
category?: string | undefined;
|
|
34
29
|
}) => {
|
|
35
30
|
category?: string | undefined;
|
|
36
31
|
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Set Category Value">>;
|
|
32
|
+
model: import("@ngrx/store").ActionCreator<"[Procedure] Get Procedure Model", (props: {
|
|
33
|
+
id?: string | undefined;
|
|
34
|
+
}) => {
|
|
35
|
+
id?: string | undefined;
|
|
36
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Get Procedure Model">>;
|
|
37
|
+
modelSuccess: import("@ngrx/store").ActionCreator<"[Procedure] Get Procedure Model", (props: {
|
|
38
|
+
model: HypProcedureModel;
|
|
39
|
+
}) => {
|
|
40
|
+
model: HypProcedureModel;
|
|
41
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Get Procedure Model">>;
|
|
42
|
+
modelFailure: import("@ngrx/store").ActionCreator<"[Procedure] Get Procedure Model", (props: {
|
|
43
|
+
error?: any;
|
|
44
|
+
}) => {
|
|
45
|
+
error?: any;
|
|
46
|
+
} & import("@ngrx/store/src/models").TypedAction<"[Procedure] Get Procedure Model">>;
|
|
37
47
|
};
|
|
@@ -5,11 +5,11 @@ export interface ProcedureState {
|
|
|
5
5
|
procedures: HypProcedureModel[];
|
|
6
6
|
noMoreProcedures: boolean;
|
|
7
7
|
loading: boolean;
|
|
8
|
-
search?: string;
|
|
9
8
|
sort?: {
|
|
10
9
|
field: string;
|
|
11
10
|
order: string;
|
|
12
11
|
};
|
|
12
|
+
model?: HypProcedureModel;
|
|
13
13
|
}
|
|
14
14
|
export declare const procedureInitialState: ProcedureState;
|
|
15
15
|
export declare function procedureReducer(state: ProcedureState, action: Action): ProcedureState;
|
|
@@ -4,7 +4,6 @@ export declare const ProcedureSelectors: {
|
|
|
4
4
|
procedures: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypProcedureModel[], (s1: ProcedureState) => import("@provoly/hypervisor").HypProcedureModel[]>;
|
|
5
5
|
loading: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: ProcedureState) => boolean>;
|
|
6
6
|
noMoreProcedures: import("@ngrx/store").MemoizedSelector<object, boolean, (s1: ProcedureState) => boolean>;
|
|
7
|
-
search: import("@ngrx/store").MemoizedSelector<object, string | undefined, (s1: ProcedureState) => string | undefined>;
|
|
8
7
|
sort: import("@ngrx/store").MemoizedSelector<object, {
|
|
9
8
|
field: string;
|
|
10
9
|
order: string;
|
|
@@ -12,4 +11,5 @@ export declare const ProcedureSelectors: {
|
|
|
12
11
|
field: string;
|
|
13
12
|
order: string;
|
|
14
13
|
} | undefined>;
|
|
14
|
+
model: import("@ngrx/store").MemoizedSelector<object, import("@provoly/hypervisor").HypProcedureModel | undefined, (s1: ProcedureState) => import("@provoly/hypervisor").HypProcedureModel | undefined>;
|
|
15
15
|
};
|
|
@@ -84,3 +84,20 @@
|
|
|
84
84
|
margin-right: toRem(10);
|
|
85
85
|
}
|
|
86
86
|
}
|
|
87
|
+
|
|
88
|
+
.o-hvy-text-filters {
|
|
89
|
+
position: relative;
|
|
90
|
+
|
|
91
|
+
&__search-input.a-form-field {
|
|
92
|
+
padding-left: toRem(60);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
&__search-icon {
|
|
96
|
+
position: absolute;
|
|
97
|
+
top: 5px;
|
|
98
|
+
left: 20px;
|
|
99
|
+
&__filter {
|
|
100
|
+
margin-left: auto;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
.o-procedure-list {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
&__search-input.a-form-field {
|
|
7
|
-
padding-left: 60px;
|
|
8
|
-
}
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
height: 100%;
|
|
9
5
|
|
|
10
|
-
&
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
left: 20px;
|
|
6
|
+
&__table {
|
|
7
|
+
display: flex;
|
|
8
|
+
overflow: auto;
|
|
14
9
|
}
|
|
15
10
|
}
|