@gravitee/ui-components 3.25.3-typescript-8a53edf → 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 (370) hide show
  1. package/package.json +3 -4
  2. package/src/atoms/gv-autocomplete.d.ts +104 -0
  3. package/src/atoms/gv-autocomplete.js +1 -461
  4. package/src/atoms/gv-button.d.ts +109 -0
  5. package/src/atoms/gv-button.js +1 -410
  6. package/src/atoms/gv-checkbox.d.ts +114 -0
  7. package/src/atoms/gv-checkbox.js +1 -187
  8. package/src/atoms/gv-date-picker-calendar.d.ts +190 -0
  9. package/src/atoms/gv-date-picker-calendar.js +1 -894
  10. package/src/atoms/gv-date-picker-cell.d.ts +80 -0
  11. package/src/atoms/gv-date-picker-cell.js +1 -190
  12. package/src/atoms/gv-date-picker.d.ts +194 -0
  13. package/src/atoms/gv-date-picker.js +1 -671
  14. package/src/atoms/gv-file-upload.d.ts +64 -0
  15. package/src/atoms/gv-file-upload.js +1 -367
  16. package/src/atoms/gv-icon.d.ts +26 -0
  17. package/src/atoms/gv-icon.js +1 -103
  18. package/src/atoms/gv-image.d.ts +45 -0
  19. package/src/atoms/gv-image.js +1 -144
  20. package/src/atoms/gv-input-message.d.ts +20 -0
  21. package/src/atoms/gv-input-message.js +1 -84
  22. package/src/atoms/gv-input.d.ts +246 -0
  23. package/src/atoms/gv-input.js +1 -561
  24. package/src/atoms/gv-link.d.ts +67 -0
  25. package/src/atoms/gv-link.js +1 -210
  26. package/src/atoms/gv-message.d.ts +23 -0
  27. package/src/atoms/gv-message.js +1 -128
  28. package/src/atoms/gv-metric.d.ts +32 -0
  29. package/src/atoms/gv-metric.js +1 -117
  30. package/src/atoms/gv-relative-time.d.ts +45 -0
  31. package/src/atoms/gv-relative-time.js +1 -156
  32. package/src/atoms/gv-select-native.d.ts +174 -0
  33. package/src/atoms/gv-select-native.js +1 -388
  34. package/src/atoms/gv-select.d.ts +71 -0
  35. package/src/atoms/gv-select.js +1 -437
  36. package/src/atoms/gv-spinner.d.ts +10 -0
  37. package/src/atoms/gv-spinner.js +1 -57
  38. package/src/atoms/gv-state.d.ts +50 -0
  39. package/src/atoms/gv-state.js +1 -130
  40. package/src/atoms/gv-switch.d.ts +60 -0
  41. package/src/atoms/gv-switch.js +1 -243
  42. package/src/atoms/gv-tag.d.ts +69 -0
  43. package/src/atoms/gv-tag.js +1 -168
  44. package/src/atoms/gv-text.d.ts +110 -0
  45. package/src/atoms/gv-text.js +1 -168
  46. package/src/charts/gv-chart-bar.d.ts +50 -0
  47. package/src/charts/gv-chart-bar.js +1 -103
  48. package/src/charts/gv-chart-gauge.d.ts +58 -0
  49. package/src/charts/gv-chart-gauge.js +1 -100
  50. package/src/charts/gv-chart-histogram.d.ts +48 -0
  51. package/src/charts/gv-chart-histogram.js +1 -83
  52. package/src/charts/gv-chart-line.d.ts +52 -0
  53. package/src/charts/gv-chart-line.js +1 -224
  54. package/src/charts/gv-chart-map.d.ts +50 -0
  55. package/src/charts/gv-chart-map.js +1 -112
  56. package/src/charts/gv-chart-pie.d.ts +50 -0
  57. package/src/charts/gv-chart-pie.js +1 -91
  58. package/src/index.d.ts +77 -0
  59. package/src/index.js +1 -77
  60. package/src/lib/cron-expression.d.ts +1 -0
  61. package/src/lib/cron-expression.js +1 -205
  62. package/src/lib/date.d.ts +1 -0
  63. package/src/lib/date.js +1 -44
  64. package/src/lib/events.d.ts +1 -0
  65. package/src/lib/events.js +1 -26
  66. package/src/lib/http-client-schema-form.d.ts +68 -0
  67. package/src/lib/http-client-schema-form.js +1 -67
  68. package/src/lib/http.d.ts +222 -0
  69. package/src/lib/http.js +1 -237
  70. package/src/lib/i18n.d.ts +30 -0
  71. package/src/lib/i18n.js +1 -103
  72. package/src/lib/item.d.ts +12 -0
  73. package/src/lib/item.js +1 -118
  74. package/src/lib/properties.d.ts +42 -0
  75. package/src/lib/properties.js +1 -189
  76. package/src/lib/schema-form.d.ts +5 -0
  77. package/src/lib/schema-form.js +1 -44
  78. package/src/lib/studio.d.ts +2 -0
  79. package/src/lib/studio.js +1 -141
  80. package/src/lib/style.d.ts +6 -0
  81. package/src/lib/style.js +1 -41
  82. package/src/lib/text-format.d.ts +6 -0
  83. package/src/lib/text-format.js +1 -69
  84. package/src/lib/theme.d.ts +4 -0
  85. package/src/lib/theme.js +1 -63
  86. package/src/lib/utils.d.ts +9 -0
  87. package/src/lib/utils.js +1 -111
  88. package/src/mixins/chart-element.d.ts +39 -0
  89. package/src/mixins/chart-element.js +1 -165
  90. package/src/mixins/input-element.d.ts +64 -0
  91. package/src/mixins/input-element.js +1 -144
  92. package/src/mixins/item-resource.d.ts +56 -0
  93. package/src/mixins/item-resource.js +1 -120
  94. package/src/mixins/keyboard-element.d.ts +25 -0
  95. package/src/mixins/keyboard-element.js +1 -69
  96. package/src/mixins/update-after-browser.d.ts +11 -0
  97. package/src/mixins/update-after-browser.js +1 -30
  98. package/src/mixins/with-resize-observer.d.ts +12 -0
  99. package/src/mixins/with-resize-observer.js +1 -68
  100. package/src/mixins/with-skeleton-attribute.d.ts +35 -0
  101. package/src/mixins/with-skeleton-attribute.js +1 -112
  102. package/src/molecules/gv-card-full.d.ts +78 -0
  103. package/src/molecules/gv-card-full.js +1 -218
  104. package/src/molecules/gv-card-list.d.ts +33 -0
  105. package/src/molecules/gv-card-list.js +1 -113
  106. package/src/molecules/gv-card.d.ts +65 -0
  107. package/src/molecules/gv-card.js +1 -133
  108. package/src/molecules/gv-category-list.d.ts +17 -0
  109. package/src/molecules/gv-category-list.js +1 -60
  110. package/src/molecules/gv-category.d.ts +64 -0
  111. package/src/molecules/gv-category.js +1 -170
  112. package/src/molecules/gv-code.d.ts +192 -0
  113. package/src/molecules/gv-code.js +1 -359
  114. package/src/molecules/gv-confirm.d.ts +60 -0
  115. package/src/molecules/gv-confirm.js +1 -188
  116. package/src/molecules/gv-cron-editor.d.ts +115 -0
  117. package/src/molecules/gv-cron-editor.js +1 -710
  118. package/src/molecules/gv-dropdown-menu.d.ts +28 -0
  119. package/src/molecules/gv-dropdown-menu.js +1 -116
  120. package/src/molecules/gv-expandable.d.ts +37 -0
  121. package/src/molecules/gv-expandable.js +1 -122
  122. package/src/molecules/gv-expression-language.d.ts +150 -0
  123. package/src/molecules/gv-expression-language.js +1 -270
  124. package/src/molecules/gv-identity-picture.d.ts +44 -0
  125. package/src/molecules/gv-identity-picture.js +1 -148
  126. package/src/molecules/gv-list.d.ts +123 -0
  127. package/src/molecules/gv-list.js +1 -227
  128. package/src/molecules/gv-metrics.d.ts +65 -0
  129. package/src/molecules/gv-metrics.js +1 -162
  130. package/src/molecules/gv-modal.d.ts +64 -0
  131. package/src/molecules/gv-modal.js +1 -213
  132. package/src/molecules/gv-nav.d.ts +41 -0
  133. package/src/molecules/gv-nav.js +1 -196
  134. package/src/molecules/gv-option.d.ts +65 -0
  135. package/src/molecules/gv-option.js +1 -242
  136. package/src/molecules/gv-plans.d.ts +73 -0
  137. package/src/molecules/gv-plans.js +1 -429
  138. package/src/molecules/gv-popover.d.ts +91 -0
  139. package/src/molecules/gv-popover.js +1 -351
  140. package/src/molecules/gv-promote.d.ts +108 -0
  141. package/src/molecules/gv-promote.js +1 -209
  142. package/src/molecules/gv-rating-list.d.ts +77 -0
  143. package/src/molecules/gv-rating-list.js +1 -365
  144. package/src/molecules/gv-rating.d.ts +55 -0
  145. package/src/molecules/gv-rating.js +1 -253
  146. package/src/molecules/gv-row-expandable.d.ts +8 -0
  147. package/src/molecules/gv-row-expandable.js +1 -45
  148. package/src/molecules/gv-row.d.ts +37 -0
  149. package/src/molecules/gv-row.js +1 -210
  150. package/src/molecules/gv-stats.d.ts +53 -0
  151. package/src/molecules/gv-stats.js +1 -121
  152. package/src/molecules/gv-stepper.d.ts +46 -0
  153. package/src/molecules/gv-stepper.js +1 -288
  154. package/src/molecules/gv-table.d.ts +159 -0
  155. package/src/molecules/gv-table.js +1 -685
  156. package/src/molecules/gv-tree.d.ts +44 -0
  157. package/src/molecules/gv-tree.js +1 -250
  158. package/src/organisms/gv-documentation.d.ts +52 -0
  159. package/src/organisms/gv-documentation.js +1 -215
  160. package/src/organisms/gv-header.d.ts +60 -0
  161. package/src/organisms/gv-header.js +1 -288
  162. package/src/organisms/gv-http-client.d.ts +57 -0
  163. package/src/organisms/gv-http-client.js +1 -275
  164. package/src/organisms/gv-menu.d.ts +74 -0
  165. package/src/organisms/gv-menu.js +1 -263
  166. package/src/organisms/gv-newsletter-subscription.d.ts +82 -0
  167. package/src/organisms/gv-newsletter-subscription.js +1 -271
  168. package/src/organisms/gv-pagination.d.ts +63 -0
  169. package/src/organisms/gv-pagination.js +1 -198
  170. package/src/organisms/gv-properties.d.ts +229 -0
  171. package/src/organisms/gv-properties.js +1 -920
  172. package/src/organisms/gv-resizable-views.d.ts +33 -0
  173. package/src/organisms/gv-resizable-views.js +1 -396
  174. package/src/organisms/gv-resources.d.ts +125 -0
  175. package/src/organisms/gv-resources.js +1 -535
  176. package/src/organisms/gv-schema-form-array.d.ts +55 -0
  177. package/src/organisms/gv-schema-form-array.js +1 -250
  178. package/src/organisms/gv-schema-form-control-object.d.ts +64 -0
  179. package/src/organisms/gv-schema-form-control-object.js +1 -154
  180. package/src/organisms/gv-schema-form-control.d.ts +90 -0
  181. package/src/organisms/gv-schema-form-control.js +1 -443
  182. package/src/organisms/gv-schema-form.d.ts +156 -0
  183. package/src/organisms/gv-schema-form.js +1 -751
  184. package/src/organisms/gv-tabs.d.ts +56 -0
  185. package/src/organisms/gv-tabs.js +1 -210
  186. package/src/organisms/gv-user-menu.d.ts +56 -0
  187. package/src/organisms/gv-user-menu.js +1 -314
  188. package/src/organisms/gv-vertical-menu.d.ts +28 -0
  189. package/src/organisms/gv-vertical-menu.js +1 -123
  190. package/src/policy-studio/gv-flow-step.d.ts +142 -0
  191. package/src/policy-studio/gv-flow-step.js +1 -464
  192. package/src/policy-studio/gv-flow.d.ts +89 -0
  193. package/src/policy-studio/gv-flow.js +1 -621
  194. package/src/policy-studio/gv-policy-studio-menu.d.ts +94 -0
  195. package/src/policy-studio/gv-policy-studio-menu.js +1 -750
  196. package/src/policy-studio/gv-policy-studio.d.ts +464 -0
  197. package/src/policy-studio/gv-policy-studio.js +1 -1842
  198. package/src/styles/empty.d.ts +1 -0
  199. package/src/styles/empty.js +1 -36
  200. package/src/styles/input.d.ts +1 -0
  201. package/src/styles/input.js +1 -263
  202. package/src/styles/link.d.ts +1 -0
  203. package/src/styles/link.js +1 -32
  204. package/src/styles/shapes.d.ts +2 -0
  205. package/src/styles/shapes.js +1 -17
  206. package/src/styles/skeleton.d.ts +1 -0
  207. package/src/styles/skeleton.js +1 -53
  208. package/src/styles/zoom.d.ts +1 -0
  209. package/src/styles/zoom.js +1 -40
  210. package/src/theme/gv-theme.d.ts +81 -0
  211. package/src/theme/gv-theme.js +1 -203
  212. package/wc/gv-autocomplete.d.ts +1 -0
  213. package/wc/gv-autocomplete.js +1 -1
  214. package/wc/gv-button.d.ts +1 -0
  215. package/wc/gv-button.js +1 -1
  216. package/wc/gv-card-full.d.ts +1 -0
  217. package/wc/gv-card-full.js +1 -1
  218. package/wc/gv-card-list.d.ts +1 -0
  219. package/wc/gv-card-list.js +1 -1
  220. package/wc/gv-card.d.ts +1 -0
  221. package/wc/gv-card.js +1 -1
  222. package/wc/gv-category-list.d.ts +1 -0
  223. package/wc/gv-category-list.js +1 -1
  224. package/wc/gv-category.d.ts +1 -0
  225. package/wc/gv-category.js +1 -1
  226. package/wc/gv-chart-bar.d.ts +1 -0
  227. package/wc/gv-chart-bar.js +1 -1
  228. package/wc/gv-chart-gauge.d.ts +1 -0
  229. package/wc/gv-chart-gauge.js +1 -1
  230. package/wc/gv-chart-histogram.d.ts +1 -0
  231. package/wc/gv-chart-histogram.js +1 -1
  232. package/wc/gv-chart-line.d.ts +1 -0
  233. package/wc/gv-chart-line.js +1 -1
  234. package/wc/gv-chart-map.d.ts +1 -0
  235. package/wc/gv-chart-map.js +1 -1
  236. package/wc/gv-chart-pie.d.ts +1 -0
  237. package/wc/gv-chart-pie.js +1 -1
  238. package/wc/gv-checkbox.d.ts +1 -0
  239. package/wc/gv-checkbox.js +1 -1
  240. package/wc/gv-code.d.ts +1 -0
  241. package/wc/gv-code.js +1 -1
  242. package/wc/gv-confirm.d.ts +1 -0
  243. package/wc/gv-confirm.js +1 -1
  244. package/wc/gv-cron-editor.d.ts +1 -0
  245. package/wc/gv-cron-editor.js +1 -1
  246. package/wc/gv-date-picker-calendar.d.ts +1 -0
  247. package/wc/gv-date-picker-calendar.js +1 -1
  248. package/wc/gv-date-picker-cell.d.ts +1 -0
  249. package/wc/gv-date-picker-cell.js +1 -1
  250. package/wc/gv-date-picker.d.ts +1 -0
  251. package/wc/gv-date-picker.js +1 -1
  252. package/wc/gv-documentation.d.ts +1 -0
  253. package/wc/gv-documentation.js +1 -1
  254. package/wc/gv-dropdown-menu.d.ts +1 -0
  255. package/wc/gv-dropdown-menu.js +1 -1
  256. package/wc/gv-expandable.d.ts +1 -0
  257. package/wc/gv-expandable.js +1 -1
  258. package/wc/gv-expression-language.d.ts +1 -0
  259. package/wc/gv-expression-language.js +1 -1
  260. package/wc/gv-file-upload.d.ts +1 -0
  261. package/wc/gv-file-upload.js +1 -1
  262. package/wc/gv-flow-step.d.ts +1 -0
  263. package/wc/gv-flow-step.js +1 -1
  264. package/wc/gv-flow.d.ts +1 -0
  265. package/wc/gv-flow.js +1 -1
  266. package/wc/gv-header.d.ts +1 -0
  267. package/wc/gv-header.js +1 -1
  268. package/wc/gv-http-client.d.ts +1 -0
  269. package/wc/gv-http-client.js +1 -1
  270. package/wc/gv-icon.d.ts +1 -0
  271. package/wc/gv-icon.js +1 -1
  272. package/wc/gv-identity-picture.d.ts +1 -0
  273. package/wc/gv-identity-picture.js +1 -1
  274. package/wc/gv-image.d.ts +1 -0
  275. package/wc/gv-image.js +1 -1
  276. package/wc/gv-input-message.d.ts +1 -0
  277. package/wc/gv-input-message.js +1 -1
  278. package/wc/gv-input.d.ts +1 -0
  279. package/wc/gv-input.js +1 -1
  280. package/wc/gv-link.d.ts +1 -0
  281. package/wc/gv-link.js +1 -1
  282. package/wc/gv-list.d.ts +1 -0
  283. package/wc/gv-list.js +1 -1
  284. package/wc/gv-menu.d.ts +1 -0
  285. package/wc/gv-menu.js +1 -1
  286. package/wc/gv-message.d.ts +1 -0
  287. package/wc/gv-message.js +1 -1
  288. package/wc/gv-metric.d.ts +1 -0
  289. package/wc/gv-metric.js +1 -1
  290. package/wc/gv-metrics.d.ts +1 -0
  291. package/wc/gv-metrics.js +1 -1
  292. package/wc/gv-modal.d.ts +1 -0
  293. package/wc/gv-modal.js +1 -1
  294. package/wc/gv-nav.d.ts +1 -0
  295. package/wc/gv-nav.js +1 -1
  296. package/wc/gv-newsletter-subscription.d.ts +1 -0
  297. package/wc/gv-newsletter-subscription.js +1 -1
  298. package/wc/gv-option.d.ts +1 -0
  299. package/wc/gv-option.js +1 -1
  300. package/wc/gv-pagination.d.ts +1 -0
  301. package/wc/gv-pagination.js +1 -1
  302. package/wc/gv-plans.d.ts +1 -0
  303. package/wc/gv-plans.js +1 -1
  304. package/wc/gv-policy-studio-menu.d.ts +1 -0
  305. package/wc/gv-policy-studio-menu.js +1 -1
  306. package/wc/gv-policy-studio.d.ts +1 -0
  307. package/wc/gv-policy-studio.js +1 -1
  308. package/wc/gv-popover.d.ts +1 -0
  309. package/wc/gv-popover.js +1 -1
  310. package/wc/gv-promote.d.ts +1 -0
  311. package/wc/gv-promote.js +1 -1
  312. package/wc/gv-properties.d.ts +1 -0
  313. package/wc/gv-properties.js +1 -1
  314. package/wc/gv-rating-list.d.ts +1 -0
  315. package/wc/gv-rating-list.js +1 -1
  316. package/wc/gv-rating.d.ts +1 -0
  317. package/wc/gv-rating.js +1 -1
  318. package/wc/gv-relative-time.d.ts +1 -0
  319. package/wc/gv-relative-time.js +1 -1
  320. package/wc/gv-resizable-views.d.ts +1 -0
  321. package/wc/gv-resizable-views.js +1 -1
  322. package/wc/gv-resources.d.ts +1 -0
  323. package/wc/gv-resources.js +1 -1
  324. package/wc/gv-row-expandable.d.ts +1 -0
  325. package/wc/gv-row-expandable.js +1 -1
  326. package/wc/gv-row.d.ts +1 -0
  327. package/wc/gv-row.js +1 -1
  328. package/wc/gv-schema-form-array.d.ts +1 -0
  329. package/wc/gv-schema-form-array.js +1 -1
  330. package/wc/gv-schema-form-control-object.d.ts +1 -0
  331. package/wc/gv-schema-form-control-object.js +1 -1
  332. package/wc/gv-schema-form-control.d.ts +1 -0
  333. package/wc/gv-schema-form-control.js +1 -1
  334. package/wc/gv-schema-form.d.ts +1 -0
  335. package/wc/gv-schema-form.js +1 -1
  336. package/wc/gv-select-native.d.ts +1 -0
  337. package/wc/gv-select-native.js +1 -1
  338. package/wc/gv-select.d.ts +1 -0
  339. package/wc/gv-select.js +1 -1
  340. package/wc/gv-spinner.d.ts +1 -0
  341. package/wc/gv-spinner.js +1 -1
  342. package/wc/gv-state.d.ts +1 -0
  343. package/wc/gv-state.js +1 -1
  344. package/wc/gv-stats.d.ts +1 -0
  345. package/wc/gv-stats.js +1 -1
  346. package/wc/gv-stepper.d.ts +1 -0
  347. package/wc/gv-stepper.js +1 -1
  348. package/wc/gv-switch.d.ts +1 -0
  349. package/wc/gv-switch.js +1 -1
  350. package/wc/gv-table.d.ts +1 -0
  351. package/wc/gv-table.js +1 -1
  352. package/wc/gv-tabs.d.ts +1 -0
  353. package/wc/gv-tabs.js +1 -1
  354. package/wc/gv-tag.d.ts +1 -0
  355. package/wc/gv-tag.js +1 -1
  356. package/wc/gv-text.d.ts +1 -0
  357. package/wc/gv-text.js +1 -1
  358. package/wc/gv-theme.d.ts +1 -0
  359. package/wc/gv-theme.js +1 -1
  360. package/wc/gv-tree.d.ts +1 -0
  361. package/wc/gv-tree.js +1 -1
  362. package/wc/gv-user-menu.d.ts +1 -0
  363. package/wc/gv-user-menu.js +1 -1
  364. package/wc/gv-vertical-menu.d.ts +1 -0
  365. package/wc/gv-vertical-menu.js +1 -1
  366. package/CHANGELOG.md +0 -1292
  367. package/LICENSE.txt +0 -202
  368. package/README.md +0 -195
  369. package/src/.eslintrc.js +0 -19
  370. package/src/theme/definition.json +0 -1762
@@ -1,69 +1 @@
1
- /*
2
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
-
17
- export function loadAsciiDoctor() {
18
- if (window._gvAsciidoctor == null) {
19
- return Promise.all([import('asciidoctor'), import('asciidoctor-highlight.js')]).then(([asciidoctor, highlightJsExt]) => {
20
- window._gvAsciidoctor = asciidoctor.default();
21
- highlightJsExt.default.register(window._gvAsciidoctor.Extensions);
22
- return setAsciiDoctorAsGlobal(asciidoctor.default, highlightJsExt.default);
23
- });
24
- }
25
- return Promise.resolve(window._gvAsciidoctor);
26
- }
27
-
28
- export function setAsciiDoctorAsGlobal(asciidoctor, highlightJsExt) {
29
- if (window._gvAsciidoctor == null) {
30
- window._gvAsciidoctor = asciidoctor();
31
- highlightJsExt.register(window._gvAsciidoctor.Extensions);
32
- }
33
- return window._gvAsciidoctor;
34
- }
35
-
36
- export function toDom(text, type = 'adoc', small = false) {
37
- return loadAsciiDoctor().then((asciidoctor) => {
38
- if (text) {
39
- let innerHTML = '';
40
- if (type === 'adoc') {
41
- innerHTML = asciidoctor.convert(text, {
42
- attributes: {
43
- showtitle: true,
44
- 'source-highlighter': 'highlightjs-ext',
45
- },
46
- });
47
- } else {
48
- throw new Error(`Library not found for type : '${type}' | ${text}`);
49
- }
50
-
51
- const element = document.createElement('div');
52
- element.innerHTML = innerHTML;
53
- element.style.width = '100%';
54
- element.style.maxWidth = '1000px';
55
- element.style.margin = '0 auto';
56
- element.classList.add('markdown-body');
57
- if (small) {
58
- element.classList.add('small');
59
- }
60
- const titleElement = element.querySelector('h1');
61
- let title = '';
62
- if (titleElement) {
63
- title = titleElement.textContent;
64
- }
65
-
66
- return { title, element };
67
- }
68
- });
69
- }
1
+ var e=Object.create?function(e,t,o,r){void 0===r&&(r=o),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[o]}})}:function(e,t,o,r){void 0===r&&(r=o),e[r]=t[o]},t=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(o){if(o&&o.__esModule)return o;var r={};if(null!=o)for(var i in o)"default"!==i&&Object.prototype.hasOwnProperty.call(o,i)&&e(r,o,i);return t(r,o),r};function r(){return null==window._gvAsciidoctor?Promise.all([Promise.resolve().then((()=>o(require("asciidoctor")))),Promise.resolve().then((()=>o(require("asciidoctor-highlight.js"))))]).then((([e,t])=>(window._gvAsciidoctor=e.default(),t.default.register(window._gvAsciidoctor.Extensions),i(e.default,t.default)))):Promise.resolve(window._gvAsciidoctor)}function i(e,t){return null==window._gvAsciidoctor&&(window._gvAsciidoctor=e(),t.register(window._gvAsciidoctor.Extensions)),window._gvAsciidoctor}Object.defineProperty(exports,"__esModule",{value:!0}),exports.toDom=exports.setAsciiDoctorAsGlobal=exports.loadAsciiDoctor=void 0,exports.loadAsciiDoctor=r,exports.setAsciiDoctorAsGlobal=i,exports.toDom=function(e,t="adoc",o=!1){return r().then((r=>{if(e){let i="";if("adoc"!==t)throw new Error(`Library not found for type : '${t}' | ${e}`);i=r.convert(e,{attributes:{showtitle:!0,"source-highlighter":"highlightjs-ext"}});const n=document.createElement("div");n.innerHTML=i,n.style.width="100%",n.style.maxWidth="1000px",n.style.margin="0 auto",n.classList.add("markdown-body"),o&&n.classList.add("small");const s=n.querySelector("h1");let c="";return s&&(c=s.textContent),{title:c,element:n}}}))};
@@ -0,0 +1,4 @@
1
+ export function applyTheme(theme: any): void;
2
+ export function updateImage(name: any, value: any, defaultValue: any): void;
3
+ export function updateFavicon(value: any, defaultValue: any): void;
4
+ export function getApplicationTypeIcon(type: any): "devices:laptop" | "devices:android" | "devices:server" | "layout:layout-top-panel-2";
package/src/lib/theme.js CHANGED
@@ -1,63 +1 @@
1
- /*
2
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export function applyTheme(theme) {
17
- if (theme) {
18
- const logo = theme._links ? theme._links.logo : theme.logo;
19
- const optionalLogo = theme._links ? theme._links.optionalLogo : theme.optionalLogo;
20
- const backgroundImage = theme._links ? theme._links.backgroundImage : theme.backgroundImage;
21
- updateImage('--gv-theme-logo', logo, `url('/images/gravitee-logo-cyan.svg')`);
22
- updateImage('--gv-theme-optional-logo', optionalLogo, `url('/images/gravitee-logo-white.svg')`);
23
- updateImage('--gv-theme-homepage-background-image', backgroundImage, `none`);
24
- const favicon = theme._links ? theme._links.favicon : theme.favicon;
25
- updateFavicon(favicon, 'images/gravitee-favicon.png');
26
- theme.definition.data.forEach((component) => {
27
- component.css.forEach((cssProperty) => {
28
- document.documentElement.style.setProperty(cssProperty.name, cssProperty.value);
29
- });
30
- });
31
- }
32
- }
33
-
34
- export function updateImage(name, value, defaultValue) {
35
- setTimeout(() => {
36
- const propertyValue = value ? `url(${value})` : 'none';
37
- document.documentElement.style.setProperty(name, propertyValue);
38
- }, 0);
39
- }
40
-
41
- export function updateFavicon(value, defaultValue) {
42
- let link = document.querySelector("link[rel~='icon']");
43
- if (!link) {
44
- link = document.createElement('link');
45
- link.rel = 'icon';
46
- document.getElementsByTagName('head')[0].appendChild(link);
47
- }
48
- link.href = value || defaultValue;
49
- }
50
-
51
- export function getApplicationTypeIcon(type) {
52
- switch (type.toLowerCase()) {
53
- case 'browser':
54
- case 'web':
55
- return 'devices:laptop';
56
- case 'native':
57
- return 'devices:android';
58
- case 'backend_to_backend':
59
- return 'devices:server';
60
- default:
61
- return 'layout:layout-top-panel-2';
62
- }
63
- }
1
+ function e(e,o,t){setTimeout((()=>{const t=o?`url(${o})`:"none";document.documentElement.style.setProperty(e,t)}),0)}function o(e,o){let t=document.querySelector("link[rel~='icon']");t||(t=document.createElement("link"),t.rel="icon",document.getElementsByTagName("head")[0].appendChild(t)),t.href=e||o}Object.defineProperty(exports,"__esModule",{value:!0}),exports.getApplicationTypeIcon=exports.updateFavicon=exports.updateImage=exports.applyTheme=void 0,exports.applyTheme=function(t){if(t){const n=t._links?t._links.logo:t.logo,a=t._links?t._links.optionalLogo:t.optionalLogo,i=t._links?t._links.backgroundImage:t.backgroundImage;e("--gv-theme-logo",n),e("--gv-theme-optional-logo",a),e("--gv-theme-homepage-background-image",i);o(t._links?t._links.favicon:t.favicon,"images/gravitee-favicon.png"),t.definition.data.forEach((e=>{e.css.forEach((e=>{document.documentElement.style.setProperty(e.name,e.value)}))}))}},exports.updateImage=e,exports.updateFavicon=o,exports.getApplicationTypeIcon=function(e){switch(e.toLowerCase()){case"browser":case"web":return"devices:laptop";case"native":return"devices:android";case"backend_to_backend":return"devices:server";default:return"layout:layout-top-panel-2"}};
@@ -0,0 +1,9 @@
1
+ export function truncate(text: any, limit?: number, suffix?: string): any;
2
+ export function isSameRoutes(routes: any, futureRoutes: any): boolean;
3
+ export function appendDraggableImage(src: any, size?: number, defaultIcon?: string): HTMLDivElement;
4
+ export function flatDeep(arr: any): any;
5
+ export function flatObject(obj: any, prefix?: string): {};
6
+ export function deepClone(obj: any): any;
7
+ export function uuid(): string;
8
+ export function deepEqual(a: any, b: any, withoutOrder?: boolean): boolean;
9
+ export function isObject(object: any): boolean;
package/src/lib/utils.js CHANGED
@@ -1,111 +1 @@
1
- /*
2
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- export function truncate(text, limit = 250, suffix = '...') {
17
- return text && text.length > limit ? `${text.substring(0, limit)}${suffix}` : text;
18
- }
19
-
20
- export function isSameRoutes(routes, futureRoutes) {
21
- if (routes && futureRoutes) {
22
- return JSON.stringify(routes.map((r) => r.path + r.active)) === JSON.stringify(futureRoutes.map((r) => r.path + r.active));
23
- }
24
- return false;
25
- }
26
-
27
- export function appendDraggableImage(src, size = 100, defaultIcon = 'communication:shield-thunder') {
28
- // Usefull when image src is svg
29
- const div = document.createElement('div');
30
- div.style.position = 'fixed';
31
- div.style.left = '-999px';
32
- div.style.top = '-999px';
33
- div.style.zIndex = 1000;
34
- if (src != null) {
35
- const image = new Image();
36
- image.src = src;
37
- image.style = `width:${size}px;height:${size}px`;
38
- div.appendChild(image);
39
- } else {
40
- const svgElem = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
41
- const useElem = document.createElementNS('http://www.w3.org/2000/svg', 'use');
42
- useElem.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', defaultIcon);
43
- svgElem.appendChild(useElem);
44
- div.appendChild(svgElem);
45
- }
46
- document.body.appendChild(div);
47
- return div;
48
- }
49
-
50
- export function flatDeep(arr) {
51
- return arr.reduce((acc, val) => acc.concat(Array.isArray(val) ? flatDeep(val) : val), []);
52
- }
53
-
54
- export function flatObject(obj, prefix = '') {
55
- return Object.keys(obj).reduce((acc, k) => {
56
- const pre = prefix.length ? prefix + '.' : '';
57
- if (Array.isArray(obj[k])) acc[pre + k] = obj[k];
58
- else if (typeof obj[k] === 'object') Object.assign(acc, flatObject(obj[k], pre + k));
59
- else acc[pre + k] = obj[k];
60
- return acc;
61
- }, {});
62
- }
63
-
64
- export function deepClone(obj) {
65
- if (obj) {
66
- return JSON.parse(JSON.stringify(obj));
67
- }
68
- return obj;
69
- }
70
-
71
- export function uuid() {
72
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, (c) => {
73
- const r = (Math.random() * 16) | 0;
74
- const v = c === 'x' ? r : (r & 0x3) | 0x8;
75
- return v.toString(16);
76
- });
77
- }
78
-
79
- export function deepEqual(a, b, withoutOrder = false) {
80
- if (Array.isArray(a) && Array.isArray(b) && withoutOrder) {
81
- if (a.length !== b.length) return false;
82
- const uniqueValues = new Set([...a, ...b]);
83
- for (const v of uniqueValues) {
84
- const aCount = a.filter((e) => e === v).length;
85
- const bCount = b.filter((e) => e === v).length;
86
- if (aCount !== bCount) return false;
87
- }
88
- return true;
89
- }
90
-
91
- const keys1 = a != null ? Object.keys(a) : [];
92
- const keys2 = b != null ? Object.keys(b) : [];
93
-
94
- if (keys1.length !== keys2.length) {
95
- return false;
96
- }
97
-
98
- for (const key of keys1) {
99
- const val1 = a[key];
100
- const val2 = b[key];
101
- const areObjects = isObject(val1) && isObject(val2);
102
- if ((areObjects && !deepEqual(val1, val2)) || (!areObjects && val1 !== val2)) {
103
- return false;
104
- }
105
- }
106
- return true;
107
- }
108
-
109
- export function isObject(object) {
110
- return object != null && typeof object === 'object';
111
- }
1
+ function e(e){return null!=e&&"object"==typeof e}Object.defineProperty(exports,"__esModule",{value:!0}),exports.isObject=exports.deepEqual=exports.uuid=exports.deepClone=exports.flatObject=exports.flatDeep=exports.appendDraggableImage=exports.isSameRoutes=exports.truncate=void 0,exports.truncate=function(e,t=250,r="..."){return e&&e.length>t?`${e.substring(0,t)}${r}`:e},exports.isSameRoutes=function(e,t){return!(!e||!t)&&JSON.stringify(e.map((e=>e.path+e.active)))===JSON.stringify(t.map((e=>e.path+e.active)))},exports.appendDraggableImage=function(e,t=100,r="communication:shield-thunder"){const n=document.createElement("div");if(n.style.position="fixed",n.style.left="-999px",n.style.top="-999px",n.style.zIndex=1e3,null!=e){const r=new Image;r.src=e,r.style=`width:${t}px;height:${t}px`,n.appendChild(r)}else{const e=document.createElementNS("http://www.w3.org/2000/svg","svg"),t=document.createElementNS("http://www.w3.org/2000/svg","use");t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",r),e.appendChild(t),n.appendChild(e)}return document.body.appendChild(n),n},exports.flatDeep=function e(t){return t.reduce(((t,r)=>t.concat(Array.isArray(r)?e(r):r)),[])},exports.flatObject=function e(t,r=""){return Object.keys(t).reduce(((n,o)=>{const s=r.length?r+".":"";return Array.isArray(t[o])?n[s+o]=t[o]:"object"==typeof t[o]?Object.assign(n,e(t[o],s+o)):n[s+o]=t[o],n}),{})},exports.deepClone=function(e){return e?JSON.parse(JSON.stringify(e)):e},exports.uuid=function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)}))},exports.deepEqual=function t(r,n,o=!1){if(Array.isArray(r)&&Array.isArray(n)&&o){if(r.length!==n.length)return!1;const e=new Set([...r,...n]);for(const t of e){if(r.filter((e=>e===t)).length!==n.filter((e=>e===t)).length)return!1}return!0}const s=null!=r?Object.keys(r):[],x=null!=n?Object.keys(n):[];if(s.length!==x.length)return!1;for(const o of s){const s=r[o],x=n[o],i=e(s)&&e(x);if(i&&!t(s,x)||!i&&s!==x)return!1}return!0},exports.isObject=e;
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This is a mixin for ChartElement
3
+ * @mixinFunction
4
+ */
5
+ export function ChartElement(ParentClass: any): {
6
+ new (): {
7
+ [x: string]: any;
8
+ _skeletonAttribute: string;
9
+ _eventListener: () => void;
10
+ connectedCallback(): void;
11
+ disconnectedCallback(): void;
12
+ getOptions(): Promise<void>;
13
+ updated(changedProperties: any): void;
14
+ _additionalOptions: void | undefined;
15
+ render(): import("lit-html").TemplateResult<1>;
16
+ _invisible: boolean;
17
+ _skeleton: boolean;
18
+ _error: boolean;
19
+ _empty: boolean;
20
+ };
21
+ readonly properties: {
22
+ /** @required */
23
+ series: {
24
+ type: ArrayConstructor;
25
+ };
26
+ options: {
27
+ type: ArrayConstructor;
28
+ };
29
+ _additionalOptions: {
30
+ type: ObjectConstructor;
31
+ attribute: boolean;
32
+ };
33
+ _series: {
34
+ type: ArrayConstructor;
35
+ attribute: boolean;
36
+ };
37
+ };
38
+ readonly styles: import("lit").CSSResult[];
39
+ };
@@ -1,165 +1 @@
1
- /*
2
- * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
3
- *
4
- * Licensed under the Apache License, Version 2.0 (the "License");
5
- * you may not use this file except in compliance with the License.
6
- * You may obtain a copy of the License at
7
- *
8
- * http://www.apache.org/licenses/LICENSE-2.0
9
- *
10
- * Unless required by applicable law or agreed to in writing, software
11
- * distributed under the License is distributed on an "AS IS" BASIS,
12
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- * See the License for the specific language governing permissions and
14
- * limitations under the License.
15
- */
16
- import { html, css } from 'lit';
17
- import { i18n } from '../lib/i18n';
18
- import Highcharts from 'highcharts';
19
- import Highmaps from 'highcharts/highmaps';
20
- import { cache } from 'lit/directives/cache';
21
- import { withSkeletonAttribute } from './with-skeleton-attribute';
22
-
23
- /**
24
- * This is a mixin for ChartElement
25
- * @mixinFunction
26
- */
27
- export function ChartElement(ParentClass) {
28
- /**
29
- * @mixinClass
30
- */
31
- return class extends withSkeletonAttribute(ParentClass) {
32
- static get properties() {
33
- return {
34
- /** @required */
35
- series: { type: Array },
36
- options: { type: Array },
37
- _additionalOptions: { type: Object, attribute: false },
38
- _series: { type: Array, attribute: false },
39
- };
40
- }
41
-
42
- static get styles() {
43
- return [
44
- ...super.styles,
45
- // language=CSS
46
- css`
47
- :host {
48
- box-sizing: border-box;
49
- display: flex;
50
- height: 100%;
51
- width: 100%;
52
- flex-direction: column;
53
- justify-content: center;
54
- align-content: center;
55
- }
56
-
57
- .container {
58
- flex: 1;
59
- }
60
-
61
- .tooltip {
62
- display: grid;
63
- }
64
-
65
- .tooltip-2 {
66
- grid-template-columns: repeat(2, 1fr);
67
- }
68
-
69
- .tooltip-3 {
70
- grid-template-columns: repeat(3, 1fr);
71
- }
72
-
73
- .tooltip-4 {
74
- grid-template-columns: repeat(4, 1fr);
75
- }
76
-
77
- .tooltip-5 {
78
- grid-template-columns: repeat(5, 1fr);
79
- }
80
- `,
81
- ];
82
- }
83
-
84
- constructor() {
85
- super();
86
- this._skeletonAttribute = 'series';
87
- this._eventListener = function eventListener() {
88
- for (let i = 0; i < Highcharts.charts.length; i++) {
89
- Highcharts.charts[i].reflow();
90
- }
91
- };
92
- }
93
-
94
- connectedCallback() {
95
- super.connectedCallback();
96
- window.addEventListener('resize', this._eventListener);
97
- }
98
-
99
- disconnectedCallback() {
100
- super.disconnectedCallback();
101
- window.removeEventListener('resize', this._eventListener);
102
- }
103
-
104
- async getOptions() {}
105
-
106
- updated(changedProperties) {
107
- super.updated(changedProperties);
108
- if (changedProperties.has('_series')) {
109
- this.getOptions().then((options) => {
110
- this._additionalOptions = options;
111
- });
112
- }
113
- }
114
-
115
- render() {
116
- if (this._error) {
117
- return html` <div class="error">${i18n('gv-chart.error')}</div>`;
118
- }
119
- if (this._empty) {
120
- return html` <div class="empty">${i18n('gv-chart.empty')}</div>`;
121
- }
122
-
123
- const container = document.createElement('div');
124
- container.id = 'container';
125
- container.className = this._skeleton || this._additionalOptions == null ? 'skeleton' : '';
126
- container.classList.add('container');
127
-
128
- if (this._additionalOptions) {
129
- const options = {
130
- ...{
131
- chart: {
132
- height: '100%',
133
- width: '100%',
134
- },
135
- credits: {
136
- enabled: false,
137
- },
138
- title: {
139
- text: '',
140
- },
141
- time: {
142
- useUTC: false,
143
- },
144
- },
145
- ...this._additionalOptions,
146
- };
147
-
148
- const hasData = this._series && this._series.values && this._series.values[0] && this._series.values[0].data;
149
- if (hasData) {
150
- options.series = this._series && this._series.values;
151
- }
152
-
153
- setTimeout(() => {
154
- if (options.chart.map) {
155
- Highmaps.mapChart(container, options);
156
- } else {
157
- Highcharts.chart(container, options);
158
- }
159
- });
160
- }
161
-
162
- return html`${cache(container)}`;
163
- }
164
- };
165
- }
1
+ var e=function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(exports,"__esModule",{value:!0}),exports.ChartElement=void 0;const t=require("lit"),i=require("../lib/i18n"),r=e(require("highcharts")),s=e(require("highcharts/highmaps")),n=require("lit/directives/cache"),a=require("./with-skeleton-attribute");exports.ChartElement=function(e){return class extends((0,a.withSkeletonAttribute)(e)){static get properties(){return{series:{type:Array},options:{type:Array},_additionalOptions:{type:Object,attribute:!1},_series:{type:Array,attribute:!1}}}static get styles(){return[...super.styles,t.css`:host{box-sizing:border-box;display:flex;height:100%;width:100%;flex-direction:column;justify-content:center;align-content:center}.container{flex:1}.tooltip{display:grid}.tooltip-2{grid-template-columns:repeat(2,1fr)}.tooltip-3{grid-template-columns:repeat(3,1fr)}.tooltip-4{grid-template-columns:repeat(4,1fr)}.tooltip-5{grid-template-columns:repeat(5,1fr)}`]}constructor(){super(),this._skeletonAttribute="series",this._eventListener=function(){for(let e=0;e<r.default.charts.length;e++)r.default.charts[e].reflow()}}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this._eventListener)}disconnectedCallback(){super.disconnectedCallback(),window.removeEventListener("resize",this._eventListener)}async getOptions(){}updated(e){super.updated(e),e.has("_series")&&this.getOptions().then((e=>{this._additionalOptions=e}))}render(){if(this._error)return t.html`<div class="error">${(0,i.i18n)("gv-chart.error")}</div>`;if(this._empty)return t.html`<div class="empty">${(0,i.i18n)("gv-chart.empty")}</div>`;const e=document.createElement("div");if(e.id="container",e.className=this._skeleton||null==this._additionalOptions?"skeleton":"",e.classList.add("container"),this._additionalOptions){const t={chart:{height:"100%",width:"100%"},credits:{enabled:!1},title:{text:""},time:{useUTC:!1},...this._additionalOptions};this._series&&this._series.values&&this._series.values[0]&&this._series.values[0].data&&(t.series=this._series&&this._series.values),setTimeout((()=>{t.chart.map?s.default.mapChart(e,t):r.default.chart(e,t)}))}return t.html`${(0,n.cache)(e)}`}}};
@@ -0,0 +1,64 @@
1
+ export function InputElement(ParentClass: any): {
2
+ new (): {
3
+ [x: string]: any;
4
+ _id: string;
5
+ valid: boolean;
6
+ invalid: boolean;
7
+ updateState(value: any): void;
8
+ setValidity(isInvalid?: boolean, violation?: string): void;
9
+ firstUpdated(): void;
10
+ updated(changedProperties: any): void;
11
+ getInputElement(): any;
12
+ readonly offsetHeight: any;
13
+ renderLabel(): "" | import("lit-html").TemplateResult<1>;
14
+ };
15
+ [x: string]: any;
16
+ readonly properties: {
17
+ disabled: {
18
+ type: BooleanConstructor;
19
+ reflect: boolean;
20
+ };
21
+ required: {
22
+ type: BooleanConstructor;
23
+ reflect: boolean;
24
+ };
25
+ readonly: {
26
+ type: BooleanConstructor;
27
+ reflect: boolean;
28
+ };
29
+ skeleton: {
30
+ type: BooleanConstructor;
31
+ };
32
+ value: {
33
+ type: StringConstructor;
34
+ reflect: boolean;
35
+ };
36
+ label: {
37
+ type: StringConstructor;
38
+ };
39
+ title: {
40
+ type: StringConstructor;
41
+ };
42
+ name: {
43
+ type: StringConstructor;
44
+ };
45
+ placeholder: {
46
+ type: StringConstructor;
47
+ };
48
+ description: {
49
+ type: StringConstructor;
50
+ };
51
+ autofocus: {
52
+ type: BooleanConstructor;
53
+ };
54
+ invalid: {
55
+ type: BooleanConstructor;
56
+ reflect: boolean;
57
+ };
58
+ valid: {
59
+ type: BooleanConstructor;
60
+ reflect: boolean;
61
+ };
62
+ };
63
+ readonly styles: import("lit").CSSResult[];
64
+ };