@paperless/core 0.1.0-alpha.127 → 0.1.0-alpha.129

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 (341) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  3. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  4. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  5. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  6. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  7. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  8. package/dist/assets/icons/camera.svg +10 -0
  9. package/dist/build/index.esm.js +1 -0
  10. package/dist/build/p-0436439c.entry.js +1 -0
  11. package/dist/build/{p-e20a1842.entry.js → p-04b7fb67.entry.js} +1 -1
  12. package/dist/build/{p-ec2a5f95.entry.js → p-08ff155d.entry.js} +1 -1
  13. package/dist/build/p-09ea2a1a.js +1 -0
  14. package/dist/build/{p-c27046e6.entry.js → p-0ca1b35a.entry.js} +1 -1
  15. package/dist/build/p-0cf8e23a.entry.js +1 -0
  16. package/dist/build/p-11275959.entry.js +1 -0
  17. package/dist/{paperless/p-a5ebbd0c.entry.js → build/p-1d160328.entry.js} +1 -1
  18. package/dist/build/p-52f0e66c.entry.js +1 -0
  19. package/dist/build/p-5b893ad4.entry.js +1 -0
  20. package/dist/{paperless/p-41b72ca0.entry.js → build/p-5d768271.entry.js} +1 -1
  21. package/dist/build/{p-d32f2578.entry.js → p-5f233f4b.entry.js} +1 -1
  22. package/dist/build/p-6628b145.js +1 -0
  23. package/dist/{paperless/p-f38de980.entry.js → build/p-66b0c60c.entry.js} +1 -1
  24. package/dist/build/{p-8ac8a69d.entry.js → p-677d0647.entry.js} +1 -1
  25. package/dist/build/p-6c60fd3d.js +1 -0
  26. package/dist/{paperless/p-c59d9fc2.entry.js → build/p-721d414a.entry.js} +1 -1
  27. package/dist/build/{p-4336cbbc.entry.js → p-759b427a.entry.js} +1 -1
  28. package/dist/build/{p-bd50db3d.entry.js → p-7febed77.entry.js} +1 -1
  29. package/dist/build/p-8a6728d5.js +1 -0
  30. package/dist/build/{p-8b743795.entry.js → p-954e3737.entry.js} +1 -1
  31. package/dist/build/p-9d0a94fb.entry.js +1 -0
  32. package/dist/build/p-9d9dcf0c.entry.js +1 -0
  33. package/dist/build/p-a3902b42.entry.js +1 -0
  34. package/dist/build/p-a81035d0.js +2 -0
  35. package/dist/build/p-a93693cd.entry.js +1 -0
  36. package/dist/build/{p-42277d1e.entry.js → p-b12f4b10.entry.js} +1 -1
  37. package/dist/{paperless/p-3f6c9d44.entry.js → build/p-b2edfc61.entry.js} +1 -1
  38. package/dist/build/{p-54e0f74b.entry.js → p-b74773de.entry.js} +1 -1
  39. package/dist/{paperless/p-e9e20ac3.entry.js → build/p-cfe0f01b.entry.js} +1 -1
  40. package/dist/{paperless/p-2beaf0e8.entry.js → build/p-d2c6ba5f.entry.js} +1 -1
  41. package/dist/build/{p-f3fda8cd.entry.js → p-e2407e98.entry.js} +1 -1
  42. package/dist/build/p-e56512f0.entry.js +1 -0
  43. package/dist/{paperless/p-b645e414.entry.js → build/p-e633010e.entry.js} +1 -1
  44. package/dist/build/{p-92b6c76c.entry.js → p-ed08c398.entry.js} +1 -1
  45. package/dist/build/{p-1c9fe7e8.entry.js → p-f8fa3f28.entry.js} +1 -1
  46. package/dist/build/{p-c674026d.entry.js → p-f9d3bcb7.entry.js} +1 -1
  47. package/dist/build/paperless.css +101 -0
  48. package/dist/build/paperless.esm.js +1 -1
  49. package/dist/cjs/child-of-e472f812.js +9 -0
  50. package/dist/cjs/constants-a4459ec9.js +7 -0
  51. package/dist/cjs/{index-9d3b51c9.js → index-16bca782.js} +27 -34
  52. package/dist/cjs/index.cjs.js +12 -0
  53. package/dist/cjs/loader.cjs.js +2 -2
  54. package/dist/cjs/localization-791c9a22.js +61 -0
  55. package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
  56. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  57. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  58. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  59. package/dist/cjs/p-button_3.cjs.entry.js +95 -78
  60. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  61. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  62. package/dist/cjs/p-card-header.cjs.entry.js +1 -1
  63. package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
  64. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  65. package/dist/cjs/p-divider.cjs.entry.js +2 -2
  66. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +264 -0
  67. package/dist/cjs/p-dropdown_2.cjs.entry.js +163 -0
  68. package/dist/cjs/p-helper_5.cjs.entry.js +138 -0
  69. package/dist/cjs/p-illustration.cjs.entry.js +1 -1
  70. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  71. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  72. package/dist/cjs/p-modal-backdrop_5.cjs.entry.js +1 -1
  73. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  74. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  75. package/dist/cjs/p-navigation-item.cjs.entry.js +1 -1
  76. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  77. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  78. package/dist/cjs/p-status.cjs.entry.js +1 -1
  79. package/dist/cjs/p-stepper-item_2.cjs.entry.js +1 -1
  80. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  81. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  82. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  83. package/dist/cjs/p-table-body.cjs.entry.js +19 -0
  84. package/dist/cjs/p-table-container_4.cjs.entry.js +1067 -0
  85. package/dist/cjs/p-table-definition.cjs.entry.js +36 -0
  86. package/dist/cjs/p-table.cjs.entry.js +328 -0
  87. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  88. package/dist/cjs/paperless.cjs.js +2 -2
  89. package/dist/collection/assets/icons/camera.svg +10 -0
  90. package/dist/collection/collection-manifest.json +9 -1
  91. package/dist/collection/components/atoms/button/button.component.css +19 -7
  92. package/dist/collection/components/atoms/button/button.component.js +29 -5
  93. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  94. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +2 -2
  95. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  96. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +1 -1
  97. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  98. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  99. package/dist/collection/components/atoms/icon/icon.component.js +3 -3
  100. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  101. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  102. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  103. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  104. package/dist/collection/components/atoms/segment-item/segment-item.component.js +2 -2
  105. package/dist/collection/components/atoms/status/status.component.js +2 -2
  106. package/dist/collection/components/atoms/table-body/table-body.component.css +3 -0
  107. package/dist/collection/components/atoms/table-body/table-body.component.js +15 -0
  108. package/dist/collection/components/atoms/table-container/table-container.component.css +5 -0
  109. package/dist/collection/components/atoms/table-container/table-container.component.js +15 -0
  110. package/dist/collection/components/atoms/tag/tag.component.css +1 -1
  111. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  112. package/dist/collection/components/helpers/table-definition/table-definition.component.js +159 -0
  113. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  114. package/dist/collection/components/molecules/dropdown/dropdown.component.js +45 -2
  115. package/dist/collection/components/molecules/input-group/input-group.component.css +72 -1
  116. package/dist/collection/components/molecules/input-group/input-group.component.js +36 -5
  117. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +1 -1
  118. package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
  119. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +195 -0
  120. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  121. package/dist/collection/components/molecules/pagination/pagination.component.js +25 -3
  122. package/dist/collection/components/molecules/table-footer/table-footer.component.css +30 -0
  123. package/dist/collection/components/molecules/table-footer/table-footer.component.js +244 -0
  124. package/dist/collection/components/molecules/table-header/table-header.component.css +16 -0
  125. package/dist/collection/components/molecules/table-header/table-header.component.js +368 -0
  126. package/dist/collection/components/molecules/table-row/table-row.component.css +21 -0
  127. package/dist/collection/components/molecules/table-row/table-row.component.js +67 -0
  128. package/dist/collection/components/organisms/table/table.component.css +3 -0
  129. package/dist/collection/components/organisms/table/table.component.js +879 -0
  130. package/dist/collection/index.js +2 -1
  131. package/dist/collection/types/index.js +2 -0
  132. package/dist/collection/{utils/types.js → types/table.js} +0 -0
  133. package/dist/collection/types/tailwind.js +1 -0
  134. package/dist/collection/utils/icons.js +2 -0
  135. package/dist/collection/utils/index.js +5 -0
  136. package/dist/collection/utils/localization.js +56 -0
  137. package/dist/collection/utils/object-get-by-path.js +8 -0
  138. package/dist/components/button.component.js +9 -3
  139. package/dist/components/divider.component.js +1 -1
  140. package/dist/components/dropdown-menu-container.component.js +1 -1
  141. package/dist/components/dropdown-menu-item.component.js +43 -0
  142. package/dist/components/dropdown.component.js +15 -5
  143. package/dist/components/helper.component.js +1 -1
  144. package/dist/components/icon.component.js +13 -1
  145. package/dist/components/index.d.ts +8 -0
  146. package/dist/components/index.js +10 -0
  147. package/dist/components/input-group.component.js +107 -0
  148. package/dist/components/loader.component.js +1 -1
  149. package/dist/components/localization.js +58 -0
  150. package/dist/components/p-dropdown-menu-item.js +1 -41
  151. package/dist/components/p-input-group.js +1 -91
  152. package/dist/components/p-page-size-select.d.ts +11 -0
  153. package/dist/components/p-page-size-select.js +6 -0
  154. package/dist/components/p-pagination.js +1 -195
  155. package/dist/components/p-segment-container.js +1 -27
  156. package/dist/components/p-segment-item.js +1 -49
  157. package/dist/components/p-table-body.d.ts +11 -0
  158. package/dist/components/p-table-body.js +33 -0
  159. package/dist/components/p-table-container.d.ts +11 -0
  160. package/dist/components/p-table-container.js +6 -0
  161. package/dist/components/p-table-definition.d.ts +11 -0
  162. package/dist/components/p-table-definition.js +57 -0
  163. package/dist/components/p-table-footer.d.ts +11 -0
  164. package/dist/components/p-table-footer.js +6 -0
  165. package/dist/components/p-table-header.d.ts +11 -0
  166. package/dist/components/p-table-header.js +6 -0
  167. package/dist/components/p-table-row.d.ts +11 -0
  168. package/dist/components/p-table-row.js +6 -0
  169. package/dist/components/p-table.d.ts +11 -0
  170. package/dist/components/p-table.js +492 -0
  171. package/dist/components/p-tag.js +1 -39
  172. package/dist/components/page-size-select.component.js +118 -0
  173. package/dist/components/pagination-item.component.js +1 -1
  174. package/dist/components/pagination.component.js +202 -0
  175. package/dist/components/segment-container.component.js +29 -0
  176. package/dist/components/segment-item.component.js +51 -0
  177. package/dist/components/table-container.component.js +30 -0
  178. package/dist/components/table-footer.component.js +139 -0
  179. package/dist/components/table-header.component.js +1050 -0
  180. package/dist/components/table-row.component.js +49 -0
  181. package/dist/components/tag.component.js +41 -0
  182. package/dist/components/tooltip.component.js +1 -1
  183. package/dist/esm/child-of-90a8c4b5.js +7 -0
  184. package/dist/esm/constants-826f9460.js +4 -0
  185. package/dist/esm/{index-9062156b.js → index-1ac329a8.js} +27 -34
  186. package/dist/esm/index.js +3 -1
  187. package/dist/esm/loader.js +2 -2
  188. package/dist/esm/localization-550c043d.js +58 -0
  189. package/dist/esm/object-get-by-path-d6427a61.js +10 -0
  190. package/dist/esm/p-accordion.entry.js +1 -1
  191. package/dist/esm/p-avatar-group.entry.js +1 -1
  192. package/dist/esm/p-avatar.entry.js +1 -1
  193. package/dist/esm/p-button_3.entry.js +95 -78
  194. package/dist/esm/p-card-body.entry.js +1 -1
  195. package/dist/esm/p-card-container.entry.js +1 -1
  196. package/dist/esm/p-card-header.entry.js +1 -1
  197. package/dist/esm/p-content-slider.entry.js +1 -1
  198. package/dist/esm/p-counter.entry.js +1 -1
  199. package/dist/esm/p-divider.entry.js +2 -2
  200. package/dist/esm/p-dropdown-menu-item_4.entry.js +257 -0
  201. package/dist/esm/p-dropdown_2.entry.js +158 -0
  202. package/dist/esm/p-helper_5.entry.js +130 -0
  203. package/dist/esm/p-illustration.entry.js +1 -1
  204. package/dist/esm/p-info-panel.entry.js +1 -1
  205. package/dist/esm/p-layout.entry.js +1 -1
  206. package/dist/esm/p-modal-backdrop_5.entry.js +1 -1
  207. package/dist/esm/p-modal.entry.js +1 -1
  208. package/dist/esm/p-navbar.entry.js +1 -1
  209. package/dist/esm/p-navigation-item.entry.js +1 -1
  210. package/dist/esm/p-profile.entry.js +1 -1
  211. package/dist/esm/p-slider-indicator.entry.js +1 -1
  212. package/dist/esm/p-status.entry.js +1 -1
  213. package/dist/esm/p-stepper-item_2.entry.js +1 -1
  214. package/dist/esm/p-stepper.entry.js +1 -1
  215. package/dist/esm/p-tab-group.entry.js +1 -1
  216. package/dist/esm/p-tab-item.entry.js +1 -1
  217. package/dist/esm/p-table-body.entry.js +15 -0
  218. package/dist/esm/p-table-container_4.entry.js +1060 -0
  219. package/dist/esm/p-table-definition.entry.js +32 -0
  220. package/dist/esm/p-table.entry.js +324 -0
  221. package/dist/esm/p-tooltip.entry.js +2 -2
  222. package/dist/esm/paperless.js +2 -2
  223. package/dist/index.html +1 -1
  224. package/dist/paperless/index.esm.js +1 -0
  225. package/dist/paperless/p-0436439c.entry.js +1 -0
  226. package/dist/paperless/{p-e20a1842.entry.js → p-04b7fb67.entry.js} +1 -1
  227. package/dist/paperless/{p-ec2a5f95.entry.js → p-08ff155d.entry.js} +1 -1
  228. package/dist/paperless/p-09ea2a1a.js +1 -0
  229. package/dist/paperless/{p-c27046e6.entry.js → p-0ca1b35a.entry.js} +1 -1
  230. package/dist/paperless/p-0cf8e23a.entry.js +1 -0
  231. package/dist/paperless/p-11275959.entry.js +1 -0
  232. package/dist/{build/p-a5ebbd0c.entry.js → paperless/p-1d160328.entry.js} +1 -1
  233. package/dist/paperless/p-52f0e66c.entry.js +1 -0
  234. package/dist/paperless/p-5b893ad4.entry.js +1 -0
  235. package/dist/{build/p-41b72ca0.entry.js → paperless/p-5d768271.entry.js} +1 -1
  236. package/dist/paperless/{p-d32f2578.entry.js → p-5f233f4b.entry.js} +1 -1
  237. package/dist/paperless/p-6628b145.js +1 -0
  238. package/dist/{build/p-f38de980.entry.js → paperless/p-66b0c60c.entry.js} +1 -1
  239. package/dist/paperless/{p-8ac8a69d.entry.js → p-677d0647.entry.js} +1 -1
  240. package/dist/paperless/p-6c60fd3d.js +1 -0
  241. package/dist/{build/p-c59d9fc2.entry.js → paperless/p-721d414a.entry.js} +1 -1
  242. package/dist/paperless/{p-4336cbbc.entry.js → p-759b427a.entry.js} +1 -1
  243. package/dist/paperless/{p-bd50db3d.entry.js → p-7febed77.entry.js} +1 -1
  244. package/dist/paperless/p-8a6728d5.js +1 -0
  245. package/dist/paperless/{p-8b743795.entry.js → p-954e3737.entry.js} +1 -1
  246. package/dist/paperless/p-9d0a94fb.entry.js +1 -0
  247. package/dist/paperless/p-9d9dcf0c.entry.js +1 -0
  248. package/dist/paperless/p-a3902b42.entry.js +1 -0
  249. package/dist/paperless/p-a81035d0.js +2 -0
  250. package/dist/paperless/p-a93693cd.entry.js +1 -0
  251. package/dist/paperless/{p-42277d1e.entry.js → p-b12f4b10.entry.js} +1 -1
  252. package/dist/{build/p-3f6c9d44.entry.js → paperless/p-b2edfc61.entry.js} +1 -1
  253. package/dist/paperless/{p-54e0f74b.entry.js → p-b74773de.entry.js} +1 -1
  254. package/dist/{build/p-e9e20ac3.entry.js → paperless/p-cfe0f01b.entry.js} +1 -1
  255. package/dist/{build/p-2beaf0e8.entry.js → paperless/p-d2c6ba5f.entry.js} +1 -1
  256. package/dist/paperless/{p-f3fda8cd.entry.js → p-e2407e98.entry.js} +1 -1
  257. package/dist/paperless/p-e56512f0.entry.js +1 -0
  258. package/dist/{build/p-b645e414.entry.js → paperless/p-e633010e.entry.js} +1 -1
  259. package/dist/paperless/{p-92b6c76c.entry.js → p-ed08c398.entry.js} +1 -1
  260. package/dist/paperless/{p-1c9fe7e8.entry.js → p-f8fa3f28.entry.js} +1 -1
  261. package/dist/paperless/{p-c674026d.entry.js → p-f9d3bcb7.entry.js} +1 -1
  262. package/dist/paperless/paperless.css +214 -27
  263. package/dist/paperless/paperless.esm.js +1 -1
  264. package/dist/sw.js +1 -1
  265. package/dist/sw.js.map +1 -1
  266. package/dist/types/components/atoms/button/button.component.d.ts +9 -1
  267. package/dist/types/components/atoms/icon/icon.component.d.ts +1 -1
  268. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +1 -1
  269. package/dist/types/components/atoms/status/status.component.d.ts +1 -1
  270. package/dist/types/components/atoms/table-body/table-body.component.d.ts +3 -0
  271. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  272. package/dist/types/components/helpers/table-definition/table-definition.component.d.ts +48 -0
  273. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +8 -0
  274. package/dist/types/components/molecules/input-group/input-group.component.d.ts +7 -1
  275. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  276. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +44 -0
  277. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  278. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +55 -0
  279. package/dist/types/components/molecules/table-header/table-header.component.d.ts +80 -0
  280. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  281. package/dist/types/components/organisms/table/table.component.d.ts +162 -0
  282. package/dist/types/components.d.ts +677 -1
  283. package/dist/types/index.d.ts +2 -0
  284. package/dist/types/types/index.d.ts +2 -0
  285. package/dist/types/types/table.d.ts +5 -0
  286. package/dist/types/{utils/types.d.ts → types/tailwind.d.ts} +0 -0
  287. package/dist/types/utils/icons.d.ts +1 -0
  288. package/dist/types/utils/index.d.ts +5 -0
  289. package/dist/types/utils/localization.d.ts +2 -0
  290. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  291. package/package.json +4 -4
  292. package/dist/build/p-4deee897.entry.js +0 -1
  293. package/dist/build/p-58ce5668.entry.js +0 -1
  294. package/dist/build/p-6088647a.entry.js +0 -1
  295. package/dist/build/p-6835a9e3.entry.js +0 -1
  296. package/dist/build/p-705ab6e5.entry.js +0 -1
  297. package/dist/build/p-79d3258f.entry.js +0 -1
  298. package/dist/build/p-801d05b6.entry.js +0 -1
  299. package/dist/build/p-829c4101.entry.js +0 -1
  300. package/dist/build/p-938f52ee.entry.js +0 -1
  301. package/dist/build/p-9d98d0d9.entry.js +0 -1
  302. package/dist/build/p-a9e333cc.entry.js +0 -1
  303. package/dist/build/p-bc7e8cc4.js +0 -2
  304. package/dist/build/p-e2a98d53.entry.js +0 -1
  305. package/dist/build/p-e934ef94.entry.js +0 -1
  306. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +0 -19
  307. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
  308. package/dist/cjs/p-dropdown.cjs.entry.js +0 -147
  309. package/dist/cjs/p-helper.cjs.entry.js +0 -23
  310. package/dist/cjs/p-input-group.cjs.entry.js +0 -51
  311. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  312. package/dist/cjs/p-pagination.cjs.entry.js +0 -171
  313. package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
  314. package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
  315. package/dist/cjs/p-tag.cjs.entry.js +0 -27
  316. package/dist/collection/utils/utils.js +0 -3
  317. package/dist/esm/p-dropdown-menu-container.entry.js +0 -15
  318. package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
  319. package/dist/esm/p-dropdown.entry.js +0 -143
  320. package/dist/esm/p-helper.entry.js +0 -19
  321. package/dist/esm/p-input-group.entry.js +0 -47
  322. package/dist/esm/p-pagination-item.entry.js +0 -19
  323. package/dist/esm/p-pagination.entry.js +0 -167
  324. package/dist/esm/p-segment-container.entry.js +0 -15
  325. package/dist/esm/p-segment-item.entry.js +0 -25
  326. package/dist/esm/p-tag.entry.js +0 -23
  327. package/dist/paperless/p-4deee897.entry.js +0 -1
  328. package/dist/paperless/p-58ce5668.entry.js +0 -1
  329. package/dist/paperless/p-6088647a.entry.js +0 -1
  330. package/dist/paperless/p-6835a9e3.entry.js +0 -1
  331. package/dist/paperless/p-705ab6e5.entry.js +0 -1
  332. package/dist/paperless/p-79d3258f.entry.js +0 -1
  333. package/dist/paperless/p-801d05b6.entry.js +0 -1
  334. package/dist/paperless/p-829c4101.entry.js +0 -1
  335. package/dist/paperless/p-938f52ee.entry.js +0 -1
  336. package/dist/paperless/p-9d98d0d9.entry.js +0 -1
  337. package/dist/paperless/p-a9e333cc.entry.js +0 -1
  338. package/dist/paperless/p-bc7e8cc4.js +0 -2
  339. package/dist/paperless/p-e2a98d53.entry.js +0 -1
  340. package/dist/paperless/p-e934ef94.entry.js +0 -1
  341. package/dist/types/utils/utils.d.ts +0 -1
@@ -1,6 +1,6 @@
1
1
  import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
2
 
3
- const paginationItemComponentCss = ".static{position:static!important}.flex{display:flex!important}.h-8{height:2rem!important}.justify-center{justify-content:center!important}.rounded{border-radius:.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}";
3
+ const paginationItemComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.text-indigo{color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-indigo,.text-storm-dark{--tw-text-opacity:1!important}.text-storm-dark{color:rgb(39 40 56/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(128 130 158/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:2rem;justify-content:center;line-height:1.25rem;width:2rem}:host(:focus),:host(:hover){--tw-text-opacity:1;color:rgb(81 83 107/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
4
4
 
5
5
  const PaginationItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
6
  constructor() {
@@ -0,0 +1,202 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$2 } from './icon.component.js';
3
+ import { d as defineCustomElement$1 } from './pagination-item.component.js';
4
+
5
+ const paginationComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}p-pagination{display:flex}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
6
+
7
+ const Pagination = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
8
+ constructor() {
9
+ super();
10
+ this.__registerHost();
11
+ this.pageChange = createEvent(this, "pageChange", 7);
12
+ /**
13
+ * The current page
14
+ */
15
+ this.page = 1;
16
+ /**
17
+ * The amount of items per page
18
+ */
19
+ this.pageSize = 12;
20
+ /**
21
+ * Wether to hide when there is only 1 page available
22
+ */
23
+ this.hideOnSinglePage = false;
24
+ this._pages = [];
25
+ this._set = [];
26
+ this._nextClick = () => {
27
+ const nextPage = this.page + 1;
28
+ if (nextPage > this._pages[this._pages.length - 1]) {
29
+ return;
30
+ }
31
+ this._changePage(nextPage);
32
+ };
33
+ this._pageClick = (p) => this._changePage(p);
34
+ this._generateSet = (range = 1, enableBoundaries = true) => {
35
+ const totalPages = this._pages.length;
36
+ if (!totalPages) {
37
+ return [];
38
+ }
39
+ let start = this.page - range;
40
+ let end = this.page + range;
41
+ if (end > totalPages) {
42
+ end = totalPages;
43
+ start = totalPages - range * 2;
44
+ start = start < 1 ? 1 : start;
45
+ }
46
+ if (start <= 1) {
47
+ start = 1;
48
+ end = Math.min(range * 2 + 1, totalPages);
49
+ }
50
+ const set = [];
51
+ const previous = {
52
+ type: 'previous',
53
+ value: h("p-icon", { variant: "chevron", rotate: 90 }),
54
+ };
55
+ const next = {
56
+ type: 'next',
57
+ value: h("p-icon", { variant: "chevron", rotate: -90 }),
58
+ };
59
+ // Disable page range, display all the pages
60
+ if (range === null) {
61
+ const p = this._pages.map((p) => ({
62
+ type: 'page',
63
+ value: p,
64
+ }));
65
+ return enableBoundaries ? [previous, ...p, next] : p;
66
+ }
67
+ if (enableBoundaries) {
68
+ set.push(previous);
69
+ }
70
+ if (start <= 3) {
71
+ for (let i = 1; i < start; i++) {
72
+ set.push({
73
+ type: 'page',
74
+ value: this._pages[i - 1],
75
+ });
76
+ }
77
+ }
78
+ else {
79
+ set.push({
80
+ type: 'page',
81
+ value: 1,
82
+ });
83
+ set.push({
84
+ type: 'ellipsis',
85
+ value: 'ellipsis',
86
+ });
87
+ }
88
+ for (let i = start; i <= end; i++) {
89
+ set.push({
90
+ type: 'page',
91
+ value: this._pages[i - 1],
92
+ });
93
+ }
94
+ if (end >= totalPages - 2) {
95
+ for (let i = end + 1; i <= totalPages; i++) {
96
+ set.push({
97
+ type: 'page',
98
+ value: this._pages[i - 1],
99
+ });
100
+ }
101
+ }
102
+ else {
103
+ set.push({
104
+ type: 'ellipsis',
105
+ });
106
+ set.push({
107
+ type: 'page',
108
+ value: this._pages[this._pages.length - 1],
109
+ });
110
+ }
111
+ if (enableBoundaries) {
112
+ set.push(next);
113
+ }
114
+ return set;
115
+ };
116
+ }
117
+ componentWillRender() {
118
+ this._generate();
119
+ }
120
+ render() {
121
+ var _a, _b;
122
+ return (h(Host, { class: `p-pagination ${this.hideOnSinglePage && ((_a = this._set) === null || _a === void 0 ? void 0 : _a.length) === 3 && 'hidden'}` }, (_b = this._set) === null || _b === void 0 ? void 0 : _b.map((p) => {
123
+ if (p.type === 'previous' || p.type === 'next') {
124
+ return (h("p-pagination-item", { onClick: () => p.type === 'previous'
125
+ ? this._previousClick()
126
+ : this._nextClick() }, p.value));
127
+ }
128
+ if (p.type === 'ellipsis') {
129
+ return h("p-pagination-item", null, "...");
130
+ }
131
+ return (h("p-pagination-item", { active: p.value === this.page, onClick: () => this._pageClick(p.value) }, p.value));
132
+ })));
133
+ }
134
+ pageChangeHandler() {
135
+ this._generate();
136
+ }
137
+ _generate() {
138
+ var _a;
139
+ this._pages = this._generatePages();
140
+ this._set = this._generateSet();
141
+ if (this.page > ((_a = this._pages) === null || _a === void 0 ? void 0 : _a.length)) {
142
+ this._changePage(this._pages.length);
143
+ }
144
+ }
145
+ _changePage(p) {
146
+ if (!p) {
147
+ return;
148
+ }
149
+ this.page = p;
150
+ this.pageChange.emit(this.page);
151
+ }
152
+ _previousClick() {
153
+ const previousPage = this.page - 1;
154
+ if (previousPage < this._pages[0]) {
155
+ return;
156
+ }
157
+ this._changePage(previousPage);
158
+ }
159
+ _generatePages() {
160
+ if (!this.total || !this.pageSize) {
161
+ return [];
162
+ }
163
+ const pages = Math.ceil(this.total / this.pageSize);
164
+ return new Array(pages).fill(undefined).map((_, i) => i + 1);
165
+ }
166
+ static get watchers() { return {
167
+ "page": ["pageChangeHandler"],
168
+ "pageSize": ["pageChangeHandler"],
169
+ "total": ["pageChangeHandler"]
170
+ }; }
171
+ static get style() { return paginationComponentCss; }
172
+ }, [0, "p-pagination", {
173
+ "page": [1538],
174
+ "pageSize": [2, "page-size"],
175
+ "hideOnSinglePage": [4, "hide-on-single-page"],
176
+ "total": [2]
177
+ }]);
178
+ function defineCustomElement() {
179
+ if (typeof customElements === "undefined") {
180
+ return;
181
+ }
182
+ const components = ["p-pagination", "p-icon", "p-pagination-item"];
183
+ components.forEach(tagName => { switch (tagName) {
184
+ case "p-pagination":
185
+ if (!customElements.get(tagName)) {
186
+ customElements.define(tagName, Pagination);
187
+ }
188
+ break;
189
+ case "p-icon":
190
+ if (!customElements.get(tagName)) {
191
+ defineCustomElement$2();
192
+ }
193
+ break;
194
+ case "p-pagination-item":
195
+ if (!customElements.get(tagName)) {
196
+ defineCustomElement$1();
197
+ }
198
+ break;
199
+ } });
200
+ }
201
+
202
+ export { Pagination as P, defineCustomElement as d };
@@ -0,0 +1,29 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const segmentContainerComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}p-segment-container{--tw-bg-opacity:1;--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13));background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.25rem;display:flex;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);height:2rem;padding:.25rem}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
4
+
5
+ const SegmentContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ }
10
+ render() {
11
+ return (h(Host, { class: "p-segment-container" }, h("slot", null)));
12
+ }
13
+ static get style() { return segmentContainerComponentCss; }
14
+ }, [4, "p-segment-container"]);
15
+ function defineCustomElement() {
16
+ if (typeof customElements === "undefined") {
17
+ return;
18
+ }
19
+ const components = ["p-segment-container"];
20
+ components.forEach(tagName => { switch (tagName) {
21
+ case "p-segment-container":
22
+ if (!customElements.get(tagName)) {
23
+ customElements.define(tagName, SegmentContainer);
24
+ }
25
+ break;
26
+ } });
27
+ }
28
+
29
+ export { SegmentContainer as S, defineCustomElement as d };
@@ -0,0 +1,51 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './icon.component.js';
3
+
4
+ const segmentItemComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.font-medium{font-weight:500!important}.font-semibold{font-weight:600!important}.text-storm-light{--tw-text-opacity:1!important;color:rgb(176 178 203/var(--tw-text-opacity))!important}.text-indigo{color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-indigo,.text-storm-dark{--tw-text-opacity:1!important}.text-storm-dark{color:rgb(39 40 56/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}:host{--tw-text-opacity:1;align-items:center;border-radius:.25rem;color:rgb(176 178 203/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:500;height:1.5rem;line-height:1.25rem;margin-right:.25rem;padding-left:.5rem;padding-right:.5rem}:host(.variant-icon){justify-content:center;padding-left:0;padding-right:0;width:1.5rem}:host(:hover){--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity))}:host(.active){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(82 138 250/var(--tw-text-opacity))}:host(:last-child){margin-right:0}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
5
+
6
+ const SegmentItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ /**
12
+ * Wether the segment item is active
13
+ */
14
+ this.active = false;
15
+ }
16
+ render() {
17
+ return (h(Host, { class: `p-segment-item variant-${this.icon ? 'icon' : 'default'} ${this.active && 'active'}` }, this.icon ? this._getIcon() : h("slot", null)));
18
+ }
19
+ _getIcon() {
20
+ if (!this.icon) {
21
+ return;
22
+ }
23
+ return (h("p-icon", { class: "flex", variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate }));
24
+ }
25
+ static get style() { return segmentItemComponentCss; }
26
+ }, [1, "p-segment-item", {
27
+ "active": [4],
28
+ "icon": [1],
29
+ "iconFlip": [1, "icon-flip"],
30
+ "iconRotate": [2, "icon-rotate"]
31
+ }]);
32
+ function defineCustomElement() {
33
+ if (typeof customElements === "undefined") {
34
+ return;
35
+ }
36
+ const components = ["p-segment-item", "p-icon"];
37
+ components.forEach(tagName => { switch (tagName) {
38
+ case "p-segment-item":
39
+ if (!customElements.get(tagName)) {
40
+ customElements.define(tagName, SegmentItem);
41
+ }
42
+ break;
43
+ case "p-icon":
44
+ if (!customElements.get(tagName)) {
45
+ defineCustomElement$1();
46
+ }
47
+ break;
48
+ } });
49
+ }
50
+
51
+ export { SegmentItem as S, defineCustomElement as d };
@@ -0,0 +1,30 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const tableContainerComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.hidden{display:none!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.shadow-4{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}:host{--tw-bg-opacity:1;--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13)!important;--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color)!important;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;display:flex;flex-direction:column;width:100%}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
4
+
5
+ const TableContainer = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ }
11
+ render() {
12
+ return (h(Host, { class: "p-table-container" }, h("slot", null)));
13
+ }
14
+ static get style() { return tableContainerComponentCss; }
15
+ }, [1, "p-table-container"]);
16
+ function defineCustomElement() {
17
+ if (typeof customElements === "undefined") {
18
+ return;
19
+ }
20
+ const components = ["p-table-container"];
21
+ components.forEach(tagName => { switch (tagName) {
22
+ case "p-table-container":
23
+ if (!customElements.get(tagName)) {
24
+ customElements.define(tagName, TableContainer);
25
+ }
26
+ break;
27
+ } });
28
+ }
29
+
30
+ export { TableContainer as T, defineCustomElement as d };
@@ -0,0 +1,139 @@
1
+ import { proxyCustomElement, HTMLElement, createEvent, h, Host } from '@stencil/core/internal/client';
2
+ import { f as formatTranslation, g as getLocaleComponentStrings } from './localization.js';
3
+ import { d as defaultSize, a as defaultSizeOptions, b as defineCustomElement$3 } from './page-size-select.component.js';
4
+ import { d as defineCustomElement$9 } from './button.component.js';
5
+ import { d as defineCustomElement$8 } from './dropdown.component.js';
6
+ import { d as defineCustomElement$7 } from './dropdown-menu-container.component.js';
7
+ import { d as defineCustomElement$6 } from './dropdown-menu-item.component.js';
8
+ import { d as defineCustomElement$5 } from './icon.component.js';
9
+ import { d as defineCustomElement$4 } from './loader.component.js';
10
+ import { d as defineCustomElement$2 } from './pagination.component.js';
11
+ import { d as defineCustomElement$1 } from './pagination-item.component.js';
12
+
13
+ const tableFooterComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.ml-1{margin-left:.25rem!important}.block{display:block!important}.flex{display:flex!important}.table{display:table!important}.grid{display:grid!important}.hidden{display:none!important}.w-1{width:.25rem!important}.w-2{width:.5rem!important}.w-3{width:.75rem!important}.w-4{width:1rem!important}.w-5{width:1.25rem!important}.w-6{width:1.5rem!important}.w-7{width:1.75rem!important}.w-8{width:2rem!important}.w-9{width:2.25rem!important}.w-10{width:2.5rem!important}.w-11{width:2.75rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.justify-self-end{justify-self:end!important}.justify-self-center{justify-self:center!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-transparent{border-color:transparent!important}.border-t-mystic-dark{--tw-border-opacity:1!important;border-top-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.p-4{padding:1rem!important}.font-semibold{font-weight:600!important}.text-storm-dark{--tw-text-opacity:1!important;color:rgb(39 40 56/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.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}*{box-sizing:border-box}:host{display:grid;gap:1rem;grid-template-columns:repeat(1,minmax(0,1fr));padding:1.5rem;width:100%}:host>p-pagination{display:flex;grid-column-start:1;justify-self:center}@media (min-width:64rem){:host{grid-template-areas:\"page-size pagination export\";grid-template-columns:repeat(3,minmax(0,1fr))}:host>p-page-size-select{grid-column-start:1}:host>p-pagination{grid-column-start:2}:host>p-button{grid-column-start:3;justify-self:end}}:host(.page-size-disabled.export-disabled){grid-template-columns:repeat(1,minmax(0,1fr))}:host(.page-size-disabled.export-disabled)>p-pagination{grid-column-start:1}.w-1\\/12{width:8.333333%!important}.w-2\\/12{width:16.666667%!important}.w-3\\/12{width:25%!important}.w-4\\/12{width:33.333333%!important}.w-5\\/12{width:41.666667%!important}.w-6\\/12{width:50%!important}.w-7\\/12{width:58.333333%!important}.w-8\\/12{width:66.666667%!important}.w-9\\/12{width:75%!important}.w-10\\/12{width:83.333333%!important}.w-11\\/12{width:91.666667%!important}@media (min-width:40rem){.tablet\\:w-1\\/12{width:8.333333%!important}.tablet\\:w-2\\/12{width:16.666667%!important}.tablet\\:w-3\\/12{width:25%!important}.tablet\\:w-4\\/12{width:33.333333%!important}.tablet\\:w-5\\/12{width:41.666667%!important}.tablet\\:w-6\\/12{width:50%!important}.tablet\\:w-7\\/12{width:58.333333%!important}.tablet\\:w-8\\/12{width:66.666667%!important}.tablet\\:w-9\\/12{width:75%!important}.tablet\\:w-10\\/12{width:83.333333%!important}.tablet\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:w-1\\/12{width:8.333333%!important}.desktop-xs\\:w-2\\/12{width:16.666667%!important}.desktop-xs\\:w-3\\/12{width:25%!important}.desktop-xs\\:w-4\\/12{width:33.333333%!important}.desktop-xs\\:w-5\\/12{width:41.666667%!important}.desktop-xs\\:w-6\\/12{width:50%!important}.desktop-xs\\:w-7\\/12{width:58.333333%!important}.desktop-xs\\:w-8\\/12{width:66.666667%!important}.desktop-xs\\:w-9\\/12{width:75%!important}.desktop-xs\\:w-10\\/12{width:83.333333%!important}.desktop-xs\\:w-11\\/12{width:91.666667%!important}}@media (min-width:80rem){.desktop-sm\\:w-1\\/12{width:8.333333%!important}.desktop-sm\\:w-2\\/12{width:16.666667%!important}.desktop-sm\\:w-3\\/12{width:25%!important}.desktop-sm\\:w-4\\/12{width:33.333333%!important}.desktop-sm\\:w-5\\/12{width:41.666667%!important}.desktop-sm\\:w-6\\/12{width:50%!important}.desktop-sm\\:w-7\\/12{width:58.333333%!important}.desktop-sm\\:w-8\\/12{width:66.666667%!important}.desktop-sm\\:w-9\\/12{width:75%!important}.desktop-sm\\:w-10\\/12{width:83.333333%!important}.desktop-sm\\:w-11\\/12{width:91.666667%!important}}@media (min-width:85.375rem){.desktop\\:w-1\\/12{width:8.333333%!important}.desktop\\:w-2\\/12{width:16.666667%!important}.desktop\\:w-3\\/12{width:25%!important}.desktop\\:w-4\\/12{width:33.333333%!important}.desktop\\:w-5\\/12{width:41.666667%!important}.desktop\\:w-6\\/12{width:50%!important}.desktop\\:w-7\\/12{width:58.333333%!important}.desktop\\:w-8\\/12{width:66.666667%!important}.desktop\\:w-9\\/12{width:75%!important}.desktop\\:w-10\\/12{width:83.333333%!important}.desktop\\:w-11\\/12{width:91.666667%!important}}@media (min-width:90rem){.desktop-lg\\:w-1\\/12{width:8.333333%!important}.desktop-lg\\:w-2\\/12{width:16.666667%!important}.desktop-lg\\:w-3\\/12{width:25%!important}.desktop-lg\\:w-4\\/12{width:33.333333%!important}.desktop-lg\\:w-5\\/12{width:41.666667%!important}.desktop-lg\\:w-6\\/12{width:50%!important}.desktop-lg\\:w-7\\/12{width:58.333333%!important}.desktop-lg\\:w-8\\/12{width:66.666667%!important}.desktop-lg\\:w-9\\/12{width:75%!important}.desktop-lg\\:w-10\\/12{width:83.333333%!important}.desktop-lg\\:w-11\\/12{width:91.666667%!important}}@media (min-width:120rem){.desktop-xl\\:w-1\\/12{width:8.333333%!important}.desktop-xl\\:w-2\\/12{width:16.666667%!important}.desktop-xl\\:w-3\\/12{width:25%!important}.desktop-xl\\:w-4\\/12{width:33.333333%!important}.desktop-xl\\:w-5\\/12{width:41.666667%!important}.desktop-xl\\:w-6\\/12{width:50%!important}.desktop-xl\\:w-7\\/12{width:58.333333%!important}.desktop-xl\\:w-8\\/12{width:66.666667%!important}.desktop-xl\\:w-9\\/12{width:75%!important}.desktop-xl\\:w-10\\/12{width:83.333333%!important}.desktop-xl\\:w-11\\/12{width:91.666667%!important}}@media (min-width:64rem){.desktop-xs\\:flex{display:flex!important}.desktop-xs\\:hidden{display:none!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:flex-row{flex-direction:row!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}";
14
+
15
+ const TableFooter = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.__attachShadow();
20
+ this.pageChange = createEvent(this, "pageChange", 7);
21
+ this.pageSizeChange = createEvent(this, "pageSizeChange", 7);
22
+ this.export = createEvent(this, "export", 7);
23
+ /**
24
+ * Wether to enable page size select
25
+ */
26
+ this.enablePageSize = true;
27
+ /**
28
+ * Wether to enable pagination
29
+ */
30
+ this.enablePagination = true;
31
+ /**
32
+ * Wether to enable export
33
+ */
34
+ this.enableExport = true;
35
+ /**
36
+ * The current page
37
+ */
38
+ this.page = 1;
39
+ /**
40
+ * The amount of items per page
41
+ */
42
+ this.pageSize = defaultSize;
43
+ /**
44
+ * The options for the page size
45
+ */
46
+ this.pageSizeOptions = defaultSizeOptions;
47
+ /**
48
+ * Locales used for this component
49
+ */
50
+ this._locales = {};
51
+ }
52
+ componentWillLoad() {
53
+ this._setLocales();
54
+ }
55
+ render() {
56
+ return (h(Host, { class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, this.enablePagination && this.enablePageSize && (h("p-page-size-select", { class: "hidden desktop-xs:flex", size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.enablePagination && (h("p-pagination", { pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: true, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), this.enableExport && (h("p-button", { class: "hidden desktop-xs:flex", variant: "secondary", size: "small", icon: "download", onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
57
+ }
58
+ async _setLocales() {
59
+ this._locales = await getLocaleComponentStrings(this._el);
60
+ }
61
+ _changePageSize(s) {
62
+ if (!s) {
63
+ return;
64
+ }
65
+ this.pageSize = s;
66
+ this.pageSizeChange.emit(this.pageSize);
67
+ }
68
+ get _el() { return this; }
69
+ static get style() { return tableFooterComponentCss; }
70
+ }, [1, "p-table-footer", {
71
+ "enablePageSize": [4, "enable-page-size"],
72
+ "enablePagination": [4, "enable-pagination"],
73
+ "enableExport": [4, "enable-export"],
74
+ "page": [1538],
75
+ "total": [2],
76
+ "pageSize": [2, "page-size"],
77
+ "pageSizeOptions": [16],
78
+ "_locales": [32]
79
+ }, [[16, "localeChanged", "_setLocales"]]]);
80
+ function defineCustomElement() {
81
+ if (typeof customElements === "undefined") {
82
+ return;
83
+ }
84
+ const components = ["p-table-footer", "p-button", "p-dropdown", "p-dropdown-menu-container", "p-dropdown-menu-item", "p-icon", "p-loader", "p-page-size-select", "p-pagination", "p-pagination-item"];
85
+ components.forEach(tagName => { switch (tagName) {
86
+ case "p-table-footer":
87
+ if (!customElements.get(tagName)) {
88
+ customElements.define(tagName, TableFooter);
89
+ }
90
+ break;
91
+ case "p-button":
92
+ if (!customElements.get(tagName)) {
93
+ defineCustomElement$9();
94
+ }
95
+ break;
96
+ case "p-dropdown":
97
+ if (!customElements.get(tagName)) {
98
+ defineCustomElement$8();
99
+ }
100
+ break;
101
+ case "p-dropdown-menu-container":
102
+ if (!customElements.get(tagName)) {
103
+ defineCustomElement$7();
104
+ }
105
+ break;
106
+ case "p-dropdown-menu-item":
107
+ if (!customElements.get(tagName)) {
108
+ defineCustomElement$6();
109
+ }
110
+ break;
111
+ case "p-icon":
112
+ if (!customElements.get(tagName)) {
113
+ defineCustomElement$5();
114
+ }
115
+ break;
116
+ case "p-loader":
117
+ if (!customElements.get(tagName)) {
118
+ defineCustomElement$4();
119
+ }
120
+ break;
121
+ case "p-page-size-select":
122
+ if (!customElements.get(tagName)) {
123
+ defineCustomElement$3();
124
+ }
125
+ break;
126
+ case "p-pagination":
127
+ if (!customElements.get(tagName)) {
128
+ defineCustomElement$2();
129
+ }
130
+ break;
131
+ case "p-pagination-item":
132
+ if (!customElements.get(tagName)) {
133
+ defineCustomElement$1();
134
+ }
135
+ break;
136
+ } });
137
+ }
138
+
139
+ export { TableFooter as T, defineCustomElement as d };