@gravitee/ui-policy-studio-angular 7.55.0-angular15-120d56f → 7.55.0-apim-3663-export-component-96c3e8d
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 +12 -12
- package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +6 -6
- package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +10 -10
- package/esm2020/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +6 -6
- package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +14 -14
- package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +21 -21
- package/esm2020/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.mjs +21 -21
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +9 -9
- package/esm2020/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +19 -19
- package/esm2020/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +7 -7
- package/esm2020/lib/components/step-form/gio-ps-step-form.component.mjs +15 -15
- package/esm2020/lib/gio-policy-studio.component.mjs +8 -8
- package/esm2020/lib/gio-policy-studio.module.mjs +27 -23
- package/esm2020/lib/gio-policy-studio.service.mjs +9 -13
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +119 -123
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +119 -123
- 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 +1 -1
- 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 +2 -2
- package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +1 -1
- package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts +4 -4
- package/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.d.ts +4 -4
- package/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.d.ts +5 -5
- 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 +1 -1
- package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts +7 -7
- package/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.d.ts +3 -3
- 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.service.d.ts +0 -3
- 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 +10 -0
- /package/{index.d.ts → gravitee-ui-policy-studio-angular.d.ts} +0 -0
- /package/testing/{index.d.ts → gravitee-ui-policy-studio-angular-testing.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">;
|
|
8
8
|
}
|
|
@@ -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>;
|
|
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>;
|
|
20
20
|
}
|
|
@@ -2,7 +2,7 @@ import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
3
|
import { ApiType, ConnectorInfo, ExecutionPhase, Policy, Step } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
type StepVM = {
|
|
5
|
+
declare 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>;
|
|
38
38
|
}
|
|
39
39
|
export {};
|
package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts
CHANGED
|
@@ -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>;
|
|
20
20
|
}
|
package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
3
|
import { FlowExecution } from '../../models';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export type GioPolicyStudioFlowExecutionFormDialogData = {
|
|
5
|
+
export declare 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?: FormGroup;
|
|
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>;
|
|
16
16
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { FormGroup } 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 type GioPolicyStudioFlowMessageFormDialogData = {
|
|
7
|
+
export declare 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?: FormGroup;
|
|
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>;
|
|
21
21
|
}
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import {
|
|
2
|
+
import { FormGroup } 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 type GioPolicyStudioFlowProxyFormDialogData = {
|
|
7
|
+
export declare type GioPolicyStudioFlowProxyFormDialogData = {
|
|
8
8
|
flow?: FlowVM;
|
|
9
9
|
};
|
|
10
|
-
type HttpMethodVM = HttpMethod | 'ALL';
|
|
10
|
+
declare type HttpMethodVM = HttpMethod | 'ALL';
|
|
11
11
|
export declare class GioPolicyStudioFlowProxyFormDialogComponent {
|
|
12
12
|
dialogRef: MatDialogRef<GioPolicyStudioFlowProxyFormDialogComponent, GioPolicyStudioFlowFormDialogResult>;
|
|
13
|
-
flowFormGroup?:
|
|
13
|
+
flowFormGroup?: FormGroup;
|
|
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>;
|
|
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 type GioPolicyStudioFlowFormDialogResult = FlowVM | false;
|
|
2
|
+
export declare type GioPolicyStudioFlowFormDialogResult = FlowVM | false;
|
|
@@ -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>;
|
|
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
2
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
-
import {
|
|
3
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
4
4
|
import { ApiType, ExecutionPhase, Policy, Step } from '../../models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export type GioPolicyStudioPoliciesCatalogDialogData = {
|
|
6
|
+
export declare type GioPolicyStudioPoliciesCatalogDialogData = {
|
|
7
7
|
policies: Policy[];
|
|
8
8
|
executionPhase: ExecutionPhase;
|
|
9
9
|
apiType: ApiType;
|
|
10
10
|
trialUrl?: string;
|
|
11
11
|
};
|
|
12
|
-
export type GioPolicyStudioPoliciesCatalogDialogResult = undefined | Step;
|
|
13
|
-
type PolicyVM = Policy & {
|
|
12
|
+
export declare type GioPolicyStudioPoliciesCatalogDialogResult = undefined | Step;
|
|
13
|
+
declare 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?: FormControl;
|
|
25
|
+
filtersForm: FormGroup;
|
|
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>;
|
|
39
39
|
}
|
|
40
40
|
export {};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
2
|
import { Policy, Step } from '../../models';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
-
export type GioPolicyStudioStepEditDialogData = {
|
|
4
|
+
export declare type GioPolicyStudioStepEditDialogData = {
|
|
5
5
|
policy: Policy;
|
|
6
6
|
step: Step;
|
|
7
7
|
};
|
|
8
|
-
export type GioPolicyStudioStepEditDialogResult = undefined | Step;
|
|
8
|
+
export declare 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>;
|
|
18
18
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { FormGroup } 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?: FormGroup;
|
|
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>;
|
|
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>;
|
|
78
78
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Policy, PolicyDocumentationFetcher, PolicySchemaFetcher } from './models';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
3
|
export declare class GioPolicyStudioService {
|
|
5
4
|
private schemasCache;
|
|
6
5
|
private documentationsCache;
|
|
@@ -24,6 +23,4 @@ export declare class GioPolicyStudioService {
|
|
|
24
23
|
* @returns the documentation for the policy
|
|
25
24
|
*/
|
|
26
25
|
getPolicyDocumentation(policy: Policy): Observable<string>;
|
|
27
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioService, never>;
|
|
28
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<GioPolicyStudioService>;
|
|
29
26
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { Policy } from './policy/Policy';
|
|
3
|
-
export type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
-
export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
3
|
+
export declare type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
+
export declare type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ApiType = 'MESSAGE' | 'PROXY';
|
|
1
|
+
export declare 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 type HttpMethod = (typeof HttpMethods)[number];
|
|
2
|
+
export declare 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 type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
-
export type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
-
export type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
|
|
2
|
+
export declare type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
+
export declare type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
+
export declare 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 type Selector = HttpSelector | ChannelSelector | ConditionSelector;
|
|
37
|
+
export declare 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.55.0-
|
|
3
|
+
"version": "7.55.0-apim-3663-export-component-96c3e8d",
|
|
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": "^13.3.0",
|
|
15
|
+
"@angular/cdk": "^13.3.0",
|
|
16
|
+
"@angular/common": "^13.3.0",
|
|
17
|
+
"@angular/core": "^13.3.0",
|
|
18
|
+
"@angular/forms": "^13.3.0",
|
|
19
|
+
"@angular/material": "^13.3.0",
|
|
20
20
|
"@gravitee/ui-particles-angular": "*",
|
|
21
21
|
"lodash": "^4.17.21",
|
|
22
|
-
"rxjs": "^6.6.0
|
|
22
|
+
"rxjs": "^6.6.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": "gravitee-ui-policy-studio-angular.d.ts",
|
|
33
33
|
"exports": {
|
|
34
34
|
"./package.json": {
|
|
35
35
|
"default": "./package.json"
|
|
36
36
|
},
|
|
37
37
|
".": {
|
|
38
|
-
"types": "./
|
|
38
|
+
"types": "./gravitee-ui-policy-studio-angular.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/gravitee-ui-policy-studio-angular-testing.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 type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
|
|
5
|
-
export type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
|
|
4
|
+
export declare type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
|
|
5
|
+
export declare type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
|
|
6
6
|
type?: PhaseType;
|
|
7
7
|
};
|
|
8
|
-
export type StepCard = {
|
|
8
|
+
export declare 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 type GioPolicyStudioDetailsPhaseStepHarnessFilters = BaseHarnessFilters;
|
|
2
|
+
export declare 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 type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
-
export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
3
|
+
export declare type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
|
|
4
|
+
export declare type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type ApiType = 'MESSAGE' | 'PROXY';
|
|
1
|
+
export declare 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 type HttpMethod = (typeof HttpMethods)[number];
|
|
2
|
+
export declare 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 type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
-
export type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
-
export type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
|
|
2
|
+
export declare type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
3
|
+
export declare type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
4
|
+
export declare 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 type Selector = HttpSelector | ChannelSelector | ConditionSelector;
|
|
37
|
+
export declare type Selector = HttpSelector | ChannelSelector | ConditionSelector;
|
|
@@ -0,0 +1,10 @@
|
|
|
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
|