@gravitee/ui-components 3.28.7-debug-mode-add-menu-ded8a59 → 3.28.7-debug-mode-add-menu-43d8764

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravitee/ui-components",
3
- "version": "3.28.7-debug-mode-add-menu-ded8a59",
3
+ "version": "3.28.7-debug-mode-add-menu-43d8764",
4
4
  "description": "Gravitee.io UI Components library, based on Web Components",
5
5
  "repository": {
6
6
  "type": "git",
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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,OAAO,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,yBAAyB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC"}
@@ -0,0 +1,366 @@
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
+ dispatchChange(): 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
+ _filterNotValidStep(step: any): boolean;
326
+ _removePrivateProperties(o: any): any;
327
+ _submitOrConfirmForms(): any[];
328
+ getPropertiesElement(): any;
329
+ _checkCurrentFlowStep(): Promise<void | any[]>;
330
+ saved(): void;
331
+ _definitionSaved: {
332
+ flows: any[];
333
+ } | null | undefined;
334
+ _buildDefinitionToSave(): {
335
+ flows: any[];
336
+ };
337
+ _buildDefinitionToSend(definitionToSave: any): {
338
+ flows: any;
339
+ };
340
+ getValidatedDefinition(): Promise<any>;
341
+ get filteredFlows(): never[] | null;
342
+ get filteredPlans(): any;
343
+ _onFilterFlows({ detail }: {
344
+ detail: any;
345
+ }): void;
346
+ _getFilteredPolicies(): any[];
347
+ _onFilterPolicies({ detail }: {
348
+ detail: any;
349
+ }): void;
350
+ _renderContent(readonlyMode: any): import("lit").TemplateResult<1>;
351
+ _renderFlowForm(readonlyMode: any): import("lit").TemplateResult<1> | undefined;
352
+ render(): import("lit").TemplateResult<1>;
353
+ /**
354
+ * Determine if the design view should be in readonly mode or not
355
+ * It is in readonly mode if:
356
+ * the readonly attribute is set to true
357
+ * OR
358
+ * the main selected flow belongs to a plan and the readonly-plans attribute is set to true
359
+ * OR
360
+ * the second flow for comparison belongs to a plan and the readonly-plans attribute is set to true
361
+ * @returns {boolean|*|{type: BooleanConstructor}|{attribute: string, type: BooleanConstructor}|{type: *}|{attribute: string, type: *}}
362
+ * @private
363
+ */
364
+ private _getReadonlyModeForDesign;
365
+ }
366
+ export {};