@gravitee/ui-policy-studio-angular 7.36.0 → 7.37.0

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.
@@ -1,6 +1,6 @@
1
1
  import { OnDestroy } from '@angular/core';
2
2
  import { MatDialogRef } from '@angular/material/dialog';
3
- import { FormControl } from '@angular/forms';
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
6
  export declare type GioPolicyStudioPoliciesCatalogDialogData = {
@@ -22,6 +22,7 @@ export declare class GioPolicyStudioPoliciesCatalogDialogComponent implements On
22
22
  categories: string[];
23
23
  isValid: boolean;
24
24
  selectedCategoriesControl?: FormControl;
25
+ filtersForm: FormGroup;
25
26
  private allPolicies;
26
27
  private unsubscribe$;
27
28
  isUnlicensed: boolean;
@@ -20,6 +20,7 @@ export declare class GioPolicyStudioStepFormComponent implements OnChanges, OnIn
20
20
  ngOnInit(): void;
21
21
  ngOnDestroy(): void;
22
22
  private initStepForm;
23
+ onJsonSchemaReady(isReady: boolean): void;
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioStepFormComponent, never>;
24
25
  static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioStepFormComponent, "gio-ps-step-form", never, { "step": "step"; "policy": "policy"; }, { "stepChange": "stepChange"; "isValid": "isValid"; }, never, never>;
25
26
  }
@@ -1,9 +1,9 @@
1
- import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
1
+ import { EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
2
2
  import { ApiType, ConnectorInfo, Flow, FlowExecution, Plan, Policy, PolicyDocumentationFetcher, PolicySchemaFetcher, SaveOutput } from './models';
3
3
  import { FlowGroupVM, FlowVM } from './gio-policy-studio.model';
4
4
  import { GioPolicyStudioService } from './gio-policy-studio.service';
5
5
  import * as i0 from "@angular/core";
6
- export declare class GioPolicyStudioComponent implements OnChanges {
6
+ export declare class GioPolicyStudioComponent implements OnChanges, OnDestroy {
7
7
  private readonly policyStudioService;
8
8
  /**
9
9
  * API type (required)
@@ -63,8 +63,11 @@ export declare class GioPolicyStudioComponent implements OnChanges {
63
63
  saving: boolean;
64
64
  private initialFlowsGroups;
65
65
  private hasFlowExecutionChanged;
66
+ private unSavingButtonSubscription?;
67
+ enableSavingTimer: boolean;
66
68
  constructor(policyStudioService: GioPolicyStudioService);
67
69
  ngOnChanges(changes: SimpleChanges): void;
70
+ ngOnDestroy(): void;
68
71
  onFlowExecutionChange(flowExecution: FlowExecution): void;
69
72
  onFlowsGroupsChange(flowsGroups: FlowGroupVM[]): void;
70
73
  onSelectedFlowChange(flow: FlowVM): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-policy-studio-angular",
3
- "version": "7.36.0",
3
+ "version": "7.37.0",
4
4
  "description": "Gravitee.io - UI Policy Studio Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -3,6 +3,7 @@ import { GioPolicyStudioStepFormHarness } from '../step-form/gio-ps-step-form.ha
3
3
  export declare class GioPolicyStudioPoliciesCatalogDialogHarness extends ComponentHarness {
4
4
  static hostSelector: string;
5
5
  private policiesLocator;
6
+ private getCategoriesFilter;
6
7
  getPhase(): Promise<string>;
7
8
  getPoliciesName(): Promise<string[]>;
8
9
  selectPolicy(policyName: string): Promise<void>;
@@ -14,4 +15,6 @@ export declare class GioPolicyStudioPoliciesCatalogDialogHarness extends Compone
14
15
  name: string;
15
16
  selected: boolean;
16
17
  }[]>;
18
+ selectCategoryFilter(categoryName: string): Promise<void>;
19
+ searchFilter(search: string): Promise<void>;
17
20
  }