@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-button.p-icon.p-loader.entry.cjs.js","mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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E;MACnC,IAAI,CAAC,eAAe,GAAG,MAAA,IAAI,CAAC,IAAI,0CAAE,SAAS,CAC1C,CAAC,IAAI,MAAM,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAC7B,CAAC;MACF,OAAO;KACP;IAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;GACvB;;;;;;;;","names":["h","Host"],"sources":["src/utils/icons.ts","src/components/atoms/button/button.component.scss?tag=p-button","src/components/atoms/button/button.component.tsx","src/components/atoms/icon/icon.component.scss?tag=p-icon","src/components/atoms/icon/icon.component.tsx","src/components/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/atoms/loader/loader.component.tsx"],"sourcesContent":["import arrow from '../assets/icons/arrow.svg';\nimport attachment from '../assets/icons/attachment.svg';\nimport bread from '../assets/icons/bread.svg';\nimport calendar from '../assets/icons/calendar.svg';\nimport camera from '../assets/icons/camera.svg';\nimport car from '../assets/icons/car.svg';\nimport checklist from '../assets/icons/checklist.svg';\nimport checkmark from '../assets/icons/checkmark.svg';\nimport chevron from '../assets/icons/chevron.svg';\nimport chevrons from '../assets/icons/chevrons.svg';\nimport clock from '../assets/icons/clock.svg';\nimport cogs from '../assets/icons/cogs.svg';\nimport colleagues from '../assets/icons/colleagues.svg';\nimport comment from '../assets/icons/comment.svg';\nimport companies from '../assets/icons/companies.svg';\nimport company from '../assets/icons/company.svg';\nimport deactivate from '../assets/icons/deactivate.svg';\nimport document from '../assets/icons/document.svg';\nimport download from '../assets/icons/download.svg';\nimport envelope from '../assets/icons/envelope.svg';\nimport explanation from '../assets/icons/explanation.svg';\nimport eye from '../assets/icons/eye.svg';\nimport faPiggy from '../assets/icons/fa/piggy.svg';\nimport filter from '../assets/icons/filter.svg';\nimport folder from '../assets/icons/folder.svg';\nimport formula from '../assets/icons/formula.svg';\nimport grid from '../assets/icons/grid.svg';\nimport hashtag from '../assets/icons/hashtag.svg';\nimport headset from '../assets/icons/headset.svg';\nimport hidden from '../assets/icons/hidden.svg';\nimport iDeal from '../assets/icons/iDeal.svg';\nimport integration from '../assets/icons/integration.svg';\nimport list from '../assets/icons/list.svg';\nimport location from '../assets/icons/location.svg';\nimport lock from '../assets/icons/lock.svg';\nimport megaphone from '../assets/icons/megaphone.svg';\nimport menu from '../assets/icons/menu.svg';\nimport minus from '../assets/icons/minus.svg';\nimport more from '../assets/icons/more.svg';\nimport negative from '../assets/icons/negative.svg';\nimport notification from '../assets/icons/notification.svg';\nimport pagination from '../assets/icons/pagination.svg';\nimport payment from '../assets/icons/payment.svg';\nimport pencil from '../assets/icons/pencil.svg';\nimport person from '../assets/icons/person.svg';\nimport plan from '../assets/icons/plan.svg';\nimport plus from '../assets/icons/plus.svg';\nimport question from '../assets/icons/question.svg';\nimport receipt from '../assets/icons/receipt.svg';\nimport reload from '../assets/icons/reload.svg';\nimport report from '../assets/icons/report.svg';\nimport review from '../assets/icons/review.svg';\nimport search from '../assets/icons/search.svg';\nimport settings from '../assets/icons/settings.svg';\nimport sick from '../assets/icons/sick.svg';\nimport signout from '../assets/icons/signout.svg';\nimport switchIcon from '../assets/icons/switch.svg';\nimport tachometer from '../assets/icons/tachometer.svg';\nimport task from '../assets/icons/task.svg';\nimport template from '../assets/icons/template.svg';\nimport tool from '../assets/icons/tool.svg';\nimport trash from '../assets/icons/trash.svg';\nimport turn from '../assets/icons/turn.svg';\nimport unlock from '../assets/icons/unlock.svg';\nimport upload from '../assets/icons/upload.svg';\nimport warning from '../assets/icons/warning.svg';\n\nexport default {\n\tarrow,\n\tattachment,\n\tbread,\n\tcalendar,\n\tcamera,\n\tcar,\n\tchecklist,\n\tcheckmark,\n\tchevron,\n\tchevrons,\n\tclock,\n\tcolleagues,\n\tcogs,\n\tcomment,\n\tcompanies,\n\tcompany,\n\tdeactivate,\n\tdocument,\n\tdownload,\n\tenvelope,\n\texplanation,\n\teye,\n\tfaPiggy,\n\tfilter,\n\tfolder,\n\tformula,\n\tgrid,\n\thashtag,\n\theadset,\n\thidden,\n\tiDeal,\n\tintegration,\n\tlist,\n\tlocation,\n\tlock,\n\tmegaphone,\n\tmenu,\n\tminus,\n\tmore,\n\tnegative,\n\tnotification,\n\tpagination,\n\tpayment,\n\tpencil,\n\tperson,\n\tplan,\n\tplus,\n\tquestion,\n\treload,\n\treceipt,\n\treport,\n\treview,\n\tsearch,\n\tsettings,\n\tsick,\n\tsignout,\n\tswitch: switchIcon,\n\ttachometer,\n\ttask,\n\ttemplate,\n\ttool,\n\ttrash,\n\tturn,\n\tunlock,\n\tupload,\n\twarning,\n};\n","p-button {\n\t@apply flex h-10 w-auto text-base;\n\n\tbutton,\n\ta {\n\t\toutline: 0;\n\t\tborder: 0;\n\t\t@apply h-full w-full;\n\t\t@apply rounded-large #{!important};\n\t\t@apply font-semibold leading-4;\n\t\t@apply flex items-center justify-center;\n\t\t@apply cursor-pointer text-base;\n\n\t\twill-change: filter;\n\n\t\t> p-loader {\n\t\t\t@apply ml-2;\n\t\t}\n\n\t\t// Icon positions\n\t\t&.icon-position-end {\n\t\t\t> p-icon:not(.chevron) {\n\t\t\t\t@apply ml-2;\n\t\t\t}\n\t\t}\n\n\t\t&.icon-position-start {\n\t\t\t> p-icon:not(.chevron) {\n\t\t\t\t@apply mr-2;\n\t\t\t}\n\t\t}\n\n\t\t// Variants\n\t\t&.variant-primary,\n\t\t&.variant-secondary {\n\t\t\t@apply px-4 filter;\n\t\t}\n\n\t\t&.variant-primary,\n\t\t&.variant-secondary {\n\t\t\t&:active,\n\t\t\t&.active {\n\t\t\t\t@apply drop-shadow-transparent;\n\t\t\t}\n\t\t}\n\n\t\t&.variant-primary {\n\t\t\t@apply bg-indigo text-white;\n\n\t\t\t&:active,\n\t\t\t&.active {\n\t\t\t\t&:not([disabled]) {\n\t\t\t\t\t@apply bg-indigo-dark;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@media (pointer: fine) {\n\t\t\t\t&:hover:not([disabled]) {\n\t\t\t\t\t@apply drop-shadow-button-primary-hover;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.variant-secondary {\n\t\t\t@apply border border-solid border-mystic-dark #{!important};\n\t\t\t@apply bg-white text-storm;\n\n\t\t\t&:active,\n\t\t\t&.active {\n\t\t\t\t&:not([disabled]) {\n\t\t\t\t\t@apply bg-mystic;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t@media (pointer: fine) {\n\t\t\t\t&:hover:not([disabled]) {\n\t\t\t\t\t@apply drop-shadow-button-secondary-hover;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t&.variant-text {\n\t\t\t@apply text-indigo;\n\n\t\t\t&.has-underline {\n\t\t\t\t@apply underline underline-offset-1;\n\t\t\t}\n\n\t\t\t&:hover:not([disabled]) {\n\t\t\t\t@apply text-indigo-dark;\n\t\t\t}\n\t\t}\n\n\t\t&[disabled] {\n\t\t\t@apply opacity-40;\n\t\t}\n\n\t\t&.should-inherit-text {\n\t\t\tcolor: inherit #{!important};\n\t\t\tfont-size: inherit #{!important};\n\t\t\tfont-weight: inherit #{!important};\n\t\t}\n\n\t\t&.button-group-pos-start {\n\t\t\t@apply rounded-r-none #{!important};\n\t\t}\n\n\t\t&.button-group-pos-middle {\n\t\t\t@apply rounded-none #{!important};\n\t\t}\n\n\t\t&.button-group-pos-end {\n\t\t\t@apply rounded-l-none #{!important};\n\t\t}\n\t}\n\n\t// chevron\n\t&.has-chevron {\n\t\ta,\n\t\tbutton {\n\t\t\t&.chevron-position-start {\n\t\t\t\t@apply pl-2;\n\n\t\t\t\t> p-icon.chevron {\n\t\t\t\t\t@apply mr-2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.chevron-position-end {\n\t\t\t\t@apply pr-2;\n\n\t\t\t\t> p-icon.chevron {\n\t\t\t\t\t@apply ml-2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t&.variant-secondary:hover:not([disabled]) p-icon:last-child {\n\t\t\t\t@apply text-indigo;\n\t\t\t}\n\t\t}\n\t}\n\n\t&.has-icon-only {\n\t\t@apply w-10;\n\n\t\ta,\n\t\tbutton {\n\t\t\t@apply p-0;\n\n\t\t\t> p-icon:first-child {\n\t\t\t\t@apply mx-0;\n\t\t\t}\n\n\t\t\t> p-loader {\n\t\t\t\t@apply ml-0;\n\t\t\t}\n\t\t}\n\n\t\t&.has-chevron {\n\t\t\t@apply w-auto;\n\n\t\t\ta,\n\t\t\tbutton {\n\t\t\t\t&.chevron-position-start {\n\t\t\t\t\t@apply pr-2;\n\t\t\t\t}\n\n\t\t\t\t&.chevron-position-end {\n\t\t\t\t\t@apply pl-2;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// sizes\n\t&.size-small {\n\t\t@apply h-8;\n\n\t\tbutton,\n\t\ta {\n\t\t\t@apply text-sm;\n\n\t\t\t> p-icon {\n\t\t\t\t@apply text-base;\n\t\t\t}\n\t\t}\n\n\t\t&.has-icon-only {\n\t\t\t@apply w-8;\n\n\t\t\t&.has-chevron {\n\t\t\t\t@apply w-auto;\n\t\t\t}\n\t\t}\n\t}\n}\n","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../icon/icon.component';\n\n@Component({\n\ttag: 'p-button',\n\tstyleUrl: 'button.component.scss',\n\t// shadow: true,\n})\nexport class Button {\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() as: 'a' | 'button' = 'button';\n\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant: 'primary' | 'secondary' | 'text' = 'primary';\n\n\t/**\n\t * Wether the text variant has underline\n\t */\n\t@Prop() underline: boolean = false;\n\n\t/**\n\t * Href in case of \"text\" version\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * Target in case of \"text\" version\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() size: 'small' | 'medium' = 'medium';\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() type: 'button' | 'submit' = 'button';\n\n\t/**\n\t * Wether to show a loader or not\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show a chevron or not\n\t */\n\t@Prop() chevron: boolean | 'up' | 'down' = false;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the button is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Wether the button is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'end';\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\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop() inheritText: boolean = false;\n\n\t/**\n\t * Position of the button in the button group, mostly un-used if not in a group\n\t */\n\t@Prop() buttonGroupPosition: 'start' | 'middle' | 'end' | 'none' = 'none';\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tonClick: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\tlet loaderColor: 'white' | 'storm' | 'indigo' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\t\tloaderColor = 'storm';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'indigo';\n\t\t\t\tbreak;\n\t\t}\n\n\t\tconst VariableTag =\n\t\t\tthis.variant === 'text' || this.href?.length || this.as === 'a'\n\t\t\t\t? 'a'\n\t\t\t\t: 'button';\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-button size-${this.size} ${\n\t\t\t\t\tthis.iconOnly && 'has-icon-only'\n\t\t\t\t} ${this.chevron && 'has-chevron'}`}\n\t\t\t>\n\t\t\t\t<VariableTag\n\t\t\t\t\tclass={`variant-${this.variant} icon-position-${\n\t\t\t\t\t\tthis.iconPosition\n\t\t\t\t\t} chevron-position-${this.chevronPosition} ${\n\t\t\t\t\t\tthis.inheritText && 'should-inherit-text'\n\t\t\t\t\t} ${this.underline && 'has-underline'} ${\n\t\t\t\t\t\tthis.buttonGroupPosition !== 'none' &&\n\t\t\t\t\t\t`button-group-pos-${this.buttonGroupPosition}`\n\t\t\t\t\t}`}\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttype={this.variant !== 'text' ? this.type : undefined}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t>\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'start' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tclass='chevron'\n\t\t\t\t\t\t\tvariant='chevron'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'start' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t<slot />\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'end' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.loading && <p-loader color={loaderColor} />}\n\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'end' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tclass='chevron'\n\t\t\t\t\t\t\tvariant='chevron'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\t\t\t\t</VariableTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (this.loading || this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.onClick.emit(ev);\n\t}\n\n\tprivate _getIcon() {\n\t\tif (!this.icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tvariant={this.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",":host {\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { RotateOptions, TextSizeOptions } from '../../../types/tailwind';\nimport icons from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'horizontal' | 'vertical';\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.scss',\n\t// shadow: true,\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'auto';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: RotateOptions = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = null;\n\n\trender() {\n\t\tconst icon = icons[this.variant];\n\n\t\tconst styles = {\n\t\t\t'p-icon flex': true,\n\t\t\t'text-auto': this.size === 'auto',\n\t\t\t'text-xxs': this.size === 'xxs',\n\t\t\t'text-xs': this.size === 'xs',\n\t\t\t'text-sm': this.size === 'sm',\n\t\t\t'text-base': this.size === 'base',\n\t\t\t'text-lg': this.size === 'lg',\n\t\t\t'text-xl': this.size === 'xl',\n\t\t\t'text-2xl': this.size === '2xl',\n\t\t\t'text-3xl': this.size === '3xl',\n\t\t\t'text-4xl': this.size === '4xl',\n\t\t\t'text-5xl': this.size === '5xl',\n\t\t\t'text-6xl': this.size === '6xl',\n\t\t\ttransform: !!this.rotate || !!this.flip,\n\t\t\t'scale-x-flip': this.flip === 'horizontal',\n\t\t\t'scale-y-flip': this.flip === 'vertical',\n\t\t\t'rotate-0': this.rotate === 0,\n\t\t\t'rotate-25': this.rotate === 25,\n\t\t\t'rotate-45': this.rotate === 45,\n\t\t\t'rotate-90': this.rotate === 90,\n\t\t\t'rotate-135': this.rotate === 135,\n\t\t\t'rotate-180': this.rotate === 180,\n\t\t\t'rotate-225': this.rotate === 225,\n\t\t\t'rotate-270': this.rotate === 270,\n\t\t\t'rotate-315': this.rotate === 315,\n\t\t\t'-rotate-0': this.rotate === -0,\n\t\t\t'-rotate-25': this.rotate === -25,\n\t\t\t'-rotate-45': this.rotate === -45,\n\t\t\t'-rotate-90': this.rotate === -90,\n\t\t\t'-rotate-135': this.rotate === -135,\n\t\t\t'-rotate-180': this.rotate === -180,\n\t\t\t'-rotate-225': this.rotate === -225,\n\t\t\t'-rotate-270': this.rotate === -270,\n\t\t\t'-rotate-315': this.rotate === -315,\n\t\t};\n\n\t\treturn <Host class={styles} innerHTML={icon}></Host>;\n\t}\n}\n",":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-round;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply w-screen-safe h-screen-safe fixed top-0 left-0;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant:\n\t\t| 'inline'\n\t\t| 'full-width'\n\t\t| 'full-screen'\n\t\t| 'modal'\n\t\t| 'ghost' = 'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show = this.show;\n\tprivate _showSubscriber: Subscription;\n\n\tprivate _loader = (<div class={`loader color-${this.color}`}></div>);\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class=\"p-loader variant-ghost\"></Host>;\n\t\t}\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class=\"p-loader variant-full-screen\">\n\t\t\t\t\t<div class=\"loading-screen\">\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class=\"loader-wrapper\">{this._loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' &&\n\t\t\t\t\t'w-full flex justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this._loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(\n\t\t\t\t(show) => (this._show = show)\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
1
+ {"file":"p-button.p-icon.p-loader.entry.cjs.js","mappings":";;;;;;;;;AAAA,MAAM,kBAAkB,GAAG,4tMAA4tM;;ACavvM,MAAM,MAAM,GAAGA,WAAG,CACjB;EACC,OAAO;EACP,yBAAyB;EACzB,wCAAwC;EACxC,gBAAgB;CAChB,EACD;EACC,QAAQ,EAAE;IACT,OAAO,EAAE;MACR,OAAO,EAAE,CAAC,0CAA0C,CAAC;MACrD,SAAS,EAAE,IAAI;MACf,IAAI,EAAE,CAAC,WAAW,CAAC;MACnB,WAAW,EAAE,CAAC,gBAAgB,C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OAAO,CACP,EACN;GACF;EAEO,UAAU;;IACjB,IAAI,IAAI,CAAC,eAAe,EAAE;MACzB,IAAI,CAAC,eAAe,CAAC,WAAW,EAAE,CAAC;MACnC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;KAC5B;IAED,IAAI,OAAO,IAAI,CAAC,IAAI,KAAK,SAAS,EAAE;MACnC,IAAI,CAAC,eAAe,GAAG,MAAA,IAAI,CAAC,IAAI,0CAAE,SAAS,CAC1C,CAAC,IAAI,MAAM,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,CAC7B,CAAC;MACF,OAAO;KACP;IAED,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,IAAI,CAAC;GACvB;;;;;;;;","names":["cva","icon","h","Host","icons"],"sources":["src/components/molecules/button/button.component.scss?tag=p-button","src/components/molecules/button/button.component.tsx","src/components/atoms/icon/icon.component.scss?tag=p-icon","src/components/atoms/icon/icon.component.tsx","src/components/atoms/loader/loader.component.scss?tag=p-loader&encapsulation=shadow","src/components/atoms/loader/loader.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { RotateOptions } from '../../../types/tailwind';\nimport { IconFlipOptions, IconVariant } from '../../atoms/icon/icon.component';\n\nconst button = cva(\n\t[\n\t\t'group',\n\t\t'font-semibold leading-4',\n\t\t'flex items-center justify-center gap-2',\n\t\t'cursor-pointer',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tprimary: ['bg-supportive-lilac border-black-teal/20'],\n\t\t\t\tsecondary: null,\n\t\t\t\ttext: ['text-teal'],\n\t\t\t\ttransparent: ['bg-transparent'],\n\t\t\t\tdropdown: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tloading: {\n\t\t\t\ttrue: 'cursor-wait',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tsize: {\n\t\t\t\tsm: ['text-xs h-6'],\n\t\t\t\tbase: ['text-sm h-8'],\n\t\t\t\tlg: ['text-base h-10'],\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tunderline: {\n\t\t\t\ttrue: null,\n\t\t\t\tfalse: null,\n\t\t\t},\n\t\t\tbuttonGroupPosition: {\n\t\t\t\tnone: null,\n\t\t\t\tstart: null,\n\t\t\t\tcenter: null,\n\t\t\t\tend: null,\n\t\t\t},\n\t\t\ticonOnly: {\n\t\t\t\ttrue: 'justify-center',\n\t\t\t\tfalse: 'w-inherit py-1',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t// variants\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tclass: ['bg-white border-black-teal/10'],\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:border-supportive-lilac-800 active:ring active:ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'border-supportive-lilac-800 ring ring-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'none',\n\t\t\t\tclass: 'rounded-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'start',\n\t\t\t\tclass: 'rounded-s-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'dropdown'],\n\t\t\t\tbuttonGroupPosition: 'end',\n\t\t\t\tclass: 'rounded-e-lg',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-supportive-lilac hover:drop-shadow-2 hover:bg-supportive-lilac-700 active:text-black-teal/60 active:ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'primary',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-black-teal/10',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border bg-white-600 text-black-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass:\n\t\t\t\t\t'drop-shadow-1 hover:drop-shadow-1 hover:bg-white-600 active:text-black-teal/60 active:ring-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['secondary', 'dropdown'],\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'ring-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'border-b border-teal',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tunderline: true,\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'border-b border-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'text',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'active:text-teal-800',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-dark-teal-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: false,\n\t\t\t\tloading: false,\n\t\t\t\tclass: 'hover:bg-dark-teal active:text-dark-teal-100/60',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'transparent',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-dark-teal-100/60',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: ['base', 'sm'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-2',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent'],\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'px-3',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'dropdown',\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'p-2',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: ['primary', 'secondary', 'transparent', 'text'],\n\t\t\t\ticonOnly: false,\n\t\t\t\tclass: 'py-1',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tsize: 'sm',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-6',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'base',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-8',\n\t\t\t},\n\t\t\t{\n\t\t\t\tsize: 'lg',\n\t\t\t\ticonOnly: true,\n\t\t\t\tclass: 'w-10',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva([], {\n\tvariants: {\n\t\tsize: {\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-base',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-button',\n\tstyleUrl: 'button.component.scss',\n})\nexport class Button {\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() as: 'a' | 'button' = 'button';\n\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant:\n\t\t| 'primary'\n\t\t| 'secondary'\n\t\t| 'transparent'\n\t\t| 'text'\n\t\t| 'dropdown' = 'primary';\n\n\t/**\n\t * Wether to force an active state\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the text variant has underline\n\t */\n\t@Prop() underline: boolean = true;\n\n\t/**\n\t * Href in case of \"text\" version\n\t */\n\t@Prop() href: string;\n\n\t/**\n\t * Target in case of \"text\" version\n\t */\n\t@Prop() target: string;\n\n\t/**\n\t * The size of the button\n\t */\n\t@Prop() size: 'sm' | 'base' | 'lg' = 'base';\n\n\t/**\n\t * The type of the button\n\t */\n\t@Prop() type: 'button' | 'submit' = 'button';\n\n\t/**\n\t * Wether to show a loader or not\n\t */\n\t@Prop() loading: boolean = false;\n\n\t/**\n\t * Wether to show a chevron or not\n\t */\n\t@Prop() chevron: boolean | 'up' | 'down' = false;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Wether the button is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon to show on the button\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * Wether the button is icon only\n\t */\n\t@Prop() iconOnly: boolean = false;\n\n\t/**\n\t * Icon position\n\t */\n\t@Prop() iconPosition: 'start' | 'end' = 'end';\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\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop() inheritText: boolean = false;\n\n\t/**\n\t * Position of the button in the button group, mostly un-used if not in a group\n\t */\n\t@Prop() buttonGroupPosition: 'start' | 'center' | 'end' | 'none' = 'none';\n\n\t/**\n\t * The class of the container passed by parent\n\t */\n\t@Prop() class: string;\n\n\t/**\n\t * Button click event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tonClick: EventEmitter<MouseEvent>;\n\n\trender() {\n\t\tlet loaderColor: 'white' | 'storm' | 'indigo' = 'white';\n\t\tswitch (this.variant) {\n\t\t\tcase 'secondary':\n\t\t\t\tloaderColor = 'storm';\n\t\t\t\tbreak;\n\t\t\tcase 'text':\n\t\t\t\tloaderColor = 'indigo';\n\t\t\t\tbreak;\n\t\t}\n\n\t\tconst VariableTag =\n\t\t\tthis.variant === 'text' || this.href?.length || this.as === 'a'\n\t\t\t\t? 'a'\n\t\t\t\t: 'button';\n\n\t\tconst active = this.active || this.class?.includes('active');\n\n\t\treturn (\n\t\t\t<Host class='p-button block'>\n\t\t\t\t<VariableTag\n\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\thref={this.href}\n\t\t\t\t\ttype={this.variant !== 'text' ? this.type : undefined}\n\t\t\t\t\ttarget={this.target}\n\t\t\t\t\tclass={button({\n\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\tunderline: this.underline,\n\t\t\t\t\t\tloading: this.loading,\n\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\tbuttonGroupPosition: this.buttonGroupPosition,\n\t\t\t\t\t\ticonOnly: this.iconOnly,\n\t\t\t\t\t\tactive,\n\t\t\t\t\t})}\n\t\t\t\t>\n\t\t\t\t\t{this.chevron && this.chevronPosition === 'start' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'start' &&\n\t\t\t\t\t\t!(this.iconOnly && this.loading) &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t<slot />\n\n\t\t\t\t\t{this.icon &&\n\t\t\t\t\t\tthis.iconPosition === 'end' &&\n\t\t\t\t\t\t!this.loading &&\n\t\t\t\t\t\t!this.chevron &&\n\t\t\t\t\t\tthis._getIcon()}\n\n\t\t\t\t\t{this.chevron && !this.loading && this.chevronPosition === 'end' && (\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={this.chevron === 'up' ? 180 : 0}\n\t\t\t\t\t\t/>\n\t\t\t\t\t)}\n\n\t\t\t\t\t{this.loading && <p-loader color={loaderColor} />}\n\t\t\t\t</VariableTag>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\t@Listen('click', { capture: true })\n\thandleClick(ev: MouseEvent) {\n\t\tif (this.loading || this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tthis.onClick.emit(ev);\n\t}\n\n\tprivate _getIcon() {\n\t\tif (!this.icon) {\n\t\t\treturn;\n\t\t}\n\n\t\treturn (\n\t\t\t<p-icon\n\t\t\t\tclass={icon({\n\t\t\t\t\tsize: this.size,\n\t\t\t\t})}\n\t\t\t\tvariant={this.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",":host {\n\t-webkit-transform-origin: 50% 51%;\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { TextSizeOptions } from '../../../types/tailwind';\nimport { icons } from '../../../utils/icons';\n\nexport type IconVariant = keyof typeof icons;\nexport type IconFlipOptions = 'none' | 'horizontal' | 'vertical';\n\nconst icon = cva(['p-icon flex'], {\n\tvariants: {\n\t\tflip: {\n\t\t\tnone: null,\n\t\t\thorizontal: 'scale-x-flip',\n\t\t\tvertical: 'scale-y-flip',\n\t\t},\n\t\tsize: {\n\t\t\tauto: 'text-auto',\n\t\t\txxs: 'text-xxs',\n\t\t\txs: 'text-xs',\n\t\t\tsm: 'text-sm',\n\t\t\tbase: 'text-base',\n\t\t\tlg: 'text-lg',\n\t\t\txl: 'text-xl',\n\t\t\t'2xl': 'text-2xl',\n\t\t\t'3xl': 'text-3xl',\n\t\t\t'4xl': 'text-4xl',\n\t\t},\n\t\ttransform: {\n\t\t\ttrue: 'transform-gpu scale-[0.99]',\n\t\t\tfalse: null,\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-icon',\n\tstyleUrl: 'icon.component.scss',\n\t// shadow: true,\n})\nexport class Icon {\n\t/**\n\t * The icon the be displayed\n\t */\n\t@Prop() variant!: IconVariant;\n\n\t/**\n\t * The size of the icon, using tailwind sizes\n\t */\n\t@Prop() size: TextSizeOptions = 'base';\n\n\t/**\n\t * Wether to rotate the icon x degrees\n\t */\n\t@Prop() rotate: number = 0;\n\n\t/**\n\t * Wether to flip the icon horizontally or vertically\n\t */\n\t@Prop() flip: IconFlipOptions = 'none';\n\n\trender() {\n\t\tconst svg = icons[this.variant];\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={icon({\n\t\t\t\t\tflip: this.flip,\n\t\t\t\t\tsize: this.size,\n\t\t\t\t\ttransform: this.flip !== 'none' || this.rotate > 0 || this.rotate < 0,\n\t\t\t\t})}\n\t\t\t\tstyle={{\n\t\t\t\t\t'--tw-rotate': `${this.rotate}deg`,\n\t\t\t\t}}\n\t\t\t\tinnerHTML={svg}\n\t\t\t></Host>\n\t\t);\n\t}\n}\n",":host {\n\t.loader {\n\t\t@apply inline-block h-[1em] w-[1em] rounded-full;\n\t\t@apply border-2 border-solid border-indigo-light border-t-indigo;\n\t\tanimation: 500ms spin linear infinite;\n\n\t\twill-change: transform;\n\n\t\t&.color-storm {\n\t\t\t@apply border-storm-light/40 border-t-storm #{!important};\n\t\t}\n\n\t\t&.color-white {\n\t\t\t@apply border-indigo-light/40 border-t-white #{!important};\n\t\t}\n\t}\n\n\t.loading-screen {\n\t\t@apply w-screen-safe h-screen-safe fixed top-0 left-0;\n\t\t@apply flex items-center justify-center;\n\t\t@apply bg-mystic;\n\n\t\tz-index: 1001;\n\n\t\t.content {\n\t\t\t@apply max-w-xs;\n\n\t\t\t.loader-wrapper {\n\t\t\t\t@apply flex w-full justify-center;\n\n\t\t\t\t.loader {\n\t\t\t\t\t@apply text-4xl;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}\n\n:host(.variant-ghost) {\n\t@apply box-border block;\n\n\twill-change: background, background-position-x, background-color;\n\n\tmin-height: 1em;\n\tmin-width: 1em;\n\n\t--loading-bg: #f7fafc;\n\t--loading-stripe: rgba(252, 253, 254, 1);\n\n\tbackground-color: var(--loading-bg);\n\tbackground: linear-gradient(\n\t\t\t100deg,\n\t\t\trgba(255, 255, 255, 0) 40%,\n\t\t\tvar(--loading-stripe) 50%,\n\t\t\trgba(255, 255, 255, 0) 60%\n\t\t)\n\t\tvar(--loading-bg);\n\tbackground-size: 200% 100%;\n\tbackground-position-x: 180%;\n\tanimation: 1s loading ease-in-out infinite;\n}\n\n@keyframes loading {\n\tto {\n\t\tbackground-position-x: -20%;\n\t}\n}\n\n@keyframes spin {\n\t100% {\n\t\ttransform: rotate(1turn);\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\nimport { Observable, Subscription } from 'rxjs';\n\n@Component({\n\ttag: 'p-loader',\n\tstyleUrl: 'loader.component.scss',\n\tshadow: true,\n})\nexport class Loader {\n\t/**\n\t * Wether to show or hide the loader\n\t */\n\t@Prop() show: boolean | Observable<boolean> = true;\n\n\t/**\n\t * Variant of loader\n\t */\n\t@Prop() variant:\n\t\t| 'inline'\n\t\t| 'full-width'\n\t\t| 'full-screen'\n\t\t| 'modal'\n\t\t| 'ghost' = 'inline';\n\n\t/**\n\t * Color of the loader\n\t */\n\t@Prop() color: 'indigo' | 'white' | 'storm' = 'indigo';\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal title for modal variant\n\t */\n\t@Prop() modalTitle: string;\n\n\t/**\n\t * !NOT IMPLEMENTED! Modal description for modal variant\n\t */\n\t@Prop() modalDescription: string;\n\n\tprivate _show = this.show;\n\tprivate _showSubscriber: Subscription;\n\n\tprivate _loader = (<div class={`loader color-${this.color}`}></div>);\n\n\tcomponentWillRender() {\n\t\tthis._checkShow();\n\t}\n\n\tcomponentShouldUpdate() {\n\t\tthis._checkShow();\n\t}\n\n\trender() {\n\t\tif (!this._show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this.variant === 'ghost') {\n\t\t\treturn <Host class=\"p-loader variant-ghost\"></Host>;\n\t\t}\n\n\t\tif (this.variant === 'full-screen') {\n\t\t\treturn (\n\t\t\t\t<Host class=\"p-loader variant-full-screen\">\n\t\t\t\t\t<div class=\"loading-screen\">\n\t\t\t\t\t\t<div class=\"content\">\n\t\t\t\t\t\t\t<slot />\n\n\t\t\t\t\t\t\t<div class=\"loader-wrapper\">{this._loader}</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t</Host>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={`p-loader variant-default flex ${\n\t\t\t\t\tthis.variant === 'full-width' &&\n\t\t\t\t\t'w-full flex justify-center text-4xl'\n\t\t\t\t}`}\n\t\t\t>\n\t\t\t\t{this._loader}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkShow() {\n\t\tif (this._showSubscriber) {\n\t\t\tthis._showSubscriber.unsubscribe();\n\t\t\tthis._showSubscriber = null;\n\t\t}\n\n\t\tif (typeof this.show !== 'boolean') {\n\t\t\tthis._showSubscriber = this.show?.subscribe(\n\t\t\t\t(show) => (this._show = show)\n\t\t\t);\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show = this.show;\n\t}\n}\n"],"version":3}
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index$1 = require('./index-1fde8b14.js');
5
+ const index$1 = require('./index-02e05522.js');
6
6
  const index = require('./index-b59a0544.js');
7
7
 
8
8
  /**
@@ -394,7 +394,7 @@ function setYear(dirtyDate, dirtyYear) {
394
394
  return date;
395
395
  }
396
396
 
397
- const calendarComponentCss = ".relative{position:relative!important}.block{display:block!important}.flex{display:flex!important}.grid{display:grid!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[12rem\\]{height:12rem!important}.h-auto{height:auto!important}.h-full{height:100%!important}.min-h-\\[12rem\\]{min-height:12rem!important}.w-6{width:1.5rem!important}.w-\\[14rem\\]{width:14rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.self-center{align-self:center!important}.justify-self-center{justify-self:center!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/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-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{color:rgb(82 138 250/var(--tw-text-opacity))!important}.text-indigo,.text-storm{--tw-text-opacity:1!important}.text-storm{color:rgb(81 83 107/var(--tw-text-opacity))!important}.text-storm-medium{--tw-text-opacity:1!important;color:rgb(128 130 158/var(--tw-text-opacity))!important}.opacity-40{opacity:.4!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));display:block;padding:.5rem;width:14rem}:host .view-day,:host .view-month,:host .view-year{display:flex;flex-direction:column;gap:.5rem;height:12rem;width:100%}:host .header{align-items:center;display:flex;font-size:1rem;gap:.25rem;justify-content:space-between;line-height:1.5rem;width:100%}:host .header span{--tw-text-opacity:1;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;height:2rem;padding-left:.5rem;padding-right:.5rem}:host .header span.disabled{cursor:default}:host .header span:hover:not(.disabled){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity))}:host .header span.year{font-weight:600}:host .header .nav{--tw-text-opacity:1;align-items:center;border-radius:100%;color:rgb(82 138 250/var(--tw-text-opacity));cursor:pointer;display:flex;height:1.5rem;justify-content:center;position:relative;text-decoration-line:none;transition-duration:.2s;width:1.5rem}:host .header .nav:hover:not(.disabled){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity))}:host .header .nav.disabled{opacity:0}:host .view-day{height:auto;min-height:12rem}:host .view-day .dates{display:grid;gap:.25rem;grid-template-columns:repeat(7,1fr)}:host .view-day .dates>span{--tw-text-opacity:1;align-self:center;color:rgb(128 130 158/var(--tw-text-opacity));font-size:.75rem;font-weight:600;justify-self:center;line-height:1rem;text-align:center;width:1.5rem}:host .view-day .dates>time{--tw-text-opacity:1;align-items:center;align-self:center;border:1px solid transparent;border-radius:100%;box-sizing:border-box;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;height:1.5rem;justify-content:center;justify-self:center;line-height:1.25rem;transition-duration:.2s;width:1.5rem}:host .view-day .dates>time.current{--tw-border-opacity:1;border-color:rgb(176 178 203/var(--tw-border-opacity))}:host .view-day .dates>time.active{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));border-color:rgb(241 246 255/var(--tw-border-opacity));color:rgb(82 138 250/var(--tw-text-opacity));font-weight:600}:host .view-day .dates>time.disabled,:host .view-day .dates>time.other-month{cursor:default;opacity:.4}:host .view-day .dates>time.disabled{text-decoration-line:line-through}:host .view-day .dates>time:hover:not(.disabled):not(.active):not(.other-month){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));color:rgb(81 83 107/var(--tw-text-opacity))}:host .view-month .items,:host .view-year .items{align-items:center;display:grid;gap:.25rem;grid-template-columns:repeat(3,1fr);height:100%;overflow-y:auto;position:relative;width:100%}:host .view-month .items>div,:host .view-year .items>div{--tw-text-opacity:1;align-items:center;border:1px solid transparent;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity));cursor:pointer;display:flex;font-size:.875rem;height:2rem;justify-content:center;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem}:host .view-month .items>div.current,:host .view-year .items>div.current{--tw-border-opacity:1;border-color:rgb(176 178 203/var(--tw-border-opacity))}:host .view-month .items>div.active,:host .view-year .items>div.active{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity));border-color:rgb(241 246 255/var(--tw-border-opacity));color:rgb(82 138 250/var(--tw-text-opacity));font-weight:600}:host .view-month .items>div.disabled,:host .view-year .items>div.disabled{cursor:default;opacity:.4;text-decoration-line:line-through}:host .view-month .items>div:hover:not(.disabled):not(.active),:host .view-year .items>div:hover:not(.disabled):not(.active){--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity))}:host .view-month .items{grid-template-columns:repeat(2,1fr)}:host .view-year .header{justify-content:center}:host(.variant-default){--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);border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.variant-embedded){padding:0}.static{position:static!important}.col-start-1{grid-column-start:1!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-4{grid-column-start:4!important}.col-start-5{grid-column-start:5!important}.col-start-6{grid-column-start:6!important}.col-start-7{grid-column-start:7!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
397
+ const calendarComponentCss = ".relative{position:relative!important}.block{display:block!important}.flex{display:flex!important}.grid{display:grid!important}.h-6{height:1.5rem!important}.h-8{height:2rem!important}.h-\\[12rem\\]{height:12rem!important}.h-auto{height:auto!important}.h-full{height:100%!important}.min-h-\\[12rem\\]{min-height:12rem!important}.w-6{width:1.5rem!important}.w-\\[14rem\\]{width:14rem!important}.w-full{width:100%!important}.cursor-pointer{cursor:pointer!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-center{justify-content:center!important}.justify-between{justify-content:space-between!important}.gap-1{gap:.25rem!important}.self-center{align-self:center!important}.justify-self-center{justify-self:center!important}.overflow-y-auto{overflow-y:auto!important}.rounded{border-radius:.25rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-indigo-light{--tw-border-opacity:1!important;border-color:rgb(241 246 255/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-2{padding-left:.5rem!important;padding-right:.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-semibold{font-weight:600!important}.text-indigo{color:rgb(82 138 250/var(--tw-text-opacity,1))!important}.text-indigo,.text-storm{--tw-text-opacity:1!important}.text-storm{color:rgb(81 83 107/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}.opacity-40{opacity:.4!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));display:block;padding:.5rem;width:14rem}:host .view-day,:host .view-month,:host .view-year{display:flex;flex-direction:column;gap:.5rem;height:12rem;width:100%}:host .header{align-items:center;display:flex;font-size:1rem;gap:.25rem;justify-content:space-between;line-height:1.5rem;width:100%}:host .header span{--tw-text-opacity:1;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity,1));cursor:pointer;height:2rem;padding-left:.5rem;padding-right:.5rem}:host .header span.disabled{cursor:default}:host .header span:hover:not(.disabled){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}:host .header span.year{font-weight:600}:host .header .nav{--tw-text-opacity:1;align-items:center;border-radius:9999px;color:rgb(82 138 250/var(--tw-text-opacity,1));cursor:pointer;display:flex;height:1.5rem;justify-content:center;position:relative;text-decoration-line:none;transition-duration:.2s;width:1.5rem}:host .header .nav:hover:not(.disabled){--tw-bg-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1))}:host .header .nav.disabled{opacity:0}:host .view-day{height:auto;min-height:12rem}:host .view-day .dates{display:grid;gap:.25rem;grid-template-columns:repeat(7,1fr)}:host .view-day .dates>span{--tw-text-opacity:1;align-self:center;color:rgb(128 130 158/var(--tw-text-opacity,1));font-size:.75rem;font-weight:600;justify-self:center;line-height:1rem;text-align:center;width:1.5rem}:host .view-day .dates>time{--tw-text-opacity:1;align-items:center;align-self:center;border:1px solid transparent;border-radius:9999px;box-sizing:border-box;color:rgb(81 83 107/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-size:.875rem;height:1.5rem;justify-content:center;justify-self:center;line-height:1.25rem;transition-duration:.2s;width:1.5rem}:host .view-day .dates>time.current{--tw-border-opacity:1;border-color:rgb(176 178 203/var(--tw-border-opacity,1))}:host .view-day .dates>time.active{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1));border-color:rgb(241 246 255/var(--tw-border-opacity,1));color:rgb(82 138 250/var(--tw-text-opacity,1));font-weight:600}:host .view-day .dates>time.disabled,:host .view-day .dates>time.other-month{cursor:default;opacity:.4}:host .view-day .dates>time.disabled{text-decoration-line:line-through}:host .view-day .dates>time:hover:not(.disabled):not(.active):not(.other-month){--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1));color:rgb(81 83 107/var(--tw-text-opacity,1))}:host .view-month .items,:host .view-year .items{align-items:center;display:grid;gap:.25rem;grid-template-columns:repeat(3,1fr);height:100%;overflow-y:auto;position:relative;width:100%}:host .view-month .items>div,:host .view-year .items>div{--tw-text-opacity:1;align-items:center;border:1px solid transparent;border-radius:.25rem;color:rgb(81 83 107/var(--tw-text-opacity,1));cursor:pointer;display:flex;font-size:.875rem;height:2rem;justify-content:center;line-height:1.25rem;padding-left:.5rem;padding-right:.5rem}:host .view-month .items>div.current,:host .view-year .items>div.current{--tw-border-opacity:1;border-color:rgb(176 178 203/var(--tw-border-opacity,1))}:host .view-month .items>div.active,:host .view-year .items>div.active{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;background-color:rgb(241 246 255/var(--tw-bg-opacity,1));border-color:rgb(241 246 255/var(--tw-border-opacity,1));color:rgb(82 138 250/var(--tw-text-opacity,1));font-weight:600}:host .view-month .items>div.disabled,:host .view-year .items>div.disabled{cursor:default;opacity:.4;text-decoration-line:line-through}:host .view-month .items>div:hover:not(.disabled):not(.active),:host .view-year .items>div:hover:not(.disabled):not(.active){--tw-bg-opacity:1;background-color:rgb(247 250 252/var(--tw-bg-opacity,1))}:host .view-month .items{grid-template-columns:repeat(2,1fr)}:host .view-year .header{justify-content:center}:host(.variant-default){--tw-shadow:0 1px 1px rgba(0,2,2,.08),0 2px 2px rgba(0,2,2,.08),0 4px 4px rgba(0,2,2,.08);--tw-shadow-colored:0 1px 1px var(--tw-shadow-color),0 2px 2px var(--tw-shadow-color),0 4px 4px var(--tw-shadow-color);border-radius:.25rem;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}:host(.variant-embedded){padding:0}.static{position:static!important}.col-start-1{grid-column-start:1!important}.col-start-2{grid-column-start:2!important}.col-start-3{grid-column-start:3!important}.col-start-4{grid-column-start:4!important}.col-start-5{grid-column-start:5!important}.col-start-6{grid-column-start:6!important}.col-start-7{grid-column-start:7!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}";
398
398
 
399
399
  const Calendar = class {
400
400
  constructor(hostRef) {
@@ -485,13 +485,13 @@ const Calendar = class {
485
485
  }
486
486
  // normalize all to date
487
487
  this._disabledDates = disabledDates
488
- .map((date) => {
488
+ .map(date => {
489
489
  if (typeof date === 'string') {
490
490
  return new Date(date);
491
491
  }
492
492
  return date;
493
493
  })
494
- .filter((date) => index.isValid(date));
494
+ .filter(date => index.isValid(date));
495
495
  }
496
496
  render() {
497
497
  return (index$1.h(index$1.Host, { class: `p-calendar variant-${this.variant}` }, this._getView()));
@@ -510,20 +510,19 @@ const Calendar = class {
510
510
  */
511
511
  _getDayView() {
512
512
  const daysInMonth = this._generateDaysInMonth();
513
- return (index$1.h("div", { class: "view-day" }, index$1.h("div", { class: "header" }, index$1.h("div", { class: `nav ${!this._canSetAmount('month', -1) && 'disabled'}`, onClick: () => this._changeMonth(-1) }, index$1.h("p-icon", { variant: "chevron", rotate: 90 })), index$1.h("div", null, index$1.h("span", { onClick: () => this._changeView('month'), class: !this._canChangeView('month') && 'disabled' }, index.format(this._viewDate, 'MMMM')), index$1.h("span", { onClick: () => this._changeView('year'), class: `year ${!this._canChangeView('year') && 'disabled'}` }, getYear(this._viewDate))), index$1.h("div", { class: `nav ${!this._canSetAmount('month', 1) && 'disabled'}`, onClick: () => this._changeMonth(1) }, index$1.h("p-icon", { variant: "chevron", rotate: -90 }))), index$1.h("div", { class: "dates" }, this._weekDays.map((weekday) => (index$1.h("span", null, index.format(addDays(new Date(2022, 7, 1), weekday), 'eee')))), daysInMonth.map((day) => {
514
- return (index$1.h("time", { class: `day ${day.active && 'active'} ${day.disabled && 'disabled'} ${day.current && 'current'} ${day.offset !== false &&
515
- `col-start-${day.offset}`}`, onClick: () => this._setValue(day.date) }, day.day));
513
+ return (index$1.h("div", { class: 'view-day' }, index$1.h("div", { class: 'header' }, index$1.h("div", { class: `nav ${!this._canSetAmount('month', -1) && 'disabled'}`, onClick: () => this._changeMonth(-1) }, index$1.h("p-icon", { variant: 'caret', rotate: 90 })), index$1.h("div", null, index$1.h("span", { onClick: () => this._changeView('month'), class: !this._canChangeView('month') && 'disabled' }, index.format(this._viewDate, 'MMMM')), index$1.h("span", { onClick: () => this._changeView('year'), class: `year ${!this._canChangeView('year') && 'disabled'}` }, getYear(this._viewDate))), index$1.h("div", { class: `nav ${!this._canSetAmount('month', 1) && 'disabled'}`, onClick: () => this._changeMonth(1) }, index$1.h("p-icon", { variant: 'caret', rotate: -90 }))), index$1.h("div", { class: 'dates' }, this._weekDays.map(weekday => (index$1.h("span", null, index.format(addDays(new Date(2022, 7, 1), weekday), 'eee')))), daysInMonth.map(day => {
514
+ return (index$1.h("time", { class: `day ${day.active && 'active'} ${day.disabled && 'disabled'} ${day.current && 'current'} ${day.offset !== false && `col-start-${day.offset}`}`, onClick: () => this._setValue(day.date) }, day.day));
516
515
  }))));
517
516
  }
518
517
  _getMonthView() {
519
518
  const months = this._generateMonths();
520
- return (index$1.h("div", { class: "view-month" }, index$1.h("div", { class: "header" }, index$1.h("div", { class: `nav ${!this._canSetAmount('year', -1) && 'disabled'}`, onClick: () => this._changeYear(-1) }, index$1.h("p-icon", { variant: "chevron", rotate: 90 })), index$1.h("div", null, index$1.h("span", { onClick: () => this._changeView('year'), class: `year ${!this._canChangeView('year') && 'disabled'}` }, getYear(this._viewDate))), index$1.h("div", { class: `nav ${!this._canSetAmount('year', 1) && 'disabled'}`, onClick: () => this._changeYear(1) }, index$1.h("p-icon", { variant: "chevron", rotate: -90 }))), index$1.h("div", { class: "items" }, months.map((month) => (index$1.h("div", { onClick: () => this._setMonth(month.month), class: `month ${month.active && 'active'} ${month.disabled && 'disabled'} ${month.current && 'current'}` }, index.format(setMonth(new Date(), month.month), 'MMMM')))))));
519
+ return (index$1.h("div", { class: 'view-month' }, index$1.h("div", { class: 'header' }, index$1.h("div", { class: `nav ${!this._canSetAmount('year', -1) && 'disabled'}`, onClick: () => this._changeYear(-1) }, index$1.h("p-icon", { variant: 'caret', rotate: 90 })), index$1.h("div", null, index$1.h("span", { onClick: () => this._changeView('year'), class: `year ${!this._canChangeView('year') && 'disabled'}` }, getYear(this._viewDate))), index$1.h("div", { class: `nav ${!this._canSetAmount('year', 1) && 'disabled'}`, onClick: () => this._changeYear(1) }, index$1.h("p-icon", { variant: 'caret', rotate: -90 }))), index$1.h("div", { class: 'items' }, months.map(month => (index$1.h("div", { onClick: () => this._setMonth(month.month), class: `month ${month.active && 'active'} ${month.disabled && 'disabled'} ${month.current && 'current'}` }, index.format(setMonth(new Date(), month.month), 'MMMM')))))));
521
520
  }
522
521
  _getYearView() {
523
522
  const years = this._generateYears();
524
- return (index$1.h("div", { class: "view-year" }, index$1.h("div", { class: "header" }, index$1.h("div", null, index$1.h("span", { class: "year disabled" }, years === null || years === void 0 ? void 0 :
523
+ return (index$1.h("div", { class: 'view-year' }, index$1.h("div", { class: 'header' }, index$1.h("div", null, index$1.h("span", { class: 'year disabled' }, years === null || years === void 0 ? void 0 :
525
524
  years[0].year, " - ", years === null || years === void 0 ? void 0 :
526
- years[years.length - 1].year))), index$1.h("div", { class: "items" }, years.map((year) => (index$1.h("div", { onClick: () => this._setYear(year.year), class: `year ${year.active && 'active'} ${year.current && 'current'}` }, year.year))))));
525
+ years[years.length - 1].year))), index$1.h("div", { class: 'items' }, years.map(year => (index$1.h("div", { onClick: () => this._setYear(year.year), class: `year ${year.active && 'active'} ${year.current && 'current'}` }, year.year))))));
527
526
  }
528
527
  _setYear(year) {
529
528
  const date = setYear(this._viewDate, year);
@@ -579,7 +578,7 @@ const Calendar = class {
579
578
  }
580
579
  _generateDaysInMonth() {
581
580
  const days = Array.from(Array(getDaysInMonth(this._viewDate)).keys());
582
- return days.map((day) => {
581
+ return days.map(day => {
583
582
  day = day + 1;
584
583
  const date = setDate(this._viewDate, day);
585
584
  const dayOfWeek = getDay(date);
@@ -596,14 +595,13 @@ const Calendar = class {
596
595
  _isDisabledDay(day) {
597
596
  return ((index.isBefore(day, this._minDate) && !index.isSameDay(day, this._maxDate)) ||
598
597
  (index.isAfter(day, this._maxDate) && !index.isSameDay(day, this._maxDate)) ||
599
- ((getDay(day) === 0 || getDay(day) === 6) &&
600
- this.disableWeekends) ||
601
- this._disabledDates.findIndex((date) => index.isSameDay(date, day)) >= 0);
598
+ ((getDay(day) === 0 || getDay(day) === 6) && this.disableWeekends) ||
599
+ this._disabledDates.findIndex(date => index.isSameDay(date, day)) >= 0);
602
600
  }
603
601
  _generateMonths() {
604
602
  const year = getYear(this._viewDate);
605
603
  const months = Array.from(Array(12).keys());
606
- return months.map((month) => {
604
+ return months.map(month => {
607
605
  const date = new Date(year, month, 1);
608
606
  return {
609
607
  month,
@@ -617,7 +615,7 @@ const Calendar = class {
617
615
  _generateYears() {
618
616
  const maxYear = getYear(this._maxDate) + 1;
619
617
  const minYear = getYear(this._minDate);
620
- return Array.from(Array(maxYear - minYear).keys()).map((index) => {
618
+ return Array.from(Array(maxYear - minYear).keys()).map(index => {
621
619
  const year = minYear + index;
622
620
  return {
623
621
  year,
@@ -675,8 +673,7 @@ const Calendar = class {
675
673
  if (type === 'year') {
676
674
  let newDate = addYears(this._viewDate, amount);
677
675
  const year = getYear(newDate);
678
- if (year < getYear(this._minDate) ||
679
- year > getYear(this._maxDate)) {
676
+ if (year < getYear(this._minDate) || year > getYear(this._maxDate)) {
680
677
  return false;
681
678
  }
682
679
  }
@@ -1 +1 @@
1
- {"file":"p-calendar.entry.cjs.js","mappings":";;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGC,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAGC,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACrB,IAAI,OAAO,IAAI,IAAI,CAAC,GAAG,CAAC,CAAC;AACzB,GAAG;AACH,EAAE,IAAI,CAAC,MAAM,EAAE;AACf;AACA,IAAI,OAAO,IAAI,CAAC;AAChB,GAAG;AACH,EAAE,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,EAAE,GAAG,MAAM,CAAC,CAAC;AACxC,EAAE,OAAO,IAAI,CAAC;AACd;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,SAAS,CAAC,SAAS,EAAE,WAAW,EAAE;AAC1D,EAAEF,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGC,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAGC,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AK,OAAO,EAAE;MACrB,MAAM,OAAO,GAAG,SAAS,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;MAClD,MAAM,YAAY,GAAG,YAAY,CAAC,OAAO,CAAC,CAAC;MAC3C,IACC,CAACA,cAAQ,CAAC,YAAY,EAAE,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;QACnD,CAACO,eAAS,CAAC,YAAY,EAAE,IAAI,CAAC,QAAQ,CAAC;QACxCN,aAAO,CAAC,YAAY,EAAE,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,EAC/C;QACD,OAAO,KAAK,CAAC;OACb;KACD;IAED,IAAI,IAAI,KAAK,MAAM,EAAE;MACpB,IAAI,OAAO,GAAG,QAAQ,CAAC,IAAI,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;MAC/C,MAAM,IAAI,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;MAC9B,IACC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC;QAC7B,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,QAAQ,CAAC,EAC5B;QACD,OAAO,KAAK,CAAC;OACb;KACD;IAED,OAAO,IAAI,CAAC;GACZ;EAEO,gBAAgB;IACvB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAEtC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC;IAEjC,OAAO,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;GAC3B;;;;;;;;;;;;;","names":["requiredArgs","toDate","toInteger","isBefore","isAfter","isValid","h","Host","format","startOfDay","isSameDay"],"sources":["../../node_modules/date-fns/esm/addDays/index.js","../../node_modules/date-fns/esm/addMonths/index.js","../../node_modules/date-fns/esm/addYears/index.js","../../node_modules/date-fns/esm/endOfMonth/index.js","../../node_modules/date-fns/esm/startOfMonth/index.js","../../node_modules/date-fns/esm/getDay/index.js","../../node_modules/date-fns/esm/getDaysInMonth/index.js","../../node_modules/date-fns/esm/getYear/index.js","../../node_modules/date-fns/esm/isSameMonth/index.js","../../node_modules/date-fns/esm/isSameYear/index.js","../../node_modules/date-fns/esm/setMonth/index.js","../../node_modules/date-fns/esm/setDate/index.js","../../node_modules/date-fns/esm/setYear/index.js","src/components/molecules/calendar/calendar.component.scss?tag=p-calendar&encapsulation=shadow","src/components/molecules/calendar/calendar.component.tsx"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n var dayOfMonth = date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the years added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport default function addYears(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, amount * 12);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport default function endOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport default function startOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDay\n * @category Weekday Helpers\n * @summary Get the day of the week of the given date.\n *\n * @description\n * Get the day of the week of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {0|1|2|3|4|5|6} the day of week, 0 represents Sunday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which day of the week is 29 February 2012?\n * const result = getDay(new Date(2012, 1, 29))\n * //=> 3\n */\nexport default function getDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var day = date.getDay();\n return day;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the number of days in a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // How many days are in February 2000?\n * const result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nexport default function getDaysInMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getFullYear();\n var monthIndex = date.getMonth();\n var lastDayOfMonth = new Date(0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getYear\n * @category Year Helpers\n * @summary Get the year of the given date.\n *\n * @description\n * Get the year of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which year is 2 July 2014?\n * const result = getYear(new Date(2014, 6, 2))\n * //=> 2014\n */\nexport default function getYear(dirtyDate) {\n requiredArgs(1, arguments);\n return toDate(dirtyDate).getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameMonth\n * @category Month Helpers\n * @summary Are the given dates in the same month (and year)?\n *\n * @description\n * Are the given dates in the same month (and year)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same month (and year)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n *\n * @example\n * // Are 2 September 2014 and 25 September 2015 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))\n * //=> false\n */\nexport default function isSameMonth(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getDaysInMonth from \"../getDaysInMonth/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setMonth\n * @category Month Helpers\n * @summary Set the month to the given date.\n *\n * @description\n * Set the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} month - the month of the new date\n * @returns {Date} the new date with the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set February to 1 September 2014:\n * const result = setMonth(new Date(2014, 8, 1), 1)\n * //=> Sat Feb 01 2014 00:00:00\n */\nexport default function setMonth(dirtyDate, dirtyMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var month = toInteger(dirtyMonth);\n var year = date.getFullYear();\n var day = date.getDate();\n var dateWithDesiredMonth = new Date(0);\n dateWithDesiredMonth.setFullYear(year, month, 15);\n dateWithDesiredMonth.setHours(0, 0, 0, 0);\n var daysInMonth = getDaysInMonth(dateWithDesiredMonth);\n // Set the last day of the new month\n // if the original date was the last day of the longer month\n date.setMonth(month, Math.min(day, daysInMonth));\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setDate\n * @category Day Helpers\n * @summary Set the day of the month to the given date.\n *\n * @description\n * Set the day of the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} dayOfMonth - the day of the month of the new date\n * @returns {Date} the new date with the day of the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set the 30th day of the month to 1 September 2014:\n * const result = setDate(new Date(2014, 8, 1), 30)\n * //=> Tue Sep 30 2014 00:00:00\n */\nexport default function setDate(dirtyDate, dirtyDayOfMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var dayOfMonth = toInteger(dirtyDayOfMonth);\n date.setDate(dayOfMonth);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setYear\n * @category Year Helpers\n * @summary Set the year to the given date.\n *\n * @description\n * Set the year to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} year - the year of the new date\n * @returns {Date} the new date with the year set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set year 2013 to 1 September 2014:\n * const result = setYear(new Date(2014, 8, 1), 2013)\n * //=> Sun Sep 01 2013 00:00:00\n */\nexport default function setYear(dirtyDate, dirtyYear) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var year = toInteger(dirtyYear);\n\n // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date\n if (isNaN(date.getTime())) {\n return new Date(NaN);\n }\n date.setFullYear(year);\n return date;\n}",":host {\n\t@apply block bg-white p-2;\n\t@apply w-[14rem];\n\n\t.view-day,\n\t.view-month,\n\t.view-year {\n\t\t@apply flex flex-col gap-2;\n\t\t@apply w-full h-[12rem];\n\t}\n\n\t.header {\n\t\t@apply flex justify-between items-center gap-1;\n\t\t@apply text-base;\n\t\t@apply w-full;\n\n\t\tspan {\n\t\t\t@apply cursor-pointer h-8 px-2 rounded text-storm;\n\n\t\t\t&.disabled {\n\t\t\t\t@apply cursor-default;\n\t\t\t}\n\n\t\t\t&:hover:not(.disabled) {\n\t\t\t\t@apply bg-indigo-light;\n\t\t\t}\n\n\t\t\t&.year {\n\t\t\t\t@apply font-semibold;\n\t\t\t}\n\t\t}\n\n\t\t.nav {\n\t\t\t@apply relative flex justify-center items-center cursor-pointer;\n\t\t\t@apply no-underline;\n\t\t\t@apply text-indigo;\n\t\t\t@apply w-6 h-6 rounded-round;\n\t\t\ttransition-duration: 0.2s;\n\n\t\t\t&:hover:not(.disabled) {\n\t\t\t\t@apply bg-indigo-light;\n\t\t\t}\n\n\t\t\t&.disabled {\n\t\t\t\t@apply opacity-0;\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-day {\n\t\t@apply h-auto min-h-[12rem];\n\n\t\t.dates {\n\t\t\t@apply grid gap-1;\n\t\t\tgrid-template-columns: repeat(7, 1fr);\n\n\t\t\t> span {\n\t\t\t\t@apply text-storm-medium font-semibold text-xs;\n\t\t\t\t@apply w-6;\n\t\t\t\t@apply self-center justify-self-center text-center;\n\t\t\t}\n\n\t\t\t> time {\n\t\t\t\t@apply flex justify-center items-center;\n\t\t\t\t@apply cursor-pointer;\n\t\t\t\t@apply w-6 h-6 box-border;\n\t\t\t\t@apply justify-self-center self-center;\n\t\t\t\t@apply rounded-round;\n\n\t\t\t\t@apply text-storm text-sm;\n\t\t\t\t@apply border border-solid border-transparent;\n\n\t\t\t\ttransition-duration: 0.2s;\n\n\t\t\t\t&.current {\n\t\t\t\t\t@apply border-storm-light;\n\t\t\t\t}\n\n\t\t\t\t&.active {\n\t\t\t\t\t@apply bg-indigo-light border-indigo-light text-indigo font-semibold;\n\t\t\t\t}\n\n\t\t\t\t&.other-month,\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply opacity-40 cursor-default;\n\t\t\t\t}\n\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply line-through;\n\t\t\t\t}\n\n\t\t\t\t&:hover:not(.disabled):not(.active):not(.other-month) {\n\t\t\t\t\t@apply bg-indigo-light text-storm;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-month,\n\t.view-year {\n\t\t.items {\n\t\t\t@apply relative grid overflow-y-auto gap-1 w-full;\n\t\t\t@apply h-full items-center;\n\t\t\tgrid-template-columns: repeat(3, 1fr);\n\n\t\t\t> div {\n\t\t\t\t@apply cursor-pointer;\n\t\t\t\t@apply flex justify-center items-center;\n\t\t\t\t@apply text-sm h-8 px-2 rounded;\n\t\t\t\t@apply text-storm;\n\t\t\t\t@apply border border-solid border-transparent;\n\n\t\t\t\t&.current {\n\t\t\t\t\t@apply border-storm-light;\n\t\t\t\t}\n\n\t\t\t\t&.active {\n\t\t\t\t\t@apply bg-indigo-light border-indigo-light text-indigo font-semibold;\n\t\t\t\t}\n\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply line-through;\n\t\t\t\t\t@apply opacity-40 cursor-default;\n\t\t\t\t}\n\n\t\t\t\t&:hover:not(.disabled):not(.active) {\n\t\t\t\t\t@apply bg-mystic;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-month {\n\t\t.items {\n\t\t\tgrid-template-columns: repeat(2, 1fr);\n\t\t}\n\t}\n\n\t.view-year {\n\t\t.header {\n\t\t\t@apply justify-center;\n\t\t}\n\t}\n}\n\n:host(.variant-default) {\n\t@apply rounded shadow-4;\n}\n\n:host(.variant-embedded) {\n\t@apply p-0;\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport {\n\taddDays,\n\taddMonths,\n\taddYears,\n\tendOfMonth,\n\tformat,\n\tgetDay,\n\tgetDaysInMonth,\n\tgetYear,\n\tisAfter,\n\tisBefore,\n\tisSameDay,\n\tisSameMonth,\n\tisSameYear,\n\tisValid,\n\tsetDate,\n\tsetMonth,\n\tsetYear,\n\tstartOfDay,\n\tstartOfMonth,\n} from 'date-fns';\n\n@Component({\n\ttag: 'p-calendar',\n\tstyleUrl: 'calendar.component.scss',\n\tshadow: true,\n})\nexport class Calendar {\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant: 'default' | 'embedded' = 'default';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value?: Date | string;\n\n\t/**\n\t * Wether to automatically preselect today\n\t */\n\t@Prop() preselectToday: boolean = false;\n\n\t/**\n\t * Disabled dates\n\t */\n\t@Prop() disabledDates?: Array<Date | string> | string;\n\n\t/**\n\t * Min date\n\t */\n\t@Prop() minDate: Date | string = new Date(1970, 0, 1);\n\n\t/**\n\t * Max date\n\t */\n\t@Prop() maxDate: Date | string = this._getAutomaticMax();\n\n\t/**\n\t * Wether to disable the weekends\n\t */\n\t@Prop() disableWeekends: boolean = false;\n\n\t/**\n\t * The mode of the datepicker\n\t */\n\t@Prop() mode: 'year' | 'month' | 'day' = 'day';\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 * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _today = new Date();\n\t@State() private _view: 'year' | 'month' | 'day' = this.mode;\n\t@State() private _viewDate = this._today;\n\n\t@State() private _value: Date;\n\t@State() private _minDate: Date;\n\t@State() private _maxDate: Date;\n\t@State() private _disabledDates: Date[] = [];\n\n\tprivate _weekDays = Array.from(Array(7).keys());\n\n\tcomponentWillLoad() {\n\t\tif (this.disabledDates) {\n\t\t\tthis._parseDisabledDates(this.disabledDates);\n\t\t}\n\n\t\tif (this.minDate) {\n\t\t\tthis._parseMinDate(this.minDate);\n\t\t}\n\n\t\tif (this.maxDate) {\n\t\t\tthis._parseMaxDate(this.maxDate);\n\t\t}\n\n\t\tthis._parseValue(this.value);\n\n\t\tif (this._value) {\n\t\t\tthis._viewDate = this._value;\n\t\t}\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this._view === 'year') {\n\t\t\tthis._scrollYearIntoView();\n\t\t}\n\t}\n\n\t@Watch('value')\n\tprivate _parseValue(value: string | Date) {\n\t\tif (!value && this.preselectToday) {\n\t\t\tvalue = new Date();\n\t\t}\n\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = new Date(value);\n\t\t}\n\n\t\tthis._setValue(value);\n\t}\n\n\t@Watch('minDate')\n\tprivate _parseMinDate(minDate: string | Date) {\n\t\tif (typeof minDate === 'string') {\n\t\t\tminDate = new Date(minDate);\n\t\t}\n\n\t\tif (!isValid(minDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._minDate = minDate;\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\t}\n\n\t@Watch('maxDate')\n\tprivate _parseMaxDate(maxDate: string | Date) {\n\t\tif (typeof maxDate === 'string') {\n\t\t\tmaxDate = new Date(maxDate);\n\t\t}\n\n\t\tif (!isValid(maxDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._maxDate = maxDate;\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\t@Watch('disabledDates')\n\tprivate _parseDisabledDates(disabledDates: Array<string | Date> | string) {\n\t\tif (typeof disabledDates === 'string') {\n\t\t\tdisabledDates = JSON.parse(disabledDates);\n\t\t}\n\n\t\tif (!disabledDates || !Array.isArray(disabledDates)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// normalize all to date\n\t\tthis._disabledDates = disabledDates\n\t\t\t.map((date) => {\n\t\t\t\tif (typeof date === 'string') {\n\t\t\t\t\treturn new Date(date);\n\t\t\t\t}\n\n\t\t\t\treturn date;\n\t\t\t})\n\t\t\t.filter((date) => isValid(date));\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-calendar variant-${this.variant}`}>\n\t\t\t\t{this._getView()}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getView() {\n\t\tif (this._view === 'year') {\n\t\t\treturn this._getYearView();\n\t\t}\n\n\t\tif (this._view === 'month') {\n\t\t\treturn this._getMonthView();\n\t\t}\n\n\t\treturn this._getDayView();\n\t}\n\n\t/* With this, we shall hack the system in ways no one would ever have thought.\n <div class=\"col-start-1 col-start-2 col-start-3 col-start-4 col-start-5 col-start-6 col-start-7\"></div>\n */\n\tprivate _getDayView() {\n\t\tconst daysInMonth = this._generateDaysInMonth();\n\t\treturn (\n\t\t\t<div class=\"view-day\">\n\t\t\t\t<div class=\"header\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${\n\t\t\t\t\t\t\t!this._canSetAmount('month', -1) && 'disabled'\n\t\t\t\t\t\t}`}\n\t\t\t\t\t\tonClick={() => this._changeMonth(-1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon variant=\"chevron\" rotate={90} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('month')}\n\t\t\t\t\t\t\tclass={!this._canChangeView('month') && 'disabled'}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(this._viewDate, 'MMMM')}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('year')}\n\t\t\t\t\t\t\tclass={`year ${\n\t\t\t\t\t\t\t\t!this._canChangeView('year') && 'disabled'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{getYear(this._viewDate)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${\n\t\t\t\t\t\t\t!this._canSetAmount('month', 1) && 'disabled'\n\t\t\t\t\t\t}`}\n\t\t\t\t\t\tonClick={() => this._changeMonth(1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon variant=\"chevron\" rotate={-90} />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"dates\">\n\t\t\t\t\t{this._weekDays.map((weekday) => (\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\t{format(\n\t\t\t\t\t\t\t\taddDays(new Date(2022, 7, 1), weekday),\n\t\t\t\t\t\t\t\t'eee'\n\t\t\t\t\t\t\t)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t))}\n\t\t\t\t\t{daysInMonth.map((day) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<time\n\t\t\t\t\t\t\t\tclass={`day ${day.active && 'active'} ${\n\t\t\t\t\t\t\t\t\tday.disabled && 'disabled'\n\t\t\t\t\t\t\t\t} ${day.current && 'current'} ${\n\t\t\t\t\t\t\t\t\tday.offset !== false &&\n\t\t\t\t\t\t\t\t\t`col-start-${day.offset}`\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tonClick={() => this._setValue(day.date)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{day.day}\n\t\t\t\t\t\t\t</time>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getMonthView() {\n\t\tconst months = this._generateMonths();\n\t\treturn (\n\t\t\t<div class=\"view-month\">\n\t\t\t\t<div class=\"header\">\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${\n\t\t\t\t\t\t\t!this._canSetAmount('year', -1) && 'disabled'\n\t\t\t\t\t\t}`}\n\t\t\t\t\t\tonClick={() => this._changeYear(-1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon variant=\"chevron\" rotate={90} />\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('year')}\n\t\t\t\t\t\t\tclass={`year ${\n\t\t\t\t\t\t\t\t!this._canChangeView('year') && 'disabled'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{getYear(this._viewDate)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${\n\t\t\t\t\t\t\t!this._canSetAmount('year', 1) && 'disabled'\n\t\t\t\t\t\t}`}\n\t\t\t\t\t\tonClick={() => this._changeYear(1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon variant=\"chevron\" rotate={-90} />\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"items\">\n\t\t\t\t\t{months.map((month) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._setMonth(month.month)}\n\t\t\t\t\t\t\tclass={`month ${month.active && 'active'} ${\n\t\t\t\t\t\t\t\tmonth.disabled && 'disabled'\n\t\t\t\t\t\t\t} ${month.current && 'current'}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(setMonth(new Date(), month.month), 'MMMM')}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getYearView() {\n\t\tconst years = this._generateYears();\n\t\treturn (\n\t\t\t<div class=\"view-year\">\n\t\t\t\t<div class=\"header\">\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span class=\"year disabled\">\n\t\t\t\t\t\t\t{years?.[0].year} - {years?.[years.length - 1].year}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class=\"items\">\n\t\t\t\t\t{years.map((year) => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._setYear(year.year)}\n\t\t\t\t\t\t\tclass={`year ${year.active && 'active'} ${\n\t\t\t\t\t\t\t\tyear.current && 'current'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{year.year}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setYear(year: number) {\n\t\tconst date = setYear(this._viewDate, year);\n\t\tif (this.mode === 'year') {\n\t\t\treturn this._setValue(setMonth(setDate(date, 1), 0));\n\t\t}\n\n\t\tthis._viewDate = setYear(this._viewDate, year);\n\t\tthis._view = 'month';\n\t}\n\n\tprivate _setMonth(month: number) {\n\t\tconst date = setMonth(this._viewDate, month);\n\t\tif (this.mode === 'month') {\n\t\t\treturn this._setValue(setDate(date, 1));\n\t\t}\n\n\t\tthis._viewDate = date;\n\t\tthis._view = 'day';\n\t}\n\n\tprivate _changeMonth(amount = 1) {\n\t\tconst allowed = this._canSetAmount('month', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _changeYear(amount = 1) {\n\t\tconst allowed = this._canSetAmount('year', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet newDate = addYears(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _setValue(value: Date) {\n\t\tif (value === null) {\n\t\t\tthis._value = null;\n\t\t\tthis.valueChange.emit(null);\n\t\t\treturn;\n\t\t}\n\n\t\tif (!isValid(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._isDisabledDay(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvalue = startOfDay(value);\n\t\tconst isSameValue = isSameDay(value, this._value);\n\n\t\tif (isSameValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _generateDaysInMonth() {\n\t\tconst days = Array.from(Array(getDaysInMonth(this._viewDate)).keys());\n\n\t\treturn days.map((day) => {\n\t\t\tday = day + 1;\n\t\t\tconst date = setDate(this._viewDate, day);\n\n\t\t\tconst dayOfWeek = getDay(date);\n\t\t\treturn {\n\t\t\t\tday,\n\t\t\t\tdate,\n\t\t\t\toffset: day === 1 ? (dayOfWeek === 0 ? 7 : dayOfWeek) : false,\n\t\t\t\tcurrent: isSameDay(date, this._today),\n\t\t\t\tactive: isSameDay(date, this._value),\n\t\t\t\tdisabled: this._isDisabledDay(date),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _isDisabledDay(day: Date) {\n\t\treturn (\n\t\t\t(isBefore(day, this._minDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t(isAfter(day, this._maxDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t((getDay(day) === 0 || getDay(day) === 6) &&\n\t\t\t\tthis.disableWeekends) ||\n\t\t\tthis._disabledDates.findIndex((date) => isSameDay(date, day)) >= 0\n\t\t);\n\t}\n\n\tprivate _generateMonths() {\n\t\tconst year = getYear(this._viewDate);\n\t\tconst months = Array.from(Array(12).keys());\n\n\t\treturn months.map((month) => {\n\t\t\tconst date = new Date(year, month, 1);\n\t\t\treturn {\n\t\t\t\tmonth,\n\t\t\t\tcurrent: isSameMonth(this._today, date),\n\t\t\t\tactive: isSameMonth(this._value, date),\n\t\t\t\tdisabled:\n\t\t\t\t\tisAfter(date, this._maxDate) ||\n\t\t\t\t\tisBefore(endOfMonth(date), this._minDate),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _generateYears() {\n\t\tconst maxYear = getYear(this._maxDate) + 1;\n\t\tconst minYear = getYear(this._minDate);\n\n\t\treturn Array.from(Array(maxYear - minYear).keys()).map((index) => {\n\t\t\tconst year = minYear + index;\n\t\t\treturn {\n\t\t\t\tyear,\n\t\t\t\tcurrent: getYear(this._today) === year,\n\t\t\t\tactive: getYear(this._value) === year,\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _scrollYearIntoView() {\n\t\tconst items = this._el.shadowRoot.querySelector('.view-year .items');\n\t\tif (!items) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst active = items.querySelector('.year.active') as HTMLElement;\n\t\tif (active) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: active.offsetTop,\n\t\t\t});\n\t\t}\n\n\t\tconst current = items.querySelector('.year.current') as HTMLElement;\n\t\tif (current) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: current.offsetTop,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate _changeView(view: 'year' | 'month') {\n\t\tif (!this._canChangeView(view)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._view = view;\n\t}\n\n\tprivate _canChangeView(view: 'year' | 'month') {\n\t\tif (view === 'year') {\n\t\t\tif (isSameYear(this._minDate, this._maxDate)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tif (isSameMonth(this._minDate, this._maxDate)) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _canSetAmount(type: 'month' | 'year', amount = 1) {\n\t\tif (type === 'month') {\n\t\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\t\tconst startNewDate = startOfMonth(newDate);\n\t\t\tif (\n\t\t\t\t(isBefore(startNewDate, startOfMonth(this._minDate)) &&\n\t\t\t\t\t!isSameDay(startNewDate, this._minDate)) ||\n\t\t\t\tisAfter(startNewDate, endOfMonth(this._maxDate))\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (type === 'year') {\n\t\t\tlet newDate = addYears(this._viewDate, amount);\n\t\t\tconst year = getYear(newDate);\n\t\t\tif (\n\t\t\t\tyear < getYear(this._minDate) ||\n\t\t\t\tyear > getYear(this._maxDate)\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _getAutomaticMax() {\n\t\tconst date = addYears(new Date(), 50);\n\n\t\tlet year = getYear(date);\n\t\tyear = Math.ceil(year / 10) * 10;\n\n\t\treturn setYear(date, year);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-calendar.entry.cjs.js","mappings":";;;;;;;AAGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACe,SAAS,OAAO,CAAC,SAAS,EAAE,WAAW,EAAE;AACxD,EAAEA,kBAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAC;AAC7B,EAAE,IAAI,IAAI,GAAGC,YAAM,CAAC,SAAS,CAAC,CAAC;AAC/B,EAAE,IAAI,MAAM,GAAGC,eAAS,CAAC,WAAW,CAAC,CAAC;AACtC,EAAE,IAAI,KAAK,CAAC,MAAM,CAAC,EAAE;AACrB,IAAI,OAAO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O,IAAI,CAAC;GACZ;EAEO,gBAAgB;IACvB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;IAEtC,IAAI,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IACzB,IAAI,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,GAAG,EAAE,CAAC,GAAG,EAAE,CAAC;IAEjC,OAAO,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;GAC3B;;;;;;;;;;;;;","names":["requiredArgs","toDate","toInteger","isBefore","isAfter","isValid","h","Host","format","startOfDay","isSameDay"],"sources":["../../node_modules/date-fns/esm/addDays/index.js","../../node_modules/date-fns/esm/addMonths/index.js","../../node_modules/date-fns/esm/addYears/index.js","../../node_modules/date-fns/esm/endOfMonth/index.js","../../node_modules/date-fns/esm/startOfMonth/index.js","../../node_modules/date-fns/esm/getDay/index.js","../../node_modules/date-fns/esm/getDaysInMonth/index.js","../../node_modules/date-fns/esm/getYear/index.js","../../node_modules/date-fns/esm/isSameMonth/index.js","../../node_modules/date-fns/esm/isSameYear/index.js","../../node_modules/date-fns/esm/setMonth/index.js","../../node_modules/date-fns/esm/setDate/index.js","../../node_modules/date-fns/esm/setYear/index.js","src/components/molecules/calendar/calendar.component.scss?tag=p-calendar&encapsulation=shadow","src/components/molecules/calendar/calendar.component.tsx"],"sourcesContent":["import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addDays\n * @category Day Helpers\n * @summary Add the specified number of days to the given date.\n *\n * @description\n * Add the specified number of days to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of days to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} - the new date with the days added\n * @throws {TypeError} - 2 arguments required\n *\n * @example\n * // Add 10 days to 1 September 2014:\n * const result = addDays(new Date(2014, 8, 1), 10)\n * //=> Thu Sep 11 2014 00:00:00\n */\nexport default function addDays(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 days, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n date.setDate(date.getDate() + amount);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addMonths\n * @category Month Helpers\n * @summary Add the specified number of months to the given date.\n *\n * @description\n * Add the specified number of months to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of months to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the months added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 months to 1 September 2014:\n * const result = addMonths(new Date(2014, 8, 1), 5)\n * //=> Sun Feb 01 2015 00:00:00\n */\nexport default function addMonths(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var amount = toInteger(dirtyAmount);\n if (isNaN(amount)) {\n return new Date(NaN);\n }\n if (!amount) {\n // If 0 months, no-op to avoid changing times in the hour before end of DST\n return date;\n }\n var dayOfMonth = date.getDate();\n\n // The JS Date object supports date math by accepting out-of-bounds values for\n // month, day, etc. For example, new Date(2020, 0, 0) returns 31 Dec 2019 and\n // new Date(2020, 13, 1) returns 1 Feb 2021. This is *almost* the behavior we\n // want except that dates will wrap around the end of a month, meaning that\n // new Date(2020, 13, 31) will return 3 Mar 2021 not 28 Feb 2021 as desired. So\n // we'll default to the end of the desired month by adding 1 to the desired\n // month and using a date of 0 to back up one day to the end of the desired\n // month.\n var endOfDesiredMonth = new Date(date.getTime());\n endOfDesiredMonth.setMonth(date.getMonth() + amount + 1, 0);\n var daysInMonth = endOfDesiredMonth.getDate();\n if (dayOfMonth >= daysInMonth) {\n // If we're already at the end of the month, then this is the correct date\n // and we're done.\n return endOfDesiredMonth;\n } else {\n // Otherwise, we now know that setting the original day-of-month value won't\n // cause an overflow, so set the desired day-of-month. Note that we can't\n // just set the date of `endOfDesiredMonth` because that object may have had\n // its time changed in the unusual case where where a DST transition was on\n // the last day of the month and its local time was in the hour skipped or\n // repeated next to a DST transition. So we use `date` instead which is\n // guaranteed to still have the original time.\n date.setFullYear(endOfDesiredMonth.getFullYear(), endOfDesiredMonth.getMonth(), dayOfMonth);\n return date;\n }\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport addMonths from \"../addMonths/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name addYears\n * @category Year Helpers\n * @summary Add the specified number of years to the given date.\n *\n * @description\n * Add the specified number of years to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} amount - the amount of years to be added. Positive decimals will be rounded using `Math.floor`, decimals less than zero will be rounded using `Math.ceil`.\n * @returns {Date} the new date with the years added\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Add 5 years to 1 September 2014:\n * const result = addYears(new Date(2014, 8, 1), 5)\n * //=> Sun Sep 01 2019 00:00:00\n */\nexport default function addYears(dirtyDate, dirtyAmount) {\n requiredArgs(2, arguments);\n var amount = toInteger(dirtyAmount);\n return addMonths(dirtyDate, amount * 12);\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name endOfMonth\n * @category Month Helpers\n * @summary Return the end of a month for the given date.\n *\n * @description\n * Return the end of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the end of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The end of a month for 2 September 2014 11:55:00:\n * const result = endOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Tue Sep 30 2014 23:59:59.999\n */\nexport default function endOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var month = date.getMonth();\n date.setFullYear(date.getFullYear(), month + 1, 0);\n date.setHours(23, 59, 59, 999);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name startOfMonth\n * @category Month Helpers\n * @summary Return the start of a month for the given date.\n *\n * @description\n * Return the start of a month for the given date.\n * The result will be in the local timezone.\n *\n * @param {Date|Number} date - the original date\n * @returns {Date} the start of a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // The start of a month for 2 September 2014 11:55:00:\n * const result = startOfMonth(new Date(2014, 8, 2, 11, 55, 0))\n * //=> Mon Sep 01 2014 00:00:00\n */\nexport default function startOfMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n date.setDate(1);\n date.setHours(0, 0, 0, 0);\n return date;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDay\n * @category Weekday Helpers\n * @summary Get the day of the week of the given date.\n *\n * @description\n * Get the day of the week of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {0|1|2|3|4|5|6} the day of week, 0 represents Sunday\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which day of the week is 29 February 2012?\n * const result = getDay(new Date(2012, 1, 29))\n * //=> 3\n */\nexport default function getDay(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var day = date.getDay();\n return day;\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the number of days in a month\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // How many days are in February 2000?\n * const result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nexport default function getDaysInMonth(dirtyDate) {\n requiredArgs(1, arguments);\n var date = toDate(dirtyDate);\n var year = date.getFullYear();\n var monthIndex = date.getMonth();\n var lastDayOfMonth = new Date(0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name getYear\n * @category Year Helpers\n * @summary Get the year of the given date.\n *\n * @description\n * Get the year of the given date.\n *\n * @param {Date|Number} date - the given date\n * @returns {Number} the year\n * @throws {TypeError} 1 argument required\n *\n * @example\n * // Which year is 2 July 2014?\n * const result = getYear(new Date(2014, 6, 2))\n * //=> 2014\n */\nexport default function getYear(dirtyDate) {\n requiredArgs(1, arguments);\n return toDate(dirtyDate).getFullYear();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameMonth\n * @category Month Helpers\n * @summary Are the given dates in the same month (and year)?\n *\n * @description\n * Are the given dates in the same month (and year)?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same month (and year)\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n *\n * @example\n * // Are 2 September 2014 and 25 September 2015 in the same month?\n * const result = isSameMonth(new Date(2014, 8, 2), new Date(2015, 8, 25))\n * //=> false\n */\nexport default function isSameMonth(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear() && dateLeft.getMonth() === dateRight.getMonth();\n}","import toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name isSameYear\n * @category Year Helpers\n * @summary Are the given dates in the same year?\n *\n * @description\n * Are the given dates in the same year?\n *\n * @param {Date|Number} dateLeft - the first date to check\n * @param {Date|Number} dateRight - the second date to check\n * @returns {Boolean} the dates are in the same year\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Are 2 September 2014 and 25 September 2014 in the same year?\n * const result = isSameYear(new Date(2014, 8, 2), new Date(2014, 8, 25))\n * //=> true\n */\nexport default function isSameYear(dirtyDateLeft, dirtyDateRight) {\n requiredArgs(2, arguments);\n var dateLeft = toDate(dirtyDateLeft);\n var dateRight = toDate(dirtyDateRight);\n return dateLeft.getFullYear() === dateRight.getFullYear();\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport getDaysInMonth from \"../getDaysInMonth/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setMonth\n * @category Month Helpers\n * @summary Set the month to the given date.\n *\n * @description\n * Set the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} month - the month of the new date\n * @returns {Date} the new date with the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set February to 1 September 2014:\n * const result = setMonth(new Date(2014, 8, 1), 1)\n * //=> Sat Feb 01 2014 00:00:00\n */\nexport default function setMonth(dirtyDate, dirtyMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var month = toInteger(dirtyMonth);\n var year = date.getFullYear();\n var day = date.getDate();\n var dateWithDesiredMonth = new Date(0);\n dateWithDesiredMonth.setFullYear(year, month, 15);\n dateWithDesiredMonth.setHours(0, 0, 0, 0);\n var daysInMonth = getDaysInMonth(dateWithDesiredMonth);\n // Set the last day of the new month\n // if the original date was the last day of the longer month\n date.setMonth(month, Math.min(day, daysInMonth));\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setDate\n * @category Day Helpers\n * @summary Set the day of the month to the given date.\n *\n * @description\n * Set the day of the month to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} dayOfMonth - the day of the month of the new date\n * @returns {Date} the new date with the day of the month set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set the 30th day of the month to 1 September 2014:\n * const result = setDate(new Date(2014, 8, 1), 30)\n * //=> Tue Sep 30 2014 00:00:00\n */\nexport default function setDate(dirtyDate, dirtyDayOfMonth) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var dayOfMonth = toInteger(dirtyDayOfMonth);\n date.setDate(dayOfMonth);\n return date;\n}","import toInteger from \"../_lib/toInteger/index.js\";\nimport toDate from \"../toDate/index.js\";\nimport requiredArgs from \"../_lib/requiredArgs/index.js\";\n/**\n * @name setYear\n * @category Year Helpers\n * @summary Set the year to the given date.\n *\n * @description\n * Set the year to the given date.\n *\n * @param {Date|Number} date - the date to be changed\n * @param {Number} year - the year of the new date\n * @returns {Date} the new date with the year set\n * @throws {TypeError} 2 arguments required\n *\n * @example\n * // Set year 2013 to 1 September 2014:\n * const result = setYear(new Date(2014, 8, 1), 2013)\n * //=> Sun Sep 01 2013 00:00:00\n */\nexport default function setYear(dirtyDate, dirtyYear) {\n requiredArgs(2, arguments);\n var date = toDate(dirtyDate);\n var year = toInteger(dirtyYear);\n\n // Check if date is Invalid Date because Date.prototype.setFullYear ignores the value of Invalid Date\n if (isNaN(date.getTime())) {\n return new Date(NaN);\n }\n date.setFullYear(year);\n return date;\n}",":host {\n\t@apply block bg-white p-2;\n\t@apply w-[14rem];\n\n\t.view-day,\n\t.view-month,\n\t.view-year {\n\t\t@apply flex flex-col gap-2;\n\t\t@apply w-full h-[12rem];\n\t}\n\n\t.header {\n\t\t@apply flex justify-between items-center gap-1;\n\t\t@apply text-base;\n\t\t@apply w-full;\n\n\t\tspan {\n\t\t\t@apply cursor-pointer h-8 px-2 rounded text-storm;\n\n\t\t\t&.disabled {\n\t\t\t\t@apply cursor-default;\n\t\t\t}\n\n\t\t\t&:hover:not(.disabled) {\n\t\t\t\t@apply bg-indigo-light;\n\t\t\t}\n\n\t\t\t&.year {\n\t\t\t\t@apply font-semibold;\n\t\t\t}\n\t\t}\n\n\t\t.nav {\n\t\t\t@apply relative flex justify-center items-center cursor-pointer;\n\t\t\t@apply no-underline;\n\t\t\t@apply text-indigo;\n\t\t\t@apply w-6 h-6 rounded-full;\n\t\t\ttransition-duration: 0.2s;\n\n\t\t\t&:hover:not(.disabled) {\n\t\t\t\t@apply bg-indigo-light;\n\t\t\t}\n\n\t\t\t&.disabled {\n\t\t\t\t@apply opacity-0;\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-day {\n\t\t@apply h-auto min-h-[12rem];\n\n\t\t.dates {\n\t\t\t@apply grid gap-1;\n\t\t\tgrid-template-columns: repeat(7, 1fr);\n\n\t\t\t> span {\n\t\t\t\t@apply text-storm-medium font-semibold text-xs;\n\t\t\t\t@apply w-6;\n\t\t\t\t@apply self-center justify-self-center text-center;\n\t\t\t}\n\n\t\t\t> time {\n\t\t\t\t@apply flex justify-center items-center;\n\t\t\t\t@apply cursor-pointer;\n\t\t\t\t@apply w-6 h-6 box-border;\n\t\t\t\t@apply justify-self-center self-center;\n\t\t\t\t@apply rounded-full;\n\n\t\t\t\t@apply text-storm text-sm;\n\t\t\t\t@apply border border-solid border-transparent;\n\n\t\t\t\ttransition-duration: 0.2s;\n\n\t\t\t\t&.current {\n\t\t\t\t\t@apply border-storm-light;\n\t\t\t\t}\n\n\t\t\t\t&.active {\n\t\t\t\t\t@apply bg-indigo-light border-indigo-light text-indigo font-semibold;\n\t\t\t\t}\n\n\t\t\t\t&.other-month,\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply opacity-40 cursor-default;\n\t\t\t\t}\n\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply line-through;\n\t\t\t\t}\n\n\t\t\t\t&:hover:not(.disabled):not(.active):not(.other-month) {\n\t\t\t\t\t@apply bg-indigo-light text-storm;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-month,\n\t.view-year {\n\t\t.items {\n\t\t\t@apply relative grid overflow-y-auto gap-1 w-full;\n\t\t\t@apply h-full items-center;\n\t\t\tgrid-template-columns: repeat(3, 1fr);\n\n\t\t\t> div {\n\t\t\t\t@apply cursor-pointer;\n\t\t\t\t@apply flex justify-center items-center;\n\t\t\t\t@apply text-sm h-8 px-2 rounded;\n\t\t\t\t@apply text-storm;\n\t\t\t\t@apply border border-solid border-transparent;\n\n\t\t\t\t&.current {\n\t\t\t\t\t@apply border-storm-light;\n\t\t\t\t}\n\n\t\t\t\t&.active {\n\t\t\t\t\t@apply bg-indigo-light border-indigo-light text-indigo font-semibold;\n\t\t\t\t}\n\n\t\t\t\t&.disabled {\n\t\t\t\t\t@apply line-through;\n\t\t\t\t\t@apply opacity-40 cursor-default;\n\t\t\t\t}\n\n\t\t\t\t&:hover:not(.disabled):not(.active) {\n\t\t\t\t\t@apply bg-mystic;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t.view-month {\n\t\t.items {\n\t\t\tgrid-template-columns: repeat(2, 1fr);\n\t\t}\n\t}\n\n\t.view-year {\n\t\t.header {\n\t\t\t@apply justify-center;\n\t\t}\n\t}\n}\n\n:host(.variant-default) {\n\t@apply rounded shadow-3;\n}\n\n:host(.variant-embedded) {\n\t@apply p-0;\n}\n","import {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tProp,\n\tState,\n\tWatch,\n} from '@stencil/core';\nimport {\n\taddDays,\n\taddMonths,\n\taddYears,\n\tendOfMonth,\n\tformat,\n\tgetDay,\n\tgetDaysInMonth,\n\tgetYear,\n\tisAfter,\n\tisBefore,\n\tisSameDay,\n\tisSameMonth,\n\tisSameYear,\n\tisValid,\n\tsetDate,\n\tsetMonth,\n\tsetYear,\n\tstartOfDay,\n\tstartOfMonth,\n} from 'date-fns';\n\n@Component({\n\ttag: 'p-calendar',\n\tstyleUrl: 'calendar.component.scss',\n\tshadow: true,\n})\nexport class Calendar {\n\t/**\n\t * The variant of the button\n\t */\n\t@Prop() variant: 'default' | 'embedded' = 'default';\n\n\t/**\n\t * The current value\n\t */\n\t@Prop() value?: Date | string;\n\n\t/**\n\t * Wether to automatically preselect today\n\t */\n\t@Prop() preselectToday: boolean = false;\n\n\t/**\n\t * Disabled dates\n\t */\n\t@Prop() disabledDates?: Array<Date | string> | string;\n\n\t/**\n\t * Min date\n\t */\n\t@Prop() minDate: Date | string = new Date(1970, 0, 1);\n\n\t/**\n\t * Max date\n\t */\n\t@Prop() maxDate: Date | string = this._getAutomaticMax();\n\n\t/**\n\t * Wether to disable the weekends\n\t */\n\t@Prop() disableWeekends: boolean = false;\n\n\t/**\n\t * The mode of the datepicker\n\t */\n\t@Prop() mode: 'year' | 'month' | 'day' = 'day';\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 * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\tprivate _today = new Date();\n\t@State() private _view: 'year' | 'month' | 'day' = this.mode;\n\t@State() private _viewDate = this._today;\n\n\t@State() private _value: Date;\n\t@State() private _minDate: Date;\n\t@State() private _maxDate: Date;\n\t@State() private _disabledDates: Date[] = [];\n\n\tprivate _weekDays = Array.from(Array(7).keys());\n\n\tcomponentWillLoad() {\n\t\tif (this.disabledDates) {\n\t\t\tthis._parseDisabledDates(this.disabledDates);\n\t\t}\n\n\t\tif (this.minDate) {\n\t\t\tthis._parseMinDate(this.minDate);\n\t\t}\n\n\t\tif (this.maxDate) {\n\t\t\tthis._parseMaxDate(this.maxDate);\n\t\t}\n\n\t\tthis._parseValue(this.value);\n\n\t\tif (this._value) {\n\t\t\tthis._viewDate = this._value;\n\t\t}\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\tcomponentDidRender() {\n\t\tif (this._view === 'year') {\n\t\t\tthis._scrollYearIntoView();\n\t\t}\n\t}\n\n\t@Watch('value')\n\tprivate _parseValue(value: string | Date) {\n\t\tif (!value && this.preselectToday) {\n\t\t\tvalue = new Date();\n\t\t}\n\n\t\tif (typeof value === 'string') {\n\t\t\tvalue = new Date(value);\n\t\t}\n\n\t\tthis._setValue(value);\n\t}\n\n\t@Watch('minDate')\n\tprivate _parseMinDate(minDate: string | Date) {\n\t\tif (typeof minDate === 'string') {\n\t\t\tminDate = new Date(minDate);\n\t\t}\n\n\t\tif (!isValid(minDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._minDate = minDate;\n\n\t\tif (isBefore(this._viewDate, this._minDate)) {\n\t\t\tthis._viewDate = this._minDate;\n\t\t}\n\t}\n\n\t@Watch('maxDate')\n\tprivate _parseMaxDate(maxDate: string | Date) {\n\t\tif (typeof maxDate === 'string') {\n\t\t\tmaxDate = new Date(maxDate);\n\t\t}\n\n\t\tif (!isValid(maxDate)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._maxDate = maxDate;\n\n\t\tif (isAfter(this._viewDate, this._maxDate)) {\n\t\t\tthis._viewDate = this._maxDate;\n\t\t}\n\t}\n\n\t@Watch('disabledDates')\n\tprivate _parseDisabledDates(disabledDates: Array<string | Date> | string) {\n\t\tif (typeof disabledDates === 'string') {\n\t\t\tdisabledDates = JSON.parse(disabledDates);\n\t\t}\n\n\t\tif (!disabledDates || !Array.isArray(disabledDates)) {\n\t\t\treturn;\n\t\t}\n\n\t\t// normalize all to date\n\t\tthis._disabledDates = disabledDates\n\t\t\t.map(date => {\n\t\t\t\tif (typeof date === 'string') {\n\t\t\t\t\treturn new Date(date);\n\t\t\t\t}\n\n\t\t\t\treturn date;\n\t\t\t})\n\t\t\t.filter(date => isValid(date));\n\t}\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class={`p-calendar variant-${this.variant}`}>\n\t\t\t\t{this._getView()}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _getView() {\n\t\tif (this._view === 'year') {\n\t\t\treturn this._getYearView();\n\t\t}\n\n\t\tif (this._view === 'month') {\n\t\t\treturn this._getMonthView();\n\t\t}\n\n\t\treturn this._getDayView();\n\t}\n\n\t/* With this, we shall hack the system in ways no one would ever have thought.\n <div class=\"col-start-1 col-start-2 col-start-3 col-start-4 col-start-5 col-start-6 col-start-7\"></div>\n */\n\tprivate _getDayView() {\n\t\tconst daysInMonth = this._generateDaysInMonth();\n\t\treturn (\n\t\t\t<div class='view-day'>\n\t\t\t\t<div class='header'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${!this._canSetAmount('month', -1) && 'disabled'}`}\n\t\t\t\t\t\tonClick={() => this._changeMonth(-1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={90}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('month')}\n\t\t\t\t\t\t\tclass={!this._canChangeView('month') && 'disabled'}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(this._viewDate, 'MMMM')}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('year')}\n\t\t\t\t\t\t\tclass={`year ${!this._canChangeView('year') && 'disabled'}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{getYear(this._viewDate)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${!this._canSetAmount('month', 1) && 'disabled'}`}\n\t\t\t\t\t\tonClick={() => this._changeMonth(1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={-90}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class='dates'>\n\t\t\t\t\t{this._weekDays.map(weekday => (\n\t\t\t\t\t\t<span>{format(addDays(new Date(2022, 7, 1), weekday), 'eee')}</span>\n\t\t\t\t\t))}\n\t\t\t\t\t{daysInMonth.map(day => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t<time\n\t\t\t\t\t\t\t\tclass={`day ${day.active && 'active'} ${\n\t\t\t\t\t\t\t\t\tday.disabled && 'disabled'\n\t\t\t\t\t\t\t\t} ${day.current && 'current'} ${\n\t\t\t\t\t\t\t\t\tday.offset !== false && `col-start-${day.offset}`\n\t\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t\t\tonClick={() => this._setValue(day.date)}\n\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t{day.day}\n\t\t\t\t\t\t\t</time>\n\t\t\t\t\t\t);\n\t\t\t\t\t})}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getMonthView() {\n\t\tconst months = this._generateMonths();\n\t\treturn (\n\t\t\t<div class='view-month'>\n\t\t\t\t<div class='header'>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${!this._canSetAmount('year', -1) && 'disabled'}`}\n\t\t\t\t\t\tonClick={() => this._changeYear(-1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={90}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span\n\t\t\t\t\t\t\tonClick={() => this._changeView('year')}\n\t\t\t\t\t\t\tclass={`year ${!this._canChangeView('year') && 'disabled'}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{getYear(this._viewDate)}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t\t<div\n\t\t\t\t\t\tclass={`nav ${!this._canSetAmount('year', 1) && 'disabled'}`}\n\t\t\t\t\t\tonClick={() => this._changeYear(1)}\n\t\t\t\t\t>\n\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\tvariant='caret'\n\t\t\t\t\t\t\trotate={-90}\n\t\t\t\t\t\t/>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class='items'>\n\t\t\t\t\t{months.map(month => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._setMonth(month.month)}\n\t\t\t\t\t\t\tclass={`month ${month.active && 'active'} ${\n\t\t\t\t\t\t\t\tmonth.disabled && 'disabled'\n\t\t\t\t\t\t\t} ${month.current && 'current'}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{format(setMonth(new Date(), month.month), 'MMMM')}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _getYearView() {\n\t\tconst years = this._generateYears();\n\t\treturn (\n\t\t\t<div class='view-year'>\n\t\t\t\t<div class='header'>\n\t\t\t\t\t<div>\n\t\t\t\t\t\t<span class='year disabled'>\n\t\t\t\t\t\t\t{years?.[0].year} - {years?.[years.length - 1].year}\n\t\t\t\t\t\t</span>\n\t\t\t\t\t</div>\n\t\t\t\t</div>\n\t\t\t\t<div class='items'>\n\t\t\t\t\t{years.map(year => (\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tonClick={() => this._setYear(year.year)}\n\t\t\t\t\t\t\tclass={`year ${year.active && 'active'} ${\n\t\t\t\t\t\t\t\tyear.current && 'current'\n\t\t\t\t\t\t\t}`}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{year.year}\n\t\t\t\t\t\t</div>\n\t\t\t\t\t))}\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t);\n\t}\n\n\tprivate _setYear(year: number) {\n\t\tconst date = setYear(this._viewDate, year);\n\t\tif (this.mode === 'year') {\n\t\t\treturn this._setValue(setMonth(setDate(date, 1), 0));\n\t\t}\n\n\t\tthis._viewDate = setYear(this._viewDate, year);\n\t\tthis._view = 'month';\n\t}\n\n\tprivate _setMonth(month: number) {\n\t\tconst date = setMonth(this._viewDate, month);\n\t\tif (this.mode === 'month') {\n\t\t\treturn this._setValue(setDate(date, 1));\n\t\t}\n\n\t\tthis._viewDate = date;\n\t\tthis._view = 'day';\n\t}\n\n\tprivate _changeMonth(amount = 1) {\n\t\tconst allowed = this._canSetAmount('month', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _changeYear(amount = 1) {\n\t\tconst allowed = this._canSetAmount('year', amount);\n\t\tif (!allowed) {\n\t\t\treturn;\n\t\t}\n\n\t\tlet newDate = addYears(this._viewDate, amount);\n\t\tthis._viewDate = newDate;\n\t}\n\n\tprivate _setValue(value: Date) {\n\t\tif (value === null) {\n\t\t\tthis._value = null;\n\t\t\tthis.valueChange.emit(null);\n\t\t\treturn;\n\t\t}\n\n\t\tif (!isValid(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._isDisabledDay(value)) {\n\t\t\treturn;\n\t\t}\n\n\t\tvalue = startOfDay(value);\n\t\tconst isSameValue = isSameDay(value, this._value);\n\n\t\tif (isSameValue) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._value = value;\n\t\tthis.valueChange.emit(value);\n\t}\n\n\tprivate _generateDaysInMonth() {\n\t\tconst days = Array.from(Array(getDaysInMonth(this._viewDate)).keys());\n\n\t\treturn days.map(day => {\n\t\t\tday = day + 1;\n\t\t\tconst date = setDate(this._viewDate, day);\n\n\t\t\tconst dayOfWeek = getDay(date);\n\t\t\treturn {\n\t\t\t\tday,\n\t\t\t\tdate,\n\t\t\t\toffset: day === 1 ? (dayOfWeek === 0 ? 7 : dayOfWeek) : false,\n\t\t\t\tcurrent: isSameDay(date, this._today),\n\t\t\t\tactive: isSameDay(date, this._value),\n\t\t\t\tdisabled: this._isDisabledDay(date),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _isDisabledDay(day: Date) {\n\t\treturn (\n\t\t\t(isBefore(day, this._minDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t(isAfter(day, this._maxDate) && !isSameDay(day, this._maxDate)) ||\n\t\t\t((getDay(day) === 0 || getDay(day) === 6) && this.disableWeekends) ||\n\t\t\tthis._disabledDates.findIndex(date => isSameDay(date, day)) >= 0\n\t\t);\n\t}\n\n\tprivate _generateMonths() {\n\t\tconst year = getYear(this._viewDate);\n\t\tconst months = Array.from(Array(12).keys());\n\n\t\treturn months.map(month => {\n\t\t\tconst date = new Date(year, month, 1);\n\t\t\treturn {\n\t\t\t\tmonth,\n\t\t\t\tcurrent: isSameMonth(this._today, date),\n\t\t\t\tactive: isSameMonth(this._value, date),\n\t\t\t\tdisabled:\n\t\t\t\t\tisAfter(date, this._maxDate) ||\n\t\t\t\t\tisBefore(endOfMonth(date), this._minDate),\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _generateYears() {\n\t\tconst maxYear = getYear(this._maxDate) + 1;\n\t\tconst minYear = getYear(this._minDate);\n\n\t\treturn Array.from(Array(maxYear - minYear).keys()).map(index => {\n\t\t\tconst year = minYear + index;\n\t\t\treturn {\n\t\t\t\tyear,\n\t\t\t\tcurrent: getYear(this._today) === year,\n\t\t\t\tactive: getYear(this._value) === year,\n\t\t\t};\n\t\t});\n\t}\n\n\tprivate _scrollYearIntoView() {\n\t\tconst items = this._el.shadowRoot.querySelector('.view-year .items');\n\t\tif (!items) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst active = items.querySelector('.year.active') as HTMLElement;\n\t\tif (active) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: active.offsetTop,\n\t\t\t});\n\t\t}\n\n\t\tconst current = items.querySelector('.year.current') as HTMLElement;\n\t\tif (current) {\n\t\t\treturn items.scrollTo({\n\t\t\t\ttop: current.offsetTop,\n\t\t\t});\n\t\t}\n\t}\n\n\tprivate _changeView(view: 'year' | 'month') {\n\t\tif (!this._canChangeView(view)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._view = view;\n\t}\n\n\tprivate _canChangeView(view: 'year' | 'month') {\n\t\tif (view === 'year') {\n\t\t\tif (isSameYear(this._minDate, this._maxDate)) {\n\t\t\t\treturn false;\n\t\t\t}\n\n\t\t\treturn true;\n\t\t}\n\n\t\tif (isSameMonth(this._minDate, this._maxDate)) {\n\t\t\treturn false;\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _canSetAmount(type: 'month' | 'year', amount = 1) {\n\t\tif (type === 'month') {\n\t\t\tconst newDate = addMonths(this._viewDate, amount);\n\t\t\tconst startNewDate = startOfMonth(newDate);\n\t\t\tif (\n\t\t\t\t(isBefore(startNewDate, startOfMonth(this._minDate)) &&\n\t\t\t\t\t!isSameDay(startNewDate, this._minDate)) ||\n\t\t\t\tisAfter(startNewDate, endOfMonth(this._maxDate))\n\t\t\t) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tif (type === 'year') {\n\t\t\tlet newDate = addYears(this._viewDate, amount);\n\t\t\tconst year = getYear(newDate);\n\t\t\tif (year < getYear(this._minDate) || year > getYear(this._maxDate)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\treturn true;\n\t}\n\n\tprivate _getAutomaticMax() {\n\t\tconst date = addYears(new Date(), 50);\n\n\t\tlet year = getYear(date);\n\t\tyear = Math.ceil(year / 10) * 10;\n\n\t\treturn setYear(date, year);\n\t}\n}\n"],"version":3}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1fde8b14.js');
5
+ const index = require('./index-02e05522.js');
6
6
 
7
- const cardBodyComponentCss = ".px-4{padding-left:1rem!important;padding-right:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}p-card-body{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity));font-size:.875rem;line-height:1.25rem;padding:1.5rem 1rem}p-card-body[inherit-text]{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.static{position:static!important}";
7
+ const cardBodyComponentCss = ".px-4{padding-left:1rem!important;padding-right:1rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}*{box-sizing:border-box}p-card-body{--tw-text-opacity:1;color:rgb(152 154 183/var(--tw-text-opacity,1));font-size:.875rem;line-height:1.25rem;padding:1.5rem 1rem}p-card-body[inherit-text]{color:inherit!important;font-size:inherit!important;font-weight:inherit!important}.static{position:static!important}";
8
8
 
9
9
  const CardBody = class {
10
10
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-card-body.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,oBAAoB,GAAG,kbAAkb;;MCMlc,QAAQ;;;uBAI4B,KAAK;;EAErD,MAAM;IACL,QACCA,QAACC,UAAI,IAAC,KAAK,EAAC,aAAa,IACxBD,qBAAQ,CACF,EACN;GACF;;;;;;","names":["h","Host"],"sources":["src/components/atoms/card-body/card-body.component.scss?tag=p-card-body","src/components/atoms/card-body/card-body.component.tsx"],"sourcesContent":["p-card-body {\n\t@apply px-4 py-6;\n\t@apply text-sm text-storm-vague;\n\n\t&[inherit-text] {\n\t\tcolor: inherit #{!important};\n\t\tfont-size: inherit #{!important};\n\t\tfont-weight: inherit #{!important};\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-card-body',\n\tstyleUrl: 'card-body.component.scss',\n})\nexport class CardBody {\n\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop({ reflect: true }) inheritText: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-card-body\">\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-card-body.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,oBAAoB,GAAG,obAAob;;MCMpc,QAAQ;;;uBAI4B,KAAK;;EAErD,MAAM;IACL,QACCA,QAACC,UAAI,IAAC,KAAK,EAAC,aAAa,IACxBD,qBAAQ,CACF,EACN;GACF;;;;;;","names":["h","Host"],"sources":["src/components/atoms/card-body/card-body.component.scss?tag=p-card-body","src/components/atoms/card-body/card-body.component.tsx"],"sourcesContent":["p-card-body {\n\t@apply px-4 py-6;\n\t@apply text-sm text-storm-vague;\n\n\t&[inherit-text] {\n\t\tcolor: inherit #{!important};\n\t\tfont-size: inherit #{!important};\n\t\tfont-weight: inherit #{!important};\n\t}\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-card-body',\n\tstyleUrl: 'card-body.component.scss',\n})\nexport class CardBody {\n\t/**\n\t * Wether the button should inherit text styles\n\t */\n\t@Prop({ reflect: true }) inheritText: boolean = false;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class=\"p-card-body\">\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const index = require('./index-1fde8b14.js');
5
+ const index = require('./index-02e05522.js');
6
6
 
7
- const cardContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.rounded-large{border-radius:.375rem!important}.drop-shadow-4{--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13))!important}.drop-shadow-4,.drop-shadow-5{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}.drop-shadow-5{--tw-drop-shadow:drop-shadow(0px 0.1875rem 1rem rgba(0,24,98,.3))!important}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:.375rem;display:flex;flex-direction:column;width:100%}:host([hoverable]){cursor:pointer}:host([hoverable]:hover){--tw-drop-shadow:drop-shadow(0px 0.1875rem 1rem rgba(0,24,98,.3))!important;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}:host(:not([shadow=false])),:host([shadow=true]){--tw-drop-shadow:drop-shadow(0px 0.3125rem 1rem rgba(0,24,98,.08)) drop-shadow(0px 0.0625rem 0.1875rem rgba(0,24,98,.13))!important;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}.static{position:static!important}";
7
+ const cardContainerComponentCss = ".flex{display:flex!important}.w-full{width:100%!important}.rounded-lg{border-radius:.5rem!important}.drop-shadow-3{--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important}.drop-shadow-3,.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}*{box-sizing:border-box}:host{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1));border-radius:.5rem;display:flex;flex-direction:column;width:100%}:host([hoverable]){cursor:pointer}:host([hoverable]:hover){--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important;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}:host(:not([shadow=false])),:host([shadow=true]){--tw-drop-shadow:drop-shadow(0 1px 1px rgba(0,2,2,.08)) drop-shadow(0 2px 2px rgba(0,2,2,.08)) drop-shadow(0 4px 4px rgba(0,2,2,.08))!important;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}.static{position:static!important}";
8
8
 
9
9
  const CardContainer = class {
10
10
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"p-card-container.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,onDAAonD;;MCOzoD,aAAa;;;qBAIqB,KAAK;kBAKR,IAAI;;EAE/C,MAAM;IACL,QACCA,QAACC,UAAI,IAAC,KAAK,EAAC,wBAAwB,IACnCD,qBAAQ,CACF,EACN;GACF;;;;;;","names":["h","Host"],"sources":["src/components/atoms/card-container/card-container.component.scss?tag=p-card-container&encapsulation=shadow","src/components/atoms/card-container/card-container.component.tsx"],"sourcesContent":[":host {\n\t@apply flex w-full flex-col;\n\t@apply rounded-large bg-white;\n}\n\n:host([hoverable]) {\n\t@apply cursor-pointer;\n}\n\n:host([hoverable]:hover) {\n\t@apply drop-shadow-5 #{!important};\n}\n\n:host([shadow='true']),\n:host(:not([shadow='false'])) {\n\t@apply drop-shadow-4 filter #{!important};\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-card-container',\n\tstyleUrl: 'card-container.component.scss',\n\tshadow: true,\n})\nexport class CardContainer {\n\t/**\n\t * Wether the card should be hoverable\n\t */\n\t@Prop({ reflect: true }) hoverable: boolean = false;\n\n\t/**\n\t * Wether the card should have shadow\n\t */\n\t@Prop({ reflect: true }) shadow: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-card-container group'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
1
+ {"file":"p-card-container.entry.cjs.js","mappings":";;;;;;AAAA,MAAM,yBAAyB,GAAG,s6CAAs6C;;MCO37C,aAAa;;;qBAIqB,KAAK;kBAKR,IAAI;;EAE/C,MAAM;IACL,QACCA,QAACC,UAAI,IAAC,KAAK,EAAC,wBAAwB,IACnCD,qBAAQ,CACF,EACN;GACF;;;;;;","names":["h","Host"],"sources":["src/components/atoms/card-container/card-container.component.scss?tag=p-card-container&encapsulation=shadow","src/components/atoms/card-container/card-container.component.tsx"],"sourcesContent":[":host {\n\t@apply flex w-full flex-col;\n\t@apply rounded-lg bg-white;\n}\n\n:host([hoverable]) {\n\t@apply cursor-pointer;\n}\n\n:host([hoverable]:hover) {\n\t@apply drop-shadow-3 #{!important};\n}\n\n:host([shadow='true']),\n:host(:not([shadow='false'])) {\n\t@apply drop-shadow-3 filter #{!important};\n}\n","import { Component, h, Host, Prop } from '@stencil/core';\n\n@Component({\n\ttag: 'p-card-container',\n\tstyleUrl: 'card-container.component.scss',\n\tshadow: true,\n})\nexport class CardContainer {\n\t/**\n\t * Wether the card should be hoverable\n\t */\n\t@Prop({ reflect: true }) hoverable: boolean = false;\n\n\t/**\n\t * Wether the card should have shadow\n\t */\n\t@Prop({ reflect: true }) shadow: boolean = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-card-container group'>\n\t\t\t\t<slot />\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}