@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,271 +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 { css, html, LitElement } from 'lit';
17
- import { dispatchCustomEvent } from '../lib/events';
18
-
19
- /**
20
- * The newsletter subscription page
21
- *
22
- * @fires gv-newsletter-subscription:subscribe - Custom event when link click
23
- * @fires gv-newsletter-subscription:skip - Custom event when link click
24
- *
25
- * @attr {String} title - The title of newsletter subscription container
26
- * @attr {String} header - The header of newsletter subscription container
27
- * @attr {String} placeholder - The placeholder used for the email input
28
- * @attr {String} subscribeLabel - The text of the subscribe button
29
- * @attr {String} skipLabel - The text of the skip button
30
- * @attr {Array} taglines - The taglines to promote the newsletter subscription
31
- * @attr {String} email - The email value
32
- * @attr {Boolean} disabled - The disabled state of email input
33
- * @attr {String} githubUrl - The url to github page
34
- * @attr {String} twitterUrl - The url to twitter page
35
- * @attr {String} linkedinUrl - The url to linkedin page
36
- *
37
- */
38
- export class GvNewsletterSubscription extends LitElement {
39
- static get properties() {
40
- return {
41
- title: { type: String },
42
- header: { type: String },
43
- placeholder: { type: String },
44
- subscribeLabel: { type: String, attribute: 'subscribe-label' },
45
- skipLabel: { type: String, attribute: 'skip-label' },
46
- taglines: { type: Array },
47
- email: { type: String },
48
- disabled: { type: Boolean },
49
- githubUrl: { type: String, attribute: 'github-url' },
50
- twitterUrl: { type: String, attribute: 'twitter-url' },
51
- linkedinUrl: { type: String, attribute: 'linkedin-url' },
52
- _invalid: { type: Boolean, attribute: false },
53
- };
54
- }
55
-
56
- static get styles() {
57
- return [
58
- // language=css
59
- css`
60
- :host {
61
- box-sizing: border-box;
62
- margin: 0.2rem;
63
- }
64
-
65
- .newsletter-container {
66
- display: flex;
67
- flex-direction: column;
68
- align-items: center;
69
- justify-content: space-between;
70
- max-width: 680px;
71
- box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
72
- padding: 25px 20px 5px 20px;
73
- }
74
-
75
- .newsletter__header {
76
- text-transform: uppercase;
77
- font-style: oblique;
78
- text-align: center;
79
- font-size: 16px;
80
- font-weight: bold;
81
- padding: 5px 35px;
82
- color: var(--gv-theme-neutral-color-lightest, #ffffff);
83
- background-color: var(--gv-theme-color-light, #86c3d0);
84
- }
85
-
86
- .newsletter__title {
87
- display: flex;
88
- flex-direction: column;
89
- align-items: center;
90
- font-size: 20px;
91
- text-transform: uppercase;
92
- padding: 20px;
93
- color: var(--gv-theme-color-light, #86c3d0);
94
- }
95
-
96
- .newsletter__title-highlight {
97
- font-size: 30px;
98
- }
99
-
100
- .newsletter__email {
101
- display: flex;
102
- flex-direction: column;
103
- width: 50%;
104
- }
105
-
106
- .newsletter__taglines {
107
- display: flex;
108
- flex-direction: row;
109
- justify-content: space-between;
110
- align-items: center;
111
- text-align: center;
112
- text-transform: uppercase;
113
- font-size: 14px;
114
- height: 20%;
115
- margin-top: 20px;
116
- padding: 10px 0;
117
- color: var(--gv-theme-color-darker, #383e3f);
118
- border-bottom: solid 1px var(--gv-theme-color-darker, #383e3f);
119
- }
120
-
121
- .newsletter__tagline {
122
- display: flex;
123
- flex-basis: 100%;
124
- flex-direction: column;
125
- justify-content: center;
126
- align-items: center;
127
- height: 100%;
128
- font-weight: bold;
129
- padding: 0 15px;
130
- border-right: solid 1px var(--gv-theme-color-darker, #383e3f);
131
- }
132
-
133
- .newsletter__tagline.last {
134
- border-right: none;
135
- }
136
-
137
- .newsletter__tagline-text {
138
- width: 100%;
139
- }
140
-
141
- .newsletter__skip {
142
- margin-top: 20px;
143
- }
144
-
145
- .social {
146
- width: 100%;
147
- display: flex;
148
- flex-direction: row;
149
- justify-content: flex-end;
150
- }
151
-
152
- .social-link {
153
- --gv-icon--c: var(--gv-theme-color-light, #86c3d0);
154
- --gv-icon--s: 32px;
155
- }
156
- `,
157
- ];
158
- }
159
-
160
- constructor() {
161
- super();
162
- this.header = 'Customers process over 1 billion requests through the gravitee.io gateway in just one week';
163
- this.title = 'Community of api masters';
164
- this.placeholder = 'Enter your email';
165
- this.subscribeLabel = 'Become an API master now';
166
- this.taglines = ['New release monthly updates', 'Free trial of Gravitee.IO enterprise', 'Share your experiences with other members'];
167
- this.skipLabel = 'Skip';
168
- this.email = '';
169
- this.disabled = false;
170
- this._invalid = true;
171
- this.githubUrl = 'https://github.com/gravitee-io';
172
- this.twitterUrl = 'https://twitter.com/GraviteeIO';
173
- this.linkedinUrl = 'https://www.linkedin.com/company/gravitee-io/';
174
- }
175
-
176
- render() {
177
- return html`
178
- <div class="newsletter-container">
179
- <div class="newsletter__header">
180
- ${this.header}
181
- </div>
182
- <div class="newsletter__title">
183
- <span>Join the</span>
184
- <span class="newsletter__title-highlight">${this.title}</span>
185
- <span>Today</span>
186
- </div>
187
- <div class="newsletter__email">
188
- <gv-input
189
- id="email"
190
- name="email"
191
- @gv-input:submit="${this._onSubscribe}"
192
- @gv-input:input="${this._onInputChange}"
193
- type="email"
194
- required
195
- .value="${this.email}"
196
- .disabled=${this.disabled}
197
- placeholder="${this.placeholder}"
198
- ></gv-input>
199
- <gv-button @click="${this._onSubscribe}"
200
- id="email-submit"
201
- provider="graviteeio_am"
202
- icon-right="navigation:angle-right"
203
- .disabled=${!this.disabled && this._invalid}>
204
- ${this.subscribeLabel}
205
- </gv-button>
206
- </div>
207
- ${
208
- this.taglines.length > 0
209
- ? html` <div class="newsletter__taglines">
210
- ${this.taglines.map(
211
- (item, i, arr) => html`
212
- <div class="newsletter__tagline ${i === arr.length - 1 ? 'last' : ''}">
213
- <div class="newsletter__tagline-text">${item}</div>
214
- </div>
215
- `,
216
- )}
217
- </div>`
218
- : ''
219
- }
220
- <div class="newsletter__skip">
221
- <gv-button @click="${this._onSkip}"
222
- provider="graviteeio_am"
223
- icon-right="navigation:angle-right"
224
- small
225
- outlined>
226
- ${this.skipLabel}
227
- </gv-button>
228
- </div>
229
- <div class="social">
230
- <gv-button class="social-link"
231
- link
232
- icon="thirdparty:github"
233
- .href="${this.githubUrl}"
234
- @gv-button:click="${this._navigateSocial.bind(this, this.githubUrl)}">
235
- </gv-button>
236
- <gv-button class="social-link"
237
- link icon="thirdparty:twitter"
238
- .href="${this.twitterUrl}"
239
- @gv-button:click="${this._navigateSocial.bind(this, this.twitterUrl)}">
240
- </gv-button>
241
- <gv-button class="social-link"
242
- link
243
- icon="thirdparty:linkedin"
244
- .href="${this.linkedinUrl}"
245
- @gv-button:click="${this._navigateSocial.bind(this, this.linkedinUrl)}">
246
- </gv-button>
247
- </gv-link>
248
- </div>
249
- </div>
250
- `;
251
- }
252
-
253
- _onSubscribe() {
254
- dispatchCustomEvent(this, 'subscribe', this.email);
255
- }
256
-
257
- _onSkip() {
258
- dispatchCustomEvent(this, 'skip');
259
- }
260
-
261
- _navigateSocial(url) {
262
- window.open(url, '_blank');
263
- }
264
-
265
- _onInputChange(e) {
266
- this._invalid = e.target.invalid;
267
- this.email = e.detail;
268
- }
269
- }
270
-
271
- window.customElements.define('gv-newsletter-subscription', GvNewsletterSubscription);
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.GvNewsletterSubscription=void 0;const t=require("lit"),e=require("../lib/events");class i extends t.LitElement{static get properties(){return{title:{type:String},header:{type:String},placeholder:{type:String},subscribeLabel:{type:String,attribute:"subscribe-label"},skipLabel:{type:String,attribute:"skip-label"},taglines:{type:Array},email:{type:String},disabled:{type:Boolean},githubUrl:{type:String,attribute:"github-url"},twitterUrl:{type:String,attribute:"twitter-url"},linkedinUrl:{type:String,attribute:"linkedin-url"},_invalid:{type:Boolean,attribute:!1}}}static get styles(){return[t.css`:host{box-sizing:border-box;margin:.2rem}.newsletter-container{display:flex;flex-direction:column;align-items:center;justify-content:space-between;max-width:680px;box-shadow:0 0 20px 0 rgba(0,0,0,.2),0 5px 5px 0 rgba(0,0,0,.24);padding:25px 20px 5px 20px}.newsletter__header{text-transform:uppercase;font-style:oblique;text-align:center;font-size:16px;font-weight:700;padding:5px 35px;color:var(--gv-theme-neutral-color-lightest,#fff);background-color:var(--gv-theme-color-light,#86c3d0)}.newsletter__title{display:flex;flex-direction:column;align-items:center;font-size:20px;text-transform:uppercase;padding:20px;color:var(--gv-theme-color-light,#86c3d0)}.newsletter__title-highlight{font-size:30px}.newsletter__email{display:flex;flex-direction:column;width:50%}.newsletter__taglines{display:flex;flex-direction:row;justify-content:space-between;align-items:center;text-align:center;text-transform:uppercase;font-size:14px;height:20%;margin-top:20px;padding:10px 0;color:var(--gv-theme-color-darker,#383e3f);border-bottom:solid 1px var(--gv-theme-color-darker,#383e3f)}.newsletter__tagline{display:flex;flex-basis:100%;flex-direction:column;justify-content:center;align-items:center;height:100%;font-weight:700;padding:0 15px;border-right:solid 1px var(--gv-theme-color-darker,#383e3f)}.newsletter__tagline.last{border-right:none}.newsletter__tagline-text{width:100%}.newsletter__skip{margin-top:20px}.social{width:100%;display:flex;flex-direction:row;justify-content:flex-end}.social-link{--gv-icon--c:var(--gv-theme-color-light, #86c3d0);--gv-icon--s:32px}`]}constructor(){super(),this.header="Customers process over 1 billion requests through the gravitee.io gateway in just one week",this.title="Community of api masters",this.placeholder="Enter your email",this.subscribeLabel="Become an API master now",this.taglines=["New release monthly updates","Free trial of Gravitee.IO enterprise","Share your experiences with other members"],this.skipLabel="Skip",this.email="",this.disabled=!1,this._invalid=!0,this.githubUrl="https://github.com/gravitee-io",this.twitterUrl="https://twitter.com/GraviteeIO",this.linkedinUrl="https://www.linkedin.com/company/gravitee-io/"}render(){return t.html`<div class="newsletter-container"><div class="newsletter__header">${this.header}</div><div class="newsletter__title"><span>Join the</span> <span class="newsletter__title-highlight">${this.title}</span> <span>Today</span></div><div class="newsletter__email"><gv-input id="email" name="email" @gv-input:submit="${this._onSubscribe}" @gv-input:input="${this._onInputChange}" type="email" required .value="${this.email}" .disabled="${this.disabled}" placeholder="${this.placeholder}"></gv-input><gv-button @click="${this._onSubscribe}" id="email-submit" provider="graviteeio_am" icon-right="navigation:angle-right" .disabled="${!this.disabled&&this._invalid}">${this.subscribeLabel}</gv-button></div>${this.taglines.length>0?t.html`<div class="newsletter__taglines">${this.taglines.map(((e,i,s)=>t.html`<div class="newsletter__tagline ${i===s.length-1?"last":""}"><div class="newsletter__tagline-text">${e}</div></div>`))}</div>`:""}<div class="newsletter__skip"><gv-button @click="${this._onSkip}" provider="graviteeio_am" icon-right="navigation:angle-right" small outlined>${this.skipLabel}</gv-button></div><div class="social"><gv-button class="social-link" link icon="thirdparty:github" .href="${this.githubUrl}" @gv-button:click="${this._navigateSocial.bind(this,this.githubUrl)}"></gv-button><gv-button class="social-link" link icon="thirdparty:twitter" .href="${this.twitterUrl}" @gv-button:click="${this._navigateSocial.bind(this,this.twitterUrl)}"></gv-button><gv-button class="social-link" link icon="thirdparty:linkedin" .href="${this.linkedinUrl}" @gv-button:click="${this._navigateSocial.bind(this,this.linkedinUrl)}"></gv-button></div></div>`}_onSubscribe(){(0,e.dispatchCustomEvent)(this,"subscribe",this.email)}_onSkip(){(0,e.dispatchCustomEvent)(this,"skip")}_navigateSocial(t){window.open(t,"_blank")}_onInputChange(t){this._invalid=t.target.invalid,this.email=t.detail}}exports.GvNewsletterSubscription=i,window.customElements.define("gv-newsletter-subscription",i);
@@ -0,0 +1,63 @@
1
+ /**
2
+ * A pagination
3
+ *
4
+ * ## Details
5
+ * * has @theme facet
6
+ *
7
+ * @fires gv-pagination:paginate - Custom event with pagination link
8
+ *
9
+ * @attr {Object} data - Pagination information {first, last, total, current_page}
10
+ * @attr {Boolean} hide-empty - hide component if no page or no data.
11
+ * @attr {Boolean} widget - display widget pagination (with arrows).
12
+ * @attr {Boolean} disabled - same as native button element `disabled` attribute
13
+ *
14
+ * @cssprop {Length} [--gv-pagination--fz=var(--gv-theme-font-size-s, 12px)] - Font size
15
+ * @cssprop {Length} [--gv-pagination-icon--s=18px] - Height and icon width
16
+ */
17
+ export class GvPagination extends LitElement {
18
+ static get properties(): {
19
+ data: {
20
+ type: ObjectConstructor;
21
+ };
22
+ hideEmpty: {
23
+ type: BooleanConstructor;
24
+ attribute: string;
25
+ };
26
+ widget: {
27
+ type: BooleanConstructor;
28
+ };
29
+ disabled: {
30
+ type: BooleanConstructor;
31
+ };
32
+ _first: {
33
+ type: NumberConstructor;
34
+ };
35
+ _last: {
36
+ type: NumberConstructor;
37
+ };
38
+ _current: {
39
+ type: NumberConstructor;
40
+ };
41
+ _total: {
42
+ type: NumberConstructor;
43
+ };
44
+ };
45
+ static get styles(): import("lit").CSSResult[];
46
+ hideEmpty: boolean;
47
+ hasInput: boolean;
48
+ max: number;
49
+ center: number;
50
+ sizes: any[];
51
+ links: {};
52
+ set data(arg: any);
53
+ _last: any;
54
+ _current: number | undefined;
55
+ _pages: any;
56
+ _goToPage(page: any): void;
57
+ _onSubmit(e: any): void;
58
+ _onClickToSearch(): void;
59
+ _renderPagination(): import("lit-html").TemplateResult<1>;
60
+ _hasData(): any;
61
+ _hideEmpty(): any;
62
+ }
63
+ import { LitElement } from "lit-element/lit-element";
@@ -1,198 +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 { LitElement, html, css } from 'lit';
17
- import { dispatchCustomEvent } from '../lib/events';
18
- import '../atoms/gv-button';
19
- import { i18n } from '../lib/i18n';
20
-
21
- /**
22
- * A pagination
23
- *
24
- * ## Details
25
- * * has @theme facet
26
- *
27
- * @fires gv-pagination:paginate - Custom event with pagination link
28
- *
29
- * @attr {Object} data - Pagination information {first, last, total, current_page}
30
- * @attr {Boolean} hide-empty - hide component if no page or no data.
31
- * @attr {Boolean} widget - display widget pagination (with arrows).
32
- * @attr {Boolean} disabled - same as native button element `disabled` attribute
33
- *
34
- * @cssprop {Length} [--gv-pagination--fz=var(--gv-theme-font-size-s, 12px)] - Font size
35
- * @cssprop {Length} [--gv-pagination-icon--s=18px] - Height and icon width
36
- */
37
- export class GvPagination extends LitElement {
38
- static get properties() {
39
- return {
40
- data: { type: Object },
41
- hideEmpty: { type: Boolean, attribute: 'hide-empty' },
42
- widget: { type: Boolean },
43
- disabled: { type: Boolean },
44
- _first: { type: Number },
45
- _last: { type: Number },
46
- _current: { type: Number },
47
- _total: { type: Number },
48
- };
49
- }
50
-
51
- static get styles() {
52
- return [
53
- // language=css
54
- css`
55
- .pagination {
56
- --font-size: var(--gv-pagination--fz, var(--gv-theme-font-size-s, 12px));
57
- font-size: var(--fz);
58
- --gv-button--fz: var(--fz);
59
- display: flex;
60
- align-items: center;
61
- }
62
-
63
- gv-button {
64
- --gv-icon--s: var(--gv-pagination-icon--s, 18px);
65
- min-width: 29px;
66
- }
67
-
68
- gv-input {
69
- width: 50px;
70
- }
71
- `,
72
- ];
73
- }
74
-
75
- constructor() {
76
- super();
77
- this.hideEmpty = false;
78
- this.hasInput = false;
79
- this.max = 10;
80
- this.center = this.max / 2 - 1;
81
- this.sizes = [];
82
- this.links = {};
83
- }
84
-
85
- set data(data) {
86
- if (data) {
87
- this._last = data.last;
88
- this._current = parseInt(data.current_page);
89
- this._pages = data.total_pages;
90
- if (this._pages < this.max) {
91
- this.max = this._pages;
92
- }
93
- }
94
- }
95
-
96
- _goToPage(page) {
97
- this._current = parseInt(page);
98
- dispatchCustomEvent(this, 'paginate', { page: page });
99
- }
100
-
101
- _onSubmit(e) {
102
- const page = e.target.value;
103
- this._goToPage(page);
104
- }
105
-
106
- _onClickToSearch() {
107
- const page = this.shadowRoot.querySelector('gv-input').value;
108
- if (page) {
109
- this._goToPage(page);
110
- }
111
- }
112
-
113
- _renderPagination() {
114
- const pagination = [];
115
- for (let i = 0; i < this._pages; i++) {
116
- pagination.push(i + 1);
117
- }
118
-
119
- let left = pagination.slice(0, this._current - 1);
120
- let right = pagination.slice(this._current);
121
-
122
- if (pagination.length > this.max) {
123
- const dL = left.length;
124
- let removeL = dL - this.center - 1;
125
- let addRight = this.max - this._current > this.center ? this.max - this._current : this.center;
126
- if (removeL > 0) {
127
- addRight = this.center;
128
- const diff = this._last - this._current - addRight;
129
- if (diff < 0) {
130
- removeL += diff;
131
- }
132
- left = left.slice(removeL);
133
- }
134
- right = right.slice(0, addRight);
135
- }
136
- const leftP = left.map((i) => html`<gv-button small outlined @click="${this._goToPage.bind(this, i)}">${i}</gv-button>`);
137
- const rightP = right.map((i) => html`<gv-button small outlined @click="${this._goToPage.bind(this, i)}">${i}</gv-button>`);
138
-
139
- leftP.unshift(
140
- html`<gv-button
141
- small
142
- .disabled="${this.disabled || leftP.length === 0}"
143
- .icon="${this.widget ? 'navigation:angle-left' : null}"
144
- .title="${i18n('gv-pagination.previous')}"
145
- outlined
146
- @click="${leftP.length === 0 ? () => {} : this._goToPage.bind(this, this._current - 1)}"
147
- >${this.widget ? '' : i18n('gv-pagination.previous')}</gv-button
148
- >`,
149
- );
150
- rightP.push(
151
- html`<gv-button
152
- small
153
- .disabled="${this.disabled || rightP.length === 0}"
154
- .icon="${this.widget ? 'navigation:angle-right' : null}"
155
- .title="${i18n('gv-pagination.next')}"
156
- outlined
157
- @click="${rightP.length === 0 ? () => {} : this._goToPage.bind(this, this._current + 1)}"
158
- >${this.widget ? '' : i18n('gv-pagination.next')}</gv-button
159
- >`,
160
- );
161
- return html`${this.widget ? leftP.slice(0, 1) : leftP}
162
- ${html`<gv-button .disabled="${this.disabled}" small primary
163
- >${this.widget ? this._current + ' / ' + pagination.length : this._current}</gv-button
164
- >`}
165
- ${this.widget ? rightP.slice(rightP.length - 1, rightP.length) : rightP}`;
166
- }
167
-
168
- _hasData() {
169
- return this._pages && this._last && this._current;
170
- }
171
-
172
- _hideEmpty() {
173
- return this._hasData() && this.hideEmpty && this._pages < 2;
174
- }
175
-
176
- render() {
177
- if (this._hasData() && !this._hideEmpty()) {
178
- return html`<div class="pagination">
179
- ${this.hasInput
180
- ? html`<gv-input
181
- class="goto"
182
- @gv-input:submit="${this._onSubmit}"
183
- type="number"
184
- min="1"
185
- max="${this._pages}"
186
- placeholder="Page"
187
- small
188
- ></gv-input>
189
- <gv-button small outlined @click="${this._onClickToSearch}" icon="general:search"></gv-button>`
190
- : ''}
191
- ${this._renderPagination()}
192
- </div> `;
193
- }
194
- return html``;
195
- }
196
- }
197
-
198
- window.customElements.define('gv-pagination', GvPagination);
1
+ Object.defineProperty(exports,"__esModule",{value:!0}),exports.GvPagination=void 0;const t=require("lit"),i=require("../lib/events");require("../atoms/gv-button");const e=require("../lib/i18n");class s extends t.LitElement{static get properties(){return{data:{type:Object},hideEmpty:{type:Boolean,attribute:"hide-empty"},widget:{type:Boolean},disabled:{type:Boolean},_first:{type:Number},_last:{type:Number},_current:{type:Number},_total:{type:Number}}}static get styles(){return[t.css`.pagination{--font-size:var(--gv-pagination--fz, var(--gv-theme-font-size-s, 12px));font-size:var(--fz);--gv-button--fz:var(--fz);display:flex;align-items:center}gv-button{--gv-icon--s:var(--gv-pagination-icon--s, 18px);min-width:29px}gv-input{width:50px}`]}constructor(){super(),this.hideEmpty=!1,this.hasInput=!1,this.max=10,this.center=this.max/2-1,this.sizes=[],this.links={}}set data(t){t&&(this._last=t.last,this._current=parseInt(t.current_page),this._pages=t.total_pages,this._pages<this.max&&(this.max=this._pages))}_goToPage(t){this._current=parseInt(t),(0,i.dispatchCustomEvent)(this,"paginate",{page:t})}_onSubmit(t){const i=t.target.value;this._goToPage(i)}_onClickToSearch(){const t=this.shadowRoot.querySelector("gv-input").value;t&&this._goToPage(t)}_renderPagination(){const i=[];for(let t=0;t<this._pages;t++)i.push(t+1);let s=i.slice(0,this._current-1),n=i.slice(this._current);if(i.length>this.max){let t=s.length-this.center-1,i=this.max-this._current>this.center?this.max-this._current:this.center;if(t>0){i=this.center;const e=this._last-this._current-i;e<0&&(t+=e),s=s.slice(t)}n=n.slice(0,i)}const a=s.map((i=>t.html`<gv-button small outlined @click="${this._goToPage.bind(this,i)}">${i}</gv-button>`)),h=n.map((i=>t.html`<gv-button small outlined @click="${this._goToPage.bind(this,i)}">${i}</gv-button>`));return a.unshift(t.html`<gv-button small .disabled="${this.disabled||0===a.length}" .icon="${this.widget?"navigation:angle-left":null}" .title="${(0,e.i18n)("gv-pagination.previous")}" outlined @click="${0===a.length?()=>{}:this._goToPage.bind(this,this._current-1)}">${this.widget?"":(0,e.i18n)("gv-pagination.previous")}</gv-button>`),h.push(t.html`<gv-button small .disabled="${this.disabled||0===h.length}" .icon="${this.widget?"navigation:angle-right":null}" .title="${(0,e.i18n)("gv-pagination.next")}" outlined @click="${0===h.length?()=>{}:this._goToPage.bind(this,this._current+1)}">${this.widget?"":(0,e.i18n)("gv-pagination.next")}</gv-button>`),t.html`${this.widget?a.slice(0,1):a} ${t.html`<gv-button .disabled="${this.disabled}" small primary>${this.widget?this._current+" / "+i.length:this._current}</gv-button>`} ${this.widget?h.slice(h.length-1,h.length):h}`}_hasData(){return this._pages&&this._last&&this._current}_hideEmpty(){return this._hasData()&&this.hideEmpty&&this._pages<2}render(){return this._hasData()&&!this._hideEmpty()?t.html`<div class="pagination">${this.hasInput?t.html`<gv-input class="goto" @gv-input:submit="${this._onSubmit}" type="number" min="1" max="${this._pages}" placeholder="Page" small></gv-input><gv-button small outlined @click="${this._onClickToSearch}" icon="general:search"></gv-button>`:""} ${this._renderPagination()}</div>`:t.html``}}exports.GvPagination=s,window.customElements.define("gv-pagination",s);