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

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 (519) hide show
  1. package/CHANGELOG.md +11 -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-761e3e45.js → p-0c74d8df.js} +1 -1
  6. package/dist/build/{p-9e049ea2.entry.js → p-0dc168c5.entry.js} +2 -2
  7. package/dist/build/{p-9b76e79f.entry.js → p-13b16981.entry.js} +2 -2
  8. package/dist/build/{p-46e8c0f4.entry.js → p-2046bbbd.entry.js} +2 -2
  9. package/dist/{paperless/p-6786c387.entry.js → build/p-21d80bbe.entry.js} +2 -2
  10. package/dist/build/{p-44c00c66.entry.js → p-222abd40.entry.js} +2 -2
  11. package/dist/{paperless/p-73baed16.entry.js → build/p-26491670.entry.js} +2 -2
  12. package/dist/build/{p-ba8f7d4a.entry.js → p-28152f8e.entry.js} +2 -2
  13. package/dist/build/{p-309acb82.entry.js → p-35b71004.entry.js} +2 -2
  14. package/dist/{paperless/p-732ca4f2.entry.js → build/p-427ef39b.entry.js} +2 -2
  15. package/dist/build/{p-14a0aea4.entry.js → p-456a3099.entry.js} +2 -2
  16. package/dist/{paperless/p-2c5884c2.entry.js → build/p-51b09be2.entry.js} +2 -2
  17. package/dist/{paperless/p-8a1b3aa7.entry.js → build/p-57acc6a7.entry.js} +2 -2
  18. package/dist/build/{p-9a4399ee.entry.js → p-58efc94c.entry.js} +2 -2
  19. package/dist/build/{p-03fc8193.entry.js → p-5dcdb2d0.entry.js} +2 -2
  20. package/dist/build/{p-25272030.entry.js → p-635f36c7.entry.js} +2 -2
  21. package/dist/build/{p-acf15cc8.entry.js → p-68b2471e.entry.js} +2 -2
  22. package/dist/build/p-70de0ecc.entry.js +2 -0
  23. package/dist/{paperless/p-947cb68e.entry.js → build/p-7b7366dc.entry.js} +2 -2
  24. package/dist/build/{p-bacbbe41.entry.js → p-861e6352.entry.js} +2 -2
  25. package/dist/build/{p-de7a4100.entry.js → p-899f7d36.entry.js} +2 -2
  26. package/dist/build/p-98c5649d.entry.js +2 -0
  27. package/dist/build/p-98c5649d.entry.js.map +1 -0
  28. package/dist/{paperless/p-d0644e30.entry.js → build/p-9c71c64d.entry.js} +2 -2
  29. package/dist/build/{p-422dfb3b.entry.js → p-9d23879b.entry.js} +2 -2
  30. package/dist/build/{p-e86f15a1.entry.js → p-9ef541e4.entry.js} +2 -2
  31. package/dist/build/{p-2930452d.entry.js → p-a6c618fb.entry.js} +2 -2
  32. package/dist/{paperless/p-3fcfcc66.entry.js → build/p-a8f60c0c.entry.js} +2 -2
  33. package/dist/{paperless/p-d6f6b10c.entry.js → build/p-acc528bf.entry.js} +2 -2
  34. package/dist/build/{p-41bf19a1.entry.js → p-b8797794.entry.js} +2 -2
  35. package/dist/build/{p-da2e0d56.entry.js → p-c2721d00.entry.js} +2 -2
  36. package/dist/{paperless/p-6b376f94.entry.js → build/p-c7c3d389.entry.js} +2 -2
  37. package/dist/build/{p-e89ae562.entry.js → p-d0ba9cdd.entry.js} +2 -2
  38. package/dist/{paperless/p-53b152c3.entry.js → build/p-d5cba5af.entry.js} +2 -2
  39. package/dist/build/p-d6e8bf36.entry.js +2 -0
  40. package/dist/build/{p-24dac9f4.entry.js → p-df4bda2d.entry.js} +2 -2
  41. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  42. package/dist/build/p-drawer.entry.esm.js.map +1 -1
  43. package/dist/build/p-e2ee74a9.entry.js +2 -0
  44. package/dist/{paperless/p-c66a0ecd.entry.js → build/p-f12a4759.entry.js} +2 -2
  45. package/dist/{paperless/p-a4714075.entry.js → build/p-f4c0923b.entry.js} +2 -2
  46. package/dist/build/{p-273e9f17.entry.js → p-f9efc1e5.entry.js} +2 -2
  47. package/dist/build/p-fe892a0f.entry.js +2 -0
  48. package/dist/build/p-fe892a0f.entry.js.map +1 -0
  49. package/dist/build/paperless.esm.js +1 -1
  50. package/dist/cjs/index-BDuPp9vl.js +4 -4
  51. package/dist/cjs/loader.cjs.js +1 -1
  52. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  53. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  54. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  55. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  56. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  57. package/dist/cjs/p-checkbox_4.cjs.entry.js +9 -9
  58. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  59. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  60. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  61. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  62. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  63. package/dist/cjs/p-drawer-body_3.cjs.entry.js +43 -19
  64. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  65. package/dist/cjs/p-drawer.cjs.entry.js +19 -3
  66. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -1
  67. package/dist/cjs/p-drawer.entry.cjs.js.map +1 -1
  68. package/dist/cjs/p-empty-state_9.cjs.entry.js +12 -12
  69. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  70. package/dist/cjs/p-helper_2.cjs.entry.js +5 -5
  71. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  72. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  73. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  74. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  75. package/dist/cjs/p-label.cjs.entry.js +3 -3
  76. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  77. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  78. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  79. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  80. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  81. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  82. package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
  83. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  84. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  85. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  86. package/dist/cjs/p-select.cjs.entry.js +1 -1
  87. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  88. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  89. package/dist/cjs/p-status.cjs.entry.js +2 -2
  90. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  91. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  92. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  93. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  94. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  95. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  96. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  97. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  98. package/dist/cjs/paperless.cjs.js +1 -1
  99. package/dist/collection/collection-manifest.json +4 -4
  100. package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -0
  101. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js +19 -0
  102. package/dist/collection/components/atoms/drawer/body/drawer-body.component.js.map +1 -0
  103. package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -0
  104. package/dist/collection/components/{deprecated/atoms → atoms}/drawer/container/drawer-container.component.js +23 -9
  105. package/dist/collection/components/atoms/drawer/container/drawer-container.component.js.map +1 -0
  106. package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -0
  107. package/dist/collection/components/{deprecated/atoms → atoms}/drawer/header/drawer-header.component.js +14 -4
  108. package/dist/collection/components/atoms/drawer/header/drawer-header.component.js.map +1 -0
  109. package/dist/collection/components/atoms/dropdown-menu/container/dropdown-menu-container.component.js +2 -2
  110. package/dist/collection/components/atoms/dropdown-menu/item/dropdown-menu-item.component.js +3 -3
  111. package/dist/collection/components/atoms/floating-menu/item/floating-menu-item.component.js +2 -2
  112. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  113. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  114. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  115. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  116. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  117. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  118. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  119. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  120. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  121. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  122. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  123. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  124. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  125. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  126. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  127. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  128. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +1 -1
  129. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  130. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  131. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  132. package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
  133. package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
  134. package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
  135. package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
  136. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js +1 -1
  137. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js +1 -1
  138. package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
  139. package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
  140. package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
  141. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
  142. package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
  143. package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
  144. package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js +1 -1
  145. package/dist/collection/components/helpers/portal/portal.component.js +1 -1
  146. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  147. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  148. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  149. package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
  150. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  151. package/dist/collection/components/molecules/field/field/field.component.js +3 -3
  152. package/dist/collection/components/molecules/label/label.component.js +3 -3
  153. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
  154. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  155. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  156. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  157. package/dist/collection/components/molecules/select/select.component.js +1 -1
  158. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  159. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  160. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  161. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  162. package/dist/collection/components/organisms/drawer/drawer.component.css +1 -0
  163. package/dist/collection/components/{deprecated/organisms → organisms}/drawer/drawer.component.js +19 -3
  164. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -0
  165. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  166. package/dist/components/{p-CjruE70A.js → p-12mQxW6R.js} +5 -5
  167. package/dist/components/{p-CjruE70A.js.map → p-12mQxW6R.js.map} +1 -1
  168. package/dist/components/{p-C1teny1Z.js → p-4jVVUXXD.js} +9 -9
  169. package/dist/components/{p-C1teny1Z.js.map → p-4jVVUXXD.js.map} +1 -1
  170. package/dist/components/{p-kicoGsIb.js → p-8rB2Q4yP.js} +5 -5
  171. package/dist/components/{p-kicoGsIb.js.map → p-8rB2Q4yP.js.map} +1 -1
  172. package/dist/components/{p-6G9reodC.js → p-BDTPyUsH.js} +4 -4
  173. package/dist/components/{p-6G9reodC.js.map → p-BDTPyUsH.js.map} +1 -1
  174. package/dist/components/p-BFBgml7D.js +34 -0
  175. package/dist/components/p-BFBgml7D.js.map +1 -0
  176. package/dist/components/{p-DSuET-eU.js → p-BMeOy477.js} +4 -4
  177. package/dist/components/{p-DSuET-eU.js.map → p-BMeOy477.js.map} +1 -1
  178. package/dist/components/p-BONflo7Y.js +58 -0
  179. package/dist/components/p-BONflo7Y.js.map +1 -0
  180. package/dist/components/{p-B-__VvzL.js → p-BUxcWSGM.js} +3 -3
  181. package/dist/components/{p-B-__VvzL.js.map → p-BUxcWSGM.js.map} +1 -1
  182. package/dist/components/{p-CL1tVKe4.js → p-BjIAI-rM.js} +12 -12
  183. package/dist/components/{p-CL1tVKe4.js.map → p-BjIAI-rM.js.map} +1 -1
  184. package/dist/components/{p-BIictJiJ.js → p-BqhBbHGw.js} +5 -5
  185. package/dist/components/{p-BIictJiJ.js.map → p-BqhBbHGw.js.map} +1 -1
  186. package/dist/components/{p-B6vYveWX.js → p-Br_TxALn.js} +4 -4
  187. package/dist/components/{p-B6vYveWX.js.map → p-Br_TxALn.js.map} +1 -1
  188. package/dist/components/{p-D9TW62QT.js → p-BrtcZfOg.js} +9 -9
  189. package/dist/components/{p-D9TW62QT.js.map → p-BrtcZfOg.js.map} +1 -1
  190. package/dist/components/{p-DTELven3.js → p-BwFkgAPO.js} +4 -4
  191. package/dist/components/{p-DTELven3.js.map → p-BwFkgAPO.js.map} +1 -1
  192. package/dist/components/{p-C_iFBAeB.js → p-C1YLcCva.js} +5 -5
  193. package/dist/components/{p-C_iFBAeB.js.map → p-C1YLcCva.js.map} +1 -1
  194. package/dist/components/{p-ZiTaSiM1.js → p-C3gEbkrr.js} +4 -4
  195. package/dist/components/{p-ZiTaSiM1.js.map → p-C3gEbkrr.js.map} +1 -1
  196. package/dist/components/{p-Cs3hICh6.js → p-CFdbv-t4.js} +4 -4
  197. package/dist/components/{p-Cs3hICh6.js.map → p-CFdbv-t4.js.map} +1 -1
  198. package/dist/components/{p-D62EdTDF.js → p-CdQUFhNO.js} +3 -3
  199. package/dist/components/{p-D62EdTDF.js.map → p-CdQUFhNO.js.map} +1 -1
  200. package/dist/components/{p-CbAIiYBk.js → p-CgZvkWTt.js} +3 -3
  201. package/dist/components/{p-CbAIiYBk.js.map → p-CgZvkWTt.js.map} +1 -1
  202. package/dist/components/{p-B3Ewxc1y.js → p-CmfFRlg6.js} +7 -7
  203. package/dist/components/{p-B3Ewxc1y.js.map → p-CmfFRlg6.js.map} +1 -1
  204. package/dist/components/{p-BaPm4CUM.js → p-D09jozUL.js} +4 -4
  205. package/dist/components/{p-BaPm4CUM.js.map → p-D09jozUL.js.map} +1 -1
  206. package/dist/components/{p-CcHNSmM6.js → p-D82K4OiU.js} +3 -3
  207. package/dist/components/{p-CcHNSmM6.js.map → p-D82K4OiU.js.map} +1 -1
  208. package/dist/components/{p-XKsDwf68.js → p-DPJZQYRZ.js} +3 -3
  209. package/dist/components/{p-XKsDwf68.js.map → p-DPJZQYRZ.js.map} +1 -1
  210. package/dist/components/{p-SBX6d6TK.js → p-DTvsZePk.js} +12 -12
  211. package/dist/components/{p-SBX6d6TK.js.map → p-DTvsZePk.js.map} +1 -1
  212. package/dist/components/{p-CnN1TPGU.js → p-DW90RovU.js} +8 -8
  213. package/dist/components/{p-CnN1TPGU.js.map → p-DW90RovU.js.map} +1 -1
  214. package/dist/components/{p-C3jUT1uX.js → p-DWZhmPv-.js} +3 -3
  215. package/dist/components/{p-C3jUT1uX.js.map → p-DWZhmPv-.js.map} +1 -1
  216. package/dist/components/p-Da2j4Bie.js +79 -0
  217. package/dist/components/p-Da2j4Bie.js.map +1 -0
  218. package/dist/components/{p-BxKs3UTG.js → p-Dhj0ynsI.js} +4 -4
  219. package/dist/components/{p-BxKs3UTG.js.map → p-Dhj0ynsI.js.map} +1 -1
  220. package/dist/components/{p-DmWJltGE.js → p-Dk6UwJSA.js} +3 -3
  221. package/dist/components/{p-DmWJltGE.js.map → p-Dk6UwJSA.js.map} +1 -1
  222. package/dist/components/{p-MqZP1SU8.js → p-Drik7Kfv.js} +4 -4
  223. package/dist/components/{p-MqZP1SU8.js.map → p-Drik7Kfv.js.map} +1 -1
  224. package/dist/components/{p-BT5cWS85.js → p-DwXZFIvC.js} +3 -3
  225. package/dist/components/{p-BT5cWS85.js.map → p-DwXZFIvC.js.map} +1 -1
  226. package/dist/components/{p-DVg35gx9.js → p-OpZXFNRZ.js} +3 -3
  227. package/dist/components/{p-DVg35gx9.js.map → p-OpZXFNRZ.js.map} +1 -1
  228. package/dist/components/{p-CKXBGS9b.js → p-RaBHKmcm.js} +5 -5
  229. package/dist/components/{p-CKXBGS9b.js.map → p-RaBHKmcm.js.map} +1 -1
  230. package/dist/components/p-accordion.js +1 -1
  231. package/dist/components/p-attachment.js +7 -7
  232. package/dist/components/{p-0oKABuW2.js → p-bIRaONwn.js} +6 -6
  233. package/dist/components/{p-0oKABuW2.js.map → p-bIRaONwn.js.map} +1 -1
  234. package/dist/components/p-button-group.js +1 -1
  235. package/dist/components/p-calendar.js +1 -1
  236. package/dist/components/p-card-header.js +1 -1
  237. package/dist/components/p-content-slider.js +3 -3
  238. package/dist/components/p-counter.js +1 -1
  239. package/dist/components/p-cropper.js +2 -2
  240. package/dist/components/p-datepicker.js +10 -10
  241. package/dist/components/p-drawer-body.js +2 -2
  242. package/dist/components/p-drawer-container.js +2 -2
  243. package/dist/components/p-drawer-header.js +2 -2
  244. package/dist/components/p-drawer.js +40 -18
  245. package/dist/components/p-drawer.js.map +1 -1
  246. package/dist/components/p-dropdown-menu-container.js +1 -1
  247. package/dist/components/p-dropdown-menu-item.js +1 -1
  248. package/dist/components/p-dropdown.js +1 -1
  249. package/dist/components/p-empty-state.js +1 -1
  250. package/dist/components/p-field-container.js +1 -1
  251. package/dist/components/p-field.js +1 -1
  252. package/dist/components/p-floating-menu-item.js +1 -1
  253. package/dist/components/p-helper.js +1 -1
  254. package/dist/components/p-iban-icon.js +1 -1
  255. package/dist/components/p-info-panel.js +1 -1
  256. package/dist/components/p-input-error.js +1 -1
  257. package/dist/components/p-input-group.js +7 -7
  258. package/dist/components/p-label.js +3 -3
  259. package/dist/components/p-layout.js +1 -1
  260. package/dist/components/p-modal-body.js +1 -1
  261. package/dist/components/p-modal-container.js +1 -1
  262. package/dist/components/p-modal-footer.js +1 -1
  263. package/dist/components/p-modal-header.js +1 -1
  264. package/dist/components/p-modal.js +5 -5
  265. package/dist/components/p-navbar.js +1 -1
  266. package/dist/components/p-navigation-item.js +2 -2
  267. package/dist/components/p-navigation-section.js +2 -2
  268. package/dist/components/p-navigation-title.js +1 -1
  269. package/dist/components/{p-CZqz-QUW.js → p-nfMD63_1.js} +3 -3
  270. package/dist/components/{p-CZqz-QUW.js.map → p-nfMD63_1.js.map} +1 -1
  271. package/dist/components/p-pagination-pages-item.js +1 -1
  272. package/dist/components/p-pagination-pages.js +1 -1
  273. package/dist/components/p-pagination-size.js +1 -1
  274. package/dist/components/p-pagination.js +1 -1
  275. package/dist/components/p-portal.js +1 -1
  276. package/dist/components/p-profile.js +3 -3
  277. package/dist/components/p-radio.js +3 -3
  278. package/dist/components/p-segment-container.js +1 -1
  279. package/dist/components/p-segment-item.js +1 -1
  280. package/dist/components/p-select.js +9 -9
  281. package/dist/components/p-slider-indicator.js +1 -1
  282. package/dist/components/p-smile.js +1 -1
  283. package/dist/components/p-status.js +2 -2
  284. package/dist/components/p-stepper-item.js +1 -1
  285. package/dist/components/p-stepper-line.js +1 -1
  286. package/dist/components/p-stepper.js +2 -2
  287. package/dist/components/p-tab-container.js +1 -1
  288. package/dist/components/p-tab-item.js +1 -1
  289. package/dist/components/p-table-cell.js +1 -1
  290. package/dist/components/p-table-container.js +1 -1
  291. package/dist/components/p-table-footer.js +1 -1
  292. package/dist/components/p-table-header.js +1 -1
  293. package/dist/components/p-table-row-actions-container.js +1 -1
  294. package/dist/components/p-table-row.js +1 -1
  295. package/dist/components/p-table.js +22 -22
  296. package/dist/components/p-toast-container.js +2 -2
  297. package/dist/components/p-toast.js +1 -1
  298. package/dist/components/p-toggle.js +3 -3
  299. package/dist/components/p-tooltip.js +1 -1
  300. package/dist/components/{p-CT-FyVjy.js → p-wcD-x4l2.js} +3 -3
  301. package/dist/components/{p-CT-FyVjy.js.map → p-wcD-x4l2.js.map} +1 -1
  302. package/dist/esm/index-DhGo7hbh.js +4 -4
  303. package/dist/esm/loader.js +1 -1
  304. package/dist/esm/p-accordion.entry.js +1 -1
  305. package/dist/esm/p-attachment.entry.js +4 -4
  306. package/dist/esm/p-badge_3.entry.js +3 -3
  307. package/dist/esm/p-button-group.entry.js +1 -1
  308. package/dist/esm/p-calendar.entry.js +1 -1
  309. package/dist/esm/p-checkbox_4.entry.js +9 -9
  310. package/dist/esm/p-content-slider.entry.js +2 -2
  311. package/dist/esm/p-counter.entry.js +1 -1
  312. package/dist/esm/p-cropper.entry.js +2 -2
  313. package/dist/esm/p-datepicker.entry.js +2 -2
  314. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  315. package/dist/esm/p-drawer-body_3.entry.js +42 -18
  316. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  317. package/dist/esm/p-drawer.entry.js +20 -4
  318. package/dist/esm/p-drawer.entry.js.map +1 -1
  319. package/dist/esm/p-empty-state_9.entry.js +12 -12
  320. package/dist/esm/p-field_2.entry.js +3 -3
  321. package/dist/esm/p-helper_2.entry.js +5 -5
  322. package/dist/esm/p-iban-icon.entry.js +1 -1
  323. package/dist/esm/p-info-panel.entry.js +1 -1
  324. package/dist/esm/p-input-error.entry.js +1 -1
  325. package/dist/esm/p-input-group.entry.js +3 -3
  326. package/dist/esm/p-label.entry.js +3 -3
  327. package/dist/esm/p-layout.entry.js +1 -1
  328. package/dist/esm/p-modal-body_4.entry.js +6 -6
  329. package/dist/esm/p-navbar.entry.js +1 -1
  330. package/dist/esm/p-navigation-item.entry.js +2 -2
  331. package/dist/esm/p-navigation-section.entry.js +1 -1
  332. package/dist/esm/p-navigation-title.entry.js +1 -1
  333. package/dist/esm/p-pagination-pages-item.entry.js +2 -2
  334. package/dist/esm/p-pagination_3.entry.js +4 -4
  335. package/dist/esm/p-portal.entry.js +1 -1
  336. package/dist/esm/p-radio.entry.js +3 -3
  337. package/dist/esm/p-select.entry.js +1 -1
  338. package/dist/esm/p-slider-indicator.entry.js +1 -1
  339. package/dist/esm/p-smile.entry.js +1 -1
  340. package/dist/esm/p-status.entry.js +2 -2
  341. package/dist/esm/p-stepper-item.entry.js +1 -1
  342. package/dist/esm/p-stepper-line.entry.js +1 -1
  343. package/dist/esm/p-stepper.entry.js +1 -1
  344. package/dist/esm/p-tab-container.entry.js +1 -1
  345. package/dist/esm/p-tab-item.entry.js +1 -1
  346. package/dist/esm/p-toast-container.entry.js +2 -2
  347. package/dist/esm/p-toast.entry.js +1 -1
  348. package/dist/esm/p-toggle.entry.js +3 -3
  349. package/dist/esm/paperless.js +1 -1
  350. package/dist/index.html +1 -1
  351. package/dist/paperless/p-0a6b03d0.entry.js +2 -0
  352. package/dist/paperless/{p-73288f5a.entry.js → p-0a6e3e6f.entry.js} +2 -2
  353. package/dist/paperless/p-0b6db18f.entry.js +2 -0
  354. package/dist/paperless/{p-9e049ea2.entry.js → p-0dc168c5.entry.js} +2 -2
  355. package/dist/paperless/{p-9b76e79f.entry.js → p-13b16981.entry.js} +2 -2
  356. package/dist/paperless/{p-46e8c0f4.entry.js → p-2046bbbd.entry.js} +2 -2
  357. package/dist/{build/p-6786c387.entry.js → paperless/p-21d80bbe.entry.js} +2 -2
  358. package/dist/paperless/{p-44c00c66.entry.js → p-222abd40.entry.js} +2 -2
  359. package/dist/{build/p-73baed16.entry.js → paperless/p-26491670.entry.js} +2 -2
  360. package/dist/paperless/{p-ba8f7d4a.entry.js → p-28152f8e.entry.js} +2 -2
  361. package/dist/paperless/{p-309acb82.entry.js → p-35b71004.entry.js} +2 -2
  362. package/dist/{build/p-732ca4f2.entry.js → paperless/p-427ef39b.entry.js} +2 -2
  363. package/dist/paperless/{p-14a0aea4.entry.js → p-456a3099.entry.js} +2 -2
  364. package/dist/{build/p-2c5884c2.entry.js → paperless/p-51b09be2.entry.js} +2 -2
  365. package/dist/{build/p-8a1b3aa7.entry.js → paperless/p-57acc6a7.entry.js} +2 -2
  366. package/dist/paperless/{p-9a4399ee.entry.js → p-58efc94c.entry.js} +2 -2
  367. package/dist/paperless/{p-03fc8193.entry.js → p-5dcdb2d0.entry.js} +2 -2
  368. package/dist/paperless/{p-25272030.entry.js → p-635f36c7.entry.js} +2 -2
  369. package/dist/paperless/{p-acf15cc8.entry.js → p-68b2471e.entry.js} +2 -2
  370. package/dist/paperless/p-70de0ecc.entry.js +2 -0
  371. package/dist/{build/p-947cb68e.entry.js → paperless/p-7b7366dc.entry.js} +2 -2
  372. package/dist/paperless/{p-bacbbe41.entry.js → p-861e6352.entry.js} +2 -2
  373. package/dist/paperless/{p-de7a4100.entry.js → p-899f7d36.entry.js} +2 -2
  374. package/dist/paperless/p-98c5649d.entry.js +2 -0
  375. package/dist/paperless/p-98c5649d.entry.js.map +1 -0
  376. package/dist/{build/p-d0644e30.entry.js → paperless/p-9c71c64d.entry.js} +2 -2
  377. package/dist/paperless/{p-422dfb3b.entry.js → p-9d23879b.entry.js} +2 -2
  378. package/dist/paperless/{p-e86f15a1.entry.js → p-9ef541e4.entry.js} +2 -2
  379. package/dist/paperless/{p-2930452d.entry.js → p-a6c618fb.entry.js} +2 -2
  380. package/dist/{build/p-3fcfcc66.entry.js → paperless/p-a8f60c0c.entry.js} +2 -2
  381. package/dist/{build/p-d6f6b10c.entry.js → paperless/p-acc528bf.entry.js} +2 -2
  382. package/dist/paperless/{p-41bf19a1.entry.js → p-b8797794.entry.js} +2 -2
  383. package/dist/paperless/{p-da2e0d56.entry.js → p-c2721d00.entry.js} +2 -2
  384. package/dist/{build/p-6b376f94.entry.js → paperless/p-c7c3d389.entry.js} +2 -2
  385. package/dist/paperless/{p-e89ae562.entry.js → p-d0ba9cdd.entry.js} +2 -2
  386. package/dist/{build/p-53b152c3.entry.js → paperless/p-d5cba5af.entry.js} +2 -2
  387. package/dist/paperless/p-d6e8bf36.entry.js +2 -0
  388. package/dist/paperless/{p-24dac9f4.entry.js → p-df4bda2d.entry.js} +2 -2
  389. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  390. package/dist/paperless/p-drawer.entry.esm.js.map +1 -1
  391. package/dist/paperless/p-e2ee74a9.entry.js +2 -0
  392. package/dist/{build/p-c66a0ecd.entry.js → paperless/p-f12a4759.entry.js} +2 -2
  393. package/dist/{build/p-a4714075.entry.js → paperless/p-f4c0923b.entry.js} +2 -2
  394. package/dist/paperless/{p-273e9f17.entry.js → p-f9efc1e5.entry.js} +2 -2
  395. package/dist/paperless/p-fe892a0f.entry.js +2 -0
  396. package/dist/paperless/p-fe892a0f.entry.js.map +1 -0
  397. package/dist/paperless/paperless.esm.js +1 -1
  398. package/dist/sw.js +1 -1
  399. package/dist/sw.js.map +1 -1
  400. package/dist/types/components/atoms/drawer/body/drawer-body.component.d.ts +3 -0
  401. package/dist/types/components/{deprecated/atoms → atoms}/drawer/container/drawer-container.component.d.ts +1 -1
  402. package/dist/types/components/{deprecated/atoms → atoms}/drawer/header/drawer-header.component.d.ts +2 -2
  403. package/dist/types/components/{deprecated/organisms → organisms}/drawer/drawer.component.d.ts +2 -1
  404. package/dist/types/components.d.ts +0 -8
  405. package/package.json +1 -1
  406. package/dist/build/p-10f4dd8f.entry.js +0 -2
  407. package/dist/build/p-15228677.entry.js +0 -2
  408. package/dist/build/p-15228677.entry.js.map +0 -1
  409. package/dist/build/p-370caa9a.entry.js +0 -2
  410. package/dist/build/p-3c7fbac4.entry.js +0 -2
  411. package/dist/build/p-5a7996c2.entry.js +0 -2
  412. package/dist/build/p-5a7996c2.entry.js.map +0 -1
  413. package/dist/build/p-66409ba4.entry.js +0 -2
  414. package/dist/build/p-7018d7cf.entry.js +0 -2
  415. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.css +0 -1
  416. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js +0 -47
  417. package/dist/collection/components/deprecated/atoms/drawer/body/drawer-body.component.js.map +0 -1
  418. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.css +0 -1
  419. package/dist/collection/components/deprecated/atoms/drawer/container/drawer-container.component.js.map +0 -1
  420. package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.css +0 -1
  421. package/dist/collection/components/deprecated/atoms/drawer/header/drawer-header.component.js.map +0 -1
  422. package/dist/collection/components/deprecated/organisms/drawer/drawer.component.css +0 -1
  423. package/dist/collection/components/deprecated/organisms/drawer/drawer.component.js.map +0 -1
  424. package/dist/components/p-C-AhTmKm.js +0 -40
  425. package/dist/components/p-C-AhTmKm.js.map +0 -1
  426. package/dist/components/p-DTgWKZ3Y.js +0 -39
  427. package/dist/components/p-DTgWKZ3Y.js.map +0 -1
  428. package/dist/components/p-zJ1HDy_d.js +0 -63
  429. package/dist/components/p-zJ1HDy_d.js.map +0 -1
  430. package/dist/paperless/p-10f4dd8f.entry.js +0 -2
  431. package/dist/paperless/p-15228677.entry.js +0 -2
  432. package/dist/paperless/p-15228677.entry.js.map +0 -1
  433. package/dist/paperless/p-370caa9a.entry.js +0 -2
  434. package/dist/paperless/p-3c7fbac4.entry.js +0 -2
  435. package/dist/paperless/p-5a7996c2.entry.js +0 -2
  436. package/dist/paperless/p-5a7996c2.entry.js.map +0 -1
  437. package/dist/paperless/p-66409ba4.entry.js +0 -2
  438. package/dist/paperless/p-7018d7cf.entry.js +0 -2
  439. package/dist/types/components/deprecated/atoms/drawer/body/drawer-body.component.d.ts +0 -7
  440. /package/dist/build/{p-10f4dd8f.entry.js.map → p-0a6b03d0.entry.js.map} +0 -0
  441. /package/dist/build/{p-73288f5a.entry.js.map → p-0a6e3e6f.entry.js.map} +0 -0
  442. /package/dist/build/{p-3c7fbac4.entry.js.map → p-0b6db18f.entry.js.map} +0 -0
  443. /package/dist/build/{p-9e049ea2.entry.js.map → p-0dc168c5.entry.js.map} +0 -0
  444. /package/dist/build/{p-9b76e79f.entry.js.map → p-13b16981.entry.js.map} +0 -0
  445. /package/dist/build/{p-46e8c0f4.entry.js.map → p-2046bbbd.entry.js.map} +0 -0
  446. /package/dist/build/{p-6786c387.entry.js.map → p-21d80bbe.entry.js.map} +0 -0
  447. /package/dist/build/{p-44c00c66.entry.js.map → p-222abd40.entry.js.map} +0 -0
  448. /package/dist/build/{p-73baed16.entry.js.map → p-26491670.entry.js.map} +0 -0
  449. /package/dist/build/{p-ba8f7d4a.entry.js.map → p-28152f8e.entry.js.map} +0 -0
  450. /package/dist/build/{p-309acb82.entry.js.map → p-35b71004.entry.js.map} +0 -0
  451. /package/dist/build/{p-732ca4f2.entry.js.map → p-427ef39b.entry.js.map} +0 -0
  452. /package/dist/build/{p-14a0aea4.entry.js.map → p-456a3099.entry.js.map} +0 -0
  453. /package/dist/build/{p-2c5884c2.entry.js.map → p-51b09be2.entry.js.map} +0 -0
  454. /package/dist/build/{p-8a1b3aa7.entry.js.map → p-57acc6a7.entry.js.map} +0 -0
  455. /package/dist/build/{p-9a4399ee.entry.js.map → p-58efc94c.entry.js.map} +0 -0
  456. /package/dist/build/{p-03fc8193.entry.js.map → p-5dcdb2d0.entry.js.map} +0 -0
  457. /package/dist/build/{p-25272030.entry.js.map → p-635f36c7.entry.js.map} +0 -0
  458. /package/dist/build/{p-acf15cc8.entry.js.map → p-68b2471e.entry.js.map} +0 -0
  459. /package/dist/build/{p-66409ba4.entry.js.map → p-70de0ecc.entry.js.map} +0 -0
  460. /package/dist/build/{p-947cb68e.entry.js.map → p-7b7366dc.entry.js.map} +0 -0
  461. /package/dist/build/{p-bacbbe41.entry.js.map → p-861e6352.entry.js.map} +0 -0
  462. /package/dist/build/{p-de7a4100.entry.js.map → p-899f7d36.entry.js.map} +0 -0
  463. /package/dist/build/{p-d0644e30.entry.js.map → p-9c71c64d.entry.js.map} +0 -0
  464. /package/dist/build/{p-422dfb3b.entry.js.map → p-9d23879b.entry.js.map} +0 -0
  465. /package/dist/build/{p-e86f15a1.entry.js.map → p-9ef541e4.entry.js.map} +0 -0
  466. /package/dist/build/{p-2930452d.entry.js.map → p-a6c618fb.entry.js.map} +0 -0
  467. /package/dist/build/{p-3fcfcc66.entry.js.map → p-a8f60c0c.entry.js.map} +0 -0
  468. /package/dist/build/{p-d6f6b10c.entry.js.map → p-acc528bf.entry.js.map} +0 -0
  469. /package/dist/build/{p-41bf19a1.entry.js.map → p-b8797794.entry.js.map} +0 -0
  470. /package/dist/build/{p-da2e0d56.entry.js.map → p-c2721d00.entry.js.map} +0 -0
  471. /package/dist/build/{p-6b376f94.entry.js.map → p-c7c3d389.entry.js.map} +0 -0
  472. /package/dist/build/{p-e89ae562.entry.js.map → p-d0ba9cdd.entry.js.map} +0 -0
  473. /package/dist/build/{p-53b152c3.entry.js.map → p-d5cba5af.entry.js.map} +0 -0
  474. /package/dist/build/{p-370caa9a.entry.js.map → p-d6e8bf36.entry.js.map} +0 -0
  475. /package/dist/build/{p-24dac9f4.entry.js.map → p-df4bda2d.entry.js.map} +0 -0
  476. /package/dist/build/{p-7018d7cf.entry.js.map → p-e2ee74a9.entry.js.map} +0 -0
  477. /package/dist/build/{p-c66a0ecd.entry.js.map → p-f12a4759.entry.js.map} +0 -0
  478. /package/dist/build/{p-a4714075.entry.js.map → p-f4c0923b.entry.js.map} +0 -0
  479. /package/dist/build/{p-273e9f17.entry.js.map → p-f9efc1e5.entry.js.map} +0 -0
  480. /package/dist/paperless/{p-10f4dd8f.entry.js.map → p-0a6b03d0.entry.js.map} +0 -0
  481. /package/dist/paperless/{p-73288f5a.entry.js.map → p-0a6e3e6f.entry.js.map} +0 -0
  482. /package/dist/paperless/{p-3c7fbac4.entry.js.map → p-0b6db18f.entry.js.map} +0 -0
  483. /package/dist/paperless/{p-9e049ea2.entry.js.map → p-0dc168c5.entry.js.map} +0 -0
  484. /package/dist/paperless/{p-9b76e79f.entry.js.map → p-13b16981.entry.js.map} +0 -0
  485. /package/dist/paperless/{p-46e8c0f4.entry.js.map → p-2046bbbd.entry.js.map} +0 -0
  486. /package/dist/paperless/{p-6786c387.entry.js.map → p-21d80bbe.entry.js.map} +0 -0
  487. /package/dist/paperless/{p-44c00c66.entry.js.map → p-222abd40.entry.js.map} +0 -0
  488. /package/dist/paperless/{p-73baed16.entry.js.map → p-26491670.entry.js.map} +0 -0
  489. /package/dist/paperless/{p-ba8f7d4a.entry.js.map → p-28152f8e.entry.js.map} +0 -0
  490. /package/dist/paperless/{p-309acb82.entry.js.map → p-35b71004.entry.js.map} +0 -0
  491. /package/dist/paperless/{p-732ca4f2.entry.js.map → p-427ef39b.entry.js.map} +0 -0
  492. /package/dist/paperless/{p-14a0aea4.entry.js.map → p-456a3099.entry.js.map} +0 -0
  493. /package/dist/paperless/{p-2c5884c2.entry.js.map → p-51b09be2.entry.js.map} +0 -0
  494. /package/dist/paperless/{p-8a1b3aa7.entry.js.map → p-57acc6a7.entry.js.map} +0 -0
  495. /package/dist/paperless/{p-9a4399ee.entry.js.map → p-58efc94c.entry.js.map} +0 -0
  496. /package/dist/paperless/{p-03fc8193.entry.js.map → p-5dcdb2d0.entry.js.map} +0 -0
  497. /package/dist/paperless/{p-25272030.entry.js.map → p-635f36c7.entry.js.map} +0 -0
  498. /package/dist/paperless/{p-acf15cc8.entry.js.map → p-68b2471e.entry.js.map} +0 -0
  499. /package/dist/paperless/{p-66409ba4.entry.js.map → p-70de0ecc.entry.js.map} +0 -0
  500. /package/dist/paperless/{p-947cb68e.entry.js.map → p-7b7366dc.entry.js.map} +0 -0
  501. /package/dist/paperless/{p-bacbbe41.entry.js.map → p-861e6352.entry.js.map} +0 -0
  502. /package/dist/paperless/{p-de7a4100.entry.js.map → p-899f7d36.entry.js.map} +0 -0
  503. /package/dist/paperless/{p-d0644e30.entry.js.map → p-9c71c64d.entry.js.map} +0 -0
  504. /package/dist/paperless/{p-422dfb3b.entry.js.map → p-9d23879b.entry.js.map} +0 -0
  505. /package/dist/paperless/{p-e86f15a1.entry.js.map → p-9ef541e4.entry.js.map} +0 -0
  506. /package/dist/paperless/{p-2930452d.entry.js.map → p-a6c618fb.entry.js.map} +0 -0
  507. /package/dist/paperless/{p-3fcfcc66.entry.js.map → p-a8f60c0c.entry.js.map} +0 -0
  508. /package/dist/paperless/{p-d6f6b10c.entry.js.map → p-acc528bf.entry.js.map} +0 -0
  509. /package/dist/paperless/{p-41bf19a1.entry.js.map → p-b8797794.entry.js.map} +0 -0
  510. /package/dist/paperless/{p-da2e0d56.entry.js.map → p-c2721d00.entry.js.map} +0 -0
  511. /package/dist/paperless/{p-6b376f94.entry.js.map → p-c7c3d389.entry.js.map} +0 -0
  512. /package/dist/paperless/{p-e89ae562.entry.js.map → p-d0ba9cdd.entry.js.map} +0 -0
  513. /package/dist/paperless/{p-53b152c3.entry.js.map → p-d5cba5af.entry.js.map} +0 -0
  514. /package/dist/paperless/{p-370caa9a.entry.js.map → p-d6e8bf36.entry.js.map} +0 -0
  515. /package/dist/paperless/{p-24dac9f4.entry.js.map → p-df4bda2d.entry.js.map} +0 -0
  516. /package/dist/paperless/{p-7018d7cf.entry.js.map → p-e2ee74a9.entry.js.map} +0 -0
  517. /package/dist/paperless/{p-c66a0ecd.entry.js.map → p-f12a4759.entry.js.map} +0 -0
  518. /package/dist/paperless/{p-a4714075.entry.js.map → p-f4c0923b.entry.js.map} +0 -0
  519. /package/dist/paperless/{p-273e9f17.entry.js.map → p-f9efc1e5.entry.js.map} +0 -0
@@ -12,7 +12,7 @@ export class ButtonGroup {
12
12
  this._checkButtons();
13
13
  }
14
14
  render() {
15
- return (h(Host, { key: '38c5887da721bd882fe583af2966ab72db3a5e3d', class: 'p-button-group flex items-center' }, h("slot", { key: 'e2388ece9d62a3b8a4dc555703696989d5cd7c57' })));
15
+ return (h(Host, { key: 'd27b0832ddb1678f9f35500398177049bcf9915e', class: 'p-button-group flex items-center' }, h("slot", { key: 'de335121f7ede61018901f603cc379056ffd919c' })));
16
16
  }
17
17
  slotchange() {
18
18
  this._checkButtons();
@@ -157,7 +157,7 @@ export class Calendar {
157
157
  .filter(date => isValid(date));
158
158
  }
159
159
  render() {
160
- return (h(Host, { key: 'c22b31b7376cd05e4bfb1dce1da49f9ad9729f64', class: calendar({ variant: this.variant }) }, this._getView()));
160
+ return (h(Host, { key: 'cd2f5ee5ccb2bcfc324a06b9b2248e816702c9d5', class: calendar({ variant: this.variant }) }, this._getView()));
161
161
  }
162
162
  _getView() {
163
163
  if (this._view === 'year') {
@@ -189,9 +189,9 @@ export class Datepicker {
189
189
  this.parseValue(this.value);
190
190
  }
191
191
  render() {
192
- return (h(Host, { key: 'c92fb7f401d30305f42cf367ff2b263bef23ede5', class: 'p-datepicker' }, h("p-dropdown", { key: 'ce3182a772d547e2ac7890bb9b51101cab21be67', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: 'f9e742daf4ff73f4be5adf2f92f890ba57096670', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), error: this.error, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: '254862854eacffaa3facd57a49e3a810afd83cc5', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
192
+ return (h(Host, { key: '81eb937a8e8db269231f5d4a25c15ee7686e0a12', class: 'p-datepicker' }, h("p-dropdown", { key: 'c625bbd563e50d0905294425e14b11c3b645fafc', strategy: this.strategy, placement: this.placement, disableTriggerClick: true, applyMaxWidth: false, applyFullWidth: false, insideClick: true, show: this._showDropdown }, h("p-field", { key: '9d53e0c9aa66e9f724ae5dd301737ba71ad2665e', slot: 'trigger', icon: this.hideIconWhenFilled && !!this._value ? null : 'calendar-multi', iconPosition: 'start', size: this.size, prefix: this.prefix, label: this.label, loading: this.loading, helper: this.helper, required: asBoolean(this.required), error: this.error, disabled: asBoolean(this.disabled), focused: this._showDropdown, value: this._getFormattedDate(), placeholder: this.placeholder, onFocus: () => this._onFocus(), onBlur: () => this._onBlur(), onValueChange: ev => this._onValueChange(ev.detail), onInputRefChange: ev => (this._inputRef = ev.detail) }), this.enableNativePicker && this._isMobileBrowser && (h("input", { key: 'b9c2c2f901761a2c9511c7781e5cfebfa2619a35', slot: 'trigger', type: this.mode === 'day' ? 'date' : 'month', class: 'h-0 overflow-hidden' // we use h-0 here so location dependent pickers can correctly place itself
193
193
  ,
194
- onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: '9aed0c48e8b0f726cd5367d8d4874d0af1f4ca9a', slot: 'items' }, h("p-calendar", { key: '7b5f1a893588c3ffeb9f31e90ca7d0638cb28565', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
194
+ onInput: ev => this._onNativeInput(ev), ref: ref => (this._dateInputRef = ref), value: this._value && format(this._value, 'yyyy-MM-dd'), min: this.minDate && format(new Date(this.minDate), 'yyyy-MM-dd'), max: this.maxDate && format(new Date(this.maxDate), 'yyyy-MM-dd') })), h("div", { key: '4acc20f743b77fa9ed8bea3f87b9f85cf24825b7', slot: 'items' }, h("p-calendar", { key: '657e46e60e1a0662c4096677ddbc18cbcac197d2', variant: 'embedded', value: this._value, onValueChange: ({ detail }) => (this.value = detail), preselectToday: this.preselectToday, disabledDates: this.disabledDates, minDate: this.minDate, maxDate: this.maxDate, disableWeekends: this.disableWeekends, mode: this.mode })))));
195
195
  }
196
196
  documentClickHandler({ target }) {
197
197
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -133,14 +133,14 @@ export class Dropdown {
133
133
  'data-strategy': this.strategy,
134
134
  };
135
135
  let dropdownContainer;
136
- const itemsSlot = h("slot", { key: '4374bd918cc6b37ac8f8fc3f0201319af8d5c193', name: 'items' });
136
+ const itemsSlot = h("slot", { key: '96f3997c1e97a32d6e89b5975e7901e2371d9946', name: 'items' });
137
137
  if (this.usePortal) {
138
- dropdownContainer = (h("p-portal", { key: 'f3c6038eea9eab93c612fd01ec7bcf4a00391a57', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: '8d36c05d4315243b0af54b459234a95cf439665b', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, itemsSlot)));
138
+ dropdownContainer = (h("p-portal", { key: '06378b55886a476cbf48fed529d94c38dc857952', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: 'a693c09319fcd296f55734dc8f8eaf8c14bcf49f', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, itemsSlot)));
139
139
  }
140
140
  else {
141
- dropdownContainer = (h("p-dropdown-menu-container", { key: 'bba1302fdff1aa9b779333d0e228cb9a5c60dd2e', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, itemsSlot));
141
+ dropdownContainer = (h("p-dropdown-menu-container", { key: 'e41ba82bdfa56ee1562fe2bb4f22c09f418a8563', variant: this.variant, maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, itemsSlot));
142
142
  }
143
- return (h(Host, { key: '51f633dd3492c95f8905734765039dd007674eb5', class: 'p-dropdown relative' }, h("div", { key: '7dbb19a67bc95b890fe59803b8b77dc4f669028d', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '0ea021bf7d674d1791d545324aa5f44790ba2a10', name: 'trigger' })), h("div", { key: '3543fa824648968730d4599d9e8ded978575bde6', class: 'relative w-full' }, dropdownContainer)));
143
+ return (h(Host, { key: '15098f07b49631d9dbf1785a4043398919c2d552', class: 'p-dropdown relative' }, h("div", { key: '98fa4f33e5d8aebc04459137e60fb26c46baf86c', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: '3df896877c0b85976cb8a7601cd5c3526aa870c9', name: 'trigger' })), h("div", { key: 'c10531089fd800e214a5fdf37d54caf50a7ada08', class: 'relative w-full' }, dropdownContainer)));
144
144
  }
145
145
  _checkButtons(active = false) {
146
146
  if (!this.applyChevron) {
@@ -54,11 +54,11 @@ export class EmptyState {
54
54
  const hasHeaderSlot = !!this._el.querySelector(':scope > [slot="header"]');
55
55
  const hasContentSlot = !!this._el.querySelector(':scope > [slot="content"]');
56
56
  const hasActionSlot = !!this._el.querySelector(':scope > [slot="action"]');
57
- return (h("div", { key: '1aec16b19f0851bf1e9f60197f36a163ee2ab773', class: emptyState({
57
+ return (h("div", { key: 'a1cc31c240ae4c8dab7aff0670b25d8bffc83c62', class: emptyState({
58
58
  enableAction: asBoolean(this.enableAction, true),
59
59
  }), onClick: ev => this.enableAction && !this.actionLoading
60
60
  ? this.action.emit(ev)
61
- : undefined }, this.illustration && (h("p-illustration", { key: '0a12fef97b215480a5913914f174479f5b536072', class: 'mb-8 text-teal', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-black-teal' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm text-black-teal-300' }, this.content))), this.enableAction &&
61
+ : undefined }, this.illustration && (h("p-illustration", { key: 'b1af77e287702388404744b128036b33ad6881d6', class: 'mb-8 text-teal', variant: this.illustration })), hasHeaderSlot ? (h("slot", { name: 'header' })) : (this.header?.length && (h("p", { class: 'my-0 text-center font-ambit text-sm font-bold text-black-teal' }, this.header))), hasContentSlot ? (h("slot", { name: 'content' })) : (this.content?.length && (h("p", { class: 'my-0 text-center text-sm text-black-teal-300' }, this.content))), this.enableAction &&
62
62
  (hasActionSlot ? (h("slot", { name: 'action' })) : (h("p-button", { class: 'mt-4', icon: this.actionIcon, loading: this.actionLoading, variant: this.actionVariant }, this.actionText)))));
63
63
  }
64
64
  static get is() { return "p-empty-state"; }
@@ -272,21 +272,21 @@ export class Field {
272
272
  }
273
273
  render() {
274
274
  const { id, prefix, suffix, hasHeaderSlot, hasLabelSlot, hasHelperSlot, hasErrorSlot, hasValueSlot, } = this._getSlotInfo();
275
- return (h(Host, { key: 'e4ef4b7bd7b58d5ba0387bafbd25b4b5dec035cb', class: 'p-field' }, h("p-field-container", { key: 'f9de8c0706ed2dfa7dd24b5bb6beab3d9745b3ae', forceShowTooltip: this.forceShowTooltip || this._focused, id: id, label: this.label, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (h("slot", { key: '10d1d5e6f557e9330abdbc567d92c930a7e979d1', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: 'b6debfb44e4208d503e9b30cec1d0749882933e9', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: '9333c90c0800fc03603797cc2d271dd3fed389e1', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: 'c7f425d9955dd4bee2d692af72b3166b58f9054e', name: 'error', slot: 'error' })), h("div", { key: 'faca591aa1ec0d87ea9e88394bf3ee12d256b270', class: field({
275
+ return (h(Host, { key: 'b016bc667c01de72264fed640d5e4468aebeccf5', class: 'p-field' }, h("p-field-container", { key: '941c6b3753430b0cdcd9e92e6ee62902105fcfb3', forceShowTooltip: this.forceShowTooltip || this._focused, id: id, label: this.label, loading: this.loading, loadingSize: this.size, helper: this.helper, error: this.error, required: this.required, variant: this.variant }, hasLabelSlot && (h("slot", { key: '7bdcadcb46960cc509e7293cd94b069b1d6c7d96', name: 'label', slot: 'label' })), hasHeaderSlot && (h("slot", { key: '5d5e3881e387cbf1842fc95f11a29054d4dc2d45', name: 'header', slot: 'header' })), hasHelperSlot && (h("slot", { key: 'b55ffb578b0dc388f659a14fcd316f6256717715', name: 'helper', slot: 'helper' })), hasErrorSlot && (h("slot", { key: '6a549a27212826c7cf35b9e0f6bf13a46f55aeb8', name: 'error', slot: 'error' })), h("div", { key: '7bf0e6f1ce57e6f7e14416f6bc58c07e0c0acfc0', class: field({
276
276
  error: !!this.error?.length,
277
277
  disabled: asBoolean(this.disabled),
278
278
  focused: asBoolean(this.focused) || this._focused,
279
279
  size: this.size,
280
280
  variant: this.variant,
281
281
  isTextarea: this.type === 'textarea',
282
- }), title: this.variant === 'read' && !hasValueSlot ? this.value : undefined, slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '77d97b8cab5691dc6cea459eb4f077c7305c63d3', class: prefixAndSuffix({
282
+ }), title: this.variant === 'read' && !hasValueSlot ? this.value : undefined, slot: 'content' }, (prefix || (this.icon && this.iconPosition === 'start')) && (h("div", { key: '73266e48a0074bd50999b82c211bf3353b724bda', class: prefixAndSuffix({
283
283
  error: !!this.error?.length,
284
284
  disabled: asBoolean(this.disabled),
285
285
  focused: asBoolean(this.focused) || this._focused,
286
286
  isText: typeof suffix === 'string',
287
287
  }), onClick: () => this._focusInput() }, this.icon && this.iconPosition === 'start' ? (h("p-icon", { class: cn('flex', {
288
288
  'mt-[0.125rem]': this.variant === 'read' && this.size === 'base',
289
- }), variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: 'ba50836dc22fa1804d83aac6bf49a5c33e57a1dc', class: prefixAndSuffix({
289
+ }), variant: this.icon, rotate: this.iconRotate, flip: this.iconFlip })) : (prefix))), this._getContent(hasValueSlot, id), (suffix || (this.icon && this.iconPosition === 'end')) && (h("div", { key: '460fe559f1bb519cd3ba605d86b04481ae6aab83', class: prefixAndSuffix({
290
290
  error: !!this.error?.length,
291
291
  disabled: asBoolean(this.disabled),
292
292
  focused: asBoolean(this.focused) || this._focused,
@@ -53,14 +53,14 @@ export class Label {
53
53
  */
54
54
  keepMobileContent = false;
55
55
  render() {
56
- return (h(Host, { key: '08936862bed40acc54b2bb5adc1233e49f82a977', class: 'p-label' }, h("div", { key: '7c991e845cea4030126e0131028f56ee370323a5', class: label({
56
+ return (h(Host, { key: '71ee68f992cfdd738f5e975c395af6f0cd847e2e', class: 'p-label' }, h("div", { key: '39bc594fa05d7b10c0fe0c3e93d0ebc515a8f666', class: label({
57
57
  variant: this.variant,
58
58
  iconOnly: this.iconOnly,
59
59
  keepMobileContent: this.keepMobileContent,
60
- }) }, this.icon && (h("p-icon", { key: '9faa2c326baccac2998e3b05e74ea7224bb2daf2', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'e9f2bacfbd324299cd170141113156bf6ce2da9c', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
60
+ }) }, this.icon && (h("p-icon", { key: '29b1df63ae3678e7a935c522095f253ffeff6046', class: 'flex-shrink-0', variant: this.icon, flip: this.iconFlip, rotate: this.iconRotate })), !this.iconOnly && (h("div", { key: 'f1e0bfd391b12848fc8d08efa185df9a34de6ebc', class: cn('flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm', {
61
61
  hidden: !this.keepMobileContent,
62
62
  'desktop-xs:block': !this.keepMobileContent,
63
- }) }, h("slot", { key: 'd858bb60b26a057eb72689ab8ee7202f5d470092' }))))));
63
+ }) }, h("slot", { key: '59bf2918ed512d0873b23955f35fedbc7c72340a' }))))));
64
64
  }
65
65
  static get is() { return "p-label"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -66,10 +66,10 @@ export class NavigationItem {
66
66
  render() {
67
67
  const TagType = this.as;
68
68
  const active = asBoolean(this.active) || this.class?.includes('active');
69
- return (h(Host, { key: '565fb765efeff2641a72e130bdd7b4a9f65f5e51', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: 'f1624bc3f52669956d31162481ce30eb39d81384', class: navigationItem({
69
+ return (h(Host, { key: '7ff5ea7bb9efd2e81050abf41b27d0be3794133b', class: cn('p-navigation-item inline-block', this.class) }, h(TagType, { key: 'b6ce8c6b8d2a7e61bd37ad7fb94b4442c251afa0', class: navigationItem({
70
70
  icon: !!this.icon,
71
71
  active,
72
- }), href: this.href, target: this.target }, h("div", { key: '6d78ae7c364bc20a5b7fe0fd59edcf464b932a46', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '5ee1459dd3f3d2d3f4a47339bcfbba0975b22985', variant: this.icon })), h("span", { key: 'f1e765dc8954bcab086e25626e09d25de0494ad7', class: this.counter && 'has-counter' }, h("slot", { key: '5d9aaf3e81fa24553e0a22e03ae9677f17367548' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '4ce1a9b6f618acdf62cba78d6febe66e4a73aa28' }, this.counter)), !!this.loading && h("p-loader", { key: '46c43a329f042f09320d5a74e72912b3b611a1ab', class: 'ml-auto' }))));
72
+ }), href: this.href, target: this.target }, h("div", { key: '753aaf2cd3a0fc728557c296c54e154ab14f3059', class: navigationItemIconContainer({ active }) }, h("p-icon", { key: '58e57b38f913e95971b6fb56492e7a568bd69622', variant: this.icon })), h("span", { key: 'eccac44f523ad489977ee25bfad972fb19703bae', class: this.counter && 'has-counter' }, h("slot", { key: '2659769537c022e51aa3a223e1f57638dbe66274' })), !!this.counter && this.counter !== '0' && (h("p-badge", { key: '7077e0e0a9891e7f486231a97da2100e331d938e' }, this.counter)), !!this.loading && h("p-loader", { key: '14e7a7ddc195707cfd50a71f488938dd3a7e2a32', class: 'ml-auto' }))));
73
73
  }
74
74
  static get is() { return "p-navigation-item"; }
75
75
  static get originalStyleUrls() {
@@ -5,7 +5,7 @@ export class NavigationSection {
5
5
  */
6
6
  header;
7
7
  render() {
8
- return (h(Host, { key: '1f274ccfba30257f75286708f56c481158f1c3b7', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '8dfe8d8c598b3489758813f43a474662b641dfdf' }, this.header)), h("div", { key: '849cc30c7c244296970fcd8a6ea0a97775b6db72', class: 'flex flex-col' }, h("slot", { key: '55644e12261090dc75391f5306ac22f4711ad902' }))));
8
+ return (h(Host, { key: '2d6be2c8ff3ded760dfa38814d41798e34e668bd', class: 'p-navigation-section flex flex-col gap-2' }, this.header?.length > 0 && (h("p-navigation-title", { key: '811de7004feeb785fb30bdff062e150c1733bc0f' }, this.header)), h("div", { key: '97c9e1701288c4a4e56205800eafc0638ef5252c', class: 'flex flex-col' }, h("slot", { key: '5a11e97a2c4c38393c625e626665572aea79d106' }))));
9
9
  }
10
10
  static get is() { return "p-navigation-section"; }
11
11
  static get originalStyleUrls() {
@@ -39,7 +39,7 @@ export class PaginationPages {
39
39
  this._generate();
40
40
  }
41
41
  render() {
42
- return (h(Host, { key: '7fd71042d99a4adeb6d08af2f6dc65f8383e6f31', class: pagination({
42
+ return (h(Host, { key: 'aa9a4c8d7f790b4ff6ed8b662581e3202f2b1d71', class: pagination({
43
43
  hidden: this.hideOnSinglePage && this._set?.length === 3,
44
44
  }) }, this._set?.map(p => {
45
45
  if (p.type === 'previous' || p.type === 'next') {
@@ -59,12 +59,12 @@ export class Pagination {
59
59
  _hasPaginationPages = true;
60
60
  render() {
61
61
  const hidePageSizeSelect = this.hideOnSinglePage && this.total <= this.pageSizeOptions?.[0];
62
- return (h(Host, { key: '60baf3ee2402616c05638277ba6b090539d2f252', class: pagination({
62
+ return (h(Host, { key: '8fb151e74ca287270170b26ab6dbf4e7b82b8b55', class: pagination({
63
63
  hidden: (hidePageSizeSelect && !this._hasPaginationPages) ||
64
64
  (!this.enablePaginationSize && !this.enablePaginationPages),
65
- }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: 'c5b6ed04af72b87783b897ca6305d045bf4cdfc8' }, h("p-pagination-size", { key: '9561b6e9e7a2c2858231e1f5975c1c786adb6797', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
65
+ }) }, this.enablePaginationPages && this.enablePaginationSize && (h(Fragment, { key: '9ca0d1e33dcd8b24754b232e52802a644a1b5b81' }, h("p-pagination-size", { key: '1117e9c5fe76898f0f2a81070ea46c7ac49049fe', hidden: hidePageSizeSelect, size: this.pageSize, sizeOptions: this.pageSizeOptions, onSizeChange: ({ detail }) => this._changePageSize(detail) }), !hidePageSizeSelect &&
66
66
  this.hideOnSinglePage &&
67
- this._hasPaginationPages && (h("p-divider", { key: 'dc360f57ec534fb8d935609885b254c6a14dd289', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'a4a8758433a2d086fe6a4b3425f61a0ddf22f33d', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
67
+ this._hasPaginationPages && (h("p-divider", { key: 'af3262c8af7bf18f90358eafb22271675535e924', variant: 'vertical', class: 'mx-0 h-4 text-human-beige-700' })))), this.enablePaginationPages && (h("p-pagination-pages", { key: 'd95fb3064e3c7156d9ee515c37038359f68be37b', pageSize: this.pageSize, total: this.total, page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), onPagesChange: ({ detail }) => {
68
68
  this._hasPaginationPages = detail > 1;
69
69
  this.pagesChange.emit(detail);
70
70
  } }))));
@@ -282,7 +282,7 @@ export class Select {
282
282
  }
283
283
  }
284
284
  render() {
285
- return (h("p-dropdown", { key: 'e2fcd4a49428b04e37a0262972e25124146d5e1c', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: '4ba87fc7da35bd7f809c0eaa61afb95d31e24da8', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '6aaf913df42bf2daa6eb0f665583bdf0b99849de', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: 'bd07feac6edf55bfa33181828ca6e958bd4f2bb5', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()));
285
+ return (h("p-dropdown", { key: 'd75c32e8830d0d2c33e3fee1835079b5b959485a', disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev), usePortal: this.usePortal, strategy: this.strategy }, h("p-field-container", { key: '256fbe72c653fda4c890d39dbd2cdbfb5b3a1163', slot: 'trigger', variant: 'write', prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, errorPlacement: 'top-start', forceShowTooltip: this.error?.length && this._showDropdown }, h("p-button", { key: '791f446440511f2768c5199c0853775e1baa17f8', class: 'w-full', slot: 'content', variant: 'secondary', size: this.size, chevron: this.showChevron, disabled: this.disabled, active: this._showDropdown, icon: this.icon, onClick: ev => this._onClick(ev) }, h("div", { key: '96f3a59c66cbd21b82d18ac6ee471cd026da47b2', class: 'relative min-w-0 flex-1', ref: ref => (this._inputRef = ref) }, this._displayValue))), this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()));
286
286
  }
287
287
  documentClickHandler(event) {
288
288
  if (!this._showDropdown || childOfComposed(event, this._el)) {
@@ -105,7 +105,7 @@ export class TableCell {
105
105
  };
106
106
  }
107
107
  render() {
108
- return (h(Host, { key: '1f1f0d2b02be8eea2707277138c29263f4468d25', class: this._getColumnClasses() }, this.checkbox, this._getContent()));
108
+ return (h(Host, { key: '38c0e403da7999fd01ba95cfc6df49fc647685f7', class: this._getColumnClasses() }, this.checkbox, this._getContent()));
109
109
  }
110
110
  _getContent() {
111
111
  if (this.variant === 'loading') {
@@ -86,11 +86,11 @@ export class TableFooter {
86
86
  }
87
87
  }
88
88
  render() {
89
- return (h("div", { key: 'c0438b52ed17c7c55ce27474cabfb05c27658b42', class: footer({
89
+ return (h("div", { key: '9f23c7ef7d4e71ab6692aa295b5e7704fa34df4e', class: footer({
90
90
  pinned: this._isPinned,
91
91
  hidden: this._hidden,
92
92
  }) }, (this.enablePaginationPages || this.enablePaginationSize) &&
93
- this.total > 0 && (h("p-pagination", { key: '8db5d62d61cf63ae268e2401395f57dfc2ba047a', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
93
+ this.total > 0 && (h("p-pagination", { key: '1f2bb252d80b9ac79cdf6a362c9bfa851af45d3a', class: 'z-[2]', enablePaginationSize: this.enablePaginationSize, enablePaginationPages: this.enablePaginationPages, pageSize: this.pageSize, pageSizeOptions: this.pageSizeOptions, onPageSizeChange: ({ detail }) => this._changePageSize(detail), page: this.page, hideOnSinglePage: this.hideOnSinglePage, onPageChange: ({ detail }) => this.pageChange.emit(detail), total: this.total, onPagesChange: ({ detail }) => (this._hasPaginationPages = detail > 1) }))));
94
94
  }
95
95
  _changePageSize(s) {
96
96
  if (!s) {
@@ -46,12 +46,12 @@ export class TableRow {
46
46
  */
47
47
  enableHover = true;
48
48
  render() {
49
- return (h("div", { key: 'e2c8b7b3cd982751faaafe41a42f423038e6ddad', class: 'flex flex-col' }, h("div", { key: '406e8ebaa723489cf8c78b7591fa6bd595afbedf', class: row({
49
+ return (h("div", { key: '9bfd1509d1dd345215f61d6b7886cfb8a255d5db', class: 'flex flex-col' }, h("div", { key: '3364b244152540e4351450611e6898f37daa73a5', class: row({
50
50
  variant: this.variant,
51
51
  enableHover: this.enableHover,
52
- }) }, h("div", { key: 'c2a1325f2700dbcfd03f4b48c04cf0c7207cd987', class: content({
52
+ }) }, h("div", { key: 'e33f5810f48b92abbb7a5150863b205163d892ff', class: content({
53
53
  variant: this.variant,
54
- }) }, h("slot", { key: '9234fea01551672a5ab448c98e1e6b1242dad727' }), h("div", { key: 'cf11ebdcc1195d04dac86afc12ee58b5372a8461', class: actions() }, h("slot", { key: '24ba39c7466b61335b052539a20f2ddddb06e1d1', name: 'actions' })))), h("p-divider", { key: '838d8412e8f37f566d78b33dbdc2f0e2682a0da2' })));
54
+ }) }, h("slot", { key: 'a8cb2fe679b9a681c5b6907155f5106d6744d4bf' }), h("div", { key: 'aed45dd92d81880717fd3d8046e4a0e18d4992d8', class: actions() }, h("slot", { key: 'dfd6864b51280782fca7877bc4b8d0748fc3fa9d', name: 'actions' })))), h("p-divider", { key: '423afd77506022eb33931d46ab3fe2a458c31f1b' })));
55
55
  }
56
56
  static get is() { return "p-table-row"; }
57
57
  static get encapsulation() { return "shadow"; }
@@ -48,7 +48,7 @@ export class Toast {
48
48
  */
49
49
  action;
50
50
  render() {
51
- return (h(Host, { key: '78f3378c5a710b65087ad12701285f794f7d05db', onClick: () => this._onClick() }, h("div", { key: 'e9be3bff78107babaf8893cbf5435d4993554c37', class: indicator({ variant: this.variant }) }), h("div", { key: 'b4efd4de7e28e3003612b997fe79105dcd35588b', class: content() }, h("div", { key: '252b7af2b9929dae867638845b29f66edf1d1f6d', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '19564b4be63b30c37b3fce9ffc3770cf003ecd64', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '140d003abbabafaf2c43aa527f5c9112c5a0347d', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: '525406f3385fb41ef956f1d8883b4a20876fea61', variant: 'transparent', iconOnly: true, icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' })))));
51
+ return (h(Host, { key: '73ebbcb118986b98f27bd80de6dba339e46886ca', onClick: () => this._onClick() }, h("div", { key: '946fb8b74dea9eafdc92ffcc065fe93cc1ccf924', class: indicator({ variant: this.variant }) }), h("div", { key: 'ca1a1c3611699c4afefbf44d3434389a2817b9f3', class: content() }, h("div", { key: '8e4311c973300c743c9311738d44876628cf50dd', class: 'flex w-full min-w-0 flex-col' }, h("p", { key: '9ea9e91fd13d16f82bb4e561b09385863dd371c9', class: 'm-0 overflow-hidden text-ellipsis whitespace-nowrap text-sm font-semibold text-white-500' }, this.header?.length ? this.header : h("slot", { name: 'header' })), h("p", { key: '017efb88e26742336598561564b2519a0bc0e2ac', class: 'm-0 w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-dark-teal-200' }, this.content?.length ? this.content : h("slot", { name: 'content' }))), this.enableAction && (h("p-button", { key: '09b9c7cdb4aaf2674666c28a99284693544c9c7b', variant: 'transparent', iconOnly: true, icon: this.actionIcon, iconFlip: this.actionIconFlip, iconRotate: this.actionIconRotate, class: 'flex-shrink-0' })))));
52
52
  }
53
53
  _onClick() {
54
54
  if (this.enableAction) {
@@ -0,0 +1 @@
1
+ *{box-sizing:border-box}.static{position:static!important}.blur{--tw-blur:blur(8px)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}
@@ -1,4 +1,4 @@
1
- import { h, Host, } from "@stencil/core";
1
+ import { h, } from "@stencil/core";
2
2
  export class Drawer {
3
3
  /**
4
4
  * The Header of the drawer
@@ -51,16 +51,32 @@ export class Drawer {
51
51
  }
52
52
  const headerContent = h("slot", { name: "header" });
53
53
  const bodyContent = h("slot", { name: "content" });
54
- return (h(Host, { class: "p-drawer" }, h("p-backdrop", { variant: "drawer", applyBlur: this.applyBlur, onClicked: (ev) => this._backdropClick(ev.detail), closing: this._closing, scrollLock: this.scrollLock }, h("p-drawer-container", { closing: this._closing }, (this.header?.length || this._hasHeaderSlot) && (h("p-drawer-header", { "show-close": this.showClose, onClose: (ev) => this.close(ev.detail, 'close') }, this._hasHeaderSlot
54
+ return (h("p-backdrop", { variant: "drawer", applyBlur: this.applyBlur, onClicked: (ev) => this._backdropClick(ev.detail), closing: this._closing, scrollLock: this.scrollLock }, h("p-drawer-container", { closing: this._closing }, (this.header?.length || this._hasHeaderSlot) && (h("p-drawer-header", { "show-close": this.showClose, onClose: (ev) => this.close(ev.detail, 'close') }, this._hasHeaderSlot
55
55
  ? headerContent
56
- : this.header)), h("p-drawer-body", null, bodyContent)))));
56
+ : this.header)), h("p-drawer-body", null, bodyContent))));
57
57
  }
58
58
  _backdropClick(ev) {
59
59
  if (!this.backdropClickClose) {
60
60
  return;
61
61
  }
62
+ const modal = this._findDrawer(ev.target);
63
+ if (modal) {
64
+ return;
65
+ }
62
66
  this.close(ev, 'backdrop');
63
67
  }
68
+ _findDrawer(el) {
69
+ if (!el) {
70
+ return null;
71
+ }
72
+ if (el.nodeName.toLowerCase() === 'p-drawer-container') {
73
+ return el;
74
+ }
75
+ if (el?.tagName?.toLowerCase() === 'p-drawer') {
76
+ return null;
77
+ }
78
+ return this._findDrawer(el?.parentElement);
79
+ }
64
80
  close(ev, source = 'unknown', force = false) {
65
81
  if (!force) {
66
82
  this.closeClicked.emit({
@@ -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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AI,GAAG,KAAK,CAAC;YAClB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAC;YACtB,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE,CAAC;QACpB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAGD,iBAAiB;QAChB,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC3B,CAAC;IAGD,sBAAsB;QACrB,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC;IACjC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tListen,\n\tProp,\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,GAA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AAA,EACC,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,SAAS,EAAA,CACb,CACF,EAEA,WAAW,CACD,CACL,CACF;;AAKD,IAAA,MAAM,WAAW,GAAA;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,yBAAyB,CAAC,IAAI,CAAC,GAAG,CAAC;;IAGlD,YAAY,GAAA;AACnB,QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;AACxE,QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;QAExE,MAAM,MAAM,GAAG,aAAa,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM;QACnE,MAAM,KAAK,GAAG,YAAY,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK;QAE/D,MAAM,yBAAyB,GAC9B,YAAY;AACZ,aAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import {\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,I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QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;AACxE,QAAA,MAAM,aAAa,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,0BAA0B,CAAC;AAC1E,QAAA,MAAM,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAAC,yBAAyB,CAAC;QAExE,MAAM,MAAM,GAAG,aAAa,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM;QACnE,MAAM,KAAK,GAAG,YAAY,GAAG,CAAM,CAAA,MAAA,EAAA,EAAA,IAAI,EAAC,OAAO,GAAG,GAAG,IAAI,CAAC,KAAK;QAE/D,MAAM,yBAAyB,GAC9B,YAAY;AACZ,aAAC,IAAI,CAAC,KAAK,IAAI,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,MAAM,CAAC;QAExE,OAAO;YACN,aAAa;YACb,YAAY;YACZ,aAAa;YACb,YAAY;YACZ,MAAM;YACN,KAAK;YACL,yBAAyB;SACzB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement"],"sources":["src/components/molecules/field/container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field/container/field-container.component.tsx"],"sourcesContent":["","import {\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