@paperless/core 0.1.0-alpha.99 → 1.3.0

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 (1097) hide show
  1. package/CHANGELOG.md +3838 -0
  2. package/README.md +9 -1
  3. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  4. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  5. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  6. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  7. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  8. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  9. package/dist/assets/i18n/table.i18n.en.json +13 -0
  10. package/dist/assets/i18n/table.i18n.nl.json +13 -0
  11. package/dist/assets/icons/bread.svg +5 -12
  12. package/dist/assets/icons/camera.svg +10 -0
  13. package/dist/assets/icons/car.svg +5 -12
  14. package/dist/assets/icons/fa/building.svg +3 -0
  15. package/dist/assets/icons/fa/buildings.svg +3 -0
  16. package/dist/assets/icons/fa/piggy.svg +3 -0
  17. package/dist/assets/icons/filter.svg +6 -13
  18. package/dist/assets/icons/notification.svg +10 -0
  19. package/dist/assets/icons/reload.svg +10 -0
  20. package/dist/assets/icons/search.svg +5 -12
  21. package/dist/assets/illustrations/empty-state-add.svg +65 -0
  22. package/dist/assets/illustrations/empty-state-overview.svg +58 -0
  23. package/dist/assets/illustrations/empty-state-search.svg +88 -0
  24. package/dist/assets/images/helper/helper-hover.svg +6 -6
  25. package/dist/assets/images/helper/helper.svg +2 -2
  26. package/dist/build/index.esm.js +2 -0
  27. package/dist/build/index.esm.js.map +1 -0
  28. package/dist/build/p-07259c61.entry.js +2 -0
  29. package/dist/build/p-07259c61.entry.js.map +1 -0
  30. package/dist/build/p-11f5c8c7.entry.js +2 -0
  31. package/dist/build/p-11f5c8c7.entry.js.map +1 -0
  32. package/dist/build/p-12171df4.entry.js +2 -0
  33. package/dist/build/p-12171df4.entry.js.map +1 -0
  34. package/dist/build/p-1630e39b.entry.js +2 -0
  35. package/dist/build/p-1630e39b.entry.js.map +1 -0
  36. package/dist/build/p-18c0dd17.entry.js +2 -0
  37. package/dist/build/p-18c0dd17.entry.js.map +1 -0
  38. package/dist/build/p-195632a8.entry.js +2 -0
  39. package/dist/build/p-195632a8.entry.js.map +1 -0
  40. package/dist/build/p-1f55126f.entry.js +2 -0
  41. package/dist/build/p-1f55126f.entry.js.map +1 -0
  42. package/dist/build/p-26da620b.entry.js +2 -0
  43. package/dist/build/p-26da620b.entry.js.map +1 -0
  44. package/dist/build/p-2a668e75.entry.js +2 -0
  45. package/dist/build/p-2a668e75.entry.js.map +1 -0
  46. package/dist/build/p-350d452b.entry.js +2 -0
  47. package/dist/build/p-350d452b.entry.js.map +1 -0
  48. package/dist/build/p-36967a97.entry.js +2 -0
  49. package/dist/build/p-36967a97.entry.js.map +1 -0
  50. package/dist/build/p-3d8b2178.entry.js +2 -0
  51. package/dist/build/p-3d8b2178.entry.js.map +1 -0
  52. package/dist/build/p-47bcc23e.entry.js +2 -0
  53. package/dist/build/p-47bcc23e.entry.js.map +1 -0
  54. package/dist/build/p-47e461b7.entry.js +2 -0
  55. package/dist/build/p-47e461b7.entry.js.map +1 -0
  56. package/dist/build/p-4c51a801.entry.js +2 -0
  57. package/dist/build/p-4c51a801.entry.js.map +1 -0
  58. package/dist/build/p-4e650fe4.js +2 -0
  59. package/dist/build/p-4e650fe4.js.map +1 -0
  60. package/dist/build/p-51408aca.entry.js +2 -0
  61. package/dist/build/p-51408aca.entry.js.map +1 -0
  62. package/dist/build/p-594b28a7.entry.js +2 -0
  63. package/dist/build/p-594b28a7.entry.js.map +1 -0
  64. package/dist/build/p-5c7b20a3.entry.js +2 -0
  65. package/dist/build/p-5c7b20a3.entry.js.map +1 -0
  66. package/dist/build/p-6124f388.entry.js +2 -0
  67. package/dist/build/p-6124f388.entry.js.map +1 -0
  68. package/dist/build/p-6c60fd3d.js +2 -0
  69. package/dist/build/p-6c60fd3d.js.map +1 -0
  70. package/dist/build/p-6ccf5cdd.js +3 -0
  71. package/dist/build/p-6ccf5cdd.js.map +1 -0
  72. package/dist/build/p-6d5aa646.entry.js +2 -0
  73. package/dist/build/p-6d5aa646.entry.js.map +1 -0
  74. package/dist/build/p-6f1352e0.entry.js +2 -0
  75. package/dist/build/p-6f1352e0.entry.js.map +1 -0
  76. package/dist/build/p-8a6728d5.js +2 -0
  77. package/dist/build/p-8a6728d5.js.map +1 -0
  78. package/dist/build/p-910bd6bc.entry.js +2 -0
  79. package/dist/build/p-910bd6bc.entry.js.map +1 -0
  80. package/dist/build/p-91725831.entry.js +2 -0
  81. package/dist/build/p-91725831.entry.js.map +1 -0
  82. package/dist/build/p-946286e2.entry.js +2 -0
  83. package/dist/build/p-946286e2.entry.js.map +1 -0
  84. package/dist/build/p-a1c1d95b.entry.js +2 -0
  85. package/dist/build/p-a1c1d95b.entry.js.map +1 -0
  86. package/dist/build/p-a23ea8fe.entry.js +2 -0
  87. package/dist/build/p-a23ea8fe.entry.js.map +1 -0
  88. package/dist/build/p-abcd80e9.entry.js +2 -0
  89. package/dist/build/p-abcd80e9.entry.js.map +1 -0
  90. package/dist/build/p-ae248aef.js +2 -0
  91. package/dist/build/p-ae248aef.js.map +1 -0
  92. package/dist/build/p-b0398d3b.entry.js +2 -0
  93. package/dist/build/p-b0398d3b.entry.js.map +1 -0
  94. package/dist/build/p-b2bc1d2a.entry.js +2 -0
  95. package/dist/build/p-b2bc1d2a.entry.js.map +1 -0
  96. package/dist/build/p-b5ce8cd4.entry.js +2 -0
  97. package/dist/build/p-b5ce8cd4.entry.js.map +1 -0
  98. package/dist/build/p-b92dd098.entry.js +2 -0
  99. package/dist/build/p-b92dd098.entry.js.map +1 -0
  100. package/dist/build/p-b9f742e0.entry.js +2 -0
  101. package/dist/build/p-b9f742e0.entry.js.map +1 -0
  102. package/dist/build/p-bf0eca4f.entry.js +2 -0
  103. package/dist/build/p-bf0eca4f.entry.js.map +1 -0
  104. package/dist/build/p-ce1abd74.entry.js +2 -0
  105. package/dist/build/p-ce1abd74.entry.js.map +1 -0
  106. package/dist/build/p-ce443f5b.entry.js +2 -0
  107. package/dist/build/p-ce443f5b.entry.js.map +1 -0
  108. package/dist/build/p-da2426c7.js +2 -0
  109. package/dist/build/p-da2426c7.js.map +1 -0
  110. package/dist/build/p-da6e5abd.entry.js +2 -0
  111. package/dist/build/p-da6e5abd.entry.js.map +1 -0
  112. package/dist/build/p-e17560e6.entry.js +2 -0
  113. package/dist/build/p-e17560e6.entry.js.map +1 -0
  114. package/dist/build/p-e1da7376.entry.js +2 -0
  115. package/dist/build/p-e1da7376.entry.js.map +1 -0
  116. package/dist/build/p-e9a1b51e.entry.js +2 -0
  117. package/dist/build/p-e9a1b51e.entry.js.map +1 -0
  118. package/dist/build/p-ec850aca.entry.js +2 -0
  119. package/dist/build/p-ec850aca.entry.js.map +1 -0
  120. package/dist/build/p-ed6edf0a.entry.js +2 -0
  121. package/dist/build/p-ed6edf0a.entry.js.map +1 -0
  122. package/dist/build/p-f47247a6.entry.js +2 -0
  123. package/dist/build/p-f47247a6.entry.js.map +1 -0
  124. package/dist/build/p-fef32402.js +2 -0
  125. package/dist/build/p-fef32402.js.map +1 -0
  126. package/dist/build/paperless.css +1 -253
  127. package/dist/build/paperless.esm.js +2 -1
  128. package/dist/build/paperless.esm.js.map +1 -0
  129. package/dist/cjs/child-of-e472f812.js +11 -0
  130. package/dist/cjs/child-of-e472f812.js.map +1 -0
  131. package/dist/cjs/constants-a4459ec9.js +9 -0
  132. package/dist/cjs/constants-a4459ec9.js.map +1 -0
  133. package/dist/cjs/floating-ui.dom.esm-62336770.js +1334 -0
  134. package/dist/cjs/floating-ui.dom.esm-62336770.js.map +1 -0
  135. package/dist/cjs/index-b59a0544.js +2324 -0
  136. package/dist/cjs/index-b59a0544.js.map +1 -0
  137. package/dist/cjs/{index-9d3b51c9.js → index-dfc4dfec.js} +980 -339
  138. package/dist/cjs/index-dfc4dfec.js.map +1 -0
  139. package/dist/cjs/index.cjs.js +20 -0
  140. package/dist/cjs/index.cjs.js.map +1 -0
  141. package/dist/cjs/loader.cjs.js +6 -3
  142. package/dist/cjs/loader.cjs.js.map +1 -0
  143. package/dist/cjs/localization-9e2ac7f3.js +62 -0
  144. package/dist/cjs/localization-9e2ac7f3.js.map +1 -0
  145. package/dist/cjs/object-get-by-path-ee5540a5.js +19 -0
  146. package/dist/cjs/object-get-by-path-ee5540a5.js.map +1 -0
  147. package/dist/cjs/p-accordion.cjs.entry.js +5 -11
  148. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -0
  149. package/dist/cjs/p-attachment.cjs.entry.js +39 -0
  150. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -0
  151. package/dist/cjs/p-avatar-group.cjs.entry.js +5 -2
  152. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -0
  153. package/dist/cjs/p-avatar.cjs.entry.js +45 -0
  154. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -0
  155. package/dist/cjs/p-backdrop.cjs.entry.js +43 -0
  156. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -0
  157. package/dist/cjs/p-button_3.cjs.entry.js +142 -148
  158. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
  159. package/dist/cjs/p-calendar.cjs.entry.js +703 -0
  160. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -0
  161. package/dist/cjs/p-card-body.cjs.entry.js +4 -5
  162. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -0
  163. package/dist/cjs/p-card-container.cjs.entry.js +4 -8
  164. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -0
  165. package/dist/cjs/p-card-header.cjs.entry.js +5 -5
  166. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -0
  167. package/dist/cjs/p-content-slider.cjs.entry.js +115 -56
  168. package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -0
  169. package/dist/cjs/p-counter.cjs.entry.js +4 -8
  170. package/dist/cjs/p-counter.cjs.entry.js.map +1 -0
  171. package/dist/cjs/p-datepicker.cjs.entry.js +3043 -0
  172. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -0
  173. package/dist/cjs/p-divider.cjs.entry.js +4 -2
  174. package/dist/cjs/p-divider.cjs.entry.js.map +1 -0
  175. package/dist/cjs/p-drawer-body_3.cjs.entry.js +51 -0
  176. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -0
  177. package/dist/cjs/p-drawer.cjs.entry.js +65 -0
  178. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -0
  179. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +7 -3
  180. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -0
  181. package/dist/cjs/p-dropdown_2.cjs.entry.js +163 -0
  182. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -0
  183. package/dist/cjs/p-helper_3.cjs.entry.js +150 -0
  184. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -0
  185. package/dist/cjs/p-illustration_6.cjs.entry.js +2840 -0
  186. package/dist/cjs/p-illustration_6.cjs.entry.js.map +1 -0
  187. package/dist/cjs/p-info-panel.cjs.entry.js +6 -8
  188. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -0
  189. package/dist/cjs/p-label_3.cjs.entry.js +65 -0
  190. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -0
  191. package/dist/cjs/p-layout.cjs.entry.js +4 -5
  192. package/dist/cjs/p-layout.cjs.entry.js.map +1 -0
  193. package/dist/cjs/p-modal-body_4.cjs.entry.js +79 -0
  194. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -0
  195. package/dist/cjs/p-modal.cjs.entry.js +34 -21
  196. package/dist/cjs/p-modal.cjs.entry.js.map +1 -0
  197. package/dist/cjs/p-navbar.cjs.entry.js +5 -9
  198. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -0
  199. package/dist/cjs/p-navigation-item.cjs.entry.js +8 -5
  200. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -0
  201. package/dist/cjs/p-page-size-select_3.cjs.entry.js +224 -0
  202. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -0
  203. package/dist/cjs/p-profile.cjs.entry.js +14 -15
  204. package/dist/cjs/p-profile.cjs.entry.js.map +1 -0
  205. package/dist/cjs/p-select.cjs.entry.js +245 -0
  206. package/dist/cjs/p-select.cjs.entry.js.map +1 -0
  207. package/dist/cjs/p-slider-indicator.cjs.entry.js +4 -5
  208. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -0
  209. package/dist/cjs/p-status.cjs.entry.js +7 -5
  210. package/dist/cjs/p-status.cjs.entry.js.map +1 -0
  211. package/dist/cjs/p-stepper-item.cjs.entry.js +26 -0
  212. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -0
  213. package/dist/cjs/p-stepper-line.cjs.entry.js +23 -0
  214. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -0
  215. package/dist/cjs/p-stepper.cjs.entry.js +53 -44
  216. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -0
  217. package/dist/cjs/p-tab-group.cjs.entry.js +11 -10
  218. package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -0
  219. package/dist/cjs/p-tab-item.cjs.entry.js +4 -5
  220. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -0
  221. package/dist/cjs/p-table-column.cjs.entry.js +30 -0
  222. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -0
  223. package/dist/cjs/p-table.cjs.entry.js +360 -0
  224. package/dist/cjs/p-table.cjs.entry.js.map +1 -0
  225. package/dist/cjs/p-toast-container.cjs.entry.js +22 -0
  226. package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -0
  227. package/dist/cjs/p-toast.cjs.entry.js +35 -0
  228. package/dist/cjs/p-toast.cjs.entry.js.map +1 -0
  229. package/dist/cjs/p-tooltip.cjs.entry.js +59 -61
  230. package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -0
  231. package/dist/cjs/paperless.cjs.js +12 -3
  232. package/dist/cjs/paperless.cjs.js.map +1 -0
  233. package/dist/collection/assets/icons/bread.svg +5 -12
  234. package/dist/collection/assets/icons/camera.svg +10 -0
  235. package/dist/collection/assets/icons/car.svg +5 -12
  236. package/dist/collection/assets/icons/fa/building.svg +3 -0
  237. package/dist/collection/assets/icons/fa/buildings.svg +3 -0
  238. package/dist/collection/assets/icons/fa/piggy.svg +3 -0
  239. package/dist/collection/assets/icons/filter.svg +6 -13
  240. package/dist/collection/assets/icons/notification.svg +10 -0
  241. package/dist/collection/assets/icons/reload.svg +10 -0
  242. package/dist/collection/assets/icons/search.svg +5 -12
  243. package/dist/collection/assets/illustrations/empty-state-add.svg +65 -0
  244. package/dist/collection/assets/illustrations/empty-state-overview.svg +58 -0
  245. package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
  246. package/dist/collection/assets/images/helper/helper-hover.svg +6 -6
  247. package/dist/collection/assets/images/helper/helper.svg +2 -2
  248. package/dist/collection/collection-manifest.json +23 -4
  249. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -24
  250. package/dist/collection/components/atoms/avatar/avatar.component.js +105 -89
  251. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -0
  252. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -18
  253. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +37 -31
  254. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -0
  255. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
  256. package/dist/collection/components/atoms/backdrop/backdrop.component.js +149 -0
  257. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -0
  258. package/dist/collection/components/atoms/button/button.component.css +1 -95
  259. package/dist/collection/components/atoms/button/button.component.js +305 -319
  260. package/dist/collection/components/atoms/button/button.component.js.map +1 -0
  261. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -9
  262. package/dist/collection/components/atoms/card-body/card-body.component.js +35 -32
  263. package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -0
  264. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -17
  265. package/dist/collection/components/atoms/card-container/card-container.component.js +52 -52
  266. package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -0
  267. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -17
  268. package/dist/collection/components/atoms/card-header/card-header.component.js +52 -51
  269. package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -0
  270. package/dist/collection/components/atoms/counter/counter.component.css +1 -30
  271. package/dist/collection/components/atoms/counter/counter.component.js +52 -52
  272. package/dist/collection/components/atoms/counter/counter.component.js.map +1 -0
  273. package/dist/collection/components/atoms/divider/divider.component.css +1 -10
  274. package/dist/collection/components/atoms/divider/divider.component.js +13 -11
  275. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -0
  276. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
  277. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +44 -0
  278. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -0
  279. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -0
  280. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +48 -0
  281. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -0
  282. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -0
  283. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +66 -0
  284. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -0
  285. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -6
  286. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +57 -9
  287. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -0
  288. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -13
  289. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +74 -52
  290. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -0
  291. package/dist/collection/components/atoms/helper/helper.component.css +1 -7
  292. package/dist/collection/components/atoms/helper/helper.component.js +39 -39
  293. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -0
  294. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  295. package/dist/collection/components/atoms/icon/icon.component.js +101 -100
  296. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -0
  297. package/dist/collection/components/atoms/illustration/illustration.component.js +30 -23
  298. package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -0
  299. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
  300. package/dist/collection/components/atoms/info-panel/info-panel.component.js +86 -89
  301. package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -0
  302. package/dist/collection/components/atoms/label/label.component.css +1 -0
  303. package/dist/collection/components/atoms/label/label.component.js +171 -0
  304. package/dist/collection/components/atoms/label/label.component.js.map +1 -0
  305. package/dist/collection/components/atoms/layout/layout.component.css +1 -73
  306. package/dist/collection/components/atoms/layout/layout.component.js +35 -38
  307. package/dist/collection/components/atoms/layout/layout.component.js.map +1 -0
  308. package/dist/collection/components/atoms/loader/loader.component.css +1 -26
  309. package/dist/collection/components/atoms/loader/loader.component.js +113 -114
  310. package/dist/collection/components/atoms/loader/loader.component.js.map +1 -0
  311. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -7
  312. package/dist/collection/components/atoms/modal-body/modal-body.component.js +53 -31
  313. package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -0
  314. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -6
  315. package/dist/collection/components/atoms/modal-container/modal-container.component.js +53 -31
  316. package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -0
  317. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -8
  318. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +13 -36
  319. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -0
  320. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -16
  321. package/dist/collection/components/atoms/modal-header/modal-header.component.js +56 -54
  322. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -0
  323. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
  324. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +35 -32
  325. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -0
  326. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
  327. package/dist/collection/components/atoms/segment-container/segment-container.component.js +13 -9
  328. package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -0
  329. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
  330. package/dist/collection/components/atoms/segment-item/segment-item.component.js +97 -90
  331. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -0
  332. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -7
  333. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +34 -30
  334. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -0
  335. package/dist/collection/components/atoms/status/status.component.css +1 -16
  336. package/dist/collection/components/atoms/status/status.component.js +98 -93
  337. package/dist/collection/components/atoms/status/status.component.js.map +1 -0
  338. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -59
  339. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +104 -93
  340. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -0
  341. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -18
  342. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +51 -50
  343. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -0
  344. package/dist/collection/components/atoms/tab-group/tab-group.component.js +3 -11
  345. package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -0
  346. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -10
  347. package/dist/collection/components/atoms/tab-item/tab-item.component.js +35 -32
  348. package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -0
  349. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -0
  350. package/dist/collection/components/atoms/table-container/table-container.component.js +19 -0
  351. package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -0
  352. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
  353. package/dist/collection/components/atoms/toast-container/toast-container.component.js +44 -0
  354. package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -0
  355. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -43
  356. package/dist/collection/components/atoms/tooltip/tooltip.component.js +255 -235
  357. package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -0
  358. package/dist/collection/components/helpers/table-column/table-column.component.js +189 -0
  359. package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -0
  360. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -3
  361. package/dist/collection/components/molecules/accordion/accordion.component.js +103 -108
  362. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -0
  363. package/dist/collection/components/molecules/attachment/attachment.component.css +1 -0
  364. package/dist/collection/components/molecules/attachment/attachment.component.js +145 -0
  365. package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -0
  366. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -0
  367. package/dist/collection/components/molecules/calendar/calendar.component.js +515 -0
  368. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -0
  369. package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -26
  370. package/dist/collection/components/molecules/content-slider/content-slider.component.js +227 -139
  371. package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -0
  372. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -0
  373. package/dist/collection/components/molecules/datepicker/datepicker.component.js +527 -0
  374. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -0
  375. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -12
  376. package/dist/collection/components/molecules/dropdown/dropdown.component.js +289 -187
  377. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -0
  378. package/dist/collection/components/molecules/input-error/input-error.component.js +60 -0
  379. package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -0
  380. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -204
  381. package/dist/collection/components/molecules/input-group/input-group.component.js +366 -227
  382. package/dist/collection/components/molecules/input-group/input-group.component.js.map +1 -0
  383. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -22
  384. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +107 -104
  385. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -0
  386. package/dist/collection/components/molecules/page-size-select/constants.js +3 -0
  387. package/dist/collection/components/molecules/page-size-select/constants.js.map +1 -0
  388. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +207 -0
  389. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -0
  390. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
  391. package/dist/collection/components/molecules/pagination/pagination.component.js +119 -94
  392. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -0
  393. package/dist/collection/components/molecules/profile/profile.component.css +1 -36
  394. package/dist/collection/components/molecules/profile/profile.component.js +66 -68
  395. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -0
  396. package/dist/collection/components/molecules/select/select.component.css +1 -0
  397. package/dist/collection/components/molecules/select/select.component.js +739 -0
  398. package/dist/collection/components/molecules/select/select.component.js.map +1 -0
  399. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -12
  400. package/dist/collection/components/molecules/stepper/stepper.component.js +120 -85
  401. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -0
  402. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -0
  403. package/dist/collection/components/molecules/table-cell/table-cell.component.js +306 -0
  404. package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -0
  405. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -0
  406. package/dist/collection/components/molecules/table-footer/table-footer.component.js +276 -0
  407. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -0
  408. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -0
  409. package/dist/collection/components/molecules/table-header/table-header.component.js +452 -0
  410. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -0
  411. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -0
  412. package/dist/collection/components/molecules/table-row/table-row.component.js +65 -0
  413. package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -0
  414. package/dist/collection/components/molecules/toast/toast.component.css +1 -0
  415. package/dist/collection/components/molecules/toast/toast.component.js +197 -0
  416. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -0
  417. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  418. package/dist/collection/components/organisms/drawer/drawer.component.js +234 -0
  419. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -0
  420. package/dist/collection/components/organisms/modal/modal.component.js +228 -144
  421. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -0
  422. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -56
  423. package/dist/collection/components/organisms/navbar/navbar.component.js +72 -81
  424. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -0
  425. package/dist/collection/components/organisms/table/table.component.css +1 -0
  426. package/dist/collection/components/organisms/table/table.component.js +1300 -0
  427. package/dist/collection/components/organisms/table/table.component.js.map +1 -0
  428. package/dist/collection/index.js +3 -1
  429. package/dist/collection/index.js.map +1 -0
  430. package/dist/collection/tailwind/animation.js +72 -2
  431. package/dist/collection/tailwind/border-radius.js +1 -0
  432. package/dist/collection/tailwind/height.js +5 -0
  433. package/dist/collection/tailwind/plugins/safe-area.js +98 -0
  434. package/dist/collection/tailwind/screens.js +6 -6
  435. package/dist/collection/tailwind/shadows.js +2 -0
  436. package/dist/collection/tailwind/width.js +19 -13
  437. package/dist/collection/tailwind/z-index.js +15 -1
  438. package/dist/collection/tailwind.config.js +9 -2
  439. package/dist/collection/types/index.js +3 -0
  440. package/dist/collection/types/index.js.map +1 -0
  441. package/dist/collection/types/table.js +4 -0
  442. package/dist/collection/types/table.js.map +1 -0
  443. package/dist/collection/types/tailwind.js +2 -0
  444. package/dist/collection/types/tailwind.js.map +1 -0
  445. package/dist/collection/utils/child-of.js +1 -0
  446. package/dist/collection/utils/child-of.js.map +1 -0
  447. package/dist/collection/utils/icons.js +13 -0
  448. package/dist/collection/utils/icons.js.map +1 -0
  449. package/dist/collection/utils/illustrations.js +7 -0
  450. package/dist/collection/utils/illustrations.js.map +1 -0
  451. package/dist/collection/utils/index.js +7 -0
  452. package/dist/collection/utils/index.js.map +1 -0
  453. package/dist/collection/utils/localization.js +56 -0
  454. package/dist/collection/utils/localization.js.map +1 -0
  455. package/dist/collection/utils/object-get-by-path.js +9 -0
  456. package/dist/collection/utils/object-get-by-path.js.map +1 -0
  457. package/dist/collection/utils/transformers.js +5 -0
  458. package/dist/collection/utils/transformers.js.map +1 -0
  459. package/dist/components/backdrop.component.js +59 -0
  460. package/dist/components/backdrop.component.js.map +1 -0
  461. package/dist/components/button.component.js +16 -33
  462. package/dist/components/button.component.js.map +1 -0
  463. package/dist/components/calendar.component.js +3031 -0
  464. package/dist/components/calendar.component.js.map +1 -0
  465. package/dist/components/child-of.js +9 -0
  466. package/dist/components/child-of.js.map +1 -0
  467. package/dist/components/counter.component.js +4 -8
  468. package/dist/components/counter.component.js.map +1 -0
  469. package/dist/components/divider.component.js +4 -2
  470. package/dist/components/divider.component.js.map +1 -0
  471. package/dist/components/drawer-body.component.js +35 -0
  472. package/dist/components/drawer-body.component.js.map +1 -0
  473. package/dist/components/drawer-container.component.js +34 -0
  474. package/dist/components/drawer-container.component.js.map +1 -0
  475. package/dist/components/drawer-header.component.js +54 -0
  476. package/dist/components/drawer-header.component.js.map +1 -0
  477. package/dist/components/dropdown-menu-container.component.js +11 -4
  478. package/dist/components/dropdown-menu-container.component.js.map +1 -0
  479. package/dist/components/dropdown-menu-item.component.js +45 -0
  480. package/dist/components/dropdown-menu-item.component.js.map +1 -0
  481. package/dist/components/dropdown.component.js +77 -72
  482. package/dist/components/dropdown.component.js.map +1 -0
  483. package/dist/components/floating-ui.dom.esm.js +1327 -0
  484. package/dist/components/floating-ui.dom.esm.js.map +1 -0
  485. package/dist/components/helper.component.js +4 -5
  486. package/dist/components/helper.component.js.map +1 -0
  487. package/dist/components/icon.component.js +77 -60
  488. package/dist/components/icon.component.js.map +1 -0
  489. package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +247 -16
  490. package/dist/components/illustration.component.js.map +1 -0
  491. package/dist/components/index.d.ts +9 -45
  492. package/dist/components/index.js +13 -43
  493. package/dist/components/index.js.map +1 -0
  494. package/dist/components/input-error.component.js +50 -0
  495. package/dist/components/input-error.component.js.map +1 -0
  496. package/dist/components/input-group.component.js +172 -0
  497. package/dist/components/input-group.component.js.map +1 -0
  498. package/dist/components/label.component.js +54 -0
  499. package/dist/components/label.component.js.map +1 -0
  500. package/dist/components/loader.component.js +12 -14
  501. package/dist/components/loader.component.js.map +1 -0
  502. package/dist/components/localization.js +59 -0
  503. package/dist/components/localization.js.map +1 -0
  504. package/dist/components/modal-body.component.js +8 -7
  505. package/dist/components/modal-body.component.js.map +1 -0
  506. package/dist/components/modal-container.component.js +8 -7
  507. package/dist/components/modal-container.component.js.map +1 -0
  508. package/dist/components/modal-footer.component.js +6 -10
  509. package/dist/components/modal-footer.component.js.map +1 -0
  510. package/dist/components/modal-header.component.js +21 -10
  511. package/dist/components/modal-header.component.js.map +1 -0
  512. package/dist/components/object-get-by-path.js +16 -0
  513. package/dist/components/object-get-by-path.js.map +1 -0
  514. package/dist/components/p-accordion.js +5 -11
  515. package/dist/components/p-accordion.js.map +1 -0
  516. package/dist/components/{p-modal-backdrop.d.ts → p-attachment.d.ts} +4 -4
  517. package/dist/components/p-attachment.js +88 -0
  518. package/dist/components/p-attachment.js.map +1 -0
  519. package/dist/components/p-avatar-group.js +5 -2
  520. package/dist/components/p-avatar-group.js.map +1 -0
  521. package/dist/components/p-avatar.js +59 -1
  522. package/dist/components/p-avatar.js.map +1 -0
  523. package/dist/components/p-backdrop.d.ts +11 -0
  524. package/dist/components/p-backdrop.js +8 -0
  525. package/dist/components/p-backdrop.js.map +1 -0
  526. package/dist/components/p-button.js +2 -0
  527. package/dist/components/p-button.js.map +1 -0
  528. package/dist/components/p-calendar.d.ts +11 -0
  529. package/dist/components/p-calendar.js +8 -0
  530. package/dist/components/p-calendar.js.map +1 -0
  531. package/dist/components/p-card-body.js +4 -5
  532. package/dist/components/p-card-body.js.map +1 -0
  533. package/dist/components/p-card-container.js +4 -8
  534. package/dist/components/p-card-container.js.map +1 -0
  535. package/dist/components/p-card-header.js +5 -5
  536. package/dist/components/p-card-header.js.map +1 -0
  537. package/dist/components/p-content-slider.js +117 -57
  538. package/dist/components/p-content-slider.js.map +1 -0
  539. package/dist/components/p-counter.js +2 -0
  540. package/dist/components/p-counter.js.map +1 -0
  541. package/dist/components/p-datepicker.d.ts +11 -0
  542. package/dist/components/p-datepicker.js +3125 -0
  543. package/dist/components/p-datepicker.js.map +1 -0
  544. package/dist/components/p-divider.js +2 -0
  545. package/dist/components/p-divider.js.map +1 -0
  546. package/dist/components/p-drawer-body.d.ts +11 -0
  547. package/dist/components/p-drawer-body.js +8 -0
  548. package/dist/components/p-drawer-body.js.map +1 -0
  549. package/dist/components/p-drawer-container.d.ts +11 -0
  550. package/dist/components/p-drawer-container.js +8 -0
  551. package/dist/components/p-drawer-container.js.map +1 -0
  552. package/dist/components/p-drawer-header.d.ts +11 -0
  553. package/dist/components/p-drawer-header.js +8 -0
  554. package/dist/components/p-drawer-header.js.map +1 -0
  555. package/dist/components/p-drawer.d.ts +11 -0
  556. package/dist/components/p-drawer.js +130 -0
  557. package/dist/components/p-drawer.js.map +1 -0
  558. package/dist/components/p-dropdown-menu-container.js +2 -0
  559. package/dist/components/p-dropdown-menu-container.js.map +1 -0
  560. package/dist/components/p-dropdown-menu-item.js +3 -41
  561. package/dist/components/p-dropdown-menu-item.js.map +1 -0
  562. package/dist/components/p-dropdown.js +2 -0
  563. package/dist/components/p-dropdown.js.map +1 -0
  564. package/dist/components/p-helper.js +2 -0
  565. package/dist/components/p-helper.js.map +1 -0
  566. package/dist/components/p-icon.js +2 -0
  567. package/dist/components/p-icon.js.map +1 -0
  568. package/dist/components/p-illustration.js +3 -1435
  569. package/dist/components/p-illustration.js.map +1 -0
  570. package/dist/components/p-info-panel.js +6 -8
  571. package/dist/components/p-info-panel.js.map +1 -0
  572. package/dist/components/p-input-error.d.ts +11 -0
  573. package/dist/components/p-input-error.js +8 -0
  574. package/dist/components/p-input-error.js.map +1 -0
  575. package/dist/components/p-input-group.js +3 -91
  576. package/dist/components/p-input-group.js.map +1 -0
  577. package/dist/components/{p-tag.d.ts → p-label.d.ts} +4 -4
  578. package/dist/components/p-label.js +8 -0
  579. package/dist/components/p-label.js.map +1 -0
  580. package/dist/components/p-layout.js +4 -5
  581. package/dist/components/p-layout.js.map +1 -0
  582. package/dist/components/p-loader.js +2 -0
  583. package/dist/components/p-loader.js.map +1 -0
  584. package/dist/components/p-modal-body.js +2 -0
  585. package/dist/components/p-modal-body.js.map +1 -0
  586. package/dist/components/p-modal-container.js +2 -0
  587. package/dist/components/p-modal-container.js.map +1 -0
  588. package/dist/components/p-modal-footer.js +2 -0
  589. package/dist/components/p-modal-footer.js.map +1 -0
  590. package/dist/components/p-modal-header.js +2 -0
  591. package/dist/components/p-modal-header.js.map +1 -0
  592. package/dist/components/p-modal.js +55 -26
  593. package/dist/components/p-modal.js.map +1 -0
  594. package/dist/components/p-navbar.js +12 -10
  595. package/dist/components/p-navbar.js.map +1 -0
  596. package/dist/components/p-navigation-item.js +8 -5
  597. package/dist/components/p-navigation-item.js.map +1 -0
  598. package/dist/components/p-page-size-select.d.ts +11 -0
  599. package/dist/components/p-page-size-select.js +8 -0
  600. package/dist/components/p-page-size-select.js.map +1 -0
  601. package/dist/components/p-pagination-item.js +2 -0
  602. package/dist/components/p-pagination-item.js.map +1 -0
  603. package/dist/components/p-pagination.js +3 -195
  604. package/dist/components/p-pagination.js.map +1 -0
  605. package/dist/components/p-profile.js +15 -22
  606. package/dist/components/p-profile.js.map +1 -0
  607. package/dist/components/p-segment-container.js +3 -27
  608. package/dist/components/p-segment-container.js.map +1 -0
  609. package/dist/components/p-segment-item.js +3 -49
  610. package/dist/components/p-segment-item.js.map +1 -0
  611. package/dist/components/p-select.d.ts +11 -0
  612. package/dist/components/p-select.js +340 -0
  613. package/dist/components/p-select.js.map +1 -0
  614. package/dist/components/p-slider-indicator.js +2 -0
  615. package/dist/components/p-slider-indicator.js.map +1 -0
  616. package/dist/components/p-status.js +7 -5
  617. package/dist/components/p-status.js.map +1 -0
  618. package/dist/components/p-stepper-item.js +47 -1
  619. package/dist/components/p-stepper-item.js.map +1 -0
  620. package/dist/components/p-stepper-line.js +2 -0
  621. package/dist/components/p-stepper-line.js.map +1 -0
  622. package/dist/components/p-stepper.js +56 -58
  623. package/dist/components/p-stepper.js.map +1 -0
  624. package/dist/components/p-tab-group.js +4 -5
  625. package/dist/components/p-tab-group.js.map +1 -0
  626. package/dist/components/p-tab-item.js +4 -5
  627. package/dist/components/p-tab-item.js.map +1 -0
  628. package/dist/components/p-table-cell.d.ts +11 -0
  629. package/dist/components/p-table-cell.js +8 -0
  630. package/dist/components/p-table-cell.js.map +1 -0
  631. package/dist/components/p-table-column.d.ts +11 -0
  632. package/dist/components/p-table-column.js +52 -0
  633. package/dist/components/p-table-column.js.map +1 -0
  634. package/dist/components/p-table-container.d.ts +11 -0
  635. package/dist/components/p-table-container.js +8 -0
  636. package/dist/components/p-table-container.js.map +1 -0
  637. package/dist/components/p-table-footer.d.ts +11 -0
  638. package/dist/components/p-table-footer.js +8 -0
  639. package/dist/components/p-table-footer.js.map +1 -0
  640. package/dist/components/p-table-header.d.ts +11 -0
  641. package/dist/components/p-table-header.js +8 -0
  642. package/dist/components/p-table-header.js.map +1 -0
  643. package/dist/components/p-table-row.d.ts +11 -0
  644. package/dist/components/p-table-row.js +8 -0
  645. package/dist/components/p-table-row.js.map +1 -0
  646. package/dist/components/p-table.d.ts +11 -0
  647. package/dist/components/p-table.js +552 -0
  648. package/dist/components/p-table.js.map +1 -0
  649. package/dist/components/p-toast-container.d.ts +11 -0
  650. package/dist/components/p-toast-container.js +38 -0
  651. package/dist/components/p-toast-container.js.map +1 -0
  652. package/dist/components/p-toast.d.ts +11 -0
  653. package/dist/components/p-toast.js +75 -0
  654. package/dist/components/p-toast.js.map +1 -0
  655. package/dist/components/p-tooltip.js +2 -0
  656. package/dist/components/p-tooltip.js.map +1 -0
  657. package/dist/components/page-size-select.component.js +107 -0
  658. package/dist/components/page-size-select.component.js.map +1 -0
  659. package/dist/components/pagination-item.component.js +4 -5
  660. package/dist/components/pagination-item.component.js.map +1 -0
  661. package/dist/components/pagination.component.js +196 -0
  662. package/dist/components/pagination.component.js.map +1 -0
  663. package/dist/components/segment-container.component.js +31 -0
  664. package/dist/components/segment-container.component.js.map +1 -0
  665. package/dist/components/segment-item.component.js +53 -0
  666. package/dist/components/segment-item.component.js.map +1 -0
  667. package/dist/components/slider-indicator.component.js +4 -5
  668. package/dist/components/slider-indicator.component.js.map +1 -0
  669. package/dist/components/stepper-line.component.js +4 -8
  670. package/dist/components/stepper-line.component.js.map +1 -0
  671. package/dist/components/table-cell.component.js +179 -0
  672. package/dist/components/table-cell.component.js.map +1 -0
  673. package/dist/components/table-container.component.js +32 -0
  674. package/dist/components/table-container.component.js.map +1 -0
  675. package/dist/components/table-footer.component.js +129 -0
  676. package/dist/components/table-footer.component.js.map +1 -0
  677. package/dist/components/table-header.component.js +1070 -0
  678. package/dist/components/table-header.component.js.map +1 -0
  679. package/dist/components/table-row.component.js +45 -0
  680. package/dist/components/table-row.component.js.map +1 -0
  681. package/dist/components/tooltip.component.js +60 -61
  682. package/dist/components/tooltip.component.js.map +1 -0
  683. package/dist/esm/child-of-90a8c4b5.js +9 -0
  684. package/dist/esm/child-of-90a8c4b5.js.map +1 -0
  685. package/dist/esm/constants-826f9460.js +6 -0
  686. package/dist/esm/constants-826f9460.js.map +1 -0
  687. package/dist/esm/floating-ui.dom.esm-314a52b2.js +1327 -0
  688. package/dist/esm/floating-ui.dom.esm-314a52b2.js.map +1 -0
  689. package/dist/esm/{index-9062156b.js → index-2c1bdb40.js} +980 -340
  690. package/dist/esm/index-2c1bdb40.js.map +1 -0
  691. package/dist/esm/index-934ac6da.js +2300 -0
  692. package/dist/esm/index-934ac6da.js.map +1 -0
  693. package/dist/esm/index.js +11 -0
  694. package/dist/esm/index.js.map +1 -0
  695. package/dist/esm/loader.js +6 -3
  696. package/dist/esm/loader.js.map +1 -0
  697. package/dist/esm/localization-901dc2d3.js +59 -0
  698. package/dist/esm/localization-901dc2d3.js.map +1 -0
  699. package/dist/esm/object-get-by-path-8f4f94b8.js +16 -0
  700. package/dist/esm/object-get-by-path-8f4f94b8.js.map +1 -0
  701. package/dist/esm/p-accordion.entry.js +5 -11
  702. package/dist/esm/p-accordion.entry.js.map +1 -0
  703. package/dist/esm/p-attachment.entry.js +35 -0
  704. package/dist/esm/p-attachment.entry.js.map +1 -0
  705. package/dist/esm/p-avatar-group.entry.js +5 -2
  706. package/dist/esm/p-avatar-group.entry.js.map +1 -0
  707. package/dist/esm/p-avatar.entry.js +41 -0
  708. package/dist/esm/p-avatar.entry.js.map +1 -0
  709. package/dist/esm/p-backdrop.entry.js +39 -0
  710. package/dist/esm/p-backdrop.entry.js.map +1 -0
  711. package/dist/esm/p-button_3.entry.js +142 -148
  712. package/dist/esm/p-button_3.entry.js.map +1 -0
  713. package/dist/esm/p-calendar.entry.js +699 -0
  714. package/dist/esm/p-calendar.entry.js.map +1 -0
  715. package/dist/esm/p-card-body.entry.js +4 -5
  716. package/dist/esm/p-card-body.entry.js.map +1 -0
  717. package/dist/esm/p-card-container.entry.js +4 -8
  718. package/dist/esm/p-card-container.entry.js.map +1 -0
  719. package/dist/esm/p-card-header.entry.js +5 -5
  720. package/dist/esm/p-card-header.entry.js.map +1 -0
  721. package/dist/esm/p-content-slider.entry.js +115 -56
  722. package/dist/esm/p-content-slider.entry.js.map +1 -0
  723. package/dist/esm/p-counter.entry.js +4 -8
  724. package/dist/esm/p-counter.entry.js.map +1 -0
  725. package/dist/esm/p-datepicker.entry.js +3039 -0
  726. package/dist/esm/p-datepicker.entry.js.map +1 -0
  727. package/dist/esm/p-divider.entry.js +4 -2
  728. package/dist/esm/p-divider.entry.js.map +1 -0
  729. package/dist/esm/p-drawer-body_3.entry.js +45 -0
  730. package/dist/esm/p-drawer-body_3.entry.js.map +1 -0
  731. package/dist/esm/p-drawer.entry.js +61 -0
  732. package/dist/esm/p-drawer.entry.js.map +1 -0
  733. package/dist/esm/p-dropdown-menu-container.entry.js +7 -3
  734. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -0
  735. package/dist/esm/p-dropdown_2.entry.js +158 -0
  736. package/dist/esm/p-dropdown_2.entry.js.map +1 -0
  737. package/dist/esm/p-helper_3.entry.js +144 -0
  738. package/dist/esm/p-helper_3.entry.js.map +1 -0
  739. package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1417 -8
  740. package/dist/esm/p-illustration_6.entry.js.map +1 -0
  741. package/dist/esm/p-info-panel.entry.js +6 -8
  742. package/dist/esm/p-info-panel.entry.js.map +1 -0
  743. package/dist/esm/p-label_3.entry.js +59 -0
  744. package/dist/esm/p-label_3.entry.js.map +1 -0
  745. package/dist/esm/p-layout.entry.js +4 -5
  746. package/dist/esm/p-layout.entry.js.map +1 -0
  747. package/dist/esm/p-modal-body_4.entry.js +72 -0
  748. package/dist/esm/p-modal-body_4.entry.js.map +1 -0
  749. package/dist/esm/p-modal.entry.js +34 -21
  750. package/dist/esm/p-modal.entry.js.map +1 -0
  751. package/dist/esm/p-navbar.entry.js +5 -9
  752. package/dist/esm/p-navbar.entry.js.map +1 -0
  753. package/dist/esm/p-navigation-item.entry.js +8 -5
  754. package/dist/esm/p-navigation-item.entry.js.map +1 -0
  755. package/dist/esm/p-page-size-select_3.entry.js +218 -0
  756. package/dist/esm/p-page-size-select_3.entry.js.map +1 -0
  757. package/dist/esm/p-profile.entry.js +14 -15
  758. package/dist/esm/p-profile.entry.js.map +1 -0
  759. package/dist/esm/p-select.entry.js +241 -0
  760. package/dist/esm/p-select.entry.js.map +1 -0
  761. package/dist/esm/p-slider-indicator.entry.js +4 -5
  762. package/dist/esm/p-slider-indicator.entry.js.map +1 -0
  763. package/dist/esm/p-status.entry.js +7 -5
  764. package/dist/esm/p-status.entry.js.map +1 -0
  765. package/dist/esm/p-stepper-item.entry.js +22 -0
  766. package/dist/esm/p-stepper-item.entry.js.map +1 -0
  767. package/dist/esm/p-stepper-line.entry.js +19 -0
  768. package/dist/esm/p-stepper-line.entry.js.map +1 -0
  769. package/dist/esm/p-stepper.entry.js +53 -44
  770. package/dist/esm/p-stepper.entry.js.map +1 -0
  771. package/dist/esm/p-tab-group.entry.js +11 -10
  772. package/dist/esm/p-tab-group.entry.js.map +1 -0
  773. package/dist/esm/p-tab-item.entry.js +4 -5
  774. package/dist/esm/p-tab-item.entry.js.map +1 -0
  775. package/dist/esm/p-table-column.entry.js +26 -0
  776. package/dist/esm/p-table-column.entry.js.map +1 -0
  777. package/dist/esm/p-table.entry.js +356 -0
  778. package/dist/esm/p-table.entry.js.map +1 -0
  779. package/dist/esm/p-toast-container.entry.js +18 -0
  780. package/dist/esm/p-toast-container.entry.js.map +1 -0
  781. package/dist/esm/p-toast.entry.js +31 -0
  782. package/dist/esm/p-toast.entry.js.map +1 -0
  783. package/dist/esm/p-tooltip.entry.js +59 -61
  784. package/dist/esm/p-tooltip.entry.js.map +1 -0
  785. package/dist/esm/paperless.js +9 -3
  786. package/dist/esm/paperless.js.map +1 -0
  787. package/dist/esm/polyfills/css-shim.js +1 -1
  788. package/dist/index.html +1 -1
  789. package/dist/paperless/index.esm.js +2 -0
  790. package/dist/paperless/index.esm.js.map +1 -0
  791. package/dist/paperless/p-07259c61.entry.js +2 -0
  792. package/dist/paperless/p-07259c61.entry.js.map +1 -0
  793. package/dist/paperless/p-11f5c8c7.entry.js +2 -0
  794. package/dist/paperless/p-11f5c8c7.entry.js.map +1 -0
  795. package/dist/paperless/p-12171df4.entry.js +2 -0
  796. package/dist/paperless/p-12171df4.entry.js.map +1 -0
  797. package/dist/paperless/p-1630e39b.entry.js +2 -0
  798. package/dist/paperless/p-1630e39b.entry.js.map +1 -0
  799. package/dist/paperless/p-18c0dd17.entry.js +2 -0
  800. package/dist/paperless/p-18c0dd17.entry.js.map +1 -0
  801. package/dist/paperless/p-195632a8.entry.js +2 -0
  802. package/dist/paperless/p-195632a8.entry.js.map +1 -0
  803. package/dist/paperless/p-1f55126f.entry.js +2 -0
  804. package/dist/paperless/p-1f55126f.entry.js.map +1 -0
  805. package/dist/paperless/p-26da620b.entry.js +2 -0
  806. package/dist/paperless/p-26da620b.entry.js.map +1 -0
  807. package/dist/paperless/p-2a668e75.entry.js +2 -0
  808. package/dist/paperless/p-2a668e75.entry.js.map +1 -0
  809. package/dist/paperless/p-350d452b.entry.js +2 -0
  810. package/dist/paperless/p-350d452b.entry.js.map +1 -0
  811. package/dist/paperless/p-36967a97.entry.js +2 -0
  812. package/dist/paperless/p-36967a97.entry.js.map +1 -0
  813. package/dist/paperless/p-3d8b2178.entry.js +2 -0
  814. package/dist/paperless/p-3d8b2178.entry.js.map +1 -0
  815. package/dist/paperless/p-47bcc23e.entry.js +2 -0
  816. package/dist/paperless/p-47bcc23e.entry.js.map +1 -0
  817. package/dist/paperless/p-47e461b7.entry.js +2 -0
  818. package/dist/paperless/p-47e461b7.entry.js.map +1 -0
  819. package/dist/paperless/p-4c51a801.entry.js +2 -0
  820. package/dist/paperless/p-4c51a801.entry.js.map +1 -0
  821. package/dist/paperless/p-4e650fe4.js +2 -0
  822. package/dist/paperless/p-4e650fe4.js.map +1 -0
  823. package/dist/paperless/p-51408aca.entry.js +2 -0
  824. package/dist/paperless/p-51408aca.entry.js.map +1 -0
  825. package/dist/paperless/p-594b28a7.entry.js +2 -0
  826. package/dist/paperless/p-594b28a7.entry.js.map +1 -0
  827. package/dist/paperless/p-5c7b20a3.entry.js +2 -0
  828. package/dist/paperless/p-5c7b20a3.entry.js.map +1 -0
  829. package/dist/paperless/p-6124f388.entry.js +2 -0
  830. package/dist/paperless/p-6124f388.entry.js.map +1 -0
  831. package/dist/paperless/p-6c60fd3d.js +2 -0
  832. package/dist/paperless/p-6c60fd3d.js.map +1 -0
  833. package/dist/paperless/p-6ccf5cdd.js +3 -0
  834. package/dist/paperless/p-6ccf5cdd.js.map +1 -0
  835. package/dist/paperless/p-6d5aa646.entry.js +2 -0
  836. package/dist/paperless/p-6d5aa646.entry.js.map +1 -0
  837. package/dist/paperless/p-6f1352e0.entry.js +2 -0
  838. package/dist/paperless/p-6f1352e0.entry.js.map +1 -0
  839. package/dist/paperless/p-8a6728d5.js +2 -0
  840. package/dist/paperless/p-8a6728d5.js.map +1 -0
  841. package/dist/paperless/p-910bd6bc.entry.js +2 -0
  842. package/dist/paperless/p-910bd6bc.entry.js.map +1 -0
  843. package/dist/paperless/p-91725831.entry.js +2 -0
  844. package/dist/paperless/p-91725831.entry.js.map +1 -0
  845. package/dist/paperless/p-946286e2.entry.js +2 -0
  846. package/dist/paperless/p-946286e2.entry.js.map +1 -0
  847. package/dist/paperless/p-a1c1d95b.entry.js +2 -0
  848. package/dist/paperless/p-a1c1d95b.entry.js.map +1 -0
  849. package/dist/paperless/p-a23ea8fe.entry.js +2 -0
  850. package/dist/paperless/p-a23ea8fe.entry.js.map +1 -0
  851. package/dist/paperless/p-abcd80e9.entry.js +2 -0
  852. package/dist/paperless/p-abcd80e9.entry.js.map +1 -0
  853. package/dist/paperless/p-ae248aef.js +2 -0
  854. package/dist/paperless/p-ae248aef.js.map +1 -0
  855. package/dist/paperless/p-b0398d3b.entry.js +2 -0
  856. package/dist/paperless/p-b0398d3b.entry.js.map +1 -0
  857. package/dist/paperless/p-b2bc1d2a.entry.js +2 -0
  858. package/dist/paperless/p-b2bc1d2a.entry.js.map +1 -0
  859. package/dist/paperless/p-b5ce8cd4.entry.js +2 -0
  860. package/dist/paperless/p-b5ce8cd4.entry.js.map +1 -0
  861. package/dist/paperless/p-b92dd098.entry.js +2 -0
  862. package/dist/paperless/p-b92dd098.entry.js.map +1 -0
  863. package/dist/paperless/p-b9f742e0.entry.js +2 -0
  864. package/dist/paperless/p-b9f742e0.entry.js.map +1 -0
  865. package/dist/paperless/p-bf0eca4f.entry.js +2 -0
  866. package/dist/paperless/p-bf0eca4f.entry.js.map +1 -0
  867. package/dist/paperless/p-ce1abd74.entry.js +2 -0
  868. package/dist/paperless/p-ce1abd74.entry.js.map +1 -0
  869. package/dist/paperless/p-ce443f5b.entry.js +2 -0
  870. package/dist/paperless/p-ce443f5b.entry.js.map +1 -0
  871. package/dist/paperless/p-da2426c7.js +2 -0
  872. package/dist/paperless/p-da2426c7.js.map +1 -0
  873. package/dist/paperless/p-da6e5abd.entry.js +2 -0
  874. package/dist/paperless/p-da6e5abd.entry.js.map +1 -0
  875. package/dist/paperless/p-e17560e6.entry.js +2 -0
  876. package/dist/paperless/p-e17560e6.entry.js.map +1 -0
  877. package/dist/paperless/p-e1da7376.entry.js +2 -0
  878. package/dist/paperless/p-e1da7376.entry.js.map +1 -0
  879. package/dist/paperless/p-e9a1b51e.entry.js +2 -0
  880. package/dist/paperless/p-e9a1b51e.entry.js.map +1 -0
  881. package/dist/paperless/p-ec850aca.entry.js +2 -0
  882. package/dist/paperless/p-ec850aca.entry.js.map +1 -0
  883. package/dist/paperless/p-ed6edf0a.entry.js +2 -0
  884. package/dist/paperless/p-ed6edf0a.entry.js.map +1 -0
  885. package/dist/paperless/p-f47247a6.entry.js +2 -0
  886. package/dist/paperless/p-f47247a6.entry.js.map +1 -0
  887. package/dist/paperless/p-fef32402.js +2 -0
  888. package/dist/paperless/p-fef32402.js.map +1 -0
  889. package/dist/paperless/paperless.css +1003 -801
  890. package/dist/paperless/paperless.esm.js +2 -1
  891. package/dist/paperless/paperless.esm.js.map +1 -0
  892. package/dist/style/_fonts.scss +70 -0
  893. package/dist/style/_helpers.scss +5 -0
  894. package/dist/style/_mixins.scss +1 -0
  895. package/dist/style/_reset.scss +30 -0
  896. package/dist/style/_tailwind.scss +3 -0
  897. package/dist/style/_typograhpy.scss +29 -0
  898. package/dist/style/_variables.scss +2 -0
  899. package/dist/style/form/_checkbox.scss +111 -0
  900. package/dist/style/form/_input.scss +31 -0
  901. package/dist/style/form/_mixins.scss +114 -0
  902. package/dist/style/form/_radio.scss +58 -0
  903. package/dist/style/form/_textarea.scss +18 -0
  904. package/dist/style/form/index.scss +4 -0
  905. package/dist/style/mixins/_scrollbar.scss +32 -0
  906. package/dist/style/paperless.scss +12 -0
  907. package/dist/sw.js +1 -1
  908. package/dist/sw.js.map +1 -1
  909. package/dist/tailwind/animation.js +72 -2
  910. package/dist/tailwind/border-radius.js +1 -0
  911. package/dist/tailwind/height.js +5 -0
  912. package/dist/tailwind/plugins/safe-area.js +98 -0
  913. package/dist/tailwind/screens.js +6 -6
  914. package/dist/tailwind/shadows.js +2 -0
  915. package/dist/tailwind/width.js +19 -13
  916. package/dist/tailwind/z-index.js +15 -1
  917. package/dist/tailwind.config.js +9 -2
  918. package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
  919. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +31 -0
  920. package/dist/types/components/atoms/button/button.component.d.ts +5 -5
  921. package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +7 -0
  922. package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +7 -0
  923. package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +12 -0
  924. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +8 -0
  925. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
  926. package/dist/types/components/atoms/helper/helper.component.d.ts +1 -1
  927. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  928. package/dist/types/components/atoms/illustration/illustration.component.d.ts +1 -1
  929. package/dist/types/components/atoms/label/label.component.d.ts +33 -0
  930. package/dist/types/components/atoms/layout/layout.component.d.ts +1 -1
  931. package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
  932. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +4 -0
  933. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +4 -0
  934. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +0 -4
  935. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +1 -1
  936. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +1 -1
  937. package/dist/types/components/atoms/status/status.component.d.ts +1 -1
  938. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +4 -0
  939. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  940. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
  941. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +10 -5
  942. package/dist/types/components/helpers/table-column/table-column.component.d.ts +42 -0
  943. package/dist/types/components/molecules/attachment/attachment.component.d.ts +28 -0
  944. package/dist/types/components/molecules/calendar/calendar.component.d.ts +76 -0
  945. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +14 -5
  946. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +97 -0
  947. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +29 -6
  948. package/dist/types/components/molecules/input-error/input-error.component.d.ts +12 -0
  949. package/dist/types/components/molecules/input-group/input-group.component.d.ts +22 -3
  950. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  951. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
  952. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  953. package/dist/types/components/molecules/profile/profile.component.d.ts +2 -1
  954. package/dist/types/components/molecules/select/select.component.d.ts +141 -0
  955. package/dist/types/components/molecules/stepper/stepper.component.d.ts +5 -2
  956. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
  957. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +63 -0
  958. package/dist/types/components/molecules/table-header/table-header.component.d.ts +101 -0
  959. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  960. package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
  961. package/dist/types/components/organisms/drawer/drawer.component.d.ts +52 -0
  962. package/dist/types/components/organisms/modal/modal.component.d.ts +24 -4
  963. package/dist/types/components/organisms/table/table.component.d.ts +240 -0
  964. package/dist/types/components.d.ts +2508 -535
  965. package/dist/types/index.d.ts +2 -0
  966. package/dist/types/stencil-public-runtime.d.ts +92 -19
  967. package/dist/types/types/index.d.ts +2 -0
  968. package/dist/types/types/table.d.ts +29 -0
  969. package/dist/types/types/tailwind.d.ts +2 -0
  970. package/dist/types/utils/icons.d.ts +6 -0
  971. package/dist/types/utils/illustrations.d.ts +3 -0
  972. package/dist/types/utils/index.d.ts +6 -0
  973. package/dist/types/utils/localization.d.ts +2 -0
  974. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  975. package/dist/types/utils/transformers.d.ts +2 -0
  976. package/dist/{workbox-5fe694da.js → workbox-bc53c9ad.js} +2 -2
  977. package/dist/workbox-bc53c9ad.js.map +1 -0
  978. package/hydrate/index.d.ts +218 -0
  979. package/hydrate/index.js +21136 -0
  980. package/hydrate/package.json +6 -0
  981. package/loader/index.d.ts +9 -0
  982. package/loader/package.json +1 -0
  983. package/package.json +24 -18
  984. package/dist/build/p-113baa35.entry.js +0 -1
  985. package/dist/build/p-1e7d45e4.entry.js +0 -1
  986. package/dist/build/p-1ef22f4e.entry.js +0 -1
  987. package/dist/build/p-2672f14b.entry.js +0 -1
  988. package/dist/build/p-2beaf0e8.entry.js +0 -1
  989. package/dist/build/p-3f6c9d44.entry.js +0 -1
  990. package/dist/build/p-4336cbbc.entry.js +0 -1
  991. package/dist/build/p-58ce5668.entry.js +0 -1
  992. package/dist/build/p-6088647a.entry.js +0 -1
  993. package/dist/build/p-6835a9e3.entry.js +0 -1
  994. package/dist/build/p-6e778574.entry.js +0 -1
  995. package/dist/build/p-79d3258f.entry.js +0 -1
  996. package/dist/build/p-801d05b6.entry.js +0 -1
  997. package/dist/build/p-829c4101.entry.js +0 -1
  998. package/dist/build/p-89fda3a8.entry.js +0 -1
  999. package/dist/build/p-8ac8a69d.entry.js +0 -1
  1000. package/dist/build/p-8b743795.entry.js +0 -1
  1001. package/dist/build/p-92b6c76c.entry.js +0 -1
  1002. package/dist/build/p-938f52ee.entry.js +0 -1
  1003. package/dist/build/p-9d98d0d9.entry.js +0 -1
  1004. package/dist/build/p-a5ebbd0c.entry.js +0 -1
  1005. package/dist/build/p-a6127c75.entry.js +0 -1
  1006. package/dist/build/p-a7086ffa.js +0 -1
  1007. package/dist/build/p-aa14483b.entry.js +0 -1
  1008. package/dist/build/p-bc7e8cc4.js +0 -2
  1009. package/dist/build/p-bd50db3d.entry.js +0 -1
  1010. package/dist/build/p-c27046e6.entry.js +0 -1
  1011. package/dist/build/p-c59d9fc2.entry.js +0 -1
  1012. package/dist/build/p-cc177072.entry.js +0 -1
  1013. package/dist/build/p-d32f2578.entry.js +0 -1
  1014. package/dist/build/p-e20a1842.entry.js +0 -1
  1015. package/dist/build/p-e2a98d53.entry.js +0 -1
  1016. package/dist/build/p-e934ef94.entry.js +0 -1
  1017. package/dist/build/p-e9e20ac3.entry.js +0 -1
  1018. package/dist/build/p-ec2a5f95.entry.js +0 -1
  1019. package/dist/build/p-ede5e914.entry.js +0 -1
  1020. package/dist/cjs/p-avatar_2.cjs.entry.js +0 -179
  1021. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
  1022. package/dist/cjs/p-helper.cjs.entry.js +0 -23
  1023. package/dist/cjs/p-input-group.cjs.entry.js +0 -51
  1024. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +0 -101
  1025. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  1026. package/dist/cjs/p-pagination.cjs.entry.js +0 -171
  1027. package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
  1028. package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
  1029. package/dist/cjs/p-stepper-item_2.cjs.entry.js +0 -56
  1030. package/dist/cjs/p-tag.cjs.entry.js +0 -27
  1031. package/dist/cjs/popper-e0c4ed4c.js +0 -1790
  1032. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.css +0 -7
  1033. package/dist/collection/components/atoms/modal-backdrop/modal-backdrop.component.js +0 -15
  1034. package/dist/collection/components/atoms/tab-group/tab-group.component.css +0 -9
  1035. package/dist/collection/components/atoms/tag/tag.component.css +0 -51
  1036. package/dist/collection/components/atoms/tag/tag.component.js +0 -64
  1037. package/dist/collection/utils/types.js +0 -1
  1038. package/dist/collection/utils/utils.js +0 -3
  1039. package/dist/components/avatar.component.js +0 -54
  1040. package/dist/components/modal-backdrop.component.js +0 -30
  1041. package/dist/components/p-modal-backdrop.js +0 -6
  1042. package/dist/components/p-tag.js +0 -44
  1043. package/dist/components/popper.js +0 -1788
  1044. package/dist/components/stepper-item.component.js +0 -57
  1045. package/dist/esm/p-avatar_2.entry.js +0 -174
  1046. package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
  1047. package/dist/esm/p-helper.entry.js +0 -19
  1048. package/dist/esm/p-input-group.entry.js +0 -47
  1049. package/dist/esm/p-modal-backdrop_5.entry.js +0 -93
  1050. package/dist/esm/p-pagination-item.entry.js +0 -19
  1051. package/dist/esm/p-pagination.entry.js +0 -167
  1052. package/dist/esm/p-segment-container.entry.js +0 -15
  1053. package/dist/esm/p-segment-item.entry.js +0 -25
  1054. package/dist/esm/p-stepper-item_2.entry.js +0 -51
  1055. package/dist/esm/p-tag.entry.js +0 -23
  1056. package/dist/esm/popper-41c6f9cd.js +0 -1788
  1057. package/dist/paperless/p-113baa35.entry.js +0 -1
  1058. package/dist/paperless/p-1e7d45e4.entry.js +0 -1
  1059. package/dist/paperless/p-1ef22f4e.entry.js +0 -1
  1060. package/dist/paperless/p-2672f14b.entry.js +0 -1
  1061. package/dist/paperless/p-2beaf0e8.entry.js +0 -1
  1062. package/dist/paperless/p-3f6c9d44.entry.js +0 -1
  1063. package/dist/paperless/p-4336cbbc.entry.js +0 -1
  1064. package/dist/paperless/p-58ce5668.entry.js +0 -1
  1065. package/dist/paperless/p-6088647a.entry.js +0 -1
  1066. package/dist/paperless/p-6835a9e3.entry.js +0 -1
  1067. package/dist/paperless/p-6e778574.entry.js +0 -1
  1068. package/dist/paperless/p-79d3258f.entry.js +0 -1
  1069. package/dist/paperless/p-801d05b6.entry.js +0 -1
  1070. package/dist/paperless/p-829c4101.entry.js +0 -1
  1071. package/dist/paperless/p-89fda3a8.entry.js +0 -1
  1072. package/dist/paperless/p-8ac8a69d.entry.js +0 -1
  1073. package/dist/paperless/p-8b743795.entry.js +0 -1
  1074. package/dist/paperless/p-92b6c76c.entry.js +0 -1
  1075. package/dist/paperless/p-938f52ee.entry.js +0 -1
  1076. package/dist/paperless/p-9d98d0d9.entry.js +0 -1
  1077. package/dist/paperless/p-a5ebbd0c.entry.js +0 -1
  1078. package/dist/paperless/p-a6127c75.entry.js +0 -1
  1079. package/dist/paperless/p-a7086ffa.js +0 -1
  1080. package/dist/paperless/p-aa14483b.entry.js +0 -1
  1081. package/dist/paperless/p-bc7e8cc4.js +0 -2
  1082. package/dist/paperless/p-bd50db3d.entry.js +0 -1
  1083. package/dist/paperless/p-c27046e6.entry.js +0 -1
  1084. package/dist/paperless/p-c59d9fc2.entry.js +0 -1
  1085. package/dist/paperless/p-cc177072.entry.js +0 -1
  1086. package/dist/paperless/p-d32f2578.entry.js +0 -1
  1087. package/dist/paperless/p-e20a1842.entry.js +0 -1
  1088. package/dist/paperless/p-e2a98d53.entry.js +0 -1
  1089. package/dist/paperless/p-e934ef94.entry.js +0 -1
  1090. package/dist/paperless/p-e9e20ac3.entry.js +0 -1
  1091. package/dist/paperless/p-ec2a5f95.entry.js +0 -1
  1092. package/dist/paperless/p-ede5e914.entry.js +0 -1
  1093. package/dist/types/components/atoms/modal-backdrop/modal-backdrop.component.d.ts +0 -3
  1094. package/dist/types/components/atoms/tag/tag.component.d.ts +0 -11
  1095. package/dist/types/utils/types.d.ts +0 -2
  1096. package/dist/types/utils/utils.d.ts +0 -1
  1097. package/dist/workbox-5fe694da.js.map +0 -1
@@ -0,0 +1,224 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-dfc4dfec.js');
6
+ const localization = require('./localization-9e2ac7f3.js');
7
+ const constants = require('./constants-a4459ec9.js');
8
+
9
+ const PageSizeSelect = class {
10
+ constructor(hostRef) {
11
+ index.registerInstance(this, hostRef);
12
+ this.sizeChange = index.createEvent(this, "sizeChange", 7);
13
+ this._defaultButtonTemplate = (size) => localization.formatTranslation(this._locales.item, { size });
14
+ this._defaultItemTemplate = (size) => localization.formatTranslation(this._locales.item, { size });
15
+ this.size = constants.defaultSize;
16
+ this.sizeOptions = constants.defaultSizeOptions;
17
+ this.chevronPosition = 'start';
18
+ this.buttonSize = 'small';
19
+ this.buttonTemplate = this._defaultButtonTemplate;
20
+ this.itemTemplate = this._defaultItemTemplate;
21
+ this.hidden = false;
22
+ this._locales = {};
23
+ }
24
+ componentWillLoad() {
25
+ this._setLocales();
26
+ }
27
+ render() {
28
+ return (index.h(index.Host, { class: `p-page-size-select ${this.hidden && 'hidden'}` }, index.h("p-dropdown", { placement: "top-start", chevronPosition: this.chevronPosition, chevronDirection: "down" }, index.h("p-button", { variant: "secondary", slot: "trigger", size: this.buttonSize }, this.buttonTemplate
29
+ ? this.buttonTemplate(this.size)
30
+ : this._defaultButtonTemplate(this.size)), index.h("slot", { slot: "items" }, this.sizeOptions.map((option) => (index.h("p-dropdown-menu-item", { active: option === this.size, onClick: () => this._changeSize(option) }, this.itemTemplate
31
+ ? this.itemTemplate(option)
32
+ : this._defaultItemTemplate(option))))))));
33
+ }
34
+ async _setLocales() {
35
+ this._locales = await localization.getLocaleComponentStrings(this._el);
36
+ }
37
+ _changeSize(s) {
38
+ if (!s) {
39
+ return;
40
+ }
41
+ this.size = s;
42
+ this.sizeChange.emit(this.size);
43
+ }
44
+ get _el() { return index.getElement(this); }
45
+ };
46
+
47
+ const paginationComponentCss = ".flex{display:flex!important}*{box-sizing:border-box}p-pagination{display:flex}.static{position:static!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.rounded{border-radius:.25rem!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.table-cell{display:table-cell!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.pr-4{padding-right:1rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}}.h-8{height:2rem!important}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-48{width:12rem!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.ml-2{margin-left:.5rem!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.inline{display:inline!important}";
48
+
49
+ const Pagination = class {
50
+ constructor(hostRef) {
51
+ index.registerInstance(this, hostRef);
52
+ this.pageChange = index.createEvent(this, "pageChange", 7);
53
+ this._pages = [];
54
+ this._set = [];
55
+ this._nextClick = () => {
56
+ const nextPage = this.page + 1;
57
+ if (nextPage > this._pages[this._pages.length - 1]) {
58
+ return;
59
+ }
60
+ this._changePage(nextPage);
61
+ };
62
+ this._pageClick = (p) => this._changePage(p);
63
+ this._generateSet = (range = 1, enableBoundaries = true) => {
64
+ const totalPages = this._pages.length;
65
+ if (!totalPages) {
66
+ return [];
67
+ }
68
+ let start = this.page - range;
69
+ let end = this.page + range;
70
+ if (end > totalPages) {
71
+ end = totalPages;
72
+ start = totalPages - range * 2;
73
+ start = start < 1 ? 1 : start;
74
+ }
75
+ if (start <= 1) {
76
+ start = 1;
77
+ end = Math.min(range * 2 + 1, totalPages);
78
+ }
79
+ const set = [];
80
+ const previous = {
81
+ type: 'previous',
82
+ value: index.h("p-icon", { variant: "chevron", rotate: 90 }),
83
+ };
84
+ const next = {
85
+ type: 'next',
86
+ value: index.h("p-icon", { variant: "chevron", rotate: -90 }),
87
+ };
88
+ // Disable page range, display all the pages
89
+ if (range === null) {
90
+ const p = this._pages.map((p) => ({
91
+ type: 'page',
92
+ value: p,
93
+ }));
94
+ return enableBoundaries ? [previous, ...p, next] : p;
95
+ }
96
+ if (enableBoundaries) {
97
+ set.push(previous);
98
+ }
99
+ if (start <= 3) {
100
+ for (let i = 1; i < start; i++) {
101
+ set.push({
102
+ type: 'page',
103
+ value: this._pages[i - 1],
104
+ });
105
+ }
106
+ }
107
+ else {
108
+ set.push({
109
+ type: 'page',
110
+ value: 1,
111
+ });
112
+ set.push({
113
+ type: 'ellipsis',
114
+ value: 'ellipsis',
115
+ });
116
+ }
117
+ for (let i = start; i <= end; i++) {
118
+ set.push({
119
+ type: 'page',
120
+ value: this._pages[i - 1],
121
+ });
122
+ }
123
+ if (end >= totalPages - 2) {
124
+ for (let i = end + 1; i <= totalPages; i++) {
125
+ set.push({
126
+ type: 'page',
127
+ value: this._pages[i - 1],
128
+ });
129
+ }
130
+ }
131
+ else {
132
+ set.push({
133
+ type: 'ellipsis',
134
+ });
135
+ set.push({
136
+ type: 'page',
137
+ value: this._pages[this._pages.length - 1],
138
+ });
139
+ }
140
+ if (enableBoundaries) {
141
+ set.push(next);
142
+ }
143
+ return set;
144
+ };
145
+ this.page = 1;
146
+ this.pageSize = 12;
147
+ this.hideOnSinglePage = false;
148
+ this.total = undefined;
149
+ }
150
+ componentWillRender() {
151
+ this._generate();
152
+ }
153
+ render() {
154
+ var _a, _b;
155
+ return (index.h(index.Host, { class: `p-pagination ${this.hideOnSinglePage && ((_a = this._set) === null || _a === void 0 ? void 0 : _a.length) === 3 && 'hidden'}` }, (_b = this._set) === null || _b === void 0 ? void 0 : _b.map((p) => {
156
+ if (p.type === 'previous' || p.type === 'next') {
157
+ return (index.h("p-pagination-item", { onClick: () => p.type === 'previous'
158
+ ? this._previousClick()
159
+ : this._nextClick() }, p.value));
160
+ }
161
+ if (p.type === 'ellipsis') {
162
+ return index.h("p-pagination-item", null, "...");
163
+ }
164
+ return (index.h("p-pagination-item", { active: p.value === this.page, onClick: () => this._pageClick(p.value) }, p.value));
165
+ })));
166
+ }
167
+ pageChangeHandler() {
168
+ this._generate();
169
+ }
170
+ _generate() {
171
+ var _a;
172
+ this._pages = this._generatePages();
173
+ this._set = this._generateSet();
174
+ if (this.page > ((_a = this._pages) === null || _a === void 0 ? void 0 : _a.length)) {
175
+ this._changePage(this._pages.length);
176
+ }
177
+ }
178
+ _changePage(p) {
179
+ if (!p) {
180
+ return;
181
+ }
182
+ this.page = p;
183
+ this.pageChange.emit(this.page);
184
+ }
185
+ _previousClick() {
186
+ const previousPage = this.page - 1;
187
+ if (previousPage < this._pages[0]) {
188
+ return;
189
+ }
190
+ this._changePage(previousPage);
191
+ }
192
+ _generatePages() {
193
+ if (!this.total || !this.pageSize) {
194
+ return [];
195
+ }
196
+ const pages = Math.ceil(this.total / this.pageSize);
197
+ return new Array(pages).fill(undefined).map((_, i) => i + 1);
198
+ }
199
+ static get watchers() { return {
200
+ "page": ["pageChangeHandler"],
201
+ "pageSize": ["pageChangeHandler"],
202
+ "total": ["pageChangeHandler"]
203
+ }; }
204
+ };
205
+ Pagination.style = paginationComponentCss;
206
+
207
+ const paginationItemComponentCss = ".flex{display:flex!important}.h-8{height:2rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.self-center{align-self:center!important}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.table-cell{display:table-cell!important}.w-1\\/12{width:8.333333%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.pr-4{padding-right:1rem!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.w-3\\/4{width:75%!important}.gap-4{gap:1rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-48{width:12rem!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!important}}.m-0{margin:0!important}.table-row{display:table-row!important}.visible{visibility:visible!important}.absolute{position:absolute!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}.text-negative{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.text-negative-light{--tw-text-opacity:1!important;color:rgb(255 204 211/var(--tw-text-opacity))!important}.hover\\:text-negative:hover{--tw-text-opacity:1!important;color:rgb(185 30 40/var(--tw-text-opacity))!important}.ml-2{margin-left:.5rem!important}.items-end{align-items:flex-end!important}.justify-between{justify-content:space-between!important}.rounded-bl-none{border-bottom-left-radius:0!important}.rounded-br-none{border-bottom-right-radius:0!important}.rounded-tl-none{border-top-left-radius:0!important}.rounded-tr-none{border-top-right-radius:0!important}.border-l-0{border-left-width:0!important}.border-r-0{border-right-width:0!important}.pl-0{padding-left:0!important}.pr-0{padding-right:0!important}.inline{display:inline!important}";
208
+
209
+ const PaginationItem = class {
210
+ constructor(hostRef) {
211
+ index.registerInstance(this, hostRef);
212
+ this.active = false;
213
+ }
214
+ render() {
215
+ return (index.h(index.Host, { class: `p-pagination-item ${this.active && 'active'}` }, index.h("slot", null)));
216
+ }
217
+ };
218
+ PaginationItem.style = paginationItemComponentCss;
219
+
220
+ exports.p_page_size_select = PageSizeSelect;
221
+ exports.p_pagination = Pagination;
222
+ exports.p_pagination_item = PaginationItem;
223
+
224
+ //# sourceMappingURL=p-page-size-select_3.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-page-size-select.p-pagination.p-pagination-item.entry.cjs.js","mappings":";;;;;;;;MAuBa,cAAc;;;;IACf,2BAAsB,GAAiB,CAAC,IAAI,KAChDA,8BAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IAC5C,yBAAoB,GAAiB,CAAC,IAAI,KAC9CA,8BAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;gBAIGC,qBAAW;uBAKlCC,4BAAkB;2BAUP,OAAO;sBAKT,OAAO;0BAKT,IAAI,CAAC,sBAAsB;wBAK7B,IAAI,CAAC,oBAAoB;kBAUpC,KAAK;oBAKE,EAAE;;EAEnC,iBAAiB;IACb,IAAI,CAAC,WAAW,EAAE,CAAC;GACtB;EAED,MAAM;IACF,QACIC,QAACC,UAAI,IAAC,KAAK,EAAE,sBAAsB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IACxDD,wBACI,SAAS,EAAC,WAAW,EACrB,eAAe,EAAE,IAAI,CAAC,eAAe,EACrC,gBAAgB,EAAC,MAAM,IAEvBA,sBACI,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,SAAS,EACd,IAAI,EAAE,IAAI,CAAC,UAAU,IAEpB,IAAI,CAAC,cAAc;QACd,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC;QAC9B,IAAI,CAAC,sBAAsB,CAAC,IAAI,CAAC,IAAI,CAAC,CACrC,EACXA,kBAAM,IAAI,EAAC,OAAO,IACb,IAAI,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,MAAM,MACzBA,kCACI,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC,IAAI,EAC5B,OAAO,EAAE,MAAM,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,IAEtC,IAAI,CAAC,YAAY;QACZ,IAAI,CAAC,YAAY,CAAC,MAAM,CAAC;QACzB,IAAI,CAAC,oBAAoB,CAAC,MAAM,CAAC,CACpB,CAC1B,CAAC,CACC,CACE,CACV,EACT;GACL;EAGO,MAAM,WAAW;IACrB,IAAI,CAAC,QAAQ,GAAG,MAAME,sCAAyB,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;GAC7D;EAEO,WAAW,CAAC,CAAU;IAC1B,IAAI,CAAC,CAAC,EAAE;MACJ,OAAO;KACV;IAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GACnC;;;;AChIL,MAAM,sBAAsB,GAAG,i7VAAi7V;;MCmBn8V,UAAU;;;;IA0BX,WAAM,GAAa,EAAE,CAAC;IACtB,SAAI,GAAwB,EAAE,CAAC;IA+E/B,eAAU,GAAG;MACjB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;MAC/B,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE;QAChD,OAAO;OACV;MAED,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;KAC9B,CAAC;IAEM,eAAU,GAAG,CAAC,CAAU,KAAK,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAWjD,iBAAY,GAAG,CACnB,QAAgB,CAAC,EACjB,mBAA4B,IAAI;MAEhC,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;MAEtC,IAAI,CAAC,UAAU,EAAE;QACb,OAAO,EAAE,CAAC;OACb;MAED,IAAI,KAAK,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;MAC9B,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;MAE5B,IAAI,GAAG,GAAG,UAAU,EAAE;QAClB,GAAG,GAAG,UAAU,CAAC;QACjB,KAAK,GAAG,UAAU,GAAG,KAAK,GAAG,CAAC,CAAC;QAC/B,KAAK,GAAG,KAAK,GAAG,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;OACjC;MAED,IAAI,KAAK,IAAI,CAAC,EAAE;QACZ,KAAK,GAAG,CAAC,CAAC;QACV,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;OAC7C;MAED,MAAM,GAAG,GAAG,EAAE,CAAC;MAEf,MAAM,QAAQ,GAAG;QACb,IAAI,EAAE,UAAU;QAChB,KAAK,EAAEF,oBAAQ,OAAO,EAAC,SAAS,EAAC,MAAM,EAAE,EAAE,GAAI;OAClD,CAAC;MAEF,MAAM,IAAI,GAAG;QACT,IAAI,EAAE,MAAM;QACZ,KAAK,EAAEA,oBAAQ,OAAO,EAAC,SAAS,EAAC,MAAM,EAAE,CAAC,EAAE,GAAI;OACnD,CAAC;;MAGF,IAAI,KAAK,KAAK,IAAI,EAAE;QAChB,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM;UAC9B,IAAI,EAAE,MAAM;UACZ,KAAK,EAAE,CAAC;SACX,CAAC,CAAC,CAAC;QAEJ,OAAO,gBAAgB,GAAG,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC;OACxD;MAED,IAAI,gBAAgB,EAAE;QAClB,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;OACtB;MAED,IAAI,KAAK,IAAI,CAAC,EAAE;QACZ,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;UAC5B,GAAG,CAAC,IAAI,CAAC;YACL,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;WAC5B,CAAC,CAAC;SACN;OACJ;WAAM;QACH,GAAG,CAAC,IAAI,CAAC;UACL,IAAI,EAAE,MAAM;UACZ,KAAK,EAAE,CAAC;SACX,CAAC,CAAC;QAEH,GAAG,CAAC,IAAI,CAAC;UACL,IAAI,EAAE,UAAU;UAChB,KAAK,EAAE,UAAU;SACpB,CAAC,CAAC;OACN;MAED,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,EAAE;QAC/B,GAAG,CAAC,IAAI,CAAC;UACL,IAAI,EAAE,MAAM;UACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;SAC5B,CAAC,CAAC;OACN;MAED,IAAI,GAAG,IAAI,UAAU,GAAG,CAAC,EAAE;QACvB,KAAK,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,EAAE,EAAE;UACxC,GAAG,CAAC,IAAI,CAAC;YACL,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;WAC5B,CAAC,CAAC;SACN;OACJ;WAAM;QACH,GAAG,CAAC,IAAI,CAAC;UACL,IAAI,EAAE,UAAU;SACnB,CAAC,CAAC;QAEH,GAAG,CAAC,IAAI,CAAC;UACL,IAAI,EAAE,MAAM;UACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;SAC7C,CAAC,CAAC;OACN;MAED,IAAI,gBAAgB,EAAE;QAClB,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;OAClB;MAED,OAAO,GAAG,CAAC;KACd,CAAC;gBA7NqD,CAAC;oBAU7B,EAAE;4BAKO,KAAK;;;EAUzC,mBAAmB;IACf,IAAI,CAAC,SAAS,EAAE,CAAC;GACpB;EAED,MAAM;;IACF,QACIA,QAACC,UAAI,IACD,KAAK,EAAE,gBACH,IAAI,CAAC,gBAAgB,IAAI,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,MAAM,MAAK,CAAC,IAAI,QACxD,EAAE,IAED,MAAA,IAAI,CAAC,IAAI,0CAAE,GAAG,CAAC,CAAC,CAAC;MACd,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,EAAE;QAC5C,QACID,+BACI,OAAO,EAAE,MACL,CAAC,CAAC,IAAI,KAAK,UAAU;cACf,IAAI,CAAC,cAAc,EAAE;cACrB,IAAI,CAAC,UAAU,EAAE,IAG1B,CAAC,CAAC,KAAK,CACQ,EACtB;OACL;MAED,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,EAAE;QACvB,OAAOA,yCAA0C,CAAC;OACrD;MAED,QACIA,+BACI,MAAM,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,EAC7B,OAAO,EAAE,MAAM,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAe,CAAC,IAEhD,CAAC,CAAC,KAAK,CACQ,EACtB;KACL,CAAC,CACC,EACT;GACL;EAKS,iBAAiB;IACvB,IAAI,CAAC,SAAS,EAAE,CAAC;GACpB;EAEO,SAAS;;IACb,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;IACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;IAEhC,IAAI,IAAI,CAAC,IAAI,IAAG,MAAA,IAAI,CAAC,MAAM,0CAAE,MAAM,CAAA,EAAE;MACjC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;KACxC;GACJ;EAEO,WAAW,CAAC,CAAU;IAC1B,IAAI,CAAC,CAAC,EAAE;MACJ,OAAO;KACV;IAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;GACnC;EAEO,cAAc;IAClB,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;IACnC,IAAI,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE;MAC/B,OAAO;KACV;IAED,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;GAClC;EAaO,cAAc;IAClB,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAC/B,OAAO,EAAE,CAAC;KACb;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;GAChE;;;;;;;;;AC/IL,MAAM,0BAA0B,GAAG,89WAA89W;;MCOp/W,cAAc;;;kBAIC,KAAK;;EAE/B,MAAM;IACJ,QACEA,QAACC,UAAI,IAAC,KAAK,EAAE,qBAAqB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IACzDD,qBAAQ,CACH,EACP;GACH;;;;;;;;","names":["formatTranslation","defaultSize","defaultSizeOptions","h","Host","getLocaleComponentStrings"],"sources":["./src/components/molecules/page-size-select/page-size-select.component.tsx","./src/components/molecules/pagination/pagination.component.scss?tag=p-pagination","./src/components/molecules/pagination/pagination.component.tsx","./src/components/atoms/pagination-item/pagination-item.component.scss?tag=p-pagination-item&encapsulation=shadow","./src/components/atoms/pagination-item/pagination-item.component.tsx"],"sourcesContent":["import {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Host,\n Listen,\n Prop,\n State,\n} from '@stencil/core';\nimport {\n formatTranslation,\n getLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n tag: 'p-page-size-select',\n shadow: true,\n})\nexport class PageSizeSelect {\n private _defaultButtonTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n private _defaultItemTemplate: templateFunc = (size) =>\n formatTranslation(this._locales.item, { size });\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n /**\n * The available sizes\n */\n @Prop() sizeOptions: number[] = defaultSizeOptions;\n\n /**\n * Event whenever the size changes\n */\n @Event() sizeChange: EventEmitter<number>;\n\n /**\n * Chevron position\n */\n @Prop() chevronPosition: 'start' | 'end' = 'start';\n\n /**\n * The size of the button\n */\n @Prop() buttonSize: 'small' | 'medium' = 'small';\n\n /**\n * The template for the data view\n */\n @Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n /**\n * The template for the data view\n */\n @Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hidden: boolean = false;\n\n /**\n * Locales used for this component\n */\n @State() private _locales: any = {};\n\n componentWillLoad() {\n this._setLocales();\n }\n\n render() {\n return (\n <Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n <p-dropdown\n placement=\"top-start\"\n chevronPosition={this.chevronPosition}\n chevronDirection=\"down\"\n >\n <p-button\n variant=\"secondary\"\n slot=\"trigger\"\n size={this.buttonSize}\n >\n {this.buttonTemplate\n ? this.buttonTemplate(this.size)\n : this._defaultButtonTemplate(this.size)}\n </p-button>\n <slot slot=\"items\">\n {this.sizeOptions.map((option) => (\n <p-dropdown-menu-item\n active={option === this.size}\n onClick={() => this._changeSize(option)}\n >\n {this.itemTemplate\n ? this.itemTemplate(option)\n : this._defaultItemTemplate(option)}\n </p-dropdown-menu-item>\n ))}\n </slot>\n </p-dropdown>\n </Host>\n );\n }\n\n @Listen('localeChanged', { target: 'body' })\n private async _setLocales(): Promise<void> {\n this._locales = await getLocaleComponentStrings(this._el);\n }\n\n private _changeSize(s?: number) {\n if (!s) {\n return;\n }\n\n this.size = s;\n this.sizeChange.emit(this.size);\n }\n}\n","p-pagination {\n @apply flex;\n}\n","import {\n Component,\n Event,\n EventEmitter,\n h,\n Host,\n Prop,\n Watch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n type: string;\n value?: number | Element | JSX.Element | string;\n};\n\n@Component({\n tag: 'p-pagination',\n styleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n /**\n * The current page\n */\n @Prop({ mutable: true, reflect: true }) page: number = 1;\n\n /**\n * Event whenever the page changes\n */\n @Event() pageChange: EventEmitter<number>;\n\n /**\n * The amount of items per page\n */\n @Prop() pageSize: number = 12;\n\n /**\n * Wether to hide when there is only 1 page available\n */\n @Prop() hideOnSinglePage: boolean = false;\n\n /**\n * The total amount of items\n */\n @Prop() total!: number;\n\n private _pages: number[] = [];\n private _set: PaginationSetItem[] = [];\n\n componentWillRender() {\n this._generate();\n }\n\n render() {\n return (\n <Host\n class={`p-pagination ${\n this.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n }`}\n >\n {this._set?.map((p) => {\n if (p.type === 'previous' || p.type === 'next') {\n return (\n <p-pagination-item\n onClick={() =>\n p.type === 'previous'\n ? this._previousClick()\n : this._nextClick()\n }\n >\n {p.value}\n </p-pagination-item>\n );\n }\n\n if (p.type === 'ellipsis') {\n return <p-pagination-item>...</p-pagination-item>;\n }\n\n return (\n <p-pagination-item\n active={p.value === this.page}\n onClick={() => this._pageClick(p.value as number)}\n >\n {p.value}\n </p-pagination-item>\n );\n })}\n </Host>\n );\n }\n\n @Watch('page')\n @Watch('pageSize')\n @Watch('total')\n protected pageChangeHandler() {\n this._generate();\n }\n\n private _generate() {\n this._pages = this._generatePages();\n this._set = this._generateSet();\n\n if (this.page > this._pages?.length) {\n this._changePage(this._pages.length);\n }\n }\n\n private _changePage(p?: number) {\n if (!p) {\n return;\n }\n\n this.page = p;\n this.pageChange.emit(this.page);\n }\n\n private _previousClick() {\n const previousPage = this.page - 1;\n if (previousPage < this._pages[0]) {\n return;\n }\n\n this._changePage(previousPage);\n }\n\n private _nextClick = () => {\n const nextPage = this.page + 1;\n if (nextPage > this._pages[this._pages.length - 1]) {\n return;\n }\n\n this._changePage(nextPage);\n };\n\n private _pageClick = (p?: number) => this._changePage(p);\n\n private _generatePages() {\n if (!this.total || !this.pageSize) {\n return [];\n }\n\n const pages = Math.ceil(this.total / this.pageSize);\n return new Array(pages).fill(undefined).map((_, i) => i + 1);\n }\n\n private _generateSet = (\n range: number = 1,\n enableBoundaries: boolean = true\n ): PaginationSetItem[] => {\n const totalPages = this._pages.length;\n\n if (!totalPages) {\n return [];\n }\n\n let start = this.page - range;\n let end = this.page + range;\n\n if (end > totalPages) {\n end = totalPages;\n start = totalPages - range * 2;\n start = start < 1 ? 1 : start;\n }\n\n if (start <= 1) {\n start = 1;\n end = Math.min(range * 2 + 1, totalPages);\n }\n\n const set = [];\n\n const previous = {\n type: 'previous',\n value: <p-icon variant=\"chevron\" rotate={90} />,\n };\n\n const next = {\n type: 'next',\n value: <p-icon variant=\"chevron\" rotate={-90} />,\n };\n\n // Disable page range, display all the pages\n if (range === null) {\n const p = this._pages.map((p) => ({\n type: 'page',\n value: p,\n }));\n\n return enableBoundaries ? [previous, ...p, next] : p;\n }\n\n if (enableBoundaries) {\n set.push(previous);\n }\n\n if (start <= 3) {\n for (let i = 1; i < start; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'page',\n value: 1,\n });\n\n set.push({\n type: 'ellipsis',\n value: 'ellipsis',\n });\n }\n\n for (let i = start; i <= end; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n\n if (end >= totalPages - 2) {\n for (let i = end + 1; i <= totalPages; i++) {\n set.push({\n type: 'page',\n value: this._pages[i - 1],\n });\n }\n } else {\n set.push({\n type: 'ellipsis',\n });\n\n set.push({\n type: 'page',\n value: this._pages[this._pages.length - 1],\n });\n }\n\n if (enableBoundaries) {\n set.push(next);\n }\n\n return set;\n };\n}\n",":host {\n @apply h-8 w-8;\n @apply flex justify-center items-center;\n @apply font-semibold text-storm-medium text-sm;\n @apply rounded;\n @apply cursor-pointer;\n}\n\n:host(:hover),\n:host(:focus) {\n @apply text-storm;\n}\n\n:host(.active) {\n @apply text-indigo bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n tag: 'p-pagination-item',\n styleUrl: 'pagination-item.component.scss',\n shadow: true,\n})\nexport class PaginationItem {\n /**\n * Wether the pagination item is active\n */\n @Prop() active: boolean = false;\n\n render() {\n return (\n <Host class={`p-pagination-item ${this.active && 'active'}`}>\n <slot />\n </Host>\n );\n }\n}\n"],"version":3}
@@ -2,39 +2,36 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-9d3b51c9.js');
5
+ const index = require('./index-dfc4dfec.js');
6
6
 
7
- const profileComponentCss = ".static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-3{gap:.75rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;height:3rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center;overflow:hidden}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host .content .name ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding-left:.5rem;padding-right:.5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}";
7
+ const profileComponentCss = ".flex{display:flex!important}.h-\\[3\\.125rem\\]{height:3.125rem!important}.h-\\[4\\.125rem\\]{height:4.125rem!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-3{gap:.75rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center;overflow:hidden}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host .content .name ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([size=small]){height:2rem}:host([size=medium]){height:3.125rem}:host([size=large]){height:4rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding:.5rem}:host(.has-dropdown[size=small]){height:3rem}:host(.has-dropdown[size=medium]){height:4.125rem}:host(.has-dropdown[size=large]){height:5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.visible{visibility:visible!important}.-rotate-0{--tw-rotate:-0deg!important}.-rotate-0,.-rotate-135{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-135{--tw-rotate:-135deg!important}.-rotate-180{--tw-rotate:-180deg!important}.-rotate-180,.-rotate-225{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-225{--tw-rotate:-225deg!important}.-rotate-25{--tw-rotate:-25deg!important}.-rotate-25,.-rotate-270{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-270{--tw-rotate:-270deg!important}.-rotate-315{--tw-rotate:-315deg!important}.-rotate-315,.-rotate-45{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-rotate-45{--tw-rotate:-45deg!important}.-rotate-90{--tw-rotate:-90deg!important}.-rotate-90,.rotate-0{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-0{--tw-rotate:0deg!important}.rotate-135{--tw-rotate:135deg!important}.rotate-135,.rotate-180{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-180{--tw-rotate:180deg!important}.rotate-225{--tw-rotate:225deg!important}.rotate-225,.rotate-25{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-25{--tw-rotate:25deg!important}.rotate-270{--tw-rotate:270deg!important}.rotate-270,.rotate-315{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-315{--tw-rotate:315deg!important}.rotate-45{--tw-rotate:45deg!important}.rotate-45,.rotate-90{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.rotate-90{--tw-rotate:90deg!important}.scale-x-flip{--tw-scale-x:-1!important}.scale-x-flip,.scale-y-flip{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.scale-y-flip{--tw-scale-y:-1!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.text-3xl{font-size:1.875rem!important;line-height:2.25rem!important}.text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}.text-5xl{font-size:3rem!important}.text-5xl,.text-6xl{line-height:1!important}.text-6xl{font-size:3.75rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-lg{font-size:1.125rem!important}.text-lg,.text-xl{line-height:1.75rem!important}.text-xl{font-size:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.text-xxs{font-size:.6875rem!important}";
8
8
 
9
9
  const Profile = class {
10
10
  constructor(hostRef) {
11
11
  index.registerInstance(this, hostRef);
12
- /**
13
- * The variant of the profile
14
- */
15
12
  this.variant = 'user';
16
- /**
17
- * The size of the profile avatar
18
- */
19
13
  this.size = 'small';
20
14
  this._dropdownOpen = false;
21
15
  }
16
+ componentWillRender() {
17
+ this._updateAvatar();
18
+ }
22
19
  render() {
23
- const hasDropdownSlot = !!this._el.querySelector('[slot="dropdown"]');
20
+ const hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
24
21
  const content = this._getContent(hasDropdownSlot);
25
- return (index.h(index.Host, { class: `p-profile ${hasDropdownSlot && 'has-dropdown'} ${this._dropdownOpen && 'active'}` }, hasDropdownSlot ? (index.h("p-dropdown", { class: "w-full min-w-0", strategy: "absolute", placement: this.variant === 'user' ? 'top-end' : 'bottom-end', onIsOpen: (ev) => (this._dropdownOpen = ev.detail) }, content, index.h("div", { slot: "items" }, index.h("slot", { name: "dropdown" })))) : (content)));
22
+ return (index.h(index.Host, { class: `p-profile ${hasDropdownSlot && 'has-dropdown'} ${this._dropdownOpen && 'active'}` }, hasDropdownSlot ? (index.h("p-dropdown", { class: "w-full min-w-0", strategy: "absolute", placement: this.variant === 'user' ? 'top-end' : 'bottom-end', applyFullWidth: true, applyMaxWidth: false, onIsOpen: (ev) => (this._dropdownOpen = ev.detail) }, content, index.h("div", { slot: "items" }, index.h("slot", { name: "dropdown" })))) : (content)));
26
23
  }
27
24
  _getContent(hasDropdownSlot) {
28
- const avatar = this._generateAvatar();
29
- return (index.h("div", { class: "content", slot: "trigger" }, avatar, index.h("div", { class: "name" }, index.h("slot", { name: "title" }), index.h("slot", { name: "subtitle" })), hasDropdownSlot && this._getIcon()));
25
+ return (index.h("div", { class: "content", slot: "trigger" }, index.h("slot", { name: "avatar" }), index.h("div", { class: "name" }, index.h("slot", { name: "title" }), index.h("slot", { name: "subtitle" })), hasDropdownSlot && this._getIcon()));
30
26
  }
31
- _generateAvatar() {
32
- var _a, _b, _c;
27
+ _updateAvatar() {
28
+ var _a, _b;
33
29
  const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
34
30
  if (!avatar) {
35
31
  return;
36
32
  }
37
- return (index.h("p-avatar", { class: "flex", src: (_a = avatar.src) !== null && _a !== void 0 ? _a : null, "default-image": (_b = avatar.defaultImage) !== null && _b !== void 0 ? _b : null, variant: (_c = this.variant) !== null && _c !== void 0 ? _c : avatar.variant, size: this.size }));
33
+ avatar.variant = (_a = this.variant) !== null && _a !== void 0 ? _a : avatar.variant;
34
+ avatar.size = (_b = this.size) !== null && _b !== void 0 ? _b : avatar === null || avatar === void 0 ? void 0 : avatar.size;
38
35
  }
39
36
  _getIcon() {
40
37
  return (index.h("p-icon", { class: "ml-auto", variant: this.variant === 'company' ? 'chevron' : 'more' }));
@@ -44,3 +41,5 @@ const Profile = class {
44
41
  Profile.style = profileComponentCss;
45
42
 
46
43
  exports.p_profile = Profile;
44
+
45
+ //# sourceMappingURL=p-profile.cjs.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-profile.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,mBAAmB,GAAG,yrMAAyrM;;MCOxsM,OAAO;;;mBAIsB,MAAM;gBAKkB,OAAO;yBAOpC,KAAK;;EAEtC,mBAAmB;IACf,IAAI,CAAC,aAAa,EAAE,CAAC;GACxB;EAED,MAAM;IACF,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC5C,4BAA4B,CAC/B,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAClD,QACIA,QAACC,UAAI,IACD,KAAK,EAAE,aAAa,eAAe,IAAI,cAAc,IACjD,IAAI,CAAC,aAAa,IAAI,QAC1B,EAAE,IAED,eAAe,IACZD,wBACI,KAAK,EAAC,gBAAgB,EACtB,QAAQ,EAAC,UAAU,EACnB,SAAS,EACL,IAAI,CAAC,OAAO,KAAK,MAAM,GAAG,SAAS,GAAG,YAAY,EAEtD,cAAc,EAAE,IAAI,EACpB,aAAa,EAAE,KAAK,EACpB,QAAQ,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,MAAM,CAAC,IAEjD,OAAO,EACRA,iBAAK,IAAI,EAAC,OAAO,IACbA,kBAAM,IAAI,EAAC,UAAU,GAAG,CACtB,CACG,KAEb,OAAO,CACV,CACE,EACT;GACL;EAEO,WAAW,CAAC,eAAe;IAC/B,QACIA,iBAAK,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,IAC/BA,kBAAM,IAAI,EAAC,QAAQ,GAAG,EACtBA,iBAAK,KAAK,EAAC,MAAM,IACbA,kBAAM,IAAI,EAAC,OAAO,GAAG,EACrBA,kBAAM,IAAI,EAAC,UAAU,GAAG,CACtB,EAEL,eAAe,IAAI,IAAI,CAAC,QAAQ,EAAE,CACjC,EACR;GACL;EAEO,aAAa;;IACjB,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CACjC,yBAAyB,CACN,CAAC;IAExB,IAAI,CAAC,MAAM,EAAE;MACT,OAAO;KACV;IAED,MAAM,CAAC,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,MAAM,CAAC,OAAO,CAAC;IAChD,MAAM,CAAC,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC;GAC3C;EAEO,QAAQ;IACZ,QACIA,oBACI,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,GAC1D,EACJ;GACL;;;;;;;","names":["h","Host"],"sources":["./src/components/molecules/profile/profile.component.scss?tag=p-profile&encapsulation=shadow","./src/components/molecules/profile/profile.component.tsx"],"sourcesContent":[":host {\n @apply flex;\n\n .content {\n @apply flex gap-3 items-center w-full;\n\n .name {\n @apply flex flex-col justify-center overflow-hidden;\n\n > *:nth-child(1) {\n @apply text-sm text-storm-dark;\n @apply font-semibold;\n }\n\n > *:nth-child(2) {\n @apply text-sm text-storm-vague;\n }\n\n ::slotted(*) {\n @apply text-ellipsis overflow-hidden whitespace-nowrap;\n }\n }\n }\n}\n\n:host([size='small']) {\n @apply h-8;\n}\n\n:host([size='medium']) {\n @apply h-[3.125rem];\n}\n\n:host([size='large']) {\n @apply h-16;\n}\n\n:host(.has-dropdown) {\n @apply cursor-pointer;\n\n .content {\n @apply p-2 rounded;\n @apply border border-solid border-mystic-dark #{!important};\n }\n}\n\n:host(.has-dropdown[size='small']) {\n @apply h-12;\n}\n\n:host(.has-dropdown[size='medium']) {\n @apply h-[4.125rem];\n}\n\n:host(.has-dropdown[size='large']) {\n @apply h-20;\n}\n\n:host(.has-dropdown:hover),\n:host(.active) {\n .content {\n @apply shadow-4;\n }\n}\n\n:host(.active) {\n .content {\n p-icon {\n @apply text-indigo;\n }\n }\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n tag: 'p-profile',\n styleUrl: 'profile.component.scss',\n shadow: true,\n})\nexport class Profile {\n /**\n * The variant of the profile\n */\n @Prop() variant: 'company' | 'user' = 'user';\n\n /**\n * The size of the profile avatar\n */\n @Prop({ reflect: true }) size: 'small' | 'medium' | 'large' = 'small';\n\n /**\n * The host element\n */\n @Element() private _el: HTMLElement;\n\n @State() private _dropdownOpen = false;\n\n componentWillRender() {\n this._updateAvatar();\n }\n\n render() {\n const hasDropdownSlot = !!this._el.querySelector(\n ':scope > [slot=\"dropdown\"]'\n );\n const content = this._getContent(hasDropdownSlot);\n return (\n <Host\n class={`p-profile ${hasDropdownSlot && 'has-dropdown'} ${\n this._dropdownOpen && 'active'\n }`}\n >\n {hasDropdownSlot ? (\n <p-dropdown\n class=\"w-full min-w-0\"\n strategy=\"absolute\"\n placement={\n this.variant === 'user' ? 'top-end' : 'bottom-end'\n }\n applyFullWidth={true}\n applyMaxWidth={false}\n onIsOpen={(ev) => (this._dropdownOpen = ev.detail)}\n >\n {content}\n <div slot=\"items\">\n <slot name=\"dropdown\" />\n </div>\n </p-dropdown>\n ) : (\n content\n )}\n </Host>\n );\n }\n\n private _getContent(hasDropdownSlot) {\n return (\n <div class=\"content\" slot=\"trigger\">\n <slot name=\"avatar\" />\n <div class=\"name\">\n <slot name=\"title\" />\n <slot name=\"subtitle\" />\n </div>\n\n {hasDropdownSlot && this._getIcon()}\n </div>\n );\n }\n\n private _updateAvatar() {\n const avatar = this._el.querySelector(\n 'p-avatar[slot=\"avatar\"]'\n ) as HTMLPAvatarElement;\n\n if (!avatar) {\n return;\n }\n\n avatar.variant = this.variant ?? avatar.variant;\n avatar.size = this.size ?? avatar?.size;\n }\n\n private _getIcon() {\n return (\n <p-icon\n class=\"ml-auto\"\n variant={this.variant === 'company' ? 'chevron' : 'more'}\n />\n );\n }\n}\n"],"version":3}