@gravitee/ui-policy-studio-angular 7.20.0 → 7.21.0-improve-btn-d6b8d6c

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 (22) hide show
  1. package/esm2020/lib/components/flow-details-phase/gio-ps-flow-details-phase.component.mjs +3 -3
  2. package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +11 -3
  3. package/esm2020/lib/components/step-form/gio-ps-step-form.component.mjs +5 -3
  4. package/esm2020/lib/gio-policy-studio.component.mjs +2 -2
  5. package/esm2020/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.mjs +3 -1
  6. package/esm2020/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.mjs +3 -1
  7. package/esm2020/testing/lib/components/step-form/gio-ps-step-form.harness.mjs +6 -1
  8. package/esm2020/testing/lib/models/flow/Flow.fixture.mjs +41 -1
  9. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +42 -2
  10. package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  11. package/fesm2015/gravitee-ui-policy-studio-angular.mjs +24 -15
  12. package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  13. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +50 -1
  14. package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
  15. package/fesm2020/gravitee-ui-policy-studio-angular.mjs +18 -8
  16. package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
  17. package/lib/components/flows-menu/gio-ps-flows-menu.component.d.ts +1 -0
  18. package/package.json +1 -1
  19. package/testing/lib/components/flow-details-phase/gio-ps-flow-details-phase.harness.d.ts +1 -0
  20. package/testing/lib/components/flows-menu/gio-ps-flows-menu.harness.d.ts +1 -0
  21. package/testing/lib/components/step-form/gio-ps-step-form.harness.d.ts +2 -0
  22. package/testing/lib/models/flow/Flow.fixture.d.ts +2 -0
@@ -14,6 +14,7 @@ interface FlowMenuVM extends FlowVM {
14
14
  class: string;
15
15
  }[];
16
16
  pathOrChannelLabel: string;
17
+ hasCondition: boolean;
17
18
  }
18
19
  export declare class GioPolicyStudioFlowsMenuComponent implements OnChanges {
19
20
  private readonly matDialog;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-policy-studio-angular",
3
- "version": "7.20.0",
3
+ "version": "7.21.0-improve-btn-d6b8d6c",
4
4
  "description": "Gravitee.io - UI Policy Studio Angular",
5
5
  "repository": {
6
6
  "type": "git",
@@ -11,6 +11,7 @@ export declare type StepCard = {
11
11
  } | {
12
12
  name: string;
13
13
  description?: string;
14
+ hasCondition: boolean;
14
15
  type: 'step';
15
16
  };
16
17
  export declare class GioPolicyStudioDetailsPhaseHarness extends ComponentHarness {
@@ -12,6 +12,7 @@ export declare class GioPolicyStudioFlowsMenuHarness extends ComponentHarness {
12
12
  name: string | null;
13
13
  isSelected: boolean;
14
14
  infos: string | null;
15
+ hasCondition: boolean;
15
16
  }[];
16
17
  }[]>;
17
18
  getSelectedFlow(): Promise<{
@@ -1,11 +1,13 @@
1
1
  import { ComponentHarness, LocatorFactory } from '@angular/cdk/testing';
2
2
  export declare type StepForm = {
3
3
  description?: string;
4
+ condition?: string;
4
5
  waitForPolicyFormCompletionCb?: (locator: LocatorFactory) => Promise<void>;
5
6
  };
6
7
  export declare class GioPolicyStudioStepFormHarness extends ComponentHarness {
7
8
  static hostSelector: string;
8
9
  private getDescriptionInput;
10
+ private getConditionInput;
9
11
  setStepForm(stepForm: StepForm): Promise<void>;
10
12
  getStepFormValue(): Promise<{
11
13
  description?: string;
@@ -1,3 +1,5 @@
1
1
  import { Flow } from './Flow';
2
2
  export declare function fakeChannelFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
3
+ export declare function fakeConditionedChannelFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
3
4
  export declare function fakeHttpFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
5
+ export declare function fakeConditionedHttpFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;