@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
@@ -1 +1 @@
1
- {"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":"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"}
1
+ {"version":3,"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\n\t\t'dark:border-hurricane-400 dark:border dark:border-solid',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={container({\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"names":[],"mappings":"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"}
@@ -40,7 +40,7 @@ const ModalBody = class {
40
40
  };
41
41
  ModalBody.style = modalBodyComponentCss;
42
42
 
43
- const modalContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem!important}.tablet\\:max-w-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[41rem\\]{max-width:41rem!important}.tablet\\:max-w-\\[45rem\\]{max-width:45rem!important}.tablet\\:max-w-\\[65rem\\]{max-width:65rem!important}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}";
43
+ const modalContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.justify-center{justify-content:center!important}*{box-sizing:border-box}:host{display:flex;justify-content:center;width:100%}@media (min-width:64rem){:host{margin:auto}}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.z-modal{z-index:600!important}.max-h-\\[calc\\(100dvh-4rem\\)\\]{max-height:calc(100dvh - 4rem)!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}@keyframes slideInBottom{0%{transform:translateY(100%)}to{transform:translateY(0)}}.animate-slide-in-bottom{animation:slideInBottom .5s ease forwards!important}@keyframes slideOutBottom{0%{transform:translateY(0)}to{transform:translateY(100%)}}.animate-slide-out-bottom{animation:slideOutBottom .5s ease forwards!important}.flex-col{flex-direction:column!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.shadow-modal{--tw-shadow:0 0 0 1px rgba(0,2,2,.1),0 1px 1px 0 rgba(0,2,2,.2),0 2px 2px 0 rgba(0,2,2,.08),0 4px 4px 0 rgba(0,2,2,.08),0 8px 8px 0 rgba(0,2,2,.08)!important;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color),0 1px 1px 0 var(--tw-shadow-color),0 2px 2px 0 var(--tw-shadow-color),0 4px 4px 0 var(--tw-shadow-color),0 8px 8px 0 var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.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}}@media (min-width:40rem){.tablet\\:max-w-\\[20rem\\]{max-width:20rem!important}.tablet\\:max-w-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[41rem\\]{max-width:41rem!important}.tablet\\:max-w-\\[45rem\\]{max-width:45rem!important}.tablet\\:max-w-\\[65rem\\]{max-width:65rem!important}}@media (min-width:64rem){@keyframes slideInBottomSmall{0%{transform:translateY(20%)}to{transform:translateY(0)}}.desktop-xs\\:animate-slide-in-bottom-small{animation:slideInBottomSmall .5s ease forwards!important}@keyframes slideOutBottomSmall{0%{transform:translateY(0)}to{transform:translateY(20%)}}.desktop-xs\\:animate-slide-out-bottom-small{animation:slideOutBottomSmall .5s ease forwards!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}.dark\\:border:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-width:1px!important}.dark\\:border-solid:where(:host([data-theme=dark]),:host([data-theme=dark]) *){border-style:solid!important}.dark\\:border-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}.dark\\:border:where([data-theme=dark],[data-theme=dark] *){border-width:1px!important}.dark\\:border-solid:where([data-theme=dark],[data-theme=dark] *){border-style:solid!important}.dark\\:border-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-color:rgb(70 75 84/var(--tw-border-opacity,1))!important}";
44
44
 
45
45
  const container = cva([
46
46
  'flex-1 min-w-0 w-full',
@@ -48,6 +48,7 @@ const container = cva([
48
48
  'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',
49
49
  'max-h-[calc(100dvh-4rem)]',
50
50
  'shadow-modal',
51
+ 'dark:border-hurricane-400 dark:border dark:border-solid',
51
52
  ], {
52
53
  variants: {
53
54
  size: {
@@ -76,10 +77,10 @@ const ModalContainer = class {
76
77
  */
77
78
  closing = false;
78
79
  render() {
79
- return (h("div", { key: 'a09657efc5b1f154133cd708f715b917de8375d7', class: container({
80
+ return (h(ThemedHost, { key: '2bcc006cc69768f1d22cf8a838bc64ef8aad8ff4' }, h("div", { key: '77026114720c272f3f060abed2752014fc090613', class: container({
80
81
  size: this.size,
81
82
  closing: asBoolean(this.closing),
82
- }) }, h("slot", { key: '592ecd29da7610dee8a9fea278b01c63afbaac1c' })));
83
+ }) }, h("slot", { key: '03f281ef3802c57668bf424d8a17b58e5807f16f' }))));
83
84
  }
84
85
  };
85
86
  ModalContainer.style = modalContainerComponentCss;
@@ -91,7 +92,7 @@ const ModalFooter = class {
91
92
  registerInstance(this, hostRef);
92
93
  }
93
94
  render() {
94
- return (h(ThemedHost, { key: '603650048d126eac3dcf82488001ffe22ac301fb' }, h("div", { key: 'fdcebc86edcaae5b99f64b3cf8e0f651d7d086ac', class: 'flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600' }, h("p-divider", { key: '9a72688ff780bc70a7a06397ce2b70308a7d631a', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), h("div", { key: '3aa628873c1172dbd92ebcad2c676159f35c504d', class: 'flex flex-col gap-4 tablet:flex-row' }, h("slot", { key: '6261d214141455b22a92bcf7997d71fec46365ef' })))));
95
+ return (h(ThemedHost, { key: '224d37e5b88f22c4d320ae2a6aaac9b5fa9c402f' }, h("div", { key: '49cc91268a85131d485b4fc739f84fd428932c72', class: 'flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600' }, h("p-divider", { key: '1b4adaada66a2bf0196d827ac5f71b62f53753eb', class: 'mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' }), h("div", { key: 'ddd3d26e3538b2d04169d78f0451c8e9e1777af6', class: 'flex flex-col gap-4 tablet:flex-row' }, h("slot", { key: 'f04c1d1f97ea47644de785f0a7e2bcccee0d916a' })))));
95
96
  }
96
97
  };
97
98
  ModalFooter.style = modalFooterComponentCss;
@@ -123,7 +124,7 @@ const ModalHeader = class {
123
124
  */
124
125
  close;
125
126
  render() {
126
- return (h(ThemedHost, { key: '5c189cc6de6cab609332badf4a6e26ebe59547dc' }, h("div", { key: 'cec6a3a37129de3b92a6a8e3c90b9b5885dc247a', class: header() }, h("div", { key: '8ad8d7e76de814a51d60313a621dde476adf7536', class: content() }, h("div", { key: 'ff5e93305617a4753450d8083e5838974e489127', class: title() }, h("slot", { key: '432a387323248e28d2016ca0ab982b8705a0e3e2' })), this.showClose && (h("p-button", { key: '32e1456e08c3038eed5c5b63405b46ff42c1bdce', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: '02f641215394be19bea5ee7d58d8c0f95657e7d4', class: 'dark:text-hurricane-400' }))));
127
+ return (h(ThemedHost, { key: 'e1333b589d91aa287a238a6ec2247dc38d5fbc0d' }, h("div", { key: '93de864291d6bf6f881286b6ed2e70afb9b0b329', class: header() }, h("div", { key: '3b6b5600bb4541ac2b19928858044683f7139d1a', class: content() }, h("div", { key: '2e42d2f02647b97bf76f363805d76ed8805e0255', class: title() }, h("slot", { key: 'fa88c81de30529ca7d06c95abaf304104a90a584' })), this.showClose && (h("p-button", { key: '782517e9f144230ed3063278bbedb7eeb70a7b39', variant: 'secondary', icon: 'negative', iconOnly: true, onClick: ev => this.close.emit(ev) }))), h("p-smile", { key: 'd30bd2d9c837fd0b49eaee7a32bbe62ddc07db19', class: 'dark:text-hurricane-400' }))));
127
128
  }
128
129
  };
129
130
  ModalHeader.style = modalHeaderComponentCss;
@@ -1 +1 @@
1
- {"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":";;;;;;;AAAA,MAAM,qBAAqB,GAAG,woCAAwoC;;ACItqC,MAAM,IAAI,GAAG,GAAG,CAAC,oCAAoC,EAAE;AACtD,IAAA,QAAQ,EAAE;AACT,QAAA,aAAa,EAAE;AACd,YAAA,IAAI,EAAE,qFAAqF;AAC3F,YAAA,KAAK,EAAE,MAAM;AACb,SAAA;AACD,QAAA,UAAU,EAAE;AACX,YAAA,IAAI,EAAE,uCAAuC;AAC7C,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MAOW,SAAS,GAAA,MAAA;;;;AACrB;;AAEG;IACK,aAAa,GAAY,KAAK;AAEtC;;AAEG;IACK,UAAU,GAAY,KAAK;IAEnC,MAAM,GAAA;QACL,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CACC,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,IAAI,CAAC;gBACX,aAAa,EAAE,IAAI,CAAC,aAAa;gBACjC,UAAU,EAAE,IAAI,CAAC,UAAU;AAC3B,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH,CACM;;;;;AC5ChB,MAAM,0BAA0B,GAAG,yiGAAyiG;;ACI5kG,MAAM,SAAS,GAAG,GAAG,CACpB;IACC,uBAAuB;IAEvB,uBAAuB;IACvB,uDAAuD;IAEvD,2BAA2B;IAE3B,cAAc;CACd,EACD;AACC,IAAA,QAAQ,EAAE;AACT,QAAA,IAAI,EAAE;AACL,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,IAAI,EAAE,sBAAsB;AAC5B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,EAAE,EAAE,sBAAsB;AAC1B,YAAA,KAAK,EAAE,sBAAsB;AAC7B,SAAA;AACD,QAAA,OAAO,EAAE;AACR,YAAA,KAAK,EACJ,kEAAkE;AACnE,YAAA,IAAI,EAAE,wFAAwF;AAC9F,SAAA;AACD,KAAA;AACD,CAAA,CACD;MAOY,cAAc,GAAA,MAAA;;;;AAC1B;;AAEG;IACK,IAAI,GAAwC,MAAM;AAE1D;;AAEG;IACK,OAAO,GAAY,KAAK;IAEhC,MAAM,GAAA;AACL,QAAA,QACC,CAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EACC,KAAK,EAAE,SAAS,CAAC;gBAChB,IAAI,EAAE,IAAI,CAAC,IAAI;AACf,gBAAA,OAAO,EAAE,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC;AAChC,aAAA,CAAC,EAAA,EAEF,CAAQ,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACH;;;;;AC1DT,MAAM,uBAAuB,GAAG,0gDAA0gD;;MCQ7hD,WAAW,GAAA,MAAA;;;;IACvB,MAAM,GAAA;AACL,QAAA,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,uIAAuI,EAAA,EACjJ,CAAW,CAAA,WAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,2EAA2E,EAAG,CAAA,EAE/F,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,qCAAqC,EAAA,EAC/C,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,CACD,CACM;;;;;ACnBhB,MAAM,uBAAuB,GAAG,g8EAAg8E;;ACIh+E,MAAM,MAAM,GAAG,GAAG,CAAC;IAClB,6FAA6F;IAC7F,mCAAmC;AACnC,CAAA,CAAC;AAEF,MAAM,OAAO,GAAG,GAAG,CAAC,CAAC,kBAAkB,EAAE,sBAAsB,CAAC,CAAC;AAEjE,MAAM,KAAK,GAAG,GAAG,CAAC;IACjB,oBAAoB;IACpB,qBAAqB;IACrB,6DAA6D;IAC7D,8DAA8D;AAC9D,CAAA,CAAC;MAOW,WAAW,GAAA,MAAA;;;;;AACvB;;AAEG;IACK,SAAS,GAAG,IAAI;AAExB;;AAEG;AAIH,IAAA,KAAK;IAEL,MAAM,GAAA;AACL,QAAA,QACC,EAAC,UAAU,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,EACV,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,MAAM,EAAE,EAAA,EACnB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAE,EAAA,EACpB,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,KAAK,EAAE,EAAA,EAClB,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAQ,CACH,EAEL,IAAI,CAAC,SAAS,KACd,iEACC,OAAO,EAAC,WAAW,EACnB,IAAI,EAAC,UAAU,EACf,QAAQ,EAAE,IAAI,EACd,OAAO,EAAE,EAAE,IAAI,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,EAAE,CAAC,EAAA,CACvB,CACZ,CACI,EAEN,CAAA,CAAA,SAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAS,KAAK,EAAC,yBAAyB,GAAG,CACtC,CACM;;;;;;;","names":[],"sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={container({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot />\n\t\t\t</div>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js","mappings":"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","names":[],"sources":["src/components/atoms/modal/body/modal-body.component.css?tag=p-modal-body&encapsulation=shadow","src/components/atoms/modal/body/modal-body.component.tsx","src/components/atoms/modal/container/modal-container.component.css?tag=p-modal-container&encapsulation=shadow","src/components/atoms/modal/container/modal-container.component.tsx","src/components/atoms/modal/footer/modal-footer.component.css?tag=p-modal-footer&encapsulation=shadow","src/components/atoms/modal/footer/modal-footer.component.tsx","src/components/atoms/modal/header/modal-header.component.css?tag=p-modal-header&encapsulation=shadow","src/components/atoms/modal/header/modal-header.component.tsx"],"sourcesContent":["","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst body = cva('bg-white dark:bg-hurricane-600 p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]',\n\t\t\tfalse: 'pb-4',\n\t\t},\n\t\troundedTop: {\n\t\t\ttrue: 'rounded-t-lg desktop-xs:rounded-t-2xl',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-modal-body',\n\tstyleUrl: 'modal-body.component.css',\n\tshadow: true,\n})\nexport class ModalBody {\n\t/**\n\t * Wether the modal body should be rounded at the bottom\n\t */\n\t@Prop() roundedBottom: boolean = false;\n\n\t/**\n\t * Wether the modal body should be rounded at the top\n\t */\n\t@Prop() roundedTop: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={body({\n\t\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\t\troundedTop: this.roundedTop,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n",":host {\n\t@apply flex w-full justify-center desktop-xs:m-auto;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst container = cva(\n\t[\n\t\t'flex-1 min-w-0 w-full',\n\n\t\t'z-modal flex flex-col',\n\t\t'rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl',\n\n\t\t'max-h-[calc(100dvh-4rem)]',\n\n\t\t'shadow-modal',\n\n\t\t'dark:border-hurricane-400 dark:border dark:border-solid',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\txs: 'tablet:max-w-[20rem]',\n\t\t\t\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[41rem]',\n\t\t\t\txl: 'tablet:max-w-[45rem]',\n\t\t\t\t'2xl': 'tablet:max-w-[65rem]',\n\t\t\t},\n\t\t\tclosing: {\n\t\t\t\tfalse:\n\t\t\t\t\t'animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small',\n\t\t\t\ttrue: 'animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-modal-container',\n\tstyleUrl: 'modal-container.component.css',\n\tshadow: true,\n})\nexport class ModalContainer {\n\t/**\n\t * The size of the modal container\n\t */\n\t@Prop() size: 'xs' | 'base' | 'lg' | 'xl' | '2xl' = 'base';\n\n\t/**\n\t * Wether the container is closing\n\t */\n\t@Prop() closing: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div\n\t\t\t\t\tclass={container({\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tclosing: asBoolean(this.closing),\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, h } from '@stencil/core';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\n@Component({\n\ttag: 'p-modal-footer',\n\tstyleUrl: 'modal-footer.component.css',\n\tshadow: true,\n})\nexport class ModalFooter {\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class='flex flex-col rounded-b-none bg-white px-4 pb-[calc(env(safe-area-inset-bottom)+1rem)] desktop-xs:rounded-b-2xl dark:bg-hurricane-600'>\n\t\t\t\t\t<p-divider class='mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10' />\n\n\t\t\t\t\t<div class='flex flex-col gap-4 tablet:flex-row'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n","","import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { ThemedHost } from '../../../../internal/themed-host.component';\n\nconst header = cva([\n\t'w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1] max-h-28',\n]);\n\nconst content = cva(['flex justify-end', 'w-full p-4 pb-0 h-12']);\n\nconst title = cva([\n\t'flex-1 text-center',\n\t'w-[calc(100%-7rem)]',\n\t'absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2',\n\t'text-storm-500 dark:text-white text-2xl text-ambit font-bold',\n]);\n\n@Component({\n\ttag: 'p-modal-header',\n\tstyleUrl: 'modal-header.component.css',\n\tshadow: true,\n})\nexport class ModalHeader {\n\t/**\n\t * Wether to show the close button on mobile\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclose: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\treturn (\n\t\t\t<ThemedHost>\n\t\t\t\t<div class={header()}>\n\t\t\t\t\t<div class={content()}>\n\t\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t\t<slot />\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t\t></p-button>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-smile class='dark:text-hurricane-400' />\n\t\t\t\t</div>\n\t\t\t</ThemedHost>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -52,7 +52,7 @@ const Navbar = class {
52
52
  }
53
53
  _show = false;
54
54
  render() {
55
- 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' }))));
55
+ 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' }))));
56
56
  }
57
57
  handleCloseNavbar() {
58
58
  this._show = false;
@@ -84,13 +84,13 @@ const NavigationItem = class {
84
84
  render() {
85
85
  const TagType = this.as;
86
86
  const active = asBoolean(this.active) || this.class?.includes('active');
87
- return (h(ThemedHost, { key: '00fe55de2abc63e7d21eb25af9185a2218409fcf', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '9b604e531a822b7f83ade8b27f9905d5e32c38f3', class: navigationItem({
87
+ return (h(ThemedHost, { key: '2d29f70e6ec2ba062b2ce4f2757f705cfad3ae12', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: '04332bd09399e88de1e58218c7de4e56357d0836', class: navigationItem({
88
88
  icon: !!this.icon,
89
89
  active,
90
- }), 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({
90
+ }), 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({
91
91
  'has-counter': !!this.counter,
92
92
  'w-full': this.applyFullWidth,
93
- }) }, 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' }))));
93
+ }) }, 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' }))));
94
94
  }
95
95
  };
96
96
  NavigationItem.style = navigationItemComponentCss;
@@ -13,7 +13,7 @@ const NavigationSection = class {
13
13
  */
14
14
  header;
15
15
  render() {
16
- 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' }))));
16
+ 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' }))));
17
17
  }
18
18
  };
19
19
  NavigationSection.style = navigationSectionComponentCss;
@@ -9,7 +9,7 @@ const NavigationTitle = class {
9
9
  registerInstance(this, hostRef);
10
10
  }
11
11
  render() {
12
- return (h(ThemedHost, { key: 'f3d6d809388f27fe635eb349290cdcdacdc99225', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, h("slot", { key: '44cc6e1b29749948ceb8061c2852e63c159f54dd' })));
12
+ return (h(ThemedHost, { key: '8bd3f47ac1320f48f32a095a9b956802c8ebe41b', class: 'text-xs font-medium text-storm-300 dark:text-hurricane-200' }, h("slot", { key: '10d0d20f74e93d280a5710acf968ba0ebfebe725' })));
13
13
  }
14
14
  };
15
15
  NavigationTitle.style = navigationTitleComponentCss;
@@ -96,12 +96,12 @@ const PaginationPagesItem = class {
96
96
  */
97
97
  disabled = false;
98
98
  render() {
99
- return (h(ThemedHost, { key: 'cb92598fa1cd1d271ffe54d9592046cc63b51a10' }, h("div", { key: 'a67327112fac045a8a037470537e5265dd2f8291', class: item({
99
+ return (h(ThemedHost, { key: '555a0fa51eade8039be2c42060999de6117aaeb2' }, h("div", { key: '2406dbdf07c77775429beb5c30dac387ab22ee95', class: item({
100
100
  variant: this.variant ?? 'default',
101
101
  active: asBoolean(this.active),
102
102
  hover: asBoolean(this.hover, true),
103
103
  disabled: asBoolean(this.disabled),
104
- }) }, h("slot", { key: '9bd0eff42ab3289584a592e120267171d531609e' }))));
104
+ }) }, h("slot", { key: 'bbbf3cbffbbe6464dbab35bcc4b09d12cd983984' }))));
105
105
  }
106
106
  };
107
107
  PaginationPagesItem.style = paginationPagesItemComponentCss;
@@ -75,12 +75,12 @@ const Pagination = class {
75
75
  _hasPaginationPages = true;
76
76
  render() {
77
77
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
78
- return (h(ThemedHost, { key: '1bb03df49f4d8b9950e0faf80cf9bf5c6570c46b' }, h("div", { key: '7e27be458d9f809605cbd51960d4a8643f55e4cb', class: pagination$1({
78
+ return (h(ThemedHost, { key: 'a559316eebf880454bea768eba343b67de16b5e7' }, h("div", { key: 'fbabe3134439dc52c661751a79039aecbbebe659', class: pagination$1({
79
79
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
80
80
  (!this.enablePaginationSize && !this.enablePaginationPages),
81
- }) }, 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 &&
81
+ }) }, 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 &&
82
82
  this.hideOnSinglePage &&
83
- 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 }) => {
83
+ 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 }) => {
84
84
  this._hasPaginationPages = detail > 1;
85
85
  this.pagesChange.emit(detail);
86
86
  } })))));
@@ -141,7 +141,7 @@ const PaginationPages = class {
141
141
  this._generate();
142
142
  }
143
143
  render() {
144
- return (h(ThemedHost, { key: '9fc6250a834947887a822426decfe9add0f61c63' }, h("div", { key: '2f325d83cd151044606bebeabde5d75847e81da4', class: pagination({
144
+ return (h(ThemedHost, { key: 'fac924cdf7545478c541427ebe8d888e19a01598' }, h("div", { key: '924356249ec8d6ba2ec4d215f122ce3d5f605a17', class: pagination({
145
145
  hidden: this.hideOnSinglePage && this._set?.length === 3,
146
146
  }) }, this._set?.map(p => {
147
147
  if (p.type === 'previous' || p.type === 'next') {
@@ -33,7 +33,7 @@ const Profile = class {
33
33
  }
34
34
  render() {
35
35
  const content = this._getContent();
36
- 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)));
36
+ 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)));
37
37
  }
38
38
  slotchange() {
39
39
  this._checkDropdownSlot();
@@ -107,11 +107,11 @@ const Radio = class {
107
107
  }
108
108
  render() {
109
109
  const id = this.id?.length ? this.id : this._nonce;
110
- return (h(ThemedHost, { key: 'af21f3c0bce6935099cd54750731276249a24822' }, h("label", { key: '5984975742e21ee7c6fc09fd82ea205cfece716e', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: 'eeccfd7e1021952593aaa983a85e5bf589bf541e', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '6058c9a392cbe56df8220d763ee6315d65b6b484', class: radio({
110
+ return (h(ThemedHost, { key: 'f9b9a3ad55850a67e2a286f3f761fb5d614025e9' }, h("label", { key: '0d00004f5c295b4e9505a6b695432f005324ba4e', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: 'c2bdcc86dcb8e9a37a72f9ddb3917de59b72757f', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '99a60dc75b42a201a7555262f6f5b25777b2d15b', class: radio({
111
111
  disabled: asBoolean(this.disabled),
112
- }), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'cda453f447ba483005d302bf93fffbc6acac5439', class: circle({
112
+ }), type: 'radio', id: id, name: this.name, required: this.required, value: this.value, checked: this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: 'e42e2c008829fda3b56df89b3bff82c7b913a68e', class: circle({
113
113
  disabled: asBoolean(this.disabled),
114
- }) })), h("div", { key: '7b919e5d5abe866eed9ee125a11c96554f0e6d41', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: '32edb6a8638e58c8bfcd591208d2bb7b8696a2c9' })))));
114
+ }) })), h("div", { key: '48d408a5e1f2eb1eb6d84abf1d00a64c6a8887e0', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: 'afc723f6916b1b2ef2eaf7619b35190b60ecb85d' })))));
115
115
  }
116
116
  _onChange(ev) {
117
117
  if (asBoolean(this.disabled)) {
@@ -31,13 +31,13 @@ const Range = class {
31
31
  valueChange;
32
32
  render() {
33
33
  const percentage = Math.round((this.value / (this.max - this.min)) * 100);
34
- 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 => {
34
+ 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 => {
35
35
  const value = ev.target.value;
36
36
  this.value = parseFloat(value);
37
37
  this.valueChange.emit(value);
38
- } }), h("div", { key: '31731dfb11b02a81d8d504a2fc6ccbd78ddfad9a', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
38
+ } }), h("div", { key: '8c247df11ce56689438e3edf381972b95360f7cf', class: 'z-1 absolute left-0 top-1/2 h-[2px] -translate-y-1/2 transform bg-indigo-600', style: {
39
39
  width: `calc(${percentage}% - (1rem * ${percentage} / 100))`,
40
- } })), h("p-icon", { key: '353399656b5daf4016ea8e654955c785e33aa687', variant: 'plus' }))));
40
+ } })), h("p-icon", { key: '10738ff8b64a0d3c0d354c166c80175876a1195b', variant: 'plus' }))));
41
41
  }
42
42
  };
43
43
  Range.style = rangeComponentCss;
@@ -339,8 +339,8 @@ const Select = class {
339
339
  if (this.error?.length) {
340
340
  buttonIcon = 'warning';
341
341
  }
342
- 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 &&
343
- 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()))));
342
+ 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 &&
343
+ 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()))));
344
344
  }
345
345
  documentClickHandler(event) {
346
346
  if (!this._showDropdown || childOfComposed(event, this._el)) {
@@ -49,7 +49,7 @@ const Smile = class {
49
49
  */
50
50
  variant = 'modal';
51
51
  render() {
52
- return (h(Host, { key: '379dc29db06c022c2dbef122ed613ad03e2300af', class: smile({ variant: this.variant }) }, h("div", { key: '855c5157e048bed7890051f66772614404f49cf0', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
52
+ return (h(Host, { key: '3064c59cec6290ebbed66c176b8cce2b40319b7e', class: smile({ variant: this.variant }) }, h("div", { key: '4cd443a43af0b3c95a449338261314587adcba9f', class: svg({ variant: this.variant }), innerHTML: smileSvg })));
53
53
  }
54
54
  };
55
55
  Smile.style = smileComponentCss;
@@ -143,19 +143,19 @@ const StepperItem = class {
143
143
  */
144
144
  active = false;
145
145
  render() {
146
- return (h(ThemedHost, { key: 'fdd0877ef2158fc17ee2d1bddb457b8715900f40' }, h("div", { key: '70dbcaa5829d8db35b90a69ceb8f7110350c02c1', class: item({
146
+ return (h(ThemedHost, { key: 'a0cdb6170da994966fa0b5e974c6726ed79fedfe' }, h("div", { key: 'd044e8ff0e75e2b84701172b8ab009e67e852e42', class: item({
147
147
  align: this.align,
148
148
  contentPosition: this.contentPosition,
149
- }) }, h("div", { key: '6c4f8ee7aa96f25b52c0ed9a63f75b306238c5bc', class: circle({
149
+ }) }, h("div", { key: '3338b84b066d0914e7bc4a957978d67a7d5a0f71', class: circle({
150
150
  align: this.align,
151
151
  direction: this.direction,
152
152
  active: asBoolean(this.active),
153
153
  finished: asBoolean(this.finished),
154
- }) }, this.number), h("div", { key: '9ccce50fb7dd83095c670ad6d0530a478c63832f', class: content({
154
+ }) }, this.number), h("div", { key: '9d1bd3507e2d27eba1f72d719d17a7d823a9aac1', class: content({
155
155
  active: asBoolean(this.active),
156
156
  finished: asBoolean(this.finished),
157
157
  direction: this.direction,
158
- }) }, h("slot", { key: 'fd838d24bb8957b65a1bb92f0b7d27ca5034b629' })))));
158
+ }) }, h("slot", { key: 'f38c3877088ec7ab48580292269e5d6462ac3d14' })))));
159
159
  }
160
160
  };
161
161
  StepperItem.style = stepperItemComponentCss;
@@ -175,7 +175,7 @@ const StepperLine = class {
175
175
  */
176
176
  direction = 'horizontal';
177
177
  render() {
178
- return h(ThemedHost, { key: 'c9111e0a2e8f717599dfa3571c3c375eaa8168ff' });
178
+ return h(ThemedHost, { key: '2d5e91e9457c9dd485bb959fd8df29f9a3fed3d7' });
179
179
  }
180
180
  };
181
181
  StepperLine.style = stepperLineComponentCss;
@@ -7,7 +7,7 @@ const TabContainer = class {
7
7
  registerInstance(this, hostRef);
8
8
  }
9
9
  render() {
10
- return (h("div", { key: '49ac145391ba0236dd19b0ee6ac55ba1edefd3d1', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: 'ed5455e84d6aef22e56ac30267401c94bfd2e06d', class: 'scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto' }, h("slot", { key: 'bd6f38f46cae2de36da42ca7d152856558f4758a' })), h("p-divider", { key: 'bfa7785fbfe8a2ae91550ca39cbf6255f53ab338', class: 'absolute bottom-0 left-0 m-0 w-full text-off-white-700 dark:text-hurricane-400' })));
10
+ return (h("div", { key: '53c12718391c1a31581beb5c3a4ffc9818fe454e', class: 'relative flex h-8 w-full flex-col' }, h("div", { key: '26fba80da409da4c8c7def2a8f74752906b80140', class: 'scrollbar-hide z-10 flex w-full gap-5 overflow-x-auto' }, h("slot", { key: '15204a9a43deb18eb87e68a523eb9a5db1c20051' })), h("p-divider", { key: 'd974d4dbf0e87f691911ba21a04f0b48bdc71abe', class: 'absolute bottom-0 left-0 m-0 w-full text-off-white-700 dark:text-hurricane-400' })));
11
11
  }
12
12
  };
13
13
  TabContainer.style = tabContainerComponentCss;
@@ -30,7 +30,7 @@ const TabItem = class {
30
30
  */
31
31
  active = false;
32
32
  render() {
33
- return (h(ThemedHost, { key: '870a668e048ad688fdb527b3974ae8465d3d1b42' }, h("div", { key: '25332d3c039724ab5c680df5f201a369d73fe1b5', class: item({ active: this.active }) }, h("slot", { key: '4f2eeac4098c911fefdfc39fcb21da3f4a94c1b0' }))));
33
+ return (h(ThemedHost, { key: 'fdf24e0ba395fe0b5ca7328403e51a3d3793fbba' }, h("div", { key: '6ef7c87520ffe3638c958140cf9c022016d8994f', class: item({ active: this.active }) }, h("slot", { key: '79e35cec4779852e59cbe8f36487fb7f0a349a3e' }))));
34
34
  }
35
35
  };
36
36
  TabItem.style = tabItemComponentCss;
@@ -41,9 +41,9 @@ const ToastContainer = class {
41
41
  */
42
42
  placement = 'top-end';
43
43
  render() {
44
- return (h("div", { key: 'fcb719e8f7fceddbaf8742247b1013ce05e6f19c', class: container({
44
+ return (h("div", { key: '6f60b82fbb98413ee5f1a790073051c1b5706d71', class: container({
45
45
  placement: this.placement,
46
- }) }, h("slot", { key: '7dd552faa35c32053d345c562c8b9dae7bbdc9b6' })));
46
+ }) }, h("slot", { key: '871840af368ee9c8ebc9dd4f9af4ee64667d761a' })));
47
47
  }
48
48
  };
49
49
  ToastContainer.style = toastContainerComponentCss;
@@ -58,7 +58,7 @@ const Toast = class {
58
58
  */
59
59
  action;
60
60
  render() {
61
- 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 })))))));
61
+ 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 })))))));
62
62
  }
63
63
  _onClick() {
64
64
  if (this.enableAction) {
@@ -105,11 +105,11 @@ const Toggle = class {
105
105
  }
106
106
  render() {
107
107
  const id = this.id?.length ? this.id : this._nonce;
108
- return (h(ThemedHost, { key: '96f0bace68254e18f19a5823909b8ebb3d79d7b9' }, h("label", { key: '46c71853dfe198b2ef56b0e981c9b25cb30bb1a6', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '241e4ffe85d8fd3927d4c977b0d5a043bd9c3b6e', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: 'd414fdc1adbc1724441ed9898a868429d57dd364', class: toggle({
108
+ return (h(ThemedHost, { key: 'e8210bb1bd56de350cb328034d548c82554382b8' }, h("label", { key: '908f4f6bd88c86f2196218d906c2738e43bd9d07', htmlFor: id, class: 'flex items-center justify-start gap-2' }, h("div", { key: '116eeaf381ef72fc78a2b410f5e99984638d7118', class: 'group/p-toggle relative flex flex-shrink-0 items-center' }, h("input", { key: '0949fc3652a55e3f3ff6900014b84ec7856d22e4', class: toggle({
109
109
  disabled: asBoolean(this.disabled),
110
- }), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '3bd4204a399a2fbc0fc320fbde03bc7213a85b0d', class: circle({
110
+ }), type: 'checkbox', id: id, name: this.name, required: this.required, checked: !!this.checked, disabled: asBoolean(this.disabled), onChange: ev => this._onChange(ev) }), h("div", { key: '754521664780143c8e7cc801f382d948f1c44056', class: circle({
111
111
  disabled: asBoolean(this.disabled),
112
- }) })), h("div", { key: '64254095a9b0fc452216b987b293292aa5af4bb2', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: '5835b5bbddf4e25c02882bd4edc5620fe0093e52' })))));
112
+ }) })), h("div", { key: 'a43f79a4dfab4e81829f5b74a8ce784645e750d0', class: 'flex-1 overflow-hidden text-ellipsis empty:hidden dark:text-white' }, h("slot", { key: 'f91641ae764a55fd924c24f109fbf07cb0ec023d' })))));
113
113
  }
114
114
  _onChange(ev) {
115
115
  if (asBoolean(this.disabled)) {
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-844af0db.js"><link rel="modulepreload" href="/build/p-BIwGgs9f.js"><link rel="modulepreload" href="/build/p-C1iNEsnH.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CT54OXR2.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-Dpmiv2da.js"><link rel="modulepreload" href="/build/p-XC2VDWby.js"><script type="module" src="/build/p-844af0db.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link rel="stylesheet" href="/build/p-1536d957.css"> </head> <body> <p-button>Test</p-button> <script data-build="2025-09-22T11:49:17">
1
+ <!doctype html><html dir="ltr" lang="en"><head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=5.0"> <title>Stencil Component Starter</title> <link rel="modulepreload" href="/build/p-006ce9e2.js"><link rel="modulepreload" href="/build/p-BIwGgs9f.js"><link rel="modulepreload" href="/build/p-C1iNEsnH.js"><link rel="modulepreload" href="/build/p-C5CTp9IA.js"><link rel="modulepreload" href="/build/p-CBWjHURv.js"><link rel="modulepreload" href="/build/p-CT54OXR2.js"><link rel="modulepreload" href="/build/p-ChV9xqsO.js"><link rel="modulepreload" href="/build/p-Dpmiv2da.js"><link rel="modulepreload" href="/build/p-XC2VDWby.js"><script type="module" src="/build/p-006ce9e2.js" data-stencil data-resources-url="/build/" data-stencil-namespace="paperless"></script> <script nomodule="" src="/build/paperless.js" data-stencil></script> <link rel="stylesheet" href="/build/p-1536d957.css"> </head> <body> <p-button>Test</p-button> <script data-build="2025-09-22T13:37:58">
2
2
  if ('serviceWorker' in navigator && location.protocol !== 'file:') {
3
3
  window.addEventListener('load', function() {
4
4
  navigator.serviceWorker.register('/sw.js')
@@ -1,2 +1,2 @@
1
- import{r as t,c as e,h as r}from"./p-Dpmiv2da.js";import{T as a}from"./p-C1iNEsnH.js";import{c as i}from"./p-CT54OXR2.js";import"./p-BIwGgs9f.js";import"./p-ChV9xqsO.js";const o="*{box-sizing:border-box}.static{position:static!important}.my-0{margin-bottom:0!important;margin-top:0!important}.mt-4{margin-top:1rem!important}.flex{display:flex!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.font-medium{font-weight:500!important}.text-hurricane-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}.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-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-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const p=class{constructor(r){t(this,r);this.isOpen=e(this,"isOpen",3)}variant="primary";header;open=false;closeable=true;openable=true;isOpen;render(){return r(a,{key:"0d4727e14d3ac0003eb92ed1fef2b5c3550b5b1e"},r("div",{key:"64d6399372ba32e67835650ccff6c77932ac6948",class:i("flex cursor-pointer items-center gap-2",{"text-storm-500 dark:text-white":this.variant==="primary","text-storm-300 dark:text-hurricane-200":this.variant==="secondary"}),onClick:()=>this._onClick()},r("p-icon",{key:"cdd5eb390ba766d29aceace7e6d8d48925d9cbdb",class:"flex shrink-0",variant:"caret",rotate:this.open?0:-90}),r("p",{key:"5346b36f85cf39cbce85f83fd4017a45f0e7c7a9",class:"my-0 shrink-0 whitespace-nowrap text-base font-medium"},this.header),r("p-divider",{key:"43fd7b8f63c7c642d994f48bbf196335df16450b",class:"flex-1"})),this.open&&r("div",{key:"d1cd1854c8014d772decbb06522f98775a7ba3cf",class:"mt-4"},r("slot",{key:"863e6f867dc6f8f2db1a774fd39e1e70b64222a2"})))}_onClick(){if(!this.closeable&&this.open){return}if(!this.openable&&!this.open){return}this.open=!this.open;this.isOpen.emit(this.open)}};p.style=o;export{p as p_accordion};
2
- //# sourceMappingURL=p-f176e285.entry.js.map
1
+ import{r as t,c as a,h as r}from"./p-Dpmiv2da.js";import{T as e}from"./p-C1iNEsnH.js";import{c as i}from"./p-CT54OXR2.js";import"./p-BIwGgs9f.js";import"./p-ChV9xqsO.js";const o="*{box-sizing:border-box}.static{position:static!important}.my-0{margin-bottom:0!important;margin-top:0!important}.mt-4{margin-top:1rem!important}.flex{display:flex!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.whitespace-nowrap{white-space:nowrap!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.font-medium{font-weight:500!important}.text-hurricane-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}.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-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-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const p=class{constructor(r){t(this,r);this.isOpen=a(this,"isOpen",3)}variant="primary";header;open=false;closeable=true;openable=true;isOpen;render(){return r(e,{key:"12fbff336768433948b9d384528d595808295fb9"},r("div",{key:"d49e477d32da230a91eda03f8d4ba2e56bf3daed",class:i("flex cursor-pointer items-center gap-2",{"text-storm-500 dark:text-white":this.variant==="primary","text-storm-300 dark:text-hurricane-200":this.variant==="secondary"}),onClick:()=>this._onClick()},r("p-icon",{key:"145e3327d49ae7b660175ca886b2248aba1c8054",class:"flex shrink-0",variant:"caret",rotate:this.open?0:-90}),r("p",{key:"ac26cc99a24c03c9dba432f737616bcfcab7b313",class:"my-0 shrink-0 whitespace-nowrap text-base font-medium"},this.header),r("p-divider",{key:"f99a5a61e0f1d8d06e4adcd1fad6860607162185",class:"flex-1"})),this.open&&r("div",{key:"1ea4d6ab9fb6991971c460b452b7d95a19f56b36",class:"mt-4"},r("slot",{key:"f126b1599886ccc3a6db40c15a2c8874bc62b012"})))}_onClick(){if(!this.closeable&&this.open){return}if(!this.openable&&!this.open){return}this.open=!this.open;this.isOpen.emit(this.open)}};p.style=o;export{p as p_accordion};
2
+ //# sourceMappingURL=p-0762dca2.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,g as i,h as e}from"./p-Dpmiv2da.js";import{c as s}from"./p-CT54OXR2.js";import"./p-ChV9xqsO.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.gap-1{gap:.25rem!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}";const o=class{constructor(i){t(this,i)}get _el(){return i(this)}_generatedOnce=false;_generateTimeout;_resizeObserver;componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateLinesOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return e("div",{key:"e954f284515928191687375a05d5208ee17ffbe3",class:s("flex w-full flex-col flex-wrap items-start gap-1",{"opacity-100":this._generatedOnce,"opacity-0":!this._generatedOnce})},e("slot",{key:"039dbd2fd4e623de55b5ff54be2b52a4a1f91ad6",onSlotchange:()=>this._generateLinesOnce()}))}_generateLinesOnce(){if(this._generateTimeout){clearTimeout(this._generateTimeout);this._generateTimeout=null}this._generateTimeout=setTimeout((()=>this._generateLines()),20)}_generateLines(){if(!this._el){return}const t=this._el.querySelectorAll("p-listing-item");for(let i=0;i<t?.length;i++){const e=t.item(i);if(i<t.length-1){let t=e.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){const i=document.createElement("p-listing-line");this._el.insertBefore(i,t);this._setLineData(i,e,t);const s=i.previousElementSibling;if(s&&s.tagName.toLowerCase()==="p-listing-line"){s.remove()}continue}if(t&&t.tagName.toLowerCase()==="p-listing-line"){const i=t;t=t.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){this._setLineData(i,e,t)}}}}const i=this._el.querySelectorAll("p-listing-line:not(:has(+ p-listing-item)), p-listing-line:first-child");for(let t=i.length-1;t>=0;t--){const e=i.item(t);e.remove()}if(!this._generatedOnce){setTimeout((()=>this._generatedOnce=true),50)}}_setLineData(t,i,e){let s=(i.clientHeight-16)/2;let n=(e.clientHeight-16)/2;if(s>0){let i=s+n;t.style.marginTop=`-${s/16}rem`;t.style.marginBottom=`-${n/16}rem`;t.style.minHeight=`calc(1.5rem + ${(i-16)/16}rem)`}}};o.style=n;export{o as p_listing};
2
- //# sourceMappingURL=p-2c28248e.entry.js.map
1
+ import{r as t,g as i,h as e}from"./p-Dpmiv2da.js";import{c as s}from"./p-CT54OXR2.js";import"./p-ChV9xqsO.js";const n="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.flex-wrap{flex-wrap:wrap!important}.items-start{align-items:flex-start!important}.gap-1{gap:.25rem!important}.opacity-0{opacity:0!important}.opacity-100{opacity:1!important}";const o=class{constructor(i){t(this,i)}get _el(){return i(this)}_generatedOnce=false;_generateTimeout;_resizeObserver;componentDidLoad(){this._resizeObserver=new ResizeObserver((()=>this._generateLinesOnce()));this._resizeObserver.observe(this._el)}disconnectCallback(){if(this._resizeObserver){this._resizeObserver.disconnect()}}render(){return e("div",{key:"fa1711147b6dad9acbbd5b5a5fb798299e22bf2a",class:s("flex w-full flex-col flex-wrap items-start gap-1",{"opacity-100":this._generatedOnce,"opacity-0":!this._generatedOnce})},e("slot",{key:"8e3b03479567559ba00e7839e7f9555d142f520c",onSlotchange:()=>this._generateLinesOnce()}))}_generateLinesOnce(){if(this._generateTimeout){clearTimeout(this._generateTimeout);this._generateTimeout=null}this._generateTimeout=setTimeout((()=>this._generateLines()),20)}_generateLines(){if(!this._el){return}const t=this._el.querySelectorAll("p-listing-item");for(let i=0;i<t?.length;i++){const e=t.item(i);if(i<t.length-1){let t=e.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){const i=document.createElement("p-listing-line");this._el.insertBefore(i,t);this._setLineData(i,e,t);const s=i.previousElementSibling;if(s&&s.tagName.toLowerCase()==="p-listing-line"){s.remove()}continue}if(t&&t.tagName.toLowerCase()==="p-listing-line"){const i=t;t=t.nextElementSibling;if(t&&t.tagName.toLowerCase()==="p-listing-item"){this._setLineData(i,e,t)}}}}const i=this._el.querySelectorAll("p-listing-line:not(:has(+ p-listing-item)), p-listing-line:first-child");for(let t=i.length-1;t>=0;t--){const e=i.item(t);e.remove()}if(!this._generatedOnce){setTimeout((()=>this._generatedOnce=true),50)}}_setLineData(t,i,e){let s=(i.clientHeight-16)/2;let n=(e.clientHeight-16)/2;if(s>0){let i=s+n;t.style.marginTop=`-${s/16}rem`;t.style.marginBottom=`-${n/16}rem`;t.style.minHeight=`calc(1.5rem + ${(i-16)/16}rem)`}}};o.style=n;export{o as p_listing};
2
+ //# sourceMappingURL=p-13549fce.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,c as a,h as r}from"./p-Dpmiv2da.js";import{c as e}from"./p-CBWjHURv.js";import{T as o}from"./p-C1iNEsnH.js";import"./p-ChV9xqsO.js";import"./p-BIwGgs9f.js";const i="*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.flex{display:flex!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-indigo-800{--tw-bg-opacity:1!important;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!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{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.hover\\:text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))!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-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\\:border-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-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-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const d=e("w-[2px] rounded-full h-9 flex-shrink-0",{variants:{variant:{neutral:"bg-indigo-800 dark:bg-indigo-400",positive:"bg-positive-green-500 dark:bg-positive-green-alternative",biased:"bg-amber-500 dark:bg-amber-alternative",negative:"bg-negative-red-500 dark:bg-negative-red-alternative"}}});const n=e(["flex justify-between items-center gap-2","w-[calc(100%-2px-0.5rem)]"]);const p=class{constructor(r){t(this,r);this.action=a(this,"action",3)}variant="positive";header;content;enableAction=true;actionIcon="negative";actionIconFlip;actionIconRotate;action;render(){return r(o,{key:"1d3d5ff149959ae2dfd4faf192e385befcfd281e"},r("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()},r("div",{key:"89320334df8de8937a008c74c88db83cd1170dc7",class:d({variant:this.variant})}),r("div",{key:"d246b279889a9c4a11b0cad5b929c6d3d15f022b",class:n()},r("div",{key:"58d0092ea7e71fcf90e7a3e2150cc27ffdab3b4b",class:"flex w-full min-w-0 flex-col"},r("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:r("slot",{name:"header"})),r("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:r("slot",{name:"content"}))),this.enableAction&&r("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"},r("p-icon",{key:"f9a88408b5e6b9f7babf01506fce4f070e106112",variant:this.actionIcon,flip:this.actionIconFlip,rotate:this.actionIconRotate})))))}_onClick(){if(this.enableAction){this.action.emit()}}};p.style=i;export{p as p_toast};
2
- //# sourceMappingURL=p-598fae40.entry.js.map
1
+ import{r as t,c as r,h as a}from"./p-Dpmiv2da.js";import{c as e}from"./p-CBWjHURv.js";import{T as o}from"./p-C1iNEsnH.js";import"./p-ChV9xqsO.js";import"./p-BIwGgs9f.js";const i="*{box-sizing:border-box}.static{position:static!important}.m-0{margin:0!important}.flex{display:flex!important}.h-9{height:2.25rem!important}.w-\\[2px\\]{width:2px!important}.w-\\[calc\\(100\\%-2px-0\\.5rem\\)\\]{width:calc(100% - 2px - .5rem)!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-shrink-0{flex-shrink:0!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-storm-100{--tw-border-opacity:1!important;border-color:rgb(209 210 212/var(--tw-border-opacity,1))!important}.bg-amber-500{--tw-bg-opacity:1!important;background-color:rgb(225 159 35/var(--tw-bg-opacity,1))!important}.bg-indigo-800{--tw-bg-opacity:1!important;background-color:rgb(27 88 210/var(--tw-bg-opacity,1))!important}.bg-negative-red-500{--tw-bg-opacity:1!important;background-color:rgb(230 30 30/var(--tw-bg-opacity,1))!important}.bg-positive-green-500{--tw-bg-opacity:1!important;background-color:rgb(92 195 14/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!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{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.shadow-2{--tw-shadow:0 1px 1px rgba(0,2,2,.04),0 2px 2px rgba(0,2,2,.04),0 4px 4px rgba(0,2,2,.04)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.hover\\:text-storm-500:hover{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.hover\\:text-white:hover{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.dark\\:border-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-opacity,1))!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-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\\:border-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-border-opacity:1!important;border-color:rgb(24 30 41/var(--tw-border-opacity,1))!important}.dark\\:bg-amber-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 231 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-800:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(24 30 41/var(--tw-bg-opacity,1))!important}.dark\\:bg-indigo-400:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(165 194 252/var(--tw-bg-opacity,1))!important}.dark\\:bg-negative-red-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(255 92 92/var(--tw-bg-opacity,1))!important}.dark\\:bg-positive-green-alternative:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(98 255 92/var(--tw-bg-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-white:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}";const d=e("w-[2px] rounded-full h-9 flex-shrink-0",{variants:{variant:{neutral:"bg-indigo-800 dark:bg-indigo-400",positive:"bg-positive-green-500 dark:bg-positive-green-alternative",biased:"bg-amber-500 dark:bg-amber-alternative",negative:"bg-negative-red-500 dark:bg-negative-red-alternative"}}});const n=e(["flex justify-between items-center gap-2","w-[calc(100%-2px-0.5rem)]"]);const p=class{constructor(a){t(this,a);this.action=r(this,"action",3)}variant="positive";header;content;enableAction=true;actionIcon="negative";actionIconFlip;actionIconRotate;action;render(){return a(o,{key:"d0cacbaaf93bfb9f98061e16892ad1c9331f98e0"},a("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()},a("div",{key:"92dbc67246e8cea086e66598a966b424c1783380",class:d({variant:this.variant})}),a("div",{key:"c556f645622a403241fd30501b6e584659a1c28f",class:n()},a("div",{key:"9d71be40edbbececfe7b2bf07fcf12e4dd2d0775",class:"flex w-full min-w-0 flex-col"},a("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:a("slot",{name:"header"})),a("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:a("slot",{name:"content"}))),this.enableAction&&a("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"},a("p-icon",{key:"daf1bf85797180442d76fe75c261e21ddc4d15da",variant:this.actionIcon,flip:this.actionIconFlip,rotate:this.actionIconRotate})))))}_onClick(){if(this.enableAction){this.action.emit()}}};p.style=i;export{p as p_toast};
2
+ //# sourceMappingURL=p-168e8d5c.entry.js.map