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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (510) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/build/index.esm.js +1 -1
  3. package/dist/build/index.esm.js.map +1 -1
  4. package/dist/build/{p-d26ee54b.entry.js → p-036bb6f4.entry.js} +2 -2
  5. package/dist/build/p-0413fcd0.entry.js +2 -0
  6. package/dist/build/p-0413fcd0.entry.js.map +1 -0
  7. package/dist/build/p-0bbd4d1c.entry.js +2 -0
  8. package/dist/build/p-0bbd4d1c.entry.js.map +1 -0
  9. package/dist/build/{p-8b28c5be.entry.js → p-0c040d86.entry.js} +2 -2
  10. package/dist/build/{p-46cf79b4.entry.js → p-0e1935d5.entry.js} +2 -2
  11. package/dist/build/p-14e63599.entry.js +2 -0
  12. package/dist/build/{p-716a92ae.entry.js → p-1b5ec2b1.entry.js} +2 -2
  13. package/dist/{paperless/p-5f54e4b8.entry.js → build/p-1ed4a75e.entry.js} +3 -3
  14. package/dist/build/{p-5f54e4b8.entry.js.map → p-1ed4a75e.entry.js.map} +1 -1
  15. package/dist/{paperless/p-9f191ebc.entry.js → build/p-214a2978.entry.js} +2 -2
  16. package/dist/{paperless/p-e9ddf7b0.entry.js → build/p-2bd123f4.entry.js} +2 -2
  17. package/dist/{paperless/p-8b38f27d.entry.js → build/p-3a428a06.entry.js} +2 -2
  18. package/dist/build/{p-276d2804.entry.js → p-3b5242e9.entry.js} +2 -2
  19. package/dist/build/{p-8b3b5d3b.entry.js → p-3e393301.entry.js} +2 -2
  20. package/dist/build/{p-d31d6714.entry.js → p-46362798.entry.js} +2 -2
  21. package/dist/build/{p-1ea8012a.entry.js → p-48efb6e4.entry.js} +2 -2
  22. package/dist/{paperless/p-7ef827d5.entry.js → build/p-50134fa1.entry.js} +2 -2
  23. package/dist/build/{p-b27bbec2.entry.js → p-62843ca0.entry.js} +2 -2
  24. package/dist/build/{p-5c6050aa.entry.js → p-638d2138.entry.js} +2 -2
  25. package/dist/{paperless/p-e102e82d.entry.js → build/p-65d9a61f.entry.js} +2 -2
  26. package/dist/build/p-6d8852ca.entry.js +2 -0
  27. package/dist/build/p-889eb696.js +2 -0
  28. package/dist/build/p-958f3c09.entry.js +2 -0
  29. package/dist/build/p-958f3c09.entry.js.map +1 -0
  30. package/dist/build/{p-2f821184.entry.js → p-a56474ea.entry.js} +2 -2
  31. package/dist/build/{p-68ae68c8.entry.js → p-a5934232.entry.js} +2 -2
  32. package/dist/build/p-af468e9f.entry.js +2 -0
  33. package/dist/build/p-af468e9f.entry.js.map +1 -0
  34. package/dist/build/p-bf261165.entry.js +2 -0
  35. package/dist/{paperless/p-db4ea9ce.entry.js → build/p-c3ba61ac.entry.js} +2 -2
  36. package/dist/build/p-c605a1c1.js +2 -0
  37. package/dist/build/p-c605a1c1.js.map +1 -0
  38. package/dist/build/p-c8e79e30.entry.js +2 -0
  39. package/dist/build/{p-00534c3c.entry.js → p-cc3445fc.entry.js} +2 -2
  40. package/dist/{paperless/p-c6a042f7.entry.js → build/p-cfe6ec9a.entry.js} +2 -2
  41. package/dist/{paperless/p-0ffb8f53.entry.js → build/p-d044f441.entry.js} +2 -2
  42. package/dist/build/p-d63066b0.css +1 -0
  43. package/dist/build/p-d6ca5bce.entry.js +2 -0
  44. package/dist/build/p-d6ca5bce.entry.js.map +1 -0
  45. package/dist/build/{p-117de4a8.entry.js → p-d70b3539.entry.js} +2 -2
  46. package/dist/build/p-d8eb3b7b.entry.js +2 -0
  47. package/dist/build/p-d8eb3b7b.entry.js.map +1 -0
  48. package/dist/build/{p-e9a323f2.entry.js → p-d9d8c17c.entry.js} +2 -2
  49. package/dist/build/{p-57fc0eb5.entry.js → p-d9fae6bd.entry.js} +2 -2
  50. package/dist/build/p-dfce711d.entry.js +2 -0
  51. package/dist/build/p-dfce711d.entry.js.map +1 -0
  52. package/dist/build/p-ea577bae.entry.js +2 -0
  53. package/dist/build/p-ea577bae.entry.js.map +1 -0
  54. package/dist/build/{p-b26d5130.entry.js → p-eec56c71.entry.js} +2 -2
  55. package/dist/build/{p-448b6640.entry.js → p-f3d0ea94.entry.js} +2 -2
  56. package/dist/build/{p-955d149f.entry.js → p-f40f89a7.entry.js} +2 -2
  57. package/dist/build/{p-c6fa153f.entry.js → p-fd53acd3.entry.js} +2 -2
  58. package/dist/build/paperless.css +1 -1
  59. package/dist/build/paperless.esm.js +1 -1
  60. package/dist/build/paperless.esm.js.map +1 -1
  61. package/dist/cjs/index-3f9bbc0c.js +16 -4
  62. package/dist/cjs/index.cjs.js +2 -1
  63. package/dist/cjs/index.cjs.js.map +1 -1
  64. package/dist/cjs/loader.cjs.js +1 -1
  65. package/dist/cjs/nonce-0feefc04.js +17 -0
  66. package/dist/cjs/nonce-0feefc04.js.map +1 -0
  67. package/dist/cjs/p-accordion.cjs.entry.js +1 -1
  68. package/dist/cjs/p-attachment.cjs.entry.js +4 -4
  69. package/dist/cjs/p-button-group.cjs.entry.js +1 -1
  70. package/dist/cjs/p-button_3.cjs.entry.js +446 -0
  71. package/dist/cjs/p-button_3.cjs.entry.js.map +1 -0
  72. package/dist/cjs/p-calendar.cjs.entry.js +1 -1
  73. package/dist/cjs/p-checkbox_3.cjs.entry.js +444 -0
  74. package/dist/cjs/p-checkbox_3.cjs.entry.js.map +1 -0
  75. package/dist/cjs/p-content-slider.cjs.entry.js +2 -2
  76. package/dist/cjs/p-counter.cjs.entry.js +1 -1
  77. package/dist/cjs/p-cropper.cjs.entry.js +3 -3
  78. package/dist/cjs/p-cropper.cjs.entry.js.map +1 -1
  79. package/dist/cjs/p-datepicker.cjs.entry.js +1 -1
  80. package/dist/cjs/p-divider.cjs.entry.js +1 -1
  81. package/dist/cjs/p-drawer-body_3.cjs.entry.js +3 -3
  82. package/dist/cjs/p-dropdown-menu-container.cjs.entry.js +2 -2
  83. package/dist/cjs/p-field_3.cjs.entry.js +316 -0
  84. package/dist/cjs/p-field_3.cjs.entry.js.map +1 -0
  85. package/dist/cjs/p-floating-menu-container_8.cjs.entry.js +7 -7
  86. package/dist/cjs/p-iban-icon.cjs.entry.js +1 -1
  87. package/dist/cjs/p-info-panel.cjs.entry.js +1 -1
  88. package/dist/cjs/p-input-error.cjs.entry.js +1 -1
  89. package/dist/cjs/p-label_3.cjs.entry.js +4 -4
  90. package/dist/cjs/p-layout.cjs.entry.js +1 -1
  91. package/dist/cjs/p-modal-body_4.cjs.entry.js +4 -4
  92. package/dist/cjs/p-navbar.cjs.entry.js +1 -1
  93. package/dist/cjs/p-navigation-item.cjs.entry.js +4 -3
  94. package/dist/cjs/p-navigation-item.cjs.entry.js.map +1 -1
  95. package/dist/cjs/p-navigation-section.cjs.entry.js +1 -1
  96. package/dist/cjs/p-navigation-title.cjs.entry.js +1 -1
  97. package/dist/cjs/p-page-size-select_3.cjs.entry.js +2 -2
  98. package/dist/cjs/p-portal_2.cjs.entry.js +233 -0
  99. package/dist/cjs/p-portal_2.cjs.entry.js.map +1 -0
  100. package/dist/cjs/p-profile.cjs.entry.js +1 -1
  101. package/dist/cjs/p-radio.cjs.entry.js +8 -19
  102. package/dist/cjs/p-radio.cjs.entry.js.map +1 -1
  103. package/dist/cjs/p-select.cjs.entry.js +1 -1
  104. package/dist/cjs/p-slider-indicator.cjs.entry.js +1 -1
  105. package/dist/cjs/p-status.cjs.entry.js +2 -2
  106. package/dist/cjs/p-stepper-item.cjs.entry.js +1 -1
  107. package/dist/cjs/p-stepper-line.cjs.entry.js +1 -1
  108. package/dist/cjs/p-stepper.cjs.entry.js +1 -1
  109. package/dist/cjs/p-tab-group.cjs.entry.js +1 -1
  110. package/dist/cjs/p-tab-item.cjs.entry.js +1 -1
  111. package/dist/cjs/p-table.cjs.entry.js +15 -17
  112. package/dist/cjs/p-table.cjs.entry.js.map +1 -1
  113. package/dist/cjs/p-toast-container.cjs.entry.js +1 -1
  114. package/dist/cjs/p-toast.cjs.entry.js +1 -1
  115. package/dist/cjs/p-toggle.cjs.entry.js +148 -0
  116. package/dist/cjs/p-toggle.cjs.entry.js.map +1 -0
  117. package/dist/cjs/paperless.cjs.js +1 -1
  118. package/dist/collection/collection-manifest.json +2 -0
  119. package/dist/collection/components/atoms/checkbox/checkbox.component.css +1 -0
  120. package/dist/collection/components/atoms/checkbox/checkbox.component.js +283 -0
  121. package/dist/collection/components/atoms/checkbox/checkbox.component.js.map +1 -0
  122. package/dist/collection/components/atoms/counter/counter.component.js +1 -1
  123. package/dist/collection/components/atoms/divider/divider.component.js +1 -1
  124. package/dist/collection/components/atoms/drawer-body/drawer-body.component.js +1 -1
  125. package/dist/collection/components/atoms/drawer-container/drawer-container.component.js +1 -1
  126. package/dist/collection/components/atoms/drawer-header/drawer-header.component.js +1 -1
  127. package/dist/collection/components/atoms/dropdown-menu-container/dropdown-menu-container.component.js +2 -2
  128. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.css +1 -1
  129. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js +4 -4
  130. package/dist/collection/components/atoms/dropdown-menu-item/dropdown-menu-item.component.js.map +1 -1
  131. package/dist/collection/components/atoms/floating-menu-container/floating-menu-container.component.js +1 -1
  132. package/dist/collection/components/atoms/floating-menu-item/floating-menu-item.component.js +1 -1
  133. package/dist/collection/components/atoms/helper/helper.component.js +1 -1
  134. package/dist/collection/components/atoms/iban-icon/iban-icon.component.js +1 -1
  135. package/dist/collection/components/atoms/info-panel/info-panel.component.js +1 -1
  136. package/dist/collection/components/atoms/label/label.component.js +2 -2
  137. package/dist/collection/components/atoms/layout/layout.component.js +1 -1
  138. package/dist/collection/components/atoms/modal-body/modal-body.component.js +1 -1
  139. package/dist/collection/components/atoms/modal-container/modal-container.component.js +1 -1
  140. package/dist/collection/components/atoms/modal-footer/modal-footer.component.js +1 -1
  141. package/dist/collection/components/atoms/modal-header/modal-header.component.js +1 -1
  142. package/dist/collection/components/atoms/navigation-title/navigation-title.component.js +1 -1
  143. package/dist/collection/components/atoms/pagination-item/pagination-item.component.js +1 -1
  144. package/dist/collection/components/atoms/portal/portal.component.js +1 -1
  145. package/dist/collection/components/atoms/radio/radio.component.css +1 -1
  146. package/dist/collection/components/atoms/radio/radio.component.js +5 -5
  147. package/dist/collection/components/atoms/radio/radio.component.js.map +1 -1
  148. package/dist/collection/components/atoms/segment-container/segment-container.component.js +1 -1
  149. package/dist/collection/components/atoms/segment-item/segment-item.component.js +1 -1
  150. package/dist/collection/components/atoms/slider-indicator/slider-indicator.component.js +1 -1
  151. package/dist/collection/components/atoms/status/status.component.js +2 -2
  152. package/dist/collection/components/atoms/stepper-item/stepper-item.component.js +1 -1
  153. package/dist/collection/components/atoms/stepper-line/stepper-line.component.js +1 -1
  154. package/dist/collection/components/atoms/tab-group/tab-group.component.js +1 -1
  155. package/dist/collection/components/atoms/tab-item/tab-item.component.js +1 -1
  156. package/dist/collection/components/atoms/table-container/table-container.component.js +1 -1
  157. package/dist/collection/components/atoms/toast-container/toast-container.component.js +1 -1
  158. package/dist/collection/components/atoms/toggle/toggle.component.css +1 -0
  159. package/dist/collection/components/atoms/toggle/toggle.component.js +321 -0
  160. package/dist/collection/components/atoms/toggle/toggle.component.js.map +1 -0
  161. package/dist/collection/components/atoms/tooltip/tooltip.component.js +4 -4
  162. package/dist/collection/components/molecules/accordion/accordion.component.js +1 -1
  163. package/dist/collection/components/molecules/attachment/attachment.component.js +4 -4
  164. package/dist/collection/components/molecules/button/button.component.css +1 -1
  165. package/dist/collection/components/molecules/button/button.component.js +4 -4
  166. package/dist/collection/components/molecules/button-group/button-group.component.js +1 -1
  167. package/dist/collection/components/molecules/calendar/calendar.component.js +1 -1
  168. package/dist/collection/components/molecules/content-slider/content-slider.component.js +2 -2
  169. package/dist/collection/components/molecules/cropper/cropper.component.css +1 -1
  170. package/dist/collection/components/molecules/cropper/cropper.component.js +2 -2
  171. package/dist/collection/components/molecules/datepicker/datepicker.component.js +1 -1
  172. package/dist/collection/components/molecules/dropdown/dropdown.component.js +3 -3
  173. package/dist/collection/components/molecules/field/field.component.js +9 -6
  174. package/dist/collection/components/molecules/field/field.component.js.map +1 -1
  175. package/dist/collection/components/molecules/input-error/input-error.component.js +1 -1
  176. package/dist/collection/components/molecules/navigation-item/navigation-item.component.css +1 -1
  177. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js +23 -2
  178. package/dist/collection/components/molecules/navigation-item/navigation-item.component.js.map +1 -1
  179. package/dist/collection/components/molecules/navigation-section/navigation-section.component.js +1 -1
  180. package/dist/collection/components/molecules/pagination/pagination.component.js +1 -1
  181. package/dist/collection/components/molecules/profile/profile.component.js +1 -1
  182. package/dist/collection/components/molecules/select/select.component.js +1 -1
  183. package/dist/collection/components/molecules/stepper/stepper.component.js +1 -1
  184. package/dist/collection/components/molecules/table-cell/table-cell.component.js +1 -1
  185. package/dist/collection/components/molecules/table-footer/table-footer.component.js +1 -1
  186. package/dist/collection/components/molecules/table-row/table-row.component.js +2 -2
  187. package/dist/collection/components/molecules/toast/toast.component.js +1 -1
  188. package/dist/collection/components/organisms/navbar/navbar.component.js +1 -1
  189. package/dist/collection/components/organisms/table/table.component.css +1 -1
  190. package/dist/collection/components/organisms/table/table.component.js +13 -16
  191. package/dist/collection/components/organisms/table/table.component.js.map +1 -1
  192. package/dist/collection/tailwind/theme/shadows.js +2 -1
  193. package/dist/collection/tailwind/theme/shadows.js.map +1 -1
  194. package/dist/components/button.component.js +5 -5
  195. package/dist/components/button.component.js.map +1 -1
  196. package/dist/components/calendar.component.js +1 -1
  197. package/dist/components/checkbox.component.js +134 -0
  198. package/dist/components/checkbox.component.js.map +1 -0
  199. package/dist/components/divider.component.js +1 -1
  200. package/dist/components/drawer-body.component.js +1 -1
  201. package/dist/components/drawer-container.component.js +1 -1
  202. package/dist/components/drawer-header.component.js +1 -1
  203. package/dist/components/dropdown-menu-container.component.js +2 -2
  204. package/dist/components/dropdown-menu-item.component.js +12 -6
  205. package/dist/components/dropdown-menu-item.component.js.map +1 -1
  206. package/dist/components/dropdown.component.js +3 -3
  207. package/dist/components/field.component.js +9 -6
  208. package/dist/components/field.component.js.map +1 -1
  209. package/dist/components/floating-menu-container.component.js +1 -1
  210. package/dist/components/floating-menu-item.component.js +1 -1
  211. package/dist/components/helper.component.js +1 -1
  212. package/dist/components/index.js +2 -1
  213. package/dist/components/index.js.map +1 -1
  214. package/dist/components/input-error.component.js +1 -1
  215. package/dist/components/label.component.js +2 -2
  216. package/dist/components/modal-body.component.js +1 -1
  217. package/dist/components/modal-container.component.js +1 -1
  218. package/dist/components/modal-footer.component.js +1 -1
  219. package/dist/components/modal-header.component.js +1 -1
  220. package/dist/components/navigation-title.component.js +1 -1
  221. package/dist/components/nonce.js +15 -0
  222. package/dist/components/nonce.js.map +1 -0
  223. package/dist/components/p-accordion.js +1 -1
  224. package/dist/components/p-attachment.js +4 -4
  225. package/dist/components/p-button-group.js +1 -1
  226. package/dist/components/p-checkbox.d.ts +11 -0
  227. package/dist/components/p-checkbox.js +8 -0
  228. package/dist/components/p-checkbox.js.map +1 -0
  229. package/dist/components/p-content-slider.js +2 -2
  230. package/dist/components/p-counter.js +1 -1
  231. package/dist/components/p-cropper.js +3 -3
  232. package/dist/components/p-cropper.js.map +1 -1
  233. package/dist/components/p-datepicker.js +1 -1
  234. package/dist/components/p-iban-icon.js +1 -1
  235. package/dist/components/p-info-panel.js +1 -1
  236. package/dist/components/p-layout.js +1 -1
  237. package/dist/components/p-navbar.js +1 -1
  238. package/dist/components/p-navigation-item.js +15 -7
  239. package/dist/components/p-navigation-item.js.map +1 -1
  240. package/dist/components/p-navigation-section.js +1 -1
  241. package/dist/components/p-profile.js +1 -1
  242. package/dist/components/p-radio.js +7 -18
  243. package/dist/components/p-radio.js.map +1 -1
  244. package/dist/components/p-select.js +11 -5
  245. package/dist/components/p-select.js.map +1 -1
  246. package/dist/components/p-status.js +2 -2
  247. package/dist/components/p-stepper-item.js +1 -1
  248. package/dist/components/p-stepper.js +1 -1
  249. package/dist/components/p-tab-group.js +1 -1
  250. package/dist/components/p-tab-item.js +1 -1
  251. package/dist/components/p-table.js +22 -19
  252. package/dist/components/p-table.js.map +1 -1
  253. package/dist/components/p-toast-container.js +1 -1
  254. package/dist/components/p-toast.js +1 -1
  255. package/dist/components/p-toggle.d.ts +11 -0
  256. package/dist/components/p-toggle.js +169 -0
  257. package/dist/components/p-toggle.js.map +1 -0
  258. package/dist/components/page-size-select.component.js +8 -2
  259. package/dist/components/page-size-select.component.js.map +1 -1
  260. package/dist/components/pagination-item.component.js +1 -1
  261. package/dist/components/pagination.component.js +1 -1
  262. package/dist/components/portal.component.js +1 -1
  263. package/dist/components/segment-container.component.js +1 -1
  264. package/dist/components/segment-item.component.js +1 -1
  265. package/dist/components/slider-indicator.component.js +1 -1
  266. package/dist/components/stepper-line.component.js +1 -1
  267. package/dist/components/table-cell.component.js +1 -1
  268. package/dist/components/table-container.component.js +1 -1
  269. package/dist/components/table-footer.component.js +9 -3
  270. package/dist/components/table-footer.component.js.map +1 -1
  271. package/dist/components/table-row.component.js +2 -2
  272. package/dist/components/tooltip.component.js +4 -4
  273. package/dist/esm/index-2ef94580.js +16 -4
  274. package/dist/esm/index.js +2 -1
  275. package/dist/esm/index.js.map +1 -1
  276. package/dist/esm/loader.js +1 -1
  277. package/dist/esm/nonce-a9254eb4.js +15 -0
  278. package/dist/esm/nonce-a9254eb4.js.map +1 -0
  279. package/dist/esm/p-accordion.entry.js +1 -1
  280. package/dist/esm/p-attachment.entry.js +4 -4
  281. package/dist/esm/p-button-group.entry.js +1 -1
  282. package/dist/esm/p-button_3.entry.js +440 -0
  283. package/dist/esm/p-button_3.entry.js.map +1 -0
  284. package/dist/esm/p-calendar.entry.js +1 -1
  285. package/dist/esm/p-checkbox_3.entry.js +438 -0
  286. package/dist/esm/p-checkbox_3.entry.js.map +1 -0
  287. package/dist/esm/p-content-slider.entry.js +2 -2
  288. package/dist/esm/p-counter.entry.js +1 -1
  289. package/dist/esm/p-cropper.entry.js +3 -3
  290. package/dist/esm/p-cropper.entry.js.map +1 -1
  291. package/dist/esm/p-datepicker.entry.js +1 -1
  292. package/dist/esm/p-divider.entry.js +1 -1
  293. package/dist/esm/p-drawer-body_3.entry.js +3 -3
  294. package/dist/esm/p-dropdown-menu-container.entry.js +2 -2
  295. package/dist/esm/p-field_3.entry.js +310 -0
  296. package/dist/esm/p-field_3.entry.js.map +1 -0
  297. package/dist/esm/p-floating-menu-container_8.entry.js +7 -7
  298. package/dist/esm/p-iban-icon.entry.js +1 -1
  299. package/dist/esm/p-info-panel.entry.js +1 -1
  300. package/dist/esm/p-input-error.entry.js +1 -1
  301. package/dist/esm/p-label_3.entry.js +4 -4
  302. package/dist/esm/p-layout.entry.js +1 -1
  303. package/dist/esm/p-modal-body_4.entry.js +4 -4
  304. package/dist/esm/p-navbar.entry.js +1 -1
  305. package/dist/esm/p-navigation-item.entry.js +4 -3
  306. package/dist/esm/p-navigation-item.entry.js.map +1 -1
  307. package/dist/esm/p-navigation-section.entry.js +1 -1
  308. package/dist/esm/p-navigation-title.entry.js +1 -1
  309. package/dist/esm/p-page-size-select_3.entry.js +2 -2
  310. package/dist/esm/p-portal_2.entry.js +228 -0
  311. package/dist/esm/p-portal_2.entry.js.map +1 -0
  312. package/dist/esm/p-profile.entry.js +1 -1
  313. package/dist/esm/p-radio.entry.js +7 -18
  314. package/dist/esm/p-radio.entry.js.map +1 -1
  315. package/dist/esm/p-select.entry.js +1 -1
  316. package/dist/esm/p-slider-indicator.entry.js +1 -1
  317. package/dist/esm/p-status.entry.js +2 -2
  318. package/dist/esm/p-stepper-item.entry.js +1 -1
  319. package/dist/esm/p-stepper-line.entry.js +1 -1
  320. package/dist/esm/p-stepper.entry.js +1 -1
  321. package/dist/esm/p-tab-group.entry.js +1 -1
  322. package/dist/esm/p-tab-item.entry.js +1 -1
  323. package/dist/esm/p-table.entry.js +15 -17
  324. package/dist/esm/p-table.entry.js.map +1 -1
  325. package/dist/esm/p-toast-container.entry.js +1 -1
  326. package/dist/esm/p-toast.entry.js +1 -1
  327. package/dist/esm/p-toggle.entry.js +144 -0
  328. package/dist/esm/p-toggle.entry.js.map +1 -0
  329. package/dist/esm/paperless.js +1 -1
  330. package/dist/index.html +1 -1
  331. package/dist/paperless/index.esm.js +1 -1
  332. package/dist/paperless/index.esm.js.map +1 -1
  333. package/dist/paperless/{p-d26ee54b.entry.js → p-036bb6f4.entry.js} +2 -2
  334. package/dist/paperless/p-0413fcd0.entry.js +2 -0
  335. package/dist/paperless/p-0413fcd0.entry.js.map +1 -0
  336. package/dist/paperless/p-0bbd4d1c.entry.js +2 -0
  337. package/dist/paperless/p-0bbd4d1c.entry.js.map +1 -0
  338. package/dist/paperless/{p-8b28c5be.entry.js → p-0c040d86.entry.js} +2 -2
  339. package/dist/paperless/{p-46cf79b4.entry.js → p-0e1935d5.entry.js} +2 -2
  340. package/dist/paperless/p-14e63599.entry.js +2 -0
  341. package/dist/paperless/{p-716a92ae.entry.js → p-1b5ec2b1.entry.js} +2 -2
  342. package/dist/{build/p-5f54e4b8.entry.js → paperless/p-1ed4a75e.entry.js} +3 -3
  343. package/dist/paperless/{p-5f54e4b8.entry.js.map → p-1ed4a75e.entry.js.map} +1 -1
  344. package/dist/{build/p-9f191ebc.entry.js → paperless/p-214a2978.entry.js} +2 -2
  345. package/dist/{build/p-e9ddf7b0.entry.js → paperless/p-2bd123f4.entry.js} +2 -2
  346. package/dist/{build/p-8b38f27d.entry.js → paperless/p-3a428a06.entry.js} +2 -2
  347. package/dist/paperless/{p-276d2804.entry.js → p-3b5242e9.entry.js} +2 -2
  348. package/dist/paperless/{p-8b3b5d3b.entry.js → p-3e393301.entry.js} +2 -2
  349. package/dist/paperless/{p-d31d6714.entry.js → p-46362798.entry.js} +2 -2
  350. package/dist/paperless/{p-1ea8012a.entry.js → p-48efb6e4.entry.js} +2 -2
  351. package/dist/{build/p-7ef827d5.entry.js → paperless/p-50134fa1.entry.js} +2 -2
  352. package/dist/paperless/{p-b27bbec2.entry.js → p-62843ca0.entry.js} +2 -2
  353. package/dist/paperless/{p-5c6050aa.entry.js → p-638d2138.entry.js} +2 -2
  354. package/dist/{build/p-e102e82d.entry.js → paperless/p-65d9a61f.entry.js} +2 -2
  355. package/dist/paperless/p-6d8852ca.entry.js +2 -0
  356. package/dist/paperless/p-958f3c09.entry.js +2 -0
  357. package/dist/paperless/p-958f3c09.entry.js.map +1 -0
  358. package/dist/paperless/{p-2f821184.entry.js → p-a56474ea.entry.js} +2 -2
  359. package/dist/paperless/{p-68ae68c8.entry.js → p-a5934232.entry.js} +2 -2
  360. package/dist/paperless/p-af468e9f.entry.js +2 -0
  361. package/dist/paperless/p-af468e9f.entry.js.map +1 -0
  362. package/dist/paperless/p-bf261165.entry.js +2 -0
  363. package/dist/{build/p-db4ea9ce.entry.js → paperless/p-c3ba61ac.entry.js} +2 -2
  364. package/dist/paperless/p-c605a1c1.js +2 -0
  365. package/dist/paperless/p-c605a1c1.js.map +1 -0
  366. package/dist/paperless/p-c8e79e30.entry.js +2 -0
  367. package/dist/paperless/{p-00534c3c.entry.js → p-cc3445fc.entry.js} +2 -2
  368. package/dist/{build/p-c6a042f7.entry.js → paperless/p-cfe6ec9a.entry.js} +2 -2
  369. package/dist/{build/p-0ffb8f53.entry.js → paperless/p-d044f441.entry.js} +2 -2
  370. package/dist/paperless/p-d6ca5bce.entry.js +2 -0
  371. package/dist/paperless/p-d6ca5bce.entry.js.map +1 -0
  372. package/dist/paperless/{p-117de4a8.entry.js → p-d70b3539.entry.js} +2 -2
  373. package/dist/paperless/p-d8eb3b7b.entry.js +2 -0
  374. package/dist/paperless/p-d8eb3b7b.entry.js.map +1 -0
  375. package/dist/paperless/{p-e9a323f2.entry.js → p-d9d8c17c.entry.js} +2 -2
  376. package/dist/paperless/{p-57fc0eb5.entry.js → p-d9fae6bd.entry.js} +2 -2
  377. package/dist/paperless/p-dfce711d.entry.js +2 -0
  378. package/dist/paperless/p-dfce711d.entry.js.map +1 -0
  379. package/dist/paperless/p-ea577bae.entry.js +2 -0
  380. package/dist/paperless/p-ea577bae.entry.js.map +1 -0
  381. package/dist/paperless/{p-b26d5130.entry.js → p-eec56c71.entry.js} +2 -2
  382. package/dist/paperless/{p-448b6640.entry.js → p-f3d0ea94.entry.js} +2 -2
  383. package/dist/paperless/{p-955d149f.entry.js → p-f40f89a7.entry.js} +2 -2
  384. package/dist/paperless/{p-c6fa153f.entry.js → p-fd53acd3.entry.js} +2 -2
  385. package/dist/paperless/paperless.css +1 -1
  386. package/dist/paperless/paperless.esm.js +1 -1
  387. package/dist/paperless/paperless.esm.js.map +1 -1
  388. package/dist/style/paperless.scss +0 -2
  389. package/dist/sw.js +1 -1
  390. package/dist/sw.js.map +1 -1
  391. package/dist/tailwind/theme/shadows.ts +2 -1
  392. package/dist/types/components/atoms/checkbox/checkbox.component.d.ts +42 -0
  393. package/dist/types/components/atoms/toggle/toggle.component.d.ts +42 -0
  394. package/dist/types/components/molecules/field/field.component.d.ts +2 -1
  395. package/dist/types/components/molecules/navigation-item/navigation-item.component.d.ts +4 -0
  396. package/dist/types/components/organisms/table/table.component.d.ts +0 -1
  397. package/dist/types/components.d.ts +194 -0
  398. package/dist/types/tailwind/theme/shadows.d.ts +1 -0
  399. package/hydrate/index.js +393 -122
  400. package/hydrate/index.mjs +393 -122
  401. package/package.json +1 -1
  402. package/dist/build/p-17457a9a.entry.js +0 -2
  403. package/dist/build/p-2beae871.entry.js +0 -2
  404. package/dist/build/p-5021f212.entry.js +0 -2
  405. package/dist/build/p-5021f212.entry.js.map +0 -1
  406. package/dist/build/p-8f4ccbe0.entry.js +0 -2
  407. package/dist/build/p-a2ff0942.entry.js +0 -2
  408. package/dist/build/p-a2ff0942.entry.js.map +0 -1
  409. package/dist/build/p-b8a88966.css +0 -1
  410. package/dist/build/p-c8616c4a.js +0 -2
  411. package/dist/build/p-d12bb2d3.entry.js +0 -2
  412. package/dist/build/p-d12bb2d3.entry.js.map +0 -1
  413. package/dist/build/p-ddde168c.entry.js +0 -2
  414. package/dist/build/p-e7bfc9c0.entry.js +0 -2
  415. package/dist/build/p-e7bfc9c0.entry.js.map +0 -1
  416. package/dist/build/p-fb0087cc.entry.js +0 -2
  417. package/dist/build/p-fb0087cc.entry.js.map +0 -1
  418. package/dist/cjs/p-button_8.cjs.entry.js +0 -972
  419. package/dist/cjs/p-button_8.cjs.entry.js.map +0 -1
  420. package/dist/cjs/p-dropdown_2.cjs.entry.js +0 -344
  421. package/dist/cjs/p-dropdown_2.cjs.entry.js.map +0 -1
  422. package/dist/esm/p-button_8.entry.js +0 -961
  423. package/dist/esm/p-button_8.entry.js.map +0 -1
  424. package/dist/esm/p-dropdown_2.entry.js +0 -339
  425. package/dist/esm/p-dropdown_2.entry.js.map +0 -1
  426. package/dist/paperless/p-17457a9a.entry.js +0 -2
  427. package/dist/paperless/p-2beae871.entry.js +0 -2
  428. package/dist/paperless/p-5021f212.entry.js +0 -2
  429. package/dist/paperless/p-5021f212.entry.js.map +0 -1
  430. package/dist/paperless/p-8f4ccbe0.entry.js +0 -2
  431. package/dist/paperless/p-a2ff0942.entry.js +0 -2
  432. package/dist/paperless/p-a2ff0942.entry.js.map +0 -1
  433. package/dist/paperless/p-d12bb2d3.entry.js +0 -2
  434. package/dist/paperless/p-d12bb2d3.entry.js.map +0 -1
  435. package/dist/paperless/p-ddde168c.entry.js +0 -2
  436. package/dist/paperless/p-e7bfc9c0.entry.js +0 -2
  437. package/dist/paperless/p-e7bfc9c0.entry.js.map +0 -1
  438. package/dist/paperless/p-fb0087cc.entry.js +0 -2
  439. package/dist/paperless/p-fb0087cc.entry.js.map +0 -1
  440. package/dist/style/form/_checkbox.scss +0 -135
  441. package/dist/style/form/_input.scss +0 -31
  442. package/dist/style/form/_mixins.scss +0 -140
  443. package/dist/style/form/_radio.scss +0 -58
  444. package/dist/style/form/_range.scss +0 -20
  445. package/dist/style/form/_textarea.scss +0 -31
  446. package/dist/style/form/index.scss +0 -5
  447. /package/dist/build/{p-d26ee54b.entry.js.map → p-036bb6f4.entry.js.map} +0 -0
  448. /package/dist/build/{p-8b28c5be.entry.js.map → p-0c040d86.entry.js.map} +0 -0
  449. /package/dist/build/{p-46cf79b4.entry.js.map → p-0e1935d5.entry.js.map} +0 -0
  450. /package/dist/build/{p-2beae871.entry.js.map → p-14e63599.entry.js.map} +0 -0
  451. /package/dist/build/{p-716a92ae.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  452. /package/dist/build/{p-9f191ebc.entry.js.map → p-214a2978.entry.js.map} +0 -0
  453. /package/dist/build/{p-e9ddf7b0.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  454. /package/dist/build/{p-8b38f27d.entry.js.map → p-3a428a06.entry.js.map} +0 -0
  455. /package/dist/build/{p-276d2804.entry.js.map → p-3b5242e9.entry.js.map} +0 -0
  456. /package/dist/build/{p-8b3b5d3b.entry.js.map → p-3e393301.entry.js.map} +0 -0
  457. /package/dist/build/{p-d31d6714.entry.js.map → p-46362798.entry.js.map} +0 -0
  458. /package/dist/build/{p-1ea8012a.entry.js.map → p-48efb6e4.entry.js.map} +0 -0
  459. /package/dist/build/{p-7ef827d5.entry.js.map → p-50134fa1.entry.js.map} +0 -0
  460. /package/dist/build/{p-b27bbec2.entry.js.map → p-62843ca0.entry.js.map} +0 -0
  461. /package/dist/build/{p-5c6050aa.entry.js.map → p-638d2138.entry.js.map} +0 -0
  462. /package/dist/build/{p-e102e82d.entry.js.map → p-65d9a61f.entry.js.map} +0 -0
  463. /package/dist/build/{p-ddde168c.entry.js.map → p-6d8852ca.entry.js.map} +0 -0
  464. /package/dist/build/{p-2f821184.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  465. /package/dist/build/{p-68ae68c8.entry.js.map → p-a5934232.entry.js.map} +0 -0
  466. /package/dist/build/{p-17457a9a.entry.js.map → p-bf261165.entry.js.map} +0 -0
  467. /package/dist/build/{p-db4ea9ce.entry.js.map → p-c3ba61ac.entry.js.map} +0 -0
  468. /package/dist/build/{p-8f4ccbe0.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  469. /package/dist/build/{p-00534c3c.entry.js.map → p-cc3445fc.entry.js.map} +0 -0
  470. /package/dist/build/{p-c6a042f7.entry.js.map → p-cfe6ec9a.entry.js.map} +0 -0
  471. /package/dist/build/{p-0ffb8f53.entry.js.map → p-d044f441.entry.js.map} +0 -0
  472. /package/dist/build/{p-117de4a8.entry.js.map → p-d70b3539.entry.js.map} +0 -0
  473. /package/dist/build/{p-e9a323f2.entry.js.map → p-d9d8c17c.entry.js.map} +0 -0
  474. /package/dist/build/{p-57fc0eb5.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  475. /package/dist/build/{p-b26d5130.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  476. /package/dist/build/{p-448b6640.entry.js.map → p-f3d0ea94.entry.js.map} +0 -0
  477. /package/dist/build/{p-955d149f.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  478. /package/dist/build/{p-c6fa153f.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
  479. /package/dist/paperless/{p-d26ee54b.entry.js.map → p-036bb6f4.entry.js.map} +0 -0
  480. /package/dist/paperless/{p-8b28c5be.entry.js.map → p-0c040d86.entry.js.map} +0 -0
  481. /package/dist/paperless/{p-46cf79b4.entry.js.map → p-0e1935d5.entry.js.map} +0 -0
  482. /package/dist/paperless/{p-2beae871.entry.js.map → p-14e63599.entry.js.map} +0 -0
  483. /package/dist/paperless/{p-716a92ae.entry.js.map → p-1b5ec2b1.entry.js.map} +0 -0
  484. /package/dist/paperless/{p-9f191ebc.entry.js.map → p-214a2978.entry.js.map} +0 -0
  485. /package/dist/paperless/{p-e9ddf7b0.entry.js.map → p-2bd123f4.entry.js.map} +0 -0
  486. /package/dist/paperless/{p-8b38f27d.entry.js.map → p-3a428a06.entry.js.map} +0 -0
  487. /package/dist/paperless/{p-276d2804.entry.js.map → p-3b5242e9.entry.js.map} +0 -0
  488. /package/dist/paperless/{p-8b3b5d3b.entry.js.map → p-3e393301.entry.js.map} +0 -0
  489. /package/dist/paperless/{p-d31d6714.entry.js.map → p-46362798.entry.js.map} +0 -0
  490. /package/dist/paperless/{p-1ea8012a.entry.js.map → p-48efb6e4.entry.js.map} +0 -0
  491. /package/dist/paperless/{p-7ef827d5.entry.js.map → p-50134fa1.entry.js.map} +0 -0
  492. /package/dist/paperless/{p-b27bbec2.entry.js.map → p-62843ca0.entry.js.map} +0 -0
  493. /package/dist/paperless/{p-5c6050aa.entry.js.map → p-638d2138.entry.js.map} +0 -0
  494. /package/dist/paperless/{p-e102e82d.entry.js.map → p-65d9a61f.entry.js.map} +0 -0
  495. /package/dist/paperless/{p-ddde168c.entry.js.map → p-6d8852ca.entry.js.map} +0 -0
  496. /package/dist/paperless/{p-2f821184.entry.js.map → p-a56474ea.entry.js.map} +0 -0
  497. /package/dist/paperless/{p-68ae68c8.entry.js.map → p-a5934232.entry.js.map} +0 -0
  498. /package/dist/paperless/{p-17457a9a.entry.js.map → p-bf261165.entry.js.map} +0 -0
  499. /package/dist/paperless/{p-db4ea9ce.entry.js.map → p-c3ba61ac.entry.js.map} +0 -0
  500. /package/dist/paperless/{p-8f4ccbe0.entry.js.map → p-c8e79e30.entry.js.map} +0 -0
  501. /package/dist/paperless/{p-00534c3c.entry.js.map → p-cc3445fc.entry.js.map} +0 -0
  502. /package/dist/paperless/{p-c6a042f7.entry.js.map → p-cfe6ec9a.entry.js.map} +0 -0
  503. /package/dist/paperless/{p-0ffb8f53.entry.js.map → p-d044f441.entry.js.map} +0 -0
  504. /package/dist/paperless/{p-117de4a8.entry.js.map → p-d70b3539.entry.js.map} +0 -0
  505. /package/dist/paperless/{p-e9a323f2.entry.js.map → p-d9d8c17c.entry.js.map} +0 -0
  506. /package/dist/paperless/{p-57fc0eb5.entry.js.map → p-d9fae6bd.entry.js.map} +0 -0
  507. /package/dist/paperless/{p-b26d5130.entry.js.map → p-eec56c71.entry.js.map} +0 -0
  508. /package/dist/paperless/{p-448b6640.entry.js.map → p-f3d0ea94.entry.js.map} +0 -0
  509. /package/dist/paperless/{p-955d149f.entry.js.map → p-f40f89a7.entry.js.map} +0 -0
  510. /package/dist/paperless/{p-c6fa153f.entry.js.map → p-fd53acd3.entry.js.map} +0 -0
@@ -0,0 +1,438 @@
1
+ import { r as registerInstance, c as createEvent, h, H as Host, g as getElement } from './index-2ef94580.js';
2
+ import { c as cva } from './index-10317a74.js';
3
+ import { n as nonce } from './nonce-a9254eb4.js';
4
+ import { a as autoUpdate, c as computePosition, o as offset, f as flip, s as shift } from './floating-ui.dom.esm-1ee67651.js';
5
+ import { c as childOf } from './child-of-2e1cac22.js';
6
+ import './clsx-297c1ffe.js';
7
+
8
+ const checkboxComponentCss = "*{box-sizing:border-box}.pointer-events-none{pointer-events:none!important}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.left-1\\/2{left:50%!important}.top-1\\/2{top:50%!important}.m-0{margin:0!important}.flex{display:flex!important}.hidden{display:none!important}.h-4{height:1rem!important}.h-6{height:1.5rem!important}.w-4{width:1rem!important}.w-6{width:1.5rem!important}.flex-shrink-0{flex-shrink:0!important}.-translate-x-1\\/2{--tw-translate-x:-50%!important}.-translate-x-1\\/2,.-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.-translate-y-1\\/2{--tw-translate-y:-50%!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.appearance-none{appearance:none!important}.items-center{align-items:center!important}.justify-start{justify-content:flex-start!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.rounded-lg{border-radius:.5rem!important}.border{border-width:1px!important}.border-solid{border-style:solid!important}.border-black-teal-100{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.border-black-teal-50{--tw-border-opacity:1!important;border-color:rgb(230 234 233/var(--tw-border-opacity,1))!important}.bg-white{background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.bg-white,.bg-white-600{--tw-bg-opacity:1!important}.bg-white-600{background-color:rgb(250 250 250/var(--tw-bg-opacity,1))!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-white{--tw-text-opacity:1!important;color:rgb(255 255 255/var(--tw-text-opacity,1))!important}.shadow-1{--tw-shadow:0 1px 1px rgba(0,2,2,.08)!important;--tw-shadow-colored:0 1px 1px var(--tw-shadow-color)!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.outline-none{outline:2px solid transparent!important;outline-offset:2px!important}.drop-shadow-black-teal-10\\%{--tw-drop-shadow:drop-shadow(0px 1px 0px rgba(3,42,36,.1))!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}.checked\\:border-black-teal\\/20:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:bg-supportive-lilac:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.checked\\:ring-2:checked{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.checked\\:ring-supportive-lilac-100:checked{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.indeterminate\\:border-black-teal\\/20:indeterminate{border-color:rgba(3,42,36,.2)!important}.indeterminate\\:bg-supportive-lilac:indeterminate{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.indeterminate\\:ring-2:indeterminate{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.indeterminate\\:ring-supportive-lilac-100:indeterminate{--tw-ring-opacity:1!important;--tw-ring-color:rgb(246 239 255/var(--tw-ring-opacity,1))!important}.hover\\:border-black-teal-100:hover{--tw-border-opacity:1!important;border-color:rgb(205 212 211/var(--tw-border-opacity,1))!important}.hover\\:bg-supportive-lilac-100:hover{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.checked\\:hover\\:border-black-teal\\/20:hover:checked{border-color:rgba(3,42,36,.2)!important}.checked\\:hover\\:bg-supportive-lilac:hover:checked{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.indeterminate\\:hover\\:border-black-teal\\/20:hover:indeterminate{border-color:rgba(3,42,36,.2)!important}.indeterminate\\:hover\\:bg-supportive-lilac:hover:indeterminate{--tw-bg-opacity:1!important;background-color:rgb(209 174 255/var(--tw-bg-opacity,1))!important}.peer:checked~.peer-checked\\:flex{display:flex!important}.peer:indeterminate~.peer-indeterminate\\:flex{display:flex!important}";
9
+ const PCheckboxStyle0 = checkboxComponentCss;
10
+
11
+ const checkbox = cva([
12
+ 'peer appearance-none m-0 outline-none flex-shrink-0',
13
+ 'border border-inset border-solid ',
14
+ ], {
15
+ variants: {
16
+ size: {
17
+ sm: 'rounded w-4 h-4',
18
+ base: 'rounded-lg w-6 h-6',
19
+ },
20
+ disabled: {
21
+ false: [
22
+ 'cursor-pointer shadow-1',
23
+ 'bg-white border-black-teal-100',
24
+ 'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',
25
+ 'checked:bg-supportive-lilac checked:border-black-teal/20',
26
+ 'checked:ring-2 checked:ring-supportive-lilac-100',
27
+ 'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',
28
+ 'indeterminate:bg-supportive-lilac indeterminate:border-black-teal/20',
29
+ 'indeterminate:ring-2 indeterminate:ring-supportive-lilac-100',
30
+ 'indeterminate:hover:bg-supportive-lilac indeterminate:hover:border-black-teal/20',
31
+ ],
32
+ true: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',
33
+ },
34
+ },
35
+ compoundVariants: [
36
+ {
37
+ disabled: false,
38
+ class: [
39
+ 'cursor-pointer shadow-1',
40
+ 'bg-white border-black-teal-100',
41
+ 'hover:bg-supportive-lilac-100 hover:border-black-teal-100',
42
+ ],
43
+ },
44
+ ],
45
+ });
46
+ const icon = cva([
47
+ 'hidden peer-indeterminate:flex peer-checked:flex',
48
+ 'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',
49
+ ], {
50
+ variants: {
51
+ disabled: {
52
+ false: 'text-white',
53
+ true: 'text-black-teal-200',
54
+ },
55
+ },
56
+ });
57
+ const Checkbox = class {
58
+ constructor(hostRef) {
59
+ registerInstance(this, hostRef);
60
+ this.checkedChange = createEvent(this, "checkedChange", 7);
61
+ this.indeterminateChange = createEvent(this, "indeterminateChange", 7);
62
+ this.checked = undefined;
63
+ this.indeterminate = undefined;
64
+ this.size = 'base';
65
+ this.disabled = false;
66
+ this.required = true;
67
+ this.id = undefined;
68
+ this.name = undefined;
69
+ this._nonce = nonce(5);
70
+ }
71
+ /**
72
+ * Event whenever the checked changes
73
+ */
74
+ checkedChange;
75
+ /**
76
+ * Event whenever the indeterminate changes
77
+ */
78
+ indeterminateChange;
79
+ render() {
80
+ return (h(Host, { key: '29712b68566aa174a26cadca7f871c172b521097', class: 'p-checkbox' }, h("label", { key: 'd36bd4cc81188b83d82bc1e851b91410efd67467', htmlFor: this.id ?? this._nonce, class: 'flex items-center justify-start gap-2 text-black-teal' }, h("div", { key: 'afd3b940652f1c275e182617368f17986add44b0', class: 'relative flex flex-shrink-0 items-center' }, h("input", { key: '3bf25b405487ebf4a80228d729eb8c6e545802b5', class: checkbox({
81
+ size: this.size,
82
+ disabled: this.disabled,
83
+ }), type: 'checkbox', id: this.id ?? this._nonce, name: this.name, required: this.required, checked: !!this.checked, indeterminate: this.indeterminate, disabled: this.disabled, onChange: ev => this._onChange(ev) }), h("div", { key: '940a02a1510e94a243c9e6241aa6a5b63d18d7ad', class: icon({
84
+ disabled: this.disabled,
85
+ }) }, h("p-icon", { key: 'db72ee323d02ac27881c0ba89902784a22989cfc', size: this.size, class: 'drop-shadow-black-teal-10%', variant: !!this.indeterminate ? 'minus' : 'checkmark' }))), h("slot", { key: '76e74f54004070d0cbc79d652f07853d638bb942' }))));
86
+ }
87
+ _onChange(ev) {
88
+ if (this.disabled) {
89
+ ev.preventDefault();
90
+ return;
91
+ }
92
+ const checked = ev.target.checked;
93
+ const indeterminate = ev.target.indeterminate;
94
+ if (checked != this.checked) {
95
+ this.checked = checked;
96
+ this.checkedChange.emit(checked);
97
+ }
98
+ if (indeterminate != this.indeterminate) {
99
+ this.indeterminate = indeterminate;
100
+ this.indeterminateChange.emit(indeterminate);
101
+ }
102
+ }
103
+ };
104
+ Checkbox.style = PCheckboxStyle0;
105
+
106
+ const dropdownComponentCss = ".flex{display:flex!important}.hidden{display:none!important}*{box-sizing:border-box}p-dropdown p-dropdown-menu-container{display:none}p-dropdown p-dropdown-menu-container[data-show]{display:flex}.visible{visibility:visible!important}.static{position:static!important}.fixed{position:fixed!important}.absolute{position:absolute!important}.relative{position:relative!important}.z-dropdown{z-index:200!important}";
107
+ const PDropdownStyle0 = dropdownComponentCss;
108
+
109
+ const dropdownContainerClass = cva(['z-dropdown hidden'], {
110
+ variants: {
111
+ strategy: {
112
+ absolute: 'absolute',
113
+ fixed: 'fixed',
114
+ },
115
+ },
116
+ });
117
+ const Dropdown = class {
118
+ constructor(hostRef) {
119
+ registerInstance(this, hostRef);
120
+ this.isOpen = createEvent(this, "isOpen", 3);
121
+ this.placement = 'bottom-start';
122
+ this.offset = 8;
123
+ this.strategy = 'absolute';
124
+ this.show = false;
125
+ this.usePortal = false;
126
+ this.calculateWidth = false;
127
+ this.applyMaxWidth = true;
128
+ this.applyFullWidth = true;
129
+ this.allowOverflow = false;
130
+ this.scrollable = false;
131
+ this.insideClick = false;
132
+ this.disableTriggerClick = false;
133
+ this.applyChevron = true;
134
+ this.chevronPosition = 'end';
135
+ this.chevronDirection = undefined;
136
+ }
137
+ get _el() { return getElement(this); }
138
+ /**
139
+ * Open change event
140
+ */
141
+ isOpen;
142
+ _loaded = false;
143
+ _trigger;
144
+ _menu;
145
+ _cleanup;
146
+ componentShouldUpdate() {
147
+ this._update();
148
+ }
149
+ componentDidLoad() {
150
+ this._checkButtons();
151
+ }
152
+ disconnectedCallback() {
153
+ if (this._cleanup) {
154
+ this._cleanup();
155
+ this._cleanup = null;
156
+ }
157
+ this._menu.remove();
158
+ }
159
+ componentDidRender() {
160
+ this._checkButtons();
161
+ }
162
+ render() {
163
+ const dropdownContainerProps = {
164
+ class: dropdownContainerClass({
165
+ strategy: this.strategy,
166
+ }),
167
+ ref: el => this._load(el),
168
+ onClick: () => this._containerClickHandler(),
169
+ role: 'popover',
170
+ 'data-placement': this.placement,
171
+ 'data-strategy': this.strategy,
172
+ };
173
+ let dropdownContainer;
174
+ if (this.usePortal) {
175
+ dropdownContainer = (h("p-portal", { key: '5d9510a6759f791fb120fc06a31329a21f623f02', ...dropdownContainerProps }, h("p-dropdown-menu-container", { key: 'ea8ef6c6bba695321c530e12051881613fb73fac', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable }, h("slot", { key: '6ab8276bd86e17e48cea60aee12809edaf4d59ad', name: 'items' }))));
176
+ }
177
+ else {
178
+ dropdownContainer = (h("p-dropdown-menu-container", { key: 'fa587ed2bf372b31843d0e39b2cf5309d62fc0b5', maxWidth: !this.calculateWidth && this.applyMaxWidth, fullWidth: this.applyFullWidth && !this.applyMaxWidth, allowOverflow: this.allowOverflow, scrollable: this.scrollable, ...dropdownContainerProps }, h("slot", { key: '91a76863819e3c4d2cfd97f7b935b0b444d9dacc', name: 'items' })));
179
+ }
180
+ return (h(Host, { key: 'b5feffa63e8b3539ea8f7a00fcafab83d0be9c4e', class: 'p-dropdown relative' }, h("div", { key: 'ffe6f1d230d2281e6c704683dd08c9e74261dbe3', class: 'trigger', ref: ref => (this._trigger = ref), onClick: () => this._triggerClickHandler() }, h("slot", { key: 'f01bb68c26c92da98d639ba49aa1723a841c6c92', name: 'trigger' })), dropdownContainer));
181
+ }
182
+ _checkButtons(active = false) {
183
+ if (!this.applyChevron) {
184
+ return;
185
+ }
186
+ const buttons = this._el.querySelectorAll('p-button[slot="trigger"]');
187
+ for (let button of [...buttons]) {
188
+ button.chevronPosition = this.chevronPosition;
189
+ button.chevron = this.chevronDirection
190
+ ? this.chevronDirection
191
+ : this.placement.indexOf('top') >= 0
192
+ ? 'up'
193
+ : 'down';
194
+ button.disabled = this.disableTriggerClick;
195
+ button.active = active;
196
+ }
197
+ }
198
+ onShowChange(show) {
199
+ if (!this._loaded) {
200
+ return;
201
+ }
202
+ if (!show) {
203
+ this._hide();
204
+ return;
205
+ }
206
+ this._show();
207
+ }
208
+ documentClickHandler({ target }) {
209
+ if (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {
210
+ return;
211
+ }
212
+ this._hide();
213
+ }
214
+ _containerClickHandler() {
215
+ if (this.insideClick) {
216
+ return;
217
+ }
218
+ if (this._menu.hasAttribute('data-show')) {
219
+ this._hide();
220
+ }
221
+ }
222
+ _triggerClickHandler() {
223
+ if (this.disableTriggerClick) {
224
+ return;
225
+ }
226
+ if (this._menu.hasAttribute('data-show')) {
227
+ this._hide();
228
+ return;
229
+ }
230
+ this._show();
231
+ }
232
+ _load(popover) {
233
+ this._menu = popover;
234
+ if (popover) {
235
+ this._update();
236
+ this._loaded = true;
237
+ if (this.show) {
238
+ setTimeout(() => this._show(), 100);
239
+ }
240
+ }
241
+ }
242
+ _show() {
243
+ if (!this._loaded) {
244
+ return;
245
+ }
246
+ // Make the popover visible
247
+ if (this.calculateWidth) {
248
+ this._menu.style.width = `${this._trigger.clientWidth}px`;
249
+ }
250
+ this._cleanup = autoUpdate(this._el, this._menu, () => this._update());
251
+ this._menu.setAttribute('data-show', '');
252
+ this._menu.classList.remove('hidden');
253
+ this._menu.classList.add('flex');
254
+ this.isOpen.emit(true);
255
+ this._checkButtons(true);
256
+ }
257
+ _hide() {
258
+ if (!this._loaded || this.show) {
259
+ return;
260
+ }
261
+ if (this._cleanup) {
262
+ this._cleanup();
263
+ this._cleanup = null;
264
+ }
265
+ // Hide the popover
266
+ this._menu.removeAttribute('data-show');
267
+ this._menu.classList.remove('flex');
268
+ this._menu.classList.add('hidden');
269
+ this.isOpen.emit(false);
270
+ this._checkButtons(false);
271
+ }
272
+ _update() {
273
+ if (!this._menu) {
274
+ return;
275
+ }
276
+ computePosition(this._el, this._menu, {
277
+ placement: this.placement,
278
+ strategy: this.strategy,
279
+ middleware: [offset(this.offset), flip(), shift()],
280
+ }).then(({ x, y, placement }) => {
281
+ this._menu.dataset.placement = placement;
282
+ Object.assign(this._menu.style, {
283
+ top: `${y}px`,
284
+ left: `${x}px`,
285
+ });
286
+ });
287
+ }
288
+ static get watchers() { return {
289
+ "show": ["onShowChange"]
290
+ }; }
291
+ };
292
+ Dropdown.style = PDropdownStyle0;
293
+
294
+ const dropdownMenuItemComponentCss = "*{box-sizing:border-box}.static{position:static!important}.block{display:block!important}.flex{display:flex!important}.h-8{height:2rem!important}.w-full{width:100%!important}.max-w-full{max-width:100%!important}.cursor-not-allowed{cursor:not-allowed!important}.cursor-pointer{cursor:pointer!important}.items-center{align-items:center!important}.gap-2{gap:.5rem!important}.overflow-hidden{overflow:hidden!important}.text-ellipsis{text-overflow:ellipsis!important}.whitespace-nowrap{white-space:nowrap!important}.rounded-lg{border-radius:.5rem!important}.bg-negative-red-100{--tw-bg-opacity:1!important;background-color:rgb(255 221 221/var(--tw-bg-opacity,1))!important}.bg-negative-red-50{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.bg-supportive-lilac-100{--tw-bg-opacity:1!important;background-color:rgb(246 239 255/var(--tw-bg-opacity,1))!important}.px-2{padding-left:.5rem!important;padding-right:.5rem!important}.py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.text-start{text-align:start!important}.text-base{font-size:1rem!important;line-height:1.5rem!important}.text-sm{font-size:.875rem!important;line-height:1.25rem!important}.font-medium{font-weight:500!important}.text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.text-black-teal-100{--tw-text-opacity:1!important;color:rgb(205 212 211/var(--tw-text-opacity,1))!important}.text-black-teal-200{--tw-text-opacity:1!important;color:rgb(154 170 167/var(--tw-text-opacity,1))!important}.text-black-teal-300{--tw-text-opacity:1!important;color:rgb(104 127 124/var(--tw-text-opacity,1))!important}.text-negative-red{--tw-text-opacity:1!important;color:rgb(230 30 30/var(--tw-text-opacity,1))!important}.text-negative-red-100{--tw-text-opacity:1!important;color:rgb(255 221 221/var(--tw-text-opacity,1))!important}.text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}.hover\\:bg-negative-red-50:hover{--tw-bg-opacity:1!important;background-color:rgb(253 237 237/var(--tw-bg-opacity,1))!important}.hover\\:bg-supportive-lilac-50:hover{--tw-bg-opacity:1!important;background-color:rgb(250 247 255/var(--tw-bg-opacity,1))!important}.group:hover .group-hover\\:text-black-teal{--tw-text-opacity:1!important;color:rgb(3 42 36/var(--tw-text-opacity,1))!important}.group:hover .group-hover\\:text-negative-red-800{--tw-text-opacity:1!important;color:rgb(141 16 16/var(--tw-text-opacity,1))!important}";
295
+ const PDropdownMenuItemStyle0 = dropdownMenuItemComponentCss;
296
+
297
+ const dropdownMenuItem = cva([
298
+ 'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',
299
+ ], {
300
+ variants: {
301
+ variant: {
302
+ default: null,
303
+ negative: null,
304
+ },
305
+ active: {
306
+ false: null,
307
+ true: null,
308
+ },
309
+ disabled: {
310
+ false: 'cursor-pointer',
311
+ true: 'cursor-not-allowed',
312
+ },
313
+ enableHover: {
314
+ false: null,
315
+ true: null,
316
+ },
317
+ },
318
+ compoundVariants: [
319
+ {
320
+ variant: 'default',
321
+ active: false,
322
+ enableHover: true,
323
+ disabled: false,
324
+ class: 'text-black-teal hover:bg-supportive-lilac-50',
325
+ },
326
+ {
327
+ variant: 'default',
328
+ active: true,
329
+ disabled: false,
330
+ class: 'bg-supportive-lilac-100',
331
+ },
332
+ {
333
+ variant: 'default',
334
+ disabled: true,
335
+ class: 'text-black-teal-200',
336
+ },
337
+ {
338
+ variant: 'default',
339
+ disabled: true,
340
+ active: true,
341
+ class: 'bg-supportive-lilac-100',
342
+ },
343
+ {
344
+ variant: 'negative',
345
+ active: false,
346
+ enableHover: true,
347
+ disabled: false,
348
+ class: 'text-negative-red hover:bg-negative-red-50',
349
+ },
350
+ {
351
+ variant: 'negative',
352
+ active: true,
353
+ disabled: false,
354
+ class: 'bg-negative-red-100 text-negative-red',
355
+ },
356
+ {
357
+ variant: 'negative',
358
+ disabled: true,
359
+ class: 'text-negative-red-100',
360
+ },
361
+ {
362
+ variant: 'negative',
363
+ disabled: true,
364
+ active: true,
365
+ class: 'bg-negative-red-50',
366
+ },
367
+ {
368
+ enableHover: true,
369
+ disabled: false,
370
+ class: 'cursor-pointer',
371
+ },
372
+ ],
373
+ });
374
+ const dropdownMenuItemIcon = cva(['text-base'], {
375
+ variants: {
376
+ variant: {
377
+ default: null,
378
+ negative: null,
379
+ },
380
+ active: {
381
+ false: null,
382
+ true: null,
383
+ },
384
+ disabled: {
385
+ false: null,
386
+ true: 'text-black-teal-100',
387
+ },
388
+ },
389
+ compoundVariants: [
390
+ {
391
+ variant: 'default',
392
+ active: false,
393
+ disabled: false,
394
+ class: 'text-black-teal-300 group-hover:text-black-teal',
395
+ },
396
+ {
397
+ variant: 'negative',
398
+ active: false,
399
+ disabled: false,
400
+ class: 'text-negative-red group-hover:text-negative-red-800',
401
+ },
402
+ {
403
+ variant: 'negative',
404
+ active: true,
405
+ disabled: false,
406
+ class: 'text-negative-red-800',
407
+ },
408
+ ],
409
+ });
410
+ const DropdownMenuItem = class {
411
+ constructor(hostRef) {
412
+ registerInstance(this, hostRef);
413
+ this.active = false;
414
+ this.checkbox = false;
415
+ this.variant = 'default';
416
+ this.enableHover = true;
417
+ this.disabled = false;
418
+ this.icon = undefined;
419
+ this.useContainer = true;
420
+ }
421
+ render() {
422
+ return (h(Host, { key: 'eae3f121b78a2cf2f43116a383addfe754b824d3', class: dropdownMenuItem({
423
+ variant: this.variant,
424
+ active: this.active,
425
+ enableHover: this.enableHover,
426
+ disabled: this.disabled,
427
+ }) }, this.icon && (h("p-icon", { key: '3fc1da2563895786896ab6d280b3759b021e7274', class: dropdownMenuItemIcon({
428
+ variant: this.variant,
429
+ active: this.active,
430
+ disabled: this.disabled,
431
+ }), variant: this.icon })), this.checkbox && (h("p-checkbox", { key: '7c3b45d2c9c42c82095d9d8ba20350c5d0c341eb', size: 'sm', checked: this.active, disabled: this.disabled })), this.useContainer ? (h("div", { class: 'block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start' }, h("slot", null))) : (h("slot", null))));
432
+ }
433
+ };
434
+ DropdownMenuItem.style = PDropdownMenuItemStyle0;
435
+
436
+ export { Checkbox as p_checkbox, Dropdown as p_dropdown, DropdownMenuItem as p_dropdown_menu_item };
437
+
438
+ //# sourceMappingURL=p-checkbox_3.entry.js.map
@@ -0,0 +1 @@
1
+ {"file":"p-checkbox.p-dropdown.p-dropdown-menu-item.entry.js","mappings":";;;;;;;AAAA,MAAM,oBAAoB,GAAG,klKAAklK,CAAC;AAChnK,wBAAe,oBAAoB;;ACWnC,MAAM,QAAQ,GAAG,GAAG,CACnB;IACC,qDAAqD;IACrD,mCAAmC;CACnC,EACD;IACC,QAAQ,EAAE;QACT,IAAI,EAAE;YACL,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,oBAAoB;SAC1B;QACD,QAAQ,EAAE;YACT,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAAgC;gBAChC,4DAA4D;gBAC5D,0DAA0D;gBAC1D,kDAAkD;gBAClD,sEAAsE;gBACtE,sEAAsE;gBACtE,8DAA8D;gBAC9D,kFAAkF;aAClF;YACD,IAAI,EAAE,uDAAuD;SAC7D;KACD;IACD,gBAAgB,EAAE;QACjB;YACC,QAAQ,EAAE,KAAK;YACf,KAAK,EAAE;gBACN,yBAAyB;gBACzB,gCAAgC;gBAChC,2DAA2D;aAC3D;SACD;KACD;CACD,CACD,CAAC;AAEF,MAAM,IAAI,GAAG,GAAG,CACf;IACC,kDAAkD;IAClD,2FAA2F;CAC3F,EACD;IACC,QAAQ,EAAE;QACT,QAAQ,EAAE;YACT,KAAK,EAAE,YAAY;YACnB,IAAI,EAAE,qBAAqB;SAC3B;KACD;CACD,CACD,CAAC;MAMW,QAAQ;;;;;;;oBAcU,MAAM;wBAKS,KAAK;wBAKL,IAAI;;;sBAqBvB,KAAK,CAAC,CAAC,CAAC;;;;;IANzB,aAAa,CAAwB;;;;IAIrC,mBAAmB,CAAwB;IAIpD,MAAM;QACL,QACC,EAAC,IAAI,qDAAC,KAAK,EAAC,YAAY,IACvB,8DACC,OAAO,EAAE,IAAI,CAAC,EAAE,IAAI,IAAI,CAAC,MAAM,EAC/B,KAAK,EAAC,uDAAuD,I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,EAAC,IAAI,EACT,OAAO,EAAE,IAAI,CAAC,MAAM,EACpB,QAAQ,EAAE,IAAI,CAAC,QAAQ,GACtB,CACF,EAEA,IAAI,CAAC,YAAY,IACjB,WAAK,KAAK,EAAC,yEAAyE,IACnF,eAAQ,CACH,KAEN,eAAQ,CACR,CACK,EACN;KACF;;;;;;","names":[],"sources":["src/components/atoms/checkbox/checkbox.component.css?tag=p-checkbox","src/components/atoms/checkbox/checkbox.component.tsx","src/components/molecules/dropdown/dropdown.component.scss?tag=p-dropdown","src/components/molecules/dropdown/dropdown.component.tsx","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.scss?tag=p-dropdown-menu-item","src/components/atoms/dropdown-menu-item/dropdown-menu-item.component.tsx"],"sourcesContent":["","import {\n\tComponent,\n\tEvent,\n\tEventEmitter,\n\tHost,\n\tProp,\n\tState,\n\th,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { nonce } from '../../../utils/nonce';\n\nconst checkbox = cva(\n\t[\n\t\t'peer appearance-none m-0 outline-none flex-shrink-0',\n\t\t'border border-inset border-solid ',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tsize: {\n\t\t\t\tsm: 'rounded w-4 h-4',\n\t\t\t\tbase: 'rounded-lg w-6 h-6',\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportivce-lilac-100 hover:border-black-teal-100',\n\t\t\t\t\t'checked:bg-supportive-lilac checked:border-black-teal/20',\n\t\t\t\t\t'checked:ring-2 checked:ring-supportive-lilac-100',\n\t\t\t\t\t'checked:hover:bg-supportive-lilac checked:hover:border-black-teal/20',\n\t\t\t\t\t'indeterminate:bg-supportive-lilac indeterminate:border-black-teal/20',\n\t\t\t\t\t'indeterminate:ring-2 indeterminate:ring-supportive-lilac-100',\n\t\t\t\t\t'indeterminate:hover:bg-supportive-lilac indeterminate:hover:border-black-teal/20',\n\t\t\t\t],\n\t\t\t\ttrue: 'bg-white-600 border-black-teal-50 cursor-not-allowed ',\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: [\n\t\t\t\t\t'cursor-pointer shadow-1',\n\t\t\t\t\t'bg-white border-black-teal-100',\n\t\t\t\t\t'hover:bg-supportive-lilac-100 hover:border-black-teal-100',\n\t\t\t\t],\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst icon = cva(\n\t[\n\t\t'hidden peer-indeterminate:flex peer-checked:flex',\n\t\t'absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 pointer-events-none',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'text-white',\n\t\t\t\ttrue: 'text-black-teal-200',\n\t\t\t},\n\t\t},\n\t}\n);\n\n@Component({\n\ttag: 'p-checkbox',\n\tstyleUrl: 'checkbox.component.css',\n})\nexport class Checkbox {\n\t/**\n\t * Wether the checkbox is checked\n\t */\n\t@Prop() checked: boolean;\n\n\t/**\n\t * Wether the checkbox is in indeterminate state\n\t */\n\t@Prop() indeterminate: boolean;\n\n\t/**\n\t * The size of the checkbox\n\t */\n\t@Prop() size: 'sm' | 'base' = 'base';\n\n\t/**\n\t * Wether the checkbox is disabled\n\t */\n\t@Prop({ reflect: true }) disabled: boolean = false;\n\n\t/**\n\t * Wether the checkbox is required\n\t */\n\t@Prop({ reflect: true }) required: boolean = true;\n\n\t/**\n\t * The id of the checkbox button\n\t */\n\t@Prop({ reflect: true }) id: string;\n\n\t/**\n\t * The name of the checkbox button\n\t */\n\t@Prop({ reflect: true }) name: string;\n\n\t/**\n\t * Event whenever the checked changes\n\t */\n\t@Event() checkedChange: EventEmitter<boolean>;\n\t/**\n\t * Event whenever the indeterminate changes\n\t */\n\t@Event() indeterminateChange: EventEmitter<boolean>;\n\n\t@State() private _nonce = nonce(5);\n\n\trender() {\n\t\treturn (\n\t\t\t<Host class='p-checkbox'>\n\t\t\t\t<label\n\t\t\t\t\thtmlFor={this.id ?? this._nonce}\n\t\t\t\t\tclass='flex items-center justify-start gap-2 text-black-teal'\n\t\t\t\t>\n\t\t\t\t\t<div class='relative flex flex-shrink-0 items-center'>\n\t\t\t\t\t\t<input\n\t\t\t\t\t\t\tclass={checkbox({\n\t\t\t\t\t\t\t\tsize: this.size,\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\ttype='checkbox'\n\t\t\t\t\t\t\tid={this.id ?? this._nonce}\n\t\t\t\t\t\t\tname={this.name}\n\t\t\t\t\t\t\trequired={this.required}\n\t\t\t\t\t\t\tchecked={!!this.checked}\n\t\t\t\t\t\t\tindeterminate={this.indeterminate}\n\t\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t\t\tonChange={ev => this._onChange(ev)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t\t<div\n\t\t\t\t\t\t\tclass={icon({\n\t\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t<p-icon\n\t\t\t\t\t\t\t\tsize={this.size}\n\t\t\t\t\t\t\t\tclass='drop-shadow-black-teal-10%'\n\t\t\t\t\t\t\t\tvariant={!!this.indeterminate ? 'minus' : 'checkmark'}\n\t\t\t\t\t\t\t/>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t\t<slot></slot>\n\t\t\t\t</label>\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _onChange(ev: Event) {\n\t\tif (this.disabled) {\n\t\t\tev.preventDefault();\n\t\t\treturn;\n\t\t}\n\n\t\tconst checked = (ev.target as HTMLInputElement).checked;\n\t\tconst indeterminate = (ev.target as HTMLInputElement).indeterminate;\n\n\t\tif (checked != this.checked) {\n\t\t\tthis.checked = checked;\n\t\t\tthis.checkedChange.emit(checked);\n\t\t}\n\n\t\tif (indeterminate != this.indeterminate) {\n\t\t\tthis.indeterminate = indeterminate;\n\t\t\tthis.indeterminateChange.emit(indeterminate);\n\t\t}\n\t}\n}\n","p-dropdown {\n\tp-dropdown-menu-container {\n\t\t@apply hidden;\n\n\t\t&[data-show] {\n\t\t\t@apply flex;\n\t\t}\n\t}\n}\n","import {\n\tautoUpdate,\n\tcomputePosition,\n\tflip,\n\toffset,\n\tPlacement,\n\tshift,\n\tStrategy,\n} from '@floating-ui/dom';\nimport {\n\tComponent,\n\tElement,\n\tEvent,\n\tEventEmitter,\n\th,\n\tHost,\n\tListen,\n\tProp,\n\tWatch,\n} from '@stencil/core';\nimport { cva } from 'class-variance-authority';\nimport { childOf } from '../../../utils/child-of';\n\nconst dropdownContainerClass = cva(['z-dropdown hidden'], {\n\tvariants: {\n\t\tstrategy: {\n\t\t\tabsolute: 'absolute',\n\t\t\tfixed: 'fixed',\n\t\t},\n\t},\n});\n\n@Component({\n\ttag: 'p-dropdown',\n\tstyleUrl: 'dropdown.component.scss',\n})\nexport class Dropdown {\n\t/**\n\t * The content of the dropdown menu\n\t */\n\t@Prop({ reflect: true }) placement: Placement = 'bottom-start';\n\n\t/**\n\t * The offset of the dropdown menu\n\t */\n\t@Prop() offset: number = 8;\n\n\t/**\n\t * The strategy of the dropdown placement\n\t */\n\t@Prop() strategy: Strategy = 'absolute';\n\n\t/**\n\t * Wether to show the dropdown menu\n\t */\n\t@Prop() show: boolean = false;\n\n\t/**\n\t * Wether to use a portal for the dropdown container\n\t */\n\t@Prop() usePortal: boolean = false;\n\n\t/**\n\t * Wether to automatically calculate the width of the menu based on the trigger\n\t */\n\t@Prop() calculateWidth: boolean = false;\n\n\t/**\n\t * Wether to apply the max width\n\t */\n\t@Prop() applyMaxWidth: boolean = true;\n\n\t/**\n\t * Wether to apply the full width\n\t */\n\t@Prop() applyFullWidth: boolean = true;\n\n\t/**\n\t * Wether to allow overflow in the container\n\t */\n\t@Prop() allowOverflow: boolean = false;\n\n\t/**\n\t * Wether the dropdown container should be scrollable when the threshold is met.\n\t */\n\t@Prop() scrollable: boolean | 'default' | 'large' = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() insideClick: boolean = false;\n\n\t/**\n\t * Wether to automatically close the dropdown menu after clicking inside\n\t */\n\t@Prop() disableTriggerClick: boolean = false;\n\n\t/**\n\t * Wether to apply chevron automatically\n\t */\n\t@Prop() applyChevron: boolean = true;\n\n\t/**\n\t * Chevron position\n\t */\n\t@Prop() chevronPosition: 'start' | 'end' = 'end';\n\n\t/**\n\t * Chevron direction\n\t */\n\t@Prop() chevronDirection: 'up' | 'down';\n\n\t/**\n\t * The host element\n\t */\n\t@Element() private _el: HTMLElement;\n\n\t/**\n\t * Open change event\n\t */\n\t@Event({\n\t\tbubbles: false,\n\t})\n\tisOpen: EventEmitter<boolean>;\n\n\tprivate _loaded = false;\n\tprivate _trigger: HTMLElement;\n\tprivate _menu: HTMLElement;\n\tprivate _cleanup: () => void;\n\n\tcomponentShouldUpdate() {\n\t\tthis._update();\n\t}\n\n\tcomponentDidLoad() {\n\t\tthis._checkButtons();\n\t}\n\n\tdisconnectedCallback() {\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\tthis._menu.remove();\n\t}\n\n\tcomponentDidRender() {\n\t\tthis._checkButtons();\n\t}\n\n\trender() {\n\t\tconst dropdownContainerProps = {\n\t\t\tclass: dropdownContainerClass({\n\t\t\t\tstrategy: this.strategy,\n\t\t\t}),\n\t\t\tref: el => this._load(el),\n\t\t\tonClick: () => this._containerClickHandler(),\n\t\t\trole: 'popover',\n\t\t\t'data-placement': this.placement,\n\t\t\t'data-strategy': this.strategy,\n\t\t};\n\n\t\tlet dropdownContainer: HTMLElement;\n\n\t\tif (this.usePortal) {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-portal {...dropdownContainerProps}>\n\t\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t>\n\t\t\t\t\t\t<slot name='items' />\n\t\t\t\t\t</p-dropdown-menu-container>\n\t\t\t\t</p-portal>\n\t\t\t);\n\t\t} else {\n\t\t\tdropdownContainer = (\n\t\t\t\t<p-dropdown-menu-container\n\t\t\t\t\tmaxWidth={!this.calculateWidth && this.applyMaxWidth}\n\t\t\t\t\tfullWidth={this.applyFullWidth && !this.applyMaxWidth}\n\t\t\t\t\tallowOverflow={this.allowOverflow}\n\t\t\t\t\tscrollable={this.scrollable}\n\t\t\t\t\t{...dropdownContainerProps}\n\t\t\t\t>\n\t\t\t\t\t<slot name='items' />\n\t\t\t\t</p-dropdown-menu-container>\n\t\t\t);\n\t\t}\n\n\t\treturn (\n\t\t\t<Host class='p-dropdown relative'>\n\t\t\t\t<div\n\t\t\t\t\tclass='trigger'\n\t\t\t\t\tref={ref => (this._trigger = ref)}\n\t\t\t\t\tonClick={() => this._triggerClickHandler()}\n\t\t\t\t>\n\t\t\t\t\t<slot name='trigger' />\n\t\t\t\t</div>\n\t\t\t\t{dropdownContainer}\n\t\t\t</Host>\n\t\t);\n\t}\n\n\tprivate _checkButtons(active: boolean = false) {\n\t\tif (!this.applyChevron) {\n\t\t\treturn;\n\t\t}\n\n\t\tconst buttons = this._el.querySelectorAll<HTMLPButtonElement>(\n\t\t\t'p-button[slot=\"trigger\"]'\n\t\t);\n\n\t\tfor (let button of [...buttons]) {\n\t\t\tbutton.chevronPosition = this.chevronPosition;\n\t\t\tbutton.chevron = this.chevronDirection\n\t\t\t\t? this.chevronDirection\n\t\t\t\t: this.placement.indexOf('top') >= 0\n\t\t\t\t? 'up'\n\t\t\t\t: 'down';\n\t\t\tbutton.disabled = this.disableTriggerClick;\n\t\t\tbutton.active = active;\n\t\t}\n\t}\n\n\t@Watch('show')\n\tprotected onShowChange(show) {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (!show) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\t@Listen('click', { target: 'document', capture: true })\n\tprotected documentClickHandler({ target }) {\n\t\tif (!this._menu.hasAttribute('data-show') || childOf(target, this._menu)) {\n\t\t\treturn;\n\t\t}\n\n\t\tthis._hide();\n\t}\n\n\tprivate _containerClickHandler() {\n\t\tif (this.insideClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t}\n\t}\n\n\tprivate _triggerClickHandler() {\n\t\tif (this.disableTriggerClick) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._menu.hasAttribute('data-show')) {\n\t\t\tthis._hide();\n\t\t\treturn;\n\t\t}\n\n\t\tthis._show();\n\t}\n\n\tprivate _load(popover: HTMLElement) {\n\t\tthis._menu = popover;\n\t\tif (popover) {\n\t\t\tthis._update();\n\t\t\tthis._loaded = true;\n\n\t\t\tif (this.show) {\n\t\t\t\tsetTimeout(() => this._show(), 100);\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate _show() {\n\t\tif (!this._loaded) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make the popover visible\n\t\tif (this.calculateWidth) {\n\t\t\tthis._menu.style.width = `${this._trigger.clientWidth}px`;\n\t\t}\n\n\t\tthis._cleanup = autoUpdate(this._el, this._menu, () => this._update());\n\n\t\tthis._menu.setAttribute('data-show', '');\n\t\tthis._menu.classList.remove('hidden');\n\t\tthis._menu.classList.add('flex');\n\n\t\tthis.isOpen.emit(true);\n\t\tthis._checkButtons(true);\n\t}\n\n\tprivate _hide() {\n\t\tif (!this._loaded || this.show) {\n\t\t\treturn;\n\t\t}\n\n\t\tif (this._cleanup) {\n\t\t\tthis._cleanup();\n\t\t\tthis._cleanup = null;\n\t\t}\n\n\t\t// Hide the popover\n\t\tthis._menu.removeAttribute('data-show');\n\t\tthis._menu.classList.remove('flex');\n\t\tthis._menu.classList.add('hidden');\n\n\t\tthis.isOpen.emit(false);\n\t\tthis._checkButtons(false);\n\t}\n\n\tprivate _update() {\n\t\tif (!this._menu) {\n\t\t\treturn;\n\t\t}\n\n\t\tcomputePosition(this._el, this._menu, {\n\t\t\tplacement: this.placement,\n\t\t\tstrategy: this.strategy,\n\t\t\tmiddleware: [offset(this.offset), flip(), shift()],\n\t\t}).then(({ x, y, placement }) => {\n\t\t\tthis._menu.dataset.placement = placement;\n\t\t\tObject.assign(this._menu.style, {\n\t\t\t\ttop: `${y}px`,\n\t\t\t\tleft: `${x}px`,\n\t\t\t});\n\t\t});\n\t}\n}\n","","import { Component, Host, Prop, h } from '@stencil/core';\nimport { IconVariant } from '../icon/icon.component';\nimport { cva } from 'class-variance-authority';\n\nconst dropdownMenuItem = cva(\n\t[\n\t\t'p-dropdown-menu-item flex px-2 py-1 gap-2 text-sm font-medium group rounded-lg items-center h-8 max-w-full',\n\t],\n\t{\n\t\tvariants: {\n\t\t\tvariant: {\n\t\t\t\tdefault: null,\n\t\t\t\tnegative: null,\n\t\t\t},\n\t\t\tactive: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t\tdisabled: {\n\t\t\t\tfalse: 'cursor-pointer',\n\t\t\t\ttrue: 'cursor-not-allowed',\n\t\t\t},\n\t\t\tenableHover: {\n\t\t\t\tfalse: null,\n\t\t\t\ttrue: null,\n\t\t\t},\n\t\t},\n\t\tcompoundVariants: [\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-black-teal hover:bg-supportive-lilac-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tactive: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-supportive-lilac-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-black-teal-200',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'default',\n\t\t\t\tdisabled: true,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'bg-supportive-lilac-100',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tactive: false,\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'text-negative-red hover:bg-negative-red-50',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tactive: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'bg-negative-red-100 text-negative-red',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tdisabled: true,\n\t\t\t\tclass: 'text-negative-red-100',\n\t\t\t},\n\t\t\t{\n\t\t\t\tvariant: 'negative',\n\t\t\t\tdisabled: true,\n\t\t\t\tactive: true,\n\t\t\t\tclass: 'bg-negative-red-50',\n\t\t\t},\n\n\t\t\t{\n\t\t\t\tenableHover: true,\n\t\t\t\tdisabled: false,\n\t\t\t\tclass: 'cursor-pointer',\n\t\t\t},\n\t\t],\n\t}\n);\n\nconst dropdownMenuItemIcon = cva(['text-base'], {\n\tvariants: {\n\t\tvariant: {\n\t\t\tdefault: null,\n\t\t\tnegative: null,\n\t\t},\n\t\tactive: {\n\t\t\tfalse: null,\n\t\t\ttrue: null,\n\t\t},\n\t\tdisabled: {\n\t\t\tfalse: null,\n\t\t\ttrue: 'text-black-teal-100',\n\t\t},\n\t},\n\tcompoundVariants: [\n\t\t{\n\t\t\tvariant: 'default',\n\t\t\tactive: false,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-black-teal-300 group-hover:text-black-teal',\n\t\t},\n\n\t\t{\n\t\t\tvariant: 'negative',\n\t\t\tactive: false,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-negative-red group-hover:text-negative-red-800',\n\t\t},\n\t\t{\n\t\t\tvariant: 'negative',\n\t\t\tactive: true,\n\t\t\tdisabled: false,\n\t\t\tclass: 'text-negative-red-800',\n\t\t},\n\t],\n});\n\n@Component({\n\ttag: 'p-dropdown-menu-item',\n\tstyleUrl: 'dropdown-menu-item.component.scss',\n})\nexport class DropdownMenuItem {\n\t/**\n\t * Wether the dropdown menu item is active\n\t */\n\t@Prop() active: boolean = false;\n\n\t/**\n\t * Wether the dropdown menu item has a checkbox\n\t */\n\t@Prop() checkbox: boolean = false;\n\n\t/**\n\t * The variant of the item\n\t */\n\t@Prop() variant: 'default' | 'negative' = 'default';\n\n\t/**\n\t * Wether to enable the hover state\n\t */\n\t@Prop() enableHover: boolean = true;\n\n\t/**\n\t * Wether the item is disabled\n\t */\n\t@Prop() disabled: boolean = false;\n\n\t/**\n\t * Icon of the navigation item\n\t */\n\t@Prop() icon: IconVariant;\n\n\t/**\n\t * wether to use the container for text\n\t */\n\t@Prop() useContainer = true;\n\n\trender() {\n\t\treturn (\n\t\t\t<Host\n\t\t\t\tclass={dropdownMenuItem({\n\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\tactive: this.active,\n\t\t\t\t\tenableHover: this.enableHover,\n\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t})}\n\t\t\t>\n\t\t\t\t{/* class={`p-dropdown-menu-item ${this.active && 'active'} ${ */}\n\t\t\t\t{/* \tthis.enableHover && 'hover' */}\n\t\t\t\t{/* }`} */}\n\t\t\t\t{this.icon && (\n\t\t\t\t\t<p-icon\n\t\t\t\t\t\tclass={dropdownMenuItemIcon({\n\t\t\t\t\t\t\tvariant: this.variant,\n\t\t\t\t\t\t\tactive: this.active,\n\t\t\t\t\t\t\tdisabled: this.disabled,\n\t\t\t\t\t\t})}\n\t\t\t\t\t\tvariant={this.icon}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.checkbox && (\n\t\t\t\t\t<p-checkbox\n\t\t\t\t\t\tsize='sm'\n\t\t\t\t\t\tchecked={this.active}\n\t\t\t\t\t\tdisabled={this.disabled}\n\t\t\t\t\t/>\n\t\t\t\t)}\n\n\t\t\t\t{this.useContainer ? (\n\t\t\t\t\t<div class='block w-full overflow-hidden text-ellipsis whitespace-nowrap text-start'>\n\t\t\t\t\t\t<slot />\n\t\t\t\t\t</div>\n\t\t\t\t) : (\n\t\t\t\t\t<slot />\n\t\t\t\t)}\n\t\t\t</Host>\n\t\t);\n\t}\n}\n"],"version":3}
@@ -41,9 +41,9 @@ const ContentSlider = class {
41
41
  }
42
42
  }
43
43
  render() {
44
- return (h(Host, { key: 'bd13cf2fb10e5a7101089bb3e28c7902143a7736', class: "p-content-slider" }, h("div", { key: '91492cc4f04f389cfe9b5c052802c49254dd57bf', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
44
+ return (h(Host, { key: 'e996c635c0cf4b6079e446ce63d73f1b9852726b', class: "p-content-slider" }, h("div", { key: '184859d7f3cc545fed4b2cd81ec40f1faf231a14', class: `slider ${!this.disableDrag && 'draggable'} ${this._dragging && 'dragging'}`, style: {
45
45
  height: `${this._outerHeight}px`,
46
- }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'daca078d5df24f58edb2443c11d754ba29562e14', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '9422195b02a09c0e9332bb6c8a5a7b9b72d03d85' }))), h("div", { key: '30bc61b8e83c985d920ef404c323f3d3f90b0d2d', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
46
+ }, ref: (el) => (this._sliderRef = el), onMouseDown: (e) => this._mouseDownHandler(e), onTouchStart: (e) => this._mouseDownHandler(e), onMouseMove: (e) => this._mouseMoveHandler(e), onTouchMove: (e) => this._mouseMoveHandler(e) }, h("div", { key: 'cbeab030c9c898ee3f13b18c542673057113a74d', class: "inner-slider", ref: (ref) => this._setInnerSliderReft(ref), onTransitionEnd: () => this._transitionEndHandler() }, h("slot", { key: '3a750b867b7abd33b4ad25dd08b7e634fbddd957' }))), h("div", { key: '6fb3c9c1bfcaf67067858c71de4058be1e6fd8b8', class: `indicator ${this.hideMobileIndicator && 'hidden'}` }, this._items.map((_, i) => (h("div", { onClick: () => this._scrollTo(i, true), class: `item ${!this.disableIndicatorClick && 'cursor-pointer'}` }, h("p-slider-indicator", { active: i === this._visibleIndex })))))));
47
47
  }
48
48
  _mouseDownHandler(e) {
49
49
  if (this.disableDrag || this._dragging) {
@@ -10,7 +10,7 @@ const Counter = class {
10
10
  this.size = 'default';
11
11
  }
12
12
  render() {
13
- return (h(Host, { key: 'dbacc6cb7740bc1cffb0b5842e921e7464cd02d1', class: `p-counter variant-${this.variant} size-${this.size}` }, h("slot", { key: 'd8b1f31e36a9d095da85c352565ff587e9a0160c' })));
13
+ return (h(Host, { key: '247b54b5069475c8237a0276e19bae59aa7d7fac', class: `p-counter variant-${this.variant} size-${this.size}` }, h("slot", { key: '4bc3b8c5cedc9e522d2c563ffef31fe2b1bbed0b' })));
14
14
  }
15
15
  };
16
16
  Counter.style = PCounterStyle0;
@@ -2800,7 +2800,7 @@ CropperSelection.$define();
2800
2800
  CropperShade.$define();
2801
2801
  CropperViewer.$define();
2802
2802
 
2803
- const cropperComponentCss = ".relative{position:relative!important}.-mt-\\[6px\\]{margin-top:-6px!important}.mb-6{margin-bottom:1.5rem!important}.flex{display:flex!important}.h-4{height:1rem!important}.h-\\[2px\\]{height:2px!important}.w-4{width:1rem!important}.w-full{width:100%!important}.appearance-none{appearance:none!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}.rounded-full{border-radius:9999px!important}.border-0{border-width:0!important}*{box-sizing:border-box}:host{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem;width:100%}:host .p-input[type=range]{appearance:none;background-color:transparent;position:relative}:host .p-input[type=range]::-webkit-slider-runnable-track{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity,1));height:2px}:host .p-input[type=range]::-moz-range-track{--tw-bg-opacity:1;background-color:rgb(218 230 240/var(--tw-bg-opacity,1));height:2px}:host .p-input[type=range]::-moz-range-thumb,:host .p-input[type=range]::-webkit-slider-thumb{--tw-bg-opacity:1;background-color:rgb(82 138 250/var(--tw-bg-opacity,1));border-radius:9999px;border-width:0;height:1rem;width:1rem}:host .p-input[type=range]::-webkit-slider-thumb{margin-top:-6px}.static{position:static!important}.hidden{display:none!important}.h-\\[17\\.5rem\\]{height:17.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.resize{resize:both!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-medium{--tw-border-opacity:1!important;border-color:rgb(227 236 243/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity,1))!important}@media (min-width:40rem){.tablet\\:max-w-xs{max-width:20rem!important}.tablet\\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}}";
2803
+ const cropperComponentCss = ".mb-6{margin-bottom:1.5rem!important}.flex{display:flex!important}.w-full{width:100%!important}.flex-col{flex-direction:column!important}.items-center{align-items:center!important}.justify-between{justify-content:space-between!important}*{box-sizing:border-box}:host{align-items:center;display:flex;flex-direction:column;gap:1.5rem;justify-content:space-between;margin-bottom:1.5rem;width:100%}.static{position:static!important}.hidden{display:none!important}.h-\\[17\\.5rem\\]{height:17.5rem!important}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}.resize{resize:both!important}.gap-2{gap:.5rem!important}.rounded{border-radius:.25rem!important}.border-0{border-width:0!important}.border-b{border-bottom-width:1px!important}.border-solid{border-style:solid!important}.border-mystic-medium{--tw-border-opacity:1!important;border-color:rgb(227 236 243/var(--tw-border-opacity,1))!important}.bg-white{--tw-bg-opacity:1!important;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))!important}.px-14{padding-left:3.5rem!important;padding-right:3.5rem!important}.text-storm-vague{--tw-text-opacity:1!important;color:rgb(152 154 183/var(--tw-text-opacity,1))!important}@media (min-width:40rem){.tablet\\:max-w-xs{max-width:20rem!important}.tablet\\:px-1{padding-left:.25rem!important;padding-right:.25rem!important}}";
2804
2804
  const PCropperStyle0 = cropperComponentCss;
2805
2805
 
2806
2806
  const Cropper = class {
@@ -2838,10 +2838,10 @@ const Cropper = class {
2838
2838
  }, 200);
2839
2839
  }
2840
2840
  render() {
2841
- return (h(Host, { key: '38c4c4831528435e88ddb883f00480d5fdeafbe9', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'fd7a137df5cfeef79a541fc1f7e568059128f13c', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '9e9865a5b1eb35d3bcab90e725f2ad5a57a4db29', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: '5502bfbc1807f2245a0c8e5bb7c6f9915cc605ea', class: clsx({
2841
+ return (h(Host, { key: 'afd5e10b35660436241cd4bf34804ff18d38e63c', class: 'p-cropper' }, this._loaded && (h("cropper-canvas", { key: 'b83a601fdc5e6dd0bdab4091dce8536dd8098abd', class: 'h-[17.5rem] w-full border-0 border-b border-solid border-mystic-medium bg-white', onAction: () => this._onAction() }, h("cropper-image", { key: '92f70e3d205a72e87c4454f6f2ffb3ecb7c2a2c4', src: this.value, alt: 'Picture', ref: ref => this._setImageRef(ref), scalable: true, crossorigin: 'anonymous' }), h("cropper-shade", { key: 'cb819b4d9a2e28263555c888b4db913d6d8d9f45', class: clsx({
2842
2842
  'rounded-round': this.variant === 'user',
2843
2843
  rounded: this.variant === 'company',
2844
- }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '32fe9f2b17b86cc63386909100565599eddb2971', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: 'd76cc4279d928ddd7f619d87dc937484ac6943b3', action: 'move', plain: true }))), h("div", { key: '585dddcbfad45f29ca2fde46382cdfec9e810966', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '793db5e9554906a84b1c21afe532d27bbfb0b38e', variant: 'minus' }), h("input", { key: 'b8b048046fc3a8242a25716ccf849282925a53c5', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '7479dcf2acf5d976407ce4112c50c172dd389ff1', variant: 'plus' }))));
2844
+ }), "theme-color": 'rgba(255, 255, 255, 0.5)', hidden: true }), h("cropper-selection", { key: '65e6df8e4166009cc27e83c173203c7dfe163bd8', "initial-coverage": '0.7', "aspect-ratio": '1', ref: ref => (this._selectionRef = ref) }), h("cropper-handle", { key: '2c7e8c3b91c7bf71ac9ab34f12d7533ac32686d1', action: 'move', plain: true }))), h("div", { key: 'f8bdfafaebb8ec4da34b01bbbefc8a56f34a9696', class: 'flex w-full items-center gap-2 px-14 text-storm-vague tablet:max-w-xs tablet:px-1' }, h("p-icon", { key: '883df6ef54a39ab1fbc2b1d3e1940aaec0f0d97f', variant: 'minus' }), h("input", { key: '8d39562d4df89cf00479cc3ff97194c14622fd31', class: 'p-input w-full', type: 'range', min: '0', max: '100', value: this._currentScale, onInput: ev => this._onInput(ev.target.value), step: '0.5' }), h("p-icon", { key: '9b0ba4eae79add1f148a884013f8ad3f8d7d75cd', variant: 'plus' }))));
2845
2845
  }
2846
2846
  _setImageRef(ref) {
2847
2847
  if (this._imageRef) {