@gravitee/ui-policy-studio-angular 7.56.1 → 7.57.0-angular15-bd79cd8

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.
Files changed (61) hide show
  1. package/esm2020/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.mjs +3 -3
  2. package/esm2020/lib/components/flow-details/gio-ps-flow-details.component.mjs +12 -12
  3. package/esm2020/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.mjs +6 -6
  4. package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +10 -10
  5. package/esm2020/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.mjs +6 -6
  6. package/esm2020/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.mjs +14 -14
  7. package/esm2020/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.mjs +21 -21
  8. package/esm2020/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.mjs +21 -21
  9. package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +9 -9
  10. package/esm2020/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.mjs +19 -19
  11. package/esm2020/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.mjs +7 -7
  12. package/esm2020/lib/components/step-form/gio-ps-step-form.component.mjs +15 -15
  13. package/esm2020/lib/gio-policy-studio.component.mjs +8 -8
  14. package/esm2020/lib/gio-policy-studio.module.mjs +23 -27
  15. package/esm2020/lib/gio-policy-studio.service.mjs +13 -9
  16. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  17. package/fesm2015/gravitee-ui-policy-studio-angular.mjs +123 -119
  18. package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  19. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  20. package/fesm2020/gravitee-ui-policy-studio-angular.mjs +123 -119
  21. package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  22. package/lib/components/filter-pipe/gio-flter-connectors-by-mode.pipe.d.ts +1 -1
  23. package/lib/components/flow-details/gio-ps-flow-details.component.d.ts +1 -1
  24. package/lib/components/flow-details-info-bar/gio-ps-flow-details-info-bar.component.d.ts +1 -1
  25. package/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.d.ts +2 -2
  26. package/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.component.d.ts +1 -1
  27. package/lib/components/flow-execution-form-dialog/gio-ps-flow-execution-form-dialog.component.d.ts +4 -4
  28. package/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.component.d.ts +4 -4
  29. package/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.component.d.ts +5 -5
  30. package/lib/components/flow-form-dialog/gio-ps-flow-form-dialog-result.model.d.ts +1 -1
  31. package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +1 -1
  32. package/lib/components/policies-catalog-dialog/gio-ps-policies-catalog-dialog.component.d.ts +7 -7
  33. package/lib/components/step-edit-dialog/gio-ps-step-edit-dialog.component.d.ts +3 -3
  34. package/lib/components/step-form/gio-ps-step-form.component.d.ts +3 -3
  35. package/lib/gio-policy-studio.component.d.ts +1 -1
  36. package/lib/gio-policy-studio.service.d.ts +3 -0
  37. package/lib/models/ConnectorsInfo.d.ts +1 -1
  38. package/lib/models/PolicySchemaFetcher.d.ts +2 -2
  39. package/lib/models/SaveOutput.d.ts +1 -1
  40. package/lib/models/flow/ApiType.d.ts +1 -1
  41. package/lib/models/flow/FlowExecution.d.ts +1 -1
  42. package/lib/models/flow/HttpMethod.d.ts +1 -1
  43. package/lib/models/flow/Selector.d.ts +4 -4
  44. package/lib/models/policy/Policy.d.ts +1 -1
  45. package/package.json +11 -11
  46. package/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.d.ts +3 -3
  47. package/testing/lib/components/flow-details-phase-step/gio-ps-flow-details-phase-step.harness.d.ts +1 -1
  48. package/testing/lib/components/flow-form-dialog/flow-message-form-dialog/gio-ps-flow-message-form-dialog.harness.d.ts +1 -1
  49. package/testing/lib/components/flow-form-dialog/flow-proxy-form-dialog/gio-ps-flow-proxy-form-dialog.harness.d.ts +1 -1
  50. package/testing/lib/components/step-form/gio-ps-step-form.harness.d.ts +1 -1
  51. package/testing/lib/models/ConnectorsInfo.d.ts +1 -1
  52. package/testing/lib/models/PolicySchemaFetcher.d.ts +2 -2
  53. package/testing/lib/models/SaveOutput.d.ts +1 -1
  54. package/testing/lib/models/flow/ApiType.d.ts +1 -1
  55. package/testing/lib/models/flow/FlowExecution.d.ts +1 -1
  56. package/testing/lib/models/flow/HttpMethod.d.ts +1 -1
  57. package/testing/lib/models/flow/Selector.d.ts +4 -4
  58. package/testing/lib/models/policy/Policy.d.ts +1 -1
  59. package/testing/package.json +0 -10
  60. /package/{gravitee-ui-policy-studio-angular.d.ts → index.d.ts} +0 -0
  61. /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
  }
@@ -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
  }
@@ -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
- declare type StepVM = {
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 {};
@@ -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
  }
@@ -1,16 +1,16 @@
1
1
  import { MatDialogRef } from '@angular/material/dialog';
2
- import { FormGroup } from '@angular/forms';
2
+ import { UntypedFormGroup } from '@angular/forms';
3
3
  import { FlowExecution } from '../../models';
4
4
  import * as i0 from "@angular/core";
5
- export declare type GioPolicyStudioFlowExecutionFormDialogData = {
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?: FormGroup;
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
1
  import { MatDialogRef } from '@angular/material/dialog';
2
- import { FormGroup } from '@angular/forms';
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 declare type GioPolicyStudioFlowMessageFormDialogData = {
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?: FormGroup;
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
1
  import { MatDialogRef } from '@angular/material/dialog';
2
- import { FormGroup } from '@angular/forms';
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 declare type GioPolicyStudioFlowProxyFormDialogData = {
7
+ export type GioPolicyStudioFlowProxyFormDialogData = {
8
8
  flow?: FlowVM;
9
9
  };
10
- declare type HttpMethodVM = HttpMethod | 'ALL';
10
+ type HttpMethodVM = HttpMethod | 'ALL';
11
11
  export declare class GioPolicyStudioFlowProxyFormDialogComponent {
12
12
  dialogRef: MatDialogRef<GioPolicyStudioFlowProxyFormDialogComponent, GioPolicyStudioFlowFormDialogResult>;
13
- flowFormGroup?: FormGroup;
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 declare type GioPolicyStudioFlowFormDialogResult = FlowVM | false;
2
+ export 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, false, never>;
38
38
  }
39
39
  export {};
@@ -1,16 +1,16 @@
1
1
  import { OnDestroy } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { FormControl, FormGroup } from '@angular/forms';
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 declare type GioPolicyStudioPoliciesCatalogDialogData = {
6
+ export type GioPolicyStudioPoliciesCatalogDialogData = {
7
7
  policies: Policy[];
8
8
  executionPhase: ExecutionPhase;
9
9
  apiType: ApiType;
10
10
  trialUrl?: string;
11
11
  };
12
- export declare type GioPolicyStudioPoliciesCatalogDialogResult = undefined | Step;
13
- declare type PolicyVM = Policy & {
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?: FormControl;
25
- filtersForm: FormGroup;
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
1
  import { MatDialogRef } from '@angular/material/dialog';
2
2
  import { Policy, Step } from '../../models';
3
3
  import * as i0 from "@angular/core";
4
- export declare type GioPolicyStudioStepEditDialogData = {
4
+ export type GioPolicyStudioStepEditDialogData = {
5
5
  policy: Policy;
6
6
  step: Step;
7
7
  };
8
- export declare type GioPolicyStudioStepEditDialogResult = undefined | Step;
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 { FormGroup } from '@angular/forms';
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?: FormGroup;
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
  }
@@ -1,5 +1,6 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { Policy, PolicyDocumentationFetcher, PolicySchemaFetcher } from './models';
3
+ import * as i0 from "@angular/core";
3
4
  export declare class GioPolicyStudioService {
4
5
  private schemasCache;
5
6
  private documentationsCache;
@@ -23,4 +24,6 @@ export declare class GioPolicyStudioService {
23
24
  * @returns the documentation for the policy
24
25
  */
25
26
  getPolicyDocumentation(policy: Policy): Observable<string>;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioService, never>;
28
+ static ɵprov: i0.ɵɵInjectableDeclaration<GioPolicyStudioService>;
26
29
  }
@@ -4,4 +4,4 @@ export interface ConnectorInfo {
4
4
  icon: string;
5
5
  supportedModes: ConnectorMode[];
6
6
  }
7
- export declare type ConnectorMode = 'SUBSCRIBE' | 'PUBLISH' | 'REQUEST_RESPONSE';
7
+ export type ConnectorMode = 'SUBSCRIBE' | 'PUBLISH' | 'REQUEST_RESPONSE';
@@ -1,4 +1,4 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { Policy } from './policy/Policy';
3
- export declare type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
4
- export declare type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
3
+ export type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
4
+ export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
@@ -1,6 +1,6 @@
1
1
  import { Flow, FlowExecution } from './flow';
2
2
  import { Plan } from './plan';
3
- export declare type SaveOutput = {
3
+ export type SaveOutput = {
4
4
  commonFlows?: Flow[];
5
5
  plansToUpdate?: Plan[];
6
6
  flowExecution?: FlowExecution;
@@ -1 +1 @@
1
- export declare type ApiType = 'MESSAGE' | 'PROXY';
1
+ export type ApiType = 'MESSAGE' | 'PROXY';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * API's flow mode.
3
3
  */
4
- export declare type FlowMode = 'BEST_MATCH' | 'DEFAULT';
4
+ export type FlowMode = 'BEST_MATCH' | 'DEFAULT';
5
5
  export interface FlowExecution {
6
6
  mode?: FlowMode;
7
7
  /**
@@ -1,3 +1,3 @@
1
1
  export declare const HttpMethods: readonly ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE", "OTHER"];
2
- export declare type HttpMethod = (typeof HttpMethods)[number];
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 declare type Operation = 'PUBLISH' | 'SUBSCRIBE';
3
- export declare type Operator = 'EQUALS' | 'STARTS_WITH';
4
- export declare type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
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 declare type Selector = HttpSelector | ChannelSelector | ConditionSelector;
37
+ export type Selector = HttpSelector | ChannelSelector | ConditionSelector;
@@ -1,4 +1,4 @@
1
- export declare type ExecutionPhase = 'REQUEST' | 'RESPONSE' | 'MESSAGE_REQUEST' | 'MESSAGE_RESPONSE';
1
+ export type ExecutionPhase = 'REQUEST' | 'RESPONSE' | 'MESSAGE_REQUEST' | 'MESSAGE_RESPONSE';
2
2
  export interface Policy {
3
3
  id: string;
4
4
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-policy-studio-angular",
3
- "version": "7.56.1",
3
+ "version": "7.57.0-angular15-bd79cd8",
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": "^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",
14
+ "@angular/animations": "^15.0.0",
15
+ "@angular/cdk": "^15.0.0",
16
+ "@angular/common": "^15.0.0",
17
+ "@angular/core": "^15.0.0",
18
+ "@angular/forms": "^15.0.0",
19
+ "@angular/material": "^15.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": "gravitee-ui-policy-studio-angular.d.ts",
32
+ "typings": "index.d.ts",
33
33
  "exports": {
34
34
  "./package.json": {
35
35
  "default": "./package.json"
36
36
  },
37
37
  ".": {
38
- "types": "./gravitee-ui-policy-studio-angular.d.ts",
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/gravitee-ui-policy-studio-angular-testing.d.ts",
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 declare type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
5
- export declare type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
4
+ export type PhaseType = 'REQUEST' | 'RESPONSE' | 'PUBLISH' | 'SUBSCRIBE';
5
+ export type GioPolicyStudioDetailsPhaseHarnessFilters = BaseHarnessFilters & {
6
6
  type?: PhaseType;
7
7
  };
8
- export declare type StepCard = {
8
+ export type StepCard = {
9
9
  name: string;
10
10
  type: 'connector';
11
11
  } | {
@@ -1,5 +1,5 @@
1
1
  import { BaseHarnessFilters, ComponentHarness, HarnessPredicate } from '@angular/cdk/testing';
2
- export declare type GioPolicyStudioDetailsPhaseStepHarnessFilters = BaseHarnessFilters;
2
+ export type GioPolicyStudioDetailsPhaseStepHarnessFilters = BaseHarnessFilters;
3
3
  export declare class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
5
  /**
@@ -1,5 +1,5 @@
1
1
  import { ComponentHarness } from '@angular/cdk/testing';
2
- export declare type GioPolicyStudioFlowMessageHarnessData = {
2
+ export type GioPolicyStudioFlowMessageHarnessData = {
3
3
  name: string;
4
4
  channelOperator: string;
5
5
  channel: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentHarness } from '@angular/cdk/testing';
2
- export declare type GioPolicyStudioFlowProxyHarnessData = {
2
+ export type GioPolicyStudioFlowProxyHarnessData = {
3
3
  name: string;
4
4
  pathOperator: string;
5
5
  path: string;
@@ -1,5 +1,5 @@
1
1
  import { ComponentHarness, LocatorFactory } from '@angular/cdk/testing';
2
- export declare type StepForm = {
2
+ export type StepForm = {
3
3
  description?: string;
4
4
  condition?: string;
5
5
  waitForPolicyFormCompletionCb?: (locator: LocatorFactory) => Promise<void>;
@@ -4,4 +4,4 @@ export interface ConnectorInfo {
4
4
  icon: string;
5
5
  supportedModes: ConnectorMode[];
6
6
  }
7
- export declare type ConnectorMode = 'SUBSCRIBE' | 'PUBLISH' | 'REQUEST_RESPONSE';
7
+ export type ConnectorMode = 'SUBSCRIBE' | 'PUBLISH' | 'REQUEST_RESPONSE';
@@ -1,4 +1,4 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { Policy } from './policy/Policy';
3
- export declare type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
4
- export declare type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
3
+ export type PolicySchemaFetcher = (policy: Policy) => Observable<unknown>;
4
+ export type PolicyDocumentationFetcher = (policy: Policy) => Observable<string>;
@@ -1,6 +1,6 @@
1
1
  import { Flow, FlowExecution } from './flow';
2
2
  import { Plan } from './plan';
3
- export declare type SaveOutput = {
3
+ export type SaveOutput = {
4
4
  commonFlows?: Flow[];
5
5
  plansToUpdate?: Plan[];
6
6
  flowExecution?: FlowExecution;
@@ -1 +1 @@
1
- export declare type ApiType = 'MESSAGE' | 'PROXY';
1
+ export type ApiType = 'MESSAGE' | 'PROXY';
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * API's flow mode.
3
3
  */
4
- export declare type FlowMode = 'BEST_MATCH' | 'DEFAULT';
4
+ export type FlowMode = 'BEST_MATCH' | 'DEFAULT';
5
5
  export interface FlowExecution {
6
6
  mode?: FlowMode;
7
7
  /**
@@ -1,3 +1,3 @@
1
1
  export declare const HttpMethods: readonly ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE", "OTHER"];
2
- export declare type HttpMethod = (typeof HttpMethods)[number];
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 declare type Operation = 'PUBLISH' | 'SUBSCRIBE';
3
- export declare type Operator = 'EQUALS' | 'STARTS_WITH';
4
- export declare type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION';
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 declare type Selector = HttpSelector | ChannelSelector | ConditionSelector;
37
+ export type Selector = HttpSelector | ChannelSelector | ConditionSelector;
@@ -1,4 +1,4 @@
1
- export declare type ExecutionPhase = 'REQUEST' | 'RESPONSE' | 'MESSAGE_REQUEST' | 'MESSAGE_RESPONSE';
1
+ export type ExecutionPhase = 'REQUEST' | 'RESPONSE' | 'MESSAGE_REQUEST' | 'MESSAGE_RESPONSE';
2
2
  export interface Policy {
3
3
  id: string;
4
4
  name: string;
@@ -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
- }