@paperless/core 2.0.1-beta.2 → 2.0.1-beta.21

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 (1752) hide show
  1. package/CHANGELOG.md +300 -0
  2. package/dist/assets/i18n/field-container.i18n.en.json +3 -0
  3. package/dist/assets/i18n/field-container.i18n.nl.json +3 -0
  4. package/dist/build/index.esm.js +1 -1
  5. package/dist/build/index.esm.js.map +1 -1
  6. package/dist/build/p-020a97e3.entry.js +2 -0
  7. package/dist/build/p-020a97e3.entry.js.map +1 -0
  8. package/dist/build/p-036bb6f4.entry.js +2 -0
  9. package/dist/build/p-036bb6f4.entry.js.map +1 -0
  10. package/dist/build/p-0413fcd0.entry.js +2 -0
  11. package/dist/build/p-0413fcd0.entry.js.map +1 -0
  12. package/dist/build/p-0bbd4d1c.entry.js +2 -0
  13. package/dist/build/p-0bbd4d1c.entry.js.map +1 -0
  14. package/dist/build/p-0c040d86.entry.js +2 -0
  15. package/dist/build/p-0c040d86.entry.js.map +1 -0
  16. package/dist/build/p-0e1935d5.entry.js +2 -0
  17. package/dist/build/p-0e1935d5.entry.js.map +1 -0
  18. package/dist/build/p-14e63599.entry.js +2 -0
  19. package/dist/build/p-14e63599.entry.js.map +1 -0
  20. package/dist/build/p-170077a4.js +2 -0
  21. package/dist/build/p-170077a4.js.map +1 -0
  22. package/dist/build/p-1b5ec2b1.entry.js +2 -0
  23. package/dist/build/p-1b5ec2b1.entry.js.map +1 -0
  24. package/dist/build/p-1d80e042.js +2 -0
  25. package/dist/build/p-1d80e042.js.map +1 -0
  26. package/dist/build/p-1ed4a75e.entry.js +3 -0
  27. package/dist/build/p-1ed4a75e.entry.js.map +1 -0
  28. package/dist/build/p-1f464c93.entry.js +2 -0
  29. package/dist/build/p-1f464c93.entry.js.map +1 -0
  30. package/dist/build/p-214a2978.entry.js +2 -0
  31. package/dist/build/p-214a2978.entry.js.map +1 -0
  32. package/dist/build/p-291573c4.entry.js +2 -0
  33. package/dist/build/p-291573c4.entry.js.map +1 -0
  34. package/dist/build/p-2bd123f4.entry.js +2 -0
  35. package/dist/build/p-2bd123f4.entry.js.map +1 -0
  36. package/dist/build/p-3a428a06.entry.js +2 -0
  37. package/dist/build/p-3a428a06.entry.js.map +1 -0
  38. package/dist/build/p-3b5242e9.entry.js +2 -0
  39. package/dist/build/p-3b5242e9.entry.js.map +1 -0
  40. package/dist/build/p-3b8209bc.js +2 -0
  41. package/dist/build/p-3b8209bc.js.map +1 -0
  42. package/dist/build/p-3e393301.entry.js +2 -0
  43. package/dist/build/p-3e393301.entry.js.map +1 -0
  44. package/dist/build/p-45ded510.js +3 -0
  45. package/dist/build/p-45ded510.js.map +1 -0
  46. package/dist/build/p-46362798.entry.js +2 -0
  47. package/dist/build/p-46362798.entry.js.map +1 -0
  48. package/dist/build/p-48efb6e4.entry.js +2 -0
  49. package/dist/build/p-48efb6e4.entry.js.map +1 -0
  50. package/dist/build/p-50134fa1.entry.js +2 -0
  51. package/dist/build/p-50134fa1.entry.js.map +1 -0
  52. package/dist/build/p-562029b4.entry.js +2 -0
  53. package/dist/build/p-562029b4.entry.js.map +1 -0
  54. package/dist/build/p-62843ca0.entry.js +2 -0
  55. package/dist/build/p-62843ca0.entry.js.map +1 -0
  56. package/dist/build/p-62b14ab7.entry.js +2 -0
  57. package/dist/build/p-62b14ab7.entry.js.map +1 -0
  58. package/dist/build/p-638d2138.entry.js +2 -0
  59. package/dist/build/p-638d2138.entry.js.map +1 -0
  60. package/dist/build/p-65d9a61f.entry.js +2 -0
  61. package/dist/build/p-65d9a61f.entry.js.map +1 -0
  62. package/dist/build/p-6d8852ca.entry.js +2 -0
  63. package/dist/build/p-6d8852ca.entry.js.map +1 -0
  64. package/dist/build/p-7aecc5f3.entry.js +2 -0
  65. package/dist/build/p-7aecc5f3.entry.js.map +1 -0
  66. package/dist/build/p-83b79ff9.js +2 -0
  67. package/dist/build/p-83b79ff9.js.map +1 -0
  68. package/dist/build/p-889eb696.js +2 -0
  69. package/dist/build/p-8a1a6e56.js.map +1 -1
  70. package/dist/build/p-8a5b8196.js.map +1 -1
  71. package/dist/build/p-958f3c09.entry.js +2 -0
  72. package/dist/build/p-958f3c09.entry.js.map +1 -0
  73. package/dist/build/p-9a613c80.entry.js +2 -0
  74. package/dist/build/p-9a613c80.entry.js.map +1 -0
  75. package/dist/build/p-9ab34fee.js +2 -0
  76. package/dist/build/p-9ab34fee.js.map +1 -0
  77. package/dist/build/p-9cac28b6.js +2 -0
  78. package/dist/build/p-9cac28b6.js.map +1 -0
  79. package/dist/build/p-a56474ea.entry.js +2 -0
  80. package/dist/build/p-a56474ea.entry.js.map +1 -0
  81. package/dist/build/p-a5934232.entry.js +2 -0
  82. package/dist/build/p-a5934232.entry.js.map +1 -0
  83. package/dist/build/p-a6ccc70e.entry.js +2 -0
  84. package/dist/build/p-a6ccc70e.entry.js.map +1 -0
  85. package/dist/build/p-adcded4d.entry.js +2 -0
  86. package/dist/build/p-adcded4d.entry.js.map +1 -0
  87. package/dist/build/p-af468e9f.entry.js +2 -0
  88. package/dist/build/p-af468e9f.entry.js.map +1 -0
  89. package/dist/build/p-b082e123.js +2 -0
  90. package/dist/build/p-b082e123.js.map +1 -0
  91. package/dist/build/p-bf261165.entry.js +2 -0
  92. package/dist/build/p-bf261165.entry.js.map +1 -0
  93. package/dist/build/p-c3ba61ac.entry.js +2 -0
  94. package/dist/build/p-c3ba61ac.entry.js.map +1 -0
  95. package/dist/build/p-c605a1c1.js +2 -0
  96. package/dist/build/p-c605a1c1.js.map +1 -0
  97. package/dist/build/p-c8e79e30.entry.js +2 -0
  98. package/dist/build/p-c8e79e30.entry.js.map +1 -0
  99. package/dist/build/p-cc3445fc.entry.js +2 -0
  100. package/dist/build/p-cc3445fc.entry.js.map +1 -0
  101. package/dist/build/p-cfe6ec9a.entry.js +2 -0
  102. package/dist/build/p-cfe6ec9a.entry.js.map +1 -0
  103. package/dist/build/p-d044f441.entry.js +2 -0
  104. package/dist/build/p-d044f441.entry.js.map +1 -0
  105. package/dist/build/p-d3878a79.entry.js +2 -0
  106. package/dist/build/p-d3878a79.entry.js.map +1 -0
  107. package/dist/build/p-d63066b0.css +1 -0
  108. package/dist/build/p-d6ca5bce.entry.js +2 -0
  109. package/dist/build/p-d6ca5bce.entry.js.map +1 -0
  110. package/dist/build/p-d70b3539.entry.js +2 -0
  111. package/dist/build/p-d70b3539.entry.js.map +1 -0
  112. package/dist/build/p-d8eb3b7b.entry.js +2 -0
  113. package/dist/build/p-d8eb3b7b.entry.js.map +1 -0
  114. package/dist/build/p-d9d8c17c.entry.js +2 -0
  115. package/dist/build/p-d9d8c17c.entry.js.map +1 -0
  116. package/dist/build/p-d9fae6bd.entry.js +2 -0
  117. package/dist/build/p-d9fae6bd.entry.js.map +1 -0
  118. package/dist/build/p-da7b6f2c.js.map +1 -1
  119. package/dist/build/p-de74e07c.js +2 -0
  120. package/dist/build/p-de74e07c.js.map +1 -0
  121. package/dist/build/p-dfce711d.entry.js +2 -0
  122. package/dist/build/p-dfce711d.entry.js.map +1 -0
  123. package/dist/build/p-e1255160.js +2 -0
  124. package/dist/build/p-e1255160.js.map +1 -0
  125. package/dist/build/p-e15305dc.entry.js +2 -0
  126. package/dist/build/p-e15305dc.entry.js.map +1 -0
  127. package/dist/build/p-ea577bae.entry.js +2 -0
  128. package/dist/build/p-ea577bae.entry.js.map +1 -0
  129. package/dist/build/p-eec56c71.entry.js +2 -0
  130. package/dist/build/p-eec56c71.entry.js.map +1 -0
  131. package/dist/build/p-f26a3049.js +2 -0
  132. package/dist/build/p-f26a3049.js.map +1 -0
  133. package/dist/build/p-f3d0ea94.entry.js +2 -0
  134. package/dist/build/p-f3d0ea94.entry.js.map +1 -0
  135. package/dist/build/p-f40f89a7.entry.js +2 -0
  136. package/dist/build/p-f40f89a7.entry.js.map +1 -0
  137. package/dist/build/p-fd53acd3.entry.js +2 -0
  138. package/dist/build/p-fd53acd3.entry.js.map +1 -0
  139. package/dist/build/p-fdf020c9.entry.js +2 -0
  140. package/dist/build/p-fdf020c9.entry.js.map +1 -0
  141. package/dist/build/p-fe66cde8.js +2 -0
  142. package/dist/build/p-fe66cde8.js.map +1 -0
  143. package/dist/build/paperless.css +1 -1
  144. package/dist/build/paperless.esm.js +1 -1
  145. package/dist/build/paperless.esm.js.map +1 -1
  146. package/dist/build/paperless.js +24 -24
  147. package/dist/cjs/app-globals-3a1e7e63.js +7 -0
  148. package/dist/cjs/app-globals-3a1e7e63.js.map +1 -0
  149. package/dist/cjs/child-of-8fbd3ebe.js +11 -0
  150. package/dist/cjs/child-of-8fbd3ebe.js.map +1 -0
  151. package/dist/cjs/cn-b70f9965.js +2818 -0
  152. package/dist/cjs/cn-b70f9965.js.map +1 -0
  153. package/dist/cjs/floating-ui.dom.esm-ef421825.js +2072 -0
  154. package/dist/cjs/floating-ui.dom.esm-ef421825.js.map +1 -0
  155. package/dist/cjs/iban-ab94c561.js +16 -0
  156. package/dist/cjs/iban-ab94c561.js.map +1 -0
  157. package/dist/cjs/icons-10aa18f0.js +1549 -0
  158. package/dist/cjs/icons-10aa18f0.js.map +1 -0
  159. package/dist/cjs/icons-deprecated-4c476f5a.js +1123 -0
  160. package/dist/cjs/icons-deprecated-4c476f5a.js.map +1 -0
  161. package/dist/cjs/index-08db8a87.js +2333 -0
  162. package/dist/cjs/index-08db8a87.js.map +1 -0
  163. package/dist/cjs/index-3f9bbc0c.js +2359 -0
  164. package/dist/cjs/index-3f9bbc0c.js.map +1 -0
  165. package/dist/cjs/index.cjs.js +484 -500
  166. package/dist/cjs/index.cjs.js.map +1 -1
  167. package/dist/cjs/loader.cjs.js +5 -3
  168. package/dist/cjs/loader.cjs.js.map +1 -1
  169. package/dist/cjs/localization-3a0a71db.js +61 -0
  170. package/dist/cjs/localization-3a0a71db.js.map +1 -0
  171. package/dist/cjs/nonce-0feefc04.js +17 -0
  172. package/dist/cjs/nonce-0feefc04.js.map +1 -0
  173. package/dist/cjs/object-get-by-path-49caea95.js +130 -0
  174. package/dist/cjs/object-get-by-path-49caea95.js.map +1 -0
  175. package/dist/cjs/p-accordion.cjs.entry.js +26 -21
  176. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
  177. package/dist/cjs/p-attachment.cjs.entry.js +28 -20
  178. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  179. package/dist/cjs/p-avatar-group.cjs.entry.js +10 -9
  180. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
  181. package/dist/cjs/p-avatar.cjs.entry.js +46 -45
  182. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  183. package/dist/cjs/p-backdrop.cjs.entry.js +73 -68
  184. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  185. package/dist/cjs/p-badge.cjs.entry.js +9 -8
  186. package/dist/cjs/p-badge.cjs.entry.js.map +1 -1
  187. package/dist/cjs/p-button-group.cjs.entry.js +33 -33
  188. package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
  189. package/dist/cjs/p-button_3.cjs.entry.js +404 -322
  190. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  191. package/dist/cjs/p-calendar.cjs.entry.js +351 -297
  192. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  193. package/dist/cjs/p-card-body.cjs.entry.js +10 -9
  194. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
  195. package/dist/cjs/p-card-container.cjs.entry.js +11 -10
  196. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  197. package/dist/cjs/p-card-header.cjs.entry.js +21 -21
  198. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
  199. package/dist/cjs/p-checkbox_3.cjs.entry.js +444 -0
  200. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -0
  201. package/dist/cjs/p-content-slider.cjs.entry.js +205 -199
  202. package/dist/cjs/p-content-slider.cjs.entry.js.map +1 -1
  203. package/dist/cjs/p-counter.cjs.entry.js +11 -10
  204. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  205. package/dist/cjs/p-cropper.cjs.entry.js +404 -265
  206. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  207. package/dist/cjs/p-datepicker.cjs.entry.js +283 -306
  208. package/dist/cjs/p-datepicker.cjs.entry.js.map +1 -1
  209. package/dist/cjs/p-divider.cjs.entry.js +12 -12
  210. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  211. package/dist/cjs/p-drawer-body_3.cjs.entry.js +33 -26
  212. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  213. package/dist/cjs/p-drawer.cjs.entry.js +66 -58
  214. package/dist/cjs/p-drawer.cjs.entry.js.map +1 -1
  215. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +48 -47
  216. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  217. package/dist/cjs/p-field_3.cjs.entry.js +316 -0
  218. package/dist/cjs/p-field_3.cjs.entry.js.map +1 -0
  219. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +263 -211
  220. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  221. package/dist/cjs/p-iban-icon.cjs.entry.js +33 -34
  222. package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -1
  223. package/dist/cjs/p-icon-deprecated.cjs.entry.js +49 -48
  224. package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -1
  225. package/dist/cjs/p-info-panel.cjs.entry.js +23 -18
  226. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
  227. package/dist/cjs/p-input-error.cjs.entry.js +21 -0
  228. package/dist/cjs/p-input-error.cjs.entry.js.map +1 -0
  229. package/dist/cjs/p-label_3.cjs.entry.js +50 -47
  230. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
  231. package/dist/cjs/p-layout.cjs.entry.js +10 -9
  232. package/dist/cjs/p-layout.cjs.entry.js.map +1 -1
  233. package/dist/cjs/p-modal-body_4.cjs.entry.js +51 -43
  234. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  235. package/dist/cjs/p-modal.cjs.entry.js +59 -52
  236. package/dist/cjs/p-modal.cjs.entry.js.map +1 -1
  237. package/dist/cjs/p-navbar.cjs.entry.js +45 -45
  238. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  239. package/dist/cjs/p-navigation-item.cjs.entry.js +45 -40
  240. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  241. package/dist/cjs/p-navigation-section.cjs.entry.js +23 -0
  242. package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -0
  243. package/dist/cjs/p-navigation-title.cjs.entry.js +9 -8
  244. package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -1
  245. package/dist/cjs/p-page-size-select_3.cjs.entry.js +203 -195
  246. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
  247. package/dist/cjs/p-portal_2.cjs.entry.js +233 -0
  248. package/dist/cjs/p-portal_2.cjs.entry.js.map +1 -0
  249. package/dist/cjs/p-profile.cjs.entry.js +48 -47
  250. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  251. package/dist/cjs/p-radio.cjs.entry.js +102 -0
  252. package/dist/cjs/p-radio.cjs.entry.js.map +1 -0
  253. package/dist/cjs/p-select.cjs.entry.js +418 -370
  254. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  255. package/dist/cjs/p-slider-indicator.cjs.entry.js +10 -9
  256. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
  257. package/dist/cjs/p-status.cjs.entry.js +37 -36
  258. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  259. package/dist/cjs/p-stepper-item.cjs.entry.js +14 -13
  260. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  261. package/dist/cjs/p-stepper-line.cjs.entry.js +11 -10
  262. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  263. package/dist/cjs/p-stepper.cjs.entry.js +91 -90
  264. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  265. package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
  266. package/dist/cjs/p-tab-group.cjs.entry.js.map +1 -1
  267. package/dist/cjs/p-tab-item.cjs.entry.js +10 -9
  268. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
  269. package/dist/cjs/p-table-column.cjs.entry.js +24 -20
  270. package/dist/cjs/p-table-column.cjs.entry.js.map +1 -1
  271. package/dist/cjs/p-table-row-action.cjs.entry.js +17 -17
  272. package/dist/cjs/p-table-row-action.cjs.entry.js.map +1 -1
  273. package/dist/cjs/p-table.cjs.entry.js +583 -542
  274. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  275. package/dist/cjs/p-toast-container.cjs.entry.js +10 -9
  276. package/dist/cjs/p-toast-container.cjs.entry.js.map +1 -1
  277. package/dist/cjs/p-toast.cjs.entry.js +25 -21
  278. package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
  279. package/dist/cjs/p-toggle.cjs.entry.js +148 -0
  280. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -0
  281. package/dist/cjs/paperless.cjs.js +13 -11
  282. package/dist/cjs/paperless.cjs.js.map +1 -1
  283. package/dist/cjs/screens-e5439aeb.js +67 -0
  284. package/dist/cjs/screens-e5439aeb.js.map +1 -0
  285. package/dist/collection/collection-manifest.json +9 -3
  286. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
  287. package/dist/collection/components/atoms/avatar/avatar.component.js +142 -135
  288. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  289. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +40 -38
  290. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
  291. package/dist/collection/components/atoms/backdrop/backdrop.component.js +217 -199
  292. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  293. package/dist/collection/components/atoms/badge/badge.component.js +14 -14
  294. package/dist/collection/components/atoms/badge/badge.component.js.map +1 -1
  295. package/dist/collection/components/atoms/card-body/card-body.component.js +41 -39
  296. package/dist/collection/components/atoms/card-body/card-body.component.js.map +1 -1
  297. package/dist/collection/components/atoms/card-container/card-container.component.js +63 -59
  298. package/dist/collection/components/atoms/card-container/card-container.component.js.map +1 -1
  299. package/dist/collection/components/atoms/card-header/card-header.component.js +75 -68
  300. package/dist/collection/components/atoms/card-header/card-header.component.js.map +1 -1
  301. package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -0
  302. package/dist/collection/components/atoms/checkbox/checkbox.component.js +283 -0
  303. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -0
  304. package/dist/collection/components/atoms/counter/counter.component.js +63 -59
  305. package/dist/collection/components/atoms/counter/counter.component.js.map +1 -1
  306. package/dist/collection/components/atoms/divider/divider.component.js +48 -43
  307. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  308. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +42 -40
  309. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js.map +1 -1
  310. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +41 -39
  311. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js.map +1 -1
  312. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +68 -62
  313. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
  314. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +157 -147
  315. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  316. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  317. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +286 -181
  318. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  319. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +42 -40
  320. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js.map +1 -1
  321. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +63 -59
  322. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js.map +1 -1
  323. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  324. package/dist/collection/components/atoms/helper/helper.component.js +74 -70
  325. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  326. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +79 -76
  327. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -1
  328. package/dist/collection/components/atoms/icon/icon.component.js +149 -141
  329. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  330. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +161 -153
  331. package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -1
  332. package/dist/collection/components/atoms/illustration/illustration.component.js +36 -34
  333. package/dist/collection/components/atoms/illustration/illustration.component.js.map +1 -1
  334. package/dist/collection/components/atoms/info-panel/info-panel.component.js +134 -118
  335. package/dist/collection/components/atoms/info-panel/info-panel.component.js.map +1 -1
  336. package/dist/collection/components/atoms/label/label.component.js +204 -188
  337. package/dist/collection/components/atoms/label/label.component.js.map +1 -1
  338. package/dist/collection/components/atoms/layout/layout.component.js +42 -40
  339. package/dist/collection/components/atoms/layout/layout.component.js.map +1 -1
  340. package/dist/collection/components/atoms/loader/loader.component.js +156 -144
  341. package/dist/collection/components/atoms/loader/loader.component.js.map +1 -1
  342. package/dist/collection/components/atoms/modal-body/modal-body.component.js +105 -97
  343. package/dist/collection/components/atoms/modal-body/modal-body.component.js.map +1 -1
  344. package/dist/collection/components/atoms/modal-container/modal-container.component.js +68 -64
  345. package/dist/collection/components/atoms/modal-container/modal-container.component.js.map +1 -1
  346. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +15 -15
  347. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js.map +1 -1
  348. package/dist/collection/components/atoms/modal-header/modal-header.component.js +68 -62
  349. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
  350. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +14 -14
  351. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -1
  352. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +42 -40
  353. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js.map +1 -1
  354. package/dist/collection/components/atoms/portal/portal.component.js +23 -0
  355. package/dist/collection/components/atoms/portal/portal.component.js.map +1 -0
  356. package/dist/collection/components/atoms/radio/radio.component.css +1 -0
  357. package/dist/collection/components/atoms/radio/radio.component.js +262 -0
  358. package/dist/collection/components/atoms/radio/radio.component.js.map +1 -0
  359. package/dist/collection/components/atoms/segment-container/segment-container.component.js +14 -14
  360. package/dist/collection/components/atoms/segment-container/segment-container.component.js.map +1 -1
  361. package/dist/collection/components/atoms/segment-item/segment-item.component.js +175 -159
  362. package/dist/collection/components/atoms/segment-item/segment-item.component.js.map +1 -1
  363. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +42 -40
  364. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js.map +1 -1
  365. package/dist/collection/components/atoms/status/status.component.js +142 -134
  366. package/dist/collection/components/atoms/status/status.component.js.map +1 -1
  367. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +126 -116
  368. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js.map +1 -1
  369. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +63 -59
  370. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js.map +1 -1
  371. package/dist/collection/components/atoms/tab-group/tab-group.component.js +5 -5
  372. package/dist/collection/components/atoms/tab-group/tab-group.component.js.map +1 -1
  373. package/dist/collection/components/atoms/tab-item/tab-item.component.js +42 -40
  374. package/dist/collection/components/atoms/tab-item/tab-item.component.js.map +1 -1
  375. package/dist/collection/components/atoms/table-container/table-container.component.js +42 -40
  376. package/dist/collection/components/atoms/table-container/table-container.component.js.map +1 -1
  377. package/dist/collection/components/atoms/toast-container/toast-container.component.js +42 -40
  378. package/dist/collection/components/atoms/toast-container/toast-container.component.js.map +1 -1
  379. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -0
  380. package/dist/collection/components/atoms/toggle/toggle.component.js +321 -0
  381. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -0
  382. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  383. package/dist/collection/components/atoms/tooltip/tooltip.component.js +448 -363
  384. package/dist/collection/components/atoms/tooltip/tooltip.component.js.map +1 -1
  385. package/dist/collection/components/helpers/table-column/table-column.component.js +228 -206
  386. package/dist/collection/components/helpers/table-column/table-column.component.js.map +1 -1
  387. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +239 -219
  388. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js.map +1 -1
  389. package/dist/collection/components/molecules/accordion/accordion.component.js +133 -121
  390. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
  391. package/dist/collection/components/molecules/attachment/attachment.component.js +149 -134
  392. package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
  393. package/dist/collection/components/molecules/button/button.component.css +1 -1
  394. package/dist/collection/components/molecules/button/button.component.js +774 -622
  395. package/dist/collection/components/molecules/button/button.component.js.map +1 -1
  396. package/dist/collection/components/molecules/button-group/button-group.component.js +70 -64
  397. package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
  398. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  399. package/dist/collection/components/molecules/calendar/calendar.component.js +577 -506
  400. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
  401. package/dist/collection/components/molecules/content-slider/content-slider.component.js +309 -292
  402. package/dist/collection/components/molecules/content-slider/content-slider.component.js.map +1 -1
  403. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
  404. package/dist/collection/components/molecules/cropper/cropper.component.js +242 -228
  405. package/dist/collection/components/molecules/cropper/cropper.component.js.map +1 -1
  406. package/dist/collection/components/molecules/datepicker/datepicker.component.css +1 -1
  407. package/dist/collection/components/molecules/datepicker/datepicker.component.js +635 -582
  408. package/dist/collection/components/molecules/datepicker/datepicker.component.js.map +1 -1
  409. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  410. package/dist/collection/components/molecules/dropdown/dropdown.component.js +520 -433
  411. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  412. package/dist/collection/components/molecules/field/field.component.css +1 -0
  413. package/dist/collection/components/molecules/field/field.component.js +775 -0
  414. package/dist/collection/components/molecules/field/field.component.js.map +1 -0
  415. package/dist/collection/components/molecules/field-container/field-container.component.css +1 -0
  416. package/dist/collection/components/molecules/field-container/field-container.component.js +259 -0
  417. package/dist/collection/components/molecules/field-container/field-container.component.js.map +1 -0
  418. package/dist/collection/components/molecules/input-error/input-error.component.js +58 -54
  419. package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
  420. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  421. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +215 -160
  422. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  423. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -0
  424. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +44 -0
  425. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
  426. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +223 -201
  427. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
  428. package/dist/collection/components/molecules/pagination/pagination.component.js +265 -255
  429. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  430. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  431. package/dist/collection/components/molecules/profile/profile.component.js +97 -100
  432. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  433. package/dist/collection/components/molecules/select/select.component.css +1 -1
  434. package/dist/collection/components/molecules/select/select.component.js +1261 -1134
  435. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  436. package/dist/collection/components/molecules/stepper/stepper.component.js +175 -165
  437. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
  438. package/dist/collection/components/molecules/table-cell/table-cell.component.js +246 -225
  439. package/dist/collection/components/molecules/table-cell/table-cell.component.js.map +1 -1
  440. package/dist/collection/components/molecules/table-footer/table-footer.component.js +299 -266
  441. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  442. package/dist/collection/components/molecules/table-header/table-header.component.js +515 -463
  443. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
  444. package/dist/collection/components/molecules/table-row/table-row.component.js +65 -61
  445. package/dist/collection/components/molecules/table-row/table-row.component.js.map +1 -1
  446. package/dist/collection/components/molecules/toast/toast.component.js +212 -195
  447. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
  448. package/dist/collection/components/organisms/drawer/drawer.component.js +275 -250
  449. package/dist/collection/components/organisms/drawer/drawer.component.js.map +1 -1
  450. package/dist/collection/components/organisms/modal/modal.component.js +314 -283
  451. package/dist/collection/components/organisms/modal/modal.component.js.map +1 -1
  452. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  453. package/dist/collection/components/organisms/navbar/navbar.component.js +72 -95
  454. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  455. package/dist/collection/components/organisms/table/table.component.css +1 -1
  456. package/dist/collection/components/organisms/table/table.component.js +1718 -1586
  457. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  458. package/dist/collection/tailwind/paperless.js +33 -33
  459. package/dist/collection/tailwind/paperless.js.map +1 -1
  460. package/dist/collection/tailwind/plugins/hover.js +20 -20
  461. package/dist/collection/tailwind/plugins/hover.js.map +1 -1
  462. package/dist/collection/tailwind/plugins/safe-area.js +85 -85
  463. package/dist/collection/tailwind/plugins/safe-area.js.map +1 -1
  464. package/dist/collection/tailwind/theme/animation.js +83 -83
  465. package/dist/collection/tailwind/theme/animation.js.map +1 -1
  466. package/dist/collection/tailwind/theme/colors.js +176 -176
  467. package/dist/collection/tailwind/theme/colors.js.map +1 -1
  468. package/dist/collection/tailwind/theme/height.js +4 -4
  469. package/dist/collection/tailwind/theme/height.js.map +1 -1
  470. package/dist/collection/tailwind/theme/rotate.js +2 -2
  471. package/dist/collection/tailwind/theme/rotate.js.map +1 -1
  472. package/dist/collection/tailwind/theme/scale.js +1 -1
  473. package/dist/collection/tailwind/theme/scale.js.map +1 -1
  474. package/dist/collection/tailwind/theme/screens.js +13 -13
  475. package/dist/collection/tailwind/theme/screens.js.map +1 -1
  476. package/dist/collection/tailwind/theme/shadows.js +15 -14
  477. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  478. package/dist/collection/tailwind/theme/spacing.js +6 -6
  479. package/dist/collection/tailwind/theme/spacing.js.map +1 -1
  480. package/dist/collection/tailwind/theme/typography.js +15 -15
  481. package/dist/collection/tailwind/theme/typography.js.map +1 -1
  482. package/dist/collection/tailwind/theme/width.js +13 -13
  483. package/dist/collection/tailwind/theme/width.js.map +1 -1
  484. package/dist/collection/tailwind/theme/z-index.js +11 -11
  485. package/dist/collection/tailwind/theme/z-index.js.map +1 -1
  486. package/dist/collection/tailwind.config.js +7 -7
  487. package/dist/collection/tailwind.config.js.map +1 -1
  488. package/dist/collection/types/constants.js +7 -7
  489. package/dist/collection/types/constants.js.map +1 -1
  490. package/dist/collection/types/iban.js +8 -8
  491. package/dist/collection/types/iban.js.map +1 -1
  492. package/dist/collection/types/table.js +1 -1
  493. package/dist/collection/types/table.js.map +1 -1
  494. package/dist/collection/utils/child-of.js +3 -3
  495. package/dist/collection/utils/child-of.js.map +1 -1
  496. package/dist/collection/utils/cn.js +1 -1
  497. package/dist/collection/utils/cn.js.map +1 -1
  498. package/dist/collection/utils/icons-deprecated.js +66 -66
  499. package/dist/collection/utils/icons-deprecated.js.map +1 -1
  500. package/dist/collection/utils/icons.js +127 -127
  501. package/dist/collection/utils/icons.js.map +1 -1
  502. package/dist/collection/utils/illustrations.js +12 -12
  503. package/dist/collection/utils/illustrations.js.map +1 -1
  504. package/dist/collection/utils/localization.js +44 -45
  505. package/dist/collection/utils/localization.js.map +1 -1
  506. package/dist/collection/utils/nonce.js +12 -0
  507. package/dist/collection/utils/nonce.js.map +1 -0
  508. package/dist/collection/utils/object-get-by-path.js +6 -6
  509. package/dist/collection/utils/object-get-by-path.js.map +1 -1
  510. package/dist/collection/utils/screens.js +9 -9
  511. package/dist/collection/utils/screens.js.map +1 -1
  512. package/dist/collection/utils/table-helpers.js +96 -86
  513. package/dist/collection/utils/table-helpers.js.map +1 -1
  514. package/dist/collection/utils/transformers.js +2 -2
  515. package/dist/collection/utils/transformers.js.map +1 -1
  516. package/dist/components/avatar.component.js +66 -65
  517. package/dist/components/avatar.component.js.map +1 -1
  518. package/dist/components/backdrop.component.js +90 -85
  519. package/dist/components/backdrop.component.js.map +1 -1
  520. package/dist/components/badge.component.js +20 -19
  521. package/dist/components/badge.component.js.map +1 -1
  522. package/dist/components/button.component.js +364 -284
  523. package/dist/components/button.component.js.map +1 -1
  524. package/dist/components/calendar.component.js +435 -362
  525. package/dist/components/calendar.component.js.map +1 -1
  526. package/dist/components/checkbox.component.js +134 -0
  527. package/dist/components/checkbox.component.js.map +1 -0
  528. package/dist/components/child-of.js +3 -3
  529. package/dist/components/child-of.js.map +1 -1
  530. package/dist/components/cn.js +2816 -0
  531. package/dist/components/cn.js.map +1 -0
  532. package/dist/components/divider.component.js +26 -26
  533. package/dist/components/divider.component.js.map +1 -1
  534. package/dist/components/drawer-body.component.js +24 -23
  535. package/dist/components/drawer-body.component.js.map +1 -1
  536. package/dist/components/drawer-container.component.js +23 -22
  537. package/dist/components/drawer-container.component.js.map +1 -1
  538. package/dist/components/drawer-header.component.js +44 -39
  539. package/dist/components/drawer-header.component.js.map +1 -1
  540. package/dist/components/dropdown-menu-container.component.js +65 -64
  541. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  542. package/dist/components/dropdown-menu-item.component.js +162 -81
  543. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  544. package/dist/components/dropdown.component.js +224 -181
  545. package/dist/components/dropdown.component.js.map +1 -1
  546. package/dist/components/field-container.component.js +99 -0
  547. package/dist/components/field-container.component.js.map +1 -0
  548. package/dist/components/field.component.js +311 -0
  549. package/dist/components/field.component.js.map +1 -0
  550. package/dist/components/floating-menu-container.component.js +24 -23
  551. package/dist/components/floating-menu-container.component.js.map +1 -1
  552. package/dist/components/floating-menu-item.component.js +26 -25
  553. package/dist/components/floating-menu-item.component.js.map +1 -1
  554. package/dist/components/floating-ui.dom.esm.js +1205 -466
  555. package/dist/components/floating-ui.dom.esm.js.map +1 -1
  556. package/dist/components/helper.component.js +38 -31
  557. package/dist/components/helper.component.js.map +1 -1
  558. package/dist/components/iban.js +8 -8
  559. package/dist/components/iban.js.map +1 -1
  560. package/dist/components/icon.component.js +58 -57
  561. package/dist/components/icon.component.js.map +1 -1
  562. package/dist/components/icons-deprecated.js +66 -66
  563. package/dist/components/icons-deprecated.js.map +1 -1
  564. package/dist/components/icons.js +127 -127
  565. package/dist/components/icons.js.map +1 -1
  566. package/dist/components/illustration.component.js +34 -34
  567. package/dist/components/illustration.component.js.map +1 -1
  568. package/dist/components/index.js +477 -493
  569. package/dist/components/index.js.map +1 -1
  570. package/dist/components/input-error.component.js +43 -37
  571. package/dist/components/input-error.component.js.map +1 -1
  572. package/dist/components/label.component.js +44 -43
  573. package/dist/components/label.component.js.map +1 -1
  574. package/dist/components/loader.component.js +59 -56
  575. package/dist/components/loader.component.js.map +1 -1
  576. package/dist/components/localization.js +44 -45
  577. package/dist/components/localization.js.map +1 -1
  578. package/dist/components/modal-body.component.js +30 -29
  579. package/dist/components/modal-body.component.js.map +1 -1
  580. package/dist/components/modal-container.component.js +31 -30
  581. package/dist/components/modal-container.component.js.map +1 -1
  582. package/dist/components/modal-footer.component.js +26 -25
  583. package/dist/components/modal-footer.component.js.map +1 -1
  584. package/dist/components/modal-header.component.js +44 -39
  585. package/dist/components/modal-header.component.js.map +1 -1
  586. package/dist/components/navigation-title.component.js +32 -0
  587. package/dist/components/navigation-title.component.js.map +1 -0
  588. package/dist/components/nonce.js +15 -0
  589. package/dist/components/nonce.js.map +1 -0
  590. package/dist/components/object-get-by-path.js +103 -93
  591. package/dist/components/object-get-by-path.js.map +1 -1
  592. package/dist/components/p-accordion.d.ts +2 -2
  593. package/dist/components/p-accordion.js +53 -48
  594. package/dist/components/p-accordion.js.map +1 -1
  595. package/dist/components/p-attachment.d.ts +2 -2
  596. package/dist/components/p-attachment.js +80 -66
  597. package/dist/components/p-attachment.js.map +1 -1
  598. package/dist/components/p-avatar-group.d.ts +2 -2
  599. package/dist/components/p-avatar-group.js +23 -22
  600. package/dist/components/p-avatar-group.js.map +1 -1
  601. package/dist/components/p-avatar.d.ts +2 -2
  602. package/dist/components/p-backdrop.d.ts +2 -2
  603. package/dist/components/p-badge.d.ts +2 -2
  604. package/dist/components/p-button-group.d.ts +2 -2
  605. package/dist/components/p-button-group.js +47 -47
  606. package/dist/components/p-button-group.js.map +1 -1
  607. package/dist/components/p-button.d.ts +2 -2
  608. package/dist/components/p-calendar.d.ts +2 -2
  609. package/dist/components/p-card-body.d.ts +2 -2
  610. package/dist/components/p-card-body.js +23 -22
  611. package/dist/components/p-card-body.js.map +1 -1
  612. package/dist/components/p-card-container.d.ts +2 -2
  613. package/dist/components/p-card-container.js +26 -25
  614. package/dist/components/p-card-container.js.map +1 -1
  615. package/dist/components/p-card-header.d.ts +2 -2
  616. package/dist/components/p-card-header.js +40 -40
  617. package/dist/components/p-card-header.js.map +1 -1
  618. package/dist/components/p-checkbox.d.ts +11 -0
  619. package/dist/components/p-checkbox.js +8 -0
  620. package/dist/components/p-checkbox.js.map +1 -0
  621. package/dist/components/p-content-slider.d.ts +2 -2
  622. package/dist/components/p-content-slider.js +231 -225
  623. package/dist/components/p-content-slider.js.map +1 -1
  624. package/dist/components/p-counter.d.ts +2 -2
  625. package/dist/components/p-counter.js +26 -25
  626. package/dist/components/p-counter.js.map +1 -1
  627. package/dist/components/p-cropper.d.ts +2 -2
  628. package/dist/components/p-cropper.js +427 -288
  629. package/dist/components/p-cropper.js.map +1 -1
  630. package/dist/components/p-datepicker.d.ts +2 -2
  631. package/dist/components/p-datepicker.js +389 -394
  632. package/dist/components/p-datepicker.js.map +1 -1
  633. package/dist/components/p-divider.d.ts +2 -2
  634. package/dist/components/p-drawer-body.d.ts +2 -2
  635. package/dist/components/p-drawer-container.d.ts +2 -2
  636. package/dist/components/p-drawer-header.d.ts +2 -2
  637. package/dist/components/p-drawer.d.ts +2 -2
  638. package/dist/components/p-drawer.js +122 -114
  639. package/dist/components/p-drawer.js.map +1 -1
  640. package/dist/components/p-dropdown-menu-container.d.ts +2 -2
  641. package/dist/components/p-dropdown-menu-item.d.ts +2 -2
  642. package/dist/components/p-dropdown.d.ts +2 -2
  643. package/dist/components/p-field-container.d.ts +11 -0
  644. package/dist/components/p-field-container.js +8 -0
  645. package/dist/components/p-field-container.js.map +1 -0
  646. package/dist/components/p-field.d.ts +11 -0
  647. package/dist/components/p-field.js +8 -0
  648. package/dist/components/p-field.js.map +1 -0
  649. package/dist/components/p-floating-menu-container.d.ts +2 -2
  650. package/dist/components/p-floating-menu-item.d.ts +2 -2
  651. package/dist/components/p-helper.d.ts +2 -2
  652. package/dist/components/p-iban-icon.d.ts +2 -2
  653. package/dist/components/p-iban-icon.js +47 -48
  654. package/dist/components/p-iban-icon.js.map +1 -1
  655. package/dist/components/p-icon-deprecated.d.ts +2 -2
  656. package/dist/components/p-icon-deprecated.js +64 -63
  657. package/dist/components/p-icon-deprecated.js.map +1 -1
  658. package/dist/components/p-icon.d.ts +2 -2
  659. package/dist/components/p-illustration.d.ts +2 -2
  660. package/dist/components/p-info-panel.d.ts +2 -2
  661. package/dist/components/p-info-panel.js +45 -40
  662. package/dist/components/p-info-panel.js.map +1 -1
  663. package/dist/components/p-input-error.d.ts +2 -2
  664. package/dist/components/p-label.d.ts +2 -2
  665. package/dist/components/p-layout.d.ts +2 -2
  666. package/dist/components/p-layout.js +24 -23
  667. package/dist/components/p-layout.js.map +1 -1
  668. package/dist/components/p-loader.d.ts +2 -2
  669. package/dist/components/p-modal-body.d.ts +2 -2
  670. package/dist/components/p-modal-container.d.ts +2 -2
  671. package/dist/components/p-modal-footer.d.ts +2 -2
  672. package/dist/components/p-modal-header.d.ts +2 -2
  673. package/dist/components/p-modal.d.ts +2 -2
  674. package/dist/components/p-modal.js +128 -121
  675. package/dist/components/p-modal.js.map +1 -1
  676. package/dist/components/p-navbar.d.ts +2 -2
  677. package/dist/components/p-navbar.js +79 -80
  678. package/dist/components/p-navbar.js.map +1 -1
  679. package/dist/components/p-navigation-item.d.ts +2 -2
  680. package/dist/components/p-navigation-item.js +83 -70
  681. package/dist/components/p-navigation-item.js.map +1 -1
  682. package/dist/components/p-navigation-section.d.ts +11 -0
  683. package/dist/components/p-navigation-section.js +44 -0
  684. package/dist/components/p-navigation-section.js.map +1 -0
  685. package/dist/components/p-navigation-title.d.ts +2 -2
  686. package/dist/components/p-navigation-title.js +1 -27
  687. package/dist/components/p-navigation-title.js.map +1 -1
  688. package/dist/components/p-page-size-select.d.ts +2 -2
  689. package/dist/components/p-pagination-item.d.ts +2 -2
  690. package/dist/components/p-pagination.d.ts +2 -2
  691. package/dist/components/p-portal.d.ts +11 -0
  692. package/dist/components/p-portal.js +8 -0
  693. package/dist/components/p-portal.js.map +1 -0
  694. package/dist/components/p-profile.d.ts +2 -2
  695. package/dist/components/p-profile.js +98 -80
  696. package/dist/components/p-profile.js.map +1 -1
  697. package/dist/components/p-radio.d.ts +11 -0
  698. package/dist/components/p-radio.js +123 -0
  699. package/dist/components/p-radio.js.map +1 -0
  700. package/dist/components/p-segment-container.d.ts +2 -2
  701. package/dist/components/p-segment-item.d.ts +2 -2
  702. package/dist/components/p-select.d.ts +2 -2
  703. package/dist/components/p-select.js +552 -487
  704. package/dist/components/p-select.js.map +1 -1
  705. package/dist/components/p-slider-indicator.d.ts +2 -2
  706. package/dist/components/p-status.d.ts +2 -2
  707. package/dist/components/p-status.js +58 -57
  708. package/dist/components/p-status.js.map +1 -1
  709. package/dist/components/p-stepper-item.d.ts +2 -2
  710. package/dist/components/p-stepper-item.js +37 -36
  711. package/dist/components/p-stepper-item.js.map +1 -1
  712. package/dist/components/p-stepper-line.d.ts +2 -2
  713. package/dist/components/p-stepper.d.ts +2 -2
  714. package/dist/components/p-stepper.js +115 -114
  715. package/dist/components/p-stepper.js.map +1 -1
  716. package/dist/components/p-tab-group.d.ts +2 -2
  717. package/dist/components/p-tab-group.js +24 -24
  718. package/dist/components/p-tab-group.js.map +1 -1
  719. package/dist/components/p-tab-item.d.ts +2 -2
  720. package/dist/components/p-tab-item.js +24 -23
  721. package/dist/components/p-tab-item.js.map +1 -1
  722. package/dist/components/p-table-cell.d.ts +2 -2
  723. package/dist/components/p-table-column.d.ts +2 -2
  724. package/dist/components/p-table-column.js +45 -41
  725. package/dist/components/p-table-column.js.map +1 -1
  726. package/dist/components/p-table-container.d.ts +2 -2
  727. package/dist/components/p-table-footer.d.ts +2 -2
  728. package/dist/components/p-table-header.d.ts +2 -2
  729. package/dist/components/p-table-row-action.d.ts +2 -2
  730. package/dist/components/p-table-row-action.js +39 -39
  731. package/dist/components/p-table-row-action.js.map +1 -1
  732. package/dist/components/p-table-row.d.ts +2 -2
  733. package/dist/components/p-table.d.ts +2 -2
  734. package/dist/components/p-table.js +802 -750
  735. package/dist/components/p-table.js.map +1 -1
  736. package/dist/components/p-toast-container.d.ts +2 -2
  737. package/dist/components/p-toast-container.js +24 -23
  738. package/dist/components/p-toast-container.js.map +1 -1
  739. package/dist/components/p-toast.d.ts +2 -2
  740. package/dist/components/p-toast.js +60 -56
  741. package/dist/components/p-toast.js.map +1 -1
  742. package/dist/components/p-toggle.d.ts +11 -0
  743. package/dist/components/p-toggle.js +169 -0
  744. package/dist/components/p-toggle.js.map +1 -0
  745. package/dist/components/p-tooltip.d.ts +2 -2
  746. package/dist/components/page-size-select.component.js +108 -92
  747. package/dist/components/page-size-select.component.js.map +1 -1
  748. package/dist/components/pagination-item.component.js +24 -23
  749. package/dist/components/pagination-item.component.js.map +1 -1
  750. package/dist/components/pagination.component.js +185 -182
  751. package/dist/components/pagination.component.js.map +1 -1
  752. package/dist/components/portal.component.js +39 -0
  753. package/dist/components/portal.component.js.map +1 -0
  754. package/dist/components/screens.js +29 -29
  755. package/dist/components/screens.js.map +1 -1
  756. package/dist/components/segment-container.component.js +20 -19
  757. package/dist/components/segment-container.component.js.map +1 -1
  758. package/dist/components/segment-item.component.js +49 -48
  759. package/dist/components/segment-item.component.js.map +1 -1
  760. package/dist/components/slider-indicator.component.js +24 -23
  761. package/dist/components/slider-indicator.component.js.map +1 -1
  762. package/dist/components/stepper-line.component.js +26 -25
  763. package/dist/components/stepper-line.component.js.map +1 -1
  764. package/dist/components/table-cell.component.js +75 -71
  765. package/dist/components/table-cell.component.js.map +1 -1
  766. package/dist/components/table-container.component.js +24 -23
  767. package/dist/components/table-container.component.js.map +1 -1
  768. package/dist/components/table-footer.component.js +137 -113
  769. package/dist/components/table-footer.component.js.map +1 -1
  770. package/dist/components/table-header.component.js +196 -158
  771. package/dist/components/table-header.component.js.map +1 -1
  772. package/dist/components/table-row.component.js +33 -32
  773. package/dist/components/table-row.component.js.map +1 -1
  774. package/dist/components/tooltip.component.js +214 -160
  775. package/dist/components/tooltip.component.js.map +1 -1
  776. package/dist/esm/app-globals-0f993ce5.js +5 -0
  777. package/dist/esm/app-globals-0f993ce5.js.map +1 -0
  778. package/dist/esm/child-of-2e1cac22.js +9 -0
  779. package/dist/esm/child-of-2e1cac22.js.map +1 -0
  780. package/dist/esm/cn-efefe9a7.js +2816 -0
  781. package/dist/esm/cn-efefe9a7.js.map +1 -0
  782. package/dist/esm/floating-ui.dom.esm-1ee67651.js +2066 -0
  783. package/dist/esm/floating-ui.dom.esm-1ee67651.js.map +1 -0
  784. package/dist/esm/iban-2645d629.js +14 -0
  785. package/dist/esm/iban-2645d629.js.map +1 -0
  786. package/dist/esm/icons-a3270aaf.js +1546 -0
  787. package/dist/esm/icons-a3270aaf.js.map +1 -0
  788. package/dist/esm/icons-deprecated-5df272a7.js +1121 -0
  789. package/dist/esm/icons-deprecated-5df272a7.js.map +1 -0
  790. package/dist/esm/index-2ef94580.js +2329 -0
  791. package/dist/esm/index-2ef94580.js.map +1 -0
  792. package/dist/esm/index-538f1fd8.js +2309 -0
  793. package/dist/esm/index-538f1fd8.js.map +1 -0
  794. package/dist/esm/index.js +485 -501
  795. package/dist/esm/index.js.map +1 -1
  796. package/dist/esm/loader.js +6 -4
  797. package/dist/esm/loader.js.map +1 -1
  798. package/dist/esm/localization-339ba26d.js +58 -0
  799. package/dist/esm/localization-339ba26d.js.map +1 -0
  800. package/dist/esm/nonce-a9254eb4.js +15 -0
  801. package/dist/esm/nonce-a9254eb4.js.map +1 -0
  802. package/dist/esm/object-get-by-path-b28a1923.js +124 -0
  803. package/dist/esm/object-get-by-path-b28a1923.js.map +1 -0
  804. package/dist/esm/p-accordion.entry.js +26 -21
  805. package/dist/esm/p-accordion.entry.js.map +1 -1
  806. package/dist/esm/p-attachment.entry.js +28 -20
  807. package/dist/esm/p-attachment.entry.js.map +1 -1
  808. package/dist/esm/p-avatar-group.entry.js +10 -9
  809. package/dist/esm/p-avatar-group.entry.js.map +1 -1
  810. package/dist/esm/p-avatar.entry.js +46 -45
  811. package/dist/esm/p-avatar.entry.js.map +1 -1
  812. package/dist/esm/p-backdrop.entry.js +73 -68
  813. package/dist/esm/p-backdrop.entry.js.map +1 -1
  814. package/dist/esm/p-badge.entry.js +9 -8
  815. package/dist/esm/p-badge.entry.js.map +1 -1
  816. package/dist/esm/p-button-group.entry.js +33 -33
  817. package/dist/esm/p-button-group.entry.js.map +1 -1
  818. package/dist/esm/p-button_3.entry.js +404 -322
  819. package/dist/esm/p-button_3.entry.js.map +1 -1
  820. package/dist/esm/p-calendar.entry.js +351 -297
  821. package/dist/esm/p-calendar.entry.js.map +1 -1
  822. package/dist/esm/p-card-body.entry.js +10 -9
  823. package/dist/esm/p-card-body.entry.js.map +1 -1
  824. package/dist/esm/p-card-container.entry.js +11 -10
  825. package/dist/esm/p-card-container.entry.js.map +1 -1
  826. package/dist/esm/p-card-header.entry.js +21 -21
  827. package/dist/esm/p-card-header.entry.js.map +1 -1
  828. package/dist/esm/p-checkbox_3.entry.js +438 -0
  829. package/dist/esm/p-checkbox_3.entry.js.map +1 -0
  830. package/dist/esm/p-content-slider.entry.js +205 -199
  831. package/dist/esm/p-content-slider.entry.js.map +1 -1
  832. package/dist/esm/p-counter.entry.js +11 -10
  833. package/dist/esm/p-counter.entry.js.map +1 -1
  834. package/dist/esm/p-cropper.entry.js +404 -265
  835. package/dist/esm/p-cropper.entry.js.map +1 -1
  836. package/dist/esm/p-datepicker.entry.js +287 -310
  837. package/dist/esm/p-datepicker.entry.js.map +1 -1
  838. package/dist/esm/p-divider.entry.js +12 -12
  839. package/dist/esm/p-divider.entry.js.map +1 -1
  840. package/dist/esm/p-drawer-body_3.entry.js +33 -26
  841. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  842. package/dist/esm/p-drawer.entry.js +66 -58
  843. package/dist/esm/p-drawer.entry.js.map +1 -1
  844. package/dist/esm/p-dropdown-menu-container.entry.js +48 -47
  845. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  846. package/dist/esm/p-field_3.entry.js +310 -0
  847. package/dist/esm/p-field_3.entry.js.map +1 -0
  848. package/dist/esm/p-floating-menu-container_8.entry.js +263 -211
  849. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  850. package/dist/esm/p-iban-icon.entry.js +33 -34
  851. package/dist/esm/p-iban-icon.entry.js.map +1 -1
  852. package/dist/esm/p-icon-deprecated.entry.js +49 -48
  853. package/dist/esm/p-icon-deprecated.entry.js.map +1 -1
  854. package/dist/esm/p-info-panel.entry.js +23 -18
  855. package/dist/esm/p-info-panel.entry.js.map +1 -1
  856. package/dist/esm/p-input-error.entry.js +17 -0
  857. package/dist/esm/p-input-error.entry.js.map +1 -0
  858. package/dist/esm/p-label_3.entry.js +50 -47
  859. package/dist/esm/p-label_3.entry.js.map +1 -1
  860. package/dist/esm/p-layout.entry.js +10 -9
  861. package/dist/esm/p-layout.entry.js.map +1 -1
  862. package/dist/esm/p-modal-body_4.entry.js +51 -43
  863. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  864. package/dist/esm/p-modal.entry.js +59 -52
  865. package/dist/esm/p-modal.entry.js.map +1 -1
  866. package/dist/esm/p-navbar.entry.js +45 -45
  867. package/dist/esm/p-navbar.entry.js.map +1 -1
  868. package/dist/esm/p-navigation-item.entry.js +45 -40
  869. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  870. package/dist/esm/p-navigation-section.entry.js +19 -0
  871. package/dist/esm/p-navigation-section.entry.js.map +1 -0
  872. package/dist/esm/p-navigation-title.entry.js +9 -8
  873. package/dist/esm/p-navigation-title.entry.js.map +1 -1
  874. package/dist/esm/p-page-size-select_3.entry.js +203 -195
  875. package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
  876. package/dist/esm/p-portal_2.entry.js +228 -0
  877. package/dist/esm/p-portal_2.entry.js.map +1 -0
  878. package/dist/esm/p-profile.entry.js +48 -47
  879. package/dist/esm/p-profile.entry.js.map +1 -1
  880. package/dist/esm/p-radio.entry.js +98 -0
  881. package/dist/esm/p-radio.entry.js.map +1 -0
  882. package/dist/esm/p-select.entry.js +418 -370
  883. package/dist/esm/p-select.entry.js.map +1 -1
  884. package/dist/esm/p-slider-indicator.entry.js +10 -9
  885. package/dist/esm/p-slider-indicator.entry.js.map +1 -1
  886. package/dist/esm/p-status.entry.js +37 -36
  887. package/dist/esm/p-status.entry.js.map +1 -1
  888. package/dist/esm/p-stepper-item.entry.js +14 -13
  889. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  890. package/dist/esm/p-stepper-line.entry.js +11 -10
  891. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  892. package/dist/esm/p-stepper.entry.js +91 -90
  893. package/dist/esm/p-stepper.entry.js.map +1 -1
  894. package/dist/esm/p-tab-group.entry.js +2 -2
  895. package/dist/esm/p-tab-group.entry.js.map +1 -1
  896. package/dist/esm/p-tab-item.entry.js +10 -9
  897. package/dist/esm/p-tab-item.entry.js.map +1 -1
  898. package/dist/esm/p-table-column.entry.js +24 -20
  899. package/dist/esm/p-table-column.entry.js.map +1 -1
  900. package/dist/esm/p-table-row-action.entry.js +17 -17
  901. package/dist/esm/p-table-row-action.entry.js.map +1 -1
  902. package/dist/esm/p-table.entry.js +583 -542
  903. package/dist/esm/p-table.entry.js.map +1 -1
  904. package/dist/esm/p-toast-container.entry.js +10 -9
  905. package/dist/esm/p-toast-container.entry.js.map +1 -1
  906. package/dist/esm/p-toast.entry.js +25 -21
  907. package/dist/esm/p-toast.entry.js.map +1 -1
  908. package/dist/esm/p-toggle.entry.js +144 -0
  909. package/dist/esm/p-toggle.entry.js.map +1 -0
  910. package/dist/esm/paperless.js +14 -12
  911. package/dist/esm/paperless.js.map +1 -1
  912. package/dist/esm/screens-8702d56f.js +54 -0
  913. package/dist/esm/screens-8702d56f.js.map +1 -0
  914. package/dist/index.html +13 -13
  915. package/dist/paperless/index.esm.js +1 -1
  916. package/dist/paperless/index.esm.js.map +1 -1
  917. package/dist/paperless/p-020a97e3.entry.js +2 -0
  918. package/dist/paperless/p-020a97e3.entry.js.map +1 -0
  919. package/dist/paperless/p-036bb6f4.entry.js +2 -0
  920. package/dist/paperless/p-036bb6f4.entry.js.map +1 -0
  921. package/dist/paperless/p-0413fcd0.entry.js +2 -0
  922. package/dist/paperless/p-0413fcd0.entry.js.map +1 -0
  923. package/dist/paperless/p-0bbd4d1c.entry.js +2 -0
  924. package/dist/paperless/p-0bbd4d1c.entry.js.map +1 -0
  925. package/dist/paperless/p-0c040d86.entry.js +2 -0
  926. package/dist/paperless/p-0c040d86.entry.js.map +1 -0
  927. package/dist/paperless/p-0e1935d5.entry.js +2 -0
  928. package/dist/paperless/p-0e1935d5.entry.js.map +1 -0
  929. package/dist/paperless/p-14e63599.entry.js +2 -0
  930. package/dist/paperless/p-14e63599.entry.js.map +1 -0
  931. package/dist/paperless/p-170077a4.js +2 -0
  932. package/dist/paperless/p-170077a4.js.map +1 -0
  933. package/dist/paperless/p-1b5ec2b1.entry.js +2 -0
  934. package/dist/paperless/p-1b5ec2b1.entry.js.map +1 -0
  935. package/dist/paperless/p-1d80e042.js +2 -0
  936. package/dist/paperless/p-1d80e042.js.map +1 -0
  937. package/dist/paperless/p-1ed4a75e.entry.js +3 -0
  938. package/dist/paperless/p-1ed4a75e.entry.js.map +1 -0
  939. package/dist/paperless/p-1f464c93.entry.js +2 -0
  940. package/dist/paperless/p-1f464c93.entry.js.map +1 -0
  941. package/dist/paperless/p-214a2978.entry.js +2 -0
  942. package/dist/paperless/p-214a2978.entry.js.map +1 -0
  943. package/dist/paperless/p-291573c4.entry.js +2 -0
  944. package/dist/paperless/p-291573c4.entry.js.map +1 -0
  945. package/dist/paperless/p-2bd123f4.entry.js +2 -0
  946. package/dist/paperless/p-2bd123f4.entry.js.map +1 -0
  947. package/dist/paperless/p-3a428a06.entry.js +2 -0
  948. package/dist/paperless/p-3a428a06.entry.js.map +1 -0
  949. package/dist/paperless/p-3b5242e9.entry.js +2 -0
  950. package/dist/paperless/p-3b5242e9.entry.js.map +1 -0
  951. package/dist/paperless/p-3b8209bc.js +2 -0
  952. package/dist/paperless/p-3b8209bc.js.map +1 -0
  953. package/dist/paperless/p-3e393301.entry.js +2 -0
  954. package/dist/paperless/p-3e393301.entry.js.map +1 -0
  955. package/dist/paperless/p-45ded510.js +3 -0
  956. package/dist/paperless/p-45ded510.js.map +1 -0
  957. package/dist/paperless/p-46362798.entry.js +2 -0
  958. package/dist/paperless/p-46362798.entry.js.map +1 -0
  959. package/dist/paperless/p-48efb6e4.entry.js +2 -0
  960. package/dist/paperless/p-48efb6e4.entry.js.map +1 -0
  961. package/dist/paperless/p-50134fa1.entry.js +2 -0
  962. package/dist/paperless/p-50134fa1.entry.js.map +1 -0
  963. package/dist/paperless/p-562029b4.entry.js +2 -0
  964. package/dist/paperless/p-562029b4.entry.js.map +1 -0
  965. package/dist/paperless/p-62843ca0.entry.js +2 -0
  966. package/dist/paperless/p-62843ca0.entry.js.map +1 -0
  967. package/dist/paperless/p-62b14ab7.entry.js +2 -0
  968. package/dist/paperless/p-62b14ab7.entry.js.map +1 -0
  969. package/dist/paperless/p-638d2138.entry.js +2 -0
  970. package/dist/paperless/p-638d2138.entry.js.map +1 -0
  971. package/dist/paperless/p-65d9a61f.entry.js +2 -0
  972. package/dist/paperless/p-65d9a61f.entry.js.map +1 -0
  973. package/dist/paperless/p-6d8852ca.entry.js +2 -0
  974. package/dist/paperless/p-6d8852ca.entry.js.map +1 -0
  975. package/dist/paperless/p-7aecc5f3.entry.js +2 -0
  976. package/dist/paperless/p-7aecc5f3.entry.js.map +1 -0
  977. package/dist/paperless/p-83b79ff9.js +2 -0
  978. package/dist/paperless/p-83b79ff9.js.map +1 -0
  979. package/dist/paperless/p-8a1a6e56.js.map +1 -1
  980. package/dist/paperless/p-8a5b8196.js.map +1 -1
  981. package/dist/paperless/p-958f3c09.entry.js +2 -0
  982. package/dist/paperless/p-958f3c09.entry.js.map +1 -0
  983. package/dist/paperless/p-9a613c80.entry.js +2 -0
  984. package/dist/paperless/p-9a613c80.entry.js.map +1 -0
  985. package/dist/paperless/p-9ab34fee.js +2 -0
  986. package/dist/paperless/p-9ab34fee.js.map +1 -0
  987. package/dist/paperless/p-9cac28b6.js +2 -0
  988. package/dist/paperless/p-9cac28b6.js.map +1 -0
  989. package/dist/paperless/p-a56474ea.entry.js +2 -0
  990. package/dist/paperless/p-a56474ea.entry.js.map +1 -0
  991. package/dist/paperless/p-a5934232.entry.js +2 -0
  992. package/dist/paperless/p-a5934232.entry.js.map +1 -0
  993. package/dist/paperless/p-a6ccc70e.entry.js +2 -0
  994. package/dist/paperless/p-a6ccc70e.entry.js.map +1 -0
  995. package/dist/paperless/p-adcded4d.entry.js +2 -0
  996. package/dist/paperless/p-adcded4d.entry.js.map +1 -0
  997. package/dist/paperless/p-af468e9f.entry.js +2 -0
  998. package/dist/paperless/p-af468e9f.entry.js.map +1 -0
  999. package/dist/paperless/p-b082e123.js +2 -0
  1000. package/dist/paperless/p-b082e123.js.map +1 -0
  1001. package/dist/paperless/p-bf261165.entry.js +2 -0
  1002. package/dist/paperless/p-bf261165.entry.js.map +1 -0
  1003. package/dist/paperless/p-c3ba61ac.entry.js +2 -0
  1004. package/dist/paperless/p-c3ba61ac.entry.js.map +1 -0
  1005. package/dist/paperless/p-c605a1c1.js +2 -0
  1006. package/dist/paperless/p-c605a1c1.js.map +1 -0
  1007. package/dist/paperless/p-c8e79e30.entry.js +2 -0
  1008. package/dist/paperless/p-c8e79e30.entry.js.map +1 -0
  1009. package/dist/paperless/p-cc3445fc.entry.js +2 -0
  1010. package/dist/paperless/p-cc3445fc.entry.js.map +1 -0
  1011. package/dist/paperless/p-cfe6ec9a.entry.js +2 -0
  1012. package/dist/paperless/p-cfe6ec9a.entry.js.map +1 -0
  1013. package/dist/paperless/p-d044f441.entry.js +2 -0
  1014. package/dist/paperless/p-d044f441.entry.js.map +1 -0
  1015. package/dist/paperless/p-d3878a79.entry.js +2 -0
  1016. package/dist/paperless/p-d3878a79.entry.js.map +1 -0
  1017. package/dist/paperless/p-d6ca5bce.entry.js +2 -0
  1018. package/dist/paperless/p-d6ca5bce.entry.js.map +1 -0
  1019. package/dist/paperless/p-d70b3539.entry.js +2 -0
  1020. package/dist/paperless/p-d70b3539.entry.js.map +1 -0
  1021. package/dist/paperless/p-d8eb3b7b.entry.js +2 -0
  1022. package/dist/paperless/p-d8eb3b7b.entry.js.map +1 -0
  1023. package/dist/paperless/p-d9d8c17c.entry.js +2 -0
  1024. package/dist/paperless/p-d9d8c17c.entry.js.map +1 -0
  1025. package/dist/paperless/p-d9fae6bd.entry.js +2 -0
  1026. package/dist/paperless/p-d9fae6bd.entry.js.map +1 -0
  1027. package/dist/paperless/p-da7b6f2c.js.map +1 -1
  1028. package/dist/paperless/p-de74e07c.js +2 -0
  1029. package/dist/paperless/p-de74e07c.js.map +1 -0
  1030. package/dist/paperless/p-dfce711d.entry.js +2 -0
  1031. package/dist/paperless/p-dfce711d.entry.js.map +1 -0
  1032. package/dist/paperless/p-e1255160.js +2 -0
  1033. package/dist/paperless/p-e1255160.js.map +1 -0
  1034. package/dist/paperless/p-e15305dc.entry.js +2 -0
  1035. package/dist/paperless/p-e15305dc.entry.js.map +1 -0
  1036. package/dist/paperless/p-ea577bae.entry.js +2 -0
  1037. package/dist/paperless/p-ea577bae.entry.js.map +1 -0
  1038. package/dist/paperless/p-eec56c71.entry.js +2 -0
  1039. package/dist/paperless/p-eec56c71.entry.js.map +1 -0
  1040. package/dist/paperless/p-f26a3049.js +2 -0
  1041. package/dist/paperless/p-f26a3049.js.map +1 -0
  1042. package/dist/paperless/p-f3d0ea94.entry.js +2 -0
  1043. package/dist/paperless/p-f3d0ea94.entry.js.map +1 -0
  1044. package/dist/paperless/p-f40f89a7.entry.js +2 -0
  1045. package/dist/paperless/p-f40f89a7.entry.js.map +1 -0
  1046. package/dist/paperless/p-fd53acd3.entry.js +2 -0
  1047. package/dist/paperless/p-fd53acd3.entry.js.map +1 -0
  1048. package/dist/paperless/p-fdf020c9.entry.js +2 -0
  1049. package/dist/paperless/p-fdf020c9.entry.js.map +1 -0
  1050. package/dist/paperless/p-fe66cde8.js +2 -0
  1051. package/dist/paperless/p-fe66cde8.js.map +1 -0
  1052. package/dist/paperless/paperless.css +1 -1
  1053. package/dist/paperless/paperless.esm.js +1 -1
  1054. package/dist/paperless/paperless.esm.js.map +1 -1
  1055. package/dist/style/_fonts.scss +4 -0
  1056. package/dist/style/paperless.scss +0 -2
  1057. package/dist/sw.js +1 -1
  1058. package/dist/sw.js.map +1 -1
  1059. package/dist/tailwind/theme/shadows.ts +2 -1
  1060. package/dist/types/components/atoms/avatar/avatar.component.d.ts +22 -22
  1061. package/dist/types/components/atoms/avatar-group/avatar-group.component.d.ts +5 -5
  1062. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +33 -33
  1063. package/dist/types/components/atoms/badge/badge.component.d.ts +1 -1
  1064. package/dist/types/components/atoms/card-body/card-body.component.d.ts +5 -5
  1065. package/dist/types/components/atoms/card-container/card-container.component.d.ts +9 -9
  1066. package/dist/types/components/atoms/card-header/card-header.component.d.ts +16 -16
  1067. package/dist/types/components/atoms/checkbox/checkbox.component.d.ts +42 -0
  1068. package/dist/types/components/atoms/counter/counter.component.d.ts +9 -9
  1069. package/dist/types/components/atoms/divider/divider.component.d.ts +9 -9
  1070. package/dist/types/components/atoms/drawer-body/drawer-body.component.d.ts +5 -5
  1071. package/dist/types/components/atoms/drawer-container/drawer-container.component.d.ts +5 -5
  1072. package/dist/types/components/atoms/drawer-header/drawer-header.component.d.ts +9 -9
  1073. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +21 -21
  1074. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +29 -25
  1075. package/dist/types/components/atoms/floating-menu-container/floating-menu-container.component.d.ts +5 -5
  1076. package/dist/types/components/atoms/floating-menu-item/floating-menu-item.component.d.ts +9 -9
  1077. package/dist/types/components/atoms/helper/helper.component.d.ts +9 -9
  1078. package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +10 -10
  1079. package/dist/types/components/atoms/icon/icon.component.d.ts +17 -17
  1080. package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +17 -17
  1081. package/dist/types/components/atoms/illustration/illustration.component.d.ts +5 -5
  1082. package/dist/types/components/atoms/info-panel/info-panel.component.d.ts +26 -26
  1083. package/dist/types/components/atoms/label/label.component.d.ts +33 -33
  1084. package/dist/types/components/atoms/layout/layout.component.d.ts +5 -5
  1085. package/dist/types/components/atoms/loader/loader.component.d.ts +27 -27
  1086. package/dist/types/components/atoms/modal-body/modal-body.component.d.ts +17 -17
  1087. package/dist/types/components/atoms/modal-container/modal-container.component.d.ts +9 -9
  1088. package/dist/types/components/atoms/modal-footer/modal-footer.component.d.ts +1 -1
  1089. package/dist/types/components/atoms/modal-header/modal-header.component.d.ts +9 -9
  1090. package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +1 -1
  1091. package/dist/types/components/atoms/pagination-item/pagination-item.component.d.ts +5 -5
  1092. package/dist/types/components/atoms/portal/portal.component.d.ts +11 -0
  1093. package/dist/types/components/atoms/radio/radio.component.d.ts +38 -0
  1094. package/dist/types/components/atoms/segment-container/segment-container.component.d.ts +1 -1
  1095. package/dist/types/components/atoms/segment-item/segment-item.component.d.ts +32 -32
  1096. package/dist/types/components/atoms/slider-indicator/slider-indicator.component.d.ts +5 -5
  1097. package/dist/types/components/atoms/status/status.component.d.ts +19 -19
  1098. package/dist/types/components/atoms/stepper-item/stepper-item.component.d.ts +21 -21
  1099. package/dist/types/components/atoms/stepper-line/stepper-line.component.d.ts +9 -9
  1100. package/dist/types/components/atoms/tab-group/tab-group.component.d.ts +1 -1
  1101. package/dist/types/components/atoms/tab-item/tab-item.component.d.ts +5 -5
  1102. package/dist/types/components/atoms/table-container/table-container.component.d.ts +2 -2
  1103. package/dist/types/components/atoms/toast-container/toast-container.component.d.ts +5 -5
  1104. package/dist/types/components/atoms/toggle/toggle.component.d.ts +42 -0
  1105. package/dist/types/components/atoms/tooltip/tooltip.component.d.ts +61 -57
  1106. package/dist/types/components/helpers/table-column/table-column.component.d.ts +44 -44
  1107. package/dist/types/components/helpers/table-row-action/table-row-action.component.d.ts +47 -47
  1108. package/dist/types/components/molecules/accordion/accordion.component.d.ts +22 -22
  1109. package/dist/types/components/molecules/attachment/attachment.component.d.ts +25 -25
  1110. package/dist/types/components/molecules/button/button.component.d.ts +87 -79
  1111. package/dist/types/components/molecules/button-group/button-group.component.d.ts +12 -12
  1112. package/dist/types/components/molecules/calendar/calendar.component.d.ts +74 -73
  1113. package/dist/types/components/molecules/content-slider/content-slider.component.d.ts +51 -51
  1114. package/dist/types/components/molecules/cropper/cropper.component.d.ts +34 -34
  1115. package/dist/types/components/molecules/datepicker/datepicker.component.d.ts +108 -107
  1116. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +88 -83
  1117. package/dist/types/components/molecules/field/field.component.d.ts +118 -0
  1118. package/dist/types/components/molecules/field-container/field-container.component.d.ts +47 -0
  1119. package/dist/types/components/molecules/input-error/input-error.component.d.ts +10 -10
  1120. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +33 -25
  1121. package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +7 -0
  1122. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +46 -46
  1123. package/dist/types/components/molecules/pagination/pagination.component.d.ts +32 -32
  1124. package/dist/types/components/molecules/profile/profile.component.d.ts +17 -20
  1125. package/dist/types/components/molecules/select/select.component.d.ts +217 -216
  1126. package/dist/types/components/molecules/stepper/stepper.component.d.ts +24 -24
  1127. package/dist/types/components/molecules/table-cell/table-cell.component.d.ts +42 -42
  1128. package/dist/types/components/molecules/table-footer/table-footer.component.d.ts +60 -60
  1129. package/dist/types/components/molecules/table-header/table-header.component.d.ts +97 -97
  1130. package/dist/types/components/molecules/table-row/table-row.component.d.ts +9 -9
  1131. package/dist/types/components/molecules/toast/toast.component.d.ts +34 -34
  1132. package/dist/types/components/organisms/drawer/drawer.component.d.ts +51 -51
  1133. package/dist/types/components/organisms/modal/modal.component.d.ts +60 -60
  1134. package/dist/types/components/organisms/navbar/navbar.component.d.ts +4 -8
  1135. package/dist/types/components/organisms/table/table.component.d.ts +267 -268
  1136. package/dist/types/components.d.ts +978 -211
  1137. package/dist/types/stencil-public-runtime.d.ts +38 -10
  1138. package/dist/types/tailwind/paperless.d.ts +2 -2
  1139. package/dist/types/tailwind/plugins/hover.d.ts +1 -1
  1140. package/dist/types/tailwind/plugins/safe-area.d.ts +1 -1
  1141. package/dist/types/tailwind/theme/animation.d.ts +147 -147
  1142. package/dist/types/tailwind/theme/colors.d.ts +175 -175
  1143. package/dist/types/tailwind/theme/height.d.ts +4 -4
  1144. package/dist/types/tailwind/theme/scale.d.ts +1 -1
  1145. package/dist/types/tailwind/theme/screens.d.ts +12 -12
  1146. package/dist/types/tailwind/theme/shadows.d.ts +7 -6
  1147. package/dist/types/tailwind/theme/spacing.d.ts +5 -5
  1148. package/dist/types/tailwind/theme/typography.d.ts +15 -15
  1149. package/dist/types/tailwind/theme/width.d.ts +11 -11
  1150. package/dist/types/tailwind/theme/z-index.d.ts +11 -11
  1151. package/dist/types/tailwind.config.d.ts +2 -2
  1152. package/dist/types/types/table.d.ts +24 -24
  1153. package/dist/types/utils/icons-deprecated.d.ts +66 -66
  1154. package/dist/types/utils/icons.d.ts +120 -120
  1155. package/dist/types/utils/illustrations.d.ts +12 -12
  1156. package/dist/types/utils/nonce.d.ts +1 -0
  1157. package/dist/types/utils/table-helpers.d.ts +8 -8
  1158. package/dist/workbox-d13932f0.js +2 -0
  1159. package/dist/workbox-d13932f0.js.map +1 -0
  1160. package/hydrate/index.d.ts +37 -13
  1161. package/hydrate/index.js +32946 -16430
  1162. package/hydrate/index.mjs +43465 -0
  1163. package/hydrate/package.json +7 -1
  1164. package/loader/cdn.js +1 -3
  1165. package/loader/index.cjs.js +1 -3
  1166. package/loader/index.d.ts +3 -0
  1167. package/loader/index.es2017.js +1 -3
  1168. package/loader/index.js +1 -3
  1169. package/package.json +7 -7
  1170. package/dist/build/p-013cd7f9.entry.js +0 -2
  1171. package/dist/build/p-013cd7f9.entry.js.map +0 -1
  1172. package/dist/build/p-0348e450.entry.js +0 -2
  1173. package/dist/build/p-0348e450.entry.js.map +0 -1
  1174. package/dist/build/p-047c1c6f.entry.js +0 -2
  1175. package/dist/build/p-047c1c6f.entry.js.map +0 -1
  1176. package/dist/build/p-08ea38ad.entry.js +0 -2
  1177. package/dist/build/p-08ea38ad.entry.js.map +0 -1
  1178. package/dist/build/p-16a18649.entry.js +0 -2
  1179. package/dist/build/p-16a18649.entry.js.map +0 -1
  1180. package/dist/build/p-1fc0a8b4.entry.js +0 -2
  1181. package/dist/build/p-1fc0a8b4.entry.js.map +0 -1
  1182. package/dist/build/p-221dbb71.entry.js +0 -2
  1183. package/dist/build/p-221dbb71.entry.js.map +0 -1
  1184. package/dist/build/p-23ca3688.entry.js +0 -2
  1185. package/dist/build/p-23ca3688.entry.js.map +0 -1
  1186. package/dist/build/p-2e3b9db4.js +0 -2
  1187. package/dist/build/p-2e3b9db4.js.map +0 -1
  1188. package/dist/build/p-2f9e9197.entry.js +0 -2
  1189. package/dist/build/p-2f9e9197.entry.js.map +0 -1
  1190. package/dist/build/p-32056913.entry.js +0 -2
  1191. package/dist/build/p-32056913.entry.js.map +0 -1
  1192. package/dist/build/p-33fa21e3.js +0 -2
  1193. package/dist/build/p-33fa21e3.js.map +0 -1
  1194. package/dist/build/p-385943b2.entry.js +0 -2
  1195. package/dist/build/p-385943b2.entry.js.map +0 -1
  1196. package/dist/build/p-393eba2f.entry.js +0 -2
  1197. package/dist/build/p-393eba2f.entry.js.map +0 -1
  1198. package/dist/build/p-3d867690.entry.js +0 -2
  1199. package/dist/build/p-3d867690.entry.js.map +0 -1
  1200. package/dist/build/p-3e9d994a.entry.js +0 -2
  1201. package/dist/build/p-3e9d994a.entry.js.map +0 -1
  1202. package/dist/build/p-45463125.entry.js +0 -2
  1203. package/dist/build/p-45463125.entry.js.map +0 -1
  1204. package/dist/build/p-4d330cfc.js +0 -2
  1205. package/dist/build/p-4d330cfc.js.map +0 -1
  1206. package/dist/build/p-5e789bb1.entry.js +0 -2
  1207. package/dist/build/p-5e789bb1.entry.js.map +0 -1
  1208. package/dist/build/p-64b53130.entry.js +0 -2
  1209. package/dist/build/p-64b53130.entry.js.map +0 -1
  1210. package/dist/build/p-64b68231.js +0 -3
  1211. package/dist/build/p-64b68231.js.map +0 -1
  1212. package/dist/build/p-6cddc325.js +0 -2
  1213. package/dist/build/p-6cddc325.js.map +0 -1
  1214. package/dist/build/p-6e71ebca.entry.js +0 -2
  1215. package/dist/build/p-6e71ebca.entry.js.map +0 -1
  1216. package/dist/build/p-6f7721eb.entry.js +0 -2
  1217. package/dist/build/p-6f7721eb.entry.js.map +0 -1
  1218. package/dist/build/p-6fed974c.entry.js +0 -2
  1219. package/dist/build/p-6fed974c.entry.js.map +0 -1
  1220. package/dist/build/p-75006522.js +0 -2
  1221. package/dist/build/p-75006522.js.map +0 -1
  1222. package/dist/build/p-79cc09c0.entry.js +0 -2
  1223. package/dist/build/p-79cc09c0.entry.js.map +0 -1
  1224. package/dist/build/p-7a577384.entry.js +0 -2
  1225. package/dist/build/p-7a577384.entry.js.map +0 -1
  1226. package/dist/build/p-7beb3401.entry.js +0 -2
  1227. package/dist/build/p-7beb3401.entry.js.map +0 -1
  1228. package/dist/build/p-7d5f6497.entry.js +0 -2
  1229. package/dist/build/p-7d5f6497.entry.js.map +0 -1
  1230. package/dist/build/p-851a7662.entry.js +0 -2
  1231. package/dist/build/p-851a7662.entry.js.map +0 -1
  1232. package/dist/build/p-909879e3.entry.js +0 -3
  1233. package/dist/build/p-909879e3.entry.js.map +0 -1
  1234. package/dist/build/p-937b2d74.entry.js +0 -2
  1235. package/dist/build/p-937b2d74.entry.js.map +0 -1
  1236. package/dist/build/p-95eadadd.entry.js +0 -2
  1237. package/dist/build/p-95eadadd.entry.js.map +0 -1
  1238. package/dist/build/p-9fa5d08a.entry.js +0 -2
  1239. package/dist/build/p-9fa5d08a.entry.js.map +0 -1
  1240. package/dist/build/p-a587ff9f.entry.js +0 -2
  1241. package/dist/build/p-a587ff9f.entry.js.map +0 -1
  1242. package/dist/build/p-a7b8e22f.entry.js +0 -2
  1243. package/dist/build/p-a7b8e22f.entry.js.map +0 -1
  1244. package/dist/build/p-aa058967.entry.js +0 -2
  1245. package/dist/build/p-aa058967.entry.js.map +0 -1
  1246. package/dist/build/p-af4aedaf.entry.js +0 -2
  1247. package/dist/build/p-af4aedaf.entry.js.map +0 -1
  1248. package/dist/build/p-b5430fae.entry.js +0 -2
  1249. package/dist/build/p-b5430fae.entry.js.map +0 -1
  1250. package/dist/build/p-b8e718c7.entry.js +0 -2
  1251. package/dist/build/p-b8e718c7.entry.js.map +0 -1
  1252. package/dist/build/p-b9a7e240.entry.js +0 -2
  1253. package/dist/build/p-b9a7e240.entry.js.map +0 -1
  1254. package/dist/build/p-bc46f89a.entry.js +0 -2
  1255. package/dist/build/p-bc46f89a.entry.js.map +0 -1
  1256. package/dist/build/p-be0c925e.entry.js +0 -2
  1257. package/dist/build/p-be0c925e.entry.js.map +0 -1
  1258. package/dist/build/p-bfbab545.entry.js +0 -2
  1259. package/dist/build/p-bfbab545.entry.js.map +0 -1
  1260. package/dist/build/p-c6bcbcbf.entry.js +0 -2
  1261. package/dist/build/p-c6bcbcbf.entry.js.map +0 -1
  1262. package/dist/build/p-cb7c509e.entry.js +0 -2
  1263. package/dist/build/p-cb7c509e.entry.js.map +0 -1
  1264. package/dist/build/p-cc321a7b.entry.js +0 -2
  1265. package/dist/build/p-cc321a7b.entry.js.map +0 -1
  1266. package/dist/build/p-d3d8468b.js +0 -2
  1267. package/dist/build/p-d3d8468b.js.map +0 -1
  1268. package/dist/build/p-d5d413a1.js +0 -2
  1269. package/dist/build/p-d5d413a1.js.map +0 -1
  1270. package/dist/build/p-d81a30f6.entry.js +0 -2
  1271. package/dist/build/p-d81a30f6.entry.js.map +0 -1
  1272. package/dist/build/p-dce95c92.entry.js +0 -2
  1273. package/dist/build/p-dce95c92.entry.js.map +0 -1
  1274. package/dist/build/p-dd6d3839.entry.js +0 -2
  1275. package/dist/build/p-dd6d3839.entry.js.map +0 -1
  1276. package/dist/build/p-e10cf2d3.entry.js +0 -2
  1277. package/dist/build/p-e10cf2d3.entry.js.map +0 -1
  1278. package/dist/build/p-ea3bce45.entry.js +0 -2
  1279. package/dist/build/p-ea3bce45.entry.js.map +0 -1
  1280. package/dist/build/p-f78afad9.entry.js +0 -2
  1281. package/dist/build/p-f78afad9.entry.js.map +0 -1
  1282. package/dist/build/p-f8544f0c.js +0 -2
  1283. package/dist/build/p-f8544f0c.js.map +0 -1
  1284. package/dist/build/p-fcaa0539.entry.js +0 -2
  1285. package/dist/build/p-fcaa0539.entry.js.map +0 -1
  1286. package/dist/build/p-fef32402.js +0 -2
  1287. package/dist/build/p-fef32402.js.map +0 -1
  1288. package/dist/cjs/child-of-af405fc2.js +0 -11
  1289. package/dist/cjs/child-of-af405fc2.js.map +0 -1
  1290. package/dist/cjs/floating-ui.dom.esm-62336770.js +0 -1334
  1291. package/dist/cjs/floating-ui.dom.esm-62336770.js.map +0 -1
  1292. package/dist/cjs/iban-71055b2d.js +0 -16
  1293. package/dist/cjs/iban-71055b2d.js.map +0 -1
  1294. package/dist/cjs/icons-deprecated-d4fd5f3e.js +0 -1123
  1295. package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +0 -1
  1296. package/dist/cjs/icons-e50d4119.js +0 -1549
  1297. package/dist/cjs/icons-e50d4119.js.map +0 -1
  1298. package/dist/cjs/index-02e05522.js +0 -2653
  1299. package/dist/cjs/index-02e05522.js.map +0 -1
  1300. package/dist/cjs/index-b59a0544.js +0 -2324
  1301. package/dist/cjs/index-b59a0544.js.map +0 -1
  1302. package/dist/cjs/localization-9132fab0.js +0 -62
  1303. package/dist/cjs/localization-9132fab0.js.map +0 -1
  1304. package/dist/cjs/object-get-by-path-c2e8bf29.js +0 -120
  1305. package/dist/cjs/object-get-by-path-c2e8bf29.js.map +0 -1
  1306. package/dist/cjs/p-dropdown_2.cjs.entry.js +0 -234
  1307. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
  1308. package/dist/cjs/p-helper_3.cjs.entry.js +0 -156
  1309. package/dist/cjs/p-helper_3.cjs.entry.js.map +0 -1
  1310. package/dist/cjs/p-tooltip.cjs.entry.js +0 -164
  1311. package/dist/cjs/p-tooltip.cjs.entry.js.map +0 -1
  1312. package/dist/cjs/screens-eb3a3232.js +0 -67
  1313. package/dist/cjs/screens-eb3a3232.js.map +0 -1
  1314. package/dist/collection/components/atoms/avatar/test/avatar.component.e2e.js +0 -26
  1315. package/dist/collection/components/atoms/avatar/test/avatar.component.e2e.js.map +0 -1
  1316. package/dist/collection/components/atoms/avatar/test/avatar.component.spec.js +0 -35
  1317. package/dist/collection/components/atoms/avatar/test/avatar.component.spec.js.map +0 -1
  1318. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.e2e.js +0 -26
  1319. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.e2e.js.map +0 -1
  1320. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.spec.js +0 -17
  1321. package/dist/collection/components/atoms/avatar-group/test/avatar-group.component.spec.js.map +0 -1
  1322. package/dist/collection/components/atoms/backdrop/test/backdrop.component.e2e.js +0 -26
  1323. package/dist/collection/components/atoms/backdrop/test/backdrop.component.e2e.js.map +0 -1
  1324. package/dist/collection/components/atoms/backdrop/test/backdrop.component.spec.js +0 -17
  1325. package/dist/collection/components/atoms/backdrop/test/backdrop.component.spec.js.map +0 -1
  1326. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +0 -26
  1327. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +0 -1
  1328. package/dist/collection/components/atoms/badge/test/badge.component.spec.js +0 -17
  1329. package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +0 -1
  1330. package/dist/collection/components/atoms/card-body/test/card-body.component.e2e.js +0 -26
  1331. package/dist/collection/components/atoms/card-body/test/card-body.component.e2e.js.map +0 -1
  1332. package/dist/collection/components/atoms/card-body/test/card-body.component.spec.js +0 -18
  1333. package/dist/collection/components/atoms/card-body/test/card-body.component.spec.js.map +0 -1
  1334. package/dist/collection/components/atoms/card-container/test/card-container.component.e2e.js +0 -26
  1335. package/dist/collection/components/atoms/card-container/test/card-container.component.e2e.js.map +0 -1
  1336. package/dist/collection/components/atoms/card-container/test/card-container.component.spec.js +0 -18
  1337. package/dist/collection/components/atoms/card-container/test/card-container.component.spec.js.map +0 -1
  1338. package/dist/collection/components/atoms/card-header/test/card-header.component.e2e.js +0 -26
  1339. package/dist/collection/components/atoms/card-header/test/card-header.component.e2e.js.map +0 -1
  1340. package/dist/collection/components/atoms/card-header/test/card-header.component.spec.js +0 -18
  1341. package/dist/collection/components/atoms/card-header/test/card-header.component.spec.js.map +0 -1
  1342. package/dist/collection/components/atoms/counter/test/counter.component.e2e.js +0 -26
  1343. package/dist/collection/components/atoms/counter/test/counter.component.e2e.js.map +0 -1
  1344. package/dist/collection/components/atoms/counter/test/counter.component.spec.js +0 -18
  1345. package/dist/collection/components/atoms/counter/test/counter.component.spec.js.map +0 -1
  1346. package/dist/collection/components/atoms/divider/test/divider.component.e2e.js +0 -26
  1347. package/dist/collection/components/atoms/divider/test/divider.component.e2e.js.map +0 -1
  1348. package/dist/collection/components/atoms/divider/test/divider.component.spec.js +0 -17
  1349. package/dist/collection/components/atoms/divider/test/divider.component.spec.js.map +0 -1
  1350. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.e2e.js +0 -26
  1351. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.e2e.js.map +0 -1
  1352. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.spec.js +0 -17
  1353. package/dist/collection/components/atoms/drawer-body/test/drawer-body.component.spec.js.map +0 -1
  1354. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.e2e.js +0 -26
  1355. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.e2e.js.map +0 -1
  1356. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.spec.js +0 -17
  1357. package/dist/collection/components/atoms/drawer-container/test/drawer-container.component.spec.js.map +0 -1
  1358. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.e2e.js +0 -26
  1359. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.e2e.js.map +0 -1
  1360. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.spec.js +0 -17
  1361. package/dist/collection/components/atoms/drawer-header/test/drawer-header.component.spec.js.map +0 -1
  1362. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-container.component.e2e.js +0 -26
  1363. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-container.component.e2e.js.map +0 -1
  1364. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-item.component.spec.js +0 -17
  1365. package/dist/collection/components/atoms/dropdown-menu-container/test/dropdown-menu-item.component.spec.js.map +0 -1
  1366. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.e2e.js +0 -26
  1367. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.e2e.js.map +0 -1
  1368. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.spec.js +0 -18
  1369. package/dist/collection/components/atoms/dropdown-menu-item/test/dropdown-menu-item.component.spec.js.map +0 -1
  1370. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js +0 -26
  1371. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.e2e.js.map +0 -1
  1372. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js +0 -17
  1373. package/dist/collection/components/atoms/floating-menu-container/test/floating-menu-container.component.spec.js.map +0 -1
  1374. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js +0 -26
  1375. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.e2e.js.map +0 -1
  1376. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js +0 -17
  1377. package/dist/collection/components/atoms/floating-menu-item/test/floating-menu-container.component.spec.js.map +0 -1
  1378. package/dist/collection/components/atoms/helper/test/helper.component.e2e.js +0 -26
  1379. package/dist/collection/components/atoms/helper/test/helper.component.e2e.js.map +0 -1
  1380. package/dist/collection/components/atoms/helper/test/helper.component.spec.js +0 -35
  1381. package/dist/collection/components/atoms/helper/test/helper.component.spec.js.map +0 -1
  1382. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +0 -26
  1383. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +0 -1
  1384. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +0 -17
  1385. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +0 -1
  1386. package/dist/collection/components/atoms/icon/test/icon.component.e2e.js +0 -37
  1387. package/dist/collection/components/atoms/icon/test/icon.component.e2e.js.map +0 -1
  1388. package/dist/collection/components/atoms/icon/test/icon.component.spec.js +0 -47
  1389. package/dist/collection/components/atoms/icon/test/icon.component.spec.js.map +0 -1
  1390. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +0 -37
  1391. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +0 -1
  1392. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +0 -47
  1393. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +0 -1
  1394. package/dist/collection/components/atoms/illustration/test/illustration.component.e2e.js +0 -37
  1395. package/dist/collection/components/atoms/illustration/test/illustration.component.e2e.js.map +0 -1
  1396. package/dist/collection/components/atoms/illustration/test/illustration.component.spec.js +0 -47
  1397. package/dist/collection/components/atoms/illustration/test/illustration.component.spec.js.map +0 -1
  1398. package/dist/collection/components/atoms/info-panel/test/info-panel.component.e2e.js +0 -26
  1399. package/dist/collection/components/atoms/info-panel/test/info-panel.component.e2e.js.map +0 -1
  1400. package/dist/collection/components/atoms/info-panel/test/info-panel.component.spec.js +0 -18
  1401. package/dist/collection/components/atoms/info-panel/test/info-panel.component.spec.js.map +0 -1
  1402. package/dist/collection/components/atoms/label/test/label.component.e2e.js +0 -26
  1403. package/dist/collection/components/atoms/label/test/label.component.e2e.js.map +0 -1
  1404. package/dist/collection/components/atoms/label/test/label.component.spec.js +0 -17
  1405. package/dist/collection/components/atoms/label/test/label.component.spec.js.map +0 -1
  1406. package/dist/collection/components/atoms/layout/test/layout.component.e2e.js +0 -26
  1407. package/dist/collection/components/atoms/layout/test/layout.component.e2e.js.map +0 -1
  1408. package/dist/collection/components/atoms/layout/test/layout.component.spec.js +0 -17
  1409. package/dist/collection/components/atoms/layout/test/layout.component.spec.js.map +0 -1
  1410. package/dist/collection/components/atoms/loader/test/loader.component.e2e.js +0 -37
  1411. package/dist/collection/components/atoms/loader/test/loader.component.e2e.js.map +0 -1
  1412. package/dist/collection/components/atoms/loader/test/loader.component.spec.js +0 -47
  1413. package/dist/collection/components/atoms/loader/test/loader.component.spec.js.map +0 -1
  1414. package/dist/collection/components/atoms/modal-body/test/modal-body.component.e2e.js +0 -26
  1415. package/dist/collection/components/atoms/modal-body/test/modal-body.component.e2e.js.map +0 -1
  1416. package/dist/collection/components/atoms/modal-body/test/modal-body.component.spec.js +0 -17
  1417. package/dist/collection/components/atoms/modal-body/test/modal-body.component.spec.js.map +0 -1
  1418. package/dist/collection/components/atoms/modal-container/test/modal-container.component.e2e.js +0 -26
  1419. package/dist/collection/components/atoms/modal-container/test/modal-container.component.e2e.js.map +0 -1
  1420. package/dist/collection/components/atoms/modal-container/test/modal-container.component.spec.js +0 -17
  1421. package/dist/collection/components/atoms/modal-container/test/modal-container.component.spec.js.map +0 -1
  1422. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.e2e.js +0 -26
  1423. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.e2e.js.map +0 -1
  1424. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.spec.js +0 -17
  1425. package/dist/collection/components/atoms/modal-footer/test/modal-footer.component.spec.js.map +0 -1
  1426. package/dist/collection/components/atoms/modal-header/test/modal-header.component.e2e.js +0 -26
  1427. package/dist/collection/components/atoms/modal-header/test/modal-header.component.e2e.js.map +0 -1
  1428. package/dist/collection/components/atoms/modal-header/test/modal-header.component.spec.js +0 -17
  1429. package/dist/collection/components/atoms/modal-header/test/modal-header.component.spec.js.map +0 -1
  1430. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +0 -26
  1431. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +0 -1
  1432. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +0 -17
  1433. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +0 -1
  1434. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.e2e.js +0 -26
  1435. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.e2e.js.map +0 -1
  1436. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.spec.js +0 -18
  1437. package/dist/collection/components/atoms/pagination-item/test/pagination-item.component.spec.js.map +0 -1
  1438. package/dist/collection/components/atoms/segment-container/test/segment-container.component.e2e.js +0 -26
  1439. package/dist/collection/components/atoms/segment-container/test/segment-container.component.e2e.js.map +0 -1
  1440. package/dist/collection/components/atoms/segment-container/test/segment-container.component.spec.js +0 -17
  1441. package/dist/collection/components/atoms/segment-container/test/segment-container.component.spec.js.map +0 -1
  1442. package/dist/collection/components/atoms/segment-item/test/segment-item.component.e2e.js +0 -26
  1443. package/dist/collection/components/atoms/segment-item/test/segment-item.component.e2e.js.map +0 -1
  1444. package/dist/collection/components/atoms/segment-item/test/segment-item.component.spec.js +0 -17
  1445. package/dist/collection/components/atoms/segment-item/test/segment-item.component.spec.js.map +0 -1
  1446. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.e2e.js +0 -26
  1447. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.e2e.js.map +0 -1
  1448. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.spec.js +0 -17
  1449. package/dist/collection/components/atoms/slider-indicator/test/slider-indicator.component.spec.js.map +0 -1
  1450. package/dist/collection/components/atoms/status/test/status.component.e2e.js +0 -26
  1451. package/dist/collection/components/atoms/status/test/status.component.e2e.js.map +0 -1
  1452. package/dist/collection/components/atoms/status/test/status.component.spec.js +0 -17
  1453. package/dist/collection/components/atoms/status/test/status.component.spec.js.map +0 -1
  1454. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.e2e.js +0 -26
  1455. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.e2e.js.map +0 -1
  1456. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.spec.js +0 -17
  1457. package/dist/collection/components/atoms/stepper-item/test/stepper-item.component.spec.js.map +0 -1
  1458. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.e2e.js +0 -26
  1459. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.e2e.js.map +0 -1
  1460. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.spec.js +0 -17
  1461. package/dist/collection/components/atoms/stepper-line/test/stepper-line.component.spec.js.map +0 -1
  1462. package/dist/collection/components/atoms/tab-group/test/tab-group.component.e2e.js +0 -26
  1463. package/dist/collection/components/atoms/tab-group/test/tab-group.component.e2e.js.map +0 -1
  1464. package/dist/collection/components/atoms/tab-group/test/tab-group.component.spec.js +0 -17
  1465. package/dist/collection/components/atoms/tab-group/test/tab-group.component.spec.js.map +0 -1
  1466. package/dist/collection/components/atoms/tab-item/test/tab-item.component.e2e.js +0 -26
  1467. package/dist/collection/components/atoms/tab-item/test/tab-item.component.e2e.js.map +0 -1
  1468. package/dist/collection/components/atoms/tab-item/test/tab-item.component.spec.js +0 -17
  1469. package/dist/collection/components/atoms/tab-item/test/tab-item.component.spec.js.map +0 -1
  1470. package/dist/collection/components/atoms/table-container/test/table-container.component.e2e.js +0 -26
  1471. package/dist/collection/components/atoms/table-container/test/table-container.component.e2e.js.map +0 -1
  1472. package/dist/collection/components/atoms/table-container/test/table-container.component.spec.js +0 -17
  1473. package/dist/collection/components/atoms/table-container/test/table-container.component.spec.js.map +0 -1
  1474. package/dist/collection/components/atoms/toast-container/test/toast-container.component.e2e.js +0 -26
  1475. package/dist/collection/components/atoms/toast-container/test/toast-container.component.e2e.js.map +0 -1
  1476. package/dist/collection/components/atoms/toast-container/test/toast-container.component.spec.js +0 -17
  1477. package/dist/collection/components/atoms/toast-container/test/toast-container.component.spec.js.map +0 -1
  1478. package/dist/collection/components/atoms/tooltip/test/tooltip.component.e2e.js +0 -37
  1479. package/dist/collection/components/atoms/tooltip/test/tooltip.component.e2e.js.map +0 -1
  1480. package/dist/collection/components/atoms/tooltip/test/tooltip.component.spec.js +0 -12
  1481. package/dist/collection/components/atoms/tooltip/test/tooltip.component.spec.js.map +0 -1
  1482. package/dist/collection/components/molecules/accordion/test/accordion.component.e2e.js +0 -26
  1483. package/dist/collection/components/molecules/accordion/test/accordion.component.e2e.js.map +0 -1
  1484. package/dist/collection/components/molecules/accordion/test/accordion.component.spec.js +0 -17
  1485. package/dist/collection/components/molecules/accordion/test/accordion.component.spec.js.map +0 -1
  1486. package/dist/collection/components/molecules/attachment/test/attachment.component.e2e.js +0 -26
  1487. package/dist/collection/components/molecules/attachment/test/attachment.component.e2e.js.map +0 -1
  1488. package/dist/collection/components/molecules/attachment/test/attachment.component.spec.js +0 -17
  1489. package/dist/collection/components/molecules/attachment/test/attachment.component.spec.js.map +0 -1
  1490. package/dist/collection/components/molecules/button/test/button.component.e2e.js +0 -26
  1491. package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +0 -1
  1492. package/dist/collection/components/molecules/button/test/button.component.spec.js +0 -35
  1493. package/dist/collection/components/molecules/button/test/button.component.spec.js.map +0 -1
  1494. package/dist/collection/components/molecules/button-group/test/button-group.component.e2e.js +0 -26
  1495. package/dist/collection/components/molecules/button-group/test/button-group.component.e2e.js.map +0 -1
  1496. package/dist/collection/components/molecules/button-group/test/button-group.component.spec.js +0 -35
  1497. package/dist/collection/components/molecules/button-group/test/button-group.component.spec.js.map +0 -1
  1498. package/dist/collection/components/molecules/calendar/test/calendar.component.e2e.js +0 -26
  1499. package/dist/collection/components/molecules/calendar/test/calendar.component.e2e.js.map +0 -1
  1500. package/dist/collection/components/molecules/calendar/test/calendar.component.spec.js +0 -17
  1501. package/dist/collection/components/molecules/calendar/test/calendar.component.spec.js.map +0 -1
  1502. package/dist/collection/components/molecules/content-slider/test/content-slider.component.e2e.js +0 -26
  1503. package/dist/collection/components/molecules/content-slider/test/content-slider.component.e2e.js.map +0 -1
  1504. package/dist/collection/components/molecules/content-slider/test/content-slider.component.spec.js +0 -17
  1505. package/dist/collection/components/molecules/content-slider/test/content-slider.component.spec.js.map +0 -1
  1506. package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js +0 -26
  1507. package/dist/collection/components/molecules/cropper/test/cropper.component.e2e.js.map +0 -1
  1508. package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js +0 -17
  1509. package/dist/collection/components/molecules/cropper/test/cropper.component.spec.js.map +0 -1
  1510. package/dist/collection/components/molecules/datepicker/test/datepicker.component.e2e.js +0 -26
  1511. package/dist/collection/components/molecules/datepicker/test/datepicker.component.e2e.js.map +0 -1
  1512. package/dist/collection/components/molecules/datepicker/test/datepicker.component.spec.js +0 -17
  1513. package/dist/collection/components/molecules/datepicker/test/datepicker.component.spec.js.map +0 -1
  1514. package/dist/collection/components/molecules/dropdown/test/dropdown.component.e2e.js +0 -26
  1515. package/dist/collection/components/molecules/dropdown/test/dropdown.component.e2e.js.map +0 -1
  1516. package/dist/collection/components/molecules/dropdown/test/dropdown.component.spec.js +0 -17
  1517. package/dist/collection/components/molecules/dropdown/test/dropdown.component.spec.js.map +0 -1
  1518. package/dist/collection/components/molecules/input-error/test/input-error.component.e2e.js +0 -26
  1519. package/dist/collection/components/molecules/input-error/test/input-error.component.e2e.js.map +0 -1
  1520. package/dist/collection/components/molecules/input-error/test/input-error.component.spec.js +0 -17
  1521. package/dist/collection/components/molecules/input-error/test/input-error.component.spec.js.map +0 -1
  1522. package/dist/collection/components/molecules/input-group/input-group.component.css +0 -1
  1523. package/dist/collection/components/molecules/input-group/input-group.component.js +0 -449
  1524. package/dist/collection/components/molecules/input-group/input-group.component.js.map +0 -1
  1525. package/dist/collection/components/molecules/input-group/test/input-group.component.e2e.js +0 -26
  1526. package/dist/collection/components/molecules/input-group/test/input-group.component.e2e.js.map +0 -1
  1527. package/dist/collection/components/molecules/input-group/test/input-group.component.spec.js +0 -17
  1528. package/dist/collection/components/molecules/input-group/test/input-group.component.spec.js.map +0 -1
  1529. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.e2e.js +0 -26
  1530. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.e2e.js.map +0 -1
  1531. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.spec.js +0 -18
  1532. package/dist/collection/components/molecules/navigation-item/test/navigation-item.component.spec.js.map +0 -1
  1533. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.e2e.js +0 -26
  1534. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.e2e.js.map +0 -1
  1535. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.spec.js +0 -17
  1536. package/dist/collection/components/molecules/page-size-select/test/page-size-select.component.spec.js.map +0 -1
  1537. package/dist/collection/components/molecules/pagination/test/pagination.component.e2e.js +0 -27
  1538. package/dist/collection/components/molecules/pagination/test/pagination.component.e2e.js.map +0 -1
  1539. package/dist/collection/components/molecules/pagination/test/pagination.component.spec.js +0 -18
  1540. package/dist/collection/components/molecules/pagination/test/pagination.component.spec.js.map +0 -1
  1541. package/dist/collection/components/molecules/profile/test/profile.component.e2e.js +0 -26
  1542. package/dist/collection/components/molecules/profile/test/profile.component.e2e.js.map +0 -1
  1543. package/dist/collection/components/molecules/profile/test/profile.component.spec.js +0 -17
  1544. package/dist/collection/components/molecules/profile/test/profile.component.spec.js.map +0 -1
  1545. package/dist/collection/components/molecules/select/test/select.component.e2e.js +0 -26
  1546. package/dist/collection/components/molecules/select/test/select.component.e2e.js.map +0 -1
  1547. package/dist/collection/components/molecules/select/test/select.component.spec.js +0 -17
  1548. package/dist/collection/components/molecules/select/test/select.component.spec.js.map +0 -1
  1549. package/dist/collection/components/molecules/stepper/test/stepper.component.e2e.js +0 -26
  1550. package/dist/collection/components/molecules/stepper/test/stepper.component.e2e.js.map +0 -1
  1551. package/dist/collection/components/molecules/stepper/test/stepper.component.spec.js +0 -17
  1552. package/dist/collection/components/molecules/stepper/test/stepper.component.spec.js.map +0 -1
  1553. package/dist/collection/components/molecules/table-cell/test/table-cell.component.e2e.js +0 -26
  1554. package/dist/collection/components/molecules/table-cell/test/table-cell.component.e2e.js.map +0 -1
  1555. package/dist/collection/components/molecules/table-cell/test/table-cell.component.spec.js +0 -17
  1556. package/dist/collection/components/molecules/table-cell/test/table-cell.component.spec.js.map +0 -1
  1557. package/dist/collection/components/molecules/table-footer/test/table-footer.component.e2e.js +0 -26
  1558. package/dist/collection/components/molecules/table-footer/test/table-footer.component.e2e.js.map +0 -1
  1559. package/dist/collection/components/molecules/table-footer/test/table-footer.component.spec.js +0 -17
  1560. package/dist/collection/components/molecules/table-footer/test/table-footer.component.spec.js.map +0 -1
  1561. package/dist/collection/components/molecules/table-header/test/table-header.component.e2e.js +0 -26
  1562. package/dist/collection/components/molecules/table-header/test/table-header.component.e2e.js.map +0 -1
  1563. package/dist/collection/components/molecules/table-header/test/table-header.component.spec.js +0 -17
  1564. package/dist/collection/components/molecules/table-header/test/table-header.component.spec.js.map +0 -1
  1565. package/dist/collection/components/molecules/table-row/test/table-row.component.e2e.js +0 -26
  1566. package/dist/collection/components/molecules/table-row/test/table-row.component.e2e.js.map +0 -1
  1567. package/dist/collection/components/molecules/table-row/test/table-row.component.spec.js +0 -17
  1568. package/dist/collection/components/molecules/table-row/test/table-row.component.spec.js.map +0 -1
  1569. package/dist/collection/components/molecules/toast/test/toast.component.e2e.js +0 -26
  1570. package/dist/collection/components/molecules/toast/test/toast.component.e2e.js.map +0 -1
  1571. package/dist/collection/components/molecules/toast/test/toast.component.spec.js +0 -17
  1572. package/dist/collection/components/molecules/toast/test/toast.component.spec.js.map +0 -1
  1573. package/dist/collection/components/organisms/drawer/test/drawer.component.e2e.js +0 -26
  1574. package/dist/collection/components/organisms/drawer/test/drawer.component.e2e.js.map +0 -1
  1575. package/dist/collection/components/organisms/drawer/test/drawer.component.spec.js +0 -17
  1576. package/dist/collection/components/organisms/drawer/test/drawer.component.spec.js.map +0 -1
  1577. package/dist/collection/components/organisms/modal/test/modal.component.e2e.js +0 -26
  1578. package/dist/collection/components/organisms/modal/test/modal.component.e2e.js.map +0 -1
  1579. package/dist/collection/components/organisms/modal/test/modal.component.spec.js +0 -17
  1580. package/dist/collection/components/organisms/modal/test/modal.component.spec.js.map +0 -1
  1581. package/dist/collection/components/organisms/navbar/test/navbar.component.e2e.js +0 -26
  1582. package/dist/collection/components/organisms/navbar/test/navbar.component.e2e.js.map +0 -1
  1583. package/dist/collection/components/organisms/navbar/test/navbar.component.spec.js +0 -17
  1584. package/dist/collection/components/organisms/navbar/test/navbar.component.spec.js.map +0 -1
  1585. package/dist/collection/components/organisms/table/test/table.component.e2e.js +0 -26
  1586. package/dist/collection/components/organisms/table/test/table.component.e2e.js.map +0 -1
  1587. package/dist/collection/components/organisms/table/test/table.component.spec.js +0 -18
  1588. package/dist/collection/components/organisms/table/test/table.component.spec.js.map +0 -1
  1589. package/dist/components/input-group.component.js +0 -181
  1590. package/dist/components/input-group.component.js.map +0 -1
  1591. package/dist/components/p-input-group.d.ts +0 -11
  1592. package/dist/components/p-input-group.js +0 -8
  1593. package/dist/components/p-input-group.js.map +0 -1
  1594. package/dist/esm/child-of-fec6ab3a.js +0 -9
  1595. package/dist/esm/child-of-fec6ab3a.js.map +0 -1
  1596. package/dist/esm/floating-ui.dom.esm-314a52b2.js +0 -1327
  1597. package/dist/esm/floating-ui.dom.esm-314a52b2.js.map +0 -1
  1598. package/dist/esm/iban-c412c889.js +0 -14
  1599. package/dist/esm/iban-c412c889.js.map +0 -1
  1600. package/dist/esm/icons-cf12e4d2.js +0 -1546
  1601. package/dist/esm/icons-cf12e4d2.js.map +0 -1
  1602. package/dist/esm/icons-deprecated-2e1d124f.js +0 -1121
  1603. package/dist/esm/icons-deprecated-2e1d124f.js.map +0 -1
  1604. package/dist/esm/index-5fa2e728.js +0 -2300
  1605. package/dist/esm/index-5fa2e728.js.map +0 -1
  1606. package/dist/esm/index-f99096d4.js +0 -2624
  1607. package/dist/esm/index-f99096d4.js.map +0 -1
  1608. package/dist/esm/localization-2c641f90.js +0 -59
  1609. package/dist/esm/localization-2c641f90.js.map +0 -1
  1610. package/dist/esm/object-get-by-path-273a7106.js +0 -114
  1611. package/dist/esm/object-get-by-path-273a7106.js.map +0 -1
  1612. package/dist/esm/p-dropdown_2.entry.js +0 -229
  1613. package/dist/esm/p-dropdown_2.entry.js.map +0 -1
  1614. package/dist/esm/p-helper_3.entry.js +0 -150
  1615. package/dist/esm/p-helper_3.entry.js.map +0 -1
  1616. package/dist/esm/p-tooltip.entry.js +0 -160
  1617. package/dist/esm/p-tooltip.entry.js.map +0 -1
  1618. package/dist/esm/polyfills/core-js.js +0 -11
  1619. package/dist/esm/polyfills/dom.js +0 -79
  1620. package/dist/esm/polyfills/es5-html-element.js +0 -1
  1621. package/dist/esm/polyfills/index.js +0 -34
  1622. package/dist/esm/polyfills/system.js +0 -6
  1623. package/dist/esm/screens-c0e0dee2.js +0 -54
  1624. package/dist/esm/screens-c0e0dee2.js.map +0 -1
  1625. package/dist/paperless/p-013cd7f9.entry.js +0 -2
  1626. package/dist/paperless/p-013cd7f9.entry.js.map +0 -1
  1627. package/dist/paperless/p-0348e450.entry.js +0 -2
  1628. package/dist/paperless/p-0348e450.entry.js.map +0 -1
  1629. package/dist/paperless/p-047c1c6f.entry.js +0 -2
  1630. package/dist/paperless/p-047c1c6f.entry.js.map +0 -1
  1631. package/dist/paperless/p-08ea38ad.entry.js +0 -2
  1632. package/dist/paperless/p-08ea38ad.entry.js.map +0 -1
  1633. package/dist/paperless/p-16a18649.entry.js +0 -2
  1634. package/dist/paperless/p-16a18649.entry.js.map +0 -1
  1635. package/dist/paperless/p-1fc0a8b4.entry.js +0 -2
  1636. package/dist/paperless/p-1fc0a8b4.entry.js.map +0 -1
  1637. package/dist/paperless/p-221dbb71.entry.js +0 -2
  1638. package/dist/paperless/p-221dbb71.entry.js.map +0 -1
  1639. package/dist/paperless/p-23ca3688.entry.js +0 -2
  1640. package/dist/paperless/p-23ca3688.entry.js.map +0 -1
  1641. package/dist/paperless/p-2e3b9db4.js +0 -2
  1642. package/dist/paperless/p-2e3b9db4.js.map +0 -1
  1643. package/dist/paperless/p-2f9e9197.entry.js +0 -2
  1644. package/dist/paperless/p-2f9e9197.entry.js.map +0 -1
  1645. package/dist/paperless/p-32056913.entry.js +0 -2
  1646. package/dist/paperless/p-32056913.entry.js.map +0 -1
  1647. package/dist/paperless/p-33fa21e3.js +0 -2
  1648. package/dist/paperless/p-33fa21e3.js.map +0 -1
  1649. package/dist/paperless/p-385943b2.entry.js +0 -2
  1650. package/dist/paperless/p-385943b2.entry.js.map +0 -1
  1651. package/dist/paperless/p-393eba2f.entry.js +0 -2
  1652. package/dist/paperless/p-393eba2f.entry.js.map +0 -1
  1653. package/dist/paperless/p-3d867690.entry.js +0 -2
  1654. package/dist/paperless/p-3d867690.entry.js.map +0 -1
  1655. package/dist/paperless/p-3e9d994a.entry.js +0 -2
  1656. package/dist/paperless/p-3e9d994a.entry.js.map +0 -1
  1657. package/dist/paperless/p-45463125.entry.js +0 -2
  1658. package/dist/paperless/p-45463125.entry.js.map +0 -1
  1659. package/dist/paperless/p-4d330cfc.js +0 -2
  1660. package/dist/paperless/p-4d330cfc.js.map +0 -1
  1661. package/dist/paperless/p-5e789bb1.entry.js +0 -2
  1662. package/dist/paperless/p-5e789bb1.entry.js.map +0 -1
  1663. package/dist/paperless/p-64b53130.entry.js +0 -2
  1664. package/dist/paperless/p-64b53130.entry.js.map +0 -1
  1665. package/dist/paperless/p-64b68231.js +0 -3
  1666. package/dist/paperless/p-64b68231.js.map +0 -1
  1667. package/dist/paperless/p-6cddc325.js +0 -2
  1668. package/dist/paperless/p-6cddc325.js.map +0 -1
  1669. package/dist/paperless/p-6e71ebca.entry.js +0 -2
  1670. package/dist/paperless/p-6e71ebca.entry.js.map +0 -1
  1671. package/dist/paperless/p-6f7721eb.entry.js +0 -2
  1672. package/dist/paperless/p-6f7721eb.entry.js.map +0 -1
  1673. package/dist/paperless/p-6fed974c.entry.js +0 -2
  1674. package/dist/paperless/p-6fed974c.entry.js.map +0 -1
  1675. package/dist/paperless/p-75006522.js +0 -2
  1676. package/dist/paperless/p-75006522.js.map +0 -1
  1677. package/dist/paperless/p-79cc09c0.entry.js +0 -2
  1678. package/dist/paperless/p-79cc09c0.entry.js.map +0 -1
  1679. package/dist/paperless/p-7a577384.entry.js +0 -2
  1680. package/dist/paperless/p-7a577384.entry.js.map +0 -1
  1681. package/dist/paperless/p-7beb3401.entry.js +0 -2
  1682. package/dist/paperless/p-7beb3401.entry.js.map +0 -1
  1683. package/dist/paperless/p-7d5f6497.entry.js +0 -2
  1684. package/dist/paperless/p-7d5f6497.entry.js.map +0 -1
  1685. package/dist/paperless/p-851a7662.entry.js +0 -2
  1686. package/dist/paperless/p-851a7662.entry.js.map +0 -1
  1687. package/dist/paperless/p-909879e3.entry.js +0 -3
  1688. package/dist/paperless/p-909879e3.entry.js.map +0 -1
  1689. package/dist/paperless/p-937b2d74.entry.js +0 -2
  1690. package/dist/paperless/p-937b2d74.entry.js.map +0 -1
  1691. package/dist/paperless/p-95eadadd.entry.js +0 -2
  1692. package/dist/paperless/p-95eadadd.entry.js.map +0 -1
  1693. package/dist/paperless/p-9fa5d08a.entry.js +0 -2
  1694. package/dist/paperless/p-9fa5d08a.entry.js.map +0 -1
  1695. package/dist/paperless/p-a587ff9f.entry.js +0 -2
  1696. package/dist/paperless/p-a587ff9f.entry.js.map +0 -1
  1697. package/dist/paperless/p-a7b8e22f.entry.js +0 -2
  1698. package/dist/paperless/p-a7b8e22f.entry.js.map +0 -1
  1699. package/dist/paperless/p-aa058967.entry.js +0 -2
  1700. package/dist/paperless/p-aa058967.entry.js.map +0 -1
  1701. package/dist/paperless/p-af4aedaf.entry.js +0 -2
  1702. package/dist/paperless/p-af4aedaf.entry.js.map +0 -1
  1703. package/dist/paperless/p-b5430fae.entry.js +0 -2
  1704. package/dist/paperless/p-b5430fae.entry.js.map +0 -1
  1705. package/dist/paperless/p-b8e718c7.entry.js +0 -2
  1706. package/dist/paperless/p-b8e718c7.entry.js.map +0 -1
  1707. package/dist/paperless/p-b9a7e240.entry.js +0 -2
  1708. package/dist/paperless/p-b9a7e240.entry.js.map +0 -1
  1709. package/dist/paperless/p-bc46f89a.entry.js +0 -2
  1710. package/dist/paperless/p-bc46f89a.entry.js.map +0 -1
  1711. package/dist/paperless/p-be0c925e.entry.js +0 -2
  1712. package/dist/paperless/p-be0c925e.entry.js.map +0 -1
  1713. package/dist/paperless/p-bfbab545.entry.js +0 -2
  1714. package/dist/paperless/p-bfbab545.entry.js.map +0 -1
  1715. package/dist/paperless/p-c6bcbcbf.entry.js +0 -2
  1716. package/dist/paperless/p-c6bcbcbf.entry.js.map +0 -1
  1717. package/dist/paperless/p-cb7c509e.entry.js +0 -2
  1718. package/dist/paperless/p-cb7c509e.entry.js.map +0 -1
  1719. package/dist/paperless/p-cc321a7b.entry.js +0 -2
  1720. package/dist/paperless/p-cc321a7b.entry.js.map +0 -1
  1721. package/dist/paperless/p-d3d8468b.js +0 -2
  1722. package/dist/paperless/p-d3d8468b.js.map +0 -1
  1723. package/dist/paperless/p-d5d413a1.js +0 -2
  1724. package/dist/paperless/p-d5d413a1.js.map +0 -1
  1725. package/dist/paperless/p-d81a30f6.entry.js +0 -2
  1726. package/dist/paperless/p-d81a30f6.entry.js.map +0 -1
  1727. package/dist/paperless/p-dce95c92.entry.js +0 -2
  1728. package/dist/paperless/p-dce95c92.entry.js.map +0 -1
  1729. package/dist/paperless/p-dd6d3839.entry.js +0 -2
  1730. package/dist/paperless/p-dd6d3839.entry.js.map +0 -1
  1731. package/dist/paperless/p-e10cf2d3.entry.js +0 -2
  1732. package/dist/paperless/p-e10cf2d3.entry.js.map +0 -1
  1733. package/dist/paperless/p-ea3bce45.entry.js +0 -2
  1734. package/dist/paperless/p-ea3bce45.entry.js.map +0 -1
  1735. package/dist/paperless/p-f78afad9.entry.js +0 -2
  1736. package/dist/paperless/p-f78afad9.entry.js.map +0 -1
  1737. package/dist/paperless/p-f8544f0c.js +0 -2
  1738. package/dist/paperless/p-f8544f0c.js.map +0 -1
  1739. package/dist/paperless/p-fcaa0539.entry.js +0 -2
  1740. package/dist/paperless/p-fcaa0539.entry.js.map +0 -1
  1741. package/dist/paperless/p-fef32402.js +0 -2
  1742. package/dist/paperless/p-fef32402.js.map +0 -1
  1743. package/dist/style/form/_checkbox.scss +0 -135
  1744. package/dist/style/form/_input.scss +0 -31
  1745. package/dist/style/form/_mixins.scss +0 -129
  1746. package/dist/style/form/_radio.scss +0 -58
  1747. package/dist/style/form/_range.scss +0 -20
  1748. package/dist/style/form/_textarea.scss +0 -31
  1749. package/dist/style/form/index.scss +0 -5
  1750. package/dist/types/components/molecules/input-group/input-group.component.d.ts +0 -81
  1751. package/dist/workbox-bc53c9ad.js +0 -2
  1752. package/dist/workbox-bc53c9ad.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"content-slider.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/content-slider/content-slider.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,aAAa;;IA+BjB,WAAM,GAAkB,EAAE,CAAC;IAQ3B,yBAAoB,GAAG,KAAK,CAAC;+BAnCE,KAAK;uBAKb,KAAK;6BAKC,KAAK;iCAKD,KAAK;;wBAQd,CAAC;uBACF,CAAC;qBAYH,KAAK;;EAElC,mBAAmB;IAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;IACtD,IAAI,CAAC,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,KAAK,CAAkB,CAAC;EAClD,CAAC;EAED,gBAAgB;IACf,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,WAAW,CAAC,kBAAkB,EAAE,KAAK,CAAC,CAAC;IAClE,IAAI,CAAC,e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AK,GAAG,EAAE,CAAC;EAC7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-content-slider',\n\tstyleUrl: 'content-slider.component.scss',\n\tshadow: true,\n})\nexport class ContentSlider {\n\t/**\n\t * Wether to hide the indicator on mobile\n\t */\n\t@Prop() hideMobileIndicator: boolean = false;\n\n\t/**\n\t * Wether to disable dragging the content\n\t */\n\t@Prop() disableDrag: boolean = false;\n\n\t/**\n\t * Wether to disable auto centering the content\n\t */\n\t@Prop() disableAutoCenter: boolean = false;\n\n\t/**\n\t * Wether to disable clicking the indicator scrolls content\n\t */\n\t@Prop() disableIndicatorClick: boolean = false;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _visibleIndex: number;\n\t@State() private _outerHeight = 0;\n\t@State() private _totalWidth = 0;\n\tprivate _sliderRef: HTMLElement;\n\tprivate _innerSliderRef: HTMLElement;\n\tprivate _items: HTMLElement[] = [];\n\tprivate _innerSliderResizeObserver: ResizeObserver;\n\n\t// mouse movement stuff\n\tprivate _startX: number;\n\tprivate _startMouseX: number;\n\tprivate _lastMouseX: number;\n\tprivate _lastIndex: number;\n\tprivate _shouldCheckLocation = false;\n\t@State() private _dragging = false;\n\n\tcomponentWillRender() {\n\t\tconst items = this._el.querySelectorAll(':scope > *');\n\t\tthis._items = Array.from(items) as HTMLElement[];\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\tthis._calculateWidth();\n\t\tthis._calculateIndicator();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._innerSliderResizeObserver) {\n\t\t\tthis._innerSliderResizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-content-slider\">\n\t\t\t\t<div\n\t\t\t\t\tclass={`slider ${!this.disableDrag && 'draggable'} ${\n\t\t\t\t\t\tthis._dragging && 'dragging'\n\t\t\t\t\t}`}\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\theight: `${this._outerHeight}px`,\n\t\t\t\t\t}}\n\t\t\t\t\tref={(el) => (this._sliderRef = el)}\n\t\t\t\t\tonMouseDown={(e) => this._mouseDownHandler(e)}\n\t\t\t\t\tonTouchStart={(e) => this._mouseDownHandler(e)}\n\t\t\t\t\tonMouseMove={(e) => this._mouseMoveHandler(e)}\n\t\t\t\t\tonTouchMove={(e) => this._mouseMoveHandler(e)}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass=\"inner-slider\"\n\t\t\t\t\t\tref={(ref) => this._setInnerSliderReft(ref)}\n\t\t\t\t\t\tonTransitionEnd={() => this._transitionEndHandler()}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={`indicator ${this.hideMobileIndicator && 'hidden'}`}\n\t\t\t\t>\n\t\t\t\t\t{this._items.map((_, i) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._scrollTo(i, true)}\n\t\t\t\t\t\t\tclass={`item ${\n\t\t\t\t\t\t\t\t!this.disableIndicatorClick && 'cursor-pointer'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-slider-indicator\n\t\t\t\t\t\t\t\tactive={i === this._visibleIndex}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _mouseDownHandler(e) {\n\t\tif (this.disableDrag || this._dragging) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst innerSliderStyle = getComputedStyle(this._innerSliderRef);\n\t\tif (innerSliderStyle.flexWrap === 'wrap') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._startMouseX = e.x;\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tif (e.type === 'touchstart') {\n\t\t\tthis._startMouseX = e.touches?.[0].clientX;\n\t\t}\n\n\t\tconst innerSliderRect = this._innerSliderRef.getBoundingClientRect();\n\t\tconst offsetLeft = innerSliderRect.x - sliderRect.x;\n\n\t\tthis._startX = this._startMouseX - sliderRect.x - offsetLeft;\n\t\tthis._lastIndex = this._visibleIndex;\n\t\tthis._dragging = true;\n\t}\n\n\tprivate _mouseMoveHandler(e) {\n\t\tif (!e || !this._dragging || this.disableDrag) {\n\t\t\treturn;\n\t\t}\n\n\t\te.preventDefault();\n\n\t\tthis._shouldCheckLocation = true;\n\n\t\tif (\n\t\t\tthis._innerSliderRef.style.getPropertyValue('pointer-events') === ''\n\t\t) {\n\t\t\tthis._innerSliderRef.style.pointerEvents = 'none';\n\t\t}\n\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tlet x = e.clientX - sliderRect.left;\n\t\tthis._lastMouseX = e.x;\n\t\tif (e.type === 'touchmove') {\n\t\t\tx = e.touches?.[0].clientX - sliderRect.left;\n\t\t\tthis._lastMouseX = e.touches?.[0].clientX;\n\t\t}\n\n\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t'--tw-translate-x',\n\t\t\t`${x - this._startX}px`\n\t\t);\n\n\t\tthis._checkBoundary();\n\t\tthis._calculateIndicator();\n\t}\n\n\tprivate _transitionEndHandler() {\n\t\tthis._calculateIndicator();\n\t}\n\n\t@Listen('mouseup', { target: 'window' })\n\t@Listen('touchend', { target: 'window' })\n\tmouseUpHandler() {\n\t\tthis._dragging = false;\n\t\tthis._innerSliderRef.style.removeProperty('pointer-events');\n\n\t\tthis._checkLocation();\n\t}\n\n\t@Listen('resize', { target: 'window' })\n\tresizeHandler() {\n\t\tif (this._innerSliderRef) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', '0px');\n\t\t\tthis._calculateWidth();\n\t\t\tthis._calculateIndicator();\n\t\t}\n\t}\n\n\tprivate _setInnerSliderReft(ref) {\n\t\tthis._innerSliderRef = ref;\n\t\tthis._innerSliderResizeObserver = new ResizeObserver(() =>\n\t\t\tthis._calculateHeight()\n\t\t);\n\t\tthis._innerSliderResizeObserver.observe(this._innerSliderRef);\n\t}\n\n\tprivate _scrollTo(i: number, manual = false) {\n\t\tif (this.disableIndicatorClick && manual) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst el = this._items[i];\n\n\t\tif (i === 0) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\t\treturn;\n\t\t}\n\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tconst innerSliderRect = this._innerSliderRef.getBoundingClientRect();\n\t\tconst elRect = el.getBoundingClientRect();\n\n\t\tconst offsetLeft = elRect.x - innerSliderRect.x;\n\n\t\tconst centerOffset =\n\t\t\toffsetLeft + elRect.width / 2 - sliderRect.width / 2;\n\n\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t'--tw-translate-x',\n\t\t\t`-${centerOffset}px`\n\t\t);\n\n\t\tthis._checkBoundary();\n\t\tthis._calculateIndicator();\n\t}\n\n\tprivate _checkBoundary() {\n\t\tlet outer = this._sliderRef.getBoundingClientRect();\n\n\t\tconst left = parseInt(\n\t\t\tthis._innerSliderRef.style.getPropertyValue('--tw-translate-x')\n\t\t);\n\t\tif (left > 0) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\t}\n\n\t\tconst maxLeft = (this._totalWidth - outer.width) * -1;\n\t\tif (left < maxLeft) {\n\t\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t\t'--tw-translate-x',\n\t\t\t\t`${maxLeft}px`\n\t\t\t);\n\t\t}\n\t}\n\n\tprivate _calculateIndicator() {\n\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\tconst item = this._items[i];\n\t\t\tconst visible = this._isVisible(item);\n\n\t\t\tif (visible) {\n\t\t\t\tthis._visibleIndex = i;\n\t\t\t}\n\n\t\t\tif (i === 0 && visible) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _checkLocation() {\n\t\tif (!this._shouldCheckLocation) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet scrollToIndex = null;\n\t\tif (this._lastIndex !== this._visibleIndex) {\n\t\t\tscrollToIndex = this._visibleIndex;\n\t\t}\n\n\t\tif (this._lastIndex === this._visibleIndex) {\n\t\t\tif (this._lastMouseX > this._startMouseX && this._lastIndex !== 0) {\n\t\t\t\tscrollToIndex = this._lastIndex - 1;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis._lastMouseX < this._startMouseX &&\n\t\t\t\tthis._lastIndex !== this._items?.length - 1\n\t\t\t) {\n\t\t\t\tscrollToIndex = this._lastIndex + 1;\n\t\t\t}\n\t\t}\n\n\t\tif (scrollToIndex !== null) {\n\t\t\tthis._shouldCheckLocation = false;\n\t\t\tsetTimeout(() => this._scrollTo(scrollToIndex), 100);\n\t\t}\n\t}\n\n\tprivate _isVisible(el: HTMLElement) {\n\t\tif (!this._el || !el) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst elRect = el.getBoundingClientRect();\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\n\t\treturn (\n\t\t\t(elRect.left >= sliderRect.left &&\n\t\t\t\telRect.right <= sliderRect.right) ||\n\t\t\t(this._isMobile(el) &&\n\t\t\t\telRect.left + elRect.width / 2 >= sliderRect.left &&\n\t\t\t\telRect.left + elRect.width / 2 <= sliderRect.right)\n\t\t);\n\t}\n\n\tprivate _calculateWidth() {\n\t\tlet totalWidth = 0;\n\n\t\tfor (let item of this._items) {\n\t\t\tconst rect = item.getBoundingClientRect();\n\t\t\ttotalWidth += rect.width;\n\t\t}\n\n\t\tconst sliderStyle = getComputedStyle(this._sliderRef);\n\t\tconst padding = parseInt(sliderStyle.padding) * 2;\n\n\t\tconst innerSliderStyle = getComputedStyle(this._innerSliderRef);\n\t\tconst gap = parseInt(innerSliderStyle.gap) * (this._items.length - 1);\n\n\t\ttotalWidth += padding + gap;\n\n\t\tthis._totalWidth = totalWidth;\n\t}\n\n\tprivate _calculateHeight() {\n\t\tconst outerHeight = this._items.at(0).getBoundingClientRect().height;\n\t\tif (outerHeight != this._outerHeight) {\n\t\t\tthis._outerHeight = outerHeight;\n\t\t}\n\t}\n\n\tprivate _isMobile(el?: HTMLElement) {\n\t\tif (!el) {\n\t\t\tel = this._items.at(0);\n\t\t}\n\n\t\tconst elRect = el.getBoundingClientRect();\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\n\t\treturn sliderRect.width - elRect.width < 10;\n\t}\n}\n"]}
1
+ {"version":3,"file":"content-slider.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/content-slider/content-slider.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,GACL,MAAM,eAAe,CAAC;AAOvB,MAAM,OAAO,aAAa;;mCAIc,KAAK;2BAKb,KAAK;iCAKC,KAAK;qCAKD,KAAK;;4BAQd,CAAC;2BACF,CAAC;yBAYH,KAAK;;IAnBlC;;OAEG;IACgB,GAAG,CAAc;IAK5B,UAAU,CAAc;IACxB,eAAe,CAAc;IAC7B,MAAM,GAAkB,EAAE,CAAC;IAC3B,0BAA0B,CAAiB;IAEnD,uBAAuB;IACf,OAAO,CAAS;IAChB,YAAY,CAAS;IACrB,WAAW,CAAS;IACpB,UAAU,CAAS;IACnB,oBAAoB,GAAG,KAAK,CAAC;IAGrC,mBAAmB;QAClB,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,YAAY,CAAC,CAAC;QACtD,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M,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,qBAAqB,EAAE,CAAC,MAAM,CAAC;QACrE,IAAI,WAAW,IAAI,IAAI,CAAC,YAAY,EAAE,CAAC;YACtC,IAAI,CAAC,YAAY,GAAG,WAAW,CAAC;QACjC,CAAC;IACF,CAAC;IAEO,SAAS,CAAC,EAAgB;QACjC,IAAI,CAAC,EAAE,EAAE,CAAC;YACT,EAAE,GAAG,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;QACxB,CAAC;QAED,MAAM,MAAM,GAAG,EAAE,CAAC,qBAAqB,EAAE,CAAC;QAC1C,MAAM,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,qBAAqB,EAAE,CAAC;QAE3D,OAAO,UAAU,CAAC,KAAK,GAAG,MAAM,CAAC,KAAK,GAAG,EAAE,CAAC;IAC7C,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\n\n@Component({\n\ttag: 'p-content-slider',\n\tstyleUrl: 'content-slider.component.scss',\n\tshadow: true,\n})\nexport class ContentSlider {\n\t/**\n\t * Wether to hide the indicator on mobile\n\t */\n\t@Prop() hideMobileIndicator: boolean = false;\n\n\t/**\n\t * Wether to disable dragging the content\n\t */\n\t@Prop() disableDrag: boolean = false;\n\n\t/**\n\t * Wether to disable auto centering the content\n\t */\n\t@Prop() disableAutoCenter: boolean = false;\n\n\t/**\n\t * Wether to disable clicking the indicator scrolls content\n\t */\n\t@Prop() disableIndicatorClick: boolean = false;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _visibleIndex: number;\n\t@State() private _outerHeight = 0;\n\t@State() private _totalWidth = 0;\n\tprivate _sliderRef: HTMLElement;\n\tprivate _innerSliderRef: HTMLElement;\n\tprivate _items: HTMLElement[] = [];\n\tprivate _innerSliderResizeObserver: ResizeObserver;\n\n\t// mouse movement stuff\n\tprivate _startX: number;\n\tprivate _startMouseX: number;\n\tprivate _lastMouseX: number;\n\tprivate _lastIndex: number;\n\tprivate _shouldCheckLocation = false;\n\t@State() private _dragging = false;\n\n\tcomponentWillRender() {\n\t\tconst items = this._el.querySelectorAll(':scope > *');\n\t\tthis._items = Array.from(items) as HTMLElement[];\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\tthis._calculateWidth();\n\t\tthis._calculateIndicator();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._innerSliderResizeObserver) {\n\t\t\tthis._innerSliderResizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-content-slider\">\n\t\t\t\t<div\n\t\t\t\t\tclass={`slider ${!this.disableDrag && 'draggable'} ${\n\t\t\t\t\t\tthis._dragging && 'dragging'\n\t\t\t\t\t}`}\n\t\t\t\t\tstyle={{\n\t\t\t\t\t\theight: `${this._outerHeight}px`,\n\t\t\t\t\t}}\n\t\t\t\t\tref={(el) => (this._sliderRef = el)}\n\t\t\t\t\tonMouseDown={(e) => this._mouseDownHandler(e)}\n\t\t\t\t\tonTouchStart={(e) => this._mouseDownHandler(e)}\n\t\t\t\t\tonMouseMove={(e) => this._mouseMoveHandler(e)}\n\t\t\t\t\tonTouchMove={(e) => this._mouseMoveHandler(e)}\n\t\t\t\t>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass=\"inner-slider\"\n\t\t\t\t\t\tref={(ref) => this._setInnerSliderReft(ref)}\n\t\t\t\t\t\tonTransitionEnd={() => this._transitionEndHandler()}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div\n\t\t\t\t\tclass={`indicator ${this.hideMobileIndicator && 'hidden'}`}\n\t\t\t\t>\n\t\t\t\t\t{this._items.map((_, i) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._scrollTo(i, true)}\n\t\t\t\t\t\t\tclass={`item ${\n\t\t\t\t\t\t\t\t!this.disableIndicatorClick && 'cursor-pointer'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-slider-indicator\n\t\t\t\t\t\t\t\tactive={i === this._visibleIndex}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _mouseDownHandler(e) {\n\t\tif (this.disableDrag || this._dragging) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst innerSliderStyle = getComputedStyle(this._innerSliderRef);\n\t\tif (innerSliderStyle.flexWrap === 'wrap') {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._startMouseX = e.x;\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tif (e.type === 'touchstart') {\n\t\t\tthis._startMouseX = e.touches?.[0].clientX;\n\t\t}\n\n\t\tconst innerSliderRect = this._innerSliderRef.getBoundingClientRect();\n\t\tconst offsetLeft = innerSliderRect.x - sliderRect.x;\n\n\t\tthis._startX = this._startMouseX - sliderRect.x - offsetLeft;\n\t\tthis._lastIndex = this._visibleIndex;\n\t\tthis._dragging = true;\n\t}\n\n\tprivate _mouseMoveHandler(e) {\n\t\tif (!e || !this._dragging || this.disableDrag) {\n\t\t\treturn;\n\t\t}\n\n\t\te.preventDefault();\n\n\t\tthis._shouldCheckLocation = true;\n\n\t\tif (\n\t\t\tthis._innerSliderRef.style.getPropertyValue('pointer-events') === ''\n\t\t) {\n\t\t\tthis._innerSliderRef.style.pointerEvents = 'none';\n\t\t}\n\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tlet x = e.clientX - sliderRect.left;\n\t\tthis._lastMouseX = e.x;\n\t\tif (e.type === 'touchmove') {\n\t\t\tx = e.touches?.[0].clientX - sliderRect.left;\n\t\t\tthis._lastMouseX = e.touches?.[0].clientX;\n\t\t}\n\n\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t'--tw-translate-x',\n\t\t\t`${x - this._startX}px`\n\t\t);\n\n\t\tthis._checkBoundary();\n\t\tthis._calculateIndicator();\n\t}\n\n\tprivate _transitionEndHandler() {\n\t\tthis._calculateIndicator();\n\t}\n\n\t@Listen('mouseup', { target: 'window' })\n\t@Listen('touchend', { target: 'window' })\n\tmouseUpHandler() {\n\t\tthis._dragging = false;\n\t\tthis._innerSliderRef.style.removeProperty('pointer-events');\n\n\t\tthis._checkLocation();\n\t}\n\n\t@Listen('resize', { target: 'window' })\n\tresizeHandler() {\n\t\tif (this._innerSliderRef) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', '0px');\n\t\t\tthis._calculateWidth();\n\t\t\tthis._calculateIndicator();\n\t\t}\n\t}\n\n\tprivate _setInnerSliderReft(ref) {\n\t\tthis._innerSliderRef = ref;\n\t\tthis._innerSliderResizeObserver = new ResizeObserver(() =>\n\t\t\tthis._calculateHeight()\n\t\t);\n\t\tthis._innerSliderResizeObserver.observe(this._innerSliderRef);\n\t}\n\n\tprivate _scrollTo(i: number, manual = false) {\n\t\tif (this.disableIndicatorClick && manual) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst el = this._items[i];\n\n\t\tif (i === 0) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\t\treturn;\n\t\t}\n\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\t\tconst innerSliderRect = this._innerSliderRef.getBoundingClientRect();\n\t\tconst elRect = el.getBoundingClientRect();\n\n\t\tconst offsetLeft = elRect.x - innerSliderRect.x;\n\n\t\tconst centerOffset =\n\t\t\toffsetLeft + elRect.width / 2 - sliderRect.width / 2;\n\n\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t'--tw-translate-x',\n\t\t\t`-${centerOffset}px`\n\t\t);\n\n\t\tthis._checkBoundary();\n\t\tthis._calculateIndicator();\n\t}\n\n\tprivate _checkBoundary() {\n\t\tlet outer = this._sliderRef.getBoundingClientRect();\n\n\t\tconst left = parseInt(\n\t\t\tthis._innerSliderRef.style.getPropertyValue('--tw-translate-x')\n\t\t);\n\t\tif (left > 0) {\n\t\t\tthis._innerSliderRef.style.setProperty('--tw-translate-x', `0px`);\n\t\t}\n\n\t\tconst maxLeft = (this._totalWidth - outer.width) * -1;\n\t\tif (left < maxLeft) {\n\t\t\tthis._innerSliderRef.style.setProperty(\n\t\t\t\t'--tw-translate-x',\n\t\t\t\t`${maxLeft}px`\n\t\t\t);\n\t\t}\n\t}\n\n\tprivate _calculateIndicator() {\n\t\tfor (let i = 0; i < this._items.length; i++) {\n\t\t\tconst item = this._items[i];\n\t\t\tconst visible = this._isVisible(item);\n\n\t\t\tif (visible) {\n\t\t\t\tthis._visibleIndex = i;\n\t\t\t}\n\n\t\t\tif (i === 0 && visible) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _checkLocation() {\n\t\tif (!this._shouldCheckLocation) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet scrollToIndex = null;\n\t\tif (this._lastIndex !== this._visibleIndex) {\n\t\t\tscrollToIndex = this._visibleIndex;\n\t\t}\n\n\t\tif (this._lastIndex === this._visibleIndex) {\n\t\t\tif (this._lastMouseX > this._startMouseX && this._lastIndex !== 0) {\n\t\t\t\tscrollToIndex = this._lastIndex - 1;\n\t\t\t}\n\n\t\t\tif (\n\t\t\t\tthis._lastMouseX < this._startMouseX &&\n\t\t\t\tthis._lastIndex !== this._items?.length - 1\n\t\t\t) {\n\t\t\t\tscrollToIndex = this._lastIndex + 1;\n\t\t\t}\n\t\t}\n\n\t\tif (scrollToIndex !== null) {\n\t\t\tthis._shouldCheckLocation = false;\n\t\t\tsetTimeout(() => this._scrollTo(scrollToIndex), 100);\n\t\t}\n\t}\n\n\tprivate _isVisible(el: HTMLElement) {\n\t\tif (!this._el || !el) {\n\t\t\treturn false;\n\t\t}\n\n\t\tconst elRect = el.getBoundingClientRect();\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\n\t\treturn (\n\t\t\t(elRect.left >= sliderRect.left &&\n\t\t\t\telRect.right <= sliderRect.right) ||\n\t\t\t(this._isMobile(el) &&\n\t\t\t\telRect.left + elRect.width / 2 >= sliderRect.left &&\n\t\t\t\telRect.left + elRect.width / 2 <= sliderRect.right)\n\t\t);\n\t}\n\n\tprivate _calculateWidth() {\n\t\tlet totalWidth = 0;\n\n\t\tfor (let item of this._items) {\n\t\t\tconst rect = item.getBoundingClientRect();\n\t\t\ttotalWidth += rect.width;\n\t\t}\n\n\t\tconst sliderStyle = getComputedStyle(this._sliderRef);\n\t\tconst padding = parseInt(sliderStyle.padding) * 2;\n\n\t\tconst innerSliderStyle = getComputedStyle(this._innerSliderRef);\n\t\tconst gap = parseInt(innerSliderStyle.gap) * (this._items.length - 1);\n\n\t\ttotalWidth += padding + gap;\n\n\t\tthis._totalWidth = totalWidth;\n\t}\n\n\tprivate _calculateHeight() {\n\t\tconst outerHeight = this._items.at(0).getBoundingClientRect().height;\n\t\tif (outerHeight != this._outerHeight) {\n\t\t\tthis._outerHeight = outerHeight;\n\t\t}\n\t}\n\n\tprivate _isMobile(el?: HTMLElement) {\n\t\tif (!el) {\n\t\t\tel = this._items.at(0);\n\t\t}\n\n\t\tconst elRect = el.getBoundingClientRect();\n\t\tconst sliderRect = this._sliderRef.getBoundingClientRect();\n\n\t\treturn sliderRect.width - elRect.width < 10;\n\t}\n}\n"]}
@@ -1 +1 @@
1
- .relative{position:relative!important}.-mt-\[6px\]{margin-top:-6px!important}.mb-6{margin-bottom:1.5rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-\[2px\]{height:2px!important}.w-4{width:1rem!important}.w-full{width:100%!important}.appearance-none{appearance:none!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-full{border-radius:9999px!important}.border-0{border-width:0!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%}:host .p-input[type=range]{appearance:none;background-color:transparent;position:relative}:host .p-input[type=range]::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity,1));height:2px}:host .p-input[type=range]::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity,1));height:2px}:host .p-input[type=range]::-moz-range-thumb,:host .p-input[type=range]::-webkit-slider-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}:host .p-input[type=range]::-webkit-slider-thumb{margin-top:-6px}.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-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}}
1
+ .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}}
@@ -2,234 +2,248 @@ import { Host, h, } from "@stencil/core";
2
2
  import { clsx } from "clsx";
3
3
  import "cropperjs";
4
4
  export class Cropper {
5
- constructor() {
6
- this._maxScale = 0;
7
- this._minScale = 0;
8
- this.variant = 'user';
9
- this.value = undefined;
10
- this.returnType = 'base64';
11
- this._loaded = false;
12
- this._currentScale = 0;
13
- }
14
- onResize() {
15
- if (this._resizeDebounceTimeout) {
16
- clearTimeout(this._resizeDebounceTimeout);
17
- }
18
- this._resizeDebounceTimeout = setTimeout(() => {
19
- this._selectionRef.$center();
20
- this._imageRef.$center();
21
- }, 200);
22
- }
23
- componentDidLoad() {
24
- setTimeout(() => {
25
- this._loaded = true;
26
- }, 200);
27
- }
28
- render() {
29
- return (h(Host, { class: "p-cropper" }, this._loaded && (h("cropper-canvas", { class: "h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white", onAction: () => this._onAction() }, h("cropper-image", { src: this.value, alt: "Picture", ref: (ref) => this._setImageRef(ref), scalable: true, crossorigin: "anonymous" }), h("cropper-shade", { class: clsx({
30
- 'rounded-round': this.variant === 'user',
31
- rounded: this.variant === 'company',
32
- }), "theme-color": "rgba(255, 255, 255, 0.5)", hidden: true }), h("cropper-selection", { "initial-coverage": "0.7", "aspect-ratio": "1", ref: (ref) => (this._selectionRef = ref) }), h("cropper-handle", { action: "move", plain: true }))), h("div", { class: "flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1" }, h("p-icon", { variant: "minus" }), h("input", { class: "p-input w-full", type: "range", min: "0", max: "100", value: this._currentScale, onInput: (ev) => this._onInput(ev.target.value), step: "0.5" }), h("p-icon", { variant: "plus" }))));
33
- }
34
- _setImageRef(ref) {
35
- if (this._imageRef) {
36
- return;
37
- }
38
- this._imageRef = ref;
39
- this._imageRef.$ready((image) => setTimeout(() => this._setInitialState(image), 200));
40
- }
41
- _setInitialState(image) {
42
- let scale;
43
- if (image.naturalWidth > image.naturalHeight) {
44
- // set scale by height
45
- scale = 200 / image.naturalHeight;
46
- }
47
- if (image.naturalHeight >= image.naturalWidth) {
48
- // set scale by width
49
- scale = 200 / image.naturalWidth;
50
- }
51
- const current = this._imageRef.$getTransform();
52
- this._minScale = scale;
53
- this._maxScale = current[0];
54
- this._selectionRef.$resize('nw-resize', 200, 200, 1);
55
- this._selectionRef.$center();
56
- this._setScale(scale);
57
- this._toCanvas();
58
- }
59
- _onAction() {
60
- this._setCurrentScale();
61
- this._toCanvas();
62
- }
63
- _setScale(scale, setCenter = true, setCurrentScale = true) {
64
- const transform = this._imageRef.$getTransform();
65
- this._imageRef.$setTransform([
66
- scale,
67
- 0,
68
- 0,
69
- scale,
70
- transform[4],
71
- transform[5],
72
- ]);
73
- if (setCenter) {
74
- this._imageRef.$center();
75
- }
76
- if (setCurrentScale) {
77
- this._setCurrentScale();
78
- }
79
- }
80
- _setCurrentScale() {
81
- const transform = this._imageRef.$getTransform();
82
- const current = transform[0];
83
- if (current < this._minScale) {
84
- this._setScale(this._minScale, true, false);
85
- this._currentScale = 0;
86
- return;
87
- }
88
- if (current > this._maxScale) {
89
- this._setScale(this._maxScale, true, false);
90
- this._currentScale = 100;
91
- return;
92
- }
93
- if (current === this._minScale) {
94
- this._currentScale = 0;
95
- return;
96
- }
97
- if (current === this._maxScale) {
98
- this._currentScale = 100;
99
- return;
100
- }
101
- const minMaxDiff = this._maxScale - this._minScale;
102
- const currentDiff = current - this._minScale;
103
- const percentage = (currentDiff / minMaxDiff) * 100;
104
- this._currentScale = percentage;
105
- }
106
- _onInput(value) {
107
- const transform = this._imageRef.$getTransform();
108
- const current = transform[0];
109
- const minMaxDiff = this._maxScale - this._minScale;
110
- const toSet = minMaxDiff * (value / 100);
111
- if (toSet === current) {
112
- return;
113
- }
114
- this._setScale(toSet + this._minScale, false, false);
115
- this._currentScale = value;
116
- this._toCanvas();
117
- }
118
- _toCanvas() {
119
- if (this._toCanvasDebounceTimeout) {
120
- clearTimeout(this._toCanvasDebounceTimeout);
121
- }
122
- this._toCanvasDebounceTimeout = setTimeout(async () => {
123
- const canvas = await this._selectionRef.$toCanvas();
124
- if (this.returnType === 'canvas') {
125
- this.valueChange.emit(canvas);
126
- return;
127
- }
128
- const data = canvas.toDataURL('image/png');
129
- this.valueChange.emit(data);
130
- }, 200);
131
- }
132
- static get is() { return "p-cropper"; }
133
- static get encapsulation() { return "shadow"; }
134
- static get originalStyleUrls() {
135
- return {
136
- "$": ["cropper.component.scss"]
137
- };
138
- }
139
- static get styleUrls() {
140
- return {
141
- "$": ["cropper.component.css"]
142
- };
143
- }
144
- static get properties() {
145
- return {
146
- "variant": {
147
- "type": "string",
148
- "mutable": false,
149
- "complexType": {
150
- "original": "'user' | 'company'",
151
- "resolved": "\"company\" | \"user\"",
152
- "references": {}
153
- },
154
- "required": false,
155
- "optional": false,
156
- "docs": {
157
- "tags": [],
158
- "text": "Variant of the image that's being cropped"
159
- },
160
- "attribute": "variant",
161
- "reflect": true,
162
- "defaultValue": "'user'"
163
- },
164
- "value": {
165
- "type": "any",
166
- "mutable": false,
167
- "complexType": {
168
- "original": "any",
169
- "resolved": "any",
170
- "references": {}
171
- },
172
- "required": false,
173
- "optional": false,
174
- "docs": {
175
- "tags": [],
176
- "text": "The image to crop (url or base64)"
177
- },
178
- "attribute": "value",
179
- "reflect": false
180
- },
181
- "returnType": {
182
- "type": "string",
183
- "mutable": false,
184
- "complexType": {
185
- "original": "'canvas' | 'base64'",
186
- "resolved": "\"base64\" | \"canvas\"",
187
- "references": {}
188
- },
189
- "required": false,
190
- "optional": false,
191
- "docs": {
192
- "tags": [],
193
- "text": "The return type of the onchange"
194
- },
195
- "attribute": "return-type",
196
- "reflect": false,
197
- "defaultValue": "'base64'"
198
- }
199
- };
200
- }
201
- static get states() {
202
- return {
203
- "_loaded": {},
204
- "_currentScale": {}
205
- };
206
- }
207
- static get events() {
208
- return [{
209
- "method": "valueChange",
210
- "name": "valueChange",
211
- "bubbles": false,
212
- "cancelable": true,
213
- "composed": true,
214
- "docs": {
215
- "tags": [],
216
- "text": "Event when the value changes"
217
- },
218
- "complexType": {
219
- "original": "any",
220
- "resolved": "any",
221
- "references": {}
5
+ constructor() {
6
+ this.variant = 'user';
7
+ this.value = undefined;
8
+ this.returnType = 'base64';
9
+ this._loaded = false;
10
+ this._currentScale = 0;
11
+ }
12
+ /**
13
+ * Event when the value changes
14
+ */
15
+ valueChange;
16
+ _imageRef;
17
+ _selectionRef;
18
+ _maxScale = 0;
19
+ _minScale = 0;
20
+ _resizeDebounceTimeout;
21
+ _toCanvasDebounceTimeout;
22
+ onResize() {
23
+ if (this._resizeDebounceTimeout) {
24
+ clearTimeout(this._resizeDebounceTimeout);
25
+ }
26
+ this._resizeDebounceTimeout = setTimeout(() => {
27
+ this._selectionRef.$center();
28
+ this._imageRef.$center();
29
+ }, 200);
30
+ }
31
+ componentDidLoad() {
32
+ setTimeout(() => {
33
+ this._loaded = true;
34
+ }, 200);
35
+ }
36
+ render() {
37
+ return (h(Host, { key: 'afd5e10b35660436241cd4bf34804ff18d38e63c', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'b83a601fdc5e6dd0bdab4091dce8536dd8098abd', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '92f70e3d205a72e87c4454f6f2ffb3ecb7c2a2c4', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: 'cb819b4d9a2e28263555c888b4db913d6d8d9f45', class: clsx({
38
+ 'rounded-round': this.variant === 'user',
39
+ rounded: this.variant === 'company',
40
+ }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '65e6df8e4166009cc27e83c173203c7dfe163bd8', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '2c7e8c3b91c7bf71ac9ab34f12d7533ac32686d1', action: 'move', plain: true }))), h("div", { key: 'f8bdfafaebb8ec4da34b01bbbefc8a56f34a9696', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '883df6ef54a39ab1fbc2b1d3e1940aaec0f0d97f', variant: 'minus' }), h("input", { key: '8d39562d4df89cf00479cc3ff97194c14622fd31', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '9b0ba4eae79add1f148a884013f8ad3f8d7d75cd', variant: 'plus' }))));
41
+ }
42
+ _setImageRef(ref) {
43
+ if (this._imageRef) {
44
+ return;
45
+ }
46
+ this._imageRef = ref;
47
+ this._imageRef.$ready(image => setTimeout(() => this._setInitialState(image), 200));
48
+ }
49
+ _setInitialState(image) {
50
+ let scale;
51
+ if (image.naturalWidth > image.naturalHeight) {
52
+ // set scale by height
53
+ scale = 200 / image.naturalHeight;
54
+ }
55
+ if (image.naturalHeight >= image.naturalWidth) {
56
+ // set scale by width
57
+ scale = 200 / image.naturalWidth;
58
+ }
59
+ const current = this._imageRef.$getTransform();
60
+ this._minScale = scale;
61
+ this._maxScale = current[0];
62
+ this._selectionRef.$resize('nw-resize', 200, 200, 1);
63
+ this._selectionRef.$center();
64
+ this._setScale(scale);
65
+ this._toCanvas();
66
+ }
67
+ _onAction() {
68
+ this._setCurrentScale();
69
+ this._toCanvas();
70
+ }
71
+ _setScale(scale, setCenter = true, setCurrentScale = true) {
72
+ const transform = this._imageRef.$getTransform();
73
+ this._imageRef.$setTransform([
74
+ scale,
75
+ 0,
76
+ 0,
77
+ scale,
78
+ transform[4],
79
+ transform[5],
80
+ ]);
81
+ if (setCenter) {
82
+ this._imageRef.$center();
83
+ }
84
+ if (setCurrentScale) {
85
+ this._setCurrentScale();
86
+ }
87
+ }
88
+ _setCurrentScale() {
89
+ const transform = this._imageRef.$getTransform();
90
+ const current = transform[0];
91
+ if (current < this._minScale) {
92
+ this._setScale(this._minScale, true, false);
93
+ this._currentScale = 0;
94
+ return;
222
95
  }
223
- }];
224
- }
225
- static get listeners() {
226
- return [{
227
- "name": "resize",
228
- "method": "onResize",
229
- "target": "window",
230
- "capture": false,
231
- "passive": true
232
- }];
233
- }
96
+ if (current > this._maxScale) {
97
+ this._setScale(this._maxScale, true, false);
98
+ this._currentScale = 100;
99
+ return;
100
+ }
101
+ if (current === this._minScale) {
102
+ this._currentScale = 0;
103
+ return;
104
+ }
105
+ if (current === this._maxScale) {
106
+ this._currentScale = 100;
107
+ return;
108
+ }
109
+ const minMaxDiff = this._maxScale - this._minScale;
110
+ const currentDiff = current - this._minScale;
111
+ const percentage = (currentDiff / minMaxDiff) * 100;
112
+ this._currentScale = percentage;
113
+ }
114
+ _onInput(value) {
115
+ const transform = this._imageRef.$getTransform();
116
+ const current = transform[0];
117
+ const minMaxDiff = this._maxScale - this._minScale;
118
+ const toSet = minMaxDiff * (value / 100);
119
+ if (toSet === current) {
120
+ return;
121
+ }
122
+ this._setScale(toSet + this._minScale, false, false);
123
+ this._currentScale = value;
124
+ this._toCanvas();
125
+ }
126
+ _toCanvas() {
127
+ if (this._toCanvasDebounceTimeout) {
128
+ clearTimeout(this._toCanvasDebounceTimeout);
129
+ }
130
+ this._toCanvasDebounceTimeout = setTimeout(async () => {
131
+ const canvas = await this._selectionRef.$toCanvas();
132
+ if (this.returnType === 'canvas') {
133
+ this.valueChange.emit(canvas);
134
+ return;
135
+ }
136
+ const data = canvas.toDataURL('image/png');
137
+ this.valueChange.emit(data);
138
+ }, 200);
139
+ }
140
+ static get is() { return "p-cropper"; }
141
+ static get encapsulation() { return "shadow"; }
142
+ static get originalStyleUrls() {
143
+ return {
144
+ "$": ["cropper.component.scss"]
145
+ };
146
+ }
147
+ static get styleUrls() {
148
+ return {
149
+ "$": ["cropper.component.css"]
150
+ };
151
+ }
152
+ static get properties() {
153
+ return {
154
+ "variant": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "'user' | 'company'",
159
+ "resolved": "\"company\" | \"user\"",
160
+ "references": {}
161
+ },
162
+ "required": false,
163
+ "optional": false,
164
+ "docs": {
165
+ "tags": [],
166
+ "text": "Variant of the image that's being cropped"
167
+ },
168
+ "getter": false,
169
+ "setter": false,
170
+ "attribute": "variant",
171
+ "reflect": true,
172
+ "defaultValue": "'user'"
173
+ },
174
+ "value": {
175
+ "type": "any",
176
+ "mutable": false,
177
+ "complexType": {
178
+ "original": "any",
179
+ "resolved": "any",
180
+ "references": {}
181
+ },
182
+ "required": false,
183
+ "optional": false,
184
+ "docs": {
185
+ "tags": [],
186
+ "text": "The image to crop (url or base64)"
187
+ },
188
+ "getter": false,
189
+ "setter": false,
190
+ "attribute": "value",
191
+ "reflect": false
192
+ },
193
+ "returnType": {
194
+ "type": "string",
195
+ "mutable": false,
196
+ "complexType": {
197
+ "original": "'canvas' | 'base64'",
198
+ "resolved": "\"base64\" | \"canvas\"",
199
+ "references": {}
200
+ },
201
+ "required": false,
202
+ "optional": false,
203
+ "docs": {
204
+ "tags": [],
205
+ "text": "The return type of the onchange"
206
+ },
207
+ "getter": false,
208
+ "setter": false,
209
+ "attribute": "return-type",
210
+ "reflect": false,
211
+ "defaultValue": "'base64'"
212
+ }
213
+ };
214
+ }
215
+ static get states() {
216
+ return {
217
+ "_loaded": {},
218
+ "_currentScale": {}
219
+ };
220
+ }
221
+ static get events() {
222
+ return [{
223
+ "method": "valueChange",
224
+ "name": "valueChange",
225
+ "bubbles": false,
226
+ "cancelable": true,
227
+ "composed": true,
228
+ "docs": {
229
+ "tags": [],
230
+ "text": "Event when the value changes"
231
+ },
232
+ "complexType": {
233
+ "original": "any",
234
+ "resolved": "any",
235
+ "references": {}
236
+ }
237
+ }];
238
+ }
239
+ static get listeners() {
240
+ return [{
241
+ "name": "resize",
242
+ "method": "onResize",
243
+ "target": "window",
244
+ "capture": false,
245
+ "passive": true
246
+ }];
247
+ }
234
248
  }
235
249
  //# sourceMappingURL=cropper.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"cropper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/cropper/cropper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACD,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,WAAW,CAAC;AAQnB,MAAM,OAAO,OAAO;;IA2BX,cAAS,GAAG,CAAC,CAAC;IACd,cAAS,GAAG,CAAC,CAAC;mBAxBiC,MAAM;;sBAUnB,QAAQ;mBAoBhC,KAAK;yBAGC,CAAC;;EAGzB,QAAQ;IACP,IAAI,IAAI,CAAC,sBAAsB,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,CAAC,UAAU,KAAK,QAAQ,EAAE;QACjC,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QAC9B,OAAO;OACP;MAED,MAAM,IAAI,GAAG,MAAM,CAAC,SAAS,CAAC,WAAW,CAAC,CAAC;MAC3C,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7B,CAAC,EAAE,GAAG,CAAC,CAAC;EACT,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { clsx } from 'clsx';\nimport 'cropperjs';\nimport { CropperImage, CropperSelection } from 'cropperjs';\n\n@Component({\n\ttag: 'p-cropper',\n\tstyleUrl: 'cropper.component.scss',\n\tshadow: true,\n})\nexport class Cropper {\n\t/**\n\t * Variant of the image that's being cropped\n\t */\n\t@Prop({ reflect: true }) variant: 'user' | 'company' = 'user';\n\n\t/**\n\t * The image to crop (url or base64)\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The return type of the onchange\n\t */\n\t@Prop() returnType: 'canvas' | 'base64' = 'base64';\n\n\t/**\n\t * Event when the value changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tvalueChange: EventEmitter<any>;\n\n\tprivate _imageRef: CropperImage;\n\tprivate _selectionRef: CropperSelection;\n\n\tprivate _maxScale = 0;\n\tprivate _minScale = 0;\n\n\tprivate _resizeDebounceTimeout: NodeJS.Timer;\n\tprivate _toCanvasDebounceTimeout: NodeJS.Timer;\n\n\t@State()\n\tprivate _loaded = false;\n\n\t@State()\n\tprivate _currentScale = 0;\n\n\t@Listen('resize', { target: 'window' })\n\tonResize() {\n\t\tif (this._resizeDebounceTimeout) {\n\t\t\tclearTimeout(this._resizeDebounceTimeout);\n\t\t}\n\n\t\tthis._resizeDebounceTimeout = setTimeout(() => {\n\t\t\tthis._selectionRef.$center();\n\t\t\tthis._imageRef.$center();\n\t\t}, 200);\n\t}\n\n\tcomponentDidLoad() {\n\t\tsetTimeout(() => {\n\t\t\tthis._loaded = true;\n\t\t}, 200);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-cropper\">\n\t\t\t\t{this._loaded && (\n\t\t\t\t\t<cropper-canvas\n\t\t\t\t\t\tclass=\"h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white\"\n\t\t\t\t\t\tonAction={() => this._onAction()}\n\t\t\t\t\t>\n\t\t\t\t\t\t<cropper-image\n\t\t\t\t\t\t\tsrc={this.value}\n\t\t\t\t\t\t\talt=\"Picture\"\n\t\t\t\t\t\t\tref={(ref) =>\n\t\t\t\t\t\t\t\tthis._setImageRef(ref as CropperImage)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tscalable\n\t\t\t\t\t\t\tcrossorigin=\"anonymous\"\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<cropper-shade\n\t\t\t\t\t\t\tclass={clsx({\n\t\t\t\t\t\t\t\t'rounded-round': this.variant === 'user',\n\t\t\t\t\t\t\t\trounded: this.variant === 'company',\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttheme-color=\"rgba(255, 255, 255, 0.5)\"\n\t\t\t\t\t\t\thidden\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<cropper-selection\n\t\t\t\t\t\t\tinitial-coverage=\"0.7\"\n\t\t\t\t\t\t\taspect-ratio=\"1\"\n\t\t\t\t\t\t\tref={(ref) =>\n\t\t\t\t\t\t\t\t(this._selectionRef = ref as CropperSelection)\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t<cropper-handle action=\"move\" plain></cropper-handle>\n\t\t\t\t\t</cropper-canvas>\n\t\t\t\t)}\n\n\t\t\t\t<div class=\"flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1\">\n\t\t\t\t\t<p-icon variant=\"minus\" />\n\t\t\t\t\t<input\n\t\t\t\t\t\tclass=\"p-input w-full\"\n\t\t\t\t\t\ttype=\"range\"\n\t\t\t\t\t\tmin=\"0\"\n\t\t\t\t\t\tmax=\"100\"\n\t\t\t\t\t\tvalue={this._currentScale}\n\t\t\t\t\t\tonInput={(ev) =>\n\t\t\t\t\t\t\tthis._onInput((ev.target as HTMLInputElement).value)\n\t\t\t\t\t\t}\n\t\t\t\t\t\tstep=\"0.5\"\n\t\t\t\t\t/>\n\t\t\t\t\t<p-icon variant=\"plus\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _setImageRef(ref: CropperImage) {\n\t\tif (this._imageRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._imageRef = ref;\n\t\tthis._imageRef.$ready((image) =>\n\t\t\tsetTimeout(() => this._setInitialState(image), 200)\n\t\t);\n\t}\n\n\tprivate _setInitialState(image) {\n\t\tlet scale: number;\n\t\tif (image.naturalWidth > image.naturalHeight) {\n\t\t\t// set scale by height\n\t\t\tscale = 200 / image.naturalHeight;\n\t\t}\n\n\t\tif (image.naturalHeight >= image.naturalWidth) {\n\t\t\t// set scale by width\n\t\t\tscale = 200 / image.naturalWidth;\n\t\t}\n\n\t\tconst current = this._imageRef.$getTransform();\n\n\t\tthis._minScale = scale;\n\t\tthis._maxScale = current[0];\n\n\t\tthis._selectionRef.$resize('nw-resize', 200, 200, 1);\n\t\tthis._selectionRef.$center();\n\n\t\tthis._setScale(scale);\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _onAction() {\n\t\tthis._setCurrentScale();\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _setScale(\n\t\tscale: number,\n\t\tsetCenter: boolean = true,\n\t\tsetCurrentScale: boolean = true\n\t) {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tthis._imageRef.$setTransform([\n\t\t\tscale,\n\t\t\t0,\n\t\t\t0,\n\t\t\tscale,\n\t\t\ttransform[4],\n\t\t\ttransform[5],\n\t\t]);\n\n\t\tif (setCenter) {\n\t\t\tthis._imageRef.$center();\n\t\t}\n\n\t\tif (setCurrentScale) {\n\t\t\tthis._setCurrentScale();\n\t\t}\n\t}\n\n\tprivate _setCurrentScale() {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tconst current = transform[0];\n\n\t\tif (current < this._minScale) {\n\t\t\tthis._setScale(this._minScale, true, false);\n\t\t\tthis._currentScale = 0;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current > this._maxScale) {\n\t\t\tthis._setScale(this._maxScale, true, false);\n\t\t\tthis._currentScale = 100;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current === this._minScale) {\n\t\t\tthis._currentScale = 0;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current === this._maxScale) {\n\t\t\tthis._currentScale = 100;\n\t\t\treturn;\n\t\t}\n\n\t\tconst minMaxDiff = this._maxScale - this._minScale;\n\t\tconst currentDiff = current - this._minScale;\n\n\t\tconst percentage = (currentDiff / minMaxDiff) * 100;\n\t\tthis._currentScale = percentage;\n\t}\n\n\tprivate _onInput(value) {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tconst current = transform[0];\n\t\tconst minMaxDiff = this._maxScale - this._minScale;\n\n\t\tconst toSet = minMaxDiff * (value / 100);\n\n\t\tif (toSet === current) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._setScale(toSet + this._minScale, false, false);\n\t\tthis._currentScale = value;\n\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _toCanvas() {\n\t\tif (this._toCanvasDebounceTimeout) {\n\t\t\tclearTimeout(this._toCanvasDebounceTimeout);\n\t\t}\n\n\t\tthis._toCanvasDebounceTimeout = setTimeout(async () => {\n\t\t\tconst canvas = await this._selectionRef.$toCanvas();\n\t\t\tif (this.returnType === 'canvas') {\n\t\t\t\tthis.valueChange.emit(canvas);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst data = canvas.toDataURL('image/png');\n\t\t\tthis.valueChange.emit(data);\n\t\t}, 200);\n\t}\n}\n"]}
1
+ {"version":3,"file":"cropper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/cropper/cropper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,KAAK,EAEL,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,CAAC,GACD,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAC5B,OAAO,WAAW,CAAC;AAQnB,MAAM,OAAO,OAAO;;uBAIoC,MAAM;;0BAUnB,QAAQ;uBAoBhC,KAAK;6BAGC,CAAC;;IArBzB;;OAEG;IAIH,WAAW,CAAoB;IAEvB,SAAS,CAAe;IACxB,aAAa,CAAmB;IAEhC,SAAS,GAAG,CAAC,CAAC;IACd,SAAS,GAAG,CAAC,CAAC;IAEd,sBAAsB,CAA6B;IACnD,wBAAwB,CAA6B;IAS7D,QAAQ;QACP,IAAI,IAAI,CAAC,sBAAsB,EAAE,CAAC;YACjC,YAAY,CAAC,IAAI,CAAC,sBAAsB,CAAC,CAAC;QAC3C,CAAC;QAED,IAAI,CAAC,sBAAsB,GAAG,UAAU,CAAC,GAAG,EAAE;YAC7C,IAAI,CAAC,aAAa,CAAC,OAAO,EAAE,CAAC;YAC7B,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE,CAAC;QAC1B,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,gBAAgB;QACf,UAAU,CAAC,GAAG,EAAE;YACf,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC;QACrB,CAAC,EAAE,GAAG,CAAC,CAAC;IACT,CAAC;IAED,MAAM;QACL,OAAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,WAAW;YACrB,IAAI,CAAC,OAAO,IAAI,CAChB,uEACC,KAAK,EAAC,iFAAiF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;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { clsx } from 'clsx';\nimport 'cropperjs';\nimport { CropperImage, CropperSelection } from 'cropperjs';\n\n@Component({\n\ttag: 'p-cropper',\n\tstyleUrl: 'cropper.component.scss',\n\tshadow: true,\n})\nexport class Cropper {\n\t/**\n\t * Variant of the image that's being cropped\n\t */\n\t@Prop({ reflect: true }) variant: 'user' | 'company' = 'user';\n\n\t/**\n\t * The image to crop (url or base64)\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The return type of the onchange\n\t */\n\t@Prop() returnType: 'canvas' | 'base64' = 'base64';\n\n\t/**\n\t * Event when the value changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tvalueChange: EventEmitter<any>;\n\n\tprivate _imageRef: CropperImage;\n\tprivate _selectionRef: CropperSelection;\n\n\tprivate _maxScale = 0;\n\tprivate _minScale = 0;\n\n\tprivate _resizeDebounceTimeout: NodeJS.Timeout | undefined;\n\tprivate _toCanvasDebounceTimeout: NodeJS.Timeout | undefined;\n\n\t@State()\n\tprivate _loaded = false;\n\n\t@State()\n\tprivate _currentScale = 0;\n\n\t@Listen('resize', { target: 'window' })\n\tonResize() {\n\t\tif (this._resizeDebounceTimeout) {\n\t\t\tclearTimeout(this._resizeDebounceTimeout);\n\t\t}\n\n\t\tthis._resizeDebounceTimeout = setTimeout(() => {\n\t\t\tthis._selectionRef.$center();\n\t\t\tthis._imageRef.$center();\n\t\t}, 200);\n\t}\n\n\tcomponentDidLoad() {\n\t\tsetTimeout(() => {\n\t\t\tthis._loaded = true;\n\t\t}, 200);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-cropper'>\n\t\t\t\t{this._loaded && (\n\t\t\t\t\t<cropper-canvas\n\t\t\t\t\t\tclass='h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white'\n\t\t\t\t\t\tonAction={() => this._onAction()}\n\t\t\t\t\t>\n\t\t\t\t\t\t<cropper-image\n\t\t\t\t\t\t\tsrc={this.value}\n\t\t\t\t\t\t\talt='Picture'\n\t\t\t\t\t\t\tref={ref => this._setImageRef(ref as CropperImage)}\n\t\t\t\t\t\t\tscalable\n\t\t\t\t\t\t\tcrossorigin='anonymous'\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<cropper-shade\n\t\t\t\t\t\t\tclass={clsx({\n\t\t\t\t\t\t\t\t'rounded-round': this.variant === 'user',\n\t\t\t\t\t\t\t\trounded: this.variant === 'company',\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttheme-color='rgba(255, 255, 255, 0.5)'\n\t\t\t\t\t\t\thidden\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<cropper-selection\n\t\t\t\t\t\t\tinitial-coverage='0.7'\n\t\t\t\t\t\t\taspect-ratio='1'\n\t\t\t\t\t\t\tref={ref => (this._selectionRef = ref as CropperSelection)}\n\t\t\t\t\t\t/>\n\n\t\t\t\t\t\t<cropper-handle\n\t\t\t\t\t\t\taction='move'\n\t\t\t\t\t\t\tplain\n\t\t\t\t\t\t></cropper-handle>\n\t\t\t\t\t</cropper-canvas>\n\t\t\t\t)}\n\n\t\t\t\t<div class='flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1'>\n\t\t\t\t\t<p-icon variant='minus' />\n\t\t\t\t\t<input\n\t\t\t\t\t\tclass='p-input w-full'\n\t\t\t\t\t\ttype='range'\n\t\t\t\t\t\tmin='0'\n\t\t\t\t\t\tmax='100'\n\t\t\t\t\t\tvalue={this._currentScale}\n\t\t\t\t\t\tonInput={ev => this._onInput((ev.target as HTMLInputElement).value)}\n\t\t\t\t\t\tstep='0.5'\n\t\t\t\t\t/>\n\t\t\t\t\t<p-icon variant='plus' />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _setImageRef(ref: CropperImage) {\n\t\tif (this._imageRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._imageRef = ref;\n\t\tthis._imageRef.$ready(image =>\n\t\t\tsetTimeout(() => this._setInitialState(image), 200)\n\t\t);\n\t}\n\n\tprivate _setInitialState(image) {\n\t\tlet scale: number;\n\t\tif (image.naturalWidth > image.naturalHeight) {\n\t\t\t// set scale by height\n\t\t\tscale = 200 / image.naturalHeight;\n\t\t}\n\n\t\tif (image.naturalHeight >= image.naturalWidth) {\n\t\t\t// set scale by width\n\t\t\tscale = 200 / image.naturalWidth;\n\t\t}\n\n\t\tconst current = this._imageRef.$getTransform();\n\n\t\tthis._minScale = scale;\n\t\tthis._maxScale = current[0];\n\n\t\tthis._selectionRef.$resize('nw-resize', 200, 200, 1);\n\t\tthis._selectionRef.$center();\n\n\t\tthis._setScale(scale);\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _onAction() {\n\t\tthis._setCurrentScale();\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _setScale(\n\t\tscale: number,\n\t\tsetCenter: boolean = true,\n\t\tsetCurrentScale: boolean = true\n\t) {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tthis._imageRef.$setTransform([\n\t\t\tscale,\n\t\t\t0,\n\t\t\t0,\n\t\t\tscale,\n\t\t\ttransform[4],\n\t\t\ttransform[5],\n\t\t]);\n\n\t\tif (setCenter) {\n\t\t\tthis._imageRef.$center();\n\t\t}\n\n\t\tif (setCurrentScale) {\n\t\t\tthis._setCurrentScale();\n\t\t}\n\t}\n\n\tprivate _setCurrentScale() {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tconst current = transform[0];\n\n\t\tif (current < this._minScale) {\n\t\t\tthis._setScale(this._minScale, true, false);\n\t\t\tthis._currentScale = 0;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current > this._maxScale) {\n\t\t\tthis._setScale(this._maxScale, true, false);\n\t\t\tthis._currentScale = 100;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current === this._minScale) {\n\t\t\tthis._currentScale = 0;\n\t\t\treturn;\n\t\t}\n\n\t\tif (current === this._maxScale) {\n\t\t\tthis._currentScale = 100;\n\t\t\treturn;\n\t\t}\n\n\t\tconst minMaxDiff = this._maxScale - this._minScale;\n\t\tconst currentDiff = current - this._minScale;\n\n\t\tconst percentage = (currentDiff / minMaxDiff) * 100;\n\t\tthis._currentScale = percentage;\n\t}\n\n\tprivate _onInput(value) {\n\t\tconst transform = this._imageRef.$getTransform();\n\t\tconst current = transform[0];\n\t\tconst minMaxDiff = this._maxScale - this._minScale;\n\n\t\tconst toSet = minMaxDiff * (value / 100);\n\n\t\tif (toSet === current) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._setScale(toSet + this._minScale, false, false);\n\t\tthis._currentScale = value;\n\n\t\tthis._toCanvas();\n\t}\n\n\tprivate _toCanvas() {\n\t\tif (this._toCanvasDebounceTimeout) {\n\t\t\tclearTimeout(this._toCanvasDebounceTimeout);\n\t\t}\n\n\t\tthis._toCanvasDebounceTimeout = setTimeout(async () => {\n\t\t\tconst canvas = await this._selectionRef.$toCanvas();\n\t\t\tif (this.returnType === 'canvas') {\n\t\t\t\tthis.valueChange.emit(canvas);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst data = canvas.toDataURL('image/png');\n\t\t\tthis.valueChange.emit(data);\n\t\t}, 200);\n\t}\n}\n"]}
@@ -1 +1 @@
1
- .flex{display:flex!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.static{position:static!important}.absolute{position:absolute!important}.cursor-pointer{cursor:pointer!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}
1
+ .flex{display:flex!important}*{box-sizing:border-box}:host{display:flex;flex-direction:column}:host input.read-only{text-overflow:ellipsis}.static{position:static!important}.absolute{position:absolute!important}.filter{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}