@gravitee/ui-components 3.25.3-typescript-bfd8f67 → 3.25.3-typescript-e7256ca

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 (183) hide show
  1. package/package.json +2 -1
  2. package/src/atoms/gv-autocomplete.d.ts +104 -0
  3. package/src/atoms/gv-button.d.ts +109 -0
  4. package/src/atoms/gv-checkbox.d.ts +114 -0
  5. package/src/atoms/gv-date-picker-calendar.d.ts +190 -0
  6. package/src/atoms/gv-date-picker-cell.d.ts +80 -0
  7. package/src/atoms/gv-date-picker.d.ts +194 -0
  8. package/src/atoms/gv-file-upload.d.ts +64 -0
  9. package/src/atoms/gv-icon.d.ts +26 -0
  10. package/src/atoms/gv-image.d.ts +45 -0
  11. package/src/atoms/gv-input-message.d.ts +20 -0
  12. package/src/atoms/gv-input.d.ts +246 -0
  13. package/src/atoms/gv-link.d.ts +67 -0
  14. package/src/atoms/gv-message.d.ts +23 -0
  15. package/src/atoms/gv-metric.d.ts +32 -0
  16. package/src/atoms/gv-relative-time.d.ts +45 -0
  17. package/src/atoms/gv-select-native.d.ts +174 -0
  18. package/src/atoms/gv-select.d.ts +71 -0
  19. package/src/atoms/gv-spinner.d.ts +10 -0
  20. package/src/atoms/gv-state.d.ts +50 -0
  21. package/src/atoms/gv-switch.d.ts +60 -0
  22. package/src/atoms/gv-tag.d.ts +69 -0
  23. package/src/atoms/gv-text.d.ts +110 -0
  24. package/src/charts/gv-chart-bar.d.ts +50 -0
  25. package/src/charts/gv-chart-gauge.d.ts +58 -0
  26. package/src/charts/gv-chart-histogram.d.ts +48 -0
  27. package/src/charts/gv-chart-line.d.ts +52 -0
  28. package/src/charts/gv-chart-map.d.ts +50 -0
  29. package/src/charts/gv-chart-pie.d.ts +50 -0
  30. package/src/index.d.ts +77 -0
  31. package/src/lib/cron-expression.d.ts +1 -0
  32. package/src/lib/date.d.ts +1 -0
  33. package/src/lib/events.d.ts +1 -0
  34. package/src/lib/http-client-schema-form.d.ts +68 -0
  35. package/src/lib/http.d.ts +222 -0
  36. package/src/lib/i18n.d.ts +30 -0
  37. package/src/lib/item.d.ts +12 -0
  38. package/src/lib/properties.d.ts +42 -0
  39. package/src/lib/schema-form.d.ts +5 -0
  40. package/src/lib/studio.d.ts +2 -0
  41. package/src/lib/style.d.ts +6 -0
  42. package/src/lib/text-format.d.ts +6 -0
  43. package/src/lib/theme.d.ts +4 -0
  44. package/src/lib/utils.d.ts +9 -0
  45. package/src/mixins/chart-element.d.ts +39 -0
  46. package/src/mixins/input-element.d.ts +64 -0
  47. package/src/mixins/item-resource.d.ts +56 -0
  48. package/src/mixins/keyboard-element.d.ts +25 -0
  49. package/src/mixins/update-after-browser.d.ts +11 -0
  50. package/src/mixins/with-resize-observer.d.ts +12 -0
  51. package/src/mixins/with-skeleton-attribute.d.ts +35 -0
  52. package/src/molecules/gv-card-full.d.ts +78 -0
  53. package/src/molecules/gv-card-list.d.ts +33 -0
  54. package/src/molecules/gv-card.d.ts +65 -0
  55. package/src/molecules/gv-category-list.d.ts +17 -0
  56. package/src/molecules/gv-category.d.ts +64 -0
  57. package/src/molecules/gv-code.d.ts +192 -0
  58. package/src/molecules/gv-confirm.d.ts +60 -0
  59. package/src/molecules/gv-cron-editor.d.ts +115 -0
  60. package/src/molecules/gv-dropdown-menu.d.ts +28 -0
  61. package/src/molecules/gv-expandable.d.ts +37 -0
  62. package/src/molecules/gv-expression-language.d.ts +150 -0
  63. package/src/molecules/gv-identity-picture.d.ts +44 -0
  64. package/src/molecules/gv-list.d.ts +123 -0
  65. package/src/molecules/gv-metrics.d.ts +65 -0
  66. package/src/molecules/gv-modal.d.ts +64 -0
  67. package/src/molecules/gv-nav.d.ts +41 -0
  68. package/src/molecules/gv-option.d.ts +65 -0
  69. package/src/molecules/gv-plans.d.ts +73 -0
  70. package/src/molecules/gv-popover.d.ts +91 -0
  71. package/src/molecules/gv-promote.d.ts +108 -0
  72. package/src/molecules/gv-rating-list.d.ts +77 -0
  73. package/src/molecules/gv-rating.d.ts +55 -0
  74. package/src/molecules/gv-row-expandable.d.ts +8 -0
  75. package/src/molecules/gv-row.d.ts +37 -0
  76. package/src/molecules/gv-stats.d.ts +53 -0
  77. package/src/molecules/gv-stepper.d.ts +46 -0
  78. package/src/molecules/gv-table.d.ts +159 -0
  79. package/src/molecules/gv-tree.d.ts +44 -0
  80. package/src/organisms/gv-documentation.d.ts +52 -0
  81. package/src/organisms/gv-header.d.ts +60 -0
  82. package/src/organisms/gv-http-client.d.ts +57 -0
  83. package/src/organisms/gv-menu.d.ts +74 -0
  84. package/src/organisms/gv-newsletter-subscription.d.ts +82 -0
  85. package/src/organisms/gv-pagination.d.ts +63 -0
  86. package/src/organisms/gv-properties.d.ts +229 -0
  87. package/src/organisms/gv-resizable-views.d.ts +33 -0
  88. package/src/organisms/gv-resources.d.ts +125 -0
  89. package/src/organisms/gv-schema-form-array.d.ts +55 -0
  90. package/src/organisms/gv-schema-form-control-object.d.ts +64 -0
  91. package/src/organisms/gv-schema-form-control.d.ts +90 -0
  92. package/src/organisms/gv-schema-form.d.ts +156 -0
  93. package/src/organisms/gv-tabs.d.ts +56 -0
  94. package/src/organisms/gv-user-menu.d.ts +56 -0
  95. package/src/organisms/gv-vertical-menu.d.ts +28 -0
  96. package/src/policy-studio/gv-flow-step.d.ts +142 -0
  97. package/src/policy-studio/gv-flow.d.ts +89 -0
  98. package/src/policy-studio/gv-policy-studio-menu.d.ts +94 -0
  99. package/src/policy-studio/gv-policy-studio.d.ts +464 -0
  100. package/src/styles/empty.d.ts +1 -0
  101. package/src/styles/input.d.ts +1 -0
  102. package/src/styles/link.d.ts +1 -0
  103. package/src/styles/shapes.d.ts +2 -0
  104. package/src/styles/skeleton.d.ts +1 -0
  105. package/src/styles/zoom.d.ts +1 -0
  106. package/src/theme/gv-theme.d.ts +81 -0
  107. package/wc/gv-autocomplete.d.ts +1 -0
  108. package/wc/gv-button.d.ts +1 -0
  109. package/wc/gv-card-full.d.ts +1 -0
  110. package/wc/gv-card-list.d.ts +1 -0
  111. package/wc/gv-card.d.ts +1 -0
  112. package/wc/gv-category-list.d.ts +1 -0
  113. package/wc/gv-category.d.ts +1 -0
  114. package/wc/gv-chart-bar.d.ts +1 -0
  115. package/wc/gv-chart-gauge.d.ts +1 -0
  116. package/wc/gv-chart-histogram.d.ts +1 -0
  117. package/wc/gv-chart-line.d.ts +1 -0
  118. package/wc/gv-chart-map.d.ts +1 -0
  119. package/wc/gv-chart-pie.d.ts +1 -0
  120. package/wc/gv-checkbox.d.ts +1 -0
  121. package/wc/gv-code.d.ts +1 -0
  122. package/wc/gv-confirm.d.ts +1 -0
  123. package/wc/gv-cron-editor.d.ts +1 -0
  124. package/wc/gv-date-picker-calendar.d.ts +1 -0
  125. package/wc/gv-date-picker-cell.d.ts +1 -0
  126. package/wc/gv-date-picker.d.ts +1 -0
  127. package/wc/gv-documentation.d.ts +1 -0
  128. package/wc/gv-dropdown-menu.d.ts +1 -0
  129. package/wc/gv-expandable.d.ts +1 -0
  130. package/wc/gv-expression-language.d.ts +1 -0
  131. package/wc/gv-file-upload.d.ts +1 -0
  132. package/wc/gv-flow-step.d.ts +1 -0
  133. package/wc/gv-flow.d.ts +1 -0
  134. package/wc/gv-header.d.ts +1 -0
  135. package/wc/gv-http-client.d.ts +1 -0
  136. package/wc/gv-icon.d.ts +1 -0
  137. package/wc/gv-identity-picture.d.ts +1 -0
  138. package/wc/gv-image.d.ts +1 -0
  139. package/wc/gv-input-message.d.ts +1 -0
  140. package/wc/gv-input.d.ts +1 -0
  141. package/wc/gv-link.d.ts +1 -0
  142. package/wc/gv-list.d.ts +1 -0
  143. package/wc/gv-menu.d.ts +1 -0
  144. package/wc/gv-message.d.ts +1 -0
  145. package/wc/gv-metric.d.ts +1 -0
  146. package/wc/gv-metrics.d.ts +1 -0
  147. package/wc/gv-modal.d.ts +1 -0
  148. package/wc/gv-nav.d.ts +1 -0
  149. package/wc/gv-newsletter-subscription.d.ts +1 -0
  150. package/wc/gv-option.d.ts +1 -0
  151. package/wc/gv-pagination.d.ts +1 -0
  152. package/wc/gv-plans.d.ts +1 -0
  153. package/wc/gv-policy-studio-menu.d.ts +1 -0
  154. package/wc/gv-policy-studio.d.ts +1 -0
  155. package/wc/gv-popover.d.ts +1 -0
  156. package/wc/gv-promote.d.ts +1 -0
  157. package/wc/gv-properties.d.ts +1 -0
  158. package/wc/gv-rating-list.d.ts +1 -0
  159. package/wc/gv-rating.d.ts +1 -0
  160. package/wc/gv-relative-time.d.ts +1 -0
  161. package/wc/gv-resizable-views.d.ts +1 -0
  162. package/wc/gv-resources.d.ts +1 -0
  163. package/wc/gv-row-expandable.d.ts +1 -0
  164. package/wc/gv-row.d.ts +1 -0
  165. package/wc/gv-schema-form-array.d.ts +1 -0
  166. package/wc/gv-schema-form-control-object.d.ts +1 -0
  167. package/wc/gv-schema-form-control.d.ts +1 -0
  168. package/wc/gv-schema-form.d.ts +1 -0
  169. package/wc/gv-select-native.d.ts +1 -0
  170. package/wc/gv-select.d.ts +1 -0
  171. package/wc/gv-spinner.d.ts +1 -0
  172. package/wc/gv-state.d.ts +1 -0
  173. package/wc/gv-stats.d.ts +1 -0
  174. package/wc/gv-stepper.d.ts +1 -0
  175. package/wc/gv-switch.d.ts +1 -0
  176. package/wc/gv-table.d.ts +1 -0
  177. package/wc/gv-tabs.d.ts +1 -0
  178. package/wc/gv-tag.d.ts +1 -0
  179. package/wc/gv-text.d.ts +1 -0
  180. package/wc/gv-theme.d.ts +1 -0
  181. package/wc/gv-tree.d.ts +1 -0
  182. package/wc/gv-user-menu.d.ts +1 -0
  183. package/wc/gv-vertical-menu.d.ts +1 -0
@@ -0,0 +1,94 @@
1
+ /**
2
+ * Policy studio menu component
3
+ */
4
+ export class GvPolicyStudioMenu extends LitElement {
5
+ static get properties(): {
6
+ policies: {
7
+ type: ArrayConstructor;
8
+ };
9
+ flows: {
10
+ type: ObjectConstructor;
11
+ };
12
+ plans: {
13
+ type: ObjectConstructor;
14
+ };
15
+ selectedIds: {
16
+ type: ArrayConstructor;
17
+ };
18
+ sortable: {
19
+ type: BooleanConstructor;
20
+ };
21
+ disabled: {
22
+ type: BooleanConstructor;
23
+ reflect: boolean;
24
+ };
25
+ query: {
26
+ type: StringConstructor;
27
+ };
28
+ flowsTitle: {
29
+ type: StringConstructor;
30
+ attribute: string;
31
+ };
32
+ hasPolicyFilter: {
33
+ type: BooleanConstructor;
34
+ attribute: string;
35
+ };
36
+ canAdd: {
37
+ type: BooleanConstructor;
38
+ attribute: string;
39
+ };
40
+ readonly: {
41
+ type: BooleanConstructor;
42
+ };
43
+ readonlyPlans: {
44
+ type: BooleanConstructor;
45
+ };
46
+ };
47
+ static get styles(): import("lit").CSSResult[];
48
+ selectedIds: any[];
49
+ flowsTitle: string;
50
+ _onExpand(anchor: any, e: any): void;
51
+ _onDragStartPolicy(policy: any, e: any): void;
52
+ _draggablePolicyImage: HTMLDivElement | null | undefined;
53
+ _onDragEndPolicy(): void;
54
+ _onClickFlow(flow: any, e: any): void;
55
+ _selectFlow(flow: any): void;
56
+ _compareFlow(flow: any): void;
57
+ _onMouseEnterPolicy(policy: any): void;
58
+ _onMouseLeavePolicy(): void;
59
+ _onMouseEnterFlow(e: any): void;
60
+ _onMouseLeaveFlow(e: any): void;
61
+ _filter(content: any): any;
62
+ hasCompare(): boolean;
63
+ _onChangeFlowState(content: any, { detail }: {
64
+ detail: any;
65
+ }): void;
66
+ _onDuplicateFlow(content: any): void;
67
+ _onDeleteFlow(content: any): void;
68
+ _renderFlowActions(content: any, readonlyMode: any): import("lit-html").TemplateResult<1>;
69
+ _onDragStartFlow(flow: any, index: any, event: any): void;
70
+ _draggingFlow: {
71
+ target: any;
72
+ flow: any;
73
+ index: any;
74
+ } | null | undefined;
75
+ _onDragEnterFlow(event: any): void;
76
+ _findFlowCollection(flowId: any): {
77
+ plan: any;
78
+ flows: any;
79
+ };
80
+ _onDragEndFlow(): void;
81
+ _onDragOverFlow(e: any): void;
82
+ _onKeyDownFlow(index: any, e: any): void;
83
+ _onClickPolicy(policy: any): void;
84
+ _isSelected(id: any): boolean;
85
+ _renderFlows(filteredData: any, type: any, isChild: any, id: any, open: any): import("lit-html").TemplateResult<1>;
86
+ _isDraggable(policy: any): boolean;
87
+ _renderPolicies(filteredData: any, type: any, isChild: any, id: any, group: any): import("lit-html").TemplateResult<1>;
88
+ _getGroupShape(groupName: any): "communication:shield-thunder" | "general:shield-protected" | "tools:roller" | "general:thunder-move";
89
+ _renderPart(type: any, title: any, icon: any, data: any[] | undefined, hideIfEmpty: any, addHandler: any, groupKey: null | undefined, isOpen: boolean | undefined, isChild: boolean | undefined, listId: any): any;
90
+ _getListElement(id: any): Element | null;
91
+ _onAddFlowToPlan(index: any, listId: any, e: any): void;
92
+ _onAddFlow(listId: any, e: any): void;
93
+ }
94
+ import { LitElement } from "lit-element/lit-element";
@@ -0,0 +1,464 @@
1
+ declare const GvPolicyStudio_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
+ onKeyboard(controller: any): void;
13
+ };
14
+ [x: string]: any;
15
+ };
16
+ /**
17
+ * Studio Policy component
18
+ *
19
+ * ⚠️ This component is based on `asciidoctor`, `highlight.js` and `asciidoctor-highlight.js`.
20
+ * To use this component in your project be sure the dependencies are installed or
21
+ * install them with: `npm install asciidoctor highlight.js asciidoctor-highlight.js --save`
22
+ *
23
+ * @fires gv-policy-studio:select-policy - Select policy event
24
+ * @fires gv-policy-studio:save - Event sent when "Save" button is clicked, it contains the whole definition of the API
25
+ * @fires gv-policy-studio:debug - Event sent when validation button of the 'Try it' tab is clicked, it contains the whole definition of the API and the information about the try it request.
26
+ *
27
+ * @attr {Array} policies - Policies available
28
+ * @attr {Array} services - Services available
29
+ * @attr {Array} resourceTypes - Resources types available
30
+ * @attr {Array} propertyProviders - Providers of properties
31
+ * @attr {Array} dynamicPropertySchema - Schema for the dynamic property form
32
+ * @attr {String} tabId - Current tabId to display (design, settings, properties or resources)
33
+ * @attr {Object} definition - The definition of flows
34
+ * @attr {Object} documentation - The documentation to display
35
+ * @attr {Object} flowSchema - The flow form configuration to display in gv-schema-form component
36
+ * @attr {Object} configurationSchema - The form configuration to display in gv-schema-form component
37
+ * @attr {Object} configurationInformation - The information related to api configuration tab
38
+ * @attr {Boolean} isDirty - true if component is dirty
39
+ * @attr {Array} selectedFlowsId - The selected flows id
40
+ * @attr {Boolean} sortable - true if flows are sortable
41
+ * @attr {Boolean} readonly - true if readonly
42
+ * @attr {Boolean} readonly-plans - true if plans' flows can't be modified
43
+ * @attr {Boolean} can-add - true if user can add flow
44
+ * @attr {String} flowsTitle - flows menu title
45
+ * @attr {Boolean} has-policy-filter - true if policies have onRequest/onResponse properties
46
+ * @attr {Boolean} can-debug - true if debug tab should be displayed
47
+ * @attr {Object} debugResponse - true if debug tab should be displayed
48
+ * @attr {Boolean} has-conditional-steps - true if steps can be conditioned
49
+ */
50
+ export class GvPolicyStudio extends GvPolicyStudio_base {
51
+ static get properties(): {
52
+ policies: {
53
+ type: ArrayConstructor;
54
+ };
55
+ services: {
56
+ type: ObjectConstructor;
57
+ };
58
+ resourceTypes: {
59
+ type: ArrayConstructor;
60
+ attribute: string;
61
+ };
62
+ propertyProviders: {
63
+ type: ArrayConstructor;
64
+ attribute: string;
65
+ };
66
+ dynamicPropertySchema: {
67
+ type: ObjectConstructor;
68
+ attribute: string;
69
+ };
70
+ tabId: {
71
+ type: StringConstructor;
72
+ attribute: string;
73
+ };
74
+ _tabId: {
75
+ type: StringConstructor;
76
+ attribute: boolean;
77
+ };
78
+ definition: {
79
+ type: ObjectConstructor;
80
+ };
81
+ _definition: {
82
+ type: ObjectConstructor;
83
+ attribute: boolean;
84
+ };
85
+ documentation: {
86
+ type: ObjectConstructor;
87
+ };
88
+ flowSchema: {
89
+ type: ObjectConstructor;
90
+ attribute: string;
91
+ };
92
+ configurationSchema: {
93
+ type: ObjectConstructor;
94
+ attribute: string;
95
+ };
96
+ _configurationSchema: {
97
+ type: ObjectConstructor;
98
+ attribute: boolean;
99
+ };
100
+ configurationInformation: {
101
+ type: StringConstructor;
102
+ attribute: string;
103
+ };
104
+ isDirty: {
105
+ type: BooleanConstructor;
106
+ attribute: string;
107
+ reflect: boolean;
108
+ };
109
+ _dragPolicy: {
110
+ type: ObjectConstructor;
111
+ attribute: boolean;
112
+ };
113
+ _dropPolicy: {
114
+ type: ObjectConstructor;
115
+ attribute: boolean;
116
+ };
117
+ selectedFlowsId: {
118
+ type: ArrayConstructor;
119
+ attribute: string;
120
+ };
121
+ _selectedFlowsId: {
122
+ type: ArrayConstructor;
123
+ attribute: boolean;
124
+ };
125
+ _currentPolicyId: {
126
+ type: StringConstructor;
127
+ attribute: boolean;
128
+ };
129
+ _searchPolicyQuery: {
130
+ type: StringConstructor;
131
+ attribute: boolean;
132
+ };
133
+ _searchFlowQuery: {
134
+ type: StringConstructor;
135
+ attribute: boolean;
136
+ };
137
+ _flowStepSchema: {
138
+ type: ObjectConstructor;
139
+ attribute: boolean;
140
+ };
141
+ _currentFlowStep: {
142
+ type: ObjectConstructor;
143
+ attribute: boolean;
144
+ };
145
+ _policyFilter: {
146
+ type: ArrayConstructor;
147
+ attribute: boolean;
148
+ };
149
+ _flowFilter: {
150
+ type: ArrayConstructor;
151
+ attribute: boolean;
152
+ };
153
+ _currentAskConfirmation: {
154
+ type: BooleanConstructor;
155
+ attribute: boolean;
156
+ };
157
+ hasProperties: {
158
+ type: BooleanConstructor;
159
+ attribute: string;
160
+ };
161
+ _hasProperties: {
162
+ type: BooleanConstructor;
163
+ attribute: boolean;
164
+ };
165
+ hasResources: {
166
+ type: BooleanConstructor;
167
+ attribute: string;
168
+ };
169
+ hasPolicyFilter: {
170
+ type: BooleanConstructor;
171
+ attribute: string;
172
+ };
173
+ flowsTitle: {
174
+ type: StringConstructor;
175
+ attribute: string;
176
+ };
177
+ sortable: {
178
+ type: BooleanConstructor;
179
+ };
180
+ canAdd: {
181
+ type: BooleanConstructor;
182
+ attribute: string;
183
+ };
184
+ readonly: {
185
+ type: BooleanConstructor;
186
+ };
187
+ readonlyPlans: {
188
+ type: BooleanConstructor;
189
+ attribute: string;
190
+ };
191
+ canDebug: {
192
+ type: BooleanConstructor;
193
+ attribute: string;
194
+ };
195
+ _canDebug: {
196
+ type: BooleanConstructor;
197
+ attribute: boolean;
198
+ };
199
+ debugResponse: {
200
+ type: ObjectConstructor;
201
+ attribute: string;
202
+ };
203
+ hasConditionalSteps: {
204
+ type: BooleanConstructor;
205
+ attribute: string;
206
+ };
207
+ };
208
+ static get styles(): import("lit").CSSResult[];
209
+ isDirty: boolean;
210
+ policies: any[];
211
+ resourceTypes: any[];
212
+ set tabId(arg: any);
213
+ get tabId(): any;
214
+ set selectedFlowsId(arg: any);
215
+ get selectedFlowsId(): any;
216
+ flowsTitle: string;
217
+ sortable: boolean;
218
+ services: {};
219
+ _definition: {
220
+ flows: never[];
221
+ };
222
+ _tabs: {
223
+ id: string;
224
+ title: string;
225
+ icon: string;
226
+ }[];
227
+ _policyFilter: any[];
228
+ _flowFilter: any[];
229
+ set hasProperties(arg: any);
230
+ get hasProperties(): any;
231
+ _hasProperties: any;
232
+ set hasResources(arg: any);
233
+ set canDebug(arg: any);
234
+ get _flowFilterOptions(): {
235
+ id: string;
236
+ title: string;
237
+ icon: string;
238
+ }[] | undefined;
239
+ set hasPolicyFilter(arg: any);
240
+ _policyFilterOptions: {
241
+ id: string;
242
+ title: string;
243
+ icon: string;
244
+ }[] | undefined;
245
+ set configurationSchema(arg: any);
246
+ get configurationSchema(): any;
247
+ _configurationSchema: any;
248
+ _tabId: any;
249
+ set definition(arg: {
250
+ flows: never[];
251
+ });
252
+ get definition(): {
253
+ flows: never[];
254
+ };
255
+ _initialDefinition: any;
256
+ _selectedFlowsId: any;
257
+ _updateSelectedFlows(selectedFlowsId: any): void;
258
+ _selectFirstFlow(dispatch?: boolean): void;
259
+ _getFlowElement(flowId: any): any;
260
+ _onDragEndPolicy(): void;
261
+ _onDropPolicy({ detail }: {
262
+ detail: any;
263
+ }): Promise<void>;
264
+ _dragPolicy: any;
265
+ _dropPolicy: any;
266
+ _currentAskConfirmation: boolean | null | undefined;
267
+ _onDeletePolicy({ detail }: {
268
+ detail: any;
269
+ }): void;
270
+ _onDesign(): void;
271
+ buildSchema({ schema }: {
272
+ schema: any;
273
+ }): any;
274
+ _editFlowStep({ step, flow, policy, group }: {
275
+ step: any;
276
+ flow: any;
277
+ policy: any;
278
+ group: any;
279
+ }): Promise<void>;
280
+ _currentPolicyId: any;
281
+ _onEditFlowStep({ detail: { step, flow, policy, group } }: {
282
+ detail: {
283
+ step: any;
284
+ flow: any;
285
+ policy: any;
286
+ group: any;
287
+ };
288
+ }): Promise<void>;
289
+ _getResizableViews(): any;
290
+ _maximizeTopView(): void;
291
+ _maximizeBottomView(): void;
292
+ _splitMainViews(): void;
293
+ _onChangeFlowStepState({ detail }: {
294
+ detail: any;
295
+ }): void;
296
+ _onCloseFlowStepForm(): Promise<void>;
297
+ _closeFlowStepForm(force?: boolean): Promise<void>;
298
+ _askToValidateForms(): Promise<any>;
299
+ _setCurrentFlowStep(currentFlowStep: any, flowStepSchema: any, force?: boolean): Promise<void>;
300
+ _currentFlowStep: any;
301
+ _flowStepSchema: any;
302
+ _refresh(closeStepForm?: boolean): void;
303
+ _onSelectFlows({ detail }: {
304
+ detail: any;
305
+ }): Promise<void>;
306
+ _onOpenDocumentationFromMenu({ detail: { policy } }: {
307
+ detail: {
308
+ policy: any;
309
+ };
310
+ }): Promise<void>;
311
+ _fetchDocumentation(policy: any): void;
312
+ _onOpenDocumentation(): void;
313
+ _onOpenDocumentationFromForm(): void;
314
+ _findFlowCollection(flowId: any): {
315
+ plan: any;
316
+ flows: any;
317
+ };
318
+ _findFlowById(flowId: any): undefined;
319
+ getSelectedFlow(index?: number): undefined;
320
+ _onTargetPolicy({ detail }: {
321
+ detail: any;
322
+ }): void;
323
+ _onChangeFlowStep({ detail }: {
324
+ detail: any;
325
+ }): void;
326
+ _writeFlowStep(values: any): void;
327
+ _onSubmitFlowStep({ detail }: {
328
+ detail: any;
329
+ }): Promise<void>;
330
+ _onCancelFlow(): void;
331
+ _onSubmitFlow({ detail: { values } }: {
332
+ detail: {
333
+ values: any;
334
+ };
335
+ }): void;
336
+ _onCancelFlowMode(): void;
337
+ _onSubmitFlowMode({ detail: { values } }: {
338
+ detail: {
339
+ values: any;
340
+ };
341
+ }): void;
342
+ _onChangeTab({ detail }: {
343
+ detail: any;
344
+ }): void;
345
+ _changeTabValidator({ from, to }: {
346
+ from: any;
347
+ to: any;
348
+ }): Promise<any>;
349
+ _changeTab(tabId: any): void;
350
+ _onDragStartFlowStep(flow: any, { detail }: {
351
+ detail: any;
352
+ }): void;
353
+ _renderFlowEmptyState(readonlyMode: any): import("lit-html").TemplateResult<1>;
354
+ _renderFlow(index: number | undefined, hasEmptyState: boolean | undefined, readonlyMode: any): import("lit-html").TemplateResult<1>;
355
+ _onFetchResources(event: any): void;
356
+ _renderPolicy(readonlyMode: any): import("lit-html").TemplateResult<1>;
357
+ _getFlowStepForm(): any;
358
+ _onResetFlowStep(): void;
359
+ _generateFlowsId(list: any, force?: boolean): any;
360
+ _generatePlanFlowsId(plan: any, force?: boolean): any;
361
+ _generateFlowStepId(flowId: any, flowKey: any, position: any): string;
362
+ _generateId(prefix: any, list: any, force?: boolean, isFlow?: boolean): any;
363
+ getChildren(): any[];
364
+ getUpdateComplete(): Promise<void>;
365
+ shouldUpdate(changedProperties: any): any;
366
+ updated(props: any): void;
367
+ _renderFlowStepForm(readonlyMode: any): import("lit-html").TemplateResult<1>;
368
+ _onCloseDocumentation(): void;
369
+ documentation: any;
370
+ _onDeleteFlow({ detail }: {
371
+ detail: any;
372
+ }): void;
373
+ get definedFlows(): never[];
374
+ get definedPlans(): any;
375
+ get definedResources(): any;
376
+ get definedProperties(): any;
377
+ _onDuplicateFlow({ detail }: {
378
+ detail: any;
379
+ }): Promise<void>;
380
+ _onChangeFlowState({ detail }: {
381
+ detail: any;
382
+ }): void;
383
+ _onAddFlowPlan({ detail }: {
384
+ detail: any;
385
+ }): Promise<void>;
386
+ _onAddFlow(): Promise<void>;
387
+ _addFlow(collection: any, duplicate?: null): any;
388
+ _createFlowFromSchema(): {};
389
+ _instantiate(propertiesDefinition: any, initiator?: {}): {};
390
+ _deleteFlow(collection: any, flow: any): void;
391
+ _findFlowIndex(list: any, id: any): null;
392
+ _onReorderFlows({ detail: { plan } }: {
393
+ detail: {
394
+ plan: any;
395
+ };
396
+ }): Promise<void>;
397
+ _onSearchPolicy({ detail }: {
398
+ detail: any;
399
+ }): void;
400
+ _searchPolicyQuery: any;
401
+ _onClearPolicy(): void;
402
+ _onSearchFlows({ detail }: {
403
+ detail: any;
404
+ }): void;
405
+ _searchFlowQuery: any;
406
+ _onClearFlows(): void;
407
+ _onResetAll(): Promise<void>;
408
+ _filterNotValidStep(step: any): boolean;
409
+ _removePrivateProperties(o: any): any;
410
+ _submitOrConfirmForms(): any[];
411
+ getPropertiesElement(): any;
412
+ _checkCurrentFlowStep(): Promise<void | any[]>;
413
+ saved(): void;
414
+ _definitionSaved: {
415
+ flows: any[];
416
+ } | null | undefined;
417
+ _buildDefinitionToSave(): {
418
+ flows: any[];
419
+ };
420
+ _buildDefinitionToSend(definitionToSave: any): {
421
+ flows: any;
422
+ };
423
+ _onSaveAll(): void;
424
+ _onDebug(requestEvent: any): void;
425
+ get filteredFlows(): never[] | null;
426
+ get filteredPlans(): any;
427
+ _onFilterFlows({ detail }: {
428
+ detail: any;
429
+ }): void;
430
+ _getFilteredPolicies(): any[];
431
+ _onFilterPolicies({ detail }: {
432
+ detail: any;
433
+ }): void;
434
+ _renderDesign(readonlyMode: any): import("lit-html").TemplateResult<1>;
435
+ _renderDebug(): import("lit-html").TemplateResult<1>;
436
+ _renderConfigurationForm(readonlyMode: any): import("lit-html").TemplateResult<1>;
437
+ _renderFlowForm(readonlyMode: any): import("lit-html").TemplateResult<1> | undefined;
438
+ _onResourcesChange({ detail }: {
439
+ detail: any;
440
+ }): void;
441
+ _onPropertiesChange({ detail }: {
442
+ detail: any;
443
+ }): void;
444
+ _onSaveProvider({ detail }: {
445
+ detail: any;
446
+ }): void;
447
+ _onSwitchEncryptedProperty({ detail }: {
448
+ detail: any;
449
+ }): void;
450
+ render(): import("lit-html").TemplateResult<1>;
451
+ /**
452
+ * Determine if the design view should be in readonly mode or not
453
+ * It is in readonly mode if:
454
+ * the readonly attribute is set to true
455
+ * OR
456
+ * the main selected flow belongs to a plan and the readonly-plans attribute is set to true
457
+ * OR
458
+ * the second flow for comparison belongs to a plan and the readonly-plans attribute is set to true
459
+ * @returns {boolean|*|{type: BooleanConstructor}|{attribute: string, type: BooleanConstructor}|{type: *}|{attribute: string, type: *}}
460
+ * @private
461
+ */
462
+ private _getReadonlyModeForDesign;
463
+ }
464
+ export {};
@@ -0,0 +1 @@
1
+ export const empty: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export const input: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export const link: import("lit").CSSResult;
@@ -0,0 +1,2 @@
1
+ export const shapeClipboard: "general:clipboard";
2
+ export const shapeCopied: "communication:clipboard-check";
@@ -0,0 +1 @@
1
+ export const skeleton: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ export const zoom: import("lit").CSSResult;
@@ -0,0 +1,81 @@
1
+ /**
2
+ * Our components use css variables to expose customizable properties.
3
+ *
4
+ * We did a work of inheritance and factorization of properties in order to define a general theme for our components.
5
+ *
6
+ * So we offer within our portal a customization tool.
7
+ *
8
+ * @cssprop {Color} [--gv-theme-color-darker=#383E3F] - Primary darker color
9
+ * @cssprop {Color} [--gv-theme-color-dark=#28444F] - Primary dark color
10
+ * @cssprop {Color} [--gv-theme-color=#5A7684] - Primary color
11
+ * @cssprop {Color} [--gv-theme-color-light=#86c3d0] - Primary light color
12
+ * @cssprop {Color} [--gv-theme-color-danger=#FF5722] - Primary danger color
13
+ *
14
+ * @cssprop {Color} [--gv-theme-color-error-dark=#d32f2f] - Error dark color
15
+ * @cssprop {Color} [--gv-theme-color-error=#f44336] - Error color
16
+ * @cssprop {Color} [--gv-theme-color-error-light=#e57373] - Error light color
17
+ * @cssprop {Color} [--gv-theme-color-info-dark=#1976d2] - Info dark color
18
+ * @cssprop {Color} [--gv-theme-color-info=#2196f3] - Info color
19
+ * @cssprop {Color} [--gv-theme-color-info-light=#64b5f6] - Info light color
20
+ * @cssprop {Color} [--gv-theme-color-success-dark=#388e3c] - Success dark color
21
+ * @cssprop {Color} [--gv-theme-color-success=#4caf50] - Success color
22
+ * @cssprop {Color} [--gv-theme-color-success-light=#81c784] - Success light color
23
+ * @cssprop {Color} [--gv-theme-color-warning-dark=#f57c00] - Warning dark color
24
+ * @cssprop {Color} [--gv-theme-color-warning=#ff9800] - Warning color
25
+ * @cssprop {Color} [--gv-theme-color-warning-light=#ffb74d] - Warning light color
26
+ *
27
+ * @cssprop {Color} [--gv-theme-neutral-color-darkest=#000000] - Neutral darkest color
28
+ * @cssprop {Color} [--gv-theme-neutral-color-darker=#BFBFBF] - Neutral darker color
29
+ * @cssprop {Color} [--gv-theme-neutral-color-dark=#D9D9D9] - Neutral dark color
30
+ * @cssprop {Color} [--gv-theme-neutral-color=#F5F5F5] - Neutral color
31
+ * @cssprop {Color} [--gv-theme-neutral-color-light=#EFEFEF] - Neutral light color
32
+ * @cssprop {Color} [--gv-theme-neutral-color-lighter=#FAFAFA] - Neutral light color
33
+ * @cssprop {Color} [--gv-theme-neutral-color-lightest=#FFFFFF] - Neutral lightest color
34
+
35
+ * @cssprop {Color} [--gv-theme-font-color-dark=#262626] - Dark font color
36
+ * @cssprop {Color} [--gv-theme-font-color-light=#FFFFFF] - Light Font color
37
+ * @cssprop {String} [--gv-theme-font-family='IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif] - Family
38
+ * @cssprop {Length} [--gv-theme-font-size-xs=10px] - Extra small
39
+ * @cssprop {Length} [--gv-theme-font-size-s=12px] - Small
40
+ * @cssprop {Length} [--gv-theme-font-size-m=14px] - Medium (Default)
41
+ * @cssprop {Length} [--gv-theme-font-size-l=16px] - Large
42
+ * @cssprop {Length} [--gv-theme-font-size-xl=26px] - Extra large
43
+ * @cssprop {Length} [--gv-theme-font-size-xxl=30px] - Extra extra large
44
+ * @cssprop {Length} [--gv-theme-homepage-background-height=400px] - Homepage background height
45
+ *
46
+ * @cssprop {Color} [--gv-theme-skeleton-color=#BFBFBF] - Primary skeleton color
47
+ * @cssprop {Color} [--gv-theme-homepage-background-color=#5A7684] - Homepage background color
48
+ *
49
+ * @cssprop {Image} [--gv-theme-homepage-background-image=none] - Background image
50
+ * @cssprop {Image} [--gv-theme-logo=url('/images/gravitee-logo-cyan.svg')] - Logo
51
+ * @cssprop {Image} [--gv-theme-optional-logo=url('/images/gravitee-logo-white.svg')] - Optional logo
52
+ * @cssprop {Image} [--gv-theme-favicon='/images/gravitee-favicon.png'] - Favicon
53
+ *
54
+ */
55
+ export class GvTheme extends LitElement {
56
+ static get properties(): {
57
+ _theme: {
58
+ type: ObjectConstructor;
59
+ attribute: boolean;
60
+ };
61
+ _lastDate: {
62
+ type: NumberConstructor;
63
+ attribute: boolean;
64
+ };
65
+ };
66
+ static get styles(): import("lit").CSSResult[];
67
+ _lastDate: number;
68
+ handleEvent(event: any): void;
69
+ source: any;
70
+ origin: any;
71
+ isDetached: any;
72
+ _theme: any;
73
+ getData(): {
74
+ type: string;
75
+ href: string;
76
+ date: number;
77
+ };
78
+ sendMessage(data?: {}, timeout?: number): void;
79
+ intervalID: NodeJS.Timeout | undefined;
80
+ }
81
+ import { LitElement } from "lit-element/lit-element";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};