@gravitee/ui-components 3.28.7-debug-mode-add-menu-ded8a59 → 3.28.7-debug-mode-add-menu-fd03e65
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 +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/policy-studio/gv-design/gv-design.d.ts +379 -0
- package/src/policy-studio/gv-design/gv-design.js +1556 -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-policy-studio/gv-policy-studio.d.ts +0 -13
- package/src/policy-studio/gv-policy-studio/gv-policy-studio.js +53 -64
- package/src/policy-studio/gv-policy-studio/gv-policy-studio.js.map +1 -1
- package/wc/gv-design.d.ts +1 -0
- package/wc/gv-design.js +2 -0
- package/wc/gv-design.js.map +1 -0
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export { GvStats } from "./molecules/gv-stats";
|
|
|
54
54
|
export { GvStepper } from "./molecules/gv-stepper";
|
|
55
55
|
export { GvTable } from "./molecules/gv-table";
|
|
56
56
|
export { GvTree } from "./molecules/gv-tree";
|
|
57
|
+
export { GvDesign } from "./policy-studio/gv-design";
|
|
57
58
|
export { GvDocumentation } from "./organisms/gv-documentation";
|
|
58
59
|
export { GvHeader } from "./organisms/gv-header";
|
|
59
60
|
export { GvHttpClient } from "./organisms/gv-http-client";
|
package/src/index.js
CHANGED
|
@@ -54,6 +54,7 @@ export { GvStats } from './molecules/gv-stats';
|
|
|
54
54
|
export { GvStepper } from './molecules/gv-stepper';
|
|
55
55
|
export { GvTable } from './molecules/gv-table';
|
|
56
56
|
export { GvTree } from './molecules/gv-tree';
|
|
57
|
+
export { GvDesign } from './policy-studio/gv-design';
|
|
57
58
|
export { GvDocumentation } from './organisms/gv-documentation';
|
|
58
59
|
export { GvHeader } from './organisms/gv-header';
|
|
59
60
|
export { GvHttpClient } from './organisms/gv-http-client';
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AACtD,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAC/C,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,c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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
|
+
*
|
|
26
|
+
* @attr {Array} policies - Policies available
|
|
27
|
+
* @attr {Array} services - Services available
|
|
28
|
+
* @attr {Array} resourceTypes - Resources types available
|
|
29
|
+
* @attr {Object} definition - The definition of flows
|
|
30
|
+
* @attr {Object} documentation - The documentation to display
|
|
31
|
+
* @attr {Object} flowSchema - The flow form configuration to display in gv-schema-form component
|
|
32
|
+
* @attr {Boolean} isDirty - true if component is dirty
|
|
33
|
+
* @attr {Array} selectedFlowsId - The selected flows id
|
|
34
|
+
* @attr {Boolean} sortable - true if flows are sortable
|
|
35
|
+
* @attr {Boolean} readonly - true if readonly
|
|
36
|
+
* @attr {Boolean} readonly-plans - true if plans' flows can't be modified
|
|
37
|
+
* @attr {Boolean} can-add - true if user can add flow
|
|
38
|
+
* @attr {String} flowsTitle - flows menu title
|
|
39
|
+
* @attr {Boolean} has-policy-filter - true if policies have onRequest/onResponse properties
|
|
40
|
+
* @attr {Boolean} has-conditional-steps - true if steps can be conditioned
|
|
41
|
+
*/
|
|
42
|
+
export class GvDesign extends GvDesign_base {
|
|
43
|
+
static get properties(): {
|
|
44
|
+
policies: {
|
|
45
|
+
type: ArrayConstructor;
|
|
46
|
+
};
|
|
47
|
+
services: {
|
|
48
|
+
type: ObjectConstructor;
|
|
49
|
+
};
|
|
50
|
+
resourceTypes: {
|
|
51
|
+
type: ArrayConstructor;
|
|
52
|
+
attribute: string;
|
|
53
|
+
};
|
|
54
|
+
definition: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
};
|
|
57
|
+
_definition: {
|
|
58
|
+
type: ObjectConstructor;
|
|
59
|
+
attribute: boolean;
|
|
60
|
+
};
|
|
61
|
+
documentation: {
|
|
62
|
+
type: ObjectConstructor;
|
|
63
|
+
};
|
|
64
|
+
flowSchema: {
|
|
65
|
+
type: ObjectConstructor;
|
|
66
|
+
attribute: string;
|
|
67
|
+
};
|
|
68
|
+
isDirty: {
|
|
69
|
+
type: BooleanConstructor;
|
|
70
|
+
attribute: string;
|
|
71
|
+
reflect: boolean;
|
|
72
|
+
};
|
|
73
|
+
_dragPolicy: {
|
|
74
|
+
type: ObjectConstructor;
|
|
75
|
+
attribute: boolean;
|
|
76
|
+
};
|
|
77
|
+
_dropPolicy: {
|
|
78
|
+
type: ObjectConstructor;
|
|
79
|
+
attribute: boolean;
|
|
80
|
+
};
|
|
81
|
+
selectedFlowsId: {
|
|
82
|
+
type: ArrayConstructor;
|
|
83
|
+
attribute: string;
|
|
84
|
+
};
|
|
85
|
+
_selectedFlowsId: {
|
|
86
|
+
type: ArrayConstructor;
|
|
87
|
+
attribute: boolean;
|
|
88
|
+
};
|
|
89
|
+
_currentPolicyId: {
|
|
90
|
+
type: StringConstructor;
|
|
91
|
+
attribute: boolean;
|
|
92
|
+
};
|
|
93
|
+
_searchPolicyQuery: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
attribute: boolean;
|
|
96
|
+
};
|
|
97
|
+
_searchFlowQuery: {
|
|
98
|
+
type: StringConstructor;
|
|
99
|
+
attribute: boolean;
|
|
100
|
+
};
|
|
101
|
+
_flowStepSchema: {
|
|
102
|
+
type: ObjectConstructor;
|
|
103
|
+
attribute: boolean;
|
|
104
|
+
};
|
|
105
|
+
_currentFlowStep: {
|
|
106
|
+
type: ObjectConstructor;
|
|
107
|
+
attribute: boolean;
|
|
108
|
+
};
|
|
109
|
+
_policyFilter: {
|
|
110
|
+
type: ArrayConstructor;
|
|
111
|
+
attribute: boolean;
|
|
112
|
+
};
|
|
113
|
+
_flowFilter: {
|
|
114
|
+
type: ArrayConstructor;
|
|
115
|
+
attribute: boolean;
|
|
116
|
+
};
|
|
117
|
+
_currentAskConfirmation: {
|
|
118
|
+
type: BooleanConstructor;
|
|
119
|
+
attribute: boolean;
|
|
120
|
+
};
|
|
121
|
+
hasPolicyFilter: {
|
|
122
|
+
type: BooleanConstructor;
|
|
123
|
+
attribute: string;
|
|
124
|
+
};
|
|
125
|
+
flowsTitle: {
|
|
126
|
+
type: StringConstructor;
|
|
127
|
+
attribute: string;
|
|
128
|
+
};
|
|
129
|
+
sortable: {
|
|
130
|
+
type: BooleanConstructor;
|
|
131
|
+
};
|
|
132
|
+
canAdd: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
attribute: string;
|
|
135
|
+
};
|
|
136
|
+
readonly: {
|
|
137
|
+
type: BooleanConstructor;
|
|
138
|
+
};
|
|
139
|
+
readonlyPlans: {
|
|
140
|
+
type: BooleanConstructor;
|
|
141
|
+
attribute: string;
|
|
142
|
+
};
|
|
143
|
+
hasConditionalSteps: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
attribute: string;
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
static get styles(): import("lit").CSSResult[];
|
|
149
|
+
isDirty: boolean;
|
|
150
|
+
policies: any[];
|
|
151
|
+
resourceTypes: any[];
|
|
152
|
+
set selectedFlowsId(arg: any);
|
|
153
|
+
get selectedFlowsId(): any;
|
|
154
|
+
flowsTitle: string;
|
|
155
|
+
sortable: boolean;
|
|
156
|
+
services: {};
|
|
157
|
+
_definition: {
|
|
158
|
+
flows: never[];
|
|
159
|
+
};
|
|
160
|
+
_tabs: {
|
|
161
|
+
id: string;
|
|
162
|
+
title: string;
|
|
163
|
+
icon: string;
|
|
164
|
+
}[];
|
|
165
|
+
_policyFilter: any[];
|
|
166
|
+
_flowFilter: any[];
|
|
167
|
+
willUpdate(changedProperties: any): Promise<void>;
|
|
168
|
+
_policyFilterOptions: {
|
|
169
|
+
id: string;
|
|
170
|
+
title: string;
|
|
171
|
+
icon: string;
|
|
172
|
+
}[] | undefined;
|
|
173
|
+
get _flowFilterOptions(): {
|
|
174
|
+
id: string;
|
|
175
|
+
title: string;
|
|
176
|
+
icon: string;
|
|
177
|
+
}[] | undefined;
|
|
178
|
+
set definition(arg: {
|
|
179
|
+
flows: never[];
|
|
180
|
+
});
|
|
181
|
+
get definition(): {
|
|
182
|
+
flows: never[];
|
|
183
|
+
};
|
|
184
|
+
_initialDefinition: any;
|
|
185
|
+
_selectedFlowsId: any;
|
|
186
|
+
_updateSelectedFlows(selectedFlowsId: any): void;
|
|
187
|
+
_selectFirstFlow(dispatch?: boolean): void;
|
|
188
|
+
_getFlowElement(flowId: any): any;
|
|
189
|
+
_onDragEndPolicy(): void;
|
|
190
|
+
_onDropPolicy({ detail }: {
|
|
191
|
+
detail: any;
|
|
192
|
+
}): Promise<void>;
|
|
193
|
+
_dragPolicy: any;
|
|
194
|
+
_dropPolicy: any;
|
|
195
|
+
_currentAskConfirmation: boolean | null | undefined;
|
|
196
|
+
_onDeletePolicy({ detail }: {
|
|
197
|
+
detail: any;
|
|
198
|
+
}): void;
|
|
199
|
+
_onDesign(): void;
|
|
200
|
+
buildSchema({ schema }: {
|
|
201
|
+
schema: any;
|
|
202
|
+
}): any;
|
|
203
|
+
_editFlowStep({ step, flow, policy, group }: {
|
|
204
|
+
step: any;
|
|
205
|
+
flow: any;
|
|
206
|
+
policy: any;
|
|
207
|
+
group: any;
|
|
208
|
+
}): Promise<void>;
|
|
209
|
+
_currentPolicyId: any;
|
|
210
|
+
_onEditFlowStep({ detail: { step, flow, policy, group } }: {
|
|
211
|
+
detail: {
|
|
212
|
+
step: any;
|
|
213
|
+
flow: any;
|
|
214
|
+
policy: any;
|
|
215
|
+
group: any;
|
|
216
|
+
};
|
|
217
|
+
}): Promise<void>;
|
|
218
|
+
_getResizableViews(): any;
|
|
219
|
+
_maximizeTopView(): void;
|
|
220
|
+
_maximizeBottomView(): void;
|
|
221
|
+
_splitMainViews(): void;
|
|
222
|
+
_onChangeFlowStepState({ detail }: {
|
|
223
|
+
detail: any;
|
|
224
|
+
}): void;
|
|
225
|
+
_onCloseFlowStepForm(): Promise<void>;
|
|
226
|
+
_closeFlowStepForm(force?: boolean): Promise<void>;
|
|
227
|
+
_askToValidateForms(): Promise<any>;
|
|
228
|
+
_setCurrentFlowStep(currentFlowStep: any, flowStepSchema: any, force?: boolean): Promise<void>;
|
|
229
|
+
_currentFlowStep: any;
|
|
230
|
+
_flowStepSchema: any;
|
|
231
|
+
_refresh(closeStepForm?: boolean): void;
|
|
232
|
+
_onSelectFlows({ detail }: {
|
|
233
|
+
detail: any;
|
|
234
|
+
}): Promise<void>;
|
|
235
|
+
_onOpenDocumentationFromMenu({ detail: { policy } }: {
|
|
236
|
+
detail: {
|
|
237
|
+
policy: any;
|
|
238
|
+
};
|
|
239
|
+
}): Promise<void>;
|
|
240
|
+
_fetchDocumentation(policy: any): void;
|
|
241
|
+
_onOpenDocumentation(): void;
|
|
242
|
+
_onOpenDocumentationFromForm(): void;
|
|
243
|
+
_findFlowCollection(flowId: any): {
|
|
244
|
+
plan: any;
|
|
245
|
+
flows: any;
|
|
246
|
+
};
|
|
247
|
+
_findFlowById(flowId: any): undefined;
|
|
248
|
+
getSelectedFlow(index?: number): undefined;
|
|
249
|
+
_onTargetPolicy({ detail }: {
|
|
250
|
+
detail: any;
|
|
251
|
+
}): void;
|
|
252
|
+
_onChangeFlowStep({ detail }: {
|
|
253
|
+
detail: any;
|
|
254
|
+
}): void;
|
|
255
|
+
_writeFlowStep(values: any): void;
|
|
256
|
+
_onSubmitFlowStep({ detail }: {
|
|
257
|
+
detail: any;
|
|
258
|
+
}): Promise<void>;
|
|
259
|
+
_onCancelFlow(): void;
|
|
260
|
+
_onSubmitFlow({ detail: { values } }: {
|
|
261
|
+
detail: {
|
|
262
|
+
values: any;
|
|
263
|
+
};
|
|
264
|
+
}): void;
|
|
265
|
+
_onCancelFlowMode(): void;
|
|
266
|
+
_onSubmitFlowMode({ detail: { values } }: {
|
|
267
|
+
detail: {
|
|
268
|
+
values: any;
|
|
269
|
+
};
|
|
270
|
+
}): void;
|
|
271
|
+
_onDragStartFlowStep(flow: any, { detail }: {
|
|
272
|
+
detail: any;
|
|
273
|
+
}): void;
|
|
274
|
+
_renderFlowEmptyState(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
275
|
+
_renderFlow(index: number | undefined, hasEmptyState: boolean | undefined, readonlyMode: any): import("lit").TemplateResult<1>;
|
|
276
|
+
_onFetchResources(event: any): void;
|
|
277
|
+
_renderPolicy(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
278
|
+
_getFlowStepForm(): any;
|
|
279
|
+
_onResetFlowStep(): void;
|
|
280
|
+
_generateFlowsId(list: any, force?: boolean): any;
|
|
281
|
+
_generatePlanFlowsId(plan: any, force?: boolean): any;
|
|
282
|
+
_generateFlowStepId(flowId: any, flowKey: any, position: any): string;
|
|
283
|
+
_generateId(prefix: any, list: any, force?: boolean, isFlow?: boolean): any;
|
|
284
|
+
getChildren(): any[];
|
|
285
|
+
getUpdateComplete(): Promise<void>;
|
|
286
|
+
shouldUpdate(changedProperties: any): any;
|
|
287
|
+
updated(props: any): void;
|
|
288
|
+
_renderFlowStepForm(readonlyMode: any): import("lit").TemplateResult<1>;
|
|
289
|
+
_onCloseDocumentation(): void;
|
|
290
|
+
documentation: any;
|
|
291
|
+
_onDeleteFlow({ detail }: {
|
|
292
|
+
detail: any;
|
|
293
|
+
}): void;
|
|
294
|
+
get definedFlows(): never[];
|
|
295
|
+
get definedPlans(): any;
|
|
296
|
+
get definedResources(): any;
|
|
297
|
+
get definedProperties(): any;
|
|
298
|
+
_onDuplicateFlow({ detail }: {
|
|
299
|
+
detail: any;
|
|
300
|
+
}): Promise<void>;
|
|
301
|
+
_onChangeFlowState({ detail }: {
|
|
302
|
+
detail: any;
|
|
303
|
+
}): void;
|
|
304
|
+
_onAddFlowPlan({ detail }: {
|
|
305
|
+
detail: any;
|
|
306
|
+
}): Promise<void>;
|
|
307
|
+
_onAddFlow(): Promise<void>;
|
|
308
|
+
_addFlow(collection: any, duplicate?: null): any;
|
|
309
|
+
_createFlowFromSchema(): {};
|
|
310
|
+
_instantiate(propertiesDefinition: any, initiator?: {}): {};
|
|
311
|
+
_deleteFlow(collection: any, flow: any): void;
|
|
312
|
+
_findFlowIndex(list: any, id: any): null;
|
|
313
|
+
_onReorderFlows({ detail: { plan } }: {
|
|
314
|
+
detail: {
|
|
315
|
+
plan: any;
|
|
316
|
+
};
|
|
317
|
+
}): Promise<void>;
|
|
318
|
+
_onSearchPolicy({ detail }: {
|
|
319
|
+
detail: any;
|
|
320
|
+
}): void;
|
|
321
|
+
_searchPolicyQuery: any;
|
|
322
|
+
_onClearPolicy(): void;
|
|
323
|
+
_onSearchFlows({ detail }: {
|
|
324
|
+
detail: any;
|
|
325
|
+
}): void;
|
|
326
|
+
_searchFlowQuery: any;
|
|
327
|
+
_onClearFlows(): void;
|
|
328
|
+
_onResetAll(): Promise<void>;
|
|
329
|
+
_filterNotValidStep(step: any): boolean;
|
|
330
|
+
_removePrivateProperties(o: any): any;
|
|
331
|
+
_submitOrConfirmForms(): any[];
|
|
332
|
+
getPropertiesElement(): any;
|
|
333
|
+
_checkCurrentFlowStep(): Promise<void | any[]>;
|
|
334
|
+
saved(): void;
|
|
335
|
+
_definitionSaved: any;
|
|
336
|
+
_buildDefinitionToSave(): {
|
|
337
|
+
flows: any[];
|
|
338
|
+
};
|
|
339
|
+
_buildDefinitionToSend(definitionToSave: any): {
|
|
340
|
+
flows: any;
|
|
341
|
+
};
|
|
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
|
+
_onResourcesChange({ detail }: {
|
|
354
|
+
detail: any;
|
|
355
|
+
}): void;
|
|
356
|
+
_onPropertiesChange({ detail }: {
|
|
357
|
+
detail: any;
|
|
358
|
+
}): void;
|
|
359
|
+
_onSaveProvider({ detail }: {
|
|
360
|
+
detail: any;
|
|
361
|
+
}): void;
|
|
362
|
+
_onSwitchEncryptedProperty({ detail }: {
|
|
363
|
+
detail: any;
|
|
364
|
+
}): void;
|
|
365
|
+
render(): import("lit").TemplateResult<1>;
|
|
366
|
+
/**
|
|
367
|
+
* Determine if the design view should be in readonly mode or not
|
|
368
|
+
* It is in readonly mode if:
|
|
369
|
+
* the readonly attribute is set to true
|
|
370
|
+
* OR
|
|
371
|
+
* the main selected flow belongs to a plan and the readonly-plans attribute is set to true
|
|
372
|
+
* OR
|
|
373
|
+
* the second flow for comparison belongs to a plan and the readonly-plans attribute is set to true
|
|
374
|
+
* @returns {boolean|*|{type: BooleanConstructor}|{attribute: string, type: BooleanConstructor}|{type: *}|{attribute: string, type: *}}
|
|
375
|
+
* @private
|
|
376
|
+
*/
|
|
377
|
+
private _getReadonlyModeForDesign;
|
|
378
|
+
}
|
|
379
|
+
export {};
|