@gravitee/ui-policy-studio-angular 12.19.0 → 12.20.0-prerequisitemessage-0633ed0
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-step/gio-ps-flow-details-phase-step.component.mjs +33 -7
- package/esm2022/lib/components/step-form/gio-ps-step-form.component.mjs +9 -9
- package/esm2022/lib/models/policy/SharedPolicyGroupPolicy.mjs +1 -1
- package/esm2022/lib/policy-group-studio/gio-policy-group-studio.component.mjs +8 -3
- package/esm2022/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +3 -1
- package/esm2022/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.mjs +8 -1
- package/esm2022/testing/lib/models/policy/SharedPolicyGroupPolicy.mjs +1 -1
- package/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs +9 -0
- package/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs +46 -15
- 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/step-form/gio-ps-step-form.component.d.ts +1 -0
- package/lib/models/policy/SharedPolicyGroupPolicy.d.ts +1 -0
- package/lib/policy-group-studio/gio-policy-group-studio.component.d.ts +5 -2
- package/package.json +1 -1
- package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts +1 -0
- package/testing/lib/models/policy/SharedPolicyGroupPolicy.d.ts +1 -0
package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts
CHANGED
|
@@ -11,8 +11,9 @@ export declare class GioPolicyStudioDetailsPhaseStepComponent implements OnChang
|
|
|
11
11
|
stepChange: EventEmitter<Step>;
|
|
12
12
|
deleted: EventEmitter<void>;
|
|
13
13
|
disabled: EventEmitter<void>;
|
|
14
|
-
genericPolicy?: GenericPolicy;
|
|
15
|
-
protected
|
|
14
|
+
protected genericPolicy?: GenericPolicy;
|
|
15
|
+
protected policyNotFound: false | 'SHARED_POLICY_GROUP' | 'POLICY';
|
|
16
|
+
protected get getPrerequisiteMessage(): string | undefined;
|
|
16
17
|
constructor(matDialog: MatDialog);
|
|
17
18
|
ngOnChanges(changes: SimpleChanges): void;
|
|
18
19
|
onEditOrView(): void;
|
|
@@ -15,6 +15,7 @@ export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnIn
|
|
|
15
15
|
isValid: EventEmitter<boolean>;
|
|
16
16
|
policySchema$?: Observable<GioJsonSchema | null | undefined>;
|
|
17
17
|
policyDocumentation$?: Observable<string>;
|
|
18
|
+
infoBanner?: string;
|
|
18
19
|
stepForm?: UntypedFormGroup;
|
|
19
20
|
context?: GioJsonSchemaContext;
|
|
20
21
|
private unsubscribe$;
|
|
@@ -16,6 +16,10 @@ export declare class GioPolicyGroupStudioComponent implements OnChanges {
|
|
|
16
16
|
* List of policies usable in the studio
|
|
17
17
|
*/
|
|
18
18
|
policies: Policy[];
|
|
19
|
+
/**
|
|
20
|
+
* Whether the Policy Group Studio is in read-only mode
|
|
21
|
+
*/
|
|
22
|
+
readOnly: boolean;
|
|
19
23
|
/**
|
|
20
24
|
* Type of the API targeted by the Policy Group Studio
|
|
21
25
|
*/
|
|
@@ -40,7 +44,6 @@ export declare class GioPolicyGroupStudioComponent implements OnChanges {
|
|
|
40
44
|
*/
|
|
41
45
|
policyGroupChange: EventEmitter<PolicyGroupOutput>;
|
|
42
46
|
protected isLoading: boolean;
|
|
43
|
-
protected readOnly: boolean;
|
|
44
47
|
protected startConnector: (name: string) => ConnectorInfo[];
|
|
45
48
|
protected endConnector: (name: string) => ConnectorInfo[];
|
|
46
49
|
protected policyGroupVM?: PolicyGroupVM;
|
|
@@ -52,7 +55,7 @@ export declare class GioPolicyGroupStudioComponent implements OnChanges {
|
|
|
52
55
|
ngOnChanges(changes: SimpleChanges): void;
|
|
53
56
|
protected onStepsChange(steps: Step[]): void;
|
|
54
57
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyGroupStudioComponent, never>;
|
|
55
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyGroupStudioComponent, "gio-policy-group-studio", never, { "policies": { "alias": "policies"; "required": false; }; "apiType": { "alias": "apiType"; "required": true; }; "executionPhase": { "alias": "executionPhase"; "required": true; }; "policySchemaFetcher": { "alias": "policySchemaFetcher"; "required": true; }; "policyDocumentationFetcher": { "alias": "policyDocumentationFetcher"; "required": true; }; "policyGroup": { "alias": "policyGroup"; "required": false; }; }, { "policyGroupChange": "policyGroupChange"; }, never, never, true, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyGroupStudioComponent, "gio-policy-group-studio", never, { "policies": { "alias": "policies"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "apiType": { "alias": "apiType"; "required": true; }; "executionPhase": { "alias": "executionPhase"; "required": true; }; "policySchemaFetcher": { "alias": "policySchemaFetcher"; "required": true; }; "policyDocumentationFetcher": { "alias": "policyDocumentationFetcher"; "required": true; }; "policyGroup": { "alias": "policyGroup"; "required": false; }; }, { "policyGroupChange": "policyGroupChange"; }, never, never, true, never>;
|
|
56
59
|
static ngAcceptInputType_policies: unknown;
|
|
57
60
|
}
|
|
58
61
|
export {};
|
package/package.json
CHANGED
package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHar
|
|
|
11
11
|
static with(options?: GioPolicyStudioDetailsPhaseStepHarnessFilters): HarnessPredicate<GioPolicyStudioDetailsPhaseStepHarness>;
|
|
12
12
|
getName(): Promise<string>;
|
|
13
13
|
getDescription(): Promise<string | undefined>;
|
|
14
|
+
getInfoMessage(): Promise<string | undefined>;
|
|
14
15
|
clickOnEdit(): Promise<void>;
|
|
15
16
|
clickOnDelete(): Promise<void>;
|
|
16
17
|
clickOnDisableEnable(): Promise<void>;
|