@solid-design-system/components 7.0.0 → 7.0.1
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.
- package/cdn/chunks/{chunk.KSZUHYF7.js → chunk.2C3UQTSS.js} +1 -1
- package/cdn/chunks/{chunk.O7SKSXCU.js → chunk.2O3FM7UB.js} +1 -1
- package/cdn/chunks/{chunk.MU62OKKN.js → chunk.35XPUMS2.js} +1 -1
- package/cdn/chunks/{chunk.GMK4GUJU.js → chunk.3IZUMERL.js} +1 -1
- package/cdn/chunks/{chunk.O2KXD6V3.js → chunk.3RIAU3TH.js} +1 -1
- package/cdn/chunks/{chunk.MGUGARHV.js → chunk.4GA43M6X.js} +1 -1
- package/cdn/chunks/{chunk.3ZO6YY7I.js → chunk.4QTJXGRR.js} +1 -1
- package/cdn/chunks/{chunk.2ITHO4DN.js → chunk.5SQTIWWY.js} +1 -1
- package/cdn/chunks/{chunk.I6YCX5RP.js → chunk.ADVB3FPU.js} +1 -1
- package/cdn/chunks/{chunk.Z6PXRBBW.js → chunk.AJGTKHU5.js} +1 -1
- package/cdn/chunks/{chunk.GIARN4UP.js → chunk.C37LGAL3.js} +1 -1
- package/cdn/chunks/{chunk.FFI6YSXU.js → chunk.CGMKBGJU.js} +1 -1
- package/cdn/chunks/{chunk.AZUI44B5.js → chunk.CQNFI34K.js} +1 -1
- package/cdn/chunks/{chunk.ZNLOJFYY.js → chunk.DCAJAXUP.js} +1 -1
- package/cdn/chunks/{chunk.NWNTRKHL.js → chunk.DS2MKMMN.js} +1 -1
- package/cdn/chunks/{chunk.6O5DTJMU.js → chunk.GA3PWYR4.js} +1 -1
- package/cdn/chunks/{chunk.7RGHHNKJ.js → chunk.HNBY226D.js} +1 -1
- package/cdn/chunks/chunk.HWX5X5EX.js +2 -0
- package/cdn/chunks/{chunk.Q64TZBRZ.js → chunk.HY624TPC.js} +1 -1
- package/cdn/chunks/{chunk.GG7UP3MH.js → chunk.I7OVY27Y.js} +1 -1
- package/cdn/chunks/{chunk.2LXNC6H3.js → chunk.IFLRUJCI.js} +1 -1
- package/cdn/chunks/{chunk.OL5UARRQ.js → chunk.IQBZ7GRB.js} +1 -1
- package/cdn/chunks/chunk.J45556RK.js +26 -0
- package/cdn/chunks/{chunk.AI7EFEUE.js → chunk.JMX6KLDZ.js} +1 -1
- package/cdn/chunks/{chunk.F4VKYXZU.js → chunk.KE2YEQDL.js} +1 -1
- package/cdn/chunks/{chunk.3W72NBFO.js → chunk.MYPRMCUO.js} +1 -1
- package/cdn/chunks/{chunk.MDIQLQU6.js → chunk.N4L76IWF.js} +1 -1
- package/cdn/chunks/{chunk.3AGXZWRW.js → chunk.NGU7NO3O.js} +1 -1
- package/cdn/chunks/{chunk.2AR7OD3J.js → chunk.NJKSWXOS.js} +1 -1
- package/cdn/chunks/{chunk.YOEY6E2E.js → chunk.NOP4DTP2.js} +1 -1
- package/cdn/chunks/{chunk.ZDXDR6L6.js → chunk.OOIX4OAP.js} +1 -1
- package/cdn/chunks/{chunk.3ESWKAZS.js → chunk.P7GMFHO5.js} +1 -1
- package/cdn/chunks/{chunk.WZLYCJJA.js → chunk.PCXVXYU2.js} +1 -1
- package/cdn/chunks/{chunk.FAGCRWAX.js → chunk.PFPUD5HR.js} +1 -1
- package/cdn/chunks/{chunk.B4R4H2RH.js → chunk.PKCNX4R2.js} +1 -1
- package/cdn/chunks/{chunk.QFWT54X4.js → chunk.PQW77KHE.js} +1 -1
- package/cdn/chunks/{chunk.REMEEDIQ.js → chunk.PURR56D5.js} +1 -1
- package/cdn/chunks/{chunk.VWI56VMW.js → chunk.Q3DFVGEW.js} +1 -1
- package/cdn/chunks/{chunk.T35R3Z5M.js → chunk.Q63S2Z2M.js} +1 -1
- package/cdn/chunks/{chunk.RWLAIGRI.js → chunk.QK3WCIP5.js} +1 -1
- package/cdn/chunks/{chunk.QDREJDJ2.js → chunk.RHC6WZ6V.js} +1 -1
- package/cdn/chunks/{chunk.GH4YN7AR.js → chunk.RRJCCIDH.js} +1 -1
- package/cdn/chunks/{chunk.LQ2TVIG5.js → chunk.SPL6VR5S.js} +1 -1
- package/cdn/chunks/{chunk.GUY5KRI5.js → chunk.SSE7T5OF.js} +1 -1
- package/cdn/chunks/{chunk.VWYQ4GYH.js → chunk.SZNU4NHI.js} +1 -1
- package/cdn/chunks/{chunk.MADHUCSI.js → chunk.T7I5MFNS.js} +1 -1
- package/cdn/chunks/{chunk.UTB3OKJT.js → chunk.TIMZJKMF.js} +1 -1
- package/cdn/chunks/{chunk.ADMPVU62.js → chunk.TX5WPWH2.js} +1 -1
- package/cdn/chunks/{chunk.GA5I2MP7.js → chunk.UI3ZVKSU.js} +1 -1
- package/cdn/chunks/{chunk.5KXVHZV5.js → chunk.V6IM4GAA.js} +1 -1
- package/cdn/chunks/{chunk.RLALDY5L.js → chunk.VPBXFCBA.js} +1 -1
- package/cdn/chunks/{chunk.AOGCHS73.js → chunk.VSX5LY2D.js} +1 -1
- package/cdn/chunks/{chunk.F5IUPQVT.js → chunk.WL6NNNG5.js} +1 -1
- package/cdn/chunks/{chunk.CPQBVK5K.js → chunk.WQZWYMH3.js} +1 -1
- package/cdn/chunks/{chunk.I7JUSAUC.js → chunk.WUXX2P2S.js} +1 -1
- package/cdn/chunks/{chunk.ZHVSNIJ2.js → chunk.XGVG7F7T.js} +1 -1
- package/cdn/chunks/{chunk.RFPANR7F.js → chunk.XHYIXZF4.js} +1 -1
- package/cdn/chunks/{chunk.PN4FJAN5.js → chunk.XZ5JTM6K.js} +1 -1
- package/cdn/chunks/{chunk.A2EU2YJG.js → chunk.Y4ZS3BWH.js} +1 -1
- package/cdn/chunks/{chunk.B3PR5MVH.js → chunk.YUDSN6HJ.js} +1 -1
- package/cdn/chunks/{chunk.GBGRCCRP.js → chunk.Z2M7BQV5.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/brandshape/brandshape.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/button-group/button-group.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel-item/carousel-item.js +1 -1
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +1 -0
- package/cdn/components/datepicker/datepicker.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/expandable/expandable.js +1 -1
- package/cdn/components/file-selector/file-selector.js +1 -1
- package/cdn/components/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/link/link.js +1 -1
- package/cdn/components/loader/loader.js +1 -1
- package/cdn/components/map-marker/map-marker.js +1 -1
- package/cdn/components/menu/menu.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/navigation-item/navigation-item.js +1 -1
- package/cdn/components/notification/notification.js +1 -1
- package/cdn/components/optgroup/optgroup.js +1 -1
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/quickfact/quickfact.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range/range.js +1 -1
- package/cdn/components/range-tick/range-tick.js +1 -1
- package/cdn/components/scrollable/scrollable.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/skeleton/skeleton.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step-group/step-group.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/teaser/teaser.js +1 -1
- package/cdn/components/teaser-media/teaser-media.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/theme-listener/theme-listener.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +461 -461
- package/cdn/solid-components.bundle.js +78 -78
- package/cdn/solid-components.iife.js +76 -76
- package/cdn/solid-components.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/vscode.html-custom-data.json +52 -52
- package/cdn/web-types.json +109 -109
- package/cdn-versioned/chunks/{chunk.KSZUHYF7.js → chunk.2C3UQTSS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.O7SKSXCU.js → chunk.2O3FM7UB.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MU62OKKN.js → chunk.35XPUMS2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GMK4GUJU.js → chunk.3IZUMERL.js} +2 -2
- package/cdn-versioned/chunks/{chunk.O2KXD6V3.js → chunk.3RIAU3TH.js} +3 -3
- package/cdn-versioned/chunks/{chunk.MGUGARHV.js → chunk.4GA43M6X.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3ZO6YY7I.js → chunk.4QTJXGRR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.2ITHO4DN.js → chunk.5SQTIWWY.js} +2 -2
- package/cdn-versioned/chunks/{chunk.I6YCX5RP.js → chunk.ADVB3FPU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.Z6PXRBBW.js → chunk.AJGTKHU5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GIARN4UP.js → chunk.C37LGAL3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FFI6YSXU.js → chunk.CGMKBGJU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AZUI44B5.js → chunk.CQNFI34K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZNLOJFYY.js → chunk.DCAJAXUP.js} +2 -2
- package/cdn-versioned/chunks/{chunk.NWNTRKHL.js → chunk.DS2MKMMN.js} +3 -3
- package/cdn-versioned/chunks/chunk.DSKB3SEU.js +1 -1
- package/cdn-versioned/chunks/{chunk.6O5DTJMU.js → chunk.GA3PWYR4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.7RGHHNKJ.js → chunk.HNBY226D.js} +2 -2
- package/cdn-versioned/chunks/chunk.HWX5X5EX.js +2 -0
- package/cdn-versioned/chunks/{chunk.Q64TZBRZ.js → chunk.HY624TPC.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GG7UP3MH.js → chunk.I7OVY27Y.js} +10 -10
- package/cdn-versioned/chunks/{chunk.2LXNC6H3.js → chunk.IFLRUJCI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.OL5UARRQ.js → chunk.IQBZ7GRB.js} +2 -2
- package/cdn-versioned/chunks/chunk.J45556RK.js +26 -0
- package/cdn-versioned/chunks/{chunk.AI7EFEUE.js → chunk.JMX6KLDZ.js} +2 -2
- package/cdn-versioned/chunks/{chunk.F4VKYXZU.js → chunk.KE2YEQDL.js} +2 -2
- package/cdn-versioned/chunks/chunk.LZRL7OLU.js +1 -1
- package/cdn-versioned/chunks/chunk.MR54F6CV.js +2 -2
- package/cdn-versioned/chunks/{chunk.3W72NBFO.js → chunk.MYPRMCUO.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MDIQLQU6.js → chunk.N4L76IWF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3AGXZWRW.js → chunk.NGU7NO3O.js} +5 -5
- package/cdn-versioned/chunks/{chunk.2AR7OD3J.js → chunk.NJKSWXOS.js} +2 -2
- package/cdn-versioned/chunks/{chunk.YOEY6E2E.js → chunk.NOP4DTP2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZDXDR6L6.js → chunk.OOIX4OAP.js} +2 -2
- package/cdn-versioned/chunks/{chunk.3ESWKAZS.js → chunk.P7GMFHO5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.WZLYCJJA.js → chunk.PCXVXYU2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.FAGCRWAX.js → chunk.PFPUD5HR.js} +2 -2
- package/cdn-versioned/chunks/{chunk.B4R4H2RH.js → chunk.PKCNX4R2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.QFWT54X4.js → chunk.PQW77KHE.js} +2 -2
- package/cdn-versioned/chunks/{chunk.REMEEDIQ.js → chunk.PURR56D5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VWI56VMW.js → chunk.Q3DFVGEW.js} +5 -5
- package/cdn-versioned/chunks/{chunk.T35R3Z5M.js → chunk.Q63S2Z2M.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RWLAIGRI.js → chunk.QK3WCIP5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.QDREJDJ2.js → chunk.RHC6WZ6V.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GH4YN7AR.js → chunk.RRJCCIDH.js} +2 -2
- package/cdn-versioned/chunks/{chunk.LQ2TVIG5.js → chunk.SPL6VR5S.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GUY5KRI5.js → chunk.SSE7T5OF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.VWYQ4GYH.js → chunk.SZNU4NHI.js} +2 -2
- package/cdn-versioned/chunks/{chunk.MADHUCSI.js → chunk.T7I5MFNS.js} +3 -3
- package/cdn-versioned/chunks/{chunk.UTB3OKJT.js → chunk.TIMZJKMF.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ADMPVU62.js → chunk.TX5WPWH2.js} +2 -2
- package/cdn-versioned/chunks/{chunk.GA5I2MP7.js → chunk.UI3ZVKSU.js} +2 -2
- package/cdn-versioned/chunks/{chunk.5KXVHZV5.js → chunk.V6IM4GAA.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RLALDY5L.js → chunk.VPBXFCBA.js} +2 -2
- package/cdn-versioned/chunks/{chunk.AOGCHS73.js → chunk.VSX5LY2D.js} +2 -2
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/{chunk.F5IUPQVT.js → chunk.WL6NNNG5.js} +2 -2
- package/cdn-versioned/chunks/{chunk.CPQBVK5K.js → chunk.WQZWYMH3.js} +2 -2
- package/cdn-versioned/chunks/{chunk.I7JUSAUC.js → chunk.WUXX2P2S.js} +2 -2
- package/cdn-versioned/chunks/{chunk.ZHVSNIJ2.js → chunk.XGVG7F7T.js} +2 -2
- package/cdn-versioned/chunks/{chunk.RFPANR7F.js → chunk.XHYIXZF4.js} +2 -2
- package/cdn-versioned/chunks/{chunk.PN4FJAN5.js → chunk.XZ5JTM6K.js} +2 -2
- package/cdn-versioned/chunks/{chunk.A2EU2YJG.js → chunk.Y4ZS3BWH.js} +2 -2
- package/cdn-versioned/chunks/{chunk.B3PR5MVH.js → chunk.YUDSN6HJ.js} +3 -3
- package/cdn-versioned/chunks/{chunk.GBGRCCRP.js → chunk.Z2M7BQV5.js} +2 -2
- package/cdn-versioned/components/accordion/accordion.d.ts +1 -1
- package/cdn-versioned/components/accordion/accordion.js +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/cdn-versioned/components/accordion-group/accordion-group.js +1 -1
- package/cdn-versioned/components/animation/animation.d.ts +1 -1
- package/cdn-versioned/components/animation/animation.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -1
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/badge/badge.d.ts +1 -1
- package/cdn-versioned/components/badge/badge.js +1 -1
- package/cdn-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/cdn-versioned/components/brandshape/brandshape.js +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/cdn-versioned/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn-versioned/components/button/button.d.ts +1 -1
- package/cdn-versioned/components/button/button.js +1 -1
- package/cdn-versioned/components/button-group/button-group.d.ts +1 -1
- package/cdn-versioned/components/button-group/button-group.js +1 -1
- package/cdn-versioned/components/carousel/carousel.d.ts +1 -1
- package/cdn-versioned/components/carousel/carousel.js +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/cdn-versioned/components/carousel-item/carousel-item.js +1 -1
- package/cdn-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/cdn-versioned/components/checkbox/checkbox.js +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/cdn-versioned/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn-versioned/components/combobox/combobox.d.ts +1 -1
- package/cdn-versioned/components/combobox/combobox.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +2 -1
- package/cdn-versioned/components/datepicker/datepicker.js +1 -1
- package/cdn-versioned/components/dialog/dialog.d.ts +1 -1
- package/cdn-versioned/components/dialog/dialog.js +1 -1
- package/cdn-versioned/components/divider/divider.d.ts +1 -1
- package/cdn-versioned/components/divider/divider.js +1 -1
- package/cdn-versioned/components/drawer/drawer.d.ts +1 -1
- package/cdn-versioned/components/drawer/drawer.js +1 -1
- package/cdn-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/cdn-versioned/components/dropdown/dropdown.js +1 -1
- package/cdn-versioned/components/expandable/expandable.d.ts +1 -1
- package/cdn-versioned/components/expandable/expandable.js +1 -1
- package/cdn-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/cdn-versioned/components/file-selector/file-selector.js +1 -1
- package/cdn-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/cdn-versioned/components/flipcard/flipcard.js +1 -1
- package/cdn-versioned/components/header/header.d.ts +1 -1
- package/cdn-versioned/components/header/header.js +1 -1
- package/cdn-versioned/components/icon/icon.d.ts +1 -1
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/include/include.d.ts +1 -1
- package/cdn-versioned/components/include/include.js +1 -1
- package/cdn-versioned/components/input/input.d.ts +1 -1
- package/cdn-versioned/components/input/input.js +1 -1
- package/cdn-versioned/components/link/link.d.ts +1 -1
- package/cdn-versioned/components/link/link.js +1 -1
- package/cdn-versioned/components/loader/loader.d.ts +1 -1
- package/cdn-versioned/components/loader/loader.js +1 -1
- package/cdn-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/cdn-versioned/components/map-marker/map-marker.js +1 -1
- package/cdn-versioned/components/menu/menu.d.ts +1 -1
- package/cdn-versioned/components/menu/menu.js +1 -1
- package/cdn-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/cdn-versioned/components/menu-item/menu-item.js +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/cdn-versioned/components/navigation-item/navigation-item.js +1 -1
- package/cdn-versioned/components/notification/notification.d.ts +1 -1
- package/cdn-versioned/components/notification/notification.js +1 -1
- package/cdn-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/cdn-versioned/components/optgroup/optgroup.js +1 -1
- package/cdn-versioned/components/option/option.d.ts +1 -1
- package/cdn-versioned/components/option/option.js +1 -1
- package/cdn-versioned/components/popup/popup.d.ts +1 -1
- package/cdn-versioned/components/popup/popup.js +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/cdn-versioned/components/progress-bar/progress-bar.js +1 -1
- package/cdn-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/cdn-versioned/components/quickfact/quickfact.js +1 -1
- package/cdn-versioned/components/radio/radio.d.ts +1 -1
- package/cdn-versioned/components/radio/radio.js +1 -1
- package/cdn-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/cdn-versioned/components/radio-button/radio-button.js +1 -1
- package/cdn-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/cdn-versioned/components/radio-group/radio-group.js +1 -1
- package/cdn-versioned/components/range/range.d.ts +1 -1
- package/cdn-versioned/components/range/range.js +1 -1
- package/cdn-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/cdn-versioned/components/range-tick/range-tick.js +1 -1
- package/cdn-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/cdn-versioned/components/scrollable/scrollable.js +1 -1
- package/cdn-versioned/components/select/select.d.ts +1 -1
- package/cdn-versioned/components/select/select.js +1 -1
- package/cdn-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/cdn-versioned/components/skeleton/skeleton.js +1 -1
- package/cdn-versioned/components/step/step.d.ts +1 -1
- package/cdn-versioned/components/step/step.js +1 -1
- package/cdn-versioned/components/step-group/step-group.d.ts +1 -1
- package/cdn-versioned/components/step-group/step-group.js +1 -1
- package/cdn-versioned/components/switch/switch.d.ts +1 -1
- package/cdn-versioned/components/switch/switch.js +1 -1
- package/cdn-versioned/components/tab/tab.d.ts +1 -1
- package/cdn-versioned/components/tab/tab.js +1 -1
- package/cdn-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/cdn-versioned/components/tab-group/tab-group.js +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/cdn-versioned/components/tab-panel/tab-panel.js +1 -1
- package/cdn-versioned/components/tag/tag.d.ts +1 -1
- package/cdn-versioned/components/tag/tag.js +1 -1
- package/cdn-versioned/components/teaser/teaser.js +1 -1
- package/cdn-versioned/components/teaser-media/teaser-media.js +1 -1
- package/cdn-versioned/components/textarea/textarea.d.ts +1 -1
- package/cdn-versioned/components/textarea/textarea.js +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/cdn-versioned/components/theme-listener/theme-listener.js +1 -1
- package/cdn-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/cdn-versioned/components/tooltip/tooltip.js +1 -1
- package/cdn-versioned/components/video/video.d.ts +1 -1
- package/cdn-versioned/components/video/video.js +1 -1
- package/cdn-versioned/custom-elements.json +721 -721
- package/cdn-versioned/internal/form.js +2 -2
- package/cdn-versioned/solid-components.bundle.js +87 -87
- package/cdn-versioned/solid-components.css +3 -3
- package/cdn-versioned/solid-components.iife.js +86 -86
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +166 -166
- package/cdn-versioned/web-types.json +280 -280
- package/dist/chunks/{chunk.IJ7UIFUE.js → chunk.2EXNVXP2.js} +1 -1
- package/dist/chunks/{chunk.6VFD5NZR.js → chunk.2M6Y3YHU.js} +1 -1
- package/dist/chunks/{chunk.4PVMCUXL.js → chunk.2NXJZVSN.js} +1 -1
- package/dist/chunks/{chunk.SHN2I24K.js → chunk.2OT7JZJP.js} +1 -1
- package/dist/chunks/{chunk.3X6YKZV2.js → chunk.2Y2MTVGF.js} +1 -1
- package/dist/chunks/{chunk.TAXXEJSP.js → chunk.3PHACHZ2.js} +1 -1
- package/dist/chunks/{chunk.YLTS3DRQ.js → chunk.42XKKRQ2.js} +1 -1
- package/dist/chunks/{chunk.5M5REO5V.js → chunk.4FXMBMSY.js} +1 -1
- package/dist/chunks/{chunk.X43JSG7P.js → chunk.4JC6XNQW.js} +1 -1
- package/dist/chunks/{chunk.TDFNLRUN.js → chunk.5JPFIM5W.js} +1 -1
- package/dist/chunks/{chunk.N7R2AS4G.js → chunk.5TU4CAN7.js} +1 -1
- package/dist/chunks/{chunk.4Q7OBQ4W.js → chunk.65FELEDA.js} +1 -1
- package/dist/chunks/{chunk.7C3QYV5V.js → chunk.67LY7Y75.js} +1 -1
- package/dist/chunks/{chunk.53ALFWOE.js → chunk.6F52A4JB.js} +1 -1
- package/dist/chunks/{chunk.DXBLDNFC.js → chunk.72LCNWVE.js} +1 -1
- package/dist/chunks/{chunk.GWALMBNP.js → chunk.7DQB3MN6.js} +1 -1
- package/dist/chunks/{chunk.X76XYLWV.js → chunk.7EXDALNL.js} +1 -1
- package/dist/chunks/{chunk.DNE5ASH4.js → chunk.AHIYNPL4.js} +1 -1
- package/dist/chunks/{chunk.WJDMGITX.js → chunk.ALJ34SPY.js} +1 -1
- package/dist/chunks/{chunk.EVCPPJPM.js → chunk.B5BWUIZC.js} +1 -1
- package/dist/chunks/{chunk.QN22ZMGT.js → chunk.BW5BXFWA.js} +1 -1
- package/dist/chunks/chunk.C3L34J75.js +93 -0
- package/dist/chunks/{chunk.Z46FZJNF.js → chunk.C4HDZU75.js} +1 -1
- package/dist/chunks/{chunk.L4XU56GO.js → chunk.CB7PF3MZ.js} +1 -1
- package/dist/chunks/{chunk.VAEJX7NE.js → chunk.CXFXIMXV.js} +1 -1
- package/dist/chunks/{chunk.IBO3DT5Q.js → chunk.DF2LZ65H.js} +1 -1
- package/dist/chunks/{chunk.AOCDBQ25.js → chunk.DGLSKBZE.js} +2 -2
- package/dist/chunks/{chunk.O3M4QLOJ.js → chunk.DZED227Y.js} +1 -1
- package/dist/chunks/{chunk.D5AXUWNZ.js → chunk.EQIZ7J5Z.js} +1 -1
- package/dist/chunks/{chunk.DZ4M5DL7.js → chunk.ES5DW7MC.js} +1 -1
- package/dist/chunks/{chunk.N2GBPM7O.js → chunk.HCADZIES.js} +1 -1
- package/dist/chunks/{chunk.FX6SKOH4.js → chunk.HFRDUE6W.js} +1 -1
- package/dist/chunks/{chunk.PZ6BUUCP.js → chunk.I3DVEGNB.js} +1 -1
- package/dist/chunks/{chunk.HM34VU45.js → chunk.I46TZJHO.js} +2 -2
- package/dist/chunks/{chunk.BNZVXMHF.js → chunk.JKJXDDJU.js} +1 -1
- package/dist/chunks/{chunk.4HAEWSYV.js → chunk.JPGYEMXS.js} +1 -1
- package/dist/chunks/{chunk.OO2LH4SE.js → chunk.JXDY64LH.js} +1 -1
- package/dist/chunks/{chunk.AQILCWGG.js → chunk.KSU44YSO.js} +1 -1
- package/dist/chunks/{chunk.WW2GYTA2.js → chunk.KXUT6UJL.js} +1 -1
- package/dist/chunks/{chunk.KRKT2A2K.js → chunk.LCQBGEHF.js} +72 -22
- package/dist/chunks/{chunk.N7K5KXEP.js → chunk.MPHRXV2B.js} +1 -1
- package/dist/chunks/{chunk.G2QMQ3TC.js → chunk.N5RQE7OC.js} +1 -1
- package/dist/chunks/{chunk.4XVYXK3Y.js → chunk.PAXRRXRW.js} +1 -1
- package/dist/chunks/{chunk.JQ3EFQAS.js → chunk.PGECK7YI.js} +1 -1
- package/dist/chunks/{chunk.ZSRPJGFN.js → chunk.QGCJ4WUV.js} +1 -1
- package/dist/chunks/{chunk.V52RU2QQ.js → chunk.QIYLIH7P.js} +1 -1
- package/dist/chunks/{chunk.Z6VBJGLD.js → chunk.QNHUD2SQ.js} +1 -1
- package/dist/chunks/{chunk.XFFYITQX.js → chunk.S2ZVBJYN.js} +1 -1
- package/dist/chunks/{chunk.QPJTXP3H.js → chunk.SEWHXNAY.js} +1 -1
- package/dist/chunks/{chunk.7XGGN33M.js → chunk.SG7H3CVK.js} +2 -2
- package/dist/chunks/{chunk.WCQW4CQT.js → chunk.SMRP2JEM.js} +1 -1
- package/dist/chunks/{chunk.UP7LZTGK.js → chunk.TFAIMBF7.js} +1 -1
- package/dist/chunks/{chunk.3J7VZBTS.js → chunk.TLAI6IVF.js} +1 -1
- package/dist/chunks/{chunk.JPKYXMRK.js → chunk.UORTR6WB.js} +1 -1
- package/dist/chunks/{chunk.QAKJW5ON.js → chunk.VX7JXCCH.js} +1 -1
- package/dist/chunks/{chunk.AEUPKYPF.js → chunk.XAU2YS2A.js} +1 -1
- package/dist/chunks/{chunk.YUF5NVHJ.js → chunk.XQMBT64Z.js} +1 -1
- package/dist/chunks/{chunk.PPCXX2VU.js → chunk.YJ46MX3X.js} +1 -1
- package/dist/chunks/{chunk.BEIIUIHO.js → chunk.YRKHHYV5.js} +1 -1
- package/dist/chunks/{chunk.WEFWQVW5.js → chunk.ZLPWCNY6.js} +1 -1
- package/dist/chunks/{chunk.WR3OMWJ5.js → chunk.ZQ6CXL6H.js} +1 -1
- package/dist/components/accordion/accordion.js +3 -3
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.js +7 -7
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +5 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.js +4 -4
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +4 -4
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/combobox/combobox.js +5 -5
- package/dist/components/datepicker/datepicker.d.ts +1 -0
- package/dist/components/datepicker/datepicker.js +5 -5
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +6 -6
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +3 -3
- package/dist/components/file-selector/file-selector.js +6 -6
- package/dist/components/flipcard/flipcard.js +6 -6
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.js +2 -2
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +3 -3
- package/dist/components/link/link.js +2 -2
- package/dist/components/loader/loader.js +2 -2
- package/dist/components/map-marker/map-marker.js +2 -2
- package/dist/components/menu/menu.js +2 -2
- package/dist/components/menu-item/menu-item.js +2 -2
- package/dist/components/navigation-item/navigation-item.js +4 -4
- package/dist/components/notification/notification.js +6 -6
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +3 -3
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quickfact/quickfact.js +4 -4
- package/dist/components/radio/radio.js +2 -2
- package/dist/components/radio-button/radio-button.js +2 -2
- package/dist/components/radio-group/radio-group.js +4 -4
- package/dist/components/range/range.js +5 -5
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +3 -3
- package/dist/components/select/select.js +5 -5
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/step/step.js +3 -3
- package/dist/components/step-group/step-group.js +2 -2
- package/dist/components/switch/switch.js +2 -2
- package/dist/components/tab/tab.js +2 -2
- package/dist/components/tab-group/tab-group.js +3 -3
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/theme-listener/theme-listener.js +2 -2
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/video/video.js +3 -3
- package/dist/custom-elements.json +1 -1
- package/dist/solid-components.js +61 -61
- package/dist/utilities/autocomplete-config.js +2 -2
- package/dist/web-types.json +1 -1
- package/dist-versioned/chunks/{chunk.IJ7UIFUE.js → chunk.2EXNVXP2.js} +3 -3
- package/dist-versioned/chunks/{chunk.6VFD5NZR.js → chunk.2M6Y3YHU.js} +5 -5
- package/dist-versioned/chunks/{chunk.4PVMCUXL.js → chunk.2NXJZVSN.js} +12 -12
- package/dist-versioned/chunks/{chunk.SHN2I24K.js → chunk.2OT7JZJP.js} +11 -11
- package/dist-versioned/chunks/{chunk.3X6YKZV2.js → chunk.2Y2MTVGF.js} +4 -4
- package/dist-versioned/chunks/{chunk.TAXXEJSP.js → chunk.3PHACHZ2.js} +8 -8
- package/dist-versioned/chunks/{chunk.YLTS3DRQ.js → chunk.42XKKRQ2.js} +7 -7
- package/dist-versioned/chunks/{chunk.5M5REO5V.js → chunk.4FXMBMSY.js} +4 -4
- package/dist-versioned/chunks/{chunk.X43JSG7P.js → chunk.4JC6XNQW.js} +5 -5
- package/dist-versioned/chunks/chunk.4VWOZ477.js +4 -4
- package/dist-versioned/chunks/{chunk.TDFNLRUN.js → chunk.5JPFIM5W.js} +4 -4
- package/dist-versioned/chunks/{chunk.N7R2AS4G.js → chunk.5TU4CAN7.js} +7 -7
- package/dist-versioned/chunks/{chunk.4Q7OBQ4W.js → chunk.65FELEDA.js} +4 -4
- package/dist-versioned/chunks/{chunk.7C3QYV5V.js → chunk.67LY7Y75.js} +5 -5
- package/dist-versioned/chunks/{chunk.53ALFWOE.js → chunk.6F52A4JB.js} +4 -4
- package/dist-versioned/chunks/{chunk.DXBLDNFC.js → chunk.72LCNWVE.js} +4 -4
- package/dist-versioned/chunks/{chunk.GWALMBNP.js → chunk.7DQB3MN6.js} +8 -8
- package/dist-versioned/chunks/{chunk.X76XYLWV.js → chunk.7EXDALNL.js} +6 -6
- package/dist-versioned/chunks/{chunk.DNE5ASH4.js → chunk.AHIYNPL4.js} +2 -2
- package/dist-versioned/chunks/{chunk.WJDMGITX.js → chunk.ALJ34SPY.js} +5 -5
- package/dist-versioned/chunks/{chunk.EVCPPJPM.js → chunk.B5BWUIZC.js} +3 -3
- package/dist-versioned/chunks/{chunk.QN22ZMGT.js → chunk.BW5BXFWA.js} +6 -6
- package/dist-versioned/chunks/chunk.C3L34J75.js +93 -0
- package/dist-versioned/chunks/chunk.C3WIBDGG.js +2 -2
- package/dist-versioned/chunks/{chunk.Z46FZJNF.js → chunk.C4HDZU75.js} +3 -3
- package/dist-versioned/chunks/{chunk.L4XU56GO.js → chunk.CB7PF3MZ.js} +7 -7
- package/dist-versioned/chunks/{chunk.VAEJX7NE.js → chunk.CXFXIMXV.js} +14 -14
- package/dist-versioned/chunks/{chunk.IBO3DT5Q.js → chunk.DF2LZ65H.js} +3 -3
- package/dist-versioned/chunks/{chunk.AOCDBQ25.js → chunk.DGLSKBZE.js} +5 -5
- package/dist-versioned/chunks/{chunk.O3M4QLOJ.js → chunk.DZED227Y.js} +2 -2
- package/dist-versioned/chunks/{chunk.D5AXUWNZ.js → chunk.EQIZ7J5Z.js} +26 -26
- package/dist-versioned/chunks/{chunk.DZ4M5DL7.js → chunk.ES5DW7MC.js} +3 -3
- package/dist-versioned/chunks/{chunk.N2GBPM7O.js → chunk.HCADZIES.js} +24 -24
- package/dist-versioned/chunks/{chunk.FX6SKOH4.js → chunk.HFRDUE6W.js} +12 -12
- package/dist-versioned/chunks/{chunk.PZ6BUUCP.js → chunk.I3DVEGNB.js} +12 -12
- package/dist-versioned/chunks/{chunk.HM34VU45.js → chunk.I46TZJHO.js} +12 -12
- package/dist-versioned/chunks/{chunk.BNZVXMHF.js → chunk.JKJXDDJU.js} +4 -4
- package/dist-versioned/chunks/{chunk.4HAEWSYV.js → chunk.JPGYEMXS.js} +3 -3
- package/dist-versioned/chunks/{chunk.OO2LH4SE.js → chunk.JXDY64LH.js} +11 -11
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.AQILCWGG.js → chunk.KSU44YSO.js} +8 -8
- package/dist-versioned/chunks/{chunk.WW2GYTA2.js → chunk.KXUT6UJL.js} +3 -3
- package/dist-versioned/chunks/{chunk.KRKT2A2K.js → chunk.LCQBGEHF.js} +77 -27
- package/dist-versioned/chunks/{chunk.N7K5KXEP.js → chunk.MPHRXV2B.js} +2 -2
- package/dist-versioned/chunks/{chunk.G2QMQ3TC.js → chunk.N5RQE7OC.js} +2 -2
- package/dist-versioned/chunks/{chunk.4XVYXK3Y.js → chunk.PAXRRXRW.js} +5 -5
- package/dist-versioned/chunks/{chunk.JQ3EFQAS.js → chunk.PGECK7YI.js} +2 -2
- package/dist-versioned/chunks/{chunk.ZSRPJGFN.js → chunk.QGCJ4WUV.js} +6 -6
- package/dist-versioned/chunks/{chunk.V52RU2QQ.js → chunk.QIYLIH7P.js} +6 -6
- package/dist-versioned/chunks/{chunk.Z6VBJGLD.js → chunk.QNHUD2SQ.js} +43 -43
- package/dist-versioned/chunks/{chunk.XFFYITQX.js → chunk.S2ZVBJYN.js} +6 -6
- package/dist-versioned/chunks/{chunk.QPJTXP3H.js → chunk.SEWHXNAY.js} +6 -6
- package/dist-versioned/chunks/{chunk.7XGGN33M.js → chunk.SG7H3CVK.js} +14 -14
- package/dist-versioned/chunks/{chunk.WCQW4CQT.js → chunk.SMRP2JEM.js} +2 -2
- package/dist-versioned/chunks/{chunk.UP7LZTGK.js → chunk.TFAIMBF7.js} +12 -12
- package/dist-versioned/chunks/{chunk.3J7VZBTS.js → chunk.TLAI6IVF.js} +3 -3
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.JPKYXMRK.js → chunk.UORTR6WB.js} +6 -6
- package/dist-versioned/chunks/{chunk.QAKJW5ON.js → chunk.VX7JXCCH.js} +3 -3
- package/dist-versioned/chunks/{chunk.AEUPKYPF.js → chunk.XAU2YS2A.js} +6 -6
- package/dist-versioned/chunks/{chunk.YUF5NVHJ.js → chunk.XQMBT64Z.js} +9 -9
- package/dist-versioned/chunks/{chunk.PPCXX2VU.js → chunk.YJ46MX3X.js} +7 -7
- package/dist-versioned/chunks/{chunk.BEIIUIHO.js → chunk.YRKHHYV5.js} +3 -3
- package/dist-versioned/chunks/{chunk.WEFWQVW5.js → chunk.ZLPWCNY6.js} +15 -15
- package/dist-versioned/chunks/{chunk.WR3OMWJ5.js → chunk.ZQ6CXL6H.js} +6 -6
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +3 -3
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +4 -4
- package/dist-versioned/components/animation/animation.d.ts +1 -1
- package/dist-versioned/components/animation/animation.js +2 -2
- package/dist-versioned/components/audio/audio.d.ts +1 -1
- package/dist-versioned/components/audio/audio.js +7 -7
- package/dist-versioned/components/badge/badge.d.ts +1 -1
- package/dist-versioned/components/badge/badge.js +2 -2
- package/dist-versioned/components/brandshape/brandshape.d.ts +1 -1
- package/dist-versioned/components/brandshape/brandshape.js +2 -2
- package/dist-versioned/components/breadcrumb/breadcrumb.d.ts +1 -1
- package/dist-versioned/components/breadcrumb/breadcrumb.js +5 -5
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +4 -4
- package/dist-versioned/components/button-group/button-group.d.ts +1 -1
- package/dist-versioned/components/button-group/button-group.js +2 -2
- package/dist-versioned/components/carousel/carousel.d.ts +1 -1
- package/dist-versioned/components/carousel/carousel.js +4 -4
- package/dist-versioned/components/carousel-item/carousel-item.d.ts +1 -1
- package/dist-versioned/components/carousel-item/carousel-item.js +2 -2
- package/dist-versioned/components/checkbox/checkbox.d.ts +1 -1
- package/dist-versioned/components/checkbox/checkbox.js +3 -3
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +3 -3
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +5 -5
- package/dist-versioned/components/datepicker/datepicker.d.ts +2 -1
- package/dist-versioned/components/datepicker/datepicker.js +5 -5
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +6 -6
- package/dist-versioned/components/divider/divider.d.ts +1 -1
- package/dist-versioned/components/divider/divider.js +2 -2
- package/dist-versioned/components/drawer/drawer.d.ts +1 -1
- package/dist-versioned/components/drawer/drawer.js +6 -6
- package/dist-versioned/components/dropdown/dropdown.d.ts +1 -1
- package/dist-versioned/components/dropdown/dropdown.js +3 -3
- package/dist-versioned/components/expandable/expandable.d.ts +1 -1
- package/dist-versioned/components/expandable/expandable.js +3 -3
- package/dist-versioned/components/file-selector/file-selector.d.ts +1 -1
- package/dist-versioned/components/file-selector/file-selector.js +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +6 -6
- package/dist-versioned/components/header/header.d.ts +1 -1
- package/dist-versioned/components/header/header.js +2 -2
- package/dist-versioned/components/icon/icon.d.ts +1 -1
- package/dist-versioned/components/icon/icon.js +2 -2
- package/dist-versioned/components/include/include.d.ts +1 -1
- package/dist-versioned/components/include/include.js +2 -2
- package/dist-versioned/components/input/input.d.ts +1 -1
- package/dist-versioned/components/input/input.js +3 -3
- package/dist-versioned/components/link/link.d.ts +1 -1
- package/dist-versioned/components/link/link.js +2 -2
- package/dist-versioned/components/loader/loader.d.ts +1 -1
- package/dist-versioned/components/loader/loader.js +2 -2
- package/dist-versioned/components/map-marker/map-marker.d.ts +1 -1
- package/dist-versioned/components/map-marker/map-marker.js +2 -2
- package/dist-versioned/components/menu/menu.d.ts +1 -1
- package/dist-versioned/components/menu/menu.js +2 -2
- package/dist-versioned/components/menu-item/menu-item.d.ts +1 -1
- package/dist-versioned/components/menu-item/menu-item.js +2 -2
- package/dist-versioned/components/navigation-item/navigation-item.d.ts +1 -1
- package/dist-versioned/components/navigation-item/navigation-item.js +4 -4
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +6 -6
- package/dist-versioned/components/optgroup/optgroup.d.ts +1 -1
- package/dist-versioned/components/optgroup/optgroup.js +3 -3
- package/dist-versioned/components/option/option.d.ts +1 -1
- package/dist-versioned/components/option/option.js +3 -3
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/progress-bar/progress-bar.d.ts +1 -1
- package/dist-versioned/components/progress-bar/progress-bar.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +4 -4
- package/dist-versioned/components/radio/radio.d.ts +1 -1
- package/dist-versioned/components/radio/radio.js +2 -2
- package/dist-versioned/components/radio-button/radio-button.d.ts +1 -1
- package/dist-versioned/components/radio-button/radio-button.js +2 -2
- package/dist-versioned/components/radio-group/radio-group.d.ts +1 -1
- package/dist-versioned/components/radio-group/radio-group.js +4 -4
- package/dist-versioned/components/range/range.d.ts +1 -1
- package/dist-versioned/components/range/range.js +5 -5
- package/dist-versioned/components/range-tick/range-tick.d.ts +1 -1
- package/dist-versioned/components/range-tick/range-tick.js +2 -2
- package/dist-versioned/components/scrollable/scrollable.d.ts +1 -1
- package/dist-versioned/components/scrollable/scrollable.js +3 -3
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +5 -5
- package/dist-versioned/components/skeleton/skeleton.d.ts +1 -1
- package/dist-versioned/components/skeleton/skeleton.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +3 -3
- package/dist-versioned/components/step-group/step-group.d.ts +1 -1
- package/dist-versioned/components/step-group/step-group.js +2 -2
- package/dist-versioned/components/switch/switch.d.ts +1 -1
- package/dist-versioned/components/switch/switch.js +2 -2
- package/dist-versioned/components/tab/tab.d.ts +1 -1
- package/dist-versioned/components/tab/tab.js +2 -2
- package/dist-versioned/components/tab-group/tab-group.d.ts +1 -1
- package/dist-versioned/components/tab-group/tab-group.js +3 -3
- package/dist-versioned/components/tab-panel/tab-panel.d.ts +1 -1
- package/dist-versioned/components/tab-panel/tab-panel.js +2 -2
- package/dist-versioned/components/tag/tag.d.ts +1 -1
- package/dist-versioned/components/tag/tag.js +3 -3
- package/dist-versioned/components/teaser/teaser.js +2 -2
- package/dist-versioned/components/teaser-media/teaser-media.js +2 -2
- package/dist-versioned/components/textarea/textarea.d.ts +1 -1
- package/dist-versioned/components/textarea/textarea.js +3 -3
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +1 -1
- package/dist-versioned/components/theme-listener/theme-listener.js +2 -2
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +4 -4
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +3 -3
- package/dist-versioned/custom-elements.json +721 -721
- package/dist-versioned/internal/form.js +2 -2
- package/dist-versioned/solid-components.css +3 -3
- package/dist-versioned/solid-components.js +61 -61
- package/dist-versioned/utilities/autocomplete-config.js +2 -2
- package/dist-versioned/vscode.html-custom-data.json +166 -166
- package/dist-versioned/web-types.json +280 -280
- package/package.json +2 -2
- package/cdn/chunks/chunk.H3V3YZCR.js +0 -2
- package/cdn/chunks/chunk.Z44RDBCE.js +0 -26
- package/cdn-versioned/chunks/chunk.H3V3YZCR.js +0 -2
- package/cdn-versioned/chunks/chunk.Z44RDBCE.js +0 -26
- package/dist/chunks/chunk.PVSLBUSF.js +0 -93
- package/dist-versioned/chunks/chunk.PVSLBUSF.js +0 -93
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.NL7YFV4O.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.MEDJPDBB.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h}from"./chunk.
|
|
1
|
+
import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.NL7YFV4O.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as g}from"./chunk.MEDJPDBB.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as r,h}from"./chunk.J45556RK.js";import{b as f}from"./chunk.OBAEIKIV.js";import{b as l,e as d,f as c}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.localize=new g(this);this.open=!1}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0",this.open&&(this.accordion.open=!0),this.accordionObserver=new MutationObserver(e=>{for(let s of e)s.type==="attributes"&&s.attributeName==="open"&&(this.accordion.open?this.show():this.hide())}),this.accordionObserver.observe(this.accordion,{attributes:!0})}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.accordionObserver)==null||e.disconnect()}handleSummaryClick(e){e.preventDefault(),this.open?this.hide():this.show()}handleSummaryKeyDown(e){(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.open?this.hide():this.show()),(e.key==="ArrowUp"||e.key==="ArrowLeft")&&(e.preventDefault(),this.hide()),(e.key==="ArrowDown"||e.key==="ArrowRight")&&(e.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.accordion.open=!0,this.emit("sd-show",{cancelable:!0}).defaultPrevented){this.open=!1,this.accordion.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:s,options:a}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,c(s,this.body.scrollHeight),a),this.body.style.height="auto",this.emit("sd-after-show")}else{if(this.emit("sd-hide",{cancelable:!0}).defaultPrevented){this.accordion.open=!0,this.open=!0;return}await d(this.body);let{keyframes:s,options:a}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,c(s,this.body.scrollHeight),a),this.body.hidden=!0,this.body.style.height="auto",this.accordion.open=!1,this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,u(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,u(this,"sd-after-hide")}render(){return w`<details part="base"><summary part="header" id="header" class="${i("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-accordion-padding-block focus-visible:focus-outline focus-visible:z-10 relative group transition-colors ease-in-out duration-fast hover:sd-accordion--hover-color-background")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${i(!this.open&&"opacity-0","w-1 sd-accordion__indicator-color absolute left-0 transition-height duration-fast ease-in-out h-[calc(100%-16px)] group-hover:h-full")}"></div><slot name="summary" part="summary" class="${i(this.open?"sd-accordion--open-color-text":"sd-accordion-color-text","flex flex-auto items-center text-left")}">${this.summary}</slot><span part="summary-icon" class="${i("flex flex-grow-0 flex-shrink-0 flex-auto items-center transition-all ease-in-out duration-medium text-xl",this.open&&"rotate-180")}"><slot name="expand-icon" class="${i(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-bottom"></sd-icon></slot><slot name="collapse-icon" class="${i(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-bottom"></sd-icon></slot></span></summary><div part="content" id="content" class="overflow-hidden"><slot part="content__slot" class="block px-4 py-6" role="region" aria-labelledby="header"></slot></div></details>`}};t.styles=[...h.styles,f`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-color:rgba(var(--sd-accordion-color-border,var(--sd-accordion-color-text)));border-block-width:var(--sd-accordion-border-width)}[part=summary-icon] sd-icon{color:rgb(var(--sd-accordion-color-icon-fill))}`],o([r('[part="base"]')],t.prototype,"accordion",2),o([r('[part="header"]')],t.prototype,"header",2),o([r('[part="content"]')],t.prototype,"body",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({reflect:!0})],t.prototype,"summary",2),o([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([y("sd-accordion")],t);p("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});p("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.Z44RDBCE.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
1
|
+
import{a as kt}from"./chunk.4ZZFYCXX.js";import{a as Dt,b as O,d as Rt,h as Et}from"./chunk.J45556RK.js";import{b as $t,e as Ot}from"./chunk.OBAEIKIV.js";import{a as P,b as N,c as mt,e as A}from"./chunk.6EV4YU6C.js";var H=Math.min,D=Math.max,at=Math.round,ft=Math.floor,W=t=>({x:t,y:t}),me={left:"right",right:"left",bottom:"top",top:"bottom"};function Ct(t,e,n){return D(t,H(e,n))}function K(t,e){return typeof t=="function"?t(e):t}function X(t){return t.split("-")[0]}function G(t){return t.split("-")[1]}function Tt(t){return t==="x"?"y":"x"}function pt(t){return t==="y"?"height":"width"}function _(t){let e=t[0];return e==="t"||e==="b"?"y":"x"}function wt(t){return Tt(_(t))}function Nt(t,e,n){n===void 0&&(n=!1);let i=G(t),o=wt(t),r=pt(o),s=o==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=ct(s)),[s,ct(s)]}function Ht(t){let e=ct(t);return[gt(t),e,gt(e)]}function gt(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}var Ft=["left","right"],Bt=["right","left"],ge=["top","bottom"],pe=["bottom","top"];function we(t,e,n){switch(t){case"top":case"bottom":return n?e?Bt:Ft:e?Ft:Bt;case"left":case"right":return e?ge:pe;default:return[]}}function Wt(t,e,n,i){let o=G(t),r=we(X(t),n==="start",i);return o&&(r=r.map(s=>s+"-"+o),e&&(r=r.concat(r.map(gt)))),r}function ct(t){let e=X(t);return me[e]+t.slice(e.length)}function ye(t){var e,n,i,o;return{top:(e=t.top)!=null?e:0,right:(n=t.right)!=null?n:0,bottom:(i=t.bottom)!=null?i:0,left:(o=t.left)!=null?o:0}}function Lt(t){return typeof t!="number"?ye(t):{top:t,right:t,bottom:t,left:t}}function J(t){let{x:e,y:n,width:i,height:o}=t;return{width:i,height:o,top:n,left:e,right:e+i,bottom:n+o,x:e,y:n}}function _t(t,e,n){let{reference:i,floating:o}=t,r=_(e),s=wt(e),l=pt(s),c=X(e),a=r==="y",u=i.x+i.width/2-o.width/2,h=i.y+i.height/2-o.height/2,d=i[l]/2-o[l]/2,f;switch(c){case"top":f={x:u,y:i.y-o.height};break;case"bottom":f={x:u,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:h};break;case"left":f={x:i.x-o.width,y:h};break;default:f={x:i.x,y:i.y}}let m=G(e);return m&&(f[s]+=d*(m==="end"?1:-1)*(n&&a?-1:1)),f}async function Vt(t,e){var n;e===void 0&&(e={});let{x:i,y:o,platform:r,rects:s,elements:l,strategy:c}=t,{boundary:a="clippingAncestors",rootBoundary:u="viewport",elementContext:h="floating",altBoundary:d=!1,padding:f=0}=K(e,t),m=Lt(f),w=l[d?h==="floating"?"reference":"floating":h],p=J(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(l.floating)),boundary:a,rootBoundary:u,strategy:c})),x=h==="floating"?{x:i,y:o,width:s.floating.width,height:s.floating.height}:s.reference,b=await(r.getOffsetParent==null?void 0:r.getOffsetParent(l.floating)),v=await(r.isElement==null?void 0:r.isElement(b))&&await(r.getScale==null?void 0:r.getScale(b))||{x:1,y:1},E=J(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:x,offsetParent:b,strategy:c}):x);return{top:(p.top-E.top+m.top)/v.y,bottom:(E.bottom-p.bottom+m.bottom)/v.y,left:(p.left-E.left+m.left)/v.x,right:(E.right-p.right+m.right)/v.x}}var ve=50,jt=async(t,e,n)=>{let{placement:i="bottom",strategy:o="absolute",middleware:r=[],platform:s}=n,l=s.detectOverflow?s:N(P({},s),{detectOverflow:Vt}),c=await(s.isRTL==null?void 0:s.isRTL(e)),a=await s.getElementRects({reference:t,floating:e,strategy:o}),{x:u,y:h}=_t(a,i,c),d=i,f=0,m={};for(let g=0;g<r.length;g++){let w=r[g];if(!w)continue;let{name:p,fn:x}=w,{x:b,y:v,data:E,reset:R}=await x({x:u,y:h,initialPlacement:i,placement:d,strategy:o,middlewareData:m,rects:a,platform:l,elements:{reference:t,floating:e}});u=b!=null?b:u,h=v!=null?v:h,m[p]=P(P({},m[p]),E),R&&f<ve&&(f++,typeof R=="object"&&(R.placement&&(d=R.placement),R.rects&&(a=R.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:o}):R.rects),{x:u,y:h}=_t(a,d,c)),g=-1)}return{x:u,y:h,placement:d,strategy:o,middlewareData:m}},It=t=>({name:"arrow",options:t,async fn(e){let{x:n,y:i,placement:o,rects:r,platform:s,elements:l,middlewareData:c}=e,{element:a,padding:u=0}=K(t,e)||{};if(a==null)return{};let h=Lt(u),d={x:n,y:i},f=wt(o),m=pt(f),g=await s.getDimensions(a),w=f==="y",p=w?"top":"left",x=w?"bottom":"right",b=w?"clientHeight":"clientWidth",v=r.reference[m]+r.reference[f]-d[f]-r.floating[m],E=d[f]-r.reference[f],R=await(s.getOffsetParent==null?void 0:s.getOffsetParent(a)),L=R?R[b]:0;(!L||!await(s.isElement==null?void 0:s.isElement(R)))&&(L=l.floating[b]||r.floating[m]);let z=v/2-E/2,S=L/2-g[m]/2-1,C=H(h[p],S),rt=H(h[x],S),st=L-g[m]-rt,B=L/2-g[m]/2+z,et=Ct(C,B,st),M=!c.arrow&&G(o)!=null&&B!==et&&r.reference[m]/2-(B<C?C:rt)-g[m]/2<0,q=M?B<C?B-C:B-st:0;return{[f]:d[f]+q,data:P({[f]:et,centerOffset:B-et-q},M&&{alignmentOffset:q}),reset:M}}});var Xt=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,i;let{placement:o,middlewareData:r,rects:s,initialPlacement:l,platform:c,elements:a}=e,et=K(t,e),{mainAxis:u=!0,crossAxis:h=!0,fallbackPlacements:d,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0}=et,w=mt(et,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=r.arrow)!=null&&n.alignmentOffset)return{};let p=X(o),x=_(l),b=X(l)===l,v=await(c.isRTL==null?void 0:c.isRTL(a.floating)),E=d||(b||!g?[ct(l)]:Ht(l)),R=m!=="none";!d&&R&&E.push(...Wt(l,g,m,v));let L=[l,...E],z=await c.detectOverflow(e,w),S=[],C=((i=r.flip)==null?void 0:i.overflows)||[];if(u&&S.push(z[p]),h){let M=Nt(o,s,v);S.push(z[M[0]],z[M[1]])}if(C=[...C,{placement:o,overflows:S}],!S.every(M=>M<=0)){var rt,st;let M=(((rt=r.flip)==null?void 0:rt.index)||0)+1,q=L[M];if(q&&(!(h==="alignment"?x!==_(q):!1)||C.every($=>_($.placement)===x?$.overflows[0]>0:!0)))return{data:{index:M,overflows:C},reset:{placement:q}};let lt=(st=C.filter(U=>U.overflows[0]<=0).sort((U,$)=>U.overflows[1]-$.overflows[1])[0])==null?void 0:st.placement;if(!lt)switch(f){case"bestFit":{var B;let U=(B=C.filter($=>{if(R){let I=_($.placement);return I===x||I==="y"}return!0}).map($=>[$.placement,$.overflows.filter(I=>I>0).reduce((I,de)=>I+de,0)]).sort(($,I)=>$[1]-I[1])[0])==null?void 0:B[0];U&&(lt=U);break}case"initialPlacement":lt=l;break}if(o!==lt)return{reset:{placement:lt}}}return{}}}};var xe=new Set(["left","top"]);async function be(t,e){let{placement:n,platform:i,elements:o}=t,r=await(i.isRTL==null?void 0:i.isRTL(o.floating)),s=X(n),l=G(n),c=_(n)==="y",a=xe.has(s)?-1:1,u=r&&c?-1:1,h=K(e,t),{mainAxis:d,crossAxis:f,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:h.mainAxis||0,crossAxis:h.crossAxis||0,alignmentAxis:h.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),c?{x:f*u,y:d*a}:{x:d*a,y:f*u}}var Yt=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,i;let{x:o,y:r,placement:s,middlewareData:l}=e,c=await be(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:o+c.x,y:r+c.y,data:N(P({},c),{placement:s})}}}},qt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){let{x:n,y:i,placement:o,platform:r}=e,x=K(t,e),{mainAxis:s=!0,crossAxis:l=!1,limiter:c={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}}}=x,a=mt(x,["mainAxis","crossAxis","limiter"]),u={x:n,y:i},h=await r.detectOverflow(e,a),d=_(o),f=Tt(d),m=u[f],g=u[d],w=(b,v)=>Ct(v+h[b==="y"?"top":"left"],v,v-h[b==="y"?"bottom":"right"]);s&&(m=w(f,m)),l&&(g=w(d,g));let p=c.fn(N(P({},e),{[f]:m,[d]:g}));return N(P({},p),{data:{x:p.x-n,y:p.y-i,enabled:{[f]:s,[d]:l}}})}}};var Ut=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){let{placement:n,rects:i,platform:o,elements:r}=e,S=K(t,e),{apply:s=()=>{}}=S,l=mt(S,["apply"]),c=await o.detectOverflow(e,l),a=X(n),u=G(n),h=_(n)==="y",{width:d,height:f}=i.floating,m,g;a==="top"||a==="bottom"?(m=a,g=u===(await(o.isRTL==null?void 0:o.isRTL(r.floating))?"start":"end")?"left":"right"):(g=a,m=u==="end"?"top":"bottom");let w=f-c.top-c.bottom,p=d-c.left-c.right,x=H(f-c[m],w),b=H(d-c[g],p),v=e.middlewareData.shift,E=!v,R=x,L=b;v!=null&&v.enabled.x&&(L=p),v!=null&&v.enabled.y&&(R=w),E&&!u&&(h?L=d-2*D(c.left,c.right):R=f-2*D(c.top,c.bottom)),await s(N(P({},e),{availableWidth:L,availableHeight:R}));let z=await o.getDimensions(r.floating);return d!==z.width||f!==z.height?{reset:{rects:!0}}:{}}}};function yt(){return typeof window!="undefined"}function Z(t){return Gt(t)?(t.nodeName||"").toLowerCase():"#document"}function T(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function V(t){var e;return(e=(Gt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Gt(t){return yt()?t instanceof Node||t instanceof T(t).Node:!1}function k(t){return yt()?t instanceof Element||t instanceof T(t).Element:!1}function j(t){return yt()?t instanceof HTMLElement||t instanceof T(t).HTMLElement:!1}function Kt(t){return!yt()||typeof ShadowRoot=="undefined"?!1:t instanceof ShadowRoot||t instanceof T(t).ShadowRoot}function ut(t){let{overflow:e,overflowX:n,overflowY:i,display:o}=F(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+n)&&o!=="inline"&&o!=="contents"}function Jt(t){return/^(table|td|th)$/.test(Z(t))}function ht(t){try{if(t.matches(":popover-open"))return!0}catch(e){}try{return t.matches(":modal")}catch(e){return!1}}var Ae=/transform|translate|scale|rotate|perspective|filter/,Oe=/paint|layout|strict|content/,Q=t=>!!t&&t!=="none",Pt;function vt(t){let e=k(t)?F(t):t;return Q(e.transform)||Q(e.translate)||Q(e.scale)||Q(e.rotate)||Q(e.perspective)||!xt()&&(Q(e.backdropFilter)||Q(e.filter))||Ae.test(e.willChange||"")||Oe.test(e.contain||"")}function Qt(t){let e=Y(t);for(;j(e)&&!it(e);){if(vt(e))return e;if(ht(e))return null;e=Y(e)}return null}function xt(){return Pt==null&&(Pt=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Pt}function it(t){return/^(html|body|#document)$/.test(Z(t))}function F(t){return T(t).getComputedStyle(t)}function dt(t){return k(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Y(t){if(Z(t)==="html")return t;let e=t.assignedSlot||t.parentNode||Kt(t)&&t.host||V(t);return Kt(e)?e.host:e}function Zt(t){let e=Y(t);return it(e)?(t.ownerDocument||t).body:j(e)&&ut(e)?e:Zt(e)}function nt(t,e,n){var i;e===void 0&&(e=[]),n===void 0&&(n=!0);let o=Zt(t),r=o===((i=t.ownerDocument)==null?void 0:i.body),s=T(o);if(r){let l=bt(s);return e.concat(s,s.visualViewport||[],ut(o)?o:[],l&&n?nt(l):[])}else return e.concat(o,nt(o,[],n))}function bt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function ne(t){let e=F(t),n=parseFloat(e.width)||0,i=parseFloat(e.height)||0,o=j(t),r=o?t.offsetWidth:n,s=o?t.offsetHeight:i,l=at(n)!==r||at(i)!==s;return l&&(n=r,i=s),{width:n,height:i,$:l}}function zt(t){return k(t)?t:t.contextElement}function ot(t){let e=zt(t);if(!j(e))return W(1);let n=e.getBoundingClientRect(),{width:i,height:o,$:r}=ne(e),s=(r?at(n.width):n.width)/i,l=(r?at(n.height):n.height)/o;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}var Re=W(0);function ie(t){let e=T(t);return!xt()||!e.visualViewport?Re:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ee(t,e,n){return e===void 0&&(e=!1),!!n&&e&&n===T(t)}function tt(t,e,n,i){e===void 0&&(e=!1),n===void 0&&(n=!1);let o=t.getBoundingClientRect(),r=zt(t),s=W(1);e&&(i?k(i)&&(s=ot(i)):s=ot(t));let l=Ee(r,n,i)?ie(r):W(0),c=(o.left+l.x)/s.x,a=(o.top+l.y)/s.y,u=o.width/s.x,h=o.height/s.y;if(r&&i){let d=T(r),f=k(i)?T(i):i,m=d,g=bt(m);for(;g&&f!==m;){let w=ot(g),p=g.getBoundingClientRect(),x=F(g),b=p.left+(g.clientLeft+parseFloat(x.paddingLeft))*w.x,v=p.top+(g.clientTop+parseFloat(x.paddingTop))*w.y;c*=w.x,a*=w.y,u*=w.x,h*=w.y,c+=b,a+=v,m=T(g),g=bt(m)}}return J({width:u,height:h,x:c,y:a})}function At(t,e){let n=dt(t).scrollLeft;return e?e.left+n:tt(V(t)).left+n}function oe(t,e){let n=t.getBoundingClientRect(),i=n.left+e.scrollLeft-At(t,n),o=n.top+e.scrollTop;return{x:i,y:o}}function Ce(t){let{elements:e,rect:n,offsetParent:i,strategy:o}=t,r=o==="fixed",s=V(i),l=e?ht(e.floating):!1;if(i===s||l&&r)return n;let c={scrollLeft:0,scrollTop:0},a=W(1),u=W(0),h=j(i);if((h||!r)&&((Z(i)!=="body"||ut(s))&&(c=dt(i)),h)){let f=tt(i);a=ot(i),u.x=f.x+i.clientLeft,u.y=f.y+i.clientTop}let d=s&&!h&&!r?oe(s,c):W(0);return{width:n.width*a.x,height:n.height*a.y,x:n.x*a.x-c.scrollLeft*a.x+u.x+d.x,y:n.y*a.y-c.scrollTop*a.y+u.y+d.y}}function Te(t){return t.getClientRects?Array.from(t.getClientRects()):[]}function Le(t){let e=dt(t),n=t.ownerDocument.body,i=D(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),o=D(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),r=-e.scrollLeft+At(t),s=-e.scrollTop;return F(n).direction==="rtl"&&(r+=D(t.clientWidth,n.clientWidth)-i),{width:i,height:o,x:r,y:s}}var Pe=25;function Se(t,e,n){n===void 0&&(n="viewport");let i=n==="layoutViewport",o=T(t),r=V(t),s=o.visualViewport,l=r.clientWidth,c=r.clientHeight,a=0,u=0;if(s){let d=!xt()||e==="fixed";i?d||(a=-s.offsetLeft,u=-s.offsetTop):(l=s.width,c=s.height,d&&(a=s.offsetLeft,u=s.offsetTop))}if(At(r)<=0){let d=r.ownerDocument,f=d.body,m=getComputedStyle(f),g=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,w=Math.abs(r.clientWidth-f.clientWidth-g),p=getComputedStyle(r).scrollbarGutter==="stable both-edges"?w/2:w;p<=Pe&&(l-=p)}return{width:l,height:c,x:a,y:u}}function ze(t,e){let n=tt(t,!0,e==="fixed"),i=n.top+t.clientTop,o=n.left+t.clientLeft,r=ot(t),s=t.clientWidth*r.x,l=t.clientHeight*r.y,c=o*r.x,a=i*r.y;return{width:s,height:l,x:c,y:a}}function te(t,e,n){let i;if(e==="viewport"||e==="layoutViewport")i=Se(t,n,e);else if(e==="document")i=Le(V(t));else if(k(e))i=ze(e,n);else{let o=ie(t);i={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return J(i)}function Me(t,e){let n=e.get(t);if(n)return n;let i=nt(t,[],!1).filter(l=>k(l)&&Z(l)!=="body"),o=null,r=F(t).position==="fixed",s=r?Y(t):t;for(;k(s)&&!it(s);){let l=F(s),c=vt(s),a=o?o.position:r?"fixed":"";!c&&(a==="fixed"||a==="absolute"&&l.position==="static")?i=i.filter(h=>h!==s):o=l,s=Y(s)}return e.set(t,i),i}function $e(t){let{element:e,boundary:n,rootBoundary:i,strategy:o}=t,s=[...n==="clippingAncestors"?ht(e)?[]:Me(e,this._c):[].concat(n),i],l=te(e,s[0],o),c=l.top,a=l.right,u=l.bottom,h=l.left;for(let d=1;d<s.length;d++){let f=te(e,s[d],o);c=D(f.top,c),a=H(f.right,a),u=H(f.bottom,u),h=D(f.left,h)}return{width:a-h,height:u-c,x:h,y:c}}function De(t){let{width:e,height:n}=ne(t);return{width:e,height:n}}function ke(t,e,n){let i=j(e),o=V(e),r=n==="fixed",s=tt(t,!0,r,e),l={scrollLeft:0,scrollTop:0},c=W(0);if((i||!r)&&((Z(e)!=="body"||ut(o))&&(l=dt(e)),i)){let d=tt(e,!0,r,e);c.x=d.x+e.clientLeft,c.y=d.y+e.clientTop}!i&&o&&(c.x=At(o));let a=o&&!i&&!r?oe(o,l):W(0),u=s.left+l.scrollLeft-c.x-a.x,h=s.top+l.scrollTop-c.y-a.y;return{x:u,y:h,width:s.width,height:s.height}}function St(t){return F(t).position==="static"}function ee(t,e){if(!j(t)||F(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return V(t)===n&&(n=n.ownerDocument.body),n}function re(t,e){let n=T(t);if(ht(t))return n;if(!j(t)){let o=Y(t);for(;o&&!it(o);){if(k(o)&&!St(o))return o;o=Y(o)}return n}let i=ee(t,e);for(;i&&Jt(i)&&St(i);)i=ee(i,e);return i&&it(i)&&St(i)&&!vt(i)?n:i||Qt(t)||n}var Fe=async function(t){let e=this.getOffsetParent||re,n=this.getDimensions,i=await n(t.floating);return{reference:ke(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function Be(t){return F(t).direction==="rtl"}var Ne={convertOffsetParentRelativeRectToViewportRelativeRect:Ce,getDocumentElement:V,getClippingRect:$e,getOffsetParent:re,getElementRects:Fe,getClientRects:Te,getDimensions:De,getScale:ot,isElement:k,isRTL:Be};function se(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function He(t,e,n){let i=null,o,r=V(t);function s(){var u;clearTimeout(o),(u=i)==null||u.disconnect(),i=null}function l(u,h){u===void 0&&(u=!1),h===void 0&&(h=1),s();let d=t.getBoundingClientRect(),{left:f,top:m,width:g,height:w}=d;if(u||e(),!g||!w)return;let p=ft(m),x=ft(r.clientWidth-(f+g)),b=ft(r.clientHeight-(m+w)),v=ft(f),R={rootMargin:-p+"px "+-x+"px "+-b+"px "+-v+"px",threshold:D(0,H(1,h))||1},L=!0;function z(S){let C=S[0].intersectionRatio;if(!se(d,t.getBoundingClientRect()))return l();if(C!==h){if(!L)return l();C?l(!1,C):o=setTimeout(()=>{l(!1,1e-7)},1e3)}L=!1}try{i=new IntersectionObserver(z,N(P({},R),{root:r.ownerDocument}))}catch(S){i=new IntersectionObserver(z,R)}i.observe(t)}let c=T(t),a=()=>l(n);return c.addEventListener("resize",a),l(!0),()=>{c.removeEventListener("resize",a),s()}}function le(t,e,n,i){i===void 0&&(i={});let{ancestorScroll:o=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,a=zt(t),u=o||r?[...a?nt(a):[],...e?nt(e):[]]:[];u.forEach(p=>{o&&p.addEventListener("scroll",n),r&&p.addEventListener("resize",n)});let h=a&&l?He(a,n,r):null,d=-1,f=null;s&&(f=new ResizeObserver(p=>{let[x]=p;x&&x.target===a&&f&&e&&(f.unobserve(e),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var b;(b=f)==null||b.observe(e)})),n()}),a&&!c&&f.observe(a),e&&f.observe(e));let m,g=c?tt(t):null;c&&w();function w(){let p=tt(t);g&&!se(g,p)&&n(),g=p,m=requestAnimationFrame(w)}return n(),()=>{var p;u.forEach(x=>{o&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),h==null||h(),(p=f)==null||p.disconnect(),f=null,c&&cancelAnimationFrame(m)}}var ce=Yt;var ae=qt,fe=Xt,Mt=Ut;var ue=It;var he=(t,e,n)=>{let i=new Map,o=n!=null?n:{},r=N(P(P({},Ne),o.platform),{_c:i});return jt(t,e,N(P({},o),{platform:r}))};var y=class extends Et{constructor(){super(...arguments);this.active=!1;this.placement="top";this.strategy="absolute";this.distance=0;this.skidding=0;this.arrow=!1;this.arrowPlacement="anchor";this.arrowPadding=10;this.flip=!1;this.flipFallbackPlacements="";this.flipFallbackStrategy="best-fit";this.flipPadding=0;this.shift=!1;this.shiftPadding=0;this.autoSizePadding=0}async connectedCallback(){super.connectedCallback(),await this.updateComplete,this.start(),this.setupMutationObserver()}disconnectedCallback(){this.stop(),this.mutationObserver&&this.mutationObserver.disconnect()}async updated(n){super.updated(n),n.has("active")&&(this.active?this.start():this.stop()),n.has("anchor")&&this.handleAnchorChange(),this.active&&(await this.updateComplete,this.reposition())}setupMutationObserver(){this.mutationObserver=new MutationObserver(i=>this.handleCurrentPlacementChange(i));let n={attributes:!0};this.mutationObserver.observe(this,n)}handleCurrentPlacementChange(n){return n.forEach(i=>{if(i.attributeName==="data-current-placement"){let o=this.getAttribute("data-current-placement");this.emit("sd-current-placement",{detail:o})}})}async handleAnchorChange(){if(await this.stop(),this.anchor&&typeof this.anchor=="string"){let n=this.getRootNode();this.anchorEl=n.getElementById(this.anchor)}else this.anchor instanceof HTMLElement?this.anchorEl=this.anchor:this.anchorEl=this.querySelector('[slot="anchor"]');if(this.anchorEl instanceof HTMLSlotElement&&(this.anchorEl=this.anchorEl.assignedElements({flatten:!0})[0]),!this.anchorEl)throw new Error("Invalid anchor element: no anchor could be found using the anchor slot or the anchor attribute.");this.start()}start(){this.anchorEl&&(this.cleanup=le(this.anchorEl,this.popup,()=>{this.reposition()}))}async stop(){return new Promise(n=>{this.cleanup?(this.cleanup(),this.cleanup=void 0,this.removeAttribute("data-current-placement"),this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height"),requestAnimationFrame(()=>n())):n()})}reposition(){if(!this.active||!this.anchorEl)return;let n=[ce({mainAxis:this.distance,crossAxis:this.skidding})];this.sync?n.push(Mt({apply:({rects:i})=>{let o=this.sync==="width"||this.sync==="both",r=this.sync==="height"||this.sync==="both";this.popup.style.width=o?`${i.reference.width}px`:"",this.popup.style.height=r?`${i.reference.height}px`:""}})):(this.popup.style.width="",this.popup.style.height=""),this.flip&&n.push(fe({boundary:this.flipBoundary,fallbackPlacements:this.flipFallbackPlacements,fallbackStrategy:this.flipFallbackStrategy==="best-fit"?"bestFit":"initialPlacement",padding:this.flipPadding})),this.shift&&n.push(ae({boundary:this.shiftBoundary,padding:this.shiftPadding})),this.autoSize?n.push(Mt({boundary:this.autoSizeBoundary,padding:this.autoSizePadding,apply:({availableWidth:i,availableHeight:o})=>{this.autoSize==="vertical"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-height",`${o}px`):this.style.removeProperty("--auto-size-available-height"),this.autoSize==="horizontal"||this.autoSize==="both"?this.style.setProperty("--auto-size-available-width",`${i}px`):this.style.removeProperty("--auto-size-available-width")}})):(this.style.removeProperty("--auto-size-available-width"),this.style.removeProperty("--auto-size-available-height")),this.arrow&&n.push(ue({element:this.arrowEl,padding:this.arrowPadding})),he(this.anchorEl,this.popup,{placement:this.placement,middleware:n,strategy:this.strategy}).then(({x:i,y:o,middlewareData:r,placement:s})=>{let l=getComputedStyle(this).direction==="rtl",c={top:"bottom",right:"left",bottom:"top",left:"right"}[s.split("-")[0]];if(this.setAttribute("data-current-placement",s),Object.assign(this.popup.style,{left:`${i}px`,top:`${o}px`}),this.arrow){let a=r.arrow.x,u=r.arrow.y,h="",d="",f="",m="";if(this.arrowPlacement==="start"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";h=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"",d=l?g:"",m=l?"":g}else if(this.arrowPlacement==="end"){let g=typeof a=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:"";d=l?"":g,m=l?g:"",f=typeof u=="number"?`calc(${this.arrowPadding}px - var(--arrow-padding-offset))`:""}else this.arrowPlacement==="center"?(m=typeof a=="number"?"calc(50% - var(--arrow-size-diagonal))":"",h=typeof u=="number"?"calc(50% - var(--arrow-size-diagonal))":""):(m=typeof a=="number"?`${a}px`:"",h=typeof u=="number"?`${u}px`:"");Object.assign(this.arrowEl.style,{top:h,right:d,bottom:f,left:m,[c]:"calc(var(--arrow-size-diagonal) * -1)"})}}),this.emit("sd-reposition")}render(){return Ot`<slot name="anchor" @slotchange="${this.handleAnchorChange}"></slot><div part="popup" class="${kt("isolate z-20",this.strategy!=="fixed"?"absolute":"fixed",!this.active&&"hidden")}"><slot></slot>${this.arrow?Ot`<div part="arrow" class="absolute rotate-45 -z-10" role="presentation"></div>`:""}</div>`}};y.styles=[...Et.styles,$t`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{--arrow-color:var(--sd-color-neutral-1000);--arrow-size:6px;--arrow-size-diagonal:calc(var(--arrow-size) * 0.7071);--arrow-padding-offset:calc(var(--arrow-size-diagonal) - var(--arrow-size));display:contents}[part=popup]{max-width:var(--auto-size-available-width,none);max-height:var(--auto-size-available-height,none)}[part=arrow]{width:calc(var(--arrow-size-diagonal) * 2);height:calc(var(--arrow-size-diagonal) * 2);background:var(--arrow-color)}`],A([Rt('[part="popup"]')],y.prototype,"popup",2),A([Rt('[part="arrow"]')],y.prototype,"arrowEl",2),A([O({reflect:!0})],y.prototype,"anchor",2),A([O({type:Boolean,reflect:!0})],y.prototype,"active",2),A([O({type:String,reflect:!0})],y.prototype,"placement",2),A([O({type:String,reflect:!0})],y.prototype,"strategy",2),A([O({type:Number,reflect:!0})],y.prototype,"distance",2),A([O({type:Number,reflect:!0})],y.prototype,"skidding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"arrow",2),A([O({type:String,attribute:"arrow-placement",reflect:!0})],y.prototype,"arrowPlacement",2),A([O({attribute:"arrow-padding",type:Number,reflect:!0})],y.prototype,"arrowPadding",2),A([O({type:Boolean,reflect:!0})],y.prototype,"flip",2),A([O({attribute:"flip-fallback-placements",converter:{fromAttribute:n=>n.split(" ").map(i=>i.trim()).filter(i=>i!==""),toAttribute:n=>n.join(" ")}})],y.prototype,"flipFallbackPlacements",2),A([O({type:String,attribute:"flip-fallback-strategy"})],y.prototype,"flipFallbackStrategy",2),A([O({type:Object})],y.prototype,"flipBoundary",2),A([O({attribute:"flip-padding",type:Number})],y.prototype,"flipPadding",2),A([O({type:Boolean})],y.prototype,"shift",2),A([O({type:Object})],y.prototype,"shiftBoundary",2),A([O({attribute:"shift-padding",type:Number})],y.prototype,"shiftPadding",2),A([O({type:String,attribute:"auto-size"})],y.prototype,"autoSize",2),A([O()],y.prototype,"sync",2),A([O({type:Object})],y.prototype,"autoSizeBoundary",2),A([O({attribute:"auto-size-padding",type:Number})],y.prototype,"autoSizePadding",2),y=A([Dt("sd-popup")],y);export{y as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c,h as e}from"./chunk.
|
|
1
|
+
import{a as c,h as e}from"./chunk.J45556RK.js";import{b as l,e as o}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends e{static isCarouselItem(s){return s instanceof Element&&s.getAttribute("aria-roledescription")==="slide"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","group")}render(){return o`<slot></slot>`}};t.styles=[...e.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{aspect-ratio:var(--aspect-ratio);scroll-snap-align:start;scroll-snap-stop:always;display:flex;height:100%;width:100%;flex-direction:column;align-items:center;justify-content:center}::slotted(img){height:100%;width:100%;-o-object-fit:cover;object-fit:cover}`],t=i([c("sd-carousel-item")],t);export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.MEDJPDBB.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.
|
|
1
|
+
import{a as F}from"./chunk.ERP45OHF.js";import{a as A}from"./chunk.OKNJ5BPS.js";import{b as I}from"./chunk.LZRL7OLU.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as C,c as $}from"./chunk.B2NUKX6G.js";import{a as T}from"./chunk.KLRPP4NQ.js";import{a as L}from"./chunk.W5O4FM6B.js";import{a as z}from"./chunk.MEDJPDBB.js";import{a as h}from"./chunk.4ZZFYCXX.js";import{a as m}from"./chunk.NYKJXI3Q.js";import{a as D,b as n,c as u,d as c,g as k,h as O}from"./chunk.J45556RK.js";import{b as E,e as p}from"./chunk.OBAEIKIV.js";import{b as x,e as w}from"./chunk.W4QBFD6E.js";import{e as s}from"./chunk.6EV4YU6C.js";var i=class extends O{constructor(){super(...arguments);this.formControlController=new I(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new M(this,"help-text","label");this.localize=new z(this);this.typeToSelectString="";this.deletedTagLabel="";this.hasFocus=!1;this.selectedOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.defaultValue="";this.open=!1;this.size="lg";this.placement="bottom";this.label="";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.helpText="";this.currentPlacement=this.placement;this.clearable=!1;this.multiple=!1;this.useTags=!1;this.maxOptionsVisible=3;this.form="";this.name="";this.value="";this.required=!1;this.floatingLabel=!1;this.styleOnValid=!1;this.hoist=!1;this.getTag=t=>p`<sd-tag class="relative z-10 min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
2
2
|
base:tag__base,
|
|
3
3
|
content:tag__content,
|
|
4
4
|
removable-indicator:tag__removable-indicator,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.
|
|
1
|
+
import{a as p}from"./chunk.CGQ2BPPZ.js";import{a as i}from"./chunk.4ZZFYCXX.js";import{a as r}from"./chunk.NYKJXI3Q.js";import{a as d,b as o,h as n}from"./chunk.J45556RK.js";import{b as m,e as s}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.hasSlotController=new p(this,"label","help-text");this.size="lg";this.orientation="vertical";this.label="";this.helpText=""}getAllCheckboxes(){return[...this.querySelectorAll("sd-checkbox")]}async syncCheckboxElements(){let a=this.getAllCheckboxes();await Promise.all(a.map(async l=>{await l.updateComplete,l.size=this.size}))}syncCheckboxes(){customElements.get("sd-checkbox")?this.syncCheckboxElements():customElements.whenDefined("sd-checkbox").then(()=>this.syncCheckboxes())}handleSizeChange(){this.syncCheckboxes()}handleInvalid(){this.syncCheckboxes()}render(){let a=this.hasSlotController.test("label"),l=this.label?!0:a,b=this.hasSlotController.test("help-text"),c=this.helpText?!0:b,x=s`<slot @slotchange="${this.syncCheckboxes}"></slot>`,h=this.hasSlotController.test("tooltip");return s`<fieldset part="form-control" class="${i("border-0 p-0 m-0",{sm:"text-sm",md:"text-base",lg:"text-base"}[this.size])}" role="group" aria-labelledby="label">${l||h?s`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${i("p-0 font-bold leading-normal text-black",l?"flex":"hidden")}" aria-hidden="${l?"false":"true"}"><slot name="label">${this.label}</slot></label> ${h?s`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${i({vertical:"flex flex-col",horizontal:"flex flex-row"}[this.orientation])}">${x}</div></fieldset><slot name="help-text" part="form-control-help-text" id="help-text" class="${i("text-sm text-neutral-700 mt-2",c?"block":"hidden")}" aria-hidden="${!c}">${this.helpText}</slot>`}};t.styles=[...n.styles,m`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block}:host([orientation=vertical]) ::slotted(sd-checkbox){margin-bottom:var(--sd-spacing-2,.5rem);display:flex}:host([orientation=vertical]) ::slotted(sd-checkbox:last-of-type){margin-bottom:0}:host([orientation=horizontal]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-6,1.5rem)}:host([orientation=horizontal]) ::slotted(sd-checkbox:last-of-type){margin-right:0}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox){margin-right:var(--sd-spacing-4,1rem)}:host([orientation=horizontal]):host([size=sm]) ::slotted(sd-checkbox:last-of-type){margin-right:0}`],e([o({type:String,reflect:!0})],t.prototype,"size",2),e([o({type:String,reflect:!0})],t.prototype,"orientation",2),e([o({type:String,reflect:!0})],t.prototype,"label",2),e([o({type:String,attribute:"help-text",reflect:!0})],t.prototype,"helpText",2),e([r("size",{waitUntilFirstUpdate:!0})],t.prototype,"handleSizeChange",1),e([r("invalid",{waitUntilFirstUpdate:!0})],t.prototype,"handleInvalid",1),t=e([d("sd-checkbox-group")],t);export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.
|
|
1
|
+
import{a}from"./chunk.4ZZFYCXX.js";import{a as p,b as s,c as d,d as h,h as n}from"./chunk.J45556RK.js";import{b as l,e as r}from"./chunk.OBAEIKIV.js";import{e as i}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.variant="primary";this.shapes=["top","middle","bottom"];this.componentBreakpoint=0}getSvg(t,o){return{0:this.smallSvg(o),414:this.mediumSvg(o),640:this.largeSvg(o)}[t]}largeSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M610.777 1.393.001 120.146 0 123h700.001V74.79c0-4.797-.462-9.585-1.381-14.294-7.909-40.537-47.237-66.998-87.843-59.103Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 123"><path d="M89.224 121.607 700 2.854 700.001 0h-700L0 48.21c0 4.797.463 9.584 1.381 14.294 7.909 40.537 47.237 66.998 87.843 59.103Z"/></svg>`}mediumSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 119"><path d="M597.75 1.6 0 118.046V121h700V85.872c0-5.509-.53-11.006-1.583-16.413-9.063-46.543-54.133-76.924-100.667-67.86Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 121"><path d="M102.25 119.4 700 2.954V0H0v35.128c0 5.509.53 11.006 1.583 16.413 9.063 46.543 54.134 76.924 100.667 67.859Z"/></svg>`}smallSvg(t){return t==="top"?r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 113"><path d="M566.951 2.08 0 112.466v2.934h700v-3.672c0-7.166-.689-14.314-2.059-21.348-11.789-60.557-70.436-100.09-130.99-88.3Z"/></svg>`:r`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 700 116"><path d="M133.049 113.32 700 2.934V0H0v3.672c0 7.165.69 14.314 2.059 21.348 11.79 60.557 70.436 100.09 130.99 88.3Z"/></svg>`}setBreakpoint(){switch(!0){case this.containerElem.clientWidth<=414:this.componentBreakpoint=0;break;case this.containerElem.clientWidth<640:this.componentBreakpoint=414;break;default:this.componentBreakpoint=640}}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(()=>this.setBreakpoint()),this.updateComplete.then(()=>{this.setBreakpoint(),this.resizeObserver.observe(this.containerElem)})}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver.unobserve(this.containerElem)}renderTopBrandshape(){return r`<div class="relative" part="shape-top">${this.getSvg(this.componentBreakpoint,"top")} ${this.renderWhitespaceFix("top")}</div>`}renderMiddleBrandshape(){return r`<div class="${a({0:"px-6 py-4",414:"px-10 py-8",640:"px-10 py-8"}[this.componentBreakpoint],"w-full block relative")}"><div part="shape-middle" class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],"w-full block absolute h-full top-0 left-0 z-0")}"></div><div class="${a("z-10 relative",this.variant==="image"&&"invisible opacity-0")}" part="content"><slot>${this.variant==="image"?"":r`<div class="h-8"></div>`}</slot></div></div>`}renderBottomBrandshape(){return r`<div class="relative" part="shape-bottom">${this.getSvg(this.componentBreakpoint,"bottom")}${this.renderWhitespaceFix("bottom")}</div>`}renderWhitespaceFix(t){return r`<div class="${a({"neutral-100":"sd-brandshape--neutral-100-color-background",primary:"sd-brandshape--primary-color-background",white:"sd-brandshape--white-color-background","border-white":"bg-transparent","border-primary":"bg-transparent","primary|80":"sd-brandshape--primary-80-color-background","white|80":"sd-brandshape--white-80-color-background",image:"bg-transparent"}[this.variant],{top:"bottom-0",bottom:"top-0"}[t],"block absolute left-0 w-full",this.variant!=="primary|80"&&this.variant!=="white|80"?"h-[1px]":"")}"></div>`}renderStylizedVariant(){return r`<div part="stylized-container" class="w-full overflow-hidden"><slot class="${a(this.variant!=="image"&&"hidden")}" name="image"></slot></div>`}renderShapes(){return r`${this.shapes.includes("top")?this.renderTopBrandshape():""} ${this.shapes.includes("middle")?this.renderMiddleBrandshape():""} ${this.shapes.includes("bottom")?this.renderBottomBrandshape():""}`}render(){let t=this.variant.startsWith("border-")||this.variant==="image";return r`<div class="${a(t&&"fill-transparent","relative")}" part="base">${t?this.renderStylizedVariant():""} ${this.renderShapes()}</div>`}};e.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block;container-type:inline-size;--angle:11deg;--radius:60px;--tan:tan(var(--angle));--adjacent:100cqw;--opposite:calc(var(--tan) * var(--adjacent));--curve:calc(
|
|
3
3
|
(var(--opposite) - (var(--radius) / 3)) * 0.5
|
|
4
4
|
)}@supports not (transform:skewY(11deg)){:host{--tan:0.1943803091}}@media (min-width:415px){:host{--radius:72px}}@media (min-width:640px){:host{--radius:84px}}:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{position:absolute;top:0;left:0;transform:skewY(calc(var(--angle) * -1));height:calc(100% - var(--curve) * 2);border-radius:0 var(--radius);margin-top:calc(var(--curve))}slot[name=image]::slotted(img),slot[name=image]::slotted(video){width:100%;-o-object-fit:cover;object-fit:cover;transform:translateY(calc(var(--curve) * -1)) skewY(var(--angle));height:calc(100% + var(--curve) * 2)!important;position:absolute!important}@supports not (height:100cqw){:host([variant=image]) [part=stylized-container],:host([variant^=border-]) [part=stylized-container]::before{transform:unset;height:100%;margin-top:0}slot[name=image]::slotted(img),slot[name=image]::slotted(video){transform:unset;height:100%!important}}:host([variant=border-primary]){--internal-border-color:rgba(var(--sd-brandshape--primary-color-border, rgba(var(--sd-color-primary))))}:host([variant=border-white]){--internal-border-color:rgba(var(--sd-brandshape-color-border-white, rgba(var(--sd-color-white))))}:host([variant^=border-]) [part=stylized-container]::before{right:0;border-style:var(--tw-border-style);border-width:var(--sd-border-width-2,.125rem);--tw-border-style:solid;border-style:solid;content:'';border-color:var(--internal-border-color,#000)}:host([variant=neutral-100]) [part=base]{fill:rgba(var(--sd-brandshape--neutral-100-color-background,rgba(var(--sd-color-neutral-100))))}:host([variant=white]) [part=base]{fill:rgba(var(--sd-brandshape--white-color-background,rgba(var(--sd-color-white))))}:host([variant=primary]) [part=base]{fill:rgba(var(--sd-brandshape--primary-color-background,rgba(var(--sd-color-primary))))}:host([variant='primary|80']) [part=base]{fill:rgba(var(--sd-brandshape--primary-80-color-background,rgba(var(--sd-color-primary))))}:host([variant='white|80']) [part=base]{fill:rgba(var(--sd-brandshape--white-80-color-background,rgba(var(--sd-color-white))))}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}`],i([h("[part=base]")],e.prototype,"containerElem",2),i([s({type:String,reflect:!0})],e.prototype,"variant",2),i([s({type:Array})],e.prototype,"shapes",2),i([d()],e.prototype,"componentBreakpoint",2),e=i([p("sd-brandshape")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y}from"./chunk.I2H6CZK5.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as r,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.MEDJPDBB.js";import{a as f}from"./chunk.4ZZFYCXX.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as w,b as n,d,h}from"./chunk.
|
|
1
|
+
import{a as y}from"./chunk.I2H6CZK5.js";import{a as k}from"./chunk.CGQ2BPPZ.js";import{a as r,c as s}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as x}from"./chunk.MEDJPDBB.js";import{a as f}from"./chunk.4ZZFYCXX.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as w,b as n,d,h}from"./chunk.J45556RK.js";import{b as v,e as c}from"./chunk.OBAEIKIV.js";import{b as i,e as u}from"./chunk.W4QBFD6E.js";import{e as o}from"./chunk.6EV4YU6C.js";var t=class extends h{constructor(){super(...arguments);this.hasSlotController=new k(this,"footer");this.localize=new x(this);this.open=!1;this.label="";this.placement="end";this.noHeader=!1}firstUpdated(){this.drawer.addEventListener("cancel",e=>{e.preventDefault(),this.requestClose("keyboard")}),this.open&&this.drawer.showModal()}requestClose(e){if(this.emit("sd-request-close",{cancelable:!0,detail:{source:e}}).defaultPrevented){let a=s(this,"drawer.denyClose",{dir:this.localize.dir()});i(this.panel,a.keyframes,a.options);return}this.hide()}async handleOpenChange(){var p;let e=(p=this.closeButton.shadowRoot)==null?void 0:p.querySelector('[part="base"]');if(this.open){this.emit("sd-show");let a=this.querySelector("[autofocus]");a&&a.removeAttribute("autofocus"),await u(this.drawer),this.drawer.showModal(),this.drawer.removeAttribute("inert");let l=s(this,"drawer.overlay.show",{dir:this.localize.dir()});i(this.overlay,l.keyframes,l.options);let b=s(this,`drawer.show${y(this.placement)}`,{dir:this.localize.dir()});await i(this.panel,b.keyframes,b.options),e==null||e.setAttribute("aria-controls","drawer"),e==null||e.setAttribute("aria-expanded","true"),requestAnimationFrame(()=>{this.emit("sd-initial-focus",{cancelable:!0}).defaultPrevented||(a?a.focus({preventScroll:!0}):this.panel.focus({preventScroll:!0})),a?a.setAttribute("autofocus",""):this.closeButton.focus()}),this.emit("sd-after-show")}else{this.emit("sd-hide"),await u(this.drawer);let a=s(this,"drawer.overlay.hide",{dir:this.localize.dir()});i(this.overlay,a.keyframes,a.options);let l=s(this,`drawer.hide${y(this.placement)}`,{dir:this.localize.dir()});await i(this.panel,l.keyframes,l.options),this.drawer.close(),this.drawer.setAttribute("inert",""),e==null||e.setAttribute("aria-expanded","false"),this.emit("sd-after-hide")}}async show(){if(!this.open)return this.open=!0,m(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,m(this,"sd-after-hide")}render(){return c`<dialog id="drawer" part="base" class="top-0 start-0 w-full h-full p-0 bg-transparent border-none max-w-none max-h-none" aria-label="${this.label}"><div part="overlay" class="fixed inset-0" @click="${()=>this.requestClose("overlay")}"></div><div part="panel" class="${f("absolute flex flex-col gap-4 z-10 max-w-full max-h-full bg-white shadow-lg overflow-auto pointer-events-auto focus:outline-none",{end:"top-0 end-0 bottom-auto start-auto w-[var(--width)] h-full",start:"top-0 end-auto bottom-auto start-0 w-[var(--width)] h-full"}[this.placement])}" aria-label="${this.label}" tabindex="0">${this.noHeader?c`<sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}" class="absolute top-2 end-2 z-10"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-icon></sd-button>`:c`<header part="header" class="flex justify-between py-2 px-4 items-center flex-shrink-0" style="min-height:64px"><div part="title"><slot name="header" part="title" class="flex-auto text-xl m-0" id="title"></slot></div><div class="shrink-0 flex flex-wrap justify-end gap-1 ms-4 absolute top-2 end-2"><sd-button variant="tertiary" size="lg" part="close-button" @click="${()=>this.requestClose("close-button")}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal"></sd-icon></sd-button></div></header>`}<div part="body" class="flex-auto block px-4 focus-visible:focus-outline !-outline-offset-2" tabindex="0"><slot></slot></div><footer part="footer" class="${f(this.hasSlotController.test("footer")?"text-left p-4":"hidden")}"><slot name="footer"></slot></footer></div></dialog>`}};t.styles=[...h.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{--width:25rem;display:contents}[part=body]{-webkit-overflow-scrolling:touch;overflow-y:scroll;scrollbar-width:none}[part=body]::-webkit-scrollbar{height:0;width:0}:host [part=panel]{outline:1px solid rgb(var(--sd-panel-color-border,transparent))}::backdrop{display:none}[part=overlay]{background-color:rgb(var(--sd-overlay-color-background,5 21 48 / .9))}`],o([d("[part=base]")],t.prototype,"drawer",2),o([d("[part=overlay]")],t.prototype,"overlay",2),o([d("[part=panel]")],t.prototype,"panel",2),o([d("[part=close-button]")],t.prototype,"closeButton",2),o([n({type:Boolean,reflect:!0})],t.prototype,"open",2),o([n({type:String,attribute:"label",reflect:!0})],t.prototype,"label",2),o([n({type:String,reflect:!0})],t.prototype,"placement",2),o([n({attribute:"no-header",type:Boolean,reflect:!0})],t.prototype,"noHeader",2),o([g("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=o([w("sd-drawer")],t);r("drawer.showStart",{keyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.hideStart",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});r("drawer.showEnd",{keyframes:[{opacity:0,translate:"100%"},{opacity:1,translate:"0"}],rtlKeyframes:[{opacity:0,translate:"-100%"},{opacity:1,translate:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.hideEnd",{keyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"100%"}],rtlKeyframes:[{opacity:1,translate:"0"},{opacity:0,translate:"-100%"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});r("drawer.denyClose",{keyframes:[{scale:1},{scale:1.01},{scale:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});r("drawer.overlay.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"linear"}});r("drawer.overlay.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"linear"}});export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as l,b as i,g as c,h as o}from"./chunk.
|
|
1
|
+
import{a as l,b as i,g as c,h as o}from"./chunk.J45556RK.js";import{b as a,e as n}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends o{constructor(){super(...arguments);this.closeOthers=!1;this.handleAccordionShow=r=>{this.closeOthers&&this._accordionsInDefaultSlot.forEach(s=>{s!==r.target&&s.parentNode===r.target.parentNode&&s.removeAttribute("open")})}}connectedCallback(){super.connectedCallback(),this.addEventListener("sd-show",this.handleAccordionShow)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("sd-show",this.handleAccordionShow)}render(){return n`<div part="base"><slot></slot></div>`}};e.styles=[...o.styles,a`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block}::slotted(sd-accordion:not(:first-of-type)){margin-top:calc(-1 * var(--sd-accordion-border-width))!important}`],t([c({selector:"sd-accordion"})],e.prototype,"_accordionsInDefaultSlot",2),t([i({attribute:"close-others",type:Boolean,reflect:!0})],e.prototype,"closeOthers",2),e=t([l("sd-accordion-group")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.
|
|
1
|
+
import{a as y,b as k}from"./chunk.I2H6CZK5.js";import{a as $}from"./chunk.LHSR56PH.js";import{a as c,c as d}from"./chunk.B2NUKX6G.js";import{a as g}from"./chunk.KLRPP4NQ.js";import{a as H}from"./chunk.MEDJPDBB.js";import{a as o}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as T,b as s,d as p,h as w}from"./chunk.J45556RK.js";import{b as v,e as u}from"./chunk.OBAEIKIV.js";import{b as n,e as l,f as b}from"./chunk.W4QBFD6E.js";import{e}from"./chunk.6EV4YU6C.js";var m={"top-right":null,"bottom-center":null},E=()=>{Object.entries(m).forEach(([a])=>{let h=document.querySelector(`#sd-toast-stack--${a}`);if(h){h.setAttribute("role","region"),m[a]=h;return}m[a]=Object.assign(document.createElement("div"),{role:"region",id:`sd-toast-stack--${a}`,className:`sd-toast-stack sd-toast-stack--${a}`})})};E();var t=class extends w{constructor(){super(...arguments);this.localize=new H(this);this.variant="info";this.open=!1;this.closable=!1;this.duration=1/0;this.durationIndicator=!1;this.toastStack="top-right";this.remainingDuration=this.duration;this.startTime=Date.now()}get stack(){return m[this.toastStack]}connectedCallback(){super.connectedCallback(),this.stack.parentElement||(document.body.append(this.stack),this.stack.ariaLabel=this.localize.term("notifications"))}disconnectedCallback(){super.disconnectedCallback()}firstUpdated(){this.wrapper.hidden=!this.open}startAutoHide(){clearTimeout(this.autoHideTimeout),this.startTime=Date.now(),this.remainingDuration=this.duration,this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>this.hide(),this.duration))}onHover(){clearTimeout(this.autoHideTimeout),this.duration<1/0&&(this.remainingDuration-=Date.now()-this.startTime)}onHoverEnd(){this.startTime=Date.now(),clearTimeout(this.autoHideTimeout),this.open&&this.duration<1/0&&(this.autoHideTimeout=window.setTimeout(()=>{this.hide()},this.remainingDuration))}handleCloseClick(){this.hide()}handleKeyDown(i){this.closable&&i.key==="Escape"&&this.hide()}async handleOpenChange(){if(this.open){this.emit("sd-show"),this.duration<1/0&&this.startAutoHide(),await Promise.all([l(this.base),l(this.wrapper)]),this.wrapper.hidden=!1;let i=d(this,"notification.show",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.show${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.emit("sd-after-show")}else{this.emit("sd-hide"),clearTimeout(this.autoHideTimeout),await Promise.all([l(this.base),l(this.wrapper)]);let i=d(this,"notification.hide",{dir:this.localize.dir()}),r=d(this,`notification.wrapper.hide${y(k(this.toastStack))}`,{dir:this.localize.dir()});await Promise.all([n(this.base,b(i.keyframes,this.base.scrollHeight),i.options),n(this.wrapper,r.keyframes,r.options)]),this.wrapper.hidden=!0,this.emit("sd-after-hide")}}handleDurationChange(){this.startAutoHide()}async show(){if(!this.open)return this.open=!0,g(this,"sd-after-show")}async hide(){if(this.open)return this.open=!1,g(this,"sd-after-hide")}async toast(){return new Promise(i=>{this.stack.parentElement===null&&document.body.append(this.stack),this.stack.appendChild(this),requestAnimationFrame(()=>{this.clientWidth,this.show()}),this.addEventListener("sd-after-hide",()=>{this.stack.removeChild(this),i()},{once:!0})})}render(){return u`<div part="base" class="${o("w-full flex items-stretch focus-visible:focus-outline")}" id="notification" tabindex="${$(this.closable?"0":void 0)}" role="alert" aria-labelledby="message" aria-hidden="${this.open?"false":"true"}" @mouseenter="${this.onHover}" @mouseleave="${this.onHoverEnd}" @keydown="${this.handleKeyDown}"><div part="wrapper" class="${o("w-full h-fit overflow-hidden flex items-stretch relative")}"><slot name="icon" part="icon" class="${o("min-w-min flex items-center px-3 justify-center",{info:"bg-info",success:"bg-success",warning:"bg-warning",error:"bg-error"}[this.variant])}"><sd-icon name="${{info:"info-circle",success:"confirm-circle",warning:"exclamation-circle",error:"risk"}[this.variant]||""}" library="_internal" class="h-6 w-6 text-white"></sd-icon></slot><div part="content" class="${o("h-full w-full p-1 gap-2 flex items-center justify-stretch bg-white","border-solid border-[1px] border-l-0 sd-notification-color-border",{info:"sd-notification--info-color-background",success:"sd-notification--success-color-background",warning:"sd-notification--warning-color-background",error:"sd-notification--error-color-background"}[this.variant])}"><slot id="message" part="message" class="block w-full pl-3 py-2"></slot>${this.closable?u`<sd-button size="md" variant="tertiary" part="close-button" class="ml-auto flex flex-[0_0_auto] items-stretch" @click="${this.handleCloseClick}"><sd-icon label="${this.localize.term("close")}" name="close" library="_internal" color="currentColor"></sd-icon></sd-button>`:""}</div>${this.durationIndicator?u`<div part="duration-indicator__elapsed" id="duration-indicator__elapsed" style="${`animation-duration: ${this.duration}ms`}" class="${o("absolute w-0 h-[2px] bottom-0 sd-notification__duration-indicator-color-background z-10 animate-grow")}"></div><div part="duration-indicator__total" class="w-full h-[2px] bottom-0 absolute border border-neutral-400"></div>`:""}</div></div>`}};t.styles=[...w.styles,v`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:contents}#notification:hover #duration-indicator__elapsed{animation-play-state:paused!important}`],e([p('[part~="base"]')],t.prototype,"base",2),e([p('[part~="wrapper"]')],t.prototype,"wrapper",2),e([p('[part~="close-button"]')],t.prototype,"close",2),e([s({type:String,reflect:!0})],t.prototype,"variant",2),e([s({type:Boolean,reflect:!0})],t.prototype,"open",2),e([s({type:Boolean,reflect:!0})],t.prototype,"closable",2),e([s({type:Number,reflect:!0})],t.prototype,"duration",2),e([s({type:Boolean,reflect:!0,attribute:"duration-indicator"})],t.prototype,"durationIndicator",2),e([s({type:String,reflect:!0,attribute:"toast-stack"})],t.prototype,"toastStack",2),e([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),e([f("duration")],t.prototype,"handleDurationChange",1),t=e([T("sd-notification")],t);c("notification.show",{keyframes:[{opacity:0,height:0},{opacity:1,height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.hide",{keyframes:[{opacity:1,height:"auto"},{opacity:0,height:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});c("notification.wrapper.showTopRight",{keyframes:[{bottom:"32px"},{bottom:"0"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});c("notification.wrapper.hideTopRight",{keyframes:[{bottom:"0"},{bottom:"32px"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.
|
|
1
|
+
import{a as c}from"./chunk.CGQ2BPPZ.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as s,b as i,d,h as n}from"./chunk.J45556RK.js";import{b as l,e}from"./chunk.OBAEIKIV.js";import{e as a}from"./chunk.6EV4YU6C.js";var t=class extends n{constructor(){super(...arguments);this.variant="white";this.open=!1;this.hasSlotController=new c(this,"[default]","media","meta","headline","expandable")}onToggleClick(){this.open=!this.open}render(){let o={"teaser-has-default":this.hasSlotController.test("[default]"),"teaser-has-media":this.hasSlotController.test("media"),"teaser-has-meta":this.hasSlotController.test("meta"),"teaser-has-headline":this.hasSlotController.test("headline"),"teaser-has-expandable":this.hasSlotController.test("expandable")};return e`<div class="relative flex flex-col group" part="base"><div class="absolute flex flex-col justify-end h-full w-full pb-4"><div class="${r("flex-1",this.variant==="gradient-light"&&"bg-gradient-to-t from-white/60 to-white/0",this.variant==="gradient-dark"&&"bg-gradient-to-t from-primary-800/60 to-primary-800/0")}"></div><div class="${r("relative",["primary","gradient-dark"].includes(this.variant)&&"text-white")}"><div class="${r("absolute inset-0 pointer-events-none",{white:"sd-teaser-media--white-color-background group-hover:sd-teaser-media--white--hover-color-background ","neutral-100":"sd-teaser-media--neutral-100-color-background group-hover:sd-teaser-media--neutral-100--hover-color-background",primary:"bg-primary/80 text-white group-hover:bg-primary/90","primary-100":"sd-teaser-media--primary-100-color-background group-hover:sd-teaser-media--primary-100--hover-color-background","gradient-light":"bg-gradient-to-t from-white/75 to-white/60","gradient-dark":"bg-gradient-to-t from-primary-800/75 to-primary-800/60"}[this.variant])}"></div><div class="relative flex flex-col text-left p-4" part="content"><div class="flex flex-col"><div part="headline" class="text-lg font-bold m-0 order-2"><slot name="headline">Always insert one semantically correct heading element here</slot></div><div part="meta" class="${r("gap-2 mb-2 order-1",!o["teaser-has-meta"]&&"hidden")}"><slot name="meta"></slot></div></div><div part="main" class="${r(!o["teaser-has-default"]&&"hidden")}"><slot></slot></div><div class="${r("mt-3 transition-opacity duration-300",!this.open&&"hidden",this.open?"opacity-100":"opacity-0")}" part="expandable" aria-hidden="true"><slot name="expandable"></slot></div>${o["teaser-has-expandable"]?e`<button part="toggle" class="${r("mt-2",["primary","gradient-dark"].includes(this.variant)?"text-white":"sd-teaser-media-color-icon-fill")}" @click="${this.onToggleClick}" aria-expanded="${this.open}" aria-label="${this.open?"Collapse content":"Expand content"}"><div class="h-full justify-start flex items-start"><sd-icon class="${r("w-6 h-6 transition-transform",this.open&&"rotate-180")}" library="_internal" name="chevron-bottom"></sd-icon></div></button>`:null}</div></div></div><div class="${r("mb-4 -z-10",!o["teaser-has-media"]&&"hidden")}" part="media"><slot name="media"></slot></div></div>`}};t.styles=[...n.styles,l`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{display:block}::slotted(*){margin:0}:host([variant=white]) .background:focus-within{background-color:rgba(var(--sd-color-background-white,255 255 255))}@supports (color:color-mix(in lab,red,red)){:host([variant=white]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-white,255 255 255)) var(--sd-opacity-90,90%),transparent)}}:host([variant=neutral-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-neutral-100,246 246 246))}@supports (color:color-mix(in lab,red,red)){:host([variant=neutral-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-neutral-100,246 246 246)) var(--sd-opacity-90,90%),transparent)}}:host([variant=primary]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary,0 53 142))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary,0 53 142)) var(--sd-opacity-90,90%),transparent)}}:host([variant=primary-100]) .background:focus-within{background-color:rgba(var(--sd-color-background-primary-100,236 240 249))}@supports (color:color-mix(in lab,red,red)){:host([variant=primary-100]) .background:focus-within{background-color:color-mix(in oklab,rgba(var(--sd-color-background-primary-100,236 240 249)) var(--sd-opacity-90,90%),transparent)}}:host([variant=gradient-light]) .bg-gradient-to-t{--sd-color-background-white:var(--sd-informational-gradient--white-color-background, var(--sd-color-white))}:host([variant=gradient-dark]) .bg-gradient-to-t{--sd-color-background-primary-800:var(
|
|
3
3
|
--sd-informational-gradient--primary-800-color-background,
|
|
4
4
|
var(--sd-color-primary-800)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as c}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.
|
|
1
|
+
import{a as c}from"./chunk.4ZZFYCXX.js";import{a as l}from"./chunk.NYKJXI3Q.js";import{a as o,b as i,h as a}from"./chunk.J45556RK.js";import{b as s,e as r}from"./chunk.OBAEIKIV.js";import{e}from"./chunk.6EV4YU6C.js";var n=0,t=class extends a{constructor(){super(...arguments);this.attrId=++n;this.componentId=`sd-tab-panel-${this.attrId}`;this.name="";this.active=!1}connectedCallback(){super.connectedCallback(),this.id=this.id.length>0?this.id:this.componentId,this.setAttribute("role","tabpanel")}handleActiveChange(){this.setAttribute("aria-hidden",this.active?"false":"true")}render(){return r`<slot part="base" class="${c("block",this.active&&"tab-panel--active")}"></slot>`}};t.styles=[...a.styles,s`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{--padding:0;display:none}:host([active]){display:block}::part(base){padding:var(--padding)}`],e([i({type:String,reflect:!0})],t.prototype,"name",2),e([i({type:Boolean,reflect:!0})],t.prototype,"active",2),e([l("active")],t.prototype,"handleActiveChange",1),t=e([o("sd-tab-panel")],t);export{t as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as s}from"./chunk.LHSR56PH.js";import{a as S}from"./chunk.MEDJPDBB.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.
|
|
1
|
+
import{a as s}from"./chunk.LHSR56PH.js";import{a as S}from"./chunk.MEDJPDBB.js";import{a as r}from"./chunk.4ZZFYCXX.js";import{a as T,b as h,c as f,d as u,h as y}from"./chunk.J45556RK.js";import{b as k,e as c}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var n=class extends y{constructor(){super(...arguments);this.localize=new S(this);this.orientation="horizontal";this.scrollbars=!1;this.buttons=!1;this.shadows=!1;this.inset=!1;this.step=150;this.canScroll={left:!1,right:!1,up:!1,down:!1};this.isScrollHorizontalEnabled=!1;this.isScrollVerticalEnabled=!1}connectedCallback(){super.connectedCallback(),this.updateScrollEnabledFlags(),this.resizeObserver=new ResizeObserver(()=>{this.handleContainerScroll()}),this.updateComplete.then(()=>{this.container&&this.resizeObserver.observe(this.container)})}disconnectedCallback(){super.disconnectedCallback(),this.container&&this.resizeObserver.unobserve(this.container)}updated(t){super.updated(t),(t.has("orientation")||t.has("buttons")||t.has("shadows"))&&(this.updateScrollEnabledFlags(),this.handleContainerScroll())}updateScrollEnabledFlags(){let t=this.orientation;this.isScrollHorizontalEnabled=t==="horizontal"||t==="auto",this.isScrollVerticalEnabled=t==="vertical"||t==="auto"}get scrollButtons(){return{left:this.leftButton,right:this.rightButton,up:this.upButton,down:this.downButton}}handleContainerScroll(){if(!this.container)return;let t=this.container.scrollLeft>0,l=this.container.scrollLeft+this.container.clientWidth<this.container.scrollWidth-1,e=this.container.scrollTop>0,d=this.container.scrollTop+this.container.clientHeight<this.container.scrollHeight-1,a=this.canScroll,i={left:this.isScrollHorizontalEnabled&&t,right:this.isScrollHorizontalEnabled&&l,up:this.isScrollVerticalEnabled&&e,down:this.isScrollVerticalEnabled&&d},m=a.left&&!i.left,v=a.up&&!i.up,E=a.right&&!i.right,b=a.down&&!i.down;(m||v)&&this.dispatchEvent(new CustomEvent("start")),(E||b)&&this.dispatchEvent(new CustomEvent("end")),this.canScroll=i}handleScroll(t,l){var z,x,B;let e=["left","up"].includes(t)?-this.step:this.step,d=["left","right"].includes(t)?"horizontal":"vertical",a=["left","up"].includes(t)?"start":"end",i=!["mouse","touch"].includes((z=l==null?void 0:l.pointerType)!=null?z:""),m=d==="horizontal"?"left":"top";(x=this.container)==null||x.scrollBy({behavior:"smooth",[m]:e});let v=`button-${t}`;this.dispatchEvent(new CustomEvent(v,{bubbles:!0,composed:!0}));let b=(d==="horizontal"?this.container.scrollLeft:this.container.scrollTop)+e,C=d==="horizontal"?this.container.scrollWidth-this.container.clientWidth:this.container.scrollHeight-this.container.clientHeight,$=a==="start"&&b<=0,H=a==="end"&&b>=C-1;if(!($||H)){let w=this.localize.term("scrolled");this.announcementContainer.textContent=this.announcementContainer.textContent===w?`${w}\u200B`:w;return}let g=this.scrollButtons[t],p={left:this.rightButton,right:this.leftButton,up:this.downButton,down:this.upButton}[t],L=$?`${this.localize.term("scrolled")}. ${this.localize.term("scrollToEnd")}`:`${this.localize.term("scrolled")}. ${this.localize.term("scrollToStart")}`;(B=p==null?void 0:p.querySelector("sd-icon"))==null||B.setAttribute("label",L),i?p==null||p.focus():g==null||g.blur()}handleButtonBlur(t,l){var i;let d=(["left","up"].includes(t)?"start":"end")==="start"?this.localize.term("scrollToStart"):this.localize.term("scrollToEnd");(i=l.target.querySelector("sd-icon"))==null||i.setAttribute("label",d)}render(){let t="relative p-0 border-0 bg-transparent cursor-pointer w-5 h-5 flex items-center justify-center sd-interactive rounded-md flex text-lg",l="scroll-shadow absolute z-10 pointer-events-none transition-opacity duration-medium ease-in-out";return c`<div part="base" class="${r("scroll-container flex overflow-hidden flex-1",this.scrollbars?"show-scrollbars":"hide-scrollbars",this.inset&&"p-4",{horizontal:"scroll-horizontal flex-row whitespace-nowrap items-center overflow-x-scroll overflow-y-hidden",vertical:"scroll-vertical justify-items-center overflow-y-scroll overflow-x-hidden",auto:"scroll-auto overflow-auto"}[this.orientation])}" @scroll="${this.handleContainerScroll}" tabindex="0"><div id="announcement-container" role="status" class="sr-only"></div><div part="scroll-content" class="flex-1"><slot></slot></div></div>${this.buttons?c`${this.isScrollHorizontalEnabled?c`<div part="button-left" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.left&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.left||void 0)}" tabindex="${s(this.canScroll.left?void 0:-1)}" @click="${e=>this.handleScroll("left",e)}" @blur="${e=>this.handleButtonBlur("left",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-top" class="rotate-[-90deg]" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-right" class="${r("absolute z-10 flex items-center justify-center top-0 right-0 h-full w-8 transition-opacity duration-medium ease-in-out",!this.canScroll.right&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.right||void 0)}" tabindex="${s(this.canScroll.right?void 0:-1)}" @click="${e=>this.handleScroll("right",e)}" @blur="${e=>this.handleButtonBlur("right",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-bottom" class="rotate-[-90deg]" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="button-top" class="${r("absolute z-10 flex items-center justify-center top-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.up&&"opacity-0 pointer-events-none")}"><button part="button-start" class="${r(t)}" aria-hidden="${s(!this.canScroll.up||void 0)}" tabindex="${s(this.canScroll.up?void 0:-1)}" @click="${e=>this.handleScroll("up",e)}" @blur="${e=>this.handleButtonBlur("up",e)}"><slot name="icon-start"><sd-icon library="_internal" name="chevron-top" label="${this.localize.term("scrollToStart")}"></sd-icon></slot></button></div><div part="button-bottom" class="${r("absolute z-10 flex items-center justify-center bottom-0 left-0 w-full h-8 transition-opacity duration-medium ease-in-out",!this.canScroll.down&&"opacity-0 pointer-events-none")}"><button part="button-end" class="${r(t)}" aria-hidden="${s(!this.canScroll.down||void 0)}" tabindex="${s(this.canScroll.down?void 0:-1)}" @click="${e=>this.handleScroll("down",e)}" @blur="${e=>this.handleButtonBlur("down",e)}"><slot name="icon-end"><sd-icon library="_internal" name="chevron-bottom" label="${this.localize.term("scrollToEnd")}"></sd-icon></slot></button></div>`:null}`:null} ${this.shadows?c`${this.isScrollHorizontalEnabled?c`<div part="shadow-left" class="${r("left top-0 left-0 w-[6px] h-full",l,this.canScroll.left?"opacity-100":"opacity-0")}"></div><div part="shadow-right" class="${r("right top-0 right-0 w-[6px] h-full",l,this.canScroll.right?"opacity-100":"opacity-0")}"></div>`:null} ${this.isScrollVerticalEnabled?c`<div part="shadow-top" class="${r("top top-0 left-0 w-full h-[6px]",l,this.canScroll.up?"opacity-100":"opacity-0")}"></div><div part="shadow-bottom" class="${r("bottom bottom-0 left-0 w-full h-[6px]",l,this.canScroll.down?"opacity-100":"opacity-0")}"></div>`:null}`:null}`}};n.styles=[...y.styles,k`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
:host{--gradient-color:transparent;--gradient:var(--gradient-color) 0%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 80%,rgba(var(--sd-color-background-white, rgba(var(--sd-color-white)))) 100%;position:relative;display:flex;overflow:hidden}.hide-scrollbars{scrollbar-width:none;-ms-overflow-style:none}.hide-scrollbars::-webkit-scrollbar{display:none}.scroll-container::-webkit-scrollbar-thumb{background-color:transparent}.scroll-container:hover::-webkit-scrollbar-thumb{background:var(--background-neutral-400,#c3c3c3);border-radius:var(--sd-radius-sm,.125rem)}.scroll-container::-webkit-scrollbar{height:var(--sd-spacing-1,.25rem);width:var(--sd-spacing-1,.25rem)}.scroll-auto{overflow:auto}[part=button-left]{background:linear-gradient(270deg,var(--gradient))}[part=button-right]{background:linear-gradient(90deg,var(--gradient))}[part=button-top]{background:linear-gradient(0deg,var(--gradient))}[part=button-bottom]{background:linear-gradient(180deg,var(--gradient))}[part=shadow-left]{background:linear-gradient(270deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-right]{background:linear-gradient(90deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-top]{background:linear-gradient(0deg,transparent 50%,rgba(24,24,24,.4) 100%)}[part=shadow-bottom]{background:linear-gradient(180deg,transparent 50%,rgba(24,24,24,.4) 100%)}.sd-icon--top{align-self:flex-start}.sd-icon--down{align-self:flex-end}`],o([u('[part="button-right"] button')],n.prototype,"rightButton",2),o([u('[part="button-left"] button')],n.prototype,"leftButton",2),o([u('[part="button-bottom"] button')],n.prototype,"downButton",2),o([u('[part="button-top"] button')],n.prototype,"upButton",2),o([u(".scroll-container")],n.prototype,"container",2),o([u("#announcement-container")],n.prototype,"announcementContainer",2),o([h({type:String,reflect:!0})],n.prototype,"orientation",2),o([h({type:Boolean,reflect:!0})],n.prototype,"scrollbars",2),o([h({type:Boolean,reflect:!0})],n.prototype,"buttons",2),o([h({type:Boolean,reflect:!0})],n.prototype,"shadows",2),o([h({type:Boolean,reflect:!0})],n.prototype,"inset",2),o([h({type:Number,reflect:!0})],n.prototype,"step",2),o([f()],n.prototype,"canScroll",2),o([f()],n.prototype,"isScrollHorizontalEnabled",2),o([f()],n.prototype,"isScrollVerticalEnabled",2),n=o([T("sd-scrollable")],n);export{n as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as w}from"./chunk.MEDJPDBB.js";import{a as p,d as f,h as m}from"./chunk.
|
|
1
|
+
import{a as w}from"./chunk.MEDJPDBB.js";import{a as p,d as f,h as m}from"./chunk.J45556RK.js";import{b as u,e as h}from"./chunk.OBAEIKIV.js";import{e as c}from"./chunk.6EV4YU6C.js";var a=class extends m{constructor(){super(...arguments);this.localize=new w(this);this.handleOutsideClick=t=>{this.contains(t.target)||this.getAllItems().forEach(e=>e.classList.remove("menu-item-focus"))}}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu"),document.addEventListener("click",this.handleOutsideClick)}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("click",this.handleOutsideClick)}handleClick(t){let e=["menuitem","menuitemcheckbox"],n=t.composedPath(),i=n.find(s=>{var l;return e.includes(((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))||"")});if(!i||n.find(s=>{var l;return((l=s==null?void 0:s.getAttribute)==null?void 0:l.call(s,"role"))==="menu"})!==this)return;let o=i;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Escape"){let e=this.getCurrentItem();e==null||e.classList.remove("menu-item-focus")}else if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.classList.remove("menu-item-focus"),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),n=this.getCurrentItem(),i=n?e.indexOf(n):0;if(n==null||n.classList.remove("menu-item-focus"),e.length>0){t.preventDefault(),t.stopPropagation();let d=(r,o)=>{let s=r;for(let l of e)if(s=(s+o+e.length)%e.length,!e[s].disabled)return s;return r};if(t.key==="ArrowDown")i=d(i,1);else if(t.key==="ArrowUp")i=d(i,-1);else if(t.key==="Home")i=e.findIndex(r=>!r.disabled),i===-1&&(i=0);else if(t.key==="End"){i=e.length-1;for(let r=e.length-1;r>=0;r--)if(!e[r].disabled){i=r;break}}this.setCurrentItem(e[i]),e[i].focus(),e[i].classList.add("menu-item-focus")}}}handleMouseDown(t){let e=t.target;this.isMenuItem(e)&&this.setCurrentItem(e)}handleSlotChange(){let t=this.getAllItems();t.length>0&&this.setCurrentItem(t[0])}isMenuItem(t){var e;return t.tagName.toLowerCase()==="sd-menu-item"||["menuitem","menuitemcheckbox","menuitemradio"].includes((e=t.getAttribute("role"))!=null?e:"")}getAllItems(){return[...this.defaultSlot.assignedElements({flatten:!0})].filter(t=>!!this.isMenuItem(t))}getCurrentItem(){return this.getAllItems().find(t=>t.getAttribute("tabindex")==="0")}setCurrentItem(t){this.getAllItems().forEach(n=>{n.setAttribute("tabindex",n===t?"0":"-1")})}render(){return h`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...m.styles,u`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
2
|
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md,.375rem);padding-inline:var(--sd-spacing-2,.5rem);padding-block:var(--sd-spacing-3,.75rem);--tw-shadow:var(--sd-shadow, 0px 1px 3px 0px rgba(81, 81, 81, 0.75))!important;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)!important}::slotted(sd-divider){padding-block:var(--sd-spacing-3,.75rem)}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}`],c([f("slot")],a.prototype,"defaultSlot",2),a=c([p("sd-menu")],a);export{a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as R}from"./chunk.ERP45OHF.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{a as H}from"./chunk.OKNJ5BPS.js";import{b as A}from"./chunk.LZRL7OLU.js";import{a as P}from"./chunk.LHSR56PH.js";import{a as _}from"./chunk.CGQ2BPPZ.js";import{a as T,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.W5O4FM6B.js";import{a as M}from"./chunk.MEDJPDBB.js";import{a as d}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.
|
|
1
|
+
import{a as R}from"./chunk.ERP45OHF.js";import{a as B}from"./chunk.X2GM34WQ.js";import{a as D,d as K,e as U,f as $}from"./chunk.W7A3TU2Z.js";import{a as H}from"./chunk.OKNJ5BPS.js";import{b as A}from"./chunk.LZRL7OLU.js";import{a as P}from"./chunk.LHSR56PH.js";import{a as _}from"./chunk.CGQ2BPPZ.js";import{a as T,c as k}from"./chunk.B2NUKX6G.js";import{a as w}from"./chunk.KLRPP4NQ.js";import{a as I}from"./chunk.W5O4FM6B.js";import{a as M}from"./chunk.MEDJPDBB.js";import{a as d}from"./chunk.4ZZFYCXX.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as F,b as r,c as u,d as m,h as E}from"./chunk.J45556RK.js";import{b as V,e as p}from"./chunk.OBAEIKIV.js";import{b as S,e as C}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends E{constructor(){super(...arguments);this.formControlController=new A(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.hasSlotController=new _(this,"help-text","label");this.localize=new M(this);this.hasFocus=!1;this.displayInputValue="";this.selectedTextLabel="";this.selectedOptions=[];this.filteredOptions=[];this.allOptions=[];this.showValidStyle=!1;this.showInvalidStyle=!1;this.deletedTagLabel="";this.name="";this.value="";this.defaultValue="";this.size="lg";this.placeholder="";this.maxOptionsTagLabel="";this.disabled=!1;this.visuallyDisabled=!1;this.clearable=!1;this.open=!1;this.hoist=!1;this.label="";this.placement="bottom";this.helpText="";this.form="";this.required=!1;this.floatingLabel=!1;this.type="text";this.currentPlacement=this.placement;this.getOption=B;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=$(t.value),a=$(t.getTextLabel()),o=$(e);return i.includes(o)||a.includes(o)};this.getTag=t=>p`<sd-tag class="min-w-0 max-w-full" ?disabled="${this.disabled}" part="tag" exportparts="
|
|
2
2
|
base:tag__base,
|
|
3
3
|
content:tag__content,
|
|
4
4
|
removable-indicator:tag__removable-indicator,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.
|
|
1
|
+
import{a as b}from"./chunk.DSKB3SEU.js";import{a as h,b as u}from"./chunk.CGQ2BPPZ.js";import{a as l}from"./chunk.4ZZFYCXX.js";import{a}from"./chunk.NYKJXI3Q.js";import{a as d,b as i,d as r,h as n}from"./chunk.J45556RK.js";import{b as c,e as o}from"./chunk.OBAEIKIV.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends n{constructor(){super(...arguments);this.type="normal";this.checked=!1;this.disabled=!1;this.value="";this.chevron=!1;this.hasSlotController=new h(this,"submenu");this.submenuController=new b(this,this.hasSlotController);this.handleHostClick=s=>{this.disabled&&(s.preventDefault(),s.stopImmediatePropagation())};this.handleMouseOver=s=>{this.focus(),s.stopPropagation()}}connectedCallback(){super.connectedCallback(),this.addEventListener("click",this.handleHostClick),this.addEventListener("mouseover",this.handleMouseOver)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick),this.removeEventListener("mouseover",this.handleMouseOver)}handleDefaultSlotChange(){let s=this.getTextLabel();if(typeof this.cachedTextLabel=="undefined"){this.cachedTextLabel=s;return}s!==this.cachedTextLabel&&(this.cachedTextLabel=s,this.emit("slotchange",{bubbles:!0,composed:!1,cancelable:!1}))}handleCheckedChange(){if(this.checked&&this.type!=="checkbox"){this.checked=!1,console.error('The checked attribute can only be used on menu items with type="checkbox"',this);return}this.type==="checkbox"?this.setAttribute("aria-checked",this.checked?"true":"false"):this.removeAttribute("aria-checked")}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false"),this.setAttribute("tabindex",this.disabled?"-1":"0")}handleTypeChange(){this.type==="checkbox"?(this.setAttribute("role","menuitemcheckbox"),this.setAttribute("aria-checked",this.checked?"true":"false")):(this.setAttribute("role","menuitem"),this.removeAttribute("aria-checked"))}getTextLabel(){return u(this.defaultSlot)}isSubmenu(){return this.hasSlotController.test("submenu")}render(){let s=this.submenuController.isExpanded(),p={label:this.hasSlotController.test("[default]"),iconIndent:this.hasSlotController.test("icon-indent")};return o`<div id="anchor" part="base" class="${l("relative flex items-stretch whitespace-nowrap py-3 px-4 no-wrap !navigable-border-radius",this.disabled?"outline-none cursor-not-allowed sd-menu-item--disabled-color-text hover:bg-transparent":"cursor-pointer sd-menu-item-color-text hover:bg-neutral-200",this.isSubmenu()&&s&&"submenu-expanded")}" .disabled="${this.disabled}" ?aria-haspopup="${this.isSubmenu()}" ?aria-expanded="${!!s}">${this.type==="checkbox"?o`<span part="checked-icon" class="${l("flex items-center justify-center grow-0 shrink-0 basis-auto",this.checked?"visible":"invisible")}"><sd-icon name="status-check" library="sd-status-assets" aria-hidden="true"></sd-icon></span>`:""} ${p.iconIndent?o`<slot name="icon-indent" part="icon-indent" class="flex items-center grow-0 shrink-0 basis-auto mr-2"></slot>`:""}<slot part="label" class="inline-flex grow shrink basis-auto text-ellipsis overflow-hidden" @slotchange="${this.handleDefaultSlotChange}"></slot>${this.chevron||this.isSubmenu()?o`<span part="submenu-icon" class="flex items-center justify-center grow-0 shrink-0 basis-auto ml-3"><sd-icon name="chevron-right" library="_internal" aria-hidden="true" class="h-6 w-6"></sd-icon></span>`:""} ${this.submenuController.renderSubmenu()}</div>`}};e.styles=[...n.styles,c`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
2
|
:host{--submenu-offset:-6px;display:block}:host(:focus-visible){--tw-outline-style:none;outline-style:none}::slotted(sd-icon){height:var(--sd-spacing-6,1.5rem);width:var(--sd-spacing-6,1.5rem)}[part=checked-icon]{margin-right:var(--sd-spacing-3,.75rem)}.submenu-expanded::after{position:fixed;top:0;right:0;bottom:0;left:0;z-index:calc(var(z-dropdown) - 1);--tw-content:'';content:var(--tw-content);clip-path:polygon(var(--safe-triangle-cursor-x,0) var(--safe-triangle-cursor-y,0),var(--safe-triangle-submenu-start-x,0) var(--safe-triangle-submenu-start-y,0),var(--safe-triangle-submenu-end-x,0) var(--safe-triangle-submenu-end-y,0))}:host(:hover:not([aria-disabled=true],:focus-visible)) [part=base]{background-color:rgba(var(--sd-color-background-neutral-200,233 233 233));--tw-outline-style:none;outline-style:none}:host(:focus-visible:not([aria-disabled=true])) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(.menu-item-focus) [part=base]{outline-style:solid;outline-offset:2px;outline-width:2px;outline-color:var(--outline-color-primary);outline-offset:-2px}:host(:hover) [part=base]{--tw-outline-style:none;outline-style:none}:host [part=checked-icon],:host [part=icon-indent],:host [part=submenu-icon]{color:rgba(var(--sd-menu-item-color-icon-fill))}:host([aria-disabled=true]) [part=icon-indent]{color:rgba(var(--sd-menu-item--disabled-color-icon-fill))}sd-popup::part(popup){z-index:var(--sd-z-index-dropdown,900);background-color:rgba(var(--sd-color-background-white,255 255 255));margin-left:var(--submenu-offset)}::slotted(sd-menu){max-width:var(--auto-size-available-width)!important;max-height:var(--auto-size-available-height)!important}.sd-menu-item-color-text{color:rgba(var(--sd-menu-item-color-text))}.sd-menu-item--disabled-color-text{color:rgba(var(--sd-menu-item--disabled-color-text))}@property --tw-content{syntax:"*";inherits:false;initial-value:""}`],t([r("slot:not([name])")],e.prototype,"defaultSlot",2),t([r('part="base"')],e.prototype,"menuItem",2),t([i()],e.prototype,"type",2),t([i({type:Boolean,reflect:!0})],e.prototype,"checked",2),t([i({type:Boolean,reflect:!0})],e.prototype,"disabled",2),t([i()],e.prototype,"value",2),t([i({type:Boolean,reflect:!0})],e.prototype,"chevron",2),t([a("checked")],e.prototype,"handleCheckedChange",1),t([a("disabled")],e.prototype,"handleDisabledChange",1),t([a("type")],e.prototype,"handleTypeChange",1),e=t([d("sd-menu-item")],e);export{e as a};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as D}from"./chunk.LZRL7OLU.js";import{a as d}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.Z44RDBCE.js";import{b as E,e as v}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
1
|
+
import{a as p,b,c as _}from"./chunk.IVHEBGOY.js";import{a as A}from"./chunk.ERP45OHF.js";import{b as D}from"./chunk.LZRL7OLU.js";import{a as d}from"./chunk.LHSR56PH.js";import{a as M}from"./chunk.CGQ2BPPZ.js";import{a as w}from"./chunk.MEDJPDBB.js";import{a as c}from"./chunk.4ZZFYCXX.js";import{a as C,b as h,d as f,e as I,h as T}from"./chunk.J45556RK.js";import{b as E,e as v}from"./chunk.OBAEIKIV.js";import{e as o}from"./chunk.6EV4YU6C.js";var l=class extends T{constructor(){super();this.formControlController=new D(this);this.hasSlotController=new M(this,"label","help-text");this.localize=new w(this);this.name="";this.label="";this.helpText="";this.min=0;this.max=100;this.step=1;this.disabled=!1;this.visuallyDisabled=!1;this.noTrackBar=!1;this.tooltip="on-interaction";this.defaultValue="";this._value=[0];this._rangeValues=new Map;this._lastChangeValue=[];this._hasFocus=!1;this._dragStyleElement=null;this._preventSelectStart=t=>t.preventDefault();this.tooltipFormatter=this.localize.number.bind(this.localize)}set value(t){this._value=t?t.split(" ").map(Number).sort(p):[]}get value(){return this._value.slice().sort(p).join(" ")}set valueAsArray(t){let e=this._value;this._value=Array.isArray(t)?t.slice().sort(p):t||[],b(e,this._value)&&this.requestUpdate("value",e.join(" "))}get valueAsArray(){return[...this._value].sort(p)}get rtl(){return this.localize.dir()==="rtl"}disconnectedCallback(){super.disconnectedCallback(),this._restoreTextSelection()}firstUpdated(){this.formControlController.updateValidity(),this._lastChangeValue=Array.from(this._value),this.thumbs.forEach(async t=>{var i,a;let e=t.parentElement;await e.updateComplete,(a=(i=e.shadowRoot)==null?void 0:i.querySelector("sd-popup"))==null||a.setAttribute("distance","14")})}willUpdate(t){super.willUpdate(t),this.min>this.max&&([this.min,this.max]=[this.max,this.min]),this.step>this.max-this.min&&(this.step=this.max-this.min),this.step<=0&&(this.step=1);let e=this._value.map(i=>{if(i<=this.min)return this.min;if(i>=this.max)return this.max;let a=this.min+this.step*Math.round((i-this.min)/this.step);return a>this.max?this.max:a});b(this._value,e)&&(this._value=e)}updated(t){super.updated(t);for(let e of this.thumbs){let i=+e.dataset.rangeId;this._rangeValues.has(i)&&(this.moveThumb(e,this._rangeValues.get(i)),this.tooltip==="always-visible"&&(e.parentElement.closeTrigger="manual",e.parentElement.show()))}this.updateActiveTrack()}focus(t){let e=this.thumbs.item(0);e?e.focus(t):super.focus(t)}get validity(){return this.input.validity}checkValidity(){var t;return(t=this.input)==null?void 0:t.checkValidity()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}updateTooltip(t){let e=+t.dataset.rangeId;if(!this._rangeValues.has(e))return;let i=this._rangeValues.get(e),a=t.parentElement;a.content=this.tooltipFormatter(i)}updateActiveTrack(){let{activeTrack:t}=this;if(!t)return;if(this.min===this.max){t.style.insetInlineStart="0%",t.style.insetInlineEnd="0%";return}if(this._value.length===1){let s=getComputedStyle(this).getPropertyValue("--track-active-offset")||"0%",n=100*(this._value[0]-this.min)/(this.max-this.min);t.style.insetInlineStart=`min(${s}, ${n}%)`,t.style.insetInlineEnd=`min(calc(100% - ${s}), calc(100% - ${n}%))`;return}let e=this._value.slice().sort(p),i=100*(e[0]-this.min)/(this.max-this.min),a=100*(e[e.length-1]-this.min)/(this.max-this.min);t.style.insetInlineStart=`${i}%`,t.style.insetInlineEnd=`calc(100% - ${a}%)`}moveThumb(t,e){t.setAttribute("aria-valuenow",e.toString()),t.setAttribute("aria-valuetext",this.tooltipFormatter(e));let i=(e-this.min)/(this.max-this.min);t.style.insetInlineStart=`calc(${100*i}% - 8px)`,this.updateTooltip(t)}movementBoundariesForThumb(t,e){let i=this.valueAsArray,s=Array.from(this.thumbs).indexOf(t),n=i[s-1]||this.min,r=i[s+1]||this.max,u=e<n||e>r;return{finalValue:Math.max(n,Math.min(r,e)),isRestricted:u,nextValue:r,prevValue:n}}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}onClickTrack(t,e=!0){if(this.disabled||this.visuallyDisabled)return;let{clientX:i}=t,a=Array.from(this.thumbs),s=_(this.inputWrapper,i),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n),u=a.reduce((g,x)=>{let k=this._rangeValues.get(+x.dataset.rangeId),L=this._rangeValues.get(+g.dataset.rangeId),V=Math.abs(k-r),$=Math.abs(L-r);return V===$?k<r?x:g:V<$?x:g}),m=+u.dataset.rangeId;if(!m)return;this._rangeValues.set(m,r),this.moveThumb(u,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change"));let F=new PointerEvent("pointerdown",t);e&&u.dispatchEvent(F)&&this.updateTooltip(u)}onClickTrackItem(t){this.onClickTrack(t,!1)}_preventTextSelection(){if(!this._dragStyleElement){let t=document.createElement("style");t.setAttribute("data-sd-range-drag",""),t.textContent="*, *::before, *::after { user-select: none !important; -webkit-user-select: none !important; }",document.head.appendChild(t),this._dragStyleElement=t}document.addEventListener("selectstart",this._preventSelectStart)}_restoreTextSelection(){this._dragStyleElement&&(this._dragStyleElement.remove(),this._dragStyleElement=null),document.removeEventListener("selectstart",this._preventSelectStart)}async onClickThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target;if(this.updateTooltip(e),e.dataset.pointerId)try{e.releasePointerCapture(+e.dataset.pointerId)}catch(i){}e.dataset.pointerId=t.pointerId.toString(),e.setPointerCapture(t.pointerId),this._preventTextSelection(),e.classList.add("grabbed"),this.tooltip==="on-interaction"&&await e.parentElement.show()}onDragThumb(t){if(this.disabled||this.visuallyDisabled)return;let e=t.target,i=+e.dataset.rangeId;if(!this._rangeValues.has(i)||(e.dataset.pointerId?+e.dataset.pointerId:null)!==t.pointerId)return;let s=_(this.inputWrapper,t.clientX),n=this.step/(this.max-this.min),r=this.min+this.step*Math.round(s/n);if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:r}}).defaultPrevented)return;let m=this.movementBoundariesForThumb(e,r);m.isRestricted?(r=m.finalValue,e.style.zIndex=(3+this.thumbs.length).toFixed(0)):e.style.zIndex="3",this._rangeValues.set(i,r),this.moveThumb(e,r);let y=this._value;this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),b(y,this._value)&&this.emit("sd-input")}async onReleaseThumb(t){let e=t.target;!e.dataset.pointerId||t.pointerId!==+e.dataset.pointerId||(e.classList.remove("grabbed"),e.releasePointerCapture(t.pointerId),this._restoreTextSelection(),delete e.dataset.pointerId,b(this._lastChangeValue,this._value)&&(this._lastChangeValue=Array.from(this._value),this.emit("sd-change")),this.tooltip==="on-interaction"&&await e.parentElement.hide())}onKeyPress(t){let e=t.target,i=+e.dataset.rangeId,a=this._rangeValues.get(i);if(a===void 0)return;let s=a;switch(t.key){case"ArrowUp":case"Up":s=Math.min(a+this.step,this.max);break;case"ArrowDown":case"Down":s=Math.max(a-this.step,this.min);break;case"ArrowLeft":case"Left":s=this.rtl?Math.min(a+this.step,this.max):Math.max(a-this.step,this.min);break;case"ArrowRight":case"Right":s=this.rtl?Math.max(a-this.step,this.min):Math.min(a+this.step,this.max);break;case"PageUp":s=Math.min(a+(this.max-this.min)/5,this.max);break;case"PageDown":s=Math.max(a-(this.max-this.min)/5,this.min);break;case"Home":s=this.min;break;case"End":s=this.max;break;default:return}if(s!==a){if(this.emit("sd-move",{cancelable:!0,detail:{element:e,value:s}}).defaultPrevented)return;let r=this.movementBoundariesForThumb(e,s);r.isRestricted&&(s=r.finalValue),this.moveThumb(e,s),this._rangeValues.set(i,s),this._value=Array.from(this._rangeValues.values()),this.updateActiveTrack(),this.updateTooltip(e),this._lastChangeValue=Array.from(this._value),this.emit("sd-input"),this.emit("sd-change")}t.preventDefault()}onBlur(t){var e;t.relatedTarget&&((e=this.shadowRoot)!=null&&e.contains(t.relatedTarget))||(this.emit("sd-blur"),this._hasFocus=!1)}onFocusThumb(t){var i;if(this.disabled||this.visuallyDisabled)return;this._hasFocus||(this._hasFocus=!0,this.emit("sd-focus"));let e=t.target;(i=e==null?void 0:e.dataset)!=null&&i.rangeId&&this.updateTooltip(e)}renderThumbs(t){let e=this._value.length>1;return this._rangeValues.clear(),this._value.map((i,a)=>{let s=a+1;this._rangeValues.set(s,i);let n=`thumb-${s}`,r="",u="";return e?(u=t?`label aria-label-hidden ${n}`:`aria-label-hidden ${n}`,a===0?r=`${this.localize.term("minimum")} (${this.tooltipFormatter(i)})`:a===this._value.length-1?r=`${this.localize.term("maximum")} (${this.tooltipFormatter(i)})`:r=this.tooltipFormatter(i)):u=t?"label aria-label-hidden":"",v`<sd-tooltip trigger="${this.tooltip==="on-interaction"?"focus":"manual"}" disabled="${d(this.disabled||this.visuallyDisabled||this.tooltip==="hidden"?!0:void 0)}"><div id="${n}" part="thumb" role="slider" tabindex="${this.disabled||this.visuallyDisabled?-1:0}" aria-disabled="${d(this.disabled||this.visuallyDisabled?"true":void 0)}" aria-labelledby="${u}" aria-label="${r}" aria-valuemax="${this.max}" aria-valuemin="${this.min}" aria-valuenow="${i}" aria-valuetext="${this.tooltipFormatter(i)}" data-range-id="${s}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" @pointerdown="${this.onClickThumb}" @pointermove="${this.onDragThumb}" @pointerup="${this.onReleaseThumb}" @pointercancel="${this.onReleaseThumb}" @keydown="${this.onKeyPress}" @focus="${this.onFocusThumb}" class="${c("rounded-full absolute top-0 size-4 hover:cursor-grab after:-inset-2",this.disabled||this.visuallyDisabled?"outline-none":"cursor-pointer focus-visible:focus-outline")}"></div></sd-tooltip>`})}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text")},e=!!(this.label||t.label),i=!!(this.helpText||t.helpText);return v`<div part="form-control" @focusout="${this.onBlur}" class="flex flex-col">${e?v`<div class="flex items-center gap-1"><label id="label" part="form-control-label" aria-hidden="${e?"false":"true"}" class="${c("w-full text-start",e?"inline-block":"hidden")}" @click="${this.focus}"><slot name="label">${this.label}</slot></label></div>`:null} <label id="aria-label-hidden" class="sr-only">(${this._value.map(this.tooltipFormatter).join(" - ")})</label><div part="base" class="${c("inline-flex w-full",this.visuallyDisabled&&"focus-visible:focus-outline")}" tabindex="${d(this.visuallyDisabled?"0":void 0)}"><div part="input-wrapper" class="relative flex-1 mx-2 mb-[10px]"><input id="input" tabindex="-1" hidden @invalid="${this.handleInvalid}"><div part="track-wrapper" role="presentation" @pointerdown="${this.onClickTrack}" class="relative cursor-pointer -mx-2"><div part="track-click-helper" class="absolute -inset-y-2 inset-x-0"></div><div part="track" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("h-1 my-[6px]")}"></div><div part="active-track" hidden="${d(this.noTrackBar?!0:void 0)}" data-disabled="${d(this.disabled||this.visuallyDisabled||void 0)}" class="${c("absolute top-0 h-1")}"></div></div>${this.renderThumbs(e)}<div class="-mt-[10px]" part="scale-ticks" @pointerdown="${this.onClickTrackItem}" role="presentation"><slot name="scale-ticks"></slot></div></div></div><slot></slot><slot name="help-text" part="form-control-help-text" id="help-text" class="${c("text-sm text-neutral-700 mt-1",i?"block":"hidden")}" aria-hidden="${!i}">${this.helpText}</slot></div>`}};l.styles=[...T.styles,E`/*! tailwindcss v4.3.2 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
2
|
[part='base']{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[part=thumb]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=thumb]:hover{background-color:rgba(var(--sd-color-icon-fill-primary-500,rgba(var(--sd-color-primary-500))))}[part=thumb].grabbed{background-color:rgba(var(--sd-color-icon-fill-primary-800,rgba(var(--sd-color-primary-800))))}[part=thumb][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=track]{background-color:rgba(var(--sd-color-border-neutral-400,rgba(var(--sd-color-neutral-400))))}[part=track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}[part=active-track]{background-color:rgba(var(--sd-color-icon-fill-primary,rgba(var(--sd-color-primary))))}[part=active-track][data-disabled]{background-color:rgba(var(--sd-color-background-neutral-500,rgba(var(--sd-color-neutral-500))))}`],o([f("#input")],l.prototype,"input",2),o([f('[part="active-track"]')],l.prototype,"activeTrack",2),o([f('[part="input-wrapper"]')],l.prototype,"inputWrapper",2),o([I('[part="thumb"]')],l.prototype,"thumbs",2),o([h({attribute:!1})],l.prototype,"tooltipFormatter",2),o([h({type:String,reflect:!0})],l.prototype,"name",2),o([h({type:String,reflect:!0})],l.prototype,"label",2),o([h({attribute:"help-text",reflect:!0})],l.prototype,"helpText",2),o([h({type:Number,reflect:!0})],l.prototype,"min",2),o([h({type:Number,reflect:!0})],l.prototype,"max",2),o([h({type:Number,reflect:!0})],l.prototype,"step",2),o([h({type:Boolean,reflect:!0})],l.prototype,"disabled",2),o([h({attribute:"visually-disabled",type:Boolean,reflect:!0})],l.prototype,"visuallyDisabled",2),o([h({attribute:"no-track-bar",type:Boolean,reflect:!0})],l.prototype,"noTrackBar",2),o([h({attribute:"tooltip",type:String,reflect:!0})],l.prototype,"tooltip",2),o([A()],l.prototype,"defaultValue",2),o([h({type:String})],l.prototype,"value",1),l=o([C("sd-range")],l);export{l as a};
|