@paperless/core 2.0.1-beta.33 → 2.0.1-beta.34

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 (655) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/dist/assets/i18n/floating-menu-container.i18n.en.json +4 -0
  3. package/dist/assets/i18n/floating-menu-container.i18n.nl.json +4 -0
  4. package/dist/assets/i18n/pagination-size.i18n.en.json +3 -0
  5. package/dist/assets/i18n/pagination-size.i18n.nl.json +3 -0
  6. package/dist/assets/icons/extra/checkmark-thick.svg +10 -0
  7. package/dist/build/index.esm.js +1 -1
  8. package/dist/build/p-0719e72a.js +2 -0
  9. package/dist/build/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  10. package/dist/build/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  11. package/dist/build/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  12. package/dist/build/p-28dbbce6.entry.js +2 -0
  13. package/dist/build/p-28ee6cd6.entry.js +2 -0
  14. package/dist/{paperless/p-b162a142.entry.js → build/p-290d04b0.entry.js} +2 -2
  15. package/dist/build/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  16. package/dist/{paperless/p-e5a54d05.entry.js → build/p-333f614e.entry.js} +2 -2
  17. package/dist/build/p-37b43ce6.entry.js +2 -0
  18. package/dist/build/p-37b43ce6.entry.js.map +1 -0
  19. package/dist/build/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  20. package/dist/{paperless/p-4baaed44.entry.js → build/p-3bd145fd.entry.js} +2 -2
  21. package/dist/build/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  22. package/dist/build/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  23. package/dist/build/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  24. package/dist/build/p-469615ef.entry.js +2 -0
  25. package/dist/build/p-469615ef.entry.js.map +1 -0
  26. package/dist/build/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  27. package/dist/build/p-4f947801.entry.js +2 -0
  28. package/dist/build/p-549b2931.entry.js +2 -0
  29. package/dist/build/p-549b2931.entry.js.map +1 -0
  30. package/dist/build/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  31. package/dist/build/p-59962e55.entry.js +2 -0
  32. package/dist/{paperless/p-3e2708de.entry.js → build/p-657c6b98.entry.js} +2 -2
  33. package/dist/build/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  34. package/dist/build/p-711bb72e.entry.js +2 -0
  35. package/dist/build/p-711bb72e.entry.js.map +1 -0
  36. package/dist/build/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  37. package/dist/build/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  38. package/dist/{paperless/p-b082e123.js → build/p-7ce3ed33.js} +2 -2
  39. package/dist/build/p-7ce3ed33.js.map +1 -0
  40. package/dist/build/{p-da7b6f2c.js → p-83946184.js} +1 -1
  41. package/dist/build/p-83946184.js.map +1 -0
  42. package/dist/build/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  43. package/dist/build/p-8857d619.entry.js +2 -0
  44. package/dist/build/p-8857d619.entry.js.map +1 -0
  45. package/dist/build/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  46. package/dist/{paperless/p-28f44624.entry.js → build/p-8c8128f9.entry.js} +2 -2
  47. package/dist/{paperless/p-cd2cd75f.entry.js → build/p-90ad3605.entry.js} +2 -2
  48. package/dist/build/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  49. package/dist/build/p-99352ae4.entry.js +2 -0
  50. package/dist/build/p-99352ae4.entry.js.map +1 -0
  51. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-a133d5be.entry.js} +2 -2
  52. package/dist/build/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  53. package/dist/build/p-c55ee8d6.entry.js +2 -0
  54. package/dist/build/p-c55ee8d6.entry.js.map +1 -0
  55. package/dist/build/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  56. package/dist/build/p-d48ef748.entry.js +2 -0
  57. package/dist/build/p-d48ef748.entry.js.map +1 -0
  58. package/dist/{paperless/p-9406a32e.entry.js → build/p-d70fcbe8.entry.js} +2 -2
  59. package/dist/build/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  60. package/dist/build/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  61. package/dist/build/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  62. package/dist/{paperless/p-697ed735.entry.js → build/p-dc536eb2.entry.js} +2 -2
  63. package/dist/build/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  64. package/dist/build/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  65. package/dist/{paperless/p-20ea5e27.entry.js → build/p-ef42fec9.entry.js} +2 -2
  66. package/dist/build/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  67. package/dist/build/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  68. package/dist/build/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  69. package/dist/build/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  70. package/dist/{paperless/p-f762c735.entry.js → build/p-f4cdabb7.entry.js} +2 -2
  71. package/dist/{paperless/p-3023e8dc.entry.js → build/p-f63feca1.entry.js} +2 -2
  72. package/dist/build/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  73. package/dist/build/paperless.esm.js +1 -1
  74. package/dist/build/paperless.esm.js.map +1 -1
  75. package/dist/cjs/{constants-f911468d.js → constants-eae831f7.js} +1 -1
  76. package/dist/cjs/constants-eae831f7.js.map +1 -0
  77. package/dist/cjs/{icons-10aa18f0.js → icons-8fe8c3cf.js} +18 -1
  78. package/dist/cjs/icons-8fe8c3cf.js.map +1 -0
  79. package/dist/cjs/index-3f9bbc0c.js +14 -10
  80. package/dist/cjs/index.cjs.js +1 -1
  81. package/dist/cjs/loader.cjs.js +1 -1
  82. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  83. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  84. package/dist/cjs/p-avatar-group.cjs.entry.js +1 -1
  85. package/dist/cjs/p-avatar.cjs.entry.js +1 -1
  86. package/dist/cjs/p-backdrop.cjs.entry.js +2 -2
  87. package/dist/cjs/p-badge_3.cjs.entry.js +4 -4
  88. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  89. package/dist/cjs/p-button_3.cjs.entry.js +5 -5
  90. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  91. package/dist/cjs/p-card-body.cjs.entry.js +1 -1
  92. package/dist/cjs/p-card-container.cjs.entry.js +1 -1
  93. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  94. package/dist/cjs/{p-checkbox_3.cjs.entry.js → p-checkbox_2.cjs.entry.js} +18 -153
  95. package/dist/cjs/p-checkbox_2.cjs.entry.js.map +1 -0
  96. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  97. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  98. package/dist/cjs/p-cropper.cjs.entry.js +2 -2
  99. package/dist/cjs/p-datepicker.cjs.entry.js +2 -2
  100. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  101. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  102. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +10 -9
  103. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  104. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js +528 -0
  105. package/dist/cjs/p-dropdown-menu-item_4.cjs.entry.js.map +1 -0
  106. package/dist/cjs/p-field_2.cjs.entry.js +17 -5
  107. package/dist/cjs/p-field_2.cjs.entry.js.map +1 -1
  108. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +121 -16
  109. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  110. package/dist/cjs/p-helper_2.cjs.entry.js +6 -6
  111. package/dist/cjs/p-helper_2.cjs.entry.js.map +1 -1
  112. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  113. package/dist/cjs/p-icon-deprecated.cjs.entry.js +1 -1
  114. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  115. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  116. package/dist/cjs/p-input-group.cjs.entry.js +3 -3
  117. package/dist/cjs/p-label.cjs.entry.js +3 -3
  118. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  119. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  120. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  121. package/dist/cjs/p-navigation-item.cjs.entry.js +2 -2
  122. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  123. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  124. package/dist/cjs/p-pagination.cjs.entry.js +70 -0
  125. package/dist/cjs/p-pagination.cjs.entry.js.map +1 -0
  126. package/dist/cjs/p-portal.cjs.entry.js +1 -1
  127. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  128. package/dist/cjs/p-radio.cjs.entry.js +3 -3
  129. package/dist/cjs/p-select.cjs.entry.js +1 -1
  130. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  131. package/dist/cjs/p-status.cjs.entry.js +2 -2
  132. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  133. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  134. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  135. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  136. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  137. package/dist/cjs/p-table.cjs.entry.js +9 -8
  138. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  139. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  140. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  141. package/dist/cjs/p-toggle.cjs.entry.js +3 -3
  142. package/dist/cjs/paperless.cjs.js +1 -1
  143. package/dist/collection/assets/icons/extra/checkmark-thick.svg +10 -0
  144. package/dist/collection/collection-manifest.json +4 -3
  145. package/dist/collection/components/atoms/avatar/avatar.component.js +1 -1
  146. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  147. package/dist/collection/components/atoms/backdrop/backdrop.component.js +2 -2
  148. package/dist/collection/components/atoms/badge/badge.component.js +1 -1
  149. package/dist/collection/components/atoms/card-body/card-body.component.js +1 -1
  150. package/dist/collection/components/atoms/card-container/card-container.component.js +1 -1
  151. package/dist/collection/components/atoms/card-header/card-header.component.js +2 -2
  152. package/dist/collection/components/atoms/checkbox/checkbox.component.js +3 -3
  153. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -1
  154. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  155. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  156. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  157. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  158. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  159. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  160. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +29 -8
  161. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  162. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  163. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +37 -6
  164. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  165. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  166. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +171 -4
  167. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  168. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  169. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +180 -3
  170. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  171. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  172. package/dist/collection/components/atoms/helper/helper.component.js +2 -2
  173. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  174. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  175. package/dist/collection/components/atoms/icon/icon.component.js +1 -1
  176. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +1 -1
  177. package/dist/collection/components/atoms/illustration/illustration.component.js +1 -1
  178. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  179. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  180. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  181. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  182. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  183. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  184. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  185. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.css +1 -0
  186. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js +173 -0
  187. package/dist/collection/components/atoms/pagination-pages-item/pagination-pages-item.component.js.map +1 -0
  188. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  189. package/dist/collection/components/atoms/radio/radio.component.js +3 -3
  190. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  191. package/dist/collection/components/atoms/segment-item/segment-item.component.js +3 -3
  192. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  193. package/dist/collection/components/atoms/status/status.component.js +3 -3
  194. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  195. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  196. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  197. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  198. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  199. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  200. package/dist/collection/components/atoms/toggle/toggle.component.js +3 -3
  201. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  202. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +1 -1
  203. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  204. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  205. package/dist/collection/components/molecules/button/button.component.js +5 -5
  206. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  207. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  208. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  209. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  210. package/dist/collection/components/molecules/datepicker/datepicker.component.js +2 -2
  211. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  212. package/dist/collection/components/molecules/dropdown/dropdown.component.js +33 -5
  213. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  214. package/dist/collection/components/molecules/field/field.component.js +18 -6
  215. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  216. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  217. package/dist/collection/components/molecules/input-group/input-group.component.js +4 -4
  218. package/dist/collection/components/molecules/label/label.component.js +4 -4
  219. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +3 -3
  220. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  221. package/dist/collection/components/molecules/pagination/pagination.component.css +1 -1
  222. package/dist/collection/components/molecules/pagination/pagination.component.js +136 -169
  223. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  224. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.css +1 -0
  225. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js +321 -0
  226. package/dist/collection/components/molecules/pagination-pages/pagination-pages.component.js.map +1 -0
  227. package/dist/collection/components/molecules/pagination-size/constants.js.map +1 -0
  228. package/dist/collection/components/molecules/pagination-size/pagination-size.component.css +1 -0
  229. package/dist/collection/components/molecules/{page-size-select/page-size-select.component.js → pagination-size/pagination-size.component.js} +44 -76
  230. package/dist/collection/components/molecules/pagination-size/pagination-size.component.js.map +1 -0
  231. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  232. package/dist/collection/components/molecules/select/select.component.js +3 -3
  233. package/dist/collection/components/molecules/stepper/stepper.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.css +1 -1
  236. package/dist/collection/components/molecules/table-footer/table-footer.component.js +2 -2
  237. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  238. package/dist/collection/components/molecules/table-header/table-header.component.js +4 -4
  239. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  240. package/dist/collection/components/molecules/toast/toast.component.js +2 -2
  241. package/dist/collection/components/organisms/drawer/drawer.component.js +1 -1
  242. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  243. package/dist/collection/components/organisms/table/table.component.css +1 -1
  244. package/dist/collection/components/organisms/table/table.component.js +9 -8
  245. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  246. package/dist/collection/utils/icons.js +6 -0
  247. package/dist/collection/utils/icons.js.map +1 -1
  248. package/dist/components/avatar.component.js +1 -1
  249. package/dist/components/backdrop.component.js +2 -2
  250. package/dist/components/badge.component.js +1 -1
  251. package/dist/components/button.component.js +4 -4
  252. package/dist/components/calendar.component.js +1 -1
  253. package/dist/components/checkbox.component.js +3 -3
  254. package/dist/components/checkbox.component.js.map +1 -1
  255. package/dist/components/divider.component.js +1 -1
  256. package/dist/components/drawer-body.component.js +1 -1
  257. package/dist/components/drawer-container.component.js +1 -1
  258. package/dist/components/drawer-header.component.js +1 -1
  259. package/dist/components/dropdown-menu-container.component.js +11 -9
  260. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  261. package/dist/components/dropdown-menu-item.component.js +35 -4
  262. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  263. package/dist/components/dropdown.component.js +15 -6
  264. package/dist/components/dropdown.component.js.map +1 -1
  265. package/dist/components/field-container.component.js +8 -2
  266. package/dist/components/field-container.component.js.map +1 -1
  267. package/dist/components/field.component.js +17 -5
  268. package/dist/components/field.component.js.map +1 -1
  269. package/dist/components/floating-menu-container.component.js +66 -6
  270. package/dist/components/floating-menu-container.component.js.map +1 -1
  271. package/dist/components/floating-menu-item.component.js +85 -6
  272. package/dist/components/floating-menu-item.component.js.map +1 -1
  273. package/dist/components/helper.component.js +9 -3
  274. package/dist/components/helper.component.js.map +1 -1
  275. package/dist/components/icons.js +17 -0
  276. package/dist/components/icons.js.map +1 -1
  277. package/dist/components/illustration.component.js +1 -1
  278. package/dist/components/input-error.component.js +1 -1
  279. package/dist/components/modal-body.component.js +1 -1
  280. package/dist/components/modal-container.component.js +1 -1
  281. package/dist/components/modal-footer.component.js +1 -1
  282. package/dist/components/modal-header.component.js +1 -1
  283. package/dist/components/navigation-title.component.js +1 -1
  284. package/dist/components/p-accordion.js +1 -1
  285. package/dist/components/p-attachment.js +4 -4
  286. package/dist/components/p-avatar-group.js +1 -1
  287. package/dist/components/p-button-group.js +1 -1
  288. package/dist/components/p-card-body.js +1 -1
  289. package/dist/components/p-card-container.js +1 -1
  290. package/dist/components/p-card-header.js +2 -2
  291. package/dist/components/p-content-slider.js +2 -2
  292. package/dist/components/p-counter.js +1 -1
  293. package/dist/components/p-cropper.js +2 -2
  294. package/dist/components/p-datepicker.js +2 -2
  295. package/dist/components/p-iban-icon.js +1 -1
  296. package/dist/components/p-icon-deprecated.js +1 -1
  297. package/dist/components/p-info-panel.js +1 -1
  298. package/dist/components/p-input-group.js +3 -3
  299. package/dist/components/p-label.js +3 -3
  300. package/dist/components/p-layout.js +1 -1
  301. package/dist/components/p-navbar.js +1 -1
  302. package/dist/components/p-navigation-item.js +2 -2
  303. package/dist/components/p-navigation-section.js +1 -1
  304. package/dist/components/p-pagination-pages-item.d.ts +11 -0
  305. package/dist/components/p-pagination-pages-item.js +8 -0
  306. package/dist/components/p-pagination-pages-item.js.map +1 -0
  307. package/dist/components/{p-pagination-item.d.ts → p-pagination-pages.d.ts} +4 -4
  308. package/dist/components/p-pagination-pages.js +8 -0
  309. package/dist/components/p-pagination-pages.js.map +1 -0
  310. package/dist/components/{p-page-size-select.d.ts → p-pagination-size.d.ts} +4 -4
  311. package/dist/components/p-pagination-size.js +8 -0
  312. package/dist/components/p-pagination-size.js.map +1 -0
  313. package/dist/components/p-pagination.js +143 -1
  314. package/dist/components/p-pagination.js.map +1 -1
  315. package/dist/components/p-profile.js +1 -1
  316. package/dist/components/p-radio.js +3 -3
  317. package/dist/components/p-select.js +1 -1
  318. package/dist/components/p-status.js +2 -2
  319. package/dist/components/p-stepper-item.js +1 -1
  320. package/dist/components/p-stepper.js +1 -1
  321. package/dist/components/p-tab-group.js +1 -1
  322. package/dist/components/p-tab-item.js +1 -1
  323. package/dist/components/p-table.js +15 -14
  324. package/dist/components/p-table.js.map +1 -1
  325. package/dist/components/p-toast-container.js +1 -1
  326. package/dist/components/p-toast.js +1 -1
  327. package/dist/components/p-toggle.js +3 -3
  328. package/dist/components/pagination-pages-item.component.js +106 -0
  329. package/dist/components/pagination-pages-item.component.js.map +1 -0
  330. package/dist/components/{pagination.component.js → pagination-pages.component.js} +54 -24
  331. package/dist/components/pagination-pages.component.js.map +1 -0
  332. package/dist/components/pagination-size.component.js +134 -0
  333. package/dist/components/pagination-size.component.js.map +1 -0
  334. package/dist/components/portal.component.js +1 -1
  335. package/dist/components/segment-container.component.js +1 -1
  336. package/dist/components/segment-item.component.js +2 -2
  337. package/dist/components/slider-indicator.component.js +1 -1
  338. package/dist/components/stepper-line.component.js +1 -1
  339. package/dist/components/table-cell.component.js +1 -1
  340. package/dist/components/table-container.component.js +1 -1
  341. package/dist/components/table-footer.component.js +9 -9
  342. package/dist/components/table-footer.component.js.map +1 -1
  343. package/dist/components/table-header.component.js +3 -3
  344. package/dist/components/table-row.component.js +2 -2
  345. package/dist/components/tooltip.component.js +4 -4
  346. package/dist/esm/{constants-3500ea14.js → constants-1dd98b15.js} +1 -1
  347. package/dist/esm/constants-1dd98b15.js.map +1 -0
  348. package/dist/esm/{icons-a3270aaf.js → icons-7312d60c.js} +18 -1
  349. package/dist/esm/icons-7312d60c.js.map +1 -0
  350. package/dist/esm/index-2ef94580.js +14 -10
  351. package/dist/esm/index.js +1 -1
  352. package/dist/esm/loader.js +1 -1
  353. package/dist/esm/p-accordion.entry.js +1 -1
  354. package/dist/esm/p-attachment.entry.js +4 -4
  355. package/dist/esm/p-avatar-group.entry.js +1 -1
  356. package/dist/esm/p-avatar.entry.js +1 -1
  357. package/dist/esm/p-backdrop.entry.js +2 -2
  358. package/dist/esm/p-badge_3.entry.js +4 -4
  359. package/dist/esm/p-button-group.entry.js +1 -1
  360. package/dist/esm/p-button_3.entry.js +5 -5
  361. package/dist/esm/p-calendar.entry.js +1 -1
  362. package/dist/esm/p-card-body.entry.js +1 -1
  363. package/dist/esm/p-card-container.entry.js +1 -1
  364. package/dist/esm/p-card-header.entry.js +2 -2
  365. package/dist/esm/{p-checkbox_3.entry.js → p-checkbox_2.entry.js} +19 -153
  366. package/dist/esm/p-checkbox_2.entry.js.map +1 -0
  367. package/dist/esm/p-content-slider.entry.js +2 -2
  368. package/dist/esm/p-counter.entry.js +1 -1
  369. package/dist/esm/p-cropper.entry.js +2 -2
  370. package/dist/esm/p-datepicker.entry.js +2 -2
  371. package/dist/esm/p-divider.entry.js +1 -1
  372. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  373. package/dist/esm/p-dropdown-menu-container.entry.js +10 -9
  374. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  375. package/dist/esm/p-dropdown-menu-item_4.entry.js +521 -0
  376. package/dist/esm/p-dropdown-menu-item_4.entry.js.map +1 -0
  377. package/dist/esm/p-field_2.entry.js +17 -5
  378. package/dist/esm/p-field_2.entry.js.map +1 -1
  379. package/dist/esm/p-floating-menu-container_8.entry.js +122 -17
  380. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  381. package/dist/esm/p-helper_2.entry.js +6 -6
  382. package/dist/esm/p-helper_2.entry.js.map +1 -1
  383. package/dist/esm/p-iban-icon.entry.js +1 -1
  384. package/dist/esm/p-icon-deprecated.entry.js +1 -1
  385. package/dist/esm/p-info-panel.entry.js +1 -1
  386. package/dist/esm/p-input-error.entry.js +1 -1
  387. package/dist/esm/p-input-group.entry.js +3 -3
  388. package/dist/esm/p-label.entry.js +3 -3
  389. package/dist/esm/p-layout.entry.js +1 -1
  390. package/dist/esm/p-modal-body_4.entry.js +4 -4
  391. package/dist/esm/p-navbar.entry.js +1 -1
  392. package/dist/esm/p-navigation-item.entry.js +2 -2
  393. package/dist/esm/p-navigation-section.entry.js +1 -1
  394. package/dist/esm/p-navigation-title.entry.js +1 -1
  395. package/dist/esm/p-pagination.entry.js +66 -0
  396. package/dist/esm/p-pagination.entry.js.map +1 -0
  397. package/dist/esm/p-portal.entry.js +1 -1
  398. package/dist/esm/p-profile.entry.js +1 -1
  399. package/dist/esm/p-radio.entry.js +3 -3
  400. package/dist/esm/p-select.entry.js +1 -1
  401. package/dist/esm/p-slider-indicator.entry.js +1 -1
  402. package/dist/esm/p-status.entry.js +2 -2
  403. package/dist/esm/p-stepper-item.entry.js +1 -1
  404. package/dist/esm/p-stepper-line.entry.js +1 -1
  405. package/dist/esm/p-stepper.entry.js +1 -1
  406. package/dist/esm/p-tab-group.entry.js +1 -1
  407. package/dist/esm/p-tab-item.entry.js +1 -1
  408. package/dist/esm/p-table.entry.js +9 -8
  409. package/dist/esm/p-table.entry.js.map +1 -1
  410. package/dist/esm/p-toast-container.entry.js +1 -1
  411. package/dist/esm/p-toast.entry.js +1 -1
  412. package/dist/esm/p-toggle.entry.js +3 -3
  413. package/dist/esm/paperless.js +1 -1
  414. package/dist/index.html +1 -1
  415. package/dist/paperless/index.esm.js +1 -1
  416. package/dist/paperless/{p-5779d316.entry.js → p-11fbeb45.entry.js} +2 -2
  417. package/dist/paperless/{p-d26ee54b.entry.js → p-1a1c03c0.entry.js} +2 -2
  418. package/dist/paperless/{p-dd0f4ed0.entry.js → p-27fd3386.entry.js} +2 -2
  419. package/dist/paperless/p-28dbbce6.entry.js +2 -0
  420. package/dist/paperless/p-28ee6cd6.entry.js +2 -0
  421. package/dist/{build/p-b162a142.entry.js → paperless/p-290d04b0.entry.js} +2 -2
  422. package/dist/paperless/{p-9231fe88.entry.js → p-2d43b7ce.entry.js} +2 -2
  423. package/dist/{build/p-e5a54d05.entry.js → paperless/p-333f614e.entry.js} +2 -2
  424. package/dist/paperless/p-37b43ce6.entry.js +2 -0
  425. package/dist/paperless/p-37b43ce6.entry.js.map +1 -0
  426. package/dist/paperless/{p-29c71645.entry.js → p-38c20959.entry.js} +2 -2
  427. package/dist/{build/p-4baaed44.entry.js → paperless/p-3bd145fd.entry.js} +2 -2
  428. package/dist/paperless/{p-0cd0a8d2.entry.js → p-4364738a.entry.js} +2 -2
  429. package/dist/paperless/{p-e11ab3d2.entry.js → p-4443e4e5.entry.js} +2 -2
  430. package/dist/paperless/{p-39e51563.entry.js → p-4553a1af.entry.js} +2 -2
  431. package/dist/paperless/p-469615ef.entry.js +2 -0
  432. package/dist/paperless/p-469615ef.entry.js.map +1 -0
  433. package/dist/paperless/{p-4a10de20.entry.js → p-489013c7.entry.js} +2 -2
  434. package/dist/paperless/p-4f947801.entry.js +2 -0
  435. package/dist/paperless/p-549b2931.entry.js +2 -0
  436. package/dist/paperless/p-549b2931.entry.js.map +1 -0
  437. package/dist/paperless/{p-d9bf1827.entry.js → p-58e6f012.entry.js} +2 -2
  438. package/dist/paperless/p-59962e55.entry.js +2 -0
  439. package/dist/{build/p-3e2708de.entry.js → paperless/p-657c6b98.entry.js} +2 -2
  440. package/dist/paperless/{p-f05bf2d2.entry.js → p-691c6f90.entry.js} +2 -2
  441. package/dist/paperless/p-711bb72e.entry.js +2 -0
  442. package/dist/paperless/p-711bb72e.entry.js.map +1 -0
  443. package/dist/paperless/{p-8f4a3d49.entry.js → p-7a83597a.entry.js} +2 -2
  444. package/dist/paperless/{p-8b1a485b.entry.js → p-7ad7c0d1.entry.js} +2 -2
  445. package/dist/{build/p-b082e123.js → paperless/p-7ce3ed33.js} +2 -2
  446. package/dist/paperless/p-7ce3ed33.js.map +1 -0
  447. package/dist/paperless/{p-da7b6f2c.js → p-83946184.js} +1 -1
  448. package/dist/paperless/p-83946184.js.map +1 -0
  449. package/dist/paperless/{p-a9c13353.entry.js → p-8532d17f.entry.js} +2 -2
  450. package/dist/paperless/p-8857d619.entry.js +2 -0
  451. package/dist/paperless/p-8857d619.entry.js.map +1 -0
  452. package/dist/paperless/{p-c801b122.entry.js → p-8a4f08d0.entry.js} +2 -2
  453. package/dist/{build/p-28f44624.entry.js → paperless/p-8c8128f9.entry.js} +2 -2
  454. package/dist/{build/p-cd2cd75f.entry.js → paperless/p-90ad3605.entry.js} +2 -2
  455. package/dist/paperless/{p-d058cdfc.entry.js → p-93198497.entry.js} +2 -2
  456. package/dist/paperless/p-99352ae4.entry.js +2 -0
  457. package/dist/paperless/p-99352ae4.entry.js.map +1 -0
  458. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-a133d5be.entry.js} +2 -2
  459. package/dist/paperless/{p-fa340d90.entry.js → p-a42897e9.entry.js} +2 -2
  460. package/dist/paperless/p-c55ee8d6.entry.js +2 -0
  461. package/dist/paperless/p-c55ee8d6.entry.js.map +1 -0
  462. package/dist/paperless/{p-9afd6c62.entry.js → p-d2ddf504.entry.js} +2 -2
  463. package/dist/paperless/p-d48ef748.entry.js +2 -0
  464. package/dist/paperless/p-d48ef748.entry.js.map +1 -0
  465. package/dist/{build/p-9406a32e.entry.js → paperless/p-d70fcbe8.entry.js} +2 -2
  466. package/dist/paperless/{p-0e1c6375.entry.js → p-da44c5f3.entry.js} +2 -2
  467. package/dist/paperless/{p-167a6397.entry.js → p-db29f690.entry.js} +2 -2
  468. package/dist/paperless/{p-b542d0b6.entry.js → p-dbd97dff.entry.js} +2 -2
  469. package/dist/{build/p-697ed735.entry.js → paperless/p-dc536eb2.entry.js} +2 -2
  470. package/dist/paperless/{p-52fe40e3.entry.js → p-e987ba3f.entry.js} +2 -2
  471. package/dist/paperless/{p-d82e4315.entry.js → p-eee199d1.entry.js} +2 -2
  472. package/dist/{build/p-20ea5e27.entry.js → paperless/p-ef42fec9.entry.js} +2 -2
  473. package/dist/paperless/{p-7b72764c.entry.js → p-f13ad23e.entry.js} +2 -2
  474. package/dist/paperless/{p-7c0e0f80.entry.js → p-f1a6c8ff.entry.js} +2 -2
  475. package/dist/paperless/{p-096eaf0d.entry.js → p-f233341a.entry.js} +2 -2
  476. package/dist/paperless/{p-401ff01b.entry.js → p-f2f904e6.entry.js} +2 -2
  477. package/dist/{build/p-f762c735.entry.js → paperless/p-f4cdabb7.entry.js} +2 -2
  478. package/dist/{build/p-3023e8dc.entry.js → paperless/p-f63feca1.entry.js} +2 -2
  479. package/dist/paperless/{p-a38a330d.entry.js → p-f9ffc928.entry.js} +2 -2
  480. package/dist/paperless/paperless.esm.js +1 -1
  481. package/dist/paperless/paperless.esm.js.map +1 -1
  482. package/dist/sw.js +1 -1
  483. package/dist/sw.js.map +1 -1
  484. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  485. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +1 -1
  486. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +33 -1
  487. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +23 -0
  488. package/dist/types/components/atoms/pagination-pages-item/pagination-pages-item.component.d.ts +19 -0
  489. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +5 -0
  490. package/dist/types/components/molecules/pagination/pagination.component.d.ts +24 -17
  491. package/dist/types/components/molecules/pagination-pages/pagination-pages.component.d.ts +40 -0
  492. package/dist/types/components/molecules/{page-size-select/page-size-select.component.d.ts → pagination-size/pagination-size.component.d.ts} +5 -14
  493. package/dist/types/components.d.ts +283 -76
  494. package/dist/types/utils/icons.d.ts +4 -0
  495. package/hydrate/index.js +583 -204
  496. package/hydrate/index.mjs +583 -204
  497. package/package.json +1 -1
  498. package/dist/assets/i18n/page-size-select.i18n.en.json +0 -4
  499. package/dist/assets/i18n/page-size-select.i18n.nl.json +0 -4
  500. package/dist/build/p-03c70942.entry.js +0 -2
  501. package/dist/build/p-2c6f3984.js +0 -2
  502. package/dist/build/p-2f613a2a.entry.js +0 -2
  503. package/dist/build/p-4cef76cf.entry.js +0 -2
  504. package/dist/build/p-5c2b9a8d.entry.js +0 -2
  505. package/dist/build/p-5c2b9a8d.entry.js.map +0 -1
  506. package/dist/build/p-904049ba.entry.js +0 -2
  507. package/dist/build/p-904049ba.entry.js.map +0 -1
  508. package/dist/build/p-9593cbb7.entry.js +0 -2
  509. package/dist/build/p-9593cbb7.entry.js.map +0 -1
  510. package/dist/build/p-b082e123.js.map +0 -1
  511. package/dist/build/p-cab0361a.entry.js +0 -2
  512. package/dist/build/p-cab0361a.entry.js.map +0 -1
  513. package/dist/build/p-d1da42f4.entry.js +0 -2
  514. package/dist/build/p-d1da42f4.entry.js.map +0 -1
  515. package/dist/build/p-da7b6f2c.js.map +0 -1
  516. package/dist/build/p-df228603.entry.js +0 -2
  517. package/dist/build/p-df228603.entry.js.map +0 -1
  518. package/dist/build/p-e078f787.entry.js +0 -2
  519. package/dist/build/p-e77d5ca1.entry.js +0 -2
  520. package/dist/build/p-e77d5ca1.entry.js.map +0 -1
  521. package/dist/cjs/constants-f911468d.js.map +0 -1
  522. package/dist/cjs/icons-10aa18f0.js.map +0 -1
  523. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +0 -1
  524. package/dist/cjs/p-page-size-select_3.cjs.entry.js +0 -232
  525. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +0 -1
  526. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +0 -1
  527. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +0 -46
  528. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +0 -1
  529. package/dist/collection/components/molecules/page-size-select/constants.js.map +0 -1
  530. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +0 -1
  531. package/dist/components/p-page-size-select.js +0 -8
  532. package/dist/components/p-page-size-select.js.map +0 -1
  533. package/dist/components/p-pagination-item.js +0 -8
  534. package/dist/components/p-pagination-item.js.map +0 -1
  535. package/dist/components/page-size-select.component.js +0 -123
  536. package/dist/components/page-size-select.component.js.map +0 -1
  537. package/dist/components/pagination-item.component.js +0 -36
  538. package/dist/components/pagination-item.component.js.map +0 -1
  539. package/dist/components/pagination.component.js.map +0 -1
  540. package/dist/esm/constants-3500ea14.js.map +0 -1
  541. package/dist/esm/icons-a3270aaf.js.map +0 -1
  542. package/dist/esm/p-checkbox_3.entry.js.map +0 -1
  543. package/dist/esm/p-page-size-select_3.entry.js +0 -226
  544. package/dist/esm/p-page-size-select_3.entry.js.map +0 -1
  545. package/dist/paperless/p-03c70942.entry.js +0 -2
  546. package/dist/paperless/p-2f613a2a.entry.js +0 -2
  547. package/dist/paperless/p-4cef76cf.entry.js +0 -2
  548. package/dist/paperless/p-5c2b9a8d.entry.js +0 -2
  549. package/dist/paperless/p-5c2b9a8d.entry.js.map +0 -1
  550. package/dist/paperless/p-904049ba.entry.js +0 -2
  551. package/dist/paperless/p-904049ba.entry.js.map +0 -1
  552. package/dist/paperless/p-9593cbb7.entry.js +0 -2
  553. package/dist/paperless/p-9593cbb7.entry.js.map +0 -1
  554. package/dist/paperless/p-b082e123.js.map +0 -1
  555. package/dist/paperless/p-cab0361a.entry.js +0 -2
  556. package/dist/paperless/p-cab0361a.entry.js.map +0 -1
  557. package/dist/paperless/p-d1da42f4.entry.js +0 -2
  558. package/dist/paperless/p-d1da42f4.entry.js.map +0 -1
  559. package/dist/paperless/p-da7b6f2c.js.map +0 -1
  560. package/dist/paperless/p-df228603.entry.js +0 -2
  561. package/dist/paperless/p-df228603.entry.js.map +0 -1
  562. package/dist/paperless/p-e078f787.entry.js +0 -2
  563. package/dist/paperless/p-e77d5ca1.entry.js +0 -2
  564. package/dist/paperless/p-e77d5ca1.entry.js.map +0 -1
  565. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +0 -7
  566. /package/dist/build/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  567. /package/dist/build/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  568. /package/dist/build/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  569. /package/dist/build/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  570. /package/dist/build/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  571. /package/dist/build/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  572. /package/dist/build/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  573. /package/dist/build/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  574. /package/dist/build/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  575. /package/dist/build/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  576. /package/dist/build/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  577. /package/dist/build/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  578. /package/dist/build/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  579. /package/dist/build/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  580. /package/dist/build/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  581. /package/dist/build/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  582. /package/dist/build/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  583. /package/dist/build/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  584. /package/dist/build/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  585. /package/dist/build/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  586. /package/dist/build/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  587. /package/dist/build/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  588. /package/dist/build/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  589. /package/dist/build/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  590. /package/dist/build/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  591. /package/dist/build/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  592. /package/dist/build/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  593. /package/dist/build/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  594. /package/dist/build/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  595. /package/dist/build/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  596. /package/dist/build/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  597. /package/dist/build/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  598. /package/dist/build/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  599. /package/dist/build/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  600. /package/dist/build/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  601. /package/dist/build/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  602. /package/dist/build/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  603. /package/dist/build/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  604. /package/dist/build/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  605. /package/dist/build/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  606. /package/dist/build/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  607. /package/dist/build/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  608. /package/dist/build/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  609. /package/dist/build/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  610. /package/dist/collection/components/molecules/{page-size-select → pagination-size}/constants.js +0 -0
  611. /package/dist/paperless/{p-5779d316.entry.js.map → p-11fbeb45.entry.js.map} +0 -0
  612. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-1a1c03c0.entry.js.map} +0 -0
  613. /package/dist/paperless/{p-dd0f4ed0.entry.js.map → p-27fd3386.entry.js.map} +0 -0
  614. /package/dist/paperless/{p-e078f787.entry.js.map → p-28dbbce6.entry.js.map} +0 -0
  615. /package/dist/paperless/{p-03c70942.entry.js.map → p-28ee6cd6.entry.js.map} +0 -0
  616. /package/dist/paperless/{p-b162a142.entry.js.map → p-290d04b0.entry.js.map} +0 -0
  617. /package/dist/paperless/{p-9231fe88.entry.js.map → p-2d43b7ce.entry.js.map} +0 -0
  618. /package/dist/paperless/{p-e5a54d05.entry.js.map → p-333f614e.entry.js.map} +0 -0
  619. /package/dist/paperless/{p-29c71645.entry.js.map → p-38c20959.entry.js.map} +0 -0
  620. /package/dist/paperless/{p-4baaed44.entry.js.map → p-3bd145fd.entry.js.map} +0 -0
  621. /package/dist/paperless/{p-0cd0a8d2.entry.js.map → p-4364738a.entry.js.map} +0 -0
  622. /package/dist/paperless/{p-e11ab3d2.entry.js.map → p-4443e4e5.entry.js.map} +0 -0
  623. /package/dist/paperless/{p-39e51563.entry.js.map → p-4553a1af.entry.js.map} +0 -0
  624. /package/dist/paperless/{p-4a10de20.entry.js.map → p-489013c7.entry.js.map} +0 -0
  625. /package/dist/paperless/{p-4cef76cf.entry.js.map → p-4f947801.entry.js.map} +0 -0
  626. /package/dist/paperless/{p-d9bf1827.entry.js.map → p-58e6f012.entry.js.map} +0 -0
  627. /package/dist/paperless/{p-2f613a2a.entry.js.map → p-59962e55.entry.js.map} +0 -0
  628. /package/dist/paperless/{p-3e2708de.entry.js.map → p-657c6b98.entry.js.map} +0 -0
  629. /package/dist/paperless/{p-f05bf2d2.entry.js.map → p-691c6f90.entry.js.map} +0 -0
  630. /package/dist/paperless/{p-8f4a3d49.entry.js.map → p-7a83597a.entry.js.map} +0 -0
  631. /package/dist/paperless/{p-8b1a485b.entry.js.map → p-7ad7c0d1.entry.js.map} +0 -0
  632. /package/dist/paperless/{p-a9c13353.entry.js.map → p-8532d17f.entry.js.map} +0 -0
  633. /package/dist/paperless/{p-c801b122.entry.js.map → p-8a4f08d0.entry.js.map} +0 -0
  634. /package/dist/paperless/{p-28f44624.entry.js.map → p-8c8128f9.entry.js.map} +0 -0
  635. /package/dist/paperless/{p-cd2cd75f.entry.js.map → p-90ad3605.entry.js.map} +0 -0
  636. /package/dist/paperless/{p-d058cdfc.entry.js.map → p-93198497.entry.js.map} +0 -0
  637. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-a133d5be.entry.js.map} +0 -0
  638. /package/dist/paperless/{p-fa340d90.entry.js.map → p-a42897e9.entry.js.map} +0 -0
  639. /package/dist/paperless/{p-9afd6c62.entry.js.map → p-d2ddf504.entry.js.map} +0 -0
  640. /package/dist/paperless/{p-9406a32e.entry.js.map → p-d70fcbe8.entry.js.map} +0 -0
  641. /package/dist/paperless/{p-0e1c6375.entry.js.map → p-da44c5f3.entry.js.map} +0 -0
  642. /package/dist/paperless/{p-167a6397.entry.js.map → p-db29f690.entry.js.map} +0 -0
  643. /package/dist/paperless/{p-b542d0b6.entry.js.map → p-dbd97dff.entry.js.map} +0 -0
  644. /package/dist/paperless/{p-697ed735.entry.js.map → p-dc536eb2.entry.js.map} +0 -0
  645. /package/dist/paperless/{p-52fe40e3.entry.js.map → p-e987ba3f.entry.js.map} +0 -0
  646. /package/dist/paperless/{p-d82e4315.entry.js.map → p-eee199d1.entry.js.map} +0 -0
  647. /package/dist/paperless/{p-20ea5e27.entry.js.map → p-ef42fec9.entry.js.map} +0 -0
  648. /package/dist/paperless/{p-7b72764c.entry.js.map → p-f13ad23e.entry.js.map} +0 -0
  649. /package/dist/paperless/{p-7c0e0f80.entry.js.map → p-f1a6c8ff.entry.js.map} +0 -0
  650. /package/dist/paperless/{p-096eaf0d.entry.js.map → p-f233341a.entry.js.map} +0 -0
  651. /package/dist/paperless/{p-401ff01b.entry.js.map → p-f2f904e6.entry.js.map} +0 -0
  652. /package/dist/paperless/{p-f762c735.entry.js.map → p-f4cdabb7.entry.js.map} +0 -0
  653. /package/dist/paperless/{p-3023e8dc.entry.js.map → p-f63feca1.entry.js.map} +0 -0
  654. /package/dist/paperless/{p-a38a330d.entry.js.map → p-f9ffc928.entry.js.map} +0 -0
  655. /package/dist/types/components/molecules/{page-size-select → pagination-size}/constants.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"names":["fieldComponentCss","PFieldStyle0","field","cva","variants","variant","read","write","size","sm","base","disabled","false","true","focused","error","isTextarea","compoundVariants","class","input","prefixAndSuffix","isText","Field","valueChange","inputRefChange","_inputRef","componentDidLoad","this","_checkAutoFocus","render","prefix","suffix","hasHeaderSlot","hasLabelSlot","hasHelperSlot","hasErrorSlot","hasValueSlot","_getSlotInfo","h","Host","key","forceShowTooltip","_focused","label","helper","required","name","slot","length","type","icon","iconPosition","onClick","_focusInput","rotate","iconRotate","flip","iconFlip","_getContent","handleFocusIn","_selectAll","handleFocusOut","_el","querySelector","hasPrefixSlot","hasSuffixSlot","errorAndErrorIsNotBoolean","value","props","placeholder","onInput","ev","_valueChange","properties","JSON","parse","ref","_setInputRef","emit","focus","focusMethod","selectAllOnFocus","select","target","autofocus","setTimeout","fieldContainerComponentCss","PFieldContainerStyle0","FieldContainer","_defaultOptionalTemplate","formatTranslation","_locales","optional","componentWillLoad","_setLocales","contentSlot","optionalTemplate","Fragment","placement","content","show","enableUserInput","errorPlacement","getLocaleComponentStrings"],"sources":["src/components/molecules/field/field.component.css?tag=p-field&encapsulation=shadow","src/components/molecules/field/field.component.tsx","src/components/molecules/field-container/field-container.component.css?tag=p-field-container&encapsulation=shadow","src/components/molecules/field-container/field-container.component.tsx"],"sourcesContent":[null,"import { Placement } from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { HTMLInputTypeAttribute } from 'react';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\nimport { templateFunc } from '../field-container/field-container.component';\n\nconst field = cva(['flex gap-2', 'w-inherit', 'border-solid rounded-lg'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tread: 'border-0 items-center',\n\t\t\twrite: 'border px-2',\n\t\t},\n\t\tsize: {\n\t\t\tsm: null,\n\t\t\tbase: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: 'bg-white',\n\t\t\ttrue: 'bg-white-600 cursor-not-allowed',\n\t\t},\n\t\tfocused: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\terror: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\tisTextarea: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'write',\n\t\t\tisTextarea: false,\n\t\t\tclass: 'h-6',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'write',\n\t\t\tisTextarea: false,\n\t\t\tclass: 'h-8',\n\t\t},\n\n\t\t{\n\t\t\tsize: 'sm',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-4',\n\t\t},\n\t\t{\n\t\t\tsize: 'base',\n\t\t\tvariant: 'read',\n\t\t\tclass: 'h-6',\n\t\t},\n\n\t\t{\n\t\t\tfocused: false,\n\t\t\terror: false,\n\t\t\tclass: 'border-black-teal-100',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: false,\n\t\t\tclass:\n\t\t\t\t'border-supportive-lilac-800 ring ring-supportive-lilac-100 selection:bg-supportive-lilac',\n\t\t},\n\n\t\t{\n\t\t\tdisabled: false,\n\t\t\terror: true,\n\t\t\tclass: 'border-negative-red',\n\t\t},\n\t\t{\n\t\t\tdisabled: false,\n\t\t\tfocused: true,\n\t\t\terror: true,\n\t\t\tclass: 'ring ring-negative-red-50 selection:bg-negative-red-50',\n\t\t},\n\t],\n});\n\nconst input = cva(\n\t'text-sm placeholder:text-sm placeholder:text-black-teal-200 text-black-teal border-none outline-none focus:outline-none bg-transparent flex-1 min-w-0',\n\t{\n\t\tvariants: {\n\t\t\tisTextarea: {\n\t\t\t\tfalse: 'h-full',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t},\n\t}\n);\n\nconst prefixAndSuffix = cva(\n\t['flex flex-shrink-0 justify-center items-center text-center'],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-black-teal-100',\n\t\t\t},\n\t\t\tfocused: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\terror: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tisText: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'text-sm',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-300',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: false,\n\t\t\t\tclass: 'text-black-teal-500',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: false,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tfocused: true,\n\t\t\t\terror: true,\n\t\t\t\tclass: 'text-negative-red-800',\n\t\t\t},\n\t\t],\n\t}\n);\n\n@Component({\n\ttag: 'p-field',\n\tstyleUrl: './field.component.css',\n\tshadow: true,\n})\nexport class Field {\n\t/**\n\t * The variant of the field\n\t */\n\t@Prop() variant: 'read' | 'write' = 'write';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The type of the field\n\t */\n\t@Prop() type: HTMLInputTypeAttribute | 'textarea' | 'slot' = 'text';\n\n\t/**\n\t * The size of the field\n\t */\n\t@Prop() properties: any | string = {};\n\n\t/**\n\t * The prefix of the field\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The suffix of the field\n\t */\n\t@Prop() suffix: string;\n\n\t/**\n\t * Icon of the field\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The value of the input\n\t */\n\t@Prop() value: string;\n\n\t/**\n\t * The label of the field\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The helper of the field\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * Wether to autofocus the field\n\t */\n\t@Prop({ reflect: true }) autofocus: boolean = false;\n\n\t/**\n\t * The error to display\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Wether the field is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the field is focused\n\t */\n\t@Prop({ reflect: true }) focused: boolean = false;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * Wether to select all text on focus\n\t */\n\t@Prop({ reflect: true }) selectAllOnFocus: boolean = true;\n\n\t/**\n\t * The method to use when focusing the input\n\t */\n\t@Prop() focusMethod: 'focus' | 'click' = 'focus';\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc;\n\n\t/**\n\t * Event whenever the value changes\n\t */\n\t@Event() valueChange: EventEmitter<string>;\n\n\t/**\n\t * Event whenever the input ref changes\n\t */\n\t@Event() inputRefChange: EventEmitter<HTMLInputElement | HTMLTextAreaElement>;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _focused = false;\n\n\tprivate _inputRef: HTMLInputElement | HTMLTextAreaElement;\n\n\tcomponentDidLoad() {\n\t\tthis._checkAutoFocus();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\thasHeaderSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHelperSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t} = this._getSlotInfo();\n\n\t\treturn (\n\t\t\t<Host class='p-field'>\n\t\t\t\t<p-field-container\n\t\t\t\t\tforceShowTooltip={this.forceShowTooltip || this._focused}\n\t\t\t\t\tlabel={this.label}\n\t\t\t\t\thelper={this.helper}\n\t\t\t\t\terror={this.error}\n\t\t\t\t\trequired={this.required}\n\t\t\t\t\tvariant={this.variant}\n\t\t\t\t>\n\t\t\t\t\t{hasLabelSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='label'\n\t\t\t\t\t\t\tslot='label'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHeaderSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='header'\n\t\t\t\t\t\t\tslot='header'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasHelperSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='helper'\n\t\t\t\t\t\t\tslot='helper'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\tslot='error'\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={field({\n\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tslot='content'\n\t\t\t\t\t>\n\t\t\t\t\t\t{(prefix || (this.icon && this.iconPosition === 'start')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'start' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tprefix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{this._getContent(hasValueSlot)}\n\n\t\t\t\t\t\t{(suffix || (this.icon && this.iconPosition === 'end')) && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass={prefixAndSuffix({\n\t\t\t\t\t\t\t\t\terror: !!this.error?.length,\n\t\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t\t\tfocused: this.focused || this._focused,\n\t\t\t\t\t\t\t\t\tisText: typeof suffix === 'string',\n\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\tonClick={() => this._focusInput()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.icon && this.iconPosition === 'end' ? (\n\t\t\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\t\t\tclass='flex'\n\t\t\t\t\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t\t\t\t\t\trotate={this.iconRotate}\n\t\t\t\t\t\t\t\t\t\tflip={this.iconFlip}\n\t\t\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\t\tsuffix\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t</p-field-container>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('focusin')\n\thandleFocusIn() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = true;\n\t\tthis._selectAll();\n\t}\n\n\t@Listen('focusout')\n\thandleFocusOut() {\n\t\tif (this.disabled) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focused = false;\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasPrefixSlot = !!this._el.querySelector(':scope > [slot=\"prefix\"]');\n\t\tconst hasSuffixSlot = !!this._el.querySelector(':scope > [slot=\"suffix\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\t\tconst hasValueSlot = !!this._el.querySelector(':scope > [slot=\"value\"]');\n\n\t\tconst prefix = hasPrefixSlot ? <slot name='prefix' /> : this.prefix;\n\t\tconst suffix = hasSuffixSlot ? <slot name='suffix' /> : this.suffix;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\tthis.error && typeof this.error === 'string' && this.error !== 'true';\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasPrefixSlot,\n\t\t\thasSuffixSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thasValueSlot,\n\t\t\tprefix,\n\t\t\tsuffix,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n\n\tprivate _getContent(hasValueSlot = false) {\n\t\tif (this.variant === 'read') {\n\t\t\treturn (\n\t\t\t\t<div class='text-sm'>\n\t\t\t\t\t{hasValueSlot ? (\n\t\t\t\t\t\t<slot name='value' />\n\t\t\t\t\t) : !!this.value && this.value.length > 0 ? (\n\t\t\t\t\t\tthis.value\n\t\t\t\t\t) : (\n\t\t\t\t\t\t'—'\n\t\t\t\t\t)}\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\tif (this.type === 'slot') {\n\t\t\treturn <slot name='input' />;\n\t\t}\n\n\t\tconst props = {\n\t\t\tclass: input({\n\t\t\t\tdisabled: this.disabled,\n\t\t\t\tisTextarea: this.type === 'textarea',\n\t\t\t}),\n\t\t\tvalue: this.value,\n\t\t\tplaceholder: this.placeholder,\n\t\t\tdisabled: this.disabled,\n\t\t\tonInput: (ev: Event) => this._valueChange(ev),\n\t\t};\n\n\t\tlet properties = this.properties ?? {};\n\t\tif (typeof properties === 'string') {\n\t\t\tproperties = JSON.parse(this.properties);\n\t\t}\n\n\t\tif (this.type === 'textarea') {\n\t\t\treturn (\n\t\t\t\t<textarea\n\t\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t\t{...props}\n\t\t\t\t\t{...properties}\n\t\t\t\t/>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<input\n\t\t\t\ttype={this.type}\n\t\t\t\tref={ref => this._setInputRef(ref)}\n\t\t\t\t{...props}\n\t\t\t\t{...properties}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _setInputRef(ref: HTMLInputElement | HTMLTextAreaElement) {\n\t\tthis._inputRef = ref;\n\t\tthis.inputRefChange.emit(ref);\n\t}\n\n\tprivate _focusInput() {\n\t\tif (this._inputRef) {\n\t\t\tthis._inputRef.focus();\n\t\t\treturn;\n\t\t}\n\n\t\tconst input = this._el.querySelector(':scope > [slot=\"input\"]');\n\t\t(input as HTMLElement)[this.focusMethod]();\n\t}\n\n\tprivate _selectAll() {\n\t\tif (!this._inputRef || !this.selectAllOnFocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._inputRef.select();\n\t}\n\n\tprivate _valueChange(ev) {\n\t\tconst value = (ev.target as HTMLTextAreaElement | HTMLInputElement).value;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _checkAutoFocus() {\n\t\tif (!this.autofocus) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._inputRef) {\n\t\t\tsetTimeout(() => this._checkAutoFocus(), 100);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._focusInput();\n\t}\n}\n",null,"import {\n\tComponent,\n\tElement,\n\tEventEmitter,\n\th,\n\tHost,\n\tEvent,\n\tProp,\n\tFragment,\n\tState,\n\tListen,\n} from '@stencil/core';\nimport { formatTranslation, getLocaleComponentStrings } from '../../../utils';\nimport { Placement } from '@floating-ui/dom';\n\nexport type templateFunc = () => string;\n\n@Component({\n\ttag: 'p-field-container',\n\tstyleUrl: 'field-container.component.css',\n\tshadow: true,\n})\nexport class FieldContainer {\n\tprivate _defaultOptionalTemplate: templateFunc = () =>\n\t\tformatTranslation(this._locales.optional);\n\n\t/**\n\t * The label of the input group\n\t */\n\t@Prop() label: string | HTMLSlotElement;\n\n\t/**\n\t * The variant of the field container\n\t */\n\t@Prop() variant: 'read' | 'write';\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop() helper: string | HTMLSlotElement;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group\n\t */\n\t@Prop({ reflect: true }) error: string | HTMLSlotElement;\n\n\t/**\n\t * The placement of the error popover\n\t */\n\t@Prop() errorPlacement: Placement;\n\n\t/**\n\t * Force show the error tooltip\n\t */\n\t@Prop({ reflect: true }) forceShowTooltip: boolean = false;\n\n\t/**\n\t * The template for the optional text\n\t */\n\t@Prop() optionalTemplate: templateFunc = this._defaultOptionalTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@Event() focus: EventEmitter<void>;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\tconst {\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t} = this._getSlotInfo();\n\n\t\tconst contentSlot = (\n\t\t\t<slot\n\t\t\t\tname='content'\n\t\t\t\tslot='trigger'\n\t\t\t/>\n\t\t);\n\n\t\treturn (\n\t\t\t<Host class='p-field-container'>\n\t\t\t\t<div class='flex w-inherit flex-col gap-1'>\n\t\t\t\t\t<div class='flex items-end justify-between gap-1'>\n\t\t\t\t\t\t{label && (\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='text-xs font-medium text-black-teal-300'\n\t\t\t\t\t\t\t\tonClick={() => this.focus.emit()}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{label}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{(!this.required || helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t<div class='flex items-center gap-1'>\n\t\t\t\t\t\t\t\t{!this.required && this.variant === 'write' && (\n\t\t\t\t\t\t\t\t\t<span class='text-xs font-medium text-black-teal-200'>\n\t\t\t\t\t\t\t\t\t\t{this.optionalTemplate()}\n\t\t\t\t\t\t\t\t\t</span>\n\t\t\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t\t\t{(helper || hasHeaderSlot) && (\n\t\t\t\t\t\t\t\t\t<Fragment>\n\t\t\t\t\t\t\t\t\t\t{hasHeaderSlot && <slot name='header' />}\n\t\t\t\t\t\t\t\t\t\t{helper && (\n\t\t\t\t\t\t\t\t\t\t\t<p-helper\n\t\t\t\t\t\t\t\t\t\t\t\tclass={`flex ${hasHeaderSlot ? 'ml-2' : ''}`}\n\t\t\t\t\t\t\t\t\t\t\t\tplacement='top-end'\n\t\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t\t{helper}\n\t\t\t\t\t\t\t\t\t\t\t</p-helper>\n\t\t\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t\t\t</Fragment>\n\t\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</div>\n\t\t\t\t\t<p-tooltip\n\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\tvariant='error'\n\t\t\t\t\t\tcontent={this.error}\n\t\t\t\t\t\tshow={errorAndErrorIsNotBoolean && this.forceShowTooltip}\n\t\t\t\t\t\tenableUserInput={false}\n\t\t\t\t\t\tplacement={this.errorPlacement}\n\t\t\t\t\t>\n\t\t\t\t\t\t{hasErrorSlot && (\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='error'\n\t\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\n\t\t\t\t\t\t{contentSlot}\n\t\t\t\t\t</p-tooltip>\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _getSlotInfo() {\n\t\tconst hasHelperSlot = !!this._el.querySelector(':scope > [slot=\"helper\"]');\n\t\tconst hasLabelSlot = !!this._el.querySelector(':scope > [slot=\"label\"]');\n\t\tconst hasHeaderSlot = !!this._el.querySelector(':scope > [slot=\"header\"]');\n\t\tconst hasErrorSlot = !!this._el.querySelector(':scope > [slot=\"error\"]');\n\n\t\tconst helper = hasHelperSlot ? <slot name='helper' /> : this.helper;\n\t\tconst label = hasLabelSlot ? <slot name='label' /> : this.label;\n\n\t\tconst errorAndErrorIsNotBoolean =\n\t\t\thasErrorSlot ||\n\t\t\t(this.error && typeof this.error === 'string' && this.error !== 'true');\n\n\t\treturn {\n\t\t\thasHelperSlot,\n\t\t\thasLabelSlot,\n\t\t\thasHeaderSlot,\n\t\t\thasErrorSlot,\n\t\t\thelper,\n\t\t\tlabel,\n\t\t\terrorAndErrorIsNotBoolean,\n\t\t};\n\t}\n}\n"],"mappings":"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","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i}from"./p-45ded510.js";const a=".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity,1));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(40 209 124/var(--tw-text-opacity,1))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 199 45/var(--tw-text-opacity,1))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity,1))}.static{position:static!important}";const r=a;const s=class{constructor(e){t(this,e);this.variant="default";this.icon=undefined;this.iconFlip=undefined;this.iconRotate=undefined}render(){return e(i,{key:"bc0d4df80dd57789f44a87f8b54c4b23947229aa",class:`p-status variant-${this.variant}\n }`},this._getIcon(),e("slot",{key:"2275a7e8b94d3a2dc43b584d5d889114c5e978c2"}))}_getIcon(){const t=this.icon||this._getVariantIcon();if(!t){return}return e("p-icon",{variant:t,flip:this.iconFlip,rotate:this.iconRotate})}_getVariantIcon(){let t=null;switch(this.variant){case"positive":t="checkmark";break;case"negative":t="negative";break;case"unbiased":t="clock";break;default:t=null;break}return t}};s.style=r;export{s as p_status};
2
- //# sourceMappingURL=p-d9bf1827.entry.js.map
1
+ import{r as t,h as e,H as i}from"./p-45ded510.js";const a=".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity,1));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(40 209 124/var(--tw-text-opacity,1))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 199 45/var(--tw-text-opacity,1))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity,1))}.static{position:static!important}";const r=a;const s=class{constructor(e){t(this,e);this.variant="default";this.icon=undefined;this.iconFlip=undefined;this.iconRotate=undefined}render(){return e(i,{key:"e7ee3ba3c0b6e4b8b72f666f4e8d17eed22a588a",class:`p-status variant-${this.variant}\n }`},this._getIcon(),e("slot",{key:"485021196c8b4bac9a05021699b5796b7073d86f"}))}_getIcon(){const t=this.icon||this._getVariantIcon();if(!t){return}return e("p-icon",{variant:t,flip:this.iconFlip,rotate:this.iconRotate})}_getVariantIcon(){let t=null;switch(this.variant){case"positive":t="checkmark";break;case"negative":t="negative";break;case"unbiased":t="clock";break;default:t=null;break}return t}};s.style=r;export{s as p_status};
2
+ //# sourceMappingURL=p-58e6f012.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r as e,h as t,H as s}from"./p-45ded510.js";const a=class{constructor(t){e(this,t);this.error=undefined;this.forceShowTooltip=false;this._showTooltip=false}render(){return t(s,{key:"460e73ad12c19bbc3b68910d4cde77ca3a137255",class:"p-input-error"},t("p-tooltip",{key:"56237ea74bfb49a18d55f074ce1e3dcad8966315",variant:"error",content:this.error,show:this.forceShowTooltip,onIsOpen:e=>this._showTooltip=e.detail},t("p-icon",{key:"9c5216370a29e37ac03b99d3039d458aa88f3629",class:`${this._showTooltip?"text-negative":"text-negative-light"} hover:text-negative`,slot:"trigger",variant:"question-circle"})))}};export{a as p_input_error};
2
+ //# sourceMappingURL=p-59962e55.entry.js.map
@@ -1,3 +1,3 @@
1
1
  import{r as t,c as s,h as i,H as e}from"./p-45ded510.js";import{c as n}from"./p-8a1a6e56.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=r?"touchstart":"mousedown";const X=a?"pointerdown":R;const Y=a?"pointermove":N;const _=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 K="change";const Z="transform";function q(t){return typeof t==="string"}const G=Number.isNaN||o.isNaN;function J(t){return typeof t==="number"&&!G(t)}function Q(t){return J(t)&&t>0&&t<Infinity}function V(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=Q(e);const o=Q(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(G(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(!V(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(J(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,X,this.$onPointerDown)}if(!this.$onPointerMove){this.$onPointerMove=this.$handlePointerMove.bind(this);ft(this.ownerDocument,Y,this.$onPointerMove)}if(!this.$onPointerUp){this.$onPointerUp=this.$handlePointerUp.bind(this);ft(this.ownerDocument,_,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,X,this.$onPointerDown);this.$onPointerDown=null}if(this.$onPointerMove){lt(this.ownerDocument,Y,this.$onPointerMove);this.$onPointerMove=null}if(this.$onPointerUp){lt(this.ownerDocument,_,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")&&(J(s)&&s!==1||J(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(q(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)&&(Q(t.width)||Q(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 Rt=new WeakMap;const Xt=["alt","crossorigin","decoding","importance","loading","referrerpolicy","sizes","src","srcset"];class Yt 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){Rt.set(this,t)}get $canvas(){return Rt.get(this)}static get observedAttributes(){return super.observedAttributes.concat(Xt,["initial-center-size","rotatable","scalable","skewable","translatable"])}attributeChangedCallback(t,s,i){if(Object.is(i,s)){return}super.attributeChangedCallback(t,s,i);if(Xt.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&&J(t)&&J(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&&J(t)&&J(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(J(s)&&J(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(J(s)&&J(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&&J(t)&&J(s)){this.$transform(1,0,0,1,t,s)}return this}$transform(t,s,i,e,n,h){if(J(t)&&J(s)&&J(i)&&J(e)&&J(n)&&J(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(J(t)&&J(s)&&J(i)&&J(e)&&J(n)&&J(h)){const o=[...this.$matrix];const r=[t,s,i,e,n,h];if(this.$emit(Z,{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])}}Yt.$name=p;Yt.$version="2.0.0";var _t=`: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=_t;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,K,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,K,this.$onCanvasChange);this.$onCanvasChange=null}}super.disconnectedCallback()}$change(t,s,i=this.width,e=this.height){if(!J(t)||!J(s)||!J(i)||!J(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(Q(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(K,{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(Q(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(Q(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(K,{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(K,{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(!Q(c)&&e.shiftKey){c=Q(r)&&Q(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=Q(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(J(s)&&J(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||!J(t)||!J(s)||!J(i)||!J(e)||i<0||e<0){return this}if(Q(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(K,{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)&&(Q(t.width)||Q(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 Kt 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)}}}Kt.$name=u;Kt.$version="2.0.0";var Zt=`: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 qt extends Tt{constructor(){super(...arguments);this.$style=Zt;this.centered=false;this.slottable=false;this.themeColor="rgba(238, 238, 238, 0.5)"}static get observedAttributes(){return super.observedAttributes.concat(["centered"])}}qt.$name=f;qt.$version="2.0.0";var Gt=`:host{display:block;height:100%;overflow:hidden;position:relative;width:100%}`;const Jt=new WeakMap;const Qt=new WeakMap;const Vt=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=Gt;this.resize=es;this.selection="";this.slottable=false}set $image(t){Qt.set(this,t)}get $image(){return Qt.get(this)}set $sourceImage(t){ts.set(this,t)}get $sourceImage(){return ts.get(this)}set $canvas(t){Jt.set(this,t)}get $canvas(){return Jt.get(this)}set $selection(t){Vt.set(this,t)}get $selection(){return Vt.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,K,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,Z,this.$onSourceImageTransform)}}this.$render()}}disconnectedCallback(){const{$selection:t,$sourceImage:s}=this;if(t&&this.$onSelectionChange){lt(t,K,this.$onSelectionChange);this.$onSelectionChange=null}if(s&&this.$onSourceImageLoad){lt(s.$image,D,this.$onSourceImageLoad);this.$onSourceImageLoad=null}if(s&&this.$onSourceImageTransform){lt(s,Z,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();qt.$define();Kt.$define();Lt.$define();Yt.$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=os;const as=class{constructor(i){t(this,i);this.valueChange=s(this,"valueChange",3);this.variant="user";this.value=undefined;this.returnType="base64";this._loaded=false;this._currentScale=0}valueChange;_imageRef;_selectionRef;_maxScale=0;_minScale=0;_resizeDebounceTimeout;_toCanvasDebounceTimeout;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:"3e5aae3ee38ef7916782f0ef6b798a2e1c7bcb1f",class:"p-cropper"},this._loaded&&i("cropper-canvas",{key:"c6a1cda7ae28e331b54cdd28b41048493f433a73",class:"h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white",onAction:()=>this._onAction()},i("cropper-image",{key:"02e38a00de7a94ae9c0a9455204d4c552850c5f3",src:this.value,alt:"Picture",ref:t=>this._setImageRef(t),scalable:true,crossorigin:"anonymous"}),i("cropper-shade",{key:"12001865905af4564b2cf5d0ef32a31e7dbbcd36",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:"1cc692662a02f29bccc67b9cbd9e2cb83c53880a","initial-coverage":"0.7","aspect-ratio":"1",ref:t=>this._selectionRef=t}),i("cropper-handle",{key:"a782e50ae9a931de6ccd70591310092cc8d01e4b",action:"move",plain:true})),i("div",{key:"d88de6e6012701e12fd7ffa0b856db55a27e1a5d",class:"flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1"},i("p-icon",{key:"3a0fa3ac2d8e44022370a25fff6c64ce9f09c523",variant:"minus"}),i("input",{key:"0d4f8e6d028c44af3ee9e68b8bb90f4d5f6b20e9",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:"04f4ccffda0c52298d6e85cd3ec1093a3b1bccfd",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)}};as.style=rs;export{as as p_cropper};
3
- //# sourceMappingURL=p-3e2708de.entry.js.map
2
+ /*! Cropper.js v2.0.0 | (c) 2015-present Chen Fengyuan | MIT */It.$define();qt.$define();Kt.$define();Lt.$define();Yt.$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=os;const as=class{constructor(i){t(this,i);this.valueChange=s(this,"valueChange",3);this.variant="user";this.value=undefined;this.returnType="base64";this._loaded=false;this._currentScale=0}valueChange;_imageRef;_selectionRef;_maxScale=0;_minScale=0;_resizeDebounceTimeout;_toCanvasDebounceTimeout;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:"c7ca3f48d21b7925b17f42ef5efeb66ceb814884",class:"p-cropper"},this._loaded&&i("cropper-canvas",{key:"adf2a4302c2c7170924c5b433b8841964360f3ea",class:"h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white",onAction:()=>this._onAction()},i("cropper-image",{key:"d74a8a67b80699f6ffc16bb69ff55728bada0528",src:this.value,alt:"Picture",ref:t=>this._setImageRef(t),scalable:true,crossorigin:"anonymous"}),i("cropper-shade",{key:"6a5b34376058b7e086e3061c5473da98f7ef64e9",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:"0f9d377be79c0077dfa219f129cc063d9ab50356","initial-coverage":"0.7","aspect-ratio":"1",ref:t=>this._selectionRef=t}),i("cropper-handle",{key:"a58b78d26eb5ef59af523d9a656b96353d35011d",action:"move",plain:true})),i("div",{key:"b3875252e85fa6c03f3b37b506a2671d08716046",class:"flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1"},i("p-icon",{key:"ee09baf9f32e2740e7edab92b52a36c7d1ea34a3",variant:"minus"}),i("input",{key:"f02aeb58fec43835d116750c919bc320d5c55bbf",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:"653559c8eaeaa0ae0a677d1c3756b1439e45fcd9",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)}};as.style=rs;export{as as p_cropper};
3
+ //# sourceMappingURL=p-657c6b98.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as r,H as e}from"./p-45ded510.js";const i=".px-4{padding-left:1rem!important;padding-right:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}p-card-body{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;padding:1.5rem 1rem}p-card-body[inherit-text]{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.static{position:static!important}";const o=i;const a=class{constructor(r){t(this,r);this.inheritText=false}render(){return r(e,{key:"1dbc2b9e3ac0d4fda5377e9202aaf2067f00e74c",class:"p-card-body"},r("slot",{key:"4cb381af1c2dcc62ec34c944cd754b0bae654c71"}))}};a.style=o;export{a as p_card_body};
2
- //# sourceMappingURL=p-f05bf2d2.entry.js.map
1
+ import{r as t,h as r,H as i}from"./p-45ded510.js";const e=".px-4{padding-left:1rem!important;padding-right:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}p-card-body{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;padding:1.5rem 1rem}p-card-body[inherit-text]{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.static{position:static!important}";const o=e;const a=class{constructor(r){t(this,r);this.inheritText=false}render(){return r(i,{key:"9e023b21f0334a7e53b5ff13cbe2c0cd58068a18",class:"p-card-body"},r("slot",{key:"088ca18c6d07ff009c9c2a287a343851124fd7d3"}))}};a.style=o;export{a as p_card_body};
2
+ //# sourceMappingURL=p-691c6f90.entry.js.map
@@ -0,0 +1,2 @@
1
+ import{r,h as t,H as a}from"./p-45ded510.js";import{c as o}from"./p-8a5b8196.js";import"./p-8a1a6e56.js";const e="*{box-sizing:border-box}.static{position:static!important}.z-10{z-index:10!important}.flex{display:flex!important}.max-h-\\[11\\.5rem\\]{max-height:11.5rem!important}.max-h-\\[13\\.875rem\\]{max-height:13.875rem!important}.max-h-\\[20rem\\]{max-height:20rem!important}.w-auto{width:auto!important}.w-full{width:100%!important}.max-w-\\[13\\.875rem\\]{max-width:13.875rem!important}.flex-col{flex-direction:column!important}.gap-\\[1px\\]{gap:1px!important}.overflow-y-auto{overflow-y:auto!important}.overflow-x-hidden{overflow-x:hidden!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-dark-teal-600{--tw-border-opacity:1!important;border-color:rgb(0 72 64/var(--tw-border-opacity,1))!important}.bg-dark-teal-600{--tw-bg-opacity:1!important;background-color:rgb(0 72 64/var(--tw-bg-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.p-1{padding:.25rem!important}.drop-shadow-2{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.04)) drop-shadow(0 2px 2px rgba(0,2,2,.04)) drop-shadow(0 4px 4px rgba(0,2,2,.04))!important}.drop-shadow-2,.drop-shadow-3{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important}";const d=e;const i=o(["p-dropdown-menu-container","p-1","rounded-lg z-10","border"],{variants:{variant:{default:"bg-white border-black-teal-100 drop-shadow-2","dark-teal":"bg-dark-teal-600 drop-shadow-3 border-dark-teal-600"},fullWidth:{false:null,true:"w-full"},allowOverflow:{false:"overflow-y-auto overflow-x-hidden",true:null},scrollable:{none:null,default:"max-h-[11.5rem]",large:"max-h-[13.875rem]",xlarge:"max-h-[20rem]"},maxWidth:{false:null,true:"w-auto max-w-[13.875rem]"}}});const p=class{constructor(t){r(this,t);this.variant="default";this.maxWidth=true;this.class=undefined;this.fullWidth=true;this.allowOverflow=false;this.scrollable=false}render(){const r=this.scrollable===false?"none":this.scrollable===true?"default":this.scrollable;return t(a,{key:"04e1181dd9274ed1668002ddf4f63e4739cf5282",class:i({class:this.class,variant:this.variant,fullWidth:this.fullWidth,allowOverflow:this.allowOverflow,scrollable:r,maxWidth:this.maxWidth})},t("div",{key:"a8c270e32fd7b89953e923e99574d561e3bfdb21",class:"flex w-full flex-col gap-[1px]"},t("slot",{key:"520a112ce75a4dad3fafbbe233db1b87344bf480"})))}};p.style=d;export{p as p_dropdown_menu_container};
2
+ //# sourceMappingURL=p-711bb72e.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["dropdownMenuContainerComponentCss","PDropdownMenuContainerStyle0","dropdownMenuContainer","cva","variants","variant","default","fullWidth","false","true","allowOverflow","scrollable","none","large","xlarge","maxWidth","DropdownMenuContainer","render","this","h","Host","key","class"],"sources":["src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css?tag=p-dropdown-menu-container","src/components/atoms/dropdown-menu-container/dropdown-menu-container.component.tsx"],"sourcesContent":[null,"import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuContainer = cva(\n\t['p-dropdown-menu-container', 'p-1', 'rounded-lg z-10', 'border'],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: 'bg-white border-black-teal-100 drop-shadow-2',\n\t\t\t\t'dark-teal': 'bg-dark-teal-600 drop-shadow-3 border-dark-teal-600',\n\t\t\t},\n\t\t\tfullWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-full',\n\t\t\t},\n\t\t\tallowOverflow: {\n\t\t\t\tfalse: 'overflow-y-auto overflow-x-hidden',\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tscrollable: {\n\t\t\t\tnone: null,\n\t\t\t\tdefault: 'max-h-[11.5rem]',\n\t\t\t\tlarge: 'max-h-[13.875rem]',\n\t\t\t\txlarge: 'max-h-[20rem]',\n\t\t\t},\n\t\t\tmaxWidth: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: 'w-auto max-w-[13.875rem]',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-dropdown-menu-container',\n\tstyleUrl: 'dropdown-menu-container.component.css',\n})\nexport class DropdownMenuContainer {\n\t/**\n\t * The variant of the container\n\t */\n\t@Prop() variant: 'default' | 'dark-teal' = 'default';\n\n\t/**\n\t * Wether the container applies it's max width\n\t */\n\t@Prop() maxWidth: boolean = true;\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Wether the container should all available space\n\t */\n\t@Prop() fullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' | 'xlarge' = false;\n\n\trender() {\n\t\tconst scrollable =\n\t\t\tthis.scrollable === false\n\t\t\t\t? 'none'\n\t\t\t\t: this.scrollable === true\n\t\t\t\t? 'default'\n\t\t\t\t: this.scrollable;\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuContainer({\n\t\t\t\t\tclass: this.class,\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tfullWidth: this.fullWidth,\n\t\t\t\t\tallowOverflow: this.allowOverflow,\n\t\t\t\t\tscrollable,\n\t\t\t\t\tmaxWidth: this.maxWidth,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<div class='flex w-full flex-col gap-[1px]'>\n\t\t\t\t\t<slot />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"mappings":"yGAAA,MAAMA,EAAoC,4mDAC1C,MAAAC,EAAeD,ECEf,MAAME,EAAwBC,EAC7B,CAAC,4BAA6B,MAAO,kBAAmB,UACxD,CACCC,SAAU,CACTC,QAAS,CACRC,QAAS,+CACT,YAAa,uDAEdC,UAAW,CACVC,MAAO,KACPC,KAAM,UAEPC,cAAe,CACdF,MAAO,oCACPC,KAAM,MAEPE,WAAY,CACXC,KAAM,KACNN,QAAS,kBACTO,MAAO,oBACPC,OAAQ,iBAETC,SAAU,CACTP,MAAO,KACPC,KAAM,+B,MAUGO,EAAqB,M,sCAIU,U,cAKf,K,oCAUC,K,mBAKI,M,gBAK8B,K,CAE/D,MAAAC,GACC,MAAMN,EACLO,KAAKP,aAAe,MACjB,OACAO,KAAKP,aAAe,KACpB,UACAO,KAAKP,WAET,OACCQ,EAACC,EAAI,CAAAC,IAAA,2CACJC,MAAOpB,EAAsB,CAC5BoB,MAAOJ,KAAKI,MACZjB,QAASa,KAAKb,QACdE,UAAWW,KAAKX,UAChBG,cAAeQ,KAAKR,cACpBC,aACAI,SAAUG,KAAKH,YAGhBI,EAAA,OAAAE,IAAA,2CAAKC,MAAM,kCACVH,EAAA,QAAAE,IAAA,8C","ignoreList":[]}
@@ -1,2 +1,2 @@
1
- import{r as t,h as o,H as r}from"./p-45ded510.js";const i=".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{animation-duration:.5s!important;transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1);background-color:rgb(218 230 240/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static!important}";const a=i;const n=class{constructor(o){t(this,o);this.active=false;this.direction="horizontal"}render(){return o(r,{key:"a92797d409afb13452d2e973fc0ad35e7d5e6dee",class:"p-stepper-line"})}};n.style=a;export{n as p_stepper_line};
2
- //# sourceMappingURL=p-8f4a3d49.entry.js.map
1
+ import{r as t,h as o,H as r}from"./p-45ded510.js";const i=".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{animation-duration:.5s!important;transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1);background-color:rgb(218 230 240/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static!important}";const a=i;const n=class{constructor(o){t(this,o);this.active=false;this.direction="horizontal"}render(){return o(r,{key:"1f10907cd345fbd5beda9a9d022426dbeb1d769d",class:"p-stepper-line"})}};n.style=a;export{n as p_stepper_line};
2
+ //# sourceMappingURL=p-7a83597a.entry.js.map
@@ -1,2 +1,2 @@
1
- import{r as t,h as e,H as i}from"./p-45ded510.js";import{c as a}from"./p-8a5b8196.js";import{c as o}from"./p-9ab34fee.js";import"./p-8a1a6e56.js";const r="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-100{--tw-bg-opacity:1!important;background-color:rgb(255 246 194/var(--tw-bg-opacity,1))!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-positive-green-100{--tw-bg-opacity:1!important;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-white-700{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-dark-teal-800{--tw-text-opacity:1!important;color:rgb(1 37 33/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.text-positive-green-800{--tw-text-opacity:1!important;color:rgb(47 100 7/var(--tw-text-opacity,1))!important}.text-supportive-lilac-900{--tw-text-opacity:1!important;color:rgb(80 9 179/var(--tw-text-opacity,1))!important}@media (min-width:64rem){.desktop-xs\\:block{display:block!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:py-0{padding-bottom:0!important;padding-top:0!important}}";const p=r;const n=a(["flex items-center justify-center gap-2","h-6 rounded-full"],{variants:{variant:{positive:"bg-positive-green-100 text-positive-green-800",biased:"bg-amber-100 text-amber-800",negative:"bg-negative-red-100 text-negative-red-800",neutral:"bg-supportive-lilac-100 text-supportive-lilac-900",unavailable:"bg-white-700 text-dark-teal-800"},iconOnly:{false:"px-2",true:"p-2 w-6"},keepMobileContent:{false:null,true:null}},compoundVariants:[{keepMobileContent:false,iconOnly:false,class:"p-2 w-6 desktop-xs:w-auto desktop-xs:py-0"}]});const s=class{constructor(e){t(this,e);this.variant="neutral";this.iconOnly=false;this.icon=undefined;this.iconFlip=undefined;this.iconRotate=undefined;this.keepMobileContent=false}render(){return e(i,{key:"04c0b2510fd1ae8cad957ee02d7d54245b7fdbb0",class:"p-label"},e("div",{key:"7dfd0871e52cef46c49f0c30e58facfa603c5d0f",class:n({variant:this.variant,iconOnly:this.iconOnly,keepMobileContent:this.keepMobileContent})},this.icon&&e("p-icon",{key:"b70587122206d6b26785cbf5e9e8219219aeb7d0",class:"flex-shrink-0",variant:this.icon,flip:this.iconFlip,rotate:this.iconRotate}),!this.iconOnly&&e("div",{key:"5426ae86e86f205b04130628923f3d53747c85d5",class:o("flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm",{hidden:!this.keepMobileContent,"desktop-xs:block":!this.keepMobileContent})},e("slot",{key:"62413d44b71c12291cb13997e839774d2b047fdd"}))))}};s.style=p;export{s as p_label};
2
- //# sourceMappingURL=p-8b1a485b.entry.js.map
1
+ import{r as t,h as e,H as i}from"./p-45ded510.js";import{c as a}from"./p-8a5b8196.js";import{c as o}from"./p-9ab34fee.js";import"./p-8a1a6e56.js";const r="*{box-sizing:border-box}.static{position:static!important}.flex{display:flex!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.flex-1{flex:1 1 0%!important}.flex-shrink-0{flex-shrink:0!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-full{border-radius:9999px!important}.bg-amber-100{--tw-bg-opacity:1!important;background-color:rgb(255 246 194/var(--tw-bg-opacity,1))!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-positive-green-100{--tw-bg-opacity:1!important;background-color:rgb(213 251 199/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.bg-white-700{--tw-bg-opacity:1!important;background-color:rgb(242 242 242/var(--tw-bg-opacity,1))!important}.p-2{padding:.5rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-amber-800{--tw-text-opacity:1!important;color:rgb(148 77 11/var(--tw-text-opacity,1))!important}.text-dark-teal-800{--tw-text-opacity:1!important;color:rgb(1 37 33/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.text-positive-green-800{--tw-text-opacity:1!important;color:rgb(47 100 7/var(--tw-text-opacity,1))!important}.text-supportive-lilac-900{--tw-text-opacity:1!important;color:rgb(80 9 179/var(--tw-text-opacity,1))!important}@media (min-width:64rem){.desktop-xs\\:block{display:block!important}.desktop-xs\\:w-auto{width:auto!important}.desktop-xs\\:py-0{padding-bottom:0!important;padding-top:0!important}}";const p=r;const n=a(["flex items-center justify-center gap-2","h-6 rounded-full"],{variants:{variant:{positive:"bg-positive-green-100 text-positive-green-800",biased:"bg-amber-100 text-amber-800",negative:"bg-negative-red-100 text-negative-red-800",neutral:"bg-supportive-lilac-100 text-supportive-lilac-900",unavailable:"bg-white-700 text-dark-teal-800"},iconOnly:{false:"px-2",true:"p-2 w-6"},keepMobileContent:{false:null,true:null}},compoundVariants:[{keepMobileContent:false,iconOnly:false,class:"p-2 w-6 desktop-xs:w-auto desktop-xs:py-0"}]});const s=class{constructor(e){t(this,e);this.variant="neutral";this.iconOnly=false;this.icon=undefined;this.iconFlip=undefined;this.iconRotate=undefined;this.keepMobileContent=false}render(){return e(i,{key:"f1dbab04a321adb28cd47e777cc47ef3e6e7f770",class:"p-label"},e("div",{key:"b1bb0deb6c4fd2055450f30b30e85bba3edd8acc",class:n({variant:this.variant,iconOnly:this.iconOnly,keepMobileContent:this.keepMobileContent})},this.icon&&e("p-icon",{key:"8bc53a171591d529cf9f2608192749c9c6d7c48d",class:"flex-shrink-0",variant:this.icon,flip:this.iconFlip,rotate:this.iconRotate}),!this.iconOnly&&e("div",{key:"cace3296ad188e08576a9bf145663a9b457901bd",class:o("flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-sm",{hidden:!this.keepMobileContent,"desktop-xs:block":!this.keepMobileContent})},e("slot",{key:"a449801a77365afd4ecf916434b3a889dea315ee"}))))}};s.style=p;export{s as p_label};
2
+ //# sourceMappingURL=p-7ad7c0d1.entry.js.map