@paperless/core 2.0.1-beta.107 → 2.0.1-beta.109

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 (549) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/dist/build/p-0a6b03d0.entry.js +2 -0
  3. package/dist/build/{p-73288f5a.entry.js → p-0a6e3e6f.entry.js} +2 -2
  4. package/dist/build/p-0b6db18f.entry.js +2 -0
  5. package/dist/build/{p-9e049ea2.entry.js → p-0dc168c5.entry.js} +2 -2
  6. package/dist/build/{p-9b76e79f.entry.js → p-13b16981.entry.js} +2 -2
  7. package/dist/{paperless/p-6786c387.entry.js → build/p-21d80bbe.entry.js} +2 -2
  8. package/dist/build/{p-44c00c66.entry.js → p-222abd40.entry.js} +2 -2
  9. package/dist/{paperless/p-73baed16.entry.js → build/p-26491670.entry.js} +2 -2
  10. package/dist/build/{p-ba8f7d4a.entry.js → p-28152f8e.entry.js} +2 -2
  11. package/dist/{paperless/p-732ca4f2.entry.js → build/p-427ef39b.entry.js} +2 -2
  12. package/dist/build/{p-14a0aea4.entry.js → p-456a3099.entry.js} +2 -2
  13. package/dist/build/{p-24dac9f4.entry.js → p-4fb83e8d.entry.js} +2 -2
  14. package/dist/build/{p-24dac9f4.entry.js.map → p-4fb83e8d.entry.js.map} +1 -1
  15. package/dist/{paperless/p-2c5884c2.entry.js → build/p-51b09be2.entry.js} +2 -2
  16. package/dist/{paperless/p-8a1b3aa7.entry.js → build/p-57acc6a7.entry.js} +2 -2
  17. package/dist/build/{p-9a4399ee.entry.js → p-58efc94c.entry.js} +2 -2
  18. package/dist/build/{p-03fc8193.entry.js → p-5dcdb2d0.entry.js} +2 -2
  19. package/dist/build/{p-25272030.entry.js → p-635f36c7.entry.js} +2 -2
  20. package/dist/build/{p-acf15cc8.entry.js → p-68b2471e.entry.js} +2 -2
  21. package/dist/build/p-70de0ecc.entry.js +2 -0
  22. package/dist/{paperless/p-947cb68e.entry.js → build/p-7b7366dc.entry.js} +2 -2
  23. package/dist/build/{p-bacbbe41.entry.js → p-861e6352.entry.js} +2 -2
  24. package/dist/build/{p-de7a4100.entry.js → p-899f7d36.entry.js} +2 -2
  25. package/dist/build/p-98c5649d.entry.js +2 -0
  26. package/dist/build/p-98c5649d.entry.js.map +1 -0
  27. package/dist/{paperless/p-d0644e30.entry.js → build/p-9c71c64d.entry.js} +2 -2
  28. package/dist/build/{p-422dfb3b.entry.js → p-9d23879b.entry.js} +2 -2
  29. package/dist/build/{p-e86f15a1.entry.js → p-9ef541e4.entry.js} +2 -2
  30. package/dist/build/{p-2930452d.entry.js → p-a6c618fb.entry.js} +2 -2
  31. package/dist/{paperless/p-3fcfcc66.entry.js → build/p-a8f60c0c.entry.js} +2 -2
  32. package/dist/{paperless/p-d6f6b10c.entry.js → build/p-acc528bf.entry.js} +2 -2
  33. package/dist/build/{p-41bf19a1.entry.js → p-b8797794.entry.js} +2 -2
  34. package/dist/build/{p-761e3e45.js → p-be93637f.js} +1 -1
  35. package/dist/build/{p-da2e0d56.entry.js → p-c2721d00.entry.js} +2 -2
  36. package/dist/{paperless/p-46e8c0f4.entry.js → build/p-c585d909.entry.js} +2 -2
  37. package/dist/{paperless/p-46e8c0f4.entry.js.map → build/p-c585d909.entry.js.map} +1 -1
  38. package/dist/{paperless/p-6b376f94.entry.js → build/p-c7c3d389.entry.js} +2 -2
  39. package/dist/build/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  40. package/dist/build/{p-e89ae562.entry.js → p-d0ba9cdd.entry.js} +2 -2
  41. package/dist/build/p-d3102227.entry.js +2 -0
  42. package/dist/build/p-d3102227.entry.js.map +1 -0
  43. package/dist/{paperless/p-53b152c3.entry.js → build/p-d5cba5af.entry.js} +2 -2
  44. package/dist/build/p-d6e8bf36.entry.js +2 -0
  45. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  46. package/dist/build/p-drawer.entry.esm.js.map +1 -1
  47. package/dist/build/p-e2ee74a9.entry.js +2 -0
  48. package/dist/{paperless/p-c66a0ecd.entry.js → build/p-f12a4759.entry.js} +2 -2
  49. package/dist/{paperless/p-a4714075.entry.js → build/p-f4c0923b.entry.js} +2 -2
  50. package/dist/build/{p-273e9f17.entry.js → p-f9efc1e5.entry.js} +2 -2
  51. package/dist/build/p-fe892a0f.entry.js +2 -0
  52. package/dist/build/p-fe892a0f.entry.js.map +1 -0
  53. package/dist/build/p-radio.entry.esm.js.map +1 -1
  54. package/dist/build/p-toggle.entry.esm.js.map +1 -1
  55. package/dist/build/paperless.esm.js +1 -1
  56. package/dist/cjs/index-BDuPp9vl.js +4 -4
  57. package/dist/cjs/loader.cjs.js +1 -1
  58. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  59. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  60. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  61. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  62. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  63. package/dist/cjs/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.cjs.js.map +1 -1
  64. package/dist/cjs/p-checkbox_4.cjs.entry.js +14 -14
  65. package/dist/cjs/p-checkbox_4.cjs.entry.js.map +1 -1
  66. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  67. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  68. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  69. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  70. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  71. package/dist/cjs/p-drawer-body_3.cjs.entry.js +43 -19
  72. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  73. package/dist/cjs/p-drawer.cjs.entry.js +19 -3
  74. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -1
  75. package/dist/cjs/p-drawer.entry.cjs.js.map +1 -1
  76. package/dist/cjs/p-empty-state_9.cjs.entry.js +12 -12
  77. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  78. package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
  79. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  80. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  81. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  82. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  83. package/dist/cjs/p-label.cjs.entry.js +3 -3
  84. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  85. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  86. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  87. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  88. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  89. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  90. package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
  91. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  92. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  93. package/dist/cjs/p-radio.cjs.entry.js +4 -4
  94. package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
  95. package/dist/cjs/p-radio.entry.cjs.js.map +1 -1
  96. package/dist/cjs/p-select.cjs.entry.js +1 -1
  97. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  98. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  99. package/dist/cjs/p-status.cjs.entry.js +2 -2
  100. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  101. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  102. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  103. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  104. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  105. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  106. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  107. package/dist/cjs/p-toggle.cjs.entry.js +4 -4
  108. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -1
  109. package/dist/cjs/p-toggle.entry.cjs.js.map +1 -1
  110. package/dist/cjs/paperless.cjs.js +1 -1
  111. package/dist/collection/collection-manifest.json +4 -4
  112. package/dist/collection/components/atoms/checkbox/checkbox.component.js +5 -5
  113. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  114. package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -0
  115. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +19 -0
  116. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js.map +1 -0
  117. package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -0
  118. package/dist/collection/components/{deprecated/atoms → atoms}/drawer/container/drawer-container.component.js +23 -9
  119. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js.map +1 -0
  120. package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -0
  121. package/dist/collection/components/{deprecated/atoms → atoms}/drawer/header/drawer-header.component.js +14 -4
  122. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js.map +1 -0
  123. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
  124. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
  125. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  126. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  127. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  128. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  129. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  130. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  131. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  132. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  133. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  134. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  135. package/dist/collection/components/atoms/radio/radio.component.js +4 -4
  136. package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
  137. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  138. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  139. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  140. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  141. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  142. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  143. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +1 -1
  144. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  145. package/dist/collection/components/atoms/toggle/toggle.component.js +4 -4
  146. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -1
  147. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  148. package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
  149. package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
  150. package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
  151. package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
  152. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js +1 -1
  153. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js +1 -1
  154. package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
  155. package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
  156. package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
  157. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
  158. package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
  159. package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
  160. package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js +1 -1
  161. package/dist/collection/components/helpers/portal/portal.component.js +1 -1
  162. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  163. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  164. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  165. package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
  166. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  167. package/dist/collection/components/molecules/field/field/field.component.js +3 -3
  168. package/dist/collection/components/molecules/label/label.component.js +3 -3
  169. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
  170. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  171. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  172. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  173. package/dist/collection/components/molecules/select/select.component.js +1 -1
  174. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  175. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  176. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  177. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  178. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  179. package/dist/collection/components/{deprecated/organisms → organisms}/drawer/drawer.component.js +19 -3
  180. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -0
  181. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  182. package/dist/components/{p-CjruE70A.js → p-12mQxW6R.js} +5 -5
  183. package/dist/components/{p-CjruE70A.js.map → p-12mQxW6R.js.map} +1 -1
  184. package/dist/components/{p-C1teny1Z.js → p-4jVVUXXD.js} +9 -9
  185. package/dist/components/{p-C1teny1Z.js.map → p-4jVVUXXD.js.map} +1 -1
  186. package/dist/components/{p-kicoGsIb.js → p-8rB2Q4yP.js} +5 -5
  187. package/dist/components/{p-kicoGsIb.js.map → p-8rB2Q4yP.js.map} +1 -1
  188. package/dist/components/{p-CEJ0i7nJ.js → p-B-dtByez.js} +7 -7
  189. package/dist/components/p-B-dtByez.js.map +1 -0
  190. package/dist/components/{p-6G9reodC.js → p-BDTPyUsH.js} +4 -4
  191. package/dist/components/{p-6G9reodC.js.map → p-BDTPyUsH.js.map} +1 -1
  192. package/dist/components/p-BFBgml7D.js +34 -0
  193. package/dist/components/p-BFBgml7D.js.map +1 -0
  194. package/dist/components/{p-DSuET-eU.js → p-BMeOy477.js} +4 -4
  195. package/dist/components/{p-DSuET-eU.js.map → p-BMeOy477.js.map} +1 -1
  196. package/dist/components/p-BONflo7Y.js +58 -0
  197. package/dist/components/p-BONflo7Y.js.map +1 -0
  198. package/dist/components/{p-B-__VvzL.js → p-BUxcWSGM.js} +3 -3
  199. package/dist/components/{p-B-__VvzL.js.map → p-BUxcWSGM.js.map} +1 -1
  200. package/dist/components/{p-B6vYveWX.js → p-Br_TxALn.js} +4 -4
  201. package/dist/components/{p-B6vYveWX.js.map → p-Br_TxALn.js.map} +1 -1
  202. package/dist/components/{p-D9TW62QT.js → p-BrtcZfOg.js} +9 -9
  203. package/dist/components/{p-D9TW62QT.js.map → p-BrtcZfOg.js.map} +1 -1
  204. package/dist/components/{p-DTELven3.js → p-BwFkgAPO.js} +4 -4
  205. package/dist/components/{p-DTELven3.js.map → p-BwFkgAPO.js.map} +1 -1
  206. package/dist/components/{p-C_iFBAeB.js → p-C1YLcCva.js} +5 -5
  207. package/dist/components/{p-C_iFBAeB.js.map → p-C1YLcCva.js.map} +1 -1
  208. package/dist/components/{p-ZiTaSiM1.js → p-C3gEbkrr.js} +4 -4
  209. package/dist/components/{p-ZiTaSiM1.js.map → p-C3gEbkrr.js.map} +1 -1
  210. package/dist/components/{p-Cs3hICh6.js → p-CFdbv-t4.js} +4 -4
  211. package/dist/components/{p-Cs3hICh6.js.map → p-CFdbv-t4.js.map} +1 -1
  212. package/dist/components/{p-0oKABuW2.js → p-CScTNJWS.js} +7 -7
  213. package/dist/components/{p-0oKABuW2.js.map → p-CScTNJWS.js.map} +1 -1
  214. package/dist/components/{p-D62EdTDF.js → p-CdQUFhNO.js} +3 -3
  215. package/dist/components/{p-D62EdTDF.js.map → p-CdQUFhNO.js.map} +1 -1
  216. package/dist/components/{p-CbAIiYBk.js → p-CgZvkWTt.js} +3 -3
  217. package/dist/components/{p-CbAIiYBk.js.map → p-CgZvkWTt.js.map} +1 -1
  218. package/dist/components/{p-B3Ewxc1y.js → p-CmfFRlg6.js} +7 -7
  219. package/dist/components/{p-B3Ewxc1y.js.map → p-CmfFRlg6.js.map} +1 -1
  220. package/dist/components/{p-SBX6d6TK.js → p-CzS_7d0-.js} +13 -13
  221. package/dist/components/{p-SBX6d6TK.js.map → p-CzS_7d0-.js.map} +1 -1
  222. package/dist/components/{p-BaPm4CUM.js → p-D09jozUL.js} +4 -4
  223. package/dist/components/{p-BaPm4CUM.js.map → p-D09jozUL.js.map} +1 -1
  224. package/dist/components/{p-CcHNSmM6.js → p-D82K4OiU.js} +3 -3
  225. package/dist/components/{p-CcHNSmM6.js.map → p-D82K4OiU.js.map} +1 -1
  226. package/dist/components/{p-XKsDwf68.js → p-DPJZQYRZ.js} +3 -3
  227. package/dist/components/{p-XKsDwf68.js.map → p-DPJZQYRZ.js.map} +1 -1
  228. package/dist/components/{p-CL1tVKe4.js → p-DRQQENvx.js} +13 -13
  229. package/dist/components/{p-CL1tVKe4.js.map → p-DRQQENvx.js.map} +1 -1
  230. package/dist/components/{p-CnN1TPGU.js → p-DW90RovU.js} +8 -8
  231. package/dist/components/{p-CnN1TPGU.js.map → p-DW90RovU.js.map} +1 -1
  232. package/dist/components/{p-C3jUT1uX.js → p-DWZhmPv-.js} +3 -3
  233. package/dist/components/{p-C3jUT1uX.js.map → p-DWZhmPv-.js.map} +1 -1
  234. package/dist/components/p-Da2j4Bie.js +79 -0
  235. package/dist/components/p-Da2j4Bie.js.map +1 -0
  236. package/dist/components/{p-BxKs3UTG.js → p-Dhj0ynsI.js} +4 -4
  237. package/dist/components/{p-BxKs3UTG.js.map → p-Dhj0ynsI.js.map} +1 -1
  238. package/dist/components/{p-DmWJltGE.js → p-Dk6UwJSA.js} +3 -3
  239. package/dist/components/{p-DmWJltGE.js.map → p-Dk6UwJSA.js.map} +1 -1
  240. package/dist/components/{p-BIictJiJ.js → p-DlFumKvb.js} +6 -6
  241. package/dist/components/{p-BIictJiJ.js.map → p-DlFumKvb.js.map} +1 -1
  242. package/dist/components/{p-MqZP1SU8.js → p-Drik7Kfv.js} +4 -4
  243. package/dist/components/{p-MqZP1SU8.js.map → p-Drik7Kfv.js.map} +1 -1
  244. package/dist/components/{p-BT5cWS85.js → p-DwXZFIvC.js} +3 -3
  245. package/dist/components/{p-BT5cWS85.js.map → p-DwXZFIvC.js.map} +1 -1
  246. package/dist/components/{p-DVg35gx9.js → p-OpZXFNRZ.js} +3 -3
  247. package/dist/components/{p-DVg35gx9.js.map → p-OpZXFNRZ.js.map} +1 -1
  248. package/dist/components/{p-CKXBGS9b.js → p-RaBHKmcm.js} +5 -5
  249. package/dist/components/{p-CKXBGS9b.js.map → p-RaBHKmcm.js.map} +1 -1
  250. package/dist/components/p-accordion.js +1 -1
  251. package/dist/components/p-attachment.js +7 -7
  252. package/dist/components/p-button-group.js +1 -1
  253. package/dist/components/p-calendar.js +1 -1
  254. package/dist/components/p-card-header.js +1 -1
  255. package/dist/components/p-checkbox.js +1 -1
  256. package/dist/components/p-content-slider.js +3 -3
  257. package/dist/components/p-counter.js +1 -1
  258. package/dist/components/p-cropper.js +2 -2
  259. package/dist/components/p-datepicker.js +10 -10
  260. package/dist/components/p-drawer-body.js +2 -2
  261. package/dist/components/p-drawer-container.js +2 -2
  262. package/dist/components/p-drawer-header.js +2 -2
  263. package/dist/components/p-drawer.js +40 -18
  264. package/dist/components/p-drawer.js.map +1 -1
  265. package/dist/components/p-dropdown-menu-container.js +1 -1
  266. package/dist/components/p-dropdown-menu-item.js +1 -1
  267. package/dist/components/p-dropdown.js +1 -1
  268. package/dist/components/p-empty-state.js +1 -1
  269. package/dist/components/p-field-container.js +1 -1
  270. package/dist/components/p-field.js +1 -1
  271. package/dist/components/p-floating-menu-item.js +1 -1
  272. package/dist/components/p-helper.js +1 -1
  273. package/dist/components/p-iban-icon.js +1 -1
  274. package/dist/components/p-info-panel.js +1 -1
  275. package/dist/components/p-input-error.js +1 -1
  276. package/dist/components/p-input-group.js +7 -7
  277. package/dist/components/p-label.js +3 -3
  278. package/dist/components/p-layout.js +1 -1
  279. package/dist/components/p-modal-body.js +1 -1
  280. package/dist/components/p-modal-container.js +1 -1
  281. package/dist/components/p-modal-footer.js +1 -1
  282. package/dist/components/p-modal-header.js +1 -1
  283. package/dist/components/p-modal.js +5 -5
  284. package/dist/components/p-navbar.js +1 -1
  285. package/dist/components/p-navigation-item.js +2 -2
  286. package/dist/components/p-navigation-section.js +2 -2
  287. package/dist/components/p-navigation-title.js +1 -1
  288. package/dist/components/{p-CZqz-QUW.js → p-nfMD63_1.js} +3 -3
  289. package/dist/components/{p-CZqz-QUW.js.map → p-nfMD63_1.js.map} +1 -1
  290. package/dist/components/p-pagination-pages-item.js +1 -1
  291. package/dist/components/p-pagination-pages.js +1 -1
  292. package/dist/components/p-pagination-size.js +1 -1
  293. package/dist/components/p-pagination.js +1 -1
  294. package/dist/components/p-portal.js +1 -1
  295. package/dist/components/p-profile.js +3 -3
  296. package/dist/components/p-radio.js +4 -4
  297. package/dist/components/p-radio.js.map +1 -1
  298. package/dist/components/p-segment-container.js +1 -1
  299. package/dist/components/p-segment-item.js +1 -1
  300. package/dist/components/p-select.js +10 -10
  301. package/dist/components/p-slider-indicator.js +1 -1
  302. package/dist/components/p-smile.js +1 -1
  303. package/dist/components/p-status.js +2 -2
  304. package/dist/components/p-stepper-item.js +1 -1
  305. package/dist/components/p-stepper-line.js +1 -1
  306. package/dist/components/p-stepper.js +2 -2
  307. package/dist/components/p-tab-container.js +1 -1
  308. package/dist/components/p-tab-item.js +1 -1
  309. package/dist/components/p-table-cell.js +1 -1
  310. package/dist/components/p-table-container.js +1 -1
  311. package/dist/components/p-table-footer.js +1 -1
  312. package/dist/components/p-table-header.js +1 -1
  313. package/dist/components/p-table-row-actions-container.js +1 -1
  314. package/dist/components/p-table-row.js +1 -1
  315. package/dist/components/p-table.js +23 -23
  316. package/dist/components/p-toast-container.js +2 -2
  317. package/dist/components/p-toast.js +1 -1
  318. package/dist/components/p-toggle.js +4 -4
  319. package/dist/components/p-toggle.js.map +1 -1
  320. package/dist/components/p-tooltip.js +1 -1
  321. package/dist/components/{p-CT-FyVjy.js → p-wcD-x4l2.js} +3 -3
  322. package/dist/components/{p-CT-FyVjy.js.map → p-wcD-x4l2.js.map} +1 -1
  323. package/dist/esm/index-DhGo7hbh.js +4 -4
  324. package/dist/esm/loader.js +1 -1
  325. package/dist/esm/p-accordion.entry.js +1 -1
  326. package/dist/esm/p-attachment.entry.js +4 -4
  327. package/dist/esm/p-badge_3.entry.js +3 -3
  328. package/dist/esm/p-button-group.entry.js +1 -1
  329. package/dist/esm/p-calendar.entry.js +1 -1
  330. package/dist/esm/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.js.map +1 -1
  331. package/dist/esm/p-checkbox_4.entry.js +14 -14
  332. package/dist/esm/p-checkbox_4.entry.js.map +1 -1
  333. package/dist/esm/p-content-slider.entry.js +2 -2
  334. package/dist/esm/p-counter.entry.js +1 -1
  335. package/dist/esm/p-cropper.entry.js +2 -2
  336. package/dist/esm/p-datepicker.entry.js +2 -2
  337. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  338. package/dist/esm/p-drawer-body_3.entry.js +42 -18
  339. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  340. package/dist/esm/p-drawer.entry.js +20 -4
  341. package/dist/esm/p-drawer.entry.js.map +1 -1
  342. package/dist/esm/p-empty-state_9.entry.js +12 -12
  343. package/dist/esm/p-field_2.entry.js +3 -3
  344. package/dist/esm/p-helper_2.entry.js +5 -5
  345. package/dist/esm/p-iban-icon.entry.js +1 -1
  346. package/dist/esm/p-info-panel.entry.js +1 -1
  347. package/dist/esm/p-input-error.entry.js +1 -1
  348. package/dist/esm/p-input-group.entry.js +3 -3
  349. package/dist/esm/p-label.entry.js +3 -3
  350. package/dist/esm/p-layout.entry.js +1 -1
  351. package/dist/esm/p-modal-body_4.entry.js +6 -6
  352. package/dist/esm/p-navbar.entry.js +1 -1
  353. package/dist/esm/p-navigation-item.entry.js +2 -2
  354. package/dist/esm/p-navigation-section.entry.js +1 -1
  355. package/dist/esm/p-navigation-title.entry.js +1 -1
  356. package/dist/esm/p-pagination-pages-item.entry.js +2 -2
  357. package/dist/esm/p-pagination_3.entry.js +4 -4
  358. package/dist/esm/p-portal.entry.js +1 -1
  359. package/dist/esm/p-radio.entry.js +4 -4
  360. package/dist/esm/p-radio.entry.js.map +1 -1
  361. package/dist/esm/p-select.entry.js +1 -1
  362. package/dist/esm/p-slider-indicator.entry.js +1 -1
  363. package/dist/esm/p-smile.entry.js +1 -1
  364. package/dist/esm/p-status.entry.js +2 -2
  365. package/dist/esm/p-stepper-item.entry.js +1 -1
  366. package/dist/esm/p-stepper-line.entry.js +1 -1
  367. package/dist/esm/p-stepper.entry.js +1 -1
  368. package/dist/esm/p-tab-container.entry.js +1 -1
  369. package/dist/esm/p-tab-item.entry.js +1 -1
  370. package/dist/esm/p-toast-container.entry.js +2 -2
  371. package/dist/esm/p-toast.entry.js +1 -1
  372. package/dist/esm/p-toggle.entry.js +4 -4
  373. package/dist/esm/p-toggle.entry.js.map +1 -1
  374. package/dist/esm/paperless.js +1 -1
  375. package/dist/index.html +1 -1
  376. package/dist/paperless/p-0a6b03d0.entry.js +2 -0
  377. package/dist/paperless/{p-73288f5a.entry.js → p-0a6e3e6f.entry.js} +2 -2
  378. package/dist/paperless/p-0b6db18f.entry.js +2 -0
  379. package/dist/paperless/{p-9e049ea2.entry.js → p-0dc168c5.entry.js} +2 -2
  380. package/dist/paperless/{p-9b76e79f.entry.js → p-13b16981.entry.js} +2 -2
  381. package/dist/{build/p-6786c387.entry.js → paperless/p-21d80bbe.entry.js} +2 -2
  382. package/dist/paperless/{p-44c00c66.entry.js → p-222abd40.entry.js} +2 -2
  383. package/dist/{build/p-73baed16.entry.js → paperless/p-26491670.entry.js} +2 -2
  384. package/dist/paperless/{p-ba8f7d4a.entry.js → p-28152f8e.entry.js} +2 -2
  385. package/dist/{build/p-732ca4f2.entry.js → paperless/p-427ef39b.entry.js} +2 -2
  386. package/dist/paperless/{p-14a0aea4.entry.js → p-456a3099.entry.js} +2 -2
  387. package/dist/paperless/{p-24dac9f4.entry.js → p-4fb83e8d.entry.js} +2 -2
  388. package/dist/paperless/{p-24dac9f4.entry.js.map → p-4fb83e8d.entry.js.map} +1 -1
  389. package/dist/{build/p-2c5884c2.entry.js → paperless/p-51b09be2.entry.js} +2 -2
  390. package/dist/{build/p-8a1b3aa7.entry.js → paperless/p-57acc6a7.entry.js} +2 -2
  391. package/dist/paperless/{p-9a4399ee.entry.js → p-58efc94c.entry.js} +2 -2
  392. package/dist/paperless/{p-03fc8193.entry.js → p-5dcdb2d0.entry.js} +2 -2
  393. package/dist/paperless/{p-25272030.entry.js → p-635f36c7.entry.js} +2 -2
  394. package/dist/paperless/{p-acf15cc8.entry.js → p-68b2471e.entry.js} +2 -2
  395. package/dist/paperless/p-70de0ecc.entry.js +2 -0
  396. package/dist/{build/p-947cb68e.entry.js → paperless/p-7b7366dc.entry.js} +2 -2
  397. package/dist/paperless/{p-bacbbe41.entry.js → p-861e6352.entry.js} +2 -2
  398. package/dist/paperless/{p-de7a4100.entry.js → p-899f7d36.entry.js} +2 -2
  399. package/dist/paperless/p-98c5649d.entry.js +2 -0
  400. package/dist/paperless/p-98c5649d.entry.js.map +1 -0
  401. package/dist/{build/p-d0644e30.entry.js → paperless/p-9c71c64d.entry.js} +2 -2
  402. package/dist/paperless/{p-422dfb3b.entry.js → p-9d23879b.entry.js} +2 -2
  403. package/dist/paperless/{p-e86f15a1.entry.js → p-9ef541e4.entry.js} +2 -2
  404. package/dist/paperless/{p-2930452d.entry.js → p-a6c618fb.entry.js} +2 -2
  405. package/dist/{build/p-3fcfcc66.entry.js → paperless/p-a8f60c0c.entry.js} +2 -2
  406. package/dist/{build/p-d6f6b10c.entry.js → paperless/p-acc528bf.entry.js} +2 -2
  407. package/dist/paperless/{p-41bf19a1.entry.js → p-b8797794.entry.js} +2 -2
  408. package/dist/paperless/{p-da2e0d56.entry.js → p-c2721d00.entry.js} +2 -2
  409. package/dist/{build/p-46e8c0f4.entry.js → paperless/p-c585d909.entry.js} +2 -2
  410. package/dist/{build/p-46e8c0f4.entry.js.map → paperless/p-c585d909.entry.js.map} +1 -1
  411. package/dist/{build/p-6b376f94.entry.js → paperless/p-c7c3d389.entry.js} +2 -2
  412. package/dist/paperless/p-checkbox.p-dropdown.p-dropdown-menu-container.p-dropdown-menu-item.entry.esm.js.map +1 -1
  413. package/dist/paperless/{p-e89ae562.entry.js → p-d0ba9cdd.entry.js} +2 -2
  414. package/dist/paperless/p-d3102227.entry.js +2 -0
  415. package/dist/paperless/p-d3102227.entry.js.map +1 -0
  416. package/dist/{build/p-53b152c3.entry.js → paperless/p-d5cba5af.entry.js} +2 -2
  417. package/dist/paperless/p-d6e8bf36.entry.js +2 -0
  418. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  419. package/dist/paperless/p-drawer.entry.esm.js.map +1 -1
  420. package/dist/paperless/p-e2ee74a9.entry.js +2 -0
  421. package/dist/{build/p-c66a0ecd.entry.js → paperless/p-f12a4759.entry.js} +2 -2
  422. package/dist/{build/p-a4714075.entry.js → paperless/p-f4c0923b.entry.js} +2 -2
  423. package/dist/paperless/{p-273e9f17.entry.js → p-f9efc1e5.entry.js} +2 -2
  424. package/dist/paperless/p-fe892a0f.entry.js +2 -0
  425. package/dist/paperless/p-fe892a0f.entry.js.map +1 -0
  426. package/dist/paperless/p-radio.entry.esm.js.map +1 -1
  427. package/dist/paperless/p-toggle.entry.esm.js.map +1 -1
  428. package/dist/paperless/paperless.esm.js +1 -1
  429. package/dist/sw.js +1 -1
  430. package/dist/sw.js.map +1 -1
  431. package/dist/types/components/atoms/drawer/body/drawer-body.component.d.ts +3 -0
  432. package/dist/types/components/{deprecated/atoms → atoms}/drawer/container/drawer-container.component.d.ts +1 -1
  433. package/dist/types/components/{deprecated/atoms → atoms}/drawer/header/drawer-header.component.d.ts +2 -2
  434. package/dist/types/components/{deprecated/organisms → organisms}/drawer/drawer.component.d.ts +2 -1
  435. package/dist/types/components.d.ts +0 -8
  436. package/package.json +1 -1
  437. package/dist/build/p-10f4dd8f.entry.js +0 -2
  438. package/dist/build/p-15228677.entry.js +0 -2
  439. package/dist/build/p-15228677.entry.js.map +0 -1
  440. package/dist/build/p-309acb82.entry.js +0 -2
  441. package/dist/build/p-309acb82.entry.js.map +0 -1
  442. package/dist/build/p-370caa9a.entry.js +0 -2
  443. package/dist/build/p-3c7fbac4.entry.js +0 -2
  444. package/dist/build/p-5a7996c2.entry.js +0 -2
  445. package/dist/build/p-5a7996c2.entry.js.map +0 -1
  446. package/dist/build/p-66409ba4.entry.js +0 -2
  447. package/dist/build/p-7018d7cf.entry.js +0 -2
  448. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.css +0 -1
  449. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js +0 -47
  450. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js.map +0 -1
  451. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.css +0 -1
  452. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.js.map +0 -1
  453. package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.css +0 -1
  454. package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.js.map +0 -1
  455. package/dist/collection/components/deprecated/organisms/drawer/drawer.component.css +0 -1
  456. package/dist/collection/components/deprecated/organisms/drawer/drawer.component.js.map +0 -1
  457. package/dist/components/p-C-AhTmKm.js +0 -40
  458. package/dist/components/p-C-AhTmKm.js.map +0 -1
  459. package/dist/components/p-CEJ0i7nJ.js.map +0 -1
  460. package/dist/components/p-DTgWKZ3Y.js +0 -39
  461. package/dist/components/p-DTgWKZ3Y.js.map +0 -1
  462. package/dist/components/p-zJ1HDy_d.js +0 -63
  463. package/dist/components/p-zJ1HDy_d.js.map +0 -1
  464. package/dist/paperless/p-10f4dd8f.entry.js +0 -2
  465. package/dist/paperless/p-15228677.entry.js +0 -2
  466. package/dist/paperless/p-15228677.entry.js.map +0 -1
  467. package/dist/paperless/p-309acb82.entry.js +0 -2
  468. package/dist/paperless/p-309acb82.entry.js.map +0 -1
  469. package/dist/paperless/p-370caa9a.entry.js +0 -2
  470. package/dist/paperless/p-3c7fbac4.entry.js +0 -2
  471. package/dist/paperless/p-5a7996c2.entry.js +0 -2
  472. package/dist/paperless/p-5a7996c2.entry.js.map +0 -1
  473. package/dist/paperless/p-66409ba4.entry.js +0 -2
  474. package/dist/paperless/p-7018d7cf.entry.js +0 -2
  475. package/dist/types/components/deprecated/atoms/drawer/body/drawer-body.component.d.ts +0 -7
  476. /package/dist/build/{p-10f4dd8f.entry.js.map → p-0a6b03d0.entry.js.map} +0 -0
  477. /package/dist/build/{p-73288f5a.entry.js.map → p-0a6e3e6f.entry.js.map} +0 -0
  478. /package/dist/build/{p-3c7fbac4.entry.js.map → p-0b6db18f.entry.js.map} +0 -0
  479. /package/dist/build/{p-9e049ea2.entry.js.map → p-0dc168c5.entry.js.map} +0 -0
  480. /package/dist/build/{p-9b76e79f.entry.js.map → p-13b16981.entry.js.map} +0 -0
  481. /package/dist/build/{p-6786c387.entry.js.map → p-21d80bbe.entry.js.map} +0 -0
  482. /package/dist/build/{p-44c00c66.entry.js.map → p-222abd40.entry.js.map} +0 -0
  483. /package/dist/build/{p-73baed16.entry.js.map → p-26491670.entry.js.map} +0 -0
  484. /package/dist/build/{p-ba8f7d4a.entry.js.map → p-28152f8e.entry.js.map} +0 -0
  485. /package/dist/build/{p-732ca4f2.entry.js.map → p-427ef39b.entry.js.map} +0 -0
  486. /package/dist/build/{p-14a0aea4.entry.js.map → p-456a3099.entry.js.map} +0 -0
  487. /package/dist/build/{p-2c5884c2.entry.js.map → p-51b09be2.entry.js.map} +0 -0
  488. /package/dist/build/{p-8a1b3aa7.entry.js.map → p-57acc6a7.entry.js.map} +0 -0
  489. /package/dist/build/{p-9a4399ee.entry.js.map → p-58efc94c.entry.js.map} +0 -0
  490. /package/dist/build/{p-03fc8193.entry.js.map → p-5dcdb2d0.entry.js.map} +0 -0
  491. /package/dist/build/{p-25272030.entry.js.map → p-635f36c7.entry.js.map} +0 -0
  492. /package/dist/build/{p-acf15cc8.entry.js.map → p-68b2471e.entry.js.map} +0 -0
  493. /package/dist/build/{p-66409ba4.entry.js.map → p-70de0ecc.entry.js.map} +0 -0
  494. /package/dist/build/{p-947cb68e.entry.js.map → p-7b7366dc.entry.js.map} +0 -0
  495. /package/dist/build/{p-bacbbe41.entry.js.map → p-861e6352.entry.js.map} +0 -0
  496. /package/dist/build/{p-de7a4100.entry.js.map → p-899f7d36.entry.js.map} +0 -0
  497. /package/dist/build/{p-d0644e30.entry.js.map → p-9c71c64d.entry.js.map} +0 -0
  498. /package/dist/build/{p-422dfb3b.entry.js.map → p-9d23879b.entry.js.map} +0 -0
  499. /package/dist/build/{p-e86f15a1.entry.js.map → p-9ef541e4.entry.js.map} +0 -0
  500. /package/dist/build/{p-2930452d.entry.js.map → p-a6c618fb.entry.js.map} +0 -0
  501. /package/dist/build/{p-3fcfcc66.entry.js.map → p-a8f60c0c.entry.js.map} +0 -0
  502. /package/dist/build/{p-d6f6b10c.entry.js.map → p-acc528bf.entry.js.map} +0 -0
  503. /package/dist/build/{p-41bf19a1.entry.js.map → p-b8797794.entry.js.map} +0 -0
  504. /package/dist/build/{p-da2e0d56.entry.js.map → p-c2721d00.entry.js.map} +0 -0
  505. /package/dist/build/{p-6b376f94.entry.js.map → p-c7c3d389.entry.js.map} +0 -0
  506. /package/dist/build/{p-e89ae562.entry.js.map → p-d0ba9cdd.entry.js.map} +0 -0
  507. /package/dist/build/{p-53b152c3.entry.js.map → p-d5cba5af.entry.js.map} +0 -0
  508. /package/dist/build/{p-370caa9a.entry.js.map → p-d6e8bf36.entry.js.map} +0 -0
  509. /package/dist/build/{p-7018d7cf.entry.js.map → p-e2ee74a9.entry.js.map} +0 -0
  510. /package/dist/build/{p-c66a0ecd.entry.js.map → p-f12a4759.entry.js.map} +0 -0
  511. /package/dist/build/{p-a4714075.entry.js.map → p-f4c0923b.entry.js.map} +0 -0
  512. /package/dist/build/{p-273e9f17.entry.js.map → p-f9efc1e5.entry.js.map} +0 -0
  513. /package/dist/paperless/{p-10f4dd8f.entry.js.map → p-0a6b03d0.entry.js.map} +0 -0
  514. /package/dist/paperless/{p-73288f5a.entry.js.map → p-0a6e3e6f.entry.js.map} +0 -0
  515. /package/dist/paperless/{p-3c7fbac4.entry.js.map → p-0b6db18f.entry.js.map} +0 -0
  516. /package/dist/paperless/{p-9e049ea2.entry.js.map → p-0dc168c5.entry.js.map} +0 -0
  517. /package/dist/paperless/{p-9b76e79f.entry.js.map → p-13b16981.entry.js.map} +0 -0
  518. /package/dist/paperless/{p-6786c387.entry.js.map → p-21d80bbe.entry.js.map} +0 -0
  519. /package/dist/paperless/{p-44c00c66.entry.js.map → p-222abd40.entry.js.map} +0 -0
  520. /package/dist/paperless/{p-73baed16.entry.js.map → p-26491670.entry.js.map} +0 -0
  521. /package/dist/paperless/{p-ba8f7d4a.entry.js.map → p-28152f8e.entry.js.map} +0 -0
  522. /package/dist/paperless/{p-732ca4f2.entry.js.map → p-427ef39b.entry.js.map} +0 -0
  523. /package/dist/paperless/{p-14a0aea4.entry.js.map → p-456a3099.entry.js.map} +0 -0
  524. /package/dist/paperless/{p-2c5884c2.entry.js.map → p-51b09be2.entry.js.map} +0 -0
  525. /package/dist/paperless/{p-8a1b3aa7.entry.js.map → p-57acc6a7.entry.js.map} +0 -0
  526. /package/dist/paperless/{p-9a4399ee.entry.js.map → p-58efc94c.entry.js.map} +0 -0
  527. /package/dist/paperless/{p-03fc8193.entry.js.map → p-5dcdb2d0.entry.js.map} +0 -0
  528. /package/dist/paperless/{p-25272030.entry.js.map → p-635f36c7.entry.js.map} +0 -0
  529. /package/dist/paperless/{p-acf15cc8.entry.js.map → p-68b2471e.entry.js.map} +0 -0
  530. /package/dist/paperless/{p-66409ba4.entry.js.map → p-70de0ecc.entry.js.map} +0 -0
  531. /package/dist/paperless/{p-947cb68e.entry.js.map → p-7b7366dc.entry.js.map} +0 -0
  532. /package/dist/paperless/{p-bacbbe41.entry.js.map → p-861e6352.entry.js.map} +0 -0
  533. /package/dist/paperless/{p-de7a4100.entry.js.map → p-899f7d36.entry.js.map} +0 -0
  534. /package/dist/paperless/{p-d0644e30.entry.js.map → p-9c71c64d.entry.js.map} +0 -0
  535. /package/dist/paperless/{p-422dfb3b.entry.js.map → p-9d23879b.entry.js.map} +0 -0
  536. /package/dist/paperless/{p-e86f15a1.entry.js.map → p-9ef541e4.entry.js.map} +0 -0
  537. /package/dist/paperless/{p-2930452d.entry.js.map → p-a6c618fb.entry.js.map} +0 -0
  538. /package/dist/paperless/{p-3fcfcc66.entry.js.map → p-a8f60c0c.entry.js.map} +0 -0
  539. /package/dist/paperless/{p-d6f6b10c.entry.js.map → p-acc528bf.entry.js.map} +0 -0
  540. /package/dist/paperless/{p-41bf19a1.entry.js.map → p-b8797794.entry.js.map} +0 -0
  541. /package/dist/paperless/{p-da2e0d56.entry.js.map → p-c2721d00.entry.js.map} +0 -0
  542. /package/dist/paperless/{p-6b376f94.entry.js.map → p-c7c3d389.entry.js.map} +0 -0
  543. /package/dist/paperless/{p-e89ae562.entry.js.map → p-d0ba9cdd.entry.js.map} +0 -0
  544. /package/dist/paperless/{p-53b152c3.entry.js.map → p-d5cba5af.entry.js.map} +0 -0
  545. /package/dist/paperless/{p-370caa9a.entry.js.map → p-d6e8bf36.entry.js.map} +0 -0
  546. /package/dist/paperless/{p-7018d7cf.entry.js.map → p-e2ee74a9.entry.js.map} +0 -0
  547. /package/dist/paperless/{p-c66a0ecd.entry.js.map → p-f12a4759.entry.js.map} +0 -0
  548. /package/dist/paperless/{p-a4714075.entry.js.map → p-f4c0923b.entry.js.map} +0 -0
  549. /package/dist/paperless/{p-273e9f17.entry.js.map → p-f9efc1e5.entry.js.map} +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawer.component.js","sourceRoot":"","sources":["../../../../src/components/organisms/drawer/drawer.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AAMvB,MAAM,OAAO,MAAM;IAClB;;OAEG;IACK,MAAM,CAAU;IAExB;;OAEG;IACK,IAAI,GAAY,KAAK,CAAC;IAE9B;;OAEG;IACK,SAAS,GAAY,KAAK,CAAC;IAEnC;;OAEG;IACK,SAAS,GAAG,IAAI,CAAC;IAEzB;;OAEG;IACK,kBAAkB,GAAG,IAAI,CAAC;IAElC;;OAEG;IACK,QAAQ,GAAY,IAAI,CAAC;IAEjC;;OAEG;IACK,UAAU,GAAY,IAAI,CAAC;IAEnC;;OAEG;IAIH,YAAY,CAIT;IAEH;;OAEG;IAIH,MAAM,CAAqB;IAE3B;;OAEG;IACgB,GAAG,CAAc;IAE5B,cAAc,GAAG,KAAK,CAAC;IAEd,QAAQ,GAAG,KAAK,CAAC;IAElC,iBAAiB;QAChB,IAAI,CAAC,cAAc,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC7C,0BAA0B,CAC1B,CAAC;IACH,CAAC;IAED,MAAM;QACL,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YAChB,OAAO;QACR,CAAC;QAED,MAAM,aAAa,GAAG,YAAM,IAAI,EAAC,QAAQ,GAAG,CAAC;QAC7C,MAAM,WAAW,GAAG,YAAM,IAAI,EAAC,S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Prop,\n\tState,\n} from '@stencil/core';\n\n@Component({ tag: 'p-drawer',\n\tstyleUrl: 'drawer.component.scss',\n\tshadow: true,\n})\nexport class Drawer {\n\t/**\n\t * The Header of the drawer\n\t */\n\t@Prop() header?: string;\n\n\t/**\n\t * Wether to show the drawer or not\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to apply blur to the backdrop\n\t */\n\t@Prop() applyBlur: boolean = false;\n\n\t/**\n\t * Wether to show the close on mobile in the header\n\t */\n\t@Prop() showClose = true;\n\n\t/**\n\t * Wether to hide the drawer when the backdrop is clicked\n\t */\n\t@Prop() backdropClickClose = true;\n\n\t/**\n\t * Wether the drawer can be closed\n\t */\n\t@Prop() canClose: boolean = true;\n\n\t/**\n\t * Wether we should scroll lock the body\n\t */\n\t@Prop() scrollLock: boolean = true;\n\n\t/**\n\t * Close click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tcloseClicked: EventEmitter<{\n\t\tevent: MouseEvent;\n\t\tcanClose: boolean;\n source: 'unknown' | 'backdrop' | 'close' | 'event'\n\t}>;\n\n\t/**\n\t * Closed event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tclosed: EventEmitter<null>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _hasHeaderSlot = false;\n\n\t@State() private _closing = false;\n\n\tcomponentWillLoad() {\n\t\tthis._hasHeaderSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"header\"]'\n\t\t);\n\t}\n\n\trender() {\n\t\tif (!this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst headerContent = <slot name=\"header\" />;\n\t\tconst bodyContent = <slot name=\"content\" />;\n\n\t\treturn (\n\t\t\t\t<p-backdrop\n\t\t\t\t\tvariant=\"drawer\"\n\t\t\t\t\tapplyBlur={this.applyBlur}\n\t\t\t\t\tonClicked={(ev) => this._backdropClick(ev.detail)}\n\t\t\t\t\tclosing={this._closing}\n\t\t\t\t\tscrollLock={this.scrollLock}\n\t\t\t\t>\n\t\t\t\t\t<p-drawer-container closing={this._closing}>\n\t\t\t\t\t\t{(this.header?.length || this._hasHeaderSlot) && (\n\t\t\t\t\t\t\t<p-drawer-header\n\t\t\t\t\t\t\t\tshow-close={this.showClose}\n\t\t\t\t\t\t\t\tonClose={(ev) => this.close(ev.detail, 'close')}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._hasHeaderSlot\n\t\t\t\t\t\t\t\t\t? headerContent\n\t\t\t\t\t\t\t\t\t: this.header}\n\t\t\t\t\t\t\t</p-drawer-header>\n\t\t\t\t\t\t)}\n\t\t\t\t\t\t<p-drawer-body>{bodyContent}</p-drawer-body>\n\t\t\t\t\t</p-drawer-container>\n\t\t\t\t</p-backdrop>\n\t\t);\n\t}\n\n\tprivate _backdropClick(ev: MouseEvent) {\n\t\tif (!this.backdropClickClose) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst modal = this._findDrawer(ev.target as HTMLElement);\n\t\tif (modal) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.close(ev, 'backdrop');\n\t}\n\n\tprivate _findDrawer(el: HTMLElement | null): any {\n\t\tif (!el) {\n\t\t\treturn null;\n\t\t}\n\n\t\tif (el.nodeName.toLowerCase() === 'p-drawer-container') {\n\t\t\treturn el;\n\t\t}\n\n\t\tif (el?.tagName?.toLowerCase() === 'p-drawer') {\n\t\t\treturn null;\n\t\t}\n\n\t\treturn this._findDrawer(el?.parentElement);\n\t}\n\n\tpublic close(ev?: MouseEvent, source: 'unknown' | 'backdrop' | 'close' | 'event' = 'unknown', force = false) {\n\t\tif (!force) {\n\t\t\tthis.closeClicked.emit({\n\t\t\t\tevent: ev,\n\t\t\t\tcanClose: this.canClose,\n \t\tsource\n\t\t\t});\n\n\t\t\tif (!this.canClose) {\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\n\t\tthis._closing = true;\n\n\t\tsetTimeout(() => {\n\t\t\tthis.show = false;\n\t\t\tthis._closing = false;\n\t\t\tthis.closed.emit();\n\t\t}, 250);\n\t}\n\n\t@Listen('closeDrawer', { target: 'window' })\n\thandleCloseDrawer() {\n\t\tthis.close(null, 'event');\n\t}\n\n\t@Listen('forceCloseDrawer', { target: 'window' })\n\thandleForceCloseDrawer() {\n\t\tthis.close(null, 'event', true);\n\t}\n}\n"]}
@@ -42,7 +42,7 @@ const backdrop = cva(['z-navbar-backdrop layout-1280:hidden transition-opacity r
42
42
  export class Navbar {
43
43
  _show = false;
44
44
  render() {
45
- return (h(Host, { key: '53f5cbb707d43895d61263cc66cf0b0ca70bc16f' }, h("p-backdrop", { key: 'f7631ad68ce5c66ea866e1e07d1b46076d2fb928', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: '619e8ac8e751fc4ce650a9222929c5400b0eb7f7', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '4e792b78748522f1effe8570b58d5ceabe012d32', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: 'e10eac4427b22a65dd3a2dc2ab76170fd2546946', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '82c4ea5c1cb86ec222415f0012a1dcaf5419929a', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: '0f18a100c12b60e09ab2fdb68b5a6c67366d36c0', name: 'company' })), h("div", { key: '958013530513e26038ed4068060ee5728d711e84', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'ea16cd85f07f6b65e1b6ba20549273b8dd630583', name: 'content' })), h("div", { key: 'c3506e17da027d0d5c4010f5823c6102bc8565d8', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: 'ddc92d681f57167730794e71db9f02e70eea2a95', name: 'user' }))), h("div", { key: '203e25b74541cdb5588fce0e9c94874be0bdae76', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: 'cbe75579e8131c2ded9f8c50fe086461d2870008', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: '33ebb7bba63f14a3f48ed92b2dfd9c02445a8002', name: 'topbar' }))));
45
+ return (h(Host, { key: '2454198616a89f6ee5be80b5015bb425a43ac1ab' }, h("p-backdrop", { key: 'edf555a9998bbe29bc6d23bb8062d2cd91a40526', class: backdrop({ show: this._show }), scrollLock: this._show, onClicked: () => (this._show = false) }), h("div", { key: 'f1d5ee815ca333b61adb42f47e1af62f34f81c55', class: sidebar({ class: sidebarAndTopbar(), show: this._show }) }, h("div", { key: '92079830ab45b054c49ef1d96dce3bdba16317fe', class: 'flex w-full items-center justify-between layout-1280:hidden' }, h("p-button", { key: '94bbb8bb5bd84e680bc1a19c94c600b96e624fbb', variant: 'secondary', icon: 'menu-arrow', iconFlip: 'horizontal', iconOnly: true, size: 'sm', onClick: () => (this._show = false) })), h("div", { key: '84d7b951268841ddf4afc597a95b3d7107966dc7', class: 'flex w-full flex-col items-stretch' }, h("slot", { key: 'fd5289de2edbdcfc1daeb91bea5eaf3b17939942', name: 'company' })), h("div", { key: 'dc521460a54752e679cbecb96f723ed91e919ab9', class: 'flex w-full flex-col gap-6 overflow-y-auto' }, h("slot", { key: 'c215321feb35149589a7475b7df960d357016aa1', name: 'content' })), h("div", { key: '5d67060818c2cfbbebe75392db6f6402fd17a7ef', class: 'mt-auto hidden w-full flex-col layout-1280:flex' }, h("slot", { key: '727ffeb55bf2cfc51b43727240ae48ecc285b82b', name: 'user' }))), h("div", { key: '5e9c20cd0d7ed4badced9d4d276c02b872dbb878', class: topbar({ class: sidebarAndTopbar() }) }, h("p-button", { key: '5aef208e1bc4ebca99102e3af6cf776481bf5a30', variant: 'secondary', iconOnly: true, icon: 'menu-arrow', size: 'sm', onClick: () => (this._show = true) }), h("slot", { key: 'bcf56977ccd76fcdca4bb32d02969f08005826e7', name: 'topbar' }))));
46
46
  }
47
47
  handleCloseNavbar() {
48
48
  this._show = false;
@@ -2,11 +2,11 @@ import { p as proxyCustomElement, H, c as createEvent, h, F as Fragment, d as Ho
2
2
  import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj8rmO.js';
3
3
  import { c as cva } from './p-4hDfHOnN.js';
4
4
  import { a as asBoolean } from './p-C5CTp9IA.js';
5
- import { d as defineCustomElement$5 } from './p-kicoGsIb.js';
5
+ import { d as defineCustomElement$5 } from './p-8rB2Q4yP.js';
6
6
  import { d as defineCustomElement$4 } from './p-CQcp92mr.js';
7
7
  import { d as defineCustomElement$3 } from './p-D8NwpELS.js';
8
- import { d as defineCustomElement$2 } from './p-B-__VvzL.js';
9
- import { d as defineCustomElement$1 } from './p-B3Ewxc1y.js';
8
+ import { d as defineCustomElement$2 } from './p-BUxcWSGM.js';
9
+ import { d as defineCustomElement$1 } from './p-CmfFRlg6.js';
10
10
 
11
11
  const fieldContainerComponentCss = "*{box-sizing:border-box}.ml-2{margin-left:.5rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-5{height:1.25rem!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.flex-col{flex-direction:column!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.rounded-lg{border-radius:.5rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:85.375rem){.container{max-width:85.375rem}}@media (min-width:90rem){.container{max-width:90rem}}@media (min-width:96rem){.container{max-width:96rem}}@media (min-width:105rem){.container{max-width:105rem}}@media (min-width:120rem){.container{max-width:120rem}}@media (min-width:160rem){.container{max-width:160rem}}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.empty\\:hidden:empty{display:none!important}";
12
12
 
@@ -191,6 +191,6 @@ function defineCustomElement() {
191
191
  defineCustomElement();
192
192
 
193
193
  export { FieldContainer as F, defineCustomElement as d };
194
- //# sourceMappingURL=p-CjruE70A.js.map
194
+ //# sourceMappingURL=p-12mQxW6R.js.map
195
195
 
196
- //# sourceMappingURL=p-CjruE70A.js.map
196
+ //# sourceMappingURL=p-12mQxW6R.js.map
@@ -1 +1 @@
1
- {"file":"p-CjruE70A.js","mappings":";;;;;;;;;;AAAA,MAAM,0BAA0B,GAAG,qoDAAqoD;;ACoBxqD,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,EAAE,EAAE,IAAI;AACR,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE;AACjB,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AAED,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IA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EAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM;QACnE,MAAM,KAAK,GAAG,YAAY,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK;QAE/D,MAAM,yBAAyB,GAC9B,YAAY;AACZ,aAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tElement,\n\tEventEmitter,\n\th,\n\tHost,\n\tEvent,\n\tProp,\n\tFragment,\n\tState,\n\tListen,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { Placement } from '@floating-ui/dom';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { cva } from 'class-variance-authority';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string | HTMLSlotElement;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tname='content'\n\t\t\t\tslot='trigger'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-field-container'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass='flex w-inherit flex-col gap-1'\n\t\t\t\t>\n\t\t\t\t\t<div class='flex items-end justify-between gap-1 empty:hidden'>\n\t\t\t\t\t\t{!!label?.length && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='text-xs font-medium text-black-teal-300'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{(!asBoolean(this.required) || helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) && this.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-black-teal-200'>\n\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={this.variant === 'write' || this.loading ? 'w-full' : ''}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={errorAndErrorIsNotBoolean && asBoolean(this.forceShowTooltip)}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"version":3}
1
+ {"file":"p-12mQxW6R.js","mappings":";;;;;;;;;;AAAA,MAAM,0BAA0B,GAAG,qoDAAqoD;;ACoBxqD,MAAM,MAAM,GAAG,GAAG,CAAC,CAAC,mBAAmB,CAAC,EAAE;AACzC,IAAA,QAAQ,EAAE;AACT,QAAA,OAAO,EAAE;AACR,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,IAAI;AACX,SAAA;AACD,QAAA,IAAI,EAAE;AACL,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,EAAE,EAAE,IAAI;AACR,SAAA;AACD,KAAA;AACD,IAAA,gBAAgB,EAAE;AACjB,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,MAAM;AACf,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AAED,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,MAAM;AACZ,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,QAAA;AACC,YAAA,OAAO,EAAE,OAAO;AAChB,YAAA,IAAI,EAAE,IAAI;AACV,YAAA,KAAK,EAAE,KAAK;AACZ,SAAA;AACD,KAAA;AACD,CAAA,CAAC;MASW,cAAc,iBAAAA,kBAAA,CAAA,MAAA,cAAA,SAAAC,CAAA,CAAA;;;;;;;AAClB,IAAA,wBAAwB,GAAiB,MAChD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC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,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tElement,\n\tEventEmitter,\n\th,\n\tHost,\n\tEvent,\n\tProp,\n\tFragment,\n\tState,\n\tListen,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../../utils';\nimport { Placement } from '@floating-ui/dom';\nimport { asBoolean } from '../../../../utils/as-boolean';\nimport { cva } from 'class-variance-authority';\n\nconst loader = cva(['rounded-lg w-full'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: null,\n\t\t\twrite: null,\n\t\t},\n\t\tsize: {\n\t\t\tbase: null,\n\t\t\tsm: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-5',\n\t\t},\n\t\t{\n\t\t\tvariant: 'read',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-4',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'base',\n\t\t\tclass: 'h-8',\n\t\t},\n\t\t{\n\t\t\tvariant: 'write',\n\t\t\tsize: 'sm',\n\t\t\tclass: 'h-6',\n\t\t},\n\t],\n});\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\t/**\n\t * The id for the label\n\t */\n\t@Prop() id: string;\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field container is in loading state\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * The size of the loader\n\t */\n\t@Prop() loadingSize: 'base' | 'sm' = 'base';\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string | HTMLSlotElement;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tlet contentSlot = (\n\t\t\t<slot\n\t\t\t\tname='content'\n\t\t\t\tslot='trigger'\n\t\t\t/>\n\t\t);\n\n\t\tif (this.loading) {\n\t\t\tcontentSlot = (\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass={loader({ variant: this.variant, size: this.loadingSize })}\n\t\t\t\t\tslot='trigger'\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-field-container'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id}\n\t\t\t\t\tclass='flex w-inherit flex-col gap-1'\n\t\t\t\t>\n\t\t\t\t\t<div class='flex items-end justify-between gap-1 empty:hidden'>\n\t\t\t\t\t\t{!!label?.length && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='text-xs font-medium text-black-teal-300'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{(!asBoolean(this.required) || helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!asBoolean(this.required) && this.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-black-teal-200'>\n\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass={this.variant === 'write' || this.loading ? 'w-full' : ''}\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={errorAndErrorIsNotBoolean && asBoolean(this.forceShowTooltip)}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"version":3}
@@ -4,15 +4,15 @@ import { f as formatTranslation, g as getLocaleComponentStrings } from './p-DiJj
4
4
  import { d as defineCustomElement$c } from './p-BEuvmIBQ.js';
5
5
  import { d as defineCustomElement$b } from './p-N1Pv54zG.js';
6
6
  import { d as defineCustomElement$a } from './p-CEoo55FK.js';
7
- import { d as defineCustomElement$9 } from './p-D9TW62QT.js';
8
- import { d as defineCustomElement$8 } from './p-CjruE70A.js';
9
- import { d as defineCustomElement$7 } from './p-kicoGsIb.js';
7
+ import { d as defineCustomElement$9 } from './p-BrtcZfOg.js';
8
+ import { d as defineCustomElement$8 } from './p-12mQxW6R.js';
9
+ import { d as defineCustomElement$7 } from './p-8rB2Q4yP.js';
10
10
  import { d as defineCustomElement$6 } from './p-CQcp92mr.js';
11
11
  import { d as defineCustomElement$5 } from './p-D8NwpELS.js';
12
- import { d as defineCustomElement$4 } from './p-B-__VvzL.js';
13
- import { d as defineCustomElement$3 } from './p-CT-FyVjy.js';
14
- import { d as defineCustomElement$2 } from './p-Cs3hICh6.js';
15
- import { d as defineCustomElement$1 } from './p-B3Ewxc1y.js';
12
+ import { d as defineCustomElement$4 } from './p-BUxcWSGM.js';
13
+ import { d as defineCustomElement$3 } from './p-wcD-x4l2.js';
14
+ import { d as defineCustomElement$2 } from './p-CFdbv-t4.js';
15
+ import { d as defineCustomElement$1 } from './p-CmfFRlg6.js';
16
16
 
17
17
  var cjs = {};
18
18
 
@@ -9723,6 +9723,6 @@ function defineCustomElement() {
9723
9723
  defineCustomElement();
9724
9724
 
9725
9725
  export { TableHeader as T, defineCustomElement as d };
9726
- //# sourceMappingURL=p-C1teny1Z.js.map
9726
+ //# sourceMappingURL=p-4jVVUXXD.js.map
9727
9727
 
9728
- //# sourceMappingURL=p-C1teny1Z.js.map
9728
+ //# sourceMappingURL=p-4jVVUXXD.js.map