@paperless/core 2.0.1-beta.111 → 2.0.1-beta.113

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 (668) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
  5. package/dist/build/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
  6. package/dist/{paperless/p-9ef541e4.entry.js → build/p-0ffe0165.entry.js} +2 -2
  7. package/dist/build/p-11b1e718.entry.js +2 -0
  8. package/dist/{paperless/p-57acc6a7.entry.js.map → build/p-11b1e718.entry.js.map} +1 -1
  9. package/dist/build/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
  10. package/dist/{paperless/p-9c71c64d.entry.js → build/p-1c9405d8.entry.js} +2 -2
  11. package/dist/{paperless/p-9c71c64d.entry.js.map → build/p-1c9405d8.entry.js.map} +1 -1
  12. package/dist/build/p-21fb542a.entry.js +2 -0
  13. package/dist/{paperless/p-21d80bbe.entry.js.map → build/p-21fb542a.entry.js.map} +1 -1
  14. package/dist/build/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
  15. package/dist/build/p-3b14bbef.entry.js +2 -0
  16. package/dist/build/{p-c2721d00.entry.js.map → p-3b14bbef.entry.js.map} +1 -1
  17. package/dist/build/p-3cf73b2c.js +2 -0
  18. package/dist/build/{p-5dcdb2d0.entry.js → p-41949138.entry.js} +2 -2
  19. package/dist/build/{p-f12a4759.entry.js → p-4205f7e2.entry.js} +2 -2
  20. package/dist/build/{p-f12a4759.entry.js.map → p-4205f7e2.entry.js.map} +1 -1
  21. package/dist/{paperless/p-26491670.entry.js → build/p-476985ba.entry.js} +2 -2
  22. package/dist/build/p-4c6e5337.entry.js +2 -0
  23. package/dist/build/p-505650b6.entry.js +2 -0
  24. package/dist/build/p-53e0b8a1.entry.js +2 -0
  25. package/dist/build/p-53e0b8a1.entry.js.map +1 -0
  26. package/dist/build/{p-acc528bf.entry.js → p-5667f8bf.entry.js} +2 -2
  27. package/dist/build/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
  28. package/dist/{paperless/p-f4c0923b.entry.js → build/p-697c465d.entry.js} +2 -2
  29. package/dist/build/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
  30. package/dist/build/p-72eb70f4.entry.js +2 -0
  31. package/dist/build/{p-68b2471e.entry.js.map → p-72eb70f4.entry.js.map} +1 -1
  32. package/dist/build/{p-a8f60c0c.entry.js → p-7c7e6f26.entry.js} +2 -2
  33. package/dist/build/p-7f4d26c4.entry.js +2 -0
  34. package/dist/build/{p-427ef39b.entry.js.map → p-7f4d26c4.entry.js.map} +1 -1
  35. package/dist/build/p-8cc3f69f.entry.js +2 -0
  36. package/dist/{paperless/p-635f36c7.entry.js.map → build/p-8cc3f69f.entry.js.map} +1 -1
  37. package/dist/build/p-922fba03.entry.js +2 -0
  38. package/dist/{paperless/p-73bfb4b5.entry.js.map → build/p-922fba03.entry.js.map} +1 -1
  39. package/dist/build/p-929b47c9.entry.js +2 -0
  40. package/dist/build/{p-51b09be2.entry.js → p-96cb3e48.entry.js} +2 -2
  41. package/dist/build/p-96cd5cff.entry.js +2 -0
  42. package/dist/build/p-96cd5cff.entry.js.map +1 -0
  43. package/dist/{paperless/p-c7c3d389.entry.js → build/p-9da1d488.entry.js} +2 -2
  44. package/dist/{paperless/p-d5cba5af.entry.js → build/p-a3da31c4.entry.js} +2 -2
  45. package/dist/build/p-accordion.entry.esm.js.map +1 -1
  46. package/dist/build/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
  47. package/dist/build/p-attachment.entry.esm.js.map +1 -1
  48. package/dist/build/p-b08f490b.entry.js +2 -0
  49. package/dist/build/p-b08f490b.entry.js.map +1 -0
  50. package/dist/build/p-b1b12e88.entry.js +2 -0
  51. package/dist/build/p-b1b12e88.entry.js.map +1 -0
  52. package/dist/build/p-bc366236.entry.js +2 -0
  53. package/dist/build/{p-28152f8e.entry.js.map → p-bc366236.entry.js.map} +1 -1
  54. package/dist/build/p-bce08b0e.entry.js +2 -0
  55. package/dist/build/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  56. package/dist/{paperless/p-c585d909.entry.js → build/p-c9c0ae8d.entry.js} +2 -2
  57. package/dist/build/p-counter.entry.esm.js.map +1 -1
  58. package/dist/build/p-cropper.entry.esm.js.map +1 -1
  59. package/dist/{paperless/p-0a6e3e6f.entry.js → build/p-d37e0e66.entry.js} +2 -2
  60. package/dist/build/p-d4f4fe62.entry.js +2 -0
  61. package/dist/build/p-d4f4fe62.entry.js.map +1 -0
  62. package/dist/build/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
  63. package/dist/{paperless/p-577976ac.entry.js → build/p-dc4121c6.entry.js} +2 -2
  64. package/dist/{paperless/p-577976ac.entry.js.map → build/p-dc4121c6.entry.js.map} +1 -1
  65. package/dist/build/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
  66. package/dist/build/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  67. package/dist/build/p-e526cd42.entry.js +2 -0
  68. package/dist/build/{p-d0ba9cdd.entry.js.map → p-e526cd42.entry.js.map} +1 -1
  69. package/dist/build/{p-b8797794.entry.js → p-e63adc0d.entry.js} +2 -2
  70. package/dist/build/p-ed2e7409.entry.js +2 -0
  71. package/dist/build/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  72. package/dist/build/p-fd4a25eb.entry.js +2 -0
  73. package/dist/build/p-fd4a25eb.entry.js.map +1 -0
  74. package/dist/build/p-input-group.entry.esm.js.map +1 -1
  75. package/dist/build/p-listing-item.entry.esm.js.map +1 -0
  76. package/dist/build/p-listing-line.entry.esm.js.map +1 -0
  77. package/dist/build/p-listing.entry.esm.js.map +1 -0
  78. package/dist/build/p-slider-indicator.entry.esm.js.map +1 -1
  79. package/dist/build/p-status.entry.esm.js.map +1 -1
  80. package/dist/build/p-stepper-item.entry.esm.js.map +1 -1
  81. package/dist/build/p-stepper-line.entry.esm.js.map +1 -1
  82. package/dist/build/p-stepper.entry.esm.js.map +1 -1
  83. package/dist/build/p-tab-item.entry.esm.js.map +1 -1
  84. package/dist/build/paperless.esm.js +1 -1
  85. package/dist/cjs/index-BDuPp9vl.js +12 -0
  86. package/dist/cjs/index.cjs.js +76 -30
  87. package/dist/cjs/index.cjs.js.map +1 -1
  88. package/dist/cjs/loader.cjs.js +1 -1
  89. package/dist/cjs/p-accordion.cjs.entry.js +2 -2
  90. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
  91. package/dist/cjs/p-accordion.entry.cjs.js.map +1 -1
  92. package/dist/cjs/p-attachment.cjs.entry.js +5 -5
  93. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  94. package/dist/cjs/p-attachment.entry.cjs.js.map +1 -1
  95. package/dist/cjs/p-badge_3.cjs.entry.js +3 -3
  96. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  97. package/dist/cjs/p-button.p-icon.p-loader.entry.cjs.js.map +1 -1
  98. package/dist/cjs/p-button_3.cjs.entry.js +1 -1
  99. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  100. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  101. package/dist/cjs/p-checkbox_4.cjs.entry.js +4 -4
  102. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  103. package/dist/cjs/p-counter.cjs.entry.js +2 -2
  104. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  105. package/dist/cjs/p-counter.entry.cjs.js.map +1 -1
  106. package/dist/cjs/p-cropper.cjs.entry.js +3 -3
  107. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  108. package/dist/cjs/p-cropper.entry.cjs.js.map +1 -1
  109. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  110. package/dist/cjs/p-drawer-body.p-drawer-container.p-drawer-header.entry.cjs.js.map +1 -1
  111. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  112. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.cjs.js.map +1 -1
  114. package/dist/cjs/p-empty-state_9.cjs.entry.js +11 -11
  115. package/dist/cjs/p-empty-state_9.cjs.entry.js.map +1 -1
  116. package/dist/cjs/p-field_2.cjs.entry.js +3 -3
  117. package/dist/cjs/p-helper_2.cjs.entry.js +4 -4
  118. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  119. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  120. package/dist/cjs/p-input-group.cjs.entry.js +4 -4
  121. package/dist/cjs/p-input-group.cjs.entry.js.map +1 -1
  122. package/dist/cjs/p-input-group.entry.cjs.js.map +1 -1
  123. package/dist/cjs/p-label.cjs.entry.js +3 -3
  124. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  125. package/dist/cjs/p-listing-item.cjs.entry.js +24 -0
  126. package/dist/cjs/p-listing-item.cjs.entry.js.map +1 -0
  127. package/dist/cjs/p-listing-item.entry.cjs.js.map +1 -0
  128. package/dist/cjs/p-listing-line.cjs.entry.js +20 -0
  129. package/dist/cjs/p-listing-line.cjs.entry.js.map +1 -0
  130. package/dist/cjs/p-listing-line.entry.cjs.js.map +1 -0
  131. package/dist/cjs/p-listing.cjs.entry.js +83 -0
  132. package/dist/cjs/p-listing.cjs.entry.js.map +1 -0
  133. package/dist/cjs/p-listing.entry.cjs.js.map +1 -0
  134. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  135. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  136. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  137. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  138. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  139. package/dist/cjs/p-pagination-pages-item.cjs.entry.js +2 -2
  140. package/dist/cjs/p-pagination_3.cjs.entry.js +4 -4
  141. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  142. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  143. package/dist/cjs/p-select.cjs.entry.js +1 -1
  144. package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
  145. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
  146. package/dist/cjs/p-slider-indicator.entry.cjs.js.map +1 -1
  147. package/dist/cjs/p-smile.cjs.entry.js +1 -1
  148. package/dist/cjs/p-status.cjs.entry.js +3 -3
  149. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  150. package/dist/cjs/p-status.entry.cjs.js.map +1 -1
  151. package/dist/cjs/p-stepper-item.cjs.entry.js +89 -6
  152. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  153. package/dist/cjs/p-stepper-item.entry.cjs.js.map +1 -1
  154. package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
  155. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  156. package/dist/cjs/p-stepper-line.entry.cjs.js.map +1 -1
  157. package/dist/cjs/p-stepper.cjs.entry.js +53 -15
  158. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  159. package/dist/cjs/p-stepper.entry.cjs.js.map +1 -1
  160. package/dist/cjs/p-tab-container.cjs.entry.js +1 -1
  161. package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
  162. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
  163. package/dist/cjs/p-tab-item.entry.cjs.js.map +1 -1
  164. package/dist/cjs/p-toast-container.cjs.entry.js +2 -2
  165. package/dist/cjs/p-toast.cjs.entry.js +2 -2
  166. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  167. package/dist/cjs/paperless.cjs.js +1 -1
  168. package/dist/collection/collection-manifest.json +7 -4
  169. package/dist/collection/components/atoms/drawer/body/drawer-body.component.css +1 -1
  170. package/dist/collection/components/atoms/drawer/container/drawer-container.component.css +1 -1
  171. package/dist/collection/components/atoms/drawer/header/drawer-header.component.css +1 -1
  172. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  173. package/dist/collection/components/atoms/listing/item/listing-item.component.css +1 -0
  174. package/dist/collection/components/atoms/listing/item/listing-item.component.js +53 -0
  175. package/dist/collection/components/atoms/listing/item/listing-item.component.js.map +1 -0
  176. package/dist/collection/components/atoms/listing/line/listing-line.component.css +1 -0
  177. package/dist/collection/components/atoms/listing/line/listing-line.component.js +19 -0
  178. package/dist/collection/components/atoms/listing/line/listing-line.component.js.map +1 -0
  179. package/dist/collection/components/atoms/modal/body/modal-body.component.js +2 -2
  180. package/dist/collection/components/atoms/modal/container/modal-container.component.js +2 -2
  181. package/dist/collection/components/atoms/modal/footer/modal-footer.component.js +1 -1
  182. package/dist/collection/components/atoms/modal/header/modal-header.component.js +1 -1
  183. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  184. package/dist/collection/components/atoms/pagination/pages-item/pagination-pages-item.component.js +2 -2
  185. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  186. package/dist/collection/components/atoms/segment/container/segment-container.component.js +1 -1
  187. package/dist/collection/components/atoms/segment/item/segment-item.component.js +2 -2
  188. package/dist/collection/components/atoms/smile/smile.component.js +1 -1
  189. package/dist/collection/components/atoms/stepper/item/stepper-item.component.css +1 -0
  190. package/dist/collection/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.js +107 -25
  191. package/dist/collection/components/atoms/stepper/item/stepper-item.component.js.map +1 -0
  192. package/dist/collection/components/atoms/stepper/line/stepper-line.component.css +1 -0
  193. package/dist/collection/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.js +2 -2
  194. package/dist/collection/components/atoms/stepper/line/stepper-line.component.js.map +1 -0
  195. package/dist/collection/components/atoms/tab/container/tab-container.component.js +1 -1
  196. package/dist/collection/components/atoms/tab/item/tab-item.component.css +1 -1
  197. package/dist/collection/components/atoms/tab/item/tab-item.component.js +1 -1
  198. package/dist/collection/components/atoms/table/actions-container/table-container.component.js +1 -1
  199. package/dist/collection/components/atoms/table/container/table-row-actions-container.component.js +1 -1
  200. package/dist/collection/components/atoms/toast-container/toast-container.component.js +2 -2
  201. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  202. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  203. package/dist/collection/components/deprecated/atoms/counter/counter.component.css +1 -1
  204. package/dist/collection/components/deprecated/atoms/counter/counter.component.js +1 -1
  205. package/dist/collection/components/deprecated/atoms/layout/layout.component.js +1 -1
  206. package/dist/collection/components/deprecated/atoms/loader/loader.component.css +1 -1
  207. package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.css +1 -1
  208. package/dist/collection/components/deprecated/atoms/slider-indicator/slider-indicator.component.js +1 -1
  209. package/dist/collection/components/deprecated/atoms/status/status.component.css +1 -1
  210. package/dist/collection/components/deprecated/atoms/status/status.component.js +2 -2
  211. package/dist/collection/components/deprecated/molecules/accordion/accordion.component.css +1 -1
  212. package/dist/collection/components/deprecated/molecules/accordion/accordion.component.js +1 -1
  213. package/dist/collection/components/deprecated/molecules/attachment/attachment.component.css +1 -1
  214. package/dist/collection/components/deprecated/molecules/attachment/attachment.component.js +4 -4
  215. package/dist/collection/components/deprecated/molecules/content-slider/content-slider.component.js +2 -2
  216. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.css +1 -1
  217. package/dist/collection/components/deprecated/molecules/cropper/cropper.component.js +2 -2
  218. package/dist/collection/components/deprecated/molecules/input/error/input-error.component.js +1 -1
  219. package/dist/collection/components/deprecated/molecules/input/group/input-group.component.css +1 -1
  220. package/dist/collection/components/deprecated/molecules/input/group/input-group.component.js +3 -3
  221. package/dist/collection/components/helpers/portal/portal.component.js +1 -1
  222. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  223. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  224. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  225. package/dist/collection/components/molecules/dropdown/dropdown.component.js +4 -4
  226. package/dist/collection/components/molecules/empty-state/empty-state.component.js +2 -2
  227. package/dist/collection/components/molecules/field/field/field.component.js +3 -3
  228. package/dist/collection/components/molecules/label/label.component.js +3 -3
  229. package/dist/collection/components/molecules/navigation/item/navigation-item.component.js +2 -2
  230. package/dist/collection/components/molecules/navigation/section/navigation-section.component.js +1 -1
  231. package/dist/collection/components/molecules/pagination/pages/pagination-pages.component.js +1 -1
  232. package/dist/collection/components/molecules/pagination/pagination/pagination.component.js +3 -3
  233. package/dist/collection/components/molecules/select/select.component.js +1 -1
  234. package/dist/collection/components/molecules/table/cell/table-cell.component.js +1 -1
  235. package/dist/collection/components/molecules/table/footer/table-footer.component.js +2 -2
  236. package/dist/collection/components/molecules/table/header/table-header.component.css +1 -1
  237. package/dist/collection/components/molecules/table/row/table-row.component.js +3 -3
  238. package/dist/collection/components/molecules/toast/toast.component.css +1 -1
  239. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  240. package/dist/collection/components/organisms/listing/listing.component.css +1 -0
  241. package/dist/collection/components/organisms/listing/listing.component.js +86 -0
  242. package/dist/collection/components/organisms/listing/listing.component.js.map +1 -0
  243. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  244. package/dist/collection/components/organisms/stepper/stepper.component.css +1 -0
  245. package/dist/collection/components/{deprecated/molecules → organisms}/stepper/stepper.component.js +79 -18
  246. package/dist/collection/components/organisms/stepper/stepper.component.js.map +1 -0
  247. package/dist/collection/tailwind/theme/colors.js +76 -30
  248. package/dist/collection/tailwind/theme/colors.js.map +1 -1
  249. package/dist/components/index.js +76 -30
  250. package/dist/components/index.js.map +1 -1
  251. package/dist/components/{p-CzS_7d0-.js → p-BELUs4d5.js} +10 -10
  252. package/dist/components/{p-CzS_7d0-.js.map → p-BELUs4d5.js.map} +1 -1
  253. package/dist/components/{p-D8NwpELS.js → p-BFBKoX9I.js} +3 -3
  254. package/dist/components/{p-D8NwpELS.js.map → p-BFBKoX9I.js.map} +1 -1
  255. package/dist/components/{p-Da2j4Bie.js → p-BIf14u2D.js} +6 -6
  256. package/dist/components/{p-Da2j4Bie.js.map → p-BIf14u2D.js.map} +1 -1
  257. package/dist/components/{p-CdQUFhNO.js → p-BPkSg0bc.js} +4 -4
  258. package/dist/components/{p-CdQUFhNO.js.map → p-BPkSg0bc.js.map} +1 -1
  259. package/dist/components/{p-BudlHU1j.js → p-BYnq9fQl.js} +3 -3
  260. package/dist/components/{p-BudlHU1j.js.map → p-BYnq9fQl.js.map} +1 -1
  261. package/dist/components/{p-BDTPyUsH.js → p-BmuXuYR6.js} +4 -4
  262. package/dist/components/{p-BDTPyUsH.js.map → p-BmuXuYR6.js.map} +1 -1
  263. package/dist/components/{p-D82K4OiU.js → p-C0yOzPit.js} +3 -3
  264. package/dist/components/{p-D82K4OiU.js.map → p-C0yOzPit.js.map} +1 -1
  265. package/dist/components/p-C1FkmkFJ.js +45 -0
  266. package/dist/components/p-C1FkmkFJ.js.map +1 -0
  267. package/dist/components/{p-Dk6UwJSA.js → p-C7OuWaSr.js} +3 -3
  268. package/dist/components/{p-Dk6UwJSA.js.map → p-C7OuWaSr.js.map} +1 -1
  269. package/dist/components/{p-CFdbv-t4.js → p-CKc3SL1J.js} +4 -4
  270. package/dist/components/{p-CFdbv-t4.js.map → p-CKc3SL1J.js.map} +1 -1
  271. package/dist/components/{p-BFBgml7D.js → p-CSIFLNsS.js} +3 -3
  272. package/dist/components/{p-BFBgml7D.js.map → p-CSIFLNsS.js.map} +1 -1
  273. package/dist/components/{p-BrtcZfOg.js → p-CSMO4KRK.js} +10 -10
  274. package/dist/components/{p-BrtcZfOg.js.map → p-CSMO4KRK.js.map} +1 -1
  275. package/dist/components/{p-BUxcWSGM.js → p-CUgIFdxM.js} +3 -3
  276. package/dist/components/{p-BUxcWSGM.js.map → p-CUgIFdxM.js.map} +1 -1
  277. package/dist/components/{p-C3gEbkrr.js → p-CXH4yAMZ.js} +6 -6
  278. package/dist/components/{p-C3gEbkrr.js.map → p-CXH4yAMZ.js.map} +1 -1
  279. package/dist/components/{p-12mQxW6R.js → p-CYGYOpps.js} +6 -6
  280. package/dist/components/{p-12mQxW6R.js.map → p-CYGYOpps.js.map} +1 -1
  281. package/dist/components/{p-DwXZFIvC.js → p-C_t2sBf3.js} +5 -5
  282. package/dist/components/{p-DwXZFIvC.js.map → p-C_t2sBf3.js.map} +1 -1
  283. package/dist/components/{p-Drik7Kfv.js → p-CmzpquGH.js} +3 -3
  284. package/dist/components/{p-Drik7Kfv.js.map → p-CmzpquGH.js.map} +1 -1
  285. package/dist/components/{p-Br_TxALn.js → p-CxHSXAkq.js} +6 -6
  286. package/dist/components/{p-Br_TxALn.js.map → p-CxHSXAkq.js.map} +1 -1
  287. package/dist/components/{p-4jVVUXXD.js → p-CzmLJq-j.js} +12 -12
  288. package/dist/components/{p-4jVVUXXD.js.map → p-CzmLJq-j.js.map} +1 -1
  289. package/dist/components/{p-DW90RovU.js → p-D2Em0Yy7.js} +7 -7
  290. package/dist/components/{p-DW90RovU.js.map → p-D2Em0Yy7.js.map} +1 -1
  291. package/dist/components/{p-BMeOy477.js → p-DH9lFbRX.js} +4 -4
  292. package/dist/components/{p-BMeOy477.js.map → p-DH9lFbRX.js.map} +1 -1
  293. package/dist/components/{p-CmfFRlg6.js → p-DNuBtBUG.js} +7 -7
  294. package/dist/components/{p-CmfFRlg6.js.map → p-DNuBtBUG.js.map} +1 -1
  295. package/dist/components/{p-CScTNJWS.js → p-DQsUJhL8.js} +4 -4
  296. package/dist/components/{p-CScTNJWS.js.map → p-DQsUJhL8.js.map} +1 -1
  297. package/dist/components/{p-CgZvkWTt.js → p-DdK27Obl.js} +3 -3
  298. package/dist/components/{p-CgZvkWTt.js.map → p-DdK27Obl.js.map} +1 -1
  299. package/dist/components/{p-RaBHKmcm.js → p-DeKgadpt.js} +5 -5
  300. package/dist/components/{p-RaBHKmcm.js.map → p-DeKgadpt.js.map} +1 -1
  301. package/dist/components/{p-DWZhmPv-.js → p-DoBSOpu3.js} +4 -4
  302. package/dist/components/{p-DWZhmPv-.js.map → p-DoBSOpu3.js.map} +1 -1
  303. package/dist/components/p-ElOvIDKN.js +34 -0
  304. package/dist/components/p-ElOvIDKN.js.map +1 -0
  305. package/dist/components/{p-N1Pv54zG.js → p-MQ5NAuIf.js} +3 -3
  306. package/dist/components/{p-N1Pv54zG.js.map → p-MQ5NAuIf.js.map} +1 -1
  307. package/dist/components/{p-BwFkgAPO.js → p-Ma26TfrN.js} +4 -4
  308. package/dist/components/{p-BwFkgAPO.js.map → p-Ma26TfrN.js.map} +1 -1
  309. package/dist/components/{p-8rB2Q4yP.js → p-ZBndlSp5.js} +4 -4
  310. package/dist/components/{p-8rB2Q4yP.js.map → p-ZBndlSp5.js.map} +1 -1
  311. package/dist/components/{p-OpZXFNRZ.js → p-abTHpIy3.js} +3 -3
  312. package/dist/components/{p-OpZXFNRZ.js.map → p-abTHpIy3.js.map} +1 -1
  313. package/dist/components/p-accordion.js +2 -2
  314. package/dist/components/p-accordion.js.map +1 -1
  315. package/dist/components/p-attachment.js +10 -10
  316. package/dist/components/p-attachment.js.map +1 -1
  317. package/dist/components/p-button-group.js +1 -1
  318. package/dist/components/p-button.js +1 -1
  319. package/dist/components/p-calendar.js +1 -1
  320. package/dist/components/p-card-header.js +1 -1
  321. package/dist/components/p-content-slider.js +3 -3
  322. package/dist/components/p-counter.js +2 -2
  323. package/dist/components/p-counter.js.map +1 -1
  324. package/dist/components/p-cropper.js +3 -3
  325. package/dist/components/p-cropper.js.map +1 -1
  326. package/dist/components/{p-Dhj0ynsI.js → p-dHqdW8fy.js} +4 -4
  327. package/dist/components/{p-Dhj0ynsI.js.map → p-dHqdW8fy.js.map} +1 -1
  328. package/dist/components/p-datepicker.js +11 -11
  329. package/dist/components/p-drawer-body.js +1 -1
  330. package/dist/components/p-drawer-container.js +1 -1
  331. package/dist/components/p-drawer-header.js +1 -1
  332. package/dist/components/p-drawer.js +6 -6
  333. package/dist/components/p-dropdown.js +1 -1
  334. package/dist/components/p-empty-state.js +1 -1
  335. package/dist/components/p-field-container.js +1 -1
  336. package/dist/components/p-field.js +1 -1
  337. package/dist/components/p-floating-menu-item.js +1 -1
  338. package/dist/components/p-helper.js +1 -1
  339. package/dist/components/p-info-panel.js +1 -1
  340. package/dist/components/p-input-error.js +1 -1
  341. package/dist/components/p-input-group.js +8 -8
  342. package/dist/components/p-input-group.js.map +1 -1
  343. package/dist/components/p-label.js +3 -3
  344. package/dist/components/p-layout.js +1 -1
  345. package/dist/components/p-listing-item.d.ts +11 -0
  346. package/dist/components/p-listing-item.js +49 -0
  347. package/dist/components/p-listing-item.js.map +1 -0
  348. package/dist/components/p-listing-line.d.ts +11 -0
  349. package/dist/components/p-listing-line.js +9 -0
  350. package/dist/components/p-listing-line.js.map +1 -0
  351. package/dist/components/p-listing.d.ts +11 -0
  352. package/dist/components/p-listing.js +106 -0
  353. package/dist/components/p-listing.js.map +1 -0
  354. package/dist/components/p-loader.js +1 -1
  355. package/dist/components/p-modal-body.js +1 -1
  356. package/dist/components/p-modal-container.js +1 -1
  357. package/dist/components/p-modal-footer.js +1 -1
  358. package/dist/components/p-modal-header.js +1 -1
  359. package/dist/components/p-modal.js +7 -7
  360. package/dist/components/p-navbar.js +3 -3
  361. package/dist/components/p-navigation-item.js +3 -3
  362. package/dist/components/p-navigation-section.js +2 -2
  363. package/dist/components/p-navigation-title.js +1 -1
  364. package/dist/components/{p-DPJZQYRZ.js → p-oN2NV1VP.js} +3 -3
  365. package/dist/components/{p-DPJZQYRZ.js.map → p-oN2NV1VP.js.map} +1 -1
  366. package/dist/components/{p-wcD-x4l2.js → p-olyt1_RK.js} +3 -3
  367. package/dist/components/{p-wcD-x4l2.js.map → p-olyt1_RK.js.map} +1 -1
  368. package/dist/components/{p-C1YLcCva.js → p-p2WG_YKz.js} +5 -5
  369. package/dist/components/{p-C1YLcCva.js.map → p-p2WG_YKz.js.map} +1 -1
  370. package/dist/components/p-pagination-pages-item.js +1 -1
  371. package/dist/components/p-pagination-pages.js +1 -1
  372. package/dist/components/p-pagination-size.js +1 -1
  373. package/dist/components/p-pagination.js +1 -1
  374. package/dist/components/p-portal.js +1 -1
  375. package/dist/components/p-profile.js +4 -4
  376. package/dist/components/p-radio.js +3 -3
  377. package/dist/components/p-segment-container.js +1 -1
  378. package/dist/components/p-segment-item.js +1 -1
  379. package/dist/components/p-select.js +9 -9
  380. package/dist/components/p-slider-indicator.js +1 -1
  381. package/dist/components/p-smile.js +1 -1
  382. package/dist/components/p-status.js +3 -3
  383. package/dist/components/p-status.js.map +1 -1
  384. package/dist/components/p-stepper-item.js +95 -19
  385. package/dist/components/p-stepper-item.js.map +1 -1
  386. package/dist/components/p-stepper-line.js +1 -1
  387. package/dist/components/p-stepper.js +59 -19
  388. package/dist/components/p-stepper.js.map +1 -1
  389. package/dist/components/p-tab-container.js +1 -1
  390. package/dist/components/p-tab-item.js +2 -2
  391. package/dist/components/p-tab-item.js.map +1 -1
  392. package/dist/components/p-table-cell.js +1 -1
  393. package/dist/components/p-table-container.js +1 -1
  394. package/dist/components/p-table-footer.js +1 -1
  395. package/dist/components/p-table-header.js +1 -1
  396. package/dist/components/p-table-row-actions-container.js +1 -1
  397. package/dist/components/p-table-row.js +1 -1
  398. package/dist/components/p-table.js +22 -22
  399. package/dist/components/{p-DRQQENvx.js → p-tf3ZTq-9.js} +10 -10
  400. package/dist/components/{p-DRQQENvx.js.map → p-tf3ZTq-9.js.map} +1 -1
  401. package/dist/components/p-toast-container.js +2 -2
  402. package/dist/components/p-toast.js +4 -4
  403. package/dist/components/p-toggle.js +3 -3
  404. package/dist/components/p-tooltip.js +1 -1
  405. package/dist/esm/index-DhGo7hbh.js +12 -0
  406. package/dist/esm/index.js +76 -30
  407. package/dist/esm/index.js.map +1 -1
  408. package/dist/esm/loader.js +1 -1
  409. package/dist/esm/p-accordion.entry.js +2 -2
  410. package/dist/esm/p-accordion.entry.js.map +1 -1
  411. package/dist/esm/p-attachment.entry.js +5 -5
  412. package/dist/esm/p-attachment.entry.js.map +1 -1
  413. package/dist/esm/p-badge_3.entry.js +3 -3
  414. package/dist/esm/p-button-group.entry.js +1 -1
  415. package/dist/esm/p-button.p-icon.p-loader.entry.js.map +1 -1
  416. package/dist/esm/p-button_3.entry.js +1 -1
  417. package/dist/esm/p-button_3.entry.js.map +1 -1
  418. package/dist/esm/p-calendar.entry.js +1 -1
  419. package/dist/esm/p-checkbox_4.entry.js +4 -4
  420. package/dist/esm/p-content-slider.entry.js +2 -2
  421. package/dist/esm/p-counter.entry.js +2 -2
  422. package/dist/esm/p-counter.entry.js.map +1 -1
  423. package/dist/esm/p-cropper.entry.js +3 -3
  424. package/dist/esm/p-cropper.entry.js.map +1 -1
  425. package/dist/esm/p-datepicker.entry.js +2 -2
  426. package/dist/esm/p-drawer-body.p-drawer-container.p-drawer-header.entry.js.map +1 -1
  427. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  428. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  429. package/dist/esm/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.js.map +1 -1
  430. package/dist/esm/p-empty-state_9.entry.js +11 -11
  431. package/dist/esm/p-empty-state_9.entry.js.map +1 -1
  432. package/dist/esm/p-field_2.entry.js +3 -3
  433. package/dist/esm/p-helper_2.entry.js +4 -4
  434. package/dist/esm/p-info-panel.entry.js +1 -1
  435. package/dist/esm/p-input-error.entry.js +1 -1
  436. package/dist/esm/p-input-group.entry.js +4 -4
  437. package/dist/esm/p-input-group.entry.js.map +1 -1
  438. package/dist/esm/p-label.entry.js +3 -3
  439. package/dist/esm/p-layout.entry.js +1 -1
  440. package/dist/esm/p-listing-item.entry.js +22 -0
  441. package/dist/esm/p-listing-item.entry.js.map +1 -0
  442. package/dist/esm/p-listing-line.entry.js +18 -0
  443. package/dist/esm/p-listing-line.entry.js.map +1 -0
  444. package/dist/esm/p-listing.entry.js +81 -0
  445. package/dist/esm/p-listing.entry.js.map +1 -0
  446. package/dist/esm/p-modal-body_4.entry.js +6 -6
  447. package/dist/esm/p-navbar.entry.js +1 -1
  448. package/dist/esm/p-navigation-item.entry.js +2 -2
  449. package/dist/esm/p-navigation-section.entry.js +1 -1
  450. package/dist/esm/p-navigation-title.entry.js +1 -1
  451. package/dist/esm/p-pagination-pages-item.entry.js +2 -2
  452. package/dist/esm/p-pagination_3.entry.js +4 -4
  453. package/dist/esm/p-portal.entry.js +1 -1
  454. package/dist/esm/p-radio.entry.js +3 -3
  455. package/dist/esm/p-select.entry.js +1 -1
  456. package/dist/esm/p-slider-indicator.entry.js +2 -2
  457. package/dist/esm/p-slider-indicator.entry.js.map +1 -1
  458. package/dist/esm/p-smile.entry.js +1 -1
  459. package/dist/esm/p-status.entry.js +3 -3
  460. package/dist/esm/p-status.entry.js.map +1 -1
  461. package/dist/esm/p-stepper-item.entry.js +90 -7
  462. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  463. package/dist/esm/p-stepper-line.entry.js +2 -2
  464. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  465. package/dist/esm/p-stepper.entry.js +54 -16
  466. package/dist/esm/p-stepper.entry.js.map +1 -1
  467. package/dist/esm/p-tab-container.entry.js +1 -1
  468. package/dist/esm/p-tab-item.entry.js +2 -2
  469. package/dist/esm/p-tab-item.entry.js.map +1 -1
  470. package/dist/esm/p-toast-container.entry.js +2 -2
  471. package/dist/esm/p-toast.entry.js +2 -2
  472. package/dist/esm/p-toggle.entry.js +3 -3
  473. package/dist/esm/paperless.js +1 -1
  474. package/dist/index.html +1 -1
  475. package/dist/paperless/index.esm.js +1 -1
  476. package/dist/paperless/index.esm.js.map +1 -1
  477. package/dist/paperless/{p-456a3099.entry.js → p-05791ffa.entry.js} +2 -2
  478. package/dist/paperless/{p-899f7d36.entry.js → p-0a0ef10d.entry.js} +2 -2
  479. package/dist/{build/p-9ef541e4.entry.js → paperless/p-0ffe0165.entry.js} +2 -2
  480. package/dist/paperless/p-11b1e718.entry.js +2 -0
  481. package/dist/{build/p-57acc6a7.entry.js.map → paperless/p-11b1e718.entry.js.map} +1 -1
  482. package/dist/paperless/{p-7b7366dc.entry.js → p-1bde15ae.entry.js} +2 -2
  483. package/dist/{build/p-9c71c64d.entry.js → paperless/p-1c9405d8.entry.js} +2 -2
  484. package/dist/{build/p-9c71c64d.entry.js.map → paperless/p-1c9405d8.entry.js.map} +1 -1
  485. package/dist/paperless/p-21fb542a.entry.js +2 -0
  486. package/dist/{build/p-21d80bbe.entry.js.map → paperless/p-21fb542a.entry.js.map} +1 -1
  487. package/dist/paperless/{p-0dc168c5.entry.js → p-26b75731.entry.js} +2 -2
  488. package/dist/paperless/p-3b14bbef.entry.js +2 -0
  489. package/dist/paperless/{p-c2721d00.entry.js.map → p-3b14bbef.entry.js.map} +1 -1
  490. package/dist/paperless/{p-5dcdb2d0.entry.js → p-41949138.entry.js} +2 -2
  491. package/dist/paperless/{p-f12a4759.entry.js → p-4205f7e2.entry.js} +2 -2
  492. package/dist/paperless/{p-f12a4759.entry.js.map → p-4205f7e2.entry.js.map} +1 -1
  493. package/dist/{build/p-26491670.entry.js → paperless/p-476985ba.entry.js} +2 -2
  494. package/dist/paperless/p-4c6e5337.entry.js +2 -0
  495. package/dist/paperless/p-505650b6.entry.js +2 -0
  496. package/dist/paperless/p-53e0b8a1.entry.js +2 -0
  497. package/dist/paperless/p-53e0b8a1.entry.js.map +1 -0
  498. package/dist/paperless/{p-acc528bf.entry.js → p-5667f8bf.entry.js} +2 -2
  499. package/dist/paperless/{p-4fb83e8d.entry.js → p-6620dc05.entry.js} +2 -2
  500. package/dist/{build/p-f4c0923b.entry.js → paperless/p-697c465d.entry.js} +2 -2
  501. package/dist/paperless/{p-58efc94c.entry.js → p-6cddddb7.entry.js} +2 -2
  502. package/dist/paperless/p-72eb70f4.entry.js +2 -0
  503. package/dist/paperless/{p-68b2471e.entry.js.map → p-72eb70f4.entry.js.map} +1 -1
  504. package/dist/paperless/{p-a8f60c0c.entry.js → p-7c7e6f26.entry.js} +2 -2
  505. package/dist/paperless/p-7f4d26c4.entry.js +2 -0
  506. package/dist/paperless/{p-427ef39b.entry.js.map → p-7f4d26c4.entry.js.map} +1 -1
  507. package/dist/paperless/p-8cc3f69f.entry.js +2 -0
  508. package/dist/{build/p-635f36c7.entry.js.map → paperless/p-8cc3f69f.entry.js.map} +1 -1
  509. package/dist/paperless/p-922fba03.entry.js +2 -0
  510. package/dist/{build/p-73bfb4b5.entry.js.map → paperless/p-922fba03.entry.js.map} +1 -1
  511. package/dist/paperless/p-929b47c9.entry.js +2 -0
  512. package/dist/paperless/{p-51b09be2.entry.js → p-96cb3e48.entry.js} +2 -2
  513. package/dist/paperless/p-96cd5cff.entry.js +2 -0
  514. package/dist/paperless/p-96cd5cff.entry.js.map +1 -0
  515. package/dist/{build/p-c7c3d389.entry.js → paperless/p-9da1d488.entry.js} +2 -2
  516. package/dist/{build/p-d5cba5af.entry.js → paperless/p-a3da31c4.entry.js} +2 -2
  517. package/dist/paperless/p-accordion.entry.esm.js.map +1 -1
  518. package/dist/paperless/{p-d3102227.entry.js → p-adfddeb6.entry.js} +2 -2
  519. package/dist/paperless/p-attachment.entry.esm.js.map +1 -1
  520. package/dist/paperless/p-b08f490b.entry.js +2 -0
  521. package/dist/paperless/p-b08f490b.entry.js.map +1 -0
  522. package/dist/paperless/p-b1b12e88.entry.js +2 -0
  523. package/dist/paperless/p-b1b12e88.entry.js.map +1 -0
  524. package/dist/paperless/p-bc366236.entry.js +2 -0
  525. package/dist/paperless/{p-28152f8e.entry.js.map → p-bc366236.entry.js.map} +1 -1
  526. package/dist/paperless/p-bce08b0e.entry.js +2 -0
  527. package/dist/paperless/p-button.p-icon.p-loader.entry.esm.js.map +1 -1
  528. package/dist/{build/p-c585d909.entry.js → paperless/p-c9c0ae8d.entry.js} +2 -2
  529. package/dist/paperless/p-counter.entry.esm.js.map +1 -1
  530. package/dist/paperless/p-cropper.entry.esm.js.map +1 -1
  531. package/dist/{build/p-0a6e3e6f.entry.js → paperless/p-d37e0e66.entry.js} +2 -2
  532. package/dist/paperless/p-d4f4fe62.entry.js +2 -0
  533. package/dist/paperless/p-d4f4fe62.entry.js.map +1 -0
  534. package/dist/paperless/{p-f9efc1e5.entry.js → p-d894e0b1.entry.js} +2 -2
  535. package/dist/{build/p-577976ac.entry.js → paperless/p-dc4121c6.entry.js} +2 -2
  536. package/dist/{build/p-577976ac.entry.js.map → paperless/p-dc4121c6.entry.js.map} +1 -1
  537. package/dist/paperless/{p-222abd40.entry.js → p-df7f9328.entry.js} +2 -2
  538. package/dist/paperless/p-drawer-body.p-drawer-container.p-drawer-header.entry.esm.js.map +1 -1
  539. package/dist/paperless/p-e526cd42.entry.js +2 -0
  540. package/dist/paperless/{p-d0ba9cdd.entry.js.map → p-e526cd42.entry.js.map} +1 -1
  541. package/dist/paperless/{p-b8797794.entry.js → p-e63adc0d.entry.js} +2 -2
  542. package/dist/paperless/p-ed2e7409.entry.js +2 -0
  543. package/dist/paperless/p-empty-state.p-floating-menu-container.p-floating-menu-item.p-table-cell.p-table-container.p-table-footer.p-table-header.p-table-row.p-table-row-actions-container.entry.esm.js.map +1 -1
  544. package/dist/paperless/p-fd4a25eb.entry.js +2 -0
  545. package/dist/paperless/p-fd4a25eb.entry.js.map +1 -0
  546. package/dist/paperless/p-input-group.entry.esm.js.map +1 -1
  547. package/dist/paperless/p-listing-item.entry.esm.js.map +1 -0
  548. package/dist/paperless/p-listing-line.entry.esm.js.map +1 -0
  549. package/dist/paperless/p-listing.entry.esm.js.map +1 -0
  550. package/dist/paperless/p-slider-indicator.entry.esm.js.map +1 -1
  551. package/dist/paperless/p-status.entry.esm.js.map +1 -1
  552. package/dist/paperless/p-stepper-item.entry.esm.js.map +1 -1
  553. package/dist/paperless/p-stepper-line.entry.esm.js.map +1 -1
  554. package/dist/paperless/p-stepper.entry.esm.js.map +1 -1
  555. package/dist/paperless/p-tab-item.entry.esm.js.map +1 -1
  556. package/dist/paperless/paperless.esm.js +1 -1
  557. package/dist/sw.js +1 -1
  558. package/dist/sw.js.map +1 -1
  559. package/dist/tailwind/theme/colors.ts +78 -30
  560. package/dist/types/components/atoms/listing/item/listing-item.component.d.ts +8 -0
  561. package/dist/types/components/atoms/listing/line/listing-line.component.d.ts +3 -0
  562. package/dist/types/components/{deprecated/atoms → atoms}/stepper/item/stepper-item.component.d.ts +4 -4
  563. package/dist/types/components/organisms/listing/listing.component.d.ts +14 -0
  564. package/dist/types/components/{deprecated/molecules → organisms}/stepper/stepper.component.d.ts +6 -0
  565. package/dist/types/components.d.ts +65 -10
  566. package/package.json +1 -1
  567. package/dist/build/p-0a6b03d0.entry.js +0 -2
  568. package/dist/build/p-0b6db18f.entry.js +0 -2
  569. package/dist/build/p-13b16981.entry.js +0 -2
  570. package/dist/build/p-13b16981.entry.js.map +0 -1
  571. package/dist/build/p-1da03a5e.js +0 -2
  572. package/dist/build/p-21d80bbe.entry.js +0 -2
  573. package/dist/build/p-28152f8e.entry.js +0 -2
  574. package/dist/build/p-427ef39b.entry.js +0 -2
  575. package/dist/build/p-57acc6a7.entry.js +0 -2
  576. package/dist/build/p-635f36c7.entry.js +0 -2
  577. package/dist/build/p-68b2471e.entry.js +0 -2
  578. package/dist/build/p-70de0ecc.entry.js +0 -2
  579. package/dist/build/p-73bfb4b5.entry.js +0 -2
  580. package/dist/build/p-861e6352.entry.js +0 -2
  581. package/dist/build/p-861e6352.entry.js.map +0 -1
  582. package/dist/build/p-9d23879b.entry.js +0 -2
  583. package/dist/build/p-9d23879b.entry.js.map +0 -1
  584. package/dist/build/p-c2721d00.entry.js +0 -2
  585. package/dist/build/p-d0ba9cdd.entry.js +0 -2
  586. package/dist/build/p-d6e8bf36.entry.js +0 -2
  587. package/dist/build/p-e2ee74a9.entry.js +0 -2
  588. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.css +0 -1
  589. package/dist/collection/components/deprecated/atoms/stepper/item/stepper-item.component.js.map +0 -1
  590. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.css +0 -1
  591. package/dist/collection/components/deprecated/atoms/stepper/line/stepper-line.component.js.map +0 -1
  592. package/dist/collection/components/deprecated/molecules/stepper/stepper.component.css +0 -1
  593. package/dist/collection/components/deprecated/molecules/stepper/stepper.component.js.map +0 -1
  594. package/dist/components/p-nfMD63_1.js +0 -45
  595. package/dist/components/p-nfMD63_1.js.map +0 -1
  596. package/dist/paperless/p-0a6b03d0.entry.js +0 -2
  597. package/dist/paperless/p-0b6db18f.entry.js +0 -2
  598. package/dist/paperless/p-13b16981.entry.js +0 -2
  599. package/dist/paperless/p-13b16981.entry.js.map +0 -1
  600. package/dist/paperless/p-21d80bbe.entry.js +0 -2
  601. package/dist/paperless/p-28152f8e.entry.js +0 -2
  602. package/dist/paperless/p-427ef39b.entry.js +0 -2
  603. package/dist/paperless/p-57acc6a7.entry.js +0 -2
  604. package/dist/paperless/p-635f36c7.entry.js +0 -2
  605. package/dist/paperless/p-68b2471e.entry.js +0 -2
  606. package/dist/paperless/p-70de0ecc.entry.js +0 -2
  607. package/dist/paperless/p-73bfb4b5.entry.js +0 -2
  608. package/dist/paperless/p-861e6352.entry.js +0 -2
  609. package/dist/paperless/p-861e6352.entry.js.map +0 -1
  610. package/dist/paperless/p-9d23879b.entry.js +0 -2
  611. package/dist/paperless/p-9d23879b.entry.js.map +0 -1
  612. package/dist/paperless/p-c2721d00.entry.js +0 -2
  613. package/dist/paperless/p-d0ba9cdd.entry.js +0 -2
  614. package/dist/paperless/p-d6e8bf36.entry.js +0 -2
  615. package/dist/paperless/p-e2ee74a9.entry.js +0 -2
  616. /package/dist/build/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
  617. /package/dist/build/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
  618. /package/dist/build/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
  619. /package/dist/build/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
  620. /package/dist/build/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
  621. /package/dist/build/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
  622. /package/dist/build/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
  623. /package/dist/build/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
  624. /package/dist/build/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
  625. /package/dist/build/{p-acc528bf.entry.js.map → p-5667f8bf.entry.js.map} +0 -0
  626. /package/dist/build/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
  627. /package/dist/build/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
  628. /package/dist/build/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
  629. /package/dist/build/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
  630. /package/dist/build/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
  631. /package/dist/build/{p-51b09be2.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
  632. /package/dist/build/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
  633. /package/dist/build/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
  634. /package/dist/build/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
  635. /package/dist/build/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
  636. /package/dist/build/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
  637. /package/dist/build/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
  638. /package/dist/build/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
  639. /package/dist/build/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
  640. /package/dist/build/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
  641. /package/dist/build/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-456a3099.entry.js.map → p-05791ffa.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-899f7d36.entry.js.map → p-0a0ef10d.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-9ef541e4.entry.js.map → p-0ffe0165.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-7b7366dc.entry.js.map → p-1bde15ae.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-0dc168c5.entry.js.map → p-26b75731.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-5dcdb2d0.entry.js.map → p-41949138.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-26491670.entry.js.map → p-476985ba.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-70de0ecc.entry.js.map → p-4c6e5337.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-0a6b03d0.entry.js.map → p-505650b6.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-acc528bf.entry.js.map → p-5667f8bf.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-4fb83e8d.entry.js.map → p-6620dc05.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-f4c0923b.entry.js.map → p-697c465d.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-58efc94c.entry.js.map → p-6cddddb7.entry.js.map} +0 -0
  655. /package/dist/paperless/{p-a8f60c0c.entry.js.map → p-7c7e6f26.entry.js.map} +0 -0
  656. /package/dist/paperless/{p-0b6db18f.entry.js.map → p-929b47c9.entry.js.map} +0 -0
  657. /package/dist/paperless/{p-51b09be2.entry.js.map → p-96cb3e48.entry.js.map} +0 -0
  658. /package/dist/paperless/{p-c7c3d389.entry.js.map → p-9da1d488.entry.js.map} +0 -0
  659. /package/dist/paperless/{p-d5cba5af.entry.js.map → p-a3da31c4.entry.js.map} +0 -0
  660. /package/dist/paperless/{p-d3102227.entry.js.map → p-adfddeb6.entry.js.map} +0 -0
  661. /package/dist/paperless/{p-e2ee74a9.entry.js.map → p-bce08b0e.entry.js.map} +0 -0
  662. /package/dist/paperless/{p-c585d909.entry.js.map → p-c9c0ae8d.entry.js.map} +0 -0
  663. /package/dist/paperless/{p-0a6e3e6f.entry.js.map → p-d37e0e66.entry.js.map} +0 -0
  664. /package/dist/paperless/{p-f9efc1e5.entry.js.map → p-d894e0b1.entry.js.map} +0 -0
  665. /package/dist/paperless/{p-222abd40.entry.js.map → p-df7f9328.entry.js.map} +0 -0
  666. /package/dist/paperless/{p-b8797794.entry.js.map → p-e63adc0d.entry.js.map} +0 -0
  667. /package/dist/paperless/{p-d6e8bf36.entry.js.map → p-ed2e7409.entry.js.map} +0 -0
  668. /package/dist/types/components/{deprecated/atoms → atoms}/stepper/line/stepper-line.component.d.ts +0 -0
@@ -1,3 +1,3 @@
1
1
  import{r as t,c as s,h as i,H as e}from"./p-DhGo7hbh.js";import{c as n}from"./p-ChV9xqsO.js";const h=typeof window!=="undefined"&&typeof window.document!=="undefined";const o=h?window:{};const r=h?"ontouchstart"in o.document.documentElement:false;const a=h?"PointerEvent"in o:false;const c="cropper";const l=`${c}-canvas`;const f=`${c}-crosshair`;const u=`${c}-grid`;const d=`${c}-handle`;const p=`${c}-image`;const b=`${c}-selection`;const m=`${c}-shade`;const g=`${c}-viewer`;const w="select";const v="move";const $="scale";const k="rotate";const y="transform";const x="none";const z="n-resize";const M="e-resize";const C="s-resize";const A="w-resize";const j="ne-resize";const O="nw-resize";const S="se-resize";const T="sw-resize";const E="action";const I=r?"touchend touchcancel":"mouseup";const N=r?"touchmove":"mousemove";const _=r?"touchstart":"mousedown";const R=a?"pointerdown":_;const X=a?"pointermove":N;const Y=a?"pointerup pointercancel":I;const P="error";const W="keydown";const D="load";const L="wheel";const H="action";const U="actionend";const B="actionmove";const F="actionstart";const q="change";const G="transform";function K(t){return typeof t==="string"}const V=Number.isNaN||o.isNaN;function Z(t){return typeof t==="number"&&!V(t)}function J(t){return Z(t)&&t>0&&t<Infinity}function Q(t){return typeof t==="undefined"}function tt(t){return typeof t==="object"&&t!==null}const{hasOwnProperty:st}=Object.prototype;function it(t){if(!tt(t)){return false}try{const{constructor:s}=t;const{prototype:i}=s;return s&&i&&st.call(i,"isPrototypeOf")}catch(t){return false}}function et(t){return typeof t==="function"}function nt(t){return typeof t==="object"&&t!==null&&t.nodeType===1}const ht=/([a-z\d])([A-Z])/g;function ot(t){return String(t).replace(ht,"$1-$2").toLowerCase()}const rt=/-[A-z\d]/g;function at(t){return t.replace(rt,(t=>t.slice(1).toUpperCase()))}const ct=/\s\s*/;function lt(t,s,i,e){s.trim().split(ct).forEach((s=>{t.removeEventListener(s,i,e)}))}function ft(t,s,i,e){s.trim().split(ct).forEach((s=>{t.addEventListener(s,i,e)}))}function ut(t,s,i,e){ft(t,s,i,Object.assign(Object.assign({},e),{once:true}))}const dt={bubbles:true,cancelable:true,composed:true};function pt(t,s,i,e){return t.dispatchEvent(new CustomEvent(s,Object.assign(Object.assign(Object.assign({},dt),{detail:i}),e)))}const bt=Promise.resolve();function mt(t,s){return s?bt.then(t?s.bind(t):s):bt}function gt(t){const{documentElement:s}=t.ownerDocument;const i=t.getBoundingClientRect();return{left:i.left+(o.pageXOffset-s.clientLeft),top:i.top+(o.pageYOffset-s.clientTop)}}const wt=/deg|g?rad|turn$/i;function vt(t){const s=parseFloat(t)||0;if(s!==0){const[i="rad"]=String(t).match(wt)||[];switch(i.toLowerCase()){case"deg":return s/360*(Math.PI*2);case"grad":return s/400*(Math.PI*2);case"turn":return s*(Math.PI*2)}}return s}const $t="contain";const kt="cover";function yt(t,s=$t){const{aspectRatio:i}=t;let{width:e,height:n}=t;const h=J(e);const o=J(n);if(h&&o){const t=n*i;if(s===$t&&t>e||s===kt&&t<e){n=e/i}else{e=n*i}}else if(h){n=e/i}else if(o){e=n*i}return{width:e,height:n}}function xt(t,...s){if(s.length===0){return t}const[i,e,n,h,o,r]=t;const[a,c,l,f,u,d]=s[0];t=[i*a+n*c,e*a+h*c,i*l+n*f,e*l+h*f,i*u+n*d+o,e*u+h*d+r];return xt(t,...s.slice(1))}var zt=`:host([hidden]){display:none!important}`;const Mt=/left|top|width|height/i;const Ct="open";const At=new WeakMap;const jt=new WeakMap;const Ot=new Map;const St=o.document&&Array.isArray(o.document.adoptedStyleSheets)&&"replaceSync"in o.CSSStyleSheet.prototype;class Tt extends HTMLElement{get $sharedStyle(){return`${this.themeColor?`:host{--theme-color: ${this.themeColor};}`:""}${zt}`}constructor(){var t,s;super();this.shadowRootMode=Ct;this.slottable=true;const i=(s=(t=Object.getPrototypeOf(this))===null||t===void 0?void 0:t.constructor)===null||s===void 0?void 0:s.$name;if(i){Ot.set(i,this.tagName.toLowerCase())}}static get observedAttributes(){return["shadow-root-mode","slottable","theme-color"]}attributeChangedCallback(t,s,i){if(Object.is(i,s)){return}const e=at(t);const n=this[e];let h=i;switch(typeof n){case"boolean":h=i!==null&&i!=="false";break;case"number":h=Number(i);break}this[e]=h;switch(t){case"theme-color":{const t=jt.get(this);const s=this.$sharedStyle;if(t&&s){if(St){t.replaceSync(s)}else{t.textContent=s}}break}}}$propertyChangedCallback(t,s,i){if(Object.is(i,s)){return}t=ot(t);switch(typeof i){case"boolean":if(i===true){if(!this.hasAttribute(t)){this.setAttribute(t,"")}}else{this.removeAttribute(t)}break;case"number":if(V(i)){i=""}else{i=String(i)}default:if(i){if(this.getAttribute(t)!==i){this.setAttribute(t,i)}}else{this.removeAttribute(t)}}}connectedCallback(){Object.getPrototypeOf(this).constructor.observedAttributes.forEach((t=>{const s=at(t);let i=this[s];if(!Q(i)){this.$propertyChangedCallback(s,undefined,i)}Object.defineProperty(this,s,{enumerable:true,configurable:true,get(){return i},set(t){const e=i;i=t;this.$propertyChangedCallback(s,e,t)}})}));const t=this.attachShadow({mode:this.shadowRootMode||Ct});if(!this.shadowRoot){At.set(this,t)}jt.set(this,this.$addStyles(this.$sharedStyle));if(this.$style){this.$addStyles(this.$style)}if(this.$template){const s=document.createElement("template");s.innerHTML=this.$template;t.appendChild(s.content)}if(this.slottable){const s=document.createElement("slot");t.appendChild(s)}}disconnectedCallback(){if(jt.has(this)){jt.delete(this)}if(At.has(this)){At.delete(this)}}$getTagNameOf(t){var s;return(s=Ot.get(t))!==null&&s!==void 0?s:t}$setStyles(t){Object.keys(t).forEach((s=>{let i=t[s];if(Z(i)){if(i!==0&&Mt.test(s)){i=`${i}px`}else{i=String(i)}}this.style[s]=i}));return this}$getShadowRoot(){return this.shadowRoot||At.get(this)}$addStyles(t){let s;const i=this.$getShadowRoot();if(St){s=new CSSStyleSheet;s.replaceSync(t);i.adoptedStyleSheets=i.adoptedStyleSheets.concat(s)}else{s=document.createElement("style");s.textContent=t;i.appendChild(s)}return s}$emit(t,s,i){return pt(this,t,s,i)}$nextTick(t){return mt(this,t)}static $define(t,s){if(tt(t)){s=t;t=""}if(!t){t=this.$name||this.name}t=ot(t);if(h&&o.customElements&&!o.customElements.get(t)){customElements.define(t,this,s)}}}Tt.$version="2.0.0";var Et=`:host{display:block;min-height:100px;min-width:200px;overflow:hidden;position:relative;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([background]){background-color:#fff;background-image:repeating-linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc),repeating-linear-gradient(45deg,#ccc 25%,transparent 0,transparent 75%,#ccc 0,#ccc);background-image:repeating-conic-gradient(#ccc 0 25%,#fff 0 50%);background-position:0 0,.5rem .5rem;background-size:1rem 1rem}:host([disabled]){pointer-events:none}:host([disabled]):after{bottom:0;content:"";cursor:not-allowed;display:block;left:0;pointer-events:none;position:absolute;right:0;top:0}`;class It extends Tt{constructor(){super(...arguments);this.$onPointerDown=null;this.$onPointerMove=null;this.$onPointerUp=null;this.$onWheel=null;this.$wheeling=false;this.$pointers=new Map;this.$style=Et;this.$action=x;this.background=false;this.disabled=false;this.scaleStep=.1;this.themeColor="#39f"}static get observedAttributes(){return super.observedAttributes.concat(["background","disabled","scale-step"])}connectedCallback(){super.connectedCallback();if(!this.disabled){this.$bind()}}disconnectedCallback(){if(!this.disabled){this.$unbind()}super.disconnectedCallback()}$propertyChangedCallback(t,s,i){if(Object.is(i,s)){return}super.$propertyChangedCallback(t,s,i);switch(t){case"disabled":if(i){this.$unbind()}else{this.$bind()}break}}$bind(){if(!this.$onPointerDown){this.$onPointerDown=this.$handlePointerDown.bind(this);ft(this,R,this.$onPointerDown)}if(!this.$onPointerMove){this.$onPointerMove=this.$handlePointerMove.bind(this);ft(this.ownerDocument,X,this.$onPointerMove)}if(!this.$onPointerUp){this.$onPointerUp=this.$handlePointerUp.bind(this);ft(this.ownerDocument,Y,this.$onPointerUp)}if(!this.$onWheel){this.$onWheel=this.$handleWheel.bind(this);ft(this,L,this.$onWheel,{passive:false,capture:true})}}$unbind(){if(this.$onPointerDown){lt(this,R,this.$onPointerDown);this.$onPointerDown=null}if(this.$onPointerMove){lt(this.ownerDocument,X,this.$onPointerMove);this.$onPointerMove=null}if(this.$onPointerUp){lt(this.ownerDocument,Y,this.$onPointerUp);this.$onPointerUp=null}if(this.$onWheel){lt(this,L,this.$onWheel,{capture:true});this.$onWheel=null}}$handlePointerDown(t){const{buttons:s,button:i,type:e}=t;if(this.disabled||(e==="pointerdown"&&t.pointerType==="mouse"||e==="mousedown")&&(Z(s)&&s!==1||Z(i)&&i!==0||t.ctrlKey)){return}const{$pointers:n}=this;let h="";if(t.changedTouches){Array.from(t.changedTouches).forEach((({identifier:t,pageX:s,pageY:i})=>{n.set(t,{startX:s,startY:i,endX:s,endY:i})}))}else{const{pointerId:s=0,pageX:i,pageY:e}=t;n.set(s,{startX:i,startY:e,endX:i,endY:e})}if(n.size>1){h=y}else if(nt(t.target)){h=t.target.action||t.target.getAttribute(E)||""}if(this.$emit(F,{action:h,relatedEvent:t})===false){return}t.preventDefault();this.$action=h;this.style.willChange="transform"}$handlePointerMove(t){const{$action:s,$pointers:i}=this;if(this.disabled||s===x||i.size===0){return}if(this.$emit(B,{action:s,relatedEvent:t})===false){return}t.preventDefault();if(t.changedTouches){Array.from(t.changedTouches).forEach((({identifier:t,pageX:s,pageY:e})=>{const n=i.get(t);if(n){Object.assign(n,{endX:s,endY:e})}}))}else{const{pointerId:s=0,pageX:e,pageY:n}=t;const h=i.get(s);if(h){Object.assign(h,{endX:e,endY:n})}}const e={action:s,relatedEvent:t};if(s===y){const s=new Map(i);let n=0;let h=0;let o=0;let r=0;let a=t.pageX;let c=t.pageY;i.forEach(((t,i)=>{s.delete(i);s.forEach((s=>{let i=s.startX-t.startX;let e=s.startY-t.startY;let l=s.endX-t.endX;let f=s.endY-t.endY;let u=0;let d=0;let p=0;let b=0;if(i===0){if(e<0){p=Math.PI*2}else if(e>0){p=Math.PI}}else if(i>0){p=Math.PI/2+Math.atan(e/i)}else if(i<0){p=Math.PI*1.5+Math.atan(e/i)}if(l===0){if(f<0){b=Math.PI*2}else if(f>0){b=Math.PI}}else if(l>0){b=Math.PI/2+Math.atan(f/l)}else if(l<0){b=Math.PI*1.5+Math.atan(f/l)}if(b>0||p>0){const i=b-p;const e=Math.abs(i);if(e>n){n=e;o=i;a=(t.startX+s.startX)/2;c=(t.startY+s.startY)/2}}i=Math.abs(i);e=Math.abs(e);l=Math.abs(l);f=Math.abs(f);if(i>0&&e>0){u=Math.sqrt(i*i+e*e)}else if(i>0){u=i}else if(e>0){u=e}if(l>0&&f>0){d=Math.sqrt(l*l+f*f)}else if(l>0){d=l}else if(f>0){d=f}if(u>0&&d>0){const i=(d-u)/u;const e=Math.abs(i);if(e>h){h=e;r=i;a=(t.startX+s.startX)/2;c=(t.startY+s.startY)/2}}}))}));const l=n>0;const f=h>0;if(l&&f){e.rotate=o;e.scale=r;e.centerX=a;e.centerY=c}else if(l){e.action=k;e.rotate=o;e.centerX=a;e.centerY=c}else if(f){e.action=$;e.scale=r;e.centerX=a;e.centerY=c}else{e.action=x}}else{const[t]=Array.from(i.values());Object.assign(e,t)}i.forEach((t=>{t.startX=t.endX;t.startY=t.endY}));if(e.action!==x){this.$emit(H,e,{cancelable:false})}}$handlePointerUp(t){const{$action:s,$pointers:i}=this;if(this.disabled||s===x){return}if(this.$emit(U,{action:s,relatedEvent:t})===false){return}t.preventDefault();if(t.changedTouches){Array.from(t.changedTouches).forEach((({identifier:t})=>{i.delete(t)}))}else{const{pointerId:s=0}=t;i.delete(s)}if(i.size===0){this.style.willChange="";this.$action=x}}$handleWheel(t){if(this.disabled){return}t.preventDefault();if(this.$wheeling){return}this.$wheeling=true;setTimeout((()=>{this.$wheeling=false}),50);const s=t.deltaY>0?-1:1;const i=s*this.scaleStep;this.$emit(H,{action:$,scale:i,relatedEvent:t},{cancelable:false})}$setAction(t){if(K(t)){this.$action=t}return this}$toCanvas(t){return new Promise(((s,i)=>{if(!this.isConnected){i(new Error("The current element is not connected to the DOM."));return}const e=document.createElement("canvas");let n=this.offsetWidth;let h=this.offsetHeight;let o=1;if(it(t)&&(J(t.width)||J(t.height))){({width:n,height:h}=yt({aspectRatio:n/h,width:t.width,height:t.height}));o=n/this.offsetWidth}e.width=n;e.height=h;const r=this.querySelector(this.$getTagNameOf(p));if(!r){s(e);return}r.$ready().then((i=>{const a=e.getContext("2d");if(a){const[s,c,l,f,u,d]=r.$getTransform();let p=u;let b=d;let m=i.naturalWidth;let g=i.naturalHeight;if(o!==1){p*=o;b*=o;m*=o;g*=o}const w=m/2;const v=g/2;a.fillStyle="transparent";a.fillRect(0,0,n,h);if(it(t)&&et(t.beforeDraw)){t.beforeDraw.call(this,a,e)}a.save();a.translate(w,v);a.transform(s,c,l,f,p,b);a.translate(-w,-v);a.drawImage(i,0,0,m,g);a.restore()}s(e)})).catch(i)}))}}It.$name=l;It.$version="2.0.0";var Nt=`:host{display:inline-block}img{display:block;height:100%;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}`;const _t=new WeakMap;const Rt=["alt","crossorigin","decoding","importance","loading","referrerpolicy","sizes","src","srcset"];class Xt extends Tt{constructor(){super(...arguments);this.$matrix=[1,0,0,1,0,0];this.$onLoad=null;this.$onCanvasAction=null;this.$onCanvasActionEnd=null;this.$onCanvasActionStart=null;this.$actionStartTarget=null;this.$style=Nt;this.$image=new Image;this.initialCenterSize="contain";this.rotatable=false;this.scalable=false;this.skewable=false;this.slottable=false;this.translatable=false}set $canvas(t){_t.set(this,t)}get $canvas(){return _t.get(this)}static get observedAttributes(){return super.observedAttributes.concat(Rt,["initial-center-size","rotatable","scalable","skewable","translatable"])}attributeChangedCallback(t,s,i){if(Object.is(i,s)){return}super.attributeChangedCallback(t,s,i);if(Rt.includes(t)){this.$image.setAttribute(t,i)}}$propertyChangedCallback(t,s,i){if(Object.is(i,s)){return}super.$propertyChangedCallback(t,s,i);switch(t){case"initialCenterSize":this.$nextTick((()=>{this.$center(i)}));break}}connectedCallback(){super.connectedCallback();const{$image:t}=this;const s=this.closest(this.$getTagNameOf(l));if(s){this.$canvas=s;this.$setStyles({display:"block",position:"absolute"});this.$onCanvasActionStart=t=>{var s,i;this.$actionStartTarget=(i=(s=t.detail)===null||s===void 0?void 0:s.relatedEvent)===null||i===void 0?void 0:i.target};this.$onCanvasActionEnd=()=>{this.$actionStartTarget=null};this.$onCanvasAction=this.$handleAction.bind(this);ft(s,F,this.$onCanvasActionStart);ft(s,U,this.$onCanvasActionEnd);ft(s,H,this.$onCanvasAction)}this.$onLoad=this.$handleLoad.bind(this);ft(t,D,this.$onLoad);this.$getShadowRoot().appendChild(t)}disconnectedCallback(){const{$image:t,$canvas:s}=this;if(s){if(this.$onCanvasActionStart){lt(s,F,this.$onCanvasActionStart);this.$onCanvasActionStart=null}if(this.$onCanvasActionEnd){lt(s,U,this.$onCanvasActionEnd);this.$onCanvasActionEnd=null}if(this.$onCanvasAction){lt(s,H,this.$onCanvasAction);this.$onCanvasAction=null}}if(t&&this.$onLoad){lt(t,D,this.$onLoad);this.$onLoad=null}this.$getShadowRoot().removeChild(t);super.disconnectedCallback()}$handleLoad(){const{$image:t}=this;this.$setStyles({width:t.naturalWidth,height:t.naturalHeight});if(this.$canvas){this.$center(this.initialCenterSize)}}$handleAction(t){if(this.hidden||!(this.rotatable||this.scalable||this.translatable)){return}const{$canvas:s}=this;const{detail:i}=t;if(i){const{relatedEvent:t}=i;let{action:e}=i;if(e===y&&(!this.rotatable||!this.scalable)){if(this.rotatable){e=k}else if(this.scalable){e=$}else{e=x}}switch(e){case v:if(this.translatable){let e=null;if(t){e=t.target.closest(this.$getTagNameOf(b))}if(!e){e=s.querySelector(this.$getTagNameOf(b))}if(e&&e.multiple&&!e.active){e=s.querySelector(`${this.$getTagNameOf(b)}[active]`)}if(!e||e.hidden||!e.movable||e.dynamic||!(this.$actionStartTarget&&e.contains(this.$actionStartTarget))){this.$move(i.endX-i.startX,i.endY-i.startY)}}break;case k:if(this.rotatable){if(t){const{x:s,y:e}=this.getBoundingClientRect();this.$rotate(i.rotate,t.clientX-s,t.clientY-e)}else{this.$rotate(i.rotate)}}break;case $:if(this.scalable){if(t){const s=t.target.closest(this.$getTagNameOf(b));if(!s||!s.zoomable||s.zoomable&&s.dynamic){const{x:s,y:e}=this.getBoundingClientRect();this.$zoom(i.scale,t.clientX-s,t.clientY-e)}}else{this.$zoom(i.scale)}}break;case y:if(this.rotatable&&this.scalable){const{rotate:s}=i;let{scale:e}=i;if(e<0){e=1/(1-e)}else{e+=1}const n=Math.cos(s);const h=Math.sin(s);const[o,r,a,c]=[n*e,h*e,-h*e,n*e];if(t){const s=this.getBoundingClientRect();const i=t.clientX-s.x;const e=t.clientY-s.y;const[n,h,l,f]=this.$matrix;const u=s.width/2;const d=s.height/2;const p=i-u;const b=e-d;const m=(p*f-l*b)/(n*f-l*h);const g=(b*n-h*p)/(n*f-l*h);this.$transform(o,r,a,c,m*(1-o)+g*a,g*(1-c)+m*r)}else{this.$transform(o,r,a,c,0,0)}}break}}}$ready(t){const{$image:s}=this;const i=new Promise(((t,i)=>{const e=new Error("Failed to load the image source");if(s.complete){if(s.naturalWidth>0&&s.naturalHeight>0){t(s)}else{i(e)}}else{const n=()=>{lt(s,P,h);t(s)};const h=()=>{lt(s,D,n);i(e)};ut(s,D,n);ut(s,P,h)}}));if(et(t)){i.then((s=>{t(s);return s}))}return i}$center(t){const{parentElement:s}=this;if(!s){return this}const i=s.getBoundingClientRect();const e=i.width;const n=i.height;const{x:h,y:o,width:r,height:a}=this.getBoundingClientRect();const c=h+r/2;const l=o+a/2;const f=i.x+e/2;const u=i.y+n/2;this.$move(f-c,u-l);if(t&&(r!==e||a!==n)){const s=e/r;const i=n/a;switch(t){case"cover":this.$scale(Math.max(s,i));break;case"contain":this.$scale(Math.min(s,i));break}}return this}$move(t,s=t){if(this.translatable&&Z(t)&&Z(s)){const[i,e,n,h]=this.$matrix;const o=(t*h-n*s)/(i*h-n*e);const r=(s*i-e*t)/(i*h-n*e);this.$translate(o,r)}return this}$moveTo(t,s=t){if(this.translatable&&Z(t)&&Z(s)){const[i,e,n,h]=this.$matrix;const o=(t*h-n*s)/(i*h-n*e);const r=(s*i-e*t)/(i*h-n*e);this.$setTransform(i,e,n,h,o,r)}return this}$rotate(t,s,i){if(this.rotatable){const e=vt(t);const n=Math.cos(e);const h=Math.sin(e);const[o,r,a,c]=[n,h,-h,n];if(Z(s)&&Z(i)){const[t,e,n,h]=this.$matrix;const{width:l,height:f}=this.getBoundingClientRect();const u=l/2;const d=f/2;const p=s-u;const b=i-d;const m=(p*h-n*b)/(t*h-n*e);const g=(b*t-e*p)/(t*h-n*e);this.$transform(o,r,a,c,m*(1-o)-g*a,g*(1-c)-m*r)}else{this.$transform(o,r,a,c,0,0)}}return this}$zoom(t,s,i){if(!this.scalable||t===0){return this}if(t<0){t=1/(1-t)}else{t+=1}if(Z(s)&&Z(i)){const[e,n,h,o]=this.$matrix;const{width:r,height:a}=this.getBoundingClientRect();const c=r/2;const l=a/2;const f=s-c;const u=i-l;const d=(f*o-h*u)/(e*o-h*n);const p=(u*e-n*f)/(e*o-h*n);this.$transform(t,0,0,t,d*(1-t),p*(1-t))}else{this.$scale(t)}return this}$scale(t,s=t){if(this.scalable){this.$transform(t,0,0,s,0,0)}return this}$skew(t,s=0){if(this.skewable){const i=vt(t);const e=vt(s);this.$transform(1,Math.tan(e),Math.tan(i),1,0,0)}return this}$translate(t,s=t){if(this.translatable&&Z(t)&&Z(s)){this.$transform(1,0,0,1,t,s)}return this}$transform(t,s,i,e,n,h){if(Z(t)&&Z(s)&&Z(i)&&Z(e)&&Z(n)&&Z(h)){return this.$setTransform(xt(this.$matrix,[t,s,i,e,n,h]))}return this}$setTransform(t,s,i,e,n,h){if(this.rotatable||this.scalable||this.skewable||this.translatable){if(Array.isArray(t)){[t,s,i,e,n,h]=t}if(Z(t)&&Z(s)&&Z(i)&&Z(e)&&Z(n)&&Z(h)){const o=[...this.$matrix];const r=[t,s,i,e,n,h];if(this.$emit(G,{matrix:r,oldMatrix:o})===false){return this}this.$matrix=r;this.style.transform=`matrix(${r.join(", ")})`}}return this}$getTransform(){return this.$matrix.slice()}$resetTransform(){return this.$setTransform([1,0,0,1,0,0])}}Xt.$name=p;Xt.$version="2.0.0";var Yt=`:host{display:block;height:0;left:0;outline:var(--theme-color) solid 1px;position:relative;top:0;width:0}:host([transparent]){outline-color:transparent}`;const Pt=new WeakMap;class Wt extends Tt{constructor(){super(...arguments);this.$onCanvasChange=null;this.$onCanvasActionEnd=null;this.$onCanvasActionStart=null;this.$style=Yt;this.x=0;this.y=0;this.width=0;this.height=0;this.slottable=false;this.themeColor="rgba(0, 0, 0, 0.65)"}set $canvas(t){Pt.set(this,t)}get $canvas(){return Pt.get(this)}static get observedAttributes(){return super.observedAttributes.concat(["height","width","x","y"])}connectedCallback(){super.connectedCallback();const t=this.closest(this.$getTagNameOf(l));if(t){this.$canvas=t;this.style.position="absolute";const s=t.querySelector(this.$getTagNameOf(b));if(s){this.$onCanvasActionStart=t=>{if(s.hidden&&t.detail.action===w){this.hidden=false}};this.$onCanvasActionEnd=t=>{if(s.hidden&&t.detail.action===w){this.hidden=true}};this.$onCanvasChange=t=>{const{x:i,y:e,width:n,height:h}=t.detail;this.$change(i,e,n,h);if(s.hidden||i===0&&e===0&&n===0&&h===0){this.hidden=true}};ft(t,F,this.$onCanvasActionStart);ft(t,U,this.$onCanvasActionEnd);ft(t,q,this.$onCanvasChange)}}this.$render()}disconnectedCallback(){const{$canvas:t}=this;if(t){if(this.$onCanvasActionStart){lt(t,F,this.$onCanvasActionStart);this.$onCanvasActionStart=null}if(this.$onCanvasActionEnd){lt(t,U,this.$onCanvasActionEnd);this.$onCanvasActionEnd=null}if(this.$onCanvasChange){lt(t,q,this.$onCanvasChange);this.$onCanvasChange=null}}super.disconnectedCallback()}$change(t,s,i=this.width,e=this.height){if(!Z(t)||!Z(s)||!Z(i)||!Z(e)||t===this.x&&s===this.y&&i===this.width&&e===this.height){return this}if(this.hidden){this.hidden=false}this.x=t;this.y=s;this.width=i;this.height=e;return this.$render()}$reset(){return this.$change(0,0,0,0)}$render(){return this.$setStyles({transform:`translate(${this.x}px, ${this.y}px)`,width:this.width,height:this.height,outlineWidth:o.innerWidth})}}Wt.$name=m;Wt.$version="2.0.0";var Dt=`:host{background-color:var(--theme-color);display:block}:host([action=move]),:host([action=select]){height:100%;left:0;position:absolute;top:0;width:100%}:host([action=move]){cursor:move}:host([action=select]){cursor:crosshair}:host([action$=-resize]){background-color:transparent;height:15px;position:absolute;width:15px}:host([action$=-resize]):after{background-color:var(--theme-color);content:"";display:block;height:5px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:5px}:host([action=n-resize]),:host([action=s-resize]){cursor:ns-resize;left:50%;transform:translateX(-50%);width:100%}:host([action=n-resize]){top:-8px}:host([action=s-resize]){bottom:-8px}:host([action=e-resize]),:host([action=w-resize]){cursor:ew-resize;height:100%;top:50%;transform:translateY(-50%)}:host([action=e-resize]){right:-8px}:host([action=w-resize]){left:-8px}:host([action=ne-resize]){cursor:nesw-resize;right:-8px;top:-8px}:host([action=nw-resize]){cursor:nwse-resize;left:-8px;top:-8px}:host([action=se-resize]){bottom:-8px;cursor:nwse-resize;right:-8px}:host([action=se-resize]):after{height:15px;width:15px}@media (pointer:coarse){:host([action=se-resize]):after{height:10px;width:10px}}@media (pointer:fine){:host([action=se-resize]):after{height:5px;width:5px}}:host([action=sw-resize]){bottom:-8px;cursor:nesw-resize;left:-8px}:host([plain]){background-color:transparent}`;class Lt extends Tt{constructor(){super(...arguments);this.$onCanvasCropEnd=null;this.$onCanvasCropStart=null;this.$style=Dt;this.action=x;this.plain=false;this.slottable=false;this.themeColor="rgba(51, 153, 255, 0.5)"}static get observedAttributes(){return super.observedAttributes.concat(["action","plain"])}}Lt.$name=d;Lt.$version="2.0.0";var Ht=`:host{display:block;left:0;position:relative;right:0}:host([outlined]){outline:1px solid var(--theme-color)}:host([multiple]){outline:1px dashed hsla(0,0%,100%,.5)}:host([multiple]):after{bottom:0;content:"";cursor:pointer;display:block;left:0;position:absolute;right:0;top:0}:host([multiple][active]){outline-color:var(--theme-color);z-index:1}:host([multiple])>*{visibility:hidden}:host([multiple][active])>*{visibility:visible}:host([multiple][active]):after{display:none}`;const Ut=new WeakMap;class Bt extends Tt{constructor(){super(...arguments);this.$onCanvasAction=null;this.$onCanvasActionStart=null;this.$onCanvasActionEnd=null;this.$onDocumentKeyDown=null;this.$action="";this.$actionStartTarget=null;this.$changing=false;this.$style=Ht;this.$initialSelection={x:0,y:0,width:0,height:0};this.x=0;this.y=0;this.width=0;this.height=0;this.aspectRatio=NaN;this.initialAspectRatio=NaN;this.initialCoverage=NaN;this.active=false;this.linked=false;this.dynamic=false;this.movable=false;this.resizable=false;this.zoomable=false;this.multiple=false;this.keyboard=false;this.outlined=false;this.precise=false}set $canvas(t){Ut.set(this,t)}get $canvas(){return Ut.get(this)}static get observedAttributes(){return super.observedAttributes.concat(["active","aspect-ratio","dynamic","height","initial-aspect-ratio","initial-coverage","keyboard","linked","movable","multiple","outlined","precise","resizable","width","x","y","zoomable"])}$propertyChangedCallback(t,s,i){if(Object.is(i,s)){return}super.$propertyChangedCallback(t,s,i);switch(t){case"x":case"y":case"width":case"height":if(!this.$changing){this.$nextTick((()=>{this.$change(this.x,this.y,this.width,this.height,this.aspectRatio,true)}))}break;case"aspectRatio":case"initialAspectRatio":this.$nextTick((()=>{this.$initSelection()}));break;case"initialCoverage":this.$nextTick((()=>{if(J(i)&&i<=1){this.$initSelection(true,true)}}));break;case"keyboard":this.$nextTick((()=>{if(this.$canvas){if(i){if(!this.$onDocumentKeyDown){this.$onDocumentKeyDown=this.$handleKeyDown.bind(this);ft(this.ownerDocument,W,this.$onDocumentKeyDown)}}else if(this.$onDocumentKeyDown){lt(this.ownerDocument,W,this.$onDocumentKeyDown);this.$onDocumentKeyDown=null}}}));break;case"multiple":this.$nextTick((()=>{if(this.$canvas){const t=this.$getSelections();if(i){t.forEach((t=>{t.active=false}));this.active=true;this.$emit(q,{x:this.x,y:this.y,width:this.width,height:this.height})}else{this.active=false;t.slice(1).forEach((t=>{this.$removeSelection(t)}))}}}));break;case"precise":this.$nextTick((()=>{this.$change(this.x,this.y)}));break;case"linked":if(i){this.dynamic=true}break}}connectedCallback(){super.connectedCallback();const t=this.closest(this.$getTagNameOf(l));if(t){this.$canvas=t;this.$setStyles({position:"absolute",transform:`translate(${this.x}px, ${this.y}px)`});if(!this.hidden){this.$render()}this.$initSelection(true);this.$onCanvasActionStart=this.$handleActionStart.bind(this);this.$onCanvasActionEnd=this.$handleActionEnd.bind(this);this.$onCanvasAction=this.$handleAction.bind(this);ft(t,F,this.$onCanvasActionStart);ft(t,U,this.$onCanvasActionEnd);ft(t,H,this.$onCanvasAction)}else{this.$render()}}disconnectedCallback(){const{$canvas:t}=this;if(t){if(this.$onCanvasActionStart){lt(t,F,this.$onCanvasActionStart);this.$onCanvasActionStart=null}if(this.$onCanvasActionEnd){lt(t,U,this.$onCanvasActionEnd);this.$onCanvasActionEnd=null}if(this.$onCanvasAction){lt(t,H,this.$onCanvasAction);this.$onCanvasAction=null}}super.disconnectedCallback()}$getSelections(){let t=[];if(this.parentElement){t=Array.from(this.parentElement.querySelectorAll(this.$getTagNameOf(b)))}return t}$initSelection(t=false,s=false){const{initialCoverage:i,parentElement:e}=this;if(J(i)&&e){const n=this.aspectRatio||this.initialAspectRatio;let h=(s?0:this.width)||e.offsetWidth*i;let o=(s?0:this.height)||e.offsetHeight*i;if(J(n)){({width:h,height:o}=yt({aspectRatio:n,width:h,height:o}))}this.$change(this.x,this.y,h,o);if(t){this.$center()}this.$initialSelection={x:this.x,y:this.y,width:this.width,height:this.height}}}$createSelection(){const t=this.cloneNode(true);if(this.hasAttribute("id")){t.removeAttribute("id")}t.initialCoverage=NaN;this.active=false;if(this.parentElement){this.parentElement.insertBefore(t,this.nextSibling)}return t}$removeSelection(t=this){if(this.parentElement){const s=this.$getSelections();if(s.length>1){const i=s.indexOf(t);const e=s[i+1]||s[i-1];if(e){t.active=false;this.parentElement.removeChild(t);e.active=true;e.$emit(q,{x:e.x,y:e.y,width:e.width,height:e.height})}}else{this.$clear()}}}$handleActionStart(t){var s,i;const e=(i=(s=t.detail)===null||s===void 0?void 0:s.relatedEvent)===null||i===void 0?void 0:i.target;this.$action="";this.$actionStartTarget=e;if(!this.hidden&&this.multiple&&!this.active&&e===this&&this.parentElement){this.$getSelections().forEach((t=>{t.active=false}));this.active=true;this.$emit(q,{x:this.x,y:this.y,width:this.width,height:this.height})}}$handleAction(t){const{currentTarget:s,detail:i}=t;if(!s||!i){return}const{relatedEvent:e}=i;let{action:n}=i;if(!n&&this.multiple){n=this.$action||(e===null||e===void 0?void 0:e.target.action);this.$action=n}if(!n||this.hidden&&n!==w||this.multiple&&!this.active&&n!==$){return}const h=i.endX-i.startX;const o=i.endY-i.startY;const{width:r,height:a}=this;let{aspectRatio:c}=this;if(!J(c)&&e.shiftKey){c=J(r)&&J(a)?r/a:1}switch(n){case w:if(h!==0&&o!==0){const{$canvas:t}=this;const e=gt(s);(this.multiple&&!this.hidden?this.$createSelection():this).$change(i.startX-e.left,i.startY-e.top,Math.abs(h),Math.abs(o),c);if(h<0){if(o<0){n=O}else if(o>0){n=T}}else if(h>0){if(o<0){n=j}else if(o>0){n=S}}if(t){t.$action=n}}break;case v:if(this.movable&&(this.dynamic||this.$actionStartTarget&&this.contains(this.$actionStartTarget))){this.$move(h,o)}break;case $:if(e&&this.zoomable&&(this.dynamic||this.contains(e.target))){const t=gt(s);this.$zoom(i.scale,e.pageX-t.left,e.pageY-t.top)}break;default:this.$resize(n,h,o,c)}}$handleActionEnd(){this.$action="";this.$actionStartTarget=null}$handleKeyDown(t){if(this.hidden||!this.keyboard||this.multiple&&!this.active||t.defaultPrevented){return}const{activeElement:s}=document;if(s&&(["INPUT","TEXTAREA"].includes(s.tagName)||["true","plaintext-only"].includes(s.contentEditable))){return}switch(t.key){case"Backspace":if(t.metaKey){t.preventDefault();this.$removeSelection()}break;case"Delete":t.preventDefault();this.$removeSelection();break;case"ArrowLeft":t.preventDefault();this.$move(-1,0);break;case"ArrowRight":t.preventDefault();this.$move(1,0);break;case"ArrowUp":t.preventDefault();this.$move(0,-1);break;case"ArrowDown":t.preventDefault();this.$move(0,1);break;case"+":t.preventDefault();this.$zoom(.1);break;case"-":t.preventDefault();this.$zoom(-.1);break}}$center(){const{parentElement:t}=this;if(!t){return this}const s=(t.offsetWidth-this.width)/2;const i=(t.offsetHeight-this.height)/2;return this.$change(s,i)}$move(t,s=t){return this.$moveTo(this.x+t,this.y+s)}$moveTo(t,s=t){if(!this.movable){return this}return this.$change(t,s)}$resize(t,s=0,i=0,e=this.aspectRatio){if(!this.resizable){return this}const n=J(e);const{$canvas:h}=this;let{x:o,y:r,width:a,height:c}=this;switch(t){case z:r+=i;c-=i;if(c<0){t=C;c=-c;r-=c}if(n){s=i*e;o+=s/2;a-=s;if(a<0){a=-a;o-=a}}break;case M:a+=s;if(a<0){t=A;a=-a;o-=a}if(n){i=s/e;r-=i/2;c+=i;if(c<0){c=-c;r-=c}}break;case C:c+=i;if(c<0){t=z;c=-c;r-=c}if(n){s=i*e;o-=s/2;a+=s;if(a<0){a=-a;o-=a}}break;case A:o+=s;a-=s;if(a<0){t=M;a=-a;o-=a}if(n){i=s/e;r+=i/2;c-=i;if(c<0){c=-c;r-=c}}break;case j:if(n){i=-s/e}r+=i;c-=i;a+=s;if(a<0&&c<0){t=T;a=-a;c=-c;o-=a;r-=c}else if(a<0){t=O;a=-a;o-=a}else if(c<0){t=S;c=-c;r-=c}break;case O:if(n){i=s/e}o+=s;r+=i;a-=s;c-=i;if(a<0&&c<0){t=S;a=-a;c=-c;o-=a;r-=c}else if(a<0){t=j;a=-a;o-=a}else if(c<0){t=T;c=-c;r-=c}break;case S:if(n){i=s/e}a+=s;c+=i;if(a<0&&c<0){t=O;a=-a;c=-c;o-=a;r-=c}else if(a<0){t=T;a=-a;o-=a}else if(c<0){t=j;c=-c;r-=c}break;case T:if(n){i=-s/e}o+=s;a-=s;c+=i;if(a<0&&c<0){t=j;a=-a;c=-c;o-=a;r-=c}else if(a<0){t=S;a=-a;o-=a}else if(c<0){t=O;c=-c;r-=c}break}if(h){h.$setAction(t)}return this.$change(o,r,a,c)}$zoom(t,s,i){if(!this.zoomable||t===0){return this}if(t<0){t=1/(1-t)}else{t+=1}const{width:e,height:n}=this;const h=e*t;const o=n*t;let r=this.x;let a=this.y;if(Z(s)&&Z(i)){r-=(h-e)*((s-this.x)/e);a-=(o-n)*((i-this.y)/n)}else{r-=(h-e)/2;a-=(o-n)/2}return this.$change(r,a,h,o)}$change(t,s,i=this.width,e=this.height,n=this.aspectRatio,h=false){if(this.$changing||!Z(t)||!Z(s)||!Z(i)||!Z(e)||i<0||e<0){return this}if(J(n)){({width:i,height:e}=yt({aspectRatio:n,width:i,height:e},"cover"))}if(!this.precise){t=Math.round(t);s=Math.round(s);i=Math.round(i);e=Math.round(e)}if(t===this.x&&s===this.y&&i===this.width&&e===this.height&&Object.is(n,this.aspectRatio)&&!h){return this}if(this.hidden){this.hidden=false}if(this.$emit(q,{x:t,y:s,width:i,height:e})===false){return this}this.$changing=true;this.x=t;this.y=s;this.width=i;this.height=e;this.$changing=false;return this.$render()}$reset(){const{x:t,y:s,width:i,height:e}=this.$initialSelection;return this.$change(t,s,i,e)}$clear(){this.$change(0,0,0,0,NaN,true);this.hidden=true;return this}$render(){return this.$setStyles({transform:`translate(${this.x}px, ${this.y}px)`,width:this.width,height:this.height})}$toCanvas(t){return new Promise(((s,i)=>{if(!this.isConnected){i(new Error("The current element is not connected to the DOM."));return}const e=document.createElement("canvas");let{width:n,height:h}=this;let o=1;if(it(t)&&(J(t.width)||J(t.height))){({width:n,height:h}=yt({aspectRatio:n/h,width:t.width,height:t.height}));o=n/this.width}e.width=n;e.height=h;if(!this.$canvas){s(e);return}const r=this.$canvas.querySelector(this.$getTagNameOf(p));if(!r){s(e);return}r.$ready().then((i=>{const a=e.getContext("2d");if(a){const[s,c,l,f,u,d]=r.$getTransform();const p=-this.x;const b=-this.y;const m=(p*f-l*b)/(s*f-l*c);const g=(b*s-c*p)/(s*f-l*c);let w=s*m+l*g+u;let v=c*m+f*g+d;let $=i.naturalWidth;let k=i.naturalHeight;if(o!==1){w*=o;v*=o;$*=o;k*=o}const y=$/2;const x=k/2;a.fillStyle="transparent";a.fillRect(0,0,n,h);if(it(t)&&et(t.beforeDraw)){t.beforeDraw.call(this,a,e)}a.save();a.translate(y,x);a.transform(s,c,l,f,w,v);a.translate(-y,-x);a.drawImage(i,0,0,$,k);a.restore()}s(e)})).catch(i)}))}}Bt.$name=b;Bt.$version="2.0.0";var Ft=`:host{display:flex;flex-direction:column;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host([bordered]){border:1px dashed var(--theme-color)}:host([covered]){bottom:0;left:0;position:absolute;right:0;top:0}:host>span{display:flex;flex:1}:host>span+span{border-top:1px dashed var(--theme-color)}:host>span>span{flex:1}:host>span>span+span{border-left:1px dashed var(--theme-color)}`;class qt extends Tt{constructor(){super(...arguments);this.$style=Ft;this.bordered=false;this.columns=3;this.covered=false;this.rows=3;this.slottable=false;this.themeColor="rgba(238, 238, 238, 0.5)"}static get observedAttributes(){return super.observedAttributes.concat(["bordered","columns","covered","rows"])}$propertyChangedCallback(t,s,i){if(Object.is(i,s)){return}super.$propertyChangedCallback(t,s,i);if(t==="rows"||t==="columns"){this.$nextTick((()=>{this.$render()}))}}connectedCallback(){super.connectedCallback();this.$render()}$render(){const t=this.$getShadowRoot();const s=document.createDocumentFragment();for(let t=0;t<this.rows;t+=1){const t=document.createElement("span");t.setAttribute("role","row");for(let s=0;s<this.columns;s+=1){const s=document.createElement("span");s.setAttribute("role","gridcell");t.appendChild(s)}s.appendChild(t)}if(t){t.innerHTML="";t.appendChild(s)}}}qt.$name=u;qt.$version="2.0.0";var Gt=`:host{display:inline-block;height:1em;position:relative;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:1em}:host:after,:host:before{background-color:var(--theme-color);content:"";display:block;position:absolute}:host:before{height:1px;left:0;top:50%;transform:translateY(-50%);width:100%}:host:after{height:100%;left:50%;top:0;transform:translateX(-50%);width:1px}:host([centered]){left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}`;class Kt extends Tt{constructor(){super(...arguments);this.$style=Gt;this.centered=false;this.slottable=false;this.themeColor="rgba(238, 238, 238, 0.5)"}static get observedAttributes(){return super.observedAttributes.concat(["centered"])}}Kt.$name=f;Kt.$version="2.0.0";var Vt=`:host{display:block;height:100%;overflow:hidden;position:relative;width:100%}`;const Zt=new WeakMap;const Jt=new WeakMap;const Qt=new WeakMap;const ts=new WeakMap;const ss="both";const is="horizontal";const es="vertical";const ns="none";class hs extends Tt{constructor(){super(...arguments);this.$onSelectionChange=null;this.$onSourceImageLoad=null;this.$onSourceImageTransform=null;this.$scale=1;this.$style=Vt;this.resize=es;this.selection="";this.slottable=false}set $image(t){Jt.set(this,t)}get $image(){return Jt.get(this)}set $sourceImage(t){ts.set(this,t)}get $sourceImage(){return ts.get(this)}set $canvas(t){Zt.set(this,t)}get $canvas(){return Zt.get(this)}set $selection(t){Qt.set(this,t)}get $selection(){return Qt.get(this)}static get observedAttributes(){return super.observedAttributes.concat(["resize","selection"])}connectedCallback(){super.connectedCallback();let t=null;if(this.selection){t=this.ownerDocument.querySelector(this.selection)}else{t=this.closest(this.$getTagNameOf(b))}if(nt(t)){this.$selection=t;this.$onSelectionChange=this.$handleSelectionChange.bind(this);ft(t,q,this.$onSelectionChange);const s=t.closest(this.$getTagNameOf(l));if(s){this.$canvas=s;const t=s.querySelector(this.$getTagNameOf(p));if(t){this.$sourceImage=t;this.$image=t.cloneNode(true);this.$getShadowRoot().appendChild(this.$image);this.$onSourceImageLoad=this.$handleSourceImageLoad.bind(this);this.$onSourceImageTransform=this.$handleSourceImageTransform.bind(this);ft(t.$image,D,this.$onSourceImageLoad);ft(t,G,this.$onSourceImageTransform)}}this.$render()}}disconnectedCallback(){const{$selection:t,$sourceImage:s}=this;if(t&&this.$onSelectionChange){lt(t,q,this.$onSelectionChange);this.$onSelectionChange=null}if(s&&this.$onSourceImageLoad){lt(s.$image,D,this.$onSourceImageLoad);this.$onSourceImageLoad=null}if(s&&this.$onSourceImageTransform){lt(s,G,this.$onSourceImageTransform);this.$onSourceImageTransform=null}super.disconnectedCallback()}$handleSelectionChange(t){this.$render(t.detail)}$handleSourceImageLoad(){const{$image:t,$sourceImage:s}=this;const i=t.getAttribute("src");const e=s.getAttribute("src");if(e&&e!==i){t.setAttribute("src",e);t.$ready((()=>{setTimeout((()=>{this.$render()}),50)}))}}$handleSourceImageTransform(t){this.$render(undefined,t.detail.matrix)}$render(t,s){const{$canvas:i,$selection:e}=this;if(!t&&!e.hidden){t=e}if(!t||t.x===0&&t.y===0&&t.width===0&&t.height===0){t={x:0,y:0,width:i.offsetWidth,height:i.offsetHeight}}const{x:n,y:h,width:o,height:r}=t;const a={};const{clientWidth:c,clientHeight:l}=this;let f=c;let u=l;let d=NaN;switch(this.resize){case ss:d=1;f=o;u=r;a.width=o;a.height=r;break;case is:d=r>0?l/r:0;f=o*d;a.width=f;break;case es:d=o>0?c/o:0;u=r*d;a.height=u;break;case ns:default:if(c>0){d=o>0?c/o:0}else if(l>0){d=r>0?l/r:0}}this.$scale=d;this.$setStyles(a);if(this.$sourceImage){this.$transformImageByOffset(s!==null&&s!==void 0?s:this.$sourceImage.$getTransform(),-n,-h)}}$transformImageByOffset(t,s,i){const{$image:e,$scale:n,$sourceImage:h}=this;if(h&&e&&n>=0){const[h,o,r,a,c,l]=t;const f=(s*a-r*i)/(h*a-r*o);const u=(i*h-o*s)/(h*a-r*o);const d=h*f+r*u+c;const p=o*f+a*u+l;e.$ready((t=>{this.$setStyles.call(e,{width:t.naturalWidth*n,height:t.naturalHeight*n})}));e.$setTransform(h,o,r,a,d*n,p*n)}}}hs.$name=g;hs.$version="2.0.0";
2
- /*! Cropper.js v2.0.0 | (c) 2015-present Chen Fengyuan | MIT */It.$define();Kt.$define();qt.$define();Lt.$define();Xt.$define();Bt.$define();Wt.$define();hs.$define();const os=".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(227 236 243/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(152 154 183/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}}";const rs=class{constructor(i){t(this,i);this.valueChange=s(this,"valueChange",3)}variant="user";value;returnType="base64";valueChange;_imageRef;_selectionRef;_maxScale=0;_minScale=0;_resizeDebounceTimeout;_toCanvasDebounceTimeout;_loaded=false;_currentScale=0;onResize(){if(this._resizeDebounceTimeout){clearTimeout(this._resizeDebounceTimeout)}this._resizeDebounceTimeout=setTimeout((()=>{this._selectionRef.$center();this._imageRef.$center()}),200)}componentDidLoad(){setTimeout((()=>{this._loaded=true}),200)}render(){return i(e,{key:"e24538f7894f87f0a74b278cfcded8c468458b1d",class:"p-cropper"},this._loaded&&i("cropper-canvas",{key:"322819276c8067200448b6b5db91c5d4b55635dc",class:"h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white",onAction:()=>this._onAction()},i("cropper-image",{key:"425800342321a6866fe456c306cd14e41f730638",src:this.value,alt:"Picture",ref:t=>this._setImageRef(t),scalable:true,crossorigin:"anonymous"}),i("cropper-shade",{key:"8c0909db63231a802bc9a095ff4d7a91733c2cb5",class:n({"rounded-round":this.variant==="user",rounded:this.variant==="company"}),"theme-color":"rgba(255, 255, 255, 0.5)",hidden:true}),i("cropper-selection",{key:"98bb666ed377e4a05dcd79bf75a6bfbd0c87f357","initial-coverage":"0.7","aspect-ratio":"1",ref:t=>this._selectionRef=t}),i("cropper-handle",{key:"800ba3ca781e8bcaadf48fc9bdb19f9a1f8e2a18",action:"move",plain:true})),i("div",{key:"329691f46ecb9a2fe69adc9ee52e01f99d5e5887",class:"flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1"},i("p-icon",{key:"331f23998c122f21c0b5244ebf7ead26d85b5b75",variant:"minus"}),i("input",{key:"ba6b41da6715d42d6b39e707b6a99b5401c40272",class:"p-input w-full",type:"range",min:"0",max:"100",value:this._currentScale,onInput:t=>this._onInput(t.target.value),step:"0.5"}),i("p-icon",{key:"1259a20fa5c3cae52a1dc9568329451a32706f4d",variant:"plus"})))}_setImageRef(t){if(this._imageRef){return}this._imageRef=t;this._imageRef.$ready((t=>setTimeout((()=>this._setInitialState(t)),200)))}_setInitialState(t){let s;if(t.naturalWidth>t.naturalHeight){s=200/t.naturalHeight}if(t.naturalHeight>=t.naturalWidth){s=200/t.naturalWidth}const i=this._imageRef.$getTransform();this._minScale=s;this._maxScale=i[0];this._selectionRef.$resize("nw-resize",200,200,1);this._selectionRef.$center();this._setScale(s);this._toCanvas()}_onAction(){this._setCurrentScale();this._toCanvas()}_setScale(t,s=true,i=true){const e=this._imageRef.$getTransform();this._imageRef.$setTransform([t,0,0,t,e[4],e[5]]);if(s){this._imageRef.$center()}if(i){this._setCurrentScale()}}_setCurrentScale(){const t=this._imageRef.$getTransform();const s=t[0];if(s<this._minScale){this._setScale(this._minScale,true,false);this._currentScale=0;return}if(s>this._maxScale){this._setScale(this._maxScale,true,false);this._currentScale=100;return}if(s===this._minScale){this._currentScale=0;return}if(s===this._maxScale){this._currentScale=100;return}const i=this._maxScale-this._minScale;const e=s-this._minScale;const n=e/i*100;this._currentScale=n}_onInput(t){const s=this._imageRef.$getTransform();const i=s[0];const e=this._maxScale-this._minScale;const n=e*(t/100);if(n===i){return}this._setScale(n+this._minScale,false,false);this._currentScale=t;this._toCanvas()}_toCanvas(){if(this._toCanvasDebounceTimeout){clearTimeout(this._toCanvasDebounceTimeout)}this._toCanvasDebounceTimeout=setTimeout((async()=>{const t=await this._selectionRef.$toCanvas();if(this.returnType==="canvas"){this.valueChange.emit(t);return}const s=t.toDataURL("image/png");this.valueChange.emit(s)}),200)}};rs.style=os;export{rs as p_cropper};
3
- //# sourceMappingURL=p-9c71c64d.entry.js.map
2
+ /*! Cropper.js v2.0.0 | (c) 2015-present Chen Fengyuan | MIT */It.$define();Kt.$define();qt.$define();Lt.$define();Xt.$define();Bt.$define();Wt.$define();hs.$define();const os=".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}}";const rs=class{constructor(i){t(this,i);this.valueChange=s(this,"valueChange",3)}variant="user";value;returnType="base64";valueChange;_imageRef;_selectionRef;_maxScale=0;_minScale=0;_resizeDebounceTimeout;_toCanvasDebounceTimeout;_loaded=false;_currentScale=0;onResize(){if(this._resizeDebounceTimeout){clearTimeout(this._resizeDebounceTimeout)}this._resizeDebounceTimeout=setTimeout((()=>{this._selectionRef.$center();this._imageRef.$center()}),200)}componentDidLoad(){setTimeout((()=>{this._loaded=true}),200)}render(){return i(e,{key:"eb6f98e26f1bfb68e3b1156ca4c0276bccea261c",class:"p-cropper"},this._loaded&&i("cropper-canvas",{key:"b2c521236bb00a93c9f0f7c3835fa8c7e4f61577",class:"h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white",onAction:()=>this._onAction()},i("cropper-image",{key:"6f9ef4820d81018f56920e8ca207c5b713f9c7d7",src:this.value,alt:"Picture",ref:t=>this._setImageRef(t),scalable:true,crossorigin:"anonymous"}),i("cropper-shade",{key:"31d75305bc42593e57bf2e14a6fde57e1638368d",class:n({"rounded-round":this.variant==="user",rounded:this.variant==="company"}),"theme-color":"rgba(255, 255, 255, 0.5)",hidden:true}),i("cropper-selection",{key:"dd1bbf7c18236dc72f66fc7fccf8d26a9688f8bd","initial-coverage":"0.7","aspect-ratio":"1",ref:t=>this._selectionRef=t}),i("cropper-handle",{key:"b41901b99d24fd3910f1b5cf81f0ea8ff1e8317e",action:"move",plain:true})),i("div",{key:"039588baf8206504057e570545bbd7ea0e8238aa",class:"flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1"},i("p-icon",{key:"c09d8840ad97f32d012dd7cfff607a61862dc981",variant:"minus"}),i("input",{key:"7c4f82951b6fb7ecbd34de6b68ee36aacebe5dae",class:"p-input w-full",type:"range",min:"0",max:"100",value:this._currentScale,onInput:t=>this._onInput(t.target.value),step:"0.5"}),i("p-icon",{key:"bd0d34081a3d11a9d43880f037c80df251eb0b8a",variant:"plus"})))}_setImageRef(t){if(this._imageRef){return}this._imageRef=t;this._imageRef.$ready((t=>setTimeout((()=>this._setInitialState(t)),200)))}_setInitialState(t){let s;if(t.naturalWidth>t.naturalHeight){s=200/t.naturalHeight}if(t.naturalHeight>=t.naturalWidth){s=200/t.naturalWidth}const i=this._imageRef.$getTransform();this._minScale=s;this._maxScale=i[0];this._selectionRef.$resize("nw-resize",200,200,1);this._selectionRef.$center();this._setScale(s);this._toCanvas()}_onAction(){this._setCurrentScale();this._toCanvas()}_setScale(t,s=true,i=true){const e=this._imageRef.$getTransform();this._imageRef.$setTransform([t,0,0,t,e[4],e[5]]);if(s){this._imageRef.$center()}if(i){this._setCurrentScale()}}_setCurrentScale(){const t=this._imageRef.$getTransform();const s=t[0];if(s<this._minScale){this._setScale(this._minScale,true,false);this._currentScale=0;return}if(s>this._maxScale){this._setScale(this._maxScale,true,false);this._currentScale=100;return}if(s===this._minScale){this._currentScale=0;return}if(s===this._maxScale){this._currentScale=100;return}const i=this._maxScale-this._minScale;const e=s-this._minScale;const n=e/i*100;this._currentScale=n}_onInput(t){const s=this._imageRef.$getTransform();const i=s[0];const e=this._maxScale-this._minScale;const n=e*(t/100);if(n===i){return}this._setScale(n+this._minScale,false,false);this._currentScale=t;this._toCanvas()}_toCanvas(){if(this._toCanvasDebounceTimeout){clearTimeout(this._toCanvasDebounceTimeout)}this._toCanvasDebounceTimeout=setTimeout((async()=>{const t=await this._selectionRef.$toCanvas();if(this.returnType==="canvas"){this.valueChange.emit(t);return}const s=t.toDataURL("image/png");this.valueChange.emit(s)}),200)}};rs.style=os;export{rs as p_cropper};
3
+ //# sourceMappingURL=p-1c9405d8.entry.js.map