@dpa-id-components/dpa-shared-components 18.0.1 → 18.0.3

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 (334) hide show
  1. package/dist/{activities-PcM6y0Fk.js → activities-D8-N1-9U.js} +1 -1
  2. package/dist/{ai-z5i-d5_R.js → ai-RQ8kp8x-.js} +1 -1
  3. package/dist/{alert-fill-DMMvlaec.js → alert-fill-rnf1WDZZ.js} +1 -1
  4. package/dist/{alert-octagon-B3v_MJHf.js → alert-octagon-Bf9rhJ-t.js} +1 -1
  5. package/dist/{alert-Ct-zssIe.js → alert-vNfEACwx.js} +1 -1
  6. package/dist/{apps-DYQ2U0l5.js → apps-BF11JWhM.js} +1 -1
  7. package/dist/{archive-vRosHL29.js → archive-MqHKfmIJ.js} +1 -1
  8. package/dist/{arrow-down-D1CWvL8J.js → arrow-down-DPT8wNZ7.js} +1 -1
  9. package/dist/{arrow-left-CkycZYwB.js → arrow-left-CVXdU5MB.js} +1 -1
  10. package/dist/{arrow-nav-left-FVpBrId9.js → arrow-nav-left-CPfHZMpd.js} +1 -1
  11. package/dist/{arrow-nav-right-CvOHkSz-.js → arrow-nav-right-D35fcvsI.js} +1 -1
  12. package/dist/{arrow-right-CmU1rXD9.js → arrow-right-DJBY3wj4.js} +1 -1
  13. package/dist/{arrow-up-CFK6OgnS.js → arrow-up-BLSkG6x9.js} +1 -1
  14. package/dist/{arrowhead-left-C5ui-yjE.js → arrowhead-left-euGMBv4F.js} +1 -1
  15. package/dist/{arrowhead-right-Da4zQoLU.js → arrowhead-right-lwOYqbB4.js} +1 -1
  16. package/dist/{arrowhead-top-DsdJp76F.js → arrowhead-top-6FTexgFT.js} +1 -1
  17. package/dist/{atmo-NGJLwn3H.js → atmo-DAU2uzDv.js} +1 -1
  18. package/dist/{audio-Dcz8aw1_.js → audio-DwP94SEK.js} +1 -1
  19. package/dist/{audio-circled-0ZmLZL91.js → audio-circled-7R-7sncX.js} +1 -1
  20. package/dist/{audio-filled-DcW6DAMI.js → audio-filled-D3dWp_uy.js} +1 -1
  21. package/dist/{bag-YxSwAEtn.js → bag-CMw3XdoZ.js} +1 -1
  22. package/dist/{bell-Cwk-jBYZ.js → bell-Cdp869n7.js} +1 -1
  23. package/dist/{bell-fill-BovFIv1w.js → bell-fill-B4DML6Tk.js} +1 -1
  24. package/dist/{book-BJX4CHOB.js → book-CveJMqSf.js} +1 -1
  25. package/dist/{bookmark-ClSX6jQj.js → bookmark-DWT0y5zx.js} +1 -1
  26. package/dist/{bookmark-fill-BI_jjVPy.js → bookmark-fill-zzz6mr5W.js} +1 -1
  27. package/dist/{bookmark-outlined-DTG6TKyU.js → bookmark-outlined-DnublF2q.js} +1 -1
  28. package/dist/{box-Du1hHItU.js → box-Cz_MWCS1.js} +1 -1
  29. package/dist/{bulb-B3JY2j5W.js → bulb-DFGsawSw.js} +1 -1
  30. package/dist/{call-B1y69K6B.js → call-DUqC_rJG.js} +1 -1
  31. package/dist/{camera-BZNbvvzQ.js → camera-DdNTYE0h.js} +1 -1
  32. package/dist/{check-Cs3V_vCd.js → check-vXGHmcIW.js} +1 -1
  33. package/dist/{checklist-CqycfvZF.js → checklist-FZAjX_BR.js} +1 -1
  34. package/dist/{checkmark-AFGM1TWR.js → checkmark-DK1r_ANi.js} +1 -1
  35. package/dist/{checkmark-double-CvdGHwCN.js → checkmark-double-CsLZ6qUd.js} +1 -1
  36. package/dist/{chevron-down-UoMyJbf7.js → chevron-down-DZ3hWDQE.js} +1 -1
  37. package/dist/{chevron-left-Cj4LbQvg.js → chevron-left-Bc3_cUip.js} +1 -1
  38. package/dist/{chevron-right-BlgBdVdV.js → chevron-right-CKqYcLz9.js} +1 -1
  39. package/dist/{chevron-up-BLMHCXAL.js → chevron-up-LxMAdsrI.js} +1 -1
  40. package/dist/{clipboard-B64nrxbs.js → clipboard-BHiq4tWW.js} +1 -1
  41. package/dist/{clock-F3smowhS.js → clock-B9JO34oX.js} +1 -1
  42. package/dist/{close-DauHe6bB.js → close-CXEY4oGs.js} +1 -1
  43. package/dist/{cloud-save-CWGOOPn5.js → cloud-save-wTW8REhy.js} +1 -1
  44. package/dist/{code-CZk9qbKn.js → code-BFxwrUFX.js} +1 -1
  45. package/dist/{collapse-B5cNPR__.js → collapse-C-EUuoRP.js} +1 -1
  46. package/dist/{color-palette-zUSkjrTa.js → color-palette-CDLnyqhg.js} +1 -1
  47. package/dist/{comment-Du1tgpCt.js → comment-D1zaXBXs.js} +1 -1
  48. package/dist/{comment-fill-RBxp7MxW.js → comment-fill-Skg3w0oH.js} +1 -1
  49. package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +3 -1
  50. package/dist/components/UiMenu/UiMenu.vue.d.ts +2 -1
  51. package/dist/components/UiMenu/UiMenuItem.vue.d.ts +1 -1
  52. package/dist/components/index.d.ts +9 -9
  53. package/dist/{copy-jcxCsFQp.js → copy-CiiEgzyv.js} +1 -1
  54. package/dist/{copy-link-5_9VeoPU.js → copy-link-8AvIH4Kv.js} +1 -1
  55. package/dist/{delete-DARSgNhK.js → delete-DK2Xv6_w.js} +1 -1
  56. package/dist/{download-DY-cJNNw.js → download-CTcsTYDH.js} +1 -1
  57. package/dist/{dpa-id-0YCX_OSS.js → dpa-id-DR3Lsgsb.js} +1 -1
  58. package/dist/dpa-shared-components.js +1 -1
  59. package/dist/{edit-CPJAWUJw.js → edit-Cz6AgY_t.js} +1 -1
  60. package/dist/{edit-add-9Nvm2vdn.js → edit-add-GKxsClJo.js} +1 -1
  61. package/dist/{eil-BXRfW-pE.js → eil-CDG5Jr-7.js} +1 -1
  62. package/dist/{emoji-CEuGuCiU.js → emoji-DvBX_j4t.js} +1 -1
  63. package/dist/{emoji-add-aP2lkF3z.js → emoji-add-BOTrfthG.js} +1 -1
  64. package/dist/{envelope-DVhTuVUq.js → envelope-CtqN8tx5.js} +1 -1
  65. package/dist/eslint.base.config.js +3 -3
  66. package/dist/{event-CMZY7tup.js → event-DMWWJwsx.js} +1 -1
  67. package/dist/{expand-av5QWhib.js → expand-CoW3UgwX.js} +1 -1
  68. package/dist/{external-link-BISHlEPe.js → external-link-COjgJXTi.js} +1 -1
  69. package/dist/{file-VVVUyfie.js → file-D-LSRIUo.js} +1 -1
  70. package/dist/{file-pdf-Cwjmp8yE.js → file-pdf-DCCQ_a9C.js} +1 -1
  71. package/dist/{filter-BS6Te_Xr.js → filter-D5OcBw41.js} +1 -1
  72. package/dist/{filter-outline-D9hHRMuX.js → filter-outline-3LfSX6Lo.js} +1 -1
  73. package/dist/{flag-CnxHwAXz.js → flag-BtpRIItL.js} +1 -1
  74. package/dist/{flag-fill-CYk7SwuF.js → flag-fill-DdVhHzvR.js} +1 -1
  75. package/dist/{flag-filled-DHE9sD_A.js → flag-filled-B8Z6O36x.js} +1 -1
  76. package/dist/{flag-outline-BJZsCO8x.js → flag-outline-BIaFD8MB.js} +1 -1
  77. package/dist/{flags--dYUEvik.js → flags-CNOJmS43.js} +1 -1
  78. package/dist/{flash-BeYfEAdk.js → flash-BAdWmU_R.js} +1 -1
  79. package/dist/{folder-DjcLdgGn.js → folder-By4NLjbd.js} +1 -1
  80. package/dist/{folder-add-nT77SHBi.js → folder-add-CcQldCUB.js} +1 -1
  81. package/dist/{folder-fill-E8iD-EHI.js → folder-fill-FJgJQHVG.js} +1 -1
  82. package/dist/{folder-filled-DeWR4ndy.js → folder-filled-CTK9bk-B.js} +1 -1
  83. package/dist/{gallery-C3s4EBby.js → gallery-iX0eBg-7.js} +1 -1
  84. package/dist/{graphic-CJwoTLw4.js → graphic-b8tfGL-U.js} +1 -1
  85. package/dist/{graphic-circled-8BSFBj7u.js → graphic-circled-CkNVp9_g.js} +1 -1
  86. package/dist/{graphic-filled-BCjIQZt3.js → graphic-filled-CgNQ3iBp.js} +1 -1
  87. package/dist/{graphics-BqghDlnK.js → graphics-BLa_Nfuv.js} +1 -1
  88. package/dist/{grid-1-DRfd1Nd-.js → grid-1-4n8PoHrT.js} +1 -1
  89. package/dist/{grid-2-BLAvlgFc.js → grid-2-BYh4OW3v.js} +1 -1
  90. package/dist/{grid-3-DniVG7ms.js → grid-3-ZSytMQOF.js} +1 -1
  91. package/dist/{grid-4-DGilUFZq.js → grid-4-DAFZj1xY.js} +1 -1
  92. package/dist/{grid-6-74vA3Yog.js → grid-6-BAbM1ng2.js} +1 -1
  93. package/dist/{grid-9-DWAo6g6R.js → grid-9-BF2ZxrJH.js} +1 -1
  94. package/dist/{grid-masonry-9-C9_2wpcM.js → grid-masonry-9-DBJUSTYS.js} +1 -1
  95. package/dist/{grid-masonry-ALDGYem3.js → grid-masonry-xBk_-mNZ.js} +1 -1
  96. package/dist/{help-Bxd_40Yg.js → help-Cv0GeVz6.js} +1 -1
  97. package/dist/{home-C7KhpNeT.js → home-CIhA7CAP.js} +1 -1
  98. package/dist/{image focus point-vm4vRDaI.js → image focus point-BT71lPQX.js } +1 -1
  99. package/dist/{image-DStRMZRq.js → image-DgVQtH95.js} +1 -1
  100. package/dist/{impact-high-BGnZp4aF.js → impact-high-C-3099r5.js} +1 -1
  101. package/dist/{impact-low-BlR2uH7g.js → impact-low-B3suyIqr.js} +1 -1
  102. package/dist/{impact-medium-Bjt5Gns7.js → impact-medium-CKzJm3-k.js} +1 -1
  103. package/dist/{impact-very-high-C--zVxdv.js → impact-very-high-KGQvMGb4.js} +1 -1
  104. package/dist/{impact-very-low-CPzjjv2D.js → impact-very-low-DUPeyNgf.js} +1 -1
  105. package/dist/{index-DMouJBXr.js → index-C1RfWXaF.js} +1871 -1866
  106. package/dist/index.d.ts +2 -2
  107. package/dist/{info-BIpfdrHa.js → info-CGpjEUvT.js} +1 -1
  108. package/dist/{info-fill-B_uef6Os.js → info-fill-0IVmY3H1.js} +1 -1
  109. package/dist/{info-filled-EVRKbAhH.js → info-filled-BFuUOGvZ.js} +1 -1
  110. package/dist/{label-BUELyRaN.js → label-Bg-gQjZM.js} +1 -1
  111. package/dist/{label-filled-C88UKn4p.js → label-filled-C94sEKcA.js} +1 -1
  112. package/dist/{language-BwSDfWuV.js → language-DcN0I_fl.js} +1 -1
  113. package/dist/{latest-CmnS5tJ_.js → latest-CyvY0aJh.js} +1 -1
  114. package/dist/{lightbulb-CUfElT9Y.js → lightbulb-CuP4wTmB.js} +1 -1
  115. package/dist/{list-BD5kWiZ6.js → list-BX38cM-1.js} +1 -1
  116. package/dist/{list-search-DomdYIMD.js → list-search-C3JqEuzT.js} +1 -1
  117. package/dist/{lock-DKq5Jd7G.js → lock-Kj-VxTKJ.js} +1 -1
  118. package/dist/{lock-filled-f7wTfy6M.js → lock-filled-G56jgqlc.js} +1 -1
  119. package/dist/{mail-CEUqPCdS.js → mail-gKADNLru.js} +1 -1
  120. package/dist/{map-ByQ6pORc.js → map-CZu2knGx.js} +1 -1
  121. package/dist/{map-outline-Btaz_U_r.js → map-outline-wfiFWF-W.js} +1 -1
  122. package/dist/{menu-DpJyXh0Y.js → menu-CrN_vLpX.js} +1 -1
  123. package/dist/{minus-B2nqNmUT.js → minus-i_VNaesL.js} +1 -1
  124. package/dist/{more-horizontal-Di75xRwv.js → more-horizontal-C7u-NuOt.js} +1 -1
  125. package/dist/{more-vertical-CdYHpgDH.js → more-vertical-B6ZXU_oV.js} +1 -1
  126. package/dist/{move-CvLTFMrm.js → move-CgyXIsuM.js} +1 -1
  127. package/dist/{move-up-down-CTvgnvg2.js → move-up-down-_RoFws_y.js} +1 -1
  128. package/dist/{navigation-Bn9T3ebl.js → navigation-DBW-JMVr.js} +1 -1
  129. package/dist/{note-DLm2yUQe.js → note-C5ghT6df.js} +1 -1
  130. package/dist/{offline-DzVcP9Nn.js → offline-JCt_xV2i.js} +1 -1
  131. package/dist/{package-CrKDfx8h.js → package-DlrWo255.js} +1 -1
  132. package/dist/{paper-plane-BCNXgrK0.js → paper-plane-lDiFdS9l.js} +1 -1
  133. package/dist/{paperplane-C-rYgKHV.js → paperplane-Dh_HsMFm.js} +1 -1
  134. package/dist/{pause-circle-CgxJfFqw.js → pause-circle-CWJ7wvV-.js} +1 -1
  135. package/dist/{pause-BPkZq8Xt.js → pause-hshL7m0v.js} +1 -1
  136. package/dist/{pdf-Ds30FN6l.js → pdf-ByMAr_pf.js} +1 -1
  137. package/dist/{pen-KWKzfHil.js → pen-DkpP8zBz.js} +1 -1
  138. package/dist/{pen-check-CTf1Hzr8.js → pen-check-CTtwOx0W.js} +1 -1
  139. package/dist/{people-DVSHR6Ez.js → people-DcHG120j.js} +1 -1
  140. package/dist/{phone-ZOcCxa1V.js → phone-DKntGYS-.js} +1 -1
  141. package/dist/{picture-B89Q8g8d.js → picture-B24FpQ_g.js} +1 -1
  142. package/dist/{picture-circled-BgF0kCF4.js → picture-circled-BdXYsf-z.js} +1 -1
  143. package/dist/{picture-filled-BB4UsZps.js → picture-filled-Cqisawxc.js} +1 -1
  144. package/dist/{pin-Bqy0C3VW.js → pin-C9pHZbCB.js} +1 -1
  145. package/dist/{planning-CPwkQVqg.js → planning-DZyCVtNT.js} +1 -1
  146. package/dist/{play-BbPRSRPu.js → play-C5163t9v.js} +1 -1
  147. package/dist/{play-circle-UUq56u86.js → play-circle-CJepR09X.js} +1 -1
  148. package/dist/{play-fill-eRUyYddw.js → play-fill-Dg5agGC8.js} +1 -1
  149. package/dist/{plus-circle-D3nK6FL4.js → plus-circle-ptT6oAUL.js} +1 -1
  150. package/dist/{plus-BFvWok5K.js → plus-o1LHvkzd.js} +1 -1
  151. package/dist/{print-B02RXN8V.js → print-CvXl_szh.js} +1 -1
  152. package/dist/{refresh-l17VJb-I.js → refresh-BJ4s37HF.js} +1 -1
  153. package/dist/{reset-5QyzseyS.js → reset-DXL5hBzR.js} +1 -1
  154. package/dist/{responsive-YoM3N8Fw.js → responsive-BtCOsZ9L.js} +1 -1
  155. package/dist/{rubix-thema-CP5kcs4x.js → rubix-thema-CtCYpVHK.js} +1 -1
  156. package/dist/{save-fRZzK_iC.js → save-Bsq9gKQd.js} +1 -1
  157. package/dist/{saved-search-Bb7eT_Ef.js → saved-search-C5QBII9Y.js} +1 -1
  158. package/dist/{saved-search-fill-CXXr4QlQ.js → saved-search-fill-BMEpQDa5.js} +1 -1
  159. package/dist/{search-Bd9agJwA.js → search-FjEsPR8U.js} +1 -1
  160. package/dist/{settings-Dzmq0aSy.js → settings-Dew4TRkl.js} +1 -1
  161. package/dist/{share-CGabEgKz.js → share-Cgr5Ae27.js} +1 -1
  162. package/dist/{share-alternative-xAbHtiHJ.js → share-alternative-C1WPUOQS.js} +1 -1
  163. package/dist/{sidebar-GEcdBns0.js → sidebar-DJfR5se4.js} +1 -1
  164. package/dist/{sidebar-fill-Z__NTHxQ.js → sidebar-fill-CmTx5oE3.js} +1 -1
  165. package/dist/{slack-Brh7mYGC.js → slack-C6N9e9ts.js} +1 -1
  166. package/dist/{slider-config-Bw2ILFQF.js → slider-config-D5ryC-9e.js} +1 -1
  167. package/dist/{spellcheck-HrdCbuTL.js → spellcheck-CgPkv24l.js} +1 -1
  168. package/dist/{spinner-BrNZ2MbM.js → spinner-CUmDNwOP.js} +1 -1
  169. package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +2 -1
  170. package/dist/src/components/DpaMediaItem/DpaMediaItem.stories.ts +2 -1
  171. package/dist/src/components/DpaMediaItem/DpaMediaItem.vue +1 -0
  172. package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +2 -1
  173. package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +3 -2
  174. package/dist/src/components/UiAutocomplete/UiAutocomplete.vue +2 -1
  175. package/dist/src/components/UiBadge/UiBadge.spec.ts +2 -1
  176. package/dist/src/components/UiBadge/UiBadge.stories.ts +3 -2
  177. package/dist/src/components/UiBadge/UiBadge.vue +1 -0
  178. package/dist/src/components/UiButton/UiButton.spec.ts +3 -2
  179. package/dist/src/components/UiButton/UiButton.stories.ts +3 -2
  180. package/dist/src/components/UiButton/UiButton.vue +1 -1
  181. package/dist/src/components/UiButtonGroup/UiButtonGroup.spec.ts +2 -1
  182. package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +3 -2
  183. package/dist/src/components/UiCard/UiCard.spec.ts +2 -1
  184. package/dist/src/components/UiCard/UiCard.stories.ts +2 -1
  185. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +3 -2
  186. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +2 -1
  187. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +3 -2
  188. package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +2 -1
  189. package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +2 -1
  190. package/dist/src/components/UiCheckbox/UiCheckbox.vue +1 -1
  191. package/dist/src/components/UiChip/UiChip.spec.ts +2 -1
  192. package/dist/src/components/UiChip/UiChip.stories.ts +2 -1
  193. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.spec.ts +1 -0
  194. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +3 -2
  195. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +3 -2
  196. package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +3 -2
  197. package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +2 -1
  198. package/dist/src/components/UiColorPicker/UiColorPicker.vue +3 -2
  199. package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +4 -3
  200. package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +3 -2
  201. package/dist/src/components/UiDatePicker/UiDatePicker.vue +7 -5
  202. package/dist/src/components/UiDialog/UiDialog.spec.ts +2 -1
  203. package/dist/src/components/UiDialog/UiDialog.stories.ts +2 -1
  204. package/dist/src/components/UiDialog/UiDialog.vue +4 -3
  205. package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +2 -1
  206. package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +3 -2
  207. package/dist/src/components/UiFilterBadge/UiFilterBadge.vue +1 -0
  208. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +2 -1
  209. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +4 -3
  210. package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +1 -1
  211. package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +8 -2
  212. package/dist/src/components/UiFilterButton/UiFilterButton.vue +9 -5
  213. package/dist/src/components/UiIcon/IconOverview.stories.vue +1 -1
  214. package/dist/src/components/UiIcon/UiIcon.spec.ts +2 -2
  215. package/dist/src/components/UiIcon/UiIcon.stories.ts +2 -1
  216. package/dist/src/components/UiIcon/UiIcon.vue +1 -1
  217. package/dist/src/components/UiIconButton/UiIconButton.spec.ts +2 -2
  218. package/dist/src/components/UiIconButton/UiIconButton.stories.ts +2 -1
  219. package/dist/src/components/UiIconButton/UiIconButton.vue +1 -0
  220. package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +2 -1
  221. package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +4 -3
  222. package/dist/src/components/UiInfoContent/UiInfoContent.vue +1 -0
  223. package/dist/src/components/UiInput/UiInput.spec.ts +2 -1
  224. package/dist/src/components/UiInput/UiInput.stories.ts +4 -3
  225. package/dist/src/components/UiList/UiList.spec.ts +3 -2
  226. package/dist/src/components/UiList/UiList.stories.ts +3 -2
  227. package/dist/src/components/UiListItem/UiListItem.spec.ts +2 -2
  228. package/dist/src/components/UiListItem/UiListItem.stories.ts +3 -2
  229. package/dist/src/components/UiListItem/UiListItem.vue +3 -2
  230. package/dist/src/components/UiMenu/UiMenu.spec.ts +1 -1
  231. package/dist/src/components/UiMenu/UiMenu.stories.ts +22 -2
  232. package/dist/src/components/UiMenu/UiMenu.vue +10 -5
  233. package/dist/src/components/UiMenu/UiMenuItem.vue +3 -2
  234. package/dist/src/components/UiOverlay/UiOverlay.spec.ts +2 -1
  235. package/dist/src/components/UiOverlay/UiOverlay.stories.ts +2 -1
  236. package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +3 -2
  237. package/dist/src/components/UiOverlayMenu/UiOverlayMenu.stories.ts +3 -2
  238. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +3 -2
  239. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +3 -2
  240. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +1 -0
  241. package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +1 -1
  242. package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +5 -4
  243. package/dist/src/components/UiSearchBar/UiSearchBar.vue +3 -2
  244. package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +2 -1
  245. package/dist/src/components/UiSearchInput/UiSearchInput.stories.ts +3 -2
  246. package/dist/src/components/UiSearchInput/UiSearchInput.vue +1 -0
  247. package/dist/src/components/UiSection/UiSection.spec.ts +2 -1
  248. package/dist/src/components/UiSection/UiSection.stories.ts +2 -1
  249. package/dist/src/components/UiSectionDivider/UiSectionDivider.spec.ts +2 -1
  250. package/dist/src/components/UiSectionDivider/UiSectionDivider.stories.ts +3 -2
  251. package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +1 -1
  252. package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +2 -1
  253. package/dist/src/components/UiSimpleInput/UiSimpleInput.vue +2 -1
  254. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +2 -1
  255. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.stories.ts +2 -1
  256. package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +2 -1
  257. package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +5 -4
  258. package/dist/src/components/UiSnackbar/UiSnackbar.vue +1 -0
  259. package/dist/src/components/UiSpinner/UiSpinner.spec.ts +2 -1
  260. package/dist/src/components/UiSpinner/UiSpinner.stories.ts +2 -1
  261. package/dist/src/components/UiSpinner/UiSpinner.vue +2 -1
  262. package/dist/src/components/UiTextButton/UiTextButton.spec.ts +2 -1
  263. package/dist/src/components/UiTextButton/UiTextButton.stories.ts +3 -2
  264. package/dist/src/components/UiTextButton/UiTextButton.vue +1 -0
  265. package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +3 -2
  266. package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +4 -3
  267. package/dist/src/components/UiToggleButton/UiToggleButton.vue +1 -1
  268. package/dist/src/components/UiTooltip/UiTooltip.spec.ts +3 -2
  269. package/dist/src/components/UiTooltip/UiTooltip.stories.ts +3 -2
  270. package/dist/src/components/UiTooltip/UiTooltip.vue +1 -1
  271. package/dist/src/components/index.ts +15 -15
  272. package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.ts +2 -1
  273. package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +2 -2
  274. package/dist/src/compositions/useBreakpoints/useBreakpoints.ts +1 -1
  275. package/dist/src/index.ts +2 -2
  276. package/dist/src/utils/cn.ts +1 -1
  277. package/dist/{standard-view-C0C_cVjg.js → standard-view-CUMldHu5.js} +1 -1
  278. package/dist/{star-CybUwiiB.js → star-B9W3Ky04.js} +1 -1
  279. package/dist/{star-fill-CZvFC8ZO.js → star-fill-DhAaaqmP.js} +1 -1
  280. package/dist/{star-filled-DfLqW2HO.js → star-filled-quxk8B-9.js} +1 -1
  281. package/dist/{stop-BCfGnoIP.js → stop-D3zmCHsm.js} +1 -1
  282. package/dist/{story-aZfSL8PQ.js → story-YPCKA_qC.js} +1 -1
  283. package/dist/style.css +1 -1
  284. package/dist/{sync-cXrYz7I8.js → sync-C1z4VZJT.js} +1 -1
  285. package/dist/{tasks-B9tCDI4S.js → tasks-BB_9ezkW.js} +1 -1
  286. package/dist/{text-circled-kkqn7tx3.js → text-circled-Dc9Onu99.js} +1 -1
  287. package/dist/{text-filled-DHykUJ5H.js → text-filled-B0ZOW6JM.js} +1 -1
  288. package/dist/{text-ClwB7rhG.js → text-nSm37hQd.js} +1 -1
  289. package/dist/{thumbs-down-BNOJN1_n.js → thumbs-down-Cb2Y7NTu.js} +1 -1
  290. package/dist/{thumbs-up-C3Nosj_Z.js → thumbs-up-Cd6iU3NA.js} +1 -1
  291. package/dist/{thumbs-up-double-1MipcXbf.js → thumbs-up-double-D3lhVUS_.js} +1 -1
  292. package/dist/{topic-D-rTbRm-.js → topic-C_VTDMR7.js} +1 -1
  293. package/dist/{union-MosiEfSf.js → union-CRw4YV1f.js} +1 -1
  294. package/dist/{upload-D3oQAQYo.js → upload-BCQ7aJwX.js} +1 -1
  295. package/dist/{video overlay-CRjMbCNv.js → video overlay-DjCh1eBe.js } +1 -1
  296. package/dist/{video-Cj9RKdhd.js → video-DnXRYTdX.js} +1 -1
  297. package/dist/{video-circled-CLrw5pbf.js → video-circled-jkN2EnvK.js} +1 -1
  298. package/dist/{video-filled-CVrgz4vg.js → video-filled-CSybA72O.js} +1 -1
  299. package/dist/{video-rounded-DEIXBInB.js → video-rounded-63Bs_nLq.js} +1 -1
  300. package/dist/{view-BZn5Po1e.js → view-DHm4Xfd8.js} +1 -1
  301. package/dist/{view-off-BOHlPWTx.js → view-off-D4GKV9n1.js} +1 -1
  302. package/dist/{volume-up-Df1Mjs1R.js → volume-up-Bjizso9F.js} +1 -1
  303. package/package.json +14 -13
  304. package/src/components/DpaMediaItem/DpaMediaItem.vue +1 -0
  305. package/src/components/UiAutocomplete/UiAutocomplete.vue +2 -1
  306. package/src/components/UiBadge/UiBadge.vue +1 -0
  307. package/src/components/UiButton/UiButton.vue +1 -1
  308. package/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +3 -2
  309. package/src/components/UiCheckbox/UiCheckbox.vue +1 -1
  310. package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +3 -2
  311. package/src/components/UiColorPicker/UiColorPicker.vue +3 -2
  312. package/src/components/UiDatePicker/UiDatePicker.vue +7 -5
  313. package/src/components/UiDialog/UiDialog.vue +4 -3
  314. package/src/components/UiFilterBadge/UiFilterBadge.vue +1 -0
  315. package/src/components/UiFilterButton/UiFilterButton.vue +9 -5
  316. package/src/components/UiIcon/UiIcon.vue +1 -1
  317. package/src/components/UiIconButton/UiIconButton.vue +1 -0
  318. package/src/components/UiInfoContent/UiInfoContent.vue +1 -0
  319. package/src/components/UiListItem/UiListItem.vue +3 -2
  320. package/src/components/UiMenu/UiMenu.vue +10 -5
  321. package/src/components/UiMenu/UiMenuItem.vue +3 -2
  322. package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +1 -0
  323. package/src/components/UiSearchBar/UiSearchBar.vue +3 -2
  324. package/src/components/UiSearchInput/UiSearchInput.vue +1 -0
  325. package/src/components/UiSimpleInput/UiSimpleInput.vue +2 -1
  326. package/src/components/UiSnackbar/UiSnackbar.vue +1 -0
  327. package/src/components/UiSpinner/UiSpinner.vue +2 -1
  328. package/src/components/UiTextButton/UiTextButton.vue +1 -0
  329. package/src/components/UiToggleButton/UiToggleButton.vue +1 -1
  330. package/src/components/UiTooltip/UiTooltip.vue +1 -1
  331. package/src/components/index.ts +15 -15
  332. package/src/compositions/useBreakpoints/useBreakpoints.ts +1 -1
  333. package/src/index.ts +2 -2
  334. package/src/utils/cn.ts +1 -1
@@ -1,38 +1,419 @@
1
1
  import { createElementBlock as D, openBlock as h, defineComponent as _e, computed as C, defineAsyncComponent as Ys, watchEffect as rn, createBlock as ye, resolveDynamicComponent as Ba, normalizeClass as J, createElementVNode as G, createCommentVNode as I, createVNode as Oe, renderSlot as K, toDisplayString as Pe, mergeModels as Cr, useSlots as wa, useModel as il, ref as H, onBeforeUpdate as ul, onMounted as Ze, withDirectives as Tt, unref as y, mergeProps as je, vModelText as dl, vModelDynamic as Is, Fragment as xe, createTextVNode as gt, withModifiers as Et, withKeys as Ca, normalizeStyle as qe, withCtx as ge, renderList as Ee, vShow as pa, Transition as It, reactive as _n, toRef as yn, getCurrentInstance as jn, nextTick as Mt, onUnmounted as on, watch as ut, isRef as Mo, createSlots as kt, normalizeProps as yt, guardReactiveProps as Ct, Teleport as cl, h as Ls, render as $o, useAttrs as Fs, toValue as la, getCurrentScope as Hr, onScopeDispose as jr, hasInjectionContext as fl, inject as Vs, shallowRef as Ua, shallowReadonly as Ya, watchPostEffect as Ws, vModelRadio as Us } from "vue";
2
- const qr = "-", Hs = (e) => {
3
- const t = qs(e), {
2
+ const ir = {
3
+ activities: () => import("./activities-D8-N1-9U.js"),
4
+ alert: () => import("./alert-vNfEACwx.js"),
5
+ "alert-fill": () => import("./alert-fill-rnf1WDZZ.js"),
6
+ "alert-octagon": () => import("./alert-octagon-Bf9rhJ-t.js"),
7
+ ai: () => import("./ai-RQ8kp8x-.js"),
8
+ apps: () => import("./apps-BF11JWhM.js"),
9
+ archive: () => import("./archive-MqHKfmIJ.js"),
10
+ "arrow-left": () => import("./arrow-left-CVXdU5MB.js"),
11
+ "arrow-nav-left": () => import("./arrow-nav-left-CPfHZMpd.js"),
12
+ "arrow-nav-right": () => import("./arrow-nav-right-D35fcvsI.js"),
13
+ "arrow-up": () => import("./arrow-up-BLSkG6x9.js"),
14
+ "arrow-right": () => import("./arrow-right-DJBY3wj4.js"),
15
+ "arrow-down": () => import("./arrow-down-DPT8wNZ7.js"),
16
+ "arrowhead-left": () => import("./arrowhead-left-euGMBv4F.js"),
17
+ "arrowhead-right": () => import("./arrowhead-right-lwOYqbB4.js"),
18
+ "arrowhead-top": () => import("./arrowhead-top-6FTexgFT.js"),
19
+ atmo: () => import("./atmo-DAU2uzDv.js"),
20
+ audio: () => import("./audio-DwP94SEK.js"),
21
+ "audio-circled": () => import("./audio-circled-7R-7sncX.js"),
22
+ "audio-filled": () => import("./audio-filled-D3dWp_uy.js"),
23
+ bag: () => import("./bag-CMw3XdoZ.js"),
24
+ bell: () => import("./bell-Cdp869n7.js"),
25
+ "bell-fill": () => import("./bell-fill-B4DML6Tk.js"),
26
+ book: () => import("./book-CveJMqSf.js"),
27
+ bookmark: () => import("./bookmark-DWT0y5zx.js"),
28
+ "bookmark-fill": () => import("./bookmark-fill-zzz6mr5W.js"),
29
+ "bookmark-outlined": () => import("./bookmark-outlined-DnublF2q.js"),
30
+ box: () => import("./box-Cz_MWCS1.js"),
31
+ bulb: () => import("./bulb-DFGsawSw.js"),
32
+ call: () => import("./call-DUqC_rJG.js"),
33
+ camera: () => import("./camera-DdNTYE0h.js"),
34
+ check: () => import("./check-vXGHmcIW.js"),
35
+ checklist: () => import("./checklist-FZAjX_BR.js"),
36
+ checkmark: () => import("./checkmark-DK1r_ANi.js"),
37
+ "checkmark-double": () => import("./checkmark-double-CsLZ6qUd.js"),
38
+ "chevron-down": () => import("./chevron-down-DZ3hWDQE.js"),
39
+ "chevron-left": () => import("./chevron-left-Bc3_cUip.js"),
40
+ "chevron-right": () => import("./chevron-right-CKqYcLz9.js"),
41
+ "chevron-up": () => import("./chevron-up-LxMAdsrI.js"),
42
+ clipboard: () => import("./clipboard-BHiq4tWW.js"),
43
+ clock: () => import("./clock-B9JO34oX.js"),
44
+ close: () => import("./close-CXEY4oGs.js"),
45
+ "cloud-save": () => import("./cloud-save-wTW8REhy.js"),
46
+ code: () => import("./code-BFxwrUFX.js"),
47
+ collapse: () => import("./collapse-C-EUuoRP.js"),
48
+ "color-palette": () => import("./color-palette-CDLnyqhg.js"),
49
+ comment: () => import("./comment-D1zaXBXs.js"),
50
+ "comment-fill": () => import("./comment-fill-Skg3w0oH.js"),
51
+ copy: () => import("./copy-CiiEgzyv.js"),
52
+ "copy-link": () => import("./copy-link-8AvIH4Kv.js"),
53
+ delete: () => import("./delete-DK2Xv6_w.js"),
54
+ download: () => import("./download-CTcsTYDH.js"),
55
+ "dpa-id": () => import("./dpa-id-DR3Lsgsb.js"),
56
+ edit: () => import("./edit-Cz6AgY_t.js"),
57
+ "edit-add": () => import("./edit-add-GKxsClJo.js"),
58
+ eil: () => import("./eil-CDG5Jr-7.js"),
59
+ emoji: () => import("./emoji-DvBX_j4t.js"),
60
+ "emoji-add": () => import("./emoji-add-BOTrfthG.js"),
61
+ envelope: () => import("./envelope-CtqN8tx5.js"),
62
+ event: () => import("./event-DMWWJwsx.js"),
63
+ expand: () => import("./expand-CoW3UgwX.js"),
64
+ "external-link": () => import("./external-link-COjgJXTi.js"),
65
+ file: () => import("./file-D-LSRIUo.js"),
66
+ "file-pdf": () => import("./file-pdf-DCCQ_a9C.js"),
67
+ filter: () => import("./filter-D5OcBw41.js"),
68
+ "filter-outline": () => import("./filter-outline-3LfSX6Lo.js"),
69
+ flag: () => import("./flag-BtpRIItL.js"),
70
+ "flag-fill": () => import("./flag-fill-DdVhHzvR.js"),
71
+ "flag-filled": () => import("./flag-filled-B8Z6O36x.js"),
72
+ "flag-outline": () => import("./flag-outline-BIaFD8MB.js"),
73
+ flags: () => import("./flags-CNOJmS43.js"),
74
+ flash: () => import("./flash-BAdWmU_R.js"),
75
+ folder: () => import("./folder-By4NLjbd.js"),
76
+ "folder-add": () => import("./folder-add-CcQldCUB.js"),
77
+ "folder-fill": () => import("./folder-fill-FJgJQHVG.js"),
78
+ "folder-filled": () => import("./folder-filled-CTK9bk-B.js"),
79
+ gallery: () => import("./gallery-iX0eBg-7.js"),
80
+ graphic: () => import("./graphic-b8tfGL-U.js"),
81
+ "graphic-circled": () => import("./graphic-circled-CkNVp9_g.js"),
82
+ "graphic-filled": () => import("./graphic-filled-CgNQ3iBp.js"),
83
+ graphics: () => import("./graphics-BLa_Nfuv.js"),
84
+ "grid-1": () => import("./grid-1-4n8PoHrT.js"),
85
+ "grid-2": () => import("./grid-2-BYh4OW3v.js"),
86
+ "grid-3": () => import("./grid-3-ZSytMQOF.js"),
87
+ "grid-4": () => import("./grid-4-DAFZj1xY.js"),
88
+ "grid-6": () => import("./grid-6-BAbM1ng2.js"),
89
+ "grid-9": () => import("./grid-9-BF2ZxrJH.js"),
90
+ "grid-masonry": () => import("./grid-masonry-xBk_-mNZ.js"),
91
+ "grid-masonry-9": () => import("./grid-masonry-9-DBJUSTYS.js"),
92
+ help: () => import("./help-Cv0GeVz6.js"),
93
+ home: () => import("./home-CIhA7CAP.js"),
94
+ image: () => import("./image-DgVQtH95.js"),
95
+ "image focus point": () => import("./image focus point-BT71lPQX.js"),
96
+ "impact-high": () => import("./impact-high-C-3099r5.js"),
97
+ "impact-low": () => import("./impact-low-B3suyIqr.js"),
98
+ "impact-medium": () => import("./impact-medium-CKzJm3-k.js"),
99
+ "impact-very-high": () => import("./impact-very-high-KGQvMGb4.js"),
100
+ "impact-very-low": () => import("./impact-very-low-DUPeyNgf.js"),
101
+ info: () => import("./info-CGpjEUvT.js"),
102
+ "info-fill": () => import("./info-fill-0IVmY3H1.js"),
103
+ "info-filled": () => import("./info-filled-BFuUOGvZ.js"),
104
+ label: () => import("./label-Bg-gQjZM.js"),
105
+ "label-filled": () => import("./label-filled-C94sEKcA.js"),
106
+ language: () => import("./language-DcN0I_fl.js"),
107
+ latest: () => import("./latest-CyvY0aJh.js"),
108
+ lightbulb: () => import("./lightbulb-CuP4wTmB.js"),
109
+ list: () => import("./list-BX38cM-1.js"),
110
+ "list-search": () => import("./list-search-C3JqEuzT.js"),
111
+ lock: () => import("./lock-Kj-VxTKJ.js"),
112
+ "lock-filled": () => import("./lock-filled-G56jgqlc.js"),
113
+ mail: () => import("./mail-gKADNLru.js"),
114
+ map: () => import("./map-CZu2knGx.js"),
115
+ "map-outline": () => import("./map-outline-wfiFWF-W.js"),
116
+ menu: () => import("./menu-CrN_vLpX.js"),
117
+ minus: () => import("./minus-i_VNaesL.js"),
118
+ "more-horizontal": () => import("./more-horizontal-C7u-NuOt.js"),
119
+ "more-vertical": () => import("./more-vertical-B6ZXU_oV.js"),
120
+ move: () => import("./move-CgyXIsuM.js"),
121
+ "move-up-down": () => import("./move-up-down-_RoFws_y.js"),
122
+ navigation: () => import("./navigation-DBW-JMVr.js"),
123
+ note: () => import("./note-C5ghT6df.js"),
124
+ offline: () => import("./offline-JCt_xV2i.js"),
125
+ package: () => import("./package-DlrWo255.js"),
126
+ "paper-plane": () => import("./paper-plane-lDiFdS9l.js"),
127
+ paperplane: () => import("./paperplane-Dh_HsMFm.js"),
128
+ pause: () => import("./pause-hshL7m0v.js"),
129
+ "pause-circle": () => import("./pause-circle-CWJ7wvV-.js"),
130
+ pdf: () => import("./pdf-ByMAr_pf.js"),
131
+ pen: () => import("./pen-DkpP8zBz.js"),
132
+ "pen-check": () => import("./pen-check-CTtwOx0W.js"),
133
+ people: () => import("./people-DcHG120j.js"),
134
+ phone: () => import("./phone-DKntGYS-.js"),
135
+ picture: () => import("./picture-B24FpQ_g.js"),
136
+ "picture-circled": () => import("./picture-circled-BdXYsf-z.js"),
137
+ "picture-filled": () => import("./picture-filled-Cqisawxc.js"),
138
+ pin: () => import("./pin-C9pHZbCB.js"),
139
+ planning: () => import("./planning-DZyCVtNT.js"),
140
+ play: () => import("./play-C5163t9v.js"),
141
+ "play-circle": () => import("./play-circle-CJepR09X.js"),
142
+ "play-fill": () => import("./play-fill-Dg5agGC8.js"),
143
+ plus: () => import("./plus-o1LHvkzd.js"),
144
+ "plus-circle": () => import("./plus-circle-ptT6oAUL.js"),
145
+ print: () => import("./print-CvXl_szh.js"),
146
+ refresh: () => import("./refresh-BJ4s37HF.js"),
147
+ reset: () => import("./reset-DXL5hBzR.js"),
148
+ responsive: () => import("./responsive-BtCOsZ9L.js"),
149
+ "rubix-thema": () => import("./rubix-thema-CtCYpVHK.js"),
150
+ save: () => import("./save-Bsq9gKQd.js"),
151
+ "saved-search": () => import("./saved-search-C5QBII9Y.js"),
152
+ "saved-search-fill": () => import("./saved-search-fill-BMEpQDa5.js"),
153
+ search: () => import("./search-FjEsPR8U.js"),
154
+ settings: () => import("./settings-Dew4TRkl.js"),
155
+ share: () => import("./share-Cgr5Ae27.js"),
156
+ "share-alternative": () => import("./share-alternative-C1WPUOQS.js"),
157
+ sidebar: () => import("./sidebar-DJfR5se4.js"),
158
+ "sidebar-fill": () => import("./sidebar-fill-CmTx5oE3.js"),
159
+ slack: () => import("./slack-C6N9e9ts.js"),
160
+ "slider-config": () => import("./slider-config-D5ryC-9e.js"),
161
+ spellcheck: () => import("./spellcheck-CgPkv24l.js"),
162
+ spinner: () => import("./spinner-CUmDNwOP.js"),
163
+ "standard-view": () => import("./standard-view-CUMldHu5.js"),
164
+ star: () => import("./star-B9W3Ky04.js"),
165
+ "star-fill": () => import("./star-fill-DhAaaqmP.js"),
166
+ "star-filled": () => import("./star-filled-quxk8B-9.js"),
167
+ stop: () => import("./stop-D3zmCHsm.js"),
168
+ story: () => import("./story-YPCKA_qC.js"),
169
+ sync: () => import("./sync-C1z4VZJT.js"),
170
+ tasks: () => import("./tasks-BB_9ezkW.js"),
171
+ text: () => import("./text-nSm37hQd.js"),
172
+ "text-circled": () => import("./text-circled-Dc9Onu99.js"),
173
+ "text-filled": () => import("./text-filled-B0ZOW6JM.js"),
174
+ "thumbs-down": () => import("./thumbs-down-Cb2Y7NTu.js"),
175
+ "thumbs-up": () => import("./thumbs-up-Cd6iU3NA.js"),
176
+ "thumbs-up-double": () => import("./thumbs-up-double-D3lhVUS_.js"),
177
+ topic: () => import("./topic-C_VTDMR7.js"),
178
+ union: () => import("./union-CRw4YV1f.js"),
179
+ upload: () => import("./upload-BCQ7aJwX.js"),
180
+ video: () => import("./video-DnXRYTdX.js"),
181
+ "video overlay": () => import("./video overlay-DjCh1eBe.js"),
182
+ "video-circled": () => import("./video-circled-jkN2EnvK.js"),
183
+ "video-filled": () => import("./video-filled-CSybA72O.js"),
184
+ "video-rounded": () => import("./video-rounded-63Bs_nLq.js"),
185
+ view: () => import("./view-DHm4Xfd8.js"),
186
+ "view-off": () => import("./view-off-D4GKV9n1.js"),
187
+ "volume-up": () => import("./volume-up-Bjizso9F.js")
188
+ }, Mn = (e, t) => {
189
+ const n = e.__vccOpts || e;
190
+ for (const [a, r] of t)
191
+ n[a] = r;
192
+ return n;
193
+ }, Hs = {};
194
+ function js(e, t) {
195
+ return h(), D("div");
196
+ }
197
+ const qs = /* @__PURE__ */ Mn(Hs, [["render", js]]), lt = /* @__PURE__ */ _e({
198
+ __name: "UiIcon",
199
+ props: {
200
+ name: {},
201
+ size: { default: "large" },
202
+ sizeClasses: { default: "" }
203
+ },
204
+ setup(e) {
205
+ const t = e, n = C(
206
+ () => Ys({
207
+ loader: ir[t.name] ?? ir.close,
208
+ // Render a substitute element while loading for classes to attach to.
209
+ loadingComponent: qs,
210
+ // Immediately render the loadingComponent so that it can receive classes.
211
+ delay: 0
212
+ })
213
+ ), a = C(() => t.sizeClasses || {
214
+ xs: "size-3",
215
+ small: "size-4",
216
+ medium: "size-5",
217
+ large: "size-6",
218
+ xl: "size-10",
219
+ "2xl": "size-14"
220
+ }[t.size]);
221
+ return rn(() => {
222
+ if (!ir[t.name])
223
+ throw new Error(`UiIcon: No icon named “${t.name}” exists.`);
224
+ }), (r, o) => (h(), ye(Ba(n.value), {
225
+ class: J([a.value, "inline-flex fill-current"])
226
+ }, null, 8, ["class"]));
227
+ }
228
+ }), Qs = { class: "flex items-center justify-between py-1" }, Gs = { class: "flex items-center pr-2" }, Ks = { class: "text-xs font-medium text-gray-900" }, Xs = {
229
+ key: 0,
230
+ class: "w-16 shrink-0 text-right text-xs text-gray-700"
231
+ }, Js = { class: "flex flex-col" }, Zs = {
232
+ key: 0,
233
+ class: "flex py-1"
234
+ }, ei = {
235
+ key: 0,
236
+ class: "relative mr-2 flex-none"
237
+ }, ti = ["src", "alt"], ai = {
238
+ key: 0,
239
+ class: "absolute right-1 bottom-1 inline-block h-4 rounded-full bg-gray-900 px-1 align-middle text-xs leading-4 font-semibold text-white",
240
+ "data-testid": "imageCount"
241
+ }, ni = {
242
+ key: 0,
243
+ class: "pt-1 text-xs font-medium text-gray-700"
244
+ }, pv = /* @__PURE__ */ _e({
245
+ __name: "DpaMediaItem",
246
+ props: {
247
+ genre: { default: "text" },
248
+ isFulfilled: { type: Boolean, default: !1 },
249
+ imgSrc: { default: "" },
250
+ imgAlt: { default: "" },
251
+ imgCount: { default: 0 },
252
+ disabled: { type: Boolean, default: !1 }
253
+ },
254
+ setup(e) {
255
+ const t = e, n = C(() => ({
256
+ audio: t.isFulfilled ? "audio-filled" : "audio-circled",
257
+ video: t.isFulfilled ? "video-filled" : "video-circled",
258
+ text: t.isFulfilled ? "text-filled" : "text-circled",
259
+ picture: t.isFulfilled ? "picture-filled" : "picture-circled",
260
+ graphic: t.isFulfilled ? "graphic-filled" : "graphic-circled"
261
+ })[t.genre]), a = C(() => {
262
+ const { isFulfilled: r } = t;
263
+ return r ? t.disabled ? "cursor-not-allowed transition shadow-sm border border-gray-300" : "cursor-pointer transition shadow-sm hover:shadow-md group border border-gray-300 hover:border-gray-500" : "cursor-auto";
264
+ });
265
+ return (r, o) => (h(), D("div", {
266
+ class: J(["mb-px w-full bg-white pt-2 pr-4 pb-3 pl-3 md:pt-3", a.value]),
267
+ "data-testid": "rootDiv"
268
+ }, [
269
+ G("div", {
270
+ class: J(["flex", {
271
+ "flex-col-reverse": r.$slots.timePublished,
272
+ "flex-col": !r.$slots.timePublished,
273
+ "px-1": r.isFulfilled
274
+ }])
275
+ }, [
276
+ G("div", Qs, [
277
+ G("div", Gs, [
278
+ Oe(lt, {
279
+ size: "small",
280
+ name: n.value,
281
+ class: "mr-2 shrink-0 fill-current text-gray-700"
282
+ }, null, 8, ["name"]),
283
+ G("span", Ks, [
284
+ K(r.$slots, "description")
285
+ ])
286
+ ]),
287
+ r.$slots.planning ? (h(), D("span", Xs, [
288
+ K(r.$slots, "planning")
289
+ ])) : I("", !0)
290
+ ]),
291
+ G("div", Js, [
292
+ r.imgSrc || r.$slots.default ? (h(), D("div", Zs, [
293
+ r.imgSrc ? (h(), D("div", ei, [
294
+ G("img", {
295
+ src: r.imgSrc,
296
+ class: "h-14 object-cover",
297
+ alt: `Thumbnail${r.imgAlt ? ` :${r.imgAlt}` : ""}`
298
+ }, null, 8, ti),
299
+ r.imgCount > 1 ? (h(), D("span", ai, Pe(r.imgCount), 1)) : I("", !0)
300
+ ])) : I("", !0),
301
+ r.$slots.default ? (h(), D("h3", {
302
+ key: 1,
303
+ class: J(["text-sm leading-5 font-medium group-hover:underline", {
304
+ "ml-6": !r.isFulfilled,
305
+ "mr-1": r.$slots.planning,
306
+ "pr-16": r.$slots.planning
307
+ }])
308
+ }, [
309
+ K(r.$slots, "default")
310
+ ], 2)) : I("", !0)
311
+ ])) : I("", !0),
312
+ r.$slots.textLength ? (h(), D("span", {
313
+ key: 1,
314
+ class: J(["text-xs text-gray-700", r.isFulfilled ? "" : "ml-6"])
315
+ }, [
316
+ K(r.$slots, "textLength")
317
+ ], 2)) : I("", !0)
318
+ ]),
319
+ r.$slots.timePublished ? (h(), D("span", ni, [
320
+ K(r.$slots, "timePublished")
321
+ ])) : I("", !0)
322
+ ], 2)
323
+ ], 2));
324
+ }
325
+ });
326
+ let ur;
327
+ const qr = {
328
+ mounted(e, t) {
329
+ const n = t.instance;
330
+ if (typeof t.value != "function") {
331
+ const r = n?.$options.name;
332
+ let o = `[vue-click-away:] provided expression '${t.value}' is not a function, but has to be`;
333
+ r && (o += `Found in component '${r}'`), console.warn(o);
334
+ }
335
+ const { bubble: a } = t.modifiers;
336
+ ur = (r) => {
337
+ const o = r.target;
338
+ (a || !e.contains(o) && e !== r.target) && t.value(r);
339
+ }, document.addEventListener("mousedown", ur);
340
+ },
341
+ unmounted() {
342
+ document.removeEventListener("mousedown", ur);
343
+ }
344
+ }, wt = [];
345
+ for (let e = 0; e < 256; ++e)
346
+ wt.push((e + 256).toString(16).slice(1));
347
+ function ri(e, t = 0) {
348
+ return (wt[e[t + 0]] + wt[e[t + 1]] + wt[e[t + 2]] + wt[e[t + 3]] + "-" + wt[e[t + 4]] + wt[e[t + 5]] + "-" + wt[e[t + 6]] + wt[e[t + 7]] + "-" + wt[e[t + 8]] + wt[e[t + 9]] + "-" + wt[e[t + 10]] + wt[e[t + 11]] + wt[e[t + 12]] + wt[e[t + 13]] + wt[e[t + 14]] + wt[e[t + 15]]).toLowerCase();
349
+ }
350
+ let dr;
351
+ const oi = new Uint8Array(16);
352
+ function li() {
353
+ if (!dr) {
354
+ if (typeof crypto > "u" || !crypto.getRandomValues)
355
+ throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
356
+ dr = crypto.getRandomValues.bind(crypto);
357
+ }
358
+ return dr(oi);
359
+ }
360
+ const si = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Do = { randomUUID: si };
361
+ function Qr(e, t, n) {
362
+ if (Do.randomUUID && !e)
363
+ return Do.randomUUID();
364
+ e = e || {};
365
+ const a = e.random ?? e.rng?.() ?? li();
366
+ if (a.length < 16)
367
+ throw new Error("Random bytes length must be >= 16");
368
+ return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, ri(a);
369
+ }
370
+ function ml(e) {
371
+ var t, n, a = "";
372
+ if (typeof e == "string" || typeof e == "number") a += e;
373
+ else if (typeof e == "object") if (Array.isArray(e)) {
374
+ var r = e.length;
375
+ for (t = 0; t < r; t++) e[t] && (n = ml(e[t])) && (a && (a += " "), a += n);
376
+ } else for (n in e) e[n] && (a && (a += " "), a += n);
377
+ return a;
378
+ }
379
+ function ii() {
380
+ for (var e, t, n = 0, a = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = ml(e)) && (a && (a += " "), a += t);
381
+ return a;
382
+ }
383
+ const Gr = "-", ui = (e) => {
384
+ const t = ci(e), {
4
385
  conflictingClassGroups: n,
5
386
  conflictingClassGroupModifiers: a
6
387
  } = e;
7
388
  return {
8
389
  getClassGroupId: (l) => {
9
- const s = l.split(qr);
10
- return s[0] === "" && s.length !== 1 && s.shift(), ml(s, t) || js(l);
390
+ const s = l.split(Gr);
391
+ return s[0] === "" && s.length !== 1 && s.shift(), pl(s, t) || di(l);
11
392
  },
12
393
  getConflictingClassGroupIds: (l, s) => {
13
394
  const i = n[l] || [];
14
395
  return s && a[l] ? [...i, ...a[l]] : i;
15
396
  }
16
397
  };
17
- }, ml = (e, t) => {
398
+ }, pl = (e, t) => {
18
399
  if (e.length === 0)
19
400
  return t.classGroupId;
20
- const n = e[0], a = t.nextPart.get(n), r = a ? ml(e.slice(1), a) : void 0;
401
+ const n = e[0], a = t.nextPart.get(n), r = a ? pl(e.slice(1), a) : void 0;
21
402
  if (r)
22
403
  return r;
23
404
  if (t.validators.length === 0)
24
405
  return;
25
- const o = e.join(qr);
406
+ const o = e.join(Gr);
26
407
  return t.validators.find(({
27
408
  validator: l
28
409
  }) => l(o))?.classGroupId;
29
- }, Do = /^\[(.+)\]$/, js = (e) => {
30
- if (Do.test(e)) {
31
- const t = Do.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
410
+ }, Co = /^\[(.+)\]$/, di = (e) => {
411
+ if (Co.test(e)) {
412
+ const t = Co.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
32
413
  if (n)
33
414
  return "arbitrary.." + n;
34
415
  }
35
- }, qs = (e) => {
416
+ }, ci = (e) => {
36
417
  const {
37
418
  theme: t,
38
419
  classGroups: n
@@ -46,12 +427,12 @@ const qr = "-", Hs = (e) => {
46
427
  }, Pr = (e, t, n, a) => {
47
428
  e.forEach((r) => {
48
429
  if (typeof r == "string") {
49
- const o = r === "" ? t : Co(t, r);
430
+ const o = r === "" ? t : Po(t, r);
50
431
  o.classGroupId = n;
51
432
  return;
52
433
  }
53
434
  if (typeof r == "function") {
54
- if (Qs(r)) {
435
+ if (fi(r)) {
55
436
  Pr(r(a), t, n, a);
56
437
  return;
57
438
  }
@@ -62,18 +443,18 @@ const qr = "-", Hs = (e) => {
62
443
  return;
63
444
  }
64
445
  Object.entries(r).forEach(([o, l]) => {
65
- Pr(l, Co(t, o), n, a);
446
+ Pr(l, Po(t, o), n, a);
66
447
  });
67
448
  });
68
- }, Co = (e, t) => {
449
+ }, Po = (e, t) => {
69
450
  let n = e;
70
- return t.split(qr).forEach((a) => {
451
+ return t.split(Gr).forEach((a) => {
71
452
  n.nextPart.has(a) || n.nextPart.set(a, {
72
453
  nextPart: /* @__PURE__ */ new Map(),
73
454
  validators: []
74
455
  }), n = n.nextPart.get(a);
75
456
  }), n;
76
- }, Qs = (e) => e.isThemeGetter, Gs = (e) => {
457
+ }, fi = (e) => e.isThemeGetter, mi = (e) => {
77
458
  if (e < 1)
78
459
  return {
79
460
  get: () => {
@@ -97,7 +478,7 @@ const qr = "-", Hs = (e) => {
97
478
  n.has(o) ? n.set(o, l) : r(o, l);
98
479
  }
99
480
  };
100
- }, Tr = "!", Ar = ":", Ks = Ar.length, Xs = (e) => {
481
+ }, Tr = "!", Ar = ":", pi = Ar.length, hi = (e) => {
101
482
  const {
102
483
  prefix: t,
103
484
  experimentalParseClassName: n
@@ -109,7 +490,7 @@ const qr = "-", Hs = (e) => {
109
490
  let w = r[k];
110
491
  if (l === 0 && s === 0) {
111
492
  if (w === Ar) {
112
- o.push(r.slice(i, k)), i = k + Ks;
493
+ o.push(r.slice(i, k)), i = k + pi;
113
494
  continue;
114
495
  }
115
496
  if (w === "/") {
@@ -119,7 +500,7 @@ const qr = "-", Hs = (e) => {
119
500
  }
120
501
  w === "[" ? l++ : w === "]" ? l-- : w === "(" ? s++ : w === ")" && s--;
121
502
  }
122
- const c = o.length === 0 ? r : r.substring(i), f = Js(c), m = f !== c, p = u && u > i ? u - i : void 0;
503
+ const c = o.length === 0 ? r : r.substring(i), f = vi(c), m = f !== c, p = u && u > i ? u - i : void 0;
123
504
  return {
124
505
  modifiers: o,
125
506
  hasImportantModifier: m,
@@ -145,7 +526,7 @@ const qr = "-", Hs = (e) => {
145
526
  });
146
527
  }
147
528
  return a;
148
- }, Js = (e) => e.endsWith(Tr) ? e.substring(0, e.length - 1) : e.startsWith(Tr) ? e.substring(1) : e, Zs = (e) => {
529
+ }, vi = (e) => e.endsWith(Tr) ? e.substring(0, e.length - 1) : e.startsWith(Tr) ? e.substring(1) : e, yi = (e) => {
149
530
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((a) => [a, !0]));
150
531
  return (a) => {
151
532
  if (a.length <= 1)
@@ -156,18 +537,18 @@ const qr = "-", Hs = (e) => {
156
537
  l[0] === "[" || t[l] ? (r.push(...o.sort(), l), o = []) : o.push(l);
157
538
  }), r.push(...o.sort()), r;
158
539
  };
159
- }, ei = (e) => ({
160
- cache: Gs(e.cacheSize),
161
- parseClassName: Xs(e),
162
- sortModifiers: Zs(e),
163
- ...Hs(e)
164
- }), ti = /\s+/, ai = (e, t) => {
540
+ }, gi = (e) => ({
541
+ cache: mi(e.cacheSize),
542
+ parseClassName: hi(e),
543
+ sortModifiers: yi(e),
544
+ ...ui(e)
545
+ }), bi = /\s+/, wi = (e, t) => {
165
546
  const {
166
547
  parseClassName: n,
167
548
  getClassGroupId: a,
168
549
  getConflictingClassGroupIds: r,
169
550
  sortModifiers: o
170
- } = t, l = [], s = e.trim().split(ti);
551
+ } = t, l = [], s = e.trim().split(bi);
171
552
  let i = "";
172
553
  for (let u = s.length - 1; u >= 0; u -= 1) {
173
554
  const c = s[u], {
@@ -206,52 +587,52 @@ const qr = "-", Hs = (e) => {
206
587
  }
207
588
  return i;
208
589
  };
209
- function ni() {
590
+ function ki() {
210
591
  let e = 0, t, n, a = "";
211
592
  for (; e < arguments.length; )
212
- (t = arguments[e++]) && (n = pl(t)) && (a && (a += " "), a += n);
593
+ (t = arguments[e++]) && (n = hl(t)) && (a && (a += " "), a += n);
213
594
  return a;
214
595
  }
215
- const pl = (e) => {
596
+ const hl = (e) => {
216
597
  if (typeof e == "string")
217
598
  return e;
218
599
  let t, n = "";
219
600
  for (let a = 0; a < e.length; a++)
220
- e[a] && (t = pl(e[a])) && (n && (n += " "), n += t);
601
+ e[a] && (t = hl(e[a])) && (n && (n += " "), n += t);
221
602
  return n;
222
603
  };
223
- function ri(e, ...t) {
604
+ function xi(e, ...t) {
224
605
  let n, a, r, o = l;
225
606
  function l(i) {
226
607
  const u = t.reduce((c, f) => f(c), e());
227
- return n = ei(u), a = n.cache.get, r = n.cache.set, o = s, s(i);
608
+ return n = gi(u), a = n.cache.get, r = n.cache.set, o = s, s(i);
228
609
  }
229
610
  function s(i) {
230
611
  const u = a(i);
231
612
  if (u)
232
613
  return u;
233
- const c = ai(i, n);
614
+ const c = wi(i, n);
234
615
  return r(i, c), c;
235
616
  }
236
617
  return function() {
237
- return o(ni.apply(null, arguments));
618
+ return o(ki.apply(null, arguments));
238
619
  };
239
620
  }
240
621
  const ct = (e) => {
241
622
  const t = (n) => n[e] || [];
242
623
  return t.isThemeGetter = !0, t;
243
- }, hl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, vl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, oi = /^\d+\/\d+$/, li = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, si = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ii = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, ui = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, di = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ia = (e) => oi.test(e), Se = (e) => !!e && !Number.isNaN(Number(e)), da = (e) => !!e && Number.isInteger(Number(e)), ir = (e) => e.endsWith("%") && Se(e.slice(0, -1)), na = (e) => li.test(e), ci = () => !0, fi = (e) => (
624
+ }, vl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, yl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, _i = /^\d+\/\d+$/, Mi = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $i = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Di = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Ci = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Pi = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ia = (e) => _i.test(e), Se = (e) => !!e && !Number.isNaN(Number(e)), da = (e) => !!e && Number.isInteger(Number(e)), cr = (e) => e.endsWith("%") && Se(e.slice(0, -1)), na = (e) => Mi.test(e), Ti = () => !0, Ai = (e) => (
244
625
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
245
626
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
246
627
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
247
- si.test(e) && !ii.test(e)
248
- ), yl = () => !1, mi = (e) => ui.test(e), pi = (e) => di.test(e), hi = (e) => !he(e) && !ve(e), vi = (e) => ln(e, wl, yl), he = (e) => hl.test(e), Ma = (e) => ln(e, kl, fi), ur = (e) => ln(e, ki, Se), Po = (e) => ln(e, gl, yl), yi = (e) => ln(e, bl, pi), Sn = (e) => ln(e, xl, mi), ve = (e) => vl.test(e), dn = (e) => sn(e, kl), gi = (e) => sn(e, xi), To = (e) => sn(e, gl), bi = (e) => sn(e, wl), wi = (e) => sn(e, bl), On = (e) => sn(e, xl, !0), ln = (e, t, n) => {
249
- const a = hl.exec(e);
628
+ $i.test(e) && !Di.test(e)
629
+ ), gl = () => !1, Si = (e) => Ci.test(e), Oi = (e) => Pi.test(e), Ri = (e) => !he(e) && !ve(e), zi = (e) => ln(e, kl, gl), he = (e) => vl.test(e), Ma = (e) => ln(e, xl, Ai), fr = (e) => ln(e, Ii, Se), To = (e) => ln(e, bl, gl), Bi = (e) => ln(e, wl, Oi), Sn = (e) => ln(e, _l, Si), ve = (e) => yl.test(e), dn = (e) => sn(e, xl), Ni = (e) => sn(e, Li), Ao = (e) => sn(e, bl), Ei = (e) => sn(e, kl), Yi = (e) => sn(e, wl), On = (e) => sn(e, _l, !0), ln = (e, t, n) => {
630
+ const a = vl.exec(e);
250
631
  return a ? a[1] ? t(a[1]) : n(a[2]) : !1;
251
632
  }, sn = (e, t, n = !1) => {
252
- const a = vl.exec(e);
633
+ const a = yl.exec(e);
253
634
  return a ? a[1] ? t(a[1]) : n : !1;
254
- }, gl = (e) => e === "position" || e === "percentage", bl = (e) => e === "image" || e === "url", wl = (e) => e === "length" || e === "size" || e === "bg-size", kl = (e) => e === "length", ki = (e) => e === "number", xi = (e) => e === "family-name", xl = (e) => e === "shadow", _i = () => {
635
+ }, bl = (e) => e === "position" || e === "percentage", wl = (e) => e === "image" || e === "url", kl = (e) => e === "length" || e === "size" || e === "bg-size", xl = (e) => e === "length", Ii = (e) => e === "number", Li = (e) => e === "family-name", _l = (e) => e === "shadow", Fi = () => {
255
636
  const e = ct("color"), t = ct("font"), n = ct("text"), a = ct("font-weight"), r = ct("tracking"), o = ct("leading"), l = ct("breakpoint"), s = ct("container"), i = ct("spacing"), u = ct("radius"), c = ct("shadow"), f = ct("inset-shadow"), m = ct("text-shadow"), p = ct("drop-shadow"), k = ct("blur"), w = ct("perspective"), x = ct("aspect"), g = ct("ease"), $ = ct("animate"), b = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], O = () => [
256
637
  "center",
257
638
  "top",
@@ -272,13 +653,13 @@ const ct = (e) => {
272
653
  "left-bottom"
273
654
  ], P = () => [...O(), ve, he], _ = () => ["auto", "hidden", "clip", "visible", "scroll"], T = () => ["auto", "contain", "none"], Y = () => [ve, he, i], j = () => [Ia, "full", "auto", ...Y()], W = () => [da, "none", "subgrid", ve, he], ue = () => ["auto", {
274
655
  span: ["full", da, ve, he]
275
- }, da, ve, he], pe = () => [da, "auto", ve, he], ke = () => ["auto", "min", "max", "fr", ve, he], A = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...Y()], q = () => [Ia, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...Y()], L = () => [e, ve, he], U = () => [...O(), To, Po, {
656
+ }, da, ve, he], pe = () => [da, "auto", ve, he], ke = () => ["auto", "min", "max", "fr", ve, he], A = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], N = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], S = () => ["auto", ...Y()], q = () => [Ia, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...Y()], L = () => [e, ve, he], U = () => [...O(), Ao, To, {
276
657
  position: [ve, he]
277
658
  }], ae = () => ["no-repeat", {
278
659
  repeat: ["", "x", "y", "space", "round"]
279
- }], F = () => ["auto", "cover", "contain", bi, vi, {
660
+ }], F = () => ["auto", "cover", "contain", Ei, zi, {
280
661
  size: [ve, he]
281
- }], me = () => [ir, dn, Ma], M = () => [
662
+ }], me = () => [cr, dn, Ma], M = () => [
282
663
  // Deprecated since Tailwind CSS v4.0.0
283
664
  "",
284
665
  "none",
@@ -286,7 +667,7 @@ const ct = (e) => {
286
667
  u,
287
668
  ve,
288
669
  he
289
- ], R = () => ["", Se, dn, Ma], Q = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], d = () => [Se, ir, To, Po], E = () => [
670
+ ], R = () => ["", Se, dn, Ma], Q = () => ["solid", "dashed", "dotted", "double"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], d = () => [Se, cr, Ao, To], E = () => [
290
671
  // Deprecated since Tailwind CSS v4.0.0
291
672
  "",
292
673
  "none",
@@ -301,11 +682,11 @@ const ct = (e) => {
301
682
  aspect: ["video"],
302
683
  blur: [na],
303
684
  breakpoint: [na],
304
- color: [ci],
685
+ color: [Ti],
305
686
  container: [na],
306
687
  "drop-shadow": [na],
307
688
  ease: ["in", "out", "in-out"],
308
- font: [hi],
689
+ font: [Ri],
309
690
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
310
691
  "inset-shadow": [na],
311
692
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -1003,21 +1384,21 @@ const ct = (e) => {
1003
1384
  * @see https://tailwindcss.com/docs/font-weight
1004
1385
  */
1005
1386
  "font-weight": [{
1006
- font: [a, ve, ur]
1387
+ font: [a, ve, fr]
1007
1388
  }],
1008
1389
  /**
1009
1390
  * Font Stretch
1010
1391
  * @see https://tailwindcss.com/docs/font-stretch
1011
1392
  */
1012
1393
  "font-stretch": [{
1013
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", ir, he]
1394
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", cr, he]
1014
1395
  }],
1015
1396
  /**
1016
1397
  * Font Family
1017
1398
  * @see https://tailwindcss.com/docs/font-family
1018
1399
  */
1019
1400
  "font-family": [{
1020
- font: [gi, he, t]
1401
+ font: [Ni, he, t]
1021
1402
  }],
1022
1403
  /**
1023
1404
  * Font Variant Numeric
@@ -1061,7 +1442,7 @@ const ct = (e) => {
1061
1442
  * @see https://tailwindcss.com/docs/line-clamp
1062
1443
  */
1063
1444
  "line-clamp": [{
1064
- "line-clamp": [Se, "none", ve, ur]
1445
+ "line-clamp": [Se, "none", ve, fr]
1065
1446
  }],
1066
1447
  /**
1067
1448
  * Line Height
@@ -1272,7 +1653,7 @@ const ct = (e) => {
1272
1653
  }, da, ve, he],
1273
1654
  radial: ["", ve, he],
1274
1655
  conic: [da, ve, he]
1275
- }, wi, yi]
1656
+ }, Yi, Bi]
1276
1657
  }],
1277
1658
  /**
1278
1659
  * Background Color
@@ -2646,7 +3027,7 @@ const ct = (e) => {
2646
3027
  * @see https://tailwindcss.com/docs/stroke-width
2647
3028
  */
2648
3029
  "stroke-w": [{
2649
- stroke: [Se, dn, Ma, ur]
3030
+ stroke: [Se, dn, Ma, fr]
2650
3031
  }],
2651
3032
  /**
2652
3033
  * Stroke
@@ -2721,390 +3102,9 @@ const ct = (e) => {
2721
3102
  },
2722
3103
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
2723
3104
  };
2724
- }, Mi = /* @__PURE__ */ ri(_i);
2725
- function _l(e) {
2726
- var t, n, a = "";
2727
- if (typeof e == "string" || typeof e == "number") a += e;
2728
- else if (typeof e == "object") if (Array.isArray(e)) {
2729
- var r = e.length;
2730
- for (t = 0; t < r; t++) e[t] && (n = _l(e[t])) && (a && (a += " "), a += n);
2731
- } else for (n in e) e[n] && (a && (a += " "), a += n);
2732
- return a;
2733
- }
2734
- function $i() {
2735
- for (var e, t, n = 0, a = "", r = arguments.length; n < r; n++) (e = arguments[n]) && (t = _l(e)) && (a && (a += " "), a += t);
2736
- return a;
2737
- }
3105
+ }, Vi = /* @__PURE__ */ xi(Fi);
2738
3106
  function nt(...e) {
2739
- return Mi($i(e));
2740
- }
2741
- const Mn = (e, t) => {
2742
- const n = e.__vccOpts || e;
2743
- for (const [a, r] of t)
2744
- n[a] = r;
2745
- return n;
2746
- }, Di = {};
2747
- function Ci(e, t) {
2748
- return h(), D("div");
2749
- }
2750
- const Pi = /* @__PURE__ */ Mn(Di, [["render", Ci]]), dr = {
2751
- activities: () => import("./activities-PcM6y0Fk.js"),
2752
- alert: () => import("./alert-Ct-zssIe.js"),
2753
- "alert-fill": () => import("./alert-fill-DMMvlaec.js"),
2754
- "alert-octagon": () => import("./alert-octagon-B3v_MJHf.js"),
2755
- ai: () => import("./ai-z5i-d5_R.js"),
2756
- apps: () => import("./apps-DYQ2U0l5.js"),
2757
- archive: () => import("./archive-vRosHL29.js"),
2758
- "arrow-left": () => import("./arrow-left-CkycZYwB.js"),
2759
- "arrow-nav-left": () => import("./arrow-nav-left-FVpBrId9.js"),
2760
- "arrow-nav-right": () => import("./arrow-nav-right-CvOHkSz-.js"),
2761
- "arrow-up": () => import("./arrow-up-CFK6OgnS.js"),
2762
- "arrow-right": () => import("./arrow-right-CmU1rXD9.js"),
2763
- "arrow-down": () => import("./arrow-down-D1CWvL8J.js"),
2764
- "arrowhead-left": () => import("./arrowhead-left-C5ui-yjE.js"),
2765
- "arrowhead-right": () => import("./arrowhead-right-Da4zQoLU.js"),
2766
- "arrowhead-top": () => import("./arrowhead-top-DsdJp76F.js"),
2767
- atmo: () => import("./atmo-NGJLwn3H.js"),
2768
- audio: () => import("./audio-Dcz8aw1_.js"),
2769
- "audio-circled": () => import("./audio-circled-0ZmLZL91.js"),
2770
- "audio-filled": () => import("./audio-filled-DcW6DAMI.js"),
2771
- bag: () => import("./bag-YxSwAEtn.js"),
2772
- bell: () => import("./bell-Cwk-jBYZ.js"),
2773
- "bell-fill": () => import("./bell-fill-BovFIv1w.js"),
2774
- book: () => import("./book-BJX4CHOB.js"),
2775
- bookmark: () => import("./bookmark-ClSX6jQj.js"),
2776
- "bookmark-fill": () => import("./bookmark-fill-BI_jjVPy.js"),
2777
- "bookmark-outlined": () => import("./bookmark-outlined-DTG6TKyU.js"),
2778
- box: () => import("./box-Du1hHItU.js"),
2779
- bulb: () => import("./bulb-B3JY2j5W.js"),
2780
- call: () => import("./call-B1y69K6B.js"),
2781
- camera: () => import("./camera-BZNbvvzQ.js"),
2782
- check: () => import("./check-Cs3V_vCd.js"),
2783
- checklist: () => import("./checklist-CqycfvZF.js"),
2784
- checkmark: () => import("./checkmark-AFGM1TWR.js"),
2785
- "checkmark-double": () => import("./checkmark-double-CvdGHwCN.js"),
2786
- "chevron-down": () => import("./chevron-down-UoMyJbf7.js"),
2787
- "chevron-left": () => import("./chevron-left-Cj4LbQvg.js"),
2788
- "chevron-right": () => import("./chevron-right-BlgBdVdV.js"),
2789
- "chevron-up": () => import("./chevron-up-BLMHCXAL.js"),
2790
- clipboard: () => import("./clipboard-B64nrxbs.js"),
2791
- clock: () => import("./clock-F3smowhS.js"),
2792
- close: () => import("./close-DauHe6bB.js"),
2793
- "cloud-save": () => import("./cloud-save-CWGOOPn5.js"),
2794
- code: () => import("./code-CZk9qbKn.js"),
2795
- collapse: () => import("./collapse-B5cNPR__.js"),
2796
- "color-palette": () => import("./color-palette-zUSkjrTa.js"),
2797
- comment: () => import("./comment-Du1tgpCt.js"),
2798
- "comment-fill": () => import("./comment-fill-RBxp7MxW.js"),
2799
- copy: () => import("./copy-jcxCsFQp.js"),
2800
- "copy-link": () => import("./copy-link-5_9VeoPU.js"),
2801
- delete: () => import("./delete-DARSgNhK.js"),
2802
- download: () => import("./download-DY-cJNNw.js"),
2803
- "dpa-id": () => import("./dpa-id-0YCX_OSS.js"),
2804
- edit: () => import("./edit-CPJAWUJw.js"),
2805
- "edit-add": () => import("./edit-add-9Nvm2vdn.js"),
2806
- eil: () => import("./eil-BXRfW-pE.js"),
2807
- emoji: () => import("./emoji-CEuGuCiU.js"),
2808
- "emoji-add": () => import("./emoji-add-aP2lkF3z.js"),
2809
- envelope: () => import("./envelope-DVhTuVUq.js"),
2810
- event: () => import("./event-CMZY7tup.js"),
2811
- expand: () => import("./expand-av5QWhib.js"),
2812
- "external-link": () => import("./external-link-BISHlEPe.js"),
2813
- file: () => import("./file-VVVUyfie.js"),
2814
- "file-pdf": () => import("./file-pdf-Cwjmp8yE.js"),
2815
- filter: () => import("./filter-BS6Te_Xr.js"),
2816
- "filter-outline": () => import("./filter-outline-D9hHRMuX.js"),
2817
- flag: () => import("./flag-CnxHwAXz.js"),
2818
- "flag-fill": () => import("./flag-fill-CYk7SwuF.js"),
2819
- "flag-filled": () => import("./flag-filled-DHE9sD_A.js"),
2820
- "flag-outline": () => import("./flag-outline-BJZsCO8x.js"),
2821
- flags: () => import("./flags--dYUEvik.js"),
2822
- flash: () => import("./flash-BeYfEAdk.js"),
2823
- folder: () => import("./folder-DjcLdgGn.js"),
2824
- "folder-add": () => import("./folder-add-nT77SHBi.js"),
2825
- "folder-fill": () => import("./folder-fill-E8iD-EHI.js"),
2826
- "folder-filled": () => import("./folder-filled-DeWR4ndy.js"),
2827
- gallery: () => import("./gallery-C3s4EBby.js"),
2828
- graphic: () => import("./graphic-CJwoTLw4.js"),
2829
- "graphic-circled": () => import("./graphic-circled-8BSFBj7u.js"),
2830
- "graphic-filled": () => import("./graphic-filled-BCjIQZt3.js"),
2831
- graphics: () => import("./graphics-BqghDlnK.js"),
2832
- "grid-1": () => import("./grid-1-DRfd1Nd-.js"),
2833
- "grid-2": () => import("./grid-2-BLAvlgFc.js"),
2834
- "grid-3": () => import("./grid-3-DniVG7ms.js"),
2835
- "grid-4": () => import("./grid-4-DGilUFZq.js"),
2836
- "grid-6": () => import("./grid-6-74vA3Yog.js"),
2837
- "grid-9": () => import("./grid-9-DWAo6g6R.js"),
2838
- "grid-masonry": () => import("./grid-masonry-ALDGYem3.js"),
2839
- "grid-masonry-9": () => import("./grid-masonry-9-C9_2wpcM.js"),
2840
- help: () => import("./help-Bxd_40Yg.js"),
2841
- home: () => import("./home-C7KhpNeT.js"),
2842
- image: () => import("./image-DStRMZRq.js"),
2843
- "image focus point": () => import("./image focus point-vm4vRDaI.js"),
2844
- "impact-high": () => import("./impact-high-BGnZp4aF.js"),
2845
- "impact-low": () => import("./impact-low-BlR2uH7g.js"),
2846
- "impact-medium": () => import("./impact-medium-Bjt5Gns7.js"),
2847
- "impact-very-high": () => import("./impact-very-high-C--zVxdv.js"),
2848
- "impact-very-low": () => import("./impact-very-low-CPzjjv2D.js"),
2849
- info: () => import("./info-BIpfdrHa.js"),
2850
- "info-fill": () => import("./info-fill-B_uef6Os.js"),
2851
- "info-filled": () => import("./info-filled-EVRKbAhH.js"),
2852
- label: () => import("./label-BUELyRaN.js"),
2853
- "label-filled": () => import("./label-filled-C88UKn4p.js"),
2854
- language: () => import("./language-BwSDfWuV.js"),
2855
- latest: () => import("./latest-CmnS5tJ_.js"),
2856
- lightbulb: () => import("./lightbulb-CUfElT9Y.js"),
2857
- list: () => import("./list-BD5kWiZ6.js"),
2858
- "list-search": () => import("./list-search-DomdYIMD.js"),
2859
- lock: () => import("./lock-DKq5Jd7G.js"),
2860
- "lock-filled": () => import("./lock-filled-f7wTfy6M.js"),
2861
- mail: () => import("./mail-CEUqPCdS.js"),
2862
- map: () => import("./map-ByQ6pORc.js"),
2863
- "map-outline": () => import("./map-outline-Btaz_U_r.js"),
2864
- menu: () => import("./menu-DpJyXh0Y.js"),
2865
- minus: () => import("./minus-B2nqNmUT.js"),
2866
- "more-horizontal": () => import("./more-horizontal-Di75xRwv.js"),
2867
- "more-vertical": () => import("./more-vertical-CdYHpgDH.js"),
2868
- move: () => import("./move-CvLTFMrm.js"),
2869
- "move-up-down": () => import("./move-up-down-CTvgnvg2.js"),
2870
- navigation: () => import("./navigation-Bn9T3ebl.js"),
2871
- note: () => import("./note-DLm2yUQe.js"),
2872
- offline: () => import("./offline-DzVcP9Nn.js"),
2873
- package: () => import("./package-CrKDfx8h.js"),
2874
- "paper-plane": () => import("./paper-plane-BCNXgrK0.js"),
2875
- paperplane: () => import("./paperplane-C-rYgKHV.js"),
2876
- pause: () => import("./pause-BPkZq8Xt.js"),
2877
- "pause-circle": () => import("./pause-circle-CgxJfFqw.js"),
2878
- pdf: () => import("./pdf-Ds30FN6l.js"),
2879
- pen: () => import("./pen-KWKzfHil.js"),
2880
- "pen-check": () => import("./pen-check-CTf1Hzr8.js"),
2881
- people: () => import("./people-DVSHR6Ez.js"),
2882
- phone: () => import("./phone-ZOcCxa1V.js"),
2883
- picture: () => import("./picture-B89Q8g8d.js"),
2884
- "picture-circled": () => import("./picture-circled-BgF0kCF4.js"),
2885
- "picture-filled": () => import("./picture-filled-BB4UsZps.js"),
2886
- pin: () => import("./pin-Bqy0C3VW.js"),
2887
- planning: () => import("./planning-CPwkQVqg.js"),
2888
- play: () => import("./play-BbPRSRPu.js"),
2889
- "play-circle": () => import("./play-circle-UUq56u86.js"),
2890
- "play-fill": () => import("./play-fill-eRUyYddw.js"),
2891
- plus: () => import("./plus-BFvWok5K.js"),
2892
- "plus-circle": () => import("./plus-circle-D3nK6FL4.js"),
2893
- print: () => import("./print-B02RXN8V.js"),
2894
- refresh: () => import("./refresh-l17VJb-I.js"),
2895
- reset: () => import("./reset-5QyzseyS.js"),
2896
- responsive: () => import("./responsive-YoM3N8Fw.js"),
2897
- "rubix-thema": () => import("./rubix-thema-CP5kcs4x.js"),
2898
- save: () => import("./save-fRZzK_iC.js"),
2899
- "saved-search": () => import("./saved-search-Bb7eT_Ef.js"),
2900
- "saved-search-fill": () => import("./saved-search-fill-CXXr4QlQ.js"),
2901
- search: () => import("./search-Bd9agJwA.js"),
2902
- settings: () => import("./settings-Dzmq0aSy.js"),
2903
- share: () => import("./share-CGabEgKz.js"),
2904
- "share-alternative": () => import("./share-alternative-xAbHtiHJ.js"),
2905
- sidebar: () => import("./sidebar-GEcdBns0.js"),
2906
- "sidebar-fill": () => import("./sidebar-fill-Z__NTHxQ.js"),
2907
- slack: () => import("./slack-Brh7mYGC.js"),
2908
- "slider-config": () => import("./slider-config-Bw2ILFQF.js"),
2909
- spellcheck: () => import("./spellcheck-HrdCbuTL.js"),
2910
- spinner: () => import("./spinner-BrNZ2MbM.js"),
2911
- "standard-view": () => import("./standard-view-C0C_cVjg.js"),
2912
- star: () => import("./star-CybUwiiB.js"),
2913
- "star-fill": () => import("./star-fill-CZvFC8ZO.js"),
2914
- "star-filled": () => import("./star-filled-DfLqW2HO.js"),
2915
- stop: () => import("./stop-BCfGnoIP.js"),
2916
- story: () => import("./story-aZfSL8PQ.js"),
2917
- sync: () => import("./sync-cXrYz7I8.js"),
2918
- tasks: () => import("./tasks-B9tCDI4S.js"),
2919
- text: () => import("./text-ClwB7rhG.js"),
2920
- "text-circled": () => import("./text-circled-kkqn7tx3.js"),
2921
- "text-filled": () => import("./text-filled-DHykUJ5H.js"),
2922
- "thumbs-down": () => import("./thumbs-down-BNOJN1_n.js"),
2923
- "thumbs-up": () => import("./thumbs-up-C3Nosj_Z.js"),
2924
- "thumbs-up-double": () => import("./thumbs-up-double-1MipcXbf.js"),
2925
- topic: () => import("./topic-D-rTbRm-.js"),
2926
- union: () => import("./union-MosiEfSf.js"),
2927
- upload: () => import("./upload-D3oQAQYo.js"),
2928
- video: () => import("./video-Cj9RKdhd.js"),
2929
- "video overlay": () => import("./video overlay-CRjMbCNv.js"),
2930
- "video-circled": () => import("./video-circled-CLrw5pbf.js"),
2931
- "video-filled": () => import("./video-filled-CVrgz4vg.js"),
2932
- "video-rounded": () => import("./video-rounded-DEIXBInB.js"),
2933
- view: () => import("./view-BZn5Po1e.js"),
2934
- "view-off": () => import("./view-off-BOHlPWTx.js"),
2935
- "volume-up": () => import("./volume-up-Df1Mjs1R.js")
2936
- }, lt = /* @__PURE__ */ _e({
2937
- __name: "UiIcon",
2938
- props: {
2939
- name: {},
2940
- size: { default: "large" },
2941
- sizeClasses: { default: "" }
2942
- },
2943
- setup(e) {
2944
- const t = e, n = C(
2945
- () => Ys({
2946
- loader: dr[t.name] ?? dr.close,
2947
- // Render a substitute element while loading for classes to attach to.
2948
- loadingComponent: Pi,
2949
- // Immediately render the loadingComponent so that it can receive classes.
2950
- delay: 0
2951
- })
2952
- ), a = C(() => t.sizeClasses || {
2953
- xs: "size-3",
2954
- small: "size-4",
2955
- medium: "size-5",
2956
- large: "size-6",
2957
- xl: "size-10",
2958
- "2xl": "size-14"
2959
- }[t.size]);
2960
- return rn(() => {
2961
- if (!dr[t.name])
2962
- throw new Error(`UiIcon: No icon named “${t.name}” exists.`);
2963
- }), (r, o) => (h(), ye(Ba(n.value), {
2964
- class: J([a.value, "inline-flex fill-current"])
2965
- }, null, 8, ["class"]));
2966
- }
2967
- }), Ti = { class: "flex items-center justify-between py-1" }, Ai = { class: "flex items-center pr-2" }, Si = { class: "text-xs font-medium text-gray-900" }, Oi = {
2968
- key: 0,
2969
- class: "w-16 shrink-0 text-right text-xs text-gray-700"
2970
- }, Ri = { class: "flex flex-col" }, zi = {
2971
- key: 0,
2972
- class: "flex py-1"
2973
- }, Bi = {
2974
- key: 0,
2975
- class: "relative mr-2 flex-none"
2976
- }, Ni = ["src", "alt"], Ei = {
2977
- key: 0,
2978
- class: "absolute right-1 bottom-1 inline-block h-4 rounded-full bg-gray-900 px-1 align-middle text-xs leading-4 font-semibold text-white",
2979
- "data-testid": "imageCount"
2980
- }, Yi = {
2981
- key: 0,
2982
- class: "pt-1 text-xs font-medium text-gray-700"
2983
- }, pv = /* @__PURE__ */ _e({
2984
- __name: "DpaMediaItem",
2985
- props: {
2986
- genre: { default: "text" },
2987
- isFulfilled: { type: Boolean, default: !1 },
2988
- imgSrc: { default: "" },
2989
- imgAlt: { default: "" },
2990
- imgCount: { default: 0 },
2991
- disabled: { type: Boolean, default: !1 }
2992
- },
2993
- setup(e) {
2994
- const t = e, n = C(() => ({
2995
- audio: t.isFulfilled ? "audio-filled" : "audio-circled",
2996
- video: t.isFulfilled ? "video-filled" : "video-circled",
2997
- text: t.isFulfilled ? "text-filled" : "text-circled",
2998
- picture: t.isFulfilled ? "picture-filled" : "picture-circled",
2999
- graphic: t.isFulfilled ? "graphic-filled" : "graphic-circled"
3000
- })[t.genre]), a = C(() => {
3001
- const { isFulfilled: r } = t;
3002
- return r ? t.disabled ? "cursor-not-allowed transition shadow-sm border border-gray-300" : "cursor-pointer transition shadow-sm hover:shadow-md group border border-gray-300 hover:border-gray-500" : "cursor-auto";
3003
- });
3004
- return (r, o) => (h(), D("div", {
3005
- class: J(["mb-px w-full bg-white pt-2 pr-4 pb-3 pl-3 md:pt-3", a.value]),
3006
- "data-testid": "rootDiv"
3007
- }, [
3008
- G("div", {
3009
- class: J(["flex", {
3010
- "flex-col-reverse": r.$slots.timePublished,
3011
- "flex-col": !r.$slots.timePublished,
3012
- "px-1": r.isFulfilled
3013
- }])
3014
- }, [
3015
- G("div", Ti, [
3016
- G("div", Ai, [
3017
- Oe(lt, {
3018
- size: "small",
3019
- name: n.value,
3020
- class: "mr-2 shrink-0 fill-current text-gray-700"
3021
- }, null, 8, ["name"]),
3022
- G("span", Si, [
3023
- K(r.$slots, "description")
3024
- ])
3025
- ]),
3026
- r.$slots.planning ? (h(), D("span", Oi, [
3027
- K(r.$slots, "planning")
3028
- ])) : I("", !0)
3029
- ]),
3030
- G("div", Ri, [
3031
- r.imgSrc || r.$slots.default ? (h(), D("div", zi, [
3032
- r.imgSrc ? (h(), D("div", Bi, [
3033
- G("img", {
3034
- src: r.imgSrc,
3035
- class: "h-14 object-cover",
3036
- alt: `Thumbnail${r.imgAlt ? ` :${r.imgAlt}` : ""}`
3037
- }, null, 8, Ni),
3038
- r.imgCount > 1 ? (h(), D("span", Ei, Pe(r.imgCount), 1)) : I("", !0)
3039
- ])) : I("", !0),
3040
- r.$slots.default ? (h(), D("h3", {
3041
- key: 1,
3042
- class: J(["text-sm leading-5 font-medium group-hover:underline", {
3043
- "ml-6": !r.isFulfilled,
3044
- "mr-1": r.$slots.planning,
3045
- "pr-16": r.$slots.planning
3046
- }])
3047
- }, [
3048
- K(r.$slots, "default")
3049
- ], 2)) : I("", !0)
3050
- ])) : I("", !0),
3051
- r.$slots.textLength ? (h(), D("span", {
3052
- key: 1,
3053
- class: J(["text-xs text-gray-700", r.isFulfilled ? "" : "ml-6"])
3054
- }, [
3055
- K(r.$slots, "textLength")
3056
- ], 2)) : I("", !0)
3057
- ]),
3058
- r.$slots.timePublished ? (h(), D("span", Yi, [
3059
- K(r.$slots, "timePublished")
3060
- ])) : I("", !0)
3061
- ], 2)
3062
- ], 2));
3063
- }
3064
- });
3065
- let cr;
3066
- const Qr = {
3067
- mounted(e, t) {
3068
- const n = t.instance;
3069
- if (typeof t.value != "function") {
3070
- const r = n?.$options.name;
3071
- let o = `[vue-click-away:] provided expression '${t.value}' is not a function, but has to be`;
3072
- r && (o += `Found in component '${r}'`), console.warn(o);
3073
- }
3074
- const { bubble: a } = t.modifiers;
3075
- cr = (r) => {
3076
- const o = r.target;
3077
- (a || !e.contains(o) && e !== r.target) && t.value(r);
3078
- }, document.addEventListener("mousedown", cr);
3079
- },
3080
- unmounted() {
3081
- document.removeEventListener("mousedown", cr);
3082
- }
3083
- }, wt = [];
3084
- for (let e = 0; e < 256; ++e)
3085
- wt.push((e + 256).toString(16).slice(1));
3086
- function Ii(e, t = 0) {
3087
- return (wt[e[t + 0]] + wt[e[t + 1]] + wt[e[t + 2]] + wt[e[t + 3]] + "-" + wt[e[t + 4]] + wt[e[t + 5]] + "-" + wt[e[t + 6]] + wt[e[t + 7]] + "-" + wt[e[t + 8]] + wt[e[t + 9]] + "-" + wt[e[t + 10]] + wt[e[t + 11]] + wt[e[t + 12]] + wt[e[t + 13]] + wt[e[t + 14]] + wt[e[t + 15]]).toLowerCase();
3088
- }
3089
- let fr;
3090
- const Li = new Uint8Array(16);
3091
- function Fi() {
3092
- if (!fr) {
3093
- if (typeof crypto > "u" || !crypto.getRandomValues)
3094
- throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
3095
- fr = crypto.getRandomValues.bind(crypto);
3096
- }
3097
- return fr(Li);
3098
- }
3099
- const Vi = typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto), Ao = { randomUUID: Vi };
3100
- function Gr(e, t, n) {
3101
- if (Ao.randomUUID && !e)
3102
- return Ao.randomUUID();
3103
- e = e || {};
3104
- const a = e.random ?? e.rng?.() ?? Fi();
3105
- if (a.length < 16)
3106
- throw new Error("Random bytes length must be >= 16");
3107
- return a[6] = a[6] & 15 | 64, a[8] = a[8] & 63 | 128, Ii(a);
3107
+ return Vi(ii(e));
3108
3108
  }
3109
3109
  const Wi = ["data-testid"], Ui = ["for"], Hi = ["id", "aria-invalid", "aria-errormessage", "aria-label", "readonly", "disabled", "placeholder"], ji = ["id", "aria-invalid", "aria-errormessage", "aria-label", "readonly", "disabled", "type", "autocomplete", "is-date-time-picker", "placeholder"], qi = ["id"], Qi = {
3110
3110
  key: 3,
@@ -3142,7 +3142,7 @@ const Wi = ["data-testid"], Ui = ["for"], Hi = ["id", "aria-invalid", "aria-erro
3142
3142
  ul(() => {
3143
3143
  i.value = "errors" in a;
3144
3144
  });
3145
- const c = C(() => o.id || `id-${Gr()}`), f = C(() => `${c.value}-addon-text`), m = C(
3145
+ const c = C(() => o.id || `id-${Qr()}`), f = C(() => `${c.value}-addon-text`), m = C(
3146
3146
  () => i.value ? "error" : o.inputStatus
3147
3147
  ), p = C(() => m.value === "error" ? o.errorMessage : m.value === "warning" ? o.warningMessage : m.value === "info" ? o.infoText : ""), k = C(() => u.value ? {
3148
3148
  default: "text-blue-default",
@@ -3299,7 +3299,7 @@ const Kr = /* @__PURE__ */ Mn(Gi, [["render", Xi]]), Ji = ["data-testid"], Zi =
3299
3299
  },
3300
3300
  emits: ["change"],
3301
3301
  setup(e, { emit: t }) {
3302
- const n = t, a = e, r = C(() => a.id || `id-${Gr()}`), o = (l) => {
3302
+ const n = t, a = e, r = C(() => a.id || `id-${Qr()}`), o = (l) => {
3303
3303
  const s = l.target;
3304
3304
  n("change", s.checked);
3305
3305
  };
@@ -3394,7 +3394,7 @@ const Kr = /* @__PURE__ */ Mn(Gi, [["render", Xi]]), Ji = ["data-testid"], Zi =
3394
3394
  G("span", {
3395
3395
  class: J(
3396
3396
  y(nt)(
3397
- "flex items-center gap-1 text-sm leading-normal hover:text-blue-default",
3397
+ "flex items-center justify-between gap-1 text-sm leading-normal hover:text-blue-default",
3398
3398
  r.value,
3399
3399
  l.overrideClasses
3400
3400
  )
@@ -3528,7 +3528,7 @@ const Kr = /* @__PURE__ */ Mn(Gi, [["render", Xi]]), Ji = ["data-testid"], Zi =
3528
3528
  [pa, g.options && g.options.length && s.value]
3529
3529
  ])
3530
3530
  ])), [
3531
- [y(Qr), m]
3531
+ [y(qr), m]
3532
3532
  ]);
3533
3533
  }
3534
3534
  }), lu = { class: "flex items-center gap-1" }, su = {
@@ -11870,96 +11870,7 @@ const um = ({
11870
11870
  Object.entries($m).forEach(([e, t]) => {
11871
11871
  e !== "default" && (vo[e] = t);
11872
11872
  });
11873
- const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE__ */ _e({
11874
- __name: "UiFilterButton",
11875
- props: {
11876
- title: { default: "" },
11877
- variant: { default: "white-rounded" },
11878
- chevronIcon: { default: "chevron-down" },
11879
- rotateIcon: { type: Boolean, default: !1 },
11880
- iconSize: { default: "xs" },
11881
- size: { default: "small" },
11882
- disabled: { type: Boolean, default: !1 },
11883
- active: { type: Boolean, default: !1 },
11884
- hasIcon: { type: Boolean, default: !0 },
11885
- iconLeft: { default: null },
11886
- iconLeftClass: { default: void 0 },
11887
- iconRightClass: { default: void 0 }
11888
- },
11889
- emits: ["click"],
11890
- setup(e, { emit: t }) {
11891
- const n = t, a = e, r = {
11892
- "blue-rounded": "bg-blue-default hover:bg-blue-dark",
11893
- "white-rounded": "bg-white hover:border-gray-700 border border-gray-400",
11894
- blank: "bg-transparent hover:bg-gray-300",
11895
- "blue-blank": "bg-transparent hover:bg-gray-300",
11896
- "transparent-rounded": "bg-transparent border border-gray-400 hover:border-gray-700"
11897
- }, o = {
11898
- "blue-rounded": "text-white",
11899
- "white-rounded": "text-gray-800 hover:text-gray-900",
11900
- blank: "text-gray-800 hover:text-gray-900",
11901
- "blue-blank": "text-blue-default hover:text-blue-dark",
11902
- "transparent-rounded": "text-gray-800"
11903
- }, l = C(() => a.disabled ? a.variant === "blank" ? "border border-transparent" : "bg-white border border-gray-400" : a.active ? r[a.variant].includes("border") ? "bg-blue-default hover:bg-blue-dark border border-blue-default hover:border-blue-dark" : "bg-blue-default hover:bg-blue-dark" : r[a.variant]), s = C(() => a.disabled ? "text-gray-400" : a.active ? "text-white" : o[a.variant]), i = () => {
11904
- a.disabled || n("click");
11905
- };
11906
- return (u, c) => (h(), D("div", {
11907
- class: J(
11908
- y(nt)(
11909
- "w-full pr-4 pl-3",
11910
- u.$attrs.class,
11911
- "flex max-w-max cursor-pointer items-center rounded-full select-none",
11912
- l.value,
11913
- a.size === "xs" ? "py-0.5" : "py-1.5"
11914
- )
11915
- ),
11916
- onClick: i
11917
- }, [
11918
- G("button", {
11919
- class: "w-full rounded-full focus:outline-hidden focus-visible:outline-blue",
11920
- disabled: u.disabled,
11921
- type: "button",
11922
- "data-testid": "filter-button"
11923
- }, [
11924
- G("span", {
11925
- "data-testid": "filterbutton-title",
11926
- class: J(["flex w-full items-center justify-between text-sm leading-normal font-medium", `${s.value} ${a.size === "xs" ? "text-xs" : "text-sm"}`])
11927
- }, [
11928
- u.hasIcon && u.iconLeft ? (h(), ye(lt, {
11929
- key: 0,
11930
- name: u.iconLeft,
11931
- size: u.iconSize,
11932
- class: J([
11933
- "flex-none",
11934
- y(nt)(
11935
- {
11936
- "mr-2": u.title.length !== 0
11937
- },
11938
- u.iconLeftClass
11939
- )
11940
- ])
11941
- }, null, 8, ["name", "size", "class"])) : I("", !0),
11942
- G("span", Cm, Pe(u.title), 1),
11943
- u.hasIcon ? (h(), ye(lt, {
11944
- key: 1,
11945
- name: u.chevronIcon,
11946
- class: J([
11947
- y(nt)(
11948
- {
11949
- "origin-center rotate-180": u.rotateIcon,
11950
- "ml-2": u.title.length !== 0
11951
- },
11952
- u.iconRightClass
11953
- ),
11954
- "flex-none"
11955
- ]),
11956
- size: u.iconSize
11957
- }, null, 8, ["name", "class", "size"])) : I("", !0)
11958
- ], 2)
11959
- ], 8, Dm)
11960
- ], 2));
11961
- }
11962
- }), Xo = {
11873
+ const Xo = {
11963
11874
  lessThanXSeconds: {
11964
11875
  standalone: {
11965
11876
  one: "weniger als 1 Sekunde",
@@ -12114,11 +12025,11 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12114
12025
  other: "fast {{count}} Jahren"
12115
12026
  }
12116
12027
  }
12117
- }, Pm = (e, t, n) => {
12028
+ }, Dm = (e, t, n) => {
12118
12029
  let a;
12119
12030
  const r = n?.addSuffix ? Xo[e].withPreposition : Xo[e].standalone;
12120
12031
  return typeof r == "string" ? a = r : t === 1 ? a = r.one : a = r.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + a : "vor " + a : a;
12121
- }, Tm = {
12032
+ }, Cm = {
12122
12033
  full: "EEEE, do MMMM y",
12123
12034
  // Montag, 7. Januar 2018
12124
12035
  long: "do MMMM y",
@@ -12127,45 +12038,45 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12127
12038
  // 7. Jan. 2018
12128
12039
  short: "dd.MM.y"
12129
12040
  // 07.01.2018
12130
- }, Am = {
12041
+ }, Pm = {
12131
12042
  full: "HH:mm:ss zzzz",
12132
12043
  long: "HH:mm:ss z",
12133
12044
  medium: "HH:mm:ss",
12134
12045
  short: "HH:mm"
12135
- }, Sm = {
12046
+ }, Tm = {
12136
12047
  full: "{{date}} 'um' {{time}}",
12137
12048
  long: "{{date}} 'um' {{time}}",
12138
12049
  medium: "{{date}} {{time}}",
12139
12050
  short: "{{date}} {{time}}"
12140
- }, Om = {
12051
+ }, Am = {
12141
12052
  date: Ha({
12142
- formats: Tm,
12053
+ formats: Cm,
12143
12054
  defaultWidth: "full"
12144
12055
  }),
12145
12056
  time: Ha({
12146
- formats: Am,
12057
+ formats: Pm,
12147
12058
  defaultWidth: "full"
12148
12059
  }),
12149
12060
  dateTime: Ha({
12150
- formats: Sm,
12061
+ formats: Tm,
12151
12062
  defaultWidth: "full"
12152
12063
  })
12153
- }, Rm = {
12064
+ }, Sm = {
12154
12065
  lastWeek: "'letzten' eeee 'um' p",
12155
12066
  yesterday: "'gestern um' p",
12156
12067
  today: "'heute um' p",
12157
12068
  tomorrow: "'morgen um' p",
12158
12069
  nextWeek: "eeee 'um' p",
12159
12070
  other: "P"
12160
- }, zm = (e, t, n, a) => Rm[e], Bm = {
12071
+ }, Om = (e, t, n, a) => Sm[e], Rm = {
12161
12072
  narrow: ["v.Chr.", "n.Chr."],
12162
12073
  abbreviated: ["v.Chr.", "n.Chr."],
12163
12074
  wide: ["vor Christus", "nach Christus"]
12164
- }, Nm = {
12075
+ }, zm = {
12165
12076
  narrow: ["1", "2", "3", "4"],
12166
12077
  abbreviated: ["Q1", "Q2", "Q3", "Q4"],
12167
12078
  wide: ["1. Quartal", "2. Quartal", "3. Quartal", "4. Quartal"]
12168
- }, Ir = {
12079
+ }, Yr = {
12169
12080
  narrow: ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"],
12170
12081
  abbreviated: [
12171
12082
  "Jan",
@@ -12195,8 +12106,8 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12195
12106
  "November",
12196
12107
  "Dezember"
12197
12108
  ]
12198
- }, Em = {
12199
- narrow: Ir.narrow,
12109
+ }, Bm = {
12110
+ narrow: Yr.narrow,
12200
12111
  abbreviated: [
12201
12112
  "Jan.",
12202
12113
  "Feb.",
@@ -12211,8 +12122,8 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12211
12122
  "Nov.",
12212
12123
  "Dez."
12213
12124
  ],
12214
- wide: Ir.wide
12215
- }, Ym = {
12125
+ wide: Yr.wide
12126
+ }, Nm = {
12216
12127
  narrow: ["S", "M", "D", "M", "D", "F", "S"],
12217
12128
  short: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"],
12218
12129
  abbreviated: ["So.", "Mo.", "Di.", "Mi.", "Do.", "Fr.", "Sa."],
@@ -12225,7 +12136,7 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12225
12136
  "Freitag",
12226
12137
  "Samstag"
12227
12138
  ]
12228
- }, Im = {
12139
+ }, Em = {
12229
12140
  narrow: {
12230
12141
  am: "vm.",
12231
12142
  pm: "nm.",
@@ -12256,7 +12167,7 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12256
12167
  evening: "Abend",
12257
12168
  night: "Nacht"
12258
12169
  }
12259
- }, Lm = {
12170
+ }, Ym = {
12260
12171
  narrow: {
12261
12172
  am: "vm.",
12262
12173
  pm: "nm.",
@@ -12287,49 +12198,49 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12287
12198
  evening: "abends",
12288
12199
  night: "nachts"
12289
12200
  }
12290
- }, Fm = (e) => Number(e) + ".", Vm = {
12291
- ordinalNumber: Fm,
12201
+ }, Im = (e) => Number(e) + ".", Lm = {
12202
+ ordinalNumber: Im,
12292
12203
  era: qt({
12293
- values: Bm,
12204
+ values: Rm,
12294
12205
  defaultWidth: "wide"
12295
12206
  }),
12296
12207
  quarter: qt({
12297
- values: Nm,
12208
+ values: zm,
12298
12209
  defaultWidth: "wide",
12299
12210
  argumentCallback: (e) => e - 1
12300
12211
  }),
12301
12212
  month: qt({
12302
- values: Ir,
12303
- formattingValues: Em,
12213
+ values: Yr,
12214
+ formattingValues: Bm,
12304
12215
  defaultWidth: "wide"
12305
12216
  }),
12306
12217
  day: qt({
12307
- values: Ym,
12218
+ values: Nm,
12308
12219
  defaultWidth: "wide"
12309
12220
  }),
12310
12221
  dayPeriod: qt({
12311
- values: Im,
12222
+ values: Em,
12312
12223
  defaultWidth: "wide",
12313
- formattingValues: Lm,
12224
+ formattingValues: Ym,
12314
12225
  defaultFormattingWidth: "wide"
12315
12226
  })
12316
- }, Wm = /^(\d+)(\.)?/i, Um = /\d+/i, Hm = {
12227
+ }, Fm = /^(\d+)(\.)?/i, Vm = /\d+/i, Wm = {
12317
12228
  narrow: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
12318
12229
  abbreviated: /^(v\.? ?Chr\.?|n\.? ?Chr\.?)/i,
12319
12230
  wide: /^(vor Christus|vor unserer Zeitrechnung|nach Christus|unserer Zeitrechnung)/i
12320
- }, jm = {
12231
+ }, Um = {
12321
12232
  any: [/^v/i, /^n/i]
12322
- }, qm = {
12233
+ }, Hm = {
12323
12234
  narrow: /^[1234]/i,
12324
12235
  abbreviated: /^q[1234]/i,
12325
12236
  wide: /^[1234](\.)? Quartal/i
12326
- }, Qm = {
12237
+ }, jm = {
12327
12238
  any: [/1/i, /2/i, /3/i, /4/i]
12328
- }, Gm = {
12239
+ }, qm = {
12329
12240
  narrow: /^[jfmasond]/i,
12330
12241
  abbreviated: /^(j[aä]n|feb|mär[z]?|apr|mai|jun[i]?|jul[i]?|aug|sep|okt|nov|dez)\.?/i,
12331
12242
  wide: /^(januar|februar|märz|april|mai|juni|juli|august|september|oktober|november|dezember)/i
12332
- }, Km = {
12243
+ }, Qm = {
12333
12244
  narrow: [
12334
12245
  /^j/i,
12335
12246
  /^f/i,
@@ -12358,18 +12269,18 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12358
12269
  /^n/i,
12359
12270
  /^d/i
12360
12271
  ]
12361
- }, Xm = {
12272
+ }, Gm = {
12362
12273
  narrow: /^[smdmf]/i,
12363
12274
  short: /^(so|mo|di|mi|do|fr|sa)/i,
12364
12275
  abbreviated: /^(son?|mon?|die?|mit?|don?|fre?|sam?)\.?/i,
12365
12276
  wide: /^(sonntag|montag|dienstag|mittwoch|donnerstag|freitag|samstag)/i
12366
- }, Jm = {
12277
+ }, Km = {
12367
12278
  any: [/^so/i, /^mo/i, /^di/i, /^mi/i, /^do/i, /^f/i, /^sa/i]
12368
- }, Zm = {
12279
+ }, Xm = {
12369
12280
  narrow: /^(vm\.?|nm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
12370
12281
  abbreviated: /^(vorm\.?|nachm\.?|Mitternacht|Mittag|morgens|nachm\.?|abends|nachts)/i,
12371
12282
  wide: /^(vormittags|nachmittags|Mitternacht|Mittag|morgens|nachmittags|abends|nachts)/i
12372
- }, ep = {
12283
+ }, Jm = {
12373
12284
  any: {
12374
12285
  am: /^v/i,
12375
12286
  pm: /^n/i,
@@ -12382,122 +12293,213 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12382
12293
  night: /nachts/i
12383
12294
  // will never be matched. Night is matched by `pm`
12384
12295
  }
12385
- }, tp = {
12296
+ }, Zm = {
12386
12297
  ordinalNumber: Nl({
12387
- matchPattern: Wm,
12388
- parsePattern: Um,
12298
+ matchPattern: Fm,
12299
+ parsePattern: Vm,
12389
12300
  valueCallback: (e) => parseInt(e)
12390
12301
  }),
12391
12302
  era: Qt({
12392
- matchPatterns: Hm,
12303
+ matchPatterns: Wm,
12393
12304
  defaultMatchWidth: "wide",
12394
- parsePatterns: jm,
12305
+ parsePatterns: Um,
12395
12306
  defaultParseWidth: "any"
12396
12307
  }),
12397
12308
  quarter: Qt({
12398
- matchPatterns: qm,
12309
+ matchPatterns: Hm,
12399
12310
  defaultMatchWidth: "wide",
12400
- parsePatterns: Qm,
12311
+ parsePatterns: jm,
12401
12312
  defaultParseWidth: "any",
12402
12313
  valueCallback: (e) => e + 1
12403
12314
  }),
12404
12315
  month: Qt({
12405
- matchPatterns: Gm,
12316
+ matchPatterns: qm,
12406
12317
  defaultMatchWidth: "wide",
12407
- parsePatterns: Km,
12318
+ parsePatterns: Qm,
12408
12319
  defaultParseWidth: "any"
12409
12320
  }),
12410
12321
  day: Qt({
12411
- matchPatterns: Xm,
12322
+ matchPatterns: Gm,
12412
12323
  defaultMatchWidth: "wide",
12413
- parsePatterns: Jm,
12324
+ parsePatterns: Km,
12414
12325
  defaultParseWidth: "any"
12415
12326
  }),
12416
12327
  dayPeriod: Qt({
12417
- matchPatterns: Zm,
12328
+ matchPatterns: Xm,
12418
12329
  defaultMatchWidth: "wide",
12419
- parsePatterns: ep,
12330
+ parsePatterns: Jm,
12420
12331
  defaultParseWidth: "any"
12421
12332
  })
12422
- }, ap = {
12333
+ }, ep = {
12423
12334
  code: "de",
12424
- formatDistance: Pm,
12425
- formatLong: Om,
12426
- formatRelative: zm,
12427
- localize: Vm,
12428
- match: tp,
12335
+ formatDistance: Dm,
12336
+ formatLong: Am,
12337
+ formatRelative: Om,
12338
+ localize: Lm,
12339
+ match: Zm,
12429
12340
  options: {
12430
12341
  weekStartsOn: 1,
12431
12342
  firstWeekContainsDate: 4
12432
12343
  }
12433
- }, np = { class: "flex w-full flex-col md:w-37 md:border-r-2 md:border-r-gray-200" }, rp = { class: "p-3 text-xs leading-4 font-semibold tracking-wider text-gray-700" }, op = {
12434
- key: 0,
12435
- class: "p-2"
12436
- }, lp = { class: "flex w-full justify-between border-t-2 border-t-gray-200 p-0" }, xv = /* @__PURE__ */ _e({
12437
- __name: "UiDatePicker",
12344
+ }, tp = ["disabled"], ap = { class: "w-full grow truncate" }, Ir = /* @__PURE__ */ _e({
12345
+ __name: "UiFilterButton",
12438
12346
  props: {
12439
- definesRange: { type: Boolean, default: !0 },
12440
- multiCalendars: { type: Boolean, default: !0 },
12441
- enableTimePicker: { type: Boolean, default: !1 },
12442
- autoApply: { type: Boolean, default: !0 },
12443
- closeOnAutoApply: { type: Boolean, default: !0 },
12444
- roundedEdges: { type: Boolean, default: !0 },
12445
- locale: { default: "de" },
12446
- placeholderText: { default: "" },
12447
- quickFilterRanges: { default: null },
12448
- quickFilterHeadline: { default: "" },
12449
- selectedDate: { default: "" },
12450
- autoPosition: { type: Boolean, default: !1 },
12451
- leftSidebar: { type: Boolean, default: !0 },
12452
- actionArea: { type: Boolean, default: !0 },
12453
- actionAreaExtraContent: { default: "" },
12454
- cancel: { default: "" },
12455
- submit: { default: "" },
12456
- firstAvailableDate: { default: 1948 },
12457
- minDate: { default: () => /* @__PURE__ */ new Date("1948-01-01") },
12458
- maxDate: { default: void 0 },
12459
- autoRange: { default: void 0 },
12460
- maxRange: { default: void 0 },
12461
- activeState: { type: Boolean, default: !1 },
12462
- disabledState: { type: Boolean, default: !1 },
12463
- monthPicker: { type: Boolean, default: !1 },
12464
- customFormatCallback: { default: void 0 },
12465
- inputLabel: { default: "" },
12347
+ title: { default: "" },
12348
+ variant: { default: "white-rounded" },
12349
+ buttonWidth: { default: "max" },
12350
+ chevronIcon: { default: "chevron-down" },
12351
+ rotateIcon: { type: Boolean, default: !1 },
12352
+ iconSize: { default: "xs" },
12353
+ size: { default: "small" },
12354
+ disabled: { type: Boolean, default: !1 },
12355
+ active: { type: Boolean, default: !1 },
12356
+ hasIcon: { type: Boolean, default: !0 },
12466
12357
  iconLeft: { default: null },
12467
- inline: { type: Boolean, default: !1 },
12468
- utc: { type: Boolean, default: !0 },
12469
- teleport: { type: [Boolean, String], default: void 0 },
12470
- closeOnScroll: { type: Boolean, default: !1 },
12471
- enableQuickfilterToggle: { type: Boolean, default: !0 }
12358
+ iconLeftClass: { default: void 0 },
12359
+ iconRightClass: { default: void 0 }
12472
12360
  },
12473
- emits: ["date-changed", "close", "open", "reset", "datepickerQuickfilterClick"],
12361
+ emits: ["click"],
12474
12362
  setup(e, { emit: t }) {
12475
- const n = t, a = e, r = H(), o = H(), l = H({
12476
- autoRange: a.autoRange,
12477
- maxRange: a.maxRange
12478
- }), s = H({
12479
- menu: "datepicker-wrapper",
12480
- calendar: "datepicker-calendar-instance",
12481
- calendarCell: "datepicker-cell"
12482
- });
12483
- rn(() => {
12484
- o.value = a?.selectedDate;
12485
- });
12486
- const i = H(!1), u = () => {
12487
- r.value?.closeMenu();
12488
- }, c = (b, O) => {
12489
- n("datepickerQuickfilterClick", O), Array.isArray(b) ? o.value = b.map((P) => new Date(P)) : o.value = b, w(o.value), u();
12490
- }, f = (b) => {
12491
- const O = Pt(b[0], "dd.MM.yyyy"), P = Pt(b[1], "dd.MM.yyyy");
12492
- return O + "-" + P;
12493
- }, m = (b) => {
12494
- const O = Pt(new Date(b), "dd.MM.yyyy"), P = Pt(Rl(new Date(b)), "MMMM yyyy", {
12495
- locale: ap
12496
- });
12497
- return a.monthPicker ? P : O;
12498
- }, p = (b) => a.customFormatCallback ? a.customFormatCallback(b) : a.definesRange ? f(b) : m(b), k = C(() => {
12499
- const b = De(/* @__PURE__ */ new Date()) + 10;
12500
- return [a.firstAvailableDate, b];
12363
+ const n = t, a = e, r = {
12364
+ "blue-rounded": "bg-blue-default hover:bg-blue-dark",
12365
+ "white-rounded": "bg-white hover:border-gray-700 border border-gray-400",
12366
+ blank: "bg-transparent hover:bg-gray-300",
12367
+ "blue-blank": "bg-transparent hover:bg-gray-300",
12368
+ "transparent-rounded": "bg-transparent border border-gray-400 hover:border-gray-700"
12369
+ }, o = {
12370
+ "blue-rounded": "text-white",
12371
+ "white-rounded": "text-gray-800 hover:text-gray-900",
12372
+ blank: "text-gray-800 hover:text-gray-900",
12373
+ "blue-blank": "text-blue-default hover:text-blue-dark",
12374
+ "transparent-rounded": "text-gray-800"
12375
+ }, l = C(() => a.disabled ? a.variant === "blank" ? "border border-transparent" : "bg-white border border-gray-400" : a.active ? r[a.variant].includes("border") ? "bg-blue-default hover:bg-blue-dark border border-blue-default hover:border-blue-dark" : "bg-blue-default hover:bg-blue-dark" : r[a.variant]), s = C(() => a.disabled ? "text-gray-400" : a.active ? "text-white" : o[a.variant]), i = () => {
12376
+ a.disabled || n("click");
12377
+ };
12378
+ return (u, c) => (h(), D("div", {
12379
+ class: J(
12380
+ y(nt)(
12381
+ "w-full px-3",
12382
+ u.$attrs.class,
12383
+ "flex cursor-pointer items-center rounded-full select-none",
12384
+ l.value,
12385
+ u.buttonWidth === "full" ? "w-full" : "max-w-max",
12386
+ a.size === "xs" ? "py-0.5" : "py-1.5"
12387
+ )
12388
+ ),
12389
+ onClick: i
12390
+ }, [
12391
+ G("button", {
12392
+ class: "w-full rounded-full focus:outline-hidden focus-visible:outline-blue",
12393
+ disabled: u.disabled,
12394
+ type: "button",
12395
+ "data-testid": "filter-button"
12396
+ }, [
12397
+ G("span", {
12398
+ "data-testid": "filterbutton-title",
12399
+ class: J(["flex w-full items-center justify-between text-left text-sm leading-normal font-medium", `${s.value} ${a.size === "xs" ? "text-xs" : "text-sm"}`])
12400
+ }, [
12401
+ u.hasIcon && u.iconLeft ? (h(), ye(lt, {
12402
+ key: 0,
12403
+ name: u.iconLeft,
12404
+ size: u.iconSize,
12405
+ class: J([
12406
+ "flex-none",
12407
+ y(nt)(
12408
+ {
12409
+ "mr-2": u.title.length !== 0
12410
+ },
12411
+ u.iconLeftClass
12412
+ )
12413
+ ])
12414
+ }, null, 8, ["name", "size", "class"])) : I("", !0),
12415
+ G("span", ap, Pe(u.title), 1),
12416
+ u.hasIcon ? (h(), ye(lt, {
12417
+ key: 1,
12418
+ name: u.chevronIcon,
12419
+ class: J([
12420
+ y(nt)(
12421
+ {
12422
+ "origin-center rotate-180": u.rotateIcon,
12423
+ "ml-2": u.title.length !== 0
12424
+ },
12425
+ u.iconRightClass
12426
+ ),
12427
+ "flex-none"
12428
+ ]),
12429
+ size: u.iconSize
12430
+ }, null, 8, ["name", "class", "size"])) : I("", !0)
12431
+ ], 2)
12432
+ ], 8, tp)
12433
+ ], 2));
12434
+ }
12435
+ }), np = { class: "flex w-full flex-col md:w-37 md:border-r-2 md:border-r-gray-200" }, rp = { class: "p-3 text-xs leading-4 font-semibold tracking-wider text-gray-700" }, op = {
12436
+ key: 0,
12437
+ class: "p-2"
12438
+ }, lp = { class: "flex w-full justify-between border-t-2 border-t-gray-200 p-0" }, xv = /* @__PURE__ */ _e({
12439
+ __name: "UiDatePicker",
12440
+ props: {
12441
+ definesRange: { type: Boolean, default: !0 },
12442
+ multiCalendars: { type: Boolean, default: !0 },
12443
+ enableTimePicker: { type: Boolean, default: !1 },
12444
+ autoApply: { type: Boolean, default: !0 },
12445
+ closeOnAutoApply: { type: Boolean, default: !0 },
12446
+ roundedEdges: { type: Boolean, default: !0 },
12447
+ locale: { default: "de" },
12448
+ placeholderText: { default: "" },
12449
+ quickFilterRanges: { default: null },
12450
+ quickFilterHeadline: { default: "" },
12451
+ selectedDate: { default: "" },
12452
+ autoPosition: { type: Boolean, default: !1 },
12453
+ leftSidebar: { type: Boolean, default: !0 },
12454
+ actionArea: { type: Boolean, default: !0 },
12455
+ actionAreaExtraContent: { default: "" },
12456
+ cancel: { default: "" },
12457
+ submit: { default: "" },
12458
+ firstAvailableDate: { default: 1948 },
12459
+ minDate: { default: () => /* @__PURE__ */ new Date("1948-01-01") },
12460
+ maxDate: { default: void 0 },
12461
+ autoRange: { default: void 0 },
12462
+ maxRange: { default: void 0 },
12463
+ activeState: { type: Boolean, default: !1 },
12464
+ disabledState: { type: Boolean, default: !1 },
12465
+ monthPicker: { type: Boolean, default: !1 },
12466
+ customFormatCallback: { default: void 0 },
12467
+ inputLabel: { default: "" },
12468
+ iconLeft: { default: null },
12469
+ inline: { type: Boolean, default: !1 },
12470
+ utc: { type: Boolean, default: !0 },
12471
+ teleport: { type: [Boolean, String], default: void 0 },
12472
+ closeOnScroll: { type: Boolean, default: !1 },
12473
+ enableQuickfilterToggle: { type: Boolean, default: !0 }
12474
+ },
12475
+ emits: ["date-changed", "close", "open", "reset", "datepickerQuickfilterClick"],
12476
+ setup(e, { emit: t }) {
12477
+ const n = t, a = e, r = H(), o = H(), l = H({
12478
+ autoRange: a.autoRange,
12479
+ maxRange: a.maxRange
12480
+ }), s = H({
12481
+ menu: "datepicker-wrapper",
12482
+ calendar: "datepicker-calendar-instance",
12483
+ calendarCell: "datepicker-cell"
12484
+ });
12485
+ rn(() => {
12486
+ o.value = a?.selectedDate;
12487
+ });
12488
+ const i = H(!1), u = () => {
12489
+ r.value?.closeMenu();
12490
+ }, c = (b, O) => {
12491
+ n("datepickerQuickfilterClick", O), Array.isArray(b) ? o.value = b.map((P) => new Date(P)) : o.value = b, w(o.value), u();
12492
+ }, f = (b) => {
12493
+ const O = Pt(b[0], "dd.MM.yyyy"), P = Pt(b[1], "dd.MM.yyyy");
12494
+ return O + "-" + P;
12495
+ }, m = (b) => {
12496
+ const O = Pt(new Date(b), "dd.MM.yyyy"), P = Pt(Rl(new Date(b)), "MMMM yyyy", {
12497
+ locale: ep
12498
+ });
12499
+ return a.monthPicker ? P : O;
12500
+ }, p = (b) => a.customFormatCallback ? a.customFormatCallback(b) : a.definesRange ? f(b) : m(b), k = C(() => {
12501
+ const b = De(/* @__PURE__ */ new Date()) + 10;
12502
+ return [a.firstAvailableDate, b];
12501
12503
  }), w = (b) => {
12502
12504
  n("date-changed", b), i.value = !1, u();
12503
12505
  }, x = () => {
@@ -12566,7 +12568,7 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12566
12568
  }
12567
12569
  ), kt({
12568
12570
  "dp-input": ge(({ value: P }) => [
12569
- b.roundedEdges ? (h(), ye(Yr, {
12571
+ b.roundedEdges ? (h(), ye(Ir, {
12570
12572
  key: 0,
12571
12573
  id: "desktop-datepicker",
12572
12574
  rounded: "",
@@ -12617,8 +12619,8 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12617
12619
  default: ge(() => [
12618
12620
  gt(Pe(b.submit), 1)
12619
12621
  ]),
12620
- _: 2
12621
- }, 1032, ["onClick"])
12622
+ _: 1
12623
+ }, 8, ["onClick"])
12622
12624
  ])
12623
12625
  ]),
12624
12626
  _: 2
@@ -12644,7 +12646,7 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12644
12646
  !$.value && b.enableQuickfilterToggle ? "hidden" : "md:block"
12645
12647
  ])
12646
12648
  }, [
12647
- Oe(Yr, {
12649
+ Oe(Ir, {
12648
12650
  "data-testid": P.label,
12649
12651
  variant: P.isSelected ? "blue-blank" : "blank",
12650
12652
  title: P.label,
@@ -12659,90 +12661,20 @@ const Dm = ["disabled"], Cm = { class: "w-full grow truncate" }, Yr = /* @__PURE
12659
12661
  ]), 1040, ["modelValue", "inline", "utc", "class", "text-input", "text-input-options", "ui", "multi-calendars", "locale", "enable-time-picker", "auto-apply", "close-on-auto-apply", "min-date", "max-date", "year-range", "auto-position", "disabled", "keep-action-row", "month-picker", "teleport", "config"])
12660
12662
  ]));
12661
12663
  }
12662
- }), sp = {
12663
- class: "fixed inset-0 z-50 max-h-screen",
12664
- role: "dialog"
12665
- }, ip = /* @__PURE__ */ _e({
12666
- __name: "UiOverlay",
12667
- emits: ["close"],
12668
- setup(e, { emit: t }) {
12669
- const n = t;
12670
- return (a, r) => (h(), D("div", sp, [
12671
- G("div", {
12672
- class: "fixed inset-0 h-screen bg-black opacity-60",
12673
- "data-testid": "background",
12674
- style: { "z-index": "-1" },
12675
- onClick: r[0] || (r[0] = (o) => n("close"))
12676
- }),
12677
- K(a.$slots, "default")
12678
- ]));
12679
- }
12680
- }), up = ["disabled", "aria-label"], Fn = /* @__PURE__ */ _e({
12681
- __name: "UiIconButton",
12682
- props: {
12683
- iconName: {},
12684
- title: {},
12685
- disabled: { type: Boolean, default: !1 },
12686
- backgroundColor: { default: "blue" },
12687
- iconColor: { default: "white" },
12688
- size: { default: "small" }
12689
- },
12690
- emits: ["click"],
12691
- setup(e, { emit: t }) {
12692
- const n = t, a = e, r = {
12693
- blue: "hover:bg-blue-dark bg-blue-default disabled:bg-gray-300 disabled:hover:bg-none",
12694
- none: "hover:bg-gray-100 active:bg-blue-default disabled:hover:bg-transparent",
12695
- "gray-hover": "hover:bg-gray-300 disabled:hover:bg-none"
12696
- }, o = {
12697
- blue: "text-blue-default hover:text-blue-dark disabled:text-gray-400 active:text-white",
12698
- gray: "text-gray-800 hover:text-gray-900 disabled:text-gray-400 active:text-white",
12699
- white: "text-white disabled:text-gray-400"
12700
- }, l = {
12701
- small: {
12702
- iconSize: "small",
12703
- buttonSize: "h-6 w-6"
12704
- },
12705
- medium: {
12706
- iconSize: "large",
12707
- buttonSize: "h-8 w-8"
12708
- },
12709
- large: {
12710
- iconSize: "large",
12711
- buttonSize: "h-12 w-12"
12712
- },
12713
- xl: {
12714
- iconSize: "large",
12715
- buttonSize: "h-16 w-16"
12716
- }
12717
- }, s = C(() => r[a.backgroundColor]), i = C(() => o[a.iconColor]), u = C(() => l[a.size].buttonSize), c = C(() => l[a.size].iconSize);
12718
- return (f, m) => (h(), D("button", {
12719
- disabled: f.disabled,
12720
- "aria-label": f.title,
12721
- class: J(["group flex flex-none items-center justify-center rounded-full focus:outline-hidden focus-visible:outline-blue", [i.value, s.value, u.value]]),
12722
- type: "button",
12723
- onClick: m[0] || (m[0] = (p) => n("click", p))
12724
- }, [
12725
- Oe(lt, {
12726
- class: "flex items-center justify-center",
12727
- name: f.iconName,
12728
- size: c.value
12729
- }, null, 8, ["name", "size"])
12730
- ], 10, up));
12731
- }
12732
12664
  });
12733
- function dp(e) {
12665
+ function sp(e) {
12734
12666
  return Hr() ? (jr(e), !0) : !1;
12735
12667
  }
12736
- const Mr = /* @__PURE__ */ new WeakMap(), cp = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
12668
+ const Mr = /* @__PURE__ */ new WeakMap(), ip = /* @__NO_SIDE_EFFECTS__ */ (...e) => {
12737
12669
  var t;
12738
12670
  const n = e[0], a = (t = jn()) == null ? void 0 : t.proxy;
12739
12671
  if (a == null && !fl())
12740
12672
  throw new Error("injectLocal must be called in setup");
12741
12673
  return a && Mr.has(a) && n in Mr.get(a) ? Mr.get(a)[n] : Vs(...e);
12742
- }, fp = typeof window < "u" && typeof document < "u";
12674
+ }, up = typeof window < "u" && typeof document < "u";
12743
12675
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
12744
- const mp = Object.prototype.toString, pp = (e) => mp.call(e) === "[object Object]";
12745
- function hp(e, t) {
12676
+ const dp = Object.prototype.toString, cp = (e) => dp.call(e) === "[object Object]";
12677
+ function fp(e, t) {
12746
12678
  var n;
12747
12679
  if (typeof e == "number")
12748
12680
  return e + t;
@@ -12755,13 +12687,13 @@ function vn(e) {
12755
12687
  function $r(e) {
12756
12688
  return Array.isArray(e) ? e : [e];
12757
12689
  }
12758
- function vp(e) {
12690
+ function mp(e) {
12759
12691
  return jn();
12760
12692
  }
12761
- function yp(e, t = !0, n) {
12762
- vp() ? Ze(e, n) : t ? e() : Mt(e);
12693
+ function pp(e, t = !0, n) {
12694
+ mp() ? Ze(e, n) : t ? e() : Mt(e);
12763
12695
  }
12764
- function gp(e, t, n) {
12696
+ function hp(e, t, n) {
12765
12697
  return ut(
12766
12698
  e,
12767
12699
  t,
@@ -12771,8 +12703,8 @@ function gp(e, t, n) {
12771
12703
  }
12772
12704
  );
12773
12705
  }
12774
- const yo = fp ? window : void 0;
12775
- function bp(e) {
12706
+ const yo = up ? window : void 0;
12707
+ function vp(e) {
12776
12708
  var t;
12777
12709
  const n = la(e);
12778
12710
  return (t = n?.$el) != null ? t : n;
@@ -12783,11 +12715,11 @@ function gs(...e) {
12783
12715
  }, a = (s, i, u, c) => (s.addEventListener(i, u, c), () => s.removeEventListener(i, u, c)), r = C(() => {
12784
12716
  const s = $r(la(e[0])).filter((i) => i != null);
12785
12717
  return s.every((i) => typeof i != "string") ? s : void 0;
12786
- }), o = gp(
12718
+ }), o = hp(
12787
12719
  () => {
12788
12720
  var s, i;
12789
12721
  return [
12790
- (i = (s = r.value) == null ? void 0 : s.map((u) => bp(u))) != null ? i : [yo].filter((u) => u != null),
12722
+ (i = (s = r.value) == null ? void 0 : s.map((u) => vp(u))) != null ? i : [yo].filter((u) => u != null),
12791
12723
  $r(la(r.value ? e[1] : e[0])),
12792
12724
  $r(y(r.value ? e[2] : e[1])),
12793
12725
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
@@ -12797,7 +12729,7 @@ function gs(...e) {
12797
12729
  ([s, i, u, c]) => {
12798
12730
  if (n(), !s?.length || !i?.length || !u?.length)
12799
12731
  return;
12800
- const f = pp(c) ? { ...c } : c;
12732
+ const f = cp(c) ? { ...c } : c;
12801
12733
  t.push(
12802
12734
  ...s.flatMap(
12803
12735
  (m) => i.flatMap(
@@ -12810,28 +12742,28 @@ function gs(...e) {
12810
12742
  ), l = () => {
12811
12743
  o(), n();
12812
12744
  };
12813
- return dp(n), l;
12745
+ return sp(n), l;
12814
12746
  }
12815
12747
  // @__NO_SIDE_EFFECTS__
12816
- function wp() {
12748
+ function yp() {
12817
12749
  const e = Ua(!1), t = jn();
12818
12750
  return t && Ze(() => {
12819
12751
  e.value = !0;
12820
12752
  }, t), e;
12821
12753
  }
12822
12754
  // @__NO_SIDE_EFFECTS__
12823
- function kp(e) {
12824
- const t = /* @__PURE__ */ wp();
12755
+ function gp(e) {
12756
+ const t = /* @__PURE__ */ yp();
12825
12757
  return C(() => (t.value, !!e()));
12826
12758
  }
12827
- const xp = Symbol("vueuse-ssr-width");
12759
+ const bp = Symbol("vueuse-ssr-width");
12828
12760
  // @__NO_SIDE_EFFECTS__
12829
12761
  function bs() {
12830
- const e = fl() ? /* @__PURE__ */ cp(xp, null) : null;
12762
+ const e = fl() ? /* @__PURE__ */ ip(bp, null) : null;
12831
12763
  return typeof e == "number" ? e : void 0;
12832
12764
  }
12833
12765
  function fn(e, t = {}) {
12834
- const { window: n = yo, ssrWidth: a = /* @__PURE__ */ bs() } = t, r = /* @__PURE__ */ kp(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = Ua(typeof a == "number"), l = Ua(), s = Ua(!1), i = (u) => {
12766
+ const { window: n = yo, ssrWidth: a = /* @__PURE__ */ bs() } = t, r = /* @__PURE__ */ gp(() => n && "matchMedia" in n && typeof n.matchMedia == "function"), o = Ua(typeof a == "number"), l = Ua(), s = Ua(!1), i = (u) => {
12835
12767
  s.value = u.matches;
12836
12768
  };
12837
12769
  return rn(() => {
@@ -12849,13 +12781,13 @@ function fn(e, t = {}) {
12849
12781
  }), gs(l, "change", i, { passive: !0 }), C(() => s.value);
12850
12782
  }
12851
12783
  // @__NO_SIDE_EFFECTS__
12852
- function _p(e, t = {}) {
12784
+ function wp(e, t = {}) {
12853
12785
  function n(p, k) {
12854
12786
  let w = la(e[la(p)]);
12855
- return k != null && (w = hp(w, k)), typeof w == "number" && (w = `${w}px`), w;
12787
+ return k != null && (w = fp(w, k)), typeof w == "number" && (w = `${w}px`), w;
12856
12788
  }
12857
12789
  const { window: a = yo, strategy: r = "min-width", ssrWidth: o = /* @__PURE__ */ bs() } = t, l = typeof o == "number", s = l ? Ua(!1) : { value: !0 };
12858
- l && yp(() => s.value = !!a);
12790
+ l && pp(() => s.value = !!a);
12859
12791
  function i(p, k) {
12860
12792
  return !s.value && l ? p === "min" ? o >= vn(k) : o <= vn(k) : a ? a.matchMedia(`(${p}-width: ${k})`).matches : !1;
12861
12793
  }
@@ -12902,58 +12834,128 @@ function _p(e, t = {}) {
12902
12834
  }
12903
12835
  });
12904
12836
  }
12905
- const Mp = {
12906
- key: 1,
12907
- class: "flex justify-between px-4 py-6 lg:px-6"
12908
- }, _v = /* @__PURE__ */ _e({
12909
- __name: "UiDialog",
12837
+ const kp = ["disabled", "aria-label"], Fn = /* @__PURE__ */ _e({
12838
+ __name: "UiIconButton",
12910
12839
  props: {
12911
- scrollable: { type: Boolean, default: !1 },
12912
- maxWidth: { default: "600px" },
12913
- maxHeight: { default: "" },
12914
- roundedBorder: { type: Boolean, default: !1 },
12915
- hasPaddingY: { type: Boolean, default: !0 },
12916
- hasPaddingX: { type: Boolean, default: !0 },
12917
- headerClasses: { default: "" },
12918
- mainClasses: { default: "" },
12919
- hasCloseButton: { type: Boolean, default: !1 },
12920
- closeOnClickOutside: { type: Boolean, default: !0 },
12921
- positionTop: { default: "50%" },
12922
- closeOnEsc: { type: Boolean, default: !1 }
12840
+ iconName: {},
12841
+ title: {},
12842
+ disabled: { type: Boolean, default: !1 },
12843
+ backgroundColor: { default: "blue" },
12844
+ iconColor: { default: "white" },
12845
+ size: { default: "small" }
12923
12846
  },
12924
- emits: ["close"],
12847
+ emits: ["click"],
12925
12848
  setup(e, { emit: t }) {
12926
- const n = t, a = e, r = () => {
12927
- a.closeOnClickOutside && n("close");
12928
- }, o = (l) => {
12929
- a.closeOnEsc && l.key === "Escape" && n("close");
12930
- };
12931
- return gs(document, "keyup", (l) => o(l)), (l, s) => (h(), ye(ip, { onClose: r }, {
12932
- default: ge(() => [
12933
- G("div", {
12934
- class: J([{
12935
- "overflow-y-auto": l.scrollable,
12936
- "rounded-[24px]": l.roundedBorder
12937
- }, "fixed bg-white shadow-lg"]),
12938
- style: qe([`
12939
- max-height: ${l.maxHeight};
12940
- max-width: ${l.maxWidth};
12941
- top: ${l.positionTop}
12942
- `, { left: "50%", transform: "translate(-50%, -50%)", width: "calc(100% - 2rem)" }]),
12943
- "data-testid": "container"
12944
- }, [
12945
- l.$slots.header ? (h(), D("header", {
12946
- key: 0,
12947
- class: J(
12948
- y(nt)(
12949
- "flex h-12 items-center justify-between bg-gray-100 py-3 pr-2 pl-4 lg:h-14 lg:py-4 lg:pr-3 lg:pl-6",
12950
- l.headerClasses,
12951
- { "rounded-t-[24px]": l.roundedBorder }
12952
- )
12953
- )
12954
- }, [
12955
- K(l.$slots, "header"),
12956
- l.hasCloseButton ? (h(), ye(Fn, {
12849
+ const n = t, a = e, r = {
12850
+ blue: "hover:bg-blue-dark bg-blue-default disabled:bg-gray-300 disabled:hover:bg-none",
12851
+ none: "hover:bg-gray-100 active:bg-blue-default disabled:hover:bg-transparent",
12852
+ "gray-hover": "hover:bg-gray-300 disabled:hover:bg-none"
12853
+ }, o = {
12854
+ blue: "text-blue-default hover:text-blue-dark disabled:text-gray-400 active:text-white",
12855
+ gray: "text-gray-800 hover:text-gray-900 disabled:text-gray-400 active:text-white",
12856
+ white: "text-white disabled:text-gray-400"
12857
+ }, l = {
12858
+ small: {
12859
+ iconSize: "small",
12860
+ buttonSize: "h-6 w-6"
12861
+ },
12862
+ medium: {
12863
+ iconSize: "large",
12864
+ buttonSize: "h-8 w-8"
12865
+ },
12866
+ large: {
12867
+ iconSize: "large",
12868
+ buttonSize: "h-12 w-12"
12869
+ },
12870
+ xl: {
12871
+ iconSize: "large",
12872
+ buttonSize: "h-16 w-16"
12873
+ }
12874
+ }, s = C(() => r[a.backgroundColor]), i = C(() => o[a.iconColor]), u = C(() => l[a.size].buttonSize), c = C(() => l[a.size].iconSize);
12875
+ return (f, m) => (h(), D("button", {
12876
+ disabled: f.disabled,
12877
+ "aria-label": f.title,
12878
+ class: J(["group flex flex-none items-center justify-center rounded-full focus:outline-hidden focus-visible:outline-blue", [i.value, s.value, u.value]]),
12879
+ type: "button",
12880
+ onClick: m[0] || (m[0] = (p) => n("click", p))
12881
+ }, [
12882
+ Oe(lt, {
12883
+ class: "flex items-center justify-center",
12884
+ name: f.iconName,
12885
+ size: c.value
12886
+ }, null, 8, ["name", "size"])
12887
+ ], 10, kp));
12888
+ }
12889
+ }), xp = {
12890
+ class: "fixed inset-0 z-50 max-h-screen",
12891
+ role: "dialog"
12892
+ }, _p = /* @__PURE__ */ _e({
12893
+ __name: "UiOverlay",
12894
+ emits: ["close"],
12895
+ setup(e, { emit: t }) {
12896
+ const n = t;
12897
+ return (a, r) => (h(), D("div", xp, [
12898
+ G("div", {
12899
+ class: "fixed inset-0 h-screen bg-black opacity-60",
12900
+ "data-testid": "background",
12901
+ style: { "z-index": "-1" },
12902
+ onClick: r[0] || (r[0] = (o) => n("close"))
12903
+ }),
12904
+ K(a.$slots, "default")
12905
+ ]));
12906
+ }
12907
+ }), Mp = {
12908
+ key: 1,
12909
+ class: "flex justify-between px-4 py-6 lg:px-6"
12910
+ }, _v = /* @__PURE__ */ _e({
12911
+ __name: "UiDialog",
12912
+ props: {
12913
+ scrollable: { type: Boolean, default: !1 },
12914
+ maxWidth: { default: "600px" },
12915
+ maxHeight: { default: "" },
12916
+ roundedBorder: { type: Boolean, default: !1 },
12917
+ hasPaddingY: { type: Boolean, default: !0 },
12918
+ hasPaddingX: { type: Boolean, default: !0 },
12919
+ headerClasses: { default: "" },
12920
+ mainClasses: { default: "" },
12921
+ hasCloseButton: { type: Boolean, default: !1 },
12922
+ closeOnClickOutside: { type: Boolean, default: !0 },
12923
+ positionTop: { default: "50%" },
12924
+ closeOnEsc: { type: Boolean, default: !1 }
12925
+ },
12926
+ emits: ["close"],
12927
+ setup(e, { emit: t }) {
12928
+ const n = t, a = e, r = () => {
12929
+ a.closeOnClickOutside && n("close");
12930
+ }, o = (l) => {
12931
+ a.closeOnEsc && l.key === "Escape" && n("close");
12932
+ };
12933
+ return gs(document, "keyup", (l) => o(l)), (l, s) => (h(), ye(_p, { onClose: r }, {
12934
+ default: ge(() => [
12935
+ G("div", {
12936
+ class: J([{
12937
+ "overflow-y-auto": l.scrollable,
12938
+ "rounded-[24px]": l.roundedBorder
12939
+ }, "fixed bg-white shadow-lg"]),
12940
+ style: qe([`
12941
+ max-height: ${l.maxHeight};
12942
+ max-width: ${l.maxWidth};
12943
+ top: ${l.positionTop}
12944
+ `, { left: "50%", transform: "translate(-50%, -50%)", width: "calc(100% - 2rem)" }]),
12945
+ "data-testid": "container"
12946
+ }, [
12947
+ l.$slots.header ? (h(), D("header", {
12948
+ key: 0,
12949
+ class: J(
12950
+ y(nt)(
12951
+ "flex h-12 items-center justify-between bg-gray-100 py-3 pr-2 pl-4 lg:h-14 lg:py-4 lg:pr-3 lg:pl-6",
12952
+ l.headerClasses,
12953
+ { "rounded-t-[24px]": l.roundedBorder }
12954
+ )
12955
+ )
12956
+ }, [
12957
+ K(l.$slots, "header"),
12958
+ l.hasCloseButton ? (h(), ye(Fn, {
12957
12959
  key: 0,
12958
12960
  title: "Close dialog",
12959
12961
  "icon-name": "close",
@@ -14197,6 +14199,7 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14197
14199
  checkboxSize: { default: "medium" },
14198
14200
  buttonVariant: { default: "white-rounded" },
14199
14201
  listVariant: { default: "blank" },
14202
+ listWidth: { default: "max" },
14200
14203
  checkboxColor: { default: "blue" },
14201
14204
  hasResetOption: { type: Boolean, default: !1 },
14202
14205
  disabledReset: { type: Boolean, default: !0 },
@@ -14250,11 +14253,12 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14250
14253
  a("reset");
14251
14254
  };
14252
14255
  return (w, x) => Tt((h(), D("div", kh, [
14253
- Oe(Yr, {
14256
+ Oe(Ir, {
14254
14257
  ref_key: "uiMenuActivator",
14255
14258
  ref: r,
14256
14259
  variant: w.buttonVariant,
14257
14260
  title: i.value || w.defaultTitle,
14261
+ "button-width": w.listWidth,
14258
14262
  "data-testid": "button",
14259
14263
  disabled: w.disabled,
14260
14264
  active: w.active,
@@ -14263,7 +14267,7 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14263
14267
  class: J({ "border-gray-700": w.isOpen }),
14264
14268
  size: w.filterButtonSize,
14265
14269
  onClick: c
14266
- }, null, 8, ["variant", "title", "disabled", "active", "icon-left", "class", "size"]),
14270
+ }, null, 8, ["variant", "title", "button-width", "disabled", "active", "icon-left", "class", "size"]),
14267
14271
  Oe(It, {
14268
14272
  name: w.animate ? "fade-up" : "none"
14269
14273
  }, {
@@ -14277,7 +14281,8 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14277
14281
  y(nt)(
14278
14282
  "z-10 [--transition-close-duration:100ms] [--transition-duration:200ms]",
14279
14283
  w.placedListClass
14280
- )
14284
+ ),
14285
+ n.listWidth === "full" ? "w-full" : "w-max"
14281
14286
  ]),
14282
14287
  "data-side": s.placement.value,
14283
14288
  style: qe(
@@ -14391,23 +14396,10 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14391
14396
  _: 3
14392
14397
  }, 8, ["name"])
14393
14398
  ])), [
14394
- [y(Qr), f]
14399
+ [y(qr), f]
14395
14400
  ]);
14396
14401
  }
14397
- }), Cv = /* @__PURE__ */ Mn(Ph, [["__scopeId", "data-v-6ce5c2b0"]]), Pv = /* @__PURE__ */ _e({
14398
- __name: "UiMenuList",
14399
- props: {
14400
- class: { default: void 0 }
14401
- },
14402
- setup(e) {
14403
- return (t, n) => (h(), D("ul", {
14404
- class: J(y(nt)("max-h-80 overflow-y-auto", t.$props.class)),
14405
- tabindex: "0"
14406
- }, [
14407
- K(t.$slots, "default")
14408
- ], 2));
14409
- }
14410
- }), Tv = /* @__PURE__ */ _e({
14402
+ }), Cv = /* @__PURE__ */ Mn(Ph, [["__scopeId", "data-v-fb7f8501"]]), Pv = /* @__PURE__ */ _e({
14411
14403
  __name: "UiMenuItem",
14412
14404
  props: {
14413
14405
  class: { default: void 0 },
@@ -14441,6 +14433,19 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14441
14433
  _: 3
14442
14434
  }, 16, ["selectable", "check-box-menu", "icon-size", "image-shape", "checkbox-size", "check-box-color", "class"]));
14443
14435
  }
14436
+ }), Tv = /* @__PURE__ */ _e({
14437
+ __name: "UiMenuList",
14438
+ props: {
14439
+ class: { default: void 0 }
14440
+ },
14441
+ setup(e) {
14442
+ return (t, n) => (h(), D("ul", {
14443
+ class: J(y(nt)("max-h-80 overflow-y-auto", t.$props.class)),
14444
+ tabindex: "0"
14445
+ }, [
14446
+ K(t.$slots, "default")
14447
+ ], 2));
14448
+ }
14444
14449
  }), Th = { class: "relative size-full border-none" }, Ah = { class: "absolute top-12 right-3 z-10 block border-t bg-white px-4 py-3 shadow-lg" }, Av = /* @__PURE__ */ _e({
14445
14450
  __name: "UiOverlayMenu",
14446
14451
  props: {
@@ -14457,7 +14462,7 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14457
14462
  ])
14458
14463
  ])), [
14459
14464
  [pa, r.isOpen],
14460
- [y(Qr), a]
14465
+ [y(qr), a]
14461
14466
  ]);
14462
14467
  }
14463
14468
  }), Sh = { class: "flex items-center text-sm" }, Oh = ["name", "value", "checked", "disabled"], Sv = /* @__PURE__ */ _e({
@@ -14510,693 +14515,7 @@ const bh = ["placeholder", "value"], wh = /* @__PURE__ */ _e({
14510
14515
  ]))), 128))
14511
14516
  ], 2));
14512
14517
  }
14513
- }), Ov = /* @__PURE__ */ _e({
14514
- __name: "UiSection",
14515
- props: {
14516
- size: { default: "wide" },
14517
- verticalPadding: { default: "large" },
14518
- borderTop: { type: Boolean, default: !1 },
14519
- borderBottom: { type: Boolean, default: !1 }
14520
- },
14521
- setup(e) {
14522
- const t = e, n = {
14523
- wide: "w-full md:px-28 text-gray-900 lg:flex",
14524
- small: "w-full lg:mx-auto lg:w-2/3"
14525
- }, a = {
14526
- small: "lg:py-12 pt-8 pb-12",
14527
- large: "py-24",
14528
- none: "py-0"
14529
- }, r = C(() => {
14530
- const o = t.borderTop ? "border-t" : "", l = t.borderBottom ? "border-b" : "";
14531
- return `${o} ${l}`;
14532
- });
14533
- return (o, l) => (h(), D("section", {
14534
- class: J([r.value, "w-full border-gray-200 bg-white"])
14535
- }, [
14536
- G("div", {
14537
- class: J([n[o.size], a[o.verticalPadding]]),
14538
- "data-testid": "inner"
14539
- }, [
14540
- K(o.$slots, "default")
14541
- ], 2)
14542
- ], 2));
14543
- }
14544
- }), Rv = /* @__PURE__ */ _e({
14545
- __name: "UiSectionDivider",
14546
- props: {
14547
- size: { default: "large" },
14548
- customClasses: { default: "" }
14549
- },
14550
- setup(e) {
14551
- const t = e, n = {
14552
- small: "h-px",
14553
- large: "h-4"
14554
- }, a = C(() => n[t.size]);
14555
- return (r, o) => (h(), D("div", {
14556
- class: J([[a.value, r.customClasses], "bg-gray-100"])
14557
- }, null, 2));
14558
- }
14559
- }), zv = /* @__PURE__ */ _e({
14560
- __name: "UiSkeletonBox",
14561
- props: {
14562
- maxWidth: { default: 100 },
14563
- minWidth: { default: 80 },
14564
- dynamicSize: { type: Boolean, default: !1 }
14565
- },
14566
- setup(e) {
14567
- const t = e, n = C(() => t.dynamicSize && `${Math.floor(
14568
- Math.random() * (t.maxWidth - t.minWidth) + t.minWidth
14569
- )}%`);
14570
- return (a, r) => (h(), D("span", {
14571
- class: J(["inline-block animate-pulse rounded-sm bg-gray-200", {
14572
- "h-4 w-full": a.dynamicSize
14573
- }]),
14574
- style: qe({ width: n.value })
14575
- }, null, 6));
14576
- }
14577
- }), Rh = {
14578
- key: 0,
14579
- class: "mx-auto",
14580
- width: "100",
14581
- height: "40",
14582
- viewBox: "0 0 100 40",
14583
- xmlns: "http://www.w3.org/2000/svg"
14584
- }, Bv = /* @__PURE__ */ _e({
14585
- __name: "UiSpinner",
14586
- props: {
14587
- color: { default: "blue" },
14588
- variant: { default: "spinner" }
14589
- },
14590
- setup(e) {
14591
- const t = e, n = C(() => ({
14592
- blue: "text-blue-default",
14593
- green: "text-green-primary",
14594
- white: "text-white"
14595
- })[t.color]);
14596
- return (a, r) => (h(), D("div", {
14597
- class: J(n.value)
14598
- }, [
14599
- a.variant === "bubbles" ? (h(), D("svg", Rh, [...r[0] || (r[0] = [
14600
- G("circle", {
14601
- cx: "25",
14602
- cy: "20",
14603
- r: "3.5",
14604
- fill: "currentColor"
14605
- }, [
14606
- G("animateTransform", {
14607
- attributeName: "transform",
14608
- type: "translate",
14609
- dur: "1.8s",
14610
- values: "0,0;-25,-20;0,0;25,20;0,0",
14611
- repeatCount: "indefinite",
14612
- easing: "ease-in-out",
14613
- begin: "0.16s"
14614
- }),
14615
- G("animateTransform", {
14616
- attributeName: "transform",
14617
- additive: "sum",
14618
- type: "scale",
14619
- dur: "1.8s",
14620
- values: "1; 2; 1; 0; 1",
14621
- repeatCount: "indefinite",
14622
- easing: "ease-in-out",
14623
- begin: "0.16s"
14624
- })
14625
- ], -1),
14626
- G("circle", {
14627
- cx: "50",
14628
- cy: "20",
14629
- r: "3.5",
14630
- fill: "currentColor"
14631
- }, [
14632
- G("animateTransform", {
14633
- attributeName: "transform",
14634
- type: "translate",
14635
- dur: "1.8s",
14636
- values: "0,0;-50,-20;0,0;50,20;0,0",
14637
- repeatCount: "indefinite",
14638
- easing: "ease-in-out",
14639
- begin: "0.26s"
14640
- }),
14641
- G("animateTransform", {
14642
- attributeName: "transform",
14643
- additive: "sum",
14644
- type: "scale",
14645
- dur: "1.8s",
14646
- values: "1; 2; 1; 0; 1",
14647
- repeatCount: "indefinite",
14648
- easing: "ease-in-out",
14649
- begin: "0.26s"
14650
- })
14651
- ], -1),
14652
- G("circle", {
14653
- cx: "75",
14654
- cy: "20",
14655
- r: "3.5",
14656
- fill: "currentColor"
14657
- }, [
14658
- G("animateTransform", {
14659
- attributeName: "transform",
14660
- type: "translate",
14661
- dur: "1.8s",
14662
- values: "0,0;-75,-20;0,0;75,20;0,0",
14663
- repeatCount: "indefinite",
14664
- easing: "ease-in-out",
14665
- begin: "0.42s"
14666
- }),
14667
- G("animateTransform", {
14668
- attributeName: "transform",
14669
- additive: "sum",
14670
- type: "scale",
14671
- dur: "1.8s",
14672
- values: "1; 2; 1; 0; 1",
14673
- repeatCount: "indefinite",
14674
- easing: "ease-in-out",
14675
- begin: "0.42s"
14676
- })
14677
- ], -1)
14678
- ])])) : (h(), ye(lt, {
14679
- key: 1,
14680
- name: "spinner",
14681
- class: "animate-spin",
14682
- size: "large"
14683
- }))
14684
- ], 2));
14685
- }
14686
- }), zh = { class: "text-sm leading-5 font-normal" }, Nv = /* @__PURE__ */ _e({
14687
- __name: "UiSnackbar",
14688
- props: {
14689
- isShown: { type: Boolean, default: !1 },
14690
- position: { default: "left" },
14691
- iconName: { default: null },
14692
- iconSize: { default: "large" },
14693
- type: { default: "info" }
14694
- },
14695
- emits: ["input", "action-click"],
14696
- setup(e, { emit: t }) {
14697
- const n = t, a = e;
14698
- return ut(
14699
- () => a.isShown,
14700
- (r) => {
14701
- r && n("input", r);
14702
- }
14703
- ), (r, o) => (h(), ye(It, {
14704
- "enter-active-class": "duration-200 ease-out",
14705
- "enter-from-class": "transform opacity-0",
14706
- "enter-to-class": "opacity-100",
14707
- "leave-active-class": "duration-200 ease-in",
14708
- "leave-from-class": "opacity-100",
14709
- "leave-to-class": "transform opacity-0"
14710
- }, {
14711
- default: ge(() => [
14712
- r.isShown ? (h(), D("div", {
14713
- key: 0,
14714
- role: "status",
14715
- class: J(["fixed bottom-5 sm:bottom-12", {
14716
- "left-5 sm:left-12": r.position === "left",
14717
- "right-5 sm:right-12": r.position === "right"
14718
- }])
14719
- }, [
14720
- G("div", {
14721
- class: J(["flex items-center rounded-full px-4 py-3 shadow-md ease-in", {
14722
- "bg-red-500 text-white": r.type === "error",
14723
- "bg-gray-900 text-white": r.type === "info",
14724
- "bg-green-primary text-white": r.type === "success"
14725
- }])
14726
- }, [
14727
- r.iconName || r.type === "error" ? (h(), ye(lt, {
14728
- key: 0,
14729
- name: r.iconName || "alert-fill",
14730
- size: r.iconSize,
14731
- class: "mr-2 text-white"
14732
- }, null, 8, ["name", "size"])) : I("", !0),
14733
- G("p", zh, [
14734
- K(r.$slots, "default")
14735
- ]),
14736
- r.$slots.action ? (h(), D("button", {
14737
- key: 1,
14738
- ref: "actionBtn",
14739
- type: "button",
14740
- class: "ml-3 cursor-pointer text-sm leading-5 font-bold hover:underline focus:outline-hidden focus-visible:underline",
14741
- onClick: o[0] || (o[0] = (l) => n("action-click"))
14742
- }, [
14743
- K(r.$slots, "action")
14744
- ], 512)) : I("", !0)
14745
- ], 2)
14746
- ], 2)) : I("", !0)
14747
- ]),
14748
- _: 3
14749
- }));
14750
- }
14751
- }), Bh = ["for"], Nh = { class: "relative" }, Eh = ["id", "aria-checked", "disabled", "aria-label"], Ev = /* @__PURE__ */ _e({
14752
- __name: "UiToggleButton",
14753
- props: {
14754
- modelValue: { type: Boolean, default: !1 },
14755
- disabled: { type: Boolean, default: !1 },
14756
- labelText: { default: "" },
14757
- labelSpace: { default: "default" },
14758
- labelTextSize: { default: "xs" },
14759
- labelPosition: { default: "left" },
14760
- labelVisible: { type: Boolean, default: !0 },
14761
- color: { default: "blue" },
14762
- size: { default: "small" }
14763
- },
14764
- emits: ["update:modelValue"],
14765
- setup(e, { emit: t }) {
14766
- const n = H(`toggle-id-${Gr()}`), a = t, r = e, o = C(() => r.labelPosition === "left" ? r.labelSpace === "default" ? "mr-3" : "mr-12" : r.labelSpace === "default" ? "ml-3" : "ml-12"), l = C(() => {
14767
- switch (r.labelTextSize) {
14768
- case "xs":
14769
- return "text-xs";
14770
- case "sm":
14771
- return "text-sm";
14772
- case "md":
14773
- return "text-md";
14774
- case "lg":
14775
- return "text-lg";
14776
- default:
14777
- return "text-xs";
14778
- }
14779
- }), s = C(() => r.labelPosition === "left"), i = C(() => r.color === "blue" ? "bg-blue-default" : "bg-green-primary"), u = C(() => r.size === "small" ? "h-3 w-6" : "h-4 w-10"), c = C(() => r.size === "small" ? "h-4 w-4 top-[-2px]" : "h-6 w-6 top-[-4px]");
14780
- return (f, m) => (h(), D("div", null, [
14781
- G("label", {
14782
- for: n.value,
14783
- class: "flex cursor-pointer items-center"
14784
- }, [
14785
- f.$slots.default ? (h(), D("div", {
14786
- key: 0,
14787
- class: J(["whitespace-nowrap", {
14788
- [o.value]: !0,
14789
- "order-2": !s.value,
14790
- "sr-only": !f.labelVisible
14791
- }])
14792
- }, [
14793
- K(f.$slots, "default")
14794
- ], 2)) : I("", !0),
14795
- s.value && !f.$slots.default ? (h(), D("div", {
14796
- key: 1,
14797
- class: J(["leading-4 font-normal whitespace-nowrap text-gray-800", [o.value, l.value]])
14798
- }, Pe(f.labelText), 3)) : I("", !0),
14799
- G("div", Nh, [
14800
- G("input", {
14801
- id: n.value,
14802
- type: "checkbox",
14803
- "data-testid": "toggleButton",
14804
- role: "checkbox",
14805
- "aria-checked": f.modelValue,
14806
- tabindex: "0",
14807
- class: "sr-only",
14808
- disabled: f.disabled,
14809
- "aria-label": f.labelText,
14810
- onClick: m[0] || (m[0] = (p) => a("update:modelValue", !f.modelValue))
14811
- }, null, 8, Eh),
14812
- G("div", {
14813
- class: J(["line rounded-full shadow-inner transition-opacity duration-200 ease-in-out", {
14814
- "opacity-50": f.modelValue,
14815
- [i.value]: f.modelValue,
14816
- "bg-gray-300": !f.modelValue,
14817
- [u.value]: !0
14818
- }])
14819
- }, null, 2),
14820
- G("div", {
14821
- class: J([{
14822
- "translate-x-full": f.modelValue,
14823
- [i.value]: f.modelValue,
14824
- "bg-gray-500": !f.modelValue,
14825
- [c.value]: !0
14826
- }, "dot absolute -left-1 rounded-full shadow-sm transition-transform duration-200 ease-in-out"])
14827
- }, null, 2)
14828
- ]),
14829
- !s.value && !f.$slots.default ? (h(), D("div", {
14830
- key: 2,
14831
- class: J(["leading-4 font-normal whitespace-nowrap text-gray-800", [o.value, l.value]])
14832
- }, Pe(f.labelText), 3)) : I("", !0)
14833
- ], 8, Bh)
14834
- ]));
14835
- }
14836
- }), Yh = ["data-placement"], Ih = { class: "pb-1 text-sm font-semibold" }, Lh = { class: "text-sm" }, Fh = ["data-placement"], Yv = /* @__PURE__ */ _e({
14837
- __name: "UiTooltip",
14838
- props: {
14839
- position: { default: "bottom" },
14840
- structuredLayout: { type: Boolean, default: !1 },
14841
- structuredInfo: { default: () => [] },
14842
- fixed: { type: Boolean, default: !0 },
14843
- multilines: { type: Boolean, default: !1 },
14844
- tooltipClasses: { default: "" },
14845
- floatingUiOptions: { default: null },
14846
- transitionClasses: { default: () => ({
14847
- top: "scale-95 opacity-0 -translate-y-2",
14848
- "top-start": "scale-95 opacity-0 -translate-y-2",
14849
- "top-end": "scale-95 opacity-0 -translate-y-2",
14850
- right: "scale-95 opacity-0 translate-x-2",
14851
- "bottom-end": "scale-95 opacity-0 translate-y-2",
14852
- bottom: "scale-95 opacity-0 translate-y-2",
14853
- "bottom-start": "scale-95 opacity-0 translate-y-2",
14854
- left: "scale-95 opacity-0 -translate-x-2"
14855
- }) },
14856
- enterActiveClasses: { default: "motion-safe:transition duration-300 delay-500" },
14857
- leaveActiveClasses: { default: ":motion-safe:transition" },
14858
- animate: { type: Boolean, default: !1 }
14859
- },
14860
- setup(e) {
14861
- const t = e, n = C(() => t.animate ? t.transitionClasses[t.position] : ""), a = C(() => t.animate ? t.enterActiveClasses : ""), r = C(() => t.animate ? t.leaveActiveClasses : ""), o = H(!1), l = H(), s = H(), { floatingStyles: i, placement: u } = Rs(
14862
- l,
14863
- s,
14864
- {
14865
- strategy: t.fixed ? "fixed" : "absolute",
14866
- placement: t.position,
14867
- whileElementsMounted: Ss,
14868
- ...t.floatingUiOptions ? t.floatingUiOptions : {}
14869
- }
14870
- );
14871
- return (c, f) => (h(), D("div", null, [
14872
- G("div", {
14873
- ref_key: "activatorElm",
14874
- ref: l,
14875
- "data-testid": "activator",
14876
- tabindex: "1",
14877
- onMouseenter: f[0] || (f[0] = (m) => o.value = !0),
14878
- onFocus: f[1] || (f[1] = (m) => o.value = !0),
14879
- onMouseleave: f[2] || (f[2] = (m) => o.value = !1),
14880
- onBlur: f[3] || (f[3] = (m) => o.value = !1)
14881
- }, [
14882
- K(c.$slots, "activator")
14883
- ], 544),
14884
- (h(), ye(cl, {
14885
- disabled: !c.fixed,
14886
- to: "body"
14887
- }, [
14888
- c.structuredLayout ? (h(), D("div", {
14889
- key: 0,
14890
- ref_key: "tooltipElm",
14891
- ref: s,
14892
- style: qe(y(i)),
14893
- "data-testid": "structuredTooltip",
14894
- "data-placement": y(u)
14895
- }, [
14896
- Oe(It, {
14897
- "enter-active-class": a.value,
14898
- "leave-active-class": r.value,
14899
- "leave-to-class": n.value,
14900
- "enter-from-class": n.value
14901
- }, {
14902
- default: ge(() => [
14903
- Tt(G("ul", {
14904
- "data-testid": "tooltipElement",
14905
- class: J(["my-1 w-72 rounded-2xl border border-gray-300 bg-white text-xs leading-5 shadow-lg", [c.tooltipClasses]])
14906
- }, [
14907
- K(c.$slots, "default", {}, () => [
14908
- (h(!0), D(xe, null, Ee(c.structuredInfo, ({ title: m, description: p }, k) => (h(), D("li", {
14909
- key: `info-${k}`,
14910
- class: J([
14911
- "mx-4 py-3 text-left",
14912
- k < c.structuredInfo.length - 1 ? "border-b border-b-gray-100" : ""
14913
- ])
14914
- }, [
14915
- G("h4", Ih, Pe(m), 1),
14916
- G("p", Lh, Pe(p), 1)
14917
- ], 2))), 128))
14918
- ])
14919
- ], 2), [
14920
- [pa, o.value]
14921
- ])
14922
- ]),
14923
- _: 3
14924
- }, 8, ["enter-active-class", "leave-active-class", "leave-to-class", "enter-from-class"])
14925
- ], 12, Yh)) : (h(), D("div", {
14926
- key: 1,
14927
- ref_key: "tooltipElm",
14928
- ref: s,
14929
- "data-testid": "tooltip",
14930
- style: qe(y(i)),
14931
- "data-placement": y(u)
14932
- }, [
14933
- Oe(It, {
14934
- "enter-active-class": a.value,
14935
- "leave-active-class": r.value,
14936
- "leave-to-class": n.value,
14937
- "enter-from-class": n.value
14938
- }, {
14939
- default: ge(() => [
14940
- Tt(G("div", {
14941
- "data-testid": "tooltipElement",
14942
- class: J(["flex items-center bg-gray-900 px-2 py-half text-xs leading-5 text-white", [
14943
- c.tooltipClasses,
14944
- c.multilines ? "h-auto max-w-[300px] flex-wrap rounded-2xl" : "h-6 w-max rounded-full"
14945
- ]])
14946
- }, [
14947
- K(c.$slots, "default")
14948
- ], 2), [
14949
- [pa, o.value]
14950
- ])
14951
- ]),
14952
- _: 3
14953
- }, 8, ["enter-active-class", "leave-active-class", "leave-to-class", "enter-from-class"])
14954
- ], 12, Fh))
14955
- ], 8, ["disabled"]))
14956
- ]));
14957
- }
14958
- }), Vh = {
14959
- key: 0,
14960
- class: "col-span-1 flex items-center pr-5 text-sm lg:py-2"
14961
- }, Wh = { class: "font-medium" }, Uh = { class: "flex items-center" }, Hh = ["value", "placeholder", "onInput", "onKeyup", "onKeydown"], Iv = /* @__PURE__ */ _e({
14962
- __name: "UiSearchInput",
14963
- props: {
14964
- hasAddEntryOption: { type: Boolean, default: !1 },
14965
- label: { default: "" },
14966
- modelValue: {},
14967
- placeholder: { default: "Default placeholder" }
14968
- },
14969
- emits: ["update:modelValue", "handleKeypress", "blur"],
14970
- setup(e, { emit: t }) {
14971
- const n = e, a = H([""]), r = rn(() => {
14972
- a.value = n.modelValue;
14973
- }), o = H(null), l = async () => {
14974
- a.value.push(""), o.value && (await Mt(), o.value[o.value?.length - 1].focus());
14975
- }, s = C(() => a.value[a.value.length - 1].length > 0 && n.hasAddEntryOption), i = (x, g) => {
14976
- n.hasAddEntryOption && g.length === 0 && x !== 0 && a.value.splice(x, 1);
14977
- }, u = t;
14978
- function c(x, g) {
14979
- r(), !(g.length === 0 && x > 0) && (a.value[x] = g, u("update:modelValue", a.value));
14980
- }
14981
- function f(x, g, $) {
14982
- const b = [...a.value];
14983
- b[x] = g, u("handleKeypress", { event: $, value: b });
14984
- }
14985
- function m() {
14986
- u("blur", a.value);
14987
- }
14988
- const p = (x) => x === a.value.length - 1, k = C(() => n.label.length > 0), w = C(() => {
14989
- const x = "border-b border-b-gray-200 self-start shrink-0";
14990
- return k.value ? ["lg:col-start-2 lg:text-base", x] : [x];
14991
- });
14992
- return (x, g) => (h(), D("div", {
14993
- class: J(["mb-4 grid text-gray-900 lg:mb-0 lg:grid-rows-1 lg:gap-y-5", {
14994
- "lg:grid-cols-[224px_1fr]": k.value,
14995
- "lg:grid-cols-1": !k.value
14996
- }])
14997
- }, [
14998
- k.value ? (h(), D("div", Vh, [
14999
- G("label", Wh, Pe(x.label), 1),
15000
- K(x.$slots, "tooltip")
15001
- ])) : I("", !0),
15002
- (h(!0), D(xe, null, Ee(a.value, ($, b) => (h(), D("div", {
15003
- key: b,
15004
- class: J(w.value)
15005
- }, [
15006
- G("div", Uh, [
15007
- G("input", {
15008
- ref_for: !0,
15009
- ref_key: "inputs",
15010
- ref: o,
15011
- value: a.value[b],
15012
- type: "text",
15013
- class: "w-full py-1 pb-2 text-sm focus:outline-hidden",
15014
- placeholder: x.placeholder,
15015
- onInput: (O) => c(b, O.target.value),
15016
- onBlur: m,
15017
- onKeyup: Ca((O) => i(b, O.target.value), ["delete"]),
15018
- onKeydown: (O) => f(
15019
- b,
15020
- O.target.value,
15021
- O
15022
- )
15023
- }, null, 40, Hh),
15024
- x.hasAddEntryOption && p(b) ? (h(), ye(Fn, {
15025
- key: 0,
15026
- "icon-name": "plus-circle",
15027
- "icon-color": "gray",
15028
- "background-color": "none",
15029
- size: "medium",
15030
- title: "Add Row",
15031
- "data-testid": "add-entry",
15032
- disabled: !s.value,
15033
- onClick: l
15034
- }, null, 8, ["disabled"])) : I("", !0)
15035
- ])
15036
- ], 2))), 128))
15037
- ], 2));
15038
- }
15039
- }), jh = { class: "relative flex h-full" }, qh = { class: "flex h-full grow-0 flex-row items-center" }, Qh = {
15040
- key: 0,
15041
- class: "flex h-full grow-0 flex-row items-center overflow-hidden"
15042
- }, Gh = ["value", "placeholder"], Kh = { class: "flex items-center justify-center" }, Lv = /* @__PURE__ */ _e({
15043
- __name: "UiSearchBar",
15044
- props: {
15045
- modelValue: { default: "" },
15046
- placeholder: { default: "" },
15047
- backgroundColor: { default: "gray" },
15048
- isFilterChipEditable: { type: Boolean, default: !0 },
15049
- hasChips: { type: Boolean, default: !0 },
15050
- executeSearchButtonTitle: { default: "Execute Search" },
15051
- resetSearchButtonTittle: { default: "Reset Search" },
15052
- hasShadow: { type: Boolean, default: !1 },
15053
- slotClass: { default: void 0 },
15054
- resetButtonWrapperClass: { default: void 0 },
15055
- resetButtonClass: { default: void 0 },
15056
- showResetButtonOnMobile: { type: Boolean, default: !1 }
15057
- },
15058
- emits: ["update:modelValue", "blur", "focus", "reset", "search", "submit"],
15059
- setup(e, { expose: t, emit: n }) {
15060
- const a = n, r = e, o = H(!1), l = H(!1), s = H(), i = C(() => r.modelValue === "" && r.isFilterChipEditable), u = {
15061
- gray: "bg-gray-100",
15062
- white: "bg-white"
15063
- }, c = {
15064
- gray: "from-gray-100",
15065
- white: "from-white"
15066
- }, f = C(() => c[r.backgroundColor]), m = C(() => u[r.backgroundColor]), p = C(() => r.backgroundColor === "gray" ? "gray-hover" : "none"), k = ({ target: P }) => {
15067
- a("update:modelValue", P.value);
15068
- }, w = () => {
15069
- s.value?.focus();
15070
- }, x = (P) => {
15071
- o.value = !0, a("focus", P);
15072
- }, g = (P) => {
15073
- o.value = !1, a("blur", P);
15074
- }, $ = () => {
15075
- o.value = !1, s.value?.blur(), a("submit", r.modelValue);
15076
- }, b = () => {
15077
- o.value = !1, s.value?.blur(), a("reset", r.modelValue);
15078
- }, O = () => {
15079
- o.value = !1, s.value?.blur(), a("search", r.modelValue);
15080
- };
15081
- return t({
15082
- searchInputRef: s
15083
- }), (P, _) => (h(), D("div", {
15084
- class: J(["h-12 w-full overflow-hidden rounded-full border-2 border-transparent focus-within:border-blue-default hover:border-gray-400 hover:focus-within:border-blue-default", [
15085
- m.value,
15086
- {
15087
- shadow: P.hasShadow
15088
- }
15089
- ]])
15090
- }, [
15091
- G("div", jh, [
15092
- G("div", qh, [
15093
- K(P.$slots, "nonEditableChips")
15094
- ]),
15095
- o.value ? I("", !0) : (h(), D("div", Qh, [
15096
- K(P.$slots, "editableChips")
15097
- ])),
15098
- G("div", {
15099
- class: "h-full grow",
15100
- onClick: _[3] || (_[3] = (T) => w())
15101
- }, [
15102
- G("input", {
15103
- ref_key: "searchInputRef",
15104
- ref: s,
15105
- value: P.modelValue,
15106
- class: J(["size-full bg-transparent outline-hidden placeholder:text-gray-700 lg:text-sm", [
15107
- P.isFilterChipEditable ? "px-4" : "px-2",
15108
- !o.value && P.hasChips ? "text-transparent" : "",
15109
- !o.value && (P.modelValue || !P.isFilterChipEditable) ? "absolute" : ""
15110
- ]]),
15111
- spellcheck: "false",
15112
- type: "text",
15113
- placeholder: P.isFilterChipEditable ? P.placeholder : "",
15114
- onInput: _[0] || (_[0] = (T) => k(T)),
15115
- onKeyup: Ca($, ["enter"]),
15116
- onFocus: _[1] || (_[1] = (T) => x(T)),
15117
- onBlur: _[2] || (_[2] = (T) => g(T))
15118
- }, null, 42, Gh)
15119
- ]),
15120
- G("div", {
15121
- class: J(["pointer-events-none relative flex h-full flex-none overflow-hidden", o.value ? "" : "-ml-12"])
15122
- }, [
15123
- o.value ? I("", !0) : (h(), D("div", {
15124
- key: 0,
15125
- class: J(["h-full w-12 flex-none bg-linear-to-l", f.value])
15126
- }, null, 2)),
15127
- G("div", {
15128
- class: J(
15129
- y(nt)(
15130
- "pointer-events-auto flex items-center px-2",
15131
- P.slotClass,
15132
- m.value
15133
- )
15134
- )
15135
- }, [
15136
- G("div", null, [
15137
- K(P.$slots, "searchCriteriaButton")
15138
- ]),
15139
- G("div", null, [
15140
- K(P.$slots, "extendedSearchButton")
15141
- ]),
15142
- G("div", {
15143
- class: J(y(nt)("mx-2", P.resetButtonWrapperClass))
15144
- }, [
15145
- G("div", {
15146
- class: J(
15147
- y(nt)(
15148
- "flex-none items-center justify-center",
15149
- P.resetButtonClass,
15150
- "h-full",
15151
- P.showResetButtonOnMobile ? "flex" : "hidden lg:flex",
15152
- m.value
15153
- )
15154
- )
15155
- }, [
15156
- Oe(Fn, {
15157
- disabled: i.value && !o.value,
15158
- "icon-name": "close",
15159
- title: P.resetSearchButtonTittle,
15160
- "background-color": p.value,
15161
- "icon-color": o.value ? "blue" : "gray",
15162
- size: "medium",
15163
- onClick: b
15164
- }, null, 8, ["disabled", "title", "background-color", "icon-color"])
15165
- ], 2)
15166
- ], 2),
15167
- G("div", {
15168
- class: J(["flex h-full w-12 flex-none items-center justify-center", m.value])
15169
- }, [
15170
- G("div", Kh, [
15171
- _[6] || (_[6] = G("div", { class: "h-8 w-2 border-l border-gray-300" }, null, -1)),
15172
- Oe(Fn, {
15173
- "icon-name": "search",
15174
- title: P.executeSearchButtonTitle,
15175
- "background-color": o.value || l.value ? "blue" : "none",
15176
- "icon-color": o.value || l.value ? "white" : "gray",
15177
- size: "medium",
15178
- onClick: O,
15179
- onMouseover: _[4] || (_[4] = (T) => l.value = !0),
15180
- onMouseleave: _[5] || (_[5] = (T) => l.value = !1)
15181
- }, null, 8, ["title", "background-color", "icon-color"])
15182
- ])
15183
- ], 2)
15184
- ], 2)
15185
- ], 2)
15186
- ])
15187
- ], 2));
15188
- }
15189
- }), $a = [
15190
- "e53935",
15191
- "f50057",
15192
- "8e24aa",
15193
- "2196f3",
15194
- "00acc1",
15195
- "00897b",
15196
- "00e676",
15197
- "ffff00",
15198
- "ffb300"
15199
- ], Zt = {
14518
+ }), Zt = {
15200
14519
  aliceblue: [240, 248, 255],
15201
14520
  antiquewhite: [250, 235, 215],
15202
14521
  aqua: [0, 255, 255],
@@ -15554,7 +14873,7 @@ ce.rgb.cmyk = function(e) {
15554
14873
  const t = e[0] / 255, n = e[1] / 255, a = e[2] / 255, r = Math.min(1 - t, 1 - n, 1 - a), o = (1 - t - r) / (1 - r) || 0, l = (1 - n - r) / (1 - r) || 0, s = (1 - a - r) / (1 - r) || 0;
15555
14874
  return [o * 100, l * 100, s * 100, r * 100];
15556
14875
  };
15557
- function Xh(e, t) {
14876
+ function Rh(e, t) {
15558
14877
  return (e[0] - t[0]) ** 2 + (e[1] - t[1]) ** 2 + (e[2] - t[2]) ** 2;
15559
14878
  }
15560
14879
  ce.rgb.keyword = function(e) {
@@ -15563,7 +14882,7 @@ ce.rgb.keyword = function(e) {
15563
14882
  return t;
15564
14883
  let n = Number.POSITIVE_INFINITY, a;
15565
14884
  for (const r of Object.keys(Zt)) {
15566
- const o = Zt[r], l = Xh(e, o);
14885
+ const o = Zt[r], l = Rh(e, o);
15567
14886
  l < n && (n = l, a = r);
15568
14887
  }
15569
14888
  return a;
@@ -15863,7 +15182,7 @@ ce.gray.hex = function(e) {
15863
15182
  ce.rgb.gray = function(e) {
15864
15183
  return [(e[0] + e[1] + e[2]) / 3 / 255 * 100];
15865
15184
  };
15866
- function Jh() {
15185
+ function zh() {
15867
15186
  const e = {}, t = Object.keys(ce);
15868
15187
  for (let { length: n } = t, a = 0; a < n; a++)
15869
15188
  e[t[a]] = {
@@ -15874,8 +15193,8 @@ function Jh() {
15874
15193
  };
15875
15194
  return e;
15876
15195
  }
15877
- function Zh(e) {
15878
- const t = Jh(), n = [e];
15196
+ function Bh(e) {
15197
+ const t = zh(), n = [e];
15879
15198
  for (t[e].distance = 0; n.length > 0; ) {
15880
15199
  const a = n.pop(), r = Object.keys(ce[a]);
15881
15200
  for (let { length: o } = r, l = 0; l < o; l++) {
@@ -15885,35 +15204,35 @@ function Zh(e) {
15885
15204
  }
15886
15205
  return t;
15887
15206
  }
15888
- function ev(e, t) {
15207
+ function Nh(e, t) {
15889
15208
  return function(n) {
15890
15209
  return t(e(n));
15891
15210
  };
15892
15211
  }
15893
- function tv(e, t) {
15212
+ function Eh(e, t) {
15894
15213
  const n = [t[e].parent, e];
15895
15214
  let a = ce[t[e].parent][e], r = t[e].parent;
15896
15215
  for (; t[r].parent; )
15897
- n.unshift(t[r].parent), a = ev(ce[t[r].parent][r], a), r = t[r].parent;
15216
+ n.unshift(t[r].parent), a = Nh(ce[t[r].parent][r], a), r = t[r].parent;
15898
15217
  return a.conversion = n, a;
15899
15218
  }
15900
- function av(e) {
15901
- const t = Zh(e), n = {}, a = Object.keys(t);
15219
+ function Yh(e) {
15220
+ const t = Bh(e), n = {}, a = Object.keys(t);
15902
15221
  for (let { length: r } = a, o = 0; o < r; o++) {
15903
15222
  const l = a[o];
15904
- t[l].parent !== null && (n[l] = tv(l, t));
15223
+ t[l].parent !== null && (n[l] = Eh(l, t));
15905
15224
  }
15906
15225
  return n;
15907
15226
  }
15908
- const vt = {}, nv = Object.keys(ce);
15909
- function rv(e) {
15227
+ const vt = {}, Ih = Object.keys(ce);
15228
+ function Lh(e) {
15910
15229
  const t = function(...n) {
15911
15230
  const a = n[0];
15912
15231
  return a == null ? a : (a.length > 1 && (n = a), e(n));
15913
15232
  };
15914
15233
  return "conversion" in e && (t.conversion = e.conversion), t;
15915
15234
  }
15916
- function ov(e) {
15235
+ function Fh(e) {
15917
15236
  const t = function(...n) {
15918
15237
  const a = n[0];
15919
15238
  if (a == null)
@@ -15927,347 +15246,826 @@ function ov(e) {
15927
15246
  };
15928
15247
  return "conversion" in e && (t.conversion = e.conversion), t;
15929
15248
  }
15930
- for (const e of nv) {
15931
- vt[e] = {}, Object.defineProperty(vt[e], "channels", { value: ce[e].channels }), Object.defineProperty(vt[e], "labels", { value: ce[e].labels });
15932
- const t = av(e), n = Object.keys(t);
15933
- for (const a of n) {
15934
- const r = t[a];
15935
- vt[e][a] = ov(r), vt[e][a].raw = rv(r);
15249
+ for (const e of Ih) {
15250
+ vt[e] = {}, Object.defineProperty(vt[e], "channels", { value: ce[e].channels }), Object.defineProperty(vt[e], "labels", { value: ce[e].labels });
15251
+ const t = Yh(e), n = Object.keys(t);
15252
+ for (const a of n) {
15253
+ const r = t[a];
15254
+ vt[e][a] = Fh(r), vt[e][a].raw = Lh(r);
15255
+ }
15256
+ }
15257
+ const Ns = [
15258
+ // To be honest, I don't really feel like keyword belongs in color convert, but eh.
15259
+ "keyword",
15260
+ // Gray conflicts with some method names, and has its own method defined.
15261
+ "gray",
15262
+ // Shouldn't really be in color-convert either...
15263
+ "hex"
15264
+ ], Vr = {};
15265
+ for (const e of Object.keys(vt))
15266
+ Vr[[...vt[e].labels].sort().join("")] = e;
15267
+ const Wr = {};
15268
+ function st(e, t) {
15269
+ if (!(this instanceof st))
15270
+ return new st(e, t);
15271
+ if (t && t in Ns && (t = null), t && !(t in vt))
15272
+ throw new Error("Unknown model: " + t);
15273
+ let n, a;
15274
+ if (e == null)
15275
+ this.model = "rgb", this.color = [0, 0, 0], this.valpha = 1;
15276
+ else if (e instanceof st)
15277
+ this.model = e.model, this.color = [...e.color], this.valpha = e.valpha;
15278
+ else if (typeof e == "string") {
15279
+ const r = mt.get(e);
15280
+ if (r === null)
15281
+ throw new Error("Unable to parse color from string: " + e);
15282
+ this.model = r.model, a = vt[this.model].channels, this.color = r.value.slice(0, a), this.valpha = typeof r.value[a] == "number" ? r.value[a] : 1;
15283
+ } else if (e.length > 0) {
15284
+ this.model = t || "rgb", a = vt[this.model].channels;
15285
+ const r = Array.prototype.slice.call(e, 0, a);
15286
+ this.color = Ur(r, a), this.valpha = typeof e[a] == "number" ? e[a] : 1;
15287
+ } else if (typeof e == "number")
15288
+ this.model = "rgb", this.color = [
15289
+ e >> 16 & 255,
15290
+ e >> 8 & 255,
15291
+ e & 255
15292
+ ], this.valpha = 1;
15293
+ else {
15294
+ this.valpha = 1;
15295
+ const r = Object.keys(e);
15296
+ "alpha" in e && (r.splice(r.indexOf("alpha"), 1), this.valpha = typeof e.alpha == "number" ? e.alpha : 0);
15297
+ const o = r.sort().join("");
15298
+ if (!(o in Vr))
15299
+ throw new Error("Unable to parse color from object: " + JSON.stringify(e));
15300
+ this.model = Vr[o];
15301
+ const { labels: l } = vt[this.model], s = [];
15302
+ for (n = 0; n < l.length; n++)
15303
+ s.push(e[l[n]]);
15304
+ this.color = Ur(s);
15305
+ }
15306
+ if (Wr[this.model])
15307
+ for (a = vt[this.model].channels, n = 0; n < a; n++) {
15308
+ const r = Wr[this.model][n];
15309
+ r && (this.color[n] = r(this.color[n]));
15310
+ }
15311
+ this.valpha = Math.max(0, Math.min(1, this.valpha)), Object.freeze && Object.freeze(this);
15312
+ }
15313
+ st.prototype = {
15314
+ toString() {
15315
+ return this.string();
15316
+ },
15317
+ toJSON() {
15318
+ return this[this.model]();
15319
+ },
15320
+ string(e) {
15321
+ let t = this.model in mt.to ? this : this.rgb();
15322
+ t = t.round(typeof e == "number" ? e : 1);
15323
+ const n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
15324
+ return mt.to[t.model](...n);
15325
+ },
15326
+ percentString(e) {
15327
+ const t = this.rgb().round(typeof e == "number" ? e : 1), n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
15328
+ return mt.to.rgb.percent(...n);
15329
+ },
15330
+ array() {
15331
+ return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
15332
+ },
15333
+ object() {
15334
+ const e = {}, { channels: t } = vt[this.model], { labels: n } = vt[this.model];
15335
+ for (let a = 0; a < t; a++)
15336
+ e[n[a]] = this.color[a];
15337
+ return this.valpha !== 1 && (e.alpha = this.valpha), e;
15338
+ },
15339
+ unitArray() {
15340
+ const e = this.rgb().color;
15341
+ return e[0] /= 255, e[1] /= 255, e[2] /= 255, this.valpha !== 1 && e.push(this.valpha), e;
15342
+ },
15343
+ unitObject() {
15344
+ const e = this.rgb().object();
15345
+ return e.r /= 255, e.g /= 255, e.b /= 255, this.valpha !== 1 && (e.alpha = this.valpha), e;
15346
+ },
15347
+ round(e) {
15348
+ return e = Math.max(e || 0, 0), new st([...this.color.map(Wh(e)), this.valpha], this.model);
15349
+ },
15350
+ alpha(e) {
15351
+ return e !== void 0 ? new st([...this.color, Math.max(0, Math.min(1, e))], this.model) : this.valpha;
15352
+ },
15353
+ // Rgb
15354
+ red: Ke("rgb", 0, ft(255)),
15355
+ green: Ke("rgb", 1, ft(255)),
15356
+ blue: Ke("rgb", 2, ft(255)),
15357
+ hue: Ke(["hsl", "hsv", "hsl", "hwb", "hcg"], 0, (e) => (e % 360 + 360) % 360),
15358
+ saturationl: Ke("hsl", 1, ft(100)),
15359
+ lightness: Ke("hsl", 2, ft(100)),
15360
+ saturationv: Ke("hsv", 1, ft(100)),
15361
+ value: Ke("hsv", 2, ft(100)),
15362
+ chroma: Ke("hcg", 1, ft(100)),
15363
+ gray: Ke("hcg", 2, ft(100)),
15364
+ white: Ke("hwb", 1, ft(100)),
15365
+ wblack: Ke("hwb", 2, ft(100)),
15366
+ cyan: Ke("cmyk", 0, ft(100)),
15367
+ magenta: Ke("cmyk", 1, ft(100)),
15368
+ yellow: Ke("cmyk", 2, ft(100)),
15369
+ black: Ke("cmyk", 3, ft(100)),
15370
+ x: Ke("xyz", 0, ft(95.047)),
15371
+ y: Ke("xyz", 1, ft(100)),
15372
+ z: Ke("xyz", 2, ft(108.833)),
15373
+ l: Ke("lab", 0, ft(100)),
15374
+ a: Ke("lab", 1),
15375
+ b: Ke("lab", 2),
15376
+ keyword(e) {
15377
+ return e !== void 0 ? new st(e) : vt[this.model].keyword(this.color);
15378
+ },
15379
+ hex(e) {
15380
+ return e !== void 0 ? new st(e) : mt.to.hex(...this.rgb().round().color);
15381
+ },
15382
+ hexa(e) {
15383
+ if (e !== void 0)
15384
+ return new st(e);
15385
+ const t = this.rgb().round().color;
15386
+ let n = Math.round(this.valpha * 255).toString(16).toUpperCase();
15387
+ return n.length === 1 && (n = "0" + n), mt.to.hex(...t) + n;
15388
+ },
15389
+ rgbNumber() {
15390
+ const e = this.rgb().color;
15391
+ return (e[0] & 255) << 16 | (e[1] & 255) << 8 | e[2] & 255;
15392
+ },
15393
+ luminosity() {
15394
+ const e = this.rgb().color, t = [];
15395
+ for (const [n, a] of e.entries()) {
15396
+ const r = a / 255;
15397
+ t[n] = r <= 0.04045 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4;
15398
+ }
15399
+ return 0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2];
15400
+ },
15401
+ contrast(e) {
15402
+ const t = this.luminosity(), n = e.luminosity();
15403
+ return t > n ? (t + 0.05) / (n + 0.05) : (n + 0.05) / (t + 0.05);
15404
+ },
15405
+ level(e) {
15406
+ const t = this.contrast(e);
15407
+ return t >= 7 ? "AAA" : t >= 4.5 ? "AA" : "";
15408
+ },
15409
+ isDark() {
15410
+ const e = this.rgb().color;
15411
+ return (e[0] * 2126 + e[1] * 7152 + e[2] * 722) / 1e4 < 128;
15412
+ },
15413
+ isLight() {
15414
+ return !this.isDark();
15415
+ },
15416
+ negate() {
15417
+ const e = this.rgb();
15418
+ for (let t = 0; t < 3; t++)
15419
+ e.color[t] = 255 - e.color[t];
15420
+ return e;
15421
+ },
15422
+ lighten(e) {
15423
+ const t = this.hsl();
15424
+ return t.color[2] += t.color[2] * e, t;
15425
+ },
15426
+ darken(e) {
15427
+ const t = this.hsl();
15428
+ return t.color[2] -= t.color[2] * e, t;
15429
+ },
15430
+ saturate(e) {
15431
+ const t = this.hsl();
15432
+ return t.color[1] += t.color[1] * e, t;
15433
+ },
15434
+ desaturate(e) {
15435
+ const t = this.hsl();
15436
+ return t.color[1] -= t.color[1] * e, t;
15437
+ },
15438
+ whiten(e) {
15439
+ const t = this.hwb();
15440
+ return t.color[1] += t.color[1] * e, t;
15441
+ },
15442
+ blacken(e) {
15443
+ const t = this.hwb();
15444
+ return t.color[2] += t.color[2] * e, t;
15445
+ },
15446
+ grayscale() {
15447
+ const e = this.rgb().color, t = e[0] * 0.3 + e[1] * 0.59 + e[2] * 0.11;
15448
+ return st.rgb(t, t, t);
15449
+ },
15450
+ fade(e) {
15451
+ return this.alpha(this.valpha - this.valpha * e);
15452
+ },
15453
+ opaquer(e) {
15454
+ return this.alpha(this.valpha + this.valpha * e);
15455
+ },
15456
+ rotate(e) {
15457
+ const t = this.hsl();
15458
+ let n = t.color[0];
15459
+ return n = (n + e) % 360, n = n < 0 ? 360 + n : n, t.color[0] = n, t;
15460
+ },
15461
+ mix(e, t) {
15462
+ if (!e || !e.rgb)
15463
+ throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof e);
15464
+ const n = e.rgb(), a = this.rgb(), r = t === void 0 ? 0.5 : t, o = 2 * r - 1, l = n.alpha() - a.alpha(), s = ((o * l === -1 ? o : (o + l) / (1 + o * l)) + 1) / 2, i = 1 - s;
15465
+ return st.rgb(
15466
+ s * n.red() + i * a.red(),
15467
+ s * n.green() + i * a.green(),
15468
+ s * n.blue() + i * a.blue(),
15469
+ n.alpha() * r + a.alpha() * (1 - r)
15470
+ );
15471
+ }
15472
+ };
15473
+ for (const e of Object.keys(vt)) {
15474
+ if (Ns.includes(e))
15475
+ continue;
15476
+ const { channels: t } = vt[e];
15477
+ st.prototype[e] = function(...n) {
15478
+ return this.model === e ? new st(this) : n.length > 0 ? new st(n, e) : new st([...Uh(vt[this.model][e].raw(this.color)), this.valpha], e);
15479
+ }, st[e] = function(...n) {
15480
+ let a = n[0];
15481
+ return typeof a == "number" && (a = Ur(n, t)), new st(a, e);
15482
+ };
15483
+ }
15484
+ function Vh(e, t) {
15485
+ return Number(e.toFixed(t));
15486
+ }
15487
+ function Wh(e) {
15488
+ return function(t) {
15489
+ return Vh(t, e);
15490
+ };
15491
+ }
15492
+ function Ke(e, t, n) {
15493
+ e = Array.isArray(e) ? e : [e];
15494
+ for (const a of e)
15495
+ (Wr[a] ||= [])[t] = n;
15496
+ return e = e[0], function(a) {
15497
+ let r;
15498
+ return a !== void 0 ? (n && (a = n(a)), r = this[e](), r.color[t] = a, r) : (r = this[e]().color[t], n && (r = n(r)), r);
15499
+ };
15500
+ }
15501
+ function ft(e) {
15502
+ return function(t) {
15503
+ return Math.max(0, Math.min(e, t));
15504
+ };
15505
+ }
15506
+ function Uh(e) {
15507
+ return Array.isArray(e) ? e : [e];
15508
+ }
15509
+ function Ur(e, t) {
15510
+ for (let n = 0; n < t; n++)
15511
+ typeof e[n] != "number" && (e[n] = 0);
15512
+ return e;
15513
+ }
15514
+ const $a = [
15515
+ "e53935",
15516
+ "f50057",
15517
+ "8e24aa",
15518
+ "2196f3",
15519
+ "00acc1",
15520
+ "00897b",
15521
+ "00e676",
15522
+ "ffff00",
15523
+ "ffb300"
15524
+ ], Hh = { class: "flex" }, jh = ["id", "aria-checked", "onClick"], qh = ["aria-checked"], Ov = /* @__PURE__ */ _e({
15525
+ __name: "UiColorPicker",
15526
+ props: {
15527
+ modelValue: { default: `#${$a[0]}` }
15528
+ },
15529
+ emits: ["update:modelValue"],
15530
+ setup(e, { emit: t }) {
15531
+ const n = e, a = t, r = H($a[0]);
15532
+ ut(
15533
+ () => n.modelValue,
15534
+ () => {
15535
+ const s = n.modelValue?.substring(1);
15536
+ r.value = s || $a[0], s || a("update:modelValue", `#${r.value}`);
15537
+ },
15538
+ { immediate: !0 }
15539
+ );
15540
+ const o = C({
15541
+ get() {
15542
+ return `#${r.value}`;
15543
+ },
15544
+ set(s) {
15545
+ r.value = s.substring(1), a("update:modelValue", `#${r.value}`);
15546
+ }
15547
+ }), l = C(() => {
15548
+ const s = st(`#${r.value}`), i = s.contrast(st.rgb(77, 77, 77));
15549
+ return s.contrast(st("white")) >= i ? "text-white" : "text-gray-800";
15550
+ });
15551
+ return (s, i) => (h(), D("div", Hh, [
15552
+ (h(!0), D(xe, null, Ee(y($a), (u, c) => (h(), D("div", {
15553
+ id: `color-${u}`,
15554
+ key: `ui-cp-${c}`,
15555
+ class: "mr-3 flex size-4 rotate-45 cursor-pointer items-center justify-center",
15556
+ style: qe({ backgroundColor: `#${u}` }),
15557
+ "aria-checked": r.value === u,
15558
+ onClick: (f) => {
15559
+ r.value = u, a("update:modelValue", `#${u}`);
15560
+ }
15561
+ }, [
15562
+ r.value === u ? (h(), ye(lt, {
15563
+ key: 0,
15564
+ id: "cp-checmark",
15565
+ name: "checkmark",
15566
+ class: J(["-rotate-45", l.value]),
15567
+ size: "xs"
15568
+ }, null, 8, ["class"])) : I("", !0)
15569
+ ], 12, jh))), 128)),
15570
+ G("div", {
15571
+ class: "UiColorPicker-inputWrapper flex size-4 rotate-45 items-center justify-center",
15572
+ style: qe({
15573
+ backgroundColor: y($a).includes(r.value) ? "" : o.value
15574
+ }),
15575
+ "aria-checked": !y($a).includes(r.value)
15576
+ }, [
15577
+ Tt(G("input", {
15578
+ "onUpdate:modelValue": i[0] || (i[0] = (u) => o.value = u),
15579
+ type: "color",
15580
+ class: "UiColorPicker-input absolute z-10 size-inherit cursor-pointer bg-gray-200 opacity-0"
15581
+ }, null, 512), [
15582
+ [dl, o.value]
15583
+ ]),
15584
+ y($a).includes(r.value) ? (h(), ye(lt, {
15585
+ key: 0,
15586
+ name: "color-palette",
15587
+ size: "medium",
15588
+ class: "-rotate-45"
15589
+ })) : (h(), ye(lt, {
15590
+ key: 1,
15591
+ id: "cp-checmark",
15592
+ name: "checkmark",
15593
+ class: J(["-rotate-45", l.value]),
15594
+ size: "xs"
15595
+ }, null, 8, ["class"]))
15596
+ ], 12, qh)
15597
+ ]));
15936
15598
  }
15937
- }
15938
- const Ns = [
15939
- // To be honest, I don't really feel like keyword belongs in color convert, but eh.
15940
- "keyword",
15941
- // Gray conflicts with some method names, and has its own method defined.
15942
- "gray",
15943
- // Shouldn't really be in color-convert either...
15944
- "hex"
15945
- ], Vr = {};
15946
- for (const e of Object.keys(vt))
15947
- Vr[[...vt[e].labels].sort().join("")] = e;
15948
- const Wr = {};
15949
- function st(e, t) {
15950
- if (!(this instanceof st))
15951
- return new st(e, t);
15952
- if (t && t in Ns && (t = null), t && !(t in vt))
15953
- throw new Error("Unknown model: " + t);
15954
- let n, a;
15955
- if (e == null)
15956
- this.model = "rgb", this.color = [0, 0, 0], this.valpha = 1;
15957
- else if (e instanceof st)
15958
- this.model = e.model, this.color = [...e.color], this.valpha = e.valpha;
15959
- else if (typeof e == "string") {
15960
- const r = mt.get(e);
15961
- if (r === null)
15962
- throw new Error("Unable to parse color from string: " + e);
15963
- this.model = r.model, a = vt[this.model].channels, this.color = r.value.slice(0, a), this.valpha = typeof r.value[a] == "number" ? r.value[a] : 1;
15964
- } else if (e.length > 0) {
15965
- this.model = t || "rgb", a = vt[this.model].channels;
15966
- const r = Array.prototype.slice.call(e, 0, a);
15967
- this.color = Ur(r, a), this.valpha = typeof e[a] == "number" ? e[a] : 1;
15968
- } else if (typeof e == "number")
15969
- this.model = "rgb", this.color = [
15970
- e >> 16 & 255,
15971
- e >> 8 & 255,
15972
- e & 255
15973
- ], this.valpha = 1;
15974
- else {
15975
- this.valpha = 1;
15976
- const r = Object.keys(e);
15977
- "alpha" in e && (r.splice(r.indexOf("alpha"), 1), this.valpha = typeof e.alpha == "number" ? e.alpha : 0);
15978
- const o = r.sort().join("");
15979
- if (!(o in Vr))
15980
- throw new Error("Unable to parse color from object: " + JSON.stringify(e));
15981
- this.model = Vr[o];
15982
- const { labels: l } = vt[this.model], s = [];
15983
- for (n = 0; n < l.length; n++)
15984
- s.push(e[l[n]]);
15985
- this.color = Ur(s);
15599
+ }), Qh = { class: "relative flex h-full" }, Gh = { class: "flex h-full grow-0 flex-row items-center" }, Kh = {
15600
+ key: 0,
15601
+ class: "flex h-full grow-0 flex-row items-center overflow-hidden"
15602
+ }, Xh = ["value", "placeholder"], Jh = { class: "flex items-center justify-center" }, Rv = /* @__PURE__ */ _e({
15603
+ __name: "UiSearchBar",
15604
+ props: {
15605
+ modelValue: { default: "" },
15606
+ placeholder: { default: "" },
15607
+ backgroundColor: { default: "gray" },
15608
+ isFilterChipEditable: { type: Boolean, default: !0 },
15609
+ hasChips: { type: Boolean, default: !0 },
15610
+ executeSearchButtonTitle: { default: "Execute Search" },
15611
+ resetSearchButtonTittle: { default: "Reset Search" },
15612
+ hasShadow: { type: Boolean, default: !1 },
15613
+ slotClass: { default: void 0 },
15614
+ resetButtonWrapperClass: { default: void 0 },
15615
+ resetButtonClass: { default: void 0 },
15616
+ showResetButtonOnMobile: { type: Boolean, default: !1 }
15617
+ },
15618
+ emits: ["update:modelValue", "blur", "focus", "reset", "search", "submit"],
15619
+ setup(e, { expose: t, emit: n }) {
15620
+ const a = n, r = e, o = H(!1), l = H(!1), s = H(), i = C(() => r.modelValue === "" && r.isFilterChipEditable), u = {
15621
+ gray: "bg-gray-100",
15622
+ white: "bg-white"
15623
+ }, c = {
15624
+ gray: "from-gray-100",
15625
+ white: "from-white"
15626
+ }, f = C(() => c[r.backgroundColor]), m = C(() => u[r.backgroundColor]), p = C(() => r.backgroundColor === "gray" ? "gray-hover" : "none"), k = ({ target: P }) => {
15627
+ a("update:modelValue", P.value);
15628
+ }, w = () => {
15629
+ s.value?.focus();
15630
+ }, x = (P) => {
15631
+ o.value = !0, a("focus", P);
15632
+ }, g = (P) => {
15633
+ o.value = !1, a("blur", P);
15634
+ }, $ = () => {
15635
+ o.value = !1, s.value?.blur(), a("submit", r.modelValue);
15636
+ }, b = () => {
15637
+ o.value = !1, s.value?.blur(), a("reset", r.modelValue);
15638
+ }, O = () => {
15639
+ o.value = !1, s.value?.blur(), a("search", r.modelValue);
15640
+ };
15641
+ return t({
15642
+ searchInputRef: s
15643
+ }), (P, _) => (h(), D("div", {
15644
+ class: J(["h-12 w-full overflow-hidden rounded-full border-2 border-transparent focus-within:border-blue-default hover:border-gray-400 hover:focus-within:border-blue-default", [
15645
+ m.value,
15646
+ {
15647
+ shadow: P.hasShadow
15648
+ }
15649
+ ]])
15650
+ }, [
15651
+ G("div", Qh, [
15652
+ G("div", Gh, [
15653
+ K(P.$slots, "nonEditableChips")
15654
+ ]),
15655
+ o.value ? I("", !0) : (h(), D("div", Kh, [
15656
+ K(P.$slots, "editableChips")
15657
+ ])),
15658
+ G("div", {
15659
+ class: "h-full grow",
15660
+ onClick: _[3] || (_[3] = (T) => w())
15661
+ }, [
15662
+ G("input", {
15663
+ ref_key: "searchInputRef",
15664
+ ref: s,
15665
+ value: P.modelValue,
15666
+ class: J(["size-full bg-transparent outline-hidden placeholder:text-gray-700 lg:text-sm", [
15667
+ P.isFilterChipEditable ? "px-4" : "px-2",
15668
+ !o.value && P.hasChips ? "text-transparent" : "",
15669
+ !o.value && (P.modelValue || !P.isFilterChipEditable) ? "absolute" : ""
15670
+ ]]),
15671
+ spellcheck: "false",
15672
+ type: "text",
15673
+ placeholder: P.isFilterChipEditable ? P.placeholder : "",
15674
+ onInput: _[0] || (_[0] = (T) => k(T)),
15675
+ onKeyup: Ca($, ["enter"]),
15676
+ onFocus: _[1] || (_[1] = (T) => x(T)),
15677
+ onBlur: _[2] || (_[2] = (T) => g(T))
15678
+ }, null, 42, Xh)
15679
+ ]),
15680
+ G("div", {
15681
+ class: J(["pointer-events-none relative flex h-full flex-none overflow-hidden", o.value ? "" : "-ml-12"])
15682
+ }, [
15683
+ o.value ? I("", !0) : (h(), D("div", {
15684
+ key: 0,
15685
+ class: J(["h-full w-12 flex-none bg-linear-to-l", f.value])
15686
+ }, null, 2)),
15687
+ G("div", {
15688
+ class: J(
15689
+ y(nt)(
15690
+ "pointer-events-auto flex items-center px-2",
15691
+ P.slotClass,
15692
+ m.value
15693
+ )
15694
+ )
15695
+ }, [
15696
+ G("div", null, [
15697
+ K(P.$slots, "searchCriteriaButton")
15698
+ ]),
15699
+ G("div", null, [
15700
+ K(P.$slots, "extendedSearchButton")
15701
+ ]),
15702
+ G("div", {
15703
+ class: J(y(nt)("mx-2", P.resetButtonWrapperClass))
15704
+ }, [
15705
+ G("div", {
15706
+ class: J(
15707
+ y(nt)(
15708
+ "flex-none items-center justify-center",
15709
+ P.resetButtonClass,
15710
+ "h-full",
15711
+ P.showResetButtonOnMobile ? "flex" : "hidden lg:flex",
15712
+ m.value
15713
+ )
15714
+ )
15715
+ }, [
15716
+ Oe(Fn, {
15717
+ disabled: i.value && !o.value,
15718
+ "icon-name": "close",
15719
+ title: P.resetSearchButtonTittle,
15720
+ "background-color": p.value,
15721
+ "icon-color": o.value ? "blue" : "gray",
15722
+ size: "medium",
15723
+ onClick: b
15724
+ }, null, 8, ["disabled", "title", "background-color", "icon-color"])
15725
+ ], 2)
15726
+ ], 2),
15727
+ G("div", {
15728
+ class: J(["flex h-full w-12 flex-none items-center justify-center", m.value])
15729
+ }, [
15730
+ G("div", Jh, [
15731
+ _[6] || (_[6] = G("div", { class: "h-8 w-2 border-l border-gray-300" }, null, -1)),
15732
+ Oe(Fn, {
15733
+ "icon-name": "search",
15734
+ title: P.executeSearchButtonTitle,
15735
+ "background-color": o.value || l.value ? "blue" : "none",
15736
+ "icon-color": o.value || l.value ? "white" : "gray",
15737
+ size: "medium",
15738
+ onClick: O,
15739
+ onMouseover: _[4] || (_[4] = (T) => l.value = !0),
15740
+ onMouseleave: _[5] || (_[5] = (T) => l.value = !1)
15741
+ }, null, 8, ["title", "background-color", "icon-color"])
15742
+ ])
15743
+ ], 2)
15744
+ ], 2)
15745
+ ], 2)
15746
+ ])
15747
+ ], 2));
15986
15748
  }
15987
- if (Wr[this.model])
15988
- for (a = vt[this.model].channels, n = 0; n < a; n++) {
15989
- const r = Wr[this.model][n];
15990
- r && (this.color[n] = r(this.color[n]));
15991
- }
15992
- this.valpha = Math.max(0, Math.min(1, this.valpha)), Object.freeze && Object.freeze(this);
15993
- }
15994
- st.prototype = {
15995
- toString() {
15996
- return this.string();
15997
- },
15998
- toJSON() {
15999
- return this[this.model]();
16000
- },
16001
- string(e) {
16002
- let t = this.model in mt.to ? this : this.rgb();
16003
- t = t.round(typeof e == "number" ? e : 1);
16004
- const n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
16005
- return mt.to[t.model](...n);
16006
- },
16007
- percentString(e) {
16008
- const t = this.rgb().round(typeof e == "number" ? e : 1), n = t.valpha === 1 ? t.color : [...t.color, this.valpha];
16009
- return mt.to.rgb.percent(...n);
16010
- },
16011
- array() {
16012
- return this.valpha === 1 ? [...this.color] : [...this.color, this.valpha];
16013
- },
16014
- object() {
16015
- const e = {}, { channels: t } = vt[this.model], { labels: n } = vt[this.model];
16016
- for (let a = 0; a < t; a++)
16017
- e[n[a]] = this.color[a];
16018
- return this.valpha !== 1 && (e.alpha = this.valpha), e;
16019
- },
16020
- unitArray() {
16021
- const e = this.rgb().color;
16022
- return e[0] /= 255, e[1] /= 255, e[2] /= 255, this.valpha !== 1 && e.push(this.valpha), e;
16023
- },
16024
- unitObject() {
16025
- const e = this.rgb().object();
16026
- return e.r /= 255, e.g /= 255, e.b /= 255, this.valpha !== 1 && (e.alpha = this.valpha), e;
16027
- },
16028
- round(e) {
16029
- return e = Math.max(e || 0, 0), new st([...this.color.map(sv(e)), this.valpha], this.model);
16030
- },
16031
- alpha(e) {
16032
- return e !== void 0 ? new st([...this.color, Math.max(0, Math.min(1, e))], this.model) : this.valpha;
16033
- },
16034
- // Rgb
16035
- red: Ke("rgb", 0, ft(255)),
16036
- green: Ke("rgb", 1, ft(255)),
16037
- blue: Ke("rgb", 2, ft(255)),
16038
- hue: Ke(["hsl", "hsv", "hsl", "hwb", "hcg"], 0, (e) => (e % 360 + 360) % 360),
16039
- saturationl: Ke("hsl", 1, ft(100)),
16040
- lightness: Ke("hsl", 2, ft(100)),
16041
- saturationv: Ke("hsv", 1, ft(100)),
16042
- value: Ke("hsv", 2, ft(100)),
16043
- chroma: Ke("hcg", 1, ft(100)),
16044
- gray: Ke("hcg", 2, ft(100)),
16045
- white: Ke("hwb", 1, ft(100)),
16046
- wblack: Ke("hwb", 2, ft(100)),
16047
- cyan: Ke("cmyk", 0, ft(100)),
16048
- magenta: Ke("cmyk", 1, ft(100)),
16049
- yellow: Ke("cmyk", 2, ft(100)),
16050
- black: Ke("cmyk", 3, ft(100)),
16051
- x: Ke("xyz", 0, ft(95.047)),
16052
- y: Ke("xyz", 1, ft(100)),
16053
- z: Ke("xyz", 2, ft(108.833)),
16054
- l: Ke("lab", 0, ft(100)),
16055
- a: Ke("lab", 1),
16056
- b: Ke("lab", 2),
16057
- keyword(e) {
16058
- return e !== void 0 ? new st(e) : vt[this.model].keyword(this.color);
16059
- },
16060
- hex(e) {
16061
- return e !== void 0 ? new st(e) : mt.to.hex(...this.rgb().round().color);
16062
- },
16063
- hexa(e) {
16064
- if (e !== void 0)
16065
- return new st(e);
16066
- const t = this.rgb().round().color;
16067
- let n = Math.round(this.valpha * 255).toString(16).toUpperCase();
16068
- return n.length === 1 && (n = "0" + n), mt.to.hex(...t) + n;
16069
- },
16070
- rgbNumber() {
16071
- const e = this.rgb().color;
16072
- return (e[0] & 255) << 16 | (e[1] & 255) << 8 | e[2] & 255;
15749
+ }), Zh = {
15750
+ key: 0,
15751
+ class: "col-span-1 flex items-center pr-5 text-sm lg:py-2"
15752
+ }, ev = { class: "font-medium" }, tv = { class: "flex items-center" }, av = ["value", "placeholder", "onInput", "onKeyup", "onKeydown"], zv = /* @__PURE__ */ _e({
15753
+ __name: "UiSearchInput",
15754
+ props: {
15755
+ hasAddEntryOption: { type: Boolean, default: !1 },
15756
+ label: { default: "" },
15757
+ modelValue: {},
15758
+ placeholder: { default: "Default placeholder" }
16073
15759
  },
16074
- luminosity() {
16075
- const e = this.rgb().color, t = [];
16076
- for (const [n, a] of e.entries()) {
16077
- const r = a / 255;
16078
- t[n] = r <= 0.04045 ? r / 12.92 : ((r + 0.055) / 1.055) ** 2.4;
15760
+ emits: ["update:modelValue", "handleKeypress", "blur"],
15761
+ setup(e, { emit: t }) {
15762
+ const n = e, a = H([""]), r = rn(() => {
15763
+ a.value = n.modelValue;
15764
+ }), o = H(null), l = async () => {
15765
+ a.value.push(""), o.value && (await Mt(), o.value[o.value?.length - 1].focus());
15766
+ }, s = C(() => a.value[a.value.length - 1].length > 0 && n.hasAddEntryOption), i = (x, g) => {
15767
+ n.hasAddEntryOption && g.length === 0 && x !== 0 && a.value.splice(x, 1);
15768
+ }, u = t;
15769
+ function c(x, g) {
15770
+ r(), !(g.length === 0 && x > 0) && (a.value[x] = g, u("update:modelValue", a.value));
16079
15771
  }
16080
- return 0.2126 * t[0] + 0.7152 * t[1] + 0.0722 * t[2];
16081
- },
16082
- contrast(e) {
16083
- const t = this.luminosity(), n = e.luminosity();
16084
- return t > n ? (t + 0.05) / (n + 0.05) : (n + 0.05) / (t + 0.05);
16085
- },
16086
- level(e) {
16087
- const t = this.contrast(e);
16088
- return t >= 7 ? "AAA" : t >= 4.5 ? "AA" : "";
16089
- },
16090
- isDark() {
16091
- const e = this.rgb().color;
16092
- return (e[0] * 2126 + e[1] * 7152 + e[2] * 722) / 1e4 < 128;
16093
- },
16094
- isLight() {
16095
- return !this.isDark();
16096
- },
16097
- negate() {
16098
- const e = this.rgb();
16099
- for (let t = 0; t < 3; t++)
16100
- e.color[t] = 255 - e.color[t];
16101
- return e;
16102
- },
16103
- lighten(e) {
16104
- const t = this.hsl();
16105
- return t.color[2] += t.color[2] * e, t;
16106
- },
16107
- darken(e) {
16108
- const t = this.hsl();
16109
- return t.color[2] -= t.color[2] * e, t;
16110
- },
16111
- saturate(e) {
16112
- const t = this.hsl();
16113
- return t.color[1] += t.color[1] * e, t;
16114
- },
16115
- desaturate(e) {
16116
- const t = this.hsl();
16117
- return t.color[1] -= t.color[1] * e, t;
16118
- },
16119
- whiten(e) {
16120
- const t = this.hwb();
16121
- return t.color[1] += t.color[1] * e, t;
16122
- },
16123
- blacken(e) {
16124
- const t = this.hwb();
16125
- return t.color[2] += t.color[2] * e, t;
16126
- },
16127
- grayscale() {
16128
- const e = this.rgb().color, t = e[0] * 0.3 + e[1] * 0.59 + e[2] * 0.11;
16129
- return st.rgb(t, t, t);
16130
- },
16131
- fade(e) {
16132
- return this.alpha(this.valpha - this.valpha * e);
15772
+ function f(x, g, $) {
15773
+ const b = [...a.value];
15774
+ b[x] = g, u("handleKeypress", { event: $, value: b });
15775
+ }
15776
+ function m() {
15777
+ u("blur", a.value);
15778
+ }
15779
+ const p = (x) => x === a.value.length - 1, k = C(() => n.label.length > 0), w = C(() => {
15780
+ const x = "border-b border-b-gray-200 self-start shrink-0";
15781
+ return k.value ? ["lg:col-start-2 lg:text-base", x] : [x];
15782
+ });
15783
+ return (x, g) => (h(), D("div", {
15784
+ class: J(["mb-4 grid text-gray-900 lg:mb-0 lg:grid-rows-1 lg:gap-y-5", {
15785
+ "lg:grid-cols-[224px_1fr]": k.value,
15786
+ "lg:grid-cols-1": !k.value
15787
+ }])
15788
+ }, [
15789
+ k.value ? (h(), D("div", Zh, [
15790
+ G("label", ev, Pe(x.label), 1),
15791
+ K(x.$slots, "tooltip")
15792
+ ])) : I("", !0),
15793
+ (h(!0), D(xe, null, Ee(a.value, ($, b) => (h(), D("div", {
15794
+ key: b,
15795
+ class: J(w.value)
15796
+ }, [
15797
+ G("div", tv, [
15798
+ G("input", {
15799
+ ref_for: !0,
15800
+ ref_key: "inputs",
15801
+ ref: o,
15802
+ value: a.value[b],
15803
+ type: "text",
15804
+ class: "w-full py-1 pb-2 text-sm focus:outline-hidden",
15805
+ placeholder: x.placeholder,
15806
+ onInput: (O) => c(b, O.target.value),
15807
+ onBlur: m,
15808
+ onKeyup: Ca((O) => i(b, O.target.value), ["delete"]),
15809
+ onKeydown: (O) => f(
15810
+ b,
15811
+ O.target.value,
15812
+ O
15813
+ )
15814
+ }, null, 40, av),
15815
+ x.hasAddEntryOption && p(b) ? (h(), ye(Fn, {
15816
+ key: 0,
15817
+ "icon-name": "plus-circle",
15818
+ "icon-color": "gray",
15819
+ "background-color": "none",
15820
+ size: "medium",
15821
+ title: "Add Row",
15822
+ "data-testid": "add-entry",
15823
+ disabled: !s.value,
15824
+ onClick: l
15825
+ }, null, 8, ["disabled"])) : I("", !0)
15826
+ ])
15827
+ ], 2))), 128))
15828
+ ], 2));
15829
+ }
15830
+ }), Bv = /* @__PURE__ */ _e({
15831
+ __name: "UiSection",
15832
+ props: {
15833
+ size: { default: "wide" },
15834
+ verticalPadding: { default: "large" },
15835
+ borderTop: { type: Boolean, default: !1 },
15836
+ borderBottom: { type: Boolean, default: !1 }
16133
15837
  },
16134
- opaquer(e) {
16135
- return this.alpha(this.valpha + this.valpha * e);
15838
+ setup(e) {
15839
+ const t = e, n = {
15840
+ wide: "w-full md:px-28 text-gray-900 lg:flex",
15841
+ small: "w-full lg:mx-auto lg:w-2/3"
15842
+ }, a = {
15843
+ small: "lg:py-12 pt-8 pb-12",
15844
+ large: "py-24",
15845
+ none: "py-0"
15846
+ }, r = C(() => {
15847
+ const o = t.borderTop ? "border-t" : "", l = t.borderBottom ? "border-b" : "";
15848
+ return `${o} ${l}`;
15849
+ });
15850
+ return (o, l) => (h(), D("section", {
15851
+ class: J([r.value, "w-full border-gray-200 bg-white"])
15852
+ }, [
15853
+ G("div", {
15854
+ class: J([n[o.size], a[o.verticalPadding]]),
15855
+ "data-testid": "inner"
15856
+ }, [
15857
+ K(o.$slots, "default")
15858
+ ], 2)
15859
+ ], 2));
15860
+ }
15861
+ }), Nv = /* @__PURE__ */ _e({
15862
+ __name: "UiSectionDivider",
15863
+ props: {
15864
+ size: { default: "large" },
15865
+ customClasses: { default: "" }
16136
15866
  },
16137
- rotate(e) {
16138
- const t = this.hsl();
16139
- let n = t.color[0];
16140
- return n = (n + e) % 360, n = n < 0 ? 360 + n : n, t.color[0] = n, t;
15867
+ setup(e) {
15868
+ const t = e, n = {
15869
+ small: "h-px",
15870
+ large: "h-4"
15871
+ }, a = C(() => n[t.size]);
15872
+ return (r, o) => (h(), D("div", {
15873
+ class: J([[a.value, r.customClasses], "bg-gray-100"])
15874
+ }, null, 2));
15875
+ }
15876
+ }), Ev = /* @__PURE__ */ _e({
15877
+ __name: "UiSkeletonBox",
15878
+ props: {
15879
+ maxWidth: { default: 100 },
15880
+ minWidth: { default: 80 },
15881
+ dynamicSize: { type: Boolean, default: !1 }
16141
15882
  },
16142
- mix(e, t) {
16143
- if (!e || !e.rgb)
16144
- throw new Error('Argument to "mix" was not a Color instance, but rather an instance of ' + typeof e);
16145
- const n = e.rgb(), a = this.rgb(), r = t === void 0 ? 0.5 : t, o = 2 * r - 1, l = n.alpha() - a.alpha(), s = ((o * l === -1 ? o : (o + l) / (1 + o * l)) + 1) / 2, i = 1 - s;
16146
- return st.rgb(
16147
- s * n.red() + i * a.red(),
16148
- s * n.green() + i * a.green(),
16149
- s * n.blue() + i * a.blue(),
16150
- n.alpha() * r + a.alpha() * (1 - r)
16151
- );
15883
+ setup(e) {
15884
+ const t = e, n = C(() => t.dynamicSize && `${Math.floor(
15885
+ Math.random() * (t.maxWidth - t.minWidth) + t.minWidth
15886
+ )}%`);
15887
+ return (a, r) => (h(), D("span", {
15888
+ class: J(["inline-block animate-pulse rounded-sm bg-gray-200", {
15889
+ "h-4 w-full": a.dynamicSize
15890
+ }]),
15891
+ style: qe({ width: n.value })
15892
+ }, null, 6));
16152
15893
  }
16153
- };
16154
- for (const e of Object.keys(vt)) {
16155
- if (Ns.includes(e))
16156
- continue;
16157
- const { channels: t } = vt[e];
16158
- st.prototype[e] = function(...n) {
16159
- return this.model === e ? new st(this) : n.length > 0 ? new st(n, e) : new st([...iv(vt[this.model][e].raw(this.color)), this.valpha], e);
16160
- }, st[e] = function(...n) {
16161
- let a = n[0];
16162
- return typeof a == "number" && (a = Ur(n, t)), new st(a, e);
16163
- };
16164
- }
16165
- function lv(e, t) {
16166
- return Number(e.toFixed(t));
16167
- }
16168
- function sv(e) {
16169
- return function(t) {
16170
- return lv(t, e);
16171
- };
16172
- }
16173
- function Ke(e, t, n) {
16174
- e = Array.isArray(e) ? e : [e];
16175
- for (const a of e)
16176
- (Wr[a] ||= [])[t] = n;
16177
- return e = e[0], function(a) {
16178
- let r;
16179
- return a !== void 0 ? (n && (a = n(a)), r = this[e](), r.color[t] = a, r) : (r = this[e]().color[t], n && (r = n(r)), r);
16180
- };
16181
- }
16182
- function ft(e) {
16183
- return function(t) {
16184
- return Math.max(0, Math.min(e, t));
16185
- };
16186
- }
16187
- function iv(e) {
16188
- return Array.isArray(e) ? e : [e];
16189
- }
16190
- function Ur(e, t) {
16191
- for (let n = 0; n < t; n++)
16192
- typeof e[n] != "number" && (e[n] = 0);
16193
- return e;
16194
- }
16195
- const uv = { class: "flex" }, dv = ["id", "aria-checked", "onClick"], cv = ["aria-checked"], Fv = /* @__PURE__ */ _e({
16196
- __name: "UiColorPicker",
15894
+ }), nv = { class: "text-sm leading-5 font-normal" }, Yv = /* @__PURE__ */ _e({
15895
+ __name: "UiSnackbar",
16197
15896
  props: {
16198
- modelValue: { default: `#${$a[0]}` }
15897
+ isShown: { type: Boolean, default: !1 },
15898
+ position: { default: "left" },
15899
+ iconName: { default: null },
15900
+ iconSize: { default: "large" },
15901
+ type: { default: "info" }
16199
15902
  },
16200
- emits: ["update:modelValue"],
15903
+ emits: ["input", "action-click"],
16201
15904
  setup(e, { emit: t }) {
16202
- const n = e, a = t, r = H($a[0]);
16203
- ut(
16204
- () => n.modelValue,
16205
- () => {
16206
- const s = n.modelValue?.substring(1);
16207
- r.value = s || $a[0], s || a("update:modelValue", `#${r.value}`);
16208
- },
16209
- { immediate: !0 }
16210
- );
16211
- const o = C({
16212
- get() {
16213
- return `#${r.value}`;
16214
- },
16215
- set(s) {
16216
- r.value = s.substring(1), a("update:modelValue", `#${r.value}`);
15905
+ const n = t, a = e;
15906
+ return ut(
15907
+ () => a.isShown,
15908
+ (r) => {
15909
+ r && n("input", r);
16217
15910
  }
16218
- }), l = C(() => {
16219
- const s = st(`#${r.value}`), i = s.contrast(st.rgb(77, 77, 77));
16220
- return s.contrast(st("white")) >= i ? "text-white" : "text-gray-800";
16221
- });
16222
- return (s, i) => (h(), D("div", uv, [
16223
- (h(!0), D(xe, null, Ee(y($a), (u, c) => (h(), D("div", {
16224
- id: `color-${u}`,
16225
- key: `ui-cp-${c}`,
16226
- class: "mr-3 flex size-4 rotate-45 cursor-pointer items-center justify-center",
16227
- style: qe({ backgroundColor: `#${u}` }),
16228
- "aria-checked": r.value === u,
16229
- onClick: (f) => {
16230
- r.value = u, a("update:modelValue", `#${u}`);
16231
- }
16232
- }, [
16233
- r.value === u ? (h(), ye(lt, {
16234
- key: 0,
16235
- id: "cp-checmark",
16236
- name: "checkmark",
16237
- class: J(["-rotate-45", l.value]),
16238
- size: "xs"
16239
- }, null, 8, ["class"])) : I("", !0)
16240
- ], 12, dv))), 128)),
16241
- G("div", {
16242
- class: "UiColorPicker-inputWrapper flex size-4 rotate-45 items-center justify-center",
16243
- style: qe({
16244
- backgroundColor: y($a).includes(r.value) ? "" : o.value
16245
- }),
16246
- "aria-checked": !y($a).includes(r.value)
16247
- }, [
16248
- Tt(G("input", {
16249
- "onUpdate:modelValue": i[0] || (i[0] = (u) => o.value = u),
16250
- type: "color",
16251
- class: "UiColorPicker-input absolute z-10 size-inherit cursor-pointer bg-gray-200 opacity-0"
16252
- }, null, 512), [
16253
- [dl, o.value]
16254
- ]),
16255
- y($a).includes(r.value) ? (h(), ye(lt, {
15911
+ ), (r, o) => (h(), ye(It, {
15912
+ "enter-active-class": "duration-200 ease-out",
15913
+ "enter-from-class": "transform opacity-0",
15914
+ "enter-to-class": "opacity-100",
15915
+ "leave-active-class": "duration-200 ease-in",
15916
+ "leave-from-class": "opacity-100",
15917
+ "leave-to-class": "transform opacity-0"
15918
+ }, {
15919
+ default: ge(() => [
15920
+ r.isShown ? (h(), D("div", {
16256
15921
  key: 0,
16257
- name: "color-palette",
16258
- size: "medium",
16259
- class: "-rotate-45"
16260
- })) : (h(), ye(lt, {
16261
- key: 1,
16262
- id: "cp-checmark",
16263
- name: "checkmark",
16264
- class: J(["-rotate-45", l.value]),
16265
- size: "xs"
16266
- }, null, 8, ["class"]))
16267
- ], 12, cv)
16268
- ]));
15922
+ role: "status",
15923
+ class: J(["fixed bottom-5 sm:bottom-12", {
15924
+ "left-5 sm:left-12": r.position === "left",
15925
+ "right-5 sm:right-12": r.position === "right"
15926
+ }])
15927
+ }, [
15928
+ G("div", {
15929
+ class: J(["flex items-center rounded-full px-4 py-3 shadow-md ease-in", {
15930
+ "bg-red-500 text-white": r.type === "error",
15931
+ "bg-gray-900 text-white": r.type === "info",
15932
+ "bg-green-primary text-white": r.type === "success"
15933
+ }])
15934
+ }, [
15935
+ r.iconName || r.type === "error" ? (h(), ye(lt, {
15936
+ key: 0,
15937
+ name: r.iconName || "alert-fill",
15938
+ size: r.iconSize,
15939
+ class: "mr-2 text-white"
15940
+ }, null, 8, ["name", "size"])) : I("", !0),
15941
+ G("p", nv, [
15942
+ K(r.$slots, "default")
15943
+ ]),
15944
+ r.$slots.action ? (h(), D("button", {
15945
+ key: 1,
15946
+ ref: "actionBtn",
15947
+ type: "button",
15948
+ class: "ml-3 cursor-pointer text-sm leading-5 font-bold hover:underline focus:outline-hidden focus-visible:underline",
15949
+ onClick: o[0] || (o[0] = (l) => n("action-click"))
15950
+ }, [
15951
+ K(r.$slots, "action")
15952
+ ], 512)) : I("", !0)
15953
+ ], 2)
15954
+ ], 2)) : I("", !0)
15955
+ ]),
15956
+ _: 3
15957
+ }));
15958
+ }
15959
+ }), rv = {
15960
+ key: 0,
15961
+ class: "mx-auto",
15962
+ width: "100",
15963
+ height: "40",
15964
+ viewBox: "0 0 100 40",
15965
+ xmlns: "http://www.w3.org/2000/svg"
15966
+ }, Iv = /* @__PURE__ */ _e({
15967
+ __name: "UiSpinner",
15968
+ props: {
15969
+ color: { default: "blue" },
15970
+ variant: { default: "spinner" }
15971
+ },
15972
+ setup(e) {
15973
+ const t = e, n = C(() => ({
15974
+ blue: "text-blue-default",
15975
+ green: "text-green-primary",
15976
+ white: "text-white"
15977
+ })[t.color]);
15978
+ return (a, r) => (h(), D("div", {
15979
+ class: J(n.value)
15980
+ }, [
15981
+ a.variant === "bubbles" ? (h(), D("svg", rv, [...r[0] || (r[0] = [
15982
+ G("circle", {
15983
+ cx: "25",
15984
+ cy: "20",
15985
+ r: "3.5",
15986
+ fill: "currentColor"
15987
+ }, [
15988
+ G("animateTransform", {
15989
+ attributeName: "transform",
15990
+ type: "translate",
15991
+ dur: "1.8s",
15992
+ values: "0,0;-25,-20;0,0;25,20;0,0",
15993
+ repeatCount: "indefinite",
15994
+ easing: "ease-in-out",
15995
+ begin: "0.16s"
15996
+ }),
15997
+ G("animateTransform", {
15998
+ attributeName: "transform",
15999
+ additive: "sum",
16000
+ type: "scale",
16001
+ dur: "1.8s",
16002
+ values: "1; 2; 1; 0; 1",
16003
+ repeatCount: "indefinite",
16004
+ easing: "ease-in-out",
16005
+ begin: "0.16s"
16006
+ })
16007
+ ], -1),
16008
+ G("circle", {
16009
+ cx: "50",
16010
+ cy: "20",
16011
+ r: "3.5",
16012
+ fill: "currentColor"
16013
+ }, [
16014
+ G("animateTransform", {
16015
+ attributeName: "transform",
16016
+ type: "translate",
16017
+ dur: "1.8s",
16018
+ values: "0,0;-50,-20;0,0;50,20;0,0",
16019
+ repeatCount: "indefinite",
16020
+ easing: "ease-in-out",
16021
+ begin: "0.26s"
16022
+ }),
16023
+ G("animateTransform", {
16024
+ attributeName: "transform",
16025
+ additive: "sum",
16026
+ type: "scale",
16027
+ dur: "1.8s",
16028
+ values: "1; 2; 1; 0; 1",
16029
+ repeatCount: "indefinite",
16030
+ easing: "ease-in-out",
16031
+ begin: "0.26s"
16032
+ })
16033
+ ], -1),
16034
+ G("circle", {
16035
+ cx: "75",
16036
+ cy: "20",
16037
+ r: "3.5",
16038
+ fill: "currentColor"
16039
+ }, [
16040
+ G("animateTransform", {
16041
+ attributeName: "transform",
16042
+ type: "translate",
16043
+ dur: "1.8s",
16044
+ values: "0,0;-75,-20;0,0;75,20;0,0",
16045
+ repeatCount: "indefinite",
16046
+ easing: "ease-in-out",
16047
+ begin: "0.42s"
16048
+ }),
16049
+ G("animateTransform", {
16050
+ attributeName: "transform",
16051
+ additive: "sum",
16052
+ type: "scale",
16053
+ dur: "1.8s",
16054
+ values: "1; 2; 1; 0; 1",
16055
+ repeatCount: "indefinite",
16056
+ easing: "ease-in-out",
16057
+ begin: "0.42s"
16058
+ })
16059
+ ], -1)
16060
+ ])])) : (h(), ye(lt, {
16061
+ key: 1,
16062
+ name: "spinner",
16063
+ class: "animate-spin",
16064
+ size: "large"
16065
+ }))
16066
+ ], 2));
16269
16067
  }
16270
- }), Vv = /* @__PURE__ */ _e({
16068
+ }), Lv = /* @__PURE__ */ _e({
16271
16069
  __name: "UiTextButton",
16272
16070
  props: {
16273
16071
  color: { default: "blue" },
@@ -16330,6 +16128,213 @@ const uv = { class: "flex" }, dv = ["id", "aria-checked", "onClick"], cv = ["ari
16330
16128
  _: 3
16331
16129
  }, 8, ["href", "class", "target"]));
16332
16130
  }
16131
+ }), ov = ["for"], lv = { class: "relative" }, sv = ["id", "aria-checked", "disabled", "aria-label"], Fv = /* @__PURE__ */ _e({
16132
+ __name: "UiToggleButton",
16133
+ props: {
16134
+ modelValue: { type: Boolean, default: !1 },
16135
+ disabled: { type: Boolean, default: !1 },
16136
+ labelText: { default: "" },
16137
+ labelSpace: { default: "default" },
16138
+ labelTextSize: { default: "xs" },
16139
+ labelPosition: { default: "left" },
16140
+ labelVisible: { type: Boolean, default: !0 },
16141
+ color: { default: "blue" },
16142
+ size: { default: "small" }
16143
+ },
16144
+ emits: ["update:modelValue"],
16145
+ setup(e, { emit: t }) {
16146
+ const n = H(`toggle-id-${Qr()}`), a = t, r = e, o = C(() => r.labelPosition === "left" ? r.labelSpace === "default" ? "mr-3" : "mr-12" : r.labelSpace === "default" ? "ml-3" : "ml-12"), l = C(() => {
16147
+ switch (r.labelTextSize) {
16148
+ case "xs":
16149
+ return "text-xs";
16150
+ case "sm":
16151
+ return "text-sm";
16152
+ case "md":
16153
+ return "text-md";
16154
+ case "lg":
16155
+ return "text-lg";
16156
+ default:
16157
+ return "text-xs";
16158
+ }
16159
+ }), s = C(() => r.labelPosition === "left"), i = C(() => r.color === "blue" ? "bg-blue-default" : "bg-green-primary"), u = C(() => r.size === "small" ? "h-3 w-6" : "h-4 w-10"), c = C(() => r.size === "small" ? "h-4 w-4 top-[-2px]" : "h-6 w-6 top-[-4px]");
16160
+ return (f, m) => (h(), D("div", null, [
16161
+ G("label", {
16162
+ for: n.value,
16163
+ class: "flex cursor-pointer items-center"
16164
+ }, [
16165
+ f.$slots.default ? (h(), D("div", {
16166
+ key: 0,
16167
+ class: J(["whitespace-nowrap", {
16168
+ [o.value]: !0,
16169
+ "order-2": !s.value,
16170
+ "sr-only": !f.labelVisible
16171
+ }])
16172
+ }, [
16173
+ K(f.$slots, "default")
16174
+ ], 2)) : I("", !0),
16175
+ s.value && !f.$slots.default ? (h(), D("div", {
16176
+ key: 1,
16177
+ class: J(["leading-4 font-normal whitespace-nowrap text-gray-800", [o.value, l.value]])
16178
+ }, Pe(f.labelText), 3)) : I("", !0),
16179
+ G("div", lv, [
16180
+ G("input", {
16181
+ id: n.value,
16182
+ type: "checkbox",
16183
+ "data-testid": "toggleButton",
16184
+ role: "checkbox",
16185
+ "aria-checked": f.modelValue,
16186
+ tabindex: "0",
16187
+ class: "sr-only",
16188
+ disabled: f.disabled,
16189
+ "aria-label": f.labelText,
16190
+ onClick: m[0] || (m[0] = (p) => a("update:modelValue", !f.modelValue))
16191
+ }, null, 8, sv),
16192
+ G("div", {
16193
+ class: J(["line rounded-full shadow-inner transition-opacity duration-200 ease-in-out", {
16194
+ "opacity-50": f.modelValue,
16195
+ [i.value]: f.modelValue,
16196
+ "bg-gray-300": !f.modelValue,
16197
+ [u.value]: !0
16198
+ }])
16199
+ }, null, 2),
16200
+ G("div", {
16201
+ class: J([{
16202
+ "translate-x-full": f.modelValue,
16203
+ [i.value]: f.modelValue,
16204
+ "bg-gray-500": !f.modelValue,
16205
+ [c.value]: !0
16206
+ }, "dot absolute -left-1 rounded-full shadow-sm transition-transform duration-200 ease-in-out"])
16207
+ }, null, 2)
16208
+ ]),
16209
+ !s.value && !f.$slots.default ? (h(), D("div", {
16210
+ key: 2,
16211
+ class: J(["leading-4 font-normal whitespace-nowrap text-gray-800", [o.value, l.value]])
16212
+ }, Pe(f.labelText), 3)) : I("", !0)
16213
+ ], 8, ov)
16214
+ ]));
16215
+ }
16216
+ }), iv = ["data-placement"], uv = { class: "pb-1 text-sm font-semibold" }, dv = { class: "text-sm" }, cv = ["data-placement"], Vv = /* @__PURE__ */ _e({
16217
+ __name: "UiTooltip",
16218
+ props: {
16219
+ position: { default: "bottom" },
16220
+ structuredLayout: { type: Boolean, default: !1 },
16221
+ structuredInfo: { default: () => [] },
16222
+ fixed: { type: Boolean, default: !0 },
16223
+ multilines: { type: Boolean, default: !1 },
16224
+ tooltipClasses: { default: "" },
16225
+ floatingUiOptions: { default: null },
16226
+ transitionClasses: { default: () => ({
16227
+ top: "scale-95 opacity-0 -translate-y-2",
16228
+ "top-start": "scale-95 opacity-0 -translate-y-2",
16229
+ "top-end": "scale-95 opacity-0 -translate-y-2",
16230
+ right: "scale-95 opacity-0 translate-x-2",
16231
+ "bottom-end": "scale-95 opacity-0 translate-y-2",
16232
+ bottom: "scale-95 opacity-0 translate-y-2",
16233
+ "bottom-start": "scale-95 opacity-0 translate-y-2",
16234
+ left: "scale-95 opacity-0 -translate-x-2"
16235
+ }) },
16236
+ enterActiveClasses: { default: "motion-safe:transition duration-300 delay-500" },
16237
+ leaveActiveClasses: { default: ":motion-safe:transition" },
16238
+ animate: { type: Boolean, default: !1 }
16239
+ },
16240
+ setup(e) {
16241
+ const t = e, n = C(() => t.animate ? t.transitionClasses[t.position] : ""), a = C(() => t.animate ? t.enterActiveClasses : ""), r = C(() => t.animate ? t.leaveActiveClasses : ""), o = H(!1), l = H(), s = H(), { floatingStyles: i, placement: u } = Rs(
16242
+ l,
16243
+ s,
16244
+ {
16245
+ strategy: t.fixed ? "fixed" : "absolute",
16246
+ placement: t.position,
16247
+ whileElementsMounted: Ss,
16248
+ ...t.floatingUiOptions ? t.floatingUiOptions : {}
16249
+ }
16250
+ );
16251
+ return (c, f) => (h(), D("div", null, [
16252
+ G("div", {
16253
+ ref_key: "activatorElm",
16254
+ ref: l,
16255
+ "data-testid": "activator",
16256
+ tabindex: "1",
16257
+ onMouseenter: f[0] || (f[0] = (m) => o.value = !0),
16258
+ onFocus: f[1] || (f[1] = (m) => o.value = !0),
16259
+ onMouseleave: f[2] || (f[2] = (m) => o.value = !1),
16260
+ onBlur: f[3] || (f[3] = (m) => o.value = !1)
16261
+ }, [
16262
+ K(c.$slots, "activator")
16263
+ ], 544),
16264
+ (h(), ye(cl, {
16265
+ disabled: !c.fixed,
16266
+ to: "body"
16267
+ }, [
16268
+ c.structuredLayout ? (h(), D("div", {
16269
+ key: 0,
16270
+ ref_key: "tooltipElm",
16271
+ ref: s,
16272
+ style: qe(y(i)),
16273
+ "data-testid": "structuredTooltip",
16274
+ "data-placement": y(u)
16275
+ }, [
16276
+ Oe(It, {
16277
+ "enter-active-class": a.value,
16278
+ "leave-active-class": r.value,
16279
+ "leave-to-class": n.value,
16280
+ "enter-from-class": n.value
16281
+ }, {
16282
+ default: ge(() => [
16283
+ Tt(G("ul", {
16284
+ "data-testid": "tooltipElement",
16285
+ class: J(["my-1 w-72 rounded-2xl border border-gray-300 bg-white text-xs leading-5 shadow-lg", [c.tooltipClasses]])
16286
+ }, [
16287
+ K(c.$slots, "default", {}, () => [
16288
+ (h(!0), D(xe, null, Ee(c.structuredInfo, ({ title: m, description: p }, k) => (h(), D("li", {
16289
+ key: `info-${k}`,
16290
+ class: J([
16291
+ "mx-4 py-3 text-left",
16292
+ k < c.structuredInfo.length - 1 ? "border-b border-b-gray-100" : ""
16293
+ ])
16294
+ }, [
16295
+ G("h4", uv, Pe(m), 1),
16296
+ G("p", dv, Pe(p), 1)
16297
+ ], 2))), 128))
16298
+ ])
16299
+ ], 2), [
16300
+ [pa, o.value]
16301
+ ])
16302
+ ]),
16303
+ _: 3
16304
+ }, 8, ["enter-active-class", "leave-active-class", "leave-to-class", "enter-from-class"])
16305
+ ], 12, iv)) : (h(), D("div", {
16306
+ key: 1,
16307
+ ref_key: "tooltipElm",
16308
+ ref: s,
16309
+ "data-testid": "tooltip",
16310
+ style: qe(y(i)),
16311
+ "data-placement": y(u)
16312
+ }, [
16313
+ Oe(It, {
16314
+ "enter-active-class": a.value,
16315
+ "leave-active-class": r.value,
16316
+ "leave-to-class": n.value,
16317
+ "enter-from-class": n.value
16318
+ }, {
16319
+ default: ge(() => [
16320
+ Tt(G("div", {
16321
+ "data-testid": "tooltipElement",
16322
+ class: J(["flex items-center bg-gray-900 px-2 py-half text-xs leading-5 text-white", [
16323
+ c.tooltipClasses,
16324
+ c.multilines ? "h-auto max-w-[300px] flex-wrap rounded-2xl" : "h-6 w-max rounded-full"
16325
+ ]])
16326
+ }, [
16327
+ K(c.$slots, "default")
16328
+ ], 2), [
16329
+ [pa, o.value]
16330
+ ])
16331
+ ]),
16332
+ _: 3
16333
+ }, 8, ["enter-active-class", "leave-active-class", "leave-to-class", "enter-from-class"])
16334
+ ], 12, cv))
16335
+ ], 8, ["disabled"]))
16336
+ ]));
16337
+ }
16333
16338
  }), fv = {
16334
16339
  sm: "40rem",
16335
16340
  md: "48rem",
@@ -16338,42 +16343,42 @@ const uv = { class: "flex" }, dv = ["id", "aria-checked", "onClick"], cv = ["ari
16338
16343
  "2xl": "96rem"
16339
16344
  };
16340
16345
  function Wv() {
16341
- const t = (/* @__PURE__ */ _p(fv)).current(), n = C(() => t.value.includes("sm")), a = C(() => t.value.includes("md")), r = C(() => t.value.includes("lg")), o = C(() => t.value.includes("xl")), l = C(() => t.value.includes("2xl"));
16346
+ const t = (/* @__PURE__ */ wp(fv)).current(), n = C(() => t.value.includes("sm")), a = C(() => t.value.includes("md")), r = C(() => t.value.includes("lg")), o = C(() => t.value.includes("xl")), l = C(() => t.value.includes("2xl"));
16342
16347
  return { currentBreakpoint: t, sm: n, md: a, lg: r, xl: o, "2xl": l };
16343
16348
  }
16344
16349
  export {
16345
16350
  Sv as A,
16346
- Ov as B,
16347
- Rv as C,
16348
- zv as D,
16349
- Bv as E,
16350
- Nv as F,
16351
+ Rv as B,
16352
+ zv as C,
16353
+ Bv as D,
16354
+ Nv as E,
16355
+ wh as F,
16351
16356
  Ev as G,
16352
16357
  Yv as H,
16353
16358
  Iv as I,
16354
16359
  Lv as J,
16355
- wh as K,
16356
- Fv as L,
16357
- Vv as M,
16358
- Qr as N,
16359
- Wv as O,
16360
+ Fv as K,
16361
+ Vv as L,
16362
+ Wv as M,
16363
+ qr as N,
16364
+ nt as O,
16360
16365
  yv as U,
16361
16366
  Mn as _,
16362
16367
  pv as a,
16363
16368
  hv as b,
16364
- nt as c,
16365
- vv as d,
16366
- En as e,
16367
- gv as f,
16368
- tu as g,
16369
- bv as h,
16370
- wv as i,
16371
- kv as j,
16369
+ vv as c,
16370
+ En as d,
16371
+ gv as e,
16372
+ tu as f,
16373
+ bv as g,
16374
+ wv as h,
16375
+ kv as i,
16376
+ Ov as j,
16372
16377
  xv as k,
16373
16378
  _v as l,
16374
16379
  Mv as m,
16375
16380
  $v as n,
16376
- Yr as o,
16381
+ Ir as o,
16377
16382
  lt as p,
16378
16383
  Fn as q,
16379
16384
  Dv as r,
@@ -16383,6 +16388,6 @@ export {
16383
16388
  Cv as v,
16384
16389
  Pv as w,
16385
16390
  Tv as x,
16386
- ip as y,
16391
+ _p as y,
16387
16392
  Av as z
16388
16393
  };