@paperless/core 2.12.15 → 2.12.16

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 (389) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/build/{p-844af0db.js → p-006ce9e2.js} +1 -1
  3. package/dist/build/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
  4. package/dist/build/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
  5. package/dist/build/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
  6. package/dist/{paperless/p-4bf20920.entry.js → build/p-20f0202a.entry.js} +2 -2
  7. package/dist/build/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
  8. package/dist/build/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
  9. package/dist/build/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
  10. package/dist/build/p-4f61059d.entry.js +2 -0
  11. package/dist/build/p-4f61059d.entry.js.map +1 -0
  12. package/dist/build/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
  13. package/dist/build/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
  14. package/dist/{paperless/p-a5ee88a9.entry.js → build/p-60ce5cb1.entry.js} +2 -2
  15. package/dist/build/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
  16. package/dist/build/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
  17. package/dist/build/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
  18. package/dist/{paperless/p-d4595315.entry.js → build/p-75cb9a59.entry.js} +2 -2
  19. package/dist/build/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
  20. package/dist/build/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
  21. package/dist/build/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
  22. package/dist/build/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
  23. package/dist/{paperless/p-eacbe5ed.entry.js → build/p-95d812ef.entry.js} +2 -2
  24. package/dist/build/p-b03f7821.entry.js +2 -0
  25. package/dist/{paperless/p-7300fdce.entry.js → build/p-b2441c2e.entry.js} +2 -2
  26. package/dist/{paperless/p-62bb5a15.entry.js → build/p-b6db4300.entry.js} +2 -2
  27. package/dist/build/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
  28. package/dist/build/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
  29. package/dist/{paperless/p-6fc33855.entry.js → build/p-bfaf3040.entry.js} +2 -2
  30. package/dist/build/p-c5ba396d.entry.js +2 -0
  31. package/dist/build/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
  32. package/dist/build/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
  33. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  34. package/dist/build/p-e35dde73.entry.js +2 -0
  35. package/dist/build/p-e35dde73.entry.js.map +1 -0
  36. package/dist/build/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
  37. package/dist/{paperless/p-630b821d.entry.js → build/p-ee8f4311.entry.js} +2 -2
  38. package/dist/build/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
  39. package/dist/{paperless/p-09fbb0bb.entry.js → build/p-ff0dee5d.entry.js} +2 -2
  40. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  41. package/dist/build/paperless.esm.js +1 -1
  42. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  43. package/dist/cjs/p-attachment.cjs.entry.js +6 -6
  44. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  45. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  46. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  47. package/dist/cjs/p-checkbox_4.cjs.entry.js +2 -2
  48. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  49. package/dist/cjs/p-cropper.cjs.entry.js +1 -1
  50. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  51. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  52. package/dist/cjs/p-drawer-body_3.cjs.entry.js +4 -4
  53. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  54. package/dist/cjs/p-empty-state_8.cjs.entry.js +12 -12
  55. package/dist/cjs/p-field_2.cjs.entry.js +4 -4
  56. package/dist/cjs/p-helper_2.cjs.entry.js +2 -2
  57. package/dist/cjs/p-label.cjs.entry.js +3 -3
  58. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  59. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  60. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -5
  61. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  62. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  63. package/dist/cjs/p-navigation-item.cjs.entry.js +3 -3
  64. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  65. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  66. package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
  67. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  68. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  69. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  70. package/dist/cjs/p-range.cjs.entry.js +3 -3
  71. package/dist/cjs/p-select.cjs.entry.js +2 -2
  72. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  73. package/dist/cjs/p-stepper-item_2.cjs.entry.js +5 -5
  74. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  75. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  76. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  77. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  78. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  79. package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
  80. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js +3 -3
  81. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js.map +1 -1
  82. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
  83. package/dist/collection/components/atoms/modal/container/modal-container.component.js +4 -2
  84. package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
  85. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  86. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  87. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  88. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  89. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  90. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  91. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  92. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  93. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js +4 -4
  94. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js +1 -1
  95. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  96. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  97. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  98. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +3 -3
  99. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  100. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  101. package/dist/collection/components/atoms/tooltip/tooltip.component.js +2 -2
  102. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  103. package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
  104. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  105. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  106. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  107. package/dist/collection/components/molecules/cropper/cropper.component.js +1 -1
  108. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  109. package/dist/collection/components/molecules/dropdown/dropdown.component.js +2 -2
  110. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  111. package/dist/collection/components/molecules/field/field/field.component.js +4 -4
  112. package/dist/collection/components/molecules/label/label.component.js +3 -3
  113. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +3 -3
  114. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  115. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  116. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  117. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  118. package/dist/collection/components/molecules/range/range.component.js +3 -3
  119. package/dist/collection/components/molecules/select/select.component.js +2 -2
  120. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  121. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  122. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  123. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  124. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  125. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  126. package/dist/components/{p-BWS61QL4.js → p-1TpRsovb.js} +4 -4
  127. package/dist/components/{p-BWS61QL4.js.map → p-1TpRsovb.js.map} +1 -1
  128. package/dist/components/{p-9uCNIhdB.js → p-AW2oGbqj.js} +9 -9
  129. package/dist/components/{p-9uCNIhdB.js.map → p-AW2oGbqj.js.map} +1 -1
  130. package/dist/components/{p-Bc76zCz0.js → p-B2dstzDH.js} +4 -4
  131. package/dist/components/{p-Bc76zCz0.js.map → p-B2dstzDH.js.map} +1 -1
  132. package/dist/components/{p-20bKL56S.js → p-B9vEqYTq.js} +3 -3
  133. package/dist/components/{p-20bKL56S.js.map → p-B9vEqYTq.js.map} +1 -1
  134. package/dist/components/{p-Dz0oFayF.js → p-BcACknwC.js} +3 -3
  135. package/dist/components/{p-Dz0oFayF.js.map → p-BcACknwC.js.map} +1 -1
  136. package/dist/components/{p-BUzthIe4.js → p-BgJXDL3C.js} +4 -4
  137. package/dist/components/{p-BUzthIe4.js.map → p-BgJXDL3C.js.map} +1 -1
  138. package/dist/components/{p-BLxHSHLQ.js → p-BhGgkUHX.js} +9 -9
  139. package/dist/components/{p-BLxHSHLQ.js.map → p-BhGgkUHX.js.map} +1 -1
  140. package/dist/components/{p-CWCxhtvB.js → p-Bo-Xwwck.js} +3 -3
  141. package/dist/components/{p-CWCxhtvB.js.map → p-Bo-Xwwck.js.map} +1 -1
  142. package/dist/components/{p-BjTLGpAE.js → p-CAvUntoE.js} +3 -3
  143. package/dist/components/{p-BjTLGpAE.js.map → p-CAvUntoE.js.map} +1 -1
  144. package/dist/components/{p-BmKAfzS1.js → p-CIRFeGiK.js} +4 -4
  145. package/dist/components/{p-BmKAfzS1.js.map → p-CIRFeGiK.js.map} +1 -1
  146. package/dist/components/{p-BSj-tpQq.js → p-CNltO4r4.js} +3 -3
  147. package/dist/components/{p-BSj-tpQq.js.map → p-CNltO4r4.js.map} +1 -1
  148. package/dist/components/{p-eYUo2y4S.js → p-CTnp6dis.js} +3 -3
  149. package/dist/components/{p-eYUo2y4S.js.map → p-CTnp6dis.js.map} +1 -1
  150. package/dist/components/{p-Ds7nOoc6.js → p-CxnaGgdE.js} +4 -4
  151. package/dist/components/{p-Ds7nOoc6.js.map → p-CxnaGgdE.js.map} +1 -1
  152. package/dist/components/{p-9JVCnNTP.js → p-CxqxhAvr.js} +9 -9
  153. package/dist/components/{p-9JVCnNTP.js.map → p-CxqxhAvr.js.map} +1 -1
  154. package/dist/components/{p-CZtgzkyN.js → p-D3_de0mE.js} +5 -5
  155. package/dist/components/{p-CZtgzkyN.js.map → p-D3_de0mE.js.map} +1 -1
  156. package/dist/components/{p-BGEnz8kT.js → p-DMEUWkT_.js} +4 -4
  157. package/dist/components/{p-BGEnz8kT.js.map → p-DMEUWkT_.js.map} +1 -1
  158. package/dist/components/{p-B45k5qcT.js → p-DfIVofh6.js} +8 -8
  159. package/dist/components/{p-B45k5qcT.js.map → p-DfIVofh6.js.map} +1 -1
  160. package/dist/components/{p-DdIXD8-k.js → p-DhG7TpID.js} +4 -4
  161. package/dist/components/{p-DdIXD8-k.js.map → p-DhG7TpID.js.map} +1 -1
  162. package/dist/components/{p-DkFi_kvY.js → p-Dm0-xcDY.js} +3 -3
  163. package/dist/components/{p-DkFi_kvY.js.map → p-Dm0-xcDY.js.map} +1 -1
  164. package/dist/components/{p-CiEFZmoS.js → p-DsIKgAR0.js} +5 -5
  165. package/dist/components/{p-CiEFZmoS.js.map → p-DsIKgAR0.js.map} +1 -1
  166. package/dist/components/{p-x2Yo8WX0.js → p-KJBdEv0f.js} +4 -4
  167. package/dist/components/{p-x2Yo8WX0.js.map → p-KJBdEv0f.js.map} +1 -1
  168. package/dist/components/{p-YP9DgWmd.js → p-Sm9opSEV.js} +7 -5
  169. package/dist/components/p-Sm9opSEV.js.map +1 -0
  170. package/dist/components/{p-CZNONZKe.js → p-UWDjUTiS.js} +3 -3
  171. package/dist/components/{p-CZNONZKe.js.map → p-UWDjUTiS.js.map} +1 -1
  172. package/dist/components/{p-C5FpvsF3.js → p-YCPqEpsQ.js} +5 -5
  173. package/dist/components/{p-C5FpvsF3.js.map → p-YCPqEpsQ.js.map} +1 -1
  174. package/dist/components/p-accordion.js +2 -2
  175. package/dist/components/p-attachment.js +9 -9
  176. package/dist/components/p-button-group.js +1 -1
  177. package/dist/components/p-calendar.js +1 -1
  178. package/dist/components/p-card-header.js +1 -1
  179. package/dist/components/p-content-slider.js +2 -2
  180. package/dist/components/p-cropper.js +2 -2
  181. package/dist/components/p-datepicker.js +8 -8
  182. package/dist/components/{p-DK0zQotI.js → p-dkS0x_Ct.js} +3 -3
  183. package/dist/components/{p-DK0zQotI.js.map → p-dkS0x_Ct.js.map} +1 -1
  184. package/dist/components/p-drawer-container.js +1 -1
  185. package/dist/components/p-drawer-header.js +1 -1
  186. package/dist/components/p-drawer.js +3 -3
  187. package/dist/components/p-dropdown.js +1 -1
  188. package/dist/components/{p-CLNMMTTp.js → p-dw4ui28s.js} +3 -3
  189. package/dist/components/{p-CLNMMTTp.js.map → p-dw4ui28s.js.map} +1 -1
  190. package/dist/components/p-empty-state.js +1 -1
  191. package/dist/components/p-field-container.js +1 -1
  192. package/dist/components/p-field.js +1 -1
  193. package/dist/components/{p-CgOTs2ii.js → p-fj2a3CsK.js} +4 -4
  194. package/dist/components/{p-CgOTs2ii.js.map → p-fj2a3CsK.js.map} +1 -1
  195. package/dist/components/p-helper.js +1 -1
  196. package/dist/components/p-label.js +3 -3
  197. package/dist/components/p-listing.js +2 -2
  198. package/dist/components/p-modal-container.js +1 -1
  199. package/dist/components/p-modal-footer.js +1 -1
  200. package/dist/components/p-modal-header.js +1 -1
  201. package/dist/components/p-modal.js +4 -4
  202. package/dist/components/p-navbar.js +1 -1
  203. package/dist/components/p-navigation-item.js +3 -3
  204. package/dist/components/p-navigation-section.js +2 -2
  205. package/dist/components/p-navigation-title.js +1 -1
  206. package/dist/components/p-pagination-pages-item.js +1 -1
  207. package/dist/components/p-pagination-pages.js +1 -1
  208. package/dist/components/p-pagination-size.js +1 -1
  209. package/dist/components/p-pagination.js +1 -1
  210. package/dist/components/p-profile.js +2 -2
  211. package/dist/components/p-radio.js +3 -3
  212. package/dist/components/p-range.js +1 -1
  213. package/dist/components/p-segment-container.js +1 -1
  214. package/dist/components/p-segment-item.js +1 -1
  215. package/dist/components/p-select.js +7 -7
  216. package/dist/components/p-smile.js +1 -1
  217. package/dist/components/p-stepper-item.js +1 -1
  218. package/dist/components/p-stepper-line.js +1 -1
  219. package/dist/components/p-stepper.js +2 -2
  220. package/dist/components/p-tab-container.js +1 -1
  221. package/dist/components/p-tab-item.js +1 -1
  222. package/dist/components/p-table-cell.js +1 -1
  223. package/dist/components/p-table-container.js +1 -1
  224. package/dist/components/p-table-footer.js +1 -1
  225. package/dist/components/p-table-header.js +1 -1
  226. package/dist/components/p-table-row-actions-container.js +1 -1
  227. package/dist/components/p-table-row.js +1 -1
  228. package/dist/components/p-table.js +18 -18
  229. package/dist/components/p-toast-container.js +2 -2
  230. package/dist/components/p-toast.js +1 -1
  231. package/dist/components/p-toggle.js +3 -3
  232. package/dist/components/p-tooltip.js +1 -1
  233. package/dist/components/{p-75pOVPMC.js → p-u6Gu9isj.js} +6 -6
  234. package/dist/components/{p-75pOVPMC.js.map → p-u6Gu9isj.js.map} +1 -1
  235. package/dist/components/{p-BoYFd16u.js → p-z31Hnx0b.js} +6 -6
  236. package/dist/components/{p-BoYFd16u.js.map → p-z31Hnx0b.js.map} +1 -1
  237. package/dist/esm/p-accordion.entry.js +2 -2
  238. package/dist/esm/p-attachment.entry.js +6 -6
  239. package/dist/esm/p-badge_3.entry.js +3 -3
  240. package/dist/esm/p-button-group.entry.js +1 -1
  241. package/dist/esm/p-calendar.entry.js +1 -1
  242. package/dist/esm/p-checkbox_4.entry.js +2 -2
  243. package/dist/esm/p-content-slider.entry.js +2 -2
  244. package/dist/esm/p-cropper.entry.js +1 -1
  245. package/dist/esm/p-datepicker.entry.js +2 -2
  246. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  247. package/dist/esm/p-drawer-body_3.entry.js +4 -4
  248. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  249. package/dist/esm/p-empty-state_8.entry.js +12 -12
  250. package/dist/esm/p-field_2.entry.js +4 -4
  251. package/dist/esm/p-helper_2.entry.js +2 -2
  252. package/dist/esm/p-label.entry.js +3 -3
  253. package/dist/esm/p-listing.entry.js +2 -2
  254. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  255. package/dist/esm/p-modal-body_4.entry.js +6 -5
  256. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  257. package/dist/esm/p-navbar.entry.js +1 -1
  258. package/dist/esm/p-navigation-item.entry.js +3 -3
  259. package/dist/esm/p-navigation-section.entry.js +1 -1
  260. package/dist/esm/p-navigation-title.entry.js +1 -1
  261. package/dist/esm/p-pagination-pages-item.entry.js +2 -2
  262. package/dist/esm/p-pagination_3.entry.js +4 -4
  263. package/dist/esm/p-profile.entry.js +1 -1
  264. package/dist/esm/p-radio.entry.js +3 -3
  265. package/dist/esm/p-range.entry.js +3 -3
  266. package/dist/esm/p-select.entry.js +2 -2
  267. package/dist/esm/p-smile.entry.js +1 -1
  268. package/dist/esm/p-stepper-item_2.entry.js +5 -5
  269. package/dist/esm/p-tab-container.entry.js +1 -1
  270. package/dist/esm/p-tab-item.entry.js +1 -1
  271. package/dist/esm/p-toast-container.entry.js +2 -2
  272. package/dist/esm/p-toast.entry.js +1 -1
  273. package/dist/esm/p-toggle.entry.js +3 -3
  274. package/dist/index.html +1 -1
  275. package/dist/paperless/{p-f176e285.entry.js → p-0762dca2.entry.js} +2 -2
  276. package/dist/paperless/{p-2c28248e.entry.js → p-13549fce.entry.js} +2 -2
  277. package/dist/paperless/{p-598fae40.entry.js → p-168e8d5c.entry.js} +2 -2
  278. package/dist/{build/p-4bf20920.entry.js → paperless/p-20f0202a.entry.js} +2 -2
  279. package/dist/paperless/{p-a95d48a3.entry.js → p-23121a9f.entry.js} +2 -2
  280. package/dist/paperless/{p-9fc838be.entry.js → p-250aa3a6.entry.js} +2 -2
  281. package/dist/paperless/{p-c6738a74.entry.js → p-4e64a8b0.entry.js} +2 -2
  282. package/dist/paperless/p-4f61059d.entry.js +2 -0
  283. package/dist/paperless/p-4f61059d.entry.js.map +1 -0
  284. package/dist/paperless/{p-8fb06c75.entry.js → p-54ab52ba.entry.js} +2 -2
  285. package/dist/paperless/{p-12ceb286.entry.js → p-5fd4c545.entry.js} +2 -2
  286. package/dist/{build/p-a5ee88a9.entry.js → paperless/p-60ce5cb1.entry.js} +2 -2
  287. package/dist/paperless/{p-52cd6c94.entry.js → p-6604ead1.entry.js} +2 -2
  288. package/dist/paperless/{p-06a613af.entry.js → p-6b1995b5.entry.js} +2 -2
  289. package/dist/paperless/{p-b95d6845.entry.js → p-6bb570c5.entry.js} +2 -2
  290. package/dist/{build/p-d4595315.entry.js → paperless/p-75cb9a59.entry.js} +2 -2
  291. package/dist/paperless/{p-9ccfddf3.entry.js → p-77ea8989.entry.js} +2 -2
  292. package/dist/paperless/{p-7cb05993.entry.js → p-7d4ba7b3.entry.js} +2 -2
  293. package/dist/paperless/{p-3e5feb89.entry.js → p-80f058e5.entry.js} +2 -2
  294. package/dist/paperless/{p-e350dc79.entry.js → p-8dd6fba3.entry.js} +2 -2
  295. package/dist/{build/p-eacbe5ed.entry.js → paperless/p-95d812ef.entry.js} +2 -2
  296. package/dist/paperless/p-b03f7821.entry.js +2 -0
  297. package/dist/{build/p-7300fdce.entry.js → paperless/p-b2441c2e.entry.js} +2 -2
  298. package/dist/{build/p-62bb5a15.entry.js → paperless/p-b6db4300.entry.js} +2 -2
  299. package/dist/paperless/{p-7625a9fe.entry.js → p-bf24b57e.entry.js} +2 -2
  300. package/dist/paperless/{p-621c658d.entry.js → p-bf91728e.entry.js} +2 -2
  301. package/dist/{build/p-6fc33855.entry.js → paperless/p-bfaf3040.entry.js} +2 -2
  302. package/dist/paperless/p-c5ba396d.entry.js +2 -0
  303. package/dist/paperless/{p-e044afe0.entry.js.map → p-c5ba396d.entry.js.map} +1 -1
  304. package/dist/paperless/{p-d7f2601b.entry.js → p-caf60b01.entry.js} +2 -2
  305. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  306. package/dist/paperless/p-e35dde73.entry.js +2 -0
  307. package/dist/paperless/p-e35dde73.entry.js.map +1 -0
  308. package/dist/paperless/{p-198d3d33.entry.js → p-e8d09f71.entry.js} +2 -2
  309. package/dist/{build/p-630b821d.entry.js → paperless/p-ee8f4311.entry.js} +2 -2
  310. package/dist/paperless/{p-aa03a9b1.entry.js → p-f56afec1.entry.js} +2 -2
  311. package/dist/{build/p-09fbb0bb.entry.js → paperless/p-ff0dee5d.entry.js} +2 -2
  312. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  313. package/dist/paperless/paperless.esm.js +1 -1
  314. package/dist/sw.js +1 -1
  315. package/dist/sw.js.map +1 -1
  316. package/package.json +1 -1
  317. package/dist/build/p-54585b1b.entry.js +0 -2
  318. package/dist/build/p-54585b1b.entry.js.map +0 -1
  319. package/dist/build/p-da90df50.entry.js +0 -2
  320. package/dist/build/p-e044afe0.entry.js +0 -2
  321. package/dist/build/p-f01e56a4.entry.js +0 -2
  322. package/dist/build/p-f01e56a4.entry.js.map +0 -1
  323. package/dist/components/p-YP9DgWmd.js.map +0 -1
  324. package/dist/paperless/p-54585b1b.entry.js +0 -2
  325. package/dist/paperless/p-54585b1b.entry.js.map +0 -1
  326. package/dist/paperless/p-da90df50.entry.js +0 -2
  327. package/dist/paperless/p-e044afe0.entry.js +0 -2
  328. package/dist/paperless/p-f01e56a4.entry.js +0 -2
  329. package/dist/paperless/p-f01e56a4.entry.js.map +0 -1
  330. /package/dist/build/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
  331. /package/dist/build/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
  332. /package/dist/build/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
  333. /package/dist/build/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
  334. /package/dist/build/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
  335. /package/dist/build/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
  336. /package/dist/build/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
  337. /package/dist/build/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
  338. /package/dist/build/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
  339. /package/dist/build/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
  340. /package/dist/build/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
  341. /package/dist/build/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
  342. /package/dist/build/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
  343. /package/dist/build/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
  344. /package/dist/build/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
  345. /package/dist/build/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
  346. /package/dist/build/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
  347. /package/dist/build/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
  348. /package/dist/build/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
  349. /package/dist/build/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
  350. /package/dist/build/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
  351. /package/dist/build/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
  352. /package/dist/build/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
  353. /package/dist/build/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
  354. /package/dist/build/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
  355. /package/dist/build/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
  356. /package/dist/build/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
  357. /package/dist/build/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
  358. /package/dist/build/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
  359. /package/dist/build/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
  360. /package/dist/paperless/{p-f176e285.entry.js.map → p-0762dca2.entry.js.map} +0 -0
  361. /package/dist/paperless/{p-2c28248e.entry.js.map → p-13549fce.entry.js.map} +0 -0
  362. /package/dist/paperless/{p-598fae40.entry.js.map → p-168e8d5c.entry.js.map} +0 -0
  363. /package/dist/paperless/{p-4bf20920.entry.js.map → p-20f0202a.entry.js.map} +0 -0
  364. /package/dist/paperless/{p-a95d48a3.entry.js.map → p-23121a9f.entry.js.map} +0 -0
  365. /package/dist/paperless/{p-9fc838be.entry.js.map → p-250aa3a6.entry.js.map} +0 -0
  366. /package/dist/paperless/{p-c6738a74.entry.js.map → p-4e64a8b0.entry.js.map} +0 -0
  367. /package/dist/paperless/{p-8fb06c75.entry.js.map → p-54ab52ba.entry.js.map} +0 -0
  368. /package/dist/paperless/{p-12ceb286.entry.js.map → p-5fd4c545.entry.js.map} +0 -0
  369. /package/dist/paperless/{p-a5ee88a9.entry.js.map → p-60ce5cb1.entry.js.map} +0 -0
  370. /package/dist/paperless/{p-52cd6c94.entry.js.map → p-6604ead1.entry.js.map} +0 -0
  371. /package/dist/paperless/{p-06a613af.entry.js.map → p-6b1995b5.entry.js.map} +0 -0
  372. /package/dist/paperless/{p-b95d6845.entry.js.map → p-6bb570c5.entry.js.map} +0 -0
  373. /package/dist/paperless/{p-d4595315.entry.js.map → p-75cb9a59.entry.js.map} +0 -0
  374. /package/dist/paperless/{p-9ccfddf3.entry.js.map → p-77ea8989.entry.js.map} +0 -0
  375. /package/dist/paperless/{p-7cb05993.entry.js.map → p-7d4ba7b3.entry.js.map} +0 -0
  376. /package/dist/paperless/{p-3e5feb89.entry.js.map → p-80f058e5.entry.js.map} +0 -0
  377. /package/dist/paperless/{p-e350dc79.entry.js.map → p-8dd6fba3.entry.js.map} +0 -0
  378. /package/dist/paperless/{p-eacbe5ed.entry.js.map → p-95d812ef.entry.js.map} +0 -0
  379. /package/dist/paperless/{p-da90df50.entry.js.map → p-b03f7821.entry.js.map} +0 -0
  380. /package/dist/paperless/{p-7300fdce.entry.js.map → p-b2441c2e.entry.js.map} +0 -0
  381. /package/dist/paperless/{p-62bb5a15.entry.js.map → p-b6db4300.entry.js.map} +0 -0
  382. /package/dist/paperless/{p-7625a9fe.entry.js.map → p-bf24b57e.entry.js.map} +0 -0
  383. /package/dist/paperless/{p-621c658d.entry.js.map → p-bf91728e.entry.js.map} +0 -0
  384. /package/dist/paperless/{p-6fc33855.entry.js.map → p-bfaf3040.entry.js.map} +0 -0
  385. /package/dist/paperless/{p-d7f2601b.entry.js.map → p-caf60b01.entry.js.map} +0 -0
  386. /package/dist/paperless/{p-198d3d33.entry.js.map → p-e8d09f71.entry.js.map} +0 -0
  387. /package/dist/paperless/{p-630b821d.entry.js.map → p-ee8f4311.entry.js.map} +0 -0
  388. /package/dist/paperless/{p-aa03a9b1.entry.js.map → p-f56afec1.entry.js.map} +0 -0
  389. /package/dist/paperless/{p-09fbb0bb.entry.js.map → p-ff0dee5d.entry.js.map} +0 -0
@@ -27,10 +27,10 @@ export class Accordion {
27
27
  */
28
28
  isOpen;
29
29
  render() {
30
- return (h(ThemedHost, { key: '0d4727e14d3ac0003eb92ed1fef2b5c3550b5b1e' }, h("div", { key: '64d6399372ba32e67835650ccff6c77932ac6948', class: cn('flex cursor-pointer items-center gap-2', {
30
+ return (h(ThemedHost, { key: '12fbff336768433948b9d384528d595808295fb9' }, h("div", { key: 'd49e477d32da230a91eda03f8d4ba2e56bf3daed', class: cn('flex cursor-pointer items-center gap-2', {
31
31
  'text-storm-500 dark:text-white': this.variant === 'primary',
32
32
  'text-storm-300 dark:text-hurricane-200': this.variant === 'secondary',
33
- }), onClick: () => this._onClick() }, h("p-icon", { key: 'cdd5eb390ba766d29aceace7e6d8d48925d9cbdb', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: '5346b36f85cf39cbce85f83fd4017a45f0e7c7a9', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: '43fd7b8f63c7c642d994f48bbf196335df16450b', class: 'flex-1' })), this.open && (h("div", { key: 'd1cd1854c8014d772decbb06522f98775a7ba3cf', class: 'mt-4' }, h("slot", { key: '863e6f867dc6f8f2db1a774fd39e1e70b64222a2' })))));
33
+ }), onClick: () => this._onClick() }, h("p-icon", { key: '145e3327d49ae7b660175ca886b2248aba1c8054', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'ac26cc99a24c03c9dba432f737616bcfcab7b313', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: 'f99a5a61e0f1d8d06e4adcd1fad6860607162185', class: 'flex-1' })), this.open && (h("div", { key: '1ea4d6ab9fb6991971c460b452b7d95a19f56b36', class: 'mt-4' }, h("slot", { key: 'f126b1599886ccc3a6db40c15a2c8874bc62b012' })))));
34
34
  }
35
35
  _onClick() {
36
36
  if (!this.closeable && this.open) {
@@ -95,21 +95,21 @@ export class Attachment {
95
95
  _fileRef;
96
96
  _cameraFileRef;
97
97
  render() {
98
- let prefix = (h("p-icon", { key: 'e3041d87911b3ef89be9ae6dd57d9ad51b4b6ba3', class: 'text-storm-300', variant: 'attachment' }));
98
+ let prefix = (h("p-icon", { key: 'be618d8484432870e28ebc0cb053644364f6a428', class: 'text-storm-300', variant: 'attachment' }));
99
99
  if (this.error) {
100
- prefix = (h("p-icon", { key: '8cd0ea7fd1848a8f9d3ee96d42b4ecdb5f4ed27b', variant: 'warning', class: 'text-negative-red-500' }));
100
+ prefix = (h("p-icon", { key: 'd937e55a4039f62d6dc0b7975197e6951b5b9a4d', variant: 'warning', class: 'text-negative-red-500' }));
101
101
  }
102
102
  // const isMobileDevice = isMobile();
103
103
  const isMobileDevice = isTablet();
104
104
  const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
105
- return (h(Fragment, { key: 'a5e44898b46871afa963d7e0f18d915394bddd40' }, h("p-field-container", { key: '310c1d8f8ef45b99eeed799593712a9f3dbce009', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: '2032dd135e492b7ea868f7c32e0cf6ca6b3b960a', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: '9455fb465e6a71680cd2910c8b3c19b28f7bec0e', class: attachment({
105
+ return (h(Fragment, { key: 'ae4592f8c9586b0322cdea7b15667900d0a5a2b0' }, h("p-field-container", { key: '5ceb544db8a82a57ec10d002e448ea9f8e726032', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: '2f37933fa6d1a930ddb07e5ceb716ec04cbff2e1', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: 'f116650d2975cea68050315fcfc25776c1f2e1f7', class: attachment({
106
106
  click: this.mode === 'write' && !this.value?.length,
107
107
  error: !!this.error?.length,
108
- }), onClick: () => this._uploadClick() }, prefix, h("span", { key: '2ddab39315ea1006fbc0cebc98f38fefdef8a178', class: cn(baseText, 'peer empty:hidden dark:text-white') }, this.value), h("span", { key: '1cc5632998dbbdaf1c389af86a7ee001547dd93a', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '337fbce2b16a1a73f21fceceb28403ac545e3e10', class: 'w-8', content: this.mode === 'read'
108
+ }), onClick: () => this._uploadClick() }, prefix, h("span", { key: '0ec0b9971d7ba20cf682a60816307787503da946', class: cn(baseText, 'peer empty:hidden dark:text-white') }, this.value), h("span", { key: '2b754f7101e71e4fb3466806beedd3bd230f8740', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: 'd5079acda601bee27379f4607ef23232ff744f9f', class: 'w-8', content: this.mode === 'read'
109
109
  ? this.downloadTooltip
110
110
  : this.value?.length
111
111
  ? this.deleteTooltip
112
- : this.uploadTooltip }, h("p-button", { key: '6b6771622ae63afb048494ff702bdf2d4bf8bb23', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
112
+ : this.uploadTooltip }, h("p-button", { key: 'dd17172a5e921a11517bfbbd0eec2ad49afbc4cf', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
113
113
  ? 'download'
114
114
  : this.value?.length
115
115
  ? 'trash'
@@ -120,7 +120,7 @@ export class Attachment {
120
120
  : this.delete).emit() })), this.enableCameraOnMobile &&
121
121
  this.mode === 'write' &&
122
122
  isMobileDevice &&
123
- !this.value?.length && (h("p-tooltip", { key: '242226f8304108a78a2df043cce33aa039da8691', content: this.cameraTooltip, class: 'w-8 desktop-xs:hidden' }, h("p-button", { key: 'd2438f478b6f724007b5d412ab00594fda47c980', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: '9b39b1a1e8f30e1f0f6c07fc99c1449465ff0d65', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: 'a844a95a4c34fcae3c76c92d06fc08aa91685e54', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
123
+ !this.value?.length && (h("p-tooltip", { key: '66e1a9bae5041f09d626073a4bcbfad55ef3c2af', content: this.cameraTooltip, class: 'w-8 desktop-xs:hidden' }, h("p-button", { key: '7b9f10d744bb26885fdaaaba3d66be83228053ad', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: '1b36e1332831dfc11fba2c1d0f1b46e9bbf7584e', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: 'cb4d507633be0ed55ba5f135952b049aa347efe0', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
124
124
  }
125
125
  _uploadClick() {
126
126
  if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
@@ -12,7 +12,7 @@ export class ButtonGroup {
12
12
  this._checkButtons();
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: 'b9b4580c83a470f5757610dda8916bdc1b3ed5f5', class: 'flex items-center' }, h("slot", { key: '50790e114cf09dbc97225ce55b4237d0c7e99f21' })));
15
+ return (h(Host, { key: 'a1da21729b15d719031ff57ea9fb4b7b51c18bfb', class: 'flex items-center' }, h("slot", { key: 'a797445c7c70a66a75a6946423419b49625aa5e4' })));
16
16
  }
17
17
  slotchange() {
18
18
  this._checkButtons();
@@ -182,7 +182,7 @@ export class Calendar {
182
182
  }
183
183
  }
184
184
  render() {
185
- return (h(ThemedHost, { key: '3e8f512cbdb7d44b80f80d70c5c7d4b1c0933942' }, h("div", { key: '34bca740dbd0e3df43899a7ba1c745dd0e121e83', class: calendar({ variant: this.variant }) }, this._getView())));
185
+ return (h(ThemedHost, { key: '096ab769bc6d1df1481f412ab64047d75682aced' }, h("div", { key: '48f95e63542d93fb5ba7ca6c276280adca0d9e87', class: calendar({ variant: this.variant }) }, this._getView())));
186
186
  }
187
187
  _checkTodayButton() {
188
188
  if (this._maxDate && isAfter(this._today, this._maxDate)) {
@@ -47,9 +47,9 @@ export class ContentSlider {
47
47
  }
48
48
  }
49
49
  render() {
50
- return (h(Host, { key: 'f0049b9064462d362bda18bb1134e2457f8cbf35', class: 'p-content-slider' }, h("div", { key: '3e1e018f5b0c5e2966cc8b556f640b1c71d0c36e', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
50
+ return (h(Host, { key: '3082a3d1c0416b593e3a3d158d9eb076113f042f', class: 'p-content-slider' }, h("div", { key: '48e1f7e9e22fc71775354a47b960055ea050635e', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
51
51
  height: `${this._outerHeight}px`,
52
- }, ref: el => (this._sliderRef = el), onMouseDown: e => this._mouseDownHandler(e), onTouchStart: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e) }, h("div", { key: '4ed7e07800e19bb2abde082c08b51f188122af08', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '0f86e7c0590f21b6ff65da06c011e39acaa2ed36', onSlotchange: () => this._slotChange() }))), h("div", { key: 'd9211a164fa4bb149db55cde4c1f62a8bd597159', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._filteredItems.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block h-2 w-2 rounded-full', {
52
+ }, ref: el => (this._sliderRef = el), onMouseDown: e => this._mouseDownHandler(e), onTouchStart: e => this._mouseDownHandler(e), onMouseMove: e => this._mouseMoveHandler(e), onTouchMove: e => this._mouseMoveHandler(e) }, h("div", { key: 'e1a0dcc1c1ef51c96549ad06f446290c8a927766', class: 'inner-slider', ref: ref => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: 'a291e9568a8c1bfd1a717b2c7a1acaaa65801abe', onSlotchange: () => this._slotChange() }))), h("div", { key: '5092b037cf36ced7b7a49cbc38aebe62028ba841', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._filteredItems.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block h-2 w-2 rounded-full', {
53
53
  'bg-indigo-600': i === this._visibleIndex,
54
54
  'bg-indigo-300': i !== this._visibleIndex,
55
55
  }) })))))));
@@ -41,7 +41,7 @@ export class Cropper {
41
41
  const themeColor = state.theme === 'dark'
42
42
  ? 'rgba(70, 75, 84, 0.5)'
43
43
  : 'rgba(255, 255, 255, 0.5)';
44
- return (h(ThemedHost, { key: 'ae4281b414955bb53ea4042ec2050b65c5fef056' }, this._loaded && (h("cropper-canvas", { key: 'c8becb46481827657e07f9bd960f72c1f8d82498', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700 bg-white dark:border-hurricane-200', onAction: () => this._onAction() }, h("cropper-image", { key: '104e1a53a5f3593e20275678d20555b30c3be4d7', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, translatable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '14548d6b2aab143d94ce6358765bd6fb67005c90', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '7549481bbaf624aee354f37331ef3e015e44c4c0', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '6f126629472478eea2f546a625b27f49bea55915', action: 'move', plain: true }))), h("p-range", { key: '9792a42b439310835a5fe88f68b6b8425cb21878', class: 'w-full px-14 tablet:max-w-xs tablet:px-1', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
44
+ return (h(ThemedHost, { key: '8de79414d99c04fce4f0c7b640bed695e4cc5853' }, this._loaded && (h("cropper-canvas", { key: '1180efdfdae579c524e03c6d5318d98a8882554f', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700 bg-white dark:border-hurricane-200', onAction: () => this._onAction() }, h("cropper-image", { key: '27f2096a8780043674bfcedbc80124d7a7616874', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, translatable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '9f8680d14c514aded609bf4b3fc15ca2f958fc32', class: 'aspect-branding rounded-full', "theme-color": themeColor, hidden: true }), h("cropper-selection", { key: '101c1b6e1856da2900416d169820cc24d4ac03d6', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '17db2d8220c79692a96adee92c73f2e11b6a5f46', action: 'move', plain: true }))), h("p-range", { key: 'e29991c21cb4034b4fcc47c4bbf7b8f6a1e1567d', class: 'w-full px-14 tablet:max-w-xs tablet:px-1', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
45
45
  }
46
46
  _setImageRef(ref) {
47
47
  if (this._imageRef) {
@@ -204,7 +204,7 @@ export class Datepicker {
204
204
  this.parseValue(this.value);
205
205
  }
206
206
  render() {
207
- return (h("p-dropdown", { key: 'dcc984f2f94249b1b999b5642e076b1502a67ea7', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '5b359fd4a928da0a0b373c7e5d3823196bf93b02', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, autoShowError: false, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '1273bd273cb7590e1f4a5eca7e5dd730180993c4', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value &&
207
+ return (h("p-dropdown", { key: '4400ed720e3b79d14c9c0f7a778ebad8594bc600', allowOverflow: true, strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '667d56425f4a91e036345ec4a960bd56f437e775', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), showOptional: asBoolean(this.showOptional), error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown, autoShowError: false, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '6741f5b236b64eddd4a8e6cc35532cb310590722', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'pointer-events-none absolute left-0 top-0 z-[-10] overflow-hidden opacity-0', onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value &&
208
208
  format(this._value, 'yyyy-MM-dd', {
209
209
  locale: state.locale === 'nl' ? nl : enUS,
210
210
  }), min: this.minDate &&
@@ -213,7 +213,7 @@ export class Datepicker {
213
213
  }), max: this.maxDate &&
214
214
  format(new Date(this.maxDate), 'yyyy-MM-dd', {
215
215
  locale: state.locale === 'nl' ? nl : enUS,
216
- }) })), h("div", { key: 'a5ea49580d178d2e3514b57acc53b2d498dc059e', slot: 'items' }, h("p-calendar", { key: '15e87133e58e7cf209a03c4a2eb18c235a1f3742', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, enableToday: this.enableToday, todayText: this.todayText, mode: this.mode }))));
216
+ }) })), h("div", { key: '21bb536f91293aeb7bf9575bb4eb357bf89d0b1d', slot: 'items' }, h("p-calendar", { key: 'db5798f487ba8a1cdaf1826f30dcc36a9d292fb8', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, enableToday: this.enableToday, todayText: this.todayText, mode: this.mode }))));
217
217
  }
218
218
  documentClickHandler({ target }) {
219
219
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -115,11 +115,11 @@ export class Dropdown {
115
115
  this._checkItems();
116
116
  }
117
117
  render() {
118
- return (h(Host, { key: 'ed870d44153eab4d7b3dbb6e3e424aa459d39acf', class: 'relative' }, h("div", { key: '4966a1141bbb0c52ea0cce7a3d4fe4993f60c953', class: 'trigger', onClick: () => this._triggerClickHandler() }, h("slot", { key: 'd782fc6e0ed8c575d56cf1e170c88ad5ce384713', name: 'trigger' })), h("div", { key: '72a3c18133657d18c98ebcdad2f376aa1d1f493f', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: 'f573b7446cb5fec75e31fc1659a7c44165f74ed8', variant: this.variant, maxWidth: this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, class: dropdownContainerClass({
118
+ return (h(Host, { key: '9e793781c686849fbb772f61204aa04b997a5140', class: 'relative' }, h("div", { key: 'f282f409c2a302995f294bb7ba09d9dbaae56631', class: 'trigger', onClick: () => this._triggerClickHandler() }, h("slot", { key: '3f8a29f23d515c923a32273a79ecca589f9b094c', name: 'trigger' })), h("div", { key: '9401e7ce9b0683b1431ac3a39b6d6cc5c94f1236', class: 'relative w-full' }, h("p-dropdown-menu-container", { key: '21d44fc86648a7e8b027ce5b7730ce0f56d1b790', variant: this.variant, maxWidth: this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, class: dropdownContainerClass({
119
119
  strategy: this.strategy,
120
120
  maxWidth: this.applyMaxWidth,
121
121
  fullWidth: this.applyFullWidth && !this.applyMaxWidth,
122
- }), ref: el => this._load(el), onClick: () => this._containerClickHandler(), role: 'popover', "data-placement": this.placement, "data-strategy": this.strategy }, h("slot", { key: 'cf458650189cc97441506649cc5dbb3cad9b2304', name: 'items' })))));
122
+ }), ref: el => this._load(el), onClick: () => this._containerClickHandler(), role: 'popover', "data-placement": this.placement, "data-strategy": this.strategy }, h("slot", { key: '66b5da85c37a9b91fc5aaabed34c6b4731bb358a', name: 'items' })))));
123
123
  }
124
124
  _checkButtons(active = false) {
125
125
  if (!this.applyChevron) {
@@ -59,11 +59,11 @@ export class EmptyState {
59
59
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
60
60
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
61
61
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
62
- return (h(ThemedHost, { key: '2bdc6f6d1fe79fc5b4fbd34c911a1eaa96cd6257' }, h("div", { key: 'c4a6260f4557144ebdcbab77756084a916ebb520', class: emptyState({
62
+ return (h(ThemedHost, { key: 'a7178e18d2a830fa44b73825c8abf2940b29c40a' }, h("div", { key: 'dfde89ed956be692bd107ae2084422f35cb2991c', class: emptyState({
63
63
  enableAction: asBoolean(this.enableAction, true),
64
64
  }), onClick: ev => this.enableAction && !this.actionLoading
65
65
  ? this.action.emit(ev)
66
- : undefined }, this.illustration && (h("p-illustration", { key: 'd772c46da64905e75989c1d44e1337f557d8a85f', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500 dark:text-white' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300 dark:text-hurricane-200' }, this.content))), this.enableAction &&
66
+ : undefined }, this.illustration && (h("p-illustration", { key: '36f836019e28b73d1694b7268e24959ec90b1d3c', class: 'mb-8 text-5xl text-indigo-600', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-storm-500 dark:text-white' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm font-normal text-storm-300 dark:text-hurricane-200' }, this.content))), this.enableAction &&
67
67
  (hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, iconPosition: this.actionIconPosition, loading: this.actionLoading, variant: this.actionVariant }, this.actionText))))));
68
68
  }
69
69
  static get is() { return "p-empty-state"; }
@@ -325,8 +325,8 @@ export class Field {
325
325
  }
326
326
  render() {
327
327
  const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
328
- return (h(ThemedHost, { key: '8323b3130e6a4464a4d3162b34640f8a7cc94a9a' }, h("p-field-container", { key: '23df944a261bfcd4db83f51285f21d6f682cc94e', forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
329
- (!!this.error?.length && this.forceShowTooltip), id: id, label: this.label, align: this.align, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '6c413b9170a3d267b7e794a715a77c5817f80223', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: 'f5c7fc6f42efdfb8f3d68b0be140c8942fa5fdc9', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '4ea6ba9f4c40d9a27dd2f0dadddeb8740bb02445', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '895e0a71d3b27639b0b67acc0492c79a41c9d83b', name: 'error', slot: 'error' })), h("div", { key: '0caa5a2f5fd8229dc8602084a46062686d5dc031', class: field({
328
+ return (h(ThemedHost, { key: 'dafed84a3cebd3183f9e7750201e23c8a35e12b1' }, h("p-field-container", { key: '4bdd13136ac2f1761d5fa286f5c488a4e9763716', forceShowTooltip: (!!this.error?.length && !this._focused && this.autoShowError) ||
329
+ (!!this.error?.length && this.forceShowTooltip), id: id, label: this.label, align: this.align, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, showOptional: this.showOptional, variant: this.variant }, hasLabelSlot && (h("slot", { key: '66d128a4ffaa837b19125cfed07914706fad9306', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '70dad7a55744308710a39bbac389288903a05b14', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'b282396971c47f0f56e195f34c845267ed31b9a2', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '3d128969d9706b12e405fa685bb6f1be4d5eada9', name: 'error', slot: 'error' })), h("div", { key: '7a7377358c3f5e09381990acfd9a4393419885f5', class: field({
330
330
  error: !!this.error?.length,
331
331
  disabled: asBoolean(this.disabled),
332
332
  focused: asBoolean(this.focused) || this._focused,
@@ -337,7 +337,7 @@ export class Field {
337
337
  ? `${this.value}`
338
338
  : undefined, slot: 'content' }, (this.error?.length ||
339
339
  prefix ||
340
- (this.icon && this.iconPosition === 'start')) && (h("div", { key: '03c67459dc5b49d5a13df2e90504f9192cb23451', class: prefixAndSuffix({
340
+ (this.icon && this.iconPosition === 'start')) && (h("div", { key: 'f70ce94cc37be4edc3dcec1cbc072f2398779e91', class: prefixAndSuffix({
341
341
  variant: this.variant,
342
342
  error: !!this.error?.length,
343
343
  disabled: asBoolean(this.disabled),
@@ -347,7 +347,7 @@ export class Field {
347
347
  }), onClick: () => this._focusInput() }, (this.icon && this.iconPosition === 'start') ||
348
348
  this.error?.length ? (h("p-icon", { class: cn('flex', {
349
349
  'mt-1': this.variant === 'read' && this.size === 'base',
350
- }), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '12f1f01600ae1cf9a1987b2c79335f06631c34af', class: prefixAndSuffix({
350
+ }), variant: this.error?.length ? 'warning' : this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'd87ff3eafbf692f0276e597ed0e9cacfb5d89235', class: prefixAndSuffix({
351
351
  variant: this.variant,
352
352
  error: !!this.error?.length,
353
353
  disabled: asBoolean(this.disabled),
@@ -69,14 +69,14 @@ export class Label {
69
69
  */
70
70
  keepMobileContent = false;
71
71
  render() {
72
- return (h(ThemedHost, { key: '26b91701657358cc35850bbff513aca7c0eaa319' }, h("div", { key: 'd9a14bcef10db5757b208acbcd69b4395baf1860', class: label({
72
+ return (h(ThemedHost, { key: '81d0988d1395a9689894b923f703afc1b846e0d3' }, h("div", { key: 'a34233e4ef34f3a2709ca28715a967ae3466e4c2', class: label({
73
73
  variant: this.variant,
74
74
  iconOnly: this.iconOnly,
75
75
  keepMobileContent: this.keepMobileContent,
76
- }) }, this.icon && (h("p-icon", { key: '90d1a63ac83715e342efa44ce7333e8701709106', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: '6f35431029fbc1a73fce431b30645384d73c270a', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium', {
76
+ }) }, this.icon && (h("p-icon", { key: '65babdbf6313700725a485b078e4b66938f0cf07', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'de6cc8e7b553cfbf318018defd3c2e7b6a3d32bc', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium', {
77
77
  hidden: !this.keepMobileContent,
78
78
  'desktop-xs:block': !this.keepMobileContent,
79
- }) }, h("slot", { key: 'b4f2763e4b930f6327a48f5415d5af8d21e5c006' }))))));
79
+ }) }, h("slot", { key: '4982a62ed0b0178252315c543cad09ccc6a659c4' }))))));
80
80
  }
81
81
  static get is() { return "p-label"; }
82
82
  static get encapsulation() { return "shadow"; }
@@ -76,13 +76,13 @@ export class NavigationItem {
76
76
  render() {
77
77
  const TagType = this.as;
78
78
  const active = asBoolean(this.active) || this.class?.includes('active');
79
- return (h(ThemedHost, { key: '00fe55de2abc63e7d21eb25af9185a2218409fcf', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '9b604e531a822b7f83ade8b27f9905d5e32c38f3', class: navigationItem({
79
+ return (h(ThemedHost, { key: '2d29f70e6ec2ba062b2ce4f2757f705cfad3ae12', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '04332bd09399e88de1e58218c7de4e56357d0836', class: navigationItem({
80
80
  icon: !!this.icon,
81
81
  active,
82
- }), href: this.href, target: this.target }, h("div", { key: 'd0bfc8961060791efae455c6699e37156212c133', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: 'e2a337552737b6270fa2eb3470415ad99b6bde94', variant: this.icon })), h("span", { key: 'ad5a23c485a4f5175a94c7d9a189874dd5329107', class: cn({
82
+ }), href: this.href, target: this.target }, h("div", { key: '9c054d73cdbc086f385899cec281cd8b5cae4d5a', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '1d06647840b67887bbb43eb6dbc632fd79a1aca2', variant: this.icon })), h("span", { key: 'a83535b05b7635bf4a5401ce27591fc98829ffc1', class: cn({
83
83
  'has-counter': !!this.counter,
84
84
  'w-full': this.applyFullWidth,
85
- }) }, h("slot", { key: '919803097262d08996eaee98dc0db9559da3f497' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '823a97ddee0f9ffae8f782c3c097eea529d18939' }, this.counter)), !!this.loading && h("p-loader", { key: '5e534b6d7e06273330c94fd23d5b887faa592399', class: 'ml-auto' }))));
85
+ }) }, h("slot", { key: '5863363e5a23002347e28729d5919a8705b862e9' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '82b0eedf127b7b01237cff0833764c09ed612089' }, this.counter)), !!this.loading && h("p-loader", { key: 'd91a386bc9f56c02f06588a55af808a5a6888e59', class: 'ml-auto' }))));
86
86
  }
87
87
  static get is() { return "p-navigation-item"; }
88
88
  static get encapsulation() { return "scoped"; }
@@ -6,7 +6,7 @@ export class NavigationSection {
6
6
  */
7
7
  header;
8
8
  render() {
9
- return (h(ThemedHost, { key: 'f0d9d4b1f7b0e5073296f80b63d54289823298b0', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '13e029662fc3d222df838a5f907d8c4bf3d6ec34' }, this.header)), h("div", { key: 'f7cba24d9dba5e064ce3ee8feada8ce768ee4904', class: 'flex flex-col' }, h("slot", { key: 'b33f95d01a0bb8b57c3ffa6693499a641bccf413' }))));
9
+ return (h(ThemedHost, { key: '002ed7acb41410e679f8a58eb22a3abc8b558156', class: 'flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: 'c2cb70e21a2b546f90cb7e7562798e33f7b57563' }, this.header)), h("div", { key: '30c52779d5d2c810a0c088efa6d023b433d63095', class: 'flex flex-col' }, h("slot", { key: 'a757faba94597f2476c2a1166c10170c4ed2d6c1' }))));
10
10
  }
11
11
  static get is() { return "p-navigation-section"; }
12
12
  static get originalStyleUrls() {
@@ -40,7 +40,7 @@ export class PaginationPages {
40
40
  this._generate();
41
41
  }
42
42
  render() {
43
- return (h(ThemedHost, { key: '9fc6250a834947887a822426decfe9add0f61c63' }, h("div", { key: '2f325d83cd151044606bebeabde5d75847e81da4', class: pagination({
43
+ return (h(ThemedHost, { key: 'fac924cdf7545478c541427ebe8d888e19a01598' }, h("div", { key: '924356249ec8d6ba2ec4d215f122ce3d5f605a17', class: pagination({
44
44
  hidden: this.hideOnSinglePage && this._set?.length === 3,
45
45
  }) }, this._set?.map(p => {
46
46
  if (p.type === 'previous' || p.type === 'next') {
@@ -61,12 +61,12 @@ export class Pagination {
61
61
  _hasPaginationPages = true;
62
62
  render() {
63
63
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
64
- return (h(ThemedHost, { key: '1bb03df49f4d8b9950e0faf80cf9bf5c6570c46b' }, h("div", { key: '7e27be458d9f809605cbd51960d4a8643f55e4cb', class: pagination({
64
+ return (h(ThemedHost, { key: 'a559316eebf880454bea768eba343b67de16b5e7' }, h("div", { key: 'fbabe3134439dc52c661751a79039aecbbebe659', class: pagination({
65
65
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
66
66
  (!this.enablePaginationSize && !this.enablePaginationPages),
67
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '5848d599f02ecf5e270dda9be1c721183737f440' }, h("p-pagination-size", { key: '674215f91b9e729f76644cb60c3524fad2e112c9', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
67
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '2c862ee1c1c8ca70a26d040146f0da65d01d714a' }, h("p-pagination-size", { key: '1990fe2b9cbdc90846aacadbf4b73658c7a3064b', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
68
68
  this.hideOnSinglePage &&
69
- this._hasPaginationPages && (h("p-divider", { key: 'e04aaf8b673b854aea0e7b4bb46cbc735f673b1b', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700 dark:text-hurricane-400' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'a52004d9ec4abec9361dde638354c1da1562e054', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
69
+ this._hasPaginationPages && (h("p-divider", { key: '17b9ef49c977fa90555dd98b0697ef9e056aeb3e', variant: 'vertical', class: 'mx-0 h-4 text-off-white-700 dark:text-hurricane-400' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: '3b06eace9b53c2901e93d35c88ae41b6a04cb7ec', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
70
70
  this._hasPaginationPages = detail > 1;
71
71
  this.pagesChange.emit(detail);
72
72
  } })))));
@@ -28,7 +28,7 @@ export class Profile {
28
28
  }
29
29
  render() {
30
30
  const content = this._getContent();
31
- return (h(ThemedHost, { key: 'f862389b4c94d808c6d28830d3baa7a67c894f12' }, this._hasDropdownSlot ? (h("p-dropdown", { strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
31
+ return (h(ThemedHost, { key: '9856f8b723b8c4e764ae8176ad16d1dc2241b934' }, this._hasDropdownSlot ? (h("p-dropdown", { strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
32
32
  }
33
33
  slotchange() {
34
34
  this._checkDropdownSlot();
@@ -23,13 +23,13 @@ export class Range {
23
23
  valueChange;
24
24
  render() {
25
25
  const percentage = Math.round((this.value / (this.max - this.min)) * 100);
26
- return (h(ThemedHost, { key: '1943dd474ed5b2e781996a02ab368db8b809afa5' }, h("div", { key: '66a7180727d337fb1174451b2130945afcaa9c2f', class: 'flex w-inherit items-center gap-2 text-storm-300 dark:text-hurricane-200' }, h("p-icon", { key: '60d96ca3cc5ba318340588ad810bbb757d4dfc73', variant: 'minus' }), h("div", { key: 'fc0dfa7384160affc00e37b784139f3f9ae1f0ff', class: 'relative h-6 flex-1' }, h("input", { key: 'fa8df7e7b794bc6e48118a9c977ae72fef71974f', type: 'range', min: this.min, max: this.max, step: this.step, value: this.value, onInput: ev => {
26
+ return (h(ThemedHost, { key: 'c937c22c26281de6e233d8cf8ab0cb13af1973b2' }, h("div", { key: '0eed98812f468dff396750ca4d1a804de945c8b3', class: 'flex w-inherit items-center gap-2 text-storm-300 dark:text-hurricane-200' }, h("p-icon", { key: '1e71cf8f4866f97dd1f3985e45d489e2ed6f4f0c', variant: 'minus' }), h("div", { key: '558f3fc8d5fd578e3510aab6c617a4a69ff9d19f', class: 'relative h-6 flex-1' }, h("input", { key: 'f61117e1cf805b58a274873c4bb062e827fd1ef2', type: 'range', min: this.min, max: this.max, step: this.step, value: this.value, onInput: ev => {
27
27
  const value = ev.target.value;
28
28
  this.value = parseFloat(value);
29
29
  this.valueChange.emit(value);
30
- } }), h("div", { key: '31731dfb11b02a81d8d504a2fc6ccbd78ddfad9a', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
30
+ } }), h("div", { key: '8c247df11ce56689438e3edf381972b95360f7cf', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
31
31
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
32
- } })), h("p-icon", { key: '353399656b5daf4016ea8e654955c785e33aa687', variant: 'plus' }))));
32
+ } })), h("p-icon", { key: '10738ff8b64a0d3c0d354c166c80175876a1195b', variant: 'plus' }))));
33
33
  }
34
34
  static get is() { return "p-range"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -321,8 +321,8 @@ export class Select {
321
321
  if (this.error?.length) {
322
322
  buttonIcon = 'warning';
323
323
  }
324
- return (h(ThemedHost, { key: '9439487b74e09bb8808ff811a2c733e222210448' }, h("p-field-container", { key: 'dd6a355d244590e5fb0063ae8a44df9758cb7716', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, showOptional: this.showOptional, error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown }, h("p-dropdown", { key: '236da5b3db7ff74fc175e79e91bfc35d7aad2eeb', applyFullWidth: true, applyMaxWidth: false, slot: 'content', insideClick: true, manual: true, scrollable: this.enableAutocomplete ? 'large' : true, "disable-trigger-click": this.disabled, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), strategy: this.strategy }, h("p-button", { key: 'd688d0ff91ea09d413c5c53d7416b6bf65e9c13a', slot: 'trigger', class: 'w-full', variant: 'secondary', size: this.size, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, active: this._showDropdown, error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
325
- this._selectedItem?.[this.iconClassKey], onClick: ev => this._onClick(ev) }, h("div", { key: '20ba382b0663009f96335c0139935156e9161411', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
324
+ return (h(ThemedHost, { key: 'c4ede01413b6ecc94698220e38612b7ee86cf4a2' }, h("p-field-container", { key: '8380ad89a6c1001832978455054c7d450306fea5', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, showOptional: this.showOptional, error: this.error, forceShowTooltip: !!this.error?.length && !this._showDropdown }, h("p-dropdown", { key: 'd91a5985868814e2e24ee5cc912f87ea056f20d1', applyFullWidth: true, applyMaxWidth: false, slot: 'content', insideClick: true, manual: true, scrollable: this.enableAutocomplete ? 'large' : true, "disable-trigger-click": this.disabled, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), strategy: this.strategy }, h("p-button", { key: '0c68ef89ac2239a56144a284151112a57a02dc22', slot: 'trigger', class: 'w-full', variant: 'secondary', size: this.size, chevron: this.showChevron ? (this._showDropdown ? 'up' : 'down') : false, active: this._showDropdown, error: !!this.error?.length, icon: buttonIcon, iconClass: this.applyClassOnSelectedItem &&
325
+ this._selectedItem?.[this.iconClassKey], onClick: ev => this._onClick(ev) }, h("div", { key: '0c7ae720d59661f750f3b3f79cba40fe36a7de64', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue)), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
326
326
  }
327
327
  documentClickHandler(event) {
328
328
  if (!this._showDropdown || childOfComposed(event, this._el)) {
@@ -83,7 +83,7 @@ export class TableCell {
83
83
  };
84
84
  }
85
85
  render() {
86
- return (h(ThemedHost, { key: '9379194afed85cd76e08376396c90c5802417ccb', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'ce347a63c415ce1d61733421e61675b30232224a' }, h("div", { key: '6219c17b908507969e1b92d42f0fc16ed513ceef', class: 'text-storm-300 text-storm-400 text-storm-500 dark:text-hurricane-200 dark:text-white' }), h("div", { key: '31a30936200384968a95ed455945190f94b6c140', class: 'justify-start justify-end justify-center' }), h("div", { key: '22dc5790a2114ee5fc46e168ff4a4947f3e00a25', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: '50c2259bbcc14257bc9ada4ede17a054f1e69e8f', class: 'w-12/12 w-1/12 w-10/12 w-11/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' }), h("div", { key: '0ce6fdd8a20fb8bce9df902dd0cfa9a3f5d9b658', class: 'tablet:w-12/12 tablet:w-1/12 tablet:w-10/12 tablet:w-11/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' }), h("div", { key: '03a2b121f4963a0c5a7c719ffc135bc5db0856be', class: 'desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/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' }), h("div", { key: 'ed07c7ea579e377a6a49d20e08556fe73fad9864', class: 'desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/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' }), h("div", { key: '6cf0a1b650b76395898adb7f6583101ca14e746b', class: 'desktop-sm:w-12/12 desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/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' }), h("div", { key: '63c424a9d6bf1eaeec2ca41e16068784bfb3ba82', class: 'desktop:w-12/12 desktop:w-1/12 desktop:w-10/12 desktop:w-11/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' }), h("div", { key: 'bf9c428d8cfccc6f60a4a4697e3c355f979c2d73', class: 'desktop-lg:w-12/12 desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/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' }), h("div", { key: 'ab0b0b446c75ced20b84f6086fa7326319664fe4', class: 'desktop-xl:w-12/12 desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/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' }), h("div", { key: '8a569e21e179cb78be7bd07fc0a6fe632c4839d3', class: 'flex hidden group-hover:flex group-hover:hidden' }), h("div", { key: '077e8b74c2abb8a190a6077a8968ab95164e8faa', class: 'tablet:flex tablet:hidden tablet:group-hover:flex tablet:group-hover:hidden' }), h("div", { key: '85850c75671b179b6c10dfc223c681c65f1f8ba8', class: 'desktop-xs:flex desktop-xs:hidden desktop-xs:group-hover:flex desktop-xs:group-hover:hidden' }), h("div", { key: 'c6e6733bd29ce794e1201f3b9e213a98d4fdcc2a', class: 'desktop-sm:flex desktop-sm:hidden desktop-sm:group-hover:flex desktop-sm:group-hover:hidden' }), h("div", { key: 'e8475f1712ca4fdc019e9383f063031a2e9feadf', class: 'desktop:flex desktop:hidden desktop:group-hover:flex desktop:group-hover:hidden' }), h("div", { key: '389efe4c3e9a4f09fb8356714ca6b25ed3b5891f', class: 'desktop-lg:flex desktop-lg:hidden desktop-lg:group-hover:flex desktop-lg:group-hover:hidden' }), h("div", { key: '0a0b42ccae403eb69c152fc994565462bb169a51', class: 'desktop-xl:flex desktop-xl:hidden desktop-xl:group-hover:flex desktop-xl:group-hover:hidden' }), h("div", { key: 'b61e8551a9e505d26062c01e41f16af632729f6c', class: 'pr-0 pr-4 last-of-type:pr-0' }), h("div", { key: 'bdb339b91bcf59f133c9862f533956099378f215', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: 'f0ccfe67e55569de7aef32204bddd2995857740c', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: '97492c4667eccfb49a30f02b9021c0141eecb221', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: 'f6da333ca5452356860a859653b4217a29e386f3', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '1accba11c4b937ca3930397dd82de4f634a097c4', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: 'b736c038e500b18d6b354d0c1e26b445e6cf4a91', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
86
+ return (h(ThemedHost, { key: 'cd757cfb2a27c50feef5127165eb99b071238872', class: this._getColumnClasses() }, this.checkbox, this._getContent(), false && (h(Fragment, { key: 'cee33b8580e78e39d2567b92696d4b38ebfa5c56' }, h("div", { key: '5d519c083da98149208c0e88ae7c9fd21c848e04', class: 'text-storm-300 text-storm-400 text-storm-500 dark:text-hurricane-200 dark:text-white' }), h("div", { key: 'f296e7adc1229b338d92a5d18eafba5f208b41ca', class: 'justify-start justify-end justify-center' }), h("div", { key: 'fd5854b0f3a24d482dbedca031e2184418bac4b4', class: 'font-semibold text-storm-300 text-storm-400 text-storm-500' }), h("div", { key: 'c780b3ac8c5a6c8c2b0f92d07537aed9358f447b', class: 'w-12/12 w-1/12 w-10/12 w-11/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' }), h("div", { key: '1ff079d3a61e419fca39119ad254415332546e71', class: 'tablet:w-12/12 tablet:w-1/12 tablet:w-10/12 tablet:w-11/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' }), h("div", { key: 'cd2fb0523fdcd1d9c26a60dc6fd808d46e8b7957', class: 'desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/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' }), h("div", { key: '7bb766b68ebb4b1fdeb79de0e01b9fd005e89965', class: 'desktop-xs:w-12/12 desktop-xs:w-1/12 desktop-xs:w-10/12 desktop-xs:w-11/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' }), h("div", { key: 'a0b9a56086e2ae818d72fbafbf1b097bc73aed3e', class: 'desktop-sm:w-12/12 desktop-sm:w-1/12 desktop-sm:w-10/12 desktop-sm:w-11/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' }), h("div", { key: '9425fce4acd1a1a3c0bad85f7d172125baa09d63', class: 'desktop:w-12/12 desktop:w-1/12 desktop:w-10/12 desktop:w-11/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' }), h("div", { key: '7f599e6c359e1e1b8ce09153b1c13babba424a13', class: 'desktop-lg:w-12/12 desktop-lg:w-1/12 desktop-lg:w-10/12 desktop-lg:w-11/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' }), h("div", { key: 'c67bd330cc055edb416f0a6cc01b188a73c58462', class: 'desktop-xl:w-12/12 desktop-xl:w-1/12 desktop-xl:w-10/12 desktop-xl:w-11/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' }), h("div", { key: '166b82949ef1713f4eee23068bfde63b0bb0dff9', class: 'flex hidden group-hover:flex group-hover:hidden' }), h("div", { key: 'ad04aa8cf128d4fda3581907ba147f9f9d64df29', class: 'tablet:flex tablet:hidden tablet:group-hover:flex tablet:group-hover:hidden' }), h("div", { key: '96fca39ba7eae1c4b6d7f7a83ff5148784263d8d', class: 'desktop-xs:flex desktop-xs:hidden desktop-xs:group-hover:flex desktop-xs:group-hover:hidden' }), h("div", { key: '5f27fef437cc2ebc965b235e3e731f324c85590b', class: 'desktop-sm:flex desktop-sm:hidden desktop-sm:group-hover:flex desktop-sm:group-hover:hidden' }), h("div", { key: '7b21f8a5056168a3906deb2d5b3bc7906715ad21', class: 'desktop:flex desktop:hidden desktop:group-hover:flex desktop:group-hover:hidden' }), h("div", { key: 'dd58cfc8bcc768ef574279ef43b2b20c368fab20', class: 'desktop-lg:flex desktop-lg:hidden desktop-lg:group-hover:flex desktop-lg:group-hover:hidden' }), h("div", { key: 'bf54fbdf8d971df872dd93f3499f7a0f20288711', class: 'desktop-xl:flex desktop-xl:hidden desktop-xl:group-hover:flex desktop-xl:group-hover:hidden' }), h("div", { key: 'e828635f2281c78e535781fc777bc32f5b6834f9', class: 'pr-0 pr-4 last-of-type:pr-0' }), h("div", { key: 'c9b0ea3df3103dca2c5a7cbaf9bf35f4160dfc19', class: 'tablet:pr-0 tablet:pr-4' }), h("div", { key: '55314977008960b068314740a686301700c589e2', class: 'desktop-xs:pr-0 desktop-xs:pr-4' }), h("div", { key: '2c5f60ccdd95eeea93165a3d06eb2b0cb07c8e0b', class: 'desktop-sm:pr-0 desktop-sm:pr-4' }), h("div", { key: '91e704406f68cfd88523055a197b0506360f8c9a', class: 'desktop:pr-0 desktop:pr-4' }), h("div", { key: '01f44080a5cae4940dcbf1fb1af538f2ca035da8', class: 'desktop-lg:pr-0 desktop-lg:pr-4' }), h("div", { key: '3419c371f9df3e6c5c7fa2ae4e1d1e9278169124', class: 'desktop-xl:pr-0 desktop-xl:pr-4' })))));
87
87
  }
88
88
  _getContent() {
89
89
  if (this.variant === 'loading') {
@@ -92,11 +92,11 @@ export class TableFooter {
92
92
  this._renderCheckTimeout = setTimeout(() => this._checkStuck(), 100);
93
93
  }
94
94
  render() {
95
- return (h(ThemedHost, { key: '47c7df230bf03cbdafb55c227eb7c4139ff98f1c' }, h("div", { key: '721794704451893ae3504baef3b06c4183eee867', class: footer({
95
+ return (h(ThemedHost, { key: '40a461aa422e9fa9355b3c80dd2a587921757c97' }, h("div", { key: 'aaaf82bf2a2dee5d27f2347fed248c879e8fd630', class: footer({
96
96
  pinned: this._isPinned,
97
97
  hidden: this._hidden,
98
98
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
99
- this.total > 0 && (h("p-pagination", { key: '718cef96e025faf9f7e6427fc2fd9552d140ea5b', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
99
+ this.total > 0 && (h("p-pagination", { key: '258b98819e5f8737463af4336bf820f427b0acf4', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) })))));
100
100
  }
101
101
  _changePageSize(s) {
102
102
  if (!s) {
@@ -88,13 +88,13 @@ export class TableRow {
88
88
  */
89
89
  isLast = false;
90
90
  render() {
91
- return (h(ThemedHost, { key: '77f0b78ed94f35b1ce43d35cd0638ea57679671d' }, h("div", { key: '263e4628d647256e237dd79ee7ce29a7f1cc6450', class: 'flex flex-col' }, h("div", { key: '3384055777b62ea108191f1fb1cb295d479e84bd', class: row({
91
+ return (h(ThemedHost, { key: '57cefd78545981975ff160405e54a614c52b2d10' }, h("div", { key: '752a97669376b1503b44ee3d53eb6a70fa22dabe', class: 'flex flex-col' }, h("div", { key: 'd764d107929e299979d1c859ae0a6ab571bd1561', class: row({
92
92
  variant: this.variant,
93
93
  enableHover: this.enableHover,
94
94
  checked: this.checked,
95
- }) }, h("div", { key: '7c87e9ef1ed4342e7a9b73a54979b369d85414d5', class: content({
95
+ }) }, h("div", { key: '1d695cfc2826074c699f948869f648b165b2d617', class: content({
96
96
  variant: this.variant,
97
- }) }, h("slot", { key: 'a40866335aef2e94fd988187a7825fead4a08d41' }), h("div", { key: '491868157575a205a19456a2dbd6398f822057c0', class: actions() }, h("slot", { key: 'b8c08593ad1c5484cdfc757d037b09a562e74df1', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '12b2bb0d242e7049606ae0a0b3495696a83dfc03' })))));
97
+ }) }, h("slot", { key: '6195e8107e31ade2831f9bd53408ab03a12ee651' }), h("div", { key: 'fc8b47883f833b5e04fbf59ed1670fe6bca72102', class: actions() }, h("slot", { key: '00574d5c478f7bd740bef1a159a26071e25ffef7', name: 'actions' })))), !asBoolean(this.isLast) && this.variant !== 'secondary' && (h("p-divider", { key: '7b408d711e1e08ab375587d474cfaebd89043276' })))));
98
98
  }
99
99
  static get is() { return "p-table-row"; }
100
100
  static get encapsulation() { return "shadow"; }
@@ -49,7 +49,7 @@ export class Toast {
49
49
  */
50
50
  action;
51
51
  render() {
52
- return (h(ThemedHost, { key: '1d3d5ff149959ae2dfd4faf192e385befcfd281e' }, h("div", { key: '9fe352d50b64480ebd2a011cedf83984705a8217', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2 dark:border-hurricane-800 dark:bg-hurricane-800', onClick: () => this._onClick() }, h("div", { key: '89320334df8de8937a008c74c88db83cd1170dc7', class: indicator({ variant: this.variant }) }), h("div", { key: 'd246b279889a9c4a11b0cad5b929c6d3d15f022b', class: content() }, h("div", { key: '58d0092ea7e71fcf90e7a3e2150cc27ffdab3b4b', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '996faafb1c62cb9d593d3d11fcbff43ee9fb61f5', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500 dark:text-white' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: 'ea2c5f7d028d4ca099d28cda372501be6b8a1167', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300 dark:text-hurricane-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: '95d601b04ed09864d99a8ce91a58b8faf8a28540', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500 hover:text-white dark:text-hurricane-200' }, h("p-icon", { key: 'f9a88408b5e6b9f7babf01506fce4f070e106112', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate })))))));
52
+ return (h(ThemedHost, { key: 'd0cacbaaf93bfb9f98061e16892ad1c9331f98e0' }, h("div", { key: '74cb104d0c07fbdbf47f8884737af64fc4e78faf', class: 'flex gap-2 rounded-lg border border-solid border-storm-100 bg-white p-2 shadow-2 dark:border-hurricane-800 dark:bg-hurricane-800', onClick: () => this._onClick() }, h("div", { key: '92dbc67246e8cea086e66598a966b424c1783380', class: indicator({ variant: this.variant }) }), h("div", { key: 'c556f645622a403241fd30501b6e584659a1c28f', class: content() }, h("div", { key: '9d71be40edbbececfe7b2bf07fcf12e4dd2d0775', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '7c397d10916c460a72cc5ffb62d2db6551af00d5', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-storm-500 dark:text-white' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '7018743c217932aa4fb988511d482d8bf9b7b745', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-storm-300 dark:text-hurricane-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("div", { key: 'a960ca7bb2e3530ce977536f0e6d7137bdd6ac70', class: 'flex-shrink-0 cursor-pointer p-2 text-storm-200 hover:text-storm-500 hover:text-white dark:text-hurricane-200' }, h("p-icon", { key: 'daf1bf85797180442d76fe75c261e21ddc4d15da', variant: this.actionIcon, flip: this.actionIconFlip, rotate: this.actionIconRotate })))))));
53
53
  }
54
54
  _onClick() {
55
55
  if (this.enableAction) {
@@ -18,10 +18,10 @@ export class Listing {
18
18
  }
19
19
  }
20
20
  render() {
21
- return (h("div", { key: 'e954f284515928191687375a05d5208ee17ffbe3', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
21
+ return (h("div", { key: 'fa1711147b6dad9acbbd5b5a5fb798299e22bf2a', class: cn('flex w-full flex-col flex-wrap items-start gap-1', {
22
22
  'opacity-100': this._generatedOnce,
23
23
  'opacity-0': !this._generatedOnce,
24
- }) }, h("slot", { key: '039dbd2fd4e623de55b5ff54be2b52a4a1f91ad6', onSlotchange: () => this._generateLinesOnce() })));
24
+ }) }, h("slot", { key: '8e3b03479567559ba00e7839e7f9555d142f520c', onSlotchange: () => this._generateLinesOnce() })));
25
25
  }
26
26
  _generateLinesOnce() {
27
27
  if (this._generateTimeout) {
@@ -44,7 +44,7 @@ const backdrop = cva(['z-navbar-backdrop layout-1280:hidden transition-opacity r
44
44
  export class Navbar {
45
45
  _show = false;
46
46
  render() {
47
- return (h(ThemedHost, { key: '5f2ff4851da03caa40914c81f493e0053186a1d2' }, h("p-backdrop", { key: 'b247ba9092f0506407c64e8e748df9d6de9e36f1', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '3c99121497113fefb1ac2f2fc2b676acc31b4c63', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '5ad7202d1d7e028ca77014ce98002ac10e64a32f', class: 'flex w-full items-center justify-end layout-1280:hidden' }, h("p-button", { key: '243ccff24471f9ab3aa25612f7ed97650687c918', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, onClick: () => (this._show = false) })), h("div", { key: 'ef8804d44857bee2d615a2bd486ef4ed77b7c14b', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '7ed9c5f1df92979c4c224cf678bfb376394bbb89', name: 'company' })), h("div", { key: '69d8cdba81b2b3319e04cc0b723796ea60481d1d', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'bbdcd62739cbcf28f9833ced398144945363c387', name: 'content' })), h("div", { key: '4712c063614b6f3cc911e98bd901ab158acb7613', class: 'mt-auto hidden w-full flex-shrink-0 flex-col layout-1280:flex' }, h("slot", { key: 'f436a502abbf43e780d6e6ad225fa00232623ea7', name: 'user' }))), h("div", { key: '7a478d1164b7da40eedc60e7599e4a3f21eb9cc0', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '5a39fe6c9efe0294fe4871716960ca92444a449e', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', onClick: () => (this._show = true) }), h("slot", { key: '6627f251315d0180b8b5d08bd9e0887259410862', name: 'topbar' }))));
47
+ return (h(ThemedHost, { key: 'f18236b1eecebb2364756c2ec45dd5547e5c2b8a' }, h("p-backdrop", { key: 'd6c6c3c6913c64801c3210b3f9356a7d2f88f685', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '26fa33772a4437faaec4d5bbce86f5fcf5e06f1d', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: 'c41a829e518a972b4c7030fb0500a1501fa3835b', class: 'flex w-full items-center justify-end layout-1280:hidden' }, h("p-button", { key: 'ee1d0e561764ddbf58797ca8ea6ca08bb726aa6d', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, onClick: () => (this._show = false) })), h("div", { key: '531559e69a4158a2271be6d63ab7537f866f8eaf', class: 'flex w-full flex-shrink-0 flex-col items-stretch' }, h("slot", { key: '97b8397a519af90da71aa53ec90ffad88a723657', name: 'company' })), h("div", { key: '4c526a339ac703505b3dd2ac8a4959e3b4bc47ee', class: 'flex w-full flex-1 flex-col gap-6 overflow-y-auto' }, h("slot", { key: '6047b39501d08754bcb7264142cf713297cf9e01', name: 'content' })), h("div", { key: '18cbd646cbefb9031e74f712afdc7075d8aec953', class: 'mt-auto hidden w-full flex-shrink-0 flex-col layout-1280:flex' }, h("slot", { key: '15cbd9e622dbda0c2e09e2353143ffd164a41cfc', name: 'user' }))), h("div", { key: 'f54474e0a0b298dd986be0b6e74c9fb0cff05945', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'a9cb10403323860b08a5131d928d19f9fdfb6afa', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', onClick: () => (this._show = true) }), h("slot", { key: 'ccfaa956eb493047a8ce2f0c3a1c89d62e47a0c3', name: 'topbar' }))));
48
48
  }
49
49
  handleCloseNavbar() {
50
50
  this._show = false;
@@ -4,10 +4,10 @@ import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj
4
4
  import { c as cn } from './p-CT54OXR2.js';
5
5
  import { a as asBoolean } from './p-C5CTp9IA.js';
6
6
  import { T as ThemedHost } from './p-7QA93RrV.js';
7
- import { d as defineCustomElement$4 } from './p-BjTLGpAE.js';
7
+ import { d as defineCustomElement$4 } from './p-CAvUntoE.js';
8
8
  import { d as defineCustomElement$3 } from './p-BHphGfv6.js';
9
9
  import { d as defineCustomElement$2 } from './p-BFbLqg3-.js';
10
- import { d as defineCustomElement$1 } from './p-BUzthIe4.js';
10
+ import { d as defineCustomElement$1 } from './p-BgJXDL3C.js';
11
11
 
12
12
  const fieldContainerComponentCss = "*{box-sizing:border-box}.ml-auto{margin-left:auto!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-5{height:1.25rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-auto{cursor:auto!important}.flex-row-reverse{flex-direction:row-reverse!important}.flex-col{flex-direction:column!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded-lg{border-radius:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.font-normal{font-weight:400!important}.text-storm-200{--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.text-storm-300{--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.text-storm-500{color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.text-storm-500,.text-white{--tw-text-opacity:1!important}.text-white{color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none!important}.dark\\:text-hurricane-200:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-300:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.dark\\:text-white:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-200:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(163 165 169/var(--tw-text-opacity,1))!important}.dark\\:text-hurricane-300:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(116 120 127/var(--tw-text-opacity,1))!important}.dark\\:text-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";
13
13
 
@@ -210,6 +210,6 @@ function defineCustomElement() {
210
210
  defineCustomElement();
211
211
 
212
212
  export { FieldContainer as F, defineCustomElement as d };
213
- //# sourceMappingURL=p-BWS61QL4.js.map
213
+ //# sourceMappingURL=p-1TpRsovb.js.map
214
214
 
215
- //# sourceMappingURL=p-BWS61QL4.js.map
215
+ //# sourceMappingURL=p-1TpRsovb.js.map
@@ -1 +1 @@
1
- {"file":"p-BWS61QL4.js","mappings":";;;;;;;;;;;AAAA,MAAM,0BAA0B,GAAG,2lGAA2lG;;ACoB9nG,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,EAAE,EAAE,IAAI;AACR,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE;AACjB,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AAED,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MASW,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;;;AAClB,IAAA,wBAAwB,GAAiB,MAChD,iBAAiB,CAAC,IA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,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;QAExE,MAAM,MAAM,GAAG,aAAa,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM;QACnE,MAAM,KAAK,GAAG,YAAY,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK;QAE/D,MAAM,yBAAyB,GAC9B,YAAY;AACZ,aAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tcn,\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * Align content to the start or end\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tslot='trigger'\n\t\t\t\tname='content'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass={cn('flex w-inherit flex-col gap-1', {\n\t\t\t\t\t\t'cursor-auto': this.variant === 'read',\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={cn('flex items-end justify-between gap-1 empty:hidden', {\n\t\t\t\t\t\t\t'flex-row-reverse': this.align === 'end',\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{(!!label?.length || !!helper?.length) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='flex min-w-0 gap-2'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<span class='min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200'>\n\t\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\tclass='flex flex-shrink-0'\n\t\t\t\t\t\t\t\t\t\tplacement='top'\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{((!asBoolean(this.required) && asBoolean(this.showOptional)) ||\n\t\t\t\t\t\t\thasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) &&\n\t\t\t\t\t\t\t\t\tasBoolean(this.showOptional) &&\n\t\t\t\t\t\t\t\t\tthis.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-storm-200 dark:text-hurricane-300'>\n\t\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={cn({\n\t\t\t\t\t\t\t'w-full': this.variant === 'write' || this.loading,\n\t\t\t\t\t\t\t'ml-auto': this.align === 'end',\n\t\t\t\t\t\t\t'font-normal': this.variant === 'read',\n\t\t\t\t\t\t\t'text-storm-500 dark:text-white': this.variant === 'read',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={\n\t\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\t\tasBoolean(this.forceShowTooltip, false)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"version":3}
1
+ {"file":"p-1TpRsovb.js","mappings":";;;;;;;;;;;AAAA,MAAM,0BAA0B,GAAG,2lGAA2lG;;ACoB9nG,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAA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,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport {\n\tcn,\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * Align content to the start or end\n\t */\n\t@Prop() align: 'start' | 'end' = 'start';\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * Wether to show optional when not required\n\t */\n\t@Prop({ reflect: true }) showOptional: boolean = true;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tslot='trigger'\n\t\t\t\tname='content'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass={cn('flex w-inherit flex-col gap-1', {\n\t\t\t\t\t\t'cursor-auto': this.variant === 'read',\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={cn('flex items-end justify-between gap-1 empty:hidden', {\n\t\t\t\t\t\t\t'flex-row-reverse': this.align === 'end',\n\t\t\t\t\t\t})}\n\t\t\t\t\t>\n\t\t\t\t\t\t{(!!label?.length || !!helper?.length) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='flex min-w-0 gap-2'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t<span class='min-w-0 overflow-hidden text-ellipsis text-xs font-medium text-storm-300 dark:text-hurricane-200'>\n\t\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t\t</span>\n\n\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\tclass='flex flex-shrink-0'\n\t\t\t\t\t\t\t\t\t\tplacement='top'\n\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{((!asBoolean(this.required) && asBoolean(this.showOptional)) ||\n\t\t\t\t\t\t\thasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) &&\n\t\t\t\t\t\t\t\t\tasBoolean(this.showOptional) &&\n\t\t\t\t\t\t\t\t\tthis.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-storm-200 dark:text-hurricane-300'>\n\t\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={cn({\n\t\t\t\t\t\t\t'w-full': this.variant === 'write' || this.loading,\n\t\t\t\t\t\t\t'ml-auto': this.align === 'end',\n\t\t\t\t\t\t\t'font-normal': this.variant === 'read',\n\t\t\t\t\t\t\t'text-storm-500 dark:text-white': this.variant === 'read',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={\n\t\t\t\t\t\t\terrorAndErrorIsNotBoolean &&\n\t\t\t\t\t\t\tasBoolean(this.forceShowTooltip, false)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"version":3}