@paperless/core 0.1.0-alpha.21 → 0.1.0-alpha.212

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