@paperless/core 2.0.1-beta.151 → 2.0.1-beta.153

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 (253) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/{paperless/p-c879f50c.entry.js → build/p-0103e9ac.entry.js} +2 -2
  3. package/dist/build/{p-0740b690.entry.js → p-133e9259.entry.js} +2 -2
  4. package/dist/build/{p-71666551.entry.js → p-213bc400.entry.js} +2 -2
  5. package/dist/build/{p-e33a56c8.entry.js → p-219db898.entry.js} +2 -2
  6. package/dist/build/{p-cc3307b8.entry.js → p-2da67519.entry.js} +2 -2
  7. package/dist/build/{p-8981247d.entry.js → p-302eedc6.entry.js} +2 -2
  8. package/dist/build/p-308c37d9.js +2 -0
  9. package/dist/build/p-32f997e7.entry.js +2 -0
  10. package/dist/build/p-3d4c4b9e.entry.js +2 -0
  11. package/dist/build/p-3d4c4b9e.entry.js.map +1 -0
  12. package/dist/{paperless/p-add932d6.entry.js → build/p-4fb1f39b.entry.js} +2 -2
  13. package/dist/{paperless/p-5048c4c2.entry.js → build/p-50a816b0.entry.js} +2 -2
  14. package/dist/{paperless/p-8fcf3bb8.entry.js → build/p-7b7c60de.entry.js} +2 -2
  15. package/dist/build/{p-e2054751.entry.js → p-9e4cbacf.entry.js} +2 -2
  16. package/dist/build/p-ad3595e3.entry.js +3 -0
  17. package/dist/build/p-ad3595e3.entry.js.map +1 -0
  18. package/dist/build/p-b137cbd4.entry.js +2 -0
  19. package/dist/build/{p-d6828011.entry.js → p-bb7a5be7.entry.js} +2 -2
  20. package/dist/build/{p-2edd87f3.entry.js → p-c3558fb4.entry.js} +2 -2
  21. package/dist/build/{p-26a3990a.entry.js → p-c892b87a.entry.js} +2 -2
  22. package/dist/build/p-cropper.entry.esm.js.map +1 -1
  23. package/dist/build/{p-fa0234e9.entry.js → p-dc5fab19.entry.js} +2 -2
  24. package/dist/{paperless/p-0875bbbb.entry.js → build/p-e596d429.entry.js} +2 -2
  25. package/dist/build/{p-d4152f66.entry.js → p-fa78c45a.entry.js} +2 -2
  26. package/dist/build/p-range.entry.esm.js.map +1 -0
  27. package/dist/build/paperless.esm.js +1 -1
  28. package/dist/cjs/index-BDuPp9vl.js +4 -0
  29. package/dist/cjs/loader.cjs.js +1 -1
  30. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  31. package/dist/cjs/p-attachment.cjs.entry.js +6 -6
  32. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  33. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  34. package/dist/cjs/p-checkbox_4.cjs.entry.js +3 -3
  35. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  36. package/dist/cjs/p-cropper.cjs.entry.js +6 -19
  37. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  38. package/dist/cjs/p-cropper.entry.cjs.js.map +1 -1
  39. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  40. package/dist/cjs/p-empty-state_9.cjs.entry.js +8 -8
  41. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  42. package/dist/cjs/p-label.cjs.entry.js +3 -3
  43. package/dist/cjs/p-listing.cjs.entry.js +2 -2
  44. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  45. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  46. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  47. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  48. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  49. package/dist/cjs/p-range.cjs.entry.js +44 -0
  50. package/dist/cjs/p-range.cjs.entry.js.map +1 -0
  51. package/dist/cjs/p-range.entry.cjs.js.map +1 -0
  52. package/dist/cjs/p-select.cjs.entry.js +1 -1
  53. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  54. package/dist/cjs/paperless.cjs.js +1 -1
  55. package/dist/collection/collection-manifest.json +2 -1
  56. package/dist/collection/components/helpers/portal/portal.component.js +1 -1
  57. package/dist/collection/components/molecules/accordion/accordion.component.js +2 -2
  58. package/dist/collection/components/molecules/attachment/attachment.component.js +6 -6
  59. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  60. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  61. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  62. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -0
  63. package/dist/collection/components/{deprecated/molecules → molecules}/cropper/cropper.component.js +8 -41
  64. package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -0
  65. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  66. package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
  67. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  68. package/dist/collection/components/molecules/field/field/field.component.js +3 -3
  69. package/dist/collection/components/molecules/label/label.component.js +3 -3
  70. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
  71. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  72. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  73. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  74. package/dist/collection/components/molecules/range/range.component.css +1 -0
  75. package/dist/collection/components/molecules/range/range.component.js +144 -0
  76. package/dist/collection/components/molecules/range/range.component.js.map +1 -0
  77. package/dist/collection/components/molecules/select/select.component.js +1 -1
  78. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  79. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  80. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  81. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  82. package/dist/collection/components/organisms/listing/listing.component.js +2 -2
  83. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  84. package/dist/components/{p-D07Uh9cR.js → p-6G9LqZu0.js} +3 -3
  85. package/dist/components/{p-D07Uh9cR.js.map → p-6G9LqZu0.js.map} +1 -1
  86. package/dist/components/{p-CU2NvmYF.js → p-B60b7s3F.js} +9 -9
  87. package/dist/components/{p-CU2NvmYF.js.map → p-B60b7s3F.js.map} +1 -1
  88. package/dist/components/{p-DQE2U_Lj.js → p-BPFWBp7T.js} +9 -9
  89. package/dist/components/{p-DQE2U_Lj.js.map → p-BPFWBp7T.js.map} +1 -1
  90. package/dist/components/{p-DfRQHBer.js → p-BuB74H5T.js} +3 -3
  91. package/dist/components/{p-DfRQHBer.js.map → p-BuB74H5T.js.map} +1 -1
  92. package/dist/components/{p-Du_Am2CT.js → p-C0ZWBE1t.js} +6 -6
  93. package/dist/components/{p-Du_Am2CT.js.map → p-C0ZWBE1t.js.map} +1 -1
  94. package/dist/components/{p-FA9hEJhK.js → p-C4qAvszO.js} +4 -4
  95. package/dist/components/{p-FA9hEJhK.js.map → p-C4qAvszO.js.map} +1 -1
  96. package/dist/components/{p-Dh_4gXYW.js → p-C6mKH4oI.js} +3 -3
  97. package/dist/components/{p-Dh_4gXYW.js.map → p-C6mKH4oI.js.map} +1 -1
  98. package/dist/components/{p-jSbWZMTW.js → p-CJPrTM14.js} +3 -3
  99. package/dist/components/{p-jSbWZMTW.js.map → p-CJPrTM14.js.map} +1 -1
  100. package/dist/components/{p-C7SA9Zu6.js → p-COcP6KwP.js} +5 -5
  101. package/dist/components/{p-C7SA9Zu6.js.map → p-COcP6KwP.js.map} +1 -1
  102. package/dist/components/{p-DnE_NWa3.js → p-CSK_X0tW.js} +9 -9
  103. package/dist/components/{p-DnE_NWa3.js.map → p-CSK_X0tW.js.map} +1 -1
  104. package/dist/components/{p-5BV5XA3F.js → p-CdJmhxHE.js} +5 -5
  105. package/dist/components/{p-5BV5XA3F.js.map → p-CdJmhxHE.js.map} +1 -1
  106. package/dist/components/{p-Bs_oUMiX.js → p-QH6YwDKn.js} +4 -4
  107. package/dist/components/{p-Bs_oUMiX.js.map → p-QH6YwDKn.js.map} +1 -1
  108. package/dist/components/{p-v8w9H3NB.js → p-S7p7V6sq.js} +4 -4
  109. package/dist/components/{p-v8w9H3NB.js.map → p-S7p7V6sq.js.map} +1 -1
  110. package/dist/components/p-__-g_hj0.js +69 -0
  111. package/dist/components/p-__-g_hj0.js.map +1 -0
  112. package/dist/components/p-accordion.js +2 -2
  113. package/dist/components/p-attachment.js +10 -10
  114. package/dist/components/p-button-group.js +1 -1
  115. package/dist/components/{p-DqpPnj1P.js → p-c2_LHyBE.js} +3 -3
  116. package/dist/components/{p-DqpPnj1P.js.map → p-c2_LHyBE.js.map} +1 -1
  117. package/dist/components/p-calendar.js +1 -1
  118. package/dist/components/p-content-slider.js +2 -2
  119. package/dist/components/p-cropper.js +15 -23
  120. package/dist/components/p-cropper.js.map +1 -1
  121. package/dist/components/p-datepicker.js +9 -9
  122. package/dist/components/p-dropdown.js +1 -1
  123. package/dist/components/p-empty-state.js +1 -1
  124. package/dist/components/p-field-container.js +1 -1
  125. package/dist/components/p-field.js +1 -1
  126. package/dist/components/p-helper.js +1 -1
  127. package/dist/components/p-label.js +3 -3
  128. package/dist/components/p-listing.js +2 -2
  129. package/dist/components/p-navbar.js +1 -1
  130. package/dist/components/p-navigation-item.js +2 -2
  131. package/dist/components/p-navigation-section.js +1 -1
  132. package/dist/components/p-pagination-pages.js +1 -1
  133. package/dist/components/p-pagination-size.js +1 -1
  134. package/dist/components/p-pagination.js +1 -1
  135. package/dist/components/p-portal.js +1 -1
  136. package/dist/components/p-profile.js +2 -2
  137. package/dist/components/p-range.d.ts +11 -0
  138. package/dist/components/p-range.js +9 -0
  139. package/dist/components/p-range.js.map +1 -0
  140. package/dist/components/p-select.js +7 -7
  141. package/dist/components/p-table-cell.js +1 -1
  142. package/dist/components/p-table-footer.js +1 -1
  143. package/dist/components/p-table-header.js +1 -1
  144. package/dist/components/p-table-row.js +1 -1
  145. package/dist/components/p-table.js +14 -14
  146. package/dist/components/p-toast.js +1 -1
  147. package/dist/components/p-tooltip.js +1 -1
  148. package/dist/components/{p-B1sC2mve.js → p-z7y5Yxgj.js} +7 -7
  149. package/dist/components/{p-B1sC2mve.js.map → p-z7y5Yxgj.js.map} +1 -1
  150. package/dist/esm/index-DhGo7hbh.js +4 -0
  151. package/dist/esm/loader.js +1 -1
  152. package/dist/esm/p-accordion.entry.js +2 -2
  153. package/dist/esm/p-attachment.entry.js +6 -6
  154. package/dist/esm/p-button-group.entry.js +1 -1
  155. package/dist/esm/p-calendar.entry.js +1 -1
  156. package/dist/esm/p-checkbox_4.entry.js +3 -3
  157. package/dist/esm/p-content-slider.entry.js +2 -2
  158. package/dist/esm/p-cropper.entry.js +6 -19
  159. package/dist/esm/p-cropper.entry.js.map +1 -1
  160. package/dist/esm/p-datepicker.entry.js +2 -2
  161. package/dist/esm/p-empty-state_9.entry.js +8 -8
  162. package/dist/esm/p-field_2.entry.js +3 -3
  163. package/dist/esm/p-label.entry.js +3 -3
  164. package/dist/esm/p-listing.entry.js +2 -2
  165. package/dist/esm/p-navbar.entry.js +1 -1
  166. package/dist/esm/p-navigation-item.entry.js +2 -2
  167. package/dist/esm/p-navigation-section.entry.js +1 -1
  168. package/dist/esm/p-pagination_3.entry.js +4 -4
  169. package/dist/esm/p-portal.entry.js +1 -1
  170. package/dist/esm/p-range.entry.js +42 -0
  171. package/dist/esm/p-range.entry.js.map +1 -0
  172. package/dist/esm/p-select.entry.js +1 -1
  173. package/dist/esm/p-toast.entry.js +1 -1
  174. package/dist/esm/paperless.js +1 -1
  175. package/dist/index.html +1 -1
  176. package/dist/{build/p-c879f50c.entry.js → paperless/p-0103e9ac.entry.js} +2 -2
  177. package/dist/paperless/{p-0740b690.entry.js → p-133e9259.entry.js} +2 -2
  178. package/dist/paperless/{p-71666551.entry.js → p-213bc400.entry.js} +2 -2
  179. package/dist/paperless/{p-e33a56c8.entry.js → p-219db898.entry.js} +2 -2
  180. package/dist/paperless/{p-cc3307b8.entry.js → p-2da67519.entry.js} +2 -2
  181. package/dist/paperless/{p-8981247d.entry.js → p-302eedc6.entry.js} +2 -2
  182. package/dist/paperless/p-32f997e7.entry.js +2 -0
  183. package/dist/paperless/p-3d4c4b9e.entry.js +2 -0
  184. package/dist/paperless/p-3d4c4b9e.entry.js.map +1 -0
  185. package/dist/{build/p-add932d6.entry.js → paperless/p-4fb1f39b.entry.js} +2 -2
  186. package/dist/{build/p-5048c4c2.entry.js → paperless/p-50a816b0.entry.js} +2 -2
  187. package/dist/{build/p-8fcf3bb8.entry.js → paperless/p-7b7c60de.entry.js} +2 -2
  188. package/dist/paperless/{p-e2054751.entry.js → p-9e4cbacf.entry.js} +2 -2
  189. package/dist/paperless/p-ad3595e3.entry.js +3 -0
  190. package/dist/paperless/p-ad3595e3.entry.js.map +1 -0
  191. package/dist/paperless/p-b137cbd4.entry.js +2 -0
  192. package/dist/paperless/{p-d6828011.entry.js → p-bb7a5be7.entry.js} +2 -2
  193. package/dist/paperless/{p-2edd87f3.entry.js → p-c3558fb4.entry.js} +2 -2
  194. package/dist/paperless/{p-26a3990a.entry.js → p-c892b87a.entry.js} +2 -2
  195. package/dist/paperless/p-cropper.entry.esm.js.map +1 -1
  196. package/dist/paperless/{p-fa0234e9.entry.js → p-dc5fab19.entry.js} +2 -2
  197. package/dist/{build/p-0875bbbb.entry.js → paperless/p-e596d429.entry.js} +2 -2
  198. package/dist/paperless/{p-d4152f66.entry.js → p-fa78c45a.entry.js} +2 -2
  199. package/dist/paperless/p-range.entry.esm.js.map +1 -0
  200. package/dist/paperless/paperless.esm.js +1 -1
  201. package/dist/sw.js +1 -1
  202. package/dist/sw.js.map +1 -1
  203. package/dist/types/components/{deprecated/molecules → molecules}/cropper/cropper.component.d.ts +2 -6
  204. package/dist/types/components/molecules/range/range.component.d.ts +24 -0
  205. package/dist/types/components.d.ts +66 -10
  206. package/package.json +2 -2
  207. package/dist/build/p-2d60e194.js +0 -2
  208. package/dist/build/p-30f6e463.entry.js +0 -3
  209. package/dist/build/p-30f6e463.entry.js.map +0 -1
  210. package/dist/build/p-474a16ab.entry.js +0 -2
  211. package/dist/build/p-eef52967.entry.js +0 -2
  212. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.css +0 -1
  213. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js.map +0 -1
  214. package/dist/paperless/p-30f6e463.entry.js +0 -3
  215. package/dist/paperless/p-30f6e463.entry.js.map +0 -1
  216. package/dist/paperless/p-474a16ab.entry.js +0 -2
  217. package/dist/paperless/p-eef52967.entry.js +0 -2
  218. /package/dist/build/{p-c879f50c.entry.js.map → p-0103e9ac.entry.js.map} +0 -0
  219. /package/dist/build/{p-0740b690.entry.js.map → p-133e9259.entry.js.map} +0 -0
  220. /package/dist/build/{p-71666551.entry.js.map → p-213bc400.entry.js.map} +0 -0
  221. /package/dist/build/{p-e33a56c8.entry.js.map → p-219db898.entry.js.map} +0 -0
  222. /package/dist/build/{p-cc3307b8.entry.js.map → p-2da67519.entry.js.map} +0 -0
  223. /package/dist/build/{p-8981247d.entry.js.map → p-302eedc6.entry.js.map} +0 -0
  224. /package/dist/build/{p-474a16ab.entry.js.map → p-32f997e7.entry.js.map} +0 -0
  225. /package/dist/build/{p-add932d6.entry.js.map → p-4fb1f39b.entry.js.map} +0 -0
  226. /package/dist/build/{p-5048c4c2.entry.js.map → p-50a816b0.entry.js.map} +0 -0
  227. /package/dist/build/{p-8fcf3bb8.entry.js.map → p-7b7c60de.entry.js.map} +0 -0
  228. /package/dist/build/{p-e2054751.entry.js.map → p-9e4cbacf.entry.js.map} +0 -0
  229. /package/dist/build/{p-eef52967.entry.js.map → p-b137cbd4.entry.js.map} +0 -0
  230. /package/dist/build/{p-d6828011.entry.js.map → p-bb7a5be7.entry.js.map} +0 -0
  231. /package/dist/build/{p-2edd87f3.entry.js.map → p-c3558fb4.entry.js.map} +0 -0
  232. /package/dist/build/{p-26a3990a.entry.js.map → p-c892b87a.entry.js.map} +0 -0
  233. /package/dist/build/{p-fa0234e9.entry.js.map → p-dc5fab19.entry.js.map} +0 -0
  234. /package/dist/build/{p-0875bbbb.entry.js.map → p-e596d429.entry.js.map} +0 -0
  235. /package/dist/build/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
  236. /package/dist/paperless/{p-c879f50c.entry.js.map → p-0103e9ac.entry.js.map} +0 -0
  237. /package/dist/paperless/{p-0740b690.entry.js.map → p-133e9259.entry.js.map} +0 -0
  238. /package/dist/paperless/{p-71666551.entry.js.map → p-213bc400.entry.js.map} +0 -0
  239. /package/dist/paperless/{p-e33a56c8.entry.js.map → p-219db898.entry.js.map} +0 -0
  240. /package/dist/paperless/{p-cc3307b8.entry.js.map → p-2da67519.entry.js.map} +0 -0
  241. /package/dist/paperless/{p-8981247d.entry.js.map → p-302eedc6.entry.js.map} +0 -0
  242. /package/dist/paperless/{p-474a16ab.entry.js.map → p-32f997e7.entry.js.map} +0 -0
  243. /package/dist/paperless/{p-add932d6.entry.js.map → p-4fb1f39b.entry.js.map} +0 -0
  244. /package/dist/paperless/{p-5048c4c2.entry.js.map → p-50a816b0.entry.js.map} +0 -0
  245. /package/dist/paperless/{p-8fcf3bb8.entry.js.map → p-7b7c60de.entry.js.map} +0 -0
  246. /package/dist/paperless/{p-e2054751.entry.js.map → p-9e4cbacf.entry.js.map} +0 -0
  247. /package/dist/paperless/{p-eef52967.entry.js.map → p-b137cbd4.entry.js.map} +0 -0
  248. /package/dist/paperless/{p-d6828011.entry.js.map → p-bb7a5be7.entry.js.map} +0 -0
  249. /package/dist/paperless/{p-2edd87f3.entry.js.map → p-c3558fb4.entry.js.map} +0 -0
  250. /package/dist/paperless/{p-26a3990a.entry.js.map → p-c892b87a.entry.js.map} +0 -0
  251. /package/dist/paperless/{p-fa0234e9.entry.js.map → p-dc5fab19.entry.js.map} +0 -0
  252. /package/dist/paperless/{p-0875bbbb.entry.js.map → p-e596d429.entry.js.map} +0 -0
  253. /package/dist/paperless/{p-d4152f66.entry.js.map → p-fa78c45a.entry.js.map} +0 -0
@@ -37,10 +37,10 @@ const Accordion = /*@__PURE__*/ proxyCustomElement(class Accordion extends H {
37
37
  */
38
38
  isOpen;
39
39
  render() {
40
- return (h(Host, { key: '63df7288704bca334ec8d4de25969fa6a8d6bf02' }, h("div", { key: 'a2e3a69eea63efea38fbbd0bdcf55f9bedc03408', class: cn('flex cursor-pointer items-center gap-2', {
40
+ return (h(Host, { key: 'd36c7dfbfa01efe964691dccae4bbffaa83d12b2' }, h("div", { key: '46cacccbb5047de1c7984ec9a45a275d58879887', class: cn('flex cursor-pointer items-center gap-2', {
41
41
  'text-black-teal-500': this.variant === 'primary',
42
42
  'text-black-teal-300': this.variant === 'secondary',
43
- }), onClick: () => this._onClick() }, h("p-icon", { key: '433546d43ab77bfaefe0102b0162e23800ded784', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'fa88f40b161a17b77a5e8c9fb8c3b0116fab4647', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: '3e55706819a51061e70c249e5c312b185dda9f35', class: 'flex-1' })), this.open && (h("div", { key: 'f396db80d1698c98814d55ae475c95b9225a9875', class: 'mt-4' }, h("slot", { key: 'afc9d90e2fb3d9795d78db734565c7fd6bbe8764' })))));
43
+ }), onClick: () => this._onClick() }, h("p-icon", { key: 'e509350986d65e234c6aa1a6a859bc9308f4e2be', class: 'flex shrink-0', variant: 'caret', rotate: this.open ? 0 : -90 }), h("p", { key: 'a2a6244488fc7b9276ce14e2cc82e59dea026eb7', class: 'my-0 shrink-0 whitespace-nowrap text-base font-medium' }, this.header), h("p-divider", { key: '4ce44ce1b521f7bdd413e7aad261b79ef59b2d1d', class: 'flex-1' })), this.open && (h("div", { key: '164789b5911ee52285d931736d5f8c9210e49219', class: 'mt-4' }, h("slot", { key: '194201f973657a4eb1d45b541eb0a4bc94d299df' })))));
44
44
  }
45
45
  _onClick() {
46
46
  if (!this.closeable && this.open) {
@@ -3,12 +3,12 @@ import { c as cva } from './p-CBWjHURv.js';
3
3
  import { h as isTablet, f as isMobile } from './p-B3sNjfzc.js';
4
4
  import { c as cn } from './p-CT54OXR2.js';
5
5
  import { d as defineCustomElement$8 } from './p-y5XA7XhO.js';
6
- import { d as defineCustomElement$7 } from './p-C7SA9Zu6.js';
7
- import { d as defineCustomElement$6 } from './p-v8w9H3NB.js';
6
+ import { d as defineCustomElement$7 } from './p-COcP6KwP.js';
7
+ import { d as defineCustomElement$6 } from './p-S7p7V6sq.js';
8
8
  import { d as defineCustomElement$5 } from './p-ZOW6vT-R.js';
9
9
  import { d as defineCustomElement$4 } from './p-C-1aZ7t0.js';
10
- import { d as defineCustomElement$3 } from './p-DfRQHBer.js';
11
- import { d as defineCustomElement$2 } from './p-D07Uh9cR.js';
10
+ import { d as defineCustomElement$3 } from './p-BuB74H5T.js';
11
+ import { d as defineCustomElement$2 } from './p-6G9LqZu0.js';
12
12
 
13
13
  const attachmentComponentCss = ".block{display:block!important}*{box-sizing:border-box}:host{display:block;width:100%}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-8{height:2rem!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.cursor-pointer{cursor:pointer!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-negative-red{--tw-border-opacity:1!important;border-color:rgb(230 30 30/var(--tw-border-opacity,1))!important}.bg-white-600{--tw-bg-opacity:1!important;background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!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}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.empty\\:hidden:empty{display:none!important}.peer:empty~.peer-empty\\:block{display:block!important}@media (min-width:64rem){.desktop-xs\\:hidden{display:none!important}}";
14
14
 
@@ -112,21 +112,21 @@ const Attachment = /*@__PURE__*/ proxyCustomElement(class Attachment extends H {
112
112
  _fileRef;
113
113
  _cameraFileRef;
114
114
  render() {
115
- let prefix = (h("p-icon", { key: 'c6f2cf9f8b8e9d2868ab5d9800cc4be449ab8bb0', class: 'text-black-teal-300', variant: 'attachment' }));
115
+ let prefix = (h("p-icon", { key: '3aa615acdf7a176a36ffaa6f9a4deaa0e6f261a0', class: 'text-black-teal-300', variant: 'attachment' }));
116
116
  if (this.error) {
117
- prefix = (h("p-icon", { key: '90385b5f7f9a18a797fe5244a99f43693da8d923', variant: 'warning', class: 'text-negative-red' }));
117
+ prefix = (h("p-icon", { key: '523b6b5529ee861d4f3ce6c2cc6b39f7af630153', variant: 'warning', class: 'text-negative-red' }));
118
118
  }
119
119
  // const isMobileDevice = isMobile();
120
120
  const isMobileDevice = isTablet();
121
121
  const baseText = 'min-w-0 flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm';
122
- return (h(Fragment, { key: 'bfef9c3c2fe0ee09112b9490ee7e36cc3c80bd12' }, h("p-field-container", { key: '505838be3a7f0333c4828cac729e42cc2a048f92', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: '2d4ef725adc779cf14ff841bd21af884471f4a67', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: 'a2b8ce748eabae6b7a1df3056b612d356b5df24c', class: attachment({
122
+ return (h(Fragment, { key: '8075a826a3786e65fc775758192c08907948274b' }, h("p-field-container", { key: '57591d7c6bc5d0a5d08b98cc6777f6f9a8f231f1', variant: 'write', label: this.label, helper: this.helper, error: this.error, required: this.required, forceShowTooltip: !!this.error?.length }, h("div", { key: 'dede0c04052a74d23337e7221842b17f4584b5e8', slot: 'content', class: 'flex w-full items-start gap-2' }, h("div", { key: 'b07b0888ba35b82c7d2dc01d76081589fcd87e04', class: attachment({
123
123
  click: this.mode === 'write' && !this.value?.length,
124
124
  error: !!this.error?.length,
125
- }), onClick: () => this._uploadClick() }, prefix, h("span", { key: '30b88731b017ce290dc1cb59fdddb7926b6c381d', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: 'a84f3923ecbc13616394b9d3294bd6dfa044ec05', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: 'e030b0408d2515e96cd3355b5581236cd7b94472', content: this.mode === 'read'
125
+ }), onClick: () => this._uploadClick() }, prefix, h("span", { key: 'dfb94a5995b6ff0e264c8e737d1f80be58c0014f', class: cn(baseText, 'peer empty:hidden') }, this.value), h("span", { key: 'ab71b435157c2f8f51762e6563e43350c004ea68', class: cn(baseText, 'hidden peer-empty:block') }, this.placeholder)), h("p-tooltip", { key: '0f2702bd954fc447883c50b094568bc6cbb3f759', content: this.mode === 'read'
126
126
  ? this.downloadTooltip
127
127
  : this.value?.length
128
128
  ? this.deleteTooltip
129
- : this.uploadTooltip }, h("p-button", { key: '87c9233ad4b4f813d0552e8963f3728dd20a7fd3', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
129
+ : this.uploadTooltip }, h("p-button", { key: '9796aaaf9af1edde4f5529c69c688a83358e6f87', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: this.mode === 'read'
130
130
  ? 'download'
131
131
  : this.value?.length
132
132
  ? 'trash'
@@ -137,7 +137,7 @@ const Attachment = /*@__PURE__*/ proxyCustomElement(class Attachment extends H {
137
137
  : this.delete).emit() })), this.enableCameraOnMobile &&
138
138
  this.mode === 'write' &&
139
139
  isMobileDevice &&
140
- !this.value?.length && (h("p-tooltip", { key: '4346c6bd33df2148495e82654f20fd9f1216a7da', content: this.cameraTooltip, class: 'desktop-xs:hidden' }, h("p-button", { key: 'baede4e6626b127b927b36bcc73962168c3ba238', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: 'a96a47d5971c09a7c0d0b2b0f374c1188e80b4c6', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: '7d9fc6aa8bef629b8476fca0558197165164b67d', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
140
+ !this.value?.length && (h("p-tooltip", { key: '77831721f97c38a523478d2edcfc59825b5cd11e', content: this.cameraTooltip, class: 'desktop-xs:hidden' }, h("p-button", { key: '101814ad9a95b5ada06d1d8677654d399f0cfa12', slot: 'trigger', variant: 'secondary', iconOnly: true, icon: 'camera', onOnClick: () => this._cameraClick() }))))), h("input", { key: '8432cb3a5eca74c374af2bf641df89982f211cd6', class: 'hidden', type: 'file', accept: Array.isArray(this.accept) ? this.accept?.join(',') : this.accept, ref: el => (this._fileRef = el), onChange: ev => this._onFileChange(ev) }), h("input", { key: 'f4cbdcd1b141d8a0b032f4a8e2966fdfd84f14e0', class: 'hidden', type: 'file', accept: 'image/*', capture: 'true', ref: el => (this._cameraFileRef = el), onChange: ev => this._onFileChange(ev) })));
141
141
  }
142
142
  _uploadClick() {
143
143
  if (!this._fileRef || this.mode !== 'write' || this.value?.length) {
@@ -17,7 +17,7 @@ const ButtonGroup = /*@__PURE__*/ proxyCustomElement(class ButtonGroup extends H
17
17
  this._checkButtons();
18
18
  }
19
19
  render() {
20
- return (h(Host, { key: 'dc19a3e99ec6e1ef6d7e879f4e55ce0fa60935d1', class: 'flex items-center' }, h("slot", { key: '94c714842824e84f9636b6d046a8cecf7e0d1bca' })));
20
+ return (h(Host, { key: '3b6a2074b5fee6e27fdc0368f2a53946929de705', class: 'flex items-center' }, h("slot", { key: '4c76b7d7540d5916ddda991996ad32ac1de382ac' })));
21
21
  }
22
22
  slotchange() {
23
23
  this._checkButtons();
@@ -2848,7 +2848,7 @@ const Calendar = /*@__PURE__*/ proxyCustomElement(class Calendar extends H {
2848
2848
  .filter(date => isValid(date));
2849
2849
  }
2850
2850
  render() {
2851
- return (h(Host, { key: '88cd0df6b8d9196bc4963bef4735e82bd54e6477', class: calendar({ variant: this.variant }) }, this._getView()));
2851
+ return (h(Host, { key: '0c04ba601aaf4aa5c9803229649cf14ab7c5ca6a', class: calendar({ variant: this.variant }) }, this._getView()));
2852
2852
  }
2853
2853
  _getView() {
2854
2854
  if (this._view === 'year') {
@@ -3111,6 +3111,6 @@ function defineCustomElement() {
3111
3111
  defineCustomElement();
3112
3112
 
3113
3113
  export { Calendar as C, _typeof as _, startOfUTCISOWeek as a, getUTCWeek as b, toInteger as c, defineCustomElement as d, getUTCISOWeek as e, getDefaultOptions as f, getUTCWeekYear as g, longFormatters as h, subMilliseconds as i, getTimezoneOffsetInMilliseconds as j, isProtectedWeekYearToken as k, locale as l, throwProtectedError as m, isProtectedDayOfYearToken as n, isValid as o, isBefore as p, isAfter as q, requiredArgs as r, startOfUTCWeek as s, toDate as t, format as u, startOfDay as v, startOfMonth as w, isSameDay as x };
3114
- //# sourceMappingURL=p-DqpPnj1P.js.map
3114
+ //# sourceMappingURL=p-c2_LHyBE.js.map
3115
3115
 
3116
- //# sourceMappingURL=p-DqpPnj1P.js.map
3116
+ //# sourceMappingURL=p-c2_LHyBE.js.map