@paperless/core 2.0.1-beta.0 → 2.0.1-beta.10

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 (1421) hide show
  1. package/CHANGELOG.md +209 -1
  2. package/dist/assets/iban-icons/icon-abn.svg +6 -0
  3. package/dist/assets/iban-icons/icon-asn.svg +5 -0
  4. package/dist/assets/iban-icons/icon-bunq.svg +19 -0
  5. package/dist/assets/iban-icons/icon-ing.png +0 -0
  6. package/dist/assets/iban-icons/icon-knab.svg +8 -0
  7. package/dist/assets/iban-icons/icon-rabo.svg +36 -0
  8. package/dist/assets/iban-icons/icon-sns.svg +172 -0
  9. package/dist/assets/iban-icons/icon-triodos.svg +5 -0
  10. package/dist/assets/icons/arrows/arrow.svg +10 -0
  11. package/dist/assets/icons/arrows/caret.svg +10 -0
  12. package/dist/assets/icons/arrows/double-arrow.svg +10 -0
  13. package/dist/assets/icons/arrows/double-caret.svg +10 -0
  14. package/dist/assets/icons/communication/bell.svg +10 -0
  15. package/dist/assets/icons/communication/chat.svg +10 -0
  16. package/dist/assets/icons/communication/check-circle.svg +11 -0
  17. package/dist/assets/icons/communication/cross-circle.svg +10 -0
  18. package/dist/assets/icons/communication/error-circle.svg +11 -0
  19. package/dist/assets/icons/communication/headset.svg +10 -0
  20. package/dist/assets/icons/communication/info-circle.svg +12 -0
  21. package/dist/assets/icons/communication/phone.svg +10 -0
  22. package/dist/assets/icons/communication/question-circle.svg +12 -0
  23. package/dist/assets/icons/communication/warning.svg +11 -0
  24. package/dist/assets/icons/files/attachment.svg +10 -0
  25. package/dist/assets/icons/files/description.svg +10 -0
  26. package/dist/assets/icons/files/document.svg +11 -0
  27. package/dist/assets/icons/files/folder.svg +10 -0
  28. package/dist/assets/icons/files/pdf.svg +11 -0
  29. package/dist/assets/icons/files/xls.svg +11 -0
  30. package/dist/assets/icons/general/bank.svg +10 -0
  31. package/dist/assets/icons/general/bread.svg +12 -0
  32. package/dist/assets/icons/general/cake.svg +11 -0
  33. package/dist/assets/icons/general/calculator.svg +12 -0
  34. package/dist/assets/icons/general/camera.svg +11 -0
  35. package/dist/assets/icons/general/car.svg +11 -0
  36. package/dist/assets/icons/general/certified.svg +11 -0
  37. package/dist/assets/icons/general/chair.svg +11 -0
  38. package/dist/assets/icons/general/checkmark.svg +10 -0
  39. package/dist/assets/icons/general/city.svg +10 -0
  40. package/dist/assets/icons/general/companies.svg +10 -0
  41. package/dist/assets/icons/general/company.svg +10 -0
  42. package/dist/assets/icons/general/credit-card.svg +10 -0
  43. package/dist/assets/icons/general/cutlery.svg +10 -0
  44. package/dist/assets/icons/general/department.svg +10 -0
  45. package/dist/assets/icons/general/diamond.svg +11 -0
  46. package/dist/assets/icons/general/docter.svg +13 -0
  47. package/dist/assets/icons/general/download.svg +11 -0
  48. package/dist/assets/icons/general/envelope.svg +11 -0
  49. package/dist/assets/icons/general/euro.svg +10 -0
  50. package/dist/assets/icons/general/exam.svg +11 -0
  51. package/dist/assets/icons/general/filter.svg +10 -0
  52. package/dist/assets/icons/general/flower.svg +11 -0
  53. package/dist/assets/icons/general/globe-2.svg +11 -0
  54. package/dist/assets/icons/general/globe.svg +11 -0
  55. package/dist/assets/icons/general/hash.svg +10 -0
  56. package/dist/assets/icons/general/hat.svg +12 -0
  57. package/dist/assets/icons/general/home.svg +10 -0
  58. package/dist/assets/icons/general/integration.svg +10 -0
  59. package/dist/assets/icons/general/language.svg +11 -0
  60. package/dist/assets/icons/general/laptop.svg +10 -0
  61. package/dist/assets/icons/general/location.svg +11 -0
  62. package/dist/assets/icons/general/mail.svg +11 -0
  63. package/dist/assets/icons/general/medal.svg +11 -0
  64. package/dist/assets/icons/general/menu-arrow.svg +10 -0
  65. package/dist/assets/icons/general/menu.svg +10 -0
  66. package/dist/assets/icons/general/minus.svg +10 -0
  67. package/dist/assets/icons/general/more.svg +10 -0
  68. package/dist/assets/icons/general/negative.svg +10 -0
  69. package/dist/assets/icons/general/other.svg +10 -0
  70. package/dist/assets/icons/general/pay.svg +11 -0
  71. package/dist/assets/icons/general/pencil.svg +10 -0
  72. package/dist/assets/icons/general/percent.svg +10 -0
  73. package/dist/assets/icons/general/pie-chart.svg +10 -0
  74. package/dist/assets/icons/general/placeholder.svg +10 -0
  75. package/dist/assets/icons/general/plus.svg +10 -0
  76. package/dist/assets/icons/general/power.svg +10 -0
  77. package/dist/assets/icons/general/receipt.svg +10 -0
  78. package/dist/assets/icons/general/reset.svg +11 -0
  79. package/dist/assets/icons/general/search.svg +10 -0
  80. package/dist/assets/icons/general/send.svg +10 -0
  81. package/dist/assets/icons/general/settings.svg +11 -0
  82. package/dist/assets/icons/general/shuffle.svg +11 -0
  83. package/dist/assets/icons/general/sick.svg +10 -0
  84. package/dist/assets/icons/general/signature.svg +10 -0
  85. package/dist/assets/icons/general/sparkle.svg +10 -0
  86. package/dist/assets/icons/general/star.svg +10 -0
  87. package/dist/assets/icons/general/stroller.svg +12 -0
  88. package/dist/assets/icons/general/tag.svg +11 -0
  89. package/dist/assets/icons/general/tasks.svg +10 -0
  90. package/dist/assets/icons/general/tools.svg +10 -0
  91. package/dist/assets/icons/general/tooth.svg +10 -0
  92. package/dist/assets/icons/general/train.svg +11 -0
  93. package/dist/assets/icons/general/trash.svg +10 -0
  94. package/dist/assets/icons/general/upload.svg +10 -0
  95. package/dist/assets/icons/general/wave.svg +12 -0
  96. package/dist/assets/icons/general/zipcode.svg +12 -0
  97. package/dist/assets/icons/security/eye-closed.svg +10 -0
  98. package/dist/assets/icons/security/eye.svg +11 -0
  99. package/dist/assets/icons/security/key.svg +11 -0
  100. package/dist/assets/icons/security/lock.svg +12 -0
  101. package/dist/assets/icons/security/unlocked.svg +12 -0
  102. package/dist/assets/icons/time/alarm.svg +11 -0
  103. package/dist/assets/icons/time/calendar-free.svg +11 -0
  104. package/dist/assets/icons/time/calendar-multi.svg +11 -0
  105. package/dist/assets/icons/time/calendar-not-free.svg +10 -0
  106. package/dist/assets/icons/time/calendar.svg +11 -0
  107. package/dist/assets/icons/time/clock.svg +11 -0
  108. package/dist/assets/icons/users/female.svg +10 -0
  109. package/dist/assets/icons/users/id-two.svg +10 -0
  110. package/dist/assets/icons/users/id.svg +12 -0
  111. package/dist/assets/icons/users/male.svg +10 -0
  112. package/dist/assets/icons/users/user.svg +10 -0
  113. package/dist/assets/icons/users/users.svg +11 -0
  114. package/dist/build/index.esm.js +1 -1
  115. package/dist/build/index.esm.js.map +1 -1
  116. package/dist/build/p-013cd7f9.entry.js +2 -0
  117. package/dist/build/p-0348e450.entry.js +2 -0
  118. package/dist/build/p-0348e450.entry.js.map +1 -0
  119. package/dist/build/p-047c1c6f.entry.js +2 -0
  120. package/dist/build/p-047c1c6f.entry.js.map +1 -0
  121. package/dist/build/p-08ea38ad.entry.js +2 -0
  122. package/dist/build/p-08ea38ad.entry.js.map +1 -0
  123. package/dist/build/p-16a18649.entry.js +2 -0
  124. package/dist/build/p-16a18649.entry.js.map +1 -0
  125. package/dist/build/p-221dbb71.entry.js +2 -0
  126. package/dist/build/p-221dbb71.entry.js.map +1 -0
  127. package/dist/build/p-23ca3688.entry.js +2 -0
  128. package/dist/build/p-23ca3688.entry.js.map +1 -0
  129. package/dist/build/p-28d14744.entry.js +2 -0
  130. package/dist/build/p-28d14744.entry.js.map +1 -0
  131. package/dist/build/p-2e3b9db4.js +2 -0
  132. package/dist/build/p-2e3b9db4.js.map +1 -0
  133. package/dist/build/p-2f9e9197.entry.js +2 -0
  134. package/dist/build/p-2f9e9197.entry.js.map +1 -0
  135. package/dist/build/p-32056913.entry.js +2 -0
  136. package/dist/build/p-32056913.entry.js.map +1 -0
  137. package/dist/build/p-385943b2.entry.js +2 -0
  138. package/dist/build/p-385943b2.entry.js.map +1 -0
  139. package/dist/build/p-393eba2f.entry.js +2 -0
  140. package/dist/build/p-393eba2f.entry.js.map +1 -0
  141. package/dist/build/p-3d867690.entry.js +2 -0
  142. package/dist/build/p-3d867690.entry.js.map +1 -0
  143. package/dist/build/p-3e9d994a.entry.js +2 -0
  144. package/dist/build/p-3e9d994a.entry.js.map +1 -0
  145. package/dist/build/p-45463125.entry.js +2 -0
  146. package/dist/build/p-45463125.entry.js.map +1 -0
  147. package/dist/build/p-5ab354bf.entry.js +2 -0
  148. package/dist/build/p-5ab354bf.entry.js.map +1 -0
  149. package/dist/build/p-5e789bb1.entry.js +2 -0
  150. package/dist/build/p-5e789bb1.entry.js.map +1 -0
  151. package/dist/build/p-64765a81.js +2 -0
  152. package/dist/build/p-64765a81.js.map +1 -0
  153. package/dist/build/p-64b53130.entry.js +2 -0
  154. package/dist/build/p-64b53130.entry.js.map +1 -0
  155. package/dist/build/p-64b68231.js +3 -0
  156. package/dist/build/p-64b68231.js.map +1 -0
  157. package/dist/build/p-6cddc325.js +2 -0
  158. package/dist/build/p-6cddc325.js.map +1 -0
  159. package/dist/build/p-6e71ebca.entry.js +2 -0
  160. package/dist/build/p-6e71ebca.entry.js.map +1 -0
  161. package/dist/build/p-6f7721eb.entry.js +2 -0
  162. package/dist/build/p-6f7721eb.entry.js.map +1 -0
  163. package/dist/build/p-6fed974c.entry.js +2 -0
  164. package/dist/build/p-6fed974c.entry.js.map +1 -0
  165. package/dist/build/p-75006522.js +2 -0
  166. package/dist/build/p-75006522.js.map +1 -0
  167. package/dist/build/p-7a577384.entry.js +2 -0
  168. package/dist/build/p-7a577384.entry.js.map +1 -0
  169. package/dist/build/p-7beb3401.entry.js +2 -0
  170. package/dist/build/p-851a7662.entry.js +2 -0
  171. package/dist/build/p-851a7662.entry.js.map +1 -0
  172. package/dist/build/p-8a1a6e56.js +2 -0
  173. package/dist/build/p-8a1a6e56.js.map +1 -0
  174. package/dist/build/p-8a5b8196.js +2 -0
  175. package/dist/build/p-8a5b8196.js.map +1 -0
  176. package/dist/build/p-909879e3.entry.js +3 -0
  177. package/dist/build/p-909879e3.entry.js.map +1 -0
  178. package/dist/build/p-92f2aa3a.entry.js +2 -0
  179. package/dist/build/p-92f2aa3a.entry.js.map +1 -0
  180. package/dist/build/p-937b2d74.entry.js +2 -0
  181. package/dist/build/p-937b2d74.entry.js.map +1 -0
  182. package/dist/build/p-9fa5d08a.entry.js +2 -0
  183. package/dist/build/p-a587ff9f.entry.js +2 -0
  184. package/dist/build/p-a587ff9f.entry.js.map +1 -0
  185. package/dist/build/p-a7b8e22f.entry.js +2 -0
  186. package/dist/build/p-a7b8e22f.entry.js.map +1 -0
  187. package/dist/build/p-aa058967.entry.js +2 -0
  188. package/dist/build/p-aa058967.entry.js.map +1 -0
  189. package/dist/build/p-aab1cda1.entry.js +2 -0
  190. package/dist/build/p-aab1cda1.entry.js.map +1 -0
  191. package/dist/build/p-b8e718c7.entry.js +2 -0
  192. package/dist/build/p-b8e718c7.entry.js.map +1 -0
  193. package/dist/build/p-b9a7e240.entry.js +2 -0
  194. package/dist/build/p-b9a7e240.entry.js.map +1 -0
  195. package/dist/build/p-bc46f89a.entry.js +2 -0
  196. package/dist/build/p-be0c925e.entry.js +2 -0
  197. package/dist/build/p-bfbab545.entry.js +2 -0
  198. package/dist/build/p-bfbab545.entry.js.map +1 -0
  199. package/dist/build/p-c6bcbcbf.entry.js +2 -0
  200. package/dist/build/p-cb7c509e.entry.js +2 -0
  201. package/dist/build/p-cb8a454c.entry.js +2 -0
  202. package/dist/build/p-cb8a454c.entry.js.map +1 -0
  203. package/dist/build/p-cc321a7b.entry.js +2 -0
  204. package/dist/build/p-cc321a7b.entry.js.map +1 -0
  205. package/dist/build/p-d5d413a1.js +2 -0
  206. package/dist/build/p-d5d413a1.js.map +1 -0
  207. package/dist/build/p-d7dbd13e.entry.js +2 -0
  208. package/dist/build/p-d7dbd13e.entry.js.map +1 -0
  209. package/dist/build/p-d81a30f6.entry.js +2 -0
  210. package/dist/build/p-d81a30f6.entry.js.map +1 -0
  211. package/dist/build/p-dce95c92.entry.js +2 -0
  212. package/dist/build/p-dce95c92.entry.js.map +1 -0
  213. package/dist/build/p-dd6d3839.entry.js +2 -0
  214. package/dist/build/p-e10cf2d3.entry.js +2 -0
  215. package/dist/build/p-e10cf2d3.entry.js.map +1 -0
  216. package/dist/build/p-ea3bce45.entry.js +2 -0
  217. package/dist/build/p-ece8998b.entry.js +2 -0
  218. package/dist/build/p-ece8998b.entry.js.map +1 -0
  219. package/dist/build/p-f78afad9.entry.js +2 -0
  220. package/dist/build/p-f78afad9.entry.js.map +1 -0
  221. package/dist/build/p-fcaa0539.entry.js +2 -0
  222. package/dist/build/p-fcaa0539.entry.js.map +1 -0
  223. package/dist/build/paperless.css +1 -1
  224. package/dist/build/paperless.esm.js +1 -1
  225. package/dist/build/paperless.esm.js.map +1 -1
  226. package/dist/cjs/_commonjsHelpers-4213291f.js +24 -0
  227. package/dist/cjs/_commonjsHelpers-4213291f.js.map +1 -0
  228. package/dist/cjs/clsx-fc789adc.js +7 -0
  229. package/dist/cjs/clsx-fc789adc.js.map +1 -0
  230. package/dist/cjs/iban-71055b2d.js +16 -0
  231. package/dist/cjs/iban-71055b2d.js.map +1 -0
  232. package/dist/cjs/icons-deprecated-d4fd5f3e.js +1123 -0
  233. package/dist/cjs/icons-deprecated-d4fd5f3e.js.map +1 -0
  234. package/dist/cjs/icons-e50d4119.js +1549 -0
  235. package/dist/cjs/icons-e50d4119.js.map +1 -0
  236. package/dist/cjs/index-02e05522.js +2657 -0
  237. package/dist/cjs/index-02e05522.js.map +1 -0
  238. package/dist/cjs/index-b556e70f.js +48 -0
  239. package/dist/cjs/index-b556e70f.js.map +1 -0
  240. package/dist/cjs/index.cjs.js +308 -193
  241. package/dist/cjs/index.cjs.js.map +1 -1
  242. package/dist/cjs/loader.cjs.js +2 -2
  243. package/dist/cjs/object-get-by-path-c2e8bf29.js +120 -0
  244. package/dist/cjs/object-get-by-path-c2e8bf29.js.map +1 -0
  245. package/dist/cjs/p-accordion.cjs.entry.js +3 -3
  246. package/dist/cjs/p-accordion.cjs.entry.js.map +1 -1
  247. package/dist/cjs/p-attachment.cjs.entry.js +5 -9
  248. package/dist/cjs/p-attachment.cjs.entry.js.map +1 -1
  249. package/dist/cjs/p-avatar-group.cjs.entry.js +3 -3
  250. package/dist/cjs/p-avatar-group.cjs.entry.js.map +1 -1
  251. package/dist/cjs/p-avatar.cjs.entry.js +28 -13
  252. package/dist/cjs/p-avatar.cjs.entry.js.map +1 -1
  253. package/dist/cjs/p-backdrop.cjs.entry.js +57 -4
  254. package/dist/cjs/p-backdrop.cjs.entry.js.map +1 -1
  255. package/dist/cjs/p-badge.cjs.entry.js +21 -0
  256. package/dist/cjs/p-badge.cjs.entry.js.map +1 -0
  257. package/dist/cjs/p-button-group.cjs.entry.js +3 -3
  258. package/dist/cjs/p-button-group.cjs.entry.js.map +1 -1
  259. package/dist/cjs/p-button_3.cjs.entry.js +280 -1173
  260. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -1
  261. package/dist/cjs/p-calendar.cjs.entry.js +15 -18
  262. package/dist/cjs/p-calendar.cjs.entry.js.map +1 -1
  263. package/dist/cjs/p-card-body.cjs.entry.js +2 -2
  264. package/dist/cjs/p-card-body.cjs.entry.js.map +1 -1
  265. package/dist/cjs/p-card-container.cjs.entry.js +2 -2
  266. package/dist/cjs/p-card-container.cjs.entry.js.map +1 -1
  267. package/dist/cjs/p-card-header.cjs.entry.js +2 -2
  268. package/dist/cjs/p-card-header.cjs.entry.js.map +1 -1
  269. package/dist/cjs/p-content-slider.cjs.entry.js +1 -1
  270. package/dist/cjs/p-counter.cjs.entry.js +2 -2
  271. package/dist/cjs/p-counter.cjs.entry.js.map +1 -1
  272. package/dist/cjs/p-cropper.cjs.entry.js +4 -5
  273. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  274. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  275. package/dist/cjs/p-divider.cjs.entry.js +3 -3
  276. package/dist/cjs/p-divider.cjs.entry.js.map +1 -1
  277. package/dist/cjs/p-drawer-body_3.cjs.entry.js +5 -5
  278. package/dist/cjs/p-drawer-body_3.cjs.entry.js.map +1 -1
  279. package/dist/cjs/p-drawer.cjs.entry.js +1 -1
  280. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +44 -3
  281. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js.map +1 -1
  282. package/dist/cjs/p-dropdown_2.cjs.entry.js +85 -19
  283. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +1 -1
  284. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +21 -27
  285. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js.map +1 -1
  286. package/dist/cjs/p-helper_3.cjs.entry.js +6 -7
  287. package/dist/cjs/p-helper_3.cjs.entry.js.map +1 -1
  288. package/dist/cjs/p-iban-icon.cjs.entry.js +47 -0
  289. package/dist/cjs/p-iban-icon.cjs.entry.js.map +1 -0
  290. package/dist/cjs/p-icon-deprecated.cjs.entry.js +61 -0
  291. package/dist/cjs/p-icon-deprecated.cjs.entry.js.map +1 -0
  292. package/dist/cjs/p-info-panel.cjs.entry.js +2 -2
  293. package/dist/cjs/p-info-panel.cjs.entry.js.map +1 -1
  294. package/dist/cjs/p-label_3.cjs.entry.js +4 -4
  295. package/dist/cjs/p-label_3.cjs.entry.js.map +1 -1
  296. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  297. package/dist/cjs/p-modal-body_4.cjs.entry.js +6 -6
  298. package/dist/cjs/p-modal-body_4.cjs.entry.js.map +1 -1
  299. package/dist/cjs/p-modal.cjs.entry.js +1 -1
  300. package/dist/cjs/p-navbar.cjs.entry.js +47 -8
  301. package/dist/cjs/p-navbar.cjs.entry.js.map +1 -1
  302. package/dist/cjs/p-navigation-item.cjs.entry.js +2854 -6
  303. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  304. package/dist/cjs/p-navigation-section.cjs.entry.js +23 -0
  305. package/dist/cjs/p-navigation-section.cjs.entry.js.map +1 -0
  306. package/dist/cjs/p-navigation-title.cjs.entry.js +21 -0
  307. package/dist/cjs/p-navigation-title.cjs.entry.js.map +1 -0
  308. package/dist/cjs/p-page-size-select_3.cjs.entry.js +11 -11
  309. package/dist/cjs/p-page-size-select_3.cjs.entry.js.map +1 -1
  310. package/dist/cjs/p-profile.cjs.entry.js +33 -15
  311. package/dist/cjs/p-profile.cjs.entry.js.map +1 -1
  312. package/dist/cjs/p-select.cjs.entry.js +4 -4
  313. package/dist/cjs/p-select.cjs.entry.js.map +1 -1
  314. package/dist/cjs/p-slider-indicator.cjs.entry.js +2 -2
  315. package/dist/cjs/p-slider-indicator.cjs.entry.js.map +1 -1
  316. package/dist/cjs/p-status.cjs.entry.js +2 -2
  317. package/dist/cjs/p-status.cjs.entry.js.map +1 -1
  318. package/dist/cjs/p-stepper-item.cjs.entry.js +2 -2
  319. package/dist/cjs/p-stepper-item.cjs.entry.js.map +1 -1
  320. package/dist/cjs/p-stepper-line.cjs.entry.js +2 -2
  321. package/dist/cjs/p-stepper-line.cjs.entry.js.map +1 -1
  322. package/dist/cjs/p-stepper.cjs.entry.js +6 -8
  323. package/dist/cjs/p-stepper.cjs.entry.js.map +1 -1
  324. package/dist/cjs/p-tab-group.cjs.entry.js +2 -2
  325. package/dist/cjs/p-tab-item.cjs.entry.js +2 -2
  326. package/dist/cjs/p-tab-item.cjs.entry.js.map +1 -1
  327. package/dist/cjs/p-table-column.cjs.entry.js +1 -1
  328. package/dist/cjs/p-table-row-action.cjs.entry.js +1 -1
  329. package/dist/cjs/p-table.cjs.entry.js +9 -6
  330. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  331. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  332. package/dist/cjs/p-toast.cjs.entry.js +3 -3
  333. package/dist/cjs/p-toast.cjs.entry.js.map +1 -1
  334. package/dist/cjs/p-tooltip.cjs.entry.js +2 -2
  335. package/dist/cjs/p-tooltip.cjs.entry.js.map +1 -1
  336. package/dist/cjs/paperless.cjs.js +2 -2
  337. package/dist/collection/assets/iban-icons/icon-abn.svg +6 -0
  338. package/dist/collection/assets/iban-icons/icon-asn.svg +5 -0
  339. package/dist/collection/assets/iban-icons/icon-bunq.svg +19 -0
  340. package/dist/collection/assets/iban-icons/icon-knab.svg +8 -0
  341. package/dist/collection/assets/iban-icons/icon-rabo.svg +36 -0
  342. package/dist/collection/assets/iban-icons/icon-sns.svg +172 -0
  343. package/dist/collection/assets/iban-icons/icon-triodos.svg +5 -0
  344. package/dist/collection/assets/icons/arrows/arrow.svg +10 -0
  345. package/dist/collection/assets/icons/arrows/caret.svg +10 -0
  346. package/dist/collection/assets/icons/arrows/double-arrow.svg +10 -0
  347. package/dist/collection/assets/icons/arrows/double-caret.svg +10 -0
  348. package/dist/collection/assets/icons/communication/bell.svg +10 -0
  349. package/dist/collection/assets/icons/communication/chat.svg +10 -0
  350. package/dist/collection/assets/icons/communication/check-circle.svg +11 -0
  351. package/dist/collection/assets/icons/communication/cross-circle.svg +10 -0
  352. package/dist/collection/assets/icons/communication/error-circle.svg +11 -0
  353. package/dist/collection/assets/icons/communication/headset.svg +10 -0
  354. package/dist/collection/assets/icons/communication/info-circle.svg +12 -0
  355. package/dist/collection/assets/icons/communication/phone.svg +10 -0
  356. package/dist/collection/assets/icons/communication/question-circle.svg +12 -0
  357. package/dist/collection/assets/icons/communication/warning.svg +11 -0
  358. package/dist/collection/assets/icons/files/attachment.svg +10 -0
  359. package/dist/collection/assets/icons/files/description.svg +10 -0
  360. package/dist/collection/assets/icons/files/document.svg +11 -0
  361. package/dist/collection/assets/icons/files/folder.svg +10 -0
  362. package/dist/collection/assets/icons/files/pdf.svg +11 -0
  363. package/dist/collection/assets/icons/files/xls.svg +11 -0
  364. package/dist/collection/assets/icons/general/bank.svg +10 -0
  365. package/dist/collection/assets/icons/general/bread.svg +12 -0
  366. package/dist/collection/assets/icons/general/cake.svg +11 -0
  367. package/dist/collection/assets/icons/general/calculator.svg +12 -0
  368. package/dist/collection/assets/icons/general/camera.svg +11 -0
  369. package/dist/collection/assets/icons/general/car.svg +11 -0
  370. package/dist/collection/assets/icons/general/certified.svg +11 -0
  371. package/dist/collection/assets/icons/general/chair.svg +11 -0
  372. package/dist/collection/assets/icons/general/checkmark.svg +10 -0
  373. package/dist/collection/assets/icons/general/city.svg +10 -0
  374. package/dist/collection/assets/icons/general/companies.svg +10 -0
  375. package/dist/collection/assets/icons/general/company.svg +10 -0
  376. package/dist/collection/assets/icons/general/credit-card.svg +10 -0
  377. package/dist/collection/assets/icons/general/cutlery.svg +10 -0
  378. package/dist/collection/assets/icons/general/department.svg +10 -0
  379. package/dist/collection/assets/icons/general/diamond.svg +11 -0
  380. package/dist/collection/assets/icons/general/docter.svg +13 -0
  381. package/dist/collection/assets/icons/general/download.svg +11 -0
  382. package/dist/collection/assets/icons/general/envelope.svg +11 -0
  383. package/dist/collection/assets/icons/general/euro.svg +10 -0
  384. package/dist/collection/assets/icons/general/exam.svg +11 -0
  385. package/dist/collection/assets/icons/general/filter.svg +10 -0
  386. package/dist/collection/assets/icons/general/flower.svg +11 -0
  387. package/dist/collection/assets/icons/general/globe-2.svg +11 -0
  388. package/dist/collection/assets/icons/general/globe.svg +11 -0
  389. package/dist/collection/assets/icons/general/hash.svg +10 -0
  390. package/dist/collection/assets/icons/general/hat.svg +12 -0
  391. package/dist/collection/assets/icons/general/home.svg +10 -0
  392. package/dist/collection/assets/icons/general/integration.svg +10 -0
  393. package/dist/collection/assets/icons/general/language.svg +11 -0
  394. package/dist/collection/assets/icons/general/laptop.svg +10 -0
  395. package/dist/collection/assets/icons/general/location.svg +11 -0
  396. package/dist/collection/assets/icons/general/mail.svg +11 -0
  397. package/dist/collection/assets/icons/general/medal.svg +11 -0
  398. package/dist/collection/assets/icons/general/menu-arrow.svg +10 -0
  399. package/dist/collection/assets/icons/general/menu.svg +10 -0
  400. package/dist/collection/assets/icons/general/minus.svg +10 -0
  401. package/dist/collection/assets/icons/general/more.svg +10 -0
  402. package/dist/collection/assets/icons/general/negative.svg +10 -0
  403. package/dist/collection/assets/icons/general/other.svg +10 -0
  404. package/dist/collection/assets/icons/general/pay.svg +11 -0
  405. package/dist/collection/assets/icons/general/pencil.svg +10 -0
  406. package/dist/collection/assets/icons/general/percent.svg +10 -0
  407. package/dist/collection/assets/icons/general/pie-chart.svg +10 -0
  408. package/dist/collection/assets/icons/general/placeholder.svg +10 -0
  409. package/dist/collection/assets/icons/general/plus.svg +10 -0
  410. package/dist/collection/assets/icons/general/power.svg +10 -0
  411. package/dist/collection/assets/icons/general/receipt.svg +10 -0
  412. package/dist/collection/assets/icons/general/reset.svg +11 -0
  413. package/dist/collection/assets/icons/general/search.svg +10 -0
  414. package/dist/collection/assets/icons/general/send.svg +10 -0
  415. package/dist/collection/assets/icons/general/settings.svg +11 -0
  416. package/dist/collection/assets/icons/general/shuffle.svg +11 -0
  417. package/dist/collection/assets/icons/general/sick.svg +10 -0
  418. package/dist/collection/assets/icons/general/signature.svg +10 -0
  419. package/dist/collection/assets/icons/general/sparkle.svg +10 -0
  420. package/dist/collection/assets/icons/general/star.svg +10 -0
  421. package/dist/collection/assets/icons/general/stroller.svg +12 -0
  422. package/dist/collection/assets/icons/general/tag.svg +11 -0
  423. package/dist/collection/assets/icons/general/tasks.svg +10 -0
  424. package/dist/collection/assets/icons/general/tools.svg +10 -0
  425. package/dist/collection/assets/icons/general/tooth.svg +10 -0
  426. package/dist/collection/assets/icons/general/train.svg +11 -0
  427. package/dist/collection/assets/icons/general/trash.svg +10 -0
  428. package/dist/collection/assets/icons/general/upload.svg +10 -0
  429. package/dist/collection/assets/icons/general/wave.svg +12 -0
  430. package/dist/collection/assets/icons/general/zipcode.svg +12 -0
  431. package/dist/collection/assets/icons/security/eye-closed.svg +10 -0
  432. package/dist/collection/assets/icons/security/eye.svg +11 -0
  433. package/dist/collection/assets/icons/security/key.svg +11 -0
  434. package/dist/collection/assets/icons/security/lock.svg +12 -0
  435. package/dist/collection/assets/icons/security/unlocked.svg +12 -0
  436. package/dist/collection/assets/icons/time/alarm.svg +11 -0
  437. package/dist/collection/assets/icons/time/calendar-free.svg +11 -0
  438. package/dist/collection/assets/icons/time/calendar-multi.svg +11 -0
  439. package/dist/collection/assets/icons/time/calendar-not-free.svg +10 -0
  440. package/dist/collection/assets/icons/time/calendar.svg +11 -0
  441. package/dist/collection/assets/icons/time/clock.svg +11 -0
  442. package/dist/collection/assets/icons/users/female.svg +10 -0
  443. package/dist/collection/assets/icons/users/id-two.svg +10 -0
  444. package/dist/collection/assets/icons/users/id.svg +12 -0
  445. package/dist/collection/assets/icons/users/male.svg +10 -0
  446. package/dist/collection/assets/icons/users/user.svg +10 -0
  447. package/dist/collection/assets/icons/users/users.svg +11 -0
  448. package/dist/collection/collection-manifest.json +6 -1
  449. package/dist/collection/components/atoms/avatar/avatar.component.css +1 -1
  450. package/dist/collection/components/atoms/avatar/avatar.component.js +28 -32
  451. package/dist/collection/components/atoms/avatar/avatar.component.js.map +1 -1
  452. package/dist/collection/components/atoms/avatar-group/avatar-group.component.css +1 -1
  453. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js +1 -1
  454. package/dist/collection/components/atoms/avatar-group/avatar-group.component.js.map +1 -1
  455. package/dist/collection/components/atoms/backdrop/backdrop.component.css +1 -1
  456. package/dist/collection/components/atoms/backdrop/backdrop.component.js +71 -3
  457. package/dist/collection/components/atoms/backdrop/backdrop.component.js.map +1 -1
  458. package/dist/collection/components/atoms/badge/badge.component.css +1 -0
  459. package/dist/collection/components/atoms/badge/badge.component.js +18 -0
  460. package/dist/collection/components/atoms/badge/badge.component.js.map +1 -0
  461. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js +26 -0
  462. package/dist/collection/components/atoms/badge/test/badge.component.e2e.js.map +1 -0
  463. package/dist/collection/components/atoms/badge/test/badge.component.spec.js +17 -0
  464. package/dist/collection/components/atoms/badge/test/badge.component.spec.js.map +1 -0
  465. package/dist/collection/components/atoms/card-body/card-body.component.css +1 -1
  466. package/dist/collection/components/atoms/card-container/card-container.component.css +1 -1
  467. package/dist/collection/components/atoms/card-header/card-header.component.css +1 -1
  468. package/dist/collection/components/atoms/counter/counter.component.css +1 -1
  469. package/dist/collection/components/atoms/divider/divider.component.css +1 -1
  470. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  471. package/dist/collection/components/atoms/divider/divider.component.js.map +1 -1
  472. package/dist/collection/components/atoms/drawer-body/drawer-body.component.css +1 -1
  473. package/dist/collection/components/atoms/drawer-container/drawer-container.component.css +1 -1
  474. package/dist/collection/components/atoms/drawer-header/drawer-header.component.css +1 -1
  475. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  476. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js.map +1 -1
  477. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.css +1 -1
  478. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +58 -1
  479. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js.map +1 -1
  480. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  481. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +72 -3
  482. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  483. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.css +1 -1
  484. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.css +1 -1
  485. package/dist/collection/components/atoms/helper/helper.component.css +1 -1
  486. package/dist/collection/components/atoms/helper/helper.component.js +26 -1
  487. package/dist/collection/components/atoms/helper/helper.component.js.map +1 -1
  488. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +84 -0
  489. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js.map +1 -0
  490. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js +26 -0
  491. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.e2e.js.map +1 -0
  492. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js +17 -0
  493. package/dist/collection/components/atoms/iban-icon/test/iban-icon.component.spec.js.map +1 -0
  494. package/dist/collection/components/atoms/icon/icon.component.css +1 -1
  495. package/dist/collection/components/atoms/icon/icon.component.js +45 -55
  496. package/dist/collection/components/atoms/icon/icon.component.js.map +1 -1
  497. package/dist/collection/components/atoms/icon-deprecated/icon.component.css +1 -0
  498. package/dist/collection/components/atoms/icon-deprecated/icon.component.js +159 -0
  499. package/dist/collection/components/atoms/icon-deprecated/icon.component.js.map +1 -0
  500. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js +37 -0
  501. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.e2e.js.map +1 -0
  502. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js +47 -0
  503. package/dist/collection/components/atoms/icon-deprecated/test/icon.component.spec.js.map +1 -0
  504. package/dist/collection/components/atoms/info-panel/info-panel.component.css +1 -1
  505. package/dist/collection/components/atoms/label/label.component.css +1 -1
  506. package/dist/collection/components/atoms/label/label.component.js +2 -2
  507. package/dist/collection/components/atoms/loader/loader.component.css +1 -1
  508. package/dist/collection/components/atoms/modal-body/modal-body.component.css +1 -1
  509. package/dist/collection/components/atoms/modal-container/modal-container.component.css +1 -1
  510. package/dist/collection/components/atoms/modal-footer/modal-footer.component.css +1 -1
  511. package/dist/collection/components/atoms/modal-header/modal-header.component.css +1 -1
  512. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  513. package/dist/collection/components/atoms/modal-header/modal-header.component.js.map +1 -1
  514. package/dist/collection/components/atoms/navigation-title/navigation-title.component.css +1 -0
  515. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +18 -0
  516. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js.map +1 -0
  517. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js +26 -0
  518. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.e2e.js.map +1 -0
  519. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js +17 -0
  520. package/dist/collection/components/atoms/navigation-title/test/navigation-title.component.spec.js.map +1 -0
  521. package/dist/collection/components/atoms/pagination-item/pagination-item.component.css +1 -1
  522. package/dist/collection/components/atoms/segment-container/segment-container.component.css +1 -1
  523. package/dist/collection/components/atoms/segment-item/segment-item.component.css +1 -1
  524. package/dist/collection/components/atoms/segment-item/segment-item.component.js +2 -2
  525. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.css +1 -1
  526. package/dist/collection/components/atoms/status/status.component.css +1 -1
  527. package/dist/collection/components/atoms/status/status.component.js +2 -2
  528. package/dist/collection/components/atoms/stepper-item/stepper-item.component.css +1 -1
  529. package/dist/collection/components/atoms/stepper-line/stepper-line.component.css +1 -1
  530. package/dist/collection/components/atoms/tab-item/tab-item.component.css +1 -1
  531. package/dist/collection/components/atoms/table-container/table-container.component.css +1 -1
  532. package/dist/collection/components/atoms/tooltip/tooltip.component.css +1 -1
  533. package/dist/collection/components/helpers/table-row-action/table-row-action.component.js +2 -2
  534. package/dist/collection/components/molecules/accordion/accordion.component.css +1 -1
  535. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  536. package/dist/collection/components/molecules/accordion/accordion.component.js.map +1 -1
  537. package/dist/collection/components/molecules/attachment/attachment.component.css +1 -1
  538. package/dist/collection/components/molecules/attachment/attachment.component.js +3 -7
  539. package/dist/collection/components/molecules/attachment/attachment.component.js.map +1 -1
  540. package/dist/collection/components/molecules/button/button.component.css +1 -0
  541. package/dist/collection/components/molecules/button/button.component.js +707 -0
  542. package/dist/collection/components/molecules/button/button.component.js.map +1 -0
  543. package/dist/collection/components/molecules/button/test/button.component.e2e.js.map +1 -0
  544. package/dist/collection/components/molecules/button/test/button.component.spec.js.map +1 -0
  545. package/dist/collection/components/molecules/button-group/button-group.component.js +5 -5
  546. package/dist/collection/components/molecules/button-group/button-group.component.js.map +1 -1
  547. package/dist/collection/components/molecules/calendar/calendar.component.css +1 -1
  548. package/dist/collection/components/molecules/calendar/calendar.component.js +13 -16
  549. package/dist/collection/components/molecules/calendar/calendar.component.js.map +1 -1
  550. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
  551. package/dist/collection/components/molecules/dropdown/dropdown.component.css +1 -1
  552. package/dist/collection/components/molecules/dropdown/dropdown.component.js +29 -16
  553. package/dist/collection/components/molecules/dropdown/dropdown.component.js.map +1 -1
  554. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -3
  555. package/dist/collection/components/molecules/input-error/input-error.component.js.map +1 -1
  556. package/dist/collection/components/molecules/input-group/input-group.component.css +1 -1
  557. package/dist/collection/components/molecules/input-group/input-group.component.js +2 -2
  558. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  559. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +82 -48
  560. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  561. package/dist/collection/components/molecules/navigation-section/navigation-section.component.css +1 -0
  562. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +43 -0
  563. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js.map +1 -0
  564. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js +26 -0
  565. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.e2e.js.map +1 -0
  566. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js +17 -0
  567. package/dist/collection/components/molecules/navigation-section/test/navigation-section.component.spec.js.map +1 -0
  568. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js +8 -8
  569. package/dist/collection/components/molecules/page-size-select/page-size-select.component.js.map +1 -1
  570. package/dist/collection/components/molecules/pagination/pagination.component.js +4 -4
  571. package/dist/collection/components/molecules/pagination/pagination.component.js.map +1 -1
  572. package/dist/collection/components/molecules/profile/profile.component.css +1 -1
  573. package/dist/collection/components/molecules/profile/profile.component.js +48 -40
  574. package/dist/collection/components/molecules/profile/profile.component.js.map +1 -1
  575. package/dist/collection/components/molecules/select/select.component.css +1 -1
  576. package/dist/collection/components/molecules/select/select.component.js +4 -4
  577. package/dist/collection/components/molecules/select/select.component.js.map +1 -1
  578. package/dist/collection/components/molecules/stepper/stepper.component.js +5 -7
  579. package/dist/collection/components/molecules/stepper/stepper.component.js.map +1 -1
  580. package/dist/collection/components/molecules/table-cell/table-cell.component.css +1 -1
  581. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -3
  582. package/dist/collection/components/molecules/table-footer/table-footer.component.js.map +1 -1
  583. package/dist/collection/components/molecules/table-header/table-header.component.css +1 -1
  584. package/dist/collection/components/molecules/table-header/table-header.component.js +31 -17
  585. package/dist/collection/components/molecules/table-header/table-header.component.js.map +1 -1
  586. package/dist/collection/components/molecules/table-row/table-row.component.css +1 -1
  587. package/dist/collection/components/molecules/toast/toast.component.css +1 -1
  588. package/dist/collection/components/molecules/toast/toast.component.js +3 -3
  589. package/dist/collection/components/molecules/toast/toast.component.js.map +1 -1
  590. package/dist/collection/components/organisms/navbar/navbar.component.css +1 -1
  591. package/dist/collection/components/organisms/navbar/navbar.component.js +45 -47
  592. package/dist/collection/components/organisms/navbar/navbar.component.js.map +1 -1
  593. package/dist/collection/components/organisms/table/table.component.css +1 -1
  594. package/dist/collection/components/organisms/table/table.component.js +26 -5
  595. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  596. package/dist/collection/tailwind/paperless.js +29 -17
  597. package/dist/collection/tailwind/paperless.js.map +1 -1
  598. package/dist/collection/tailwind/theme/colors.js +128 -2
  599. package/dist/collection/tailwind/theme/colors.js.map +1 -1
  600. package/dist/collection/tailwind/theme/height.js +1 -0
  601. package/dist/collection/tailwind/theme/height.js.map +1 -1
  602. package/dist/collection/tailwind/theme/shadows.js +12 -9
  603. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  604. package/dist/collection/tailwind/theme/typography.js +11 -15
  605. package/dist/collection/tailwind/theme/typography.js.map +1 -1
  606. package/dist/collection/tailwind/theme/width.js +1 -0
  607. package/dist/collection/tailwind/theme/width.js.map +1 -1
  608. package/dist/collection/tailwind.config.js +1 -0
  609. package/dist/collection/tailwind.config.js.map +1 -1
  610. package/dist/collection/types/iban.js +11 -0
  611. package/dist/collection/types/iban.js.map +1 -0
  612. package/dist/collection/types/index.js +1 -0
  613. package/dist/collection/types/index.js.map +1 -1
  614. package/dist/collection/types/tailwind.js.map +1 -1
  615. package/dist/collection/utils/cn.js +6 -0
  616. package/dist/collection/utils/cn.js.map +1 -0
  617. package/dist/collection/utils/icons-deprecated.js +135 -0
  618. package/dist/collection/utils/icons-deprecated.js.map +1 -0
  619. package/dist/collection/utils/icons.js +311 -108
  620. package/dist/collection/utils/icons.js.map +1 -1
  621. package/dist/collection/utils/index.js +1 -0
  622. package/dist/collection/utils/index.js.map +1 -1
  623. package/dist/collection/utils/table-helpers.js +5 -0
  624. package/dist/collection/utils/table-helpers.js.map +1 -1
  625. package/dist/components/_commonjsHelpers.js +21 -0
  626. package/dist/components/_commonjsHelpers.js.map +1 -0
  627. package/dist/components/avatar.component.js +26 -13
  628. package/dist/components/avatar.component.js.map +1 -1
  629. package/dist/components/backdrop.component.js +58 -6
  630. package/dist/components/backdrop.component.js.map +1 -1
  631. package/dist/components/badge.component.js +31 -0
  632. package/dist/components/badge.component.js.map +1 -0
  633. package/dist/components/button.component.js +240 -10
  634. package/dist/components/button.component.js.map +1 -1
  635. package/dist/components/calendar.component.js +14 -17
  636. package/dist/components/calendar.component.js.map +1 -1
  637. package/dist/components/divider.component.js +2 -2
  638. package/dist/components/divider.component.js.map +1 -1
  639. package/dist/components/drawer-body.component.js +1 -1
  640. package/dist/components/drawer-body.component.js.map +1 -1
  641. package/dist/components/drawer-container.component.js +1 -1
  642. package/dist/components/drawer-container.component.js.map +1 -1
  643. package/dist/components/drawer-header.component.js +2 -2
  644. package/dist/components/drawer-header.component.js.map +1 -1
  645. package/dist/components/dropdown-menu-container.component.js +43 -2
  646. package/dist/components/dropdown-menu-container.component.js.map +1 -1
  647. package/dist/components/dropdown-menu-item.component.js +56 -4
  648. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  649. package/dist/components/dropdown.component.js +31 -18
  650. package/dist/components/dropdown.component.js.map +1 -1
  651. package/dist/components/floating-menu-container.component.js +1 -1
  652. package/dist/components/floating-menu-container.component.js.map +1 -1
  653. package/dist/components/floating-menu-item.component.js +1 -1
  654. package/dist/components/floating-menu-item.component.js.map +1 -1
  655. package/dist/components/helper.component.js +4 -2
  656. package/dist/components/helper.component.js.map +1 -1
  657. package/dist/components/iban.js +14 -0
  658. package/dist/components/iban.js.map +1 -0
  659. package/dist/components/icon.component.js +40 -1161
  660. package/dist/components/icon.component.js.map +1 -1
  661. package/dist/components/icons-deprecated.js +1121 -0
  662. package/dist/components/icons-deprecated.js.map +1 -0
  663. package/dist/components/icons.js +1546 -0
  664. package/dist/components/icons.js.map +1 -0
  665. package/dist/components/index.js +299 -188
  666. package/dist/components/index.js.map +1 -1
  667. package/dist/components/index2.js +46 -0
  668. package/dist/components/index2.js.map +1 -0
  669. package/dist/components/input-error.component.js +1 -3
  670. package/dist/components/input-error.component.js.map +1 -1
  671. package/dist/components/input-group.component.js +1 -1
  672. package/dist/components/input-group.component.js.map +1 -1
  673. package/dist/components/label.component.js +1 -1
  674. package/dist/components/label.component.js.map +1 -1
  675. package/dist/components/loader.component.js +1 -1
  676. package/dist/components/loader.component.js.map +1 -1
  677. package/dist/components/modal-body.component.js +1 -1
  678. package/dist/components/modal-body.component.js.map +1 -1
  679. package/dist/components/modal-container.component.js +1 -1
  680. package/dist/components/modal-container.component.js.map +1 -1
  681. package/dist/components/modal-footer.component.js +1 -1
  682. package/dist/components/modal-footer.component.js.map +1 -1
  683. package/dist/components/modal-header.component.js +2 -2
  684. package/dist/components/modal-header.component.js.map +1 -1
  685. package/dist/components/navigation-title.component.js +31 -0
  686. package/dist/components/navigation-title.component.js.map +1 -0
  687. package/dist/components/object-get-by-path.js +5 -0
  688. package/dist/components/object-get-by-path.js.map +1 -1
  689. package/dist/components/p-accordion.js +2 -2
  690. package/dist/components/p-accordion.js.map +1 -1
  691. package/dist/components/p-attachment.js +4 -8
  692. package/dist/components/p-attachment.js.map +1 -1
  693. package/dist/components/p-avatar-group.js +2 -2
  694. package/dist/components/p-avatar-group.js.map +1 -1
  695. package/dist/components/p-badge.d.ts +11 -0
  696. package/dist/components/p-badge.js +8 -0
  697. package/dist/components/p-badge.js.map +1 -0
  698. package/dist/components/p-button-group.js +2 -2
  699. package/dist/components/p-button-group.js.map +1 -1
  700. package/dist/components/p-card-body.js +1 -1
  701. package/dist/components/p-card-body.js.map +1 -1
  702. package/dist/components/p-card-container.js +1 -1
  703. package/dist/components/p-card-container.js.map +1 -1
  704. package/dist/components/p-card-header.js +1 -1
  705. package/dist/components/p-card-header.js.map +1 -1
  706. package/dist/components/p-counter.js +33 -1
  707. package/dist/components/p-counter.js.map +1 -1
  708. package/dist/components/p-cropper.js +2 -3
  709. package/dist/components/p-cropper.js.map +1 -1
  710. package/dist/components/p-iban-icon.d.ts +11 -0
  711. package/dist/components/p-iban-icon.js +64 -0
  712. package/dist/components/p-iban-icon.js.map +1 -0
  713. package/dist/components/p-icon-deprecated.d.ts +11 -0
  714. package/dist/components/p-icon-deprecated.js +79 -0
  715. package/dist/components/p-icon-deprecated.js.map +1 -0
  716. package/dist/components/p-info-panel.js +1 -1
  717. package/dist/components/p-info-panel.js.map +1 -1
  718. package/dist/components/p-navbar.js +46 -10
  719. package/dist/components/p-navbar.js.map +1 -1
  720. package/dist/components/p-navigation-item.js +2862 -22
  721. package/dist/components/p-navigation-item.js.map +1 -1
  722. package/dist/components/p-navigation-section.d.ts +11 -0
  723. package/dist/components/p-navigation-section.js +44 -0
  724. package/dist/components/p-navigation-section.js.map +1 -0
  725. package/dist/components/p-navigation-title.d.ts +11 -0
  726. package/dist/components/p-navigation-title.js +8 -0
  727. package/dist/components/p-navigation-title.js.map +1 -0
  728. package/dist/components/p-profile.js +54 -26
  729. package/dist/components/p-profile.js.map +1 -1
  730. package/dist/components/p-select.js +3 -3
  731. package/dist/components/p-select.js.map +1 -1
  732. package/dist/components/p-status.js +1 -1
  733. package/dist/components/p-status.js.map +1 -1
  734. package/dist/components/p-stepper-item.js +1 -1
  735. package/dist/components/p-stepper-item.js.map +1 -1
  736. package/dist/components/p-stepper.js +5 -7
  737. package/dist/components/p-stepper.js.map +1 -1
  738. package/dist/components/p-tab-item.js +1 -1
  739. package/dist/components/p-tab-item.js.map +1 -1
  740. package/dist/components/p-table.js +9 -5
  741. package/dist/components/p-table.js.map +1 -1
  742. package/dist/components/p-toast.js +2 -2
  743. package/dist/components/p-toast.js.map +1 -1
  744. package/dist/components/page-size-select.component.js +5 -5
  745. package/dist/components/page-size-select.component.js.map +1 -1
  746. package/dist/components/pagination-item.component.js +1 -1
  747. package/dist/components/pagination-item.component.js.map +1 -1
  748. package/dist/components/pagination.component.js +4 -4
  749. package/dist/components/pagination.component.js.map +1 -1
  750. package/dist/components/segment-container.component.js +1 -1
  751. package/dist/components/segment-container.component.js.map +1 -1
  752. package/dist/components/segment-item.component.js +1 -1
  753. package/dist/components/segment-item.component.js.map +1 -1
  754. package/dist/components/slider-indicator.component.js +1 -1
  755. package/dist/components/slider-indicator.component.js.map +1 -1
  756. package/dist/components/stepper-line.component.js +1 -1
  757. package/dist/components/stepper-line.component.js.map +1 -1
  758. package/dist/components/table-cell.component.js +1 -1
  759. package/dist/components/table-cell.component.js.map +1 -1
  760. package/dist/components/table-container.component.js +1 -1
  761. package/dist/components/table-container.component.js.map +1 -1
  762. package/dist/components/table-footer.component.js +1 -3
  763. package/dist/components/table-footer.component.js.map +1 -1
  764. package/dist/components/table-header.component.js +14 -17
  765. package/dist/components/table-header.component.js.map +1 -1
  766. package/dist/components/table-row.component.js +1 -1
  767. package/dist/components/table-row.component.js.map +1 -1
  768. package/dist/components/tooltip.component.js +1 -1
  769. package/dist/components/tooltip.component.js.map +1 -1
  770. package/dist/esm/_commonjsHelpers-e9b9b14e.js +21 -0
  771. package/dist/esm/_commonjsHelpers-e9b9b14e.js.map +1 -0
  772. package/dist/esm/clsx-297c1ffe.js +5 -0
  773. package/dist/esm/clsx-297c1ffe.js.map +1 -0
  774. package/dist/esm/iban-c412c889.js +14 -0
  775. package/dist/esm/iban-c412c889.js.map +1 -0
  776. package/dist/esm/icons-cf12e4d2.js +1546 -0
  777. package/dist/esm/icons-cf12e4d2.js.map +1 -0
  778. package/dist/esm/icons-deprecated-2e1d124f.js +1121 -0
  779. package/dist/esm/icons-deprecated-2e1d124f.js.map +1 -0
  780. package/dist/esm/index-10317a74.js +46 -0
  781. package/dist/esm/index-10317a74.js.map +1 -0
  782. package/dist/esm/index-f99096d4.js +2628 -0
  783. package/dist/esm/index-f99096d4.js.map +1 -0
  784. package/dist/esm/index.js +300 -189
  785. package/dist/esm/index.js.map +1 -1
  786. package/dist/esm/loader.js +3 -3
  787. package/dist/esm/object-get-by-path-273a7106.js +114 -0
  788. package/dist/esm/object-get-by-path-273a7106.js.map +1 -0
  789. package/dist/esm/p-accordion.entry.js +3 -3
  790. package/dist/esm/p-accordion.entry.js.map +1 -1
  791. package/dist/esm/p-attachment.entry.js +5 -9
  792. package/dist/esm/p-attachment.entry.js.map +1 -1
  793. package/dist/esm/p-avatar-group.entry.js +3 -3
  794. package/dist/esm/p-avatar-group.entry.js.map +1 -1
  795. package/dist/esm/p-avatar.entry.js +28 -13
  796. package/dist/esm/p-avatar.entry.js.map +1 -1
  797. package/dist/esm/p-backdrop.entry.js +57 -4
  798. package/dist/esm/p-backdrop.entry.js.map +1 -1
  799. package/dist/esm/p-badge.entry.js +17 -0
  800. package/dist/esm/p-badge.entry.js.map +1 -0
  801. package/dist/esm/p-button-group.entry.js +3 -3
  802. package/dist/esm/p-button-group.entry.js.map +1 -1
  803. package/dist/esm/p-button_3.entry.js +280 -1173
  804. package/dist/esm/p-button_3.entry.js.map +1 -1
  805. package/dist/esm/p-calendar.entry.js +15 -18
  806. package/dist/esm/p-calendar.entry.js.map +1 -1
  807. package/dist/esm/p-card-body.entry.js +2 -2
  808. package/dist/esm/p-card-body.entry.js.map +1 -1
  809. package/dist/esm/p-card-container.entry.js +2 -2
  810. package/dist/esm/p-card-container.entry.js.map +1 -1
  811. package/dist/esm/p-card-header.entry.js +2 -2
  812. package/dist/esm/p-card-header.entry.js.map +1 -1
  813. package/dist/esm/p-content-slider.entry.js +1 -1
  814. package/dist/esm/p-counter.entry.js +2 -2
  815. package/dist/esm/p-counter.entry.js.map +1 -1
  816. package/dist/esm/p-cropper.entry.js +3 -4
  817. package/dist/esm/p-cropper.entry.js.map +1 -1
  818. package/dist/esm/p-datepicker.entry.js +1 -1
  819. package/dist/esm/p-divider.entry.js +3 -3
  820. package/dist/esm/p-divider.entry.js.map +1 -1
  821. package/dist/esm/p-drawer-body_3.entry.js +5 -5
  822. package/dist/esm/p-drawer-body_3.entry.js.map +1 -1
  823. package/dist/esm/p-drawer.entry.js +1 -1
  824. package/dist/esm/p-dropdown-menu-container.entry.js +44 -3
  825. package/dist/esm/p-dropdown-menu-container.entry.js.map +1 -1
  826. package/dist/esm/p-dropdown_2.entry.js +85 -19
  827. package/dist/esm/p-dropdown_2.entry.js.map +1 -1
  828. package/dist/esm/p-floating-menu-container_8.entry.js +21 -27
  829. package/dist/esm/p-floating-menu-container_8.entry.js.map +1 -1
  830. package/dist/esm/p-helper_3.entry.js +6 -7
  831. package/dist/esm/p-helper_3.entry.js.map +1 -1
  832. package/dist/esm/p-iban-icon.entry.js +43 -0
  833. package/dist/esm/p-iban-icon.entry.js.map +1 -0
  834. package/dist/esm/p-icon-deprecated.entry.js +57 -0
  835. package/dist/esm/p-icon-deprecated.entry.js.map +1 -0
  836. package/dist/esm/p-info-panel.entry.js +2 -2
  837. package/dist/esm/p-info-panel.entry.js.map +1 -1
  838. package/dist/esm/p-label_3.entry.js +4 -4
  839. package/dist/esm/p-label_3.entry.js.map +1 -1
  840. package/dist/esm/p-layout.entry.js +1 -1
  841. package/dist/esm/p-modal-body_4.entry.js +6 -6
  842. package/dist/esm/p-modal-body_4.entry.js.map +1 -1
  843. package/dist/esm/p-modal.entry.js +1 -1
  844. package/dist/esm/p-navbar.entry.js +47 -8
  845. package/dist/esm/p-navbar.entry.js.map +1 -1
  846. package/dist/esm/p-navigation-item.entry.js +2854 -6
  847. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  848. package/dist/esm/p-navigation-section.entry.js +19 -0
  849. package/dist/esm/p-navigation-section.entry.js.map +1 -0
  850. package/dist/esm/p-navigation-title.entry.js +17 -0
  851. package/dist/esm/p-navigation-title.entry.js.map +1 -0
  852. package/dist/esm/p-page-size-select_3.entry.js +11 -11
  853. package/dist/esm/p-page-size-select_3.entry.js.map +1 -1
  854. package/dist/esm/p-profile.entry.js +33 -15
  855. package/dist/esm/p-profile.entry.js.map +1 -1
  856. package/dist/esm/p-select.entry.js +4 -4
  857. package/dist/esm/p-select.entry.js.map +1 -1
  858. package/dist/esm/p-slider-indicator.entry.js +2 -2
  859. package/dist/esm/p-slider-indicator.entry.js.map +1 -1
  860. package/dist/esm/p-status.entry.js +2 -2
  861. package/dist/esm/p-status.entry.js.map +1 -1
  862. package/dist/esm/p-stepper-item.entry.js +2 -2
  863. package/dist/esm/p-stepper-item.entry.js.map +1 -1
  864. package/dist/esm/p-stepper-line.entry.js +2 -2
  865. package/dist/esm/p-stepper-line.entry.js.map +1 -1
  866. package/dist/esm/p-stepper.entry.js +6 -8
  867. package/dist/esm/p-stepper.entry.js.map +1 -1
  868. package/dist/esm/p-tab-group.entry.js +2 -2
  869. package/dist/esm/p-tab-item.entry.js +2 -2
  870. package/dist/esm/p-tab-item.entry.js.map +1 -1
  871. package/dist/esm/p-table-column.entry.js +1 -1
  872. package/dist/esm/p-table-row-action.entry.js +1 -1
  873. package/dist/esm/p-table.entry.js +9 -6
  874. package/dist/esm/p-table.entry.js.map +1 -1
  875. package/dist/esm/p-toast-container.entry.js +1 -1
  876. package/dist/esm/p-toast.entry.js +3 -3
  877. package/dist/esm/p-toast.entry.js.map +1 -1
  878. package/dist/esm/p-tooltip.entry.js +2 -2
  879. package/dist/esm/p-tooltip.entry.js.map +1 -1
  880. package/dist/esm/paperless.js +3 -3
  881. package/dist/index.html +1 -1
  882. package/dist/paperless/index.esm.js +1 -1
  883. package/dist/paperless/index.esm.js.map +1 -1
  884. package/dist/paperless/p-013cd7f9.entry.js +2 -0
  885. package/dist/paperless/p-0348e450.entry.js +2 -0
  886. package/dist/paperless/p-0348e450.entry.js.map +1 -0
  887. package/dist/paperless/p-047c1c6f.entry.js +2 -0
  888. package/dist/paperless/p-047c1c6f.entry.js.map +1 -0
  889. package/dist/paperless/p-08ea38ad.entry.js +2 -0
  890. package/dist/paperless/p-08ea38ad.entry.js.map +1 -0
  891. package/dist/paperless/p-16a18649.entry.js +2 -0
  892. package/dist/paperless/p-16a18649.entry.js.map +1 -0
  893. package/dist/paperless/p-221dbb71.entry.js +2 -0
  894. package/dist/paperless/p-221dbb71.entry.js.map +1 -0
  895. package/dist/paperless/p-23ca3688.entry.js +2 -0
  896. package/dist/paperless/p-23ca3688.entry.js.map +1 -0
  897. package/dist/paperless/p-28d14744.entry.js +2 -0
  898. package/dist/paperless/p-28d14744.entry.js.map +1 -0
  899. package/dist/paperless/p-2e3b9db4.js +2 -0
  900. package/dist/paperless/p-2e3b9db4.js.map +1 -0
  901. package/dist/paperless/p-2f9e9197.entry.js +2 -0
  902. package/dist/paperless/p-2f9e9197.entry.js.map +1 -0
  903. package/dist/paperless/p-32056913.entry.js +2 -0
  904. package/dist/paperless/p-32056913.entry.js.map +1 -0
  905. package/dist/paperless/p-385943b2.entry.js +2 -0
  906. package/dist/paperless/p-385943b2.entry.js.map +1 -0
  907. package/dist/paperless/p-393eba2f.entry.js +2 -0
  908. package/dist/paperless/p-393eba2f.entry.js.map +1 -0
  909. package/dist/paperless/p-3d867690.entry.js +2 -0
  910. package/dist/paperless/p-3d867690.entry.js.map +1 -0
  911. package/dist/paperless/p-3e9d994a.entry.js +2 -0
  912. package/dist/paperless/p-3e9d994a.entry.js.map +1 -0
  913. package/dist/paperless/p-45463125.entry.js +2 -0
  914. package/dist/paperless/p-45463125.entry.js.map +1 -0
  915. package/dist/paperless/p-5ab354bf.entry.js +2 -0
  916. package/dist/paperless/p-5ab354bf.entry.js.map +1 -0
  917. package/dist/paperless/p-5e789bb1.entry.js +2 -0
  918. package/dist/paperless/p-5e789bb1.entry.js.map +1 -0
  919. package/dist/paperless/p-64765a81.js +2 -0
  920. package/dist/paperless/p-64765a81.js.map +1 -0
  921. package/dist/paperless/p-64b53130.entry.js +2 -0
  922. package/dist/paperless/p-64b53130.entry.js.map +1 -0
  923. package/dist/paperless/p-64b68231.js +3 -0
  924. package/dist/paperless/p-64b68231.js.map +1 -0
  925. package/dist/paperless/p-6cddc325.js +2 -0
  926. package/dist/paperless/p-6cddc325.js.map +1 -0
  927. package/dist/paperless/p-6e71ebca.entry.js +2 -0
  928. package/dist/paperless/p-6e71ebca.entry.js.map +1 -0
  929. package/dist/paperless/p-6f7721eb.entry.js +2 -0
  930. package/dist/paperless/p-6f7721eb.entry.js.map +1 -0
  931. package/dist/paperless/p-6fed974c.entry.js +2 -0
  932. package/dist/paperless/p-6fed974c.entry.js.map +1 -0
  933. package/dist/paperless/p-75006522.js +2 -0
  934. package/dist/paperless/p-75006522.js.map +1 -0
  935. package/dist/paperless/p-7a577384.entry.js +2 -0
  936. package/dist/paperless/p-7a577384.entry.js.map +1 -0
  937. package/dist/paperless/p-7beb3401.entry.js +2 -0
  938. package/dist/paperless/p-851a7662.entry.js +2 -0
  939. package/dist/paperless/p-851a7662.entry.js.map +1 -0
  940. package/dist/paperless/p-8a1a6e56.js +2 -0
  941. package/dist/paperless/p-8a1a6e56.js.map +1 -0
  942. package/dist/paperless/p-8a5b8196.js +2 -0
  943. package/dist/paperless/p-8a5b8196.js.map +1 -0
  944. package/dist/paperless/p-909879e3.entry.js +3 -0
  945. package/dist/paperless/p-909879e3.entry.js.map +1 -0
  946. package/dist/paperless/p-92f2aa3a.entry.js +2 -0
  947. package/dist/paperless/p-92f2aa3a.entry.js.map +1 -0
  948. package/dist/paperless/p-937b2d74.entry.js +2 -0
  949. package/dist/paperless/p-937b2d74.entry.js.map +1 -0
  950. package/dist/paperless/p-9fa5d08a.entry.js +2 -0
  951. package/dist/paperless/p-a587ff9f.entry.js +2 -0
  952. package/dist/paperless/p-a587ff9f.entry.js.map +1 -0
  953. package/dist/paperless/p-a7b8e22f.entry.js +2 -0
  954. package/dist/paperless/p-a7b8e22f.entry.js.map +1 -0
  955. package/dist/paperless/p-aa058967.entry.js +2 -0
  956. package/dist/paperless/p-aa058967.entry.js.map +1 -0
  957. package/dist/paperless/p-aab1cda1.entry.js +2 -0
  958. package/dist/paperless/p-aab1cda1.entry.js.map +1 -0
  959. package/dist/paperless/p-b8e718c7.entry.js +2 -0
  960. package/dist/paperless/p-b8e718c7.entry.js.map +1 -0
  961. package/dist/paperless/p-b9a7e240.entry.js +2 -0
  962. package/dist/paperless/p-b9a7e240.entry.js.map +1 -0
  963. package/dist/paperless/p-bc46f89a.entry.js +2 -0
  964. package/dist/paperless/p-be0c925e.entry.js +2 -0
  965. package/dist/paperless/p-bfbab545.entry.js +2 -0
  966. package/dist/paperless/p-bfbab545.entry.js.map +1 -0
  967. package/dist/paperless/p-c6bcbcbf.entry.js +2 -0
  968. package/dist/paperless/p-cb7c509e.entry.js +2 -0
  969. package/dist/paperless/p-cb8a454c.entry.js +2 -0
  970. package/dist/paperless/p-cb8a454c.entry.js.map +1 -0
  971. package/dist/paperless/p-cc321a7b.entry.js +2 -0
  972. package/dist/paperless/p-cc321a7b.entry.js.map +1 -0
  973. package/dist/paperless/p-d5d413a1.js +2 -0
  974. package/dist/paperless/p-d5d413a1.js.map +1 -0
  975. package/dist/paperless/p-d7dbd13e.entry.js +2 -0
  976. package/dist/paperless/p-d7dbd13e.entry.js.map +1 -0
  977. package/dist/paperless/p-d81a30f6.entry.js +2 -0
  978. package/dist/paperless/p-d81a30f6.entry.js.map +1 -0
  979. package/dist/paperless/p-dce95c92.entry.js +2 -0
  980. package/dist/paperless/p-dce95c92.entry.js.map +1 -0
  981. package/dist/paperless/p-dd6d3839.entry.js +2 -0
  982. package/dist/paperless/p-e10cf2d3.entry.js +2 -0
  983. package/dist/paperless/p-e10cf2d3.entry.js.map +1 -0
  984. package/dist/paperless/p-ea3bce45.entry.js +2 -0
  985. package/dist/paperless/p-ece8998b.entry.js +2 -0
  986. package/dist/paperless/p-ece8998b.entry.js.map +1 -0
  987. package/dist/paperless/p-f78afad9.entry.js +2 -0
  988. package/dist/paperless/p-f78afad9.entry.js.map +1 -0
  989. package/dist/paperless/p-fcaa0539.entry.js +2 -0
  990. package/dist/paperless/p-fcaa0539.entry.js.map +1 -0
  991. package/dist/paperless/paperless.css +1 -1430
  992. package/dist/paperless/paperless.esm.js +1 -1
  993. package/dist/paperless/paperless.esm.js.map +1 -1
  994. package/dist/style/_fonts.scss +2 -69
  995. package/dist/style/_reset.scss +26 -23
  996. package/dist/style/_typograhpy.scss +23 -23
  997. package/dist/style/form/_checkbox.scss +2 -2
  998. package/dist/style/form/_mixins.scss +1 -1
  999. package/dist/style/form/_radio.scss +2 -2
  1000. package/dist/style/form/_range.scss +14 -14
  1001. package/dist/style/paperless.scss +4 -1
  1002. package/dist/sw.js +1 -1
  1003. package/dist/sw.js.map +1 -1
  1004. package/dist/tailwind/paperless.ts +19 -16
  1005. package/dist/tailwind/theme/colors.ts +133 -2
  1006. package/dist/tailwind/theme/height.ts +1 -0
  1007. package/dist/tailwind/theme/shadows.ts +12 -9
  1008. package/dist/tailwind/theme/typography.ts +11 -15
  1009. package/dist/tailwind/theme/width.ts +1 -0
  1010. package/dist/tailwind.config.ts +1 -0
  1011. package/dist/types/components/atoms/avatar/avatar.component.d.ts +2 -6
  1012. package/dist/types/components/atoms/backdrop/backdrop.component.d.ts +5 -0
  1013. package/dist/types/components/atoms/badge/badge.component.d.ts +3 -0
  1014. package/dist/types/components/atoms/dropdown-menu-container/dropdown-menu-container.component.d.ts +4 -0
  1015. package/dist/types/components/atoms/dropdown-menu-item/dropdown-menu-item.component.d.ts +4 -0
  1016. package/dist/types/components/atoms/helper/helper.component.d.ts +5 -1
  1017. package/dist/types/components/atoms/iban-icon/iban-icon.component.d.ts +13 -0
  1018. package/dist/types/components/atoms/icon/icon.component.d.ts +4 -4
  1019. package/dist/types/components/atoms/icon-deprecated/icon.component.d.ts +23 -0
  1020. package/dist/types/components/atoms/navigation-title/navigation-title.component.d.ts +3 -0
  1021. package/dist/types/components/molecules/button/button.component.d.ts +92 -0
  1022. package/dist/types/components/molecules/button-group/button-group.component.d.ts +1 -1
  1023. package/dist/types/components/molecules/dropdown/dropdown.component.d.ts +1 -0
  1024. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +10 -10
  1025. package/dist/types/components/molecules/navigation-section/navigation-section.component.d.ts +7 -0
  1026. package/dist/types/components/molecules/page-size-select/page-size-select.component.d.ts +1 -1
  1027. package/dist/types/components/molecules/profile/profile.component.d.ts +6 -7
  1028. package/dist/types/components/molecules/table-header/table-header.component.d.ts +4 -0
  1029. package/dist/types/components/organisms/navbar/navbar.component.d.ts +1 -9
  1030. package/dist/types/components/organisms/table/table.component.d.ts +5 -0
  1031. package/dist/types/components.d.ts +246 -89
  1032. package/dist/types/tailwind/theme/colors.d.ts +127 -2
  1033. package/dist/types/tailwind/theme/height.d.ts +1 -0
  1034. package/dist/types/tailwind/theme/shadows.d.ts +5 -7
  1035. package/dist/types/tailwind/theme/typography.d.ts +11 -15
  1036. package/dist/types/tailwind/theme/width.d.ts +1 -0
  1037. package/dist/types/types/iban.d.ts +2 -0
  1038. package/dist/types/types/index.d.ts +1 -0
  1039. package/dist/types/types/tailwind.d.ts +1 -1
  1040. package/dist/types/utils/cn.d.ts +2 -0
  1041. package/dist/types/utils/icons-deprecated.d.ts +68 -0
  1042. package/dist/types/utils/icons.d.ts +200 -43
  1043. package/dist/types/utils/index.d.ts +1 -0
  1044. package/hydrate/index.js +5342 -388
  1045. package/package.json +7 -5
  1046. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.eot +0 -0
  1047. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
  1048. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.ttf +0 -0
  1049. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff +0 -0
  1050. package/dist/assets/fonts/ibm-plex-sans-v3-latin-300.woff2 +0 -0
  1051. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.eot +0 -0
  1052. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
  1053. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.ttf +0 -0
  1054. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff +0 -0
  1055. package/dist/assets/fonts/ibm-plex-sans-v3-latin-500.woff2 +0 -0
  1056. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.eot +0 -0
  1057. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
  1058. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.ttf +0 -0
  1059. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff +0 -0
  1060. package/dist/assets/fonts/ibm-plex-sans-v3-latin-600.woff2 +0 -0
  1061. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.eot +0 -0
  1062. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
  1063. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.ttf +0 -0
  1064. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff +0 -0
  1065. package/dist/assets/fonts/ibm-plex-sans-v3-latin-700.woff2 +0 -0
  1066. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.eot +0 -0
  1067. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
  1068. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.ttf +0 -0
  1069. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff +0 -0
  1070. package/dist/assets/fonts/ibm-plex-sans-v3-latin-regular.woff2 +0 -0
  1071. package/dist/build/p-00d4647f.entry.js +0 -2
  1072. package/dist/build/p-00d4647f.entry.js.map +0 -1
  1073. package/dist/build/p-0cbff44f.entry.js +0 -2
  1074. package/dist/build/p-0cbff44f.entry.js.map +0 -1
  1075. package/dist/build/p-179efb16.entry.js +0 -2
  1076. package/dist/build/p-179efb16.entry.js.map +0 -1
  1077. package/dist/build/p-2becd73c.entry.js +0 -2
  1078. package/dist/build/p-2becd73c.entry.js.map +0 -1
  1079. package/dist/build/p-2c2cf3cf.entry.js +0 -2
  1080. package/dist/build/p-2c2cf3cf.entry.js.map +0 -1
  1081. package/dist/build/p-2cd5062f.entry.js +0 -2
  1082. package/dist/build/p-2cd5062f.entry.js.map +0 -1
  1083. package/dist/build/p-2d3ff364.entry.js +0 -2
  1084. package/dist/build/p-2d3ff364.entry.js.map +0 -1
  1085. package/dist/build/p-30c9f5e3.entry.js +0 -2
  1086. package/dist/build/p-30c9f5e3.entry.js.map +0 -1
  1087. package/dist/build/p-35c563a7.entry.js +0 -2
  1088. package/dist/build/p-35c563a7.entry.js.map +0 -1
  1089. package/dist/build/p-3755da14.entry.js +0 -2
  1090. package/dist/build/p-3755da14.entry.js.map +0 -1
  1091. package/dist/build/p-3764eab6.entry.js +0 -2
  1092. package/dist/build/p-3764eab6.entry.js.map +0 -1
  1093. package/dist/build/p-46052ca3.entry.js +0 -2
  1094. package/dist/build/p-46052ca3.entry.js.map +0 -1
  1095. package/dist/build/p-4c30c74b.entry.js +0 -2
  1096. package/dist/build/p-4c30c74b.entry.js.map +0 -1
  1097. package/dist/build/p-576b6378.entry.js +0 -2
  1098. package/dist/build/p-5b062bc3.entry.js +0 -2
  1099. package/dist/build/p-5fa3061e.entry.js +0 -2
  1100. package/dist/build/p-5fa3061e.entry.js.map +0 -1
  1101. package/dist/build/p-606ad811.entry.js +0 -2
  1102. package/dist/build/p-639665b1.entry.js +0 -2
  1103. package/dist/build/p-639665b1.entry.js.map +0 -1
  1104. package/dist/build/p-66e3624b.js +0 -2
  1105. package/dist/build/p-66e3624b.js.map +0 -1
  1106. package/dist/build/p-699e0b35.entry.js +0 -2
  1107. package/dist/build/p-699e0b35.entry.js.map +0 -1
  1108. package/dist/build/p-6f24685c.entry.js +0 -2
  1109. package/dist/build/p-7793ba3a.entry.js +0 -2
  1110. package/dist/build/p-7793ba3a.entry.js.map +0 -1
  1111. package/dist/build/p-7bf042c9.entry.js +0 -3
  1112. package/dist/build/p-7bf042c9.entry.js.map +0 -1
  1113. package/dist/build/p-7dc32e95.entry.js +0 -2
  1114. package/dist/build/p-7dc32e95.entry.js.map +0 -1
  1115. package/dist/build/p-8426ca20.entry.js +0 -2
  1116. package/dist/build/p-8426ca20.entry.js.map +0 -1
  1117. package/dist/build/p-867c00e9.entry.js +0 -2
  1118. package/dist/build/p-867c00e9.entry.js.map +0 -1
  1119. package/dist/build/p-8af4e8e9.entry.js +0 -2
  1120. package/dist/build/p-8af4e8e9.entry.js.map +0 -1
  1121. package/dist/build/p-95dc4bd3.entry.js +0 -2
  1122. package/dist/build/p-a2b552f9.entry.js +0 -2
  1123. package/dist/build/p-a2b552f9.entry.js.map +0 -1
  1124. package/dist/build/p-af6b813e.entry.js +0 -2
  1125. package/dist/build/p-af6b813e.entry.js.map +0 -1
  1126. package/dist/build/p-b59115c3.entry.js +0 -2
  1127. package/dist/build/p-b59115c3.entry.js.map +0 -1
  1128. package/dist/build/p-bbe63029.entry.js +0 -2
  1129. package/dist/build/p-c3999d3e.entry.js +0 -2
  1130. package/dist/build/p-c3999d3e.entry.js.map +0 -1
  1131. package/dist/build/p-cb2674b5.entry.js +0 -2
  1132. package/dist/build/p-cf7bd354.entry.js +0 -2
  1133. package/dist/build/p-cf7bd354.entry.js.map +0 -1
  1134. package/dist/build/p-d0796984.entry.js +0 -2
  1135. package/dist/build/p-d0796984.entry.js.map +0 -1
  1136. package/dist/build/p-d7f2d4d3.entry.js +0 -2
  1137. package/dist/build/p-d8641c29.entry.js +0 -2
  1138. package/dist/build/p-d8641c29.entry.js.map +0 -1
  1139. package/dist/build/p-dace47c5.entry.js +0 -2
  1140. package/dist/build/p-dace47c5.entry.js.map +0 -1
  1141. package/dist/build/p-dd070ee8.entry.js +0 -2
  1142. package/dist/build/p-dd070ee8.entry.js.map +0 -1
  1143. package/dist/build/p-e4d5e7a7.js +0 -3
  1144. package/dist/build/p-e4d5e7a7.js.map +0 -1
  1145. package/dist/build/p-ec15ee73.entry.js +0 -2
  1146. package/dist/build/p-ec15ee73.entry.js.map +0 -1
  1147. package/dist/build/p-ec29eed0.entry.js +0 -2
  1148. package/dist/build/p-ec315c58.entry.js +0 -2
  1149. package/dist/build/p-ec315c58.entry.js.map +0 -1
  1150. package/dist/build/p-eebab75d.entry.js +0 -2
  1151. package/dist/build/p-eebab75d.entry.js.map +0 -1
  1152. package/dist/build/p-ef0bfa6c.entry.js +0 -2
  1153. package/dist/build/p-ef0bfa6c.entry.js.map +0 -1
  1154. package/dist/build/p-f2a896ba.entry.js +0 -2
  1155. package/dist/build/p-f2a896ba.entry.js.map +0 -1
  1156. package/dist/cjs/index-1fde8b14.js +0 -2627
  1157. package/dist/cjs/index-1fde8b14.js.map +0 -1
  1158. package/dist/cjs/object-get-by-path-7e65c82d.js +0 -115
  1159. package/dist/cjs/object-get-by-path-7e65c82d.js.map +0 -1
  1160. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-300.svg +0 -336
  1161. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-500.svg +0 -337
  1162. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-600.svg +0 -336
  1163. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-700.svg +0 -336
  1164. package/dist/collection/assets/fonts/ibm-plex-sans-v3-latin-regular.svg +0 -337
  1165. package/dist/collection/components/atoms/button/button.component.css +0 -1
  1166. package/dist/collection/components/atoms/button/button.component.js +0 -444
  1167. package/dist/collection/components/atoms/button/button.component.js.map +0 -1
  1168. package/dist/collection/components/atoms/button/test/button.component.e2e.js.map +0 -1
  1169. package/dist/collection/components/atoms/button/test/button.component.spec.js.map +0 -1
  1170. package/dist/collection/tailwind/theme/backdrop-blur.js +0 -4
  1171. package/dist/collection/tailwind/theme/backdrop-blur.js.map +0 -1
  1172. package/dist/collection/tailwind/theme/border-radius.js +0 -12
  1173. package/dist/collection/tailwind/theme/border-radius.js.map +0 -1
  1174. package/dist/components/counter.component.js +0 -37
  1175. package/dist/components/counter.component.js.map +0 -1
  1176. package/dist/esm/index-7b917f6b.js +0 -2598
  1177. package/dist/esm/index-7b917f6b.js.map +0 -1
  1178. package/dist/esm/object-get-by-path-56508a0e.js +0 -109
  1179. package/dist/esm/object-get-by-path-56508a0e.js.map +0 -1
  1180. package/dist/paperless/p-00d4647f.entry.js +0 -2
  1181. package/dist/paperless/p-00d4647f.entry.js.map +0 -1
  1182. package/dist/paperless/p-0cbff44f.entry.js +0 -2
  1183. package/dist/paperless/p-0cbff44f.entry.js.map +0 -1
  1184. package/dist/paperless/p-179efb16.entry.js +0 -2
  1185. package/dist/paperless/p-179efb16.entry.js.map +0 -1
  1186. package/dist/paperless/p-2becd73c.entry.js +0 -2
  1187. package/dist/paperless/p-2becd73c.entry.js.map +0 -1
  1188. package/dist/paperless/p-2c2cf3cf.entry.js +0 -2
  1189. package/dist/paperless/p-2c2cf3cf.entry.js.map +0 -1
  1190. package/dist/paperless/p-2cd5062f.entry.js +0 -2
  1191. package/dist/paperless/p-2cd5062f.entry.js.map +0 -1
  1192. package/dist/paperless/p-2d3ff364.entry.js +0 -2
  1193. package/dist/paperless/p-2d3ff364.entry.js.map +0 -1
  1194. package/dist/paperless/p-30c9f5e3.entry.js +0 -2
  1195. package/dist/paperless/p-30c9f5e3.entry.js.map +0 -1
  1196. package/dist/paperless/p-35c563a7.entry.js +0 -2
  1197. package/dist/paperless/p-35c563a7.entry.js.map +0 -1
  1198. package/dist/paperless/p-3755da14.entry.js +0 -2
  1199. package/dist/paperless/p-3755da14.entry.js.map +0 -1
  1200. package/dist/paperless/p-3764eab6.entry.js +0 -2
  1201. package/dist/paperless/p-3764eab6.entry.js.map +0 -1
  1202. package/dist/paperless/p-46052ca3.entry.js +0 -2
  1203. package/dist/paperless/p-46052ca3.entry.js.map +0 -1
  1204. package/dist/paperless/p-4c30c74b.entry.js +0 -2
  1205. package/dist/paperless/p-4c30c74b.entry.js.map +0 -1
  1206. package/dist/paperless/p-576b6378.entry.js +0 -2
  1207. package/dist/paperless/p-5b062bc3.entry.js +0 -2
  1208. package/dist/paperless/p-5fa3061e.entry.js +0 -2
  1209. package/dist/paperless/p-5fa3061e.entry.js.map +0 -1
  1210. package/dist/paperless/p-606ad811.entry.js +0 -2
  1211. package/dist/paperless/p-639665b1.entry.js +0 -2
  1212. package/dist/paperless/p-639665b1.entry.js.map +0 -1
  1213. package/dist/paperless/p-66e3624b.js +0 -2
  1214. package/dist/paperless/p-66e3624b.js.map +0 -1
  1215. package/dist/paperless/p-699e0b35.entry.js +0 -2
  1216. package/dist/paperless/p-699e0b35.entry.js.map +0 -1
  1217. package/dist/paperless/p-6f24685c.entry.js +0 -2
  1218. package/dist/paperless/p-7793ba3a.entry.js +0 -2
  1219. package/dist/paperless/p-7793ba3a.entry.js.map +0 -1
  1220. package/dist/paperless/p-7bf042c9.entry.js +0 -3
  1221. package/dist/paperless/p-7bf042c9.entry.js.map +0 -1
  1222. package/dist/paperless/p-7dc32e95.entry.js +0 -2
  1223. package/dist/paperless/p-7dc32e95.entry.js.map +0 -1
  1224. package/dist/paperless/p-8426ca20.entry.js +0 -2
  1225. package/dist/paperless/p-8426ca20.entry.js.map +0 -1
  1226. package/dist/paperless/p-867c00e9.entry.js +0 -2
  1227. package/dist/paperless/p-867c00e9.entry.js.map +0 -1
  1228. package/dist/paperless/p-8af4e8e9.entry.js +0 -2
  1229. package/dist/paperless/p-8af4e8e9.entry.js.map +0 -1
  1230. package/dist/paperless/p-95dc4bd3.entry.js +0 -2
  1231. package/dist/paperless/p-a2b552f9.entry.js +0 -2
  1232. package/dist/paperless/p-a2b552f9.entry.js.map +0 -1
  1233. package/dist/paperless/p-af6b813e.entry.js +0 -2
  1234. package/dist/paperless/p-af6b813e.entry.js.map +0 -1
  1235. package/dist/paperless/p-b59115c3.entry.js +0 -2
  1236. package/dist/paperless/p-b59115c3.entry.js.map +0 -1
  1237. package/dist/paperless/p-bbe63029.entry.js +0 -2
  1238. package/dist/paperless/p-c3999d3e.entry.js +0 -2
  1239. package/dist/paperless/p-c3999d3e.entry.js.map +0 -1
  1240. package/dist/paperless/p-cb2674b5.entry.js +0 -2
  1241. package/dist/paperless/p-cf7bd354.entry.js +0 -2
  1242. package/dist/paperless/p-cf7bd354.entry.js.map +0 -1
  1243. package/dist/paperless/p-d0796984.entry.js +0 -2
  1244. package/dist/paperless/p-d0796984.entry.js.map +0 -1
  1245. package/dist/paperless/p-d7f2d4d3.entry.js +0 -2
  1246. package/dist/paperless/p-d8641c29.entry.js +0 -2
  1247. package/dist/paperless/p-d8641c29.entry.js.map +0 -1
  1248. package/dist/paperless/p-dace47c5.entry.js +0 -2
  1249. package/dist/paperless/p-dace47c5.entry.js.map +0 -1
  1250. package/dist/paperless/p-dd070ee8.entry.js +0 -2
  1251. package/dist/paperless/p-dd070ee8.entry.js.map +0 -1
  1252. package/dist/paperless/p-e4d5e7a7.js +0 -3
  1253. package/dist/paperless/p-e4d5e7a7.js.map +0 -1
  1254. package/dist/paperless/p-ec15ee73.entry.js +0 -2
  1255. package/dist/paperless/p-ec15ee73.entry.js.map +0 -1
  1256. package/dist/paperless/p-ec29eed0.entry.js +0 -2
  1257. package/dist/paperless/p-ec315c58.entry.js +0 -2
  1258. package/dist/paperless/p-ec315c58.entry.js.map +0 -1
  1259. package/dist/paperless/p-eebab75d.entry.js +0 -2
  1260. package/dist/paperless/p-eebab75d.entry.js.map +0 -1
  1261. package/dist/paperless/p-ef0bfa6c.entry.js +0 -2
  1262. package/dist/paperless/p-ef0bfa6c.entry.js.map +0 -1
  1263. package/dist/paperless/p-f2a896ba.entry.js +0 -2
  1264. package/dist/paperless/p-f2a896ba.entry.js.map +0 -1
  1265. package/dist/tailwind/theme/backdrop-blur.ts +0 -3
  1266. package/dist/tailwind/theme/border-radius.ts +0 -11
  1267. package/dist/types/components/atoms/button/button.component.d.ts +0 -84
  1268. package/dist/types/tailwind/theme/backdrop-blur.d.ts +0 -4
  1269. package/dist/types/tailwind/theme/border-radius.d.ts +0 -12
  1270. /package/dist/assets/{icons → icons-old}/arrow.svg +0 -0
  1271. /package/dist/assets/{icons → icons-old}/attachment.svg +0 -0
  1272. /package/dist/assets/{icons → icons-old}/bread.svg +0 -0
  1273. /package/dist/assets/{icons → icons-old}/calendar.svg +0 -0
  1274. /package/dist/assets/{icons → icons-old}/camera.svg +0 -0
  1275. /package/dist/assets/{icons → icons-old}/car.svg +0 -0
  1276. /package/dist/assets/{icons → icons-old}/checklist.svg +0 -0
  1277. /package/dist/assets/{icons → icons-old}/checkmark.svg +0 -0
  1278. /package/dist/assets/{icons → icons-old}/chevron.svg +0 -0
  1279. /package/dist/assets/{icons → icons-old}/chevrons.svg +0 -0
  1280. /package/dist/assets/{icons → icons-old}/clock.svg +0 -0
  1281. /package/dist/assets/{icons → icons-old}/cogs.svg +0 -0
  1282. /package/dist/assets/{icons → icons-old}/colleagues.svg +0 -0
  1283. /package/dist/assets/{icons → icons-old}/comment.svg +0 -0
  1284. /package/dist/assets/{icons → icons-old}/companies.svg +0 -0
  1285. /package/dist/assets/{icons → icons-old}/company.svg +0 -0
  1286. /package/dist/assets/{icons → icons-old}/deactivate.svg +0 -0
  1287. /package/dist/assets/{icons → icons-old}/document.svg +0 -0
  1288. /package/dist/assets/{icons → icons-old}/download.svg +0 -0
  1289. /package/dist/assets/{icons → icons-old}/envelope.svg +0 -0
  1290. /package/dist/assets/{icons → icons-old}/explanation.svg +0 -0
  1291. /package/dist/assets/{icons → icons-old}/eye.svg +0 -0
  1292. /package/dist/assets/{icons → icons-old}/fa/piggy.svg +0 -0
  1293. /package/dist/assets/{icons → icons-old}/filter.svg +0 -0
  1294. /package/dist/assets/{icons → icons-old}/folder.svg +0 -0
  1295. /package/dist/assets/{icons → icons-old}/formula.svg +0 -0
  1296. /package/dist/assets/{icons → icons-old}/grid.svg +0 -0
  1297. /package/dist/assets/{icons → icons-old}/hashtag.svg +0 -0
  1298. /package/dist/assets/{icons → icons-old}/headset.svg +0 -0
  1299. /package/dist/assets/{icons → icons-old}/hidden.svg +0 -0
  1300. /package/dist/assets/{icons → icons-old}/iDeal.svg +0 -0
  1301. /package/dist/assets/{icons → icons-old}/integration.svg +0 -0
  1302. /package/dist/assets/{icons → icons-old}/list.svg +0 -0
  1303. /package/dist/assets/{icons → icons-old}/location.svg +0 -0
  1304. /package/dist/assets/{icons → icons-old}/lock.svg +0 -0
  1305. /package/dist/assets/{icons → icons-old}/megaphone.svg +0 -0
  1306. /package/dist/assets/{icons → icons-old}/menu.svg +0 -0
  1307. /package/dist/assets/{icons → icons-old}/minus.svg +0 -0
  1308. /package/dist/assets/{icons → icons-old}/more.svg +0 -0
  1309. /package/dist/assets/{icons → icons-old}/negative.svg +0 -0
  1310. /package/dist/assets/{icons → icons-old}/notification.svg +0 -0
  1311. /package/dist/assets/{icons → icons-old}/pagination.svg +0 -0
  1312. /package/dist/assets/{icons → icons-old}/payment.svg +0 -0
  1313. /package/dist/assets/{icons → icons-old}/pencil.svg +0 -0
  1314. /package/dist/assets/{icons → icons-old}/person.svg +0 -0
  1315. /package/dist/assets/{icons → icons-old}/plan.svg +0 -0
  1316. /package/dist/assets/{icons → icons-old}/plus.svg +0 -0
  1317. /package/dist/assets/{icons → icons-old}/question.svg +0 -0
  1318. /package/dist/assets/{icons → icons-old}/receipt.svg +0 -0
  1319. /package/dist/assets/{icons → icons-old}/reload.svg +0 -0
  1320. /package/dist/assets/{icons → icons-old}/report.svg +0 -0
  1321. /package/dist/assets/{icons → icons-old}/review.svg +0 -0
  1322. /package/dist/assets/{icons → icons-old}/search.svg +0 -0
  1323. /package/dist/assets/{icons → icons-old}/settings.svg +0 -0
  1324. /package/dist/assets/{icons → icons-old}/sick.svg +0 -0
  1325. /package/dist/assets/{icons → icons-old}/signout.svg +0 -0
  1326. /package/dist/assets/{icons → icons-old}/switch.svg +0 -0
  1327. /package/dist/assets/{icons → icons-old}/tachometer.svg +0 -0
  1328. /package/dist/assets/{icons → icons-old}/task.svg +0 -0
  1329. /package/dist/assets/{icons → icons-old}/template.svg +0 -0
  1330. /package/dist/assets/{icons → icons-old}/tool.svg +0 -0
  1331. /package/dist/assets/{icons → icons-old}/trash.svg +0 -0
  1332. /package/dist/assets/{icons → icons-old}/turn.svg +0 -0
  1333. /package/dist/assets/{icons → icons-old}/unlock.svg +0 -0
  1334. /package/dist/assets/{icons → icons-old}/upload.svg +0 -0
  1335. /package/dist/assets/{icons → icons-old}/warning.svg +0 -0
  1336. /package/dist/build/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
  1337. /package/dist/build/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
  1338. /package/dist/build/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
  1339. /package/dist/build/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
  1340. /package/dist/build/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
  1341. /package/dist/build/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
  1342. /package/dist/build/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
  1343. /package/dist/build/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
  1344. /package/dist/build/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
  1345. /package/dist/collection/assets/{icons → icons-old}/arrow.svg +0 -0
  1346. /package/dist/collection/assets/{icons → icons-old}/attachment.svg +0 -0
  1347. /package/dist/collection/assets/{icons → icons-old}/bread.svg +0 -0
  1348. /package/dist/collection/assets/{icons → icons-old}/calendar.svg +0 -0
  1349. /package/dist/collection/assets/{icons → icons-old}/camera.svg +0 -0
  1350. /package/dist/collection/assets/{icons → icons-old}/car.svg +0 -0
  1351. /package/dist/collection/assets/{icons → icons-old}/checklist.svg +0 -0
  1352. /package/dist/collection/assets/{icons → icons-old}/checkmark.svg +0 -0
  1353. /package/dist/collection/assets/{icons → icons-old}/chevron.svg +0 -0
  1354. /package/dist/collection/assets/{icons → icons-old}/chevrons.svg +0 -0
  1355. /package/dist/collection/assets/{icons → icons-old}/clock.svg +0 -0
  1356. /package/dist/collection/assets/{icons → icons-old}/cogs.svg +0 -0
  1357. /package/dist/collection/assets/{icons → icons-old}/colleagues.svg +0 -0
  1358. /package/dist/collection/assets/{icons → icons-old}/comment.svg +0 -0
  1359. /package/dist/collection/assets/{icons → icons-old}/companies.svg +0 -0
  1360. /package/dist/collection/assets/{icons → icons-old}/company.svg +0 -0
  1361. /package/dist/collection/assets/{icons → icons-old}/deactivate.svg +0 -0
  1362. /package/dist/collection/assets/{icons → icons-old}/document.svg +0 -0
  1363. /package/dist/collection/assets/{icons → icons-old}/download.svg +0 -0
  1364. /package/dist/collection/assets/{icons → icons-old}/envelope.svg +0 -0
  1365. /package/dist/collection/assets/{icons → icons-old}/explanation.svg +0 -0
  1366. /package/dist/collection/assets/{icons → icons-old}/eye.svg +0 -0
  1367. /package/dist/collection/assets/{icons → icons-old}/fa/piggy.svg +0 -0
  1368. /package/dist/collection/assets/{icons → icons-old}/filter.svg +0 -0
  1369. /package/dist/collection/assets/{icons → icons-old}/folder.svg +0 -0
  1370. /package/dist/collection/assets/{icons → icons-old}/formula.svg +0 -0
  1371. /package/dist/collection/assets/{icons → icons-old}/grid.svg +0 -0
  1372. /package/dist/collection/assets/{icons → icons-old}/hashtag.svg +0 -0
  1373. /package/dist/collection/assets/{icons → icons-old}/headset.svg +0 -0
  1374. /package/dist/collection/assets/{icons → icons-old}/hidden.svg +0 -0
  1375. /package/dist/collection/assets/{icons → icons-old}/iDeal.svg +0 -0
  1376. /package/dist/collection/assets/{icons → icons-old}/integration.svg +0 -0
  1377. /package/dist/collection/assets/{icons → icons-old}/list.svg +0 -0
  1378. /package/dist/collection/assets/{icons → icons-old}/location.svg +0 -0
  1379. /package/dist/collection/assets/{icons → icons-old}/lock.svg +0 -0
  1380. /package/dist/collection/assets/{icons → icons-old}/megaphone.svg +0 -0
  1381. /package/dist/collection/assets/{icons → icons-old}/menu.svg +0 -0
  1382. /package/dist/collection/assets/{icons → icons-old}/minus.svg +0 -0
  1383. /package/dist/collection/assets/{icons → icons-old}/more.svg +0 -0
  1384. /package/dist/collection/assets/{icons → icons-old}/negative.svg +0 -0
  1385. /package/dist/collection/assets/{icons → icons-old}/notification.svg +0 -0
  1386. /package/dist/collection/assets/{icons → icons-old}/pagination.svg +0 -0
  1387. /package/dist/collection/assets/{icons → icons-old}/payment.svg +0 -0
  1388. /package/dist/collection/assets/{icons → icons-old}/pencil.svg +0 -0
  1389. /package/dist/collection/assets/{icons → icons-old}/person.svg +0 -0
  1390. /package/dist/collection/assets/{icons → icons-old}/plan.svg +0 -0
  1391. /package/dist/collection/assets/{icons → icons-old}/plus.svg +0 -0
  1392. /package/dist/collection/assets/{icons → icons-old}/question.svg +0 -0
  1393. /package/dist/collection/assets/{icons → icons-old}/receipt.svg +0 -0
  1394. /package/dist/collection/assets/{icons → icons-old}/reload.svg +0 -0
  1395. /package/dist/collection/assets/{icons → icons-old}/report.svg +0 -0
  1396. /package/dist/collection/assets/{icons → icons-old}/review.svg +0 -0
  1397. /package/dist/collection/assets/{icons → icons-old}/search.svg +0 -0
  1398. /package/dist/collection/assets/{icons → icons-old}/settings.svg +0 -0
  1399. /package/dist/collection/assets/{icons → icons-old}/sick.svg +0 -0
  1400. /package/dist/collection/assets/{icons → icons-old}/signout.svg +0 -0
  1401. /package/dist/collection/assets/{icons → icons-old}/switch.svg +0 -0
  1402. /package/dist/collection/assets/{icons → icons-old}/tachometer.svg +0 -0
  1403. /package/dist/collection/assets/{icons → icons-old}/task.svg +0 -0
  1404. /package/dist/collection/assets/{icons → icons-old}/template.svg +0 -0
  1405. /package/dist/collection/assets/{icons → icons-old}/tool.svg +0 -0
  1406. /package/dist/collection/assets/{icons → icons-old}/trash.svg +0 -0
  1407. /package/dist/collection/assets/{icons → icons-old}/turn.svg +0 -0
  1408. /package/dist/collection/assets/{icons → icons-old}/unlock.svg +0 -0
  1409. /package/dist/collection/assets/{icons → icons-old}/upload.svg +0 -0
  1410. /package/dist/collection/assets/{icons → icons-old}/warning.svg +0 -0
  1411. /package/dist/collection/components/{atoms → molecules}/button/test/button.component.e2e.js +0 -0
  1412. /package/dist/collection/components/{atoms → molecules}/button/test/button.component.spec.js +0 -0
  1413. /package/dist/paperless/{p-d7f2d4d3.entry.js.map → p-013cd7f9.entry.js.map} +0 -0
  1414. /package/dist/paperless/{p-cb2674b5.entry.js.map → p-7beb3401.entry.js.map} +0 -0
  1415. /package/dist/paperless/{p-6f24685c.entry.js.map → p-9fa5d08a.entry.js.map} +0 -0
  1416. /package/dist/paperless/{p-95dc4bd3.entry.js.map → p-bc46f89a.entry.js.map} +0 -0
  1417. /package/dist/paperless/{p-ec29eed0.entry.js.map → p-be0c925e.entry.js.map} +0 -0
  1418. /package/dist/paperless/{p-576b6378.entry.js.map → p-c6bcbcbf.entry.js.map} +0 -0
  1419. /package/dist/paperless/{p-606ad811.entry.js.map → p-cb7c509e.entry.js.map} +0 -0
  1420. /package/dist/paperless/{p-5b062bc3.entry.js.map → p-dd6d3839.entry.js.map} +0 -0
  1421. /package/dist/paperless/{p-bbe63029.entry.js.map → p-ea3bce45.entry.js.map} +0 -0
@@ -1 +1 @@
1
- {"file":"p-page-size-select.p-pagination.p-pagination-item.entry.js","mappings":";;;;MAuBa,cAAc;;;;IAClB,2BAAsB,GAAiB,CAAC,IAAI,KACnD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,yBAAoB,GAAiB,CAAC,IAAI,KACjD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC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KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;GAC7D;;;;;;;;;AClJF,MAAM,0BAA0B,GAAG,s6BAAs6B;;MCO57B,cAAc;;;kBAIA,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,qBAAqB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IAC1D,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/molecules/page-size-select/page-size-select.component.tsx","src/components/molecules/pagination/pagination.component.scss?tag=p-pagination","src/components/molecules/pagination/pagination.component.tsx","src/components/atoms/pagination-item/pagination-item.component.scss?tag=p-pagination-item&encapsulation=shadow","src/components/atoms/pagination-item/pagination-item.component.tsx"],"sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n\ttag: 'p-page-size-select',\n\tshadow: true,\n})\nexport class PageSizeSelect {\n\tprivate _defaultButtonTemplate: templateFunc = (size) =>\n\t\tformatTranslation(this._locales.item, { size });\n\tprivate _defaultItemTemplate: templateFunc = (size) =>\n\t\tformatTranslation(this._locales.item, { size });\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n\t/**\n\t * The available sizes\n\t */\n\t@Prop() sizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the size changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tsizeChange: EventEmitter<number>;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() buttonSize: 'small' | 'medium' = 'small';\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hidden: boolean = false;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tplacement=\"top-start\"\n\t\t\t\t\tchevronPosition={this.chevronPosition}\n\t\t\t\t\tchevronDirection=\"down\"\n\t\t\t\t>\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant=\"secondary\"\n\t\t\t\t\t\tslot=\"trigger\"\n\t\t\t\t\t\tsize={this.buttonSize}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.buttonTemplate\n\t\t\t\t\t\t\t? this.buttonTemplate(this.size)\n\t\t\t\t\t\t\t: this._defaultButtonTemplate(this.size)}\n\t\t\t\t\t</p-button>\n\t\t\t\t\t<slot slot=\"items\">\n\t\t\t\t\t\t{this.sizeOptions.map((option) => (\n\t\t\t\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\t\t\t\tactive={option === this.size}\n\t\t\t\t\t\t\t\tonClick={() => this._changeSize(option)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.itemTemplate\n\t\t\t\t\t\t\t\t\t? this.itemTemplate(option)\n\t\t\t\t\t\t\t\t\t: this._defaultItemTemplate(option)}\n\t\t\t\t\t\t\t</p-dropdown-menu-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</slot>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _changeSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.size = s;\n\t\tthis.sizeChange.emit(this.size);\n\t}\n}\n","p-pagination {\n\t@apply flex;\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tWatch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n\ttype: string;\n\tvalue?: number | Element | JSX.Element | string;\n};\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = 12;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = false;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\tprivate _pages: number[] = [];\n\tprivate _set: PaginationSetItem[] = [];\n\n\tcomponentWillRender() {\n\t\tthis._generate();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-pagination ${\n\t\t\t\t\tthis.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this._set?.map((p) => {\n\t\t\t\t\tif (p.type === 'previous' || p.type === 'next') {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\tp.type === 'previous'\n\t\t\t\t\t\t\t\t\t\t? this._previousClick()\n\t\t\t\t\t\t\t\t\t\t: this._nextClick()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (p.type === 'ellipsis') {\n\t\t\t\t\t\treturn <p-pagination-item>...</p-pagination-item>;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\tactive={p.value === this.page}\n\t\t\t\t\t\t\tonClick={() => this._pageClick(p.value as number)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('page')\n\t@Watch('pageSize')\n\t@Watch('total')\n\tprotected pageChangeHandler() {\n\t\tthis._generate();\n\t}\n\n\tprivate _generate() {\n\t\tthis._pages = this._generatePages();\n\t\tthis._set = this._generateSet();\n\n\t\tif (this.page > this._pages?.length) {\n\t\t\tthis._changePage(this._pages.length);\n\t\t}\n\t}\n\n\tprivate _changePage(p?: number) {\n\t\tif (!p) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.page = p;\n\t\tthis.pageChange.emit(this.page);\n\t}\n\n\tprivate _previousClick() {\n\t\tconst previousPage = this.page - 1;\n\t\tif (previousPage < this._pages[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(previousPage);\n\t}\n\n\tprivate _nextClick = () => {\n\t\tconst nextPage = this.page + 1;\n\t\tif (nextPage > this._pages[this._pages.length - 1]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(nextPage);\n\t};\n\n\tprivate _pageClick = (p?: number) => this._changePage(p);\n\n\tprivate _generatePages() {\n\t\tif (!this.total || !this.pageSize) {\n\t\t\treturn [];\n\t\t}\n\n\t\tconst pages = Math.ceil(this.total / this.pageSize);\n\t\treturn new Array(pages).fill(undefined).map((_, i) => i + 1);\n\t}\n\n\tprivate _generateSet = (\n\t\trange: number = 1,\n\t\tenableBoundaries: boolean = true\n\t): PaginationSetItem[] => {\n\t\tconst totalPages = this._pages.length;\n\n\t\tif (!totalPages) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet start = this.page - range;\n\t\tlet end = this.page + range;\n\n\t\tif (end > totalPages) {\n\t\t\tend = totalPages;\n\t\t\tstart = totalPages - range * 2;\n\t\t\tstart = start < 1 ? 1 : start;\n\t\t}\n\n\t\tif (start <= 1) {\n\t\t\tstart = 1;\n\t\t\tend = Math.min(range * 2 + 1, totalPages);\n\t\t}\n\n\t\tconst set = [];\n\n\t\tconst previous = {\n\t\t\ttype: 'previous',\n\t\t\tvalue: <p-icon variant=\"chevron\" rotate={90} />,\n\t\t};\n\n\t\tconst next = {\n\t\t\ttype: 'next',\n\t\t\tvalue: <p-icon variant=\"chevron\" rotate={-90} />,\n\t\t};\n\n\t\t// Disable page range, display all the pages\n\t\tif (range === null) {\n\t\t\tconst p = this._pages.map((p) => ({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: p,\n\t\t\t}));\n\n\t\t\treturn enableBoundaries ? [previous, ...p, next] : p;\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(previous);\n\t\t}\n\n\t\tif (start <= 3) {\n\t\t\tfor (let i = 1; i < start; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: 1,\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t\tvalue: 'ellipsis',\n\t\t\t});\n\t\t}\n\n\t\tfor (let i = start; i <= end; i++) {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (end >= totalPages - 2) {\n\t\t\tfor (let i = end + 1; i <= totalPages; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[this._pages.length - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(next);\n\t\t}\n\n\t\treturn set;\n\t};\n}\n",":host {\n\t@apply h-8 w-8;\n\t@apply flex justify-center items-center;\n\t@apply font-semibold text-storm-medium text-sm;\n\t@apply rounded;\n\t@apply cursor-pointer;\n}\n\n:host(:hover),\n:host(:focus) {\n\t@apply text-storm;\n}\n\n:host(.active) {\n\t@apply text-indigo bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-pagination-item',\n\tstyleUrl: 'pagination-item.component.scss',\n\tshadow: true,\n})\nexport class PaginationItem {\n\t/**\n\t * Wether the pagination item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-pagination-item ${this.active && 'active'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-page-size-select.p-pagination.p-pagination-item.entry.js","mappings":";;;;MAuBa,cAAc;;;;IAClB,2BAAsB,GAAiB,IAAI,IAClD,iBAAiB,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,IAAI,EAAE,CAAC,CAAC;IACz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,CAAC,KAAK,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;MAClC,OAAO,EAAE,CAAC;KACV;IAED,MAAM,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,QAAQ,CAAC,CAAC;IACpD,OAAO,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;GAC7D;;;;;;;;;AClJF,MAAM,0BAA0B,GAAG,k7BAAk7B;;MCOx8B,cAAc;;;kBAIA,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAE,qBAAqB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,IAC1D,eAAQ,CACF,EACN;GACF;;;;;;","names":[],"sources":["src/components/molecules/page-size-select/page-size-select.component.tsx","src/components/molecules/pagination/pagination.component.scss?tag=p-pagination","src/components/molecules/pagination/pagination.component.tsx","src/components/atoms/pagination-item/pagination-item.component.scss?tag=p-pagination-item&encapsulation=shadow","src/components/atoms/pagination-item/pagination-item.component.tsx"],"sourcesContent":["import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport {\n\tformatTranslation,\n\tgetLocaleComponentStrings,\n} from '../../../utils/localization';\nimport { defaultSize, defaultSizeOptions } from './constants';\n\nexport type templateFunc = (value: number) => string;\n\n@Component({\n\ttag: 'p-page-size-select',\n\tshadow: true,\n})\nexport class PageSizeSelect {\n\tprivate _defaultButtonTemplate: templateFunc = size =>\n\t\tformatTranslation(this._locales.item, { size });\n\tprivate _defaultItemTemplate: templateFunc = size =>\n\t\tformatTranslation(this._locales.item, { size });\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) size: number = defaultSize;\n\n\t/**\n\t * The available sizes\n\t */\n\t@Prop() sizeOptions: number[] = defaultSizeOptions;\n\n\t/**\n\t * Event whenever the size changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tsizeChange: EventEmitter<number>;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'start';\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() buttonSize: 'sm' | 'base' = 'sm';\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() buttonTemplate: templateFunc = this._defaultButtonTemplate;\n\n\t/**\n\t * The template for the data view\n\t */\n\t@Prop() itemTemplate: templateFunc = this._defaultItemTemplate;\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hidden: boolean = false;\n\n\t/**\n\t * Locales used for this component\n\t */\n\t@State() private _locales: any = {};\n\n\tcomponentWillLoad() {\n\t\tthis._setLocales();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-page-size-select ${this.hidden && 'hidden'}`}>\n\t\t\t\t<p-dropdown\n\t\t\t\t\tplacement='top-start'\n\t\t\t\t\tchevronPosition={this.chevronPosition}\n\t\t\t\t\tchevronDirection='down'\n\t\t\t\t>\n\t\t\t\t\t<p-button\n\t\t\t\t\t\tvariant='secondary'\n\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\tsize={this.buttonSize}\n\t\t\t\t\t>\n\t\t\t\t\t\t{this.buttonTemplate\n\t\t\t\t\t\t\t? this.buttonTemplate(this.size)\n\t\t\t\t\t\t\t: this._defaultButtonTemplate(this.size)}\n\t\t\t\t\t</p-button>\n\t\t\t\t\t<slot slot='items'>\n\t\t\t\t\t\t{this.sizeOptions.map(option => (\n\t\t\t\t\t\t\t<p-dropdown-menu-item\n\t\t\t\t\t\t\t\tactive={option === this.size}\n\t\t\t\t\t\t\t\tonClick={() => this._changeSize(option)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{this.itemTemplate\n\t\t\t\t\t\t\t\t\t? this.itemTemplate(option)\n\t\t\t\t\t\t\t\t\t: this._defaultItemTemplate(option)}\n\t\t\t\t\t\t\t</p-dropdown-menu-item>\n\t\t\t\t\t\t))}\n\t\t\t\t\t</slot>\n\t\t\t\t</p-dropdown>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('localeChanged', { target: 'body' })\n\tprivate async _setLocales(): Promise<void> {\n\t\tthis._locales = await getLocaleComponentStrings(this._el);\n\t}\n\n\tprivate _changeSize(s?: number) {\n\t\tif (!s) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.size = s;\n\t\tthis.sizeChange.emit(this.size);\n\t}\n}\n","p-pagination {\n\t@apply flex;\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tWatch,\n} from '@stencil/core';\n\ntype PaginationSetItem = {\n\ttype: string;\n\tvalue?: number | Element | JSX.Element | string;\n};\n\n@Component({\n\ttag: 'p-pagination',\n\tstyleUrl: 'pagination.component.scss',\n})\nexport class Pagination {\n\t/**\n\t * The current page\n\t */\n\t@Prop({ mutable: true, reflect: true }) page: number = 1;\n\n\t/**\n\t * Event whenever the page changes\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tpageChange: EventEmitter<number>;\n\n\t/**\n\t * The amount of items per page\n\t */\n\t@Prop() pageSize: number = 12;\n\n\t/**\n\t * Wether to hide when there is only 1 page available\n\t */\n\t@Prop() hideOnSinglePage: boolean = false;\n\n\t/**\n\t * The total amount of items\n\t */\n\t@Prop() total!: number;\n\n\tprivate _pages: number[] = [];\n\tprivate _set: PaginationSetItem[] = [];\n\n\tcomponentWillRender() {\n\t\tthis._generate();\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-pagination ${\n\t\t\t\t\tthis.hideOnSinglePage && this._set?.length === 3 && 'hidden'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this._set?.map(p => {\n\t\t\t\t\tif (p.type === 'previous' || p.type === 'next') {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\t\tonClick={() =>\n\t\t\t\t\t\t\t\t\tp.type === 'previous'\n\t\t\t\t\t\t\t\t\t\t? this._previousClick()\n\t\t\t\t\t\t\t\t\t\t: this._nextClick()\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\tif (p.type === 'ellipsis') {\n\t\t\t\t\t\treturn <p-pagination-item>...</p-pagination-item>;\n\t\t\t\t\t}\n\n\t\t\t\t\treturn (\n\t\t\t\t\t\t<p-pagination-item\n\t\t\t\t\t\t\tactive={p.value === this.page}\n\t\t\t\t\t\t\tonClick={() => this._pageClick(p.value as number)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{p.value}\n\t\t\t\t\t\t</p-pagination-item>\n\t\t\t\t\t);\n\t\t\t\t})}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Watch('page')\n\t@Watch('pageSize')\n\t@Watch('total')\n\tprotected pageChangeHandler() {\n\t\tthis._generate();\n\t}\n\n\tprivate _generate() {\n\t\tthis._pages = this._generatePages();\n\t\tthis._set = this._generateSet();\n\n\t\tif (this.page > this._pages?.length) {\n\t\t\tthis._changePage(this._pages.length);\n\t\t}\n\t}\n\n\tprivate _changePage(p?: number) {\n\t\tif (!p) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis.page = p;\n\t\tthis.pageChange.emit(this.page);\n\t}\n\n\tprivate _previousClick() {\n\t\tconst previousPage = this.page - 1;\n\t\tif (previousPage < this._pages[0]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(previousPage);\n\t}\n\n\tprivate _nextClick = () => {\n\t\tconst nextPage = this.page + 1;\n\t\tif (nextPage > this._pages[this._pages.length - 1]) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._changePage(nextPage);\n\t};\n\n\tprivate _pageClick = (p?: number) => this._changePage(p);\n\n\tprivate _generatePages() {\n\t\tif (!this.total || !this.pageSize) {\n\t\t\treturn [];\n\t\t}\n\n\t\tconst pages = Math.ceil(this.total / this.pageSize);\n\t\treturn new Array(pages).fill(undefined).map((_, i) => i + 1);\n\t}\n\n\tprivate _generateSet = (\n\t\trange: number = 1,\n\t\tenableBoundaries: boolean = true\n\t): PaginationSetItem[] => {\n\t\tconst totalPages = this._pages.length;\n\n\t\tif (!totalPages) {\n\t\t\treturn [];\n\t\t}\n\n\t\tlet start = this.page - range;\n\t\tlet end = this.page + range;\n\n\t\tif (end > totalPages) {\n\t\t\tend = totalPages;\n\t\t\tstart = totalPages - range * 2;\n\t\t\tstart = start < 1 ? 1 : start;\n\t\t}\n\n\t\tif (start <= 1) {\n\t\t\tstart = 1;\n\t\t\tend = Math.min(range * 2 + 1, totalPages);\n\t\t}\n\n\t\tconst set = [];\n\n\t\tconst previous = {\n\t\t\ttype: 'previous',\n\t\t\tvalue: (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='caret'\n\t\t\t\t\trotate={90}\n\t\t\t\t/>\n\t\t\t),\n\t\t};\n\n\t\tconst next = {\n\t\t\ttype: 'next',\n\t\t\tvalue: (\n\t\t\t\t<p-icon\n\t\t\t\t\tvariant='caret'\n\t\t\t\t\trotate={-90}\n\t\t\t\t/>\n\t\t\t),\n\t\t};\n\n\t\t// Disable page range, display all the pages\n\t\tif (range === null) {\n\t\t\tconst p = this._pages.map(p => ({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: p,\n\t\t\t}));\n\n\t\t\treturn enableBoundaries ? [previous, ...p, next] : p;\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(previous);\n\t\t}\n\n\t\tif (start <= 3) {\n\t\t\tfor (let i = 1; i < start; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: 1,\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t\tvalue: 'ellipsis',\n\t\t\t});\n\t\t}\n\n\t\tfor (let i = start; i <= end; i++) {\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (end >= totalPages - 2) {\n\t\t\tfor (let i = end + 1; i <= totalPages; i++) {\n\t\t\t\tset.push({\n\t\t\t\t\ttype: 'page',\n\t\t\t\t\tvalue: this._pages[i - 1],\n\t\t\t\t});\n\t\t\t}\n\t\t} else {\n\t\t\tset.push({\n\t\t\t\ttype: 'ellipsis',\n\t\t\t});\n\n\t\t\tset.push({\n\t\t\t\ttype: 'page',\n\t\t\t\tvalue: this._pages[this._pages.length - 1],\n\t\t\t});\n\t\t}\n\n\t\tif (enableBoundaries) {\n\t\t\tset.push(next);\n\t\t}\n\n\t\treturn set;\n\t};\n}\n",":host {\n\t@apply h-8 w-8;\n\t@apply flex justify-center items-center;\n\t@apply font-semibold text-storm-medium text-sm;\n\t@apply rounded;\n\t@apply cursor-pointer;\n}\n\n:host(:hover),\n:host(:focus) {\n\t@apply text-storm;\n}\n\n:host(.active) {\n\t@apply text-indigo bg-indigo-light;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-pagination-item',\n\tstyleUrl: 'pagination-item.component.scss',\n\tshadow: true,\n})\nexport class PaginationItem {\n\t/**\n\t * Wether the pagination item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-pagination-item ${this.active && 'active'}`}>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,36 +1,54 @@
1
- import { r as registerInstance, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host, g as getElement } from './index-f99096d4.js';
2
+ import { c as cva } from './index-10317a74.js';
3
+ import './clsx-297c1ffe.js';
2
4
 
3
- const profileComponentCss = ".flex{display:flex!important}.table{display:table!important}.h-\\[3\\.125rem\\]{height:3.125rem!important}.h-\\[4\\.125rem\\]{height:4.125rem!important}.h-\\[6\\.5rem\\]{height:6.5rem!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.gap-3{gap:.75rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.p-2{padding:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}:host{display:flex}:host .content{align-items:center;display:flex;gap:.75rem;width:100%}:host .content .name{display:flex;flex-direction:column;justify-content:center;overflow:hidden}:host .content .name>:first-child{--tw-text-opacity:1;color:rgb(39 40 56/var(--tw-text-opacity));font-size:.875rem;font-weight:600;line-height:1.25rem}:host .content .name>:nth-child(2){--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem}:host .content .name ::slotted(*){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([size=xsmall]){height:1.5rem}:host([size=small]){height:2rem}:host([size=table]){height:2.5rem}:host([size=medium]){height:3.125rem}:host([size=large]){height:4rem}:host([size=xlarge]){height:6.5rem}:host(.has-dropdown){cursor:pointer}:host(.has-dropdown) .content{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.25rem;border-style:solid!important;border-width:1px!important;padding:.5rem}:host(.has-dropdown[size=small]){height:3rem}:host(.has-dropdown[size=medium]){height:4.125rem}:host(.has-dropdown[size=large]){height:5rem}:host(.active) .content,:host(.has-dropdown:hover) .content{--tw-shadow:0px 0.3125rem 1rem rgba(0,24,98,.08),0px 0.0625rem 0.1875rem rgba(0,24,98,.13);--tw-shadow-colored:0px 0.3125rem 1rem var(--tw-shadow-color),0px 0.0625rem 0.1875rem var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.active) .content p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}.static{position:static!important}.absolute{position:absolute!important}.ml-auto{margin-left:auto!important}.w-full{width:100%!important}.min-w-0{min-width:0!important}";
5
+ const profileComponentCss = "*{box-sizing:border-box}.static{position:static!important}.absolute{position:absolute!important}.block{display:block!important}.inline-block{display:inline-block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.w-full{width:100%!important}.w-inherit{width:inherit!important}.min-w-0{min-width:0!important}.flex-1{flex:1 1 0%!important}.flex-col{flex-direction:column!important}.items-start{align-items:flex-start!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-medium{font-weight:500!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}";
4
6
 
7
+ const profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {
8
+ variants: {
9
+ dropdown: {
10
+ false: 'h-10 py-1',
11
+ true: null,
12
+ },
13
+ },
14
+ });
5
15
  const Profile = class {
6
16
  constructor(hostRef) {
7
17
  registerInstance(this, hostRef);
8
- this.variant = 'user';
9
- this.size = 'small';
18
+ this.dropdownLocation = 'bottom-end';
10
19
  this._dropdownOpen = false;
20
+ this._hasDropdownSlot = false;
21
+ }
22
+ componentWillLoad() {
23
+ this._checkDropdownSlot();
11
24
  }
12
25
  componentWillRender() {
13
26
  this._updateAvatar();
14
27
  }
15
28
  render() {
16
- const hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
17
- const content = this._getContent(hasDropdownSlot);
18
- return (h(Host, { class: `p-profile ${hasDropdownSlot && 'has-dropdown'} ${this._dropdownOpen && 'active'}` }, hasDropdownSlot ? (h("p-dropdown", { class: "w-full min-w-0", strategy: "absolute", placement: this.variant === 'user' ? 'top-end' : 'bottom-end', applyFullWidth: true, applyMaxWidth: false, onIsOpen: (ev) => (this._dropdownOpen = ev.detail) }, content, h("div", { slot: "items" }, h("slot", { name: "dropdown" })))) : (content)));
29
+ const content = this._getContent();
30
+ return (h(Host, { class: 'p-profile inline-block w-inherit' }, this._hasDropdownSlot ? (h("p-dropdown", { class: 'block', strategy: 'absolute', placement: this.dropdownLocation, applyFullWidth: true, applyMaxWidth: false, onIsOpen: ev => (this._dropdownOpen = ev.detail) }, h("p-button", { variant: 'dropdown', chevron: this._dropdownOpen ? 'up' : 'down', active: this._dropdownOpen, slot: 'trigger', size: 'lg', class: 'w-full' }, content), h("div", { slot: 'items' }, h("slot", { name: 'dropdown', onSlotchange: () => this._checkDropdownSlot() })))) : (content)));
31
+ }
32
+ slotchange() {
33
+ this._checkDropdownSlot();
19
34
  }
20
- _getContent(hasDropdownSlot) {
21
- return (h("div", { class: "content", slot: "trigger" }, h("slot", { name: "avatar" }), h("div", { class: "name" }, h("slot", { name: "title" }), h("slot", { name: "subtitle" })), hasDropdownSlot && this._getIcon()));
35
+ _checkDropdownSlot() {
36
+ this._hasDropdownSlot = !!this._el.querySelector(':scope > [slot="dropdown"]');
37
+ if (!this._hasDropdownSlot && this._dropdownOpen) {
38
+ this._dropdownOpen = false;
39
+ }
40
+ }
41
+ _getContent() {
42
+ return (h("div", { class: profileContent({
43
+ dropdown: this._hasDropdownSlot,
44
+ }) }, h("slot", { name: 'avatar' }), h("div", { class: 'flex min-w-0 flex-1 flex-col items-start' }, h("p", { class: 'w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium' }, h("slot", { name: 'title' })), h("p", { class: 'w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300' }, h("slot", { name: 'subtitle' }))), h("slot", { name: 'post-title' })));
22
45
  }
23
46
  _updateAvatar() {
24
- var _a, _b;
25
47
  const avatar = this._el.querySelector('p-avatar[slot="avatar"]');
26
48
  if (!avatar) {
27
49
  return;
28
50
  }
29
- avatar.variant = (_a = this.variant) !== null && _a !== void 0 ? _a : avatar.variant;
30
- avatar.size = (_b = this.size) !== null && _b !== void 0 ? _b : avatar === null || avatar === void 0 ? void 0 : avatar.size;
31
- }
32
- _getIcon() {
33
- return (h("p-icon", { class: "ml-auto", variant: this.variant === 'company' ? 'chevron' : 'more' }));
51
+ avatar.size = this._hasDropdownSlot ? 'sm' : avatar.size;
34
52
  }
35
53
  get _el() { return getElement(this); }
36
54
  };
@@ -1 +1 @@
1
- {"file":"p-profile.entry.js","mappings":";;AAAA,MAAM,mBAAmB,GAAG,+hFAA+hF;;MCO9iF,OAAO;;;mBAImB,MAAM;gBAW9B,OAAO;yBAOY,KAAK;;EAEtC,mBAAmB;IAClB,IAAI,CAAC,aAAa,EAAE,CAAC;GACrB;EAED,MAAM;IACL,MAAM,eAAe,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC/C,4BAA4B,CAC5B,CAAC;IACF,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,CAAC;IAClD,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,aAAa,eAAe,IAAI,cAAc,IACpD,IAAI,CAAC,aAAa,IAAI,QACvB,EAAE,IAED,eAAe,IACf,kBACC,KAAK,EAAC,gBAAgB,EACtB,QAAQ,EAAC,UAAU,EACnB,SAAS,EACR,IAAI,CAAC,OAAO,KAAK,MAAM,GAAG,SAAS,GAAG,YAAY,EAEnD,cAAc,EAAE,IAAI,EACpB,aAAa,EAAE,KAAK,EACpB,QAAQ,EAAE,CAAC,EAAE,MAAM,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,MAAM,CAAC,IAEjD,OAAO,EACR,WAAK,IAAI,EAAC,OAAO,IAChB,YAAM,IAAI,EAAC,UAAU,GAAG,CACnB,CACM,KAEb,OAAO,CACP,CACK,EACN;GACF;EAEO,WAAW,CAAC,eAAe;IAClC,QACC,WAAK,KAAK,EAAC,SAAS,EAAC,IAAI,EAAC,SAAS,IAClC,YAAM,IAAI,EAAC,QAAQ,GAAG,EACtB,WAAK,KAAK,EAAC,MAAM,IAChB,YAAM,IAAI,EAAC,OAAO,GAAG,EACrB,YAAM,IAAI,EAAC,UAAU,GAAG,CACnB,EAEL,eAAe,IAAI,IAAI,CAAC,QAAQ,EAAE,CAC9B,EACL;GACF;EAEO,aAAa;;IACpB,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CACpC,yBAAyB,CACH,CAAC;IAExB,IAAI,CAAC,MAAM,EAAE;MACZ,OAAO;KACP;IAED,MAAM,CAAC,OAAO,GAAG,MAAA,IAAI,CAAC,OAAO,mCAAI,MAAM,CAAC,OAAO,CAAC;IAChD,MAAM,CAAC,IAAI,GAAG,MAAA,IAAI,CAAC,IAAI,mCAAI,MAAM,aAAN,MAAM,uBAAN,MAAM,CAAE,IAAI,CAAC;GACxC;EAEO,QAAQ;IACf,QACC,cACC,KAAK,EAAC,SAAS,EACf,OAAO,EAAE,IAAI,CAAC,OAAO,KAAK,SAAS,GAAG,SAAS,GAAG,MAAM,GACvD,EACD;GACF;;;;;;;","names":[],"sources":["src/components/molecules/profile/profile.component.scss?tag=p-profile&encapsulation=shadow","src/components/molecules/profile/profile.component.tsx"],"sourcesContent":[":host {\n\t@apply flex;\n\n\t.content {\n\t\t@apply flex gap-3 items-center w-full;\n\n\t\t.name {\n\t\t\t@apply flex flex-col justify-center overflow-hidden;\n\n\t\t\t> *:nth-child(1) {\n\t\t\t\t@apply text-sm text-storm-dark;\n\t\t\t\t@apply font-semibold;\n\t\t\t}\n\n\t\t\t> *:nth-child(2) {\n\t\t\t\t@apply text-sm text-storm-vague;\n\t\t\t}\n\n\t\t\t::slotted(*) {\n\t\t\t\t@apply text-ellipsis overflow-hidden whitespace-nowrap;\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host([size='xsmall']) {\n\t@apply h-6;\n}\n\n:host([size='small']) {\n\t@apply h-8;\n}\n\n:host([size='table']) {\n\t@apply h-10;\n}\n\n:host([size='medium']) {\n\t@apply h-[3.125rem];\n}\n\n:host([size='large']) {\n\t@apply h-16;\n}\n\n:host([size='xlarge']) {\n\t@apply h-[6.5rem];\n}\n\n:host(.has-dropdown) {\n\t@apply cursor-pointer;\n\n\t.content {\n\t\t@apply p-2 rounded;\n\t\t@apply border border-solid border-mystic-dark #{!important};\n\t}\n}\n\n:host(.has-dropdown[size='small']) {\n\t@apply h-12;\n}\n\n:host(.has-dropdown[size='medium']) {\n\t@apply h-[4.125rem];\n}\n\n:host(.has-dropdown[size='large']) {\n\t@apply h-20;\n}\n\n:host(.has-dropdown:hover),\n:host(.active) {\n\t.content {\n\t\t@apply shadow-4;\n\t}\n}\n\n:host(.active) {\n\t.content {\n\t\tp-icon {\n\t\t\t@apply text-indigo;\n\t\t}\n\t}\n}\n","import { Component, Element, h, Host, Prop, State } from '@stencil/core';\n\n@Component({\n\ttag: 'p-profile',\n\tstyleUrl: 'profile.component.scss',\n\tshadow: true,\n})\nexport class Profile {\n\t/**\n\t * The variant of the profile\n\t */\n\t@Prop() variant: 'company' | 'user' = 'user';\n\n\t/**\n\t * The size of the profile avatar\n\t */\n\t@Prop({ reflect: true }) size:\n\t\t| 'xsmall'\n\t\t| 'small'\n | 'table'\n\t\t| 'medium'\n\t\t| 'large'\n\t\t| 'xlarge' = 'small';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _dropdownOpen = false;\n\n\tcomponentWillRender() {\n\t\tthis._updateAvatar();\n\t}\n\n\trender() {\n\t\tconst hasDropdownSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"dropdown\"]'\n\t\t);\n\t\tconst content = this._getContent(hasDropdownSlot);\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-profile ${hasDropdownSlot && 'has-dropdown'} ${\n\t\t\t\t\tthis._dropdownOpen && 'active'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{hasDropdownSlot ? (\n\t\t\t\t\t<p-dropdown\n\t\t\t\t\t\tclass=\"w-full min-w-0\"\n\t\t\t\t\t\tstrategy=\"absolute\"\n\t\t\t\t\t\tplacement={\n\t\t\t\t\t\t\tthis.variant === 'user' ? 'top-end' : 'bottom-end'\n\t\t\t\t\t\t}\n\t\t\t\t\t\tapplyFullWidth={true}\n\t\t\t\t\t\tapplyMaxWidth={false}\n\t\t\t\t\t\tonIsOpen={(ev) => (this._dropdownOpen = ev.detail)}\n\t\t\t\t\t>\n\t\t\t\t\t\t{content}\n\t\t\t\t\t\t<div slot=\"items\">\n\t\t\t\t\t\t\t<slot name=\"dropdown\" />\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</p-dropdown>\n\t\t\t\t) : (\n\t\t\t\t\tcontent\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getContent(hasDropdownSlot) {\n\t\treturn (\n\t\t\t<div class=\"content\" slot=\"trigger\">\n\t\t\t\t<slot name=\"avatar\" />\n\t\t\t\t<div class=\"name\">\n\t\t\t\t\t<slot name=\"title\" />\n\t\t\t\t\t<slot name=\"subtitle\" />\n\t\t\t\t</div>\n\n\t\t\t\t{hasDropdownSlot && this._getIcon()}\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _updateAvatar() {\n\t\tconst avatar = this._el.querySelector(\n\t\t\t'p-avatar[slot=\"avatar\"]'\n\t\t) as HTMLPAvatarElement;\n\n\t\tif (!avatar) {\n\t\t\treturn;\n\t\t}\n\n\t\tavatar.variant = this.variant ?? avatar.variant;\n\t\tavatar.size = this.size ?? avatar?.size;\n\t}\n\n\tprivate _getIcon() {\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tclass=\"ml-auto\"\n\t\t\t\tvariant={this.variant === 'company' ? 'chevron' : 'more'}\n\t\t\t/>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-profile.entry.js","mappings":";;;;AAAA,MAAM,mBAAmB,GAAG,w+BAAw+B;;ACWpgC,MAAM,cAAc,GAAG,GAAG,CAAC,CAAC,wCAAwC,CAAC,EAAE;EACtE,QAAQ,EAAE;IACT,QAAQ,EAAE;MACT,KAAK,EAAE,WAAW;MAClB,IAAI,EAAE,IAAI;KACV;GACD;CACD,CAAC,CAAC;MAMU,OAAO;;;4BAIkC,YAAY;yBAOhC,KAAK;4BACF,KAAK;;EAEzC,iBAAiB;IAChB,IAAI,CAAC,kBAAkB,EAAE,CAAC;GAC1B;EAED,mBAAmB;IAClB,IAAI,CAAC,aAAa,EAAE,CAAC;GACrB;EAED,MAAM;IACL,MAAM,OAAO,GAAG,IAAI,CAAC,WAAW,EAAE,CAAC;IACnC,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,kCAAkC,IAC5C,IAAI,CAAC,gBAAgB,IACrB,kBACC,KAAK,EAAC,OAAO,EACb,QAAQ,EAAC,UAAU,EACnB,SAAS,EAAE,IAAI,CAAC,gBAAgB,EAChC,cAAc,EAAE,IAAI,EACpB,aAAa,EAAE,KAAK,EACpB,QAAQ,EAAE,EAAE,KAAK,IAAI,CAAC,aAAa,GAAG,EAAE,CAAC,MAAM,CAAC,IAEhD,gBACC,OAAO,EAAC,UAAU,EAClB,OAAO,EAAE,IAAI,CAAC,aAAa,GAAG,IAAI,GAAG,MAAM,EAC3C,MAAM,EAAE,IAAI,CAAC,aAAa,EAC1B,IAAI,EAAC,SAAS,EACd,IAAI,EAAC,IAAI,EACT,KAAK,EAAC,QAAQ,IAEb,OAAO,CACE,EACX,WAAK,IAAI,EAAC,OAAO,IAChB,YACC,IAAI,EAAC,UAAU,EACf,YAAY,EAAE,MAAM,IAAI,CAAC,kBAAkB,EAAE,GAC5C,CACG,CACM,KAEb,OAAO,CACP,CACK,EACN;GACF;EAGD,UAAU;IACT,IAAI,CAAC,kBAAkB,EAAE,CAAC;GAC1B;EAEO,kBAAkB;IACzB,IAAI,CAAC,gBAAgB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,aAAa,CAC/C,4BAA4B,CAC5B,CAAC;IAEF,IAAI,CAAC,IAAI,CAAC,gBAAgB,IAAI,IAAI,CAAC,aAAa,EAAE;MACjD,IAAI,CAAC,aAAa,GAAG,KAAK,CAAC;KAC3B;GACD;EAEO,WAAW;IAClB,QACC,WACC,KAAK,EAAE,cAAc,CAAC;QACrB,QAAQ,EAAE,IAAI,CAAC,gBAAgB;OAC/B,CAAC,IAEF,YAAM,IAAI,EAAC,QAAQ,GAAG,EACtB,WAAK,KAAK,EAAC,0CAA0C,IACpD,SAAG,KAAK,EAAC,4EAA4E,IACpF,YAAM,IAAI,EAAC,OAAO,GAAG,CAClB,EACJ,SAAG,KAAK,EAAC,oFAAoF,IAC5F,YAAM,IAAI,EAAC,UAAU,GAAG,CACrB,CACC,EAEN,YAAM,IAAI,EAAC,YAAY,GAAG,CACrB,EACL;GACF;EAEO,aAAa;IACpB,MAAM,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,aAAa,CACpC,yBAAyB,CACH,CAAC;IAExB,IAAI,CAAC,MAAM,EAAE;MACZ,OAAO;KACP;IAED,MAAM,CAAC,IAAI,GAAG,IAAI,CAAC,gBAAgB,GAAG,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;GACzD;;;;;;;","names":[],"sources":["src/components/molecules/profile/profile.component.scss?tag=p-profile","src/components/molecules/profile/profile.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tElement,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tState,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\n\nconst profileContent = cva(['flex gap-2 items-center flex-1 min-w-0'], {\n\tvariants: {\n\t\tdropdown: {\n\t\t\tfalse: 'h-10 py-1',\n\t\t\ttrue: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-profile',\n\tstyleUrl: 'profile.component.scss',\n})\nexport class Profile {\n\t/**\n\t * The position of the dropdown\n\t */\n\t@Prop() dropdownLocation: 'top-end' | 'bottom-end' = 'bottom-end';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t@State() private _dropdownOpen = false;\n\t@State() private _hasDropdownSlot = false;\n\n\tcomponentWillLoad() {\n\t\tthis._checkDropdownSlot();\n\t}\n\n\tcomponentWillRender() {\n\t\tthis._updateAvatar();\n\t}\n\n\trender() {\n\t\tconst content = this._getContent();\n\t\treturn (\n\t\t\t<Host class='p-profile inline-block w-inherit'>\n\t\t\t\t{this._hasDropdownSlot ? (\n\t\t\t\t\t<p-dropdown\n\t\t\t\t\t\tclass='block'\n\t\t\t\t\t\tstrategy='absolute'\n\t\t\t\t\t\tplacement={this.dropdownLocation}\n\t\t\t\t\t\tapplyFullWidth={true}\n\t\t\t\t\t\tapplyMaxWidth={false}\n\t\t\t\t\t\tonIsOpen={ev => (this._dropdownOpen = ev.detail)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-button\n\t\t\t\t\t\t\tvariant='dropdown'\n\t\t\t\t\t\t\tchevron={this._dropdownOpen ? 'up' : 'down'}\n\t\t\t\t\t\t\tactive={this._dropdownOpen}\n\t\t\t\t\t\t\tslot='trigger'\n\t\t\t\t\t\t\tsize='lg'\n\t\t\t\t\t\t\tclass='w-full'\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{content}\n\t\t\t\t\t\t</p-button>\n\t\t\t\t\t\t<div slot='items'>\n\t\t\t\t\t\t\t<slot\n\t\t\t\t\t\t\t\tname='dropdown'\n\t\t\t\t\t\t\t\tonSlotchange={() => this._checkDropdownSlot()}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</p-dropdown>\n\t\t\t\t) : (\n\t\t\t\t\tcontent\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('slotchange')\n\tslotchange() {\n\t\tthis._checkDropdownSlot();\n\t}\n\n\tprivate _checkDropdownSlot() {\n\t\tthis._hasDropdownSlot = !!this._el.querySelector(\n\t\t\t':scope > [slot=\"dropdown\"]'\n\t\t);\n\n\t\tif (!this._hasDropdownSlot && this._dropdownOpen) {\n\t\t\tthis._dropdownOpen = false;\n\t\t}\n\t}\n\n\tprivate _getContent() {\n\t\treturn (\n\t\t\t<div\n\t\t\t\tclass={profileContent({\n\t\t\t\t\tdropdown: this._hasDropdownSlot,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t<slot name='avatar' />\n\t\t\t\t<div class='flex min-w-0 flex-1 flex-col items-start'>\n\t\t\t\t\t<p class='w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm font-medium'>\n\t\t\t\t\t\t<slot name='title' />\n\t\t\t\t\t</p>\n\t\t\t\t\t<p class='w-full overflow-hidden text-ellipsis whitespace-nowrap text-xs text-black-teal-300'>\n\t\t\t\t\t\t<slot name='subtitle' />\n\t\t\t\t\t</p>\n\t\t\t\t</div>\n\n\t\t\t\t<slot name='post-title' />\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _updateAvatar() {\n\t\tconst avatar = this._el.querySelector(\n\t\t\t'p-avatar[slot=\"avatar\"]'\n\t\t) as HTMLPAvatarElement;\n\n\t\tif (!avatar) {\n\t\t\treturn;\n\t\t}\n\n\t\tavatar.size = this._hasDropdownSlot ? 'sm' : avatar.size;\n\t}\n}\n"],"version":3}
@@ -1,7 +1,7 @@
1
- import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-7b917f6b.js';
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-f99096d4.js';
2
2
  import { c as childOf } from './child-of-fec6ab3a.js';
3
3
 
4
- const selectComponentCss = ".pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.block{display:block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-8{height:2rem!important}.h-\\[1\\.625rem\\]{height:1.625rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.border-b{border-bottom-width:1px!important}.border-l{border-left-width:1px!important}.border-r{border-right-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity))!important}.bg-indigo-light{background-color:rgb(241 246 255/var(--tw-bg-opacity))!important}.bg-indigo-light,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity))!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}*{box-sizing:border-box}p-select{display:flex;flex-direction:column;position:relative;text-overflow:ellipsis;width:100%}p-select .p-input{--tw-text-opacity:1;--tw-bg-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-color:rgb(218 230 240/var(--tw-border-opacity))!important;border-radius:.375rem;border-style:solid!important;border-width:1px;color:rgb(39 40 56/var(--tw-text-opacity));display:flex;font-size:1rem;font-weight:600;height:2.5rem;justify-content:flex-start;line-height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;padding-left:1rem;padding-right:1rem;width:100%!important}p-select .p-input::-moz-placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}p-select .p-input::placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:1rem;line-height:1.5rem}p-select .p-input.active,p-select .p-input.focus,p-select .p-input:focus,p-select .p-input:focus-visible,p-select .p-input:focus-within,p-select .p-input[active]{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity))!important;outline:2px solid transparent!important;outline-offset:2px!important}p-select .p-input.size-small{font-size:.875rem;font-weight:500;height:2rem!important;line-height:1.25rem}p-select .p-input.size-small::-moz-placeholder{font-size:.875rem;line-height:1.25rem}p-select .p-input.size-small::placeholder{font-size:.875rem;line-height:1.25rem}p-select .text-container{display:block;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;width:100%}p-select .multi-container{align-items:center;bottom:0;display:flex;gap:.5rem;height:2.5rem;left:0;overflow:hidden;padding:1rem .5rem;pointer-events:none;position:absolute;width:100%}p-select .multi-container.size-small{height:2rem;padding:.5rem .25rem}p-select .multi-container .item{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 246 255/var(--tw-bg-opacity));border-radius:.25rem;color:rgb(44 75 169/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:1.625rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;pointer-events:auto;white-space:nowrap}p-select .multi-container .item p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity));font-size:.75rem;line-height:1rem}p-select .multi-container .extra{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;pointer-events:none}.static{position:static!important}.sticky{position:sticky!important}.top-0{top:0!important}.top-2{top:.5rem!important}.-mt-2{margin-top:-.5rem!important}.mb-2{margin-bottom:.5rem!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[calc\\(100\\%-3rem\\)\\]{max-width:calc(100% - 3rem)!important}.max-w-full{max-width:100%!important}.justify-start{justify-content:flex-start!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.p-2{padding:.5rem!important}.pt-2{padding-top:.5rem!important}.text-center{text-align:center!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.font-medium{font-weight:500!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
4
+ const selectComponentCss = ".pointer-events-none{pointer-events:none!important}.pointer-events-auto{pointer-events:auto!important}.absolute{position:absolute!important}.relative{position:relative!important}.bottom-0{bottom:0!important}.left-0{left:0!important}.block{display:block!important}.flex{display:flex!important}.h-10{height:2.5rem!important}.h-8{height:2rem!important}.h-\\[1\\.625rem\\]{height:1.625rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded{border-radius:.25rem!important}.border-b{border-bottom-width:1px!important}.border-l{border-left-width:1px!important}.border-r{border-right-width:1px!important}.border-solid{border-style:solid!important}.border-indigo{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity,1))!important}.border-mystic-dark{--tw-border-opacity:1!important;border-color:rgb(218 230 240/var(--tw-border-opacity,1))!important}.bg-indigo-light{background-color:rgb(241 246 255/var(--tw-bg-opacity,1))!important}.bg-indigo-light,.bg-white{--tw-bg-opacity:1!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-1{padding-left:.25rem!important;padding-right:.25rem!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-xs{font-size:.75rem!important;line-height:1rem!important}.font-semibold{font-weight:600!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}*{box-sizing:border-box}p-select{display:flex;flex-direction:column;position:relative;text-overflow:ellipsis;width:100%}p-select .p-input{--tw-text-opacity:1;--tw-bg-opacity:1;--tw-border-opacity:1!important;align-items:center;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-color:rgb(218 230 240/var(--tw-border-opacity,1))!important;border-radius:.5rem;border-style:solid!important;border-width:1px;color:rgb(39 40 56/var(--tw-text-opacity,1));display:flex;font-size:1rem;font-weight:600;height:2.5rem;justify-content:flex-start;line-height:1.5rem;outline:2px solid transparent!important;outline-offset:2px!important;padding-left:1rem;padding-right:1rem;width:100%!important}p-select .p-input::-moz-placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity,1));font-size:1rem;line-height:1.5rem}p-select .p-input::placeholder{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity,1));font-size:1rem;line-height:1.5rem}p-select .p-input.active,p-select .p-input.focus,p-select .p-input:focus,p-select .p-input:focus-visible,p-select .p-input:focus-within,p-select .p-input[active]{--tw-border-opacity:1!important;border-color:rgb(82 138 250/var(--tw-border-opacity,1))!important;outline:2px solid transparent!important;outline-offset:2px!important}p-select .p-input.size-small{font-size:.875rem;font-weight:500;height:2rem!important;line-height:1.25rem}p-select .p-input.size-small::-moz-placeholder{font-size:.875rem;line-height:1.25rem}p-select .p-input.size-small::placeholder{font-size:.875rem;line-height:1.25rem}p-select .text-container{display:block;overflow:hidden;text-align:start;text-overflow:ellipsis;white-space:nowrap;width:100%}p-select .multi-container{align-items:center;bottom:0;display:flex;gap:.5rem;height:2.5rem;left:0;overflow:hidden;padding:1rem .5rem;pointer-events:none;position:absolute;width:100%}p-select .multi-container.size-small{height:2rem;padding:.5rem .25rem}p-select .multi-container .item{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(241 246 255/var(--tw-bg-opacity,1));border-radius:.25rem;color:rgb(44 75 169/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;height:1.625rem;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem;pointer-events:auto;white-space:nowrap}p-select .multi-container .item p-icon{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1));font-size:.75rem;line-height:1rem}p-select .multi-container .extra{--tw-text-opacity:1;color:rgb(128 130 158/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;pointer-events:none}.static{position:static!important}.sticky{position:sticky!important}.top-0{top:0!important}.top-2{top:.5rem!important}.-mt-2{margin-top:-.5rem!important}.mb-2{margin-bottom:.5rem!important}.hidden{display:none!important}.h-6{height:1.5rem!important}.w-6{width:1.5rem!important}.max-w-\\[calc\\(100\\%-3rem\\)\\]{max-width:calc(100% - 3rem)!important}.max-w-full{max-width:100%!important}.justify-start{justify-content:flex-start!important}.justify-center{justify-content:center!important}.gap-1{gap:.25rem!important}.p-2{padding:.5rem!important}.pt-2{padding-top:.5rem!important}.text-center{text-align:center!important}.text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.font-medium{font-weight:500!important}.text-indigo{--tw-text-opacity:1!important;color:rgb(82 138 250/var(--tw-text-opacity,1))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity,1))!important}.blur{--tw-blur:blur(8px)!important}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
5
5
 
6
6
  const Select = class {
7
7
  constructor(hostRef) {
@@ -138,7 +138,7 @@ const Select = class {
138
138
  var _a;
139
139
  return (h(Host, { class: 'p-select' }, h("p-dropdown", { disableTriggerClick: true, calculateWidth: true, insideClick: true, scrollable: this.enableAutocomplete ? 'large' : true, show: this._showDropdown, onIsOpen: ev => this._onDropdownOpen(ev) }, h("p-input-group", { slot: 'trigger', icon: this.icon, size: this.size, prefix: this.prefix, label: this.label, helper: this.helper, required: this.required, error: this.error, disabled: this.disabled, focused: this._showDropdown, forceShowTooltip: ((_a = this.error) === null || _a === void 0 ? void 0 : _a.length) && this._showDropdown }, h("div", { slot: 'input', class: `p-input read-only cursor-pointer ${this.showChevron ? 'max-w-[calc(100%-3rem)]' : 'w-full'} size-${this.size} ${this._displayValue === this.placeholder
140
140
  ? 'font-medium text-storm-medium'
141
- : ''}`, contenteditable: true, onFocus: ev => this._onFocus(ev), onMouseDown: ev => this._onMouseDown(ev), onClick: () => this._onClick(), ref: ref => (this._inputRef = ref) }, this._displayValue), this.showChevron && (h("p-icon", { variant: 'chevron', slot: 'suffix' }))), h("div", { slot: 'items' }, this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
141
+ : ''}`, contenteditable: true, onFocus: ev => this._onFocus(ev), onMouseDown: ev => this._onMouseDown(ev), onClick: () => this._onClick(), ref: ref => (this._inputRef = ref) }, this._displayValue), this.showChevron && (h("p-icon", { variant: 'caret', slot: 'suffix' }))), h("div", { slot: 'items' }, this.loading ? this._getLoadingItems() : this._getItems(), this.showAddItem && this._getAddItem()))));
142
142
  }
143
143
  documentClickHandler({ target }) {
144
144
  if (!this._showDropdown || childOf(target, this._el)) {
@@ -372,7 +372,7 @@ const Select = class {
372
372
  ? (_a = this.selectionDisplayKey) !== null && _a !== void 0 ? _a : this.displayKey
373
373
  : this.displayKey]));
374
374
  if (this.avatarKey) {
375
- content = (h("span", { class: 'flex items-center gap-2' }, h("p-avatar", { size: 'xsmall', src: item[this.avatarKey], letters: item[this.avatarLettersKey] }), h("div", { class: 'text-container' }, item[(_b = this.dropdownDisplayKey) !== null && _b !== void 0 ? _b : this.displayKey])));
375
+ content = (h("span", { class: 'flex items-center gap-2' }, h("p-avatar", { size: 'xs', src: item[this.avatarKey], letters: item[this.avatarLettersKey] }), h("div", { class: 'text-container' }, item[(_b = this.dropdownDisplayKey) !== null && _b !== void 0 ? _b : this.displayKey])));
376
376
  }
377
377
  if (this.iconKey && (!isSelection || this.showIconInSelectedItem)) {
378
378
  content = (h("span", { class: 'flex items-center gap-2' }, h("p-icon", { variant: item[this.iconKey] }), h("div", { class: 'text-container' }, item[(_c = this.dropdownDisplayKey) !== null && _c !== void 0 ? _c : this.displayKey])));
@@ -1 +1 @@
1
- {"file":"p-select.entry.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,w+KAAw+K;;MCoBt/K,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,EAAE,CAAC;KACV;IAED,IAAI,KAAK,GACR,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;I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kBAAkB,mCAAI,IAAI,CAAC,UAAU,CAAC,CAC5C,CACA,CACP,CAAC;KACF;IAED,QACC,WACC,KAAK,EACJ,CAAC,WAAW,IAAI,IAAI,CAAC,wBAAwB;UAC1C,cAAc,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE;UAC3B,YAAY,IAGf,OAAO,CACH,EACL;GACF;;;;;;;;;;;;;","names":[],"sources":["src/components/molecules/select/select.component.scss?tag=p-select","src/components/molecules/select/select.component.tsx"],"sourcesContent":["@import '../../../style/form/mixins';\n\np-select {\n\t@apply relative flex w-full flex-col text-ellipsis;\n\n\t.p-input {\n\t\t@include inputDefaultState();\n\t\t@apply text-base font-semibold;\n\n\t\t&.size-small {\n\t\t\t@apply text-sm font-medium;\n\t\t}\n\t}\n\n\t.text-container {\n\t\t@apply block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start;\n\t}\n\n\t.multi-container {\n\t\t@apply pointer-events-none absolute bottom-0 left-0 flex h-10 w-full items-center gap-2 overflow-hidden px-2 py-4;\n\n\t\t&.size-small {\n\t\t\t@apply h-8 px-1 py-2;\n\t\t}\n\n\t\t.item {\n\t\t\t@apply pointer-events-auto flex h-[1.625rem] cursor-pointer items-center gap-2 whitespace-nowrap rounded bg-indigo-light px-2 text-sm font-semibold text-indigo-dark;\n\n\t\t\tp-icon {\n\t\t\t\t@apply text-xs text-indigo;\n\t\t\t}\n\t\t}\n\n\t\t.extra {\n\t\t\t@apply pointer-events-none text-sm text-storm-medium;\n\t\t}\n\t}\n}\n","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='chevron'\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='xsmall'\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"],"version":3}
1
+ {"file":"p-select.entry.js","mappings":";;;AAAA,MAAM,kBAAkB,GAAG,sgLAAsgL;;MCoBphL,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,EAAE,CAAC;KACV;IAED,IAAI,KAAK,GACR,OAAO,IAAI,CAAC,KAAK,KAAK,QAAQ,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;IA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AkB,mCAAI,IAAI,CAAC,UAAU,CAAC,CAC5C,CACA,CACP,CAAC;KACF;IAED,QACC,WACC,KAAK,EACJ,CAAC,WAAW,IAAI,IAAI,CAAC,wBAAwB;UAC1C,cAAc,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,KAAK,EAAE;UAC3B,YAAY,IAGf,OAAO,CACH,EACL;GACF;;;;;;;;;;;;;","names":[],"sources":["src/components/molecules/select/select.component.scss?tag=p-select","src/components/molecules/select/select.component.tsx"],"sourcesContent":["@import '../../../style/form/mixins';\n\np-select {\n\t@apply relative flex w-full flex-col text-ellipsis;\n\n\t.p-input {\n\t\t@include inputDefaultState();\n\t\t@apply text-base font-semibold;\n\n\t\t&.size-small {\n\t\t\t@apply text-sm font-medium;\n\t\t}\n\t}\n\n\t.text-container {\n\t\t@apply block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start;\n\t}\n\n\t.multi-container {\n\t\t@apply pointer-events-none absolute bottom-0 left-0 flex h-10 w-full items-center gap-2 overflow-hidden px-2 py-4;\n\n\t\t&.size-small {\n\t\t\t@apply h-8 px-1 py-2;\n\t\t}\n\n\t\t.item {\n\t\t\t@apply pointer-events-auto flex h-[1.625rem] cursor-pointer items-center gap-2 whitespace-nowrap rounded bg-indigo-light px-2 text-sm font-semibold text-indigo-dark;\n\n\t\t\tp-icon {\n\t\t\t\t@apply text-xs text-indigo;\n\t\t\t}\n\t\t}\n\n\t\t.extra {\n\t\t\t@apply pointer-events-none text-sm text-storm-medium;\n\t\t}\n\t}\n}\n","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"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
2
2
 
3
- const sliderIndicatorComponentCss = ".block{display:block!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}.static{position:static!important}";
3
+ const sliderIndicatorComponentCss = ".block{display:block!important}.h-2{height:.5rem!important}.w-2{width:.5rem!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity,1))!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity,1));border-radius:9999px;display:block;height:.5rem;width:.5rem}:host(.active){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static!important}";
4
4
 
5
5
  const SliderIndicator = class {
6
6
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-slider-indicator.entry.js","mappings":";;AAAA,MAAM,2BAA2B,GAAG,+dAA+d;;MCOtf,eAAe;;;kBAID,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,sBAAsB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,GAC/C,EACP;GACF;;;;;;","names":[],"sources":["src/components/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-round;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-slider-indicator.entry.js","mappings":";;AAAA,MAAM,2BAA2B,GAAG,ueAAue;;MCO9f,eAAe;;;kBAID,KAAK;;EAE/B,MAAM;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,sBAAsB,IAAI,CAAC,MAAM,IAAI,QAAQ,EAAE,GAC/C,EACP;GACF;;;;;;","names":[],"sources":["src/components/atoms/slider-indicator/slider-indicator.component.scss?tag=p-slider-indicator&encapsulation=shadow","src/components/atoms/slider-indicator/slider-indicator.component.tsx"],"sourcesContent":[":host {\n\t@apply block w-2 h-2 bg-mystic-dark rounded-full;\n}\n\n:host(.active) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-slider-indicator',\n\tstyleUrl: 'slider-indicator.component.scss',\n\tshadow: true,\n})\nexport class SliderIndicator {\n\t/**\n\t * Wether the slider indicator is active\n\t */\n\t@Prop() active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-slider-indicator ${this.active && 'active'}`}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
2
2
 
3
- const statusComponentCss = ".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(40 209 124/var(--tw-text-opacity))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 199 45/var(--tw-text-opacity))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity))}.static{position:static!important}";
3
+ const statusComponentCss = ".mr-2{margin-right:.5rem!important}.flex{display:flex!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity,1))!important}*{box-sizing:border-box}p-status{--tw-text-opacity:1;align-items:center;color:rgb(152 154 183/var(--tw-text-opacity,1));display:flex;font-size:.875rem;font-weight:500;line-height:1.25rem}p-status p-icon{font-size:1rem;line-height:1.5rem;margin-right:.5rem}p-status.variant-positive{--tw-text-opacity:1;color:rgb(40 209 124/var(--tw-text-opacity,1))}p-status.variant-unbiased{--tw-text-opacity:1;color:rgb(255 199 45/var(--tw-text-opacity,1))}p-status.variant-negative{--tw-text-opacity:1;color:rgb(185 30 40/var(--tw-text-opacity,1))}.static{position:static!important}";
4
4
 
5
5
  const Status = class {
6
6
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-status.entry.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,6xBAA6xB;;MCQ3yB,MAAM;;;mBAKjB,SAAS;;;;;EAiBV,MAAM;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,oBAAoB,IAAI,CAAC,OAAO;kBACzB,IAEb,IAAI,CAAC,QAAQ,EAAE,EAChB,eAAQ,CACF,EACN;GACF;EAEO,QAAQ;IACf,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;IAEjD,IAAI,CAAC,IAAI,EAAE;MACV,OAAO;KACP;IAED,QACC,cACC,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,EACD;GACF;EAEO,eAAe;IACtB,IAAI,IAAI,GAAG,IAAI,CAAC;IAChB,QAAQ,IAAI,CAAC,OAAO;MACnB,KAAK,UAAU;QACd,IAAI,GAAG,WAAW,CAAC;QACnB,MAAM;MACP,KAAK,UAAU;QACd,IAAI,GAAG,UAAU,CAAC;QAClB,MAAM;MACP,KAAK,UAAU;QACd,IAAI,GAAG,OAAO,CAAC;QACf,MAAM;MACP;QACC,IAAI,GAAG,IAAI,CAAC;QACZ,MAAM;KACP;IAED,OAAO,IAAI,CAAC;GACZ;;;;;;","names":[],"sources":["src/components/atoms/status/status.component.scss?tag=p-status","src/components/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' =\n\t\t'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"version":3}
1
+ {"file":"p-status.entry.js","mappings":";;AAAA,MAAM,kBAAkB,GAAG,uyBAAuyB;;MCQrzB,MAAM;;;mBAKjB,SAAS;;;;;EAiBV,MAAM;IACL,QACC,EAAC,IAAI,IACJ,KAAK,EAAE,oBAAoB,IAAI,CAAC,OAAO;kBACzB,IAEb,IAAI,CAAC,QAAQ,EAAE,EAChB,eAAQ,CACF,EACN;GACF;EAEO,QAAQ;IACf,MAAM,IAAI,GAAG,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,eAAe,EAAE,CAAC;IAEjD,IAAI,CAAC,IAAI,EAAE;MACV,OAAO;KACP;IAED,QACC,cACC,OAAO,EAAE,IAAI,EACb,IAAI,EAAE,IAAI,CAAC,QAAQ,EACnB,MAAM,EAAE,IAAI,CAAC,UAAU,GACtB,EACD;GACF;EAEO,eAAe;IACtB,IAAI,IAAI,GAAG,IAAI,CAAC;IAChB,QAAQ,IAAI,CAAC,OAAO;MACnB,KAAK,UAAU;QACd,IAAI,GAAG,WAAW,CAAC;QACnB,MAAM;MACP,KAAK,UAAU;QACd,IAAI,GAAG,UAAU,CAAC;QAClB,MAAM;MACP,KAAK,UAAU;QACd,IAAI,GAAG,OAAO,CAAC;QACf,MAAM;MACP;QACC,IAAI,GAAG,IAAI,CAAC;QACZ,MAAM;KACP;IAED,OAAO,IAAI,CAAC;GACZ;;;;;;","names":[],"sources":["src/components/atoms/status/status.component.scss?tag=p-status","src/components/atoms/status/status.component.tsx"],"sourcesContent":["p-status {\n\t@apply flex items-center;\n\t@apply text-sm text-storm-vague font-medium;\n\n\tp-icon {\n\t\t@apply mr-2 text-base;\n\t}\n\n\t&.variant-positive {\n\t\t@apply text-positive;\n\t}\n\n\t&.variant-unbiased {\n\t\t@apply text-unbiased;\n\t}\n\n\t&.variant-negative {\n\t\t@apply text-negative;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\n@Component({\n\ttag: 'p-status',\n\tstyleUrl: 'status.component.scss',\n})\nexport class Status {\n\t/**\n\t * The variant of the status\n\t */\n\t@Prop() variant: 'default' | 'positive' | 'unbiased' | 'negative' =\n\t\t'default';\n\n\t/**\n\t * Icon to show on the status\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Icon flip\n\t */\n\t@Prop() iconFlip: IconFlipOptions;\n\n\t/**\n\t * Icon rotate\n\t */\n\t@Prop() iconRotate: RotateOptions;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-status variant-${this.variant}\n }`}\n\t\t\t>\n\t\t\t\t{this._getIcon()}\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getIcon() {\n\t\tconst icon = this.icon || this._getVariantIcon();\n\n\t\tif (!icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={icon}\n\t\t\t\tflip={this.iconFlip}\n\t\t\t\trotate={this.iconRotate}\n\t\t\t/>\n\t\t);\n\t}\n\n\tprivate _getVariantIcon() {\n\t\tlet icon = null;\n\t\tswitch (this.variant) {\n\t\t\tcase 'positive':\n\t\t\t\ticon = 'checkmark';\n\t\t\t\tbreak;\n\t\t\tcase 'negative':\n\t\t\t\ticon = 'negative';\n\t\t\t\tbreak;\n\t\t\tcase 'unbiased':\n\t\t\t\ticon = 'clock';\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\ticon = null;\n\t\t\t\tbreak;\n\t\t}\n\n\t\treturn icon;\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
2
2
 
3
- const stepperItemComponentCss = ".absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\\[calc\\(100\\%-2rem\\)\\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(176 178 203/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;background-color:rgb(218 230 240/var(--tw-bg-opacity));border-radius:100%;color:rgb(255 255 255/var(--tw-text-opacity));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}";
3
+ const stepperItemComponentCss = ".absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-0{top:0!important}.order-2{order:2!important}.ml-0{margin-left:0!important}.mr-4{margin-right:1rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-4{width:1rem!important}.w-full{width:100%!important}.min-w-\\[calc\\(100\\%-2rem\\)\\]{min-width:calc(100% - 2rem)!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.items-end{align-items:flex-end!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.bg-mystic-dark{--tw-bg-opacity:1!important;background-color:rgb(218 230 240/var(--tw-bg-opacity,1))!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{animation-duration:.5s!important;transition-duration:.5s!important}*{box-sizing:border-box}:host{align-items:flex-end;display:flex;justify-content:center;position:relative;width:100%}:host .content{--tw-text-opacity:1;color:rgb(176 178 203/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;min-width:calc(100% - 2rem);white-space:nowrap}:host .circle{--tw-bg-opacity:1;--tw-text-opacity:1;align-items:center;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1);background-color:rgb(218 230 240/var(--tw-bg-opacity,1));border-radius:9999px;color:rgb(255 255 255/var(--tw-text-opacity,1));display:flex;flex-shrink:0;height:1rem;justify-content:center;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:1rem}:host .circle p-icon{display:flex!important;font-size:.625rem}:host([direction=horizontal]){flex:0;height:2.5rem}:host([direction=horizontal]) .content{min-width:0;order:1;position:absolute;top:0}:host([direction=horizontal]) .circle{order:2}:host([direction=vertical]){align-items:center;min-height:1rem}:host([direction=vertical]) .content{margin-left:1rem;order:2}:host([direction=vertical]) .circle{order:1}:host([active]) .content,:host([finished]) .content{--tw-text-opacity:1;color:rgb(82 138 250/var(--tw-text-opacity,1))}:host([active]) .circle,:host([finished]) .circle{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}:host([direction=horizontal][align=start]) .content{left:0}:host([direction=horizontal][align=end]) .content{right:0}:host([direction=horizontal][align=center]) .content{--tw-translate-x:-50%;left:50%;text-align:center;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:host([direction=vertical][content-position=start]){flex-direction:row-reverse}:host([direction=vertical][content-position=start]) .content{display:flex;justify-content:flex-end;margin-left:0;margin-right:1rem}.static{position:static!important}";
4
4
 
5
5
  const StepperItem = class {
6
6
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-stepper-item.entry.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,01GAA01G;;MCO72G,WAAW;;;iBAIsC,QAAQ;qBAMpE,YAAY;2BAK+C,KAAK;oBAKpB,KAAK;kBAKP,KAAK;;EAEhD,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,gBAAgB,IAC3B,WAAK,KAAK,EAAC,QAAQ,IACjB,IAAI,CAAC,QAAQ,IAAI,cAAQ,OAAO,EAAC,WAAW,GAAG,CAC3C,EACN,WAAK,KAAK,EAAC,SAAS,IACnB,YAAM,IAAI,EAAC,SAAS,GAAG,CAClB,CACA,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/stepper-item/stepper-item.component.scss?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper-item/stepper-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative flex w-full items-end justify-center;\n\n\t.content {\n\t\t@apply min-w-[calc(100%-2rem)] whitespace-nowrap;\n\t\t@apply text-sm text-storm-light;\n\t}\n\n\t.circle {\n\t\t@apply transition duration-500 ease-in-out;\n\t\t@apply flex items-center justify-center flex-shrink-0;\n\t\t@apply h-4 w-4 rounded-round;\n\t\t@apply bg-mystic-dark text-white;\n\n\t\tp-icon {\n\t\t\t@apply flex #{!important};\n\t\t\tfont-size: 0.625rem;\n\t\t}\n\t}\n}\n\n:host([direction='horizontal']) {\n\tflex: 0;\n\t@apply h-10;\n\n\t.content {\n\t\t@apply absolute top-0 min-w-0;\n\t\t@apply order-1;\n\t}\n\n\t.circle {\n\t\t@apply order-2;\n\t}\n}\n\n:host([direction='vertical']) {\n\t@apply min-h-[1rem] items-center;\n\n\t.content {\n\t\t@apply order-2 ml-4;\n\t}\n\n\t.circle {\n\t\t@apply order-1;\n\t}\n}\n\n:host([active]),\n:host([finished]) {\n\t.content {\n\t\t@apply text-indigo;\n\t}\n\n\t.circle {\n\t\t@apply bg-indigo;\n\t}\n}\n\n:host([direction='horizontal'][align='start']) {\n\t.content {\n\t\t@apply left-0;\n\t}\n}\n\n:host([direction='horizontal'][align='end']) {\n\t.content {\n\t\t@apply right-0;\n\t}\n}\n\n:host([direction='horizontal'][align='center']) {\n\t.content {\n\t\t@apply left-1/2 -translate-x-1/2 transform text-center;\n\t}\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply flex-row-reverse;\n\n\t.content {\n\t\t@apply ml-0 mr-4 flex justify-end;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.scss',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The alignment of the step content\n\t */\n\t@Prop({ reflect: true }) align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The direction of the stepper step\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'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 * Wether the step is finished\n\t */\n\t@Prop({ reflect: true }) finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper-item\">\n\t\t\t\t<div class=\"circle\">\n\t\t\t\t\t{this.finished && <p-icon variant=\"checkmark\" />}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-stepper-item.entry.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,k9GAAk9G;;MCOr+G,WAAW;;;iBAIsC,QAAQ;qBAMpE,YAAY;2BAK+C,KAAK;oBAKpB,KAAK;kBAKP,KAAK;;EAEhD,MAAM;IACL,QACC,EAAC,IAAI,IAAC,KAAK,EAAC,gBAAgB,IAC3B,WAAK,KAAK,EAAC,QAAQ,IACjB,IAAI,CAAC,QAAQ,IAAI,cAAQ,OAAO,EAAC,WAAW,GAAG,CAC3C,EACN,WAAK,KAAK,EAAC,SAAS,IACnB,YAAM,IAAI,EAAC,SAAS,GAAG,CAClB,CACA,EACN;GACF;;;;;;","names":[],"sources":["src/components/atoms/stepper-item/stepper-item.component.scss?tag=p-stepper-item&encapsulation=shadow","src/components/atoms/stepper-item/stepper-item.component.tsx"],"sourcesContent":[":host {\n\t@apply relative flex w-full items-end justify-center;\n\n\t.content {\n\t\t@apply min-w-[calc(100%-2rem)] whitespace-nowrap;\n\t\t@apply text-sm text-storm-light;\n\t}\n\n\t.circle {\n\t\t@apply transition duration-500 ease-in-out;\n\t\t@apply flex items-center justify-center flex-shrink-0;\n\t\t@apply h-4 w-4 rounded-full;\n\t\t@apply bg-mystic-dark text-white;\n\n\t\tp-icon {\n\t\t\t@apply flex #{!important};\n\t\t\tfont-size: 0.625rem;\n\t\t}\n\t}\n}\n\n:host([direction='horizontal']) {\n\tflex: 0;\n\t@apply h-10;\n\n\t.content {\n\t\t@apply absolute top-0 min-w-0;\n\t\t@apply order-1;\n\t}\n\n\t.circle {\n\t\t@apply order-2;\n\t}\n}\n\n:host([direction='vertical']) {\n\t@apply min-h-[1rem] items-center;\n\n\t.content {\n\t\t@apply order-2 ml-4;\n\t}\n\n\t.circle {\n\t\t@apply order-1;\n\t}\n}\n\n:host([active]),\n:host([finished]) {\n\t.content {\n\t\t@apply text-indigo;\n\t}\n\n\t.circle {\n\t\t@apply bg-indigo;\n\t}\n}\n\n:host([direction='horizontal'][align='start']) {\n\t.content {\n\t\t@apply left-0;\n\t}\n}\n\n:host([direction='horizontal'][align='end']) {\n\t.content {\n\t\t@apply right-0;\n\t}\n}\n\n:host([direction='horizontal'][align='center']) {\n\t.content {\n\t\t@apply left-1/2 -translate-x-1/2 transform text-center;\n\t}\n}\n\n:host([direction='vertical'][content-position='start']) {\n\t@apply flex-row-reverse;\n\n\t.content {\n\t\t@apply ml-0 mr-4 flex justify-end;\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-item',\n\tstyleUrl: 'stepper-item.component.scss',\n\tshadow: true,\n})\nexport class StepperItem {\n\t/**\n\t * The alignment of the step content\n\t */\n\t@Prop({ reflect: true }) align: 'start' | 'center' | 'end' = 'center';\n\n\t/**\n\t * The direction of the stepper step\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'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 * Wether the step is finished\n\t */\n\t@Prop({ reflect: true }) finished: boolean = false;\n\n\t/**\n\t * Wether the step is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-stepper-item\">\n\t\t\t\t<div class=\"circle\">\n\t\t\t\t\t{this.finished && <p-icon variant=\"checkmark\" />}\n\t\t\t\t</div>\n\t\t\t\t<div class=\"content\">\n\t\t\t\t\t<slot name=\"content\" />\n\t\t\t\t</div>\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
- import { r as registerInstance, h, H as Host } from './index-7b917f6b.js';
1
+ import { r as registerInstance, h, H as Host } from './index-f99096d4.js';
2
2
 
3
- const stepperLineComponentCss = ".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity))}.static{position:static!important}";
3
+ const stepperLineComponentCss = ".mb-\\[calc\\(\\.5rem-1px\\)\\]{margin-bottom:calc(.5rem - 1px)!important}.ml-\\[calc\\(\\.5rem-1px\\)\\]{margin-left:calc(.5rem - 1px)!important}.mr-\\[calc\\(\\.5rem-1px\\)\\]{margin-right:calc(.5rem - 1px)!important}.block{display:block!important}.h-\\[2px\\]{height:2px!important}.min-h-\\[1rem\\]{min-height:1rem!important}.w-\\[2px\\]{width:2px!important}.transition{transition-duration:.15s!important;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.duration-500{animation-duration:.5s!important;transition-duration:.5s!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;animation-duration:.5s;animation-timing-function:cubic-bezier(.4,0,.2,1);background-color:rgb(218 230 240/var(--tw-bg-opacity,1));display:block;flex:1 1 auto;transition-duration:.5s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}:host([direction=horizontal]){height:2px;margin-bottom:calc(.5rem - 1px)}:host([direction=vertical]){margin-left:calc(.5rem - 1px);margin-right:calc(.5rem - 1px);min-height:1rem;width:2px}:host([active]){--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1))}.static{position:static!important}";
4
4
 
5
5
  const StepperLine = class {
6
6
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-stepper-line.entry.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,izCAAizC;;MCOp0C,WAAW;;;kBAIoB,KAAK;qBAM/C,YAAY;;EAEb,MAAM;IACL,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,gBAAgB,GAAQ,CAAC;GAC5C;;;;;;","names":[],"sources":["src/components/atoms/stepper-line/stepper-line.component.scss?tag=p-stepper-line&encapsulation=shadow","src/components/atoms/stepper-line/stepper-line.component.tsx"],"sourcesContent":[":host {\n\t@apply flex-auto;\n\t@apply transition duration-500 ease-in-out;\n\n\t@apply block;\n\n\t@apply bg-mystic-dark;\n}\n\n:host([direction='horizontal']) {\n\t@apply mb-[calc(.5rem-1px)] h-[2px];\n}\n\n:host([direction='vertical']) {\n\t@apply ml-[calc(.5rem-1px)] mr-[calc(.5rem-1px)] min-h-[1rem] w-[2px];\n}\n\n:host([active]) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.scss',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host class=\"p-stepper-line\"></Host>;\n\t}\n}\n"],"version":3}
1
+ {"file":"p-stepper-line.entry.js","mappings":";;AAAA,MAAM,uBAAuB,GAAG,+5CAA+5C;;MCOl7C,WAAW;;;kBAIoB,KAAK;qBAM/C,YAAY;;EAEb,MAAM;IACL,OAAO,EAAC,IAAI,IAAC,KAAK,EAAC,gBAAgB,GAAQ,CAAC;GAC5C;;;;;;","names":[],"sources":["src/components/atoms/stepper-line/stepper-line.component.scss?tag=p-stepper-line&encapsulation=shadow","src/components/atoms/stepper-line/stepper-line.component.tsx"],"sourcesContent":[":host {\n\t@apply flex-auto;\n\t@apply transition duration-500 ease-in-out;\n\n\t@apply block;\n\n\t@apply bg-mystic-dark;\n}\n\n:host([direction='horizontal']) {\n\t@apply mb-[calc(.5rem-1px)] h-[2px];\n}\n\n:host([direction='vertical']) {\n\t@apply ml-[calc(.5rem-1px)] mr-[calc(.5rem-1px)] min-h-[1rem] w-[2px];\n}\n\n:host([active]) {\n\t@apply bg-indigo;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-stepper-line',\n\tstyleUrl: 'stepper-line.component.scss',\n\tshadow: true,\n})\nexport class StepperLine {\n\t/**\n\t * Wether the line is active\n\t */\n\t@Prop({ reflect: true }) active: boolean = false;\n\n\t/**\n\t * The direction of the stepper line\n\t */\n\t@Prop({ reflect: true }) direction: 'horizontal' | 'vertical' =\n\t\t'horizontal';\n\n\trender() {\n\t\treturn <Host class=\"p-stepper-line\"></Host>;\n\t}\n}\n"],"version":3}