@paperless/core 2.13.0 → 2.13.2

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 (93) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/build/p-64ec4159.entry.js +2 -0
  3. package/dist/build/p-64ec4159.entry.js.map +1 -0
  4. package/dist/build/p-68061d5f.entry.js +2 -0
  5. package/dist/build/p-68061d5f.entry.js.map +1 -0
  6. package/dist/build/p-94dae829.entry.js +2 -0
  7. package/dist/build/p-94dae829.entry.js.map +1 -0
  8. package/dist/build/{p-8763f427.js → p-caf7588c.js} +1 -1
  9. package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  10. package/dist/build/p-datepicker.entry.esm.js.map +1 -1
  11. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  12. package/dist/build/paperless.esm.js +1 -1
  13. package/dist/cjs/loader.cjs.js +1 -1
  14. package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
  15. package/dist/cjs/p-checkbox_4.cjs.entry.js +13 -4
  16. package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
  17. package/dist/cjs/p-datepicker.cjs.entry.js +3 -3
  18. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  19. package/dist/cjs/p-datepicker.entry.cjs.js.map +1 -1
  20. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  21. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  22. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  23. package/dist/cjs/paperless.cjs.js +1 -1
  24. package/dist/collection/components/atoms/modal/body/modal-body.component.css +1 -1
  25. package/dist/collection/components/atoms/modal/body/modal-body.component.js +3 -3
  26. package/dist/collection/components/atoms/modal/body/modal-body.component.js.map +1 -1
  27. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  28. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  29. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  30. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  31. package/dist/collection/components/molecules/dropdown/dropdown.component.js +32 -3
  32. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  33. package/dist/components/{p-CqFZBBF9.js → p-BC5v68Iz.js} +6 -6
  34. package/dist/components/p-BC5v68Iz.js.map +1 -0
  35. package/dist/components/{p-CfI6suo1.js → p-CcbnUOou.js} +17 -7
  36. package/dist/components/p-CcbnUOou.js.map +1 -0
  37. package/dist/components/{p-Di1xH1f1.js → p-Ce9I3qVv.js} +5 -5
  38. package/dist/components/{p-Di1xH1f1.js.map → p-Ce9I3qVv.js.map} +1 -1
  39. package/dist/components/{p-BeT6ilew.js → p-D-zWGvwF.js} +3 -3
  40. package/dist/components/{p-BeT6ilew.js.map → p-D-zWGvwF.js.map} +1 -1
  41. package/dist/components/{p-BOg3d2n1.js → p-FkqC-SVE.js} +4 -4
  42. package/dist/components/{p-BOg3d2n1.js.map → p-FkqC-SVE.js.map} +1 -1
  43. package/dist/components/p-datepicker.js +4 -4
  44. package/dist/components/p-datepicker.js.map +1 -1
  45. package/dist/components/p-dropdown.js +1 -1
  46. package/dist/components/p-modal-body.js +1 -1
  47. package/dist/components/p-modal.js +1 -1
  48. package/dist/components/p-pagination-size.js +1 -1
  49. package/dist/components/p-pagination.js +1 -1
  50. package/dist/components/p-profile.js +1 -1
  51. package/dist/components/p-select.js +1 -1
  52. package/dist/components/p-table-footer.js +1 -1
  53. package/dist/components/p-table.js +4 -4
  54. package/dist/esm/loader.js +1 -1
  55. package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
  56. package/dist/esm/p-checkbox_4.entry.js +13 -4
  57. package/dist/esm/p-checkbox_4.entry.js.map +1 -1
  58. package/dist/esm/p-datepicker.entry.js +3 -3
  59. package/dist/esm/p-datepicker.entry.js.map +1 -1
  60. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  61. package/dist/esm/p-modal-body_4.entry.js +4 -4
  62. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  63. package/dist/esm/paperless.js +1 -1
  64. package/dist/index.html +1 -1
  65. package/dist/paperless/p-64ec4159.entry.js +2 -0
  66. package/dist/paperless/p-64ec4159.entry.js.map +1 -0
  67. package/dist/paperless/p-68061d5f.entry.js +2 -0
  68. package/dist/paperless/p-68061d5f.entry.js.map +1 -0
  69. package/dist/paperless/p-94dae829.entry.js +2 -0
  70. package/dist/paperless/p-94dae829.entry.js.map +1 -0
  71. package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  72. package/dist/paperless/p-datepicker.entry.esm.js.map +1 -1
  73. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  74. package/dist/paperless/paperless.esm.js +1 -1
  75. package/dist/sw.js +1 -1
  76. package/dist/sw.js.map +1 -1
  77. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +4 -0
  78. package/dist/types/components.d.ts +8 -0
  79. package/package.json +1 -1
  80. package/dist/build/p-80d1fdae.entry.js +0 -2
  81. package/dist/build/p-80d1fdae.entry.js.map +0 -1
  82. package/dist/build/p-be00067c.entry.js +0 -2
  83. package/dist/build/p-be00067c.entry.js.map +0 -1
  84. package/dist/build/p-f78c3d62.entry.js +0 -2
  85. package/dist/build/p-f78c3d62.entry.js.map +0 -1
  86. package/dist/components/p-CfI6suo1.js.map +0 -1
  87. package/dist/components/p-CqFZBBF9.js.map +0 -1
  88. package/dist/paperless/p-80d1fdae.entry.js +0 -2
  89. package/dist/paperless/p-80d1fdae.entry.js.map +0 -1
  90. package/dist/paperless/p-be00067c.entry.js +0 -2
  91. package/dist/paperless/p-be00067c.entry.js.map +0 -1
  92. package/dist/paperless/p-f78c3d62.entry.js +0 -2
  93. package/dist/paperless/p-f78c3d62.entry.js.map +0 -1
@@ -1,2 +0,0 @@
1
- import{r as t,h as a,c as e}from"./p-Dpmiv2da.js";import{c as r}from"./p-CBWjHURv.js";import{T as o}from"./p-C1iNEsnH.js";import{a as i}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";import"./p-BIwGgs9f.js";const d="*{box-sizing:border-box}.static{position:static!important}.-mt-\\[-1px\\]{margin-top:1px!important}.rounded{border-radius:.25rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.rounded-t-lg{border-top-left-radius:.5rem!important;border-top-right-radius:.5rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.pb-4{padding-bottom:1rem!important}.pb-\\[calc\\(env\\(safe-area-inset-bottom\\)\\+1rem\\)\\]{padding-bottom:calc(env(safe-area-inset-bottom) + 1rem)!important}@media (min-width:64rem){.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}.desktop-xs\\:rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}";const n=r("bg-white dark:bg-hurricane-600 p-4 -mt-[-1px]",{variants:{roundedBottom:{true:"rounded-b-none desktop-xs:rounded-b-2xl pb-[calc(env(safe-area-inset-bottom)+1rem)]",false:"pb-4"},roundedTop:{true:"rounded-t-lg desktop-xs:rounded-t-2xl",false:null}}});const m=class{constructor(a){t(this,a)}roundedBottom=false;roundedTop=false;render(){return a(o,{key:"c16c2c8de1a67cd32d3e46f942efd0e3f40bc4f0"},a("div",{key:"1ac4de3892a81ff62f48d55343308dbe04946aad",class:n({roundedBottom:this.roundedBottom,roundedTop:this.roundedTop})},a("slot",{key:"0875b58c18b7416150631315dedceb3e25f8890a"})))}};m.style=d;const s=".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}";const p=r(["flex-1 min-w-0 w-full","z-modal flex flex-col","rounded-b-none rounded-t-2xl desktop-xs:rounded-b-2xl","max-h-[calc(100dvh-4rem)]","shadow-modal","dark:border-hurricane-400 dark:border dark:border-solid"],{variants:{size:{xs:"tablet:max-w-[20rem]",base:"tablet:max-w-[35rem]",lg:"tablet:max-w-[41rem]",xl:"tablet:max-w-[45rem]","2xl":"tablet:max-w-[65rem]"},closing:{false:"animate-slide-in-bottom desktop-xs:animate-slide-in-bottom-small",true:"animate-slide-out-bottom desktop-xs:animate-slide-out-bottom-small pointer-events-none"}}});const l=class{constructor(a){t(this,a)}size="base";closing=false;render(){return a(o,{key:"2bcc006cc69768f1d22cf8a838bc64ef8aad8ff4"},a("div",{key:"77026114720c272f3f060abed2752014fc090613",class:p({size:this.size,closing:i(this.closing)})},a("slot",{key:"03f281ef3802c57668bf424d8a17b58e5807f16f"})))}};l.style=s;const c="*{box-sizing:border-box}.static{position:static!important}.mb-4{margin-bottom:1rem!important}.flex{display:flex!important}.hidden{display:none!important}.flex-col{flex-direction:column!important}.gap-4{gap:1rem!important}.rounded-b-none{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-4{padding-left:1rem!important;padding-right:1rem!important}.pb-\\[calc\\(env\\(safe-area-inset-bottom\\)\\+1rem\\)\\]{padding-bottom:calc(env(safe-area-inset-bottom) + 1rem)!important}.text-off-white-700{--tw-text-opacity:1!important;color:rgb(222 219 213/var(--tw-text-opacity,1))!important}@media (min-width:40rem){.tablet\\:flex-row{flex-direction:row!important}}@media (min-width:64rem){.desktop-xs\\:inline-block{display:inline-block!important}.desktop-xs\\:rounded-b-2xl{border-bottom-left-radius:1rem!important;border-bottom-right-radius:1rem!important}}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:text-white\\/10:where(:host([data-theme=dark]),:host([data-theme=dark]) *){color:hsla(0,0%,100%,.1)!important}.dark\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:text-white\\/10:where([data-theme=dark],[data-theme=dark] *){color:hsla(0,0%,100%,.1)!important}";const b=class{constructor(a){t(this,a)}render(){return a(o,{key:"224d37e5b88f22c4d320ae2a6aaac9b5fa9c402f"},a("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"},a("p-divider",{key:"1b4adaada66a2bf0196d827ac5f71b62f53753eb",class:"mb-4 hidden text-off-white-700 desktop-xs:inline-block dark:text-white/10"}),a("div",{key:"ddd3d26e3538b2d04169d78f0451c8e9e1777af6",class:"flex flex-col gap-4 tablet:flex-row"},a("slot",{key:"f04c1d1f97ea47644de785f0a7e2bcccee0d916a"}))))}};b.style=c;const h="*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.z-\\[1\\]{z-index:1!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.aspect-\\[7\\/1\\]{aspect-ratio:7/1!important}.h-12{height:3rem!important}.max-h-28{max-height:7rem!important}.w-\\[calc\\(100\\%-7rem\\)\\]{width:calc(100% - 7rem)!important}.w-full{width:100%!important}.flex-1{flex:1 1 0%!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.overflow-hidden{overflow:hidden!important}.rounded-t-2xl{border-top-left-radius:1rem!important;border-top-right-radius:1rem!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-4{padding:1rem!important}.pb-0{padding-bottom:0!important}.text-center{text-align:center!important}.text-2xl{font-size:1.5rem!important;line-height:2rem!important}.font-bold{font-weight:700!important}.text-storm-500{--tw-text-opacity:1!important;color:rgb(24 30 41/var(--tw-text-opacity,1))!important}.dark\\:bg-hurricane-600:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-400:where(:host([data-theme=dark]),:host([data-theme=dark]) *){--tw-text-opacity:1!important;color:rgb(70 75 84/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\\:bg-hurricane-600:where([data-theme=dark],[data-theme=dark] *){--tw-bg-opacity:1!important;background-color:rgb(46 52 62/var(--tw-bg-opacity,1))!important}.dark\\:text-hurricane-400:where([data-theme=dark],[data-theme=dark] *){--tw-text-opacity:1!important;color:rgb(70 75 84/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 x=r(["w-full flex-col bg-white dark:bg-hurricane-600 relative rounded-t-2xl overflow-hidden z-[1]","inline-flex aspect-[7/1] max-h-28"]);const w=r(["flex justify-end","w-full p-4 pb-0 h-12"]);const f=r(["flex-1 text-center","w-[calc(100%-7rem)]","absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2","text-storm-500 dark:text-white text-2xl text-ambit font-bold"]);const k=class{constructor(a){t(this,a);this.close=e(this,"close",3)}showClose=true;close;render(){return a(o,{key:"e1333b589d91aa287a238a6ec2247dc38d5fbc0d"},a("div",{key:"93de864291d6bf6f881286b6ed2e70afb9b0b329",class:x()},a("div",{key:"3b6b5600bb4541ac2b19928858044683f7139d1a",class:w()},a("div",{key:"2e42d2f02647b97bf76f363805d76ed8805e0255",class:f()},a("slot",{key:"fa88c81de30529ca7d06c95abaf304104a90a584"})),this.showClose&&a("p-button",{key:"782517e9f144230ed3063278bbedb7eeb70a7b39",variant:"secondary",icon:"negative",iconOnly:true,onClick:t=>this.close.emit(t)})),a("p-smile",{key:"d30bd2d9c837fd0b49eaee7a32bbe62ddc07db19",class:"dark:text-hurricane-400"})))}};k.style=h;export{m as p_modal_body,l as p_modal_container,b as p_modal_footer,k as p_modal_header};
2
- //# sourceMappingURL=p-f78c3d62.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["modalBodyComponentCss","body","cva","variants","roundedBottom","true","false","roundedTop","ModalBody","render","h","ThemedHost","key","class","this","modalContainerComponentCss","container","size","xs","base","lg","xl","closing","ModalContainer","asBoolean","modalFooterComponentCss","ModalFooter","modalHeaderComponentCss","header","content","title","ModalHeader","showClose","close","variant","icon","iconOnly","onClick","ev","emit"],"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":[null,"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 -mt-[-1px]', {\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",null,"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",null,"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"],"mappings":"8MAAA,MAAMA,EAAwB,krCCI9B,MAAMC,EAAOC,EAAI,gDAAiD,CACjEC,SAAU,CACTC,cAAe,CACdC,KAAM,sFACNC,MAAO,QAERC,WAAY,CACXF,KAAM,wCACNC,MAAO,S,MAUGE,EAAS,M,yBAIbJ,cAAyB,MAKzBG,WAAsB,MAE9B,MAAAE,GACC,OACCC,EAACC,EAAU,CAAAC,IAAA,4CACVF,EACC,OAAAE,IAAA,2CAAAC,MAAOZ,EAAK,CACXG,cAAeU,KAAKV,cACpBG,WAAYO,KAAKP,cAGlBG,EAAQ,QAAAE,IAAA,8C,aC1Cb,MAAMG,EAA6B,oxHCKnC,MAAMC,EAAYd,EACjB,CACC,wBAEA,wBACA,wDAEA,4BAEA,eAEA,2DAED,CACCC,SAAU,CACTc,KAAM,CACLC,GAAI,uBACJC,KAAM,uBACNC,GAAI,uBACJC,GAAI,uBACJ,MAAO,wBAERC,QAAS,CACRhB,MACC,mEACDD,KAAM,6F,MAWGkB,EAAc,M,yBAIlBN,KAA4C,OAK5CK,QAAmB,MAE3B,MAAAb,GACC,OACCC,EAACC,EAAU,CAAAC,IAAA,4CACVF,EACC,OAAAE,IAAA,2CAAAC,MAAOG,EAAU,CAChBC,KAAMH,KAAKG,KACXK,QAASE,EAAUV,KAAKQ,YAGzBZ,EAAQ,QAAAE,IAAA,8C,aC7Db,MAAMa,EAA0B,2gD,MCQnBC,EAAW,M,yBACvB,MAAAjB,GACC,OACCC,EAACC,EAAU,CAAAC,IAAA,4CACVF,EAAK,OAAAE,IAAA,2CAAAC,MAAM,yIACVH,EAAW,aAAAE,IAAA,2CAAAC,MAAM,8EAEjBH,EAAK,OAAAE,IAAA,2CAAAC,MAAM,uCACVH,EAAA,QAAAE,IAAA,+C,aChBN,MAAMe,EAA0B,i8ECIhC,MAAMC,EAAS1B,EAAI,CAClB,8FACA,sCAGD,MAAM2B,EAAU3B,EAAI,CAAC,mBAAoB,yBAEzC,MAAM4B,EAAQ5B,EAAI,CACjB,qBACA,sBACA,8DACA,iE,MAQY6B,EAAW,M,sDAIfC,UAAY,KAQpBC,MAEA,MAAAxB,GACC,OACCC,EAACC,EAAU,CAAAC,IAAA,4CACVF,EAAK,OAAAE,IAAA,2CAAAC,MAAOe,KACXlB,EAAK,OAAAE,IAAA,2CAAAC,MAAOgB,KACXnB,EAAK,OAAAE,IAAA,2CAAAC,MAAOiB,KACXpB,EAAA,QAAAE,IAAA,8CAGAE,KAAKkB,WACLtB,EAAA,YAAAE,IAAA,2CACCsB,QAAQ,YACRC,KAAK,WACLC,SAAU,KACVC,QAASC,GAAMxB,KAAKmB,MAAMM,KAAKD,MAKlC5B,EAAA,WAAAE,IAAA,2CAASC,MAAM,6B","ignoreList":[]}