@gravitee/ui-components 3.28.5 → 3.28.7-debug-mode-add-menu-b2eabeb
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/package.json +17 -17
- package/src/atoms/gv-button/gv-button.d.ts +3 -3
- package/src/atoms/gv-checkbox/gv-checkbox.d.ts +3 -3
- package/src/atoms/gv-date-picker-calendar/gv-date-picker-calendar.d.ts +4 -4
- package/src/atoms/gv-input/gv-input.d.ts +5 -5
- package/src/atoms/gv-message/gv-message.d.ts +1 -1
- package/src/atoms/gv-select/gv-select.d.ts +2 -2
- package/src/atoms/gv-select-native/gv-select-native.d.ts +3 -3
- package/src/atoms/gv-text/gv-text.d.ts +2 -2
- package/src/charts/gv-chart-bar/gv-chart-bar.d.ts +1 -1
- package/src/charts/gv-chart-gauge/gv-chart-gauge.d.ts +1 -1
- package/src/charts/gv-chart-histogram/gv-chart-histogram.d.ts +1 -1
- package/src/charts/gv-chart-line/gv-chart-line.d.ts +1 -1
- package/src/charts/gv-chart-map/gv-chart-map.d.ts +1 -1
- package/src/charts/gv-chart-pie/gv-chart-pie.d.ts +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/text-format.js +7 -2
- package/src/lib/text-format.js.map +1 -1
- package/src/mixins/chart-element.d.ts +1 -1
- package/src/mixins/input-element.d.ts +1 -1
- package/src/mixins/item-resource.d.ts +3 -3
- package/src/molecules/gv-card/gv-card.d.ts +4 -4
- package/src/molecules/gv-card-full/gv-card-full.d.ts +4 -4
- package/src/molecules/gv-card-list/gv-card-list.d.ts +2 -2
- package/src/molecules/gv-category/gv-category.d.ts +1 -1
- package/src/molecules/gv-cron-editor/gv-cron-editor.d.ts +3 -3
- package/src/molecules/gv-list/gv-list.d.ts +5 -5
- package/src/molecules/gv-metrics/gv-metrics.d.ts +2 -2
- package/src/molecules/gv-modal/gv-modal.stories.d.ts +1 -1
- package/src/molecules/gv-nav/gv-nav.d.ts +1 -1
- package/src/molecules/gv-option/gv-option.d.ts +1 -1
- package/src/molecules/gv-plans/gv-plans.d.ts +1 -1
- package/src/molecules/gv-popover/gv-popover.d.ts +1 -1
- package/src/molecules/gv-promote/gv-promote.d.ts +4 -4
- package/src/molecules/gv-rating/gv-rating.d.ts +1 -1
- package/src/molecules/gv-rating-list/gv-rating-list.d.ts +2 -2
- package/src/molecules/gv-row/gv-row.d.ts +1 -1
- package/src/molecules/gv-stats/gv-stats.d.ts +2 -2
- package/src/molecules/gv-stepper/gv-stepper.d.ts +2 -2
- package/src/molecules/gv-table/gv-table.d.ts +8 -8
- package/src/molecules/gv-tree/gv-tree.d.ts +1 -1
- package/src/organisms/gv-documentation/gv-documentation.d.ts +1 -1
- package/src/organisms/gv-header/gv-header.d.ts +3 -3
- package/src/organisms/gv-http-client/gv-http-client.d.ts +4 -4
- package/src/organisms/gv-http-client/gv-http-client.stories.d.ts +1 -1
- package/src/organisms/gv-menu/gv-menu.d.ts +1 -1
- package/src/organisms/gv-pagination/gv-pagination.d.ts +1 -1
- package/src/organisms/gv-properties/gv-properties.d.ts +7 -7
- package/src/organisms/gv-resources/gv-resources.d.ts +4 -4
- package/src/organisms/gv-schema-form/gv-schema-form.d.ts +1 -1
- package/src/organisms/gv-schema-form-array/gv-schema-form-array.d.ts +2 -2
- package/src/organisms/gv-schema-form-control/gv-schema-form-control.d.ts +1 -1
- package/src/organisms/gv-schema-form-control-object/gv-schema-form-control-object.d.ts +2 -2
- package/src/organisms/gv-user-menu/gv-user-menu.d.ts +1 -1
- package/src/policy-studio/gv-design/gv-design.d.ts +367 -0
- package/src/policy-studio/gv-design/gv-design.js +1506 -0
- package/src/policy-studio/gv-design/gv-design.js.map +1 -0
- package/src/policy-studio/gv-design/gv-design.stories.d.ts +203 -0
- package/src/policy-studio/gv-design/gv-design.stories.js +233 -0
- package/src/policy-studio/gv-design/gv-design.stories.js.map +1 -0
- package/src/policy-studio/gv-design/gv-design.test.d.ts +1 -0
- package/src/policy-studio/gv-design/gv-design.test.js +333 -0
- package/src/policy-studio/gv-design/gv-design.test.js.map +1 -0
- package/src/policy-studio/gv-design/index.d.ts +1 -0
- package/src/policy-studio/gv-design/index.js +17 -0
- package/src/policy-studio/gv-design/index.js.map +1 -0
- package/src/policy-studio/gv-flow/gv-flow.d.ts +2 -2
- package/src/policy-studio/gv-flow-step/gv-flow-step.d.ts +2 -2
- package/src/policy-studio/gv-policy-studio/gv-policy-studio.d.ts +9 -9
- package/src/policy-studio/gv-policy-studio-menu/gv-policy-studio-menu.d.ts +3 -3
- package/wc/gv-design.d.ts +1 -0
- package/wc/gv-design.js +2 -0
- package/wc/gv-design.js.map +1 -0
|
@@ -40,7 +40,7 @@ export class GvStepper extends LitElement {
|
|
|
40
40
|
_error: boolean;
|
|
41
41
|
_empty: boolean;
|
|
42
42
|
_onClick(index: any): void;
|
|
43
|
-
_getIcon(step: any): import("lit
|
|
44
|
-
_getStep(step: any, index: any): import("lit
|
|
43
|
+
_getIcon(step: any): import("lit").TemplateResult<1>;
|
|
44
|
+
_getStep(step: any, index: any): import("lit").TemplateResult<1>;
|
|
45
45
|
}
|
|
46
46
|
import { LitElement } from "lit-element/lit-element";
|
|
@@ -140,20 +140,20 @@ export class GvTable extends GvTable_base {
|
|
|
140
140
|
get selectedItems(): any[];
|
|
141
141
|
_onMouseEnter(item: any): void;
|
|
142
142
|
_onMouseLeave(): void;
|
|
143
|
-
_renderHeader(styleGridColumns: any): "" | import("lit
|
|
144
|
-
_renderIcon(item: any, itemIndex: any, option: any): "" | import("lit
|
|
143
|
+
_renderHeader(styleGridColumns: any): "" | import("lit").TemplateResult<1>;
|
|
144
|
+
_renderIcon(item: any, itemIndex: any, option: any): "" | import("lit").TemplateResult<1>;
|
|
145
145
|
_renderComponent(item: any, itemIndex: any, option: any, value: any, type: any): any;
|
|
146
146
|
_renderCell(formattedValue: any, option: any, item: any, itemIndex: any): any;
|
|
147
147
|
_getFormattedCellValue(option: any, item: any): any;
|
|
148
148
|
_isSelected(item: any): boolean;
|
|
149
|
-
_renderRows(styleGridColumns: any): import("lit
|
|
150
|
-
_renderItems(): import("lit
|
|
151
|
-
_renderPagination(): import("lit
|
|
149
|
+
_renderRows(styleGridColumns: any): import("lit").TemplateResult<1>;
|
|
150
|
+
_renderItems(): import("lit").TemplateResult<1>;
|
|
151
|
+
_renderPagination(): import("lit").TemplateResult<1> | undefined;
|
|
152
152
|
_getDataFromField(item: any, field: any): any;
|
|
153
|
-
_renderTag(option: any, item: any): "" | import("lit
|
|
153
|
+
_renderTag(option: any, item: any): "" | import("lit").TemplateResult<1>;
|
|
154
154
|
_onImageLoaded(): void;
|
|
155
|
-
_renderImage(picture: any, alt: any): import("lit
|
|
155
|
+
_renderImage(picture: any, alt: any): import("lit").TemplateResult<1>;
|
|
156
156
|
updated(props: any): void;
|
|
157
|
-
render(): import("lit
|
|
157
|
+
render(): import("lit").TemplateResult<1>;
|
|
158
158
|
}
|
|
159
159
|
export {};
|
|
@@ -35,7 +35,7 @@ export class GvTree extends LitElement {
|
|
|
35
35
|
_onSelect(menuItem: any, e: any): void;
|
|
36
36
|
selectedItem: any;
|
|
37
37
|
_onClick(menuItem: any, e: any): void;
|
|
38
|
-
_getMenuItemPage(menuItem: any): import("lit
|
|
38
|
+
_getMenuItemPage(menuItem: any): import("lit").TemplateResult<1>;
|
|
39
39
|
_getMenuItemFolder(menuItem: any): any;
|
|
40
40
|
_getMenu(menuItems: any): any;
|
|
41
41
|
_getMenuItem(menuItem: any): any;
|
|
@@ -41,7 +41,7 @@ export class GvDocumentation extends LitElement {
|
|
|
41
41
|
static get styles(): import("lit").CSSResult[];
|
|
42
42
|
type: string;
|
|
43
43
|
_onCloseDocumentation(): void;
|
|
44
|
-
_renderIcon(): import("lit
|
|
44
|
+
_renderIcon(): import("lit").TemplateResult<1>;
|
|
45
45
|
_dom: {
|
|
46
46
|
title: string;
|
|
47
47
|
element: HTMLDivElement;
|
|
@@ -52,9 +52,9 @@ export class GvHeader extends GvHeader_base {
|
|
|
52
52
|
_breadcrumbs: any[];
|
|
53
53
|
canSubscribe: boolean;
|
|
54
54
|
set breadcrumbs(arg: any);
|
|
55
|
-
_getLink(route: any, index: any): Promise<void | import("lit
|
|
56
|
-
_renderBreadcrumbs(): import("lit
|
|
55
|
+
_getLink(route: any, index: any): Promise<void | import("lit").TemplateResult<1>>;
|
|
56
|
+
_renderBreadcrumbs(): import("lit").TemplateResult<1>;
|
|
57
57
|
_onSubscribe(e: any): void;
|
|
58
|
-
render(): import("lit
|
|
58
|
+
render(): import("lit").TemplateResult<1>;
|
|
59
59
|
}
|
|
60
60
|
export {};
|
|
@@ -33,9 +33,9 @@ export class GvHttpClient extends LitElement {
|
|
|
33
33
|
_sendRequest(): void;
|
|
34
34
|
_updateRequest(formData: any): void;
|
|
35
35
|
isFormValid: any;
|
|
36
|
-
_renderEmptyResponse(): import("lit
|
|
37
|
-
_renderLoading(): import("lit
|
|
38
|
-
_renderDebugResponse(): import("lit
|
|
39
|
-
_renderResponseHeader(): import("lit
|
|
36
|
+
_renderEmptyResponse(): import("lit").TemplateResult<1>;
|
|
37
|
+
_renderLoading(): import("lit").TemplateResult<1>;
|
|
38
|
+
_renderDebugResponse(): import("lit").TemplateResult<1>;
|
|
39
|
+
_renderResponseHeader(): import("lit").TemplateResult<1>;
|
|
40
40
|
}
|
|
41
41
|
import { LitElement } from "lit-element/lit-element";
|
|
@@ -67,7 +67,7 @@ export class GvMenu extends GvMenu_base {
|
|
|
67
67
|
width: any;
|
|
68
68
|
}): void;
|
|
69
69
|
_small: boolean | undefined;
|
|
70
|
-
render(): import("lit
|
|
70
|
+
render(): import("lit").TemplateResult<1>;
|
|
71
71
|
updated(changedProperties: any): void;
|
|
72
72
|
_hasHeader: boolean | undefined;
|
|
73
73
|
}
|
|
@@ -195,8 +195,8 @@ export class GvProperties extends GvProperties_base {
|
|
|
195
195
|
}): void;
|
|
196
196
|
_filter: any;
|
|
197
197
|
_onClearProperty(): void;
|
|
198
|
-
_renderErrors(withLine?: boolean): import("lit
|
|
199
|
-
_renderTable(): import("lit
|
|
198
|
+
_renderErrors(withLine?: boolean): import("lit").TemplateResult<1>;
|
|
199
|
+
_renderTable(): import("lit").TemplateResult<1>;
|
|
200
200
|
_onChangeMode({ detail }: {
|
|
201
201
|
detail: any;
|
|
202
202
|
}): void;
|
|
@@ -214,16 +214,16 @@ export class GvProperties extends GvProperties_base {
|
|
|
214
214
|
size: number;
|
|
215
215
|
sizes: number[];
|
|
216
216
|
} | undefined;
|
|
217
|
-
_renderTableForm(): import("lit
|
|
217
|
+
_renderTableForm(): import("lit").TemplateResult<1>;
|
|
218
218
|
_fetchDocumentation(): void;
|
|
219
219
|
_hideDocumentation(): void;
|
|
220
220
|
get dirty(): any;
|
|
221
221
|
confirm(): any;
|
|
222
|
-
_renderForm(): import("lit
|
|
223
|
-
_renderBottom(): import("lit
|
|
224
|
-
_renderDynamicConfiguration(): string | import("lit
|
|
222
|
+
_renderForm(): import("lit").TemplateResult<1>;
|
|
223
|
+
_renderBottom(): import("lit").TemplateResult<1>;
|
|
224
|
+
_renderDynamicConfiguration(): string | import("lit").TemplateResult<1>;
|
|
225
225
|
_onMove(): void;
|
|
226
226
|
_computeTextRows(): void;
|
|
227
|
-
render(): import("lit
|
|
227
|
+
render(): import("lit").TemplateResult<1>;
|
|
228
228
|
}
|
|
229
229
|
export {};
|
|
@@ -113,14 +113,14 @@ export class GvResources extends GvResources_base {
|
|
|
113
113
|
get dirty(): any;
|
|
114
114
|
confirm(): any;
|
|
115
115
|
_onChangeResourceState(item: any, event: any): void;
|
|
116
|
-
_renderForm(): import("lit
|
|
117
|
-
_renderDoc(): import("lit
|
|
118
|
-
_renderBottom(): import("lit
|
|
116
|
+
_renderForm(): import("lit").TemplateResult<1>;
|
|
117
|
+
_renderDoc(): import("lit").TemplateResult<1>;
|
|
118
|
+
_renderBottom(): import("lit").TemplateResult<1> | undefined;
|
|
119
119
|
_onSearchResource({ detail }: {
|
|
120
120
|
detail: any;
|
|
121
121
|
}): void;
|
|
122
122
|
_filter: any;
|
|
123
123
|
_onClearResource(): void;
|
|
124
|
-
render(): import("lit
|
|
124
|
+
render(): import("lit").TemplateResult<1>;
|
|
125
125
|
}
|
|
126
126
|
export {};
|
|
@@ -132,7 +132,7 @@ export class GvSchemaForm extends LitElement {
|
|
|
132
132
|
_onControlReady(e: any): void;
|
|
133
133
|
_updateDynamicControls(): void;
|
|
134
134
|
_updateDynamicControl(controlElement: any): null;
|
|
135
|
-
_renderControl(key: any): import("lit
|
|
135
|
+
_renderControl(key: any): import("lit").TemplateResult<1>;
|
|
136
136
|
_hasCondition(control: any): boolean;
|
|
137
137
|
_evaluateCondition(control: any, conditionKey: any): boolean;
|
|
138
138
|
_evaluateNotEqualsCondition(control: any, condition: any): boolean;
|
|
@@ -44,12 +44,12 @@ export class GvSchemaFormArray extends GvSchemaFormArray_base {
|
|
|
44
44
|
value: any[];
|
|
45
45
|
_onNew(): void;
|
|
46
46
|
_onRemove(index: any): void;
|
|
47
|
-
_renderValue(value: any, index: any): import("lit
|
|
47
|
+
_renderValue(value: any, index: any): import("lit").TemplateResult<1>;
|
|
48
48
|
_onMouseLeave(): void;
|
|
49
49
|
getControls(): any[];
|
|
50
50
|
getControl(id: any): any;
|
|
51
51
|
getUpdateComplete(): Promise<void>;
|
|
52
52
|
shouldUpdate(changedProperties: any): any;
|
|
53
|
-
render(): import("lit
|
|
53
|
+
render(): import("lit").TemplateResult<1>;
|
|
54
54
|
}
|
|
55
55
|
export {};
|
|
@@ -85,6 +85,6 @@ export class GvSchemaFormControl extends GvSchemaFormControl_base {
|
|
|
85
85
|
getUpdateComplete(): Promise<void>;
|
|
86
86
|
formatErrorMessage(error: any): string;
|
|
87
87
|
shouldUpdate(changedProperties: any): any;
|
|
88
|
-
render(): import("lit
|
|
88
|
+
render(): import("lit").TemplateResult<1>;
|
|
89
89
|
}
|
|
90
90
|
export {};
|
|
@@ -54,11 +54,11 @@ export class GvSchemaFormControlObject extends GvSchemaFormControlObject_base {
|
|
|
54
54
|
};
|
|
55
55
|
static get styles(): import("lit").CSSResult[];
|
|
56
56
|
value: any[];
|
|
57
|
-
_renderPart(subKey: any): import("lit
|
|
57
|
+
_renderPart(subKey: any): import("lit").TemplateResult<1>;
|
|
58
58
|
getControls(): any[];
|
|
59
59
|
getControl(id: any): any;
|
|
60
60
|
getUpdateComplete(): Promise<void>;
|
|
61
61
|
shouldUpdate(changedProperties: any): any;
|
|
62
|
-
render(): import("lit
|
|
62
|
+
render(): import("lit").TemplateResult<1>;
|
|
63
63
|
}
|
|
64
64
|
export {};
|
|
@@ -50,7 +50,7 @@ export class GvUserMenu extends LitElement {
|
|
|
50
50
|
_hasOneItem(): boolean | null | undefined;
|
|
51
51
|
set routes(arg: any);
|
|
52
52
|
_routes: any[] | null | undefined;
|
|
53
|
-
_renderFirstItem(): import("lit
|
|
53
|
+
_renderFirstItem(): import("lit").TemplateResult<1>;
|
|
54
54
|
_renderItem(route: any): any;
|
|
55
55
|
}
|
|
56
56
|
import { LitElement } from "lit-element/lit-element";
|
|
@@ -0,0 +1,367 @@
|
|
|
1
|
+
declare const GvDesign_base: {
|
|
2
|
+
new (): {
|
|
3
|
+
[x: string]: any;
|
|
4
|
+
_controller: {};
|
|
5
|
+
_handleKeyDown: (e: any) => void;
|
|
6
|
+
_handleKeyUp: (e: any) => void;
|
|
7
|
+
connectedCallback(): void;
|
|
8
|
+
disconnectedCallback(): void;
|
|
9
|
+
_onKeyDown(e: any): void;
|
|
10
|
+
_onKeyUp(e: any): void;
|
|
11
|
+
isPressed(...keys: any[]): boolean;
|
|
12
|
+
readonly keyboardTarget: any;
|
|
13
|
+
onKeyboard(controller: any, event: any): void;
|
|
14
|
+
};
|
|
15
|
+
[x: string]: any;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* Design component
|
|
19
|
+
*
|
|
20
|
+
* ⚠️ This component is based on `asciidoctor`, `highlight.js` and `asciidoctor-highlight.js`.
|
|
21
|
+
* To use this component in your project be sure the dependencies are installed or
|
|
22
|
+
* install them with: `npm install asciidoctor highlight.js asciidoctor-highlight.js --save`
|
|
23
|
+
*
|
|
24
|
+
* @fires gv-design:select-policy - Select policy event
|
|
25
|
+
* @fires gv-design:change - Design change event
|
|
26
|
+
*
|
|
27
|
+
* @attr {Array} policies - Policies available
|
|
28
|
+
* @attr {Array} services - Services available
|
|
29
|
+
* @attr {Array} resourceTypes - Resources types available
|
|
30
|
+
* @attr {Object} definition - The definition of flows
|
|
31
|
+
* @attr {Object} documentation - The documentation to display
|
|
32
|
+
* @attr {Object} flowSchema - The flow form configuration to display in gv-schema-form component
|
|
33
|
+
* @attr {Boolean} isDirty - true if component is dirty
|
|
34
|
+
* @attr {Array} selectedFlowsId - The selected flows id
|
|
35
|
+
* @attr {Boolean} sortable - true if flows are sortable
|
|
36
|
+
* @attr {Boolean} readonly - true if readonly
|
|
37
|
+
* @attr {Boolean} readonly-plans - true if plans' flows can't be modified
|
|
38
|
+
* @attr {Boolean} can-add - true if user can add flow
|
|
39
|
+
* @attr {String} flowsTitle - flows menu title
|
|
40
|
+
* @attr {Boolean} has-policy-filter - true if policies have onRequest/onResponse properties
|
|
41
|
+
* @attr {Boolean} has-conditional-steps - true if steps can be conditioned
|
|
42
|
+
*/
|
|
43
|
+
export class GvDesign extends GvDesign_base {
|
|
44
|
+
static get properties(): {
|
|
45
|
+
policies: {
|
|
46
|
+
type: ArrayConstructor;
|
|
47
|
+
};
|
|
48
|
+
services: {
|
|
49
|
+
type: ObjectConstructor;
|
|
50
|
+
};
|
|
51
|
+
resourceTypes: {
|
|
52
|
+
type: ArrayConstructor;
|
|
53
|
+
attribute: string;
|
|
54
|
+
};
|
|
55
|
+
definition: {
|
|
56
|
+
type: ObjectConstructor;
|
|
57
|
+
};
|
|
58
|
+
_definition: {
|
|
59
|
+
type: ObjectConstructor;
|
|
60
|
+
attribute: boolean;
|
|
61
|
+
};
|
|
62
|
+
documentation: {
|
|
63
|
+
type: ObjectConstructor;
|
|
64
|
+
};
|
|
65
|
+
flowSchema: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
attribute: string;
|
|
68
|
+
};
|
|
69
|
+
isDirty: {
|
|
70
|
+
type: BooleanConstructor;
|
|
71
|
+
attribute: string;
|
|
72
|
+
reflect: boolean;
|
|
73
|
+
};
|
|
74
|
+
_dragPolicy: {
|
|
75
|
+
type: ObjectConstructor;
|
|
76
|
+
attribute: boolean;
|
|
77
|
+
};
|
|
78
|
+
_dropPolicy: {
|
|
79
|
+
type: ObjectConstructor;
|
|
80
|
+
attribute: boolean;
|
|
81
|
+
};
|
|
82
|
+
selectedFlowsId: {
|
|
83
|
+
type: ArrayConstructor;
|
|
84
|
+
attribute: string;
|
|
85
|
+
};
|
|
86
|
+
_selectedFlowsId: {
|
|
87
|
+
type: ArrayConstructor;
|
|
88
|
+
attribute: boolean;
|
|
89
|
+
};
|
|
90
|
+
_currentPolicyId: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
attribute: boolean;
|
|
93
|
+
};
|
|
94
|
+
_searchPolicyQuery: {
|
|
95
|
+
type: StringConstructor;
|
|
96
|
+
attribute: boolean;
|
|
97
|
+
};
|
|
98
|
+
_searchFlowQuery: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
attribute: boolean;
|
|
101
|
+
};
|
|
102
|
+
_flowStepSchema: {
|
|
103
|
+
type: ObjectConstructor;
|
|
104
|
+
attribute: boolean;
|
|
105
|
+
};
|
|
106
|
+
_currentFlowStep: {
|
|
107
|
+
type: ObjectConstructor;
|
|
108
|
+
attribute: boolean;
|
|
109
|
+
};
|
|
110
|
+
_policyFilter: {
|
|
111
|
+
type: ArrayConstructor;
|
|
112
|
+
attribute: boolean;
|
|
113
|
+
};
|
|
114
|
+
_flowFilter: {
|
|
115
|
+
type: ArrayConstructor;
|
|
116
|
+
attribute: boolean;
|
|
117
|
+
};
|
|
118
|
+
_currentAskConfirmation: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
attribute: boolean;
|
|
121
|
+
};
|
|
122
|
+
hasPolicyFilter: {
|
|
123
|
+
type: BooleanConstructor;
|
|
124
|
+
attribute: string;
|
|
125
|
+
};
|
|
126
|
+
flowsTitle: {
|
|
127
|
+
type: StringConstructor;
|
|
128
|
+
attribute: string;
|
|
129
|
+
};
|
|
130
|
+
sortable: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
};
|
|
133
|
+
canAdd: {
|
|
134
|
+
type: BooleanConstructor;
|
|
135
|
+
attribute: string;
|
|
136
|
+
};
|
|
137
|
+
readonly: {
|
|
138
|
+
type: BooleanConstructor;
|
|
139
|
+
};
|
|
140
|
+
readonlyPlans: {
|
|
141
|
+
type: BooleanConstructor;
|
|
142
|
+
attribute: string;
|
|
143
|
+
};
|
|
144
|
+
hasConditionalSteps: {
|
|
145
|
+
type: BooleanConstructor;
|
|
146
|
+
attribute: string;
|
|
147
|
+
};
|
|
148
|
+
};
|
|
149
|
+
static get styles(): import("lit").CSSResult[];
|
|
150
|
+
isDirty: boolean;
|
|
151
|
+
policies: any[];
|
|
152
|
+
resourceTypes: any[];
|
|
153
|
+
set selectedFlowsId(arg: any);
|
|
154
|
+
get selectedFlowsId(): any;
|
|
155
|
+
flowsTitle: string;
|
|
156
|
+
sortable: boolean;
|
|
157
|
+
services: {};
|
|
158
|
+
_definition: {
|
|
159
|
+
flows: never[];
|
|
160
|
+
};
|
|
161
|
+
_policyFilter: any[];
|
|
162
|
+
_flowFilter: any[];
|
|
163
|
+
willUpdate(changedProperties: any): Promise<void>;
|
|
164
|
+
_policyFilterOptions: {
|
|
165
|
+
id: string;
|
|
166
|
+
title: string;
|
|
167
|
+
icon: string;
|
|
168
|
+
}[] | undefined;
|
|
169
|
+
get _flowFilterOptions(): {
|
|
170
|
+
id: string;
|
|
171
|
+
title: string;
|
|
172
|
+
icon: string;
|
|
173
|
+
}[] | undefined;
|
|
174
|
+
set definition(arg: {
|
|
175
|
+
flows: never[];
|
|
176
|
+
});
|
|
177
|
+
get definition(): {
|
|
178
|
+
flows: never[];
|
|
179
|
+
};
|
|
180
|
+
_initialDefinition: any;
|
|
181
|
+
_selectedFlowsId: any;
|
|
182
|
+
_updateSelectedFlows(selectedFlowsId: any): void;
|
|
183
|
+
_selectFirstFlow(dispatch?: boolean): void;
|
|
184
|
+
_getFlowElement(flowId: any): any;
|
|
185
|
+
_onDragEndPolicy(): void;
|
|
186
|
+
_onDropPolicy({ detail }: {
|
|
187
|
+
detail: any;
|
|
188
|
+
}): Promise<void>;
|
|
189
|
+
_dragPolicy: any;
|
|
190
|
+
_dropPolicy: any;
|
|
191
|
+
_currentAskConfirmation: boolean | null | undefined;
|
|
192
|
+
_onDeletePolicy({ detail }: {
|
|
193
|
+
detail: any;
|
|
194
|
+
}): void;
|
|
195
|
+
_onDesign(): void;
|
|
196
|
+
buildSchema({ schema }: {
|
|
197
|
+
schema: any;
|
|
198
|
+
}): any;
|
|
199
|
+
_editFlowStep({ step, flow, policy, group }: {
|
|
200
|
+
step: any;
|
|
201
|
+
flow: any;
|
|
202
|
+
policy: any;
|
|
203
|
+
group: any;
|
|
204
|
+
}): Promise<void>;
|
|
205
|
+
_currentPolicyId: any;
|
|
206
|
+
_onEditFlowStep({ detail: { step, flow, policy, group } }: {
|
|
207
|
+
detail: {
|
|
208
|
+
step: any;
|
|
209
|
+
flow: any;
|
|
210
|
+
policy: any;
|
|
211
|
+
group: any;
|
|
212
|
+
};
|
|
213
|
+
}): Promise<void>;
|
|
214
|
+
_getResizableViews(): any;
|
|
215
|
+
_maximizeTopView(): void;
|
|
216
|
+
_maximizeBottomView(): void;
|
|
217
|
+
_splitMainViews(): void;
|
|
218
|
+
_onChangeFlowStepState({ detail }: {
|
|
219
|
+
detail: any;
|
|
220
|
+
}): void;
|
|
221
|
+
markAsDirty(): void;
|
|
222
|
+
_onCloseFlowStepForm(): Promise<void>;
|
|
223
|
+
_closeFlowStepForm(force?: boolean): Promise<void>;
|
|
224
|
+
_askToValidateForms(): Promise<any>;
|
|
225
|
+
_setCurrentFlowStep(currentFlowStep: any, flowStepSchema: any, force?: boolean): Promise<void>;
|
|
226
|
+
_currentFlowStep: any;
|
|
227
|
+
_flowStepSchema: any;
|
|
228
|
+
_refresh(closeStepForm?: boolean): void;
|
|
229
|
+
_onSelectFlows({ detail }: {
|
|
230
|
+
detail: any;
|
|
231
|
+
}): Promise<void>;
|
|
232
|
+
_onOpenDocumentationFromMenu({ detail: { policy } }: {
|
|
233
|
+
detail: {
|
|
234
|
+
policy: any;
|
|
235
|
+
};
|
|
236
|
+
}): Promise<void>;
|
|
237
|
+
_fetchDocumentation(policy: any): void;
|
|
238
|
+
_onOpenDocumentation(): void;
|
|
239
|
+
_onOpenDocumentationFromForm(): void;
|
|
240
|
+
_findFlowCollection(flowId: any): {
|
|
241
|
+
plan: any;
|
|
242
|
+
flows: any;
|
|
243
|
+
};
|
|
244
|
+
_findFlowById(flowId: any): undefined;
|
|
245
|
+
getSelectedFlow(index?: number): undefined;
|
|
246
|
+
_onTargetPolicy({ detail }: {
|
|
247
|
+
detail: any;
|
|
248
|
+
}): void;
|
|
249
|
+
_onChangeFlowStep({ detail }: {
|
|
250
|
+
detail: any;
|
|
251
|
+
}): void;
|
|
252
|
+
_writeFlowStep(values: any): void;
|
|
253
|
+
_onSubmitFlowStep({ detail }: {
|
|
254
|
+
detail: any;
|
|
255
|
+
}): Promise<void>;
|
|
256
|
+
_onCancelFlow(): void;
|
|
257
|
+
_onSubmitFlow({ detail: { values } }: {
|
|
258
|
+
detail: {
|
|
259
|
+
values: any;
|
|
260
|
+
};
|
|
261
|
+
}): void;
|
|
262
|
+
_onCancelFlowMode(): void;
|
|
263
|
+
_onSubmitFlowMode({ detail: { values } }: {
|
|
264
|
+
detail: {
|
|
265
|
+
values: any;
|
|
266
|
+
};
|
|
267
|
+
}): void;
|
|
268
|
+
_onDragStartFlowStep(flow: any, { detail }: {
|
|
269
|
+
detail: any;
|
|
270
|
+
}): void;
|
|
271
|
+
_renderFlowEmptyState(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
272
|
+
_renderFlow(index: number | undefined, hasEmptyState: boolean | undefined, readonlyMode: any): import("lit").TemplateResult<1>;
|
|
273
|
+
_onFetchResources(event: any): void;
|
|
274
|
+
_renderPolicy(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
275
|
+
_getFlowStepForm(): any;
|
|
276
|
+
_onResetFlowStep(): void;
|
|
277
|
+
_generateFlowsId(list: any, force?: boolean): any;
|
|
278
|
+
_generatePlanFlowsId(plan: any, force?: boolean): any;
|
|
279
|
+
_generateFlowStepId(flowId: any, flowKey: any, position: any): string;
|
|
280
|
+
_generateId(prefix: any, list: any, force?: boolean, isFlow?: boolean): any;
|
|
281
|
+
getChildren(): any[];
|
|
282
|
+
getUpdateComplete(): Promise<void>;
|
|
283
|
+
shouldUpdate(changedProperties: any): any;
|
|
284
|
+
updated(props: any): void;
|
|
285
|
+
_renderFlowStepForm(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
286
|
+
_onCloseDocumentation(): void;
|
|
287
|
+
documentation: any;
|
|
288
|
+
_onDeleteFlow({ detail }: {
|
|
289
|
+
detail: any;
|
|
290
|
+
}): void;
|
|
291
|
+
get definedFlows(): never[];
|
|
292
|
+
get definedPlans(): any;
|
|
293
|
+
get definedResources(): any;
|
|
294
|
+
get definedProperties(): any;
|
|
295
|
+
_onDuplicateFlow({ detail }: {
|
|
296
|
+
detail: any;
|
|
297
|
+
}): Promise<void>;
|
|
298
|
+
_onChangeFlowState({ detail }: {
|
|
299
|
+
detail: any;
|
|
300
|
+
}): void;
|
|
301
|
+
_onAddFlowPlan({ detail }: {
|
|
302
|
+
detail: any;
|
|
303
|
+
}): Promise<void>;
|
|
304
|
+
_onAddFlow(): Promise<void>;
|
|
305
|
+
_addFlow(collection: any, duplicate?: null): any;
|
|
306
|
+
_createFlowFromSchema(): {};
|
|
307
|
+
_instantiate(propertiesDefinition: any, initiator?: {}): {};
|
|
308
|
+
_deleteFlow(collection: any, flow: any): void;
|
|
309
|
+
_findFlowIndex(list: any, id: any): null;
|
|
310
|
+
_onReorderFlows({ detail: { plan } }: {
|
|
311
|
+
detail: {
|
|
312
|
+
plan: any;
|
|
313
|
+
};
|
|
314
|
+
}): Promise<void>;
|
|
315
|
+
_onSearchPolicy({ detail }: {
|
|
316
|
+
detail: any;
|
|
317
|
+
}): void;
|
|
318
|
+
_searchPolicyQuery: any;
|
|
319
|
+
_onClearPolicy(): void;
|
|
320
|
+
_onSearchFlows({ detail }: {
|
|
321
|
+
detail: any;
|
|
322
|
+
}): void;
|
|
323
|
+
_searchFlowQuery: any;
|
|
324
|
+
_onClearFlows(): void;
|
|
325
|
+
_onResetAll(): Promise<void>;
|
|
326
|
+
_filterNotValidStep(step: any): boolean;
|
|
327
|
+
_removePrivateProperties(o: any): any;
|
|
328
|
+
_submitOrConfirmForms(): any[];
|
|
329
|
+
getPropertiesElement(): any;
|
|
330
|
+
_checkCurrentFlowStep(): Promise<void | any[]>;
|
|
331
|
+
saved(): void;
|
|
332
|
+
_definitionSaved: {
|
|
333
|
+
flows: any[];
|
|
334
|
+
} | null | undefined;
|
|
335
|
+
_buildDefinitionToSave(): {
|
|
336
|
+
flows: any[];
|
|
337
|
+
};
|
|
338
|
+
_buildDefinitionToSend(definitionToSave: any): {
|
|
339
|
+
flows: any;
|
|
340
|
+
};
|
|
341
|
+
getValidatedDefinition(): Promise<any>;
|
|
342
|
+
get filteredFlows(): never[] | null;
|
|
343
|
+
get filteredPlans(): any;
|
|
344
|
+
_onFilterFlows({ detail }: {
|
|
345
|
+
detail: any;
|
|
346
|
+
}): void;
|
|
347
|
+
_getFilteredPolicies(): any[];
|
|
348
|
+
_onFilterPolicies({ detail }: {
|
|
349
|
+
detail: any;
|
|
350
|
+
}): void;
|
|
351
|
+
_renderContent(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
352
|
+
_renderFlowForm(readonlyMode: any): import("lit").TemplateResult<1> | undefined;
|
|
353
|
+
render(): import("lit").TemplateResult<1>;
|
|
354
|
+
/**
|
|
355
|
+
* Determine if the design view should be in readonly mode or not
|
|
356
|
+
* It is in readonly mode if:
|
|
357
|
+
* the readonly attribute is set to true
|
|
358
|
+
* OR
|
|
359
|
+
* the main selected flow belongs to a plan and the readonly-plans attribute is set to true
|
|
360
|
+
* OR
|
|
361
|
+
* the second flow for comparison belongs to a plan and the readonly-plans attribute is set to true
|
|
362
|
+
* @returns {boolean|*|{type: BooleanConstructor}|{attribute: string, type: BooleanConstructor}|{type: *}|{attribute: string, type: *}}
|
|
363
|
+
* @private
|
|
364
|
+
*/
|
|
365
|
+
private _getReadonlyModeForDesign;
|
|
366
|
+
}
|
|
367
|
+
export {};
|