@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":"select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/select/select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAQzC,MAAM,OAAO,MAAM;;;;;;;mCA6BwB,WAAW;;sBAUxB,MAAM;;;;;;;oBAmCR,OAAO;;;;;2BAyBC,IAAI;uBAKR,IAAI;6BAKC,EAAE;8BAKA,IAAI;uBAKX,KAAK;mBAKT,KAAK;2BAKG,KAAK;yBAKR,YAAY;;gBA0CT,QAAQ;;;;;;oBA8BE,KAAK;uBAKnB,KAAK;uBAKN,UAAU;0BAaP,oBAAoB;yBAOf,KAAK;yBACL,IAAI;wBAED,KAAK;yBAEb,CAAC;;EASlC,IAAI,MAAM;;IACT,IAAI,CAAC,IAAI,CAAC,KAAK,IAAI,IAAI,CAAC,OAAO,EAAE;MAChC,OAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { childOf } from '../../../utils';\nimport { IconVariant } from '../../atoms/icon/icon.component';\n\n@Component({\n\ttag: 'p-select',\n\tstyleUrl: 'select.component.scss',\n\tshadow: false,\n})\nexport class Select {\n\t/**\n\t * The items to show in the dropdown\n\t */\n\t@Prop() items: string | any[];\n\n\t/**\n\t * Wether to enable multi select\n\t */\n\t@Prop({ reflect: true }) multi: boolean;\n\n\t/**\n\t * Icon of the select box\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * The current query\n\t */\n\t@Prop() query: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The placeholder of the input used for auto complete\n\t */\n\t@Prop() autocompletePlaceholder: string = 'Search...';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() displayKey: string = 'text';\n\n\t/**\n\t * The key of the object to display in the dropdown (overwrites displayKey)\n\t */\n\t@Prop() dropdownDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to display in the input (overwrites displayKey)\n\t */\n\t@Prop() selectionDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to return\n\t */\n\t@Prop() valueKey: string;\n\n\t/**\n\t * The key of avatar within an item to show\n\t */\n\t@Prop() avatarKey: string;\n\n\t/**\n\t * The key of icon variant within an item to show\n\t */\n\t@Prop() iconKey: string;\n\n\t/**\n\t * Wether to show the icon also on the selected Item\n\t */\n\t@Prop() showIconInSelectedItem: string;\n\n\t/**\n\t * The key of a class in an item to apply\n\t */\n\t@Prop() classKey: string = 'class';\n\n\t/**\n\t * Wether to apply the item's class also on the selected item\n\t */\n\t@Prop() applyClassOnSelectedItem: string;\n\n\t/**\n\t * The key of avatar letters within an item to show when the avatar url doesn't work\n\t */\n\t@Prop() avatarLettersKey: string;\n\n\t/**\n\t * The key to identify an object\n\t */\n\t@Prop() identifierKey: string;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() queryKey?: string;\n\n\t/**\n\t * Wether to automatically select the first item\n\t */\n\t@Prop() autoSelectFirst: boolean = true;\n\n\t/**\n\t * Wether to show the chevron or not\n\t */\n\t@Prop() showChevron: boolean = true;\n\n\t/**\n\t * The maximum amount of items to display\n\t */\n\t@Prop() maxDisplayedItems: number = 10;\n\n\t/**\n\t * Wether to enable autocomplete\n\t */\n\t@Prop() enableAutocomplete: boolean = true;\n\n\t/**\n\t * Wether the input uses async filtering\n\t */\n\t@Prop() asyncFilter: boolean = false;\n\n\t/**\n\t * Wether to show loading items\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show the select all item with multi select\n\t */\n\t@Prop() enableSelectAll: boolean = false;\n\n\t/**\n\t * The text of the select all item\n\t */\n\t@Prop() selectAllText: string = 'Select all';\n\n\t/**\n\t * The icon to prefix for select all\n\t */\n\t@Prop() selectAllIcon: IconVariant | undefined;\n\n\t/**\n\t * Event when the query of the autocomplete changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\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\t/**\n\t * Event when the select all item has been selected or not\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectAllChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the dropdown shows\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdropdownShown: EventEmitter<any>;\n\n\t/**\n\t * The size of the input group used by the select\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The prefix of the input group used by the select\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The label of the input group used by the select\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled used by the select\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether to show a \"add\" item\n\t */\n\t@Prop() showAddItem: boolean = false;\n\n\t/**\n\t * The text to show when add item is being shown\n\t */\n\t@Prop() addItemText: string = 'Add item';\n\n\t/**\n\t * Event when the add item is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tadd: EventEmitter;\n\n\t/**\n\t * The text to show when items is empty\n\t */\n\t@Prop() emptyStateText: string = 'No items available';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _showDropdown: any = false;\n\t@State() private _selectedItem: any = null;\n\n\t@State() private _allSelected: boolean = false;\n\n\t@State() private _amountHidden = 0;\n\n\tprivate _inputRef: HTMLDivElement;\n\tprivate autocompleteInputRef: HTMLInputElement;\n\tprivate _multiContainerRef: HTMLElement;\n\n\tprivate _resizeObserver: ResizeObserver;\n\tprivate _resizeDebounceTimer: NodeJS.Timer;\n\n\tget _items() {\n\t\tif (!this.items || this.loading) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet items =\n\t\t\ttypeof this.items === 'string' ? JSON.parse(this.items) : this.items;\n\n\t\tif (typeof items?.[0] === 'string') {\n\t\t\tthis.displayKey = 'text';\n\t\t\tthis.valueKey = 'value';\n\n\t\t\titems = items.map(str => ({\n\t\t\t\tvalue: str,\n\t\t\t\ttext: str,\n\t\t\t}));\n\t\t}\n\n\t\tif (this.query?.length && !this.asyncFilter) {\n\t\t\titems = items.filter(item => {\n\t\t\t\tif (this.queryKey) {\n\t\t\t\t\treturn this._checkvalue(this.queryKey, item);\n\t\t\t\t}\n\n\t\t\t\treturn (\n\t\t\t\t\tthis._checkvalue(this._identifierKey, item) ||\n\t\t\t\t\tthis._checkvalue(this.displayKey, item)\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn items?.slice(0, this.maxDisplayedItems);\n\t}\n\n\tget _displayValue() {\n\t\tif (!this._selectedItem) {\n\t\t\treturn this.placeholder;\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tif (this._selectedItem?.length === 0) {\n\t\t\t\treturn this.placeholder;\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div\n\t\t\t\t\tclass={`multi-container size-${this.size}`}\n\t\t\t\t\tref={ref => (this._multiContainerRef = ref)}\n\t\t\t\t>\n\t\t\t\t\t{this._selectedItem.map(item => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass='item'\n\t\t\t\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{item[this.selectionDisplayKey ?? this.displayKey]}\n\t\t\t\t\t\t\t<p-icon variant='negative' />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\n\t\t\t\t\t<div class='extra hidden'>+{this._amountHidden}</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this._getDisplay(this._selectedItem, true);\n\t}\n\n\tget _identifierKey() {\n\t\treturn this.identifierKey ?? this.valueKey ?? 'value';\n\t}\n\n\tcomponentDidLoad() {\n\t\tif (!this.valueKey && !this.identifierKey) {\n\t\t\tthrow new Error('You must provide a valueKey or identifierKey');\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\n\t\t\tthis._resizeObserver = new ResizeObserver(() => {\n\t\t\t\tif (this._resizeDebounceTimer) {\n\t\t\t\t\tclearTimeout(this._resizeDebounceTimer);\n\t\t\t\t\tthis._resizeDebounceTimer = null;\n\t\t\t\t}\n\n\t\t\t\tthis._resizeDebounceTimer = setTimeout(() => {\n\t\t\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\t\t\tthis._checkSelectedItems();\n\t\t\t\t}, 200);\n\t\t\t});\n\t\t\tthis._resizeObserver.observe(this._el);\n\t\t}\n\n\t\tif (this.value) {\n\t\t\tthis._valueChange();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.itemChanges();\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\tthis._checkSelectedItems();\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.multi) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-select'>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tdisableTriggerClick={true}\n\t\t\t\t\tcalculateWidth={true}\n\t\t\t\t\tinsideClick={true}\n\t\t\t\t\tscrollable={this.enableAutocomplete ? 'large' : true}\n\t\t\t\t\tshow={this._showDropdown}\n\t\t\t\t\tonIsOpen={ev => this._onDropdownOpen(ev)}\n\t\t\t\t>\n\t\t\t\t\t<p-input-group\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\ticon={this.icon}\n\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\tprefix={this.prefix}\n\t\t\t\t\t\tlabel={this.label}\n\t\t\t\t\t\thelper={this.helper}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\tfocused={this._showDropdown}\n\t\t\t\t\t\tforceShowTooltip={this.error?.length && this._showDropdown}\n\t\t\t\t\t>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tslot='input'\n\t\t\t\t\t\t\tclass={`p-input read-only cursor-pointer ${\n\t\t\t\t\t\t\t\tthis.showChevron ? 'max-w-[calc(100%-3rem)]' : 'w-full'\n\t\t\t\t\t\t\t} size-${this.size} ${\n\t\t\t\t\t\t\t\tthis._displayValue === this.placeholder\n\t\t\t\t\t\t\t\t\t? 'font-medium text-storm-medium'\n\t\t\t\t\t\t\t\t\t: ''\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\tcontenteditable\n\t\t\t\t\t\t\tonFocus={ev => this._onFocus(ev)}\n\t\t\t\t\t\t\tonMouseDown={ev => this._onMouseDown(ev)}\n\t\t\t\t\t\t\tonClick={() => this._onClick()}\n\t\t\t\t\t\t\tref={ref => (this._inputRef = ref)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{this._displayValue}\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t{this.showChevron && (\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\t\tslot='suffix'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t)}\n\t\t\t\t\t</p-input-group>\n\t\t\t\t\t<div slot='items'>\n\t\t\t\t\t\t{this.loading ? this._getLoadingItems() : this._getItems()}\n\t\t\t\t\t\t{this.showAddItem && this._getAddItem()}\n\t\t\t\t\t</div>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._showDropdown || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\t@Watch('value')\n\tprivate _valueChange() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('items')\n\tpublic itemChanges() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('_showDropdown')\n\tpublic _showDropdownChanges() {\n\t\tthis.dropdownShown.emit({\n\t\t\tvalue: this._showDropdown,\n\t\t\tquery: this.query,\n\t\t});\n\t}\n\n\t@Watch('multi')\n\tpublic multiChanges() {\n\t\tif (this._selectedItem && !Array.isArray(this._selectedItem)) {\n\t\t\tthis._selectedItem = [];\n\t\t}\n\t}\n\n\tprivate _preselectItem() {\n\t\tlet value =\n\t\t\ttypeof this.value === 'string' && this.multi\n\t\t\t\t? JSON.parse(this.value)\n\t\t\t\t: this.value;\n\n\t\tif (this.multi) {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthis.value = [];\n\t\t\t\tthis.valueChange.emit(this.value);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t\tif (!value.length) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._selectedItem =\n\t\t\t\t!!this.valueKey && this.valueKey !== 'false'\n\t\t\t\t\t? this._items.filter(i => value.includes(i?.[this.valueKey]))\n\t\t\t\t\t: [...value];\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._selectedItem && !value && this.autoSelectFirst) {\n\t\t\tvalue = this._items[0];\n\t\t}\n\n\t\tconst identifier =\n\t\t\ttypeof value === 'object' && value !== null\n\t\t\t\t? value[this._identifierKey]\n\t\t\t\t: value;\n\t\tconst parsedValue =\n\t\t\ttypeof identifier === 'string' || typeof identifier === 'number'\n\t\t\t\t? identifier\n\t\t\t\t: JSON.stringify(identifier);\n\n\t\tconst currentValue = this._selectedItem\n\t\t\t? this._selectedItem?.[this._identifierKey]\n\t\t\t: null;\n\t\tconst currentParsedValue =\n\t\t\ttypeof currentValue === 'string' || typeof currentValue === 'number'\n\t\t\t\t? currentValue\n\t\t\t\t: JSON.stringify(currentValue);\n\n\t\tif (this._selectedItem && currentParsedValue === parsedValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._items?.length && value) {\n\t\t\tthis._selectValue(value, false);\n\t\t\treturn;\n\t\t}\n\n\t\tconst item = this._items.find(i => {\n\t\t\tconst itemIdentifier = i?.[this._identifierKey];\n\t\t\tconst parsedItemIdentifier =\n\t\t\t\ttypeof itemIdentifier === 'string' || typeof itemIdentifier === 'number'\n\t\t\t\t\t? itemIdentifier\n\t\t\t\t\t: JSON.stringify(itemIdentifier);\n\n\t\t\treturn parsedItemIdentifier === parsedValue;\n\t\t});\n\n\t\tthis._selectValue(!!item ? item : value, false);\n\t}\n\n\tprivate _selectValue(item, forceBlur = true) {\n\t\tlet value =\n\t\t\t!!this.valueKey && this.valueKey !== 'false' && item !== null\n\t\t\t\t? item?.[this.valueKey]\n\t\t\t\t: item;\n\n\t\tif (this.multi) {\n\t\t\tif (!this._selectedItem || !Array.isArray(this._selectedItem)) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t}\n\n\t\t\tif (!this.value || !Array.isArray(this.value)) {\n\t\t\t\tthis.value = [];\n\t\t\t}\n\n\t\t\tconst selectedItem = [...this._selectedItem];\n\t\t\tconst valueArray = [...this.value];\n\n\t\t\tconst includesIndex = selectedItem.findIndex(\n\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t);\n\t\t\tif (includesIndex === -1) {\n\t\t\t\tselectedItem.push(item);\n\t\t\t\tvalueArray.push(value);\n\t\t\t} else {\n\t\t\t\tselectedItem.splice(includesIndex, 1);\n\t\t\t\tvalueArray.splice(includesIndex, 1);\n\t\t\t}\n\n\t\t\tthis._selectedItem = selectedItem;\n\t\t\tthis.value = valueArray;\n\t\t\tthis.valueChange.emit(valueArray);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._selectedItem = item;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\n\t\tthis._onBlur(forceBlur);\n\t}\n\n\tprivate _onFocus(ev) {\n\t\tev.preventDefault();\n\t\tthis._inputRef.blur();\n\n\t\tif (!this._showDropdown) {\n\t\t\tthis._showDropdown = true;\n\t\t}\n\n\t\treturn;\n\t}\n\n\tprivate _onMouseDown(ev) {\n\t\tif (this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tev.preventDefault();\n\t}\n\n\tprivate _onClick() {\n\t\tif (this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = !this._showDropdown;\n\t}\n\n\tprivate _onBlur(force = false) {\n\t\tif (this.enableAutocomplete && !force) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\tprivate _onAutoComplete(ev) {\n\t\tif (!this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = true;\n\n\t\tthis.query = ev.target.value;\n\t\tthis.queryChange.emit(ev.target.value);\n\t}\n\n\tprivate _checkvalue(key, item) {\n\t\treturn (\n\t\t\titem?.[key]\n\t\t\t\t?.toString()\n\t\t\t\t?.toLowerCase()\n\t\t\t\t.indexOf(this.query?.toLowerCase()) >= 0\n\t\t);\n\t}\n\n\tprivate _getItems() {\n\t\tlet items = this._items.map(item => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tuseContainer={false}\n\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\tactive={\n\t\t\t\t\tthis.multi &&\n\t\t\t\t\t!!this._selectedItem &&\n\t\t\t\t\tArray.isArray(this._selectedItem)\n\t\t\t\t\t\t? this._selectedItem.findIndex(\n\t\t\t\t\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t\t\t\t ) >= 0\n\t\t\t\t\t\t: item[this._identifierKey] ===\n\t\t\t\t\t\t this._selectedItem?.[this._identifierKey]\n\t\t\t\t}\n\t\t\t\tvariant={this.multi ? 'checkbox' : 'default'}\n\t\t\t\tclass='justify-start'\n\t\t\t>\n\t\t\t\t{this._getDisplay(item)}\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (!this._items.length) {\n\t\t\titems = [\n\t\t\t\t<p class='w-full p-2 text-center text-sm text-storm-medium'>\n\t\t\t\t\t{this.emptyStateText}\n\t\t\t\t</p>,\n\t\t\t];\n\t\t}\n\n\t\tif (this.enableSelectAll && this._items.length) {\n\t\t\titems.unshift(\n\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\tuseContainer={false}\n\t\t\t\t\tvariant='checkbox'\n\t\t\t\t\tonClick={() => this._selectAllChange()}\n\t\t\t\t\tactive={this._allSelected}\n\t\t\t\t>\n\t\t\t\t\t{this.selectAllIcon?.length ? (\n\t\t\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t\t\t<div class='flex w-6 justify-center text-lg'>\n\t\t\t\t\t\t\t\t<p-icon variant={this.selectAllIcon} />\n\t\t\t\t\t\t\t</div>{' '}\n\t\t\t\t\t\t\t{this.selectAllText}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t) : (\n\t\t\t\t\t\tthis.selectAllText\n\t\t\t\t\t)}\n\t\t\t\t</p-dropdown-menu-item>\n\t\t\t);\n\t\t}\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAddItem() {\n\t\treturn (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\tuseContainer={false}\n\t\t\t>\n\t\t\t\t<span class='flex items-center gap-1 font-semibold text-indigo'>\n\t\t\t\t\t{this.addItemText}\n\t\t\t\t\t<p-icon variant='plus' />\n\t\t\t\t</span>\n\t\t\t</p-dropdown-menu-item>\n\t\t);\n\t}\n\n\tprivate _getLoadingItems() {\n\t\tconst items = [0, 0, 0].map(() => (\n\t\t\t<p-dropdown-menu-item enableHover={false}>\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full rounded'\n\t\t\t\t/>\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAutoCompleteItem() {\n\t\treturn (\n\t\t\t<div class='sticky top-0 -mt-2 bg-white pt-2'>\n\t\t\t\t<input\n\t\t\t\t\tclass='p-input size-small sticky top-2 mb-2'\n\t\t\t\t\tplaceholder={this.autocompletePlaceholder}\n\t\t\t\t\tonInput={ev => this._onAutoComplete(ev)}\n\t\t\t\t\tref={ref => (this.autocompleteInputRef = ref)}\n\t\t\t\t\tvalue={this.query}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setMultiContainerMaxWidth() {\n\t\tif (!this._inputRef || !this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._multiContainerRef.style.maxWidth = `${\n\t\t\tthis._inputRef.clientWidth - 16\n\t\t}px`;\n\t}\n\n\tprivate _checkSelectedItems() {\n\t\tif (!this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst containerRect = this._multiContainerRef.getBoundingClientRect();\n\t\tconst items = Array.from(\n\t\t\tthis._multiContainerRef.querySelectorAll('.item')\n\t\t) as HTMLElement[];\n\n\t\tlet amountHidden = 0;\n\n\t\tfor (const child of items) {\n\t\t\tchild.classList.remove('hidden');\n\n\t\t\tconst childRect = child.getBoundingClientRect();\n\t\t\tif (childRect.right > containerRect.right) {\n\t\t\t\tchild.classList.add('hidden');\n\t\t\t\tamountHidden++;\n\t\t\t}\n\t\t}\n\n\t\tthis._amountHidden = amountHidden;\n\t\tconst extra = this._multiContainerRef.querySelector('.extra');\n\t\tif (!extra) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!extra.classList.contains('hidden')) {\n\t\t\textra.classList.add('hidden');\n\t\t}\n\n\t\tif (amountHidden > 0) {\n\t\t\textra.classList.remove('hidden');\n\t\t}\n\t}\n\n\tprivate _onDropdownOpen(ev) {\n\t\tif (!ev.detail || !this.autocompleteInputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.autocompleteInputRef.focus();\n\t}\n\n\tprivate _selectAllChange() {\n\t\tthis._allSelected = !this._allSelected;\n\t\tthis.selectAllChange.emit(this._allSelected);\n\t}\n\n\tprivate _getDisplay(item, isSelection = false) {\n\t\tlet content = (\n\t\t\t<div class='text-container'>\n\t\t\t\t{\n\t\t\t\t\titem[\n\t\t\t\t\t\tisSelection\n\t\t\t\t\t\t\t? this.selectionDisplayKey ?? this.displayKey\n\t\t\t\t\t\t\t: this.displayKey\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.avatarKey) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-avatar\n\t\t\t\t\t\tsize='xs'\n\t\t\t\t\t\tsrc={item[this.avatarKey]}\n\t\t\t\t\t\tletters={item[this.avatarLettersKey]}\n\t\t\t\t\t></p-avatar>\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (this.iconKey && (!isSelection || this.showIconInSelectedItem)) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-icon variant={item[this.iconKey] as IconVariant} />\n\t\t\t\t\t<div class='text-container'>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={\n\t\t\t\t\t!isSelection || this.applyClassOnSelectedItem\n\t\t\t\t\t\t? `max-w-full ${item?.class}`\n\t\t\t\t\t\t: 'max-w-full'\n\t\t\t\t}\n\t\t\t>\n\t\t\t\t{content}\n\t\t\t</div>\n\t\t);\n\t}\n}\n"]}
1
+ {"version":3,"file":"select.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/select/select.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EACN,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,MAAM,EACN,IAAI,EACJ,KAAK,EACL,KAAK,GACL,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,gBAAgB,CAAC;AAEzC,OAAO,EAAE,GAAG,EAAE,MAAM,0BAA0B,CAAC;AAE/C,MAAM,c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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport { childOf } from '../../../utils';\nimport { IconVariant } from '../../atoms/icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst multiContainer = cva([\n\t'flex items-center gap-2',\n\t'flex-1 min-w-0 h-full',\n\t'pointer-events-none overflow-hidden',\n]);\n\nconst multiItem = cva([\n\t'item group/item',\n\t'pointer-events-auto cursor-pointer',\n\t'flex h-[1.625rem] items-center gap-2',\n\t'h-[1.625rem] px-2',\n\t'text-sm font-semibold whitespace-nowrap',\n\t'rounded-lg',\n\t'bg-supportive-lilac-100',\n]);\n\nconst textContainer = cva(\n\t'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start',\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tplaceholder: 'text-black-teal-400',\n\t\t\t\tdefault: null,\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-select',\n\tstyleUrl: 'select.component.scss',\n})\nexport class Select {\n\t/**\n\t * The items to show in the dropdown\n\t */\n\t@Prop() items: string | any[];\n\n\t/**\n\t * Wether to enable multi select\n\t */\n\t@Prop({ reflect: true }) multi: boolean;\n\n\t/**\n\t * Icon of the select box\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * The current query\n\t */\n\t@Prop() query: string;\n\n\t/**\n\t * The placeholder of the input\n\t */\n\t@Prop() placeholder: string;\n\n\t/**\n\t * The placeholder of the input used for auto complete\n\t */\n\t@Prop() autocompletePlaceholder: string = 'Search...';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value: any;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() displayKey: string = 'text';\n\n\t/**\n\t * The key of the object to display in the dropdown (overwrites displayKey)\n\t */\n\t@Prop() dropdownDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to display in the input (overwrites displayKey)\n\t */\n\t@Prop() selectionDisplayKey: string | undefined;\n\n\t/**\n\t * The key of the object to return\n\t */\n\t@Prop() valueKey: string;\n\n\t/**\n\t * The key of avatar within an item to show\n\t */\n\t@Prop() avatarKey: string;\n\n\t/**\n\t * The key of icon variant within an item to show\n\t */\n\t@Prop() iconKey: string;\n\n\t/**\n\t * Wether to show the icon also on the selected Item\n\t */\n\t@Prop() showIconInSelectedItem: string;\n\n\t/**\n\t * The key of a class in an item to apply\n\t */\n\t@Prop() classKey: string = 'class';\n\n\t/**\n\t * Wether to apply the item's class also on the selected item\n\t */\n\t@Prop() applyClassOnSelectedItem: string;\n\n\t/**\n\t * The key of avatar letters within an item to show when the avatar url doesn't work\n\t */\n\t@Prop() avatarLettersKey: string;\n\n\t/**\n\t * The key to identify an object\n\t */\n\t@Prop() identifierKey: string;\n\n\t/**\n\t * The key of the object to display\n\t */\n\t@Prop() queryKey?: string;\n\n\t/**\n\t * Wether to automatically select the first item\n\t */\n\t@Prop() autoSelectFirst: boolean = true;\n\n\t/**\n\t * Wether to show the chevron or not\n\t */\n\t@Prop() showChevron: boolean = true;\n\n\t/**\n\t * The maximum amount of items to display\n\t */\n\t@Prop() maxDisplayedItems: number = 10;\n\n\t/**\n\t * Wether to enable autocomplete\n\t */\n\t@Prop() enableAutocomplete: boolean = true;\n\n\t/**\n\t * Wether the input uses async filtering\n\t */\n\t@Prop() asyncFilter: boolean = false;\n\n\t/**\n\t * Wether to show loading items\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show the select all item with multi select\n\t */\n\t@Prop() enableSelectAll: boolean = false;\n\n\t/**\n\t * The text of the select all item\n\t */\n\t@Prop() selectAllText: string = 'Select all';\n\n\t/**\n\t * The icon to prefix for select all\n\t */\n\t@Prop() selectAllIcon: IconVariant | undefined;\n\n\t/**\n\t * Event when the query of the autocomplete changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tqueryChange: EventEmitter<string>;\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\t/**\n\t * Event when the select all item has been selected or not\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tselectAllChange: EventEmitter<any>;\n\n\t/**\n\t * Event when the dropdown shows\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tdropdownShown: EventEmitter<any>;\n\n\t/**\n\t * The size of the input group used by the select\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * The prefix of the input group used by the select\n\t */\n\t@Prop() prefix: string;\n\n\t/**\n\t * The label of the input group used by the select\n\t */\n\t@Prop() label: string;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop() helper: string;\n\n\t/**\n\t * Wether the field is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The helper of the input group used by the select\n\t */\n\t@Prop({ reflect: true }) error: string;\n\n\t/**\n\t * Wether the input group is disabled used by the select\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether to show a \"add\" item\n\t */\n\t@Prop() showAddItem: boolean = false;\n\n\t/**\n\t * The text to show when add item is being shown\n\t */\n\t@Prop() addItemText: string = 'Add item';\n\n\t/**\n\t * Event when the add item is clicked\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tadd: EventEmitter;\n\n\t/**\n\t * The text to show when items is empty\n\t */\n\t@Prop() emptyStateText: string = 'No items available';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _showDropdown: any = false;\n\t@State() private _selectedItem: any = null;\n\n\t@State() private _allSelected: boolean = false;\n\n\t@State() private _amountHidden = 0;\n\n\tprivate _inputRef: HTMLDivElement;\n\tprivate autocompleteInputRef: HTMLInputElement | HTMLTextAreaElement;\n\tprivate _multiContainerRef: HTMLElement;\n\n\tprivate _resizeObserver: ResizeObserver;\n\tprivate _resizeDebounceTimer: NodeJS.Timeout | undefined;\n\tprivate _checkSelectedItemsTimeout: NodeJS.Timeout | undefined;\n\n\tget _items() {\n\t\tif (!this.items || this.loading) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet items =\n\t\t\ttypeof this.items === 'string' ? JSON.parse(this.items) : this.items;\n\n\t\tif (typeof items?.[0] === 'string') {\n\t\t\tthis.displayKey = 'text';\n\t\t\tthis.valueKey = 'value';\n\n\t\t\titems = items.map(str => ({\n\t\t\t\tvalue: str,\n\t\t\t\ttext: str,\n\t\t\t}));\n\t\t}\n\n\t\tif (this.query?.length && !this.asyncFilter) {\n\t\t\titems = items.filter(item => {\n\t\t\t\tif (this.queryKey) {\n\t\t\t\t\treturn this._checkvalue(this.queryKey, item);\n\t\t\t\t}\n\n\t\t\t\treturn (\n\t\t\t\t\tthis._checkvalue(this._identifierKey, item) ||\n\t\t\t\t\tthis._checkvalue(this.displayKey, item)\n\t\t\t\t);\n\t\t\t});\n\t\t}\n\n\t\treturn items?.slice(0, this.maxDisplayedItems);\n\t}\n\n\tget _displayValue() {\n\t\tconst placeholder = (\n\t\t\t<div class={textContainer({ variant: 'placeholder' })}>\n\t\t\t\t{this.placeholder}\n\t\t\t</div>\n\t\t);\n\n\t\tconsole.log(this._selectedItem);\n\t\tif (!this._selectedItem) {\n\t\t\treturn placeholder;\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tif (this._selectedItem?.length === 0) {\n\t\t\t\treturn placeholder;\n\t\t\t}\n\n\t\t\treturn (\n\t\t\t\t<div\n\t\t\t\t\tclass={multiContainer()}\n\t\t\t\t\tref={ref => (this._multiContainerRef = ref)}\n\t\t\t\t>\n\t\t\t\t\t{this._selectedItem.map(item => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={multiItem()}\n\t\t\t\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{item[this.selectionDisplayKey ?? this.displayKey]}\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tclass='text-xs text-supportive-lilac group-hover/item:text-supportive-lilac-800'\n\t\t\t\t\t\t\t\tvariant='negative'\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\n\t\t\t\t\t<div class='extra pointer-events-none hidden text-sm text-black-teal-100'>\n\t\t\t\t\t\t+{this._amountHidden}\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t);\n\t\t}\n\n\t\treturn this._getDisplay(this._selectedItem, true);\n\t}\n\n\tget _identifierKey() {\n\t\treturn this.identifierKey ?? this.valueKey ?? 'value';\n\t}\n\n\tcomponentDidLoad() {\n\t\tif (!this.valueKey && !this.identifierKey) {\n\t\t\tthrow new Error('You must provide a valueKey or identifierKey');\n\t\t}\n\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\n\t\t\tthis._resizeObserver = new ResizeObserver(() => {\n\t\t\t\tif (this._resizeDebounceTimer) {\n\t\t\t\t\tclearTimeout(this._resizeDebounceTimer);\n\t\t\t\t\tthis._resizeDebounceTimer = null;\n\t\t\t\t}\n\n\t\t\t\tthis._resizeDebounceTimer = setTimeout(() => {\n\t\t\t\t\tthis._setMultiContainerMaxWidth();\n\t\t\t\t\tthis._setCheckSelectedItemsTimeout();\n\t\t\t\t}, 200);\n\t\t\t});\n\t\t\tthis._resizeObserver.observe(this._el);\n\t\t}\n\n\t\tif (this.value) {\n\t\t\tthis._valueChange();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.itemChanges();\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this.multi) {\n\t\t\tthis._setMultiContainerMaxWidth();\n\t\t}\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this.multi) {\n\t\t\tthis._resizeObserver.disconnect();\n\t\t}\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-select'>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tdisableTriggerClick={true}\n\t\t\t\t\tcalculateWidth={true}\n\t\t\t\t\tinsideClick={true}\n\t\t\t\t\tscrollable={this.enableAutocomplete ? 'large' : true}\n\t\t\t\t\tshow={this._showDropdown}\n\t\t\t\t\tonIsOpen={ev => this._onDropdownOpen(ev)}\n\t\t\t\t>\n\t\t\t\t\t<p-field-container\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tprefix={this.prefix}\n\t\t\t\t\t\tlabel={this.label}\n\t\t\t\t\t\thelper={this.helper}\n\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\terror={this.error}\n\t\t\t\t\t\terrorPlacement='top-start'\n\t\t\t\t\t\tforceShowTooltip={this.error?.length && this._showDropdown}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\t\tslot='content'\n\t\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\tchevron={this.showChevron}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tactive={this._showDropdown}\n\t\t\t\t\t\t\ticon={this.icon}\n\t\t\t\t\t\t\tonClick={ev => this._onClick(ev)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<div\n\t\t\t\t\t\t\t\tclass='relative flex-1'\n\t\t\t\t\t\t\t\tref={ref => (this._inputRef = ref)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this._displayValue}\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t</p-field-container>\n\t\t\t\t\t{this.loading ? this._getLoadingItems() : this._getItems()}\n\t\t\t\t\t{this.showAddItem && this._getAddItem()}\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._showDropdown || childOf(target, this._el)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\t@Watch('value')\n\tprivate _valueChange() {\n\t\tsetTimeout(() => {\n\t\t\tthis._preselectItem();\n\t\t\tthis._setCheckSelectedItemsTimeout();\n\t\t});\n\t}\n\n\t@Watch('items')\n\tpublic itemChanges() {\n\t\tsetTimeout(() => this._preselectItem());\n\t}\n\n\t@Watch('_showDropdown')\n\tpublic _showDropdownChanges() {\n\t\tthis.dropdownShown.emit({\n\t\t\tvalue: this._showDropdown,\n\t\t\tquery: this.query,\n\t\t});\n\t}\n\n\t@Watch('multi')\n\tpublic multiChanges() {\n\t\tif (this._selectedItem && !Array.isArray(this._selectedItem)) {\n\t\t\tthis._selectedItem = [];\n\t\t}\n\t}\n\n\tprivate _preselectItem() {\n\t\tlet value =\n\t\t\ttypeof this.value === 'string' && this.multi\n\t\t\t\t? JSON.parse(this.value)\n\t\t\t\t: this.value;\n\n\t\tif (this.multi) {\n\t\t\tif (!Array.isArray(value)) {\n\t\t\t\tthis.value = [];\n\t\t\t\tthis.valueChange.emit(this.value);\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis.value = value;\n\t\t\tif (!value.length) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tthis._selectedItem =\n\t\t\t\t!!this.valueKey && this.valueKey !== 'false'\n\t\t\t\t\t? this._items.filter(i => value.includes(i?.[this.valueKey]))\n\t\t\t\t\t: [...value];\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._selectedItem && !value && this.autoSelectFirst) {\n\t\t\tvalue = this._items[0];\n\t\t}\n\n\t\tconst identifier =\n\t\t\ttypeof value === 'object' && value !== null\n\t\t\t\t? value[this._identifierKey]\n\t\t\t\t: value;\n\t\tconst parsedValue =\n\t\t\ttypeof identifier === 'string' || typeof identifier === 'number'\n\t\t\t\t? identifier\n\t\t\t\t: JSON.stringify(identifier);\n\n\t\tconst currentValue = this._selectedItem\n\t\t\t? this._selectedItem?.[this._identifierKey]\n\t\t\t: null;\n\t\tconst currentParsedValue =\n\t\t\ttypeof currentValue === 'string' || typeof currentValue === 'number'\n\t\t\t\t? currentValue\n\t\t\t\t: JSON.stringify(currentValue);\n\n\t\tif (this._selectedItem && currentParsedValue === parsedValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!this._items?.length && value) {\n\t\t\tthis._selectValue(value, false);\n\t\t\treturn;\n\t\t}\n\n\t\tconst item = this._items.find(i => {\n\t\t\tconst itemIdentifier = i?.[this._identifierKey];\n\t\t\tconst parsedItemIdentifier =\n\t\t\t\ttypeof itemIdentifier === 'string' || typeof itemIdentifier === 'number'\n\t\t\t\t\t? itemIdentifier\n\t\t\t\t\t: JSON.stringify(itemIdentifier);\n\n\t\t\treturn parsedItemIdentifier === parsedValue;\n\t\t});\n\n\t\tthis._selectValue(!!item ? item : value, false);\n\t}\n\n\tprivate _selectValue(item, forceBlur = true) {\n\t\tlet value =\n\t\t\t!!this.valueKey && this.valueKey !== 'false' && item !== null\n\t\t\t\t? item?.[this.valueKey]\n\t\t\t\t: item;\n\n\t\tif (this.multi) {\n\t\t\tif (!this._selectedItem || !Array.isArray(this._selectedItem)) {\n\t\t\t\tthis._selectedItem = [];\n\t\t\t}\n\n\t\t\tif (!this.value || !Array.isArray(this.value)) {\n\t\t\t\tthis.value = [];\n\t\t\t}\n\n\t\t\tconst selectedItem = [...this._selectedItem];\n\t\t\tconst valueArray = [...this.value];\n\n\t\t\tconst includesIndex = selectedItem.findIndex(\n\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t);\n\t\t\tif (includesIndex === -1) {\n\t\t\t\tselectedItem.push(item);\n\t\t\t\tvalueArray.push(value);\n\t\t\t} else {\n\t\t\t\tselectedItem.splice(includesIndex, 1);\n\t\t\t\tvalueArray.splice(includesIndex, 1);\n\t\t\t}\n\n\t\t\tthis._selectedItem = selectedItem;\n\t\t\tthis.value = valueArray;\n\t\t\tthis.valueChange.emit(valueArray);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._selectedItem = item;\n\t\tthis.value = value;\n\t\tthis.valueChange.emit(value);\n\n\t\tthis._onBlur(forceBlur);\n\t}\n\n\tprivate _findOnClickTarget(target: HTMLElement) {\n\t\tif (target.nodeName.toLowerCase() === 'p-button') {\n\t\t\treturn true;\n\t\t}\n\n\t\tif (target.classList.contains('item')) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn this._findOnClickTarget(target.parentElement);\n\t}\n\n\tprivate _onClick(ev) {\n\t\tif (!this._findOnClickTarget(ev.target as HTMLElement)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = !this._showDropdown;\n\t}\n\n\tprivate _onBlur(force = false) {\n\t\tif (this.enableAutocomplete && !force) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = false;\n\t}\n\n\tprivate _onAutoComplete(ev) {\n\t\tif (!this.enableAutocomplete) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._showDropdown = true;\n\n\t\tthis.query = ev.detail;\n\t\tthis.queryChange.emit(ev.detail);\n\t}\n\n\tprivate _checkvalue(key, item) {\n\t\treturn (\n\t\t\titem?.[key]\n\t\t\t\t?.toString()\n\t\t\t\t?.toLowerCase()\n\t\t\t\t.indexOf(this.query?.toLowerCase()) >= 0\n\t\t);\n\t}\n\n\tprivate _getItems() {\n\t\tlet items = this._items.map(item => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tuseContainer={false}\n\t\t\t\tonClick={() => this._selectValue(item)}\n\t\t\t\tactive={\n\t\t\t\t\tthis.multi &&\n\t\t\t\t\t!!this._selectedItem &&\n\t\t\t\t\tArray.isArray(this._selectedItem)\n\t\t\t\t\t\t? this._selectedItem.findIndex(\n\t\t\t\t\t\t\t\ti => i[this._identifierKey] === item[this._identifierKey]\n\t\t\t\t\t\t ) >= 0\n\t\t\t\t\t\t: item[this._identifierKey] ===\n\t\t\t\t\t\t this._selectedItem?.[this._identifierKey]\n\t\t\t\t}\n\t\t\t\tcheckbox={this.multi ? true : false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t{this._getDisplay(item)}\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (!this._items.length) {\n\t\t\titems = [\n\t\t\t\t<p\n\t\t\t\t\tclass='w-full p-2 text-center text-sm text-black-teal-400'\n\t\t\t\t\tslot='items'\n\t\t\t\t>\n\t\t\t\t\t{this.emptyStateText}\n\t\t\t\t</p>,\n\t\t\t];\n\t\t}\n\n\t\tif (this.enableSelectAll && this._items.length) {\n\t\t\titems.unshift(\n\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\tslot='items'\n\t\t\t\t\tuseContainer={false}\n\t\t\t\t\tcheckbox\n\t\t\t\t\tonClick={() => this._selectAllChange()}\n\t\t\t\t\tactive={this._allSelected}\n\t\t\t\t>\n\t\t\t\t\t{this.selectAllIcon?.length ? (\n\t\t\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t\t\t<div class='flex w-6 justify-center text-lg'>\n\t\t\t\t\t\t\t\t<p-icon variant={this.selectAllIcon} />\n\t\t\t\t\t\t\t</div>{' '}\n\t\t\t\t\t\t\t{this.selectAllText}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t) : (\n\t\t\t\t\t\tthis.selectAllText\n\t\t\t\t\t)}\n\t\t\t\t</p-dropdown-menu-item>\n\t\t\t);\n\t\t}\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAddItem() {\n\t\treturn (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tonClick={() => this.add.emit()}\n\t\t\t\tuseContainer={false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<span class='flex items-center gap-1 font-semibold text-teal-800'>\n\t\t\t\t\t{this.addItemText}\n\t\t\t\t\t<p-icon variant='plus' />\n\t\t\t\t</span>\n\t\t\t</p-dropdown-menu-item>\n\t\t);\n\t}\n\n\tprivate _getLoadingItems() {\n\t\tconst items = [0, 0, 0].map(() => (\n\t\t\t<p-dropdown-menu-item\n\t\t\t\tenableHover={false}\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<p-loader\n\t\t\t\t\tvariant='ghost'\n\t\t\t\t\tclass='h-6 w-full rounded'\n\t\t\t\t/>\n\t\t\t</p-dropdown-menu-item>\n\t\t));\n\n\t\tif (this.enableAutocomplete) {\n\t\t\titems.unshift(this._getAutoCompleteItem());\n\t\t}\n\n\t\treturn items;\n\t}\n\n\tprivate _getAutoCompleteItem() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass='sticky top-0 mb-3 h-8'\n\t\t\t\tslot='items'\n\t\t\t>\n\t\t\t\t<p-field\n\t\t\t\t\tclass='block'\n\t\t\t\t\tplaceholder={this.autocompletePlaceholder}\n\t\t\t\t\tonValueChange={ev => this._onAutoComplete(ev)}\n\t\t\t\t\tonInputRefChange={ev => (this.autocompleteInputRef = ev.detail)}\n\t\t\t\t\tvalue={this.query}\n\t\t\t\t/>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setMultiContainerMaxWidth() {\n\t\tif (!this._inputRef || !this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._multiContainerRef.style.maxWidth = `${\n\t\t\tthis._inputRef.clientWidth - 16\n\t\t}px`;\n\t}\n\n\tprivate _setCheckSelectedItemsTimeout() {\n\t\tif (this._checkSelectedItemsTimeout) {\n\t\t\tclearTimeout(this._checkSelectedItemsTimeout);\n\t\t}\n\n\t\tthis._checkSelectedItemsTimeout = setTimeout(\n\t\t\t() => this._checkSelectedItems(),\n\t\t\t50\n\t\t);\n\t}\n\n\tprivate _checkSelectedItems() {\n\t\tif (!this._multiContainerRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst containerRect = this._multiContainerRef.getBoundingClientRect();\n\t\tconst items = this._multiContainerRef.querySelectorAll('.item');\n\n\t\tlet amountHidden = 0;\n\n\t\tfor (const child of items) {\n\t\t\tchild.classList.remove('hidden');\n\t\t\tchild.classList.add('flex');\n\n\t\t\tconst childRect = child.getBoundingClientRect();\n\t\t\tif (childRect.right > containerRect.right) {\n\t\t\t\tchild.classList.remove('flex');\n\t\t\t\tchild.classList.add('hidden');\n\t\t\t\tamountHidden++;\n\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\n\t\tthis._amountHidden = amountHidden;\n\t\tconst extra = this._multiContainerRef.querySelector('.extra');\n\t\tif (!extra) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!extra.classList.contains('hidden')) {\n\t\t\textra.classList.add('hidden');\n\t\t}\n\n\t\tif (amountHidden > 0) {\n\t\t\textra.classList.remove('hidden');\n\t\t}\n\t}\n\n\tprivate _onDropdownOpen(ev) {\n\t\tif (!ev.detail || !this.autocompleteInputRef) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.autocompleteInputRef.focus();\n\t}\n\n\tprivate _selectAllChange() {\n\t\tthis._allSelected = !this._allSelected;\n\t\tthis.selectAllChange.emit(this._allSelected);\n\t}\n\n\tprivate _getDisplay(item, isSelection = false) {\n\t\tlet content = (\n\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t{\n\t\t\t\t\titem[\n\t\t\t\t\t\tisSelection\n\t\t\t\t\t\t\t? this.selectionDisplayKey ?? this.displayKey\n\t\t\t\t\t\t\t: this.displayKey\n\t\t\t\t\t]\n\t\t\t\t}\n\t\t\t</div>\n\t\t);\n\n\t\tif (this.avatarKey) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-avatar\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tsrc={item[this.avatarKey]}\n\t\t\t\t\t\tletters={item[this.avatarLettersKey]}\n\t\t\t\t\t></p-avatar>\n\t\t\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (this.iconKey && (!isSelection || this.showIconInSelectedItem)) {\n\t\t\tcontent = (\n\t\t\t\t<span class='flex items-center gap-2'>\n\t\t\t\t\t<p-icon variant={item[this.iconKey] as IconVariant} />\n\t\t\t\t\t<div class={textContainer({ variant: 'default' })}>\n\t\t\t\t\t\t{item[this.dropdownDisplayKey ?? this.displayKey]}\n\t\t\t\t\t</div>\n\t\t\t\t</span>\n\t\t\t);\n\t\t}\n\n\t\tif (\n\t\t\t(!isSelection || this.applyClassOnSelectedItem) &&\n\t\t\t!!item?.class?.length\n\t\t) {\n\t\t\treturn <div class={item.class}>{content}</div>;\n\t\t}\n\n\t\treturn content;\n\t}\n}\n"]}
@@ -1,178 +1,188 @@
1
1
  import { h, Host } from "@stencil/core";
2
2
  export class Stepper {
3
- constructor() {
4
- this._loaded = false;
3
+ constructor() {
4
+ this.activeStep = 1;
5
+ this.direction = 'horizontal';
6
+ this.contentPosition = 'end';
7
+ this._rendering = false;
8
+ }
9
+ /**
10
+ * The host element
11
+ */
12
+ _el;
13
+ _loaded = false;
5
14
  // private _steps: Array<HTMLPStepperItemElement>;
6
- this._delay = (amount) => new Promise(resolve => setTimeout(resolve, amount));
7
- this._onSlotChange = async (_e) => this._generateSteps();
8
- this._generateSteps = async (firstLoad = false) => {
9
- if (!firstLoad && (!this._el || this._rendering || !this._loaded)) {
10
- return;
11
- }
12
- this._rendering = true;
13
- let activeStep = this.activeStep - 1 || 0;
14
- const items = this._el.querySelectorAll('p-stepper-item');
15
- if (!this.activeStep || activeStep < 0) {
16
- for (let i = 0; i < (items === null || items === void 0 ? void 0 : items.length); i++) {
17
- const item = items.item(i);
18
- if (item.active) {
19
- activeStep = i;
20
- }
21
- if (activeStep < 0 && item.finished) {
22
- activeStep = i + 1;
23
- }
15
+ _delay = (amount) => new Promise(resolve => setTimeout(resolve, amount));
16
+ _onSlotChange = async (_e) => this._generateSteps();
17
+ _generateSteps = async (firstLoad = false) => {
18
+ if (!firstLoad && (!this._el || this._rendering || !this._loaded)) {
19
+ return;
24
20
  }
25
- }
26
- for (let i = 0; i < (items === null || items === void 0 ? void 0 : items.length); i++) {
27
- let directionChanged = false;
28
- const item = items.item(i);
29
- item.active = i === activeStep;
30
- item.finished = i < activeStep;
31
- if (item.direction !== this.direction) {
32
- directionChanged = true;
21
+ this._rendering = true;
22
+ let activeStep = this.activeStep - 1 || 0;
23
+ const items = this._el.querySelectorAll('p-stepper-item');
24
+ if (!this.activeStep || activeStep < 0) {
25
+ for (let i = 0; i < items?.length; i++) {
26
+ const item = items.item(i);
27
+ if (item.active) {
28
+ activeStep = i;
29
+ }
30
+ if (activeStep < 0 && item.finished) {
31
+ activeStep = i + 1;
32
+ }
33
+ }
33
34
  }
34
- item.direction = this.direction;
35
- item.align =
36
- i === 0 ? 'start' : i === (items === null || items === void 0 ? void 0 : items.length) - 1 ? 'end' : 'center';
37
- item.contentPosition = this.contentPosition;
38
- if (i < items.length - 1) {
39
- const nextItem = item.nextElementSibling;
40
- if (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {
41
- // super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight
42
- // otherwise we always get the initial "16"
43
- if (directionChanged) {
44
- await this._delay(10);
35
+ for (let i = 0; i < items?.length; i++) {
36
+ let directionChanged = false;
37
+ const item = items.item(i);
38
+ item.active = i === activeStep;
39
+ item.finished = i < activeStep;
40
+ if (item.direction !== this.direction) {
41
+ directionChanged = true;
45
42
  }
46
- const heightDiff = (item.clientHeight > 16
47
- ? item.clientHeight - 16
48
- : item.clientHeight) / 2;
49
- const stepperLine = document.createElement('p-stepper-line');
50
- stepperLine.direction = this.direction;
51
- stepperLine.active = i < activeStep;
52
- if (heightDiff > 0 && this.direction === 'vertical') {
53
- stepperLine.style.marginTop = `-${heightDiff / 16}rem`;
54
- stepperLine.style.marginBottom = `-${heightDiff / 16}rem`;
55
- stepperLine.style.minHeight = `calc(1rem + ${(heightDiff * 2) / 16}rem)`;
43
+ item.direction = this.direction;
44
+ item.align =
45
+ i === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';
46
+ item.contentPosition = this.contentPosition;
47
+ if (i < items.length - 1) {
48
+ const nextItem = item.nextElementSibling;
49
+ if (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {
50
+ // super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight
51
+ // otherwise we always get the initial "16"
52
+ if (directionChanged) {
53
+ await this._delay(10);
54
+ }
55
+ const heightDiff = (item.clientHeight > 16
56
+ ? item.clientHeight - 16
57
+ : item.clientHeight) / 2;
58
+ const stepperLine = document.createElement('p-stepper-line');
59
+ stepperLine.direction = this.direction;
60
+ stepperLine.active = i < activeStep;
61
+ if (heightDiff > 0 && this.direction === 'vertical') {
62
+ stepperLine.style.marginTop = `-${heightDiff / 16}rem`;
63
+ stepperLine.style.marginBottom = `-${heightDiff / 16}rem`;
64
+ stepperLine.style.minHeight = `calc(1rem + ${(heightDiff * 2) / 16}rem)`;
65
+ }
66
+ this._el.insertBefore(stepperLine, nextItem);
67
+ const previous = stepperLine.previousElementSibling;
68
+ if (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {
69
+ previous.remove();
70
+ }
71
+ continue;
72
+ }
56
73
  }
57
- this._el.insertBefore(stepperLine, nextItem);
58
- const previous = stepperLine.previousElementSibling;
59
- if (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {
60
- previous.remove();
74
+ if (i > 0) {
75
+ const previousItem = item.previousElementSibling;
76
+ if (previousItem.tagName.toLowerCase() === 'p-stepper-line') {
77
+ previousItem.direction = this.direction;
78
+ previousItem.active = item.active || item.finished;
79
+ }
61
80
  }
62
- continue;
63
- }
64
81
  }
65
- if (i > 0) {
66
- const previousItem = item.previousElementSibling;
67
- if (previousItem.tagName.toLowerCase() === 'p-stepper-line') {
68
- previousItem.direction = this.direction;
69
- previousItem.active = item.active || item.finished;
70
- }
82
+ const lines = this._el.querySelectorAll('p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child');
83
+ for (let j = lines.length - 1; j >= 0; j--) {
84
+ const line = lines.item(j);
85
+ line.remove();
71
86
  }
72
- }
73
- const lines = this._el.querySelectorAll('p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child');
74
- for (let j = lines.length - 1; j >= 0; j--) {
75
- const line = lines.item(j);
76
- line.remove();
77
- }
78
- setTimeout(() => (this._rendering = false), 100);
79
- };
80
- this.activeStep = 1;
81
- this.direction = 'horizontal';
82
- this.contentPosition = 'end';
83
- this._rendering = false;
84
- }
85
- componentDidLoad() {
86
- this._loaded = true;
87
- this._generateSteps(true);
88
- }
89
- render() {
90
- return (h(Host, { class: 'p-stepper' }, h("slot", { onSlotchange: this._onSlotChange })));
91
- }
92
- _onActiveStepChange() {
93
- this._generateSteps();
94
- }
95
- static get is() { return "p-stepper"; }
96
- static get encapsulation() { return "shadow"; }
97
- static get originalStyleUrls() {
98
- return {
99
- "$": ["stepper.component.scss"]
100
- };
101
- }
102
- static get styleUrls() {
103
- return {
104
- "$": ["stepper.component.css"]
87
+ setTimeout(() => (this._rendering = false), 100);
105
88
  };
106
- }
107
- static get properties() {
108
- return {
109
- "activeStep": {
110
- "type": "number",
111
- "mutable": false,
112
- "complexType": {
113
- "original": "number",
114
- "resolved": "number",
115
- "references": {}
116
- },
117
- "required": false,
118
- "optional": false,
119
- "docs": {
120
- "tags": [],
121
- "text": "The currently active step"
122
- },
123
- "attribute": "active-step",
124
- "reflect": false,
125
- "defaultValue": "1"
126
- },
127
- "direction": {
128
- "type": "string",
129
- "mutable": false,
130
- "complexType": {
131
- "original": "'horizontal' | 'vertical'",
132
- "resolved": "\"horizontal\" | \"vertical\"",
133
- "references": {}
134
- },
135
- "required": false,
136
- "optional": false,
137
- "docs": {
138
- "tags": [],
139
- "text": "The direction of the stepper"
140
- },
141
- "attribute": "direction",
142
- "reflect": true,
143
- "defaultValue": "'horizontal'"
144
- },
145
- "contentPosition": {
146
- "type": "string",
147
- "mutable": false,
148
- "complexType": {
149
- "original": "'start' | 'end'",
150
- "resolved": "\"end\" | \"start\"",
151
- "references": {}
152
- },
153
- "required": false,
154
- "optional": false,
155
- "docs": {
156
- "tags": [],
157
- "text": "The position of the content in case of vertical direction"
158
- },
159
- "attribute": "content-position",
160
- "reflect": true,
161
- "defaultValue": "'end'"
162
- }
163
- };
164
- }
165
- static get states() {
166
- return {
167
- "_rendering": {}
168
- };
169
- }
170
- static get elementRef() { return "_el"; }
171
- static get watchers() {
172
- return [{
173
- "propName": "activeStep",
174
- "methodName": "_onActiveStepChange"
175
- }];
176
- }
89
+ componentDidLoad() {
90
+ this._loaded = true;
91
+ this._generateSteps(true);
92
+ }
93
+ render() {
94
+ return (h(Host, { key: '08618e878d073d704ee23f62df4c855d4a0cb86d', class: 'p-stepper' }, h("slot", { key: 'd8dd06cb1ee5d662ea3b8aa4379b0d1e8877dbbd', onSlotchange: this._onSlotChange })));
95
+ }
96
+ _onActiveStepChange() {
97
+ this._generateSteps();
98
+ }
99
+ static get is() { return "p-stepper"; }
100
+ static get encapsulation() { return "shadow"; }
101
+ static get originalStyleUrls() {
102
+ return {
103
+ "$": ["stepper.component.scss"]
104
+ };
105
+ }
106
+ static get styleUrls() {
107
+ return {
108
+ "$": ["stepper.component.css"]
109
+ };
110
+ }
111
+ static get properties() {
112
+ return {
113
+ "activeStep": {
114
+ "type": "number",
115
+ "mutable": false,
116
+ "complexType": {
117
+ "original": "number",
118
+ "resolved": "number",
119
+ "references": {}
120
+ },
121
+ "required": false,
122
+ "optional": false,
123
+ "docs": {
124
+ "tags": [],
125
+ "text": "The currently active step"
126
+ },
127
+ "getter": false,
128
+ "setter": false,
129
+ "attribute": "active-step",
130
+ "reflect": false,
131
+ "defaultValue": "1"
132
+ },
133
+ "direction": {
134
+ "type": "string",
135
+ "mutable": false,
136
+ "complexType": {
137
+ "original": "'horizontal' | 'vertical'",
138
+ "resolved": "\"horizontal\" | \"vertical\"",
139
+ "references": {}
140
+ },
141
+ "required": false,
142
+ "optional": false,
143
+ "docs": {
144
+ "tags": [],
145
+ "text": "The direction of the stepper"
146
+ },
147
+ "getter": false,
148
+ "setter": false,
149
+ "attribute": "direction",
150
+ "reflect": true,
151
+ "defaultValue": "'horizontal'"
152
+ },
153
+ "contentPosition": {
154
+ "type": "string",
155
+ "mutable": false,
156
+ "complexType": {
157
+ "original": "'start' | 'end'",
158
+ "resolved": "\"end\" | \"start\"",
159
+ "references": {}
160
+ },
161
+ "required": false,
162
+ "optional": false,
163
+ "docs": {
164
+ "tags": [],
165
+ "text": "The position of the content in case of vertical direction"
166
+ },
167
+ "getter": false,
168
+ "setter": false,
169
+ "attribute": "content-position",
170
+ "reflect": true,
171
+ "defaultValue": "'end'"
172
+ }
173
+ };
174
+ }
175
+ static get states() {
176
+ return {
177
+ "_rendering": {}
178
+ };
179
+ }
180
+ static get elementRef() { return "_el"; }
181
+ static get watchers() {
182
+ return [{
183
+ "propName": "activeStep",
184
+ "methodName": "_onActiveStepChange"
185
+ }];
186
+ }
177
187
  }
178
188
  //# sourceMappingURL=stepper.component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/stepper/stepper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOhF,MAAM,OAAO,OAAO;;IAuBX,YAAO,GAAG,KAAK,CAAC;IAExB,kDAAkD;IAE1C,WAAM,GAAG,CAAC,MAAc,EAAE,EAAE,CACnC,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7C,kBAAa,GAAG,KAAK,EAAE,EAAS,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;IAE3D,mBAAc,GAAG,KAAK,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE;MACpD,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE;QAClE,OAAO;OACP;MAED,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;MAEvB,IAAI,UAAU,GAAG,IAAI,CAAC,UAAU,GAAG,CAAC,IAAI,CAAC,CAAC;MAC1C,MAAM,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;MAE1D,IAAI,CAAC,IAAI,CAAC,UAAU,IAAI,UAAU,GAAG,CAAC,EAAE;QACv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yleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _rendering = false;\n\n\tprivate _loaded = false;\n\n\t// private _steps: Array<HTMLPStepperItemElement>;\n\n\tprivate _delay = (amount: number) =>\n\t\tnew Promise(resolve => setTimeout(resolve, amount));\n\n\tprivate _onSlotChange = async (_e: Event) => this._generateSteps();\n\n\tprivate _generateSteps = async (firstLoad = false) => {\n\t\tif (!firstLoad && (!this._el || this._rendering || !this._loaded)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._rendering = true;\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\t\tconst item = items.item(i) as any;\n\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tlet directionChanged = false;\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\titem.active = i === activeStep;\n\t\t\titem.finished = i < activeStep;\n\n\t\t\tif (item.direction !== this.direction) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\ti === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tconst nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t// super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight\n\t\t\t\t\t// otherwise we always get the initial \"16\"\n\t\t\t\t\tif (directionChanged) {\n\t\t\t\t\t\tawait this._delay(10);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst heightDiff =\n\t\t\t\t\t\t(item.clientHeight > 16\n\t\t\t\t\t\t\t? item.clientHeight - 16\n\t\t\t\t\t\t\t: item.clientHeight) / 2;\n\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\n\t\t\t\t\tstepperLine.direction = this.direction;\n\t\t\t\t\tstepperLine.active = i < activeStep;\n\n\t\t\t\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\t\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.marginBottom = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t\t\t\t(heightDiff * 2) / 16\n\t\t\t\t\t\t}rem)`;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (previousItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\n\t\tsetTimeout(() => (this._rendering = false), 100);\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._loaded = true;\n\t\tthis._generateSteps(true);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={this._onSlotChange} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateSteps();\n\t}\n}\n"]}
1
+ {"version":3,"file":"stepper.component.js","sourceRoot":"","sources":["../../../../src/components/molecules/stepper/stepper.component.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAOhF,MAAM,OAAO,OAAO;;0BAIU,CAAC;yBAKkC,YAAY;+BAKhB,KAAK;0BAOnC,KAAK;;IALnC;;OAEG;IACgB,GAAG,CAAc;IAI5B,OAAO,GAAG,KAAK,CAAC;IAExB,kDAAkD;IAE1C,MAAM,GAAG,CAAC,MAAc,EAAE,EAAE,CACnC,IAAI,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC;IAE7C,aAAa,GAAG,KAAK,EAAE,EAAS,EAAE,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,CAAC;IAE3D,cAAc,GAAG,KAAK,EAAE,SAAS,GAAG,KAAK,EAAE,EAAE;QACpD,IAAI,CAAC,SAAS,IAAI,CAAC,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,CAAC,UAAU,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,C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AAO,CACN,EAAC,IAAI,qDAAC,KAAK,EAAC,WAAW;YACtB,6DAAM,YAAY,EAAE,IAAI,CAAC,aAAa,GAAI,CACpC,CACP,CAAC;IACH,CAAC;IAGS,mBAAmB;QAC5B,IAAI,CAAC,cAAc,EAAE,CAAC;IACvB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACD","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper',\n\tstyleUrl: 'stepper.component.scss',\n\tshadow: true,\n})\nexport class Stepper {\n\t/**\n\t * The currently active step\n\t */\n\t@Prop() activeStep: number = 1;\n\n\t/**\n\t * The direction of the stepper\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' = 'horizontal';\n\n\t/**\n\t * The position of the content in case of vertical direction\n\t */\n\t@Prop({ reflect: true }) contentPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _rendering = false;\n\n\tprivate _loaded = false;\n\n\t// private _steps: Array<HTMLPStepperItemElement>;\n\n\tprivate _delay = (amount: number) =>\n\t\tnew Promise(resolve => setTimeout(resolve, amount));\n\n\tprivate _onSlotChange = async (_e: Event) => this._generateSteps();\n\n\tprivate _generateSteps = async (firstLoad = false) => {\n\t\tif (!firstLoad && (!this._el || this._rendering || !this._loaded)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._rendering = true;\n\n\t\tlet activeStep = this.activeStep - 1 || 0;\n\t\tconst items = this._el.querySelectorAll('p-stepper-item');\n\n\t\tif (!this.activeStep || activeStep < 0) {\n\t\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\t\tconst item = items.item(i) as any;\n\n\t\t\t\tif (item.active) {\n\t\t\t\t\tactiveStep = i;\n\t\t\t\t}\n\n\t\t\t\tif (activeStep < 0 && item.finished) {\n\t\t\t\t\tactiveStep = i + 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (let i = 0; i < items?.length; i++) {\n\t\t\tlet directionChanged = false;\n\t\t\tconst item = items.item(i) as any;\n\n\t\t\titem.active = i === activeStep;\n\t\t\titem.finished = i < activeStep;\n\n\t\t\tif (item.direction !== this.direction) {\n\t\t\t\tdirectionChanged = true;\n\t\t\t}\n\n\t\t\titem.direction = this.direction;\n\t\t\titem.align =\n\t\t\t\ti === 0 ? 'start' : i === items?.length - 1 ? 'end' : 'center';\n\t\t\titem.contentPosition = this.contentPosition;\n\n\t\t\tif (i < items.length - 1) {\n\t\t\t\tconst nextItem = item.nextElementSibling;\n\n\t\t\t\tif (nextItem && nextItem.tagName.toLowerCase() === 'p-stepper-item') {\n\t\t\t\t\t// super hacky, but we want to wait for the css of the `item.direction` change to be applied before querying for the item.clientHeight\n\t\t\t\t\t// otherwise we always get the initial \"16\"\n\t\t\t\t\tif (directionChanged) {\n\t\t\t\t\t\tawait this._delay(10);\n\t\t\t\t\t}\n\n\t\t\t\t\tconst heightDiff =\n\t\t\t\t\t\t(item.clientHeight > 16\n\t\t\t\t\t\t\t? item.clientHeight - 16\n\t\t\t\t\t\t\t: item.clientHeight) / 2;\n\n\t\t\t\t\tconst stepperLine = document.createElement('p-stepper-line');\n\n\t\t\t\t\tstepperLine.direction = this.direction;\n\t\t\t\t\tstepperLine.active = i < activeStep;\n\n\t\t\t\t\tif (heightDiff > 0 && this.direction === 'vertical') {\n\t\t\t\t\t\tstepperLine.style.marginTop = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.marginBottom = `-${heightDiff / 16}rem`;\n\t\t\t\t\t\tstepperLine.style.minHeight = `calc(1rem + ${\n\t\t\t\t\t\t\t(heightDiff * 2) / 16\n\t\t\t\t\t\t}rem)`;\n\t\t\t\t\t}\n\n\t\t\t\t\tthis._el.insertBefore(stepperLine, nextItem);\n\n\t\t\t\t\tconst previous = stepperLine.previousElementSibling;\n\t\t\t\t\tif (previous && previous.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\t\tprevious.remove();\n\t\t\t\t\t}\n\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif (i > 0) {\n\t\t\t\tconst previousItem = item.previousElementSibling;\n\t\t\t\tif (previousItem.tagName.toLowerCase() === 'p-stepper-line') {\n\t\t\t\t\tpreviousItem.direction = this.direction;\n\t\t\t\t\tpreviousItem.active = item.active || item.finished;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tconst lines = this._el.querySelectorAll(\n\t\t\t'p-stepper-line:not(:has(+ p-stepper-item)), p-stepper-line:first-child'\n\t\t);\n\t\tfor (let j = lines.length - 1; j >= 0; j--) {\n\t\t\tconst line = lines.item(j);\n\t\t\tline.remove();\n\t\t}\n\n\t\tsetTimeout(() => (this._rendering = false), 100);\n\t};\n\n\tcomponentDidLoad() {\n\t\tthis._loaded = true;\n\t\tthis._generateSteps(true);\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-stepper'>\n\t\t\t\t<slot onSlotchange={this._onSlotChange} />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('activeStep')\n\tprotected _onActiveStepChange() {\n\t\tthis._generateSteps();\n\t}\n}\n"]}