@gravitee/ui-policy-studio-angular 7.51.1 → 7.52.0-angular15-53508d0
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/esm2020/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.mjs +3 -3
- package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +14 -14
- package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +7 -7
- package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +13 -13
- package/esm2020/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +11 -11
- package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +20 -20
- package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +23 -23
- package/esm2020/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.mjs +23 -23
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +12 -12
- package/esm2020/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +22 -22
- package/esm2020/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +12 -12
- package/esm2020/lib/components/step-form/gio-ps-step-form.component.mjs +15 -15
- package/esm2020/lib/gio-policy-studio.component.mjs +9 -9
- package/esm2020/lib/gio-policy-studio.module.mjs +33 -35
- package/esm2020/lib/gio-policy-studio.service.mjs +1 -1
- package/esm2020/testing/lib/components/flow-details/gio-ps-flow-details.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.mjs +2 -2
- package/esm2020/testing/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +2 -2
- package/esm2020/testing/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.harness.mjs +4 -4
- package/esm2020/testing/lib/components/step-form/gio-ps-step-form.harness.mjs +2 -2
- package/esm2020/testing/lib/gio-policy-studio.harness.mjs +3 -3
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +43 -43
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +155 -154
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +43 -43
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +155 -154
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.d.ts +1 -1
- package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +2 -2
- package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +1 -1
- package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +3 -3
- package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +2 -2
- package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts +5 -5
- package/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.d.ts +5 -5
- package/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.d.ts +6 -6
- package/lib/components/flow-form-dialog/gio-ps-flow-form-dialog-result.model.d.ts +1 -1
- package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +2 -2
- package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts +8 -8
- package/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.d.ts +4 -4
- package/lib/components/step-form/gio-ps-step-form.component.d.ts +3 -3
- package/lib/gio-policy-studio.component.d.ts +1 -1
- package/lib/gio-policy-studio.module.d.ts +11 -11
- package/lib/models/ConnectorsInfo.d.ts +1 -1
- package/lib/models/PolicySchemaFetcher.d.ts +2 -2
- package/lib/models/SaveOutput.d.ts +1 -1
- package/lib/models/flow/ApiType.d.ts +1 -1
- package/lib/models/flow/FlowExecution.d.ts +1 -1
- package/lib/models/flow/HttpMethod.d.ts +1 -1
- package/lib/models/flow/Selector.d.ts +4 -4
- package/lib/models/policy/Policy.d.ts +1 -1
- package/package.json +11 -11
- package/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.d.ts +3 -3
- package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts +1 -1
- package/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.d.ts +1 -1
- package/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.d.ts +1 -1
- package/testing/lib/components/step-form/gio-ps-step-form.harness.d.ts +1 -1
- package/testing/lib/models/ConnectorsInfo.d.ts +1 -1
- package/testing/lib/models/PolicySchemaFetcher.d.ts +2 -2
- package/testing/lib/models/SaveOutput.d.ts +1 -1
- package/testing/lib/models/flow/ApiType.d.ts +1 -1
- package/testing/lib/models/flow/FlowExecution.d.ts +1 -1
- package/testing/lib/models/flow/HttpMethod.d.ts +1 -1
- package/testing/lib/models/flow/Selector.d.ts +4 -4
- package/testing/lib/models/policy/Policy.d.ts +1 -1
- package/testing/package.json +0 -10
- /package/{gravitee-ui-policy-studio-angular.d.ts → index.d.ts} +0 -0
- /package/testing/{gravitee-ui-policy-studio-angular-testing.d.ts → index.d.ts} +0 -0
|
@@ -4,5 +4,5 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class GioFilterConnectorsByModePipe implements PipeTransform {
|
|
5
5
|
transform(items: ConnectorInfo[], mode: ConnectorMode, activeModes?: ConnectorMode[]): ConnectorInfo[];
|
|
6
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioFilterConnectorsByModePipe, never>;
|
|
7
|
-
static ɵpipe: i0.ɵɵPipeDeclaration<GioFilterConnectorsByModePipe, "gioFilterConnectorsByMode">;
|
|
7
|
+
static ɵpipe: i0.ɵɵPipeDeclaration<GioFilterConnectorsByModePipe, "gioFilterConnectorsByMode", false>;
|
|
8
8
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
3
3
|
import { FlowVM } from '../../gio-policy-studio.model';
|
|
4
4
|
import { ApiType, ConnectorInfo, Operation, Policy, Step } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -22,5 +22,5 @@ export declare class GioPolicyStudioDetailsComponent implements OnChanges {
|
|
|
22
22
|
onDeleteFlow(): void;
|
|
23
23
|
onStepsChange(flowPhase: 'request' | 'response' | 'publish' | 'subscribe', steps: Step[]): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioDetailsComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsComponent, "gio-ps-flow-details", never, { "loading": "loading"; "apiType": "apiType"; "flow": "flow"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "policies": "policies"; "trialUrl": "trialUrl"; }, { "flowChange": "flowChange"; "deleteFlow": "deleteFlow"; }, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsComponent, "gio-ps-flow-details", never, { "loading": "loading"; "apiType": "apiType"; "flow": "flow"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "policies": "policies"; "trialUrl": "trialUrl"; }, { "flowChange": "flowChange"; "deleteFlow": "deleteFlow"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -16,5 +16,5 @@ export declare class GioPolicyStudioDetailsInfoBarComponent {
|
|
|
16
16
|
class: string;
|
|
17
17
|
}[] | undefined;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioDetailsInfoBarComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsInfoBarComponent, "gio-ps-flow-details-info-bar", never, { "flow": "flow"; "entrypointsInfo": "entrypointsInfo"; }, {}, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsInfoBarComponent, "gio-ps-flow-details-info-bar", never, { "flow": "flow"; "entrypointsInfo": "entrypointsInfo"; }, {}, never, never, false, never>;
|
|
20
20
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
3
3
|
import { ApiType, ConnectorInfo, ExecutionPhase, Policy, Step } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
|
|
5
|
+
type StepVM = {
|
|
6
6
|
type: 'connectors';
|
|
7
7
|
connectors: {
|
|
8
8
|
name?: string;
|
|
@@ -34,6 +34,6 @@ export declare class GioPolicyStudioDetailsPhaseComponent implements OnChanges {
|
|
|
34
34
|
onStepDeleted(index: number): void;
|
|
35
35
|
onStepDisabled(index: number): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioDetailsPhaseComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseComponent, "gio-ps-flow-details-phase", never, { "steps": "steps"; "name": "name"; "description": "description"; "startConnector": "startConnector"; "endConnector": "endConnector"; "apiType": "apiType"; "policies": "policies"; "policyExecutionPhase": "policyExecutionPhase"; "trialUrl": "trialUrl"; }, { "stepsChange": "stepsChange"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseComponent, "gio-ps-flow-details-phase", never, { "steps": "steps"; "name": "name"; "description": "description"; "startConnector": "startConnector"; "endConnector": "endConnector"; "apiType": "apiType"; "policies": "policies"; "policyExecutionPhase": "policyExecutionPhase"; "trialUrl": "trialUrl"; }, { "stepsChange": "stepsChange"; }, never, never, false, never>;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
3
3
|
import { Policy, Step } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class GioPolicyStudioDetailsPhaseStepComponent implements OnChanges {
|
|
@@ -16,5 +16,5 @@ export declare class GioPolicyStudioDetailsPhaseStepComponent implements OnChang
|
|
|
16
16
|
onDisable(): void;
|
|
17
17
|
onDelete(): void;
|
|
18
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioDetailsPhaseStepComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseStepComponent, "gio-ps-flow-details-phase-step", never, { "step": "step"; "policies": "policies"; }, { "stepChange": "stepChange"; "deleted": "deleted"; "disabled": "disabled"; }, never, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioDetailsPhaseStepComponent, "gio-ps-flow-details-phase-step", never, { "step": "step"; "policies": "policies"; }, { "stepChange": "stepChange"; "deleted": "deleted"; "disabled": "disabled"; }, never, never, false, never>;
|
|
20
20
|
}
|
package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
1
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowExecution } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export
|
|
5
|
+
export type GioPolicyStudioFlowExecutionFormDialogData = {
|
|
6
6
|
flowExecution?: FlowExecution;
|
|
7
7
|
};
|
|
8
8
|
export declare class GioPolicyStudioFlowExecutionFormDialogComponent {
|
|
9
9
|
dialogRef: MatDialogRef<GioPolicyStudioFlowExecutionFormDialogComponent, FlowExecution | undefined>;
|
|
10
|
-
flowExecutionFormGroup?:
|
|
10
|
+
flowExecutionFormGroup?: UntypedFormGroup;
|
|
11
11
|
existingFlowExecution?: FlowExecution;
|
|
12
12
|
constructor(dialogRef: MatDialogRef<GioPolicyStudioFlowExecutionFormDialogComponent, FlowExecution | undefined>, flowDialogData: GioPolicyStudioFlowExecutionFormDialogData);
|
|
13
13
|
onSubmit(): void;
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioFlowExecutionFormDialogComponent, never>;
|
|
15
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowExecutionFormDialogComponent, "gio-ps-flow-execution-form-dialog", never, {}, {}, never, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowExecutionFormDialogComponent, "gio-ps-flow-execution-form-dialog", never, {}, {}, never, never, false, never>;
|
|
16
16
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
1
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowVM } from '../../../gio-policy-studio.model';
|
|
4
4
|
import { ConnectorInfo } from '../../../models';
|
|
5
5
|
import { GioPolicyStudioFlowFormDialogResult } from '../gio-ps-flow-form-dialog-result.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
7
|
+
export type GioPolicyStudioFlowMessageFormDialogData = {
|
|
8
8
|
flow?: FlowVM;
|
|
9
9
|
entrypoints?: ConnectorInfo[];
|
|
10
10
|
};
|
|
11
11
|
export declare class GioPolicyStudioFlowMessageFormDialogComponent {
|
|
12
12
|
dialogRef: MatDialogRef<GioPolicyStudioFlowMessageFormDialogComponent, GioPolicyStudioFlowFormDialogResult>;
|
|
13
13
|
entrypoints: ConnectorInfo[];
|
|
14
|
-
flowFormGroup?:
|
|
14
|
+
flowFormGroup?: UntypedFormGroup;
|
|
15
15
|
existingFlow?: FlowVM;
|
|
16
16
|
mode: 'create' | 'edit';
|
|
17
17
|
constructor(dialogRef: MatDialogRef<GioPolicyStudioFlowMessageFormDialogComponent, GioPolicyStudioFlowFormDialogResult>, flowDialogData: GioPolicyStudioFlowMessageFormDialogData);
|
|
18
18
|
onSubmit(): void;
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioFlowMessageFormDialogComponent, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowMessageFormDialogComponent, "gio-ps-flow-message-form-dialog", never, {}, {}, never, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowMessageFormDialogComponent, "gio-ps-flow-message-form-dialog", never, {}, {}, never, never, false, never>;
|
|
21
21
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
1
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowVM } from '../../../gio-policy-studio.model';
|
|
4
4
|
import { HttpMethod } from '../../../models';
|
|
5
5
|
import { GioPolicyStudioFlowFormDialogResult } from '../gio-ps-flow-form-dialog-result.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export
|
|
7
|
+
export type GioPolicyStudioFlowProxyFormDialogData = {
|
|
8
8
|
flow?: FlowVM;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type HttpMethodVM = HttpMethod | 'ALL';
|
|
11
11
|
export declare class GioPolicyStudioFlowProxyFormDialogComponent {
|
|
12
12
|
dialogRef: MatDialogRef<GioPolicyStudioFlowProxyFormDialogComponent, GioPolicyStudioFlowFormDialogResult>;
|
|
13
|
-
flowFormGroup?:
|
|
13
|
+
flowFormGroup?: UntypedFormGroup;
|
|
14
14
|
existingFlow?: FlowVM;
|
|
15
15
|
mode: 'create' | 'edit';
|
|
16
16
|
methods: HttpMethodVM[];
|
|
@@ -18,7 +18,7 @@ export declare class GioPolicyStudioFlowProxyFormDialogComponent {
|
|
|
18
18
|
onSubmit(): void;
|
|
19
19
|
tagValidationHook(tag: string, validationCb: (shouldAddTag: boolean) => void): void;
|
|
20
20
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioFlowProxyFormDialogComponent, never>;
|
|
21
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowProxyFormDialogComponent, "gio-ps-flow-proxy-form-dialog", never, {}, {}, never, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowProxyFormDialogComponent, "gio-ps-flow-proxy-form-dialog", never, {}, {}, never, never, false, never>;
|
|
22
22
|
}
|
|
23
23
|
export declare const sanitizePath: (path: string) => string;
|
|
24
24
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { FlowVM } from '../../gio-policy-studio.model';
|
|
2
|
-
export
|
|
2
|
+
export type GioPolicyStudioFlowFormDialogResult = FlowVM | false;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
+
import { MatLegacyDialog as MatDialog } from '@angular/material/legacy-dialog';
|
|
3
3
|
import { FlowGroupVM, FlowVM } from '../../gio-policy-studio.model';
|
|
4
4
|
import { ApiType, ConnectorInfo, FlowExecution } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
@@ -34,6 +34,6 @@ export declare class GioPolicyStudioFlowsMenuComponent implements OnChanges {
|
|
|
34
34
|
onAddFlow(flowGroup: FlowGroupVM): void;
|
|
35
35
|
onConfigureExecution(flowExecution: FlowExecution): void;
|
|
36
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioFlowsMenuComponent, never>;
|
|
37
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowsMenuComponent, "gio-ps-flows-menu", never, { "loading": "loading"; "apiType": "apiType"; "flowExecution": "flowExecution"; "flowsGroups": "flowsGroups"; "selectedFlow": "selectedFlow"; "entrypoints": "entrypoints"; }, { "selectedFlowChange": "selectedFlowChange"; "flowsGroupsChange": "flowsGroupsChange"; "flowExecutionChange": "flowExecutionChange"; }, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioFlowsMenuComponent, "gio-ps-flows-menu", never, { "loading": "loading"; "apiType": "apiType"; "flowExecution": "flowExecution"; "flowsGroups": "flowsGroups"; "selectedFlow": "selectedFlow"; "entrypoints": "entrypoints"; }, { "selectedFlowChange": "selectedFlowChange"; "flowsGroupsChange": "flowsGroupsChange"; "flowExecutionChange": "flowExecutionChange"; }, never, never, false, never>;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import {
|
|
2
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
3
|
+
import { UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
4
4
|
import { ApiType, ExecutionPhase, Policy, Step } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export
|
|
6
|
+
export type GioPolicyStudioPoliciesCatalogDialogData = {
|
|
7
7
|
policies: Policy[];
|
|
8
8
|
executionPhase: ExecutionPhase;
|
|
9
9
|
apiType: ApiType;
|
|
10
10
|
trialUrl?: string;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
13
|
-
|
|
12
|
+
export type GioPolicyStudioPoliciesCatalogDialogResult = undefined | Step;
|
|
13
|
+
type PolicyVM = Policy & {
|
|
14
14
|
category: string;
|
|
15
15
|
};
|
|
16
16
|
export declare class GioPolicyStudioPoliciesCatalogDialogComponent implements OnDestroy {
|
|
@@ -21,8 +21,8 @@ export declare class GioPolicyStudioPoliciesCatalogDialogComponent implements On
|
|
|
21
21
|
stepToAdd?: Step;
|
|
22
22
|
categories: string[];
|
|
23
23
|
isValid: boolean;
|
|
24
|
-
selectedCategoriesControl?:
|
|
25
|
-
filtersForm:
|
|
24
|
+
selectedCategoriesControl?: UntypedFormControl;
|
|
25
|
+
filtersForm: UntypedFormGroup;
|
|
26
26
|
private allPolicies;
|
|
27
27
|
private unsubscribe$;
|
|
28
28
|
isUnlicensed: boolean;
|
|
@@ -35,6 +35,6 @@ export declare class GioPolicyStudioPoliciesCatalogDialogComponent implements On
|
|
|
35
35
|
onAddPolicy(): void;
|
|
36
36
|
onGoBack(): void;
|
|
37
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioPoliciesCatalogDialogComponent, never>;
|
|
38
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioPoliciesCatalogDialogComponent, "gio-ps-policies-catalog-dialog", never, {}, {}, never, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioPoliciesCatalogDialogComponent, "gio-ps-policies-catalog-dialog", never, {}, {}, never, never, false, never>;
|
|
39
39
|
}
|
|
40
40
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { MatDialogRef } from '@angular/material/dialog';
|
|
1
|
+
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
|
|
2
2
|
import { Policy, Step } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export
|
|
4
|
+
export type GioPolicyStudioStepEditDialogData = {
|
|
5
5
|
policy: Policy;
|
|
6
6
|
step: Step;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type GioPolicyStudioStepEditDialogResult = undefined | Step;
|
|
9
9
|
export declare class GioPolicyStudioStepEditDialogComponent {
|
|
10
10
|
dialogRef: MatDialogRef<GioPolicyStudioStepEditDialogComponent, GioPolicyStudioStepEditDialogResult>;
|
|
11
11
|
policy: Policy;
|
|
@@ -14,5 +14,5 @@ export declare class GioPolicyStudioStepEditDialogComponent {
|
|
|
14
14
|
constructor(dialogRef: MatDialogRef<GioPolicyStudioStepEditDialogComponent, GioPolicyStudioStepEditDialogResult>, flowDialogData: GioPolicyStudioStepEditDialogData);
|
|
15
15
|
onSave(): void;
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioStepEditDialogComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepEditDialogComponent, "gio-ps-step-edit-dialog", never, {}, {}, never, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepEditDialogComponent, "gio-ps-step-edit-dialog", never, {}, {}, never, never, false, never>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { UntypedFormGroup } from '@angular/forms';
|
|
3
3
|
import { Observable } from 'rxjs';
|
|
4
4
|
import { GioJsonSchema } from '@gravitee/ui-particles-angular';
|
|
5
5
|
import { GioPolicyStudioService } from '../../gio-policy-studio.service';
|
|
@@ -13,7 +13,7 @@ export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnIn
|
|
|
13
13
|
isValid: EventEmitter<boolean>;
|
|
14
14
|
policySchema$?: Observable<GioJsonSchema | null | undefined>;
|
|
15
15
|
policyDocumentation$?: Observable<string>;
|
|
16
|
-
stepForm?:
|
|
16
|
+
stepForm?: UntypedFormGroup;
|
|
17
17
|
private unsubscribe$;
|
|
18
18
|
constructor(policyStudioService: GioPolicyStudioService);
|
|
19
19
|
ngOnChanges(changes: SimpleChanges): void;
|
|
@@ -22,5 +22,5 @@ export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnIn
|
|
|
22
22
|
private initStepForm;
|
|
23
23
|
onJsonSchemaReady(isReady: boolean): void;
|
|
24
24
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioStepFormComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepFormComponent, "gio-ps-step-form", never, { "step": "step"; "policy": "policy"; }, { "stepChange": "stepChange"; "isValid": "isValid"; }, never, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepFormComponent, "gio-ps-step-form", never, { "step": "step"; "policy": "policy"; }, { "stepChange": "stepChange"; "isValid": "isValid"; }, never, never, false, never>;
|
|
26
26
|
}
|
|
@@ -74,5 +74,5 @@ export declare class GioPolicyStudioComponent implements OnChanges, OnDestroy {
|
|
|
74
74
|
onDeleteSelectedFlow(flow: FlowVM): void;
|
|
75
75
|
onSave(): void;
|
|
76
76
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioComponent, never>;
|
|
77
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "flowExecution": "flowExecution"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; "policies": "policies"; "trialUrl": "trialUrl"; "loading": "loading"; "policySchemaFetcher": "policySchemaFetcher"; "policyDocumentationFetcher": "policyDocumentationFetcher"; }, { "save": "save"; }, never, never>;
|
|
77
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "flowExecution": "flowExecution"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; "policies": "policies"; "trialUrl": "trialUrl"; "loading": "loading"; "policySchemaFetcher": "policySchemaFetcher"; "policyDocumentationFetcher": "policyDocumentationFetcher"; }, { "save": "save"; }, never, never, false, never>;
|
|
78
78
|
}
|
|
@@ -14,19 +14,19 @@ import * as i12 from "./components/step-edit-dialog/gio-ps-step-edit-dialog.comp
|
|
|
14
14
|
import * as i13 from "./components/step-form/gio-ps-step-form.component";
|
|
15
15
|
import * as i14 from "@angular/common";
|
|
16
16
|
import * as i15 from "@angular/forms";
|
|
17
|
-
import * as i16 from "@angular/material/button";
|
|
18
|
-
import * as i17 from "@angular/material/tooltip";
|
|
19
|
-
import * as i18 from "@angular/material/form-field";
|
|
20
|
-
import * as i19 from "@angular/material/input";
|
|
21
|
-
import * as i20 from "@angular/material/select";
|
|
22
|
-
import * as i21 from "@angular/material/slide-toggle";
|
|
23
|
-
import * as i22 from "@angular/material/dialog";
|
|
24
|
-
import * as i23 from "@angular/material/tabs";
|
|
25
|
-
import * as i24 from "@angular/material/menu";
|
|
26
|
-
import * as i25 from "@angular/material/chips";
|
|
17
|
+
import * as i16 from "@angular/material/legacy-button";
|
|
18
|
+
import * as i17 from "@angular/material/legacy-tooltip";
|
|
19
|
+
import * as i18 from "@angular/material/legacy-form-field";
|
|
20
|
+
import * as i19 from "@angular/material/legacy-input";
|
|
21
|
+
import * as i20 from "@angular/material/legacy-select";
|
|
22
|
+
import * as i21 from "@angular/material/legacy-slide-toggle";
|
|
23
|
+
import * as i22 from "@angular/material/legacy-dialog";
|
|
24
|
+
import * as i23 from "@angular/material/legacy-tabs";
|
|
25
|
+
import * as i24 from "@angular/material/legacy-menu";
|
|
26
|
+
import * as i25 from "@angular/material/legacy-chips";
|
|
27
27
|
import * as i26 from "@gravitee/ui-particles-angular";
|
|
28
28
|
export declare class GioPolicyStudioModule {
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioModule, never>;
|
|
30
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<GioPolicyStudioModule, [typeof i1.GioPolicyStudioComponent, typeof i2.GioPolicyStudioFlowsMenuComponent, typeof i3.GioPolicyStudioDetailsComponent, typeof i4.GioPolicyStudioFlowExecutionFormDialogComponent, typeof i5.GioPolicyStudioFlowMessageFormDialogComponent, typeof i6.GioPolicyStudioFlowProxyFormDialogComponent, typeof i7.GioPolicyStudioDetailsInfoBarComponent, typeof i8.GioPolicyStudioDetailsPhaseComponent, typeof i9.GioPolicyStudioDetailsPhaseStepComponent, typeof i10.GioFilterConnectorsByModePipe, typeof i11.GioPolicyStudioPoliciesCatalogDialogComponent, typeof i12.GioPolicyStudioStepEditDialogComponent, typeof i13.GioPolicyStudioStepFormComponent], [typeof i14.CommonModule, typeof i15.ReactiveFormsModule, typeof i16.
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<GioPolicyStudioModule, [typeof i1.GioPolicyStudioComponent, typeof i2.GioPolicyStudioFlowsMenuComponent, typeof i3.GioPolicyStudioDetailsComponent, typeof i4.GioPolicyStudioFlowExecutionFormDialogComponent, typeof i5.GioPolicyStudioFlowMessageFormDialogComponent, typeof i6.GioPolicyStudioFlowProxyFormDialogComponent, typeof i7.GioPolicyStudioDetailsInfoBarComponent, typeof i8.GioPolicyStudioDetailsPhaseComponent, typeof i9.GioPolicyStudioDetailsPhaseStepComponent, typeof i10.GioFilterConnectorsByModePipe, typeof i11.GioPolicyStudioPoliciesCatalogDialogComponent, typeof i12.GioPolicyStudioStepEditDialogComponent, typeof i13.GioPolicyStudioStepFormComponent], [typeof i14.CommonModule, typeof i15.ReactiveFormsModule, typeof i16.MatLegacyButtonModule, typeof i17.MatLegacyTooltipModule, typeof i18.MatLegacyFormFieldModule, typeof i19.MatLegacyInputModule, typeof i20.MatLegacySelectModule, typeof i21.MatLegacySlideToggleModule, typeof i22.MatLegacyDialogModule, typeof i23.MatLegacyTabsModule, typeof i24.MatLegacyMenuModule, typeof i25.MatLegacyChipsModule, typeof i26.GioIconsModule, typeof i26.GioFormSlideToggleModule, typeof i26.GioFormTagsInputModule, typeof i26.GioBannerModule, typeof i26.GioFormJsonSchemaModule, typeof i26.GioAsciidoctorModule, typeof i26.GioLoaderModule], [typeof i1.GioPolicyStudioComponent]>;
|
|
31
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<GioPolicyStudioModule>;
|
|
32
32
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Policy } from './policy/Policy';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
+
export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ApiType = 'MESSAGE' | 'PROXY';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const HttpMethods: readonly ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE", "OTHER"];
|
|
2
|
-
export
|
|
2
|
+
export type HttpMethod = (typeof HttpMethods)[number];
|
|
3
3
|
export declare const toHttpMethod: (value: string) => HttpMethod | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpMethod } from './HttpMethod';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
+
export type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
+
export type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
|
|
5
5
|
export interface BaseSelector {
|
|
6
6
|
/**
|
|
7
7
|
* Selector type.
|
|
@@ -34,4 +34,4 @@ export interface ConditionSelector extends BaseSelector {
|
|
|
34
34
|
*/
|
|
35
35
|
condition: string;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type Selector = HttpSelector | ChannelSelector | ConditionSelector;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-policy-studio-angular",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.52.0-angular15-53508d0",
|
|
4
4
|
"description": "Gravitee.io - UI Policy Studio Angular",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
|
13
13
|
"peerDependencies": {
|
|
14
|
-
"@angular/animations": "^
|
|
15
|
-
"@angular/cdk": "^
|
|
16
|
-
"@angular/common": "^
|
|
17
|
-
"@angular/core": "^
|
|
18
|
-
"@angular/forms": "^
|
|
19
|
-
"@angular/material": "^
|
|
14
|
+
"@angular/animations": "^14.0.0",
|
|
15
|
+
"@angular/cdk": "^14.0.0",
|
|
16
|
+
"@angular/common": "^14.0.0",
|
|
17
|
+
"@angular/core": "^14.0.0",
|
|
18
|
+
"@angular/forms": "^14.0.0",
|
|
19
|
+
"@angular/material": "^14.0.0",
|
|
20
20
|
"@gravitee/ui-particles-angular": "*",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"rxjs": "^6.6.0"
|
|
22
|
+
"rxjs": "^6.6.0 || ~7.5.0"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"esm2020": "esm2020/gravitee-ui-policy-studio-angular.mjs",
|
|
30
30
|
"fesm2020": "fesm2020/gravitee-ui-policy-studio-angular.mjs",
|
|
31
31
|
"fesm2015": "fesm2015/gravitee-ui-policy-studio-angular.mjs",
|
|
32
|
-
"typings": "
|
|
32
|
+
"typings": "index.d.ts",
|
|
33
33
|
"exports": {
|
|
34
34
|
"./package.json": {
|
|
35
35
|
"default": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
".": {
|
|
38
|
-
"types": "./
|
|
38
|
+
"types": "./index.d.ts",
|
|
39
39
|
"esm2020": "./esm2020/gravitee-ui-policy-studio-angular.mjs",
|
|
40
40
|
"es2020": "./fesm2020/gravitee-ui-policy-studio-angular.mjs",
|
|
41
41
|
"es2015": "./fesm2015/gravitee-ui-policy-studio-angular.mjs",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"default": "./fesm2020/gravitee-ui-policy-studio-angular.mjs"
|
|
44
44
|
},
|
|
45
45
|
"./testing": {
|
|
46
|
-
"types": "./testing/
|
|
46
|
+
"types": "./testing/index.d.ts",
|
|
47
47
|
"esm2020": "./esm2020/testing/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
48
48
|
"es2020": "./fesm2020/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
49
49
|
"es2015": "./fesm2015/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
2
|
import { GioPolicyStudioDetailsPhaseStepHarness } from '../flow-details-phase-step/gio-ps-flow-details-phase-step.harness';
|
|
3
3
|
import { StepForm } from '../step-form/gio-ps-step-form.harness';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
|
|
5
|
+
export type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
|
|
6
6
|
type?: PhaseType;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type StepCard = {
|
|
9
9
|
name: string;
|
|
10
10
|
type: 'connector';
|
|
11
11
|
} | {
|
package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
|
|
2
|
-
export
|
|
2
|
+
export type GioPolicyStudioDetailsPhaseStepHarnessFilters = BaseHarnessFilters;
|
|
3
3
|
export declare class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
|
|
4
4
|
static hostSelector: string;
|
|
5
5
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Policy } from './policy/Policy';
|
|
3
|
-
export
|
|
4
|
-
export
|
|
3
|
+
export type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
+
export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ApiType = 'MESSAGE' | 'PROXY';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const HttpMethods: readonly ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE", "OTHER"];
|
|
2
|
-
export
|
|
2
|
+
export type HttpMethod = (typeof HttpMethods)[number];
|
|
3
3
|
export declare const toHttpMethod: (value: string) => HttpMethod | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HttpMethod } from './HttpMethod';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
+
export type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
+
export type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
|
|
5
5
|
export interface BaseSelector {
|
|
6
6
|
/**
|
|
7
7
|
* Selector type.
|
|
@@ -34,4 +34,4 @@ export interface ConditionSelector extends BaseSelector {
|
|
|
34
34
|
*/
|
|
35
35
|
condition: string;
|
|
36
36
|
}
|
|
37
|
-
export
|
|
37
|
+
export type Selector = HttpSelector | ChannelSelector | ConditionSelector;
|
package/testing/package.json
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"module": "../fesm2015/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
3
|
-
"es2020": "../fesm2020/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
4
|
-
"esm2020": "../esm2020/testing/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
5
|
-
"fesm2020": "../fesm2020/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
6
|
-
"fesm2015": "../fesm2015/gravitee-ui-policy-studio-angular-testing.mjs",
|
|
7
|
-
"typings": "gravitee-ui-policy-studio-angular-testing.d.ts",
|
|
8
|
-
"sideEffects": false,
|
|
9
|
-
"name": "@gravitee/ui-policy-studio-angular/testing"
|
|
10
|
-
}
|
|
File without changes
|
|
File without changes
|