@paperless/core 2.0.1-beta.172 → 2.0.1-beta.174

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 (165) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/assets/icons/security/unlocked.svg +7 -7
  3. package/dist/build/index.esm.js +1 -1
  4. package/dist/build/p-00e39694.entry.js.map +1 -1
  5. package/dist/build/p-274e9c49.entry.js +2 -0
  6. package/dist/build/p-274e9c49.entry.js.map +1 -0
  7. package/dist/{paperless/p-B4q5W46_.js → build/p-BmA7NKgh.js} +2 -2
  8. package/dist/build/{p-B4q5W46_.js.map → p-BmA7NKgh.js.map} +1 -1
  9. package/dist/build/{p-086a66af.entry.js → p-aac11835.entry.js} +2 -2
  10. package/dist/build/p-aac11835.entry.js.map +1 -0
  11. package/dist/build/{p-ee5222ce.entry.js → p-b79c241b.entry.js} +2 -2
  12. package/dist/build/{p-9c33c50d.js → p-cf42b91e.js} +1 -1
  13. package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  14. package/dist/build/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  15. package/dist/build/p-modal.entry.esm.js.map +1 -1
  16. package/dist/build/paperless.esm.js +1 -1
  17. package/dist/cjs/{icons-tmzuFQsN.js → icons-BCQj_mGG.js} +9 -9
  18. package/dist/cjs/{icons-tmzuFQsN.js.map → icons-BCQj_mGG.js.map} +1 -1
  19. package/dist/cjs/index.cjs.js +1 -1
  20. package/dist/cjs/loader.cjs.js +1 -1
  21. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  22. package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
  23. package/dist/cjs/p-empty-state_9.cjs.entry.js +7 -3
  24. package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
  25. package/dist/cjs/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.cjs.js.map +1 -1
  26. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -3
  27. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  28. package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
  29. package/dist/cjs/p-modal.entry.cjs.js.map +1 -1
  30. package/dist/cjs/paperless.cjs.js +1 -1
  31. package/dist/collection/assets/icons/security/unlocked.svg +7 -7
  32. package/dist/collection/components/atoms/modal/container/modal-container.component.css +1 -1
  33. package/dist/collection/components/atoms/modal/container/modal-container.component.js +5 -4
  34. package/dist/collection/components/atoms/modal/container/modal-container.component.js.map +1 -1
  35. package/dist/collection/components/molecules/empty-state/empty-state.component.js +27 -3
  36. package/dist/collection/components/molecules/empty-state/empty-state.component.js.map +1 -1
  37. package/dist/collection/components/organisms/modal/modal.component.js +2 -2
  38. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
  39. package/dist/components/index.js +1 -1
  40. package/dist/components/{p-BRqR4nUm.js → p-7pINHd3q.js} +8 -8
  41. package/dist/components/{p-BRqR4nUm.js.map → p-7pINHd3q.js.map} +1 -1
  42. package/dist/components/{p-DNAQlM-T.js → p-BOXJAotb.js} +5 -5
  43. package/dist/components/{p-DNAQlM-T.js.map → p-BOXJAotb.js.map} +1 -1
  44. package/dist/components/{p-vxD7JU3i.js → p-BPBe7SuA.js} +6 -5
  45. package/dist/components/p-BPBe7SuA.js.map +1 -0
  46. package/dist/components/{p-fvtI-71j.js → p-BWecPS5f.js} +3 -3
  47. package/dist/components/{p-fvtI-71j.js.map → p-BWecPS5f.js.map} +1 -1
  48. package/dist/components/{p-y5XA7XhO.js → p-BYL4-QN3.js} +3 -3
  49. package/dist/components/{p-y5XA7XhO.js.map → p-BYL4-QN3.js.map} +1 -1
  50. package/dist/components/{p-X-RUt6LC.js → p-BhwYQEOe.js} +12 -7
  51. package/dist/components/p-BhwYQEOe.js.map +1 -0
  52. package/dist/components/{p-B4q5W46_.js → p-BmA7NKgh.js} +9 -9
  53. package/dist/components/{p-B4q5W46_.js.map → p-BmA7NKgh.js.map} +1 -1
  54. package/dist/components/{p-__-g_hj0.js → p-C6-VHZ8A.js} +3 -3
  55. package/dist/components/{p-__-g_hj0.js.map → p-C6-VHZ8A.js.map} +1 -1
  56. package/dist/components/{p-ZOW6vT-R.js → p-C78xNd-5.js} +3 -3
  57. package/dist/components/{p-ZOW6vT-R.js.map → p-C78xNd-5.js.map} +1 -1
  58. package/dist/components/{p-qXjT088h.js → p-CDn6XmsX.js} +3 -3
  59. package/dist/components/{p-qXjT088h.js.map → p-CDn6XmsX.js.map} +1 -1
  60. package/dist/components/{p-CfilaLs-.js → p-CR0XljUt.js} +4 -4
  61. package/dist/components/{p-CfilaLs-.js.map → p-CR0XljUt.js.map} +1 -1
  62. package/dist/components/{p-CxCXB4c1.js → p-Cism8JOs.js} +3 -3
  63. package/dist/components/{p-CxCXB4c1.js.map → p-Cism8JOs.js.map} +1 -1
  64. package/dist/components/{p-CJPrTM14.js → p-CpxKrszE.js} +3 -3
  65. package/dist/components/{p-CJPrTM14.js.map → p-CpxKrszE.js.map} +1 -1
  66. package/dist/components/{p-CR2m4pAn.js → p-CxF_iACL.js} +7 -7
  67. package/dist/components/{p-CR2m4pAn.js.map → p-CxF_iACL.js.map} +1 -1
  68. package/dist/components/{p-BHK4xrEm.js → p-DFNz5CX1.js} +4 -4
  69. package/dist/components/{p-BHK4xrEm.js.map → p-DFNz5CX1.js.map} +1 -1
  70. package/dist/components/{p-BHO_MniQ.js → p-DGcVMTYV.js} +8 -8
  71. package/dist/components/{p-BHO_MniQ.js.map → p-DGcVMTYV.js.map} +1 -1
  72. package/dist/components/{p-or8HEFlK.js → p-DSnkQlOj.js} +3 -3
  73. package/dist/components/{p-or8HEFlK.js.map → p-DSnkQlOj.js.map} +1 -1
  74. package/dist/components/{p-DRvSVIFO.js → p-DWA8FI6W.js} +4 -4
  75. package/dist/components/{p-DRvSVIFO.js.map → p-DWA8FI6W.js.map} +1 -1
  76. package/dist/components/{p-c2_LHyBE.js → p-DeUM2jgh.js} +4 -4
  77. package/dist/components/{p-c2_LHyBE.js.map → p-DeUM2jgh.js.map} +1 -1
  78. package/dist/components/{p-C8JaleCJ.js → p-F-VpdXIv.js} +3 -3
  79. package/dist/components/{p-C8JaleCJ.js.map → p-F-VpdXIv.js.map} +1 -1
  80. package/dist/components/{p-eosGI5vE.js → p-LKTkvGS2.js} +5 -5
  81. package/dist/components/{p-eosGI5vE.js.map → p-LKTkvGS2.js.map} +1 -1
  82. package/dist/components/p-accordion.js +1 -1
  83. package/dist/components/p-attachment.js +4 -4
  84. package/dist/components/p-button.js +1 -1
  85. package/dist/components/p-calendar.js +1 -1
  86. package/dist/components/p-card-header.js +1 -1
  87. package/dist/components/p-checkbox.js +1 -1
  88. package/dist/components/p-cropper.js +2 -2
  89. package/dist/components/p-datepicker.js +6 -6
  90. package/dist/components/p-drawer-header.js +1 -1
  91. package/dist/components/p-drawer.js +3 -3
  92. package/dist/components/p-dropdown-menu-item.js +1 -1
  93. package/dist/components/p-empty-state.js +1 -1
  94. package/dist/components/p-field-container.js +1 -1
  95. package/dist/components/p-field.js +1 -1
  96. package/dist/components/p-floating-menu-container.js +1 -1
  97. package/dist/components/p-floating-menu-item.js +1 -1
  98. package/dist/components/p-helper.js +1 -1
  99. package/dist/components/p-icon.js +1 -1
  100. package/dist/components/p-info-panel.js +1 -1
  101. package/dist/components/{p-C8Uio1Yl.js → p-lIA-bTxS.js} +4 -4
  102. package/dist/components/{p-C8Uio1Yl.js.map → p-lIA-bTxS.js.map} +1 -1
  103. package/dist/components/p-label.js +1 -1
  104. package/dist/components/p-listing-item.js +1 -1
  105. package/dist/components/p-modal-container.js +1 -1
  106. package/dist/components/p-modal-header.js +1 -1
  107. package/dist/components/p-modal.js +4 -4
  108. package/dist/components/p-modal.js.map +1 -1
  109. package/dist/components/p-navbar.js +2 -2
  110. package/dist/components/p-navigation-item.js +1 -1
  111. package/dist/components/p-pagination-pages.js +1 -1
  112. package/dist/components/p-pagination-size.js +1 -1
  113. package/dist/components/p-pagination.js +1 -1
  114. package/dist/components/p-profile.js +2 -2
  115. package/dist/components/p-range.js +1 -1
  116. package/dist/components/p-segment-item.js +1 -1
  117. package/dist/components/p-select.js +7 -7
  118. package/dist/components/p-table-footer.js +1 -1
  119. package/dist/components/p-table-header.js +1 -1
  120. package/dist/components/p-table.js +16 -16
  121. package/dist/components/p-toast.js +2 -2
  122. package/dist/esm/{icons-B4q5W46_.js → icons-BmA7NKgh.js} +9 -9
  123. package/dist/esm/{icons-B4q5W46_.js.map → icons-BmA7NKgh.js.map} +1 -1
  124. package/dist/esm/index.js +1 -1
  125. package/dist/esm/loader.js +1 -1
  126. package/dist/esm/p-button_3.entry.js +1 -1
  127. package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
  128. package/dist/esm/p-empty-state_9.entry.js +7 -3
  129. package/dist/esm/p-empty-state_9.entry.js.map +1 -1
  130. package/dist/esm/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.js.map +1 -1
  131. package/dist/esm/p-modal-body_4.entry.js +4 -3
  132. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  133. package/dist/esm/p-modal.entry.js.map +1 -1
  134. package/dist/esm/paperless.js +1 -1
  135. package/dist/index.html +1 -1
  136. package/dist/paperless/index.esm.js +1 -1
  137. package/dist/paperless/p-00e39694.entry.js.map +1 -1
  138. package/dist/paperless/p-274e9c49.entry.js +2 -0
  139. package/dist/paperless/p-274e9c49.entry.js.map +1 -0
  140. package/dist/{build/p-B4q5W46_.js → paperless/p-BmA7NKgh.js} +2 -2
  141. package/dist/paperless/{p-B4q5W46_.js.map → p-BmA7NKgh.js.map} +1 -1
  142. package/dist/paperless/{p-086a66af.entry.js → p-aac11835.entry.js} +2 -2
  143. package/dist/paperless/p-aac11835.entry.js.map +1 -0
  144. package/dist/paperless/{p-ee5222ce.entry.js → p-b79c241b.entry.js} +2 -2
  145. package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  146. package/dist/paperless/p-modal-body.p-modal-container.p-modal-footer.p-modal-header.entry.esm.js.map +1 -1
  147. package/dist/paperless/p-modal.entry.esm.js.map +1 -1
  148. package/dist/paperless/paperless.esm.js +1 -1
  149. package/dist/sw.js +1 -1
  150. package/dist/sw.js.map +1 -1
  151. package/dist/types/components/atoms/modal/container/modal-container.component.d.ts +1 -1
  152. package/dist/types/components/molecules/empty-state/empty-state.component.d.ts +4 -0
  153. package/dist/types/components/organisms/modal/modal.component.d.ts +1 -1
  154. package/dist/types/components.d.ts +12 -4
  155. package/package.json +1 -1
  156. package/dist/build/p-086a66af.entry.js.map +0 -1
  157. package/dist/build/p-d18ee52f.entry.js +0 -2
  158. package/dist/build/p-d18ee52f.entry.js.map +0 -1
  159. package/dist/components/p-X-RUt6LC.js.map +0 -1
  160. package/dist/components/p-vxD7JU3i.js.map +0 -1
  161. package/dist/paperless/p-086a66af.entry.js.map +0 -1
  162. package/dist/paperless/p-d18ee52f.entry.js +0 -2
  163. package/dist/paperless/p-d18ee52f.entry.js.map +0 -1
  164. /package/dist/build/{p-ee5222ce.entry.js.map → p-b79c241b.entry.js.map} +0 -0
  165. /package/dist/paperless/{p-ee5222ce.entry.js.map → p-b79c241b.entry.js.map} +0 -0
@@ -1,2 +0,0 @@
1
- import{r as t,h as e,c as a}from"./p-DhGo7hbh.js";import{c as o}from"./p-CBWjHURv.js";import{a as r}from"./p-C5CTp9IA.js";import"./p-ChV9xqsO.js";const i="*{box-sizing:border-box}.static{position:static!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}@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}}";const n=o("bg-white p-4",{variants:{roundedBottom:{true:"rounded-b-none desktop-xs:rounded-b-2xl",false:null},roundedTop:{true:"rounded-t-lg desktop-xs:rounded-t-2xl",false:null}}});const d=class{constructor(e){t(this,e)}roundedBottom=false;roundedTop=false;render(){return e("div",{key:"54eeb93a27f3d9324922588ded663f918d23459c",class:n({roundedBottom:this.roundedBottom,roundedTop:this.roundedTop})},e("slot",{key:"e59ecb5c9ea4e96ecfd070dafc402851bf569c14"}))}};d.style=i;const m=".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-\\[35rem\\]{max-width:35rem!important}.tablet\\:max-w-\\[40rem\\]{max-width:40rem!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}}";const s=o(["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"],{variants:{size:{base:"tablet:max-w-[35rem]",lg:"tablet:max-w-[40rem]",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(e){t(this,e)}size="base";closing=false;render(){return e("div",{key:"dc7e4b350c3e33efb219cf6ad447992b52714fb3",class:s({size:this.size,closing:r(this.closing)})},e("slot",{key:"31dd9c6641671734c0825dddee9124b6424d26b5"}))}};l.style=m;const p="*{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-4{padding-bottom:1rem!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}}";const c=class{constructor(e){t(this,e)}render(){return e("div",{key:"2b98a6f0f1d00b193c8d81d88afb4db6ff581484",class:"flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl"},e("p-divider",{key:"f26fcd3f3b42781ef148377089fa31a337bbf9d6",class:"mb-4 hidden desktop-xs:inline-block"}),e("div",{key:"ae51d4c9d85b9760651eda2ca3a4ad88cf064bbf",class:"flex flex-col gap-4 px-4 tablet:flex-row"},e("slot",{key:"3156a92dbf6d85df26bb46b3017850a65af00bf7"})))}};c.style=p;const b="*{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}.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}";const x=o(["w-full flex-col bg-white relative rounded-t-2xl overflow-hidden z-[1]","inline-flex aspect-[7/1]"]);const f=o(["flex justify-end","w-full p-4 pb-0 h-12"]);const w=o(["flex-1 text-center","w-[calc(100%-7rem)]","absolute top-1/2 -translate-y-1/2 left-1/2 -translate-x-1/2","black-teal-500 text-2xl text-ambit font-bold"]);const h=class{constructor(e){t(this,e);this.close=a(this,"close",3)}showClose=true;close;render(){return e("div",{key:"12831cc1bca31e747b45fd13dfa66bfa82cbe2fb",class:x()},e("div",{key:"fa5539f7bd001b022be312e5e8155dd02a64a4a7",class:f()},e("div",{key:"27a50756df5d98858901fde265e103e6abf14b6a",class:w()},e("slot",{key:"4c2f3f89ef30b0c7a1e77996936c6044e569934e"})),this.showClose&&e("p-button",{key:"d20087d813a483a30a5bdcc1a036aadc616bc4c0",variant:"secondary",icon:"negative",iconOnly:true,onClick:t=>this.close.emit(t)})),e("p-smile",{key:"39ed230b0bc8f327482cc61d7257a659d2de7268"}))}};h.style=b;export{d as p_modal_body,l as p_modal_container,c as p_modal_footer,h as p_modal_header};
2
- //# sourceMappingURL=p-d18ee52f.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["modalBodyComponentCss","body","cva","variants","roundedBottom","true","false","roundedTop","ModalBody","render","h","key","class","this","modalContainerComponentCss","container","size","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';\n\nconst body = cva('bg-white p-4', {\n\tvariants: {\n\t\troundedBottom: {\n\t\t\ttrue: 'rounded-b-none desktop-xs:rounded-b-2xl',\n\t\t\tfalse: null,\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<div\n\t\t\t\tclass={body({\n\t\t\t\t\troundedBottom: this.roundedBottom,\n\t\t\t\t\troundedTop: this.roundedTop,\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",":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\tbase: 'tablet:max-w-[35rem]',\n\t\t\t\tlg: 'tablet:max-w-[40rem]',\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: '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",null,"import { Component, h } from '@stencil/core';\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<div class='flex flex-col rounded-b-none bg-white pb-4 desktop-xs:rounded-b-2xl'>\n\t\t\t\t<p-divider class='mb-4 hidden desktop-xs:inline-block' />\n\n\t\t\t\t<div class='flex flex-col gap-4 px-4 tablet:flex-row'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n}\n",null,"import { Component, Event, EventEmitter, h, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst header = cva([\n\t'w-full flex-col bg-white relative rounded-t-2xl overflow-hidden z-[1]',\n\t'inline-flex aspect-[7/1]',\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'black-teal-500 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<div class={header()}>\n\t\t\t\t<div class={content()}>\n\t\t\t\t\t<div class={title()}>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\n\t\t\t\t\t{this.showClose && (\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\ticon='negative'\n\t\t\t\t\t\t\ticonOnly={true}\n\t\t\t\t\t\t\tonClick={ev => this.close.emit(ev)}\n\t\t\t\t\t\t></p-button>\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\n\t\t\t\t<p-smile />\n\t\t\t</div>\n\t\t);\n\t}\n}\n"],"mappings":"kJAAA,MAAMA,EAAwB,spBCG9B,MAAMC,EAAOC,EAAI,eAAgB,CAChCC,SAAU,CACTC,cAAe,CACdC,KAAM,0CACNC,MAAO,MAERC,WAAY,CACXF,KAAM,wCACNC,MAAO,S,MAUGE,EAAS,M,yBAIbJ,cAAyB,MAKzBG,WAAsB,MAE9B,MAAAE,GACC,OACCC,EAAA,OAAAC,IAAA,2CACCC,MAAOX,EAAK,CACXG,cAAeS,KAAKT,cACpBG,WAAYM,KAAKN,cAGlBG,EAAQ,QAAAC,IAAA,6C,aCxCZ,MAAMG,EAA6B,o/FCInC,MAAMC,EAAYb,EACjB,CACC,wBAEA,wBACA,wDAEA,4BAEA,gBAED,CACCC,SAAU,CACTa,KAAM,CACLC,KAAM,uBACNC,GAAI,uBACJC,GAAI,uBACJ,MAAO,wBAERC,QAAS,CACRd,MACC,mEACDD,KAAM,6F,MAWGgB,EAAc,M,yBAIlBL,KAAqC,OAKrCI,QAAmB,MAE3B,MAAAX,GACC,OACCC,EAAA,OAAAC,IAAA,2CACCC,MAAOG,EAAU,CAChBC,KAAMH,KAAKG,KACXI,QAASE,EAAUT,KAAKO,YAGzBV,EAAQ,QAAAC,IAAA,6C,aCxDZ,MAAMY,EAA0B,sxB,MCOnBC,EAAW,M,yBACvB,MAAAf,GACC,OACCC,EAAA,OAAAC,IAAA,2CAAKC,MAAM,uEACVF,EAAW,aAAAC,IAAA,2CAAAC,MAAM,wCAEjBF,EAAK,OAAAC,IAAA,2CAAAC,MAAM,4CACVF,EAAQ,QAAAC,IAAA,8C,aCdb,MAAMc,EAA0B,g2CCGhC,MAAMC,EAASxB,EAAI,CAClB,wEACA,6BAGD,MAAMyB,EAAUzB,EAAI,CAAC,mBAAoB,yBAEzC,MAAM0B,EAAQ1B,EAAI,CACjB,qBACA,sBACA,8DACA,iD,MAQY2B,EAAW,M,sDAIfC,UAAY,KAQpBC,MAEA,MAAAtB,GACC,OACCC,EAAA,OAAAC,IAAA,2CAAKC,MAAOc,KACXhB,EAAK,OAAAC,IAAA,2CAAAC,MAAOe,KACXjB,EAAK,OAAAC,IAAA,2CAAAC,MAAOgB,KACXlB,EAAA,QAAAC,IAAA,8CAGAE,KAAKiB,WACLpB,EAAA,YAAAC,IAAA,2CACCqB,QAAQ,YACRC,KAAK,WACLC,SAAU,KACVC,QAASC,GAAMvB,KAAKkB,MAAMM,KAAKD,MAKlC1B,EAAW,WAAAC,IAAA,6C","ignoreList":[]}