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

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 +12 -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-32f997e7.entry.js +2 -0
  9. package/dist/build/p-3322c57a.js +2 -0
  10. package/dist/build/p-3f02cbe4.entry.js +2 -0
  11. package/dist/build/p-3f02cbe4.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--NCbtXAT.js +69 -0
  85. package/dist/components/p--NCbtXAT.js.map +1 -0
  86. package/dist/components/{p-D07Uh9cR.js → p-6G9LqZu0.js} +3 -3
  87. package/dist/components/{p-D07Uh9cR.js.map → p-6G9LqZu0.js.map} +1 -1
  88. package/dist/components/{p-CU2NvmYF.js → p-B60b7s3F.js} +9 -9
  89. package/dist/components/{p-CU2NvmYF.js.map → p-B60b7s3F.js.map} +1 -1
  90. package/dist/components/{p-DQE2U_Lj.js → p-BPFWBp7T.js} +9 -9
  91. package/dist/components/{p-DQE2U_Lj.js.map → p-BPFWBp7T.js.map} +1 -1
  92. package/dist/components/{p-DfRQHBer.js → p-BuB74H5T.js} +3 -3
  93. package/dist/components/{p-DfRQHBer.js.map → p-BuB74H5T.js.map} +1 -1
  94. package/dist/components/{p-Du_Am2CT.js → p-C0ZWBE1t.js} +6 -6
  95. package/dist/components/{p-Du_Am2CT.js.map → p-C0ZWBE1t.js.map} +1 -1
  96. package/dist/components/{p-FA9hEJhK.js → p-C4qAvszO.js} +4 -4
  97. package/dist/components/{p-FA9hEJhK.js.map → p-C4qAvszO.js.map} +1 -1
  98. package/dist/components/{p-Dh_4gXYW.js → p-C6mKH4oI.js} +3 -3
  99. package/dist/components/{p-Dh_4gXYW.js.map → p-C6mKH4oI.js.map} +1 -1
  100. package/dist/components/{p-jSbWZMTW.js → p-CJPrTM14.js} +3 -3
  101. package/dist/components/{p-jSbWZMTW.js.map → p-CJPrTM14.js.map} +1 -1
  102. package/dist/components/{p-C7SA9Zu6.js → p-COcP6KwP.js} +5 -5
  103. package/dist/components/{p-C7SA9Zu6.js.map → p-COcP6KwP.js.map} +1 -1
  104. package/dist/components/{p-DnE_NWa3.js → p-CSK_X0tW.js} +9 -9
  105. package/dist/components/{p-DnE_NWa3.js.map → p-CSK_X0tW.js.map} +1 -1
  106. package/dist/components/{p-5BV5XA3F.js → p-CdJmhxHE.js} +5 -5
  107. package/dist/components/{p-5BV5XA3F.js.map → p-CdJmhxHE.js.map} +1 -1
  108. package/dist/components/{p-Bs_oUMiX.js → p-QH6YwDKn.js} +4 -4
  109. package/dist/components/{p-Bs_oUMiX.js.map → p-QH6YwDKn.js.map} +1 -1
  110. package/dist/components/{p-v8w9H3NB.js → p-S7p7V6sq.js} +4 -4
  111. package/dist/components/{p-v8w9H3NB.js.map → p-S7p7V6sq.js.map} +1 -1
  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-3f02cbe4.entry.js +2 -0
  184. package/dist/paperless/p-3f02cbe4.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
@@ -1,4 +1,4 @@
1
- import { C as Calendar, d as defineCustomElement$1 } from './p-DqpPnj1P.js';
1
+ import { C as Calendar, d as defineCustomElement$1 } from './p-c2_LHyBE.js';
2
2
 
3
3
  const PCalendar = Calendar;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -55,9 +55,9 @@ const ContentSlider = /*@__PURE__*/ proxyCustomElement(class ContentSlider exten
55
55
  }
56
56
  }
57
57
  render() {
58
- return (h(Host, { key: '2c6deaf4db1b1d6ace1b7f80f34f066bf6e6c4c2', class: "p-content-slider" }, h("div", { key: '267bee4f1f52f541b1fa8f051cd13a4b87e1d25b', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
58
+ return (h(Host, { key: '383758e226a6e9d1a1c84c650073a0468ed83dc9', class: "p-content-slider" }, h("div", { key: '18524f8330ba15ebad99573e6b5076f2909832e3', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
59
59
  height: `${this._outerHeight}px`,
60
- }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'dd01ac807b0618de6a544b24aa68c3a1de660594', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '080161c80e4996803fc567c4c72391e6e3718d8c' }))), h("div", { key: '1c0d460fe26f9a48726aeaf9d80b56c26ed4c02c', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block w-2 h-2 rounded-full', {
60
+ }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: '3a86b6b3b6f2550e571a5afa3c10bab995a97139', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '99c429d048aa6cd3c17e3d3d1a2b66e78cf6aec0' }))), h("div", { key: 'cd0cf8fe535606e40c1b8a4667a17cdf510e64ed', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("div", { class: cn('block w-2 h-2 rounded-full', {
61
61
  'bg-dark-teal-600': i === this._visibleIndex,
62
62
  'bg-dark-teal-400': i !== this._visibleIndex,
63
63
  }) })))))));
@@ -1,6 +1,6 @@
1
1
  import { p as proxyCustomElement, H, c as createEvent, h, d as Host } from './p-tdjn65Lz.js';
2
- import { c as clsx } from './p-ChV9xqsO.js';
3
- import { d as defineCustomElement$2 } from './p-ZOW6vT-R.js';
2
+ import { d as defineCustomElement$3 } from './p-ZOW6vT-R.js';
3
+ import { d as defineCustomElement$2 } from './p--NCbtXAT.js';
4
4
 
5
5
  const IS_BROWSER = typeof window !== 'undefined' && typeof window.document !== 'undefined';
6
6
  const WINDOW = IS_BROWSER ? window : {};
@@ -2801,7 +2801,7 @@ CropperSelection.$define();
2801
2801
  CropperShade.$define();
2802
2802
  CropperViewer.$define();
2803
2803
 
2804
- const cropperComponentCss = ".mb-6{margin-bottom:1.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}*{box-sizing:border-box}:host{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem;width:100%}.static{position:static!important}.hidden{display:none!important}.h-\\[17\\.5rem\\]{height:17.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.resize{resize:both!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-medium{--tw-border-opacity:1!important;border-color:rgb(0 255 0/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(0 255 255/var(--tw-text-opacity,1))!important}@media (min-width:40rem){.tablet\\:max-w-xs{max-width:20rem!important}.tablet\\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}}";
2804
+ const cropperComponentCss = ".mb-6{margin-bottom:1.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}*{box-sizing:border-box}:host{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem;width:100%}.static{position:static!important}.hidden{display:none!important}.aspect-branding{aspect-ratio:23/24!important}.h-\\[17\\.5rem\\]{height:17.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.resize{resize:both!important}.rounded-full{border-radius:9999px!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-off-white-700{--tw-border-opacity:1!important;border-color:rgb(222 219 213/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}@media (min-width:40rem){.tablet\\:max-w-xs{max-width:20rem!important}.tablet\\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}}";
2805
2805
 
2806
2806
  const Cropper = /*@__PURE__*/ proxyCustomElement(class Cropper extends H {
2807
2807
  constructor() {
@@ -2810,10 +2810,6 @@ const Cropper = /*@__PURE__*/ proxyCustomElement(class Cropper extends H {
2810
2810
  this.__attachShadow();
2811
2811
  this.valueChange = createEvent(this, "valueChange", 3);
2812
2812
  }
2813
- /**
2814
- * Variant of the image that's being cropped
2815
- */
2816
- variant = 'user';
2817
2813
  /**
2818
2814
  * The image to crop (url or base64)
2819
2815
  */
@@ -2849,35 +2845,27 @@ const Cropper = /*@__PURE__*/ proxyCustomElement(class Cropper extends H {
2849
2845
  }, 200);
2850
2846
  }
2851
2847
  render() {
2852
- return (h(Host, { key: 'a66d380b44bc45224bfdc14bb5fca2b2ed362b30', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'e1fd99544823302d65acd18a728c1de356e71568', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '102da7dfafb0978769d01769dd612181ee827c21', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '85d8dd61a002f97cde353c6b596bc565cdf0dd03', class: clsx({
2853
- 'rounded-round': this.variant === 'user',
2854
- rounded: this.variant === 'company',
2855
- }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: 'b6f27be2918f2d37db9c2e357edbf43c9437d948', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'f344a4f9329f0f95388cbb9d244e9874bb122872', action: 'move', plain: true }))), h("div", { key: 'fac0f650ad1c0f90cf76b1988c5b0868fca46433', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: 'cab454265a498a58246f560214a9773a05b64a9d', variant: 'minus' }), h("input", { key: '6e290864b2b72b195dcf3bc0499a7c15cf95dfb7', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: 'eae0f43ac06be2eb63ceaeba98890a9bc423f003', variant: 'plus' }))));
2848
+ return (h(Host, { key: 'bb9b47e33d788f83b69156e78754fdf77e60fbdc', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'c9b38a906946c725192411a5c8aeea567194d85c', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-off-white-700 bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '375a75a54723a633f6f67370af7732c49e17d5ea', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, translatable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '44df9ab40e61982a3d9dcc06c8395e878153f527', class: 'aspect-branding rounded-full', "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '98a11dbabb8e7852a3ea4ec34a9d8e5b4a617192', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'e8378de3cc52edeb6e3fa65cf4bf66050e36ee0a', action: 'move', plain: true }))), h("p-range", { key: 'a6471a180232794da126365058f4befb949b7cee', class: 'w-full px-14 tablet:max-w-xs tablet:px-1', value: this._currentScale, onValueChange: ev => this._onInput(ev.detail) })));
2856
2849
  }
2857
2850
  _setImageRef(ref) {
2858
2851
  if (this._imageRef) {
2859
2852
  return;
2860
2853
  }
2861
2854
  this._imageRef = ref;
2862
- this._imageRef.$ready(image => setTimeout(() => this._setInitialState(image), 200));
2855
+ this._imageRef.$ready(image => setTimeout(() => this._setInitialState(image), 100));
2863
2856
  }
2864
2857
  _setInitialState(image) {
2865
- let scale;
2866
- if (image.naturalWidth > image.naturalHeight) {
2867
- // set scale by height
2868
- scale = 200 / image.naturalHeight;
2869
- }
2858
+ let scale = 200 / image.naturalHeight;
2870
2859
  if (image.naturalHeight >= image.naturalWidth) {
2871
2860
  // set scale by width
2872
2861
  scale = 200 / image.naturalWidth;
2873
2862
  }
2874
- const current = this._imageRef.$getTransform();
2875
2863
  this._minScale = scale;
2876
- this._maxScale = current[0];
2864
+ this._maxScale = 5;
2877
2865
  this._selectionRef.$resize('nw-resize', 200, 200, 1);
2878
2866
  this._selectionRef.$center();
2879
- this._setScale(scale);
2880
2867
  this._toCanvas();
2868
+ this._setScale(scale);
2881
2869
  }
2882
2870
  _onAction() {
2883
2871
  this._setCurrentScale();
@@ -2954,8 +2942,7 @@ const Cropper = /*@__PURE__*/ proxyCustomElement(class Cropper extends H {
2954
2942
  }
2955
2943
  static get style() { return cropperComponentCss; }
2956
2944
  }, [1, "p-cropper", {
2957
- "variant": [513],
2958
- "value": [8],
2945
+ "value": [1],
2959
2946
  "returnType": [1, "return-type"],
2960
2947
  "_loaded": [32],
2961
2948
  "_currentScale": [32]
@@ -2964,7 +2951,7 @@ function defineCustomElement$1() {
2964
2951
  if (typeof customElements === "undefined") {
2965
2952
  return;
2966
2953
  }
2967
- const components = ["p-cropper", "p-icon"];
2954
+ const components = ["p-cropper", "p-icon", "p-range"];
2968
2955
  components.forEach(tagName => { switch (tagName) {
2969
2956
  case "p-cropper":
2970
2957
  if (!customElements.get(tagName)) {
@@ -2972,6 +2959,11 @@ function defineCustomElement$1() {
2972
2959
  }
2973
2960
  break;
2974
2961
  case "p-icon":
2962
+ if (!customElements.get(tagName)) {
2963
+ defineCustomElement$3();
2964
+ }
2965
+ break;
2966
+ case "p-range":
2975
2967
  if (!customElements.get(tagName)) {
2976
2968
  defineCustomElement$2();
2977
2969
  }