@paperless/core 2.0.1-beta.33 → 2.0.1-beta.35

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 (655) hide show
  1. package/CHANGELOG.md +108 -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-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  9. package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  10. package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  11. package/dist/build/p-28dbbce6.entry.js +2 -0
  12. package/dist/build/p-28ee6cd6.entry.js +2 -0
  13. package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
  14. package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  15. package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
  16. package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  17. package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
  18. package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  19. package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  20. package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  21. package/dist/build/p-469615ef.entry.js +2 -0
  22. package/dist/build/p-469615ef.entry.js.map +1 -0
  23. package/dist/build/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  24. package/dist/build/p-4f947801.entry.js +2 -0
  25. package/dist/build/p-549b2931.entry.js +2 -0
  26. package/dist/build/p-549b2931.entry.js.map +1 -0
  27. package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  28. package/dist/build/p-59962e55.entry.js +2 -0
  29. package/dist/build/p-5e139fea.entry.js +2 -0
  30. package/dist/build/p-5e139fea.entry.js.map +1 -0
  31. package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
  32. package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  33. package/dist/build/p-711bb72e.entry.js +2 -0
  34. package/dist/build/p-711bb72e.entry.js.map +1 -0
  35. package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  36. package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  37. package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
  38. package/dist/build/p-7ce3ed33.js.map +1 -0
  39. package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
  40. package/dist/build/p-83946184.js.map +1 -0
  41. package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  42. package/dist/build/p-8857d619.entry.js +2 -0
  43. package/dist/build/p-8857d619.entry.js.map +1 -0
  44. package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  45. package/dist/{paperless/p-28f44624.entry.js → build/p-8c8128f9.entry.js} +2 -2
  46. package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
  47. package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  48. package/dist/build/p-99352ae4.entry.js +2 -0
  49. package/dist/build/p-99352ae4.entry.js.map +1 -0
  50. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
  51. package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  52. package/dist/build/p-c55ee8d6.entry.js +2 -0
  53. package/dist/build/p-c55ee8d6.entry.js.map +1 -0
  54. package/dist/build/p-cf0cc50e.js +2 -0
  55. package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  56. package/dist/build/p-d48ef748.entry.js +2 -0
  57. package/dist/build/p-d48ef748.entry.js.map +1 -0
  58. package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
  59. package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  60. package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  61. package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  62. package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
  63. package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  64. package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  65. package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
  66. package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  67. package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  68. package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  69. package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  70. package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
  71. package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
  72. package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  73. package/dist/build/paperless.esm.js +1 -1
  74. package/dist/build/paperless.esm.js.map +1 -1
  75. package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
  76. package/dist/cjs/constants-eae831f7.js.map +1 -0
  77. package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
  78. package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
  79. package/dist/cjs/index-3f9bbc0c.js +14 -10
  80. package/dist/cjs/index.cjs.js +1 -1
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  83. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  84. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  85. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  86. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  87. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  88. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  89. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  90. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  91. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  92. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  93. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  94. package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +18 -153
  95. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
  96. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  97. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  98. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  99. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  100. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  101. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  102. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
  103. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  104. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
  105. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
  106. package/dist/cjs/p-field_2.cjs.entry.js +17 -5
  107. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  108. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
  109. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  110. package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
  111. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  112. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  113. package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
  114. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  115. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  116. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  117. package/dist/cjs/p-label.cjs.entry.js +3 -3
  118. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  119. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  120. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  121. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  122. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  123. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  124. package/dist/cjs/p-pagination.cjs.entry.js +70 -0
  125. package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
  126. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  127. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  128. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  129. package/dist/cjs/p-select.cjs.entry.js +1 -1
  130. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  131. package/dist/cjs/p-status.cjs.entry.js +2 -2
  132. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  133. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  134. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  135. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  136. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  137. package/dist/cjs/p-table.cjs.entry.js +9 -8
  138. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  139. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  140. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  141. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  142. package/dist/cjs/paperless.cjs.js +1 -1
  143. package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
  144. package/dist/collection/collection-manifest.json +4 -3
  145. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  146. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  147. package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
  148. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  149. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
  150. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
  151. package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
  152. package/dist/collection/components/atoms/checkbox/checkbox.component.js +3 -3
  153. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  154. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  155. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  156. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  157. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  158. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  159. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  160. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
  161. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  162. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  163. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
  164. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  165. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  166. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
  167. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  168. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  169. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
  170. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  171. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  172. package/dist/collection/components/atoms/helper/helper.component.js +2 -2
  173. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  174. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  175. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  176. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
  177. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  178. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  179. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  180. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  181. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  182. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  183. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  184. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  185. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
  186. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
  187. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
  188. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  189. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  190. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  191. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
  192. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  193. package/dist/collection/components/atoms/status/status.component.js +3 -3
  194. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  195. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  196. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  197. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  198. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  199. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  200. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  201. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  202. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  203. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  204. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  205. package/dist/collection/components/molecules/button/button.component.js +5 -5
  206. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  207. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  208. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  209. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  210. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  211. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  212. package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
  213. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  214. package/dist/collection/components/molecules/field/field.component.js +18 -6
  215. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  216. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  217. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  218. package/dist/collection/components/molecules/label/label.component.js +4 -4
  219. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
  220. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  221. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  222. package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
  223. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  224. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
  225. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
  226. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
  227. package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
  228. package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
  229. package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
  230. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
  231. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  232. package/dist/collection/components/molecules/select/select.component.js +3 -3
  233. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  234. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  235. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -1
  236. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  237. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  238. package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
  239. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  240. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  241. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
  242. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  243. package/dist/collection/components/organisms/table/table.component.css +1 -1
  244. package/dist/collection/components/organisms/table/table.component.js +9 -8
  245. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  246. package/dist/collection/utils/icons.js +6 -0
  247. package/dist/collection/utils/icons.js.map +1 -1
  248. package/dist/components/avatar.component.js +1 -1
  249. package/dist/components/backdrop.component.js +2 -2
  250. package/dist/components/badge.component.js +1 -1
  251. package/dist/components/button.component.js +4 -4
  252. package/dist/components/calendar.component.js +1 -1
  253. package/dist/components/checkbox.component.js +3 -3
  254. package/dist/components/checkbox.component.js.map +1 -1
  255. package/dist/components/divider.component.js +1 -1
  256. package/dist/components/drawer-body.component.js +1 -1
  257. package/dist/components/drawer-container.component.js +1 -1
  258. package/dist/components/drawer-header.component.js +1 -1
  259. package/dist/components/dropdown-menu-container.component.js +11 -9
  260. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  261. package/dist/components/dropdown-menu-item.component.js +35 -4
  262. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  263. package/dist/components/dropdown.component.js +15 -6
  264. package/dist/components/dropdown.component.js.map +1 -1
  265. package/dist/components/field-container.component.js +8 -2
  266. package/dist/components/field-container.component.js.map +1 -1
  267. package/dist/components/field.component.js +17 -5
  268. package/dist/components/field.component.js.map +1 -1
  269. package/dist/components/floating-menu-container.component.js +66 -6
  270. package/dist/components/floating-menu-container.component.js.map +1 -1
  271. package/dist/components/floating-menu-item.component.js +85 -6
  272. package/dist/components/floating-menu-item.component.js.map +1 -1
  273. package/dist/components/helper.component.js +9 -3
  274. package/dist/components/helper.component.js.map +1 -1
  275. package/dist/components/icons.js +17 -0
  276. package/dist/components/icons.js.map +1 -1
  277. package/dist/components/illustration.component.js +1 -1
  278. package/dist/components/input-error.component.js +1 -1
  279. package/dist/components/modal-body.component.js +1 -1
  280. package/dist/components/modal-container.component.js +1 -1
  281. package/dist/components/modal-footer.component.js +1 -1
  282. package/dist/components/modal-header.component.js +1 -1
  283. package/dist/components/navigation-title.component.js +1 -1
  284. package/dist/components/p-accordion.js +1 -1
  285. package/dist/components/p-attachment.js +4 -4
  286. package/dist/components/p-avatar-group.js +1 -1
  287. package/dist/components/p-button-group.js +1 -1
  288. package/dist/components/p-card-body.js +1 -1
  289. package/dist/components/p-card-container.js +1 -1
  290. package/dist/components/p-card-header.js +2 -2
  291. package/dist/components/p-content-slider.js +2 -2
  292. package/dist/components/p-counter.js +1 -1
  293. package/dist/components/p-cropper.js +2 -2
  294. package/dist/components/p-datepicker.js +2 -2
  295. package/dist/components/p-iban-icon.js +1 -1
  296. package/dist/components/p-icon-deprecated.js +1 -1
  297. package/dist/components/p-info-panel.js +1 -1
  298. package/dist/components/p-input-group.js +3 -3
  299. package/dist/components/p-label.js +3 -3
  300. package/dist/components/p-layout.js +1 -1
  301. package/dist/components/p-navbar.js +1 -1
  302. package/dist/components/p-navigation-item.js +2 -2
  303. package/dist/components/p-navigation-section.js +1 -1
  304. package/dist/components/p-pagination-pages-item.d.ts +11 -0
  305. package/dist/components/p-pagination-pages-item.js +8 -0
  306. package/dist/components/p-pagination-pages-item.js.map +1 -0
  307. package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
  308. package/dist/components/p-pagination-pages.js +8 -0
  309. package/dist/components/p-pagination-pages.js.map +1 -0
  310. package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
  311. package/dist/components/p-pagination-size.js +8 -0
  312. package/dist/components/p-pagination-size.js.map +1 -0
  313. package/dist/components/p-pagination.js +143 -1
  314. package/dist/components/p-pagination.js.map +1 -1
  315. package/dist/components/p-profile.js +1 -1
  316. package/dist/components/p-radio.js +3 -3
  317. package/dist/components/p-select.js +1 -1
  318. package/dist/components/p-status.js +2 -2
  319. package/dist/components/p-stepper-item.js +1 -1
  320. package/dist/components/p-stepper.js +1 -1
  321. package/dist/components/p-tab-group.js +1 -1
  322. package/dist/components/p-tab-item.js +1 -1
  323. package/dist/components/p-table.js +15 -14
  324. package/dist/components/p-table.js.map +1 -1
  325. package/dist/components/p-toast-container.js +1 -1
  326. package/dist/components/p-toast.js +1 -1
  327. package/dist/components/p-toggle.js +3 -3
  328. package/dist/components/pagination-pages-item.component.js +106 -0
  329. package/dist/components/pagination-pages-item.component.js.map +1 -0
  330. package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
  331. package/dist/components/pagination-pages.component.js.map +1 -0
  332. package/dist/components/pagination-size.component.js +134 -0
  333. package/dist/components/pagination-size.component.js.map +1 -0
  334. package/dist/components/portal.component.js +1 -1
  335. package/dist/components/segment-container.component.js +1 -1
  336. package/dist/components/segment-item.component.js +2 -2
  337. package/dist/components/slider-indicator.component.js +1 -1
  338. package/dist/components/stepper-line.component.js +1 -1
  339. package/dist/components/table-cell.component.js +1 -1
  340. package/dist/components/table-container.component.js +1 -1
  341. package/dist/components/table-footer.component.js +9 -9
  342. package/dist/components/table-footer.component.js.map +1 -1
  343. package/dist/components/table-header.component.js +3 -3
  344. package/dist/components/table-row.component.js +2 -2
  345. package/dist/components/tooltip.component.js +4 -4
  346. package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
  347. package/dist/esm/constants-1dd98b15.js.map +1 -0
  348. package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
  349. package/dist/esm/icons-7312d60c.js.map +1 -0
  350. package/dist/esm/index-2ef94580.js +14 -10
  351. package/dist/esm/index.js +1 -1
  352. package/dist/esm/loader.js +1 -1
  353. package/dist/esm/p-accordion.entry.js +1 -1
  354. package/dist/esm/p-attachment.entry.js +4 -4
  355. package/dist/esm/p-avatar-group.entry.js +1 -1
  356. package/dist/esm/p-avatar.entry.js +1 -1
  357. package/dist/esm/p-backdrop.entry.js +2 -2
  358. package/dist/esm/p-badge_3.entry.js +4 -4
  359. package/dist/esm/p-button-group.entry.js +1 -1
  360. package/dist/esm/p-button_3.entry.js +5 -5
  361. package/dist/esm/p-calendar.entry.js +1 -1
  362. package/dist/esm/p-card-body.entry.js +1 -1
  363. package/dist/esm/p-card-container.entry.js +1 -1
  364. package/dist/esm/p-card-header.entry.js +2 -2
  365. package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +19 -153
  366. package/dist/esm/p-checkbox_2.entry.js.map +1 -0
  367. package/dist/esm/p-content-slider.entry.js +2 -2
  368. package/dist/esm/p-counter.entry.js +1 -1
  369. package/dist/esm/p-cropper.entry.js +2 -2
  370. package/dist/esm/p-datepicker.entry.js +2 -2
  371. package/dist/esm/p-divider.entry.js +1 -1
  372. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  373. package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
  374. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  375. package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
  376. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
  377. package/dist/esm/p-field_2.entry.js +17 -5
  378. package/dist/esm/p-field_2.entry.js.map +1 -1
  379. package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
  380. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  381. package/dist/esm/p-helper_2.entry.js +6 -6
  382. package/dist/esm/p-helper_2.entry.js.map +1 -1
  383. package/dist/esm/p-iban-icon.entry.js +1 -1
  384. package/dist/esm/p-icon-deprecated.entry.js +1 -1
  385. package/dist/esm/p-info-panel.entry.js +1 -1
  386. package/dist/esm/p-input-error.entry.js +1 -1
  387. package/dist/esm/p-input-group.entry.js +3 -3
  388. package/dist/esm/p-label.entry.js +3 -3
  389. package/dist/esm/p-layout.entry.js +1 -1
  390. package/dist/esm/p-modal-body_4.entry.js +4 -4
  391. package/dist/esm/p-navbar.entry.js +1 -1
  392. package/dist/esm/p-navigation-item.entry.js +2 -2
  393. package/dist/esm/p-navigation-section.entry.js +1 -1
  394. package/dist/esm/p-navigation-title.entry.js +1 -1
  395. package/dist/esm/p-pagination.entry.js +66 -0
  396. package/dist/esm/p-pagination.entry.js.map +1 -0
  397. package/dist/esm/p-portal.entry.js +1 -1
  398. package/dist/esm/p-profile.entry.js +1 -1
  399. package/dist/esm/p-radio.entry.js +3 -3
  400. package/dist/esm/p-select.entry.js +1 -1
  401. package/dist/esm/p-slider-indicator.entry.js +1 -1
  402. package/dist/esm/p-status.entry.js +2 -2
  403. package/dist/esm/p-stepper-item.entry.js +1 -1
  404. package/dist/esm/p-stepper-line.entry.js +1 -1
  405. package/dist/esm/p-stepper.entry.js +1 -1
  406. package/dist/esm/p-tab-group.entry.js +1 -1
  407. package/dist/esm/p-tab-item.entry.js +1 -1
  408. package/dist/esm/p-table.entry.js +9 -8
  409. package/dist/esm/p-table.entry.js.map +1 -1
  410. package/dist/esm/p-toast-container.entry.js +1 -1
  411. package/dist/esm/p-toast.entry.js +1 -1
  412. package/dist/esm/p-toggle.entry.js +3 -3
  413. package/dist/esm/paperless.js +1 -1
  414. package/dist/index.html +1 -1
  415. package/dist/paperless/index.esm.js +1 -1
  416. package/dist/paperless/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  417. package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  418. package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  419. package/dist/paperless/p-28dbbce6.entry.js +2 -0
  420. package/dist/paperless/p-28ee6cd6.entry.js +2 -0
  421. package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
  422. package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  423. package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
  424. package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  425. package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
  426. package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  427. package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  428. package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  429. package/dist/paperless/p-469615ef.entry.js +2 -0
  430. package/dist/paperless/p-469615ef.entry.js.map +1 -0
  431. package/dist/paperless/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  432. package/dist/paperless/p-4f947801.entry.js +2 -0
  433. package/dist/paperless/p-549b2931.entry.js +2 -0
  434. package/dist/paperless/p-549b2931.entry.js.map +1 -0
  435. package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  436. package/dist/paperless/p-59962e55.entry.js +2 -0
  437. package/dist/paperless/p-5e139fea.entry.js +2 -0
  438. package/dist/paperless/p-5e139fea.entry.js.map +1 -0
  439. package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
  440. package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  441. package/dist/paperless/p-711bb72e.entry.js +2 -0
  442. package/dist/paperless/p-711bb72e.entry.js.map +1 -0
  443. package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  444. package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  445. package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
  446. package/dist/paperless/p-7ce3ed33.js.map +1 -0
  447. package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
  448. package/dist/paperless/p-83946184.js.map +1 -0
  449. package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  450. package/dist/paperless/p-8857d619.entry.js +2 -0
  451. package/dist/paperless/p-8857d619.entry.js.map +1 -0
  452. package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  453. package/dist/{build/p-28f44624.entry.js → paperless/p-8c8128f9.entry.js} +2 -2
  454. package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
  455. package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  456. package/dist/paperless/p-99352ae4.entry.js +2 -0
  457. package/dist/paperless/p-99352ae4.entry.js.map +1 -0
  458. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
  459. package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  460. package/dist/paperless/p-c55ee8d6.entry.js +2 -0
  461. package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
  462. package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  463. package/dist/paperless/p-d48ef748.entry.js +2 -0
  464. package/dist/paperless/p-d48ef748.entry.js.map +1 -0
  465. package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
  466. package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  467. package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  468. package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  469. package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
  470. package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  471. package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  472. package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
  473. package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  474. package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  475. package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  476. package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  477. package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
  478. package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
  479. package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  480. package/dist/paperless/paperless.esm.js +1 -1
  481. package/dist/paperless/paperless.esm.js.map +1 -1
  482. package/dist/sw.js +1 -1
  483. package/dist/sw.js.map +1 -1
  484. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  485. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  486. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
  487. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
  488. package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
  489. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
  490. package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
  491. package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
  492. package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
  493. package/dist/types/components.d.ts +283 -76
  494. package/dist/types/utils/icons.d.ts +4 -0
  495. package/hydrate/index.js +583 -204
  496. package/hydrate/index.mjs +583 -204
  497. package/package.json +1 -1
  498. package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
  499. package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
  500. package/dist/build/p-03c70942.entry.js +0 -2
  501. package/dist/build/p-2c6f3984.js +0 -2
  502. package/dist/build/p-2f613a2a.entry.js +0 -2
  503. package/dist/build/p-4cef76cf.entry.js +0 -2
  504. package/dist/build/p-5c2b9a8d.entry.js +0 -2
  505. package/dist/build/p-5c2b9a8d.entry.js.map +0 -1
  506. package/dist/build/p-904049ba.entry.js +0 -2
  507. package/dist/build/p-904049ba.entry.js.map +0 -1
  508. package/dist/build/p-9593cbb7.entry.js +0 -2
  509. package/dist/build/p-9593cbb7.entry.js.map +0 -1
  510. package/dist/build/p-b082e123.js.map +0 -1
  511. package/dist/build/p-cab0361a.entry.js +0 -2
  512. package/dist/build/p-cab0361a.entry.js.map +0 -1
  513. package/dist/build/p-d1da42f4.entry.js +0 -2
  514. package/dist/build/p-d1da42f4.entry.js.map +0 -1
  515. package/dist/build/p-da7b6f2c.js.map +0 -1
  516. package/dist/build/p-df228603.entry.js +0 -2
  517. package/dist/build/p-df228603.entry.js.map +0 -1
  518. package/dist/build/p-e078f787.entry.js +0 -2
  519. package/dist/build/p-e77d5ca1.entry.js +0 -2
  520. package/dist/build/p-e77d5ca1.entry.js.map +0 -1
  521. package/dist/cjs/constants-f911468d.js.map +0 -1
  522. package/dist/cjs/icons-10aa18f0.js.map +0 -1
  523. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
  524. package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
  525. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
  526. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
  527. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
  528. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
  529. package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
  530. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
  531. package/dist/components/p-page-size-select.js +0 -8
  532. package/dist/components/p-page-size-select.js.map +0 -1
  533. package/dist/components/p-pagination-item.js +0 -8
  534. package/dist/components/p-pagination-item.js.map +0 -1
  535. package/dist/components/page-size-select.component.js +0 -123
  536. package/dist/components/page-size-select.component.js.map +0 -1
  537. package/dist/components/pagination-item.component.js +0 -36
  538. package/dist/components/pagination-item.component.js.map +0 -1
  539. package/dist/components/pagination.component.js.map +0 -1
  540. package/dist/esm/constants-3500ea14.js.map +0 -1
  541. package/dist/esm/icons-a3270aaf.js.map +0 -1
  542. package/dist/esm/p-checkbox_3.entry.js.map +0 -1
  543. package/dist/esm/p-page-size-select_3.entry.js +0 -226
  544. package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
  545. package/dist/paperless/p-03c70942.entry.js +0 -2
  546. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  547. package/dist/paperless/p-4cef76cf.entry.js +0 -2
  548. package/dist/paperless/p-5c2b9a8d.entry.js +0 -2
  549. package/dist/paperless/p-5c2b9a8d.entry.js.map +0 -1
  550. package/dist/paperless/p-904049ba.entry.js +0 -2
  551. package/dist/paperless/p-904049ba.entry.js.map +0 -1
  552. package/dist/paperless/p-9593cbb7.entry.js +0 -2
  553. package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
  554. package/dist/paperless/p-b082e123.js.map +0 -1
  555. package/dist/paperless/p-cab0361a.entry.js +0 -2
  556. package/dist/paperless/p-cab0361a.entry.js.map +0 -1
  557. package/dist/paperless/p-d1da42f4.entry.js +0 -2
  558. package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
  559. package/dist/paperless/p-da7b6f2c.js.map +0 -1
  560. package/dist/paperless/p-df228603.entry.js +0 -2
  561. package/dist/paperless/p-df228603.entry.js.map +0 -1
  562. package/dist/paperless/p-e078f787.entry.js +0 -2
  563. package/dist/paperless/p-e77d5ca1.entry.js +0 -2
  564. package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
  565. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
  566. /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  567. /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  568. /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  569. /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  570. /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  571. /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  572. /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  573. /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  574. /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  575. /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  576. /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  577. /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  578. /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  579. /package/dist/build/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  580. /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  581. /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  582. /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  583. /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  584. /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  585. /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  586. /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  587. /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  588. /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  589. /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  590. /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  591. /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  592. /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  593. /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  594. /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  595. /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  596. /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  597. /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  598. /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  599. /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  600. /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  601. /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  602. /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  603. /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  604. /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  605. /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  606. /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  607. /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  608. /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  609. /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  610. /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
  611. /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  612. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  613. /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  614. /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  615. /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  616. /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  617. /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  618. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  619. /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  620. /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  621. /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  622. /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  623. /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  624. /package/dist/paperless/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  625. /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  626. /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  627. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  628. /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  629. /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  630. /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  631. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  632. /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  633. /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  634. /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  635. /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  636. /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  637. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  638. /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  639. /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  640. /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  641. /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  655. /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
@@ -1,158 +1,59 @@
1
- import { h, Host, } from "@stencil/core";
1
+ import { Fragment, h, Host, } from "@stencil/core";
2
+ import { defaultSize, defaultSizeOptions } from "../pagination-size/constants";
3
+ import { cva } from "class-variance-authority";
4
+ const pagination = cva([
5
+ 'p-pagination',
6
+ 'items-center gap-2',
7
+ 'rounded-full',
8
+ 'bg-off-white-300 border border-off-white-700',
9
+ 'p-1',
10
+ ], {
11
+ variants: {
12
+ hidden: {
13
+ false: 'flex',
14
+ true: 'hidden',
15
+ },
16
+ },
17
+ });
2
18
  export class Pagination {
3
19
  constructor() {
20
+ this.hideOnSinglePage = true;
21
+ this.enablePaginationSize = true;
22
+ this.enablePaginationPages = true;
4
23
  this.page = 1;
5
- this.pageSize = 12;
6
- this.hideOnSinglePage = false;
7
24
  this.total = undefined;
25
+ this.pageSize = defaultSize;
26
+ this.pageSizeOptions = defaultSizeOptions;
27
+ this._hasPaginationPages = true;
8
28
  }
9
29
  /**
10
30
  * Event whenever the page changes
11
31
  */
12
32
  pageChange;
13
- _pages = [];
14
- _set = [];
15
- componentWillRender() {
16
- this._generate();
17
- }
33
+ /**
34
+ * Event whenever the page changes
35
+ */
36
+ pageSizeChange;
18
37
  render() {
19
- return (h(Host, { key: '3568c3e866dcd2ffee3fb8acd34a81d63e564068', class: `p-pagination ${this.hideOnSinglePage && this._set?.length === 3 && 'hidden'}` }, this._set?.map(p => {
20
- if (p.type === 'previous' || p.type === 'next') {
21
- return (h("p-pagination-item", { onClick: () => p.type === 'previous'
22
- ? this._previousClick()
23
- : this._nextClick() }, p.value));
24
- }
25
- if (p.type === 'ellipsis') {
26
- return h("p-pagination-item", null, "...");
27
- }
28
- return (h("p-pagination-item", { active: p.value === this.page, onClick: () => this._pageClick(p.value) }, p.value));
29
- })));
30
- }
31
- pageChangeHandler() {
32
- this._generate();
33
- }
34
- _generate() {
35
- this._pages = this._generatePages();
36
- this._set = this._generateSet();
37
- if (this.page > this._pages?.length) {
38
- this._changePage(this._pages.length);
39
- }
38
+ const hidePageSizeSelect = this.hideOnSinglePage && this.total < this.pageSizeOptions?.[0];
39
+ return (h(Host, { key: '90a23cd6c05cf683d848afc24ee03b95426e791e', class: pagination({
40
+ hidden: (hidePageSizeSelect && !this.enablePaginationSize) ||
41
+ (!this.enablePaginationSize && !this.enablePaginationPages),
42
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: 'c7f8ec9ddbf7a3e40ab466e5d356901df2ea6f3f' }, h("p-pagination-size", { key: 'f98822e9feab28e4a9bcec27229096f28e462158', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
43
+ this.hideOnSinglePage &&
44
+ this._hasPaginationPages && (h("p-divider", { key: '1f32c4da7c21822e2c4392c6f1e56e8048aa3f2f', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (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) }))));
40
45
  }
41
- _changePage(p) {
42
- if (!p) {
46
+ _changePageSize(s) {
47
+ if (!s) {
43
48
  return;
44
49
  }
45
- this.page = p;
46
- this.pageChange.emit(this.page);
50
+ this.pageSize = s;
51
+ this.pageSizeChange.emit(this.pageSize);
47
52
  }
48
- _previousClick() {
49
- const previousPage = this.page - 1;
50
- if (previousPage < this._pages[0]) {
51
- return;
52
- }
53
- this._changePage(previousPage);
54
- }
55
- _nextClick = () => {
56
- const nextPage = this.page + 1;
57
- if (nextPage > this._pages[this._pages.length - 1]) {
58
- return;
59
- }
60
- this._changePage(nextPage);
61
- };
62
- _pageClick = (p) => this._changePage(p);
63
- _generatePages() {
64
- if (!this.total || !this.pageSize) {
65
- return [];
66
- }
67
- const pages = Math.ceil(this.total / this.pageSize);
68
- return new Array(pages).fill(undefined).map((_, i) => i + 1);
69
- }
70
- _generateSet = (range = 1, enableBoundaries = true) => {
71
- const totalPages = this._pages.length;
72
- if (!totalPages) {
73
- return [];
74
- }
75
- let start = this.page - range;
76
- let end = this.page + range;
77
- if (end > totalPages) {
78
- end = totalPages;
79
- start = totalPages - range * 2;
80
- start = start < 1 ? 1 : start;
81
- }
82
- if (start <= 1) {
83
- start = 1;
84
- end = Math.min(range * 2 + 1, totalPages);
85
- }
86
- const set = [];
87
- const previous = {
88
- type: 'previous',
89
- value: (h("p-icon", { variant: 'caret', rotate: 90 })),
90
- };
91
- const next = {
92
- type: 'next',
93
- value: (h("p-icon", { variant: 'caret', rotate: -90 })),
94
- };
95
- // Disable page range, display all the pages
96
- if (range === null) {
97
- const p = this._pages.map(p => ({
98
- type: 'page',
99
- value: p,
100
- }));
101
- return enableBoundaries ? [previous, ...p, next] : p;
102
- }
103
- if (enableBoundaries) {
104
- set.push(previous);
105
- }
106
- if (start <= 3) {
107
- for (let i = 1; i < start; i++) {
108
- set.push({
109
- type: 'page',
110
- value: this._pages[i - 1],
111
- });
112
- }
113
- }
114
- else {
115
- set.push({
116
- type: 'page',
117
- value: 1,
118
- });
119
- set.push({
120
- type: 'ellipsis',
121
- value: 'ellipsis',
122
- });
123
- }
124
- for (let i = start; i <= end; i++) {
125
- set.push({
126
- type: 'page',
127
- value: this._pages[i - 1],
128
- });
129
- }
130
- if (end >= totalPages - 2) {
131
- for (let i = end + 1; i <= totalPages; i++) {
132
- set.push({
133
- type: 'page',
134
- value: this._pages[i - 1],
135
- });
136
- }
137
- }
138
- else {
139
- set.push({
140
- type: 'ellipsis',
141
- });
142
- set.push({
143
- type: 'page',
144
- value: this._pages[this._pages.length - 1],
145
- });
146
- }
147
- if (enableBoundaries) {
148
- set.push(next);
149
- }
150
- return set;
151
- };
152
53
  static get is() { return "p-pagination"; }
153
54
  static get originalStyleUrls() {
154
55
  return {
155
- "$": ["pagination.component.scss"]
56
+ "$": ["pagination.component.css"]
156
57
  };
157
58
  }
158
59
  static get styleUrls() {
@@ -162,47 +63,47 @@ export class Pagination {
162
63
  }
163
64
  static get properties() {
164
65
  return {
165
- "page": {
166
- "type": "number",
167
- "mutable": true,
66
+ "hideOnSinglePage": {
67
+ "type": "boolean",
68
+ "mutable": false,
168
69
  "complexType": {
169
- "original": "number",
170
- "resolved": "number",
70
+ "original": "boolean",
71
+ "resolved": "boolean",
171
72
  "references": {}
172
73
  },
173
74
  "required": false,
174
75
  "optional": false,
175
76
  "docs": {
176
77
  "tags": [],
177
- "text": "The current page"
78
+ "text": "Wether to hide when there is only 1 page available"
178
79
  },
179
80
  "getter": false,
180
81
  "setter": false,
181
- "attribute": "page",
182
- "reflect": true,
183
- "defaultValue": "1"
82
+ "attribute": "hide-on-single-page",
83
+ "reflect": false,
84
+ "defaultValue": "true"
184
85
  },
185
- "pageSize": {
186
- "type": "number",
86
+ "enablePaginationSize": {
87
+ "type": "boolean",
187
88
  "mutable": false,
188
89
  "complexType": {
189
- "original": "number",
190
- "resolved": "number",
90
+ "original": "boolean",
91
+ "resolved": "boolean",
191
92
  "references": {}
192
93
  },
193
94
  "required": false,
194
95
  "optional": false,
195
96
  "docs": {
196
97
  "tags": [],
197
- "text": "The amount of items per page"
98
+ "text": "Wether to enable pagination size select"
198
99
  },
199
100
  "getter": false,
200
101
  "setter": false,
201
- "attribute": "page-size",
102
+ "attribute": "enable-pagination-size",
202
103
  "reflect": false,
203
- "defaultValue": "12"
104
+ "defaultValue": "true"
204
105
  },
205
- "hideOnSinglePage": {
106
+ "enablePaginationPages": {
206
107
  "type": "boolean",
207
108
  "mutable": false,
208
109
  "complexType": {
@@ -214,13 +115,33 @@ export class Pagination {
214
115
  "optional": false,
215
116
  "docs": {
216
117
  "tags": [],
217
- "text": "Wether to hide when there is only 1 page available"
118
+ "text": "Wether to enable pagination pages"
218
119
  },
219
120
  "getter": false,
220
121
  "setter": false,
221
- "attribute": "hide-on-single-page",
122
+ "attribute": "enable-pagination-pages",
222
123
  "reflect": false,
223
- "defaultValue": "false"
124
+ "defaultValue": "true"
125
+ },
126
+ "page": {
127
+ "type": "number",
128
+ "mutable": true,
129
+ "complexType": {
130
+ "original": "number",
131
+ "resolved": "number",
132
+ "references": {}
133
+ },
134
+ "required": false,
135
+ "optional": false,
136
+ "docs": {
137
+ "tags": [],
138
+ "text": "The current page"
139
+ },
140
+ "getter": false,
141
+ "setter": false,
142
+ "attribute": "page",
143
+ "reflect": true,
144
+ "defaultValue": "1"
224
145
  },
225
146
  "total": {
226
147
  "type": "number",
@@ -240,9 +161,52 @@ export class Pagination {
240
161
  "setter": false,
241
162
  "attribute": "total",
242
163
  "reflect": false
164
+ },
165
+ "pageSize": {
166
+ "type": "number",
167
+ "mutable": false,
168
+ "complexType": {
169
+ "original": "number",
170
+ "resolved": "number",
171
+ "references": {}
172
+ },
173
+ "required": false,
174
+ "optional": false,
175
+ "docs": {
176
+ "tags": [],
177
+ "text": "The amount of items per page"
178
+ },
179
+ "getter": false,
180
+ "setter": false,
181
+ "attribute": "page-size",
182
+ "reflect": false,
183
+ "defaultValue": "defaultSize"
184
+ },
185
+ "pageSizeOptions": {
186
+ "type": "unknown",
187
+ "mutable": false,
188
+ "complexType": {
189
+ "original": "number[]",
190
+ "resolved": "number[]",
191
+ "references": {}
192
+ },
193
+ "required": false,
194
+ "optional": false,
195
+ "docs": {
196
+ "tags": [],
197
+ "text": "The options for the page size"
198
+ },
199
+ "getter": false,
200
+ "setter": false,
201
+ "defaultValue": "defaultSizeOptions"
243
202
  }
244
203
  };
245
204
  }
205
+ static get states() {
206
+ return {
207
+ "_hasPaginationPages": {}
208
+ };
209
+ }
246
210
  static get events() {
247
211
  return [{
248
212
  "method": "pageChange",
@@ -259,18 +223,21 @@ export class Pagination {
259
223
  "resolved": "number",
260
224
  "references": {}
261
225
  }
262
- }];
263
- }
264
- static get watchers() {
265
- return [{
266
- "propName": "page",
267
- "methodName": "pageChangeHandler"
268
- }, {
269
- "propName": "pageSize",
270
- "methodName": "pageChangeHandler"
271
226
  }, {
272
- "propName": "total",
273
- "methodName": "pageChangeHandler"
227
+ "method": "pageSizeChange",
228
+ "name": "pageSizeChange",
229
+ "bubbles": false,
230
+ "cancelable": true,
231
+ "composed": true,
232
+ "docs": {
233
+ "tags": [],
234
+ "text": "Event whenever the page changes"
235
+ },
236
+ "complexType": {
237
+ "original": "number",
238
+ "resolved": "number",
239
+ "references": {}
240
+ }
274
241
  }];
275
242
  }
276
243
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pagination.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/pagination/pagination.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AAWvB,MAAM,OAAO,UAAU;;oBAIiC,CAAC;wBAa7B,EAAE;gCAKO,KAAK;;;IAhBzC;;OAEG;IAIH,UAAU,CAAuB;IAiBzB,MAAM,GAAa,EAAE,CAAC;IACtB,IAAI,GAAwB,EAAE,CAAC;IAEvC,mBAAmB;QAClB,IAAI,CAAC,SAAS,EAAE,CAAC;IAClB,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,gBACN,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,IAAI,EAAE,MAAM,KAAK,CAAC,IAAI,QACrD,EAAE,IAED,IAAI,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE;YACnB,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,IAAI,CAAC,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;gBAChD,OAAO,CACN,yBACC,OAAO,EAAE,GAAG,EAAE,CACb,CAAC,CAAC,IAAI,KAAK,UAAU;wBACpB,CAAC,CAAC,IAAI,CAAC,cAAc,EAAE;wBACvB,CAAC,CAAC,IAAI,CAAC,UAAU,EAAE,IAGpB,CAAC,CAAC,KAAK,CACW,CACpB,CAAC;YACH,CAAC;YAED,IAAI,CAAC,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;gBAC3B,OAAO,mCAA0C,CAAC;YACnD,CAAC;YAED,OAAO,CACN,yBACC,MAAM,EAAE,CAAC,CAAC,KAAK,KAAK,IAAI,CAAC,IAAI,EAC7B,OAAO,EAAE,GAAG,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,KAAe,CAAC,IAEhD,CAAC,CAAC,KAAK,CACW,CACpB,CAAC;QACH,CAAC,CAAC,CACI,CACP,CAAC;IACH,CAAC;IAKS,iBAAiB;QAC1B,IAAI,CAAC,SAAS,EAAE,CAAC;IAClB,CAAC;IAEO,SAAS;QAChB,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,cAAc,EAAE,CAAC;QACpC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,YAAY,EAAE,CAAC;QAEhC,IAAI,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC;YACrC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;QACtC,CAAC;IACF,CAAC;IAEO,WAAW,CAAC,CAAU;QAC7B,IAAI,CAAC,CAAC,EAAE,CAAC;YACR,OAAO;QACR,CAAC;QAED,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjC,CAAC;IAEO,cAAc;QACrB,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QACnC,IAAI,YAAY,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC;YACnC,OAAO;QACR,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,YAAY,CAAC,CAAC;IAChC,CAAC;IAEO,UAAU,GAAG,GAAG,EAAE;QACzB,MAAM,QAAQ,GAAG,IAAI,CAAC,IAAI,GAAG,CAAC,CAAC;QAC/B,IAAI,QAAQ,GAAG,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC;YACpD,OAAO;QACR,CAAC;QAED,IAAI,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEM,UAAU,GAAG,CAAC,CAAU,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IAEjD,cAAc;QACrB,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;YACnC,OAAO,EAAE,CAAC;QACX,CAAC;QAED,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpD,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;IAC9D,CAAC;IAEO,YAAY,GAAG,CACtB,QAAgB,CAAC,EACjB,mBAA4B,IAAI,EACV,EAAE;QACxB,MAAM,UAAU,GAAG,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC;QAEtC,IAAI,CAAC,UAAU,EAAE,CAAC;YACjB,OAAO,EAAE,CAAC;QACX,CAAC;QAED,IAAI,KAAK,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAC9B,IAAI,GAAG,GAAG,IAAI,CAAC,IAAI,GAAG,KAAK,CAAC;QAE5B,IAAI,GAAG,GAAG,UAAU,EAAE,CAAC;YACtB,GAAG,GAAG,UAAU,CAAC;YACjB,KAAK,GAAG,UAAU,GAAG,KAAK,GAAG,CAAC,CAAC;YAC/B,KAAK,GAAG,KAAK,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;QAC/B,CAAC;QAED,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;YAChB,KAAK,GAAG,CAAC,CAAC;YACV,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,KAAK,GAAG,CAAC,GAAG,CAAC,EAAE,UAAU,CAAC,CAAC;QAC3C,CAAC;QAED,MAAM,GAAG,GAAG,EAAE,CAAC;QAEf,MAAM,QAAQ,GAAG;YAChB,IAAI,EAAE,UAAU;YAChB,KAAK,EAAE,CACN,cACC,OAAO,EAAC,OAAO,EACf,MAAM,EAAE,EAAE,GACT,CACF;SACD,CAAC;QAEF,MAAM,IAAI,GAAG;YACZ,IAAI,EAAE,MAAM;YACZ,KAAK,EAAE,CACN,cACC,OAAO,EAAC,OAAO,EACf,MAAM,EAAE,CAAC,EAAE,GACV,CACF;SACD,CAAC;QAEF,4CAA4C;QAC5C,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;YACpB,MAAM,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;gBAC/B,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC;aACR,CAAC,CAAC,CAAC;YAEJ,OAAO,gBAAgB,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC;QAED,IAAI,gBAAgB,EAAE,CAAC;YACtB,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACpB,CAAC;QAED,IAAI,KAAK,IAAI,CAAC,EAAE,CAAC;YAChB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE,CAAC;gBAChC,GAAG,CAAC,IAAI,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;iBACzB,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;aAAM,CAAC;YACP,GAAG,CAAC,IAAI,CAAC;gBACR,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,CAAC;aACR,CAAC,CAAC;YAEH,GAAG,CAAC,IAAI,CAAC;gBACR,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,UAAU;aACjB,CAAC,CAAC;QACJ,CAAC;QAED,KAAK,IAAI,CAAC,GAAG,KAAK,EAAE,CAAC,IAAI,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;YACnC,GAAG,CAAC,IAAI,CAAC;gBACR,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;aACzB,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,GAAG,IAAI,UAAU,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC,EAAE,CAAC,IAAI,UAAU,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC5C,GAAG,CAAC,IAAI,CAAC;oBACR,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC;iBACzB,CAAC,CAAC;YACJ,CAAC;QACF,CAAC;aAAM,CAAC;YACP,GAAG,CAAC,IAAI,CAAC;gBACR,IAAI,EAAE,UAAU;aAChB,CAAC,CAAC;YAEH,GAAG,CAAC,IAAI,CAAC;gBACR,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,CAAC;aAC1C,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,gBAAgB,EAAE,CAAC;YACtB,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;QAED,OAAO,GAAG,CAAC;IACZ,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tWatch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n\ttype: string;\n\tvalue?: number | Element | JSX.Element | string;\n};\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\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 * The amount of items per page\n\t */\n\t@Prop() pageSize: number = 12;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = false;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\tprivate _pages: number[] = [];\n\tprivate _set: PaginationSetItem[] = [];\n\n\tcomponentWillRender() {\n\t\tthis._generate();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-pagination ${\n\t\t\t\t\tthis.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this._set?.map(p => {\n\t\t\t\t\tif (p.type === 'previous' || p.type === 'next') {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\tp.type === 'previous'\n\t\t\t\t\t\t\t\t\t\t? this._previousClick()\n\t\t\t\t\t\t\t\t\t\t: this._nextClick()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (p.type === 'ellipsis') {\n\t\t\t\t\t\treturn <p-pagination-item>...</p-pagination-item>;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\tactive={p.value === this.page}\n\t\t\t\t\t\t\tonClick={() => this._pageClick(p.value as number)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('page')\n\t@Watch('pageSize')\n\t@Watch('total')\n\tprotected pageChangeHandler() {\n\t\tthis._generate();\n\t}\n\n\tprivate _generate() {\n\t\tthis._pages = this._generatePages();\n\t\tthis._set = this._generateSet();\n\n\t\tif (this.page > this._pages?.length) {\n\t\t\tthis._changePage(this._pages.length);\n\t\t}\n\t}\n\n\tprivate _changePage(p?: number) {\n\t\tif (!p) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.page = p;\n\t\tthis.pageChange.emit(this.page);\n\t}\n\n\tprivate _previousClick() {\n\t\tconst previousPage = this.page - 1;\n\t\tif (previousPage < this._pages[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(previousPage);\n\t}\n\n\tprivate _nextClick = () => {\n\t\tconst nextPage = this.page + 1;\n\t\tif (nextPage > this._pages[this._pages.length - 1]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(nextPage);\n\t};\n\n\tprivate _pageClick = (p?: number) => this._changePage(p);\n\n\tprivate _generatePages() {\n\t\tif (!this.total || !this.pageSize) {\n\t\t\treturn [];\n\t\t}\n\n\t\tconst pages = Math.ceil(this.total / this.pageSize);\n\t\treturn new Array(pages).fill(undefined).map((_, i) => i + 1);\n\t}\n\n\tprivate _generateSet = (\n\t\trange: number = 1,\n\t\tenableBoundaries: boolean = true\n\t): PaginationSetItem[] => {\n\t\tconst totalPages = this._pages.length;\n\n\t\tif (!totalPages) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet start = this.page - range;\n\t\tlet end = this.page + range;\n\n\t\tif (end > totalPages) {\n\t\t\tend = totalPages;\n\t\t\tstart = totalPages - range * 2;\n\t\t\tstart = start < 1 ? 1 : start;\n\t\t}\n\n\t\tif (start <= 1) {\n\t\t\tstart = 1;\n\t\t\tend = Math.min(range * 2 + 1, totalPages);\n\t\t}\n\n\t\tconst set = [];\n\n\t\tconst previous = {\n\t\t\ttype: 'previous',\n\t\t\tvalue: (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='caret'\n\t\t\t\t\trotate={90}\n\t\t\t\t/>\n\t\t\t),\n\t\t};\n\n\t\tconst next = {\n\t\t\ttype: 'next',\n\t\t\tvalue: (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='caret'\n\t\t\t\t\trotate={-90}\n\t\t\t\t/>\n\t\t\t),\n\t\t};\n\n\t\t// Disable page range, display all the pages\n\t\tif (range === null) {\n\t\t\tconst p = this._pages.map(p => ({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: p,\n\t\t\t}));\n\n\t\t\treturn enableBoundaries ? [previous, ...p, next] : p;\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(previous);\n\t\t}\n\n\t\tif (start <= 3) {\n\t\t\tfor (let i = 1; i < start; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: 1,\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t\tvalue: 'ellipsis',\n\t\t\t});\n\t\t}\n\n\t\tfor (let i = start; i <= end; i++) {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (end >= totalPages - 2) {\n\t\t\tfor (let i = end + 1; i <= totalPages; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[this._pages.length - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(next);\n\t\t}\n\n\t\treturn set;\n\t};\n}\n"]}
1
+ {"version":3,"file":"pagination.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/pagination/pagination.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EAEL,QAAQ,EACR,CAAC,EACD,IAAI,EACJ,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAC/E,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,UAAU,GAAG,GAAG,CACrB;IACC,cAAc;IACd,oBAAoB;IACpB,cAAc;IACd,8CAA8C;IAC9C,KAAK;CACL,EACD;IACC,QAAQ,EAAE;QACT,MAAM,EAAE;YACP,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,QAAQ;SACd;KACD;CACD,CACD,CAAC;AAMF,MAAM,OAAO,UAAU;;gCAIc,IAAI;oCAKA,IAAI;qCAKH,IAAI;oBAKU,CAAC;;wBAU7B,WAAW;+BAKF,kBAAkB;mCAkBf,IAAI;;IAhB3C;;OAEG;IAIH,UAAU,CAAuB;IAEjC;;OAEG;IAIH,cAAc,CAAuB;IAIrC,MAAM;QACL,MAAM,kBAAkB,GACvB,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,eAAe,EAAE,CAAC,CAAC,CAAC,CAAC;QAEjE,OAAO,CACN,EAAC,IAAI,qDACJ,KAAK,EAAE,UAAU,CAAC;gBACjB,MAAM,EACL,CAAC,kBAAkB,IAAI,CAAC,IAAI,CAAC,oBAAoB,CAAC;oBAClD,CAAC,CAAC,IAAI,CAAC,oBAAoB,IAAI,CAAC,IAAI,CAAC,qBAAqB,CAAC;aAC5D,CAAC;YAED,IAAI,CAAC,qBAAqB,IAAI,IAAI,CAAC,oBAAoB,IAAI,CAC3D,EAAC,QAAQ;gBACR,0EACC,MAAM,EAAE,kBAAkB,EAC1B,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,WAAW,EAAE,IAAI,CAAC,eAAe,EACjC,YAAY,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC,eAAe,CAAC,MAAM,CAAC,GACzD;gBAED,CAAC,kBAAkB;oBACnB,IAAI,CAAC,gBAAgB;oBACrB,IAAI,CAAC,mBAAmB,IAAI,CAC3B,kEACC,OAAO,EAAC,UAAU,EAClB,KAAK,EAAC,+BAA+B,GACpC,CACF,CACQ,CACX;YAEA,IAAI,CAAC,qBAAqB,IAAI,CAC9B,2EACC,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,EAAE,EAAE,CAAC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,MAAM,CAAC,EAC1D,aAAa,EAAE,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAC7B,CAAC,IAAI,CAAC,mBAAmB,GAAG,MAAM,GAAG,CAAC,CAAC,GAEvC,CACF,CACK,CACP,CAAC;IACH,CAAC;IAEO,eAAe,CAAC,CAAU;QACjC,IAAI,CAAC,CAAC,EAAE,CAAC;YACR,OAAO;QACR,CAAC;QAED,IAAI,CAAC,QAAQ,GAAG,CAAC,CAAC;QAClB,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;IACzC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","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"]}
@@ -0,0 +1 @@
1
+ *{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}