@paperless/core 0.1.0-alpha.25 → 0.1.0-alpha.251

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