@gravitee/ui-policy-studio-angular 7.4.0 → 7.5.0-apim-1550-ad9c2a7
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/flow-form-dialog/gio-ps-flow-form-dialog.component.mjs +5 -2
- package/esm2020/lib/components/flows-menu/gio-ps-flows-menu.component.mjs +3 -3
- package/esm2020/lib/gio-policy-studio.component.mjs +74 -8
- package/esm2020/lib/gio-policy-studio.model.mjs +1 -1
- package/esm2020/lib/models/index.mjs +2 -2
- package/esm2020/lib/models/plan/Plan.mjs +1 -1
- package/esm2020/testing/lib/models/plan/Plan.fixture.mjs +2 -1
- package/esm2020/testing/lib/models/plan/Plan.mjs +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs +1 -0
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs +79 -10
- package/fesm2015/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs +1 -0
- package/fesm2020/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs +78 -9
- package/fesm2020/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/lib/gio-policy-studio.component.d.ts +13 -2
- package/lib/gio-policy-studio.model.d.ts +3 -1
- package/lib/models/index.d.ts +1 -1
- package/lib/models/plan/Plan.d.ts +1 -0
- package/package.json +1 -1
- package/testing/lib/models/plan/Plan.d.ts +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { ApiType, ConnectorsInfo, Flow, Plan } from './models';
|
|
3
3
|
import { FlowGroupVM, FlowVM } from './gio-policy-studio.model';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
@@ -14,14 +14,25 @@ export declare class GioPolicyStudioComponent implements OnChanges {
|
|
|
14
14
|
endpointsInfo: ConnectorsInfo[];
|
|
15
15
|
commonFlows: Flow[];
|
|
16
16
|
plans: Plan[];
|
|
17
|
+
/**
|
|
18
|
+
* Return common flows if they have been updated.
|
|
19
|
+
*/
|
|
20
|
+
commonFlowsChange: EventEmitter<Flow[]>;
|
|
21
|
+
/**
|
|
22
|
+
* Return the list of plans with updated flows. Plans with no updated flows are not returned.
|
|
23
|
+
**/
|
|
24
|
+
plansToUpdate: EventEmitter<Plan[]>;
|
|
17
25
|
connectorsTooltip: string;
|
|
18
26
|
selectedFlow?: FlowVM;
|
|
19
27
|
flowsGroups: FlowGroupVM[];
|
|
20
28
|
entrypointsType: string[];
|
|
29
|
+
disableSaveButton: boolean;
|
|
30
|
+
private initialFlowsGroups;
|
|
21
31
|
ngOnChanges(changes: SimpleChanges): void;
|
|
22
32
|
onFlowsGroupsChange(flowsGroups: FlowGroupVM[]): void;
|
|
23
33
|
onSelectedFlowChange(flow: FlowVM): void;
|
|
24
34
|
onDeleteSelectedFlow(flow: FlowVM): void;
|
|
35
|
+
onSave(): void;
|
|
25
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<GioPolicyStudioComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; }, {}, never, never>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GioPolicyStudioComponent, "gio-policy-studio", never, { "apiType": "apiType"; "entrypointsInfo": "entrypointsInfo"; "endpointsInfo": "endpointsInfo"; "commonFlows": "commonFlows"; "plans": "plans"; }, { "commonFlowsChange": "commonFlowsChange"; "plansToUpdate": "plansToUpdate"; }, never, never>;
|
|
27
38
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { Flow } from './models';
|
|
2
2
|
export interface FlowVM extends Flow {
|
|
3
3
|
_id: string;
|
|
4
|
+
_hasChanged: boolean;
|
|
4
5
|
}
|
|
5
6
|
export interface FlowGroupVM {
|
|
6
7
|
_id: string;
|
|
8
|
+
_icon?: string;
|
|
9
|
+
_planId?: string;
|
|
7
10
|
name: string;
|
|
8
|
-
icon?: string;
|
|
9
11
|
flows: FlowVM[];
|
|
10
12
|
}
|
package/lib/models/index.d.ts
CHANGED
package/package.json
CHANGED