@paperless/core 0.1.0-alpha.33 → 0.1.0-alpha.330

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 (661) hide show
  1. package/CHANGELOG.md +3101 -0
  2. package/README.md +9 -1
  3. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  4. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  5. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  6. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  7. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  8. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  9. package/dist/assets/i18n/table.i18n.en.json +13 -0
  10. package/dist/assets/i18n/table.i18n.nl.json +13 -0
  11. package/dist/assets/icons/camera.svg +10 -0
  12. package/dist/assets/icons/filter.svg +6 -13
  13. package/dist/assets/icons/menu.svg +25 -0
  14. package/dist/assets/icons/more.svg +18 -0
  15. package/dist/assets/icons/notification.svg +10 -0
  16. package/dist/assets/icons/reload.svg +10 -0
  17. package/dist/assets/icons/signout.svg +23 -0
  18. package/dist/assets/icons/switch.svg +20 -0
  19. package/dist/assets/illustrations/e-mail.svg +1 -0
  20. package/dist/assets/illustrations/empty-state-overview.svg +65 -0
  21. package/dist/assets/illustrations/empty-state-search.svg +88 -0
  22. package/dist/build/index.esm.js +1 -0
  23. package/dist/build/p-05f73516.entry.js +1 -0
  24. package/dist/build/p-0688d548.entry.js +1 -0
  25. package/dist/build/p-07f28695.entry.js +1 -0
  26. package/dist/build/p-09ea2a1a.js +1 -0
  27. package/dist/build/p-12f5c483.entry.js +1 -0
  28. package/dist/build/p-13169f11.entry.js +1 -0
  29. package/dist/build/p-1a8b852d.entry.js +1 -0
  30. package/dist/build/p-1ba7cadc.entry.js +1 -0
  31. package/dist/build/p-2e47afc7.entry.js +1 -0
  32. package/dist/build/p-3946e0a3.entry.js +1 -0
  33. package/dist/build/p-3a98b145.entry.js +1 -0
  34. package/dist/build/p-4e650fe4.js +1 -0
  35. package/dist/build/p-529ccaf7.entry.js +1 -0
  36. package/dist/build/p-5b7c22ee.entry.js +1 -0
  37. package/dist/build/p-62d49606.entry.js +1 -0
  38. package/dist/build/p-63de1c3d.entry.js +1 -0
  39. package/dist/build/p-681ed79b.entry.js +1 -0
  40. package/dist/build/p-6c60fd3d.js +1 -0
  41. package/dist/build/p-7b5909a4.entry.js +1 -0
  42. package/dist/build/p-7cdad890.entry.js +1 -0
  43. package/dist/build/p-7df6230f.entry.js +1 -0
  44. package/dist/build/p-7f4b2d8e.entry.js +1 -0
  45. package/dist/build/p-80a032ae.entry.js +1 -0
  46. package/dist/build/p-8a6728d5.js +1 -0
  47. package/dist/build/p-8b09a126.entry.js +1 -0
  48. package/dist/build/p-91d032b2.entry.js +1 -0
  49. package/dist/build/p-9315c1e2.entry.js +1 -0
  50. package/dist/build/p-98e3dcd7.entry.js +1 -0
  51. package/dist/build/p-ac5a17c4.entry.js +1 -0
  52. package/dist/build/p-ad9db2f7.entry.js +1 -0
  53. package/dist/build/p-b273ac6d.js +1 -0
  54. package/dist/build/p-b4af4b21.entry.js +1 -0
  55. package/dist/build/p-b55c1a9c.entry.js +1 -0
  56. package/dist/build/p-b72559e4.entry.js +1 -0
  57. package/dist/build/p-b8dd503c.entry.js +1 -0
  58. package/dist/build/p-c9f2fa8f.js +2 -0
  59. package/dist/build/p-d2cf5ab2.entry.js +1 -0
  60. package/dist/build/p-d896ab0d.entry.js +1 -0
  61. package/dist/build/p-dbb409ab.entry.js +1 -0
  62. package/dist/build/p-ddd3372b.entry.js +1 -0
  63. package/dist/build/p-e25ea1c8.entry.js +1 -0
  64. package/dist/build/p-f1867cb5.entry.js +1 -0
  65. package/dist/build/p-f499f696.entry.js +1 -0
  66. package/dist/build/p-f86fcdf4.js +1 -0
  67. package/dist/build/p-fa3216a5.entry.js +1 -0
  68. package/dist/build/p-fecba798.entry.js +1 -0
  69. package/dist/build/paperless.css +1 -81
  70. package/dist/build/paperless.esm.js +1 -1
  71. package/dist/cjs/child-of-e472f812.js +9 -0
  72. package/dist/cjs/constants-a4459ec9.js +7 -0
  73. package/dist/cjs/index-040ec3f9.js +2481 -0
  74. package/dist/cjs/{index-a46a39a5.js → index-195002a8.js} +662 -261
  75. package/dist/cjs/index.cjs.js +17 -0
  76. package/dist/cjs/loader.cjs.js +3 -3
  77. package/dist/cjs/localization-9e2ac7f3.js +60 -0
  78. package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
  79. package/dist/cjs/p-accordion.cjs.entry.js +34 -0
  80. package/dist/cjs/p-avatar-group.cjs.entry.js +20 -0
  81. package/dist/cjs/p-avatar.cjs.entry.js +22 -11
  82. package/dist/cjs/p-backdrop.cjs.entry.js +41 -0
  83. package/dist/cjs/p-button_3.cjs.entry.js +246 -104
  84. package/dist/cjs/p-calendar.cjs.entry.js +709 -0
  85. package/dist/cjs/p-card-body.cjs.entry.js +20 -0
  86. package/dist/cjs/p-card-container.cjs.entry.js +21 -0
  87. package/dist/cjs/p-card-header.cjs.entry.js +22 -0
  88. package/dist/cjs/p-content-slider.cjs.entry.js +210 -0
  89. package/dist/cjs/p-counter.cjs.entry.js +5 -3
  90. package/dist/cjs/p-datepicker.cjs.entry.js +4088 -0
  91. package/dist/cjs/p-divider.cjs.entry.js +6 -3
  92. package/dist/cjs/p-drawer-body_3.cjs.entry.js +49 -0
  93. package/dist/cjs/p-drawer.cjs.entry.js +63 -0
  94. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +5 -3
  95. package/dist/cjs/p-dropdown_2.cjs.entry.js +165 -0
  96. package/dist/cjs/p-helper_3.cjs.entry.js +204 -0
  97. package/dist/cjs/p-illustration_6.cjs.entry.js +2725 -0
  98. package/dist/cjs/p-info-panel.cjs.entry.js +4 -8
  99. package/dist/cjs/p-label_3.cjs.entry.js +63 -0
  100. package/dist/cjs/p-layout.cjs.entry.js +20 -0
  101. package/dist/cjs/p-modal-body_4.cjs.entry.js +77 -0
  102. package/dist/cjs/p-modal.cjs.entry.js +59 -0
  103. package/dist/cjs/p-navbar.cjs.entry.js +28 -0
  104. package/dist/cjs/p-navigation-item.cjs.entry.js +7 -6
  105. package/dist/cjs/p-page-size-select_3.cjs.entry.js +222 -0
  106. package/dist/cjs/p-profile.cjs.entry.js +43 -0
  107. package/dist/cjs/p-select.cjs.entry.js +183 -0
  108. package/dist/cjs/p-slider-indicator.cjs.entry.js +20 -0
  109. package/dist/cjs/p-status.cjs.entry.js +5 -5
  110. package/dist/cjs/p-stepper-item_2.cjs.entry.js +38 -0
  111. package/dist/cjs/p-stepper.cjs.entry.js +43 -0
  112. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  113. package/dist/cjs/p-tab-item.cjs.entry.js +20 -0
  114. package/dist/cjs/p-table-column.cjs.entry.js +26 -0
  115. package/dist/cjs/p-table.cjs.entry.js +341 -0
  116. package/dist/cjs/p-toast-container.cjs.entry.js +20 -0
  117. package/dist/cjs/p-toast.cjs.entry.js +33 -0
  118. package/dist/cjs/paperless.cjs.js +3 -3
  119. package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
  120. package/dist/collection/assets/icons/camera.svg +10 -0
  121. package/dist/collection/assets/icons/filter.svg +6 -13
  122. package/dist/collection/assets/icons/menu.svg +25 -0
  123. package/dist/collection/assets/icons/more.svg +18 -0
  124. package/dist/collection/assets/icons/notification.svg +10 -0
  125. package/dist/collection/assets/icons/reload.svg +10 -0
  126. package/dist/collection/assets/icons/signout.svg +23 -0
  127. package/dist/collection/assets/icons/switch.svg +20 -0
  128. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  129. package/dist/collection/assets/illustrations/empty-state-overview.svg +65 -0
  130. package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
  131. package/dist/collection/collection-manifest.json +43 -3
  132. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -31
  133. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -90
  134. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -0
  135. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +41 -0
  136. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
  137. package/dist/collection/components/atoms/backdrop/backdrop.component.js +148 -0
  138. package/dist/collection/components/atoms/button/button.component.css +1 -79
  139. package/dist/collection/components/atoms/button/button.component.js +305 -251
  140. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -0
  141. package/dist/collection/components/atoms/card-body/card-body.component.js +42 -0
  142. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -0
  143. package/dist/collection/components/atoms/card-container/card-container.component.js +62 -0
  144. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -0
  145. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  146. package/dist/collection/components/atoms/counter/counter.component.css +1 -5
  147. package/dist/collection/components/atoms/counter/counter.component.js +56 -9
  148. package/dist/collection/components/atoms/divider/divider.component.css +1 -3
  149. package/dist/collection/components/atoms/divider/divider.component.js +15 -8
  150. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
  151. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +43 -0
  152. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -0
  153. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +47 -0
  154. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -0
  155. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +65 -0
  156. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -5
  157. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +56 -9
  158. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -13
  159. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +74 -30
  160. package/dist/collection/components/atoms/helper/helper.component.css +1 -7
  161. package/dist/collection/components/atoms/helper/helper.component.js +42 -12
  162. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  163. package/dist/collection/components/atoms/icon/icon.component.js +138 -91
  164. package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
  165. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
  166. package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
  167. package/dist/collection/components/atoms/label/label.component.css +1 -0
  168. package/dist/collection/components/atoms/label/label.component.js +170 -0
  169. package/dist/collection/components/atoms/layout/layout.component.css +1 -0
  170. package/dist/collection/components/atoms/layout/layout.component.js +43 -0
  171. package/dist/collection/components/atoms/loader/loader.component.css +1 -26
  172. package/dist/collection/components/atoms/loader/loader.component.js +112 -114
  173. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -0
  174. package/dist/collection/components/atoms/modal-body/modal-body.component.js +62 -0
  175. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -0
  176. package/dist/collection/components/atoms/modal-container/modal-container.component.js +74 -0
  177. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -0
  178. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +18 -0
  179. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -0
  180. package/dist/collection/components/atoms/modal-header/modal-header.component.js +65 -0
  181. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
  182. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +34 -32
  183. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
  184. package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
  185. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
  186. package/dist/collection/components/atoms/segment-item/segment-item.component.js +98 -87
  187. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -0
  188. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +43 -0
  189. package/dist/collection/components/atoms/status/status.component.css +1 -16
  190. package/dist/collection/components/atoms/status/status.component.js +98 -89
  191. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -0
  192. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +100 -0
  193. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -0
  194. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  195. package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -0
  196. package/dist/collection/components/atoms/tab-group/tab-group.component.js +18 -0
  197. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -0
  198. package/dist/collection/components/atoms/tab-item/tab-item.component.js +43 -0
  199. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -0
  200. package/dist/collection/components/atoms/table-container/table-container.component.js +18 -0
  201. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
  202. package/dist/collection/components/atoms/toast-container/toast-container.component.js +43 -0
  203. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -40
  204. package/dist/collection/components/atoms/tooltip/tooltip.component.js +196 -164
  205. package/dist/collection/components/helpers/table-column/table-column.component.js +150 -0
  206. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
  207. package/dist/collection/components/molecules/accordion/accordion.component.js +127 -0
  208. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -0
  209. package/dist/collection/components/molecules/calendar/calendar.component.js +503 -0
  210. package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -0
  211. package/dist/collection/components/molecules/content-slider/content-slider.component.js +316 -0
  212. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -0
  213. package/dist/collection/components/molecules/datepicker/datepicker.component.js +513 -0
  214. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -9
  215. package/dist/collection/components/molecules/dropdown/dropdown.component.js +266 -127
  216. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
  217. package/dist/collection/components/molecules/input-group/input-group.component.js +337 -0
  218. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -28
  219. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
  220. package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
  221. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +204 -0
  222. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
  223. package/dist/collection/components/molecules/pagination/pagination.component.js +118 -94
  224. package/dist/collection/components/molecules/profile/profile.component.css +1 -0
  225. package/dist/collection/components/molecules/profile/profile.component.js +89 -0
  226. package/dist/collection/components/molecules/select/select.component.css +1 -0
  227. package/dist/collection/components/molecules/select/select.component.js +570 -0
  228. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -0
  229. package/dist/collection/components/molecules/stepper/stepper.component.js +84 -0
  230. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -0
  231. package/dist/collection/components/molecules/table-cell/table-cell.component.js +262 -0
  232. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -0
  233. package/dist/collection/components/molecules/table-footer/table-footer.component.js +275 -0
  234. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -0
  235. package/dist/collection/components/molecules/table-header/table-header.component.js +380 -0
  236. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -0
  237. package/dist/collection/components/molecules/table-row/table-row.component.js +64 -0
  238. package/dist/collection/components/molecules/toast/toast.component.css +1 -0
  239. package/dist/collection/components/molecules/toast/toast.component.js +196 -0
  240. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  241. package/dist/collection/components/organisms/drawer/drawer.component.js +233 -0
  242. package/dist/collection/components/organisms/modal/modal.component.js +258 -0
  243. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -0
  244. package/dist/collection/components/organisms/navbar/navbar.component.js +89 -0
  245. package/dist/collection/components/organisms/table/table.component.css +1 -0
  246. package/dist/collection/components/organisms/table/table.component.js +1164 -0
  247. package/dist/collection/index.js +2 -1
  248. package/dist/collection/tailwind/animation.js +87 -0
  249. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  250. package/dist/collection/tailwind/border-radius.js +1 -0
  251. package/dist/collection/tailwind/height.js +5 -0
  252. package/dist/collection/tailwind/screens.js +8 -0
  253. package/dist/collection/tailwind/shadows.js +11 -5
  254. package/dist/collection/tailwind/spacing.js +10 -0
  255. package/dist/collection/tailwind/typography.js +21 -0
  256. package/dist/collection/tailwind/width.js +23 -0
  257. package/dist/collection/tailwind/z-index.js +17 -0
  258. package/dist/collection/tailwind.config.js +29 -14
  259. package/dist/collection/types/index.js +2 -0
  260. package/dist/collection/types/table.js +1 -0
  261. package/dist/collection/types/tailwind.js +1 -0
  262. package/dist/collection/utils/icons.js +14 -0
  263. package/dist/collection/utils/illustrations.js +6 -0
  264. package/dist/collection/utils/index.js +6 -0
  265. package/dist/collection/utils/localization.js +55 -0
  266. package/dist/collection/utils/object-get-by-path.js +8 -0
  267. package/dist/collection/utils/transformers.js +4 -0
  268. package/dist/components/backdrop.component.js +57 -0
  269. package/dist/components/button.component.js +98 -0
  270. package/dist/components/calendar.component.js +3197 -0
  271. package/dist/components/counter.component.js +8 -3
  272. package/dist/components/divider.component.js +33 -0
  273. package/dist/components/drawer-body.component.js +33 -0
  274. package/dist/components/drawer-container.component.js +32 -0
  275. package/dist/components/drawer-header.component.js +52 -0
  276. package/dist/components/dropdown-menu-container.component.js +8 -3
  277. package/dist/components/dropdown-menu-item.component.js +43 -0
  278. package/dist/components/dropdown.component.js +182 -0
  279. package/dist/components/helper.component.js +39 -0
  280. package/dist/components/icon.component.js +182 -27
  281. package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +188 -16
  282. package/dist/components/index.d.ts +59 -19
  283. package/dist/components/index.js +50 -0
  284. package/dist/components/input-group.component.js +116 -0
  285. package/dist/components/label.component.js +52 -0
  286. package/dist/components/loader.component.js +9 -13
  287. package/dist/components/localization.js +57 -0
  288. package/dist/components/modal-body.component.js +35 -0
  289. package/dist/components/modal-container.component.js +47 -0
  290. package/dist/components/modal-footer.component.js +36 -0
  291. package/dist/components/modal-header.component.js +52 -0
  292. package/dist/components/p-accordion.d.ts +11 -0
  293. package/dist/components/p-accordion.js +65 -0
  294. package/dist/components/p-avatar-group.d.ts +11 -0
  295. package/dist/components/p-avatar-group.js +35 -0
  296. package/dist/components/p-avatar.js +24 -14
  297. package/dist/components/p-backdrop.d.ts +11 -0
  298. package/dist/components/p-backdrop.js +6 -0
  299. package/dist/components/p-button.js +1 -102
  300. package/dist/components/p-calendar.d.ts +11 -0
  301. package/dist/components/p-calendar.js +6 -0
  302. package/dist/components/p-card-body.d.ts +11 -0
  303. package/dist/components/p-card-body.js +35 -0
  304. package/dist/components/p-card-container.d.ts +11 -0
  305. package/dist/components/p-card-container.js +38 -0
  306. package/dist/components/p-card-header.d.ts +11 -0
  307. package/dist/components/p-card-header.js +44 -0
  308. package/dist/components/p-content-slider.d.ts +11 -0
  309. package/dist/components/p-content-slider.js +239 -0
  310. package/dist/components/p-datepicker.d.ts +11 -0
  311. package/dist/components/p-datepicker.js +4162 -0
  312. package/dist/components/p-divider.js +1 -28
  313. package/dist/components/p-drawer-body.d.ts +11 -0
  314. package/dist/components/p-drawer-body.js +6 -0
  315. package/dist/components/p-drawer-container.d.ts +11 -0
  316. package/dist/components/p-drawer-container.js +6 -0
  317. package/dist/components/p-drawer-header.d.ts +11 -0
  318. package/dist/components/p-drawer-header.js +6 -0
  319. package/dist/components/p-drawer.d.ts +11 -0
  320. package/dist/components/p-drawer.js +128 -0
  321. package/dist/components/p-dropdown-menu-item.js +1 -34
  322. package/dist/components/p-dropdown.js +1 -161
  323. package/dist/components/p-helper.js +1 -34
  324. package/dist/components/p-illustration.js +1 -1432
  325. package/dist/components/p-info-panel.js +3 -7
  326. package/dist/components/p-input-group.d.ts +11 -0
  327. package/dist/components/p-input-group.js +6 -0
  328. package/dist/components/p-label.d.ts +11 -0
  329. package/dist/components/p-label.js +6 -0
  330. package/dist/components/p-layout.d.ts +11 -0
  331. package/dist/components/p-layout.js +36 -0
  332. package/dist/components/p-modal-body.d.ts +11 -0
  333. package/dist/components/p-modal-body.js +6 -0
  334. package/dist/components/p-modal-container.d.ts +11 -0
  335. package/dist/components/p-modal-container.js +6 -0
  336. package/dist/components/p-modal-footer.d.ts +11 -0
  337. package/dist/components/p-modal-footer.js +6 -0
  338. package/dist/components/p-modal-header.d.ts +11 -0
  339. package/dist/components/p-modal-header.js +6 -0
  340. package/dist/components/p-modal.d.ts +11 -0
  341. package/dist/components/p-modal.js +138 -0
  342. package/dist/components/p-navbar.d.ts +11 -0
  343. package/dist/components/p-navbar.js +70 -0
  344. package/dist/components/p-navigation-item.js +6 -5
  345. package/dist/components/p-page-size-select.d.ts +11 -0
  346. package/dist/components/p-page-size-select.js +6 -0
  347. package/dist/components/p-pagination.js +1 -195
  348. package/dist/components/p-profile.d.ts +11 -0
  349. package/dist/components/p-profile.js +79 -0
  350. package/dist/components/p-segment-container.js +1 -27
  351. package/dist/components/p-segment-item.js +1 -49
  352. package/dist/components/p-select.d.ts +11 -0
  353. package/dist/components/p-select.js +265 -0
  354. package/dist/components/p-slider-indicator.d.ts +11 -0
  355. package/dist/components/p-slider-indicator.js +6 -0
  356. package/dist/components/p-status.js +4 -4
  357. package/dist/components/p-stepper-item.d.ts +11 -0
  358. package/dist/components/p-stepper-item.js +6 -0
  359. package/dist/components/p-stepper-line.d.ts +11 -0
  360. package/dist/components/p-stepper-line.js +6 -0
  361. package/dist/components/p-stepper.d.ts +11 -0
  362. package/dist/components/p-stepper.js +78 -0
  363. package/dist/components/p-tab-group.d.ts +11 -0
  364. package/dist/components/p-tab-group.js +39 -0
  365. package/dist/components/p-tab-item.d.ts +11 -0
  366. package/dist/components/p-tab-item.js +36 -0
  367. package/dist/components/p-table-cell.d.ts +11 -0
  368. package/dist/components/p-table-cell.js +6 -0
  369. package/dist/components/p-table-column.d.ts +11 -0
  370. package/dist/components/p-table-column.js +46 -0
  371. package/dist/components/p-table-container.d.ts +11 -0
  372. package/dist/components/p-table-container.js +6 -0
  373. package/dist/components/p-table-footer.d.ts +11 -0
  374. package/dist/components/p-table-footer.js +6 -0
  375. package/dist/components/p-table-header.d.ts +11 -0
  376. package/dist/components/p-table-header.js +6 -0
  377. package/dist/components/p-table-row.d.ts +11 -0
  378. package/dist/components/p-table-row.js +6 -0
  379. package/dist/components/p-table.d.ts +11 -0
  380. package/dist/components/p-table.js +521 -0
  381. package/dist/components/p-toast-container.d.ts +11 -0
  382. package/dist/components/p-toast-container.js +36 -0
  383. package/dist/components/p-toast.d.ts +11 -0
  384. package/dist/components/p-toast.js +73 -0
  385. package/dist/components/page-size-select.component.js +105 -0
  386. package/dist/components/pagination-item.component.js +1 -4
  387. package/dist/components/pagination.component.js +194 -0
  388. package/dist/components/popper.js +60 -49
  389. package/dist/components/segment-container.component.js +29 -0
  390. package/dist/components/segment-item.component.js +51 -0
  391. package/dist/components/slider-indicator.component.js +33 -0
  392. package/dist/components/stepper-item.component.js +45 -0
  393. package/dist/components/stepper-line.component.js +35 -0
  394. package/dist/components/table-cell.component.js +143 -0
  395. package/dist/components/table-container.component.js +30 -0
  396. package/dist/components/table-footer.component.js +127 -0
  397. package/dist/components/table-header.component.js +1048 -0
  398. package/dist/components/table-row.component.js +43 -0
  399. package/dist/components/tooltip.component.js +16 -27
  400. package/dist/esm/child-of-90a8c4b5.js +7 -0
  401. package/dist/esm/constants-826f9460.js +4 -0
  402. package/dist/esm/index-340e085c.js +2458 -0
  403. package/dist/esm/{index-a68e547b.js → index-8170b4fb.js} +662 -261
  404. package/dist/esm/index.js +9 -0
  405. package/dist/esm/loader.js +3 -3
  406. package/dist/esm/localization-901dc2d3.js +57 -0
  407. package/dist/esm/object-get-by-path-d6427a61.js +10 -0
  408. package/dist/esm/p-accordion.entry.js +30 -0
  409. package/dist/esm/p-avatar-group.entry.js +16 -0
  410. package/dist/esm/p-avatar.entry.js +22 -11
  411. package/dist/esm/p-backdrop.entry.js +37 -0
  412. package/dist/esm/p-button_3.entry.js +246 -104
  413. package/dist/esm/p-calendar.entry.js +705 -0
  414. package/dist/esm/p-card-body.entry.js +16 -0
  415. package/dist/esm/p-card-container.entry.js +17 -0
  416. package/dist/esm/p-card-header.entry.js +18 -0
  417. package/dist/esm/p-content-slider.entry.js +206 -0
  418. package/dist/esm/p-counter.entry.js +5 -3
  419. package/dist/esm/p-datepicker.entry.js +4084 -0
  420. package/dist/esm/p-divider.entry.js +6 -3
  421. package/dist/esm/p-drawer-body_3.entry.js +43 -0
  422. package/dist/esm/p-drawer.entry.js +59 -0
  423. package/dist/esm/p-dropdown-menu-container.entry.js +5 -3
  424. package/dist/esm/p-dropdown_2.entry.js +160 -0
  425. package/dist/esm/p-helper_3.entry.js +198 -0
  426. package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1305 -8
  427. package/dist/esm/p-info-panel.entry.js +4 -8
  428. package/dist/esm/p-label_3.entry.js +57 -0
  429. package/dist/esm/p-layout.entry.js +16 -0
  430. package/dist/esm/p-modal-body_4.entry.js +70 -0
  431. package/dist/esm/p-modal.entry.js +55 -0
  432. package/dist/esm/p-navbar.entry.js +24 -0
  433. package/dist/esm/p-navigation-item.entry.js +7 -6
  434. package/dist/esm/p-page-size-select_3.entry.js +216 -0
  435. package/dist/esm/p-profile.entry.js +39 -0
  436. package/dist/esm/p-select.entry.js +179 -0
  437. package/dist/esm/p-slider-indicator.entry.js +16 -0
  438. package/dist/esm/p-status.entry.js +5 -5
  439. package/dist/esm/p-stepper-item_2.entry.js +33 -0
  440. package/dist/esm/p-stepper.entry.js +39 -0
  441. package/dist/esm/p-tab-group.entry.js +15 -0
  442. package/dist/esm/p-tab-item.entry.js +16 -0
  443. package/dist/esm/p-table-column.entry.js +22 -0
  444. package/dist/esm/p-table.entry.js +337 -0
  445. package/dist/esm/p-toast-container.entry.js +16 -0
  446. package/dist/esm/p-toast.entry.js +29 -0
  447. package/dist/esm/paperless.js +3 -3
  448. package/dist/esm/polyfills/core-js.js +0 -0
  449. package/dist/esm/polyfills/css-shim.js +1 -1
  450. package/dist/esm/polyfills/dom.js +0 -0
  451. package/dist/esm/polyfills/es5-html-element.js +0 -0
  452. package/dist/esm/polyfills/index.js +0 -0
  453. package/dist/esm/polyfills/system.js +0 -0
  454. package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
  455. package/dist/index.html +1 -1
  456. package/dist/paperless/index.esm.js +1 -0
  457. package/dist/paperless/p-05f73516.entry.js +1 -0
  458. package/dist/paperless/p-0688d548.entry.js +1 -0
  459. package/dist/paperless/p-07f28695.entry.js +1 -0
  460. package/dist/paperless/p-09ea2a1a.js +1 -0
  461. package/dist/paperless/p-12f5c483.entry.js +1 -0
  462. package/dist/paperless/p-13169f11.entry.js +1 -0
  463. package/dist/paperless/p-1a8b852d.entry.js +1 -0
  464. package/dist/paperless/p-1ba7cadc.entry.js +1 -0
  465. package/dist/paperless/p-2e47afc7.entry.js +1 -0
  466. package/dist/paperless/p-3946e0a3.entry.js +1 -0
  467. package/dist/paperless/p-3a98b145.entry.js +1 -0
  468. package/dist/paperless/p-4e650fe4.js +1 -0
  469. package/dist/paperless/p-529ccaf7.entry.js +1 -0
  470. package/dist/paperless/p-5b7c22ee.entry.js +1 -0
  471. package/dist/paperless/p-62d49606.entry.js +1 -0
  472. package/dist/paperless/p-63de1c3d.entry.js +1 -0
  473. package/dist/paperless/p-681ed79b.entry.js +1 -0
  474. package/dist/paperless/p-6c60fd3d.js +1 -0
  475. package/dist/paperless/p-7b5909a4.entry.js +1 -0
  476. package/dist/paperless/p-7cdad890.entry.js +1 -0
  477. package/dist/paperless/p-7df6230f.entry.js +1 -0
  478. package/dist/paperless/p-7f4b2d8e.entry.js +1 -0
  479. package/dist/paperless/p-80a032ae.entry.js +1 -0
  480. package/dist/paperless/p-8a6728d5.js +1 -0
  481. package/dist/paperless/p-8b09a126.entry.js +1 -0
  482. package/dist/paperless/p-91d032b2.entry.js +1 -0
  483. package/dist/paperless/p-9315c1e2.entry.js +1 -0
  484. package/dist/paperless/p-98e3dcd7.entry.js +1 -0
  485. package/dist/paperless/p-ac5a17c4.entry.js +1 -0
  486. package/dist/paperless/p-ad9db2f7.entry.js +1 -0
  487. package/dist/paperless/p-b273ac6d.js +1 -0
  488. package/dist/paperless/p-b4af4b21.entry.js +1 -0
  489. package/dist/paperless/p-b55c1a9c.entry.js +1 -0
  490. package/dist/paperless/p-b72559e4.entry.js +1 -0
  491. package/dist/paperless/p-b8dd503c.entry.js +1 -0
  492. package/dist/paperless/p-c9f2fa8f.js +2 -0
  493. package/dist/paperless/p-d2cf5ab2.entry.js +1 -0
  494. package/dist/paperless/p-d896ab0d.entry.js +1 -0
  495. package/dist/paperless/p-dbb409ab.entry.js +1 -0
  496. package/dist/paperless/p-ddd3372b.entry.js +1 -0
  497. package/dist/paperless/p-e25ea1c8.entry.js +1 -0
  498. package/dist/paperless/p-f1867cb5.entry.js +1 -0
  499. package/dist/paperless/p-f499f696.entry.js +1 -0
  500. package/dist/paperless/p-f86fcdf4.js +1 -0
  501. package/dist/paperless/p-fa3216a5.entry.js +1 -0
  502. package/dist/paperless/p-fecba798.entry.js +1 -0
  503. package/dist/paperless/paperless.css +673 -26741
  504. package/dist/paperless/paperless.esm.js +1 -1
  505. package/dist/style/_fonts.scss +70 -0
  506. package/dist/style/_helpers.scss +5 -0
  507. package/dist/style/_reset.scss +31 -0
  508. package/dist/style/_tailwind.scss +3 -0
  509. package/dist/style/_typograhpy.scss +29 -0
  510. package/dist/style/_variables.scss +2 -0
  511. package/dist/style/form/_checkbox.scss +111 -0
  512. package/dist/style/form/_input.scss +22 -0
  513. package/dist/style/form/_mixins.scss +107 -0
  514. package/dist/style/form/_radio.scss +58 -0
  515. package/dist/style/form/_textarea.scss +18 -0
  516. package/dist/style/form/index.scss +4 -0
  517. package/dist/style/paperless.scss +12 -0
  518. package/dist/sw.js +2 -644
  519. package/dist/sw.js.map +1 -0
  520. package/dist/tailwind/animation.js +87 -0
  521. package/dist/tailwind/backdrop-blur.js +3 -0
  522. package/dist/tailwind/border-radius.js +11 -0
  523. package/dist/tailwind/colors.js +52 -0
  524. package/dist/tailwind/height.js +5 -0
  525. package/dist/tailwind/rotate.js +8 -0
  526. package/dist/tailwind/scale.js +3 -0
  527. package/dist/tailwind/screens.js +8 -0
  528. package/dist/tailwind/shadows.js +13 -0
  529. package/dist/tailwind/spacing.js +10 -0
  530. package/dist/tailwind/typography.js +21 -0
  531. package/dist/tailwind/width.js +23 -0
  532. package/dist/tailwind/z-index.js +17 -0
  533. package/dist/tailwind.config.js +29 -14
  534. package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
  535. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  536. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +31 -0
  537. package/dist/types/components/atoms/button/button.component.d.ts +14 -1
  538. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  539. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  540. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  541. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  542. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  543. package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +7 -0
  544. package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +7 -0
  545. package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +12 -0
  546. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +8 -0
  547. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +9 -0
  548. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  549. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  550. package/dist/types/components/atoms/label/label.component.d.ts +33 -0
  551. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  552. package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
  553. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +11 -0
  554. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +11 -0
  555. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  556. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  557. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +2 -1
  558. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  559. package/dist/types/components/atoms/status/status.component.d.ts +2 -1
  560. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  561. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  562. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  563. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  564. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  565. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
  566. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +11 -2
  567. package/dist/types/components/helpers/table-column/table-column.component.d.ts +34 -0
  568. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  569. package/dist/types/components/molecules/calendar/calendar.component.d.ts +76 -0
  570. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +53 -0
  571. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +93 -0
  572. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +30 -3
  573. package/dist/types/components/molecules/input-group/input-group.component.d.ts +67 -0
  574. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  575. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
  576. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  577. package/dist/types/components/molecules/profile/profile.component.d.ts +20 -0
  578. package/dist/types/components/molecules/select/select.component.d.ts +115 -0
  579. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  580. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
  581. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +63 -0
  582. package/dist/types/components/molecules/table-header/table-header.component.d.ts +87 -0
  583. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  584. package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
  585. package/dist/types/components/organisms/drawer/drawer.component.d.ts +52 -0
  586. package/dist/types/components/organisms/modal/modal.component.d.ts +58 -0
  587. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  588. package/dist/types/components/organisms/table/table.component.d.ts +214 -0
  589. package/dist/types/components.d.ts +2829 -327
  590. package/dist/types/index.d.ts +2 -0
  591. package/dist/types/stencil-public-runtime.d.ts +20 -4
  592. package/dist/types/types/index.d.ts +2 -0
  593. package/dist/types/types/table.d.ts +27 -0
  594. package/dist/types/types/tailwind.d.ts +2 -0
  595. package/dist/types/utils/icons.d.ts +7 -0
  596. package/dist/types/utils/illustrations.d.ts +3 -0
  597. package/dist/types/utils/index.d.ts +6 -0
  598. package/dist/types/utils/localization.d.ts +2 -0
  599. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  600. package/dist/types/utils/transformers.d.ts +2 -0
  601. package/dist/workbox-5b279812.js +2 -0
  602. package/dist/workbox-5b279812.js.map +1 -0
  603. package/loader/package.json +1 -0
  604. package/package.json +65 -61
  605. package/dist/build/p-17c11169.entry.js +0 -1
  606. package/dist/build/p-41e5458b.entry.js +0 -1
  607. package/dist/build/p-42dab9d4.entry.js +0 -1
  608. package/dist/build/p-47b52f92.entry.js +0 -1
  609. package/dist/build/p-5ec6ea71.entry.js +0 -1
  610. package/dist/build/p-75f909ab.entry.js +0 -1
  611. package/dist/build/p-76464e0b.js +0 -2
  612. package/dist/build/p-8501ba07.entry.js +0 -1
  613. package/dist/build/p-87356769.entry.js +0 -1
  614. package/dist/build/p-9513868f.entry.js +0 -1
  615. package/dist/build/p-a669807e.entry.js +0 -1
  616. package/dist/build/p-a7086ffa.js +0 -1
  617. package/dist/build/p-aa28fef8.entry.js +0 -1
  618. package/dist/build/p-aae3d4f0.entry.js +0 -1
  619. package/dist/build/p-adcb0b93.entry.js +0 -1
  620. package/dist/build/p-bbec0e86.entry.js +0 -1
  621. package/dist/build/p-e7019eab.entry.js +0 -1
  622. package/dist/build/p-f689996b.entry.js +0 -1
  623. package/dist/build/p-faa4ee42.entry.js +0 -1
  624. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
  625. package/dist/cjs/p-dropdown.cjs.entry.js +0 -141
  626. package/dist/cjs/p-helper.cjs.entry.js +0 -19
  627. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  628. package/dist/cjs/p-pagination.cjs.entry.js +0 -171
  629. package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
  630. package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
  631. package/dist/cjs/p-tooltip.cjs.entry.js +0 -137
  632. package/dist/collection/tailwind/grid.js +0 -26
  633. package/dist/collection/utils/utils.js +0 -3
  634. package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
  635. package/dist/esm/p-dropdown.entry.js +0 -137
  636. package/dist/esm/p-helper.entry.js +0 -15
  637. package/dist/esm/p-pagination-item.entry.js +0 -19
  638. package/dist/esm/p-pagination.entry.js +0 -167
  639. package/dist/esm/p-segment-container.entry.js +0 -15
  640. package/dist/esm/p-segment-item.entry.js +0 -25
  641. package/dist/esm/p-tooltip.entry.js +0 -133
  642. package/dist/paperless/p-17c11169.entry.js +0 -1
  643. package/dist/paperless/p-41e5458b.entry.js +0 -1
  644. package/dist/paperless/p-42dab9d4.entry.js +0 -1
  645. package/dist/paperless/p-47b52f92.entry.js +0 -1
  646. package/dist/paperless/p-5ec6ea71.entry.js +0 -1
  647. package/dist/paperless/p-75f909ab.entry.js +0 -1
  648. package/dist/paperless/p-76464e0b.js +0 -2
  649. package/dist/paperless/p-8501ba07.entry.js +0 -1
  650. package/dist/paperless/p-87356769.entry.js +0 -1
  651. package/dist/paperless/p-9513868f.entry.js +0 -1
  652. package/dist/paperless/p-a669807e.entry.js +0 -1
  653. package/dist/paperless/p-a7086ffa.js +0 -1
  654. package/dist/paperless/p-aa28fef8.entry.js +0 -1
  655. package/dist/paperless/p-aae3d4f0.entry.js +0 -1
  656. package/dist/paperless/p-adcb0b93.entry.js +0 -1
  657. package/dist/paperless/p-bbec0e86.entry.js +0 -1
  658. package/dist/paperless/p-e7019eab.entry.js +0 -1
  659. package/dist/paperless/p-f689996b.entry.js +0 -1
  660. package/dist/paperless/p-faa4ee42.entry.js +0 -1
  661. package/dist/types/utils/utils.d.ts +0 -1
@@ -6,11 +6,37 @@
6
6
  */
7
7
  import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
8
8
  import { IconFlipOptions, IconVariant } from "./components/atoms/icon/icon.component";
9
+ import { RotateOptions, TextSizeOptions } from "./types/tailwind";
10
+ import { Placement, PositioningStrategy } from "@popperjs/core";
9
11
  import { IconFlipOptions as IconFlipOptions1, IconVariant as IconVariant1 } from "./components/atoms/icon/icon.component";
10
12
  import { IllustrationVariant } from "./components/atoms/illustration/illustration.component";
13
+ import { RotateOptions as RotateOptions1, TableDefinitionData, TableDefinitionTemplateFunc } from "./types";
11
14
  import { Observable } from "rxjs";
12
- import { Placement } from "@popperjs/core";
15
+ import { templateFunc } from "./components/molecules/page-size-select/page-size-select.component";
16
+ import { QuickFilter, RowClickEvent, TableColumnSizes } from "./types/table";
17
+ import { templateFunc as templateFunc1 } from "./components/organisms/table/table.component";
18
+ import { buttonTemplateFunc } from "./components/molecules/table-header/table-header.component";
19
+ import { TableColumn } from "./components/helpers/table-column/table-column.component";
20
+ import { buttonTemplateFunc as buttonTemplateFunc1, templateFunc as templateFunc2 } from "./components/molecules/table-header/table-header.component";
13
21
  export namespace Components {
22
+ interface PAccordion {
23
+ /**
24
+ * Wether the accordion can be closed
25
+ */
26
+ "closeable": boolean;
27
+ /**
28
+ * Header of the accordion
29
+ */
30
+ "header": string;
31
+ /**
32
+ * Wether the accordion is open
33
+ */
34
+ "open": boolean;
35
+ /**
36
+ * Wether the accordion can be opened
37
+ */
38
+ "openable": boolean;
39
+ }
14
40
  interface PAvatar {
15
41
  /**
16
42
  * The default image to show on errors
@@ -19,7 +45,7 @@ export namespace Components {
19
45
  /**
20
46
  * The size of the avatar
21
47
  */
22
- "size": 'small' | 'medium' | 'large';
48
+ "size": 'small' | 'medium' | 'large' | 'xlarge';
23
49
  /**
24
50
  * The image used for the avatar
25
51
  */
@@ -29,11 +55,39 @@ export namespace Components {
29
55
  */
30
56
  "variant": 'user' | 'company';
31
57
  }
58
+ interface PAvatarGroup {
59
+ /**
60
+ * The amount to show after the avatars
61
+ */
62
+ "extra": number;
63
+ }
64
+ interface PBackdrop {
65
+ /**
66
+ * Wether to apply blur on the background of the backdrop
67
+ */
68
+ "applyBlur": boolean;
69
+ /**
70
+ * Wether the backdrop is closing
71
+ */
72
+ "closing": boolean;
73
+ /**
74
+ * Wether we should scroll lock the body
75
+ */
76
+ "scrollLock": boolean;
77
+ /**
78
+ * The variant of the backdrop
79
+ */
80
+ "variant": 'modal' | 'drawer';
81
+ }
32
82
  interface PButton {
33
83
  /**
34
84
  * Wether to show a chevron or not
35
85
  */
36
86
  "chevron": boolean | 'up' | 'down';
87
+ /**
88
+ * Chevron position
89
+ */
90
+ "chevronPosition": 'start' | 'end';
37
91
  /**
38
92
  * Wether the button is disabled
39
93
  */
@@ -50,6 +104,10 @@ export namespace Components {
50
104
  * Icon flip
51
105
  */
52
106
  "iconFlip": IconFlipOptions;
107
+ /**
108
+ * Wether the button is icon only
109
+ */
110
+ "iconOnly": boolean;
53
111
  /**
54
112
  * Icon position
55
113
  */
@@ -57,7 +115,11 @@ export namespace Components {
57
115
  /**
58
116
  * Icon rotate
59
117
  */
60
- "iconRotate": number;
118
+ "iconRotate": RotateOptions;
119
+ /**
120
+ * Wether the button should inherit text styles
121
+ */
122
+ "inheritText": boolean;
61
123
  /**
62
124
  * Wether to show a loader or not
63
125
  */
@@ -75,11 +137,227 @@ export namespace Components {
75
137
  */
76
138
  "variant": 'primary' | 'secondary' | 'text';
77
139
  }
140
+ interface PCalendar {
141
+ /**
142
+ * Wether to disable the weekends
143
+ */
144
+ "disableWeekends": boolean;
145
+ /**
146
+ * Disabled dates
147
+ */
148
+ "disabledDates"?: Array<Date | 'string'> | string;
149
+ /**
150
+ * Max date
151
+ */
152
+ "maxDate": Date | 'string';
153
+ /**
154
+ * Min date
155
+ */
156
+ "minDate": Date | 'string';
157
+ /**
158
+ * The mode of the datepicker
159
+ */
160
+ "mode": 'year' | 'month' | 'day';
161
+ /**
162
+ * Wether to automatically preselect today
163
+ */
164
+ "preselectToday": boolean;
165
+ /**
166
+ * The current value
167
+ */
168
+ "value"?: Date | 'string';
169
+ /**
170
+ * The variant of the button
171
+ */
172
+ "variant": 'default' | 'embedded';
173
+ }
174
+ interface PCardBody {
175
+ /**
176
+ * Wether the button should inherit text styles
177
+ */
178
+ "inheritText": boolean;
179
+ }
180
+ interface PCardContainer {
181
+ /**
182
+ * Wether the card should be hoverable
183
+ */
184
+ "hoverable": boolean;
185
+ /**
186
+ * Wether the card should have shadow
187
+ */
188
+ "shadow": boolean;
189
+ }
190
+ interface PCardHeader {
191
+ /**
192
+ * Enable the title arrow
193
+ */
194
+ "arrow": boolean;
195
+ /**
196
+ * Content of the card header
197
+ */
198
+ "header": string;
199
+ }
200
+ interface PContentSlider {
201
+ /**
202
+ * Wether to disable auto centering the content
203
+ */
204
+ "disableAutoCenter": boolean;
205
+ /**
206
+ * Wether to disable dragging the content
207
+ */
208
+ "disableDrag": boolean;
209
+ /**
210
+ * Wether to disable clicking the indicator scrolls content
211
+ */
212
+ "disableIndicatorClick": boolean;
213
+ /**
214
+ * Wether to hide the indicator on mobile
215
+ */
216
+ "hideMobileIndicator": boolean;
217
+ }
78
218
  interface PCounter {
219
+ /**
220
+ * The size of the counter
221
+ */
222
+ "size": 'default' | 'mini';
223
+ /**
224
+ * The variant of the counter
225
+ */
226
+ "variant": 'info' | 'negative' | 'positive' | 'unbiased';
227
+ }
228
+ interface PDatepicker {
229
+ /**
230
+ * Wether to disable the weekends
231
+ */
232
+ "disableWeekends": boolean;
233
+ /**
234
+ * Wether the input group is disabled used by the datepicker
235
+ */
236
+ "disabled": boolean;
237
+ /**
238
+ * Disabled dates
239
+ */
240
+ "disabledDates"?: Array<Date | 'string'> | string;
241
+ /**
242
+ * The helper of the input group used by the datepicker
243
+ */
244
+ "error": string;
245
+ /**
246
+ * The display & parse format to use
247
+ */
248
+ "format": string;
249
+ /**
250
+ * The helper of the input group used by the datepicker
251
+ */
252
+ "helper": string;
253
+ /**
254
+ * The label of the input group used by the datepicker
255
+ */
256
+ "label": string;
257
+ /**
258
+ * Max date
259
+ */
260
+ "maxDate"?: Date | 'string';
261
+ /**
262
+ * Min date
263
+ */
264
+ "minDate"?: Date | 'string';
265
+ /**
266
+ * The mode of the datepicker
267
+ */
268
+ "mode": 'year' | 'month' | 'day';
269
+ /**
270
+ * The placeholder of the input
271
+ */
272
+ "placeholder": string;
273
+ /**
274
+ * The prefix of the input group used by the datepicker
275
+ */
276
+ "prefix": string;
277
+ /**
278
+ * Wethter to automatically preselect today
279
+ */
280
+ "preselectToday": boolean;
281
+ /**
282
+ * The size of the input group used by the datepicker
283
+ */
284
+ "size": 'small' | 'medium';
285
+ /**
286
+ * The current value
287
+ */
288
+ "value": any;
79
289
  }
80
290
  interface PDivider {
81
291
  }
292
+ interface PDrawer {
293
+ /**
294
+ * Wether to apply blur to the backdrop
295
+ */
296
+ "applyBlur": boolean;
297
+ /**
298
+ * Wether to hide the drawer when the backdrop is clicked
299
+ */
300
+ "backdropClickClose": boolean;
301
+ /**
302
+ * Wether the drawer can be closed
303
+ */
304
+ "canClose": boolean;
305
+ /**
306
+ * The Header of the drawer
307
+ */
308
+ "header"?: string;
309
+ /**
310
+ * Wether we should scroll lock the body
311
+ */
312
+ "scrollLock": boolean;
313
+ /**
314
+ * Wether to show the drawer or not
315
+ */
316
+ "show": boolean;
317
+ /**
318
+ * Wether to show the close on mobile in the header
319
+ */
320
+ "showClose": boolean;
321
+ }
322
+ interface PDrawerBody {
323
+ /**
324
+ * The variant of the modal body
325
+ */
326
+ "variant": 'default' | 'table';
327
+ }
328
+ interface PDrawerContainer {
329
+ /**
330
+ * Wether the container is closing
331
+ */
332
+ "closing": boolean;
333
+ }
334
+ interface PDrawerHeader {
335
+ /**
336
+ * Wether to show the close button on mobile
337
+ */
338
+ "showClose": boolean;
339
+ }
82
340
  interface PDropdown {
341
+ /**
342
+ * Wether to apply the full width
343
+ */
344
+ "applyFullWidth": boolean;
345
+ /**
346
+ * Wether to apply the max width
347
+ */
348
+ "applyMaxWidth": boolean;
349
+ /**
350
+ * Wether to automatically calculate the width of the menu based on the trigger
351
+ */
352
+ "calculateWidth": boolean;
353
+ /**
354
+ * Chevron direction
355
+ */
356
+ "chevronDirection": 'up' | 'down';
357
+ /**
358
+ * Chevron position
359
+ */
360
+ "chevronPosition": 'start' | 'end';
83
361
  /**
84
362
  * Wether to automatically close the dropdown menu after clicking inside
85
363
  */
@@ -91,21 +369,45 @@ export namespace Components {
91
369
  /**
92
370
  * The content of the dropdown menu
93
371
  */
94
- "placement": 'bottom' | 'top';
372
+ "placement": Placement;
95
373
  /**
96
374
  * Wether to show the dropdown menu
97
375
  */
98
376
  "show": boolean;
377
+ /**
378
+ * The strategy of the popover placement
379
+ */
380
+ "strategy": PositioningStrategy;
99
381
  }
100
382
  interface PDropdownMenuContainer {
383
+ /**
384
+ * Wether the container should all available space
385
+ */
386
+ "fullWidth": boolean;
387
+ /**
388
+ * Wether the container applies it's max width
389
+ */
390
+ "maxWidth": boolean;
101
391
  }
102
392
  interface PDropdownMenuItem {
103
393
  /**
104
394
  * Wether the dropdown menu item is active
105
395
  */
106
396
  "active": boolean;
397
+ /**
398
+ * Wether to enable the hover state
399
+ */
400
+ "enableHover": boolean;
401
+ /**
402
+ * Icon of the navigation item
403
+ */
404
+ "icon": IconVariant;
107
405
  }
108
406
  interface PHelper {
407
+ /**
408
+ * The placement of the helper popover
409
+ */
410
+ "placement": Placement;
109
411
  }
110
412
  interface PIcon {
111
413
  /**
@@ -115,11 +417,11 @@ export namespace Components {
115
417
  /**
116
418
  * Wether to rotate the icon x degrees
117
419
  */
118
- "rotate": number;
420
+ "rotate": RotateOptions;
119
421
  /**
120
422
  * The size of the icon, using tailwind sizes
121
423
  */
122
- "size": string;
424
+ "size": TextSizeOptions;
123
425
  /**
124
426
  * The icon the be displayed
125
427
  */
@@ -149,79 +451,71 @@ export namespace Components {
149
451
  */
150
452
  "variant": 'info' | 'negative' | 'positive' | 'unbiased';
151
453
  }
152
- interface PLoader {
153
- /**
154
- * Color of the loader
155
- */
156
- "color": 'indigo' | 'white' | 'storm';
454
+ interface PInputGroup {
157
455
  /**
158
- * !NOT IMPLEMENTED! Modal description for modal variant
456
+ * Wether the input group is disabled
159
457
  */
160
- "modalDescription": string;
458
+ "disabled": boolean;
161
459
  /**
162
- * !NOT IMPLEMENTED! Modal title for modal variant
460
+ * The helper of the input group
163
461
  */
164
- "modalTitle": string;
462
+ "error": string;
165
463
  /**
166
- * Wether to show or hide the loader
464
+ * Wether the input group is focused
167
465
  */
168
- "show": boolean | Observable<boolean>;
466
+ "focused": boolean;
169
467
  /**
170
- * Variant of loader
468
+ * The helper of the input group
171
469
  */
172
- "variant": 'inline' | 'full-width' | 'full-screen' | 'modal';
173
- }
174
- interface PNavigationItem {
470
+ "helper": string;
175
471
  /**
176
- * Wether the navigation item is active
472
+ * Icon of the navigation item
177
473
  */
178
- "active": boolean;
474
+ "icon": IconVariant;
179
475
  /**
180
- * Icon of the navigation item
476
+ * Icon flip
181
477
  */
182
- "counter": number | string;
478
+ "iconFlip": IconFlipOptions;
183
479
  /**
184
- * The href of the navigation item
480
+ * Icon position
185
481
  */
186
- "href": string;
482
+ "iconPosition": 'start' | 'end';
187
483
  /**
188
- * Icon of the navigation item
484
+ * Icon rotate
189
485
  */
190
- "icon": IconVariant;
486
+ "iconRotate": RotateOptions;
191
487
  /**
192
- * The target of the navigation item
488
+ * The label of the input group
193
489
  */
194
- "target": string;
195
- }
196
- interface PPagination {
490
+ "label": string;
197
491
  /**
198
- * The current page
492
+ * The prefix of the input group
199
493
  */
200
- "page": number;
494
+ "prefix": string;
201
495
  /**
202
- * The amount of items per page
496
+ * Wether the field is required
203
497
  */
204
- "pageSize": number;
498
+ "required": boolean;
205
499
  /**
206
- * The total amount of items
500
+ * The size of the input group
207
501
  */
208
- "total": number;
209
- }
210
- interface PPaginationItem {
502
+ "size": 'small' | 'medium';
211
503
  /**
212
- * Wether the pagination item is active
504
+ * The suffix of the input group
213
505
  */
214
- "active": boolean;
215
- }
216
- interface PSegmentContainer {
506
+ "suffix": string;
217
507
  }
218
- interface PSegmentItem {
508
+ interface PLabel {
219
509
  /**
220
- * Wether the segment item is active
510
+ * Define the behavior of the label
221
511
  */
222
- "active": boolean;
512
+ "behavior": | 'icon'
513
+ | 'circle'
514
+ | 'combination'
515
+ | 'text'
516
+ | 'icon-only';
223
517
  /**
224
- * Icon to show on the segment item
518
+ * Icon to show on the label
225
519
  */
226
520
  "icon": IconVariant;
227
521
  /**
@@ -231,391 +525,2435 @@ export namespace Components {
231
525
  /**
232
526
  * Icon rotate
233
527
  */
234
- "iconRotate": number;
528
+ "iconRotate": RotateOptions1;
529
+ /**
530
+ * Wether to keep the content on mobile
531
+ */
532
+ "keepMobileContent": boolean;
533
+ /**
534
+ * The size of the label
535
+ */
536
+ "size": 'small' | 'default';
537
+ /**
538
+ * Variant of the label
539
+ */
540
+ "variant": | 'positive'
541
+ | 'unbiased'
542
+ | 'negative'
543
+ | 'info';
235
544
  }
236
- interface PStatus {
545
+ interface PLayout {
237
546
  /**
238
- * Icon to show on the status
547
+ * Variant of the layout
239
548
  */
240
- "icon": IconVariant;
549
+ "variant": 'default' | 'login';
550
+ }
551
+ interface PLoader {
241
552
  /**
242
- * Icon flip
553
+ * Color of the loader
243
554
  */
244
- "iconFlip": IconFlipOptions;
555
+ "color": 'indigo' | 'white' | 'storm';
245
556
  /**
246
- * Icon rotate
557
+ * !NOT IMPLEMENTED! Modal description for modal variant
247
558
  */
248
- "iconRotate": number;
559
+ "modalDescription": string;
249
560
  /**
250
- * The variant of the status
561
+ * !NOT IMPLEMENTED! Modal title for modal variant
251
562
  */
252
- "variant": 'default' | 'positive' | 'unbiased' | 'negative';
563
+ "modalTitle": string;
564
+ /**
565
+ * Wether to show or hide the loader
566
+ */
567
+ "show": boolean | Observable<boolean>;
568
+ /**
569
+ * Variant of loader
570
+ */
571
+ "variant": | 'inline'
572
+ | 'full-width'
573
+ | 'full-screen'
574
+ | 'modal'
575
+ | 'ghost';
253
576
  }
254
- interface PTooltip {
577
+ interface PModal {
255
578
  /**
256
- * Wether to someone can manually close the popover
579
+ * Wether to apply blur to the backdrop
257
580
  */
258
- "canManuallyClose": boolean;
581
+ "applyBlur": boolean;
259
582
  /**
260
- * The content of the popover
583
+ * Wether to hide the modal when the backdrop is clicked
261
584
  */
262
- "placement": Placement;
585
+ "backdropClickClose": boolean;
263
586
  /**
264
- * The content of the popover
587
+ * The Header of the modal
265
588
  */
266
- "popover": any;
589
+ "header"?: string;
267
590
  /**
268
- * Wether to show the popover
591
+ * Wether we should scroll lock the body
592
+ */
593
+ "scrollLock": boolean;
594
+ /**
595
+ * Wether to show the modal or not
269
596
  */
270
597
  "show": boolean;
271
598
  /**
272
- * The variant of the popover
599
+ * Wether to show the close button in the header
273
600
  */
274
- "variant": 'hover' | 'click' | 'error';
275
- }
276
- }
277
- export interface PButtonCustomEvent<T> extends CustomEvent<T> {
278
- detail: T;
279
- target: HTMLPButtonElement;
280
- }
281
- export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
282
- detail: T;
283
- target: HTMLPDropdownElement;
284
- }
285
- export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
286
- detail: T;
287
- target: HTMLPPaginationElement;
288
- }
289
- declare global {
290
- interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
291
- }
292
- var HTMLPAvatarElement: {
293
- prototype: HTMLPAvatarElement;
294
- new (): HTMLPAvatarElement;
295
- };
296
- interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
601
+ "showClose": boolean;
602
+ /**
603
+ * Wether to show the footer on mobile
604
+ */
605
+ "showMobileFooter": boolean;
606
+ /**
607
+ * The size of the modal container
608
+ */
609
+ "size": 'sm' | 'md' | 'lg' | 'xl';
610
+ /**
611
+ * The variant of the modal body
612
+ */
613
+ "variant": 'default' | 'table';
297
614
  }
298
- var HTMLPButtonElement: {
299
- prototype: HTMLPButtonElement;
300
- new (): HTMLPButtonElement;
301
- };
302
- interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
615
+ interface PModalBody {
616
+ /**
617
+ * Wether the modal body should be rounded at the bottom
618
+ */
619
+ "rounded": boolean;
620
+ /**
621
+ * The variant of the modal body
622
+ */
623
+ "variant": 'default' | 'table';
303
624
  }
304
- var HTMLPCounterElement: {
305
- prototype: HTMLPCounterElement;
306
- new (): HTMLPCounterElement;
307
- };
308
- interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
625
+ interface PModalContainer {
626
+ /**
627
+ * Wether the container is closing
628
+ */
629
+ "closing": boolean;
630
+ /**
631
+ * The size of the modal container
632
+ */
633
+ "size": 'sm' | 'md' | 'lg' | 'xl';
309
634
  }
310
- var HTMLPDividerElement: {
311
- prototype: HTMLPDividerElement;
312
- new (): HTMLPDividerElement;
313
- };
314
- interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
635
+ interface PModalFooter {
315
636
  }
316
- var HTMLPDropdownElement: {
317
- prototype: HTMLPDropdownElement;
318
- new (): HTMLPDropdownElement;
319
- };
320
- interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
637
+ interface PModalHeader {
638
+ /**
639
+ * Wether to show the close button on mobile
640
+ */
641
+ "showClose": boolean;
321
642
  }
322
- var HTMLPDropdownMenuContainerElement: {
323
- prototype: HTMLPDropdownMenuContainerElement;
324
- new (): HTMLPDropdownMenuContainerElement;
325
- };
326
- interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
643
+ interface PNavbar {
644
+ /**
645
+ * The text to display for the close button
646
+ */
647
+ "closeText": string;
648
+ /**
649
+ * The text to display for the menu button & sidebar title
650
+ */
651
+ "menuText": string;
327
652
  }
328
- var HTMLPDropdownMenuItemElement: {
329
- prototype: HTMLPDropdownMenuItemElement;
330
- new (): HTMLPDropdownMenuItemElement;
331
- };
332
- interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
653
+ interface PNavigationItem {
654
+ /**
655
+ * Wether the navigation item is active
656
+ */
657
+ "active": boolean;
658
+ /**
659
+ * Icon of the navigation item
660
+ */
661
+ "counter": number | string;
662
+ /**
663
+ * The href of the navigation item
664
+ */
665
+ "href": string;
666
+ /**
667
+ * Icon of the navigation item
668
+ */
669
+ "icon": IconVariant;
670
+ /**
671
+ * The target of the navigation item
672
+ */
673
+ "target": string;
333
674
  }
334
- var HTMLPHelperElement: {
335
- prototype: HTMLPHelperElement;
336
- new (): HTMLPHelperElement;
337
- };
338
- interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
675
+ interface PPageSizeSelect {
676
+ /**
677
+ * The size of the button
678
+ */
679
+ "buttonSize": 'small' | 'medium';
680
+ /**
681
+ * The template for the data view
682
+ */
683
+ "buttonTemplate": templateFunc;
684
+ /**
685
+ * Chevron position
686
+ */
687
+ "chevronPosition": 'start' | 'end';
688
+ /**
689
+ * Wether to hide when there is only 1 page available
690
+ */
691
+ "hidden": boolean;
692
+ /**
693
+ * The template for the data view
694
+ */
695
+ "itemTemplate": templateFunc;
696
+ /**
697
+ * The current page
698
+ */
699
+ "size": number;
700
+ /**
701
+ * The available sizes
702
+ */
703
+ "sizeOptions": number[];
339
704
  }
340
- var HTMLPIconElement: {
341
- prototype: HTMLPIconElement;
342
- new (): HTMLPIconElement;
343
- };
344
- interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
705
+ interface PPagination {
706
+ /**
707
+ * Wether to hide when there is only 1 page available
708
+ */
709
+ "hideOnSinglePage": boolean;
710
+ /**
711
+ * The current page
712
+ */
713
+ "page": number;
714
+ /**
715
+ * The amount of items per page
716
+ */
717
+ "pageSize": number;
718
+ /**
719
+ * The total amount of items
720
+ */
721
+ "total": number;
345
722
  }
346
- var HTMLPIllustrationElement: {
347
- prototype: HTMLPIllustrationElement;
348
- new (): HTMLPIllustrationElement;
349
- };
350
- interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
723
+ interface PPaginationItem {
724
+ /**
725
+ * Wether the pagination item is active
726
+ */
727
+ "active": boolean;
351
728
  }
352
- var HTMLPInfoPanelElement: {
353
- prototype: HTMLPInfoPanelElement;
354
- new (): HTMLPInfoPanelElement;
355
- };
356
- interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
729
+ interface PProfile {
730
+ /**
731
+ * The size of the profile avatar
732
+ */
733
+ "size": 'small' | 'medium' | 'large';
734
+ /**
735
+ * The variant of the profile
736
+ */
737
+ "variant": 'company' | 'user';
357
738
  }
358
- var HTMLPLoaderElement: {
359
- prototype: HTMLPLoaderElement;
360
- new (): HTMLPLoaderElement;
361
- };
362
- interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
739
+ interface PSegmentContainer {
363
740
  }
364
- var HTMLPNavigationItemElement: {
365
- prototype: HTMLPNavigationItemElement;
366
- new (): HTMLPNavigationItemElement;
367
- };
368
- interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
741
+ interface PSegmentItem {
742
+ /**
743
+ * Wether the segment item is active
744
+ */
745
+ "active": boolean;
746
+ /**
747
+ * Icon to show on the segment item
748
+ */
749
+ "icon": IconVariant;
750
+ /**
751
+ * Icon flip
752
+ */
753
+ "iconFlip": IconFlipOptions;
754
+ /**
755
+ * Icon rotate
756
+ */
757
+ "iconRotate": RotateOptions;
369
758
  }
370
- var HTMLPPaginationElement: {
371
- prototype: HTMLPPaginationElement;
372
- new (): HTMLPPaginationElement;
373
- };
374
- interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
759
+ interface PSelect {
760
+ /**
761
+ * Wether the input uses async filtering
762
+ */
763
+ "asyncFilter": boolean;
764
+ /**
765
+ * Wether to automatically select the first item
766
+ */
767
+ "autoSelectFirst": boolean;
768
+ /**
769
+ * The placeholder of the input when auto completing
770
+ */
771
+ "autocompletePlaceholder": string;
772
+ /**
773
+ * Wether the input group is disabled used by the select
774
+ */
775
+ "disabled": boolean;
776
+ /**
777
+ * The key of the object to display
778
+ */
779
+ "displayKey": string;
780
+ /**
781
+ * Wether to enable autocomplete
782
+ */
783
+ "enableAutocomplete": boolean;
784
+ /**
785
+ * The helper of the input group used by the select
786
+ */
787
+ "error": string;
788
+ /**
789
+ * The helper of the input group used by the select
790
+ */
791
+ "helper": string;
792
+ /**
793
+ * The items to show in the dropdown
794
+ */
795
+ "items": string | any[];
796
+ /**
797
+ * The label of the input group used by the select
798
+ */
799
+ "label": string;
800
+ /**
801
+ * Wether to show loading items
802
+ */
803
+ "loading": boolean;
804
+ /**
805
+ * The maximum amount of items to display
806
+ */
807
+ "maxDisplayedItems": number;
808
+ /**
809
+ * The placeholder of the input
810
+ */
811
+ "placeholder": string;
812
+ /**
813
+ * The prefix of the input group used by the select
814
+ */
815
+ "prefix": string;
816
+ /**
817
+ * The current query
818
+ */
819
+ "query": string;
820
+ /**
821
+ * The key of the object to display
822
+ */
823
+ "queryKey"?: string;
824
+ /**
825
+ * The size of the input group used by the select
826
+ */
827
+ "size": 'small' | 'medium';
828
+ /**
829
+ * The current value
830
+ */
831
+ "value": any;
832
+ /**
833
+ * The key of the object to return
834
+ */
835
+ "valueKey": string;
375
836
  }
376
- var HTMLPPaginationItemElement: {
377
- prototype: HTMLPPaginationItemElement;
378
- new (): HTMLPPaginationItemElement;
379
- };
380
- interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
837
+ interface PSliderIndicator {
838
+ /**
839
+ * Wether the slider indicator is active
840
+ */
841
+ "active": boolean;
381
842
  }
382
- var HTMLPSegmentContainerElement: {
383
- prototype: HTMLPSegmentContainerElement;
384
- new (): HTMLPSegmentContainerElement;
385
- };
386
- interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
843
+ interface PStatus {
844
+ /**
845
+ * Icon to show on the status
846
+ */
847
+ "icon": IconVariant;
848
+ /**
849
+ * Icon flip
850
+ */
851
+ "iconFlip": IconFlipOptions;
852
+ /**
853
+ * Icon rotate
854
+ */
855
+ "iconRotate": RotateOptions;
856
+ /**
857
+ * The variant of the status
858
+ */
859
+ "variant": 'default' | 'positive' | 'unbiased' | 'negative';
387
860
  }
388
- var HTMLPSegmentItemElement: {
389
- prototype: HTMLPSegmentItemElement;
861
+ interface PStepper {
862
+ /**
863
+ * The currently active step
864
+ */
865
+ "activeStep": number;
866
+ /**
867
+ * The direction of the stepper
868
+ */
869
+ "direction": 'horizontal' | 'vertical';
870
+ }
871
+ interface PStepperItem {
872
+ /**
873
+ * Wether the step is active
874
+ */
875
+ "active": boolean;
876
+ /**
877
+ * The alignment of the step content
878
+ */
879
+ "align": 'start' | 'center' | 'end';
880
+ /**
881
+ * The direction of the stepper step
882
+ */
883
+ "direction": 'horizontal' | 'vertical';
884
+ /**
885
+ * Wether the step is finished
886
+ */
887
+ "finished": boolean;
888
+ }
889
+ interface PStepperLine {
890
+ /**
891
+ * Wether the line is active
892
+ */
893
+ "active": boolean;
894
+ /**
895
+ * The direction of the stepper line
896
+ */
897
+ "direction": 'horizontal' | 'vertical';
898
+ }
899
+ interface PTabGroup {
900
+ }
901
+ interface PTabItem {
902
+ /**
903
+ * Wether the tab item is active
904
+ */
905
+ "active": boolean;
906
+ }
907
+ interface PTable {
908
+ /**
909
+ * Active quick filter identifier
910
+ */
911
+ "activeQuickFilterIdentifier": string;
912
+ /**
913
+ * The amount of loading rows to show
914
+ */
915
+ "amountOfLoadingRows": number;
916
+ /**
917
+ * A key to determine if a row can be selected
918
+ */
919
+ "canSelectKey": string;
920
+ /**
921
+ * The template for the edit button text
922
+ */
923
+ "editButtonTemplate": buttonTemplateFunc;
924
+ "emptyStateAction": templateFunc;
925
+ "emptyStateContent": templateFunc;
926
+ "emptyStateFilteredContent": templateFunc;
927
+ "emptyStateFilteredHeader": templateFunc;
928
+ "emptyStateHeader": templateFunc;
929
+ /**
930
+ * Wether to show the edit button
931
+ */
932
+ "enableEdit": boolean;
933
+ /**
934
+ * Wether to enable export
935
+ */
936
+ "enableExport": boolean;
937
+ /**
938
+ * Wether to show the filter button
939
+ */
940
+ "enableFilter": boolean;
941
+ /**
942
+ * Wether to enable page size select
943
+ */
944
+ "enablePageSize": boolean;
945
+ /**
946
+ * Wether to enable pagination
947
+ */
948
+ "enablePagination": boolean;
949
+ /**
950
+ * Wether to enable row clicking
951
+ */
952
+ "enableRowClick": boolean;
953
+ /**
954
+ * Wether to enable selection
955
+ */
956
+ "enableRowSelection": boolean;
957
+ /**
958
+ * Wether to show the search input
959
+ */
960
+ "enableSearch": boolean;
961
+ /**
962
+ * The template for the filter button text
963
+ */
964
+ "filterButtonTemplate": templateFunc;
965
+ /**
966
+ * Wether the footer should show loading state
967
+ */
968
+ "footerLoading": boolean;
969
+ /**
970
+ * Wether the header should show loading state
971
+ */
972
+ "headerLoading": boolean;
973
+ /**
974
+ * Wether to hide when there is only 1 page available
975
+ */
976
+ "hideOnSinglePage": boolean;
977
+ /**
978
+ * The items to be fed to the table
979
+ */
980
+ "items": string;
981
+ /**
982
+ * Wether data is loading
983
+ */
984
+ "loading": boolean;
985
+ /**
986
+ * The current page
987
+ */
988
+ "page": number;
989
+ /**
990
+ * The amount of items per page
991
+ */
992
+ "pageSize": number;
993
+ /**
994
+ * The options for the page size
995
+ */
996
+ "pageSizeOptions": number[];
997
+ /**
998
+ * The query to show in the search bar
999
+ */
1000
+ "query": string;
1001
+ /**
1002
+ * Quick filters to show
1003
+ */
1004
+ "quickFilters": QuickFilter[];
1005
+ /**
1006
+ * The amount of filters being selected
1007
+ */
1008
+ "selectedFiltersAmount": number;
1009
+ /**
1010
+ * The current selection of items
1011
+ */
1012
+ "selectedRows": any[];
1013
+ /**
1014
+ * The key to determine if a row is selected
1015
+ */
1016
+ "selectionKey": string;
1017
+ /**
1018
+ * The total amount of items
1019
+ */
1020
+ "total": number;
1021
+ }
1022
+ interface PTableCell {
1023
+ /**
1024
+ * The checkbox to show
1025
+ */
1026
+ "checkbox": any;
1027
+ /**
1028
+ * The definition of the table column
1029
+ */
1030
+ "definition"?: TableColumn;
1031
+ /**
1032
+ * The index of the column
1033
+ */
1034
+ "index": number;
1035
+ /**
1036
+ * The item in question
1037
+ */
1038
+ "item": any;
1039
+ /**
1040
+ * The index of the row
1041
+ */
1042
+ "rowIndex": number;
1043
+ /**
1044
+ * The template to show
1045
+ */
1046
+ "template": TableDefinitionTemplateFunc;
1047
+ /**
1048
+ * The value of the column
1049
+ */
1050
+ "value": any;
1051
+ /**
1052
+ * The variant of the column
1053
+ */
1054
+ "variant": 'default' | 'loading' | 'header';
1055
+ }
1056
+ interface PTableColumn {
1057
+ /**
1058
+ * The alignment of the column
1059
+ */
1060
+ "align": 'start' | 'center' | 'end';
1061
+ /**
1062
+ * The name of the column
1063
+ */
1064
+ "name": string;
1065
+ /**
1066
+ * The path of the value of the item you want to display
1067
+ */
1068
+ "path": string;
1069
+ /**
1070
+ * The sizes of the column
1071
+ */
1072
+ "sizes": 'auto' | number | TableColumnSizes;
1073
+ /**
1074
+ * The type of the column
1075
+ */
1076
+ "type": 'td' | 'th';
1077
+ /**
1078
+ * Wether the column should use the slot
1079
+ */
1080
+ "useSlot": boolean;
1081
+ }
1082
+ interface PTableContainer {
1083
+ }
1084
+ interface PTableFooter {
1085
+ /**
1086
+ * Wether to enable export
1087
+ */
1088
+ "enableExport": boolean;
1089
+ /**
1090
+ * Wether to enable page size select
1091
+ */
1092
+ "enablePageSize": boolean;
1093
+ /**
1094
+ * Wether to enable pagination
1095
+ */
1096
+ "enablePagination": boolean;
1097
+ /**
1098
+ * Wether to hide when there is only 1 page available
1099
+ */
1100
+ "hideOnSinglePage": boolean;
1101
+ /**
1102
+ * Wether we want to show loading state
1103
+ */
1104
+ "loading": boolean;
1105
+ /**
1106
+ * The current page
1107
+ */
1108
+ "page": number;
1109
+ /**
1110
+ * The amount of items per page
1111
+ */
1112
+ "pageSize": number;
1113
+ /**
1114
+ * The options for the page size
1115
+ */
1116
+ "pageSizeOptions": number[];
1117
+ /**
1118
+ * The total amount of items
1119
+ */
1120
+ "total": number;
1121
+ }
1122
+ interface PTableHeader {
1123
+ /**
1124
+ * Active quick filter identifier
1125
+ */
1126
+ "activeQuickFilterIdentifier": string;
1127
+ /**
1128
+ * Wether to enable the edit button
1129
+ */
1130
+ "canEdit": boolean;
1131
+ /**
1132
+ * The template for the edit button text
1133
+ */
1134
+ "editButtonTemplate": buttonTemplateFunc;
1135
+ /**
1136
+ * Wether to show the edit button
1137
+ */
1138
+ "enableEdit": boolean;
1139
+ /**
1140
+ * Wether to show the filter button
1141
+ */
1142
+ "enableFilter": boolean;
1143
+ /**
1144
+ * Wether to show the search input
1145
+ */
1146
+ "enableSearch": boolean;
1147
+ /**
1148
+ * The template for the filter button text
1149
+ */
1150
+ "filterButtonTemplate": templateFunc;
1151
+ /**
1152
+ * The amount of items that are selected
1153
+ */
1154
+ "itemsSelectedAmount": number;
1155
+ /**
1156
+ * Wether we want to show loading state
1157
+ */
1158
+ "loading": boolean;
1159
+ /**
1160
+ * The query to show in the search bar
1161
+ */
1162
+ "query": string;
1163
+ /**
1164
+ * Quick filters to show
1165
+ */
1166
+ "quickFilters": QuickFilter[];
1167
+ /**
1168
+ * The amount of filters being selected
1169
+ */
1170
+ "selectedFiltersAmount": number;
1171
+ }
1172
+ interface PTableRow {
1173
+ /**
1174
+ * Enable hover
1175
+ */
1176
+ "enableHover": boolean;
1177
+ /**
1178
+ * Variant of the header
1179
+ */
1180
+ "variant": 'default' | 'header';
1181
+ }
1182
+ interface PToast {
1183
+ /**
1184
+ * Icon to show on the button
1185
+ */
1186
+ "actionIcon": IconVariant;
1187
+ /**
1188
+ * Icon flip
1189
+ */
1190
+ "actionIconFlip": IconFlipOptions;
1191
+ /**
1192
+ * Icon rotate
1193
+ */
1194
+ "actionIconRotate": RotateOptions1;
1195
+ /**
1196
+ * The content of the toast
1197
+ */
1198
+ "content"?: string;
1199
+ /**
1200
+ * Wether to enable the close button
1201
+ */
1202
+ "enableAction": boolean;
1203
+ /**
1204
+ * The header of the toast
1205
+ */
1206
+ "header"?: string;
1207
+ /**
1208
+ * The variant of the toast
1209
+ */
1210
+ "variant": 'positive' | 'unbiased' | 'negative';
1211
+ }
1212
+ interface PToastContainer {
1213
+ /**
1214
+ * The placement of the container
1215
+ */
1216
+ "placement": 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
1217
+ }
1218
+ interface PTooltip {
1219
+ /**
1220
+ * Wether to someone can manually close the popover
1221
+ */
1222
+ "canManuallyClose": boolean;
1223
+ /**
1224
+ * The placement of the popover
1225
+ */
1226
+ "placement": Placement;
1227
+ /**
1228
+ * The content of the popover
1229
+ */
1230
+ "popover": any;
1231
+ /**
1232
+ * Wether to show the popover
1233
+ */
1234
+ "show": boolean;
1235
+ /**
1236
+ * The strategy of the popover placement
1237
+ */
1238
+ "strategy": PositioningStrategy;
1239
+ /**
1240
+ * The variant of the popover
1241
+ */
1242
+ "variant": 'hover' | 'click' | 'error';
1243
+ }
1244
+ }
1245
+ export interface PAccordionCustomEvent<T> extends CustomEvent<T> {
1246
+ detail: T;
1247
+ target: HTMLPAccordionElement;
1248
+ }
1249
+ export interface PBackdropCustomEvent<T> extends CustomEvent<T> {
1250
+ detail: T;
1251
+ target: HTMLPBackdropElement;
1252
+ }
1253
+ export interface PButtonCustomEvent<T> extends CustomEvent<T> {
1254
+ detail: T;
1255
+ target: HTMLPButtonElement;
1256
+ }
1257
+ export interface PCalendarCustomEvent<T> extends CustomEvent<T> {
1258
+ detail: T;
1259
+ target: HTMLPCalendarElement;
1260
+ }
1261
+ export interface PDatepickerCustomEvent<T> extends CustomEvent<T> {
1262
+ detail: T;
1263
+ target: HTMLPDatepickerElement;
1264
+ }
1265
+ export interface PDrawerCustomEvent<T> extends CustomEvent<T> {
1266
+ detail: T;
1267
+ target: HTMLPDrawerElement;
1268
+ }
1269
+ export interface PDrawerHeaderCustomEvent<T> extends CustomEvent<T> {
1270
+ detail: T;
1271
+ target: HTMLPDrawerHeaderElement;
1272
+ }
1273
+ export interface PDropdownCustomEvent<T> extends CustomEvent<T> {
1274
+ detail: T;
1275
+ target: HTMLPDropdownElement;
1276
+ }
1277
+ export interface PModalCustomEvent<T> extends CustomEvent<T> {
1278
+ detail: T;
1279
+ target: HTMLPModalElement;
1280
+ }
1281
+ export interface PModalHeaderCustomEvent<T> extends CustomEvent<T> {
1282
+ detail: T;
1283
+ target: HTMLPModalHeaderElement;
1284
+ }
1285
+ export interface PPageSizeSelectCustomEvent<T> extends CustomEvent<T> {
1286
+ detail: T;
1287
+ target: HTMLPPageSizeSelectElement;
1288
+ }
1289
+ export interface PPaginationCustomEvent<T> extends CustomEvent<T> {
1290
+ detail: T;
1291
+ target: HTMLPPaginationElement;
1292
+ }
1293
+ export interface PSelectCustomEvent<T> extends CustomEvent<T> {
1294
+ detail: T;
1295
+ target: HTMLPSelectElement;
1296
+ }
1297
+ export interface PTableCustomEvent<T> extends CustomEvent<T> {
1298
+ detail: T;
1299
+ target: HTMLPTableElement;
1300
+ }
1301
+ export interface PTableColumnCustomEvent<T> extends CustomEvent<T> {
1302
+ detail: T;
1303
+ target: HTMLPTableColumnElement;
1304
+ }
1305
+ export interface PTableFooterCustomEvent<T> extends CustomEvent<T> {
1306
+ detail: T;
1307
+ target: HTMLPTableFooterElement;
1308
+ }
1309
+ export interface PTableHeaderCustomEvent<T> extends CustomEvent<T> {
1310
+ detail: T;
1311
+ target: HTMLPTableHeaderElement;
1312
+ }
1313
+ export interface PToastCustomEvent<T> extends CustomEvent<T> {
1314
+ detail: T;
1315
+ target: HTMLPToastElement;
1316
+ }
1317
+ export interface PTooltipCustomEvent<T> extends CustomEvent<T> {
1318
+ detail: T;
1319
+ target: HTMLPTooltipElement;
1320
+ }
1321
+ declare global {
1322
+ interface HTMLPAccordionElement extends Components.PAccordion, HTMLStencilElement {
1323
+ }
1324
+ var HTMLPAccordionElement: {
1325
+ prototype: HTMLPAccordionElement;
1326
+ new (): HTMLPAccordionElement;
1327
+ };
1328
+ interface HTMLPAvatarElement extends Components.PAvatar, HTMLStencilElement {
1329
+ }
1330
+ var HTMLPAvatarElement: {
1331
+ prototype: HTMLPAvatarElement;
1332
+ new (): HTMLPAvatarElement;
1333
+ };
1334
+ interface HTMLPAvatarGroupElement extends Components.PAvatarGroup, HTMLStencilElement {
1335
+ }
1336
+ var HTMLPAvatarGroupElement: {
1337
+ prototype: HTMLPAvatarGroupElement;
1338
+ new (): HTMLPAvatarGroupElement;
1339
+ };
1340
+ interface HTMLPBackdropElement extends Components.PBackdrop, HTMLStencilElement {
1341
+ }
1342
+ var HTMLPBackdropElement: {
1343
+ prototype: HTMLPBackdropElement;
1344
+ new (): HTMLPBackdropElement;
1345
+ };
1346
+ interface HTMLPButtonElement extends Components.PButton, HTMLStencilElement {
1347
+ }
1348
+ var HTMLPButtonElement: {
1349
+ prototype: HTMLPButtonElement;
1350
+ new (): HTMLPButtonElement;
1351
+ };
1352
+ interface HTMLPCalendarElement extends Components.PCalendar, HTMLStencilElement {
1353
+ }
1354
+ var HTMLPCalendarElement: {
1355
+ prototype: HTMLPCalendarElement;
1356
+ new (): HTMLPCalendarElement;
1357
+ };
1358
+ interface HTMLPCardBodyElement extends Components.PCardBody, HTMLStencilElement {
1359
+ }
1360
+ var HTMLPCardBodyElement: {
1361
+ prototype: HTMLPCardBodyElement;
1362
+ new (): HTMLPCardBodyElement;
1363
+ };
1364
+ interface HTMLPCardContainerElement extends Components.PCardContainer, HTMLStencilElement {
1365
+ }
1366
+ var HTMLPCardContainerElement: {
1367
+ prototype: HTMLPCardContainerElement;
1368
+ new (): HTMLPCardContainerElement;
1369
+ };
1370
+ interface HTMLPCardHeaderElement extends Components.PCardHeader, HTMLStencilElement {
1371
+ }
1372
+ var HTMLPCardHeaderElement: {
1373
+ prototype: HTMLPCardHeaderElement;
1374
+ new (): HTMLPCardHeaderElement;
1375
+ };
1376
+ interface HTMLPContentSliderElement extends Components.PContentSlider, HTMLStencilElement {
1377
+ }
1378
+ var HTMLPContentSliderElement: {
1379
+ prototype: HTMLPContentSliderElement;
1380
+ new (): HTMLPContentSliderElement;
1381
+ };
1382
+ interface HTMLPCounterElement extends Components.PCounter, HTMLStencilElement {
1383
+ }
1384
+ var HTMLPCounterElement: {
1385
+ prototype: HTMLPCounterElement;
1386
+ new (): HTMLPCounterElement;
1387
+ };
1388
+ interface HTMLPDatepickerElement extends Components.PDatepicker, HTMLStencilElement {
1389
+ }
1390
+ var HTMLPDatepickerElement: {
1391
+ prototype: HTMLPDatepickerElement;
1392
+ new (): HTMLPDatepickerElement;
1393
+ };
1394
+ interface HTMLPDividerElement extends Components.PDivider, HTMLStencilElement {
1395
+ }
1396
+ var HTMLPDividerElement: {
1397
+ prototype: HTMLPDividerElement;
1398
+ new (): HTMLPDividerElement;
1399
+ };
1400
+ interface HTMLPDrawerElement extends Components.PDrawer, HTMLStencilElement {
1401
+ }
1402
+ var HTMLPDrawerElement: {
1403
+ prototype: HTMLPDrawerElement;
1404
+ new (): HTMLPDrawerElement;
1405
+ };
1406
+ interface HTMLPDrawerBodyElement extends Components.PDrawerBody, HTMLStencilElement {
1407
+ }
1408
+ var HTMLPDrawerBodyElement: {
1409
+ prototype: HTMLPDrawerBodyElement;
1410
+ new (): HTMLPDrawerBodyElement;
1411
+ };
1412
+ interface HTMLPDrawerContainerElement extends Components.PDrawerContainer, HTMLStencilElement {
1413
+ }
1414
+ var HTMLPDrawerContainerElement: {
1415
+ prototype: HTMLPDrawerContainerElement;
1416
+ new (): HTMLPDrawerContainerElement;
1417
+ };
1418
+ interface HTMLPDrawerHeaderElement extends Components.PDrawerHeader, HTMLStencilElement {
1419
+ }
1420
+ var HTMLPDrawerHeaderElement: {
1421
+ prototype: HTMLPDrawerHeaderElement;
1422
+ new (): HTMLPDrawerHeaderElement;
1423
+ };
1424
+ interface HTMLPDropdownElement extends Components.PDropdown, HTMLStencilElement {
1425
+ }
1426
+ var HTMLPDropdownElement: {
1427
+ prototype: HTMLPDropdownElement;
1428
+ new (): HTMLPDropdownElement;
1429
+ };
1430
+ interface HTMLPDropdownMenuContainerElement extends Components.PDropdownMenuContainer, HTMLStencilElement {
1431
+ }
1432
+ var HTMLPDropdownMenuContainerElement: {
1433
+ prototype: HTMLPDropdownMenuContainerElement;
1434
+ new (): HTMLPDropdownMenuContainerElement;
1435
+ };
1436
+ interface HTMLPDropdownMenuItemElement extends Components.PDropdownMenuItem, HTMLStencilElement {
1437
+ }
1438
+ var HTMLPDropdownMenuItemElement: {
1439
+ prototype: HTMLPDropdownMenuItemElement;
1440
+ new (): HTMLPDropdownMenuItemElement;
1441
+ };
1442
+ interface HTMLPHelperElement extends Components.PHelper, HTMLStencilElement {
1443
+ }
1444
+ var HTMLPHelperElement: {
1445
+ prototype: HTMLPHelperElement;
1446
+ new (): HTMLPHelperElement;
1447
+ };
1448
+ interface HTMLPIconElement extends Components.PIcon, HTMLStencilElement {
1449
+ }
1450
+ var HTMLPIconElement: {
1451
+ prototype: HTMLPIconElement;
1452
+ new (): HTMLPIconElement;
1453
+ };
1454
+ interface HTMLPIllustrationElement extends Components.PIllustration, HTMLStencilElement {
1455
+ }
1456
+ var HTMLPIllustrationElement: {
1457
+ prototype: HTMLPIllustrationElement;
1458
+ new (): HTMLPIllustrationElement;
1459
+ };
1460
+ interface HTMLPInfoPanelElement extends Components.PInfoPanel, HTMLStencilElement {
1461
+ }
1462
+ var HTMLPInfoPanelElement: {
1463
+ prototype: HTMLPInfoPanelElement;
1464
+ new (): HTMLPInfoPanelElement;
1465
+ };
1466
+ interface HTMLPInputGroupElement extends Components.PInputGroup, HTMLStencilElement {
1467
+ }
1468
+ var HTMLPInputGroupElement: {
1469
+ prototype: HTMLPInputGroupElement;
1470
+ new (): HTMLPInputGroupElement;
1471
+ };
1472
+ interface HTMLPLabelElement extends Components.PLabel, HTMLStencilElement {
1473
+ }
1474
+ var HTMLPLabelElement: {
1475
+ prototype: HTMLPLabelElement;
1476
+ new (): HTMLPLabelElement;
1477
+ };
1478
+ interface HTMLPLayoutElement extends Components.PLayout, HTMLStencilElement {
1479
+ }
1480
+ var HTMLPLayoutElement: {
1481
+ prototype: HTMLPLayoutElement;
1482
+ new (): HTMLPLayoutElement;
1483
+ };
1484
+ interface HTMLPLoaderElement extends Components.PLoader, HTMLStencilElement {
1485
+ }
1486
+ var HTMLPLoaderElement: {
1487
+ prototype: HTMLPLoaderElement;
1488
+ new (): HTMLPLoaderElement;
1489
+ };
1490
+ interface HTMLPModalElement extends Components.PModal, HTMLStencilElement {
1491
+ }
1492
+ var HTMLPModalElement: {
1493
+ prototype: HTMLPModalElement;
1494
+ new (): HTMLPModalElement;
1495
+ };
1496
+ interface HTMLPModalBodyElement extends Components.PModalBody, HTMLStencilElement {
1497
+ }
1498
+ var HTMLPModalBodyElement: {
1499
+ prototype: HTMLPModalBodyElement;
1500
+ new (): HTMLPModalBodyElement;
1501
+ };
1502
+ interface HTMLPModalContainerElement extends Components.PModalContainer, HTMLStencilElement {
1503
+ }
1504
+ var HTMLPModalContainerElement: {
1505
+ prototype: HTMLPModalContainerElement;
1506
+ new (): HTMLPModalContainerElement;
1507
+ };
1508
+ interface HTMLPModalFooterElement extends Components.PModalFooter, HTMLStencilElement {
1509
+ }
1510
+ var HTMLPModalFooterElement: {
1511
+ prototype: HTMLPModalFooterElement;
1512
+ new (): HTMLPModalFooterElement;
1513
+ };
1514
+ interface HTMLPModalHeaderElement extends Components.PModalHeader, HTMLStencilElement {
1515
+ }
1516
+ var HTMLPModalHeaderElement: {
1517
+ prototype: HTMLPModalHeaderElement;
1518
+ new (): HTMLPModalHeaderElement;
1519
+ };
1520
+ interface HTMLPNavbarElement extends Components.PNavbar, HTMLStencilElement {
1521
+ }
1522
+ var HTMLPNavbarElement: {
1523
+ prototype: HTMLPNavbarElement;
1524
+ new (): HTMLPNavbarElement;
1525
+ };
1526
+ interface HTMLPNavigationItemElement extends Components.PNavigationItem, HTMLStencilElement {
1527
+ }
1528
+ var HTMLPNavigationItemElement: {
1529
+ prototype: HTMLPNavigationItemElement;
1530
+ new (): HTMLPNavigationItemElement;
1531
+ };
1532
+ interface HTMLPPageSizeSelectElement extends Components.PPageSizeSelect, HTMLStencilElement {
1533
+ }
1534
+ var HTMLPPageSizeSelectElement: {
1535
+ prototype: HTMLPPageSizeSelectElement;
1536
+ new (): HTMLPPageSizeSelectElement;
1537
+ };
1538
+ interface HTMLPPaginationElement extends Components.PPagination, HTMLStencilElement {
1539
+ }
1540
+ var HTMLPPaginationElement: {
1541
+ prototype: HTMLPPaginationElement;
1542
+ new (): HTMLPPaginationElement;
1543
+ };
1544
+ interface HTMLPPaginationItemElement extends Components.PPaginationItem, HTMLStencilElement {
1545
+ }
1546
+ var HTMLPPaginationItemElement: {
1547
+ prototype: HTMLPPaginationItemElement;
1548
+ new (): HTMLPPaginationItemElement;
1549
+ };
1550
+ interface HTMLPProfileElement extends Components.PProfile, HTMLStencilElement {
1551
+ }
1552
+ var HTMLPProfileElement: {
1553
+ prototype: HTMLPProfileElement;
1554
+ new (): HTMLPProfileElement;
1555
+ };
1556
+ interface HTMLPSegmentContainerElement extends Components.PSegmentContainer, HTMLStencilElement {
1557
+ }
1558
+ var HTMLPSegmentContainerElement: {
1559
+ prototype: HTMLPSegmentContainerElement;
1560
+ new (): HTMLPSegmentContainerElement;
1561
+ };
1562
+ interface HTMLPSegmentItemElement extends Components.PSegmentItem, HTMLStencilElement {
1563
+ }
1564
+ var HTMLPSegmentItemElement: {
1565
+ prototype: HTMLPSegmentItemElement;
390
1566
  new (): HTMLPSegmentItemElement;
391
1567
  };
1568
+ interface HTMLPSelectElement extends Components.PSelect, HTMLStencilElement {
1569
+ }
1570
+ var HTMLPSelectElement: {
1571
+ prototype: HTMLPSelectElement;
1572
+ new (): HTMLPSelectElement;
1573
+ };
1574
+ interface HTMLPSliderIndicatorElement extends Components.PSliderIndicator, HTMLStencilElement {
1575
+ }
1576
+ var HTMLPSliderIndicatorElement: {
1577
+ prototype: HTMLPSliderIndicatorElement;
1578
+ new (): HTMLPSliderIndicatorElement;
1579
+ };
392
1580
  interface HTMLPStatusElement extends Components.PStatus, HTMLStencilElement {
393
1581
  }
394
- var HTMLPStatusElement: {
395
- prototype: HTMLPStatusElement;
396
- new (): HTMLPStatusElement;
397
- };
398
- interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
1582
+ var HTMLPStatusElement: {
1583
+ prototype: HTMLPStatusElement;
1584
+ new (): HTMLPStatusElement;
1585
+ };
1586
+ interface HTMLPStepperElement extends Components.PStepper, HTMLStencilElement {
1587
+ }
1588
+ var HTMLPStepperElement: {
1589
+ prototype: HTMLPStepperElement;
1590
+ new (): HTMLPStepperElement;
1591
+ };
1592
+ interface HTMLPStepperItemElement extends Components.PStepperItem, HTMLStencilElement {
1593
+ }
1594
+ var HTMLPStepperItemElement: {
1595
+ prototype: HTMLPStepperItemElement;
1596
+ new (): HTMLPStepperItemElement;
1597
+ };
1598
+ interface HTMLPStepperLineElement extends Components.PStepperLine, HTMLStencilElement {
1599
+ }
1600
+ var HTMLPStepperLineElement: {
1601
+ prototype: HTMLPStepperLineElement;
1602
+ new (): HTMLPStepperLineElement;
1603
+ };
1604
+ interface HTMLPTabGroupElement extends Components.PTabGroup, HTMLStencilElement {
1605
+ }
1606
+ var HTMLPTabGroupElement: {
1607
+ prototype: HTMLPTabGroupElement;
1608
+ new (): HTMLPTabGroupElement;
1609
+ };
1610
+ interface HTMLPTabItemElement extends Components.PTabItem, HTMLStencilElement {
1611
+ }
1612
+ var HTMLPTabItemElement: {
1613
+ prototype: HTMLPTabItemElement;
1614
+ new (): HTMLPTabItemElement;
1615
+ };
1616
+ interface HTMLPTableElement extends Components.PTable, HTMLStencilElement {
1617
+ }
1618
+ var HTMLPTableElement: {
1619
+ prototype: HTMLPTableElement;
1620
+ new (): HTMLPTableElement;
1621
+ };
1622
+ interface HTMLPTableCellElement extends Components.PTableCell, HTMLStencilElement {
1623
+ }
1624
+ var HTMLPTableCellElement: {
1625
+ prototype: HTMLPTableCellElement;
1626
+ new (): HTMLPTableCellElement;
1627
+ };
1628
+ interface HTMLPTableColumnElement extends Components.PTableColumn, HTMLStencilElement {
1629
+ }
1630
+ var HTMLPTableColumnElement: {
1631
+ prototype: HTMLPTableColumnElement;
1632
+ new (): HTMLPTableColumnElement;
1633
+ };
1634
+ interface HTMLPTableContainerElement extends Components.PTableContainer, HTMLStencilElement {
1635
+ }
1636
+ var HTMLPTableContainerElement: {
1637
+ prototype: HTMLPTableContainerElement;
1638
+ new (): HTMLPTableContainerElement;
1639
+ };
1640
+ interface HTMLPTableFooterElement extends Components.PTableFooter, HTMLStencilElement {
1641
+ }
1642
+ var HTMLPTableFooterElement: {
1643
+ prototype: HTMLPTableFooterElement;
1644
+ new (): HTMLPTableFooterElement;
1645
+ };
1646
+ interface HTMLPTableHeaderElement extends Components.PTableHeader, HTMLStencilElement {
1647
+ }
1648
+ var HTMLPTableHeaderElement: {
1649
+ prototype: HTMLPTableHeaderElement;
1650
+ new (): HTMLPTableHeaderElement;
1651
+ };
1652
+ interface HTMLPTableRowElement extends Components.PTableRow, HTMLStencilElement {
1653
+ }
1654
+ var HTMLPTableRowElement: {
1655
+ prototype: HTMLPTableRowElement;
1656
+ new (): HTMLPTableRowElement;
1657
+ };
1658
+ interface HTMLPToastElement extends Components.PToast, HTMLStencilElement {
1659
+ }
1660
+ var HTMLPToastElement: {
1661
+ prototype: HTMLPToastElement;
1662
+ new (): HTMLPToastElement;
1663
+ };
1664
+ interface HTMLPToastContainerElement extends Components.PToastContainer, HTMLStencilElement {
1665
+ }
1666
+ var HTMLPToastContainerElement: {
1667
+ prototype: HTMLPToastContainerElement;
1668
+ new (): HTMLPToastContainerElement;
1669
+ };
1670
+ interface HTMLPTooltipElement extends Components.PTooltip, HTMLStencilElement {
1671
+ }
1672
+ var HTMLPTooltipElement: {
1673
+ prototype: HTMLPTooltipElement;
1674
+ new (): HTMLPTooltipElement;
1675
+ };
1676
+ interface HTMLElementTagNameMap {
1677
+ "p-accordion": HTMLPAccordionElement;
1678
+ "p-avatar": HTMLPAvatarElement;
1679
+ "p-avatar-group": HTMLPAvatarGroupElement;
1680
+ "p-backdrop": HTMLPBackdropElement;
1681
+ "p-button": HTMLPButtonElement;
1682
+ "p-calendar": HTMLPCalendarElement;
1683
+ "p-card-body": HTMLPCardBodyElement;
1684
+ "p-card-container": HTMLPCardContainerElement;
1685
+ "p-card-header": HTMLPCardHeaderElement;
1686
+ "p-content-slider": HTMLPContentSliderElement;
1687
+ "p-counter": HTMLPCounterElement;
1688
+ "p-datepicker": HTMLPDatepickerElement;
1689
+ "p-divider": HTMLPDividerElement;
1690
+ "p-drawer": HTMLPDrawerElement;
1691
+ "p-drawer-body": HTMLPDrawerBodyElement;
1692
+ "p-drawer-container": HTMLPDrawerContainerElement;
1693
+ "p-drawer-header": HTMLPDrawerHeaderElement;
1694
+ "p-dropdown": HTMLPDropdownElement;
1695
+ "p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
1696
+ "p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
1697
+ "p-helper": HTMLPHelperElement;
1698
+ "p-icon": HTMLPIconElement;
1699
+ "p-illustration": HTMLPIllustrationElement;
1700
+ "p-info-panel": HTMLPInfoPanelElement;
1701
+ "p-input-group": HTMLPInputGroupElement;
1702
+ "p-label": HTMLPLabelElement;
1703
+ "p-layout": HTMLPLayoutElement;
1704
+ "p-loader": HTMLPLoaderElement;
1705
+ "p-modal": HTMLPModalElement;
1706
+ "p-modal-body": HTMLPModalBodyElement;
1707
+ "p-modal-container": HTMLPModalContainerElement;
1708
+ "p-modal-footer": HTMLPModalFooterElement;
1709
+ "p-modal-header": HTMLPModalHeaderElement;
1710
+ "p-navbar": HTMLPNavbarElement;
1711
+ "p-navigation-item": HTMLPNavigationItemElement;
1712
+ "p-page-size-select": HTMLPPageSizeSelectElement;
1713
+ "p-pagination": HTMLPPaginationElement;
1714
+ "p-pagination-item": HTMLPPaginationItemElement;
1715
+ "p-profile": HTMLPProfileElement;
1716
+ "p-segment-container": HTMLPSegmentContainerElement;
1717
+ "p-segment-item": HTMLPSegmentItemElement;
1718
+ "p-select": HTMLPSelectElement;
1719
+ "p-slider-indicator": HTMLPSliderIndicatorElement;
1720
+ "p-status": HTMLPStatusElement;
1721
+ "p-stepper": HTMLPStepperElement;
1722
+ "p-stepper-item": HTMLPStepperItemElement;
1723
+ "p-stepper-line": HTMLPStepperLineElement;
1724
+ "p-tab-group": HTMLPTabGroupElement;
1725
+ "p-tab-item": HTMLPTabItemElement;
1726
+ "p-table": HTMLPTableElement;
1727
+ "p-table-cell": HTMLPTableCellElement;
1728
+ "p-table-column": HTMLPTableColumnElement;
1729
+ "p-table-container": HTMLPTableContainerElement;
1730
+ "p-table-footer": HTMLPTableFooterElement;
1731
+ "p-table-header": HTMLPTableHeaderElement;
1732
+ "p-table-row": HTMLPTableRowElement;
1733
+ "p-toast": HTMLPToastElement;
1734
+ "p-toast-container": HTMLPToastContainerElement;
1735
+ "p-tooltip": HTMLPTooltipElement;
1736
+ }
1737
+ }
1738
+ declare namespace LocalJSX {
1739
+ interface PAccordion {
1740
+ /**
1741
+ * Wether the accordion can be closed
1742
+ */
1743
+ "closeable"?: boolean;
1744
+ /**
1745
+ * Header of the accordion
1746
+ */
1747
+ "header": string;
1748
+ /**
1749
+ * Open change event
1750
+ */
1751
+ "onIsOpen"?: (event: PAccordionCustomEvent<boolean>) => void;
1752
+ /**
1753
+ * Wether the accordion is open
1754
+ */
1755
+ "open"?: boolean;
1756
+ /**
1757
+ * Wether the accordion can be opened
1758
+ */
1759
+ "openable"?: boolean;
1760
+ }
1761
+ interface PAvatar {
1762
+ /**
1763
+ * The default image to show on errors
1764
+ */
1765
+ "defaultImage"?: string;
1766
+ /**
1767
+ * The size of the avatar
1768
+ */
1769
+ "size"?: 'small' | 'medium' | 'large' | 'xlarge';
1770
+ /**
1771
+ * The image used for the avatar
1772
+ */
1773
+ "src": string;
1774
+ /**
1775
+ * The variant of the avatar
1776
+ */
1777
+ "variant"?: 'user' | 'company';
1778
+ }
1779
+ interface PAvatarGroup {
1780
+ /**
1781
+ * The amount to show after the avatars
1782
+ */
1783
+ "extra"?: number;
1784
+ }
1785
+ interface PBackdrop {
1786
+ /**
1787
+ * Wether to apply blur on the background of the backdrop
1788
+ */
1789
+ "applyBlur"?: boolean;
1790
+ /**
1791
+ * Wether the backdrop is closing
1792
+ */
1793
+ "closing"?: boolean;
1794
+ /**
1795
+ * When the backdrop is clicked
1796
+ */
1797
+ "onClicked"?: (event: PBackdropCustomEvent<MouseEvent>) => void;
1798
+ /**
1799
+ * Wether we should scroll lock the body
1800
+ */
1801
+ "scrollLock"?: boolean;
1802
+ /**
1803
+ * The variant of the backdrop
1804
+ */
1805
+ "variant"?: 'modal' | 'drawer';
1806
+ }
1807
+ interface PButton {
1808
+ /**
1809
+ * Wether to show a chevron or not
1810
+ */
1811
+ "chevron"?: boolean | 'up' | 'down';
1812
+ /**
1813
+ * Chevron position
1814
+ */
1815
+ "chevronPosition"?: 'start' | 'end';
1816
+ /**
1817
+ * Wether the button is disabled
1818
+ */
1819
+ "disabled"?: boolean;
1820
+ /**
1821
+ * Href in case of "text" version
1822
+ */
1823
+ "href"?: string;
1824
+ /**
1825
+ * Icon to show on the button
1826
+ */
1827
+ "icon"?: IconVariant;
1828
+ /**
1829
+ * Icon flip
1830
+ */
1831
+ "iconFlip"?: IconFlipOptions;
1832
+ /**
1833
+ * Wether the button is icon only
1834
+ */
1835
+ "iconOnly"?: boolean;
1836
+ /**
1837
+ * Icon position
1838
+ */
1839
+ "iconPosition"?: 'start' | 'end';
1840
+ /**
1841
+ * Icon rotate
1842
+ */
1843
+ "iconRotate"?: RotateOptions;
1844
+ /**
1845
+ * Wether the button should inherit text styles
1846
+ */
1847
+ "inheritText"?: boolean;
1848
+ /**
1849
+ * Wether to show a loader or not
1850
+ */
1851
+ "loading"?: boolean;
1852
+ /**
1853
+ * Button click event
1854
+ */
1855
+ "onOnClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
1856
+ /**
1857
+ * The size of the button
1858
+ */
1859
+ "size"?: 'small' | 'medium';
1860
+ /**
1861
+ * Target in case of "text" version
1862
+ */
1863
+ "target"?: string;
1864
+ /**
1865
+ * The variant of the button
1866
+ */
1867
+ "variant"?: 'primary' | 'secondary' | 'text';
1868
+ }
1869
+ interface PCalendar {
1870
+ /**
1871
+ * Wether to disable the weekends
1872
+ */
1873
+ "disableWeekends"?: boolean;
1874
+ /**
1875
+ * Disabled dates
1876
+ */
1877
+ "disabledDates"?: Array<Date | 'string'> | string;
1878
+ /**
1879
+ * Max date
1880
+ */
1881
+ "maxDate"?: Date | 'string';
1882
+ /**
1883
+ * Min date
1884
+ */
1885
+ "minDate"?: Date | 'string';
1886
+ /**
1887
+ * The mode of the datepicker
1888
+ */
1889
+ "mode"?: 'year' | 'month' | 'day';
1890
+ /**
1891
+ * Event when the value changes
1892
+ */
1893
+ "onValueChange"?: (event: PCalendarCustomEvent<any>) => void;
1894
+ /**
1895
+ * Wether to automatically preselect today
1896
+ */
1897
+ "preselectToday"?: boolean;
1898
+ /**
1899
+ * The current value
1900
+ */
1901
+ "value"?: Date | 'string';
1902
+ /**
1903
+ * The variant of the button
1904
+ */
1905
+ "variant"?: 'default' | 'embedded';
1906
+ }
1907
+ interface PCardBody {
1908
+ /**
1909
+ * Wether the button should inherit text styles
1910
+ */
1911
+ "inheritText"?: boolean;
1912
+ }
1913
+ interface PCardContainer {
1914
+ /**
1915
+ * Wether the card should be hoverable
1916
+ */
1917
+ "hoverable"?: boolean;
1918
+ /**
1919
+ * Wether the card should have shadow
1920
+ */
1921
+ "shadow"?: boolean;
1922
+ }
1923
+ interface PCardHeader {
1924
+ /**
1925
+ * Enable the title arrow
1926
+ */
1927
+ "arrow"?: boolean;
1928
+ /**
1929
+ * Content of the card header
1930
+ */
1931
+ "header"?: string;
1932
+ }
1933
+ interface PContentSlider {
1934
+ /**
1935
+ * Wether to disable auto centering the content
1936
+ */
1937
+ "disableAutoCenter"?: boolean;
1938
+ /**
1939
+ * Wether to disable dragging the content
1940
+ */
1941
+ "disableDrag"?: boolean;
1942
+ /**
1943
+ * Wether to disable clicking the indicator scrolls content
1944
+ */
1945
+ "disableIndicatorClick"?: boolean;
1946
+ /**
1947
+ * Wether to hide the indicator on mobile
1948
+ */
1949
+ "hideMobileIndicator"?: boolean;
1950
+ }
1951
+ interface PCounter {
1952
+ /**
1953
+ * The size of the counter
1954
+ */
1955
+ "size"?: 'default' | 'mini';
1956
+ /**
1957
+ * The variant of the counter
1958
+ */
1959
+ "variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
1960
+ }
1961
+ interface PDatepicker {
1962
+ /**
1963
+ * Wether to disable the weekends
1964
+ */
1965
+ "disableWeekends"?: boolean;
1966
+ /**
1967
+ * Wether the input group is disabled used by the datepicker
1968
+ */
1969
+ "disabled"?: boolean;
1970
+ /**
1971
+ * Disabled dates
1972
+ */
1973
+ "disabledDates"?: Array<Date | 'string'> | string;
1974
+ /**
1975
+ * The helper of the input group used by the datepicker
1976
+ */
1977
+ "error"?: string;
1978
+ /**
1979
+ * The display & parse format to use
1980
+ */
1981
+ "format"?: string;
1982
+ /**
1983
+ * The helper of the input group used by the datepicker
1984
+ */
1985
+ "helper"?: string;
1986
+ /**
1987
+ * The label of the input group used by the datepicker
1988
+ */
1989
+ "label"?: string;
1990
+ /**
1991
+ * Max date
1992
+ */
1993
+ "maxDate"?: Date | 'string';
1994
+ /**
1995
+ * Min date
1996
+ */
1997
+ "minDate"?: Date | 'string';
1998
+ /**
1999
+ * The mode of the datepicker
2000
+ */
2001
+ "mode"?: 'year' | 'month' | 'day';
2002
+ /**
2003
+ * Event when the value changes
2004
+ */
2005
+ "onValueChange"?: (event: PDatepickerCustomEvent<any>) => void;
2006
+ /**
2007
+ * The placeholder of the input
2008
+ */
2009
+ "placeholder"?: string;
2010
+ /**
2011
+ * The prefix of the input group used by the datepicker
2012
+ */
2013
+ "prefix"?: string;
2014
+ /**
2015
+ * Wethter to automatically preselect today
2016
+ */
2017
+ "preselectToday"?: boolean;
2018
+ /**
2019
+ * The size of the input group used by the datepicker
2020
+ */
2021
+ "size"?: 'small' | 'medium';
2022
+ /**
2023
+ * The current value
2024
+ */
2025
+ "value"?: any;
2026
+ }
2027
+ interface PDivider {
2028
+ }
2029
+ interface PDrawer {
2030
+ /**
2031
+ * Wether to apply blur to the backdrop
2032
+ */
2033
+ "applyBlur"?: boolean;
2034
+ /**
2035
+ * Wether to hide the drawer when the backdrop is clicked
2036
+ */
2037
+ "backdropClickClose"?: boolean;
2038
+ /**
2039
+ * Wether the drawer can be closed
2040
+ */
2041
+ "canClose"?: boolean;
2042
+ /**
2043
+ * The Header of the drawer
2044
+ */
2045
+ "header"?: string;
2046
+ /**
2047
+ * Close click event
2048
+ */
2049
+ "onCloseClicked"?: (event: PDrawerCustomEvent<{
2050
+ event: MouseEvent;
2051
+ canClose: boolean;
2052
+ }>) => void;
2053
+ /**
2054
+ * Closed event
2055
+ */
2056
+ "onClosed"?: (event: PDrawerCustomEvent<null>) => void;
2057
+ /**
2058
+ * Wether we should scroll lock the body
2059
+ */
2060
+ "scrollLock"?: boolean;
2061
+ /**
2062
+ * Wether to show the drawer or not
2063
+ */
2064
+ "show"?: boolean;
2065
+ /**
2066
+ * Wether to show the close on mobile in the header
2067
+ */
2068
+ "showClose"?: boolean;
2069
+ }
2070
+ interface PDrawerBody {
2071
+ /**
2072
+ * The variant of the modal body
2073
+ */
2074
+ "variant"?: 'default' | 'table';
2075
+ }
2076
+ interface PDrawerContainer {
2077
+ /**
2078
+ * Wether the container is closing
2079
+ */
2080
+ "closing"?: boolean;
2081
+ }
2082
+ interface PDrawerHeader {
2083
+ /**
2084
+ * Close click event
2085
+ */
2086
+ "onClose"?: (event: PDrawerHeaderCustomEvent<MouseEvent>) => void;
2087
+ /**
2088
+ * Wether to show the close button on mobile
2089
+ */
2090
+ "showClose"?: boolean;
2091
+ }
2092
+ interface PDropdown {
2093
+ /**
2094
+ * Wether to apply the full width
2095
+ */
2096
+ "applyFullWidth"?: boolean;
2097
+ /**
2098
+ * Wether to apply the max width
2099
+ */
2100
+ "applyMaxWidth"?: boolean;
2101
+ /**
2102
+ * Wether to automatically calculate the width of the menu based on the trigger
2103
+ */
2104
+ "calculateWidth"?: boolean;
2105
+ /**
2106
+ * Chevron direction
2107
+ */
2108
+ "chevronDirection"?: 'up' | 'down';
2109
+ /**
2110
+ * Chevron position
2111
+ */
2112
+ "chevronPosition"?: 'start' | 'end';
2113
+ /**
2114
+ * Wether to automatically close the dropdown menu after clicking inside
2115
+ */
2116
+ "disableTriggerClick"?: boolean;
2117
+ /**
2118
+ * Wether to automatically close the dropdown menu after clicking inside
2119
+ */
2120
+ "insideClick"?: boolean;
2121
+ /**
2122
+ * Open change event
2123
+ */
2124
+ "onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
2125
+ /**
2126
+ * The content of the dropdown menu
2127
+ */
2128
+ "placement"?: Placement;
2129
+ /**
2130
+ * Wether to show the dropdown menu
2131
+ */
2132
+ "show"?: boolean;
2133
+ /**
2134
+ * The strategy of the popover placement
2135
+ */
2136
+ "strategy"?: PositioningStrategy;
2137
+ }
2138
+ interface PDropdownMenuContainer {
2139
+ /**
2140
+ * Wether the container should all available space
2141
+ */
2142
+ "fullWidth"?: boolean;
2143
+ /**
2144
+ * Wether the container applies it's max width
2145
+ */
2146
+ "maxWidth"?: boolean;
2147
+ }
2148
+ interface PDropdownMenuItem {
2149
+ /**
2150
+ * Wether the dropdown menu item is active
2151
+ */
2152
+ "active"?: boolean;
2153
+ /**
2154
+ * Wether to enable the hover state
2155
+ */
2156
+ "enableHover"?: boolean;
2157
+ /**
2158
+ * Icon of the navigation item
2159
+ */
2160
+ "icon"?: IconVariant;
2161
+ }
2162
+ interface PHelper {
2163
+ /**
2164
+ * The placement of the helper popover
2165
+ */
2166
+ "placement"?: Placement;
2167
+ }
2168
+ interface PIcon {
2169
+ /**
2170
+ * Wether to flip the icon horizontally or vertically
2171
+ */
2172
+ "flip"?: IconFlipOptions;
2173
+ /**
2174
+ * Wether to rotate the icon x degrees
2175
+ */
2176
+ "rotate"?: RotateOptions;
2177
+ /**
2178
+ * The size of the icon, using tailwind sizes
2179
+ */
2180
+ "size"?: TextSizeOptions;
2181
+ /**
2182
+ * The icon the be displayed
2183
+ */
2184
+ "variant": IconVariant;
2185
+ }
2186
+ interface PIllustration {
2187
+ /**
2188
+ * The icon the be displayed
2189
+ */
2190
+ "variant": IllustrationVariant;
2191
+ }
2192
+ interface PInfoPanel {
2193
+ /**
2194
+ * Wether the panel can be closed
2195
+ */
2196
+ "closeable"?: boolean;
2197
+ /**
2198
+ * The content of the info panel
2199
+ */
2200
+ "content"?: string;
2201
+ /**
2202
+ * The header of the info panel
2203
+ */
2204
+ "header"?: string;
2205
+ /**
2206
+ * The variant of the info panel
2207
+ */
2208
+ "variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
2209
+ }
2210
+ interface PInputGroup {
2211
+ /**
2212
+ * Wether the input group is disabled
2213
+ */
2214
+ "disabled"?: boolean;
2215
+ /**
2216
+ * The helper of the input group
2217
+ */
2218
+ "error"?: string;
2219
+ /**
2220
+ * Wether the input group is focused
2221
+ */
2222
+ "focused"?: boolean;
2223
+ /**
2224
+ * The helper of the input group
2225
+ */
2226
+ "helper"?: string;
2227
+ /**
2228
+ * Icon of the navigation item
2229
+ */
2230
+ "icon"?: IconVariant;
2231
+ /**
2232
+ * Icon flip
2233
+ */
2234
+ "iconFlip"?: IconFlipOptions;
2235
+ /**
2236
+ * Icon position
2237
+ */
2238
+ "iconPosition"?: 'start' | 'end';
2239
+ /**
2240
+ * Icon rotate
2241
+ */
2242
+ "iconRotate"?: RotateOptions;
2243
+ /**
2244
+ * The label of the input group
2245
+ */
2246
+ "label"?: string;
2247
+ /**
2248
+ * The prefix of the input group
2249
+ */
2250
+ "prefix"?: string;
2251
+ /**
2252
+ * Wether the field is required
2253
+ */
2254
+ "required"?: boolean;
2255
+ /**
2256
+ * The size of the input group
2257
+ */
2258
+ "size"?: 'small' | 'medium';
2259
+ /**
2260
+ * The suffix of the input group
2261
+ */
2262
+ "suffix"?: string;
2263
+ }
2264
+ interface PLabel {
2265
+ /**
2266
+ * Define the behavior of the label
2267
+ */
2268
+ "behavior"?: | 'icon'
2269
+ | 'circle'
2270
+ | 'combination'
2271
+ | 'text'
2272
+ | 'icon-only';
2273
+ /**
2274
+ * Icon to show on the label
2275
+ */
2276
+ "icon"?: IconVariant;
2277
+ /**
2278
+ * Icon flip
2279
+ */
2280
+ "iconFlip"?: IconFlipOptions;
2281
+ /**
2282
+ * Icon rotate
2283
+ */
2284
+ "iconRotate"?: RotateOptions1;
2285
+ /**
2286
+ * Wether to keep the content on mobile
2287
+ */
2288
+ "keepMobileContent"?: boolean;
2289
+ /**
2290
+ * The size of the label
2291
+ */
2292
+ "size"?: 'small' | 'default';
2293
+ /**
2294
+ * Variant of the label
2295
+ */
2296
+ "variant"?: | 'positive'
2297
+ | 'unbiased'
2298
+ | 'negative'
2299
+ | 'info';
2300
+ }
2301
+ interface PLayout {
2302
+ /**
2303
+ * Variant of the layout
2304
+ */
2305
+ "variant"?: 'default' | 'login';
399
2306
  }
400
- var HTMLPTooltipElement: {
401
- prototype: HTMLPTooltipElement;
402
- new (): HTMLPTooltipElement;
403
- };
404
- interface HTMLElementTagNameMap {
405
- "p-avatar": HTMLPAvatarElement;
406
- "p-button": HTMLPButtonElement;
407
- "p-counter": HTMLPCounterElement;
408
- "p-divider": HTMLPDividerElement;
409
- "p-dropdown": HTMLPDropdownElement;
410
- "p-dropdown-menu-container": HTMLPDropdownMenuContainerElement;
411
- "p-dropdown-menu-item": HTMLPDropdownMenuItemElement;
412
- "p-helper": HTMLPHelperElement;
413
- "p-icon": HTMLPIconElement;
414
- "p-illustration": HTMLPIllustrationElement;
415
- "p-info-panel": HTMLPInfoPanelElement;
416
- "p-loader": HTMLPLoaderElement;
417
- "p-navigation-item": HTMLPNavigationItemElement;
418
- "p-pagination": HTMLPPaginationElement;
419
- "p-pagination-item": HTMLPPaginationItemElement;
420
- "p-segment-container": HTMLPSegmentContainerElement;
421
- "p-segment-item": HTMLPSegmentItemElement;
422
- "p-status": HTMLPStatusElement;
423
- "p-tooltip": HTMLPTooltipElement;
2307
+ interface PLoader {
2308
+ /**
2309
+ * Color of the loader
2310
+ */
2311
+ "color"?: 'indigo' | 'white' | 'storm';
2312
+ /**
2313
+ * !NOT IMPLEMENTED! Modal description for modal variant
2314
+ */
2315
+ "modalDescription"?: string;
2316
+ /**
2317
+ * !NOT IMPLEMENTED! Modal title for modal variant
2318
+ */
2319
+ "modalTitle"?: string;
2320
+ /**
2321
+ * Wether to show or hide the loader
2322
+ */
2323
+ "show"?: boolean | Observable<boolean>;
2324
+ /**
2325
+ * Variant of loader
2326
+ */
2327
+ "variant"?: | 'inline'
2328
+ | 'full-width'
2329
+ | 'full-screen'
2330
+ | 'modal'
2331
+ | 'ghost';
2332
+ }
2333
+ interface PModal {
2334
+ /**
2335
+ * Wether to apply blur to the backdrop
2336
+ */
2337
+ "applyBlur"?: boolean;
2338
+ /**
2339
+ * Wether to hide the modal when the backdrop is clicked
2340
+ */
2341
+ "backdropClickClose"?: boolean;
2342
+ /**
2343
+ * The Header of the modal
2344
+ */
2345
+ "header"?: string;
2346
+ /**
2347
+ * Close click event
2348
+ */
2349
+ "onCloseClicked"?: (event: PModalCustomEvent<MouseEvent>) => void;
2350
+ /**
2351
+ * Closed event
2352
+ */
2353
+ "onClosed"?: (event: PModalCustomEvent<null>) => void;
2354
+ /**
2355
+ * Wether we should scroll lock the body
2356
+ */
2357
+ "scrollLock"?: boolean;
2358
+ /**
2359
+ * Wether to show the modal or not
2360
+ */
2361
+ "show"?: boolean;
2362
+ /**
2363
+ * Wether to show the close button in the header
2364
+ */
2365
+ "showClose"?: boolean;
2366
+ /**
2367
+ * Wether to show the footer on mobile
2368
+ */
2369
+ "showMobileFooter"?: boolean;
2370
+ /**
2371
+ * The size of the modal container
2372
+ */
2373
+ "size"?: 'sm' | 'md' | 'lg' | 'xl';
2374
+ /**
2375
+ * The variant of the modal body
2376
+ */
2377
+ "variant"?: 'default' | 'table';
2378
+ }
2379
+ interface PModalBody {
2380
+ /**
2381
+ * Wether the modal body should be rounded at the bottom
2382
+ */
2383
+ "rounded"?: boolean;
2384
+ /**
2385
+ * The variant of the modal body
2386
+ */
2387
+ "variant"?: 'default' | 'table';
2388
+ }
2389
+ interface PModalContainer {
2390
+ /**
2391
+ * Wether the container is closing
2392
+ */
2393
+ "closing"?: boolean;
2394
+ /**
2395
+ * The size of the modal container
2396
+ */
2397
+ "size"?: 'sm' | 'md' | 'lg' | 'xl';
2398
+ }
2399
+ interface PModalFooter {
2400
+ }
2401
+ interface PModalHeader {
2402
+ /**
2403
+ * Close click event
2404
+ */
2405
+ "onClose"?: (event: PModalHeaderCustomEvent<MouseEvent>) => void;
2406
+ /**
2407
+ * Wether to show the close button on mobile
2408
+ */
2409
+ "showClose"?: boolean;
2410
+ }
2411
+ interface PNavbar {
2412
+ /**
2413
+ * The text to display for the close button
2414
+ */
2415
+ "closeText"?: string;
2416
+ /**
2417
+ * The text to display for the menu button & sidebar title
2418
+ */
2419
+ "menuText"?: string;
2420
+ }
2421
+ interface PNavigationItem {
2422
+ /**
2423
+ * Wether the navigation item is active
2424
+ */
2425
+ "active"?: boolean;
2426
+ /**
2427
+ * Icon of the navigation item
2428
+ */
2429
+ "counter"?: number | string;
2430
+ /**
2431
+ * The href of the navigation item
2432
+ */
2433
+ "href"?: string;
2434
+ /**
2435
+ * Icon of the navigation item
2436
+ */
2437
+ "icon"?: IconVariant;
2438
+ /**
2439
+ * The target of the navigation item
2440
+ */
2441
+ "target"?: string;
2442
+ }
2443
+ interface PPageSizeSelect {
2444
+ /**
2445
+ * The size of the button
2446
+ */
2447
+ "buttonSize"?: 'small' | 'medium';
2448
+ /**
2449
+ * The template for the data view
2450
+ */
2451
+ "buttonTemplate"?: templateFunc;
2452
+ /**
2453
+ * Chevron position
2454
+ */
2455
+ "chevronPosition"?: 'start' | 'end';
2456
+ /**
2457
+ * Wether to hide when there is only 1 page available
2458
+ */
2459
+ "hidden"?: boolean;
2460
+ /**
2461
+ * The template for the data view
2462
+ */
2463
+ "itemTemplate"?: templateFunc;
2464
+ /**
2465
+ * Event whenever the size changes
2466
+ */
2467
+ "onSizeChange"?: (event: PPageSizeSelectCustomEvent<number>) => void;
2468
+ /**
2469
+ * The current page
2470
+ */
2471
+ "size"?: number;
2472
+ /**
2473
+ * The available sizes
2474
+ */
2475
+ "sizeOptions"?: number[];
2476
+ }
2477
+ interface PPagination {
2478
+ /**
2479
+ * Wether to hide when there is only 1 page available
2480
+ */
2481
+ "hideOnSinglePage"?: boolean;
2482
+ /**
2483
+ * Event whenever the page changes
2484
+ */
2485
+ "onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
2486
+ /**
2487
+ * The current page
2488
+ */
2489
+ "page"?: number;
2490
+ /**
2491
+ * The amount of items per page
2492
+ */
2493
+ "pageSize"?: number;
2494
+ /**
2495
+ * The total amount of items
2496
+ */
2497
+ "total": number;
2498
+ }
2499
+ interface PPaginationItem {
2500
+ /**
2501
+ * Wether the pagination item is active
2502
+ */
2503
+ "active"?: boolean;
2504
+ }
2505
+ interface PProfile {
2506
+ /**
2507
+ * The size of the profile avatar
2508
+ */
2509
+ "size"?: 'small' | 'medium' | 'large';
2510
+ /**
2511
+ * The variant of the profile
2512
+ */
2513
+ "variant"?: 'company' | 'user';
2514
+ }
2515
+ interface PSegmentContainer {
2516
+ }
2517
+ interface PSegmentItem {
2518
+ /**
2519
+ * Wether the segment item is active
2520
+ */
2521
+ "active"?: boolean;
2522
+ /**
2523
+ * Icon to show on the segment item
2524
+ */
2525
+ "icon"?: IconVariant;
2526
+ /**
2527
+ * Icon flip
2528
+ */
2529
+ "iconFlip"?: IconFlipOptions;
2530
+ /**
2531
+ * Icon rotate
2532
+ */
2533
+ "iconRotate"?: RotateOptions;
2534
+ }
2535
+ interface PSelect {
2536
+ /**
2537
+ * Wether the input uses async filtering
2538
+ */
2539
+ "asyncFilter"?: boolean;
2540
+ /**
2541
+ * Wether to automatically select the first item
2542
+ */
2543
+ "autoSelectFirst"?: boolean;
2544
+ /**
2545
+ * The placeholder of the input when auto completing
2546
+ */
2547
+ "autocompletePlaceholder"?: string;
2548
+ /**
2549
+ * Wether the input group is disabled used by the select
2550
+ */
2551
+ "disabled"?: boolean;
2552
+ /**
2553
+ * The key of the object to display
2554
+ */
2555
+ "displayKey"?: string;
2556
+ /**
2557
+ * Wether to enable autocomplete
2558
+ */
2559
+ "enableAutocomplete"?: boolean;
2560
+ /**
2561
+ * The helper of the input group used by the select
2562
+ */
2563
+ "error"?: string;
2564
+ /**
2565
+ * The helper of the input group used by the select
2566
+ */
2567
+ "helper"?: string;
2568
+ /**
2569
+ * The items to show in the dropdown
2570
+ */
2571
+ "items"?: string | any[];
2572
+ /**
2573
+ * The label of the input group used by the select
2574
+ */
2575
+ "label"?: string;
2576
+ /**
2577
+ * Wether to show loading items
2578
+ */
2579
+ "loading"?: boolean;
2580
+ /**
2581
+ * The maximum amount of items to display
2582
+ */
2583
+ "maxDisplayedItems"?: number;
2584
+ /**
2585
+ * Event when the query of the autocomplete changes
2586
+ */
2587
+ "onQueryChange"?: (event: PSelectCustomEvent<string>) => void;
2588
+ /**
2589
+ * Event when the value changes
2590
+ */
2591
+ "onValueChange"?: (event: PSelectCustomEvent<any>) => void;
2592
+ /**
2593
+ * The placeholder of the input
2594
+ */
2595
+ "placeholder"?: string;
2596
+ /**
2597
+ * The prefix of the input group used by the select
2598
+ */
2599
+ "prefix"?: string;
2600
+ /**
2601
+ * The current query
2602
+ */
2603
+ "query"?: string;
2604
+ /**
2605
+ * The key of the object to display
2606
+ */
2607
+ "queryKey"?: string;
2608
+ /**
2609
+ * The size of the input group used by the select
2610
+ */
2611
+ "size"?: 'small' | 'medium';
2612
+ /**
2613
+ * The current value
2614
+ */
2615
+ "value"?: any;
2616
+ /**
2617
+ * The key of the object to return
2618
+ */
2619
+ "valueKey"?: string;
2620
+ }
2621
+ interface PSliderIndicator {
2622
+ /**
2623
+ * Wether the slider indicator is active
2624
+ */
2625
+ "active"?: boolean;
2626
+ }
2627
+ interface PStatus {
2628
+ /**
2629
+ * Icon to show on the status
2630
+ */
2631
+ "icon"?: IconVariant;
2632
+ /**
2633
+ * Icon flip
2634
+ */
2635
+ "iconFlip"?: IconFlipOptions;
2636
+ /**
2637
+ * Icon rotate
2638
+ */
2639
+ "iconRotate"?: RotateOptions;
2640
+ /**
2641
+ * The variant of the status
2642
+ */
2643
+ "variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
424
2644
  }
425
- }
426
- declare namespace LocalJSX {
427
- interface PAvatar {
2645
+ interface PStepper {
428
2646
  /**
429
- * The default image to show on errors
2647
+ * The currently active step
430
2648
  */
431
- "defaultImage"?: string;
2649
+ "activeStep"?: number;
432
2650
  /**
433
- * The size of the avatar
2651
+ * The direction of the stepper
434
2652
  */
435
- "size"?: 'small' | 'medium' | 'large';
2653
+ "direction"?: 'horizontal' | 'vertical';
2654
+ }
2655
+ interface PStepperItem {
436
2656
  /**
437
- * The image used for the avatar
2657
+ * Wether the step is active
438
2658
  */
439
- "src": string;
2659
+ "active"?: boolean;
440
2660
  /**
441
- * The variant of the avatar
2661
+ * The alignment of the step content
442
2662
  */
443
- "variant"?: 'user' | 'company';
2663
+ "align"?: 'start' | 'center' | 'end';
2664
+ /**
2665
+ * The direction of the stepper step
2666
+ */
2667
+ "direction"?: 'horizontal' | 'vertical';
2668
+ /**
2669
+ * Wether the step is finished
2670
+ */
2671
+ "finished"?: boolean;
444
2672
  }
445
- interface PButton {
2673
+ interface PStepperLine {
446
2674
  /**
447
- * Wether to show a chevron or not
2675
+ * Wether the line is active
448
2676
  */
449
- "chevron"?: boolean | 'up' | 'down';
2677
+ "active"?: boolean;
450
2678
  /**
451
- * Wether the button is disabled
2679
+ * The direction of the stepper line
452
2680
  */
453
- "disabled"?: boolean;
2681
+ "direction"?: 'horizontal' | 'vertical';
2682
+ }
2683
+ interface PTabGroup {
2684
+ }
2685
+ interface PTabItem {
454
2686
  /**
455
- * Href in case of "text" version
2687
+ * Wether the tab item is active
456
2688
  */
457
- "href"?: string;
2689
+ "active"?: boolean;
2690
+ }
2691
+ interface PTable {
458
2692
  /**
459
- * Icon to show on the button
2693
+ * Active quick filter identifier
460
2694
  */
461
- "icon"?: IconVariant;
2695
+ "activeQuickFilterIdentifier"?: string;
462
2696
  /**
463
- * Icon flip
2697
+ * The amount of loading rows to show
464
2698
  */
465
- "iconFlip"?: IconFlipOptions;
2699
+ "amountOfLoadingRows"?: number;
466
2700
  /**
467
- * Icon position
2701
+ * A key to determine if a row can be selected
468
2702
  */
469
- "iconPosition"?: 'start' | 'end';
2703
+ "canSelectKey"?: string;
470
2704
  /**
471
- * Icon rotate
2705
+ * The template for the edit button text
472
2706
  */
473
- "iconRotate"?: number;
2707
+ "editButtonTemplate"?: buttonTemplateFunc;
2708
+ "emptyStateAction"?: templateFunc;
2709
+ "emptyStateContent"?: templateFunc;
2710
+ "emptyStateFilteredContent"?: templateFunc;
2711
+ "emptyStateFilteredHeader"?: templateFunc;
2712
+ "emptyStateHeader"?: templateFunc;
474
2713
  /**
475
- * Wether to show a loader or not
2714
+ * Wether to show the edit button
2715
+ */
2716
+ "enableEdit"?: boolean;
2717
+ /**
2718
+ * Wether to enable export
2719
+ */
2720
+ "enableExport"?: boolean;
2721
+ /**
2722
+ * Wether to show the filter button
2723
+ */
2724
+ "enableFilter"?: boolean;
2725
+ /**
2726
+ * Wether to enable page size select
2727
+ */
2728
+ "enablePageSize"?: boolean;
2729
+ /**
2730
+ * Wether to enable pagination
2731
+ */
2732
+ "enablePagination"?: boolean;
2733
+ /**
2734
+ * Wether to enable row clicking
2735
+ */
2736
+ "enableRowClick"?: boolean;
2737
+ /**
2738
+ * Wether to enable selection
2739
+ */
2740
+ "enableRowSelection"?: boolean;
2741
+ /**
2742
+ * Wether to show the search input
2743
+ */
2744
+ "enableSearch"?: boolean;
2745
+ /**
2746
+ * The template for the filter button text
2747
+ */
2748
+ "filterButtonTemplate"?: templateFunc;
2749
+ /**
2750
+ * Wether the footer should show loading state
2751
+ */
2752
+ "footerLoading"?: boolean;
2753
+ /**
2754
+ * Wether the header should show loading state
2755
+ */
2756
+ "headerLoading"?: boolean;
2757
+ /**
2758
+ * Wether to hide when there is only 1 page available
2759
+ */
2760
+ "hideOnSinglePage"?: boolean;
2761
+ /**
2762
+ * The items to be fed to the table
2763
+ */
2764
+ "items"?: string;
2765
+ /**
2766
+ * Wether data is loading
476
2767
  */
477
2768
  "loading"?: boolean;
478
2769
  /**
479
- * Button click event
2770
+ * Event when the edit button is clicked
480
2771
  */
481
- "onOnClick"?: (event: PButtonCustomEvent<MouseEvent>) => void;
2772
+ "onEdit"?: (event: PTableCustomEvent<null>) => void;
482
2773
  /**
483
- * The size of the button
2774
+ * Event whenever the empty state is clicked
484
2775
  */
485
- "size"?: 'small' | 'medium';
2776
+ "onEmptyStateActionClick"?: (event: PTableCustomEvent<null>) => void;
486
2777
  /**
487
- * Target in case of "text" version
2778
+ * Event whenever the page changes
488
2779
  */
489
- "target"?: string;
2780
+ "onExport"?: (event: PTableCustomEvent<number>) => void;
490
2781
  /**
491
- * The variant of the button
2782
+ * Event when the filter button is clicked
492
2783
  */
493
- "variant"?: 'primary' | 'secondary' | 'text';
494
- }
495
- interface PCounter {
496
- }
497
- interface PDivider {
498
- }
499
- interface PDropdown {
2784
+ "onFilter"?: (event: PTableCustomEvent<null>) => void;
500
2785
  /**
501
- * Wether to automatically close the dropdown menu after clicking inside
2786
+ * Event when the table has rendered
502
2787
  */
503
- "disableTriggerClick"?: boolean;
2788
+ "onHasRendered"?: (event: PTableCustomEvent<number>) => void;
504
2789
  /**
505
- * Wether to automatically close the dropdown menu after clicking inside
2790
+ * Event whenever the page changes
506
2791
  */
507
- "insideClick"?: boolean;
2792
+ "onPageChange"?: (event: PTableCustomEvent<number>) => void;
508
2793
  /**
509
- * Open change event
2794
+ * Event whenever the page changes
510
2795
  */
511
- "onIsOpen"?: (event: PDropdownCustomEvent<boolean>) => void;
2796
+ "onPageSizeChange"?: (event: PTableCustomEvent<number>) => void;
512
2797
  /**
513
- * The content of the dropdown menu
2798
+ * Event when the query changes
514
2799
  */
515
- "placement"?: 'bottom' | 'top';
2800
+ "onQueryChange"?: (event: PTableCustomEvent<string>) => void;
516
2801
  /**
517
- * Wether to show the dropdown menu
2802
+ * Event when one of the quick filters is clicked
518
2803
  */
519
- "show"?: boolean;
520
- }
521
- interface PDropdownMenuContainer {
522
- }
523
- interface PDropdownMenuItem {
2804
+ "onQuickFilter"?: (event: PTableCustomEvent<QuickFilter>) => void;
524
2805
  /**
525
- * Wether the dropdown menu item is active
2806
+ * Event whenever a row is clicked
526
2807
  */
527
- "active"?: boolean;
528
- }
529
- interface PHelper {
530
- }
531
- interface PIcon {
2808
+ "onRowClick"?: (event: PTableCustomEvent<RowClickEvent>) => void;
532
2809
  /**
533
- * Wether to flip the icon horizontally or vertically
2810
+ * Event whenever a row is deselected
534
2811
  */
535
- "flip"?: IconFlipOptions;
2812
+ "onRowDeselected"?: (event: PTableCustomEvent<any>) => void;
536
2813
  /**
537
- * Wether to rotate the icon x degrees
2814
+ * Event whenever a row is selected
538
2815
  */
539
- "rotate"?: number;
2816
+ "onRowSelected"?: (event: PTableCustomEvent<any>) => void;
540
2817
  /**
541
- * The size of the icon, using tailwind sizes
2818
+ * Event whenever the current selection changes
542
2819
  */
543
- "size"?: string;
2820
+ "onSelectedRowsChange"?: (event: PTableCustomEvent<any>) => void;
544
2821
  /**
545
- * The icon the be displayed
2822
+ * The current page
546
2823
  */
547
- "variant": IconVariant;
548
- }
549
- interface PIllustration {
2824
+ "page"?: number;
550
2825
  /**
551
- * The icon the be displayed
2826
+ * The amount of items per page
552
2827
  */
553
- "variant": IllustrationVariant;
554
- }
555
- interface PInfoPanel {
2828
+ "pageSize"?: number;
556
2829
  /**
557
- * Wether the panel can be closed
2830
+ * The options for the page size
558
2831
  */
559
- "closeable"?: boolean;
2832
+ "pageSizeOptions"?: number[];
560
2833
  /**
561
- * The content of the info panel
2834
+ * The query to show in the search bar
562
2835
  */
563
- "content"?: string;
2836
+ "query"?: string;
564
2837
  /**
565
- * The header of the info panel
2838
+ * Quick filters to show
566
2839
  */
567
- "header"?: string;
2840
+ "quickFilters"?: QuickFilter[];
568
2841
  /**
569
- * The variant of the info panel
2842
+ * The amount of filters being selected
570
2843
  */
571
- "variant"?: 'info' | 'negative' | 'positive' | 'unbiased';
2844
+ "selectedFiltersAmount"?: number;
2845
+ /**
2846
+ * The current selection of items
2847
+ */
2848
+ "selectedRows"?: any[];
2849
+ /**
2850
+ * The key to determine if a row is selected
2851
+ */
2852
+ "selectionKey"?: string;
2853
+ /**
2854
+ * The total amount of items
2855
+ */
2856
+ "total": number;
572
2857
  }
573
- interface PLoader {
2858
+ interface PTableCell {
574
2859
  /**
575
- * Color of the loader
2860
+ * The checkbox to show
576
2861
  */
577
- "color"?: 'indigo' | 'white' | 'storm';
2862
+ "checkbox"?: any;
578
2863
  /**
579
- * !NOT IMPLEMENTED! Modal description for modal variant
2864
+ * The definition of the table column
580
2865
  */
581
- "modalDescription"?: string;
2866
+ "definition"?: TableColumn;
582
2867
  /**
583
- * !NOT IMPLEMENTED! Modal title for modal variant
2868
+ * The index of the column
584
2869
  */
585
- "modalTitle"?: string;
2870
+ "index"?: number;
586
2871
  /**
587
- * Wether to show or hide the loader
2872
+ * The item in question
588
2873
  */
589
- "show"?: boolean | Observable<boolean>;
2874
+ "item"?: any;
590
2875
  /**
591
- * Variant of loader
2876
+ * The index of the row
592
2877
  */
593
- "variant"?: 'inline' | 'full-width' | 'full-screen' | 'modal';
2878
+ "rowIndex"?: number;
2879
+ /**
2880
+ * The template to show
2881
+ */
2882
+ "template"?: TableDefinitionTemplateFunc;
2883
+ /**
2884
+ * The value of the column
2885
+ */
2886
+ "value"?: any;
2887
+ /**
2888
+ * The variant of the column
2889
+ */
2890
+ "variant"?: 'default' | 'loading' | 'header';
594
2891
  }
595
- interface PNavigationItem {
2892
+ interface PTableColumn {
596
2893
  /**
597
- * Wether the navigation item is active
2894
+ * The alignment of the column
598
2895
  */
599
- "active"?: boolean;
2896
+ "align"?: 'start' | 'center' | 'end';
600
2897
  /**
601
- * Icon of the navigation item
2898
+ * The name of the column
602
2899
  */
603
- "counter"?: number | string;
2900
+ "name"?: string;
604
2901
  /**
605
- * The href of the navigation item
2902
+ * Event to let the table know it has to re render
606
2903
  */
607
- "href"?: string;
2904
+ "onTableDefinitionChanged"?: (event: PTableColumnCustomEvent<boolean>) => void;
608
2905
  /**
609
- * Icon of the navigation item
2906
+ * The path of the value of the item you want to display
610
2907
  */
611
- "icon"?: IconVariant;
2908
+ "path"?: string;
612
2909
  /**
613
- * The target of the navigation item
2910
+ * The sizes of the column
614
2911
  */
615
- "target"?: string;
2912
+ "sizes"?: 'auto' | number | TableColumnSizes;
2913
+ /**
2914
+ * The type of the column
2915
+ */
2916
+ "type"?: 'td' | 'th';
2917
+ /**
2918
+ * Wether the column should use the slot
2919
+ */
2920
+ "useSlot"?: boolean;
616
2921
  }
617
- interface PPagination {
618
- "onPageChange"?: (event: PPaginationCustomEvent<number>) => void;
2922
+ interface PTableContainer {
2923
+ }
2924
+ interface PTableFooter {
2925
+ /**
2926
+ * Wether to enable export
2927
+ */
2928
+ "enableExport"?: boolean;
2929
+ /**
2930
+ * Wether to enable page size select
2931
+ */
2932
+ "enablePageSize"?: boolean;
2933
+ /**
2934
+ * Wether to enable pagination
2935
+ */
2936
+ "enablePagination"?: boolean;
2937
+ /**
2938
+ * Wether to hide when there is only 1 page available
2939
+ */
2940
+ "hideOnSinglePage"?: boolean;
2941
+ /**
2942
+ * Wether we want to show loading state
2943
+ */
2944
+ "loading"?: boolean;
2945
+ /**
2946
+ * Event whenever the page changes
2947
+ */
2948
+ "onExport"?: (event: PTableFooterCustomEvent<number>) => void;
2949
+ /**
2950
+ * Event whenever the page changes
2951
+ */
2952
+ "onPageChange"?: (event: PTableFooterCustomEvent<number>) => void;
2953
+ /**
2954
+ * Event whenever the page changes
2955
+ */
2956
+ "onPageSizeChange"?: (event: PTableFooterCustomEvent<number>) => void;
619
2957
  /**
620
2958
  * The current page
621
2959
  */
@@ -624,54 +2962,130 @@ declare namespace LocalJSX {
624
2962
  * The amount of items per page
625
2963
  */
626
2964
  "pageSize"?: number;
2965
+ /**
2966
+ * The options for the page size
2967
+ */
2968
+ "pageSizeOptions"?: number[];
627
2969
  /**
628
2970
  * The total amount of items
629
2971
  */
630
2972
  "total": number;
631
2973
  }
632
- interface PPaginationItem {
2974
+ interface PTableHeader {
633
2975
  /**
634
- * Wether the pagination item is active
2976
+ * Active quick filter identifier
635
2977
  */
636
- "active"?: boolean;
637
- }
638
- interface PSegmentContainer {
639
- }
640
- interface PSegmentItem {
2978
+ "activeQuickFilterIdentifier"?: string;
641
2979
  /**
642
- * Wether the segment item is active
2980
+ * Wether to enable the edit button
643
2981
  */
644
- "active"?: boolean;
2982
+ "canEdit"?: boolean;
645
2983
  /**
646
- * Icon to show on the segment item
2984
+ * The template for the edit button text
647
2985
  */
648
- "icon"?: IconVariant;
2986
+ "editButtonTemplate"?: buttonTemplateFunc;
649
2987
  /**
650
- * Icon flip
2988
+ * Wether to show the edit button
651
2989
  */
652
- "iconFlip"?: IconFlipOptions;
2990
+ "enableEdit"?: boolean;
653
2991
  /**
654
- * Icon rotate
2992
+ * Wether to show the filter button
2993
+ */
2994
+ "enableFilter"?: boolean;
2995
+ /**
2996
+ * Wether to show the search input
2997
+ */
2998
+ "enableSearch"?: boolean;
2999
+ /**
3000
+ * The template for the filter button text
3001
+ */
3002
+ "filterButtonTemplate"?: templateFunc;
3003
+ /**
3004
+ * The amount of items that are selected
3005
+ */
3006
+ "itemsSelectedAmount"?: number;
3007
+ /**
3008
+ * Wether we want to show loading state
3009
+ */
3010
+ "loading"?: boolean;
3011
+ /**
3012
+ * Event when the edit button is clicked
3013
+ */
3014
+ "onEdit"?: (event: PTableHeaderCustomEvent<null>) => void;
3015
+ /**
3016
+ * Event when the filter button is clicked
3017
+ */
3018
+ "onFilter"?: (event: PTableHeaderCustomEvent<null>) => void;
3019
+ /**
3020
+ * Event when the query changes
3021
+ */
3022
+ "onQueryChange"?: (event: PTableHeaderCustomEvent<string>) => void;
3023
+ /**
3024
+ * Event when one of the quick filters is clicked
3025
+ */
3026
+ "onQuickFilter"?: (event: PTableHeaderCustomEvent<QuickFilter>) => void;
3027
+ /**
3028
+ * The query to show in the search bar
3029
+ */
3030
+ "query"?: string;
3031
+ /**
3032
+ * Quick filters to show
3033
+ */
3034
+ "quickFilters"?: QuickFilter[];
3035
+ /**
3036
+ * The amount of filters being selected
655
3037
  */
656
- "iconRotate"?: number;
3038
+ "selectedFiltersAmount"?: number;
657
3039
  }
658
- interface PStatus {
3040
+ interface PTableRow {
659
3041
  /**
660
- * Icon to show on the status
3042
+ * Enable hover
661
3043
  */
662
- "icon"?: IconVariant;
3044
+ "enableHover"?: boolean;
3045
+ /**
3046
+ * Variant of the header
3047
+ */
3048
+ "variant"?: 'default' | 'header';
3049
+ }
3050
+ interface PToast {
3051
+ /**
3052
+ * Icon to show on the button
3053
+ */
3054
+ "actionIcon"?: IconVariant;
663
3055
  /**
664
3056
  * Icon flip
665
3057
  */
666
- "iconFlip"?: IconFlipOptions;
3058
+ "actionIconFlip"?: IconFlipOptions;
667
3059
  /**
668
3060
  * Icon rotate
669
3061
  */
670
- "iconRotate"?: number;
3062
+ "actionIconRotate"?: RotateOptions1;
671
3063
  /**
672
- * The variant of the status
3064
+ * The content of the toast
673
3065
  */
674
- "variant"?: 'default' | 'positive' | 'unbiased' | 'negative';
3066
+ "content"?: string;
3067
+ /**
3068
+ * Wether to enable the close button
3069
+ */
3070
+ "enableAction"?: boolean;
3071
+ /**
3072
+ * The header of the toast
3073
+ */
3074
+ "header"?: string;
3075
+ /**
3076
+ * Button click event
3077
+ */
3078
+ "onAction"?: (event: PToastCustomEvent<MouseEvent>) => void;
3079
+ /**
3080
+ * The variant of the toast
3081
+ */
3082
+ "variant"?: 'positive' | 'unbiased' | 'negative';
3083
+ }
3084
+ interface PToastContainer {
3085
+ /**
3086
+ * The placement of the container
3087
+ */
3088
+ "placement"?: 'top-start' | 'top-end' | 'bottom-start' | 'bottom-end';
675
3089
  }
676
3090
  interface PTooltip {
677
3091
  /**
@@ -679,7 +3093,11 @@ declare namespace LocalJSX {
679
3093
  */
680
3094
  "canManuallyClose"?: boolean;
681
3095
  /**
682
- * The content of the popover
3096
+ * Open change event
3097
+ */
3098
+ "onIsOpen"?: (event: PTooltipCustomEvent<boolean>) => void;
3099
+ /**
3100
+ * The placement of the popover
683
3101
  */
684
3102
  "placement"?: Placement;
685
3103
  /**
@@ -690,16 +3108,33 @@ declare namespace LocalJSX {
690
3108
  * Wether to show the popover
691
3109
  */
692
3110
  "show"?: boolean;
3111
+ /**
3112
+ * The strategy of the popover placement
3113
+ */
3114
+ "strategy"?: PositioningStrategy;
693
3115
  /**
694
3116
  * The variant of the popover
695
3117
  */
696
3118
  "variant"?: 'hover' | 'click' | 'error';
697
3119
  }
698
3120
  interface IntrinsicElements {
3121
+ "p-accordion": PAccordion;
699
3122
  "p-avatar": PAvatar;
3123
+ "p-avatar-group": PAvatarGroup;
3124
+ "p-backdrop": PBackdrop;
700
3125
  "p-button": PButton;
3126
+ "p-calendar": PCalendar;
3127
+ "p-card-body": PCardBody;
3128
+ "p-card-container": PCardContainer;
3129
+ "p-card-header": PCardHeader;
3130
+ "p-content-slider": PContentSlider;
701
3131
  "p-counter": PCounter;
3132
+ "p-datepicker": PDatepicker;
702
3133
  "p-divider": PDivider;
3134
+ "p-drawer": PDrawer;
3135
+ "p-drawer-body": PDrawerBody;
3136
+ "p-drawer-container": PDrawerContainer;
3137
+ "p-drawer-header": PDrawerHeader;
703
3138
  "p-dropdown": PDropdown;
704
3139
  "p-dropdown-menu-container": PDropdownMenuContainer;
705
3140
  "p-dropdown-menu-item": PDropdownMenuItem;
@@ -707,13 +3142,40 @@ declare namespace LocalJSX {
707
3142
  "p-icon": PIcon;
708
3143
  "p-illustration": PIllustration;
709
3144
  "p-info-panel": PInfoPanel;
3145
+ "p-input-group": PInputGroup;
3146
+ "p-label": PLabel;
3147
+ "p-layout": PLayout;
710
3148
  "p-loader": PLoader;
3149
+ "p-modal": PModal;
3150
+ "p-modal-body": PModalBody;
3151
+ "p-modal-container": PModalContainer;
3152
+ "p-modal-footer": PModalFooter;
3153
+ "p-modal-header": PModalHeader;
3154
+ "p-navbar": PNavbar;
711
3155
  "p-navigation-item": PNavigationItem;
3156
+ "p-page-size-select": PPageSizeSelect;
712
3157
  "p-pagination": PPagination;
713
3158
  "p-pagination-item": PPaginationItem;
3159
+ "p-profile": PProfile;
714
3160
  "p-segment-container": PSegmentContainer;
715
3161
  "p-segment-item": PSegmentItem;
3162
+ "p-select": PSelect;
3163
+ "p-slider-indicator": PSliderIndicator;
716
3164
  "p-status": PStatus;
3165
+ "p-stepper": PStepper;
3166
+ "p-stepper-item": PStepperItem;
3167
+ "p-stepper-line": PStepperLine;
3168
+ "p-tab-group": PTabGroup;
3169
+ "p-tab-item": PTabItem;
3170
+ "p-table": PTable;
3171
+ "p-table-cell": PTableCell;
3172
+ "p-table-column": PTableColumn;
3173
+ "p-table-container": PTableContainer;
3174
+ "p-table-footer": PTableFooter;
3175
+ "p-table-header": PTableHeader;
3176
+ "p-table-row": PTableRow;
3177
+ "p-toast": PToast;
3178
+ "p-toast-container": PToastContainer;
717
3179
  "p-tooltip": PTooltip;
718
3180
  }
719
3181
  }
@@ -721,10 +3183,23 @@ export { LocalJSX as JSX };
721
3183
  declare module "@stencil/core" {
722
3184
  export namespace JSX {
723
3185
  interface IntrinsicElements {
3186
+ "p-accordion": LocalJSX.PAccordion & JSXBase.HTMLAttributes<HTMLPAccordionElement>;
724
3187
  "p-avatar": LocalJSX.PAvatar & JSXBase.HTMLAttributes<HTMLPAvatarElement>;
3188
+ "p-avatar-group": LocalJSX.PAvatarGroup & JSXBase.HTMLAttributes<HTMLPAvatarGroupElement>;
3189
+ "p-backdrop": LocalJSX.PBackdrop & JSXBase.HTMLAttributes<HTMLPBackdropElement>;
725
3190
  "p-button": LocalJSX.PButton & JSXBase.HTMLAttributes<HTMLPButtonElement>;
3191
+ "p-calendar": LocalJSX.PCalendar & JSXBase.HTMLAttributes<HTMLPCalendarElement>;
3192
+ "p-card-body": LocalJSX.PCardBody & JSXBase.HTMLAttributes<HTMLPCardBodyElement>;
3193
+ "p-card-container": LocalJSX.PCardContainer & JSXBase.HTMLAttributes<HTMLPCardContainerElement>;
3194
+ "p-card-header": LocalJSX.PCardHeader & JSXBase.HTMLAttributes<HTMLPCardHeaderElement>;
3195
+ "p-content-slider": LocalJSX.PContentSlider & JSXBase.HTMLAttributes<HTMLPContentSliderElement>;
726
3196
  "p-counter": LocalJSX.PCounter & JSXBase.HTMLAttributes<HTMLPCounterElement>;
3197
+ "p-datepicker": LocalJSX.PDatepicker & JSXBase.HTMLAttributes<HTMLPDatepickerElement>;
727
3198
  "p-divider": LocalJSX.PDivider & JSXBase.HTMLAttributes<HTMLPDividerElement>;
3199
+ "p-drawer": LocalJSX.PDrawer & JSXBase.HTMLAttributes<HTMLPDrawerElement>;
3200
+ "p-drawer-body": LocalJSX.PDrawerBody & JSXBase.HTMLAttributes<HTMLPDrawerBodyElement>;
3201
+ "p-drawer-container": LocalJSX.PDrawerContainer & JSXBase.HTMLAttributes<HTMLPDrawerContainerElement>;
3202
+ "p-drawer-header": LocalJSX.PDrawerHeader & JSXBase.HTMLAttributes<HTMLPDrawerHeaderElement>;
728
3203
  "p-dropdown": LocalJSX.PDropdown & JSXBase.HTMLAttributes<HTMLPDropdownElement>;
729
3204
  "p-dropdown-menu-container": LocalJSX.PDropdownMenuContainer & JSXBase.HTMLAttributes<HTMLPDropdownMenuContainerElement>;
730
3205
  "p-dropdown-menu-item": LocalJSX.PDropdownMenuItem & JSXBase.HTMLAttributes<HTMLPDropdownMenuItemElement>;
@@ -732,13 +3207,40 @@ declare module "@stencil/core" {
732
3207
  "p-icon": LocalJSX.PIcon & JSXBase.HTMLAttributes<HTMLPIconElement>;
733
3208
  "p-illustration": LocalJSX.PIllustration & JSXBase.HTMLAttributes<HTMLPIllustrationElement>;
734
3209
  "p-info-panel": LocalJSX.PInfoPanel & JSXBase.HTMLAttributes<HTMLPInfoPanelElement>;
3210
+ "p-input-group": LocalJSX.PInputGroup & JSXBase.HTMLAttributes<HTMLPInputGroupElement>;
3211
+ "p-label": LocalJSX.PLabel & JSXBase.HTMLAttributes<HTMLPLabelElement>;
3212
+ "p-layout": LocalJSX.PLayout & JSXBase.HTMLAttributes<HTMLPLayoutElement>;
735
3213
  "p-loader": LocalJSX.PLoader & JSXBase.HTMLAttributes<HTMLPLoaderElement>;
3214
+ "p-modal": LocalJSX.PModal & JSXBase.HTMLAttributes<HTMLPModalElement>;
3215
+ "p-modal-body": LocalJSX.PModalBody & JSXBase.HTMLAttributes<HTMLPModalBodyElement>;
3216
+ "p-modal-container": LocalJSX.PModalContainer & JSXBase.HTMLAttributes<HTMLPModalContainerElement>;
3217
+ "p-modal-footer": LocalJSX.PModalFooter & JSXBase.HTMLAttributes<HTMLPModalFooterElement>;
3218
+ "p-modal-header": LocalJSX.PModalHeader & JSXBase.HTMLAttributes<HTMLPModalHeaderElement>;
3219
+ "p-navbar": LocalJSX.PNavbar & JSXBase.HTMLAttributes<HTMLPNavbarElement>;
736
3220
  "p-navigation-item": LocalJSX.PNavigationItem & JSXBase.HTMLAttributes<HTMLPNavigationItemElement>;
3221
+ "p-page-size-select": LocalJSX.PPageSizeSelect & JSXBase.HTMLAttributes<HTMLPPageSizeSelectElement>;
737
3222
  "p-pagination": LocalJSX.PPagination & JSXBase.HTMLAttributes<HTMLPPaginationElement>;
738
3223
  "p-pagination-item": LocalJSX.PPaginationItem & JSXBase.HTMLAttributes<HTMLPPaginationItemElement>;
3224
+ "p-profile": LocalJSX.PProfile & JSXBase.HTMLAttributes<HTMLPProfileElement>;
739
3225
  "p-segment-container": LocalJSX.PSegmentContainer & JSXBase.HTMLAttributes<HTMLPSegmentContainerElement>;
740
3226
  "p-segment-item": LocalJSX.PSegmentItem & JSXBase.HTMLAttributes<HTMLPSegmentItemElement>;
3227
+ "p-select": LocalJSX.PSelect & JSXBase.HTMLAttributes<HTMLPSelectElement>;
3228
+ "p-slider-indicator": LocalJSX.PSliderIndicator & JSXBase.HTMLAttributes<HTMLPSliderIndicatorElement>;
741
3229
  "p-status": LocalJSX.PStatus & JSXBase.HTMLAttributes<HTMLPStatusElement>;
3230
+ "p-stepper": LocalJSX.PStepper & JSXBase.HTMLAttributes<HTMLPStepperElement>;
3231
+ "p-stepper-item": LocalJSX.PStepperItem & JSXBase.HTMLAttributes<HTMLPStepperItemElement>;
3232
+ "p-stepper-line": LocalJSX.PStepperLine & JSXBase.HTMLAttributes<HTMLPStepperLineElement>;
3233
+ "p-tab-group": LocalJSX.PTabGroup & JSXBase.HTMLAttributes<HTMLPTabGroupElement>;
3234
+ "p-tab-item": LocalJSX.PTabItem & JSXBase.HTMLAttributes<HTMLPTabItemElement>;
3235
+ "p-table": LocalJSX.PTable & JSXBase.HTMLAttributes<HTMLPTableElement>;
3236
+ "p-table-cell": LocalJSX.PTableCell & JSXBase.HTMLAttributes<HTMLPTableCellElement>;
3237
+ "p-table-column": LocalJSX.PTableColumn & JSXBase.HTMLAttributes<HTMLPTableColumnElement>;
3238
+ "p-table-container": LocalJSX.PTableContainer & JSXBase.HTMLAttributes<HTMLPTableContainerElement>;
3239
+ "p-table-footer": LocalJSX.PTableFooter & JSXBase.HTMLAttributes<HTMLPTableFooterElement>;
3240
+ "p-table-header": LocalJSX.PTableHeader & JSXBase.HTMLAttributes<HTMLPTableHeaderElement>;
3241
+ "p-table-row": LocalJSX.PTableRow & JSXBase.HTMLAttributes<HTMLPTableRowElement>;
3242
+ "p-toast": LocalJSX.PToast & JSXBase.HTMLAttributes<HTMLPToastElement>;
3243
+ "p-toast-container": LocalJSX.PToastContainer & JSXBase.HTMLAttributes<HTMLPToastContainerElement>;
742
3244
  "p-tooltip": LocalJSX.PTooltip & JSXBase.HTMLAttributes<HTMLPTooltipElement>;
743
3245
  }
744
3246
  }