@paperless/core 0.1.0-alpha.33 → 0.1.0-alpha.331

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 (661) hide show
  1. package/CHANGELOG.md +3112 -0
  2. package/README.md +9 -1
  3. package/dist/assets/i18n/page-size-select.i18n.en.json +4 -0
  4. package/dist/assets/i18n/page-size-select.i18n.nl.json +4 -0
  5. package/dist/assets/i18n/table-footer.i18n.en.json +3 -0
  6. package/dist/assets/i18n/table-footer.i18n.nl.json +3 -0
  7. package/dist/assets/i18n/table-header.i18n.en.json +6 -0
  8. package/dist/assets/i18n/table-header.i18n.nl.json +6 -0
  9. package/dist/assets/i18n/table.i18n.en.json +13 -0
  10. package/dist/assets/i18n/table.i18n.nl.json +13 -0
  11. package/dist/assets/icons/camera.svg +10 -0
  12. package/dist/assets/icons/filter.svg +6 -13
  13. package/dist/assets/icons/menu.svg +25 -0
  14. package/dist/assets/icons/more.svg +18 -0
  15. package/dist/assets/icons/notification.svg +10 -0
  16. package/dist/assets/icons/reload.svg +10 -0
  17. package/dist/assets/icons/signout.svg +23 -0
  18. package/dist/assets/icons/switch.svg +20 -0
  19. package/dist/assets/illustrations/e-mail.svg +1 -0
  20. package/dist/assets/illustrations/empty-state-overview.svg +65 -0
  21. package/dist/assets/illustrations/empty-state-search.svg +88 -0
  22. package/dist/build/index.esm.js +1 -0
  23. package/dist/build/p-05f73516.entry.js +1 -0
  24. package/dist/build/p-0688d548.entry.js +1 -0
  25. package/dist/build/p-07f28695.entry.js +1 -0
  26. package/dist/build/p-09ea2a1a.js +1 -0
  27. package/dist/build/p-12f5c483.entry.js +1 -0
  28. package/dist/build/p-1ba7cadc.entry.js +1 -0
  29. package/dist/build/p-2e47afc7.entry.js +1 -0
  30. package/dist/build/p-37fa2c13.entry.js +1 -0
  31. package/dist/build/p-3946e0a3.entry.js +1 -0
  32. package/dist/build/p-3a98b145.entry.js +1 -0
  33. package/dist/build/p-43d1544e.entry.js +1 -0
  34. package/dist/build/p-4e650fe4.js +1 -0
  35. package/dist/build/p-4fcd08ce.entry.js +1 -0
  36. package/dist/build/p-529ccaf7.entry.js +1 -0
  37. package/dist/build/p-5b7c22ee.entry.js +1 -0
  38. package/dist/build/p-62d49606.entry.js +1 -0
  39. package/dist/build/p-63de1c3d.entry.js +1 -0
  40. package/dist/build/p-681ed79b.entry.js +1 -0
  41. package/dist/build/p-6c60fd3d.js +1 -0
  42. package/dist/build/p-7df6230f.entry.js +1 -0
  43. package/dist/build/p-8a6728d5.js +1 -0
  44. package/dist/build/p-8c67da86.entry.js +1 -0
  45. package/dist/build/p-91d032b2.entry.js +1 -0
  46. package/dist/build/p-9315c1e2.entry.js +1 -0
  47. package/dist/build/p-98e3dcd7.entry.js +1 -0
  48. package/dist/build/p-ac5a17c4.entry.js +1 -0
  49. package/dist/build/p-b273ac6d.js +1 -0
  50. package/dist/build/p-b4af4b21.entry.js +1 -0
  51. package/dist/build/p-b72559e4.entry.js +1 -0
  52. package/dist/build/p-b8dd503c.entry.js +1 -0
  53. package/dist/build/p-c296a33d.entry.js +1 -0
  54. package/dist/build/p-c80933ab.entry.js +1 -0
  55. package/dist/build/p-c9f2fa8f.js +2 -0
  56. package/dist/build/p-d1022d64.entry.js +1 -0
  57. package/dist/build/p-d2cf5ab2.entry.js +1 -0
  58. package/dist/build/p-d5885f2b.entry.js +1 -0
  59. package/dist/build/p-dbb409ab.entry.js +1 -0
  60. package/dist/build/p-ddd3372b.entry.js +1 -0
  61. package/dist/build/p-e3e3c4d1.entry.js +1 -0
  62. package/dist/build/p-e4bd4022.entry.js +1 -0
  63. package/dist/build/p-e9ed032e.entry.js +1 -0
  64. package/dist/build/p-f1867cb5.entry.js +1 -0
  65. package/dist/build/p-f499f696.entry.js +1 -0
  66. package/dist/build/p-f86fcdf4.js +1 -0
  67. package/dist/build/p-fa3216a5.entry.js +1 -0
  68. package/dist/build/p-fd1e32c1.entry.js +1 -0
  69. package/dist/build/paperless.css +1 -81
  70. package/dist/build/paperless.esm.js +1 -1
  71. package/dist/cjs/child-of-e472f812.js +9 -0
  72. package/dist/cjs/constants-a4459ec9.js +7 -0
  73. package/dist/cjs/index-040ec3f9.js +2481 -0
  74. package/dist/cjs/{index-a46a39a5.js → index-195002a8.js} +662 -261
  75. package/dist/cjs/index.cjs.js +17 -0
  76. package/dist/cjs/loader.cjs.js +3 -3
  77. package/dist/cjs/localization-9e2ac7f3.js +60 -0
  78. package/dist/cjs/object-get-by-path-6dc21ed5.js +12 -0
  79. package/dist/cjs/p-accordion.cjs.entry.js +34 -0
  80. package/dist/cjs/p-avatar-group.cjs.entry.js +20 -0
  81. package/dist/cjs/p-avatar.cjs.entry.js +22 -11
  82. package/dist/cjs/p-backdrop.cjs.entry.js +41 -0
  83. package/dist/cjs/p-button_3.cjs.entry.js +246 -104
  84. package/dist/cjs/p-calendar.cjs.entry.js +709 -0
  85. package/dist/cjs/p-card-body.cjs.entry.js +20 -0
  86. package/dist/cjs/p-card-container.cjs.entry.js +21 -0
  87. package/dist/cjs/p-card-header.cjs.entry.js +22 -0
  88. package/dist/cjs/p-content-slider.cjs.entry.js +210 -0
  89. package/dist/cjs/p-counter.cjs.entry.js +5 -3
  90. package/dist/cjs/p-datepicker.cjs.entry.js +4082 -0
  91. package/dist/cjs/p-divider.cjs.entry.js +6 -3
  92. package/dist/cjs/p-drawer-body_3.cjs.entry.js +49 -0
  93. package/dist/cjs/p-drawer.cjs.entry.js +63 -0
  94. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +5 -3
  95. package/dist/cjs/p-dropdown_2.cjs.entry.js +165 -0
  96. package/dist/cjs/p-helper_3.cjs.entry.js +204 -0
  97. package/dist/cjs/p-illustration_6.cjs.entry.js +2725 -0
  98. package/dist/cjs/p-info-panel.cjs.entry.js +4 -8
  99. package/dist/cjs/p-label_3.cjs.entry.js +63 -0
  100. package/dist/cjs/p-layout.cjs.entry.js +20 -0
  101. package/dist/cjs/p-modal-body_4.cjs.entry.js +77 -0
  102. package/dist/cjs/p-modal.cjs.entry.js +59 -0
  103. package/dist/cjs/p-navbar.cjs.entry.js +28 -0
  104. package/dist/cjs/p-navigation-item.cjs.entry.js +7 -6
  105. package/dist/cjs/p-page-size-select_3.cjs.entry.js +222 -0
  106. package/dist/cjs/p-profile.cjs.entry.js +43 -0
  107. package/dist/cjs/p-select.cjs.entry.js +183 -0
  108. package/dist/cjs/p-slider-indicator.cjs.entry.js +20 -0
  109. package/dist/cjs/p-status.cjs.entry.js +5 -5
  110. package/dist/cjs/p-stepper-item_2.cjs.entry.js +38 -0
  111. package/dist/cjs/p-stepper.cjs.entry.js +43 -0
  112. package/dist/cjs/p-tab-group.cjs.entry.js +19 -0
  113. package/dist/cjs/p-tab-item.cjs.entry.js +20 -0
  114. package/dist/cjs/p-table-column.cjs.entry.js +26 -0
  115. package/dist/cjs/p-table.cjs.entry.js +341 -0
  116. package/dist/cjs/p-toast-container.cjs.entry.js +20 -0
  117. package/dist/cjs/p-toast.cjs.entry.js +33 -0
  118. package/dist/cjs/paperless.cjs.js +3 -3
  119. package/dist/cjs/{popper-e0c4ed4c.js → popper-d7a0f999.js} +60 -49
  120. package/dist/collection/assets/icons/camera.svg +10 -0
  121. package/dist/collection/assets/icons/filter.svg +6 -13
  122. package/dist/collection/assets/icons/menu.svg +25 -0
  123. package/dist/collection/assets/icons/more.svg +18 -0
  124. package/dist/collection/assets/icons/notification.svg +10 -0
  125. package/dist/collection/assets/icons/reload.svg +10 -0
  126. package/dist/collection/assets/icons/signout.svg +23 -0
  127. package/dist/collection/assets/icons/switch.svg +20 -0
  128. package/dist/collection/assets/illustrations/e-mail.svg +1 -0
  129. package/dist/collection/assets/illustrations/empty-state-overview.svg +65 -0
  130. package/dist/collection/assets/illustrations/empty-state-search.svg +88 -0
  131. package/dist/collection/collection-manifest.json +43 -3
  132. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -31
  133. package/dist/collection/components/atoms/avatar/avatar.component.js +110 -90
  134. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -0
  135. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +41 -0
  136. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -0
  137. package/dist/collection/components/atoms/backdrop/backdrop.component.js +148 -0
  138. package/dist/collection/components/atoms/button/button.component.css +1 -79
  139. package/dist/collection/components/atoms/button/button.component.js +305 -251
  140. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -0
  141. package/dist/collection/components/atoms/card-body/card-body.component.js +42 -0
  142. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -0
  143. package/dist/collection/components/atoms/card-container/card-container.component.js +62 -0
  144. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -0
  145. package/dist/collection/components/atoms/card-header/card-header.component.js +61 -0
  146. package/dist/collection/components/atoms/counter/counter.component.css +1 -5
  147. package/dist/collection/components/atoms/counter/counter.component.js +56 -9
  148. package/dist/collection/components/atoms/divider/divider.component.css +1 -3
  149. package/dist/collection/components/atoms/divider/divider.component.js +15 -8
  150. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -0
  151. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +43 -0
  152. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -0
  153. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +47 -0
  154. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -0
  155. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +65 -0
  156. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -5
  157. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +56 -9
  158. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -13
  159. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +74 -30
  160. package/dist/collection/components/atoms/helper/helper.component.css +1 -7
  161. package/dist/collection/components/atoms/helper/helper.component.js +42 -12
  162. package/dist/collection/components/atoms/icon/icon.component.css +1 -0
  163. package/dist/collection/components/atoms/icon/icon.component.js +138 -91
  164. package/dist/collection/components/atoms/illustration/illustration.component.js +28 -23
  165. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -28
  166. package/dist/collection/components/atoms/info-panel/info-panel.component.js +85 -89
  167. package/dist/collection/components/atoms/label/label.component.css +1 -0
  168. package/dist/collection/components/atoms/label/label.component.js +170 -0
  169. package/dist/collection/components/atoms/layout/layout.component.css +1 -0
  170. package/dist/collection/components/atoms/layout/layout.component.js +43 -0
  171. package/dist/collection/components/atoms/loader/loader.component.css +1 -26
  172. package/dist/collection/components/atoms/loader/loader.component.js +112 -114
  173. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -0
  174. package/dist/collection/components/atoms/modal-body/modal-body.component.js +62 -0
  175. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -0
  176. package/dist/collection/components/atoms/modal-container/modal-container.component.js +74 -0
  177. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -0
  178. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +18 -0
  179. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -0
  180. package/dist/collection/components/atoms/modal-header/modal-header.component.js +65 -0
  181. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -16
  182. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +34 -32
  183. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -5
  184. package/dist/collection/components/atoms/segment-container/segment-container.component.js +12 -9
  185. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -21
  186. package/dist/collection/components/atoms/segment-item/segment-item.component.js +98 -87
  187. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -0
  188. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +43 -0
  189. package/dist/collection/components/atoms/status/status.component.css +1 -16
  190. package/dist/collection/components/atoms/status/status.component.js +98 -89
  191. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -0
  192. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +100 -0
  193. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -0
  194. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +62 -0
  195. package/dist/collection/components/atoms/tab-group/tab-group.component.css +1 -0
  196. package/dist/collection/components/atoms/tab-group/tab-group.component.js +18 -0
  197. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -0
  198. package/dist/collection/components/atoms/tab-item/tab-item.component.js +43 -0
  199. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -0
  200. package/dist/collection/components/atoms/table-container/table-container.component.js +18 -0
  201. package/dist/collection/components/atoms/toast-container/toast-container.component.css +1 -0
  202. package/dist/collection/components/atoms/toast-container/toast-container.component.js +43 -0
  203. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -40
  204. package/dist/collection/components/atoms/tooltip/tooltip.component.js +196 -164
  205. package/dist/collection/components/helpers/table-column/table-column.component.js +150 -0
  206. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -0
  207. package/dist/collection/components/molecules/accordion/accordion.component.js +127 -0
  208. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -0
  209. package/dist/collection/components/molecules/calendar/calendar.component.js +503 -0
  210. package/dist/collection/components/molecules/content-slider/content-slider.component.css +1 -0
  211. package/dist/collection/components/molecules/content-slider/content-slider.component.js +316 -0
  212. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -0
  213. package/dist/collection/components/molecules/datepicker/datepicker.component.js +507 -0
  214. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -9
  215. package/dist/collection/components/molecules/dropdown/dropdown.component.js +266 -127
  216. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -0
  217. package/dist/collection/components/molecules/input-group/input-group.component.js +337 -0
  218. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -28
  219. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +106 -104
  220. package/dist/collection/components/molecules/page-size-select/constants.js +2 -0
  221. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +204 -0
  222. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -3
  223. package/dist/collection/components/molecules/pagination/pagination.component.js +118 -94
  224. package/dist/collection/components/molecules/profile/profile.component.css +1 -0
  225. package/dist/collection/components/molecules/profile/profile.component.js +89 -0
  226. package/dist/collection/components/molecules/select/select.component.css +1 -0
  227. package/dist/collection/components/molecules/select/select.component.js +570 -0
  228. package/dist/collection/components/molecules/stepper/stepper.component.css +1 -0
  229. package/dist/collection/components/molecules/stepper/stepper.component.js +84 -0
  230. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -0
  231. package/dist/collection/components/molecules/table-cell/table-cell.component.js +262 -0
  232. package/dist/collection/components/molecules/table-footer/table-footer.component.css +1 -0
  233. package/dist/collection/components/molecules/table-footer/table-footer.component.js +275 -0
  234. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -0
  235. package/dist/collection/components/molecules/table-header/table-header.component.js +380 -0
  236. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -0
  237. package/dist/collection/components/molecules/table-row/table-row.component.js +64 -0
  238. package/dist/collection/components/molecules/toast/toast.component.css +1 -0
  239. package/dist/collection/components/molecules/toast/toast.component.js +196 -0
  240. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  241. package/dist/collection/components/organisms/drawer/drawer.component.js +233 -0
  242. package/dist/collection/components/organisms/modal/modal.component.js +258 -0
  243. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -0
  244. package/dist/collection/components/organisms/navbar/navbar.component.js +89 -0
  245. package/dist/collection/components/organisms/table/table.component.css +1 -0
  246. package/dist/collection/components/organisms/table/table.component.js +1164 -0
  247. package/dist/collection/index.js +2 -1
  248. package/dist/collection/tailwind/animation.js +87 -0
  249. package/dist/collection/tailwind/backdrop-blur.js +3 -0
  250. package/dist/collection/tailwind/border-radius.js +1 -0
  251. package/dist/collection/tailwind/height.js +5 -0
  252. package/dist/collection/tailwind/screens.js +8 -0
  253. package/dist/collection/tailwind/shadows.js +11 -5
  254. package/dist/collection/tailwind/spacing.js +10 -0
  255. package/dist/collection/tailwind/typography.js +21 -0
  256. package/dist/collection/tailwind/width.js +23 -0
  257. package/dist/collection/tailwind/z-index.js +17 -0
  258. package/dist/collection/tailwind.config.js +29 -14
  259. package/dist/collection/types/index.js +2 -0
  260. package/dist/collection/types/table.js +1 -0
  261. package/dist/collection/types/tailwind.js +1 -0
  262. package/dist/collection/utils/icons.js +14 -0
  263. package/dist/collection/utils/illustrations.js +6 -0
  264. package/dist/collection/utils/index.js +6 -0
  265. package/dist/collection/utils/localization.js +55 -0
  266. package/dist/collection/utils/object-get-by-path.js +8 -0
  267. package/dist/collection/utils/transformers.js +4 -0
  268. package/dist/components/backdrop.component.js +57 -0
  269. package/dist/components/button.component.js +98 -0
  270. package/dist/components/calendar.component.js +3197 -0
  271. package/dist/components/counter.component.js +8 -3
  272. package/dist/components/divider.component.js +33 -0
  273. package/dist/components/drawer-body.component.js +33 -0
  274. package/dist/components/drawer-container.component.js +32 -0
  275. package/dist/components/drawer-header.component.js +52 -0
  276. package/dist/components/dropdown-menu-container.component.js +8 -3
  277. package/dist/components/dropdown-menu-item.component.js +43 -0
  278. package/dist/components/dropdown.component.js +182 -0
  279. package/dist/components/helper.component.js +39 -0
  280. package/dist/components/icon.component.js +182 -27
  281. package/dist/{cjs/p-illustration.cjs.entry.js → components/illustration.component.js} +188 -16
  282. package/dist/components/index.d.ts +59 -19
  283. package/dist/components/index.js +50 -0
  284. package/dist/components/input-group.component.js +116 -0
  285. package/dist/components/label.component.js +52 -0
  286. package/dist/components/loader.component.js +9 -13
  287. package/dist/components/localization.js +57 -0
  288. package/dist/components/modal-body.component.js +35 -0
  289. package/dist/components/modal-container.component.js +47 -0
  290. package/dist/components/modal-footer.component.js +36 -0
  291. package/dist/components/modal-header.component.js +52 -0
  292. package/dist/components/p-accordion.d.ts +11 -0
  293. package/dist/components/p-accordion.js +65 -0
  294. package/dist/components/p-avatar-group.d.ts +11 -0
  295. package/dist/components/p-avatar-group.js +35 -0
  296. package/dist/components/p-avatar.js +24 -14
  297. package/dist/components/p-backdrop.d.ts +11 -0
  298. package/dist/components/p-backdrop.js +6 -0
  299. package/dist/components/p-button.js +1 -102
  300. package/dist/components/p-calendar.d.ts +11 -0
  301. package/dist/components/p-calendar.js +6 -0
  302. package/dist/components/p-card-body.d.ts +11 -0
  303. package/dist/components/p-card-body.js +35 -0
  304. package/dist/components/p-card-container.d.ts +11 -0
  305. package/dist/components/p-card-container.js +38 -0
  306. package/dist/components/p-card-header.d.ts +11 -0
  307. package/dist/components/p-card-header.js +44 -0
  308. package/dist/components/p-content-slider.d.ts +11 -0
  309. package/dist/components/p-content-slider.js +239 -0
  310. package/dist/components/p-datepicker.d.ts +11 -0
  311. package/dist/components/p-datepicker.js +4156 -0
  312. package/dist/components/p-divider.js +1 -28
  313. package/dist/components/p-drawer-body.d.ts +11 -0
  314. package/dist/components/p-drawer-body.js +6 -0
  315. package/dist/components/p-drawer-container.d.ts +11 -0
  316. package/dist/components/p-drawer-container.js +6 -0
  317. package/dist/components/p-drawer-header.d.ts +11 -0
  318. package/dist/components/p-drawer-header.js +6 -0
  319. package/dist/components/p-drawer.d.ts +11 -0
  320. package/dist/components/p-drawer.js +128 -0
  321. package/dist/components/p-dropdown-menu-item.js +1 -34
  322. package/dist/components/p-dropdown.js +1 -161
  323. package/dist/components/p-helper.js +1 -34
  324. package/dist/components/p-illustration.js +1 -1432
  325. package/dist/components/p-info-panel.js +3 -7
  326. package/dist/components/p-input-group.d.ts +11 -0
  327. package/dist/components/p-input-group.js +6 -0
  328. package/dist/components/p-label.d.ts +11 -0
  329. package/dist/components/p-label.js +6 -0
  330. package/dist/components/p-layout.d.ts +11 -0
  331. package/dist/components/p-layout.js +36 -0
  332. package/dist/components/p-modal-body.d.ts +11 -0
  333. package/dist/components/p-modal-body.js +6 -0
  334. package/dist/components/p-modal-container.d.ts +11 -0
  335. package/dist/components/p-modal-container.js +6 -0
  336. package/dist/components/p-modal-footer.d.ts +11 -0
  337. package/dist/components/p-modal-footer.js +6 -0
  338. package/dist/components/p-modal-header.d.ts +11 -0
  339. package/dist/components/p-modal-header.js +6 -0
  340. package/dist/components/p-modal.d.ts +11 -0
  341. package/dist/components/p-modal.js +138 -0
  342. package/dist/components/p-navbar.d.ts +11 -0
  343. package/dist/components/p-navbar.js +70 -0
  344. package/dist/components/p-navigation-item.js +6 -5
  345. package/dist/components/p-page-size-select.d.ts +11 -0
  346. package/dist/components/p-page-size-select.js +6 -0
  347. package/dist/components/p-pagination.js +1 -195
  348. package/dist/components/p-profile.d.ts +11 -0
  349. package/dist/components/p-profile.js +79 -0
  350. package/dist/components/p-segment-container.js +1 -27
  351. package/dist/components/p-segment-item.js +1 -49
  352. package/dist/components/p-select.d.ts +11 -0
  353. package/dist/components/p-select.js +265 -0
  354. package/dist/components/p-slider-indicator.d.ts +11 -0
  355. package/dist/components/p-slider-indicator.js +6 -0
  356. package/dist/components/p-status.js +4 -4
  357. package/dist/components/p-stepper-item.d.ts +11 -0
  358. package/dist/components/p-stepper-item.js +6 -0
  359. package/dist/components/p-stepper-line.d.ts +11 -0
  360. package/dist/components/p-stepper-line.js +6 -0
  361. package/dist/components/p-stepper.d.ts +11 -0
  362. package/dist/components/p-stepper.js +78 -0
  363. package/dist/components/p-tab-group.d.ts +11 -0
  364. package/dist/components/p-tab-group.js +39 -0
  365. package/dist/components/p-tab-item.d.ts +11 -0
  366. package/dist/components/p-tab-item.js +36 -0
  367. package/dist/components/p-table-cell.d.ts +11 -0
  368. package/dist/components/p-table-cell.js +6 -0
  369. package/dist/components/p-table-column.d.ts +11 -0
  370. package/dist/components/p-table-column.js +46 -0
  371. package/dist/components/p-table-container.d.ts +11 -0
  372. package/dist/components/p-table-container.js +6 -0
  373. package/dist/components/p-table-footer.d.ts +11 -0
  374. package/dist/components/p-table-footer.js +6 -0
  375. package/dist/components/p-table-header.d.ts +11 -0
  376. package/dist/components/p-table-header.js +6 -0
  377. package/dist/components/p-table-row.d.ts +11 -0
  378. package/dist/components/p-table-row.js +6 -0
  379. package/dist/components/p-table.d.ts +11 -0
  380. package/dist/components/p-table.js +521 -0
  381. package/dist/components/p-toast-container.d.ts +11 -0
  382. package/dist/components/p-toast-container.js +36 -0
  383. package/dist/components/p-toast.d.ts +11 -0
  384. package/dist/components/p-toast.js +73 -0
  385. package/dist/components/page-size-select.component.js +105 -0
  386. package/dist/components/pagination-item.component.js +1 -4
  387. package/dist/components/pagination.component.js +194 -0
  388. package/dist/components/popper.js +60 -49
  389. package/dist/components/segment-container.component.js +29 -0
  390. package/dist/components/segment-item.component.js +51 -0
  391. package/dist/components/slider-indicator.component.js +33 -0
  392. package/dist/components/stepper-item.component.js +45 -0
  393. package/dist/components/stepper-line.component.js +35 -0
  394. package/dist/components/table-cell.component.js +143 -0
  395. package/dist/components/table-container.component.js +30 -0
  396. package/dist/components/table-footer.component.js +127 -0
  397. package/dist/components/table-header.component.js +1048 -0
  398. package/dist/components/table-row.component.js +43 -0
  399. package/dist/components/tooltip.component.js +16 -27
  400. package/dist/esm/child-of-90a8c4b5.js +7 -0
  401. package/dist/esm/constants-826f9460.js +4 -0
  402. package/dist/esm/index-340e085c.js +2458 -0
  403. package/dist/esm/{index-a68e547b.js → index-8170b4fb.js} +662 -261
  404. package/dist/esm/index.js +9 -0
  405. package/dist/esm/loader.js +3 -3
  406. package/dist/esm/localization-901dc2d3.js +57 -0
  407. package/dist/esm/object-get-by-path-d6427a61.js +10 -0
  408. package/dist/esm/p-accordion.entry.js +30 -0
  409. package/dist/esm/p-avatar-group.entry.js +16 -0
  410. package/dist/esm/p-avatar.entry.js +22 -11
  411. package/dist/esm/p-backdrop.entry.js +37 -0
  412. package/dist/esm/p-button_3.entry.js +246 -104
  413. package/dist/esm/p-calendar.entry.js +705 -0
  414. package/dist/esm/p-card-body.entry.js +16 -0
  415. package/dist/esm/p-card-container.entry.js +17 -0
  416. package/dist/esm/p-card-header.entry.js +18 -0
  417. package/dist/esm/p-content-slider.entry.js +206 -0
  418. package/dist/esm/p-counter.entry.js +5 -3
  419. package/dist/esm/p-datepicker.entry.js +4078 -0
  420. package/dist/esm/p-divider.entry.js +6 -3
  421. package/dist/esm/p-drawer-body_3.entry.js +43 -0
  422. package/dist/esm/p-drawer.entry.js +59 -0
  423. package/dist/esm/p-dropdown-menu-container.entry.js +5 -3
  424. package/dist/esm/p-dropdown_2.entry.js +160 -0
  425. package/dist/esm/p-helper_3.entry.js +198 -0
  426. package/dist/esm/{p-illustration.entry.js → p-illustration_6.entry.js} +1305 -8
  427. package/dist/esm/p-info-panel.entry.js +4 -8
  428. package/dist/esm/p-label_3.entry.js +57 -0
  429. package/dist/esm/p-layout.entry.js +16 -0
  430. package/dist/esm/p-modal-body_4.entry.js +70 -0
  431. package/dist/esm/p-modal.entry.js +55 -0
  432. package/dist/esm/p-navbar.entry.js +24 -0
  433. package/dist/esm/p-navigation-item.entry.js +7 -6
  434. package/dist/esm/p-page-size-select_3.entry.js +216 -0
  435. package/dist/esm/p-profile.entry.js +39 -0
  436. package/dist/esm/p-select.entry.js +179 -0
  437. package/dist/esm/p-slider-indicator.entry.js +16 -0
  438. package/dist/esm/p-status.entry.js +5 -5
  439. package/dist/esm/p-stepper-item_2.entry.js +33 -0
  440. package/dist/esm/p-stepper.entry.js +39 -0
  441. package/dist/esm/p-tab-group.entry.js +15 -0
  442. package/dist/esm/p-tab-item.entry.js +16 -0
  443. package/dist/esm/p-table-column.entry.js +22 -0
  444. package/dist/esm/p-table.entry.js +337 -0
  445. package/dist/esm/p-toast-container.entry.js +16 -0
  446. package/dist/esm/p-toast.entry.js +29 -0
  447. package/dist/esm/paperless.js +3 -3
  448. package/dist/esm/polyfills/core-js.js +0 -0
  449. package/dist/esm/polyfills/css-shim.js +1 -1
  450. package/dist/esm/polyfills/dom.js +0 -0
  451. package/dist/esm/polyfills/es5-html-element.js +0 -0
  452. package/dist/esm/polyfills/index.js +0 -0
  453. package/dist/esm/polyfills/system.js +0 -0
  454. package/dist/esm/{popper-41c6f9cd.js → popper-42db9fbd.js} +60 -49
  455. package/dist/index.html +1 -1
  456. package/dist/paperless/index.esm.js +1 -0
  457. package/dist/paperless/p-05f73516.entry.js +1 -0
  458. package/dist/paperless/p-0688d548.entry.js +1 -0
  459. package/dist/paperless/p-07f28695.entry.js +1 -0
  460. package/dist/paperless/p-09ea2a1a.js +1 -0
  461. package/dist/paperless/p-12f5c483.entry.js +1 -0
  462. package/dist/paperless/p-1ba7cadc.entry.js +1 -0
  463. package/dist/paperless/p-2e47afc7.entry.js +1 -0
  464. package/dist/paperless/p-37fa2c13.entry.js +1 -0
  465. package/dist/paperless/p-3946e0a3.entry.js +1 -0
  466. package/dist/paperless/p-3a98b145.entry.js +1 -0
  467. package/dist/paperless/p-43d1544e.entry.js +1 -0
  468. package/dist/paperless/p-4e650fe4.js +1 -0
  469. package/dist/paperless/p-4fcd08ce.entry.js +1 -0
  470. package/dist/paperless/p-529ccaf7.entry.js +1 -0
  471. package/dist/paperless/p-5b7c22ee.entry.js +1 -0
  472. package/dist/paperless/p-62d49606.entry.js +1 -0
  473. package/dist/paperless/p-63de1c3d.entry.js +1 -0
  474. package/dist/paperless/p-681ed79b.entry.js +1 -0
  475. package/dist/paperless/p-6c60fd3d.js +1 -0
  476. package/dist/paperless/p-7df6230f.entry.js +1 -0
  477. package/dist/paperless/p-8a6728d5.js +1 -0
  478. package/dist/paperless/p-8c67da86.entry.js +1 -0
  479. package/dist/paperless/p-91d032b2.entry.js +1 -0
  480. package/dist/paperless/p-9315c1e2.entry.js +1 -0
  481. package/dist/paperless/p-98e3dcd7.entry.js +1 -0
  482. package/dist/paperless/p-ac5a17c4.entry.js +1 -0
  483. package/dist/paperless/p-b273ac6d.js +1 -0
  484. package/dist/paperless/p-b4af4b21.entry.js +1 -0
  485. package/dist/paperless/p-b72559e4.entry.js +1 -0
  486. package/dist/paperless/p-b8dd503c.entry.js +1 -0
  487. package/dist/paperless/p-c296a33d.entry.js +1 -0
  488. package/dist/paperless/p-c80933ab.entry.js +1 -0
  489. package/dist/paperless/p-c9f2fa8f.js +2 -0
  490. package/dist/paperless/p-d1022d64.entry.js +1 -0
  491. package/dist/paperless/p-d2cf5ab2.entry.js +1 -0
  492. package/dist/paperless/p-d5885f2b.entry.js +1 -0
  493. package/dist/paperless/p-dbb409ab.entry.js +1 -0
  494. package/dist/paperless/p-ddd3372b.entry.js +1 -0
  495. package/dist/paperless/p-e3e3c4d1.entry.js +1 -0
  496. package/dist/paperless/p-e4bd4022.entry.js +1 -0
  497. package/dist/paperless/p-e9ed032e.entry.js +1 -0
  498. package/dist/paperless/p-f1867cb5.entry.js +1 -0
  499. package/dist/paperless/p-f499f696.entry.js +1 -0
  500. package/dist/paperless/p-f86fcdf4.js +1 -0
  501. package/dist/paperless/p-fa3216a5.entry.js +1 -0
  502. package/dist/paperless/p-fd1e32c1.entry.js +1 -0
  503. package/dist/paperless/paperless.css +673 -26741
  504. package/dist/paperless/paperless.esm.js +1 -1
  505. package/dist/style/_fonts.scss +70 -0
  506. package/dist/style/_helpers.scss +5 -0
  507. package/dist/style/_reset.scss +31 -0
  508. package/dist/style/_tailwind.scss +3 -0
  509. package/dist/style/_typograhpy.scss +29 -0
  510. package/dist/style/_variables.scss +2 -0
  511. package/dist/style/form/_checkbox.scss +111 -0
  512. package/dist/style/form/_input.scss +22 -0
  513. package/dist/style/form/_mixins.scss +107 -0
  514. package/dist/style/form/_radio.scss +58 -0
  515. package/dist/style/form/_textarea.scss +18 -0
  516. package/dist/style/form/index.scss +4 -0
  517. package/dist/style/paperless.scss +12 -0
  518. package/dist/sw.js +2 -644
  519. package/dist/sw.js.map +1 -0
  520. package/dist/tailwind/animation.js +87 -0
  521. package/dist/tailwind/backdrop-blur.js +3 -0
  522. package/dist/tailwind/border-radius.js +11 -0
  523. package/dist/tailwind/colors.js +52 -0
  524. package/dist/tailwind/height.js +5 -0
  525. package/dist/tailwind/rotate.js +8 -0
  526. package/dist/tailwind/scale.js +3 -0
  527. package/dist/tailwind/screens.js +8 -0
  528. package/dist/tailwind/shadows.js +13 -0
  529. package/dist/tailwind/spacing.js +10 -0
  530. package/dist/tailwind/typography.js +21 -0
  531. package/dist/tailwind/width.js +23 -0
  532. package/dist/tailwind/z-index.js +17 -0
  533. package/dist/tailwind.config.js +29 -14
  534. package/dist/types/components/atoms/avatar/avatar.component.d.ts +3 -1
  535. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +7 -0
  536. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +31 -0
  537. package/dist/types/components/atoms/button/button.component.d.ts +14 -1
  538. package/dist/types/components/atoms/card-body/card-body.component.d.ts +7 -0
  539. package/dist/types/components/atoms/card-container/card-container.component.d.ts +11 -0
  540. package/dist/types/components/atoms/card-header/card-header.component.d.ts +11 -0
  541. package/dist/types/components/atoms/counter/counter.component.d.ts +8 -0
  542. package/dist/types/components/atoms/divider/divider.component.d.ts +4 -0
  543. package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +7 -0
  544. package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +7 -0
  545. package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +12 -0
  546. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +8 -0
  547. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +9 -0
  548. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -0
  549. package/dist/types/components/atoms/icon/icon.component.d.ts +3 -3
  550. package/dist/types/components/atoms/label/label.component.d.ts +33 -0
  551. package/dist/types/components/atoms/layout/layout.component.d.ts +7 -0
  552. package/dist/types/components/atoms/loader/loader.component.d.ts +1 -1
  553. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +11 -0
  554. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +11 -0
  555. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +3 -0
  556. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +12 -0
  557. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +2 -1
  558. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +7 -0
  559. package/dist/types/components/atoms/status/status.component.d.ts +2 -1
  560. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +19 -0
  561. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +11 -0
  562. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +3 -0
  563. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +7 -0
  564. package/dist/types/components/atoms/table-container/table-container.component.d.ts +3 -0
  565. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +7 -0
  566. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +11 -2
  567. package/dist/types/components/helpers/table-column/table-column.component.d.ts +34 -0
  568. package/dist/types/components/molecules/accordion/accordion.component.d.ts +25 -0
  569. package/dist/types/components/molecules/calendar/calendar.component.d.ts +76 -0
  570. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +53 -0
  571. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +93 -0
  572. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +30 -3
  573. package/dist/types/components/molecules/input-group/input-group.component.d.ts +67 -0
  574. package/dist/types/components/molecules/page-size-select/constants.d.ts +2 -0
  575. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +50 -0
  576. package/dist/types/components/molecules/pagination/pagination.component.d.ts +7 -0
  577. package/dist/types/components/molecules/profile/profile.component.d.ts +20 -0
  578. package/dist/types/components/molecules/select/select.component.d.ts +115 -0
  579. package/dist/types/components/molecules/stepper/stepper.component.d.ts +18 -0
  580. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -0
  581. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +63 -0
  582. package/dist/types/components/molecules/table-header/table-header.component.d.ts +87 -0
  583. package/dist/types/components/molecules/table-row/table-row.component.d.ts +11 -0
  584. package/dist/types/components/molecules/toast/toast.component.d.ts +39 -0
  585. package/dist/types/components/organisms/drawer/drawer.component.d.ts +52 -0
  586. package/dist/types/components/organisms/modal/modal.component.d.ts +58 -0
  587. package/dist/types/components/organisms/navbar/navbar.component.d.ts +14 -0
  588. package/dist/types/components/organisms/table/table.component.d.ts +214 -0
  589. package/dist/types/components.d.ts +2829 -327
  590. package/dist/types/index.d.ts +2 -0
  591. package/dist/types/stencil-public-runtime.d.ts +20 -4
  592. package/dist/types/types/index.d.ts +2 -0
  593. package/dist/types/types/table.d.ts +27 -0
  594. package/dist/types/types/tailwind.d.ts +2 -0
  595. package/dist/types/utils/icons.d.ts +7 -0
  596. package/dist/types/utils/illustrations.d.ts +3 -0
  597. package/dist/types/utils/index.d.ts +6 -0
  598. package/dist/types/utils/localization.d.ts +2 -0
  599. package/dist/types/utils/object-get-by-path.d.ts +1 -0
  600. package/dist/types/utils/transformers.d.ts +2 -0
  601. package/dist/workbox-5b279812.js +2 -0
  602. package/dist/workbox-5b279812.js.map +1 -0
  603. package/loader/package.json +1 -0
  604. package/package.json +65 -61
  605. package/dist/build/p-17c11169.entry.js +0 -1
  606. package/dist/build/p-41e5458b.entry.js +0 -1
  607. package/dist/build/p-42dab9d4.entry.js +0 -1
  608. package/dist/build/p-47b52f92.entry.js +0 -1
  609. package/dist/build/p-5ec6ea71.entry.js +0 -1
  610. package/dist/build/p-75f909ab.entry.js +0 -1
  611. package/dist/build/p-76464e0b.js +0 -2
  612. package/dist/build/p-8501ba07.entry.js +0 -1
  613. package/dist/build/p-87356769.entry.js +0 -1
  614. package/dist/build/p-9513868f.entry.js +0 -1
  615. package/dist/build/p-a669807e.entry.js +0 -1
  616. package/dist/build/p-a7086ffa.js +0 -1
  617. package/dist/build/p-aa28fef8.entry.js +0 -1
  618. package/dist/build/p-aae3d4f0.entry.js +0 -1
  619. package/dist/build/p-adcb0b93.entry.js +0 -1
  620. package/dist/build/p-bbec0e86.entry.js +0 -1
  621. package/dist/build/p-e7019eab.entry.js +0 -1
  622. package/dist/build/p-f689996b.entry.js +0 -1
  623. package/dist/build/p-faa4ee42.entry.js +0 -1
  624. package/dist/cjs/p-dropdown-menu-item.cjs.entry.js +0 -23
  625. package/dist/cjs/p-dropdown.cjs.entry.js +0 -141
  626. package/dist/cjs/p-helper.cjs.entry.js +0 -19
  627. package/dist/cjs/p-pagination-item.cjs.entry.js +0 -23
  628. package/dist/cjs/p-pagination.cjs.entry.js +0 -171
  629. package/dist/cjs/p-segment-container.cjs.entry.js +0 -19
  630. package/dist/cjs/p-segment-item.cjs.entry.js +0 -29
  631. package/dist/cjs/p-tooltip.cjs.entry.js +0 -137
  632. package/dist/collection/tailwind/grid.js +0 -26
  633. package/dist/collection/utils/utils.js +0 -3
  634. package/dist/esm/p-dropdown-menu-item.entry.js +0 -19
  635. package/dist/esm/p-dropdown.entry.js +0 -137
  636. package/dist/esm/p-helper.entry.js +0 -15
  637. package/dist/esm/p-pagination-item.entry.js +0 -19
  638. package/dist/esm/p-pagination.entry.js +0 -167
  639. package/dist/esm/p-segment-container.entry.js +0 -15
  640. package/dist/esm/p-segment-item.entry.js +0 -25
  641. package/dist/esm/p-tooltip.entry.js +0 -133
  642. package/dist/paperless/p-17c11169.entry.js +0 -1
  643. package/dist/paperless/p-41e5458b.entry.js +0 -1
  644. package/dist/paperless/p-42dab9d4.entry.js +0 -1
  645. package/dist/paperless/p-47b52f92.entry.js +0 -1
  646. package/dist/paperless/p-5ec6ea71.entry.js +0 -1
  647. package/dist/paperless/p-75f909ab.entry.js +0 -1
  648. package/dist/paperless/p-76464e0b.js +0 -2
  649. package/dist/paperless/p-8501ba07.entry.js +0 -1
  650. package/dist/paperless/p-87356769.entry.js +0 -1
  651. package/dist/paperless/p-9513868f.entry.js +0 -1
  652. package/dist/paperless/p-a669807e.entry.js +0 -1
  653. package/dist/paperless/p-a7086ffa.js +0 -1
  654. package/dist/paperless/p-aa28fef8.entry.js +0 -1
  655. package/dist/paperless/p-aae3d4f0.entry.js +0 -1
  656. package/dist/paperless/p-adcb0b93.entry.js +0 -1
  657. package/dist/paperless/p-bbec0e86.entry.js +0 -1
  658. package/dist/paperless/p-e7019eab.entry.js +0 -1
  659. package/dist/paperless/p-f689996b.entry.js +0 -1
  660. package/dist/paperless/p-faa4ee42.entry.js +0 -1
  661. package/dist/types/utils/utils.d.ts +0 -1
@@ -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}.absolute{position:absolute!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!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}.h-8{height:2rem!important}.w-3{width:.75rem!important}.w-6{width:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.justify-center{justify-content:center!important}.gap-4{gap:1rem!important}.self-center{align-self:center!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}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm{color:rgb(81 83 107/var(--tw-text-opacity))!important}.text-indigo,.text-storm{--tw-text-opacity:1!important}.text-indigo{color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.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:.375rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;height:1.5rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;white-space:nowrap}:host(.variant-icon){justify-content:center;padding-left:0;padding-right:0;width:1.5rem}:host(:hover){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-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))}.max-w-\\[20rem\\]{max-width:20rem!important}.w-3\\/4{width:75%!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
+ this.active = false;
12
+ this.icon = undefined;
13
+ this.iconFlip = undefined;
14
+ this.iconRotate = undefined;
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,33 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const sliderIndicatorComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.block{display:block!important}.hidden{display:none!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.cursor-pointer{cursor:pointer!important}.resize{resize:both!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}";
4
+
5
+ const SliderIndicator = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.active = false;
11
+ }
12
+ render() {
13
+ return (h(Host, { class: `p-slider-indicator ${this.active && 'active'}` }));
14
+ }
15
+ static get style() { return sliderIndicatorComponentCss; }
16
+ }, [1, "p-slider-indicator", {
17
+ "active": [4]
18
+ }]);
19
+ function defineCustomElement() {
20
+ if (typeof customElements === "undefined") {
21
+ return;
22
+ }
23
+ const components = ["p-slider-indicator"];
24
+ components.forEach(tagName => { switch (tagName) {
25
+ case "p-slider-indicator":
26
+ if (!customElements.get(tagName)) {
27
+ customElements.define(tagName, SliderIndicator);
28
+ }
29
+ break;
30
+ } });
31
+ }
32
+
33
+ export { SliderIndicator as S, defineCustomElement as d };
@@ -0,0 +1,45 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './icon.component.js';
3
+
4
+ const stepperItemComponentCss = ".static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1{left:.25rem!important}.ml-4{margin-left:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.rounded-round{border-radius:100%!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}.left-1\\/2{left:50%!important}:host{align-items:flex-end;display:flex;justify-content:center;position:relative}:host .content{--tw-text-opacity:1;color:rgb(176 178 203/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem;white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;color:rgb(255 255 255/var(--tw-text-opacity));display:flex;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){height:2.5rem}:host([direction=horizontal]) .content{order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}";
5
+
6
+ const StepperItem = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
7
+ constructor() {
8
+ super();
9
+ this.__registerHost();
10
+ this.__attachShadow();
11
+ this.align = 'center';
12
+ this.direction = 'horizontal';
13
+ this.finished = false;
14
+ this.active = false;
15
+ }
16
+ render() {
17
+ return (h(Host, { class: "p-stepper-item" }, h("div", { class: "content" }, h("slot", null)), h("div", { class: "circle" }, this.finished && h("p-icon", { variant: "checkmark" }))));
18
+ }
19
+ static get style() { return stepperItemComponentCss; }
20
+ }, [1, "p-stepper-item", {
21
+ "align": [513],
22
+ "direction": [513],
23
+ "finished": [516],
24
+ "active": [516]
25
+ }]);
26
+ function defineCustomElement() {
27
+ if (typeof customElements === "undefined") {
28
+ return;
29
+ }
30
+ const components = ["p-stepper-item", "p-icon"];
31
+ components.forEach(tagName => { switch (tagName) {
32
+ case "p-stepper-item":
33
+ if (!customElements.get(tagName)) {
34
+ customElements.define(tagName, StepperItem);
35
+ }
36
+ break;
37
+ case "p-icon":
38
+ if (!customElements.get(tagName)) {
39
+ defineCustomElement$1();
40
+ }
41
+ break;
42
+ } });
43
+ }
44
+
45
+ export { StepperItem as S, defineCustomElement as d };
@@ -0,0 +1,35 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+
3
+ const stepperLineComponentCss = ".static{position:static!important}.block{display:block!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}.mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.h-\\[2px\\]{height:2px!important}.w-\\[2px\\]{width:2px!important}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}";
4
+
5
+ const StepperLine = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
6
+ constructor() {
7
+ super();
8
+ this.__registerHost();
9
+ this.__attachShadow();
10
+ this.active = false;
11
+ this.direction = 'horizontal';
12
+ }
13
+ render() {
14
+ return h(Host, { class: "p-stepper-line" });
15
+ }
16
+ static get style() { return stepperLineComponentCss; }
17
+ }, [1, "p-stepper-line", {
18
+ "active": [516],
19
+ "direction": [513]
20
+ }]);
21
+ function defineCustomElement() {
22
+ if (typeof customElements === "undefined") {
23
+ return;
24
+ }
25
+ const components = ["p-stepper-line"];
26
+ components.forEach(tagName => { switch (tagName) {
27
+ case "p-stepper-line":
28
+ if (!customElements.get(tagName)) {
29
+ customElements.define(tagName, StepperLine);
30
+ }
31
+ break;
32
+ } });
33
+ }
34
+
35
+ export { StepperLine as S, defineCustomElement as d };
@@ -0,0 +1,143 @@
1
+ import { proxyCustomElement, HTMLElement, h, Host } from '@stencil/core/internal/client';
2
+ import { d as defineCustomElement$1 } from './loader.component.js';
3
+
4
+ const objectGetByPath = (obj, path, defaultValue = undefined) => {
5
+ const travel = (regexp) => String.prototype.split
6
+ .call(path, regexp)
7
+ .filter(Boolean)
8
+ .reduce((res, key) => res !== null && res !== undefined ? res[key] : res, obj);
9
+ const result = travel(/[,[\]]+?/) || travel(/[,[\].]+?/);
10
+ return result === undefined || result === obj ? defaultValue : result;
11
+ };
12
+
13
+ const tableCellComponentCss = ".visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!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}.h-8{height:2rem!important}.w-3{width:.75rem!important}.w-2{width:.5rem!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-1{width:.25rem!important}.w-full{width:100%!important}.w-auto{width:auto!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!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}.self-center{align-self:center!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}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{color:rgb(128 130 158/var(--tw-text-opacity))!important}.text-storm-dark,.text-storm-medium{--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}p-table-cell{align-items:center;display:flex;gap:1rem}.max-w-\\[20rem\\]{max-width:20rem!important}.w-3\\/4{width:75%!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}}.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}}.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 TableCell = /*@__PURE__*/ proxyCustomElement(class extends HTMLElement {
16
+ constructor() {
17
+ super();
18
+ this.__registerHost();
19
+ this.variant = 'default';
20
+ this.index = undefined;
21
+ this.rowIndex = undefined;
22
+ this.definition = undefined;
23
+ this.item = undefined;
24
+ this.value = undefined;
25
+ this.checkbox = undefined;
26
+ this.template = ({ value, }) => value;
27
+ }
28
+ get data() {
29
+ var _a;
30
+ if (this.variant === 'header') {
31
+ return {
32
+ value: this.value,
33
+ };
34
+ }
35
+ return {
36
+ value: (_a = this.value) !== null && _a !== void 0 ? _a : objectGetByPath(this.item, this.definition.path),
37
+ item: this.item,
38
+ index: this.index,
39
+ rowIndex: this.rowIndex,
40
+ };
41
+ }
42
+ render() {
43
+ return (h(Host, { class: Object.assign({ 'p-table-cell': true, [`variant-${this.variant}`]: true }, this._getColumnClasses()) }, this.checkbox, this.variant === 'loading' ? (h("p-loader", { variant: "ghost", class: "rounded flex-1 w-full h-6" })) : (h("div", { class: "flex" }, this.variant === 'header' ? (this.data.value) : this.definition.useSlot ? (h("slot", null)) : (this.template(this.data))))));
44
+ }
45
+ _getColumnClasses() {
46
+ var _a, _b, _c, _d, _e, _f;
47
+ const sizes = this.definition ? this._getSizes(this.definition) : {};
48
+ return Object.assign({ 'justify-start': !((_a = this.definition) === null || _a === void 0 ? void 0 : _a.align) || ((_b = this.definition) === null || _b === void 0 ? void 0 : _b.align) === 'start', 'justify-center': ((_c = this.definition) === null || _c === void 0 ? void 0 : _c.align) === 'center', 'justify-end': ((_d = this.definition) === null || _d === void 0 ? void 0 : _d.align) === 'end', 'font-semibold': this.variant !== 'header' && ((_e = this.definition) === null || _e === void 0 ? void 0 : _e.type) === 'th', 'text-storm-dark': this.variant !== 'header' && ((_f = this.definition) === null || _f === void 0 ? void 0 : _f.type) === 'th' }, sizes);
49
+ }
50
+ /*
51
+ With this, we shall hack the system in ways no one would ever have thought.
52
+
53
+ <div class="w-1/12 w-2/12 w-3/12 w-4/12 w-5/12 w-6/12 w-7/12 w-8/12 w-9/12 w-10/12 w-11/12 w-12/12"></div>
54
+ <div class="tablet:w-1/12 tablet:w-2/12 tablet:w-3/12 tablet:w-4/12 tablet:w-5/12 tablet:w-6/12 tablet:w-7/12 tablet:w-8/12 tablet:w-9/12 tablet:w-10/12 tablet:w-11/12 tablet:w-12/12"></div>
55
+ <div class="desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12"></div>
56
+ <div class="desktop-xs:w-1/12 desktop-xs:w-2/12 desktop-xs:w-3/12 desktop-xs:w-4/12 desktop-xs:w-5/12 desktop-xs:w-6/12 desktop-xs:w-7/12 desktop-xs:w-8/12 desktop-xs:w-9/12 desktop-xs:w-10/12 desktop-xs:w-11/12 desktop-xs:w-12/12"></div>
57
+ <div class="desktop-sm:w-1/12 desktop-sm:w-2/12 desktop-sm:w-3/12 desktop-sm:w-4/12 desktop-sm:w-5/12 desktop-sm:w-6/12 desktop-sm:w-7/12 desktop-sm:w-8/12 desktop-sm:w-9/12 desktop-sm:w-10/12 desktop-sm:w-11/12 desktop-sm:w-12/12"></div>
58
+ <div class="desktop:w-1/12 desktop:w-2/12 desktop:w-3/12 desktop:w-4/12 desktop:w-5/12 desktop:w-6/12 desktop:w-7/12 desktop:w-8/12 desktop:w-9/12 desktop:w-10/12 desktop:w-11/12 desktop:w-12/12"></div>
59
+ <div class="desktop-lg:w-1/12 desktop-lg:w-2/12 desktop-lg:w-3/12 desktop-lg:w-4/12 desktop-lg:w-5/12 desktop-lg:w-6/12 desktop-lg:w-7/12 desktop-lg:w-8/12 desktop-lg:w-9/12 desktop-lg:w-10/12 desktop-lg:w-11/12 desktop-lg:w-12/12"></div>
60
+ <div class="desktop-xl:w-1/12 desktop-xl:w-2/12 desktop-xl:w-3/12 desktop-xl:w-4/12 desktop-xl:w-5/12 desktop-xl:w-6/12 desktop-xl:w-7/12 desktop-xl:w-8/12 desktop-xl:w-9/12 desktop-xl:w-10/12 desktop-xl:w-11/12 desktop-xl:w-12/12"></div>
61
+
62
+
63
+ ⠀⠀⠀⠀⠀⣠⣴⣶⣿⣿⠿⣷⣶⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣶⣷⠿⣿⣿⣶⣦⣀⠀⠀⠀⠀⠀
64
+ ⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣶⣦⣬⡉⠒⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠚⢉⣥⣴⣾⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀
65
+ ⠀⠀⠀⡾⠿⠛⠛⠛⠛⠿⢿⣿⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⠿⠿⠛⠛⠛⠛⠿⢧⠀⠀⠀
66
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣿⡄⠀⠀⠀⠀⠀⠀⣠⣿⣿⣿⣿⡿⠟⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
67
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⡄⠀⠀⠀⠀⠀⠀⠀⠀⢰⣿⡿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
68
+ ⠀⠀⠀⠀⠀⠀⠀⣠⣤⠶⠶⠶⠰⠦⣤⣀⠀⠙⣷⠀⠀⠀⠀⠀⠀⠀⢠⡿⠋⢀⣀⣤⢴⠆⠲⠶⠶⣤⣄⠀⠀⠀⠀⠀⠀⠀
69
+ ⠀⠘⣆⠀⠀⢠⣾⣫⣶⣾⣿⣿⣿⣿⣷⣯⣿⣦⠈⠃⡇⠀⠀⠀⠀⢸⠘⢁⣶⣿⣵⣾⣿⣿⣿⣿⣷⣦⣝⣷⡄⠀⠀⡰⠂⠀
70
+ ⠀⠀⣨⣷⣶⣿⣧⣛⣛⠿⠿⣿⢿⣿⣿⣛⣿⡿⠀⠀⡇⠀⠀⠀⠀⢸⠀⠈⢿⣟⣛⠿⢿⡿⢿⢿⢿⣛⣫⣼⡿⣶⣾⣅⡀⠀
71
+ ⢀⡼⠋⠁⠀⠀⠈⠉⠛⠛⠻⠟⠸⠛⠋⠉⠁⠀⠀⢸⡇⠀⠀⠄⠀⢸⡄⠀⠀⠈⠉⠙⠛⠃⠻⠛⠛⠛⠉⠁⠀⠀⠈⠙⢧⡀
72
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣿⡇⢠⠀⠀⠀⢸⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
73
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣾⣿⡇⠀⠀⠀⠀⢸⣿⣷⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
74
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠟⠁⣿⠇⠀⠀⠀⠀⢸⡇⠙⢿⣆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
75
+ ⠀⠰⣄⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⠖⡾⠁⠀⠀⣿⠀⠀⠀⠀⠀⠘⣿⠀⠀⠙⡇⢸⣷⣄⡀⠀⠀⠀⠀⠀⠀⠀⠀⣰⠄⠀
76
+ ⠀⠀⢻⣷⡦⣤⣤⣤⡴⠶⠿⠛⠉⠁⠀⢳⠀⢠⡀⢿⣀⠀⠀⠀⠀⣠⡟⢀⣀⢠⠇⠀⠈⠙⠛⠷⠶⢦⣤⣤⣤⢴⣾⡏⠀⠀
77
+ ⠀⠀⠈⣿⣧⠙⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⠀⠘⠛⢊⣙⠛⠒⠒⢛⣋⡚⠛⠉⠀⠀⠀⠀⠀⠀⠀⠀⣠⣿⡿⠁⣾⡿⠀⠀⠀
78
+ ⠀⠀⠀⠘⣿⣇⠈⢿⣿⣦⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⡿⢿⣿⣿⣿⣆⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⡟⠁⣼⡿⠁⠀⠀⠀
79
+ ⠀⠀⠀⠀⠘⣿⣦⠀⠻⣿⣷⣦⣤⣤⣶⣶⣶⣿⣿⣿⣿⠏⠀⠀⠻⣿⣿⣿⣿⣶⣶⣶⣦⣤⣴⣿⣿⠏⢀⣼⡿⠁⠀⠀⠀⠀
80
+ ⠀⠀⠀⠀⠀⠘⢿⣷⣄⠙⠻⠿⠿⠿⠿⠿⢿⣿⣿⣿⣁⣀⣀⣀⣀⣙⣿⣿⣿⠿⠿⠿⠿⠿⠿⠟⠁⣠⣿⡿⠁⠀⠀⠀⠀⠀
81
+ ⠀⠀⠀⠀⠀⠀⠈⠻⣯⠙⢦⣀⠀⠀⠀⠀⠀⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠉⠀⠀⠀⠀⠀⣠⠴⢋⣾⠟⠀⠀⠀⠀⠀⠀⠀
82
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠙⢧⡀⠈⠉⠒⠀⠀⠀⠀⠀⠀⣀⠀⠀⠀⠀⢀⠀⠀⠀⠀⠀⠐⠒⠉⠁⢀⡾⠃⠀⠀⠀⠀⠀⠀⠀⠀
83
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠳⣄⠀⠀⠀⠀⠀⠀⠀⠀⠻⣿⣿⣿⣿⠋⠀⠀⠀⠀⠀⠀⠀⠀⣠⠟⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
84
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠘⢦⡀⠀⠀⠀⠀⠀⠀⠀⣸⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⢀⡴⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
85
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
86
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠐⣿⣿⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
87
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣿⣿⣿⡿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
88
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢻⣿⣿⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
89
+ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠸⣿⣿⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
90
+ */
91
+ _getSizes({ sizes }) {
92
+ if (sizes === 'auto' || !sizes) {
93
+ return {
94
+ 'w-auto': true,
95
+ };
96
+ }
97
+ if (typeof sizes === 'object') {
98
+ const classes = {};
99
+ for (const size of Object.keys(sizes)) {
100
+ if (size === 'default') {
101
+ classes[`w-${sizes.default}/12`] = true;
102
+ continue;
103
+ }
104
+ classes[`${size}:w-${sizes[`${size}`]}/12`] = true;
105
+ }
106
+ return classes;
107
+ }
108
+ // is a number.
109
+ return {
110
+ [`w-${sizes}/12`]: true,
111
+ };
112
+ }
113
+ static get style() { return tableCellComponentCss; }
114
+ }, [4, "p-table-cell", {
115
+ "variant": [1],
116
+ "index": [2],
117
+ "rowIndex": [2, "row-index"],
118
+ "definition": [16],
119
+ "item": [8],
120
+ "value": [8],
121
+ "checkbox": [8],
122
+ "template": [16]
123
+ }]);
124
+ function defineCustomElement() {
125
+ if (typeof customElements === "undefined") {
126
+ return;
127
+ }
128
+ const components = ["p-table-cell", "p-loader"];
129
+ components.forEach(tagName => { switch (tagName) {
130
+ case "p-table-cell":
131
+ if (!customElements.get(tagName)) {
132
+ customElements.define(tagName, TableCell);
133
+ }
134
+ break;
135
+ case "p-loader":
136
+ if (!customElements.get(tagName)) {
137
+ defineCustomElement$1();
138
+ }
139
+ break;
140
+ } });
141
+ }
142
+
143
+ export { TableCell as T, defineCustomElement as d, objectGetByPath as o };
@@ -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}.absolute{position:absolute!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!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}.h-8{height:2rem!important}.w-3{width:.75rem!important}.w-6{width:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-end{justify-content:flex-end!important}.gap-4{gap:1rem!important}.self-center{align-self:center!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}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.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%}.max-w-\\[20rem\\]{max-width:20rem!important}.w-3\\/4{width:75%!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,127 @@
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 { a as defaultSize, b as defaultSizeOptions, d 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}.absolute{position:absolute!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.m-0{margin:0!important}.mb-6{margin-bottom:1.5rem!important}.mb-14{margin-bottom:3.5rem!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}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-3{width:.75rem!important}.w-6{width:1.5rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!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-end{justify-content:flex-end!important}.gap-4{gap:1rem!important}.self-center{align-self:center!important}.justify-self-end{justify-self:end!important}.justify-self-center{justify-self:center!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}.py-24{padding-bottom:6rem!important;padding-top:6rem!important}.text-center{text-align:center!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.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}:host>p-loader{grid-column-start:1}@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-loader{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}.max-w-\\[20rem\\]{max-width:20rem!important}.w-3\\/4{width:75%!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
+ this.enablePageSize = true;
24
+ this.enablePagination = true;
25
+ this.enableExport = true;
26
+ this.loading = false;
27
+ this.page = 1;
28
+ this.total = undefined;
29
+ this.pageSize = defaultSize;
30
+ this.pageSizeOptions = defaultSizeOptions;
31
+ this.hideOnSinglePage = true;
32
+ this._locales = {};
33
+ }
34
+ componentWillLoad() {
35
+ this._setLocales();
36
+ }
37
+ render() {
38
+ var _a;
39
+ const hidePageSizeSelect = this.hideOnSinglePage && this.total < ((_a = this.pageSizeOptions) === null || _a === void 0 ? void 0 : _a[0]);
40
+ return (h(Host, { class: `p-table-footer ${!this.enablePageSize && 'page-size-disabled'} ${!this.enablePagination && 'pagination-disabled'} ${!this.enableExport && 'export-disabled'}` }, !this.loading &&
41
+ this.enablePagination &&
42
+ this.enablePageSize && (h("p-page-size-select", { class: !hidePageSizeSelect && 'hidden desktop-xs:flex', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) })), this.loading && (h("p-loader", { variant: "ghost", class: "rounded w-full h-8" })), !this.loading && this.enablePagination && (h("p-pagination", { pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail) })), !this.loading && this.enableExport && (h("p-button", { class: "hidden desktop-xs:flex", variant: "secondary", size: "small", icon: "download", onClick: () => this.export.emit() }, formatTranslation(this._locales.export)))));
43
+ }
44
+ async _setLocales() {
45
+ this._locales = await getLocaleComponentStrings(this._el);
46
+ }
47
+ _changePageSize(s) {
48
+ if (!s) {
49
+ return;
50
+ }
51
+ this.pageSize = s;
52
+ this.pageSizeChange.emit(this.pageSize);
53
+ }
54
+ get _el() { return this; }
55
+ static get style() { return tableFooterComponentCss; }
56
+ }, [1, "p-table-footer", {
57
+ "enablePageSize": [4, "enable-page-size"],
58
+ "enablePagination": [4, "enable-pagination"],
59
+ "enableExport": [4, "enable-export"],
60
+ "loading": [4],
61
+ "page": [1538],
62
+ "total": [2],
63
+ "pageSize": [2, "page-size"],
64
+ "pageSizeOptions": [16],
65
+ "hideOnSinglePage": [4, "hide-on-single-page"],
66
+ "_locales": [32]
67
+ }, [[16, "localeChanged", "_setLocales"]]]);
68
+ function defineCustomElement() {
69
+ if (typeof customElements === "undefined") {
70
+ return;
71
+ }
72
+ 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"];
73
+ components.forEach(tagName => { switch (tagName) {
74
+ case "p-table-footer":
75
+ if (!customElements.get(tagName)) {
76
+ customElements.define(tagName, TableFooter);
77
+ }
78
+ break;
79
+ case "p-button":
80
+ if (!customElements.get(tagName)) {
81
+ defineCustomElement$9();
82
+ }
83
+ break;
84
+ case "p-dropdown":
85
+ if (!customElements.get(tagName)) {
86
+ defineCustomElement$8();
87
+ }
88
+ break;
89
+ case "p-dropdown-menu-container":
90
+ if (!customElements.get(tagName)) {
91
+ defineCustomElement$7();
92
+ }
93
+ break;
94
+ case "p-dropdown-menu-item":
95
+ if (!customElements.get(tagName)) {
96
+ defineCustomElement$6();
97
+ }
98
+ break;
99
+ case "p-icon":
100
+ if (!customElements.get(tagName)) {
101
+ defineCustomElement$5();
102
+ }
103
+ break;
104
+ case "p-loader":
105
+ if (!customElements.get(tagName)) {
106
+ defineCustomElement$4();
107
+ }
108
+ break;
109
+ case "p-page-size-select":
110
+ if (!customElements.get(tagName)) {
111
+ defineCustomElement$3();
112
+ }
113
+ break;
114
+ case "p-pagination":
115
+ if (!customElements.get(tagName)) {
116
+ defineCustomElement$2();
117
+ }
118
+ break;
119
+ case "p-pagination-item":
120
+ if (!customElements.get(tagName)) {
121
+ defineCustomElement$1();
122
+ }
123
+ break;
124
+ } });
125
+ }
126
+
127
+ export { TableFooter as T, defineCustomElement as d };