@solid-design-system/components 5.16.2-next.0 → 5.16.2
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.3FCZSYJE.js +1 -0
- package/cdn/chunks/chunk.3SQYUPQR.js +1 -0
- package/cdn/chunks/{chunk.ZFOZJ36J.js → chunk.3ZSLSQT3.js} +1 -2
- package/cdn/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
- package/cdn/chunks/chunk.5P7RNZVM.js +1 -0
- package/cdn/chunks/chunk.5QETSQFJ.js +1 -0
- package/cdn/chunks/chunk.5UL2MFVQ.js +1 -0
- package/cdn/chunks/chunk.6AL2V3GA.js +1 -0
- package/cdn/chunks/{chunk.3VKPKJT4.js → chunk.6KIASTDN.js} +3 -4
- package/cdn/chunks/chunk.6O24TPWT.js +1 -0
- package/cdn/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
- package/cdn/chunks/{chunk.UTR4DHLT.js → chunk.6WJYMU5I.js} +4 -5
- package/cdn/chunks/chunk.7BYMJ4MT.js +10 -0
- package/cdn/chunks/chunk.7LYAXCBH.js +1 -0
- package/cdn/chunks/chunk.AGOSIHIV.js +1 -0
- package/cdn/chunks/{chunk.R62WGEQY.js → chunk.AZMH6NZR.js} +2 -3
- package/cdn/chunks/chunk.B7YAWCJP.js +1 -0
- package/cdn/chunks/chunk.BDPK77SL.js +1 -0
- package/{cdn-versioned/chunks/chunk.MP6XEXRW.js → cdn/chunks/chunk.BOIDC3L5.js} +1 -1
- package/{cdn-versioned/chunks/chunk.CJNOMH3T.js → cdn/chunks/chunk.BS3WSQN5.js} +1 -2
- package/cdn/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
- package/cdn/chunks/{chunk.2AUHDXWC.js → chunk.CBQDWY5Y.js} +1 -2
- package/cdn/chunks/chunk.CEVVDV52.js +1 -0
- package/{cdn-versioned/chunks/chunk.PV6UYBMY.js → cdn/chunks/chunk.CHU57RUD.js} +1 -1
- package/cdn/chunks/chunk.CN5K7RGY.js +1 -0
- package/cdn/chunks/chunk.CRGRHGIA.js +1 -0
- package/cdn/chunks/{chunk.LVTMZQJV.js → chunk.DAPRKASR.js} +1 -2
- package/{cdn-versioned/chunks/chunk.ENJXLYMY.js → cdn/chunks/chunk.DLQQ7NIM.js} +1 -2
- package/cdn/chunks/chunk.DTEAN466.js +1 -0
- package/cdn/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
- package/cdn/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
- package/{cdn-versioned/chunks/chunk.RBHJIKZL.js → cdn/chunks/chunk.EOIYFHSR.js} +1 -4
- package/cdn/chunks/chunk.EXK3HKK5.js +1 -0
- package/{cdn-versioned/chunks/chunk.KPGRVUWN.js → cdn/chunks/chunk.F7X5747H.js} +1 -2
- package/cdn/chunks/chunk.GCKYK2C3.js +1 -0
- package/cdn/chunks/{chunk.CDP46OS4.js → chunk.HJ4O4XQA.js} +1 -1
- package/cdn/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
- package/cdn/chunks/chunk.K7UH7J3V.js +1 -0
- package/cdn/chunks/chunk.KBESD73V.js +1 -0
- package/cdn/chunks/chunk.KKT3D6C3.js +1 -0
- package/cdn/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
- package/cdn/chunks/{chunk.LV3LCBSG.js → chunk.LFJ4IYGZ.js} +1 -2
- package/{cdn-versioned/chunks/chunk.VYBQ3X2B.js → cdn/chunks/chunk.LIO6LMTQ.js} +1 -1
- package/cdn/chunks/chunk.LXHLWQH7.js +1 -0
- package/cdn/chunks/chunk.LZBHL4IV.js +1 -0
- package/cdn/chunks/chunk.MHPHKNZ5.js +83 -0
- package/cdn/chunks/{chunk.AVBQMWIA.js → chunk.NOZRJQX2.js} +2 -3
- package/cdn/chunks/{chunk.JS2HQ2N4.js → chunk.NRBNWX7R.js} +1 -1
- package/cdn/chunks/{chunk.3MVF6H4N.js → chunk.NYJKF5NP.js} +1 -2
- package/{cdn-versioned/chunks/chunk.LTQPSLZX.js → cdn/chunks/chunk.OLX6LCKD.js} +1 -2
- package/cdn/chunks/{chunk.FK5L4QA6.js → chunk.P7DGMSNP.js} +1 -2
- package/cdn/chunks/{chunk.N3UOZUQ7.js → chunk.PKBVHWYN.js} +1 -2
- package/{cdn-versioned/chunks/chunk.PJ7JCMQF.js → cdn/chunks/chunk.PVM2WKMA.js} +1 -1
- package/cdn/chunks/chunk.QP5624EY.js +1 -0
- package/cdn/chunks/chunk.QVATLNE5.js +1 -0
- package/cdn/chunks/chunk.QWAB34LZ.js +3 -0
- package/cdn/chunks/chunk.R7A64SR7.js +1 -0
- package/cdn/chunks/{chunk.763RLJEK.js → chunk.RZUTJ36B.js} +2 -2
- package/cdn/chunks/chunk.SAXLGODJ.js +1 -0
- package/cdn/chunks/chunk.SB7VJNMQ.js +1 -0
- package/cdn/chunks/chunk.SKIYV7KD.js +1 -0
- package/cdn/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
- package/{cdn-versioned/chunks/chunk.IJ2YZYNV.js → cdn/chunks/chunk.THIUBNOW.js} +1 -2
- package/cdn/chunks/chunk.TIK62LTB.js +25 -0
- package/cdn/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn/chunks/chunk.TOLB3HGS.js +1 -0
- package/cdn/chunks/chunk.UKCW2W2D.js +1 -0
- package/cdn/chunks/chunk.ULAC7BZA.js +1 -0
- package/cdn/chunks/{chunk.X6ZT6MLD.js → chunk.W32I6F46.js} +1 -2
- package/cdn/chunks/chunk.W4Y456DP.js +1 -0
- package/cdn/chunks/chunk.WAAEZAT7.js +1 -0
- package/{cdn-versioned/chunks/chunk.STI5RRSU.js → cdn/chunks/chunk.WMLPJIUB.js} +1 -2
- package/cdn/chunks/chunk.X53UBPCZ.js +1 -0
- package/cdn/chunks/chunk.XGIPT7I4.js +1 -0
- package/{cdn-versioned/chunks/chunk.D4E5ZIRW.js → cdn/chunks/chunk.XR2KNB36.js} +1 -1
- package/cdn/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
- package/cdn/chunks/chunk.Y4YRXSRB.js +1 -0
- package/cdn/chunks/chunk.YJ2L67GK.js +11 -0
- package/cdn/chunks/chunk.ZSXBZK7F.js +1 -0
- 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/animation/animations.js +1 -1
- package/cdn/components/audio/audio.d.ts +0 -1
- package/cdn/components/audio/audio.js +1 -1
- package/cdn/components/audio/base64Audio.js +1 -1
- package/cdn/components/audio/wave.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/autoplay-controller.js +1 -1
- package/cdn/components/carousel/carousel.js +1 -1
- package/cdn/components/carousel/fade-controller.js +1 -1
- package/cdn/components/carousel/scroll-controller.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/combobox/option-renderer.js +1 -1
- package/cdn/components/combobox/utils.js +1 -1
- package/cdn/components/datepicker/datepicker.d.ts +2 -1
- 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/flipcard/flipcard.js +1 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/icon/icon.d.ts +0 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.d.ts +1 -1
- package/cdn/components/icon/library.default.js +1 -1
- package/cdn/components/icon/library.internal.d.ts +0 -2
- package/cdn/components/icon/library.internal.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.status.js +1 -1
- package/cdn/components/icon/request.js +1 -1
- package/cdn/components/include/include.js +1 -1
- package/cdn/components/include/request.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/menu-item/submenu-controller.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/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/utils.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/spinner/spinner.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/tooltip/tooltip.js +1 -1
- package/cdn/components/video/video.js +1 -1
- package/cdn/custom-elements.json +6 -452
- package/cdn/internal/longpress.d.ts +1 -1
- package/cdn/internal/solid-element.d.ts +0 -5
- package/cdn/internal/solid-element.js +11 -61
- package/cdn/solid-components.bundle.js +61 -192
- package/cdn/solid-components.css +32 -118
- package/cdn/solid-components.d.ts +0 -1
- package/cdn/solid-components.iife.js +61 -192
- package/cdn/solid-components.js +1 -1
- package/cdn/translations/de.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/utilities/animation-registry.js +1 -1
- package/cdn/utilities/animation.js +1 -1
- package/cdn/utilities/autocomplete-config.js +1 -1
- package/cdn/utilities/base-path.js +1 -1
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/form.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.js +1 -1
- package/cdn/vscode.html-custom-data.json +17 -39
- package/cdn/web-types.json +19 -62
- package/cdn-versioned/chunks/chunk.3FCZSYJE.js +1 -0
- package/cdn-versioned/chunks/chunk.3SQYUPQR.js +1 -0
- package/cdn-versioned/chunks/chunk.3ZSLSQT3.js +1 -0
- package/cdn-versioned/chunks/{chunk.SIY4LRPB.js → chunk.4SX3FTTZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.5P7RNZVM.js +1 -0
- package/cdn-versioned/chunks/chunk.5QETSQFJ.js +1 -0
- package/cdn-versioned/chunks/chunk.5UL2MFVQ.js +1 -0
- package/cdn-versioned/chunks/chunk.6AL2V3GA.js +1 -0
- package/cdn-versioned/chunks/chunk.6KIASTDN.js +11 -0
- package/cdn-versioned/chunks/chunk.6O24TPWT.js +1 -0
- package/cdn-versioned/chunks/{chunk.W4QBFD6E.js → chunk.6OTM3PE5.js} +1 -1
- package/cdn-versioned/chunks/chunk.6WJYMU5I.js +11 -0
- package/cdn-versioned/chunks/chunk.7BYMJ4MT.js +10 -0
- package/cdn-versioned/chunks/chunk.7LYAXCBH.js +1 -0
- package/cdn-versioned/chunks/chunk.AGOSIHIV.js +1 -0
- package/cdn-versioned/chunks/chunk.AZMH6NZR.js +4 -0
- package/cdn-versioned/chunks/chunk.B7YAWCJP.js +1 -0
- package/cdn-versioned/chunks/chunk.BDPK77SL.js +1 -0
- package/{cdn/chunks/chunk.MP6XEXRW.js → cdn-versioned/chunks/chunk.BOIDC3L5.js} +1 -1
- package/{cdn/chunks/chunk.CJNOMH3T.js → cdn-versioned/chunks/chunk.BS3WSQN5.js} +1 -2
- package/cdn-versioned/chunks/{chunk.EOXYPQZI.js → chunk.C577EOP7.js} +1 -1
- package/cdn-versioned/chunks/chunk.CBQDWY5Y.js +1 -0
- package/cdn-versioned/chunks/chunk.CEVVDV52.js +1 -0
- package/{cdn/chunks/chunk.PV6UYBMY.js → cdn-versioned/chunks/chunk.CHU57RUD.js} +1 -1
- package/cdn-versioned/chunks/chunk.CN5K7RGY.js +1 -0
- package/cdn-versioned/chunks/chunk.CRGRHGIA.js +1 -0
- package/cdn-versioned/chunks/chunk.DAPRKASR.js +1 -0
- package/{cdn/chunks/chunk.ENJXLYMY.js → cdn-versioned/chunks/chunk.DLQQ7NIM.js} +1 -2
- package/cdn-versioned/chunks/chunk.DTEAN466.js +1 -0
- package/cdn-versioned/chunks/{chunk.NYKJXI3Q.js → chunk.E2DRD2OX.js} +1 -1
- package/cdn-versioned/chunks/{chunk.N3WG3NAL.js → chunk.EJI65G6N.js} +1 -1
- package/{cdn/chunks/chunk.RBHJIKZL.js → cdn-versioned/chunks/chunk.EOIYFHSR.js} +1 -4
- package/cdn-versioned/chunks/chunk.EXK3HKK5.js +1 -0
- package/{cdn/chunks/chunk.KPGRVUWN.js → cdn-versioned/chunks/chunk.F7X5747H.js} +1 -2
- package/cdn-versioned/chunks/chunk.GCKYK2C3.js +1 -0
- package/cdn-versioned/chunks/chunk.HJ4O4XQA.js +10 -0
- package/cdn-versioned/chunks/{chunk.YMZZDCP3.js → chunk.K7HF3VBZ.js} +1 -1
- package/cdn-versioned/chunks/chunk.K7UH7J3V.js +1 -0
- package/cdn-versioned/chunks/chunk.KBESD73V.js +1 -0
- package/cdn-versioned/chunks/chunk.KKT3D6C3.js +1 -0
- package/cdn-versioned/chunks/{chunk.7BPPDSHY.js → chunk.L6MCOH7T.js} +1 -1
- package/cdn-versioned/chunks/chunk.LFJ4IYGZ.js +11 -0
- package/{cdn/chunks/chunk.VYBQ3X2B.js → cdn-versioned/chunks/chunk.LIO6LMTQ.js} +1 -1
- package/cdn-versioned/chunks/chunk.LXHLWQH7.js +1 -0
- package/cdn-versioned/chunks/chunk.LZBHL4IV.js +1 -0
- package/cdn-versioned/chunks/chunk.MHPHKNZ5.js +83 -0
- package/cdn-versioned/chunks/chunk.NOZRJQX2.js +3 -0
- package/cdn-versioned/chunks/chunk.NRBNWX7R.js +1 -0
- package/cdn-versioned/chunks/chunk.NYJKF5NP.js +1 -0
- package/{cdn/chunks/chunk.LTQPSLZX.js → cdn-versioned/chunks/chunk.OLX6LCKD.js} +1 -2
- package/cdn-versioned/chunks/chunk.P7DGMSNP.js +1 -0
- package/cdn-versioned/chunks/chunk.PKBVHWYN.js +1 -0
- package/{cdn/chunks/chunk.PJ7JCMQF.js → cdn-versioned/chunks/chunk.PVM2WKMA.js} +1 -1
- package/cdn-versioned/chunks/chunk.QP5624EY.js +1 -0
- package/cdn-versioned/chunks/chunk.QVATLNE5.js +1 -0
- package/cdn-versioned/chunks/chunk.QWAB34LZ.js +3 -0
- package/cdn-versioned/chunks/chunk.R7A64SR7.js +1 -0
- package/cdn-versioned/chunks/{chunk.763RLJEK.js → chunk.RZUTJ36B.js} +2 -2
- package/cdn-versioned/chunks/chunk.SAXLGODJ.js +1 -0
- package/cdn-versioned/chunks/chunk.SB7VJNMQ.js +1 -0
- package/cdn-versioned/chunks/chunk.SKIYV7KD.js +1 -0
- package/cdn-versioned/chunks/{chunk.B2NUKX6G.js → chunk.SKUMYG4O.js} +1 -1
- package/{cdn/chunks/chunk.IJ2YZYNV.js → cdn-versioned/chunks/chunk.THIUBNOW.js} +1 -2
- package/cdn-versioned/chunks/chunk.TIK62LTB.js +25 -0
- package/cdn-versioned/chunks/chunk.TJOCV4DC.js +1 -0
- package/cdn-versioned/chunks/chunk.TOLB3HGS.js +1 -0
- package/cdn-versioned/chunks/chunk.UKCW2W2D.js +1 -0
- package/cdn-versioned/chunks/chunk.ULAC7BZA.js +1 -0
- package/cdn-versioned/chunks/chunk.W32I6F46.js +1 -0
- package/cdn-versioned/chunks/chunk.W4Y456DP.js +1 -0
- package/cdn-versioned/chunks/chunk.W7A3TU2Z.js +1 -1
- package/cdn-versioned/chunks/chunk.WAAEZAT7.js +1 -0
- package/{cdn/chunks/chunk.STI5RRSU.js → cdn-versioned/chunks/chunk.WMLPJIUB.js} +1 -2
- package/cdn-versioned/chunks/chunk.X53UBPCZ.js +1 -0
- package/cdn-versioned/chunks/chunk.XGIPT7I4.js +1 -0
- package/{cdn/chunks/chunk.D4E5ZIRW.js → cdn-versioned/chunks/chunk.XR2KNB36.js} +1 -1
- package/cdn-versioned/chunks/{chunk.CSLPZKLY.js → chunk.Y3GIPFVP.js} +1 -1
- package/cdn-versioned/chunks/chunk.Y4YRXSRB.js +1 -0
- package/cdn-versioned/chunks/chunk.YJ2L67GK.js +11 -0
- package/cdn-versioned/chunks/chunk.ZSXBZK7F.js +1 -0
- 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/animation/animations.js +1 -1
- package/cdn-versioned/components/audio/audio.d.ts +1 -2
- package/cdn-versioned/components/audio/audio.js +1 -1
- package/cdn-versioned/components/audio/base64Audio.js +1 -1
- package/cdn-versioned/components/audio/wave.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/autoplay-controller.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/fade-controller.js +1 -1
- package/cdn-versioned/components/carousel/scroll-controller.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/combobox/option-renderer.js +1 -1
- package/cdn-versioned/components/combobox/utils.js +1 -1
- package/cdn-versioned/components/datepicker/datepicker.d.ts +3 -2
- 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/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 -2
- package/cdn-versioned/components/icon/icon.js +1 -1
- package/cdn-versioned/components/icon/library.d.ts +1 -1
- package/cdn-versioned/components/icon/library.default.js +1 -1
- package/cdn-versioned/components/icon/library.internal.d.ts +0 -2
- package/cdn-versioned/components/icon/library.internal.js +1 -1
- package/cdn-versioned/components/icon/library.js +1 -1
- package/cdn-versioned/components/icon/library.status.js +1 -1
- package/cdn-versioned/components/icon/request.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/include/request.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/menu-item/submenu-controller.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/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/utils.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/spinner/spinner.d.ts +1 -1
- package/cdn-versioned/components/spinner/spinner.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/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 +251 -697
- package/cdn-versioned/internal/form.js +3 -3
- package/cdn-versioned/internal/longpress.d.ts +1 -1
- package/cdn-versioned/internal/solid-element.d.ts +0 -5
- package/cdn-versioned/internal/solid-element.js +11 -61
- package/cdn-versioned/solid-components.bundle.js +61 -192
- package/cdn-versioned/solid-components.css +32 -118
- package/cdn-versioned/solid-components.d.ts +0 -1
- package/cdn-versioned/solid-components.iife.js +61 -192
- package/cdn-versioned/solid-components.js +1 -1
- package/cdn-versioned/translations/de.js +1 -1
- package/cdn-versioned/translations/en.js +1 -1
- package/cdn-versioned/utilities/animation-registry.js +1 -1
- package/cdn-versioned/utilities/animation.js +1 -1
- package/cdn-versioned/utilities/autocomplete-config.js +1 -1
- package/cdn-versioned/utilities/base-path.js +1 -1
- package/cdn-versioned/utilities/date.js +1 -1
- package/cdn-versioned/utilities/form.js +1 -1
- package/cdn-versioned/utilities/icon-library.js +1 -1
- package/cdn-versioned/utilities/localize.js +1 -1
- package/cdn-versioned/vscode.html-custom-data.json +102 -124
- package/cdn-versioned/web-types.json +172 -215
- package/dist/chunks/{chunk.JFYEW3KW.js → chunk.2CAP3Q56.js} +2 -3
- package/dist/chunks/{chunk.XE2RRGVH.js → chunk.2SR73L2N.js} +2 -3
- package/dist/chunks/{chunk.2G4FUBDQ.js → chunk.3YQ55DEG.js} +2 -7
- package/dist/chunks/{chunk.LNHMJS3O.js → chunk.43SFOPTI.js} +3 -4
- package/dist/chunks/{chunk.TCIKEWTO.js → chunk.44BJS2SJ.js} +2 -3
- package/dist/chunks/{chunk.ZHMLJZFU.js → chunk.4DHEQEYR.js} +2 -3
- package/dist/chunks/{chunk.QXA4KBMD.js → chunk.4VTG7PRD.js} +2 -3
- package/dist/chunks/{chunk.CJDJQNJE.js → chunk.5USUIHQC.js} +2 -3
- package/dist/chunks/{chunk.AAY5JRCW.js → chunk.6DKXZWRN.js} +1 -2
- package/dist/chunks/{chunk.LQJSNWYP.js → chunk.72VNUTTV.js} +13 -6
- package/dist/chunks/{chunk.35CDD4AI.js → chunk.7FMGPUZF.js} +51 -23
- package/dist/chunks/{chunk.5ERDGBQ2.js → chunk.7IR6CJSO.js} +2 -3
- package/dist/chunks/{chunk.K6IPCLUI.js → chunk.7JUNYBWC.js} +4 -5
- package/dist/chunks/{chunk.JY6FHQV4.js → chunk.7MXI26GR.js} +3 -4
- package/dist/chunks/{chunk.QFCVUWPB.js → chunk.7QAWQQC2.js} +4 -8
- package/{dist-versioned/chunks/chunk.KPAQRMCC.js → dist/chunks/chunk.7VPFFNHR.js} +2 -2
- package/dist/chunks/{chunk.GY73LR3S.js → chunk.7YENJBA2.js} +2 -3
- package/dist/chunks/{chunk.ARM7CJQL.js → chunk.ABLPLQOM.js} +2 -3
- package/dist/chunks/{chunk.2EMJYE7P.js → chunk.ANLMAOKA.js} +3 -4
- package/dist/chunks/{chunk.4VWYFR7Q.js → chunk.AQI2R5GT.js} +5 -6
- package/dist/chunks/{chunk.4VCWVPDC.js → chunk.AXFVYO5L.js} +18 -25
- package/dist/chunks/{chunk.PAHCSY5I.js → chunk.BLKVBNBL.js} +2 -3
- package/dist/chunks/{chunk.FO5HZGHW.js → chunk.BWFYNOYR.js} +2 -3
- package/dist/chunks/{chunk.2LWMWEI6.js → chunk.CKLEIUJP.js} +8 -6
- package/dist/chunks/{chunk.UG7ABG7Q.js → chunk.DKBTK7VW.js} +2 -3
- package/dist/chunks/{chunk.RDTKXRB7.js → chunk.EOLLVTEE.js} +2 -3
- package/dist/chunks/{chunk.NXR5NJ4D.js → chunk.ERJOEJ54.js} +2 -3
- package/dist/chunks/{chunk.MQNVPN2V.js → chunk.FK2BNPQB.js} +3 -4
- package/dist/chunks/{chunk.MZYFWNJ2.js → chunk.G3JK5J7P.js} +2 -3
- package/dist/chunks/{chunk.B2OI7BBP.js → chunk.G4FXGRRH.js} +5 -6
- package/dist/chunks/{chunk.TBWF2AZD.js → chunk.GUZQ4ADZ.js} +2 -3
- package/dist/chunks/{chunk.AKPL6DO2.js → chunk.JGH3YXMX.js} +3 -4
- package/dist/chunks/{chunk.7OG77Q72.js → chunk.LLUTMJ6Y.js} +5 -6
- package/dist/chunks/{chunk.X5F5FYN6.js → chunk.O7O2LFXK.js} +6 -7
- package/dist/chunks/{chunk.CSGRFVC4.js → chunk.PB672B5H.js} +2 -3
- package/dist/chunks/chunk.PJJCHCFO.js +82 -0
- package/dist/chunks/{chunk.P23KPMOU.js → chunk.PJPWXQY7.js} +5 -11
- package/dist/chunks/{chunk.KCQCBXXE.js → chunk.QFW772DW.js} +3 -4
- package/dist/chunks/{chunk.DPUEJBCS.js → chunk.QL6JHFGU.js} +3 -4
- package/dist/chunks/chunk.QSQRQKYT.js +129 -0
- package/dist/chunks/{chunk.CNC35623.js → chunk.QV5WLO4L.js} +11 -14
- package/dist/chunks/{chunk.B2V3A3FX.js → chunk.QVBR2RUV.js} +4 -11
- package/dist/chunks/{chunk.QYH72BBU.js → chunk.RCBOBERD.js} +3 -4
- package/dist/chunks/{chunk.X5DOMMVJ.js → chunk.RRDLKLEV.js} +4 -5
- package/dist/chunks/{chunk.P6IWIVAX.js → chunk.TED3AFLN.js} +2 -3
- package/dist/chunks/{chunk.J24ES3ER.js → chunk.TWLOCD6V.js} +2 -3
- package/dist/chunks/chunk.U3IJ4WDG.js +72 -0
- package/dist/chunks/{chunk.3QRVTHVA.js → chunk.UFU7P2YD.js} +5 -6
- package/dist/chunks/{chunk.N6SDJ5F4.js → chunk.UKB75H6A.js} +2 -3
- package/{dist-versioned/chunks/chunk.GYXMDYGY.js → dist/chunks/chunk.UVOGBJGP.js} +2 -2
- package/dist/chunks/{chunk.S2LPDX6A.js → chunk.V257WRGF.js} +2 -3
- package/dist/chunks/{chunk.ZDLONKYZ.js → chunk.VCV7HS44.js} +4 -5
- package/dist/chunks/{chunk.MFEFWNU4.js → chunk.VZBVZB3D.js} +5 -6
- package/dist/chunks/{chunk.66ESUTRL.js → chunk.W5ZR6XJP.js} +6 -6
- package/dist/chunks/{chunk.Y4AVD2WJ.js → chunk.WV4BVBH5.js} +2 -3
- package/dist/chunks/{chunk.ML26ETGW.js → chunk.XF7G3LFU.js} +5 -8
- package/dist/chunks/{chunk.OWPID45T.js → chunk.XR6GLQWM.js} +5 -6
- package/dist/chunks/{chunk.GXJOE2HU.js → chunk.XU2JEV5G.js} +2 -3
- package/dist/chunks/{chunk.OEQMLH45.js → chunk.YJF7I33G.js} +8 -9
- package/dist/chunks/{chunk.LRYVZCZB.js → chunk.YN47LYT7.js} +5 -6
- package/dist/chunks/{chunk.B4X6CPEB.js → chunk.ZEBYA7QQ.js} +3 -4
- package/dist/chunks/{chunk.5TXUJJY7.js → chunk.ZSD3BEVL.js} +5 -6
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/accordion-group/accordion-group.js +7 -7
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/audio/audio.d.ts +0 -1
- package/dist/components/audio/audio.js +9 -9
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/brandshape/brandshape.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/button-group/button-group.js +2 -2
- package/dist/components/carousel/carousel.js +7 -7
- package/dist/components/carousel-item/carousel-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/combobox/combobox.js +8 -8
- package/dist/components/datepicker/datepicker.d.ts +2 -1
- package/dist/components/datepicker/datepicker.js +2 -2
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.js +3 -3
- package/dist/components/expandable/expandable.js +6 -6
- package/dist/components/flipcard/flipcard.js +8 -8
- package/dist/components/header/header.js +2 -2
- package/dist/components/icon/icon.d.ts +0 -1
- package/dist/components/icon/icon.js +5 -5
- package/dist/components/icon/library.d.ts +1 -1
- package/dist/components/icon/library.default.js +1 -1
- package/dist/components/icon/library.internal.d.ts +0 -2
- package/dist/components/icon/library.internal.js +1 -1
- package/dist/components/icon/library.js +3 -3
- package/dist/components/include/include.js +2 -2
- package/dist/components/input/input.js +6 -6
- 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 +7 -7
- package/dist/components/notification/notification.js +8 -8
- package/dist/components/optgroup/optgroup.js +3 -3
- package/dist/components/option/option.js +6 -6
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/quickfact/quickfact.js +7 -7
- 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 +2 -2
- package/dist/components/range-tick/range-tick.js +2 -2
- package/dist/components/scrollable/scrollable.js +6 -6
- package/dist/components/select/select.js +8 -8
- package/dist/components/spinner/spinner.js +2 -2
- package/dist/components/step/step.js +6 -6
- 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 +6 -6
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/tag/tag.js +6 -6
- package/dist/components/teaser/teaser.js +2 -2
- package/dist/components/teaser-media/teaser-media.js +2 -2
- package/dist/components/textarea/textarea.js +6 -6
- package/dist/components/tooltip/tooltip.js +7 -7
- package/dist/components/video/video.js +6 -6
- package/dist/custom-elements.json +6 -452
- package/dist/internal/longpress.d.ts +1 -1
- package/dist/internal/solid-element.d.ts +0 -5
- package/dist/internal/solid-element.js +11 -61
- package/dist/solid-components.css +32 -118
- package/dist/solid-components.d.ts +0 -1
- package/dist/solid-components.js +64 -68
- package/dist/utilities/autocomplete-config.js +3 -3
- package/dist/utilities/icon-library.js +3 -3
- package/dist/vscode.html-custom-data.json +17 -39
- package/dist/web-types.json +19 -62
- package/dist-versioned/chunks/{chunk.JFYEW3KW.js → chunk.2CAP3Q56.js} +3 -4
- package/dist-versioned/chunks/{chunk.XE2RRGVH.js → chunk.2SR73L2N.js} +3 -4
- package/dist-versioned/chunks/{chunk.2G4FUBDQ.js → chunk.3YQ55DEG.js} +4 -9
- package/dist-versioned/chunks/{chunk.LNHMJS3O.js → chunk.43SFOPTI.js} +4 -5
- package/dist-versioned/chunks/{chunk.TCIKEWTO.js → chunk.44BJS2SJ.js} +4 -5
- package/dist-versioned/chunks/{chunk.ZHMLJZFU.js → chunk.4DHEQEYR.js} +4 -5
- package/dist-versioned/chunks/{chunk.QXA4KBMD.js → chunk.4VTG7PRD.js} +3 -4
- package/dist-versioned/chunks/{chunk.CJDJQNJE.js → chunk.5USUIHQC.js} +9 -10
- package/dist-versioned/chunks/chunk.6DKXZWRN.js +69 -0
- package/dist-versioned/chunks/{chunk.LQJSNWYP.js → chunk.72VNUTTV.js} +14 -7
- package/dist-versioned/chunks/{chunk.35CDD4AI.js → chunk.7FMGPUZF.js} +55 -27
- package/dist-versioned/chunks/{chunk.5ERDGBQ2.js → chunk.7IR6CJSO.js} +4 -5
- package/dist-versioned/chunks/{chunk.K6IPCLUI.js → chunk.7JUNYBWC.js} +5 -6
- package/dist-versioned/chunks/{chunk.JY6FHQV4.js → chunk.7MXI26GR.js} +8 -9
- package/dist-versioned/chunks/{chunk.QFCVUWPB.js → chunk.7QAWQQC2.js} +5 -9
- package/{dist/chunks/chunk.KPAQRMCC.js → dist-versioned/chunks/chunk.7VPFFNHR.js} +2 -2
- package/dist-versioned/chunks/{chunk.GY73LR3S.js → chunk.7YENJBA2.js} +3 -4
- package/dist-versioned/chunks/{chunk.ARM7CJQL.js → chunk.ABLPLQOM.js} +6 -7
- package/dist-versioned/chunks/{chunk.2EMJYE7P.js → chunk.ANLMAOKA.js} +4 -5
- package/dist-versioned/chunks/{chunk.4VWYFR7Q.js → chunk.AQI2R5GT.js} +7 -8
- package/dist-versioned/chunks/{chunk.4VCWVPDC.js → chunk.AXFVYO5L.js} +21 -28
- package/dist-versioned/chunks/{chunk.PAHCSY5I.js → chunk.BLKVBNBL.js} +3 -4
- package/dist-versioned/chunks/{chunk.FO5HZGHW.js → chunk.BWFYNOYR.js} +4 -5
- package/dist-versioned/chunks/{chunk.2LWMWEI6.js → chunk.CKLEIUJP.js} +10 -8
- package/dist-versioned/chunks/{chunk.UG7ABG7Q.js → chunk.DKBTK7VW.js} +13 -14
- package/dist-versioned/chunks/{chunk.RDTKXRB7.js → chunk.EOLLVTEE.js} +3 -4
- package/dist-versioned/chunks/{chunk.NXR5NJ4D.js → chunk.ERJOEJ54.js} +6 -7
- package/dist-versioned/chunks/{chunk.MQNVPN2V.js → chunk.FK2BNPQB.js} +15 -16
- package/dist-versioned/chunks/{chunk.MZYFWNJ2.js → chunk.G3JK5J7P.js} +3 -4
- package/dist-versioned/chunks/{chunk.B2OI7BBP.js → chunk.G4FXGRRH.js} +7 -8
- package/dist-versioned/chunks/{chunk.TBWF2AZD.js → chunk.GUZQ4ADZ.js} +3 -4
- package/dist-versioned/chunks/{chunk.AKPL6DO2.js → chunk.JGH3YXMX.js} +14 -15
- package/dist-versioned/chunks/chunk.KEJFWGZI.js +4 -4
- package/dist-versioned/chunks/{chunk.7OG77Q72.js → chunk.LLUTMJ6Y.js} +30 -31
- package/dist-versioned/chunks/{chunk.X5F5FYN6.js → chunk.O7O2LFXK.js} +7 -8
- package/dist-versioned/chunks/{chunk.CSGRFVC4.js → chunk.PB672B5H.js} +3 -4
- package/dist-versioned/chunks/chunk.PJJCHCFO.js +82 -0
- package/dist-versioned/chunks/{chunk.P23KPMOU.js → chunk.PJPWXQY7.js} +10 -16
- package/dist-versioned/chunks/{chunk.KCQCBXXE.js → chunk.QFW772DW.js} +15 -16
- package/dist-versioned/chunks/{chunk.DPUEJBCS.js → chunk.QL6JHFGU.js} +6 -7
- package/dist-versioned/chunks/chunk.QSQRQKYT.js +129 -0
- package/dist-versioned/chunks/{chunk.CNC35623.js → chunk.QV5WLO4L.js} +14 -17
- package/dist-versioned/chunks/{chunk.B2V3A3FX.js → chunk.QVBR2RUV.js} +5 -12
- package/dist-versioned/chunks/{chunk.QYH72BBU.js → chunk.RCBOBERD.js} +5 -6
- package/dist-versioned/chunks/{chunk.X5DOMMVJ.js → chunk.RRDLKLEV.js} +6 -7
- package/dist-versioned/chunks/{chunk.P6IWIVAX.js → chunk.TED3AFLN.js} +4 -5
- package/dist-versioned/chunks/{chunk.J24ES3ER.js → chunk.TWLOCD6V.js} +6 -7
- package/dist-versioned/chunks/chunk.U3IJ4WDG.js +72 -0
- package/dist-versioned/chunks/{chunk.3QRVTHVA.js → chunk.UFU7P2YD.js} +7 -8
- package/dist-versioned/chunks/chunk.UIQBHPD3.js +2 -2
- package/dist-versioned/chunks/{chunk.N6SDJ5F4.js → chunk.UKB75H6A.js} +6 -7
- package/{dist/chunks/chunk.GYXMDYGY.js → dist-versioned/chunks/chunk.UVOGBJGP.js} +2 -2
- package/dist-versioned/chunks/{chunk.S2LPDX6A.js → chunk.V257WRGF.js} +3 -4
- package/dist-versioned/chunks/{chunk.ZDLONKYZ.js → chunk.VCV7HS44.js} +5 -6
- package/dist-versioned/chunks/{chunk.MFEFWNU4.js → chunk.VZBVZB3D.js} +7 -8
- package/dist-versioned/chunks/{chunk.66ESUTRL.js → chunk.W5ZR6XJP.js} +7 -7
- package/dist-versioned/chunks/{chunk.Y4AVD2WJ.js → chunk.WV4BVBH5.js} +4 -5
- package/dist-versioned/chunks/chunk.XCQC3F3H.js +3 -3
- package/dist-versioned/chunks/{chunk.ML26ETGW.js → chunk.XF7G3LFU.js} +7 -10
- package/dist-versioned/chunks/{chunk.OWPID45T.js → chunk.XR6GLQWM.js} +7 -8
- package/dist-versioned/chunks/{chunk.GXJOE2HU.js → chunk.XU2JEV5G.js} +7 -8
- package/dist-versioned/chunks/{chunk.OEQMLH45.js → chunk.YJF7I33G.js} +14 -15
- package/dist-versioned/chunks/{chunk.LRYVZCZB.js → chunk.YN47LYT7.js} +7 -8
- package/dist-versioned/chunks/{chunk.B4X6CPEB.js → chunk.ZEBYA7QQ.js} +5 -6
- package/dist-versioned/chunks/{chunk.5TXUJJY7.js → chunk.ZSD3BEVL.js} +28 -29
- package/dist-versioned/components/accordion/accordion.d.ts +1 -1
- package/dist-versioned/components/accordion/accordion.js +6 -6
- package/dist-versioned/components/accordion-group/accordion-group.d.ts +1 -1
- package/dist-versioned/components/accordion-group/accordion-group.js +7 -7
- 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 -2
- package/dist-versioned/components/audio/audio.js +9 -9
- 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 +2 -2
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.d.ts +1 -1
- package/dist-versioned/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist-versioned/components/button/button.d.ts +1 -1
- package/dist-versioned/components/button/button.js +3 -3
- 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 +7 -7
- 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 +6 -6
- package/dist-versioned/components/checkbox-group/checkbox-group.d.ts +1 -1
- package/dist-versioned/components/checkbox-group/checkbox-group.js +6 -6
- package/dist-versioned/components/combobox/combobox.d.ts +1 -1
- package/dist-versioned/components/combobox/combobox.js +8 -8
- package/dist-versioned/components/datepicker/datepicker.d.ts +3 -2
- package/dist-versioned/components/datepicker/datepicker.js +2 -2
- package/dist-versioned/components/dialog/dialog.d.ts +1 -1
- package/dist-versioned/components/dialog/dialog.js +8 -8
- 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 +8 -8
- 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 +6 -6
- package/dist-versioned/components/flipcard/flipcard.d.ts +1 -1
- package/dist-versioned/components/flipcard/flipcard.js +8 -8
- 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 -2
- package/dist-versioned/components/icon/icon.js +5 -5
- package/dist-versioned/components/icon/library.d.ts +1 -1
- package/dist-versioned/components/icon/library.default.js +1 -1
- package/dist-versioned/components/icon/library.internal.d.ts +0 -2
- package/dist-versioned/components/icon/library.internal.js +1 -1
- package/dist-versioned/components/icon/library.js +3 -3
- 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 +6 -6
- 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 +7 -7
- package/dist-versioned/components/notification/notification.d.ts +1 -1
- package/dist-versioned/components/notification/notification.js +8 -8
- 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 +6 -6
- package/dist-versioned/components/popup/popup.d.ts +1 -1
- package/dist-versioned/components/popup/popup.js +2 -2
- package/dist-versioned/components/quickfact/quickfact.d.ts +1 -1
- package/dist-versioned/components/quickfact/quickfact.js +7 -7
- 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 +2 -2
- 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 +6 -6
- package/dist-versioned/components/select/select.d.ts +1 -1
- package/dist-versioned/components/select/select.js +8 -8
- package/dist-versioned/components/spinner/spinner.d.ts +1 -1
- package/dist-versioned/components/spinner/spinner.js +2 -2
- package/dist-versioned/components/step/step.d.ts +1 -1
- package/dist-versioned/components/step/step.js +6 -6
- 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 +6 -6
- 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 +6 -6
- 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 +6 -6
- package/dist-versioned/components/tooltip/tooltip.d.ts +1 -1
- package/dist-versioned/components/tooltip/tooltip.js +7 -7
- package/dist-versioned/components/video/video.d.ts +1 -1
- package/dist-versioned/components/video/video.js +6 -6
- package/dist-versioned/custom-elements.json +251 -697
- package/dist-versioned/internal/form.js +3 -3
- package/dist-versioned/internal/longpress.d.ts +1 -1
- package/dist-versioned/internal/solid-element.d.ts +0 -5
- package/dist-versioned/internal/solid-element.js +11 -61
- package/dist-versioned/solid-components.css +32 -118
- package/dist-versioned/solid-components.d.ts +0 -1
- package/dist-versioned/solid-components.js +64 -68
- package/dist-versioned/utilities/autocomplete-config.js +3 -3
- package/dist-versioned/utilities/icon-library.js +3 -3
- package/dist-versioned/vscode.html-custom-data.json +102 -124
- package/dist-versioned/web-types.json +172 -215
- package/package.json +5 -13
- package/cdn/chunks/chunk.3KWSM3HE.js +0 -131
- package/cdn/chunks/chunk.45AHR6PI.js +0 -26
- package/cdn/chunks/chunk.4I6VQFJI.js +0 -2
- package/cdn/chunks/chunk.4IHHF4BF.js +0 -2
- package/cdn/chunks/chunk.4U5HTMIG.js +0 -2
- package/cdn/chunks/chunk.4UVLYSTM.js +0 -2
- package/cdn/chunks/chunk.5BQVQUB3.js +0 -2
- package/cdn/chunks/chunk.5L4AEXM2.js +0 -2
- package/cdn/chunks/chunk.5TUC644H.js +0 -2
- package/cdn/chunks/chunk.5UBUNR4U.js +0 -2
- package/cdn/chunks/chunk.67FPAI7X.js +0 -2
- package/cdn/chunks/chunk.6EV4YU6C.js +0 -1
- package/cdn/chunks/chunk.6OEEW6XA.js +0 -2
- package/cdn/chunks/chunk.BCGI3JHC.js +0 -5
- package/cdn/chunks/chunk.BWFYOVI3.js +0 -2
- package/cdn/chunks/chunk.BZZT6LE2.js +0 -13
- package/cdn/chunks/chunk.C26QR5OE.js +0 -2
- package/cdn/chunks/chunk.CO74B4DP.js +0 -2
- package/cdn/chunks/chunk.ESKMS5I6.js +0 -1
- package/cdn/chunks/chunk.EYR25GUX.js +0 -4
- package/cdn/chunks/chunk.FBLYG7TQ.js +0 -2
- package/cdn/chunks/chunk.FJJG45JX.js +0 -2
- package/cdn/chunks/chunk.HNW7UQM6.js +0 -2
- package/cdn/chunks/chunk.I5FWEUZV.js +0 -2
- package/cdn/chunks/chunk.IDZGQPGK.js +0 -2
- package/cdn/chunks/chunk.IL6J56LC.js +0 -2
- package/cdn/chunks/chunk.KIP6ZFAM.js +0 -12
- package/cdn/chunks/chunk.LUATJXJQ.js +0 -2
- package/cdn/chunks/chunk.PTA76UAK.js +0 -2
- package/cdn/chunks/chunk.QEBCSXFE.js +0 -2
- package/cdn/chunks/chunk.QNIXOQEW.js +0 -2
- package/cdn/chunks/chunk.RLENF6CV.js +0 -2
- package/cdn/chunks/chunk.RLPQ5X67.js +0 -2
- package/cdn/chunks/chunk.RNXCNTZ7.js +0 -2
- package/cdn/chunks/chunk.SGIB3DYQ.js +0 -2
- package/cdn/chunks/chunk.SYZXP5BK.js +0 -5
- package/cdn/chunks/chunk.TKHXP6O2.js +0 -2
- package/cdn/chunks/chunk.U7FRUJCP.js +0 -11
- package/cdn/chunks/chunk.UP6S5R5Q.js +0 -2
- package/cdn/chunks/chunk.X3JCABXB.js +0 -2
- package/cdn/chunks/chunk.X7NSZVBU.js +0 -2
- package/cdn/chunks/chunk.YUOF3P5L.js +0 -6
- package/cdn/chunks/chunk.Z64LNQ5C.js +0 -2
- package/cdn/chunks/chunk.ZTFDYBBO.js +0 -2
- package/cdn/components/theme-listener/theme-listener.d.ts +0 -13
- package/cdn/components/theme-listener/theme-listener.js +0 -1
- package/cdn/internal/theme-observer.d.ts +0 -9
- package/cdn/internal/theme-observer.js +0 -19
- package/cdn-versioned/chunks/chunk.2AUHDXWC.js +0 -2
- package/cdn-versioned/chunks/chunk.3KWSM3HE.js +0 -131
- package/cdn-versioned/chunks/chunk.3MVF6H4N.js +0 -2
- package/cdn-versioned/chunks/chunk.3VKPKJT4.js +0 -12
- package/cdn-versioned/chunks/chunk.45AHR6PI.js +0 -26
- package/cdn-versioned/chunks/chunk.4I6VQFJI.js +0 -2
- package/cdn-versioned/chunks/chunk.4IHHF4BF.js +0 -2
- package/cdn-versioned/chunks/chunk.4U5HTMIG.js +0 -2
- package/cdn-versioned/chunks/chunk.4UVLYSTM.js +0 -2
- package/cdn-versioned/chunks/chunk.5BQVQUB3.js +0 -2
- package/cdn-versioned/chunks/chunk.5L4AEXM2.js +0 -2
- package/cdn-versioned/chunks/chunk.5TUC644H.js +0 -2
- package/cdn-versioned/chunks/chunk.5UBUNR4U.js +0 -2
- package/cdn-versioned/chunks/chunk.67FPAI7X.js +0 -2
- package/cdn-versioned/chunks/chunk.6EV4YU6C.js +0 -1
- package/cdn-versioned/chunks/chunk.6OEEW6XA.js +0 -2
- package/cdn-versioned/chunks/chunk.AVBQMWIA.js +0 -4
- package/cdn-versioned/chunks/chunk.BCGI3JHC.js +0 -5
- package/cdn-versioned/chunks/chunk.BWFYOVI3.js +0 -2
- package/cdn-versioned/chunks/chunk.BZZT6LE2.js +0 -13
- package/cdn-versioned/chunks/chunk.C26QR5OE.js +0 -2
- package/cdn-versioned/chunks/chunk.CDP46OS4.js +0 -10
- package/cdn-versioned/chunks/chunk.CO74B4DP.js +0 -2
- package/cdn-versioned/chunks/chunk.ESKMS5I6.js +0 -1
- package/cdn-versioned/chunks/chunk.EYR25GUX.js +0 -4
- package/cdn-versioned/chunks/chunk.FBLYG7TQ.js +0 -2
- package/cdn-versioned/chunks/chunk.FJJG45JX.js +0 -2
- package/cdn-versioned/chunks/chunk.FK5L4QA6.js +0 -2
- package/cdn-versioned/chunks/chunk.HNW7UQM6.js +0 -2
- package/cdn-versioned/chunks/chunk.I5FWEUZV.js +0 -2
- package/cdn-versioned/chunks/chunk.IDZGQPGK.js +0 -2
- package/cdn-versioned/chunks/chunk.IL6J56LC.js +0 -2
- package/cdn-versioned/chunks/chunk.JS2HQ2N4.js +0 -1
- package/cdn-versioned/chunks/chunk.KIP6ZFAM.js +0 -12
- package/cdn-versioned/chunks/chunk.LUATJXJQ.js +0 -2
- package/cdn-versioned/chunks/chunk.LV3LCBSG.js +0 -12
- package/cdn-versioned/chunks/chunk.LVTMZQJV.js +0 -2
- package/cdn-versioned/chunks/chunk.N3UOZUQ7.js +0 -2
- package/cdn-versioned/chunks/chunk.PTA76UAK.js +0 -2
- package/cdn-versioned/chunks/chunk.QEBCSXFE.js +0 -2
- package/cdn-versioned/chunks/chunk.QNIXOQEW.js +0 -2
- package/cdn-versioned/chunks/chunk.R62WGEQY.js +0 -5
- package/cdn-versioned/chunks/chunk.RLENF6CV.js +0 -2
- package/cdn-versioned/chunks/chunk.RLPQ5X67.js +0 -2
- package/cdn-versioned/chunks/chunk.RNXCNTZ7.js +0 -2
- package/cdn-versioned/chunks/chunk.SGIB3DYQ.js +0 -2
- package/cdn-versioned/chunks/chunk.SYZXP5BK.js +0 -5
- package/cdn-versioned/chunks/chunk.TKHXP6O2.js +0 -2
- package/cdn-versioned/chunks/chunk.U7FRUJCP.js +0 -11
- package/cdn-versioned/chunks/chunk.UP6S5R5Q.js +0 -2
- package/cdn-versioned/chunks/chunk.UTR4DHLT.js +0 -12
- package/cdn-versioned/chunks/chunk.X3JCABXB.js +0 -2
- package/cdn-versioned/chunks/chunk.X6ZT6MLD.js +0 -2
- package/cdn-versioned/chunks/chunk.X7NSZVBU.js +0 -2
- package/cdn-versioned/chunks/chunk.YUOF3P5L.js +0 -6
- package/cdn-versioned/chunks/chunk.Z64LNQ5C.js +0 -2
- package/cdn-versioned/chunks/chunk.ZFOZJ36J.js +0 -2
- package/cdn-versioned/chunks/chunk.ZTFDYBBO.js +0 -2
- package/cdn-versioned/components/theme-listener/theme-listener.d.ts +0 -13
- package/cdn-versioned/components/theme-listener/theme-listener.js +0 -1
- package/cdn-versioned/internal/theme-observer.d.ts +0 -9
- package/cdn-versioned/internal/theme-observer.js +0 -19
- package/dist/chunks/chunk.B267MNT3.js +0 -77
- package/dist/chunks/chunk.KPOYD3HP.js +0 -93
- package/dist/chunks/chunk.LTRLNXRR.js +0 -61
- package/dist/chunks/chunk.O6MXNSO7.js +0 -185
- package/dist/components/theme-listener/theme-listener.d.ts +0 -13
- package/dist/components/theme-listener/theme-listener.js +0 -9
- package/dist/internal/theme-observer.d.ts +0 -9
- package/dist/internal/theme-observer.js +0 -19
- package/dist-versioned/chunks/chunk.AAY5JRCW.js +0 -70
- package/dist-versioned/chunks/chunk.B267MNT3.js +0 -77
- package/dist-versioned/chunks/chunk.KPOYD3HP.js +0 -93
- package/dist-versioned/chunks/chunk.LTRLNXRR.js +0 -61
- package/dist-versioned/chunks/chunk.O6MXNSO7.js +0 -185
- package/dist-versioned/components/theme-listener/theme-listener.d.ts +0 -13
- package/dist-versioned/components/theme-listener/theme-listener.js +0 -9
- package/dist-versioned/internal/theme-observer.d.ts +0 -9
- package/dist-versioned/internal/theme-observer.js +0 -19
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a}from"./chunk.635MGLIZ.js";import{b as H}from"./chunk.JS2HQ2N4.js";import{a as q}from"./chunk.CGQ2BPPZ.js";import{a as E}from"./chunk.YEDQWNIV.js";import{a as A}from"./chunk.7BPPDSHY.js";import{a as F}from"./chunk.NYKJXI3Q.js";import{a as B,b as y,c as L,d as Y,h as z}from"./chunk.45AHR6PI.js";import{b as R,e as C,i as P}from"./chunk.763RLJEK.js";import{e as d}from"./chunk.6EV4YU6C.js";var o=class extends z{constructor(){super();this.localize=new A(this);this.hasSlotController=new q(this,"label","help-text","tooltip");this.formControlController=new H(this,{assumeInteractionOn:["sd-blur","sd-input"]});this.locale="en-US";this.value=null;this.range=!1;this.rangeStart=null;this.rangeEnd=null;this.allowSameDayRange=!1;this.min=void 0;this.max=void 0;this.firstDayOfWeek=null;this.disabledWeekends=!1;this.disabledDates=[];this.isDateDisabled=null;this.size="lg";this.alignment="left";this.label="";this.helpText="";this.disabled=!1;this.visuallyDisabled=!1;this.styleOnValid=!1;this.readonly=!1;this.placement="bottom";this.placeholder="";this.name="";this.form="";this.open=!1;this.today=a.startOfDayLocal(new Date);this.disabledDatesSet=new Set;this.previewEnd=null;this.statusNavText="";this.statusSelectText="";this.hasFocus=!1;this.showValidStyle=!1;this.showInvalidStyle=!1;this.currentPlacement=this.placement;this.inputValue="";this.tabbingIntoGrid=!1;this.statusBumpCounter=0;this.onFocusIn=t=>{t.composedPath().some(i=>{var n,l;return i instanceof HTMLElement&&(((n=i.classList)==null?void 0:n.contains("nav"))||((l=i.classList)==null?void 0:l.contains("month-label")))})&&(this.tabbingIntoGrid=!0)};this.handleInput=t=>{var l,u,c;let e=t.target,s=e.value,i=(l=e.selectionStart)!=null?l:s.length,n=(u=t.inputType)==null?void 0:u.startsWith("delete");if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}if(this.range){let g=s.replace(/\D/g,""),h=g.slice(0,8),f=g.slice(8,16),r=this.buildDmyFromDigits(h),p=this.buildDmyFromDigits(f),v;h.length===0?v="":h.length<8?v=r:f.length>0?v=`${r} - ${p}`:v=n?r:`${r} -`;let I=this.countDigitsBeforeCaret(s,i),D;if(I<=8){let m=this.digitIndexToDmyCaretPos(Math.min(I,8));D=Math.min(m,r.length)}else{let m=h.length<8?r.length:r.length+3,b=Math.min(I-8,8),S=this.digitIndexToDmyCaretPos(b);D=m+Math.min(S,p.length)}this.inputValue=v;let w=!1;if(/^\d{2}\.\d{2}\.\d{4}$/.test(r)){let m=this.dmyToIso(r),b=m?a.parseLocalISO(m):null;!!b&&!this.isDisabled(b)&&this.inMinMax(b)&&this.rangeStart!==m&&(this.rangeStart=m,this.previewEnd=null,this.viewMonth=new Date(b.getFullYear(),b.getMonth(),1),this.focusedDate=a.startOfDayLocal(b),w=!0)}else this.rangeStart&&(this.rangeStart=null,w=!0),this.rangeEnd&&(this.rangeEnd=null,w=!0);if(/^\d{2}\.\d{2}\.\d{4}$/.test(p)&&this.rangeStart){let m=a.parseLocalISO(this.rangeStart),b=this.dmyToIso(p),S=b?a.parseLocalISO(b):null;if(!!S&&!this.isDisabled(S)&&this.inMinMax(S)){let[T,$]=a.compareDates(m,S)<=0?[m,S]:[S,m],k=a.isSameDay(T,$);if((this.allowSameDayRange||!k)&&!this.wouldRangeContainDisabled(T,$)){let O=a.toLocalISODate(a.startOfDayLocal(T)),x=a.toLocalISODate(a.startOfDayLocal($));(this.rangeStart!==O||this.rangeEnd!==x)&&(this.rangeStart=O,this.rangeEnd=x,this.viewMonth=new Date($.getFullYear(),$.getMonth(),1),this.focusedDate=a.startOfDayLocal($),w=!0)}}}else this.rangeEnd&&(this.rangeEnd=null,w=!0);this.showInvalidStyle=!1,this.showValidStyle=!!(this.rangeStart&&this.rangeEnd),w&&(this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})),Promise.resolve().then(()=>{requestAnimationFrame(()=>{var b;let m=(b=this.input)!=null?b:e;m&&(m.value=this.inputValue,m.setSelectionRange(D,D))})})}else{let g=e,h=g.value,f=(c=g.selectionStart)!=null?c:h.length,r=h.replace(/\D/g,"").slice(0,8),p=r.slice(0,2),v=r.slice(2,4),I=r.slice(4,8),D="";p.length>0&&(D+=p,p.length===2&&(D+=".")),v.length>0&&p.length===2&&(D+=v,v.length===2&&(D+=".")),I.length>0&&p.length===2&&v.length===2&&(D+=I),D=D.replace(/\.\.+/g,".");let w=this.inputValue||"";this.inputValue=D;let m=f,b=M=>{let O=[];for(let x=0;x<M.length;x++)M[x]==="."&&O.push(x);return O},S=b(w),V=b(D),T=S.filter(M=>M<f).length,k=V.filter(M=>M<f).length-T;if(k>0?m+=k:!S.includes(f)&&V.includes(f)&&(m+=1),m=Math.min(Math.max(0,m),D.length),requestAnimationFrame(()=>{var O;let M=(O=this.input)!=null?O:g;M&&(M.value=this.inputValue,M.setSelectionRange(m,m))}),/^\d{2}\.\d{2}\.\d{4}$/.test(D)){let M=this.parseInputText(D);this.applyParsedInput(M)}else this.showInvalidStyle=!1,this.showValidStyle=!1;return}if(!this.open&&this.hasFocus&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.range){let g=this.rangeStart?a.parseLocalISO(this.rangeStart):null,h=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;g&&!h?this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(g)}`):g&&h&&this.setNavStatus(`${this.termStartSelected()}: ${this.formatSelectionLabel(g)}; ${this.termEndSelected()}: ${this.formatSelectionLabel(h)}`)}else if(this.value){let g=a.parseLocalISO(this.value);this.setNavStatus(`${this.formatSelectionLabel(g)}`)}};this.handleInputBlur=()=>{let t=this.parseInputText(this.inputValue);t.valid?this.applyParsedInput(t):(this.inputValue=this.formatInputValue(),this.showInvalidStyle=!!this.inputValue&&!this.value&&!this.rangeStart),this.handleBlur()};this.handleCurrentPlacement=t=>{this.currentPlacement=t.detail.placement};this.handleHeaderKeyDown=(t,e,s,i)=>{if(t.key==="Tab"&&!t.shiftKey){i&&(t.preventDefault(),t.stopPropagation(),this.tabbingIntoGrid=!0,this.focusInitialGridDay());return}(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),t.stopPropagation(),e==="month"?this.setMonth(s):this.setYear(s))};this.onKeyDown=t=>{let e=t.key,s=!0,i=new Date(this.focusedDate);switch(e){case"ArrowLeft":i.setDate(i.getDate()-1);break;case"ArrowRight":i.setDate(i.getDate()+1);break;case"ArrowUp":i.setDate(i.getDate()-7);break;case"ArrowDown":i.setDate(i.getDate()+7);break;case"Escape":{this.previewEnd?(this.previewEnd=null,this.setNavStatus(this.localize.term("selectionCleared"))):this.range&&this.rangeStart&&!this.rangeEnd&&(this.rangeStart=null,this.setNavStatus(this.localize.term("selectionCleared")),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})),this.open&&(this.hide(),this.emit("sd-datepicker-close"));break}case"Enter":case" ":this.selectDate(this.focusedDate);break;default:s=!1}if(s){if(t.preventDefault(),i.getMonth()!==this.viewMonth.getMonth()||i.getFullYear()!==this.viewMonth.getFullYear()){this.viewMonth=new Date(i.getFullYear(),i.getMonth(),1);let c=this.formatMonthYear(this.viewMonth);this.setNavStatus(c)}let l=a.startOfDayLocal(i);(!this.focusedDate||l.getTime()!==this.focusedDate.getTime())&&(this.focusedDate=l);let u=l.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"});this.setNavStatus(u),this.requestUpdate(),requestAnimationFrame(()=>{let c=this.shadowRoot,g=c==null?void 0:c.querySelector("button.day.focused");g==null||g.focus({preventScroll:!0})})}};this.handleInputKeyDown=t=>{if(!(t.key==="ArrowLeft"||t.key==="ArrowRight"||t.key==="ArrowUp"||t.key==="ArrowDown"||t.key==="Home"||t.key==="End"||t.key==="PageUp"||t.key==="PageDown")){if(t.key==="Escape"&&this.open){t.preventDefault(),this.hide(),this.emit("sd-datepicker-close");return}t.key==="Enter"&&!this.open&&!this.disabled&&!this.visuallyDisabled&&(t.preventDefault(),this.show())}};this.handleOutsideClick=this.handleOutsideClick.bind(this)}connectedCallback(){super.connectedCallback(),this.syncDisabledDatesSet(),document.addEventListener("click",this.handleOutsideClick),this.updateComplete.then(()=>{this.formControlController.updateValidity()});let t=this.value?a.parseLocalISO(this.value):null,e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.range&&e?e:t!=null?t:a.startOfDayLocal(new Date);this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.clampDateToMonth(s,this.viewMonth),(this.firstDayOfWeek===null||this.firstDayOfWeek===void 0)&&(this.firstDayOfWeek=1),this.inputValue=this.formatInputValue(),this.tabIndex=0,this.setAttribute("role","group"),this.setAttribute("aria-label",this.range?this.localize.term("datePickerRange"):this.localize.term("datePicker")),this.addEventListener("focusin",this.onFocusIn)}firstUpdated(){this.formControlController.updateValidity()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("focusin",this.onFocusIn),document.removeEventListener("click",this.handleOutsideClick)}handleLocaleChange(){this.firstDayOfWeek===null&&(this.firstDayOfWeek=1),this.requestUpdate()}handleDisabledDatesChange(){this.syncDisabledDatesSet(),this.requestUpdate()}handleValueChange(){let t=this.value?a.parseLocalISO(this.value):null;t&&(this.viewMonth=new Date(t.getFullYear(),t.getMonth(),1),this.focusedDate=a.startOfDayLocal(t)),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var s;let e=this.input;if(e){e.value=(s=this.inputValue)!=null?s:"";let i=e.value.length;e.setSelectionRange(i,i)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleRangeChange(){let t=this.rangeStart?a.parseLocalISO(this.rangeStart):null,e=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null,s=t!=null?t:e;s&&(this.viewMonth=new Date(s.getFullYear(),s.getMonth(),1),this.focusedDate=a.startOfDayLocal(s)),this.previewEnd!==null&&(this.previewEnd=null),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var n;let i=this.input;if(i){i.value=(n=this.inputValue)!=null?n:"";let l=i.value.length;i.setSelectionRange(l,l)}this.formControlController.updateValidity()}),this.emit("sd-change",{detail:{value:this.value,rangeStart:this.rangeStart,rangeEnd:this.rangeEnd}})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1)}get validity(){let t={valid:!0};return this.input instanceof HTMLInputElement?this.input.validity:t}get validationMessage(){return(this.input instanceof HTMLInputElement?this.input.validationMessage:"")||""}checkValidity(){return this.input instanceof HTMLInputElement?this.input.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.input instanceof HTMLInputElement?this.input.reportValidity():!0}setCustomValidity(t){var e;(e=this.input)==null||e.setCustomValidity(t),this.formControlController.updateValidity()}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}parseISO(t){return a.parseLocalISO(t)}inMinMax(t){let e=this.parseISO(this.min!==null?String(this.min):null),s=this.parseISO(this.max!==null?String(this.max):null);return!(e&&t<e||s&&t>s)}isInDisabledDates(t){if(!this.disabledDatesSet||this.disabledDatesSet.size===0)return!1;let e=a.toLocalISODate(a.startOfDayLocal(t));return this.disabledDatesSet.has(e)}isWeekend(t){let e=t.getDay();return e===0||e===6}isDisabled(t){var e;return!!(!this.inMinMax(t)||this.disabledWeekends&&this.isWeekend(t)||this.isInDisabledDates(t)||(e=this.isDateDisabled)!=null&&e.call(this,t))}setNavStatus(t){this.statusNavText=t}announceSelect(t,e=40){setTimeout(()=>{this.statusBumpCounter++;let s="\u200B".repeat(this.statusBumpCounter%3);this.statusSelectText=t+s},e)}formatSelectionLabel(t){if(this.locale==="de-DE")return t.toLocaleDateString("de-DE",{day:"numeric",month:"long",year:"numeric"});let e=t.getDate(),s=this.ordinal(e),i=t.toLocaleDateString("en-US",{month:"long"}),n=t.getFullYear();return`${s} of ${i} ${n}`}ordinal(t){let e=["th","st","nd","rd"],s=t%100,i=e[(s-20)%10]||e[s]||e[0];return t+i}syncDisabledDatesSet(){let t=[];if(Array.isArray(this.disabledDates))t=this.disabledDates;else if(typeof this.disabledDates=="string"){let e=this.disabledDates.trim();if(e.startsWith("["))try{let s=JSON.parse(e);Array.isArray(s)&&(t=s)}catch(s){t=[]}else e.length>0&&(t=e.split(",").map(s=>s.trim()).filter(Boolean))}this.disabledDatesSet=new Set(t)}wouldRangeContainDisabled(t,e){let s=a.compareDates(t,e)<=0?a.startOfDayLocal(t):a.startOfDayLocal(e),i=a.compareDates(t,e)<=0?a.startOfDayLocal(e):a.startOfDayLocal(t),n=new Date(s);for(;a.compareDates(n,i)<=0;){if(this.isDisabled(n))return!0;n.setDate(n.getDate()+1)}return!1}termStartSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"startDateSelected")}termEndSelected(){var t,e;return(e=(t=this.localize)==null?void 0:t.term)==null?void 0:e.call(t,"endDateSelected")}isoToDmy(t){if(!t)return"";let e=a.parseLocalISO(t);if(!e)return"";let s=String(e.getDate()).padStart(2,"0"),i=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getFullYear());return`${s}.${i}.${n}`}dmyToIso(t){if(!t)return null;let e=t.match(/^(\d{2})\.(\d{2})\.(\d{4})$/);if(!e)return null;let s=Number(e[1]),i=Number(e[2]),n=Number(e[3]),l=new Date(n,i-1,s);if(l.getFullYear()!==n||l.getMonth()!==i-1||l.getDate()!==s)return null;let u=a.startOfDayLocal(l);return a.toLocalISODate(u)}formatInputValue(){let t=(this.locale||"").toLowerCase(),e=(this.getAttribute("lang")||"").toLowerCase(),i=t.startsWith("de")||e.startsWith("de")?"\u2013":"-";if(!this.range)return this.isoToDmy(this.value);let n=this.isoToDmy(this.rangeStart),l=this.isoToDmy(this.rangeEnd);return n&&l?`${n} ${i} ${l}`:n&&!l?`${n} ${i}`:""}parseInputText(t){var i,n;let e=t.trim();if(this.range){let l=e.split(/\s*-\s*/);if(l.length===1){let u=l[0];if(!u)return{start:null,end:null,valid:!0};let c=this.dmyToIso(u);return c?{start:c,end:null,valid:!0}:{start:null,end:null,valid:!1}}else if(l.length>=2){let u=(i=l[0])!=null?i:"",c=(n=l[1])!=null?n:"",g=u?this.dmyToIso(u):null,h=c?this.dmyToIso(c):null;return u&&!g?{start:null,end:null,valid:!1}:c&&!h?{start:null,end:null,valid:!1}:{start:g,end:h,valid:!0}}return{start:null,end:null,valid:!1}}if(!e)return{single:null,valid:!0};let s=this.dmyToIso(e);return s?{single:s,valid:!0}:{single:null,valid:!1}}applyParsedInput(t){var u,c,g,h;if(!t.valid)return this.showInvalidStyle=!0,this.showValidStyle=!1,this.formControlController.setValidity(!1),!1;let e=f=>{if(!f)return!0;let r=a.parseLocalISO(f);return!(!this.inMinMax(r)||this.isDisabled(r))},s=!1;if(this.range){let f=(u=t.start)!=null?u:null,r=(c=t.end)!=null?c:null;if(!e(f)||r&&!e(r))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let p=f?a.parseLocalISO(f):null,v=r?a.parseLocalISO(r):null;if(p&&v){if(a.compareDates(p,v)>0){let w=p;p=v,v=w}if(!this.allowSameDayRange&&a.isSameDay(p,v))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;if(this.wouldRangeContainDisabled(p,v))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1}let I=p?a.toLocalISODate(a.startOfDayLocal(p)):null,D=v?a.toLocalISODate(a.startOfDayLocal(v)):null;if(this.rangeStart!==I||this.rangeEnd!==D){this.rangeStart=I,this.rangeEnd=D,this.previewEnd=null,s=!0;let w=(g=p!=null?p:v)!=null?g:this.today;this.viewMonth=new Date(w.getFullYear(),w.getMonth(),1),this.focusedDate=a.startOfDayLocal(w),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}})}return this.showInvalidStyle=!1,this.range?this.showValidStyle=!!(this.rangeStart&&this.rangeEnd&&this.styleOnValid):this.showValidStyle=!!(this.value&&this.styleOnValid),this.formControlController.setValidity(!0),this.updateComplete.then(()=>{this.formControlController.updateValidity()}),!0}let i=(h=t.single)!=null?h:null;if(!e(i))return this.showInvalidStyle=!0,this.showValidStyle=!1,!1;let n=i?a.parseLocalISO(i):null,l=n?a.toLocalISODate(a.startOfDayLocal(n)):null;return this.value!==l&&(this.value=l,s=!0,n&&(this.viewMonth=new Date(n.getFullYear(),n.getMonth(),1),this.focusedDate=a.startOfDayLocal(n)),this.emit("sd-select",{detail:{value:this.value,date:n!=null?n:null}})),this.showInvalidStyle=!1,this.showValidStyle=!!this.value,this.inputValue=this.formatInputValue(),s}buildDmyFromDigits(t){let e=t.slice(0,8),s=e.slice(0,2),i=e.slice(2,4),n=e.slice(4,8),l=s;return i.length&&(l+="."+i),n.length&&(l+="."+n),l}digitIndexToDmyCaretPos(t){return t<=2?t:t<=4?3+(t-2):6+(t-4)}countDigitsBeforeCaret(t,e){return t.slice(0,e).replace(/\D/g,"").length}handleOutsideClick(t){var s,i;((i=(s=t.composedPath)==null?void 0:s.call(t))!=null?i:[]).includes(this)||(this.hide(),this.hasFocus=!1,this.emit("sd-datepicker-close"))}show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}this.open=!0}hide(){if(!this.open||this.disabled){this.open=!1;return}this.open=!1}handleMouseDown(t){if(this.visuallyDisabled||this.disabled){t.preventDefault(),t.stopPropagation();return}t.preventDefault(),this.open||this.show()}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleFocus(){this.visuallyDisabled||this.disabled||(this.hasFocus=!0,!this.open&&!this.disabled&&!this.visuallyDisabled&&this.show(),this.emit("sd-focus"))}setMonth(t){let e=new Date(this.viewMonth.getFullYear(),this.viewMonth.getMonth()+t,1);if(e.getMonth()===this.viewMonth.getMonth()&&e.getFullYear()===this.viewMonth.getFullYear())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-change",{detail:{month:this.viewMonth}})}setYear(t){let e=new Date(this.viewMonth.getFullYear()+t,this.viewMonth.getMonth(),1);if(e.getFullYear()===this.viewMonth.getFullYear()&&e.getMonth()===this.viewMonth.getMonth())return;this.viewMonth=e;let s=this.formatMonthYear(this.viewMonth);this.setNavStatus(s),this.emit("sd-month-year",{detail:{month:this.viewMonth}})}focusInitialGridDay(){let t=null;if(!this.range&&this.value){let s=a.parseLocalISO(this.value);s&&(t=a.startOfDayLocal(s))}if(this.range){let s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;i?t=a.startOfDayLocal(i):s&&(t=a.startOfDayLocal(s))}if(!(s=>s?s.getFullYear()===this.viewMonth.getFullYear()&&s.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(s):!1)(t)){let{weeks:s}=this.getMonthMatrix(this.viewMonth),i=s.flat().find(n=>n.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(n,this.today)&&!this.isDisabled(n));if(i)t=a.startOfDayLocal(i);else{let n=s.flat().find(l=>l.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(l));t=n?a.startOfDayLocal(n):null}}t&&(this.focusedDate=t),this.requestUpdate(),requestAnimationFrame(()=>{let s=this.shadowRoot,i=(s==null?void 0:s.querySelector("button.day.selected"))||(s==null?void 0:s.querySelector("button.day.focused"))||(s==null?void 0:s.querySelector('button.day[tabindex="0"]'))||(s==null?void 0:s.querySelector("button.day"));i==null||i.focus({preventScroll:!0})})}selectSingleDate(t){if(this.isDisabled(t))return;let e=a.startOfDayLocal(t),s=a.toLocalISODate(e);if(this.value===s)return;this.value=s;let i=`${this.formatSelectionLabel(e)}, ${this.localize.term("selected")}`;this.announceSelect(i),this.emit("sd-select",{detail:{value:this.value,date:e}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var l;let n=this.input;n&&(n.value=(l=this.inputValue)!=null?l:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let u=n.value.length;n.setSelectionRange(u,u)})}))})}selectRangeDate(t){let e=a.startOfDayLocal(t),s=this.rangeStart?a.parseLocalISO(this.rangeStart):null,i=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(!s&&!i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let c=l.value.length;l.setSelectionRange(c,c)})}))});return}if(s&&!i){if(this.isDisabled(e))return;if(a.isSameDay(s,e)){if(!this.allowSameDayRange){this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let f=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${f}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var p;let r=this.input;r&&(r.value=(p=this.inputValue)!=null?p:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let v=r.value.length;r.setSelectionRange(v,v)})}))});return}this.rangeStart=a.toLocalISODate(e),this.rangeEnd=a.toLocalISODate(e),this.previewEnd=null;let h=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${h}`,40),this.announceSelect(`${this.termEndSelected()}: ${h}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var r;let f=this.input;f&&(f.value=(r=this.inputValue)!=null?r:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let p=f.value.length;f.setSelectionRange(p,p)})}))});return}let n=a.parseLocalISO(this.rangeStart);if(this.wouldRangeContainDisabled(n,e))return;let[l,u]=a.compareDates(n,e)<=0?[n,e]:[e,n];this.rangeStart=a.toLocalISODate(l),this.rangeEnd=a.toLocalISODate(u),this.previewEnd=null;let c=this.formatSelectionLabel(l),g=this.formatSelectionLabel(u);this.announceSelect(`${this.termStartSelected()}: ${c}`,40),this.announceSelect(`${this.termEndSelected()}: ${g}`,140),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var f;let h=this.input;h&&(h.value=(f=this.inputValue)!=null?f:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let r=h.value.length;h.setSelectionRange(r,r)})}))});return}if(s&&i){if(this.isDisabled(e))return;this.rangeStart=a.toLocalISODate(e),this.rangeEnd=null,this.previewEnd=null;let n=this.formatSelectionLabel(e);this.announceSelect(`${this.termStartSelected()}: ${n}`,40),this.emit("sd-range-select",{detail:{start:this.rangeStart,end:this.rangeEnd}}),this.inputValue=this.formatInputValue(),this.updateComplete.then(()=>{var u;let l=this.input;l&&(l.value=(u=this.inputValue)!=null?u:"",Promise.resolve().then(()=>{requestAnimationFrame(()=>{let c=l.value.length;l.setSelectionRange(c,c)})}))})}}selectDate(t){this.range?this.selectRangeDate(t):this.selectSingleDate(t)}getMonthMatrix(t){var c;let e=(c=this.firstDayOfWeek)!=null?c:1,s=new Date(t.getFullYear(),t.getMonth(),1),i=new Date(s),n=(s.getDay()-e+7)%7;i.setDate(s.getDate()-n);let l=[],u=i;for(let g=0;g<6;g++){let h=[];for(let f=0;f<7;f++)h.push(new Date(u)),u.setDate(u.getDate()+1);l.push(h)}return{weeks:l}}formatMonthYear(t){try{return new Intl.DateTimeFormat(this.locale,{month:"long",year:"numeric"}).format(t)}catch(e){return`${t.toLocaleString(void 0,{month:"long"})} ${t.getFullYear()}`}}weekdayLabels(){var i;let t=(i=this.firstDayOfWeek)!=null?i:1,e=new Date(2021,7,1),s=[];for(let n=0;n<7;n++){let l=new Date(e);l.setDate(e.getDate()+(t+n)%7);try{s.push(new Intl.DateTimeFormat(this.locale,{weekday:"short"}).format(l))}catch(u){s.push(l.toLocaleDateString(void 0,{weekday:"short"}))}}return s}getTabTargetDayForCurrentView(t){let e=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&a.isSameDay(i,this.today)&&!this.isDisabled(i));if(e)return a.startOfDayLocal(e);let s=t.flat().find(i=>i.getMonth()===this.viewMonth.getMonth()&&!this.isDisabled(i));return s?a.startOfDayLocal(s):null}onDayMouseEnter(t){if(!this.range)return;let e=this.rangeStart?a.parseLocalISO(this.rangeStart):null,s=this.rangeEnd?a.parseLocalISO(this.rangeEnd):null;if(e&&!s){let i=a.startOfDayLocal(t);this.previewEnd=this.isDisabled(i)?null:i,this.requestUpdate()}}onGridMouseLeave(){this.previewEnd!==null&&(this.previewEnd=null,this.requestUpdate())}renderCalendar(){let{weeks:t}=this.getMonthMatrix(this.viewMonth),e=this.formatMonthYear(this.viewMonth),s=this.weekdayLabels(),i=this.value?this.parseISO(this.value):null,n=this.rangeStart?this.parseISO(this.rangeStart):null,l=this.rangeEnd?this.parseISO(this.rangeEnd):null,u=this.previewEnd,c=h=>!this.range||!n||l||!u?!1:a.isBetweenInclusive(h,n,u),g=this.getTabTargetDayForCurrentView(t);return C`<div part="datepicker" class="w-[284px] z-50 absolute top-full bg-white border-2 border-t-0 border-primary py-3 px-4 ${this.open?"block rounded-bl-default rounded-br-default":"hidden"} ${this.alignment==="left"?"left-0":"right-0"}"><div class="flex flex-row items-center w-full justify-between mb-3" part="header"><div class="flex items-center"><button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-year-button" @click="${()=>this.setYear(-1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"year",-1,!1)}" aria-label="${this.localize.term("previousYear")}"><sd-icon library="_internal" name="chevrons-sm-left" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav prev w-6 h-6 hover:cursor-pointer sd-interactive" part="prev-month-button" @click="${()=>this.setMonth(-1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"month",-1,!1)}" aria-label="${this.localize.term("previousMonth")}"><sd-icon library="_internal" name="chevron-sm-left" class="h-6 w-6"></sd-icon></button></div><div tabindex="-1" class="month-label flex justify-center sd-headline sd-headline--size-base !text-primary" part="month-label" aria-live="polite">${e}</div><div class="flex items-center"><button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-month-button" @click="${()=>this.setMonth(1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"month",1,!1)}" aria-label="${this.localize.term("nextMonth")}"><sd-icon library="_internal" name="chevron-sm-right" class="h-6 w-6"></sd-icon></button> <button type="button" tabindex="0" class="nav next w-6 h-6 hover:cursor-pointer sd-interactive" part="next-year-button" @click="${()=>this.setYear(1)}" @keydown="${h=>this.handleHeaderKeyDown(h,"year",1,!0)}" aria-label="${this.localize.term("nextYear")}"><sd-icon library="_internal" name="chevrons-sm-right" class="h-6 w-6"></sd-icon></button></div></div><sd-divider></sd-divider><div class="sr-only" aria-live="polite" aria-atomic="true">${this.statusNavText}</div><div class="sr-only" aria-live="assertive" aria-atomic="true">${this.statusSelectText}</div><div class="sr-only" id="keyboard-hint">${this.localize.term("datePickerInfo")}</div><div class="grid mt-2" role="grid" aria-describedby="keyboard-hint" aria-label="${e}" part="grid" @mouseleave="${this.onGridMouseLeave}" @focusin="${()=>{this.tabbingIntoGrid=!1}}"><div class="grid-row grid-head grid grid-cols-7 gap-y-[1px]" role="row">${s.map((h,f)=>C`<div role="columnheader" aria-colindex="${f+1}" part="weekday" class="cell head flex items-center justify-center font-bold text-black text-sm leading-none h-8" aria-label="${h}" title="${h}" id="${"col-"+(f+1)}">${h}</div>`)}</div>${t.map((h,f)=>C`<div class="grid-row grid grid-cols-7 ${f===0?"mt-2":""}" role="row" aria-rowindex="${f+2}">${h.map((r,p)=>{let v=r.getMonth()===this.viewMonth.getMonth(),I=this.isDisabled(r),D=a.isSameDay(r,this.focusedDate),w=a.isSameDay(r,this.today),m=!this.range&&i?a.isSameDay(r,i):!1,b=this.range&&n?a.isSameDay(r,n):!1,S=this.range&&l?a.isSameDay(r,l):!1,V=this.range&&n&&l?a.isBetweenInclusive(r,n,l):!1,T=c(r)&&!I,$=-1,k=g&&a.isSameDay(r,g);(this.tabbingIntoGrid&&k||!this.tabbingIntoGrid&&D)&&($=0);let M=this.isWeekend(r),O=r.toLocaleDateString(this.locale,{weekday:"long",day:"numeric",month:"long",year:"numeric"}),x=b?this.localize.term("startDateSelected"):S?this.localize.term("endDateSelected"):void 0;return C`<button type="button" part="day" class="${E("cell day flex items-center justify-center focus-visible:outline focus:outline-2 focus:outline-primary -outline-offset-2 rounded-md w-[36px]",this.size==="sm"?"text-sm h-6":"text-base h-8",b||S?"hover:bg-primary-500":"hover:bg-primary-100 hover:text-primary-500",v?this.isInDisabledDates(r)?"out-month text-neutral-700":this.disabledWeekends&&M?"weekend-day text-neutral-500":"in-month text-primary":M?"out-month weekend-day text-neutral-500":"out-month text-neutral-700",m?"selected border-primary bg-primary text-white hover:bg-primary-500 hover:text-white":"",b?"bg-primary text-white rounded-l-md rounded-r-none":"",S?"bg-primary text-white range-end rounded-r-md rounded-l-none":"",V&&!b&&!S?"in-range selected bg-primary-100 text-primary-500 rounded-none hover:bg-primary-500 hover:text-white":"",!V&&T&&!b&&!S?"in-preview-range bg-primary-100 text-primary-500 rounded-none":"",w&&!m&&!b&&!S&&D?"today border-[1px] border-primary font-bold":"",I?"disabled cursor-not-allowed hover:bg-transparent":"",D&&!w?"focused outline outline-2 outline-primary":"")}" role="gridcell" aria-colindex="${p+1}" aria-labelledby="${"col-"+(p+1)}" .tabIndex="${$}" ?disabled="${I||this.disabled}" aria-disabled="${I||this.visuallyDisabled||this.disabled?"true":"false"}" aria-selected="${m||V||b||S?"true":"false"}" aria-current="${w?"date":P}" aria-label="${O}" aria-roledescription="${x!=null?x:P}" @focus="${()=>this.focusedDate=a.startOfDayLocal(r)}" @mouseenter="${()=>this.onDayMouseEnter(r)}" @keydown="${this.onKeyDown}" @click="${()=>{this.focusedDate=a.startOfDayLocal(r),this.selectDate(r)}}">${r.getDate()}</button>`})}</div>`)}</div></div>`}render(){let t={label:this.hasSlotController.test("label"),helpText:this.hasSlotController.test("help-text"),tooltip:this.hasSlotController.test("tooltip")},e=this.label?!0:!!t.label,s=this.helpText?!0:!!t.helpText,i=!!t.tooltip,n=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",l={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],u={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size],c=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.readonly?"readonly":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",g={disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"border-neutral-800",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"border-neutral-800"}[c],h=this.size==="sm"?"text-sm":"text-base";return C`<div part="form-control" class="${E("w-[370px]",this.open&&"z-50",(this.disabled||this.visuallyDisabled)&&"cursor-not-allowed")}">${e||i?C`<div class="flex items-center gap-1 mb-2"><label part="form-control-label" id="label" class="${E(e?"inline-block":"hidden",h)}" for="input" aria-hidden="${e?"false":"true"}"><slot name="label">${this.label}</slot></label> ${t.tooltip?C`<slot name="tooltip"></slot>`:""}</div>`:null}<div part="form-control-input" class="${E("relative w-full",this.disabled&&"pointer-events-none",this.visuallyDisabled&&"cursor-not-allowed")}"><div part="border" class="${E("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",g,this.open&&this.alignment==="left"?"rounded-bl-none":"",this.open&&this.alignment==="right"?"rounded-br-none":"")}"></div><sd-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${E("inline-flex relative w-full")}" sync="width" auto-size="vertical" auto-size-padding="10" exportparts="popup:popup__content,"><div part="base" class="${E("px-4 flex flex-row items-center rounded-default transition-colors ease-in-out duration-medium hover:duration-fast w-full",!this.disabled&&!this.readonly&&!this.visuallyDisabled?"hover:bg-neutral-200":"",this.readonly?"bg-neutral-100":"bg-white",c==="disabled"||c==="visuallyDisabled"?"text-neutral-500":"text-black")}" slot="anchor"><input id="input" type="text" role="combobox" aria-expanded="${this.open?"true":"false"}" aria-haspopup="dialog" aria-controls="calendar-grid" aria-describedby="${s?"help-text":void 0}" aria-invalid="${this.showInvalidStyle?"true":"false"}" aria-label="${this.range?"Select date range":"Select a date"}" class="${E("min-w-0 flex-grow focus:outline-none bg-transparent",this.visuallyDisabled||this.disabled?"placeholder-neutral-500 cursor-not-allowed":"placeholder-neutral-700",{sm:"h-8",md:"h-10",lg:"h-12"}[this.size],h)}" placeholder="${this.placeholder||this.localize.term(this.range?"dateRangePlaceholder":"datePlaceholder")}" ?disabled="${this.disabled||this.disabled}" ?readonly="${this.readonly}" @input="${this.handleInput}" @click="${this.handleMouseDown}" @keydown="${this.handleInputKeyDown}" @focus="${this.handleFocus}" @blur="${this.handleInputBlur}" @invalid="${this.handleInvalid}"> ${this.showInvalidStyle?C`<sd-icon part="invalid-icon" class="${E("text-error",l,u)}" library="_internal" name="risk"></sd-icon>`:""} ${this.showValidStyle&&this.styleOnValid?C`<sd-icon class="${E("text-success flex-shrink-0",l,u)}" library="_internal" name="confirm-circle" part="valid-icon"></sd-icon>`:""}<sd-icon class="${E(n,l,u)}" library="_internal" name="calendar"></sd-icon>${this.renderCalendar()}</div></sd-popup></div><slot name="help-text" part="form-control-help-text" id="help-text" class="${E("text-sm text-neutral-700 mt-1",s?"block":"hidden")}" aria-hidden="${!s}">${this.helpText}</slot></div>${this.formControlController.renderInvalidMessage()}`}};o.styles=[...z.styles,R`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{position:relative;display:inline-block;--tw-outline-style:none;outline-style:none}:host([required]) #label::after{content:' *'}`],d([y({type:String,reflect:!0})],o.prototype,"locale",2),d([y({type:String})],o.prototype,"value",2),d([y({type:Boolean,reflect:!0})],o.prototype,"range",2),d([y({type:String})],o.prototype,"rangeStart",2),d([y({type:String})],o.prototype,"rangeEnd",2),d([y({type:Boolean})],o.prototype,"allowSameDayRange",2),d([y({type:String})],o.prototype,"min",2),d([y({type:String})],o.prototype,"max",2),d([y({type:Number})],o.prototype,"firstDayOfWeek",2),d([y({type:Boolean,reflect:!0,attribute:"disabled-weekends"})],o.prototype,"disabledWeekends",2),d([y({attribute:"disabled-dates"})],o.prototype,"disabledDates",2),d([y({attribute:!1})],o.prototype,"isDateDisabled",2),d([y({type:String,reflect:!0})],o.prototype,"size",2),d([y({type:String})],o.prototype,"alignment",2),d([y({type:String,reflect:!0})],o.prototype,"label",2),d([y({type:String,attribute:"help-text",reflect:!0})],o.prototype,"helpText",2),d([y({type:Boolean,reflect:!0})],o.prototype,"disabled",2),d([y({type:Boolean,attribute:"visually-disabled"})],o.prototype,"visuallyDisabled",2),d([y({type:Boolean,reflect:!0,attribute:"style-on-valid"})],o.prototype,"styleOnValid",2),d([y({type:Boolean,reflect:!0})],o.prototype,"readonly",2),d([y({type:String,reflect:!0})],o.prototype,"placement",2),d([y({type:String,reflect:!0})],o.prototype,"placeholder",2),d([y({reflect:!0})],o.prototype,"name",2),d([y({type:String,reflect:!0})],o.prototype,"form",2),d([L()],o.prototype,"open",2),d([L()],o.prototype,"viewMonth",2),d([L()],o.prototype,"focusedDate",2),d([L()],o.prototype,"today",2),d([L()],o.prototype,"disabledDatesSet",2),d([L()],o.prototype,"previewEnd",2),d([L()],o.prototype,"statusNavText",2),d([L()],o.prototype,"statusSelectText",2),d([L()],o.prototype,"hasFocus",2),d([L()],o.prototype,"showValidStyle",2),d([L()],o.prototype,"showInvalidStyle",2),d([L()],o.prototype,"currentPlacement",2),d([L()],o.prototype,"inputValue",2),d([Y("#invalid-message")],o.prototype,"invalidMessage",2),d([Y("#input")],o.prototype,"input",2),d([F("locale")],o.prototype,"handleLocaleChange",1),d([F("disabledDates")],o.prototype,"handleDisabledDatesChange",1),d([F("value")],o.prototype,"handleValueChange",1),d([F("rangeStart"),F("rangeEnd")],o.prototype,"handleRangeChange",1),d([F(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],o.prototype,"handleDisabledChange",1),o=d([B("sd-datepicker")],o);export{o as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as p,c as m}from"./chunk.B2NUKX6G.js";import{b as w}from"./chunk.PJ7JCMQF.js";import{a as u}from"./chunk.KLRPP4NQ.js";import{a as s}from"./chunk.YEDQWNIV.js";import{a as g}from"./chunk.7BPPDSHY.js";import{a as b}from"./chunk.NYKJXI3Q.js";import{a as y,b as n,d as a,h as c}from"./chunk.45AHR6PI.js";import{b as f}from"./chunk.763RLJEK.js";import{b as l,e as d,f as h}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{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 o of e)o.type==="attributes"&&o.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:o,options:r}=m(this,"accordion.show",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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:o,options:r}=m(this,"accordion.hide",{dir:this.localize.dir()});await l(this.body,h(o,this.body.scrollHeight),r),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" class="border-neutral-400"><summary part="header" id="header" class="${s("flex text-base gap-4 font-bold items-center cursor-pointer select-none px-4 sd-accordion-padding-block focus-visible:focus-outline sd-accordion-color-text relative group transition-colors ease-in-out duration-fast sd-accordion-color-background hover:bg-neutral-200")}" aria-expanded="${this.open?"true":"false"}" aria-controls="content" tabindex="0" @click="${this.handleSummaryClick}" @keydown="${this.handleSummaryKeyDown}"><div part="summary-border" class="${s(!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="flex flex-auto items-center text-left">${this.summary}</slot><span part="summary-icon" class="${s("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="${s(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></sd-icon></slot><slot name="collapse-icon" class="${s(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down"></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=[...c.styles,f`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{display:block}[part=header]::-webkit-details-marker{display:none}[part=base]{border-block-width:var(--sd-accordion-border-width,var(--sd-spacing-0\\.25))}[part=summary-icon]{color:var(--sd-accordion__chevron-color-text)}`],i([a('[part="base"]')],t.prototype,"accordion",2),i([a('[part="header"]')],t.prototype,"header",2),i([a('[part="content"]')],t.prototype,"body",2),i([n({type:Boolean,reflect:!0})],t.prototype,"open",2),i([n({reflect:!0})],t.prototype,"summary",2),i([b("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleOpenChange",1),t=i([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 +0,0 @@
|
|
|
1
|
-
import{a as d}from"./chunk.CGQ2BPPZ.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as r}from"./chunk.YEDQWNIV.js";import{a as h,b as i,d as c,h as a}from"./chunk.45AHR6PI.js";import{b as o,e as n}from"./chunk.763RLJEK.js";import{e as t}from"./chunk.6EV4YU6C.js";var e=class extends a{constructor(){super(...arguments);this.hasSlotController=new d(this,"[default]","icon-left","icon-right");this.standalone=!1;this.size="inherit";this.inverted=!1;this.href="";this.visuallyDisabled=!1}handleBlur(){this.emit("sd-blur")}handleFocus(){this.emit("sd-focus")}handleClick(l){this.visuallyDisabled&&(l.preventDefault(),l.stopPropagation())}focus(l){this.button.focus(l)}blur(){this.button.blur()}render(){let l={label:this.hasSlotController.test("[default]"),"icon-left":this.hasSlotController.test("icon-left"),"icon-right":this.hasSlotController.test("icon-right")};return n`<a part="base" class="${r(this.standalone?"flex items-start":"inline",this.href&&!this.visuallyDisabled?"cursor-pointer":"",this.visuallyDisabled?"cursor-not-allowed focus-visible:focus-outline":"",{sm:"text-sm",lg:"text-base",inherit:""}[this.size],{disabled:this.inverted?"text-neutral-600":"text-neutral-500",enabled:this.inverted?"text-white hover:text-primary-200 active:text-primary-400 focus-visible:focus-outline-inverted":" text-primary hover:text-primary-500 active:interactive--active-color-text focus-visible:focus-outline",visuallyDisabled:this.inverted?"text-neutral-600":"text-neutral-500"}[this.href&&!this.visuallyDisabled?"enabled":this.visuallyDisabled?"visuallyDisabled":"disabled"])}" href="${s(this.href||void 0)}" target="${s(this.target||void 0)}" download="${s(this.download)}" rel="${s(this.target?"noreferrer noopener":void 0)}" aria-disabled="${!this.href||this.visuallyDisabled?"true":"false"}" tabindex="${this.href?"0":"-1"}" @blur="${this.handleBlur}" @focus="${this.handleFocus}" @click="${this.handleClick}"><slot name="icon-left" part="icon-left" class="${r("inline",l["icon-left"]&&(this.standalone?{sm:"mr-1",lg:"mr-2",inherit:"mr-[0.5em]"}[this.size]:"mr-[0.25em]"))}"></slot><span part="label" class="inline underline underline-offset-2"><slot></slot></span><slot name="icon-right" part="icon-right" class="${r("inline",l["icon-right"]&&(this.standalone?{sm:"ml-1",lg:"ml-2",inherit:"ml-[0.5em]"}[this.size]:"ml-[0.25em]"))}"></slot></a>`}};e.styles=[...a.styles,o`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
::slotted(sd-icon){font-size:1.25em;margin-bottom:-.25em}:host([size=sm][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-base);line-height:var(--tw-leading,var(--text-base--line-height,calc(1.5 / 1)))}:host([size=lg][standalone]) ::slotted(sd-icon){font-size:var(--sd-text-xl);line-height:var(--tw-leading,var(--text-xl--line-height,calc(1.75 / 1.25)))}`],t([c("a")],e.prototype,"button",2),t([i({type:Boolean,reflect:!0})],e.prototype,"standalone",2),t([i({type:String,reflect:!0})],e.prototype,"size",2),t([i({type:Boolean,reflect:!0})],e.prototype,"inverted",2),t([i({type:String,reflect:!0})],e.prototype,"href",2),t([i({type:Boolean,attribute:"visually-disabled",reflect:!0})],e.prototype,"visuallyDisabled",2),t([i({type:String,reflect:!0})],e.prototype,"target",2),t([i({reflect:!0})],e.prototype,"download",2),e=t([h("sd-link")],e);export{e as a};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{a as b}from"./chunk.PV6UYBMY.js";import{a as h,c as p}from"./chunk.B2NUKX6G.js";import{a as m}from"./chunk.KLRPP4NQ.js";import{a as o}from"./chunk.YEDQWNIV.js";import{a as y}from"./chunk.7BPPDSHY.js";import{a as f}from"./chunk.NYKJXI3Q.js";import{a as v,b as a,d as n,h as c}from"./chunk.45AHR6PI.js";import{b as g,e as u}from"./chunk.763RLJEK.js";import{b as r,e as l,f as d}from"./chunk.W4QBFD6E.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends c{constructor(){super(...arguments);this.open=!1;this.inverted=!1;this.localize=new y(this)}updateMaxHeight(){var s;let e=(s=this.contentPreview)==null?void 0:s.scrollHeight.toString();this.style.setProperty("--max-height-pixel",`${e}px`),this.style.setProperty("--max-height",e)}onToggleClick(){this.updateMaxHeight(),this.open=!this.open}async onOpenChange(){if(this.body.classList.add("transitioning"),this.open){this.emit("sd-show"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.show",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-show")})}else{this.emit("sd-hide"),await l(this.body);let{keyframes:e,options:s}=p(this,"expandable.hide",{dir:this.localize.dir()});await r(this.body,d(e,this.body.scrollHeight),s),this.body.style.height="auto",this.updateComplete.then(()=>{this.emit("sd-after-hide")})}this.details.setAttribute("open",this.open.toString()),this.body.classList.remove("transitioning")}async show(){if(!this.open)return this.onToggleClick(),m(this,"sd-after-show")}async hide(){if(this.open)return this.onToggleClick(),m(this,"sd-after-hide")}render(){return u`<div part="base" class="flex flex-col-reverse gap-4"><button part="toggle" class="${o("sd-interactive sd-interactive--reset",this.inverted&&"sd-interactive--inverted",this.inverted?"!focus-visible:focus-outline-inverted":"!focus-visible:focus-outline")}" @click="${this.onToggleClick}" aria-expanded="${this.open}"><div class="${o("h-full justify-center w-full text-base flex items-center toggle")}"><span part="toggle-icon" class="${o("flex items-center mr-2 transition-transform duration-medium ease-in-out",this.open&&"rotate-180")}"><slot name="expand-icon" class="${o(this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot><slot name="collapse-icon" class="${o(!this.open&&"hidden")}"><sd-icon library="_internal" name="chevron-down" class="text-xl"></sd-icon></slot></span><slot name="toggle-closed" class="${o(this.open&&"hidden")}">${this.localize.term("showMore")}</slot><slot name="toggle-open" class="${o(!this.open&&"hidden")}">${this.localize.term("showLess")}</slot></div></button><details part="details" ?inert="${b(!this.open)}"><summary part="summary" aria-hidden="true" class="cursor-pointer overflow-hidden list-none"><slot name="clone"></slot></summary><div part="content" class="content content-preview overflow-hidden relative"><slot></slot></div></details></div>`}firstUpdated(){this.cloneContentToLightDOM(),this.details.setAttribute("open",this.open.toString())}cloneContentToLightDOM(){let e=document.createElement("div");e.setAttribute("slot","clone"),Array.from(this.childNodes).forEach(w=>{let x=w.cloneNode(!0);e.appendChild(x)}),this.appendChild(e)}};t.styles=[...c.styles,g`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
-
:host{--component-expandable-max-block-size:90px;--gradient-height:24px;--gradient:var(
|
|
3
|
-
--gradient-color-start,
|
|
4
|
-
transparent,
|
|
5
|
-
var(--gradient-color-end, var(--sd-color-background-white, var(--sd-color-white)))
|
|
6
|
-
) 80%,var(--gradient-color-end, var(--sd-color-background-white, var(--sd-color-white))) 100%;position:relative;display:inline-block;width:100%}.toggle::-moz-focus-inner{--tw-border-style:none;border-style:none;padding:calc(var(--sd-spacing-1) * 0)}details>summary::-webkit-details-marker,details[open] summary{display:none}summary{max-block-size:var(--component-expandable-max-block-size)}:host([open]) summary{max-block-size:var(--max-height-pixel,1000vh)}.content{max-block-size:var(--component-expandable-max-block-size)}:host([open]) .content,:host:has(.transitioning) .content{max-block-size:var(--max-height-pixel,1000vh)}.content::after{position:absolute;bottom:calc(var(--sd-spacing-1) * 0);left:calc(var(--sd-spacing-1) * 0);display:block;width:100%;opacity:var(--sd-opacity-0);transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function,cubic-bezier(.4,0,.2,1)));transition-duration:var(--tw-duration,var(--default-transition-duration,150ms));--tw-duration:var(--sd-duration-medium, 300ms);transition-duration:var(--sd-duration-medium,300ms);--tw-ease:var(--ease-in-out, cubic-bezier(0.4, 0, 0.2, 1));transition-timing-function:var(--ease-in-out,cubic-bezier(.4,0,.2,1));content:' ';height:var(--gradient-height);background:linear-gradient(180deg,var(--gradient))}:host([inverted]){--color-primary-rgb:0,53,142;--gradient-color-start:rgba(var(--color-primary-rgb), 0);--gradient-color-end:rgba(var(--color-primary-rgb), 1)}:host([inverted]) .content::after{background:var(--gradient-vertical-transparent-primary,linear-gradient(180deg,var(--gradient)))}:host(:not([open])) .content::after{opacity:var(--sd-opacity-100)}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}`],i([n(".content-preview")],t.prototype,"contentPreview",2),i([n("details")],t.prototype,"details",2),i([n('[part="content"]')],t.prototype,"body",2),i([a({type:Boolean,reflect:!0})],t.prototype,"open",2),i([a({type:Boolean,reflect:!0})],t.prototype,"inverted",2),i([f("open",{waitUntilFirstUpdate:!0})],t.prototype,"onOpenChange",1),t=i([v("sd-expandable")],t);h("expandable.show",{keyframes:[{height:"var(--component-expandable-max-block-size, 90px)"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});h("expandable.hide",{keyframes:[{height:"auto"},{height:"var(--component-expandable-max-block-size, 90px)"}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as f}from"./chunk.PV6UYBMY.js";import{a as h}from"./chunk.7BPPDSHY.js";import{a as p}from"./chunk.NYKJXI3Q.js";import{a as o,b as r,d as c,h as i}from"./chunk.45AHR6PI.js";import{b as l,e as a}from"./chunk.763RLJEK.js";import{e}from"./chunk.6EV4YU6C.js";var t=class extends i{constructor(){super(...arguments);this.localize=new h(this);this.href="";this.current=!1}handleCurrentChange(){var s,n;!this.base||!this.current||(n=(s=this.base.shadowRoot)==null?void 0:s.querySelector("a"))==null||n.setAttribute("aria-current","page")}connectedCallback(){this.hasAttribute("role")||this.setAttribute("role","listitem"),super.connectedCallback()}firstUpdated(){requestAnimationFrame(()=>this.handleCurrentChange())}render(){return a`<sd-link part="base" href="${f(this.current?void 0:this.href)}" target="${this.target}" standalone class="text-nowrap"><slot></slot></sd-link>`}};t.styles=[...i.styles,l`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{display:inline-flex;align-items:center}sd-link::part(base){align-items:center}sd-link::part(icon-left){margin-right:calc(var(--sd-spacing-1) * 0);display:inline-flex}:host([current]) sd-link::part(base){color:var(--sd-color-text-neutral-700)}:host([current]) sd-link::part(label){text-decoration-line:none}`],e([c('[part="base"]')],t.prototype,"base",2),e([r({type:String,reflect:!0})],t.prototype,"href",2),e([r({type:String,reflect:!0})],t.prototype,"target",2),e([r({type:Boolean,reflect:!0})],t.prototype,"current",2),e([p("current")],t.prototype,"handleCurrentChange",1),t=e([o("sd-breadcrumb-item")],t);export{t as a};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as w}from"./chunk.7BPPDSHY.js";import{a as p,d as f,h}from"./chunk.45AHR6PI.js";import{b as u,e as c}from"./chunk.763RLJEK.js";import{e as m}from"./chunk.6EV4YU6C.js";var a=class extends h{constructor(){super(...arguments);this.localize=new w(this)}connectedCallback(){super.connectedCallback(),this.setAttribute("role","menu")}handleClick(t){let e=["menuitem","menuitemcheckbox"],r=t.composedPath(),s=r.find(i=>{var l;return e.includes(((l=i==null?void 0:i.getAttribute)==null?void 0:l.call(i,"role"))||"")});if(!s||r.find(i=>{var l;return((l=i==null?void 0:i.getAttribute)==null?void 0:l.call(i,"role"))==="menu"})!==this)return;let o=s;o.type==="checkbox"&&(o.checked=!o.checked),this.emit("sd-select",{detail:{item:o}})}handleKeyDown(t){if(t.key==="Enter"||t.key===" "){let e=this.getCurrentItem();t.preventDefault(),t.stopPropagation(),e==null||e.click()}else if(["ArrowDown","ArrowUp","Home","End"].includes(t.key)){let e=this.getAllItems(),r=this.getCurrentItem(),s=r?e.indexOf(r):0;if(e.length>0){t.preventDefault(),t.stopPropagation();let d=(n,o)=>{let i=n;for(let l of e)if(i=(i+o+e.length)%e.length,!e[i].disabled)return i;return n};if(t.key==="ArrowDown")s=d(s,1);else if(t.key==="ArrowUp")s=d(s,-1);else if(t.key==="Home")s=e.findIndex(n=>!n.disabled),s===-1&&(s=0);else if(t.key==="End"){s=e.length-1;for(let n=e.length-1;n>=0;n--)if(!e[n].disabled){s=n;break}}this.setCurrentItem(e[s]),e[s].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(r=>{r.setAttribute("tabindex",r===t?"0":"-1")})}render(){return c`<slot @slotchange="${this.handleSlotChange}" @click="${this.handleClick}" @keydown="${this.handleKeyDown}" @mousedown="${this.handleMouseDown}"></slot>`}};a.styles=[...h.styles,u`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
2
|
-
:host{position:relative;display:block;overflow:auto;overscroll-behavior:auto;border-radius:var(--sd-radius-md);padding-inline:var(--sd-spacing-2);padding-block:var(--sd-spacing-3);--tw-shadow:var(--sd-shadow)!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)}@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}`],m([f("slot")],a.prototype,"defaultSlot",2),a=m([p("sd-menu")],a);export{a};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import SolidElement from '../../internal/solid-element';
|
|
2
|
-
export default class SdThemeListener extends SolidElement {
|
|
3
|
-
private themeObserver?;
|
|
4
|
-
protected handleThemeChange(theme: string): void;
|
|
5
|
-
connectedCallback(): void;
|
|
6
|
-
disconnectedCallback(): void;
|
|
7
|
-
static styles: import("lit").CSSResult[];
|
|
8
|
-
}
|
|
9
|
-
declare global {
|
|
10
|
-
interface HTMLElementTagNameMap {
|
|
11
|
-
'sd-theme-listener': SdThemeListener;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a}from"../../chunks/chunk.BZZT6LE2.js";import"../../chunks/chunk.45AHR6PI.js";import"../../chunks/chunk.763RLJEK.js";import"../../chunks/chunk.W4QBFD6E.js";import"../../chunks/chunk.6EV4YU6C.js";export{a as default};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import StyleObserver from 'style-observer';
|
|
2
|
-
export class ThemeObserver {
|
|
3
|
-
constructor(host, callback) {
|
|
4
|
-
this.host = host;
|
|
5
|
-
this.callback = callback;
|
|
6
|
-
}
|
|
7
|
-
connect() {
|
|
8
|
-
this.observer = new StyleObserver(records => {
|
|
9
|
-
const theme = records?.[0]?.value?.replaceAll(`'`, '');
|
|
10
|
-
if (!theme)
|
|
11
|
-
return;
|
|
12
|
-
this.callback(theme);
|
|
13
|
-
});
|
|
14
|
-
this.observer.observe(this.host, '--sd-theme');
|
|
15
|
-
}
|
|
16
|
-
disconnect() {
|
|
17
|
-
this.observer?.unobserve(this.host);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as m,b as g,c as b,d as h,h as u}from"./chunk.45AHR6PI.js";import{b as d,e as c}from"./chunk.763RLJEK.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends u{constructor(){super(...arguments);this.disableRole=!1;this.label=""}handleFocus(e){let t=a(e.target);t==null||t.classList.add("sd-5-16-2-next-0-button-group__button--focus")}handleBlur(e){let t=a(e.target);t==null||t.classList.remove("sd-5-16-2-next-0-button-group__button--focus")}handleMouseOver(e){let t=a(e.target);t==null||t.classList.add("sd-5-16-2-next-0-button-group__button--hover")}handleMouseOut(e){let t=a(e.target);t==null||t.classList.remove("sd-5-16-2-next-0-button-group__button--hover")}handleSlotChange(){let e=[...this.defaultSlot.assignedElements({flatten:!0})];e.forEach(t=>{let n=e.indexOf(t),o=a(t);o!==null&&(o.classList.add("sd-5-16-2-next-0-button-group__button"),o.classList.toggle("sd-5-16-2-next-0-button-group__button--first",n===0),o.classList.toggle("sd-5-16-2-next-0-button-group__button--inner",n>0&&n<e.length-1),o.classList.toggle("sd-5-16-2-next-0-button-group__button--last",n===e.length-1),o.classList.toggle("sd-5-16-2-next-0-button-group__button--radio",o.tagName.toLowerCase()==="sd-5-16-2-next-0-radio-button"))})}render(){return c`<slot part="base" role="${this.disableRole?"presentation":"group"}" aria-label="${this.label}" @focusout="${this.handleBlur}" @focusin="${this.handleFocus}" @mouseover="${this.handleMouseOver}" @mouseout="${this.handleMouseOut}" @slotchange="${this.handleSlotChange}"></slot>`}};s.styles=[...u.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{display:inline-block}[part=base]{display:flex;flex-wrap:nowrap}`],l([h("slot")],s.prototype,"defaultSlot",2),l([b()],s.prototype,"disableRole",2),l([g({type:String,reflect:!0})],s.prototype,"label",2),s=l([m("sd-5-16-2-next-0-button-group")],s);function a(r){var e;let i="sd-5-16-2-next-0-button, sd-5-16-2-next-0-radio-button";return(e=r.closest(i))!=null?e:r.querySelector(i)}export{s as a};
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
var s={calendar:`
|
|
2
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
3
|
-
<path d="M21 2H3a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1h18a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1M6 4v1.7a1 1 0 0 0 2 0V4h8v1.7a1 1 0 0 0 2 0V4h2v4H4V4zM4 20V10h16v10z"/>
|
|
4
|
-
<path d="m7.6 13.3.6.8.3-.3.7-.6V18h1.3v-6H9.4zm7-1.4q-2.2 0-2.2 3.1 0 3 2.2 3c2.2 0 2.2-1 2.2-3q0-3.1-2.1-3.1m0 5.3q-1 0-1-2.3t1-2.2c1 0 1 .8 1 2.3q0 2.2-1 2.2"/>
|
|
5
|
-
</svg>
|
|
6
|
-
`,"chevron-down":`
|
|
7
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
8
|
-
<path d="M20.3 6.3 12 15.5 3.7 6.3 3 6a1 1 0 0 0-.7 1.7l9 10a1 1 0 0 0 1.4 0l9-10q.3-.3.3-.7a1 1 0 0 0-1.7-.7"/>
|
|
9
|
-
</svg>
|
|
10
|
-
`,"chevron-up":`
|
|
11
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
12
|
-
<path d="M12.7 6.3a1 1 0 0 0-1.4 0l-9 10-.3.7a1 1 0 0 0 1.7.7L12 8.5l8.3 9.2q.2.2.7.3a1 1 0 0 0 .7-1.7z"/>
|
|
13
|
-
</svg>
|
|
14
|
-
`,"chevron-right":`
|
|
15
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
16
|
-
<path d="M7.667 2.257a1 1 0 1 0-1.336 1.485l.002.001L15.506 12l-9.173 8.257a1 1 0 0 0 1.336 1.485l-.002.001 10-9a.997.997 0 0 0 .001-1.486l-.001-.001-10-8.999Z"/>
|
|
17
|
-
</svg>
|
|
18
|
-
`,"chevron-left":`
|
|
19
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
20
|
-
<path d="M17.7 2.3a1 1 0 0 0-1.4 0l-10 9a1 1 0 0 0 0 1.4l10 9a1 1 0 0 0 1.4-1.4L8.5 12l9.2-8.3a1 1 0 0 0 0-1.4"/>
|
|
21
|
-
</svg>
|
|
22
|
-
`,"chevron-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
23
|
-
<path fill="currentColor" d="M10.688 6.257a1 1 0 1 0-1.336 1.485h.002L14.528 12l-5.174 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .002-1.485l-.002-.001-6-5Z"/>
|
|
24
|
-
</svg>`,"chevron-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
25
|
-
<path fill="currentColor" d="M14.742 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0 0 1.486v.001l6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
|
|
26
|
-
</svg>`,"chevrons-sm-left":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
27
|
-
<path fill="currentColor" d="M11.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
|
|
28
|
-
<path fill="currentColor" d="M18.74 6.333a.997.997 0 0 0-1.41-.076l.001-.001-6 5a.997.997 0 0 0-.001 1.486l.001.001 6 5a1 1 0 0 0 1.333-1.487l-5.173-4.257 5.173-4.257a.997.997 0 0 0 .076-1.409Z"/>
|
|
29
|
-
</svg>`,"chevrons-sm-right":`<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24">
|
|
30
|
-
<path fill="currentColor" d="M13.718 6.257a1 1 0 1 0-1.336 1.485h.002L17.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
|
|
31
|
-
<path fill="currentColor" d="M6.718 6.257a1 1 0 1 0-1.336 1.485h.002L10.557 12l-5.173 4.257a1 1 0 0 0 1.336 1.485h-.002l6-5a.997.997 0 0 0 .001-1.485l-.001-.001-6-5Z"/>
|
|
32
|
-
</svg>`,clock:`
|
|
33
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
34
|
-
<path d="M13 11.6V8a1 1 0 0 0-2 0v4.4h.1v.2l.2.1 2.8 2.8a1 1 0 0 0 1.4-1.4z"/>
|
|
35
|
-
<path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
|
|
36
|
-
</svg>
|
|
37
|
-
`,close:`
|
|
38
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
39
|
-
<path d="M21.7 2.3a1 1 0 0 0-1.4 0L12 10.6 3.7 2.3a1 1 0 0 0-1.4 1.4l8.3 8.3-8.3 8.3a1 1 0 0 0 0 1.4 1 1 0 0 0 1.4 0l8.3-8.3 8.3 8.3a1 1 0 0 0 1.4 0 1 1 0 0 0 0-1.4L13.4 12l8.3-8.3a1 1 0 0 0 0-1.4"/>
|
|
40
|
-
</svg>
|
|
41
|
-
`,"closing-round":`
|
|
42
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
43
|
-
<path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
|
|
44
|
-
<path d="M16.4 7.6a1 1 0 0 0-1.4 0l-3 3-3-3A1 1 0 0 0 7.6 9l3 3-3 3A1 1 0 0 0 9 16.4l3-3 3 3a1 1 0 0 0 1.4-1.4l-3-3 3-3a1 1 0 0 0 0-1.4"/>
|
|
45
|
-
</svg>
|
|
46
|
-
`,eye:`
|
|
47
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
48
|
-
<path d="M12 19c-5.3 0-10-5.7-10-7s4.7-7 10-7 10 5.7 10 7-4.7 7-10 7m-7.9-7c.8 1.2 4 5 7.9 5s7.1-3.8 7.9-5c-.8-1.2-4-5-7.9-5s-7.1 3.8-7.9 5"/>
|
|
49
|
-
<path d="M12 16.1A4 4 0 0 1 7.9 12 4 4 0 0 1 12 7.9a4 4 0 0 1 4.1 4.1 4 4 0 0 1-4.1 4.1m0-6.2a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2"/>
|
|
50
|
-
</svg>
|
|
51
|
-
`,"eye-crossed-out":`
|
|
52
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
53
|
-
<path d="M12 16.1A4 4 0 0 1 7.9 12 4 4 0 0 1 12 7.9a4 4 0 0 1 4.1 4.1 4 4 0 0 1-4.1 4.1m0-6.2a2.1 2.1 0 1 0 0 4.2 2.1 2.1 0 0 0 0-4.2"/>
|
|
54
|
-
<path d="M12 19c-5.3 0-10-5.7-10-7s4.7-7 10-7 10 5.7 10 7-4.7 7-10 7m-7.9-7c.8 1.2 4 5 7.9 5s7.1-3.8 7.9-5c-.8-1.2-4-5-7.9-5s-7.1 3.8-7.9 5"/>
|
|
55
|
-
<path d="M3 22a1 1 0 0 1-.7-1.7l18-18a1 1 0 0 1 1.4 1.4l-18 18z"/>
|
|
56
|
-
</svg>
|
|
57
|
-
`,"info-circle":`
|
|
58
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
59
|
-
<path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
|
|
60
|
-
<path d="M13.3 7.8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m-.3 3.9a1 1 0 0 0-1-1h-1a1 1 0 0 0 0 2v2.6h2zM11 16.3v-1h-1a1 1 0 0 0 0 2h2a1 1 0 0 1-1-1m3-1h-1v1a1 1 0 0 1-1 1h2a1 1 0 0 0 0-2"/>
|
|
61
|
-
<path d="M13 16.3v-1h-2v1a1 1 0 0 0 2 0"/>
|
|
62
|
-
</svg>
|
|
63
|
-
`,"status-check":`
|
|
64
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 13">
|
|
65
|
-
<path d="M10 1.1 4.3 9.5 1.9 7a.6.6 0 0 0-1 .5L1 8l3 3 .5.1q.4 0 .5-.2l6-9a1 1 0 0 0-.2-1 1 1 0 0 0-.9.2"/>
|
|
66
|
-
</svg>
|
|
67
|
-
`,"status-minus":`
|
|
68
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 12 12">
|
|
69
|
-
<path d="M10 5.4H2a.6.6 0 0 0 0 1.2h8a.6.6 0 0 0 0-1.2"/>
|
|
70
|
-
</svg>
|
|
71
|
-
`,"minus-circle":`
|
|
72
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72">
|
|
73
|
-
<path d="M49.5 33h-27a3 3 0 0 0 0 6h27a3 3 0 0 0 0-6Z"/>
|
|
74
|
-
<path d="M36 6a30 30 0 1 0 30 30A30 30 0 0 0 36 6Zm0 54a24 24 0 1 1 24-24 24 24 0 0 1-24 24Z"/>
|
|
75
|
-
</svg>
|
|
76
|
-
`,pause:`
|
|
77
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
78
|
-
<path d="M9 22a1 1 0 0 0 1-1V3a1 1 0 0 0-1-1H5a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1zM6 4h2v16H6zm13 18q.4 0 .7-.3l.3-.7V3a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v18a1 1 0 0 0 1 1zM16 4h2v16h-2z"/>
|
|
79
|
-
</svg>
|
|
80
|
-
`,"plus-circle":`
|
|
81
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 72 72">
|
|
82
|
-
<path d="M49.5 33H39V22.5a3 3 0 0 0-6 0V33H22.5a3 3 0 0 0 0 6H33v10.5a3 3 0 0 0 6 0V39h10.5a3 3 0 0 0 0-6Z"/>
|
|
83
|
-
<path d="M36 6a30 30 0 1 0 30 30A30 30 0 0 0 36 6Zm0 54a24 24 0 1 1 24-24 24 24 0 0 1-24 24Z"/>
|
|
84
|
-
</svg>
|
|
85
|
-
`,risk:`
|
|
86
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
87
|
-
<path d="M12.9 2.6a1 1 0 0 0-1.8 0l-9 18A1 1 0 0 0 3 22h18a1 1 0 0 0 .9-1.5zM4.6 20 12 5.2 19.4 20z"/>
|
|
88
|
-
<path d="M11 10.7V15a1 1 0 0 0 2 0v-4.3a1 1 0 0 0-2 0m2 7.3a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/>
|
|
89
|
-
</svg>
|
|
90
|
-
`,start:`
|
|
91
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64">
|
|
92
|
-
<path d="m57.4 29.8-37.3-24A2.7 2.7 0 0 0 16 8v48a2.7 2.7 0 0 0 2.7 2.7 3 3 0 0 0 1.4-.5l37.3-24a3 3 0 0 0 1.2-2.2q0-1.4-1.2-2.2M21.4 51V13L51 32z"/>
|
|
93
|
-
</svg>
|
|
94
|
-
`,"confirm-circle":`
|
|
95
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
96
|
-
<path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
|
|
97
|
-
<path d="M15.8 7.5a1 1 0 0 0-1.4.3L10.9 14 9 12.3a1 1 0 0 0-1.6.7q0 .4.2.7l2.7 2.7q.3.2.7.3h.1q.5-.1.8-.5l4.3-7.4.1-.5a1 1 0 0 0-.5-.8"/>
|
|
98
|
-
</svg>
|
|
99
|
-
`,warning:`
|
|
100
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
101
|
-
<path d="M12.9 2.6a1 1 0 0 0-1.8 0l-9 18-.1.4q0 1 1 1h18a1 1 0 0 0 .9-1.5zM4.6 20 12 5.2 19.4 20z"/>
|
|
102
|
-
<path d="M11 10.7V15a1 1 0 0 0 2 0v-4.3a1 1 0 0 0-2 0m2 7.3a1 1 0 1 1-2 0 1 1 0 0 1 2 0"/>
|
|
103
|
-
</svg>
|
|
104
|
-
`,"exclamation-circle":`
|
|
105
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
106
|
-
<path d="M13 17a1 1 0 1 1-2 0 1 1 0 0 1 2 0M12 6a1 1 0 0 0-1 1v6a1 1 0 0 0 2 0V7q0-1-1-1"/>
|
|
107
|
-
<path d="M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20m0 18a8 8 0 1 1 0-16 8 8 0 0 1 0 16"/>
|
|
108
|
-
</svg>
|
|
109
|
-
`,"magnifying-glass":`
|
|
110
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
111
|
-
<path d="m21.7 20.3-7-7h-.1a7 7 0 1 0-1.4 1.4v-.1l.1.1 7 7a1 1 0 0 0 1.4 0 1 1 0 0 0 0-1.4M9 14a5 5 0 1 1 5-5 5 5 0 0 1-5 5"/>
|
|
112
|
-
</svg>
|
|
113
|
-
`,transcript:`
|
|
114
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
115
|
-
<path d="M19 22H5a1 1 0 0 1-1-1V3q0-1 1-1h9q.4 0 .7.3l5 5q.3.3.3.7v13q0 1-1 1M6 20h12V8.4L13.6 4H6z"/>
|
|
116
|
-
<path d="M19 10h-6a1 1 0 0 1-1-1V3a1 1 0 1 1 2 0v5h5a1 1 0 1 1 0 2m-3 4H8a1 1 0 1 1 0-2h8a1 1 0 1 1 0 2m-2 4H8a1 1 0 1 1 0-2h6a1 1 0 1 1 0 2"/>
|
|
117
|
-
</svg>
|
|
118
|
-
`,mute:`
|
|
119
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
120
|
-
<path d="M8.7 0a1 1 0 0 0-1 .3L3.8 4H1a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3l3.6 3.7.7.3h.4q.6-.3.6-1V1a1 1 0 0 0-.6-1M2 6h1.3v4H2zm5.3 6.6-2-2V5.4l2-2zm12.4-9a1 1 0 0 0-1.4 0l-3 3-3-3A1 1 0 0 0 11 5l3 3-3 3a1 1 0 0 0 1.4 1.4l3-3 2.9 3a1 1 0 0 0 1.4-1.4l-3-3 3-3a1 1 0 0 0 0-1.4"/>
|
|
121
|
-
</svg>
|
|
122
|
-
`,volume:`
|
|
123
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
124
|
-
<path d="M10.7 4a1 1 0 0 0-1 .3L5.8 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h3l3.6 3.7.7.3h.4q.6-.4.6-1V5a1 1 0 0 0-.6-1M4 10h1.3v4H4zm5.3 6.6-2-2V9.4l2-2zM18.6 3a1 1 0 0 0-.5 1.3Q20 7.8 20 12t-2 7.6h.1a1 1 0 0 0 .4 1.3 1 1 0 0 0 1.4-.4q2-3.8 2.1-8.5 0-4.6-2.2-8.5a1 1 0 0 0-1.3-.4"/>
|
|
125
|
-
<path d="M14.4 5.2a1 1 0 0 0-.2 1.4Q16 9.3 16 12t-1.8 5.4a1 1 0 0 0 1.6 1.2Q18 15.2 18 12t-2.2-6.6a1 1 0 0 0-1.4-.2"/>
|
|
126
|
-
</svg>
|
|
127
|
-
`,reload:`
|
|
128
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
129
|
-
<path d="m1.7 7.11 1.33 1.34C3.13 3.69 6.75 0 11.33 0a8.67 8.67 0 1 1 0 17.33 1 1 0 0 1 0-2 6.67 6.67 0 1 0 0-13.33C7.8 2 5.14 4.74 5 8.42l1.34-1.3a1 1 0 1 1 1.41 1.41l-3.02 3.02a1 1 0 0 1-1.42 0L.3 8.53A1 1 0 0 1 1.7 7.11z"/>
|
|
130
|
-
</svg>
|
|
131
|
-
`},w={name:"_internal",resolver:(a,t)=>{if(t){let v=window.getComputedStyle(t).getPropertyValue(`--sd-icon--${a}`);if(v)return`data:image/svg+xml,${encodeURIComponent(v.replaceAll("\\","").replaceAll('"',"'"))}`}return a in s?`data:image/svg+xml,${encodeURIComponent(s[a])}`:""},mutator:a=>a.setAttribute("fill","currentColor")},l=w;export{s as a,l as b};
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{a as o}from"./chunk.X3JCABXB.js";import{a as s}from"./chunk.PV6UYBMY.js";import{a as n}from"./chunk.B2NUKX6G.js";import{a,b as c}from"./chunk.PJ7JCMQF.js";import{a as e}from"./chunk.YEDQWNIV.js";import{a as m,b as p}from"./chunk.45AHR6PI.js";import{b as d}from"./chunk.763RLJEK.js";import{e as i}from"./chunk.6EV4YU6C.js";var t=class extends o{constructor(){super(...arguments);this.expandable=!1}render(){let r=this.expandable?a`details`:a`div`,l=this.expandable?a`summary`:a`div`;return c`<${r} part="base" class="sm:p-6"><${l} part="header" id="header" class="${e("text-base font-bold items-center focus-visible:focus-outline text-primary relative group flex flex-row hover:bg-transparent gap-3 pb-3 pt-0 px-0 sm:flex-col sm:gap-4 sm:pb-8",this.expandable&&"cursor-pointer select-none")}" role="${s(this.expandable?"button":void 0)}" aria-expanded="${s(this.expandable?this.open?"true":"false":void 0)}" aria-controls="${s(this.expandable?"content":void 0)}" tabindex="${this.expandable?"0":"-1"}" @click="${this.expandable?this.handleSummaryClick:null}" @keydown="${this.expandable?this.handleSummaryKeyDown:null}"><div part="icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto items-center",!this.expandable&&"cursor-default")}"><slot name="icon"></slot></div><slot name="summary" part="summary" class="${e("flex flex-auto items-start text-left text-base leading-normal font-normal sm:leading-tight sm:text-3xl sm:text-center",this.expandable?"text-primary":"text-black cursor-default")}">${this.summary}</slot><span part="summary-icon" class="${e("flex flex-grow-0 flex-shrink-0 flex-auto self-start sm:self-center transition-transform ease-in-out duration-medium text-xl sm:text-4xl sm:mt-2",this.open&&"rotate-180",!this.expandable&&"hidden")}"><slot name="expand-icon" class="${e(this.open&&"hidden")}"><sd-5-16-2-next-0-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-16-2-next-0-icon></slot><slot name="collapse-icon" class="${e(!this.open&&"hidden")}"><sd-5-16-2-next-0-icon library="_internal" name="chevron-down" class="group-hover:text-primary-500 transition-colors ease-in-out duration-medium"></sd-5-16-2-next-0-icon></slot></span></${l}><div part="content" id="content" class="${e("overflow-hidden",!this.expandable&&"hidden")}"><slot part="content__slot" class="block" role="region" aria-labelledby="header"></slot></div></${r}>`}};t.styles=[...o.styles,d`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer theme,base,components,utilities;
|
|
2
|
-
:host{display:block}@media (min-width:640px){[part=summary-icon]{font-size:var(--sd-spacing-12,3rem)}}[part=icon]{font-size:var(--sd-spacing-12,3rem)}@media (min-width:640px){[part=icon]{font-size:var(--sd-spacing-24,6rem)}}`],i([p({type:Boolean,reflect:!0})],t.prototype,"expandable",2),t=i([m("sd-5-16-2-next-0-quickfact")],t);n("quickfact.show",{keyframes:[{height:"0"},{height:"auto"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});n("quickfact.hide",{keyframes:[{height:"auto"},{height:"0"}],options:{duration:"var(--sd-duration-medium, 300ms)",easing:"ease-in-out"}});export{t as a};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{a as P}from"./chunk.N3WG3NAL.js";import{a as H}from"./chunk.X2GM34WQ.js";import{a as L,d as R,e as K,f as w}from"./chunk.W7A3TU2Z.js";import{c as A}from"./chunk.3L472FD4.js";import{b as z}from"./chunk.JS2HQ2N4.js";import{a as F}from"./chunk.CGQ2BPPZ.js";import{a as M}from"./chunk.PV6UYBMY.js";import{a as E,c as C}from"./chunk.B2NUKX6G.js";import{a as x}from"./chunk.KLRPP4NQ.js";import{a as $}from"./chunk.MP6XEXRW.js";import{a as d}from"./chunk.YEDQWNIV.js";import{a as V}from"./chunk.7BPPDSHY.js";import{a as g}from"./chunk.NYKJXI3Q.js";import{a as k,b as r,c as u,d as c,h as T}from"./chunk.45AHR6PI.js";import{b as D,e as p}from"./chunk.763RLJEK.js";import{b as S,e as I}from"./chunk.W4QBFD6E.js";import{e as l}from"./chunk.6EV4YU6C.js";var s=class extends T{constructor(){super(...arguments);this.formControlController=new z(this,{assumeInteractionOn:["sd-blur","sd-5-16-2-next-0-input"]});this.hasSlotController=new F(this,"help-text","label");this.localize=new V(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.type="text";this.currentPlacement=this.placement;this.getOption=H;this.multiple=!1;this.useTags=!0;this.maxOptionsVisible=3;this.styleOnValid=!1;this.filter=(t,e)=>{let i=w(t.value),a=w(t.getTextLabel()),n=w(e);return i.includes(n)||a.includes(n)};this.getTag=t=>p`<sd-5-16-2-next-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
2
|
-
base:tag__base,
|
|
3
|
-
content:tag__content,
|
|
4
|
-
removable-indicator:tag__removable-indicator,
|
|
5
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${e=>this.handleTagKeyDown(e,t)}" @sd-remove="${e=>this.handleTagRemove(e,t)}">${t.getTextLabel()}</sd-5-16-2-next-0-tag>`;this.handleDocumentFocusIn=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()};this.handleDocumentKeyDown=t=>{let i=t.composedPath().some(o=>o instanceof HTMLButtonElement&&o.classList.contains("combobox-button"));if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}if(!(i||t.target.closest(".combobox__clear")!==null)){if(t.key==="Escape"&&(this.open?(t.preventDefault(),t.stopPropagation(),this.hide(),this.displayInput.focus({preventScroll:!0})):this.displayInputValue=""),t.key==="Backspace"&&this.multiple&&this.displayInput.value===""){this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0}));return}if(t.key==="Enter"){let o=this.getCurrentOption(),f=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;if(!this.open&&!f){setTimeout(()=>{t.defaultPrevented||this.formControlController.submit()});return}if(!this.open||o!=null&&o.disabled)return;if(o&&!o.disabled){let h=this.value;this.multiple?(this.toggleOptionSelection(o),this.lastOption=o,this.setOrderedSelectedOptions(o),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(o),this.setSelectedOptions(o)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==h&&(this.emit("sd-input"),this.emit("sd-change"))})}this.displayInput.focus({preventScroll:!0}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0}));return}["ArrowUp","ArrowDown"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),this.open||this.show(),this.selectNextOption(t.key==="ArrowDown")),["Home","End"].includes(t.key)&&(t.preventDefault(),t.stopPropagation(),t.key==="Home"?this.displayInput.setSelectionRange(0,0):t.key==="End"&&this.displayInput.setSelectionRange(this.displayInput.value.length,this.displayInput.value.length))}};this.handleDocumentMouseDown=t=>{let e=t.composedPath();this&&!e.includes(this)&&this.hide()}}connectedCallback(){super.connectedCallback(),this.open=!1}firstUpdated(){if(!this.multiple){let t=this.findOptionByValue(this.getSlottedOptions(),this.value);this.selectedTextLabel=(t==null?void 0:t.getTextLabel())||""}this.formControlController.updateValidity()}get validity(){return this.valueInput.validity}get validationMessage(){return this.valueInput.validationMessage}get options(){let t=e=>{let i=this.displayInput.value,a=this.getOption(e,i);return e.tabIndex=0,p`${typeof a=="string"?$(a):a}`};return this.filteredOptions.map(e=>e.tagName.toLowerCase()==="sd-5-16-2-next-0-optgroup"?(Array.from(e.children).forEach(i=>{i.tagName.toLowerCase()==="sd-5-16-2-next-0-option"&&t(i)}),e):t(e))}get tags(){return this.selectedOptions.length<=this.maxOptionsVisible?this.selectedOptions.map((t,e)=>{if(e<this.maxOptionsVisible||this.maxOptionsVisible<=0){let i=this.getTag(t,e);return p`<div @sd-remove="${a=>this.handleTagRemove(a,t)}">${typeof i=="string"?$(i):i}</div>`}return[p``]}):[p`<sd-5-16-2-next-0-tag ?disabled="${this.disabled}" part="tag" exportparts="
|
|
6
|
-
base:tag__base,
|
|
7
|
-
content:tag__content,
|
|
8
|
-
removable-indicator:tag__removable-indicator,
|
|
9
|
-
" size="${this.size==="sm"?"sm":"lg"}" removable @keydown="${t=>this.handleTagMaxOptionsKeyDown(t)}" @sd-remove="${t=>this.handleTagRemove(t)}">${this.selectedOptions.length} ${this.localize.term("tagsSelected")}</sd-5-16-2-next-0-tag>`]}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().addEventListener("focusin",this.handleDocumentFocusIn)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown),this.getRootNode()!==document&&this.getRootNode().removeEventListener("focusin",this.handleDocumentFocusIn)}handleFocus(){this.hasFocus=!0,this.emit("sd-focus")}handleBlur(){this.hasFocus=!1,this.emit("sd-blur")}handleTagKeyDown(t,e){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),e),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleTagMaxOptionsKeyDown(t){(t.key==="Backspace"||t.key==="Enter"||t.key===" ")&&this.multiple&&(t.preventDefault(),t.stopPropagation(),this.handleTagRemove(new CustomEvent("sd-remove"),this.selectedOptions[this.selectedOptions.length-1]),this.updateComplete.then(()=>this.displayInput.focus({preventScroll:!0})))}handleLabelClick(){this.visuallyDisabled||this.displayInput.focus()}handleTagRemove(t,e){t.stopPropagation(),e||this.clearCombobox(),e&&!this.disabled&&(this.toggleOptionSelection(e,!1),this.setOrderedSelectedOptions(e),this.deletedTagLabel="",this.deletedTagLabel=this.localize.term("removed",e.textContent),this.updateComplete.then(()=>{this.selectionChanged(),this.emit("sd-input"),this.emit("sd-change")}))}handleComboboxMouseDown(t){if(this.visuallyDisabled){t.preventDefault(),t.stopPropagation();return}let i=t.composedPath().some(n=>n instanceof HTMLSlotElement&&n.name==="removable-indicator");if(this.disabled||i)return;(this.open?this.hide():this.show()).then(()=>{setTimeout(()=>this.displayInput.focus({preventScroll:!0}))})}handleComboboxKeyDown(t){t.key!=="Tab"&&this.handleDocumentKeyDown(t)}handleClearClick(t){t.stopPropagation(),this.clearCombobox()}handleNoResultsClick(t){t.preventDefault(),this.hide()}clearCombobox(){this.value!==""&&(this.value="",this.displayInputValue="",this.selectedTextLabel="",this.lastOption=void 0,this.selectedOptions=[],this.getSlottedOptions().forEach(t=>{t.selected=!1}),this.displayInput.focus({preventScroll:!0}),this.updateComplete.then(()=>{this.emit("sd-clear"),this.emit("sd-input"),this.emit("sd-change")}))}preventLoosingFocus(t){t.stopPropagation(),t.preventDefault()}handleOptionClick(t){let i=t.target.closest("sd-5-16-2-next-0-option"),a=this.value;i&&!i.disabled&&(this.multiple?(this.toggleOptionSelection(i),this.lastOption=i,this.setOrderedSelectedOptions(i),this.updateComplete.then(()=>{this.selectionChanged()})):(this.setOrderedSelectedOptions(i),this.setSelectedOptions(i)),this.updateComplete.then(()=>{this.displayInput.focus({preventScroll:!0}),this.value!==a&&(this.emit("sd-input"),this.emit("sd-change"))}),this.multiple||(this.hide(),this.displayInput.focus({preventScroll:!0})))}selectNextOption(t){let e=this.getAllFilteredOptions();if(e.length===0)return;let i=this.getCurrentOption(),a=e.indexOf(i),n=Math.max(0,a);if(t){let o=a+1;n=o>e.length-1?0:o}else{let o=a-1;n=o<0?e.length-1:o}this.setCurrentOption(e[n],new KeyboardEvent("keydown")),A(this.getCurrentOption(),this.listbox,"vertical","auto")}getAllFilteredOptions(){return[...this.filteredWrapper.querySelectorAll("sd-5-16-2-next-0-option")]}getCurrentOption(){return this.getAllFilteredOptions().find(t=>t.current)}setCurrentOption(t,e){let i=this.getAllFilteredOptions();this.displayInput.removeAttribute("aria-activedescendant"),i.forEach(a=>{a.current=!1,a.setAttribute("aria-selected","false"),a.isKeyboardFocus=!1}),t&&(t.current=!0,t.setAttribute("aria-selected","true"),this.displayInput.setAttribute("aria-activedescendant",t.id)),t&&(e==null?void 0:e.type)==="keydown"&&(t.isKeyboardFocus=!0)}toggleOptionSelection(t,e){let a=this.getSlottedOptions().find(n=>n.value&&t.value?n.value===t.value:n.getTextLabel()===t.getTextLabel());a&&(a.selected=e!=null?e:!a.selected)}findOptionByValue(t,e){if(e)return Array.isArray(e)?t.find(i=>e.includes(i.value)):t.find(i=>i.value===e)}selectedOptionsAndValueSynced(){var t;return!this.value&&this.selectedOptions.length===0?!0:Array.isArray(this.value)?this.value.length===this.selectedOptions.length:this.value===((t=this.selectedOptions[0])==null?void 0:t.value)}isOptionSelected(t){return t.value?this.value.includes(t.value):this.value.includes(t.getTextLabel())}syncSelectedOptionsAndValue(){return this.selectedOptionsAndValueSynced()?void 0:(this.getSlottedOptions().forEach(e=>{e.selected=!1}),this.selectedOptions=this.getSlottedOptions().filter(e=>this.isOptionSelected(e)),this.selectedOptions.forEach(e=>{e&&(e.selected=!0)}),Promise.resolve())}compareOptions(t,e){return t.value&&e.value?t.value===e.value:t.getTextLabel()===e.getTextLabel()}setSelectedOptions(t){this.getSlottedOptions().forEach(i=>{i.selected=this.compareOptions(i,t)}),this.selectionChanged()}setOrderedSelectedOptions(t){let e=this.getSlottedOptions().find(i=>this.compareOptions(i,t));this.multiple?this.selectedOptions.length>0&&e&&this.selectedOptions.find(i=>this.compareOptions(i,e))?this.selectedOptions=this.selectedOptions.filter(i=>!this.compareOptions(i,e)):this.selectedOptions=[...this.selectedOptions,e]:this.selectedOptions=[e]}selectionChanged(){var e,i,a;let t=this.selectedOptions.some(n=>n?this.isOptionSelected(n):!1);this.multiple?(!t&&this.selectedOptions.length>0?this.value=[...this.value,...this.selectedOptions.map(n=>n.value||n.getTextLabel())]:this.value=this.selectedOptions.map(n=>(n==null?void 0:n.value)||(n==null?void 0:n.getTextLabel())||""),this.displayInputValue=""):(this.value=((e=this.selectedOptions[0])==null?void 0:e.value)||((i=this.selectedOptions[0])==null?void 0:i.getTextLabel())||"",this.selectedTextLabel=((a=this.selectedOptions[0])==null?void 0:a.getTextLabel())||"",this.displayInputValue=""),this.updateComplete.then(()=>{this.formControlController.updateValidity()})}createComboboxOptionsFromQuery(t){let e=[];this.filteredOptions=this.getSlottedOptions().filter(i=>this.filter(i,t)||t==="").map(i=>{var y,b,m;let a=i.cloneNode(!0);if(a.current=a.value===((y=this.lastOption)==null?void 0:y.value),a.selected=i.selected,a.checkbox=i.checkbox,a.size=i.size,!(((b=i.parentElement)==null?void 0:b.tagName.toLowerCase())==="sd-5-16-2-next-0-optgroup"))return a;let o=i.parentElement,f=(m=o.querySelector('[slot="label"]'))==null?void 0:m.cloneNode(!0),h=e.find(O=>O.id===o.id);if(h){h==null||h.appendChild(a),f&&(h==null||h.appendChild(f));return}let v=o.cloneNode();return v.appendChild(a),f&&v.appendChild(f),e.push(v),v}).filter(Boolean)}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t),this.invalidMessage.textContent=t.target.validationMessage}handleCurrentPlacement(t){let e=t.detail;e&&(this.currentPlacement=e)}handleFilterChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}handleUseTagsChange(){let t=this.getAllFilteredOptions();customElements.get("sd-5-16-2-next-0-option")&&t.forEach(e=>{e.checkbox=this.multiple})}applySizeToOptions(){this.getSlottedOptions().forEach(t=>{t.size=this.size})}handleDisabledChange(){this.formControlController.setValidity(this.disabled),(this.disabled||this.visuallyDisabled)&&(this.open=!1,this.handleOpenChange())}handleValueChange(){this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInput.value):this.createComboboxOptionsFromQuery("")}handleDisplayInputValueChange(){this.createComboboxOptionsFromQuery(this.displayInputValue)}async handleOpenChange(){if(this.open&&(!this.disabled||!this.visuallyDisabled)){this.emit("sd-show"),this.addOpenListeners(),await I(this),this.listbox.hidden=!1,this.popup.active=!0;let{keyframes:i,options:a}=C(this,"combobox.show",{dir:this.localize.dir()});await S(this.popup.popup,i,a),this.emit("sd-after-show"),this.filteredOptions.length===0&&this.emit("sd-error");return}this.setCurrentOption(null),this.displayInput.removeAttribute("aria-activedescendant"),this.emit("sd-hide"),this.removeOpenListeners(),await I(this);let{keyframes:t,options:e}=C(this,"combobox.hide",{dir:this.localize.dir()});await S(this.popup.popup,t,e),this.listbox.hidden=!0,this.popup.active=!1,this.emit("sd-after-hide")}async show(){if(this.open||this.disabled||this.visuallyDisabled){this.open=!1;return}return this.open=!0,Promise.race([x(this,"sd-after-show"),x(this,"sd-error")])}async hide(){if(!this.open||this.disabled){this.open=!1;return}return this.displayInputValue="",this.open=!1,x(this,"sd-after-hide")}checkValidity(){return this.valueInput.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.formControlController.fakeUserInteraction(),this.valueInput.reportValidity()}setCustomValidity(t){this.valueInput.setCustomValidity(t),this.formControlController.updateValidity()}focus(t){this.displayInput.focus(t)}blur(){this.displayInput.blur()}async handleInput(){let t=this.displayInput.value;this.displayInputValue=t,await this.updateComplete,this.open=this.filteredWrapper.children.length>0,this.formControlController.updateValidity(),this.emit("sd-input")}handleChange(){(!this.selectedOptions||!this.multiple)&&(this.selectedTextLabel=this.displayInput.value,this.updateComplete.then(()=>{this.formControlController.updateValidity()}),this.emit("sd-change"))}getSlottedOptions(){return R(L(this.defaultSlot)).flat()}getSlottedOptGroups(){return K(L(this.defaultSlot))}async handleDefaultSlotChange(){if(!customElements.get("sd-5-16-2-next-0-option")){customElements.whenDefined("sd-5-16-2-next-0-option").then(()=>this.handleDefaultSlotChange());return}let t=this.getSlottedOptions(),e=this.getSlottedOptGroups();this.applySizeToOptions();let i=this.findOptionByValue(t,this.value);this.selectedTextLabel=(i==null?void 0:i.getTextLabel())||"",t.forEach((a,n)=>{this.multiple&&(a.checkbox=!0),a.id=a.id||`sd-5-16-2-next-0-combobox-option-${n}`}),e.forEach((a,n)=>{a.id=a.id||`sd-5-16-2-next-0-combobox-optgroup-${n}`}),await this.syncSelectedOptionsAndValue(),this.multiple?this.createComboboxOptionsFromQuery(this.displayInputValue):this.createComboboxOptionsFromQuery("")}render(){let t={left:this.hasSlotController.test("left"),right:this.hasSlotController.test("right")},e=this.hasSlotController.test("label"),i=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,n=this.helpText?!0:!!i,o=this.clearable&&!this.disabled&&!this.visuallyDisabled,f=this.disabled?"disabled":this.visuallyDisabled&&!this.hasFocus?"visuallyDisabled":this.hasFocus&&this.showInvalidStyle?"activeInvalid":this.hasFocus&&this.styleOnValid&&this.showValidStyle?"activeValid":this.hasFocus||this.open?"active":this.showInvalidStyle?"invalid":this.styleOnValid&&this.showValidStyle?"valid":"default",h=this.disabled||this.visuallyDisabled?"cursor-not-allowed":"cursor-pointer",v=this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",y={sm:"ml-1",md:"ml-2",lg:"ml-2"}[this.size],b={sm:"mr-1",md:"mr-2",lg:"mr-2"}[this.size],m={sm:"text-base",md:"text-lg",lg:"text-xl"}[this.size];return p`<div part="form-control" class="${d("relative text-left",h,this.size==="sm"?"text-sm":"text-base",this.open&&"z-50")}"><label id="label" part="form-control-label" class="${a&&"inline-block mb-2"}" aria-hidden="${!a}" @click="${this.handleLabelClick}"><slot name="label">${this.label}</slot></label> <span aria-live="polite" class="sr-only">${this.deletedTagLabel}</span><div part="form-control-input" class="relative w-full bg-white text-black"><div part="border" class="${d("absolute top-0 w-full h-full pointer-events-none border rounded-default z-10 transition-[border] duration-medium ease-in-out",{disabled:"border-neutral-500",visuallyDisabled:"border-neutral-500",readonly:"form-control-color-border",activeInvalid:"border-error border-2",activeValid:"border-success border-2",active:"border-primary border-2",invalid:"border-error",valid:"border-success",default:"form-control-color-border"}[f],this.open&&(this.currentPlacement==="bottom"?"rounded-bl-none rounded-br-none":"rounded-tl-none rounded-tr-none"))}"></div><sd-5-16-2-next-0-popup @sd-current-placement="${this.handleCurrentPlacement}" class="${d("inline-flex relative w-full",this.currentPlacement==="bottom"?"origin-top":"origin-bottom")}" placement="${this.placement}" strategy="${this.hoist?"fixed":"absolute"}" flip shift sync="width" auto-size="vertical" auto-size-padding="10" exportparts="
|
|
10
|
-
popup:popup__content,
|
|
11
|
-
"><div part="combobox" class="${d("relative w-full px-4 flex flex-row items-center rounded-default transition-colors hover:duration-fast ease-in-out",this.visuallyDisabled||this.disabled?"hover:bg-transparent":"hover:bg-neutral-200",this.open&&"shadow transition-shadow duration-medium ease-in-out",{sm:"py-1 min-h-[32px]",md:"py-1 min-h-[40px]",lg:"py-2 min-h-[48px]"}[this.size])}" slot="anchor" @keydown="${this.handleComboboxKeyDown}" @mousedown="${this.handleComboboxMouseDown}">${t.left?p`<slot part="left" name="left" class="${d("inline-flex",b,v,m)}"></slot>`:""} ${this.multiple&&this.useTags&&this.tags.length>0?p`<div part="tags" class="${d("flex items-center gap-1",b)}">${this.tags}</div>`:null} <input id="display-input" name="${this.name}" form="${this.form}" part="display-input" class="${d("appearance-none outline-none bg-transparent flex-auto min-w-0",h,this.selectedTextLabel&&!this.multiple?"placeholder:text-black":"placeholder:text-neutral-700")}" type="text" placeholder="${this.selectedTextLabel&&!this.multiple?this.selectedTextLabel:this.placeholder||this.localize.term("comboboxDefaultPlaceholder")}" .disabled="${this.disabled}" .value="${this.displayInputValue}" autocomplete="off" spellcheck="false" autocapitalize="off" aria-controls="listbox" aria-expanded="${this.open}" aria-haspopup="listbox" aria-labelledby="label" aria-disabled="${this.disabled||this.visuallyDisabled}" aria-describedby="help-text invalid-message" aria-invalid="${this.showInvalidStyle}" role="combobox" tabindex="0" @focus="${this.handleFocus}" @blur="${this.handleBlur}" aria-autocomplete="list" aria-owns="listbox" @input="${this.handleInput}" @change="${this.handleChange}"><div aria-live="polite" id="control-value" class="absolute top-0 left-0 opacity-0 -z-10">${this.selectedOptions.map(O=>O==null?void 0:O.getTextLabel()).join(", ")}</div><input class="${d("value-input absolute top-0 left-0 w-full h-full opacity-0 -z-10",h)}" type="text" ?disabled="${this.disabled}" ?required="${this.required}" .value="${Array.isArray(this.value)?this.value.join(", "):this.value}" tabindex="-1" aria-controls="control-value" aria-hidden="true" @focus="${()=>this.focus()}" @invalid="${this.handleInvalid}"> ${o?p`<button part="clear-button" class="${d("flex justify-center",y,this.value.length>0?"visible":"invisible")}" type="button" aria-label="${this.localize.term("clearEntry")}" @mousedown="${this.preventLoosingFocus}" @click="${this.handleClearClick}" tabindex="-1"><slot name="clear-icon"><sd-5-16-2-next-0-icon class="${d("text-neutral-700",m)}" name="closing-round" library="_internal"></sd-5-16-2-next-0-icon></slot></button>`:""} ${this.showInvalidStyle?p`<sd-5-16-2-next-0-icon part="invalid-icon" class="${d(y,m,"text-error")}" library="_internal" name="risk"></sd-5-16-2-next-0-icon>`:""} ${this.styleOnValid&&this.showValidStyle?p`<sd-5-16-2-next-0-icon part="valid-icon" class="${d("flex-shrink-0 text-success",y,m)}" library="_internal" name="confirm-circle"></sd-5-16-2-next-0-icon>`:""}<slot name="right" part="right" class="${d("inline-flex ml-2 leading-[0]",this.disabled||this.visuallyDisabled?"text-neutral-500":"text-primary",m)}">${this.type!=="search"?p`<sd-5-16-2-next-0-icon class="${d("transition-transform duration-medium ease-in-out",this.open?"rotate-180":"rotate-0")}" name="chevron-down" part="chevron" library="_internal" color="currentColor" label="${this.localize.term("open")}"></sd-5-16-2-next-0-icon>`:""}</slot>${this.type==="search"?p`<button class="${d("flex items-center sd-interactive",y)}" type="button"><sd-5-16-2-next-0-icon class="${d(v,m)}" library="_internal" name="magnifying-glass" label="${this.localize.term("search")}"></sd-5-16-2-next-0-icon></button>`:p`<button class="sd-interactive combobox-button absolute top-2" @keydown="${this.handleComboboxMouseDown}" type="button"><span class="sr-only">${this.localize.term("open")}</span></button>`}</div><div id="listbox" role="${M(this.multiple?void 0:"listbox")}" aria-expanded="${this.open}" aria-multiselectable="${this.multiple}" aria-labelledby="label" part="listbox" class="${d("bg-white px-2 py-3 relative border-primary overflow-y-auto",this.open&&"shadow transition-shadow duration-medium ease-in-out",this.currentPlacement==="bottom"?"border-r-2 border-b-2 border-l-2 rounded-br-default rounded-bl-default":"border-r-2 border-t-2 border-l-2 rounded-tr-default rounded-tl-default")}" tabindex="-1" @mousedown="${this.preventLoosingFocus}" @mouseup="${this.handleOptionClick}"><div part="filtered-listbox">${this.filteredOptions.length===0?p`<span id="noResults" class="px-4 flex items-center w-full transition-all text-left text-base relative text-black py-3" aria-hidden="true" @click="${this.handleNoResultsClick}">${this.localize.term("noResults")}</span>`:this.options}</div><slot id="defaultOptionsSlot" class="hidden" @slotchange="${this.handleDefaultSlotChange}"></slot></div></sd-5-16-2-next-0-popup></div><div part="form-control-help-text" id="help-text" class="text-sm text-neutral-700 mt-1" aria-hidden="${!n}"><slot name="help-text">${this.helpText}</slot></div></div>${this.formControlController.renderInvalidMessage()}`}};s.styles=[...T.styles,D`/*! tailwindcss v4.1.14 | MIT License | https://tailwindcss.com */@layer properties;@layer theme,base,components,utilities;
|
|
12
|
-
:host{position:relative;display:block;width:100%}:host([required]) #label::after{content:' *'}:host([disabled]) ::-moz-placeholder,:host([visually-disabled]) ::-moz-placeholder{color:var(--sd-color-text-neutral-500)}:host([disabled]) ::placeholder,:host([visually-disabled]) ::placeholder{color:var(--sd-color-text-neutral-500)}:host([visually-disabled]) input{caret-color:transparent}:host([size=sm]) .combobox-button{right:var(--sd-spacing-4);height:var(--sd-spacing-4);width:var(--sd-spacing-4)}:host([size=md]) .combobox-button{right:.85rem;height:var(--sd-spacing-6);width:var(--sd-spacing-6)}:host([size=lg]) .combobox-button{right:var(--sd-spacing-3);height:var(--sd-spacing-8);width:var(--sd-spacing-8)}[part=listbox]{max-height:var(--auto-size-available-height,auto)}sd-5-16-2-next-0-popup::part(popup){z-index:var(--sd-z-index-dropdown,900)}sd-5-16-2-next-0-tag::part(base){border-radius:var(--sd-radius);padding-inline:var(--sd-spacing-1)}sd-5-16-2-next-0-tag::part(content){display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:var(--tag-max-width,15ch)}sd-5-16-2-next-0-tag[size=lg]::part(base){padding-inline:var(--sd-spacing-2)}sd-5-16-2-next-0-tag[disabled=false]::part(base):hover{background-color:var(--sd-color-background-primary-100)}[part=filtered-listbox] sd-5-16-2-next-0-optgroup:first-of-type{--display-divider:none}mark{background-color:transparent;--tw-font-weight:var(--sd-font-weight-bold);font-weight:var(--sd-font-weight-bold);color:inherit}@property --tw-font-weight{syntax:"*";inherits:false}`],l([c("sd-5-16-2-next-0-popup")],s.prototype,"popup",2),l([c('[part="combobox"]')],s.prototype,"combobox",2),l([c('[part="display-input"]')],s.prototype,"displayInput",2),l([c(".value-input")],s.prototype,"valueInput",2),l([c('[part="listbox"]')],s.prototype,"listbox",2),l([c('[part="tags"]')],s.prototype,"tagWrapper",2),l([c('[part="filtered-listbox"]')],s.prototype,"filteredWrapper",2),l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c("#invalid-message")],s.prototype,"invalidMessage",2),l([u()],s.prototype,"hasFocus",2),l([u()],s.prototype,"displayInputValue",2),l([u()],s.prototype,"selectedTextLabel",2),l([u()],s.prototype,"selectedOptions",2),l([u()],s.prototype,"filteredOptions",2),l([u()],s.prototype,"allOptions",2),l([u()],s.prototype,"lastOption",2),l([u()],s.prototype,"showValidStyle",2),l([u()],s.prototype,"showInvalidStyle",2),l([u()],s.prototype,"deletedTagLabel",2),l([r({reflect:!0})],s.prototype,"name",2),l([r({converter:{fromAttribute:t=>t.split(" "),toAttribute:t=>t.join(" ")}})],s.prototype,"value",2),l([P()],s.prototype,"defaultValue",2),l([r({type:String,reflect:!0})],s.prototype,"size",2),l([r({type:String,reflect:!0})],s.prototype,"placeholder",2),l([r({type:String,attribute:"max-options-tag-label",reflect:!0})],s.prototype,"maxOptionsTagLabel",2),l([r({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([r({type:Boolean,reflect:!0,attribute:"visually-disabled"})],s.prototype,"visuallyDisabled",2),l([r({type:Boolean,reflect:!0})],s.prototype,"clearable",2),l([r({type:Boolean,reflect:!0})],s.prototype,"open",2),l([r({type:Boolean,reflect:!0})],s.prototype,"hoist",2),l([r({type:String,reflect:!0})],s.prototype,"label",2),l([r({type:String,reflect:!0})],s.prototype,"placement",2),l([r({type:String,attribute:"help-text",reflect:!0})],s.prototype,"helpText",2),l([r({type:String,reflect:!0})],s.prototype,"form",2),l([r({type:Boolean,reflect:!0})],s.prototype,"required",2),l([r({type:String,reflect:!0})],s.prototype,"type",2),l([u()],s.prototype,"currentPlacement",2),l([r()],s.prototype,"getOption",2),l([r({type:Boolean,reflect:!0})],s.prototype,"multiple",2),l([r({type:Boolean,reflect:!0})],s.prototype,"useTags",2),l([r({type:Number,reflect:!0,attribute:"max-options-visible"})],s.prototype,"maxOptionsVisible",2),l([r({type:Boolean,reflect:!0,attribute:"style-on-valid"})],s.prototype,"styleOnValid",2),l([r()],s.prototype,"filter",2),l([r()],s.prototype,"getTag",2),l([g("filter",{waitUntilFirstUpdate:!0})],s.prototype,"handleFilterChange",1),l([g("useTags",{waitUntilFirstUpdate:!0})],s.prototype,"handleUseTagsChange",1),l([g("size",{waitUntilFirstUpdate:!0})],s.prototype,"applySizeToOptions",1),l([g(["disabled","visually-disabled"],{waitUntilFirstUpdate:!0})],s.prototype,"handleDisabledChange",1),l([g("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([g("displayInputValue",{waitUntilFirstUpdate:!0})],s.prototype,"handleDisplayInputValueChange",1),l([g("open",{waitUntilFirstUpdate:!0})],s.prototype,"handleOpenChange",1),s=l([k("sd-5-16-2-next-0-combobox")],s);E("combobox.show",{keyframes:[{opacity:0},{opacity:1}],options:{duration:"var(--sd-duration-medium, 300)",easing:"ease-in-out"}});E("combobox.hide",{keyframes:[{opacity:1},{opacity:0}],options:{duration:"var(--sd-duration-fast, 150)",easing:"ease-in-out"}});export{s as a};
|