@paperless/core 2.0.1-beta.32 → 2.0.1-beta.34

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 (665) hide show
  1. package/CHANGELOG.md +109 -0
  2. package/dist/assets/i18n/floating-menu-container.i18n.en.json +4 -0
  3. package/dist/assets/i18n/floating-menu-container.i18n.nl.json +4 -0
  4. package/dist/assets/i18n/pagination-size.i18n.en.json +3 -0
  5. package/dist/assets/i18n/pagination-size.i18n.nl.json +3 -0
  6. package/dist/assets/icons/extra/checkmark-thick.svg +10 -0
  7. package/dist/build/index.esm.js +1 -1
  8. package/dist/build/p-0719e72a.js +2 -0
  9. package/dist/build/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  10. package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  11. package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  12. package/dist/build/p-28dbbce6.entry.js +2 -0
  13. package/dist/build/p-28ee6cd6.entry.js +2 -0
  14. package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
  15. package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  16. package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
  17. package/dist/build/p-37b43ce6.entry.js +2 -0
  18. package/dist/build/p-37b43ce6.entry.js.map +1 -0
  19. package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  20. package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
  21. package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  22. package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  23. package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  24. package/dist/build/p-469615ef.entry.js +2 -0
  25. package/dist/build/p-469615ef.entry.js.map +1 -0
  26. package/dist/build/p-489013c7.entry.js +2 -0
  27. package/dist/build/p-489013c7.entry.js.map +1 -0
  28. package/dist/build/p-4f947801.entry.js +2 -0
  29. package/dist/build/p-549b2931.entry.js +2 -0
  30. package/dist/build/p-549b2931.entry.js.map +1 -0
  31. package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  32. package/dist/build/p-59962e55.entry.js +2 -0
  33. package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
  34. package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  35. package/dist/build/p-711bb72e.entry.js +2 -0
  36. package/dist/build/p-711bb72e.entry.js.map +1 -0
  37. package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  38. package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  39. package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
  40. package/dist/build/p-7ce3ed33.js.map +1 -0
  41. package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
  42. package/dist/build/p-83946184.js.map +1 -0
  43. package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  44. package/dist/build/p-8857d619.entry.js +2 -0
  45. package/dist/build/p-8857d619.entry.js.map +1 -0
  46. package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  47. package/dist/build/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
  48. package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
  49. package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  50. package/dist/build/p-99352ae4.entry.js +2 -0
  51. package/dist/build/p-99352ae4.entry.js.map +1 -0
  52. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
  53. package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  54. package/dist/build/p-c55ee8d6.entry.js +2 -0
  55. package/dist/build/p-c55ee8d6.entry.js.map +1 -0
  56. package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  57. package/dist/build/p-d48ef748.entry.js +2 -0
  58. package/dist/build/p-d48ef748.entry.js.map +1 -0
  59. package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
  60. package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  61. package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  62. package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  63. package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
  64. package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  65. package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  66. package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
  67. package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  68. package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  69. package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  70. package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  71. package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
  72. package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
  73. package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  74. package/dist/build/paperless.esm.js +1 -1
  75. package/dist/build/paperless.esm.js.map +1 -1
  76. package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
  77. package/dist/cjs/constants-eae831f7.js.map +1 -0
  78. package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
  79. package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
  80. package/dist/cjs/index-3f9bbc0c.js +14 -10
  81. package/dist/cjs/index.cjs.js +1 -1
  82. package/dist/cjs/loader.cjs.js +1 -1
  83. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  84. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  85. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  86. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  87. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  88. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  89. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  90. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  91. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  92. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  93. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  94. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  95. package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +22 -167
  96. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
  97. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  98. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  99. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  100. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  101. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  102. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  103. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
  104. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  105. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
  106. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
  107. package/dist/cjs/p-field_2.cjs.entry.js +17 -5
  108. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  109. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
  110. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  111. package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
  112. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  114. package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
  115. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  116. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  117. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  118. package/dist/cjs/p-label.cjs.entry.js +3 -3
  119. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  120. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  121. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  122. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  123. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  124. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  125. package/dist/cjs/p-pagination.cjs.entry.js +70 -0
  126. package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
  127. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  128. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  129. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  130. package/dist/cjs/p-select.cjs.entry.js +1 -1
  131. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  132. package/dist/cjs/p-status.cjs.entry.js +2 -2
  133. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  134. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  135. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  136. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  137. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  138. package/dist/cjs/p-table.cjs.entry.js +9 -8
  139. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  140. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  141. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  142. package/dist/cjs/p-toggle.cjs.entry.js +8 -18
  143. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
  144. package/dist/cjs/paperless.cjs.js +1 -1
  145. package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
  146. package/dist/collection/collection-manifest.json +4 -3
  147. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  148. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  149. package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
  150. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  151. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
  152. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
  153. package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
  154. package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -1
  155. package/dist/collection/components/atoms/checkbox/checkbox.component.js +6 -16
  156. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  157. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  158. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  159. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  160. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  161. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  162. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  163. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
  164. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  165. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  166. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
  167. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  168. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  169. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
  170. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  171. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  172. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
  173. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  174. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  175. package/dist/collection/components/atoms/helper/helper.component.js +2 -2
  176. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  177. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  178. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  179. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
  180. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  181. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  182. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  183. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  184. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  185. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  186. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  187. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  188. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
  189. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
  190. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
  191. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  192. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  193. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  194. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
  195. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  196. package/dist/collection/components/atoms/status/status.component.js +3 -3
  197. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  198. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  199. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  200. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  201. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  202. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  203. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -1
  204. package/dist/collection/components/atoms/toggle/toggle.component.js +7 -17
  205. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
  206. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  207. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  208. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  209. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  210. package/dist/collection/components/molecules/button/button.component.js +5 -5
  211. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  212. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  213. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  214. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  215. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  216. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  217. package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
  218. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  219. package/dist/collection/components/molecules/field/field.component.js +18 -6
  220. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  221. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  222. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  223. package/dist/collection/components/molecules/label/label.component.js +4 -4
  224. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
  225. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  226. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  227. package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
  228. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  229. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
  230. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
  231. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
  232. package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
  233. package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
  234. package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
  235. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
  236. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  237. package/dist/collection/components/molecules/select/select.component.js +3 -3
  238. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  239. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  240. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  241. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  242. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  243. package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
  244. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  245. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  246. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
  247. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  248. package/dist/collection/components/organisms/table/table.component.css +1 -1
  249. package/dist/collection/components/organisms/table/table.component.js +9 -8
  250. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  251. package/dist/collection/utils/icons.js +6 -0
  252. package/dist/collection/utils/icons.js.map +1 -1
  253. package/dist/components/avatar.component.js +1 -1
  254. package/dist/components/backdrop.component.js +2 -2
  255. package/dist/components/badge.component.js +1 -1
  256. package/dist/components/button.component.js +4 -4
  257. package/dist/components/calendar.component.js +1 -1
  258. package/dist/components/checkbox.component.js +7 -17
  259. package/dist/components/checkbox.component.js.map +1 -1
  260. package/dist/components/divider.component.js +1 -1
  261. package/dist/components/drawer-body.component.js +1 -1
  262. package/dist/components/drawer-container.component.js +1 -1
  263. package/dist/components/drawer-header.component.js +1 -1
  264. package/dist/components/dropdown-menu-container.component.js +11 -9
  265. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  266. package/dist/components/dropdown-menu-item.component.js +35 -4
  267. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  268. package/dist/components/dropdown.component.js +15 -6
  269. package/dist/components/dropdown.component.js.map +1 -1
  270. package/dist/components/field-container.component.js +8 -2
  271. package/dist/components/field-container.component.js.map +1 -1
  272. package/dist/components/field.component.js +17 -5
  273. package/dist/components/field.component.js.map +1 -1
  274. package/dist/components/floating-menu-container.component.js +66 -6
  275. package/dist/components/floating-menu-container.component.js.map +1 -1
  276. package/dist/components/floating-menu-item.component.js +85 -6
  277. package/dist/components/floating-menu-item.component.js.map +1 -1
  278. package/dist/components/helper.component.js +9 -3
  279. package/dist/components/helper.component.js.map +1 -1
  280. package/dist/components/icons.js +17 -0
  281. package/dist/components/icons.js.map +1 -1
  282. package/dist/components/illustration.component.js +1 -1
  283. package/dist/components/input-error.component.js +1 -1
  284. package/dist/components/modal-body.component.js +1 -1
  285. package/dist/components/modal-container.component.js +1 -1
  286. package/dist/components/modal-footer.component.js +1 -1
  287. package/dist/components/modal-header.component.js +1 -1
  288. package/dist/components/navigation-title.component.js +1 -1
  289. package/dist/components/p-accordion.js +1 -1
  290. package/dist/components/p-attachment.js +4 -4
  291. package/dist/components/p-avatar-group.js +1 -1
  292. package/dist/components/p-button-group.js +1 -1
  293. package/dist/components/p-card-body.js +1 -1
  294. package/dist/components/p-card-container.js +1 -1
  295. package/dist/components/p-card-header.js +2 -2
  296. package/dist/components/p-content-slider.js +2 -2
  297. package/dist/components/p-counter.js +1 -1
  298. package/dist/components/p-cropper.js +2 -2
  299. package/dist/components/p-datepicker.js +2 -2
  300. package/dist/components/p-iban-icon.js +1 -1
  301. package/dist/components/p-icon-deprecated.js +1 -1
  302. package/dist/components/p-info-panel.js +1 -1
  303. package/dist/components/p-input-group.js +3 -3
  304. package/dist/components/p-label.js +3 -3
  305. package/dist/components/p-layout.js +1 -1
  306. package/dist/components/p-navbar.js +1 -1
  307. package/dist/components/p-navigation-item.js +2 -2
  308. package/dist/components/p-navigation-section.js +1 -1
  309. package/dist/components/p-pagination-pages-item.d.ts +11 -0
  310. package/dist/components/p-pagination-pages-item.js +8 -0
  311. package/dist/components/p-pagination-pages-item.js.map +1 -0
  312. package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
  313. package/dist/components/p-pagination-pages.js +8 -0
  314. package/dist/components/p-pagination-pages.js.map +1 -0
  315. package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
  316. package/dist/components/p-pagination-size.js +8 -0
  317. package/dist/components/p-pagination-size.js.map +1 -0
  318. package/dist/components/p-pagination.js +143 -1
  319. package/dist/components/p-pagination.js.map +1 -1
  320. package/dist/components/p-profile.js +1 -1
  321. package/dist/components/p-radio.js +3 -3
  322. package/dist/components/p-select.js +1 -1
  323. package/dist/components/p-status.js +2 -2
  324. package/dist/components/p-stepper-item.js +1 -1
  325. package/dist/components/p-stepper.js +1 -1
  326. package/dist/components/p-tab-group.js +1 -1
  327. package/dist/components/p-tab-item.js +1 -1
  328. package/dist/components/p-table.js +15 -14
  329. package/dist/components/p-table.js.map +1 -1
  330. package/dist/components/p-toast-container.js +1 -1
  331. package/dist/components/p-toast.js +1 -1
  332. package/dist/components/p-toggle.js +8 -18
  333. package/dist/components/p-toggle.js.map +1 -1
  334. package/dist/components/pagination-pages-item.component.js +106 -0
  335. package/dist/components/pagination-pages-item.component.js.map +1 -0
  336. package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
  337. package/dist/components/pagination-pages.component.js.map +1 -0
  338. package/dist/components/pagination-size.component.js +134 -0
  339. package/dist/components/pagination-size.component.js.map +1 -0
  340. package/dist/components/portal.component.js +1 -1
  341. package/dist/components/segment-container.component.js +1 -1
  342. package/dist/components/segment-item.component.js +2 -2
  343. package/dist/components/slider-indicator.component.js +1 -1
  344. package/dist/components/stepper-line.component.js +1 -1
  345. package/dist/components/table-cell.component.js +1 -1
  346. package/dist/components/table-container.component.js +1 -1
  347. package/dist/components/table-footer.component.js +9 -9
  348. package/dist/components/table-footer.component.js.map +1 -1
  349. package/dist/components/table-header.component.js +3 -3
  350. package/dist/components/table-row.component.js +2 -2
  351. package/dist/components/tooltip.component.js +4 -4
  352. package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
  353. package/dist/esm/constants-1dd98b15.js.map +1 -0
  354. package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
  355. package/dist/esm/icons-7312d60c.js.map +1 -0
  356. package/dist/esm/index-2ef94580.js +14 -10
  357. package/dist/esm/index.js +1 -1
  358. package/dist/esm/loader.js +1 -1
  359. package/dist/esm/p-accordion.entry.js +1 -1
  360. package/dist/esm/p-attachment.entry.js +4 -4
  361. package/dist/esm/p-avatar-group.entry.js +1 -1
  362. package/dist/esm/p-avatar.entry.js +1 -1
  363. package/dist/esm/p-backdrop.entry.js +2 -2
  364. package/dist/esm/p-badge_3.entry.js +4 -4
  365. package/dist/esm/p-button-group.entry.js +1 -1
  366. package/dist/esm/p-button_3.entry.js +5 -5
  367. package/dist/esm/p-calendar.entry.js +1 -1
  368. package/dist/esm/p-card-body.entry.js +1 -1
  369. package/dist/esm/p-card-container.entry.js +1 -1
  370. package/dist/esm/p-card-header.entry.js +2 -2
  371. package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +23 -167
  372. package/dist/esm/p-checkbox_2.entry.js.map +1 -0
  373. package/dist/esm/p-content-slider.entry.js +2 -2
  374. package/dist/esm/p-counter.entry.js +1 -1
  375. package/dist/esm/p-cropper.entry.js +2 -2
  376. package/dist/esm/p-datepicker.entry.js +2 -2
  377. package/dist/esm/p-divider.entry.js +1 -1
  378. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  379. package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
  380. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  381. package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
  382. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
  383. package/dist/esm/p-field_2.entry.js +17 -5
  384. package/dist/esm/p-field_2.entry.js.map +1 -1
  385. package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
  386. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  387. package/dist/esm/p-helper_2.entry.js +6 -6
  388. package/dist/esm/p-helper_2.entry.js.map +1 -1
  389. package/dist/esm/p-iban-icon.entry.js +1 -1
  390. package/dist/esm/p-icon-deprecated.entry.js +1 -1
  391. package/dist/esm/p-info-panel.entry.js +1 -1
  392. package/dist/esm/p-input-error.entry.js +1 -1
  393. package/dist/esm/p-input-group.entry.js +3 -3
  394. package/dist/esm/p-label.entry.js +3 -3
  395. package/dist/esm/p-layout.entry.js +1 -1
  396. package/dist/esm/p-modal-body_4.entry.js +4 -4
  397. package/dist/esm/p-navbar.entry.js +1 -1
  398. package/dist/esm/p-navigation-item.entry.js +2 -2
  399. package/dist/esm/p-navigation-section.entry.js +1 -1
  400. package/dist/esm/p-navigation-title.entry.js +1 -1
  401. package/dist/esm/p-pagination.entry.js +66 -0
  402. package/dist/esm/p-pagination.entry.js.map +1 -0
  403. package/dist/esm/p-portal.entry.js +1 -1
  404. package/dist/esm/p-profile.entry.js +1 -1
  405. package/dist/esm/p-radio.entry.js +3 -3
  406. package/dist/esm/p-select.entry.js +1 -1
  407. package/dist/esm/p-slider-indicator.entry.js +1 -1
  408. package/dist/esm/p-status.entry.js +2 -2
  409. package/dist/esm/p-stepper-item.entry.js +1 -1
  410. package/dist/esm/p-stepper-line.entry.js +1 -1
  411. package/dist/esm/p-stepper.entry.js +1 -1
  412. package/dist/esm/p-tab-group.entry.js +1 -1
  413. package/dist/esm/p-tab-item.entry.js +1 -1
  414. package/dist/esm/p-table.entry.js +9 -8
  415. package/dist/esm/p-table.entry.js.map +1 -1
  416. package/dist/esm/p-toast-container.entry.js +1 -1
  417. package/dist/esm/p-toast.entry.js +1 -1
  418. package/dist/esm/p-toggle.entry.js +8 -18
  419. package/dist/esm/p-toggle.entry.js.map +1 -1
  420. package/dist/esm/paperless.js +1 -1
  421. package/dist/index.html +1 -1
  422. package/dist/paperless/index.esm.js +1 -1
  423. package/dist/paperless/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  424. package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  425. package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  426. package/dist/paperless/p-28dbbce6.entry.js +2 -0
  427. package/dist/paperless/p-28ee6cd6.entry.js +2 -0
  428. package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
  429. package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  430. package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
  431. package/dist/paperless/p-37b43ce6.entry.js +2 -0
  432. package/dist/paperless/p-37b43ce6.entry.js.map +1 -0
  433. package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  434. package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
  435. package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  436. package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  437. package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  438. package/dist/paperless/p-469615ef.entry.js +2 -0
  439. package/dist/paperless/p-469615ef.entry.js.map +1 -0
  440. package/dist/paperless/p-489013c7.entry.js +2 -0
  441. package/dist/paperless/p-489013c7.entry.js.map +1 -0
  442. package/dist/paperless/p-4f947801.entry.js +2 -0
  443. package/dist/paperless/p-549b2931.entry.js +2 -0
  444. package/dist/paperless/p-549b2931.entry.js.map +1 -0
  445. package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  446. package/dist/paperless/p-59962e55.entry.js +2 -0
  447. package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
  448. package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  449. package/dist/paperless/p-711bb72e.entry.js +2 -0
  450. package/dist/paperless/p-711bb72e.entry.js.map +1 -0
  451. package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  452. package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  453. package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
  454. package/dist/paperless/p-7ce3ed33.js.map +1 -0
  455. package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
  456. package/dist/paperless/p-83946184.js.map +1 -0
  457. package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  458. package/dist/paperless/p-8857d619.entry.js +2 -0
  459. package/dist/paperless/p-8857d619.entry.js.map +1 -0
  460. package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  461. package/dist/paperless/{p-28f44624.entry.js → p-8c8128f9.entry.js} +2 -2
  462. package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
  463. package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  464. package/dist/paperless/p-99352ae4.entry.js +2 -0
  465. package/dist/paperless/p-99352ae4.entry.js.map +1 -0
  466. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
  467. package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  468. package/dist/paperless/p-c55ee8d6.entry.js +2 -0
  469. package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
  470. package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  471. package/dist/paperless/p-d48ef748.entry.js +2 -0
  472. package/dist/paperless/p-d48ef748.entry.js.map +1 -0
  473. package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
  474. package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  475. package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  476. package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  477. package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
  478. package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  479. package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  480. package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
  481. package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  482. package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  483. package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  484. package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  485. package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
  486. package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
  487. package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  488. package/dist/paperless/paperless.esm.js +1 -1
  489. package/dist/paperless/paperless.esm.js.map +1 -1
  490. package/dist/sw.js +1 -1
  491. package/dist/sw.js.map +1 -1
  492. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  493. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  494. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
  495. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
  496. package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
  497. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
  498. package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
  499. package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
  500. package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
  501. package/dist/types/components.d.ts +283 -76
  502. package/dist/types/utils/icons.d.ts +4 -0
  503. package/hydrate/index.js +592 -233
  504. package/hydrate/index.mjs +592 -233
  505. package/package.json +1 -1
  506. package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
  507. package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
  508. package/dist/build/p-03c70942.entry.js +0 -2
  509. package/dist/build/p-2f613a2a.entry.js +0 -2
  510. package/dist/build/p-4cef76cf.entry.js +0 -2
  511. package/dist/build/p-52056fb3.entry.js +0 -2
  512. package/dist/build/p-52056fb3.entry.js.map +0 -1
  513. package/dist/build/p-904049ba.entry.js +0 -2
  514. package/dist/build/p-904049ba.entry.js.map +0 -1
  515. package/dist/build/p-9593cbb7.entry.js +0 -2
  516. package/dist/build/p-9593cbb7.entry.js.map +0 -1
  517. package/dist/build/p-a483eadb.js +0 -2
  518. package/dist/build/p-b082e123.js.map +0 -1
  519. package/dist/build/p-c066c38b.entry.js +0 -2
  520. package/dist/build/p-c066c38b.entry.js.map +0 -1
  521. package/dist/build/p-cab0361a.entry.js +0 -2
  522. package/dist/build/p-cab0361a.entry.js.map +0 -1
  523. package/dist/build/p-d1da42f4.entry.js +0 -2
  524. package/dist/build/p-d1da42f4.entry.js.map +0 -1
  525. package/dist/build/p-da7b6f2c.js.map +0 -1
  526. package/dist/build/p-df228603.entry.js +0 -2
  527. package/dist/build/p-df228603.entry.js.map +0 -1
  528. package/dist/build/p-e078f787.entry.js +0 -2
  529. package/dist/build/p-e77d5ca1.entry.js +0 -2
  530. package/dist/build/p-e77d5ca1.entry.js.map +0 -1
  531. package/dist/cjs/constants-f911468d.js.map +0 -1
  532. package/dist/cjs/icons-10aa18f0.js.map +0 -1
  533. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
  534. package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
  535. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
  536. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
  537. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
  538. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
  539. package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
  540. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
  541. package/dist/components/p-page-size-select.js +0 -8
  542. package/dist/components/p-page-size-select.js.map +0 -1
  543. package/dist/components/p-pagination-item.js +0 -8
  544. package/dist/components/p-pagination-item.js.map +0 -1
  545. package/dist/components/page-size-select.component.js +0 -123
  546. package/dist/components/page-size-select.component.js.map +0 -1
  547. package/dist/components/pagination-item.component.js +0 -36
  548. package/dist/components/pagination-item.component.js.map +0 -1
  549. package/dist/components/pagination.component.js.map +0 -1
  550. package/dist/esm/constants-3500ea14.js.map +0 -1
  551. package/dist/esm/icons-a3270aaf.js.map +0 -1
  552. package/dist/esm/p-checkbox_3.entry.js.map +0 -1
  553. package/dist/esm/p-page-size-select_3.entry.js +0 -226
  554. package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
  555. package/dist/paperless/p-03c70942.entry.js +0 -2
  556. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  557. package/dist/paperless/p-4cef76cf.entry.js +0 -2
  558. package/dist/paperless/p-52056fb3.entry.js +0 -2
  559. package/dist/paperless/p-52056fb3.entry.js.map +0 -1
  560. package/dist/paperless/p-904049ba.entry.js +0 -2
  561. package/dist/paperless/p-904049ba.entry.js.map +0 -1
  562. package/dist/paperless/p-9593cbb7.entry.js +0 -2
  563. package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
  564. package/dist/paperless/p-b082e123.js.map +0 -1
  565. package/dist/paperless/p-c066c38b.entry.js +0 -2
  566. package/dist/paperless/p-c066c38b.entry.js.map +0 -1
  567. package/dist/paperless/p-cab0361a.entry.js +0 -2
  568. package/dist/paperless/p-cab0361a.entry.js.map +0 -1
  569. package/dist/paperless/p-d1da42f4.entry.js +0 -2
  570. package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
  571. package/dist/paperless/p-da7b6f2c.js.map +0 -1
  572. package/dist/paperless/p-df228603.entry.js +0 -2
  573. package/dist/paperless/p-df228603.entry.js.map +0 -1
  574. package/dist/paperless/p-e078f787.entry.js +0 -2
  575. package/dist/paperless/p-e77d5ca1.entry.js +0 -2
  576. package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
  577. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
  578. /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  579. /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  580. /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  581. /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  582. /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  583. /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  584. /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  585. /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  586. /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  587. /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  588. /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  589. /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  590. /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  591. /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  592. /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  593. /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  594. /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  595. /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  596. /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  597. /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  598. /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  599. /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  600. /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  601. /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  602. /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  603. /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  604. /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  605. /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  606. /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  607. /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  608. /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  609. /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  610. /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  611. /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  612. /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  613. /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  614. /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  615. /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  616. /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  617. /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  618. /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  619. /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  620. /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  621. /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
  622. /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  623. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  624. /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  625. /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  626. /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  627. /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  628. /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  629. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  630. /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  631. /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  632. /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  633. /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  634. /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  635. /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  636. /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  637. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  638. /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  639. /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  640. /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  641. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  655. /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  656. /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  657. /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  658. /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  659. /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  660. /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  661. /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  662. /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  663. /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  664. /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  665. /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
@@ -1 +1 @@
1
- {"file":"p-helper.p-tooltip.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,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AAE,qBAAqB,CAAC,CAAC;QAEhE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;KACxB;IAEO,KAAK,CAAC,OAAoB;QACjC,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;QAExB,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;YAEpB,IAAI,IAAI,CAAC,IAAI,EAAE;gBACd,UAAU,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,EAAE,GAAG,CAAC,CAAC;aACpC;SACD;KACD;IAEO,OAAO;QACd,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACnB,OAAO;SACP;QAEDC,kCAAe,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxC,SAAS,EACR,IAAI,CAAC,OAAO,KAAK,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS;kBACxC,cAAc;kBACd,IAAI,CAAC,SAAS,IAAI,KAAK;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAEvB,UAAU,EAAE,CAACC,yBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAEC,uBAAI,EAAE,EAAEC,wBAAK,EAAE,CAAC;SAClD,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE;YAC3B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;gBAClC,GAAG,EAAE,GAAG,CAAC,IAAI;gBACb,IAAI,EAAE,GAAG,CAAC,IAAI;aACd,CAAC,CAAC;SACH,CAAC,CAAC;KACH;;;;;;;;;;","names":["h","Host","cva","autoUpdate","computePosition","offset","flip","shift"],"sources":["src/components/atoms/helper/helper.component.scss?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx","src/components/atoms/tooltip/tooltip.component.css?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":[":host {\n\t@apply leading-3;\n\n\t.helper {\n\t\t@apply inline-block h-[0.75rem] w-[0.75rem] cursor-pointer bg-center bg-no-repeat;\n\t\tbackground-image: url(/assets/images/helper/helper.svg);\n\n\t\t&:hover {\n\t\t\tbackground-image: url(/assets/images/helper/helper-hover.svg);\n\t\t}\n\t}\n}\n","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.scss',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-helper'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tclass='helper'\n\t\t\t\t\t></div>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-popover flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"],"version":3}
1
+ {"file":"p-helper.p-tooltip.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,2IAA2I,CAAC;AACvK,sBAAe,kBAAkB;;MCOpB,MAAM;;;wBAIW,UAAU;yBAKR,KAAK;;IAEpC,MAAM;QACL,QACCA,QAACC,UAAI,qDAAC,KAAK,EAAC,UAAU,IACrBD,wEACC,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAA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;QAExB,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,OAAO,EAAE,CAAC;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;YAEpB,IAAI,IAAI,CAAC,IAAI,EAAE;gBACd,UAAU,CAAC,MAAM,IAAI,CAAC,KAAK,EAAE,EAAE,GAAG,CAAC,CAAC;aACpC;SACD;KACD;IAEO,OAAO;QACd,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;YACnB,OAAO;SACP;QAEDC,kCAAe,CAAC,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,QAAQ,EAAE;YACxC,SAAS,EACR,IAAI,CAAC,OAAO,KAAK,OAAO,IAAI,CAAC,IAAI,CAAC,SAAS;kBACxC,cAAc;kBACd,IAAI,CAAC,SAAS,IAAI,KAAK;YAC3B,QAAQ,EAAE,IAAI,CAAC,QAAQ;YAEvB,UAAU,EAAE,CAACC,yBAAM,CAAC,IAAI,CAAC,MAAM,CAAC,EAAEC,uBAAI,EAAE,EAAEC,wBAAK,EAAE,CAAC;SAClD,CAAC,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE;YAC3B,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,GAAG,SAAS,CAAC;YAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,KAAK,EAAE;gBAClC,GAAG,EAAE,GAAG,CAAC,IAAI;gBACb,IAAI,EAAE,GAAG,CAAC,IAAI;aACd,CAAC,CAAC;SACH,CAAC,CAAC;KACH;;;;;;;;;;","names":["h","Host","cva","autoUpdate","computePosition","offset","flip","shift"],"sources":["src/components/atoms/helper/helper.component.css?tag=p-helper&encapsulation=shadow","src/components/atoms/helper/helper.component.tsx","src/components/atoms/tooltip/tooltip.component.css?tag=p-tooltip&encapsulation=shadow","src/components/atoms/tooltip/tooltip.component.tsx"],"sourcesContent":["","import { Placement, Strategy } from '@floating-ui/dom';\nimport { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-helper',\n\tstyleUrl: 'helper.component.css',\n\tshadow: true,\n})\nexport class Helper {\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * The placement of the helper popover\n\t */\n\t@Prop() placement: Placement = 'top';\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-helper'>\n\t\t\t\t<p-tooltip\n\t\t\t\t\tplacement={this.placement}\n\t\t\t\t\tstrategy={this.strategy}\n\t\t\t\t>\n\t\t\t\t\t<div slot='content'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tclass='cursor-pointer'\n\t\t\t\t\t\tvariant='question-circle'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t/>\n\t\t\t\t</p-tooltip>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n","","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst popover = cva(\n\t[\n\t\t'inline-block px-2',\n\t\t'text-xs',\n\t\t'opacity-0 drop-shadow-3 transition-opacity',\n\t\t'rounded-lg',\n\n\t\t'z-tooltip',\n\t\t'pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\thover: 'bg-black-teal text-white py-1',\n\t\t\t\tclick: null,\n\t\t\t\terror: 'max-w-full w-full',\n\t\t\t},\n\t\t\tstrategy: {\n\t\t\t\tnone: null,\n\t\t\t\tfixed: 'fixed',\n\t\t\t\tabsolute: 'absolute',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: ['hover', 'click'],\n\t\t\t\tclass: 'max-w-[14.5rem] w-max',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['click', 'error'],\n\t\t\t\tclass: 'bg-white text-black-teal-300 py-2',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst portal = cva('', {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tfixed: 'fixed',\n\t\t\tabsolute: 'absolute',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-tooltip',\n\tstyleUrl: 'tooltip.component.css',\n\tshadow: true,\n})\nexport class Tooltip {\n\t/**\n\t * The variant of the popover\n\t */\n\t@Prop() variant: 'hover' | 'click' | 'error' = 'hover';\n\n\t/**\n\t * The content of the popover\n\t */\n\t@Prop() content: any = null;\n\n\t/**\n\t * The placement of the popover\n\t */\n\t@Prop() placement: Placement;\n\n\t/**\n\t * The offset of the popover\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the popover placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether the tooltip can be shown by user input\n\t */\n\t@Prop() enableUserInput: boolean = true;\n\n\t/**\n\t * Wether to show the popover\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the tooltip\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to someone can manually close the popover\n\t */\n\t@Prop() canManuallyClose: boolean = true;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasContentSlot = false;\n\n\tprivate _loaded = false;\n\tprivate _popover: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentWillLoad() {\n\t\tthis._hasContentSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"content\"]'\n\t\t);\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\t}\n\n\trender() {\n\t\tconst tooltipProps = {\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\tref: el => this._load(el),\n\t\t};\n\n\t\tlet tooltip: HTMLElement;\n\n\t\tconst tooltipElement = (\n\t\t\t<div\n\t\t\t\tclass={popover({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tstrategy: this.usePortal ? 'none' : this.strategy,\n\t\t\t\t})}\n\t\t\t\t{...(this.usePortal ? {} : tooltipProps)}\n\t\t\t>\n\t\t\t\t<div class='flex gap-2'>\n\t\t\t\t\t{this.variant === 'error' && (\n\t\t\t\t\t\t<div class='w-[2px] bg-negative-red'></div>\n\t\t\t\t\t)}\n\t\t\t\t\t{this.content ? this.content : <slot name='content' />}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.usePortal) {\n\t\t\ttooltip = (\n\t\t\t\t<p-portal\n\t\t\t\t\tclass={portal({\n\t\t\t\t\t\tstrategy: this.strategy,\n\t\t\t\t\t})}\n\t\t\t\t\t{...tooltipProps}\n\t\t\t\t>\n\t\t\t\t\t{tooltipElement}\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\ttooltip = tooltipElement;\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-popover flex cursor-pointer'>\n\t\t\t\t<div class='relative h-inherit w-inherit'>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t\t{tooltip}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\tprotected clickHandler() {\n\t\tif (this.variant === 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler() {\n\t\tif (this.variant === 'hover' || !this.canManuallyClose || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._popover.hasAttribute('data-show')) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Listen('mouseenter')\n\t@Listen('focus')\n\tprotected mouseEnterHandler() {\n\t\tif (this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('mouseleave')\n\t@Listen('blur')\n\tprotected mouseLeaveHandler() {\n\t\tif (this.show || this.variant !== 'hover' || !this.enableUserInput) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\t@Watch('show')\n\tonShowChange(show: boolean) {\n\t\tif (show && !this._popover.hasAttribute('data-show')) {\n\t\t\treturn this._show();\n\t\t}\n\n\t\treturn this._hide();\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this.content?.length && !this._hasContentSlot) {\n\t\t\tif (this._popover.hasAttribute('data-show')) {\n\t\t\t\tthis._hide();\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._popover, () => this._update());\n\t\t// Make the popover visible\n\t\tthis._popover.setAttribute('data-show', '');\n\n\t\tthis._popover.classList.remove('opacity-0', 'pointer-events-none');\n\t\tthis._popover.classList.add('opacity-100', 'pointer-events-auto');\n\n\t\t// Update its position\n\t\tthis.isOpen.emit(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._popover.removeAttribute('data-show');\n\n\t\tthis._popover.classList.remove('opacity-100', 'pointer-events-auto');\n\t\tthis._popover.classList.add('opacity-0', 'pointer-events-none');\n\n\t\tthis.isOpen.emit(false);\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._popover = popover;\n\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _update() {\n\t\tif (!this._popover) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._popover, {\n\t\t\tplacement:\n\t\t\t\tthis.variant === 'error' && !this.placement\n\t\t\t\t\t? 'bottom-start'\n\t\t\t\t\t: this.placement ?? 'top',\n\t\t\tstrategy: this.strategy,\n\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._popover.dataset.placement = placement;\n\t\t\tObject.assign(this._popover.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n"],"version":3}
@@ -17,7 +17,7 @@ const IbanIcon = class {
17
17
  variant = this.iban.slice(4, 8).toLowerCase();
18
18
  }
19
19
  const exists = iban.IBAN_ICON_VARIANTS_ARRAY.includes(variant);
20
- return (exists && (index.h(index.Host, { key: '09a55e1cab7d1f89d1929d4d1f9467641a7af8bc', class: 'p-iban-icon' }, this._getIcon(variant))));
20
+ return (exists && (index.h(index.Host, { key: '12b6fe395d2c50106740c041b78dba096eef7bd1', class: 'p-iban-icon' }, this._getIcon(variant))));
21
21
  }
22
22
  _getIcon(variant) {
23
23
  switch (variant) {
@@ -55,7 +55,7 @@ const Icon = class {
55
55
  '-rotate-270': this.rotate === -270,
56
56
  '-rotate-315': this.rotate === -315,
57
57
  };
58
- return (index.h(index.Host, { key: '5dea07a6c18881f4b6b0ff852886c7ef36819530', class: styles, innerHTML: icon }));
58
+ return (index.h(index.Host, { key: 'ba0b6b980d18cd47978bb5275a855d04d8a501fd', class: styles, innerHTML: icon }));
59
59
  }
60
60
  };
61
61
  Icon.style = PIconDeprecatedStyle0;
@@ -22,7 +22,7 @@ const InfoPanel = class {
22
22
  closed;
23
23
  get _el() { return index.getElement(this); }
24
24
  render() {
25
- return (index.h(index.Host, { key: '366aff16f7050cc0d8c31015c3b50d4160cec37f', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, index.h("div", { key: '046338278a4bf943b7a6c4de1186d498f5d5e388', class: 'header' }, index.h("slot", { key: '31e698a2183a50becf826b5a4faa2c886e6011b7', name: 'header' })), index.h("div", { key: 'edfe1012f17c3905d11952af8f7851a8ca0ab41b', class: 'content' }, index.h("slot", { key: 'e36b083f7b1a63ab9f0f6c7b951e3a25c7c84dd6', name: 'content' })), this.closeable && (index.h("div", { key: 'f3fb3af0ecbfb5d256453c4849da9bca1d8b55c0', class: 'close', onClick: () => this._close() }, index.h("p-icon", { key: '65709e2a4d20ecbd43fad2554eafc0be111814bd', variant: 'negative' })))));
25
+ return (index.h(index.Host, { key: '21a465da244de80603a6de63418375c5bb4d2d92', class: `p-info-panel variant-${this.variant} ${this.closeable && 'has-close'}` }, index.h("div", { key: 'aca1f62a1470ea92076ae64b12268e8f5cccbcf6', class: 'header' }, index.h("slot", { key: 'd254c40efafa6631e73345d9fcb902c7f561afd7', name: 'header' })), index.h("div", { key: '9e5a883a8eb6537b13f3f195b038e46b2bc328a3', class: 'content' }, index.h("slot", { key: '83187c859454bd078668238bd2af1909d3961440', name: 'content' })), this.closeable && (index.h("div", { key: '1abbbed511217705b8514bd1b701475fdb0105cc', class: 'close', onClick: () => this._close() }, index.h("p-icon", { key: '8ca580c09f1a97a65d0b2629289d0fe209793dbb', variant: 'negative' })))));
26
26
  }
27
27
  _close() {
28
28
  this.closed.emit();
@@ -12,7 +12,7 @@ const InputError = class {
12
12
  this._showTooltip = false;
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: '1dfbd30a1da9a7662166b86f498a085c12b23f2a', class: 'p-input-error' }, index.h("p-tooltip", { key: 'c90ceaf3df4e65de6f52009ac1bd131783849911', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, index.h("p-icon", { key: '6cf02d8edb26b1b1a8f0b961ae61ab70fbf38846', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
15
+ return (index.h(index.Host, { key: '460e73ad12c19bbc3b68910d4cde77ca3a137255', class: 'p-input-error' }, index.h("p-tooltip", { key: '56237ea74bfb49a18d55f074ce1e3dcad8966315', variant: 'error', content: this.error, show: this.forceShowTooltip, onIsOpen: ev => (this._showTooltip = ev.detail) }, index.h("p-icon", { key: '9c5216370a29e37ac03b99d3039d458aa88f3629', class: `${this._showTooltip ? 'text-negative' : 'text-negative-light'} hover:text-negative`, slot: 'trigger', variant: 'question-circle' }))));
16
16
  }
17
17
  };
18
18
 
@@ -38,11 +38,11 @@ const InputGroup = class {
38
38
  }
39
39
  render() {
40
40
  const { hasHeaderSlot, helper, label, prefix, suffix, errorAndErrorIsNotBoolean, errorVariant, } = this._getSlotInfo();
41
- return (index.h(index.Host, { key: '9848be9dc18dbb66de4ffaeb0fd6377204355127', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, index.h("div", { key: '4d4035d525fe79a6afbd669bf49302fbd96ee4a9', class: 'flex items-end justify-between' }, label && (index.h("div", { key: '859e6c72d70ddd2b62c72170be460452d0d87d11', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && index.h("span", { key: '19c99b31a2d0f5b6f03971b6441e459653e3af13', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (index.h("div", { key: '3e2abec6c63ae8d26b42316d48516992c2bc699b', class: 'input-header' }, hasHeaderSlot && index.h("slot", { key: '1d100f887f1345ccfcf11e97d7667dd94355f026', name: 'header' }), helper && (index.h("p-helper", { key: '9dbf5401cd26db9421c526bd406c683829abd877', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), index.h("p-tooltip", { key: '71ef03a090b4311c14d7c935809f147140791e9e', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
41
+ return (index.h(index.Host, { key: 'e1db8ece4db4fbd573e24523d8c9f2e9f61a606e', class: `p-input-group ${this.error?.length && 'error'} ${this.disabled && 'disabled'} ${this.focused && 'focused'} size-${this.size}` }, index.h("div", { key: '3eb10740350c62abab9757a28e2c437bcb9b4ceb', class: 'flex items-end justify-between' }, label && (index.h("div", { key: 'adc870ba2c4cf9ad0a435a840d16558e1d516864', class: 'input-label', onClick: () => this._focusInput() }, label, this.required && index.h("span", { key: '01825a70124dcdf25a3bebd865478a35e4c6b740', class: 'ml-1 text-negative' }, "*"))), (helper || hasHeaderSlot) && (index.h("div", { key: 'fd665be178c2c41b72a552bdaa717edd79c61f2c', class: 'input-header' }, hasHeaderSlot && index.h("slot", { key: '22828aea8b76809870ddbf69b8beeee1529283b7', name: 'header' }), helper && (index.h("p-helper", { key: '818b5827687e1002dd6090b33445d3e97fce4292', class: `flex ${hasHeaderSlot ? 'ml-2' : ''}`, placement: 'top-end' }, helper))))), index.h("p-tooltip", { key: '01172dcd5be0ee0bae29b5fb340d40372ab1a141', class: 'w-full', variant: 'error', content: this.error, show: errorAndErrorIsNotBoolean &&
42
42
  errorVariant === 'element' &&
43
- (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, index.h("div", { key: '21bda229af33f22f4080ef66cd2b2821f755edd6', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: '21f4e49db797a4ee2e6caee81d952858cc550567', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
43
+ (this.forceShowTooltip || this._forceShowTooltip), enableUserInput: false }, index.h("div", { key: '47452ca6883a16b292f37a5d1e9f3389a9864537', class: 'content', slot: 'trigger' }, (prefix || (this.icon && this.iconPosition === 'start')) && (index.h("div", { key: 'cb4511181318173ec678112195ae601dbd924e50', class: `prefix size-${this.size}`, onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), (suffix ||
44
44
  (errorAndErrorIsNotBoolean && errorVariant === 'icon') ||
45
- (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: '033bc354c872c0b9fb351182d7466515642d3f9b', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (index.h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), index.h("slot", { key: '1dc6aa666c99246ba2d532c435987875528af5f6', name: 'input' })))));
45
+ (this.icon && this.iconPosition === 'end')) && (index.h("div", { key: 'b3ee48219bb9a50cdf9385607fcd5b764746db07', class: `suffix size-${this.size}`, onClick: () => this._focusInput() }, errorAndErrorIsNotBoolean && errorVariant === 'icon' ? (index.h("p-input-error", { error: this.error, forceShowTooltip: this.forceShowTooltip || this._forceShowTooltip })) : this.icon && this.iconPosition === 'end' ? (index.h("p-icon", { class: 'flex', variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (suffix))), index.h("slot", { key: 'e41a06801fc11044122862e066f0691f611743f0', name: 'input' })))));
46
46
  }
47
47
  handleFocusIn() {
48
48
  this._forceShowTooltip = true;
@@ -47,14 +47,14 @@ const Label = class {
47
47
  this.keepMobileContent = false;
48
48
  }
49
49
  render() {
50
- return (index.h(index.Host, { key: '04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0', class: 'p-label' }, index.h("div", { key: '7dfd0871e52cef46c49f0c30e58facfa603c5d0f', class: label({
50
+ return (index.h(index.Host, { key: 'f1dbab04a321adb28cd47e777cc47ef3e6e7f770', class: 'p-label' }, index.h("div", { key: 'b1bb0deb6c4fd2055450f30b30e85bba3edd8acc', class: label({
51
51
  variant: this.variant,
52
52
  iconOnly: this.iconOnly,
53
53
  keepMobileContent: this.keepMobileContent,
54
- }) }, this.icon && (index.h("p-icon", { key: 'b70587122206d6b26785cbf5e9e8219219aeb7d0', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (index.h("div", { key: '5426ae86e86f205b04130628923f3d53747c85d5', class: cn.cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
54
+ }) }, this.icon && (index.h("p-icon", { key: '8bc53a171591d529cf9f2608192749c9c6d7c48d', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (index.h("div", { key: 'cace3296ad188e08576a9bf145663a9b457901bd', class: cn.cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
55
55
  hidden: !this.keepMobileContent,
56
56
  'desktop-xs:block': !this.keepMobileContent,
57
- }) }, index.h("slot", { key: '62413d44b71c12291cb13997e839774d2b047fdd' }))))));
57
+ }) }, index.h("slot", { key: 'a449801a77365afd4ecf916434b3a889dea315ee' }))))));
58
58
  }
59
59
  };
60
60
  Label.style = PLabelStyle0;
@@ -13,7 +13,7 @@ const Layout = class {
13
13
  this.variant = 'default';
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: 'fa4b89568d7ec5962f4767566ca8d5d97c169314', class: `p-layout variant-${this.variant}` }, index.h("div", { key: '21d92f4cfe34b655995fb9d984b1ef273f686ff2', class: "content" }, index.h("div", { key: '9fec48f933afa2a151e3e050a04459a09f15cedb', class: "inner-content" }, index.h("slot", { key: '0c8ff716020b44a9cf737e5c0390ec64e559b790', name: "content" }))), index.h("div", { key: 'a4b88f57ea6c6ea9cacfe6b5865185a99f691146', class: "sidebar" }, index.h("slot", { key: 'c2866ebb42b7a010ed08407fd4f75f6a86a669f1', name: "sidebar" })), index.h("div", { key: '3cbe3287c3b1cfd8472f4e0e27301c31770e25fe', class: "topbar" }, index.h("slot", { key: 'b36f43fdbacfc72357a63fbc85f65ec023f50b1a', name: "topbar" }))));
16
+ return (index.h(index.Host, { key: '0b8db1b82acbea80f6b8d320b7f4815e0b6490b4', class: `p-layout variant-${this.variant}` }, index.h("div", { key: '9103fd8a11822dd9ab1e98a6847de308a3ed5ab6', class: "content" }, index.h("div", { key: 'ba6fd30a15bab6624016a252c0c9e16835e75bd1', class: "inner-content" }, index.h("slot", { key: '2fa6b0d7047a414d89826faffc48de9e8b858d10', name: "content" }))), index.h("div", { key: 'ec2d595137dd7b9085f4a76a21bbb9945a895603', class: "sidebar" }, index.h("slot", { key: '05aad4cc9c4a78e53a98d5e01b3e3e4ed7a38aad', name: "sidebar" })), index.h("div", { key: '9897bda1f1b8f38f4975c1441c3ef2d714366996', class: "topbar" }, index.h("slot", { key: '53fb217063547eb68191c7d650c4cbe343e2cae9', name: "topbar" }))));
17
17
  }
18
18
  };
19
19
  Layout.style = PLayoutStyle0;
@@ -16,7 +16,7 @@ const ModalBody = class {
16
16
  this.padding = true;
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: '1b4a6fedbf81cd30f7842fe48878ccae7c0cbb70', class: `p-modal-body variant-${this.variant} ${this.roundedBottom && 'is-rounded-bottom'} ${this.roundedTop && 'is-rounded-top'} ${!this.padding && 'no-padding'}` }, index.h("slot", { key: '714bb76978da28bea87512fa36bd5b428ea2b31b' })));
19
+ return (index.h(index.Host, { key: '2a417803d55036da218474c7c662e84285a9a1a9', class: `p-modal-body variant-${this.variant} ${this.roundedBottom && 'is-rounded-bottom'} ${this.roundedTop && 'is-rounded-top'} ${!this.padding && 'no-padding'}` }, index.h("slot", { key: '965950e9f6768aaf454a79e2a8803be1de4c539d' })));
20
20
  }
21
21
  };
22
22
  ModalBody.style = PModalBodyStyle0;
@@ -44,7 +44,7 @@ const ModalContainer = class {
44
44
  }
45
45
  render() {
46
46
  const sizeClass = modalSizes[this.size];
47
- return (index.h(index.Host, { key: '43ff28201d70459575d8b37faae58aa8a992767a', class: `p-modal-container ${this.closing && 'closing'} ${sizeClass}` }, index.h("slot", { key: 'f44bb8738283f4f6143d4b45f7108340b6deef0b' })));
47
+ return (index.h(index.Host, { key: '7ecc3199ccdd86d8c8c7009997e786d178106f0e', class: `p-modal-container ${this.closing && 'closing'} ${sizeClass}` }, index.h("slot", { key: 'f9183374e69279a4e000817392833da5b1e3946e' })));
48
48
  }
49
49
  };
50
50
  ModalContainer.style = PModalContainerStyle0;
@@ -57,7 +57,7 @@ const ModalFooter = class {
57
57
  index.registerInstance(this, hostRef);
58
58
  }
59
59
  render() {
60
- return (index.h(index.Host, { key: '01439496d0b4b238b8fdfffbf5c9fdf3088858ae', class: "p-modal-footer" }, index.h("p-divider", { key: 'e7dc4fc0c16827f73af2f331faf0ab54cb740f21', class: "mb-6 mt-0 hidden desktop-xs:flex" }), index.h("slot", { key: '8e3f0ddb9ff38562411e59868719dc7c3c8e51e0' })));
60
+ return (index.h(index.Host, { key: '4568f3335f0fb02b824c6f579157af636bc039d1', class: "p-modal-footer" }, index.h("p-divider", { key: '67f74c1b3ab8e1456223bca4b576ea7cf928f61a', class: "mb-6 mt-0 hidden desktop-xs:flex" }), index.h("slot", { key: '400f438ad03d7b8aecdfe3c6f2bf340387b6d51a' })));
61
61
  }
62
62
  };
63
63
  ModalFooter.style = PModalFooterStyle0;
@@ -76,7 +76,7 @@ const ModalHeader = class {
76
76
  */
77
77
  close;
78
78
  render() {
79
- return (index.h(index.Host, { key: '15d09e0835c1ac62e23d1da6fa59042505e8e287', class: 'p-modal-header' }, index.h("span", { key: 'fe40f919874acd070ebcecaff47b80bd6f6889b7' }, index.h("slot", { key: 'cd118fa1054845af4c98e9f6779a796a35965ed2' })), this.showClose && (index.h("p-button", { key: '9d3c23704087e67a8e8e036532dc541b3bd2e022', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev), size: 'sm' }))));
79
+ return (index.h(index.Host, { key: 'a9a3ff260aa488e506aef11e37da9cb643e4381b', class: 'p-modal-header' }, index.h("span", { key: '1e0ed0fa40724ba2e4ab287013cf8d44683c82f2' }, index.h("slot", { key: 'ead156233b89f5b5dd265608f2d790ffa9c3ab0e' })), this.showClose && (index.h("p-button", { key: '8d84be66064a68dbcbfe9c6162652ded1fb561b3', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev), size: 'sm' }))));
80
80
  }
81
81
  };
82
82
  ModalHeader.style = PModalHeaderStyle0;
@@ -54,7 +54,7 @@ const Navbar = class {
54
54
  this._show = false;
55
55
  }
56
56
  render() {
57
- return (index.h(index.Host, { key: '5a650991757775c859753a4cba897657673e2c16', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, index.h("p-backdrop", { key: '7b9941b9890fe9b6caeec31abae0a3bd760122ff', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), index.h("div", { key: 'a5e159a45366eaec2c82ad05a8cf1beba3019a26', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, index.h("div", { key: '2c0ac1808679344a2e13bb6226753b6ab22a612b', class: 'flex w-full items-center justify-between layout-1280:hidden' }, index.h("p-button", { key: '3cb94341bf85ae8b06bae64cfb3ff23d1a2ba513', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), index.h("div", { key: 'b1a7c5563b6e952a0bc9642c1f7838e078bb393e', class: 'flex w-full flex-col items-stretch' }, index.h("slot", { key: 'ae42cffb58b026119581692611f9daff81e047cd', name: 'company' })), index.h("div", { key: '5b5907be291cdb13e508316c238e2258d8333cc8', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, index.h("slot", { key: 'e5ad788e78dc14a77b0a49cc372851a446c5f9a8', name: 'content' })), index.h("div", { key: '638e5b77b2bc7f92113e38f8926dcefffb9cbaf3', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, index.h("slot", { key: '5a0b81c1d1901a7f59b612f2ef56893ace17f4ec', name: 'user' }))), index.h("div", { key: '5cba6c913ed6c801c90096a8c7ec61850850982f', class: topbar({ class: sidebarAndTopbar() }) }, index.h("p-button", { key: '9588e62b42781a82c31ff815d49424c9750906bd', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), index.h("slot", { key: '78d2d84e2fe4e99bd8f188d8231a5250271e92bd', name: 'topbar' }))));
57
+ return (index.h(index.Host, { key: '70ca0cfea5bb8c474c0815dad243022f7b44316e', class: 'p-navbar w-full max-h-screen-safe layout-1280:w-60 layout-1680:w-72' }, index.h("p-backdrop", { key: '65a2f6ffd16d53c9075db8151a294d116ac5f04d', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), index.h("div", { key: '00e71ef350584ffd464d6019b4d54a7c86031e7e', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, index.h("div", { key: 'feaf8c5239f00c7dfa0ff30c6056e358aeea1560', class: 'flex w-full items-center justify-between layout-1280:hidden' }, index.h("p-button", { key: 'cd7e44187c32818c9155669401741b2c9b96feae', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), index.h("div", { key: 'cc62d840eb9c3d53b964e9a8d8f749680960c3e3', class: 'flex w-full flex-col items-stretch' }, index.h("slot", { key: 'd88e28add3173d9622322f172a1f43a67c67fb99', name: 'company' })), index.h("div", { key: 'a20bee71e8e185a514b73c3bb99202d62a4b8796', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, index.h("slot", { key: '73cd26f5a02640d8bab32ee94d328c51838d3872', name: 'content' })), index.h("div", { key: '0b3ad5fe38446eb236271abbe470d903d295bc98', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, index.h("slot", { key: '5f5b1fd9234dda2f266a1c299fde03d0594037ad', name: 'user' }))), index.h("div", { key: '07db4db22d0b9a67e89217f41342bd2c799b6c41', class: topbar({ class: sidebarAndTopbar() }) }, index.h("p-button", { key: '281a11e80d46851aa94622e53a215cd6fd4f025f', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), index.h("slot", { key: '7d0886fe095516747e2cf069573a958c58544123', name: 'topbar' }))));
58
58
  }
59
59
  handleCloseNavbar() {
60
60
  this._show = false;
@@ -53,10 +53,10 @@ const NavigationItem = class {
53
53
  render() {
54
54
  const TagType = this.as;
55
55
  const active = this.active || this.class?.includes('active');
56
- return (index.h(index.Host, { key: '79388e74c4f842451ba5bfc706b69905cdbd23f3', class: cn.cn('p-navigation-item inline-block', this.class) }, index.h(TagType, { key: '6f7f1bcabc8818c254af81a137c4f111e7405302', class: navigationItem({
56
+ return (index.h(index.Host, { key: '988a4b84ab9146aa06de915a06092894e9cf0a68', class: cn.cn('p-navigation-item inline-block', this.class) }, index.h(TagType, { key: '8cade7e9dc59ae1adc5fb6325d6c008e8f0a207f', class: navigationItem({
57
57
  icon: !!this.icon,
58
58
  active,
59
- }), href: this.href, target: this.target }, index.h("div", { key: '37f9fea4dafa366137346990d27b1c4ed483f9f7', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: 'ac71d3273d79a30dfdf3383ad988fc57755676dd', variant: this.icon })), index.h("span", { key: '2125e1909ebdb212e6b873b73edcbaae7d936d50', class: this.counter && 'has-counter' }, index.h("slot", { key: 'dd26013244c8282e21de4c32c6a7a28a15e52433' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: 'c8a88ea5590e98e8d2e9fe3f381a334167ae7920' }, this.counter)), !!this.loading && index.h("p-loader", { key: 'ba965e9b68f55340f3c69fc4dd120b6ee7dcbb44', class: 'ml-auto' }))));
59
+ }), href: this.href, target: this.target }, index.h("div", { key: '5f6cc2d0065d91bf7f5d943b2c62d28c0282a553', class: navigationItemIconContainer({ active }) }, index.h("p-icon", { key: '727250f6b3a18be24f2e8071cd2e8a0ba42c0ee5', variant: this.icon })), index.h("span", { key: 'c8d4814d0144a79305fc07ac5707a530a88a6628', class: this.counter && 'has-counter' }, index.h("slot", { key: '03b08d43b3185ddcff581f2704037ff3268cc7f0' })), !!this.counter && this.counter !== '0' && (index.h("p-badge", { key: '8d3e54e2dd4d9e6c37c6fa7f9a29b09f743c6cc6' }, this.counter)), !!this.loading && index.h("p-loader", { key: '7f1fc5d2e891a3ae79bb56497823017d264843cd', class: 'ml-auto' }))));
60
60
  }
61
61
  };
62
62
  NavigationItem.style = PNavigationItemStyle0;
@@ -13,7 +13,7 @@ const NavigationSection = class {
13
13
  this.header = undefined;
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: 'd08d6483e06b2f42650d3b866d9b80b3ecf493fe', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: '36c6cad94d0d3372fd81448f29011ee6eb880447' }, this.header)), index.h("div", { key: '0592eab02c6dfbaea10457f7c148b00de228f1e5', class: 'flex flex-col' }, index.h("slot", { key: 'e1f2e8847c6b7cdb10696ac9a2a5409a00a94018' }))));
16
+ return (index.h(index.Host, { key: '6cddd1e00b61b3f1a3567a69d2de1c1117822fa3', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (index.h("p-navigation-title", { key: '084887a5d8fc5d0c45c2faac96aead364bf93fa8' }, this.header)), index.h("div", { key: '1b8b27d6fbeee63a2262bfe2e4d72a4eb0ebd5a5', class: 'flex flex-col' }, index.h("slot", { key: '1bbd452c7ecd6bee4d79678b849e02164c828f9f' }))));
17
17
  }
18
18
  };
19
19
  NavigationSection.style = PNavigationSectionStyle0;
@@ -12,7 +12,7 @@ const NavigationTitle = class {
12
12
  index.registerInstance(this, hostRef);
13
13
  }
14
14
  render() {
15
- return (index.h(index.Host, { key: 'd23a12fb430b0821eff7412dd658f9e35d6ab30e', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, index.h("slot", { key: '942a9b87a9a230dbfc3c54b40b64f3b67714f35e' })));
15
+ return (index.h(index.Host, { key: 'fbd7677985ddc349ad5d4942717d7e3b387fb802', class: 'p-navigation-title text-xs font-medium text-black-teal-300' }, index.h("slot", { key: 'a8824564dbb03f7fbad48bec1c80fca9a21073d4' })));
16
16
  }
17
17
  };
18
18
  NavigationTitle.style = PNavigationTitleStyle0;
@@ -0,0 +1,70 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ const index = require('./index-3f9bbc0c.js');
6
+ const constants = require('./constants-eae831f7.js');
7
+ const index$1 = require('./index-b556e70f.js');
8
+ require('./clsx-fc789adc.js');
9
+
10
+ const paginationComponentCss = "*{box-sizing:border-box}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-off-white-300{--tw-bg-opacity:1!important;background-color:rgb(248 247 244/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.text-human-beige-700{--tw-text-opacity:1!important;color:rgb(231 216 203/var(--tw-text-opacity,1))!important}";
11
+ const PPaginationStyle0 = paginationComponentCss;
12
+
13
+ const pagination = index$1.cva([
14
+ 'p-pagination',
15
+ 'items-center gap-2',
16
+ 'rounded-full',
17
+ 'bg-off-white-300 border border-off-white-700',
18
+ 'p-1',
19
+ ], {
20
+ variants: {
21
+ hidden: {
22
+ false: 'flex',
23
+ true: 'hidden',
24
+ },
25
+ },
26
+ });
27
+ const Pagination = class {
28
+ constructor(hostRef) {
29
+ index.registerInstance(this, hostRef);
30
+ this.pageChange = index.createEvent(this, "pageChange", 3);
31
+ this.pageSizeChange = index.createEvent(this, "pageSizeChange", 3);
32
+ this.hideOnSinglePage = true;
33
+ this.enablePaginationSize = true;
34
+ this.enablePaginationPages = true;
35
+ this.page = 1;
36
+ this.total = undefined;
37
+ this.pageSize = constants.defaultSize;
38
+ this.pageSizeOptions = constants.defaultSizeOptions;
39
+ this._hasPaginationPages = true;
40
+ }
41
+ /**
42
+ * Event whenever the page changes
43
+ */
44
+ pageChange;
45
+ /**
46
+ * Event whenever the page changes
47
+ */
48
+ pageSizeChange;
49
+ render() {
50
+ const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
51
+ return (index.h(index.Host, { key: '90a23cd6c05cf683d848afc24ee03b95426e791e', class: pagination({
52
+ hidden: (hidePageSizeSelect && !this.enablePaginationSize) ||
53
+ (!this.enablePaginationSize && !this.enablePaginationPages),
54
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (index.h(index.Fragment, { key: 'c7f8ec9ddbf7a3e40ab466e5d356901df2ea6f3f' }, index.h("p-pagination-size", { key: 'f98822e9feab28e4a9bcec27229096f28e462158', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
55
+ this.hideOnSinglePage &&
56
+ this._hasPaginationPages && (index.h("p-divider", { key: '1f32c4da7c21822e2c4392c6f1e56e8048aa3f2f', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (index.h("p-pagination-pages", { key: '2bab7184cf3a49073cd26c68662532e00c5ffda2', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
57
+ }
58
+ _changePageSize(s) {
59
+ if (!s) {
60
+ return;
61
+ }
62
+ this.pageSize = s;
63
+ this.pageSizeChange.emit(this.pageSize);
64
+ }
65
+ };
66
+ Pagination.style = PPaginationStyle0;
67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AgB;YACrB,IAAI,CAAC,mBAAmB,KACvBA,wEACC,OAAO,EAAC,UAAU,EAClB,KAAK,EAAC,+BAA+B,GACpC,CACF,CACQ,CACX,EAEA,IAAI,CAAC,qBAAqB,KAC1BA,iFACC,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE,IAAI,CAAC,KAAK,EACjB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,gBAAgB,EAAE,IAAI,CAAC,gBAAgB,EACvC,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,EAC1D,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,MACxB,IAAI,CAAC,mBAAmB,GAAG,MAAM,GAAG,CAAC,CAAC,GAEvC,CACF,CACK,EACN;KACF;IAEO,eAAe,CAAC,CAAU;QACjC,IAAI,CAAC,CAAC,EAAE;YACP,OAAO;SACP;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;KACxC;;;;;;","names":["cva","defaultSize","defaultSizeOptions","h","Host","Fragment"],"sources":["src/components/molecules/pagination/pagination.component.css?tag=p-pagination","src/components/molecules/pagination/pagination.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tFragment,\n\th,\n\tHost,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { defaultSize, defaultSizeOptions } from '../pagination-size/constants';\nimport { cva } from 'class-variance-authority';\n\nconst pagination = cva(\n\t[\n\t\t'p-pagination',\n\t\t'items-center gap-2',\n\t\t'rounded-full',\n\t\t'bg-off-white-300 border border-off-white-700',\n\t\t'p-1',\n\t],\n\t{\n\t\tvariants: {\n\t\t\thidden: {\n\t\t\t\tfalse: 'flex',\n\t\t\t\ttrue: 'hidden',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.css',\n})\nexport class Pagination {\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = true;\n\n\t/**\n\t * Wether to enable pagination size select\n\t */\n\t@Prop() enablePaginationSize: boolean = true;\n\n\t/**\n\t * Wether to enable pagination pages\n\t */\n\t@Prop() enablePaginationPages: boolean = true;\n\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = defaultSize;\n\n\t/**\n\t * The options for the page size\n\t */\n\t@Prop() pageSizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageSizeChange: EventEmitter<number>;\n\n\t@State() private _hasPaginationPages = true;\n\n\trender() {\n\t\tconst hidePageSizeSelect =\n\t\t\tthis.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={pagination({\n\t\t\t\t\thidden:\n\t\t\t\t\t\t(hidePageSizeSelect && !this.enablePaginationSize) ||\n\t\t\t\t\t\t(!this.enablePaginationSize && !this.enablePaginationPages),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{this.enablePaginationPages && this.enablePaginationSize && (\n\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t<p-pagination-size\n\t\t\t\t\t\t\thidden={hidePageSizeSelect}\n\t\t\t\t\t\t\tsize={this.pageSize}\n\t\t\t\t\t\t\tsizeOptions={this.pageSizeOptions}\n\t\t\t\t\t\t\tonSizeChange={({ detail }) => this._changePageSize(detail)}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t{!hidePageSizeSelect &&\n\t\t\t\t\t\t\tthis.hideOnSinglePage &&\n\t\t\t\t\t\t\tthis._hasPaginationPages && (\n\t\t\t\t\t\t\t\t<p-divider\n\t\t\t\t\t\t\t\t\tvariant='vertical'\n\t\t\t\t\t\t\t\t\tclass='mx-0 h-4 text-human-beige-700'\n\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t</Fragment>\n\t\t\t\t)}\n\n\t\t\t\t{this.enablePaginationPages && (\n\t\t\t\t\t<p-pagination-pages\n\t\t\t\t\t\tpageSize={this.pageSize}\n\t\t\t\t\t\ttotal={this.total}\n\t\t\t\t\t\tpage={this.page}\n\t\t\t\t\t\thideOnSinglePage={this.hideOnSinglePage}\n\t\t\t\t\t\tonPageChange={({ detail }) => this.pageChange.emit(detail)}\n\t\t\t\t\t\tonPagesChange={({ detail }) =>\n\t\t\t\t\t\t\t(this._hasPaginationPages = detail > 1)\n\t\t\t\t\t\t}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _changePageSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.pageSize = s;\n\t\tthis.pageSizeChange.emit(this.pageSize);\n\t}\n}\n"],"version":3}
@@ -20,7 +20,7 @@ const Portal = class {
20
20
  this._moved ? this._el.remove() : (this._moved = true);
21
21
  }
22
22
  render() {
23
- return (index.h(index.Host, { key: '7604d2cbdf309fb03b9a051d737f2b92fa57a354' }, index.h("slot", { key: 'f4edec28f68504e7622f7fcffe9a80cf55501af9' })));
23
+ return (index.h(index.Host, { key: 'bb0d2d84023af6e4d6b9d87ebeba83d16c37949b' }, index.h("slot", { key: '014316bcd782e41366cbf3489357b1ea47b5d23b' })));
24
24
  }
25
25
  };
26
26
 
@@ -33,7 +33,7 @@ const Profile = class {
33
33
  }
34
34
  render() {
35
35
  const content = this._getContent();
36
- return (index.h(index.Host, { key: '155d1be3f5cd2acbed03155a869ced051470fbca', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (index.h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, index.h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), index.h("div", { slot: 'items' }, index.h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
36
+ return (index.h(index.Host, { key: 'c0fbe8fa2fbbcae04a370f132ce02091039a4007', class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (index.h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, index.h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), index.h("div", { slot: 'items' }, index.h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
37
37
  }
38
38
  slotchange() {
39
39
  this._checkDropdownSlot();
@@ -77,13 +77,13 @@ const Radio = class {
77
77
  */
78
78
  checkedChange;
79
79
  render() {
80
- return (index.h(index.Host, { key: '5e349c36969c1072d5ed2fe06f788a57e8d66073', class: 'p-radio' }, index.h("label", { key: '9f6ef133f032478a0b14316a3c23cf15afbc59c4', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, index.h("div", { key: '956e61210c310820dd33b01b4c9ca52170b525b1', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: '3b4344b7f05d0499bf0d30503ac8515be914d4be', class: radio({
80
+ return (index.h(index.Host, { key: 'b2ec6cf9d5661f57b7e28120148fcf9007069395', class: 'p-radio' }, index.h("label", { key: '782f32d703c4f897b287e7dfb80fd3b06f5e0abe', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, index.h("div", { key: '45580ebf3a62a9f9a1e746c15b7d15139a38a47c', class: 'relative flex flex-shrink-0 items-center' }, index.h("input", { key: '2262b932817e69fea5c5dd5c5046d9050d1b52a1', class: radio({
81
81
  size: this.size,
82
82
  disabled: this.disabled,
83
- }), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), index.h("div", { key: 'e71f83506d266d6dccacbe238b1760196a8b4044', class: circle({
83
+ }), type: 'radio', id: this.id ?? this._nonce, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: this.disabled, onChange: ev => this._onChange(ev) }), index.h("div", { key: '18275011c0989071809d90c21e477e70099a1f4e', class: circle({
84
84
  size: this.size,
85
85
  disabled: this.disabled,
86
- }) })), index.h("slot", { key: '1badbdded10dfcbd39f7f8f34f673453e3901ff5' }))));
86
+ }) })), index.h("slot", { key: '02d03f675466bef15f63ab49240a53e1607c3ff2' }))));
87
87
  }
88
88
  _onChange(ev) {
89
89
  if (this.disabled) {
@@ -185,7 +185,7 @@ const Select = class {
185
185
  }
186
186
  }
187
187
  render() {
188
- return (index.h(index.Host, { key: 'e1703146f61fa0572b6af24a5acf6793f664cf8d', class: 'p-select' }, index.h("p-dropdown", { key: '7fcdf8d0721f6f5ab4a2994ed6b1a082bcf025d9', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, index.h("p-field-container", { key: '0311a190d5313817e29382e4bf97d568f2221062', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, index.h("p-button", { key: '16d91a2912b63316fe3203a54b27bb80b6157a50', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, index.h("div", { key: 'f6dcac20124cd16f8dc802c4c6f09bff7eeb8e3a', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
188
+ return (index.h(index.Host, { key: '0535ba59ab5b32d65e1f2672a49b404f015bc7ea', class: 'p-select' }, index.h("p-dropdown", { key: '84b70085736f0943eddc1a0bae65460b78f13aad', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, index.h("p-field-container", { key: 'daa079d94004685de5816f0d06fa8f07539900eb', slot: 'trigger', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, index.h("p-button", { key: 'c0f4640c1cd9047fae73594bef62a7b28f84a9f8', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, index.h("div", { key: '2479f6d8ff8dea97e8592ba6059371a3967f852a', class: 'relative flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem())));
189
189
  }
190
190
  documentClickHandler({ target }) {
191
191
  if (!this._showDropdown || childOf.childOf(target, this._el)) {
@@ -13,7 +13,7 @@ const SliderIndicator = class {
13
13
  this.active = false;
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: '3fea5f2ed9499de58de65a9d313a9b84813af48c', class: `p-slider-indicator ${this.active && 'active'}` }));
16
+ return (index.h(index.Host, { key: 'b4a76296cb2107ee168a257a89fcf4cd75a724dc', class: `p-slider-indicator ${this.active && 'active'}` }));
17
17
  }
18
18
  };
19
19
  SliderIndicator.style = PSliderIndicatorStyle0;
@@ -16,8 +16,8 @@ const Status = class {
16
16
  this.iconRotate = undefined;
17
17
  }
18
18
  render() {
19
- return (index.h(index.Host, { key: 'bc0d4df80dd57789f44a87f8b54c4b23947229aa', class: `p-status variant-${this.variant}
20
- }` }, this._getIcon(), index.h("slot", { key: '2275a7e8b94d3a2dc43b584d5d889114c5e978c2' })));
19
+ return (index.h(index.Host, { key: 'e7ee3ba3c0b6e4b8b72f666f4e8d17eed22a588a', class: `p-status variant-${this.variant}
20
+ }` }, this._getIcon(), index.h("slot", { key: '485021196c8b4bac9a05021699b5796b7073d86f' })));
21
21
  }
22
22
  _getIcon() {
23
23
  const icon = this.icon || this._getVariantIcon();
@@ -17,7 +17,7 @@ const StepperItem = class {
17
17
  this.active = false;
18
18
  }
19
19
  render() {
20
- return (index.h(index.Host, { key: '5b5c0a4e500578e55b5d7c55a913cea70e9fbb23', class: "p-stepper-item" }, index.h("div", { key: '0f6311a964269c5a03c915feb1abcd425552cf59', class: "circle" }, this.finished && index.h("p-icon", { key: '789a03346900f7b7e52b7336d3f2ed25b41502f8', variant: "checkmark" })), index.h("div", { key: '7eae0631b8f7d20b010e808dc9e2309f15b1b6a3', class: "content" }, index.h("slot", { key: '4bccba5c636b8a7e649aea2141b5c87c149a98cd', name: "content" }))));
20
+ return (index.h(index.Host, { key: '3d485ab1326327a11f843a10a06976dbfaa5e69e', class: "p-stepper-item" }, index.h("div", { key: '77778ae9a704c43da71e62455e5ba6c00c9e575f', class: "circle" }, this.finished && index.h("p-icon", { key: 'ba5127ed6b27595d9e730ce72a7842e3a4aae60e', variant: "checkmark" })), index.h("div", { key: 'dd5ea1dd939440735e0fb32c981054ff6bd78966', class: "content" }, index.h("slot", { key: 'c1c73ee1f7d719d8f8da88dda286a01875ee9032', name: "content" }))));
21
21
  }
22
22
  };
23
23
  StepperItem.style = PStepperItemStyle0;
@@ -14,7 +14,7 @@ const StepperLine = class {
14
14
  this.direction = 'horizontal';
15
15
  }
16
16
  render() {
17
- return index.h(index.Host, { key: 'a92797d409afb13452d2e973fc0ad35e7d5e6dee', class: "p-stepper-line" });
17
+ return index.h(index.Host, { key: '1f10907cd345fbd5beda9a9d022426dbeb1d769d', class: "p-stepper-line" });
18
18
  }
19
19
  };
20
20
  StepperLine.style = PStepperLineStyle0;
@@ -122,7 +122,7 @@ const Stepper = class {
122
122
  }
123
123
  }
124
124
  render() {
125
- return (index.h(index.Host, { key: '7987eb70811222b9a526c9a8b156cb483018259c', class: 'p-stepper' }, index.h("slot", { key: 'f613c5c39f66396df4eef136e1c5fec38f48b218', onSlotchange: () => this._generateStepsOnce() })));
125
+ return (index.h(index.Host, { key: 'ea1674841729093f8c7c93a22362efcb9fe7a410', class: 'p-stepper' }, index.h("slot", { key: 'bda39ed6b0ee781f9edd0ff5150521feb77bceb2', onSlotchange: () => this._generateStepsOnce() })));
126
126
  }
127
127
  _onActiveStepChange() {
128
128
  this._generateStepsOnce();
@@ -9,7 +9,7 @@ const TabGroup = class {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (index.h(index.Host, { key: "4c7116038f4e902779bcc675b8c1b4c393a8bf9b", class: "p-tab-group relative flex w-full flex-col" }, index.h("div", { key: "f6f23c1137257a186fe344d1bc3107759628cb3f", class: "scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto" }, index.h("slot", { key: "f4060cd466b9672bbdc827e644e7c73f5051ecc2" })), index.h("p-divider", { key: "fbb9c916923ed562dff16233405f17a17e2f3839", class: "absolute bottom-0 left-0 m-0 w-full" })));
12
+ return (index.h(index.Host, { key: "0196a50b1603687c6966ddfe57f93f5163d8a53f", class: "p-tab-group relative flex w-full flex-col" }, index.h("div", { key: "0c5412d0724d086fc4ef2a7ad8dc306e9769d130", class: "scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto" }, index.h("slot", { key: "31bb8480ea930c664473c8b77f9cb97276b5af16" })), index.h("p-divider", { key: "8e4668bc349afae1e1772a1b1f5bb3f3476a5aaf", class: "absolute bottom-0 left-0 m-0 w-full" })));
13
13
  }
14
14
  };
15
15
 
@@ -13,7 +13,7 @@ const TabItem = class {
13
13
  this.active = false;
14
14
  }
15
15
  render() {
16
- return (index.h(index.Host, { key: '089d3d7d47eacf3257b0e242fcf1646f3c3a7306', class: `p-tab-item ${this.active && 'active'}` }, index.h("slot", { key: '29e458fd3167121bddb9b35fa0e236a201745fd9' })));
16
+ return (index.h(index.Host, { key: '8ede23aa9899c3bdea0191542b007fa77dd54fe8', class: `p-tab-item ${this.active && 'active'}` }, index.h("slot", { key: 'd6ecbb51b03ab4791f3153bdf6c7c98623bdd0b1' })));
17
17
  }
18
18
  };
19
19
  TabItem.style = PTabItemStyle0;
@@ -5,11 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  const index = require('./index-3f9bbc0c.js');
6
6
  const screens = require('./screens-e5439aeb.js');
7
7
  const localization = require('./localization-3a0a71db.js');
8
- const constants = require('./constants-f911468d.js');
8
+ const constants = require('./constants-eae831f7.js');
9
9
  const cn = require('./cn-b70f9965.js');
10
10
  require('./clsx-fc789adc.js');
11
11
 
12
- const tableComponentCss = ".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-4{bottom:1rem!important}.left-1\\/2{left:50%!important}.flex{display:flex!important}.hidden{display:none!important}.flex-shrink{flex-shrink:1!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.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}*{box-sizing:border-box}p-table{display:flex;flex-direction:column;position:relative}p-table .p-checkbox{flex-shrink:0}p-table p-table-container{position:relative}p-table p-table-container p-floating-menu-container{--tw-translate-x:-50%;animation:floatingMenuContainerIn .3s ease forwards!important;bottom:1rem;left:50%;position:fixed;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))}@media (min-width:40rem){p-table p-table-container p-floating-menu-container{bottom:4rem;position:absolute}}p-table p-table-container p-floating-menu-container:not(.shown){display:none}p-table p-table-container p-floating-menu-container.inactive{animation:floatingMenuContainerOut .3s ease forwards!important}@keyframes floatingMenuContainerOut{0%{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}99%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}}@keyframes floatingMenuContainerIn{0%{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}1%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}}.static{position:static!important}.mx-0{margin-left:0!important;margin-right:0!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-auto{margin-left:auto!important}.table{display:table!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!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{--tw-text-opacity:1!important;color:rgb(81 83 107/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}.opacity-0{opacity:0!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}@media (min-width:40rem){.tablet\\:flex{display:flex!important}}";
12
+ const tableComponentCss = ".fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-4{bottom:1rem!important}.left-1\\/2{left:50%!important}.flex{display:flex!important}.hidden{display:none!important}.flex-shrink{flex-shrink:1!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.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}*{box-sizing:border-box}p-table{display:flex;flex-direction:column;position:relative}p-table .p-checkbox{flex-shrink:0}p-table p-table-container{position:relative}p-table p-table-container p-floating-menu-container{--tw-translate-x:-50%;animation:floatingMenuContainerIn .3s ease forwards!important;bottom:1rem;left:50%;position:fixed;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))}@media (min-width:40rem){p-table p-table-container p-floating-menu-container{bottom:4rem;position:absolute}}p-table p-table-container p-floating-menu-container:not(.shown){display:none}p-table p-table-container p-floating-menu-container.inactive{animation:floatingMenuContainerOut .3s ease forwards!important}@keyframes floatingMenuContainerOut{0%{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}99%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}}@keyframes floatingMenuContainerIn{0%{display:none;opacity:0;transform:translateY(100%) translateX(-50%)}1%{display:flex;opacity:0;transform:translateY(100%) translateX(-50%)}to{display:flex;opacity:1;transform:translateY(0) translateX(-50%)}}.static{position:static!important}.mb-14{margin-bottom:3.5rem!important}.mb-6{margin-bottom:1.5rem!important}.ml-auto{margin-left:auto!important}.table{display:table!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[20rem\\]{max-width:20rem!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!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,1))!important}.opacity-0{opacity:0!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}";
13
13
  const PTableStyle0 = tableComponentCss;
14
14
 
15
15
  const Table = class {
@@ -153,7 +153,7 @@ const Table = class {
153
153
  this.hasRendered.emit();
154
154
  }
155
155
  render() {
156
- return (index.h(index.Host, { key: '07f810e3e22d4e84be51cc8489adc253ba40c953', class: 'p-table' }, index.h("p-table-container", { key: '500d002895d31f4ee1d68ea68a3121aaa80f8a7e', shadow: this.shadow }, this.enableHeader && (index.h("p-table-header", { key: 'baee39602cdca62207f2438d386492d75a16f8b3',
156
+ return (index.h(index.Host, { key: '115781a7ed9724c4e45f91400483141b578cf54b', class: 'p-table' }, index.h("p-table-container", { key: '6c354c314ccb5e4c167b0a7d6cd43bbc421d3456', shadow: this.shadow }, this.enableHeader && (index.h("p-table-header", { key: 'e2b80da28b457dce197f231850e3f9961cb63977',
157
157
  // quick filters
158
158
  quickFilters: this.quickFilters, activeQuickFilterIdentifier: this.activeQuickFilterIdentifier, onQuickFilter: ({ detail }) => this.quickFilter.emit(detail),
159
159
  // search
@@ -163,7 +163,7 @@ const Table = class {
163
163
  // action button
164
164
  enableAction: this.enableAction, actionIcon: this.actionButtonIcon, actionText: this.actionButtonText, actionLoading: this.actionButtonLoading, canUseAction: this.actionButtonEnabled, actionButtonTemplate: this.actionButtonTemplate, onAction: () => this.action.emit(), itemsSelectedAmount: this.selectedRows?.length,
165
165
  //loading
166
- loading: this.headerLoading }, this._hasCustomFilterSlot && (index.h("slot", { key: 'a0cfc4cc04b6f5c2f8f79a551c345c7dda705f92', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (index.h("slot", { key: '06562edb6f3ae626a42a5c2cee1718342f7d6fee', name: 'custom-actions', slot: 'custom-actions' })))), this._getHeader(), index.h("div", { key: '04a4ce4368a48a7ff9a4b97b5c7717e2a3432cea', class: 'flex flex-1 flex-col' }, this._getRows()), this.enableFooter && (index.h("p-table-footer", { key: '4155594950f0a0e6c95eef2079f07cc1c9c06b87',
166
+ loading: this.headerLoading }, this._hasCustomFilterSlot && (index.h("slot", { key: 'b83f2bceda8502cb14dbe0691ee0f9ea53f3be2c', name: 'custom-filter', slot: 'custom-filter' })), this._hasCustomActionsSlot && (index.h("slot", { key: 'a9bad5a3a28e176fb81df14d4a418f8ba2d29542', name: 'custom-actions', slot: 'custom-actions' })))), this._getHeader(), index.h("div", { key: '5d57a53317fcb3621d4bf6b6abb1662dfeb217c4', class: 'flex flex-1 flex-col' }, this._getRows()), this.enableFooter && (index.h("p-table-footer", { key: '8c4df256292e0ec8246bba9e1dbbf81c51cd89bb',
167
167
  // overall
168
168
  hideOnSinglePage: this.hideOnSinglePage,
169
169
  // page size select
@@ -173,13 +173,13 @@ const Table = class {
173
173
  // export
174
174
  enableExport: this.enableExport, onExport: () => this.export.emit(),
175
175
  //loading
176
- loading: this.footerLoading })), this.enableFloatingMenu && this._enableRowSelection ? (index.h("p-floating-menu-container", { usedInTable: true, class: `${this.selectedRows?.length ? '' : 'inactive'} ${this._floatingMenuShown ? 'shown' : ''}` }, index.h("p-floating-menu-item", { hover: false, slot: 'floating-menu-item', class: this._rowActionsFloating?.length ? 'hidden tablet:flex' : '' }, this.floatingMenuAmountSelectedTemplate(this.selectedRows?.length)), index.h("p-divider", { class: `mx-0 text-storm ${this._rowActionsFloating?.length ? 'hidden tablet:flex' : ''}`, variant: 'vertical', slot: 'floating-menu-item' }), this._rowActionsFloating?.length &&
177
- this._rowActionsFloating.map(a => (index.h("p-floating-menu-item", { slot: 'floating-menu-item', disabled: a.disabled, onClick: () => !a.disabled &&
176
+ loading: this.footerLoading })), this.enableFloatingMenu && this._enableRowSelection ? (index.h("p-floating-menu-container", { usedInTable: true, class: `${this.selectedRows?.length ? '' : 'inactive'} ${this._floatingMenuShown ? 'shown' : ''}`, amountSelectedTemplate: this.floatingMenuAmountSelectedTemplate, amount: this.selectedRows?.length, enableAmountSelected: !!this._rowActionsFloating?.length, onClose: () => this._selectAllChange(null, false) }, this._rowActionsFloating?.length &&
177
+ this._rowActionsFloating.map(a => (index.h("p-floating-menu-item", { slot: 'floating-menu-item', disabled: a.disabled, loading: a.loading, icon: a.icon, iconRotate: a.iconRotate, iconFlip: a.iconFlip, onClick: () => !a.disabled &&
178
178
  !a.loading &&
179
179
  !!a.action &&
180
180
  a.type === 'single'
181
181
  ? a.action(this.selectedRows[0], false)
182
- : a.action(this.selectedRows, true) }, a.label, ' ', a.loading ? (index.h("p-loader", null)) : (index.h("p-icon", { variant: a.icon, rotate: a.iconRotate, flip: a.iconFlip }))))), this._rowActionsFloating?.length && (index.h("p-divider", { class: 'mx-0 text-storm', variant: 'vertical', slot: 'floating-menu-item' })), index.h("p-floating-menu-item", { slot: 'floating-menu-item', onClick: () => this._selectAllChange(null, false) }, index.h("p-icon", { variant: 'negative' })))) : (''))));
182
+ : a.action(this.selectedRows, true) }, a.label))))) : (''))));
183
183
  }
184
184
  async _setLocales() {
185
185
  this._locales = await localization.getLocaleComponentStrings(this._el);
@@ -326,10 +326,11 @@ const Table = class {
326
326
  }
327
327
  return (index.h("div", { class: `flex max-w-[20rem] flex-col items-center self-center py-24 text-center ${this.enableEmptyStateAction && 'cursor-pointer'}`, onClick: () => this.enableEmptyStateAction && this.emptyStateActionClick.emit(null) }, index.h("p-illustration", { variant: 'empty-state-add', class: 'mb-6' }), index.h("p", { class: 'text-storm-default font-semibold' }, this.emptyStateHeader()), index.h("p", { class: 'mb-6 text-sm text-storm-medium' }, this.emptyStateContent()), this.enableEmptyStateAction && (index.h("p-button", { variant: 'secondary', icon: 'plus', size: 'sm' }, this.emptyStateAction()))));
328
328
  }
329
- _selectAllChange({ detail: checked }, forceValue) {
329
+ _selectAllChange(ev, forceValue) {
330
330
  if (!this._enableRowSelection) {
331
331
  return;
332
332
  }
333
+ const checked = ev?.detail ?? forceValue ?? false;
333
334
  const value = forceValue === undefined ? checked : forceValue;
334
335
  if (value) {
335
336
  const toAdd = [];