@gravitee/ui-policy-studio-angular 12.12.0-conditional-json-schema-245b66c → 12.12.0-conditional-json-schema-dc1dd2a
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/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +3 -3
- package/esm2022/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +6 -2
- package/esm2022/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +4 -3
- package/esm2022/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +4 -3
- package/esm2022/lib/components/step-form/gio-ps-step-form.component.mjs +15 -12
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs +27 -18
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +3 -2
- package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts +1 -0
- package/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.d.ts +3 -1
- package/lib/components/step-form/gio-ps-step-form.component.d.ts +5 -3
- package/package.json +1 -1
package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { Policy, Step } from '../../models';
|
|
3
|
+
import { ExecutionPhase, Policy, Step } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GioPolicyStudioDetailsPhaseStepComponent implements OnChanges {
|
|
6
6
|
private readonly matDialog;
|
|
7
7
|
readOnly: boolean;
|
|
8
8
|
step: Step;
|
|
9
9
|
policies: Policy[];
|
|
10
|
+
executionPhase: ExecutionPhase;
|
|
10
11
|
stepChange: EventEmitter<Step>;
|
|
11
12
|
deleted: EventEmitter<void>;
|
|
12
13
|
disabled: EventEmitter<void>;
|
|
@@ -17,5 +18,5 @@ export declare class GioPolicyStudioDetailsPhaseStepComponent implements OnChang
|
|
|
17
18
|
onDisable(): void;
|
|
18
19
|
onDelete(): void;
|
|
19
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioDetailsPhaseStepComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseStepComponent, "gio-ps-flow-details-phase-step", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "policies": { "alias": "policies"; "required": false; }; }, { "stepChange": "stepChange"; "deleted": "deleted"; "disabled": "disabled"; }, never, never, false, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseStepComponent, "gio-ps-flow-details-phase-step", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "policies": { "alias": "policies"; "required": false; }; "executionPhase": { "alias": "executionPhase"; "required": true; }; }, { "stepChange": "stepChange"; "deleted": "deleted"; "disabled": "disabled"; }, never, never, false, never>;
|
|
21
22
|
}
|
package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts
CHANGED
|
@@ -16,6 +16,7 @@ type PolicyVM = Policy & {
|
|
|
16
16
|
export declare class GioPolicyStudioPoliciesCatalogDialogComponent implements OnDestroy {
|
|
17
17
|
dialogRef: MatDialogRef<GioPolicyStudioPoliciesCatalogDialogComponent, GioPolicyStudioPoliciesCatalogDialogResult>;
|
|
18
18
|
policies: PolicyVM[];
|
|
19
|
+
executionPhase: ExecutionPhase;
|
|
19
20
|
executionPhaseLabel: string;
|
|
20
21
|
selectedPolicy?: Policy;
|
|
21
22
|
stepToAdd?: Step;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { Policy, Step } from '../../models';
|
|
2
|
+
import { ExecutionPhase, Policy, Step } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export type GioPolicyStudioStepEditDialogData = {
|
|
5
5
|
policy: Policy;
|
|
6
6
|
step: Step;
|
|
7
|
+
executionPhase: ExecutionPhase;
|
|
7
8
|
readOnly?: boolean;
|
|
8
9
|
};
|
|
9
10
|
export type GioPolicyStudioStepEditDialogResult = undefined | Step;
|
|
@@ -11,6 +12,7 @@ export declare class GioPolicyStudioStepEditDialogComponent {
|
|
|
11
12
|
dialogRef: MatDialogRef<GioPolicyStudioStepEditDialogComponent, GioPolicyStudioStepEditDialogResult>;
|
|
12
13
|
policy: Policy;
|
|
13
14
|
step: Step;
|
|
15
|
+
executionPhase: ExecutionPhase;
|
|
14
16
|
isValid: boolean;
|
|
15
17
|
readOnly: boolean;
|
|
16
18
|
constructor(dialogRef: MatDialogRef<GioPolicyStudioStepEditDialogComponent, GioPolicyStudioStepEditDialogResult>, flowDialogData: GioPolicyStudioStepEditDialogData);
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
|
-
import { GioJsonSchema } from '@gravitee/ui-particles-angular';
|
|
4
|
+
import { GioJsonSchema, GioJsonSchemaContext } from '@gravitee/ui-particles-angular';
|
|
5
5
|
import { GioPolicyStudioService } from '../../gio-policy-studio.service';
|
|
6
|
-
import { Policy, Step } from '../../models';
|
|
6
|
+
import { ExecutionPhase, Policy, Step } from '../../models';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnInit, OnDestroy {
|
|
9
9
|
private readonly policyStudioService;
|
|
10
10
|
readOnly: boolean;
|
|
11
11
|
step?: Step;
|
|
12
|
+
executionPhase: ExecutionPhase;
|
|
12
13
|
policy: Policy;
|
|
13
14
|
stepChange: EventEmitter<Step>;
|
|
14
15
|
isValid: EventEmitter<boolean>;
|
|
15
16
|
policySchema$?: Observable<GioJsonSchema | null | undefined>;
|
|
16
17
|
policyDocumentation$?: Observable<string>;
|
|
17
18
|
stepForm?: UntypedFormGroup;
|
|
19
|
+
context?: GioJsonSchemaContext;
|
|
18
20
|
private unsubscribe$;
|
|
19
21
|
constructor(policyStudioService: GioPolicyStudioService);
|
|
20
22
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -24,5 +26,5 @@ export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnIn
|
|
|
24
26
|
onJsonSchemaReady(isReady: boolean): void;
|
|
25
27
|
emitStepChange(): void;
|
|
26
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioStepFormComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepFormComponent, "gio-ps-step-form", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "policy": { "alias": "policy"; "required": false; }; }, { "stepChange": "stepChange"; "isValid": "isValid"; }, never, never, false, never>;
|
|
29
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepFormComponent, "gio-ps-step-form", never, { "readOnly": { "alias": "readOnly"; "required": false; }; "step": { "alias": "step"; "required": false; }; "executionPhase": { "alias": "executionPhase"; "required": true; }; "policy": { "alias": "policy"; "required": false; }; }, { "stepChange": "stepChange"; "isValid": "isValid"; }, never, never, false, never>;
|
|
28
30
|
}
|
package/package.json
CHANGED