@ds-autonomie/web-components 2.15.0 → 2.16.0
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/CHANGELOG.md +13 -0
- package/cdn/chunks/{chunk.XPETABJ4.js → chunk.2GNTWYWW.js} +2 -2
- package/cdn/chunks/chunk.2HT24T5L.js +43 -0
- package/cdn/chunks/chunk.2MKXX3AZ.js +41 -0
- package/cdn/chunks/{chunk.5WVQIAAW.js → chunk.2QQVNGQU.js} +1 -1
- package/cdn/chunks/{chunk.GHQSD5YO.js → chunk.2UUQJVQI.js} +1 -1
- package/cdn/chunks/chunk.4GOIYNKA.js +121 -0
- package/cdn/chunks/chunk.4WXQIRY5.js +173 -0
- package/cdn/chunks/{chunk.3CCCUH4R.js → chunk.5HX5C6UJ.js} +1 -1
- package/cdn/chunks/{chunk.D7CLOP7O.js → chunk.5JVG47EU.js} +10 -10
- package/cdn/chunks/chunk.5MEOAS43.js +66 -0
- package/cdn/chunks/{chunk.666CJOK2.js → chunk.63QVJAPP.js} +1 -1
- package/cdn/chunks/{chunk.BOVKVXAW.js → chunk.63UE4VAO.js} +3 -3
- package/cdn/chunks/chunk.6GEQ7HC5.js +35 -0
- package/cdn/chunks/chunk.6JIYQYLW.js +1 -0
- package/cdn/chunks/chunk.6MH6HU7Z.js +27 -0
- package/cdn/chunks/{chunk.65I7LBQ4.js → chunk.6P4B7FUU.js} +9 -9
- package/cdn/chunks/chunk.6SOEHTQ6.js +38 -0
- package/cdn/chunks/chunk.6VDERLDX.js +14 -0
- package/cdn/chunks/{chunk.TWHU4SRL.js → chunk.76VB4TUF.js} +1 -1
- package/cdn/chunks/chunk.7IFO43EM.js +7 -0
- package/cdn/chunks/{chunk.YNAR73DY.js → chunk.A5JIGFHI.js} +1 -1
- package/cdn/chunks/{chunk.YL64DA2G.js → chunk.A7X22WNS.js} +1 -1
- package/cdn/chunks/chunk.AAEIE3M2.js +19 -0
- package/cdn/chunks/chunk.AEBG7WOW.js +20 -0
- package/cdn/chunks/chunk.AGZH4MVB.js +55 -0
- package/cdn/chunks/{chunk.DJQPDKQQ.js → chunk.AHAZYWZF.js} +1 -1
- package/cdn/chunks/chunk.ARJARKS7.js +123 -0
- package/cdn/chunks/chunk.ARZOIBPV.js +130 -0
- package/cdn/chunks/{chunk.M5XSTHLZ.js → chunk.AW3ER72P.js} +5 -5
- package/cdn/chunks/{chunk.QEF2FJQH.js → chunk.BS2OSSAE.js} +1 -1
- package/cdn/chunks/chunk.BXGC6IHW.js +35 -0
- package/cdn/chunks/{chunk.X4ZMBBF2.js → chunk.BXV6H4J7.js} +1 -1
- package/cdn/chunks/{chunk.DRIKSOP6.js → chunk.BZAPXRW2.js} +1 -1
- package/cdn/chunks/chunk.C2H2IJ5N.js +19 -0
- package/cdn/chunks/{chunk.OX2DFLBF.js → chunk.C7LXZROF.js} +2 -2
- package/cdn/chunks/chunk.CIFSYLTI.js +8 -0
- package/cdn/chunks/{chunk.FPWX73NT.js → chunk.CLVTQ7Z4.js} +3 -3
- package/cdn/chunks/chunk.CM6ZWC5E.js +115 -0
- package/cdn/chunks/chunk.CUB2L2VC.js +15 -0
- package/cdn/chunks/{chunk.FQD6DREW.js → chunk.CUYQOZPJ.js} +1 -1
- package/cdn/chunks/{chunk.FMCWIRIG.js → chunk.D3OBSGJL.js} +1 -1
- package/cdn/chunks/{chunk.CHNH72UY.js → chunk.DCJBLLVF.js} +2 -2
- package/cdn/chunks/{chunk.QAARCUGO.js → chunk.DJRRY37G.js} +3 -3
- package/cdn/chunks/{chunk.L3D5HYKQ.js → chunk.E2GQJ6JW.js} +1 -1
- package/cdn/chunks/{chunk.QAGAG3KB.js → chunk.EG6MMAM3.js} +1 -1
- package/cdn/chunks/{chunk.MMQPOGIJ.js → chunk.FHOLYDJH.js} +1 -1
- package/cdn/chunks/{chunk.N6IYJMR7.js → chunk.FNWVRCNG.js} +1 -1
- package/cdn/chunks/{chunk.DUYCHM7G.js → chunk.FX5UP23Z.js} +1 -1
- package/cdn/chunks/chunk.GFEAALOQ.js +72 -0
- package/cdn/chunks/chunk.GGWPFQAG.js +26 -0
- package/cdn/chunks/{chunk.U3MN56U3.js → chunk.GLPWHSEE.js} +1 -1
- package/cdn/chunks/{chunk.QQLNTNXD.js → chunk.GODU5S6L.js} +1 -1
- package/cdn/chunks/{chunk.OHVT6KT2.js → chunk.H46NZIZH.js} +2 -2
- package/cdn/chunks/{chunk.R32NZV24.js → chunk.HFASPBS3.js} +16 -6
- package/cdn/chunks/chunk.HS7JWPZY.js +68 -0
- package/cdn/chunks/chunk.HZ5SMNUA.js +51 -0
- package/cdn/chunks/chunk.I5O5OEF6.js +13 -0
- package/cdn/chunks/{chunk.ABEBXNWB.js → chunk.IE7LFMND.js} +1 -1
- package/cdn/chunks/{chunk.Q7Q7EOMW.js → chunk.IGP2B2C4.js} +7 -0
- package/cdn/chunks/chunk.IHSVGSNA.js +38 -0
- package/cdn/chunks/chunk.IHX7OGQS.js +26 -0
- package/cdn/chunks/{chunk.3ZDZD4UZ.js → chunk.IMXEAMW3.js} +1 -1
- package/cdn/chunks/{chunk.FGBFP2DK.js → chunk.IOIBAXOU.js} +1 -1
- package/cdn/chunks/{chunk.2Q5WFUBC.js → chunk.IUEUKFXV.js} +1 -1
- package/cdn/chunks/chunk.J65PQE2V.js +50 -0
- package/cdn/chunks/chunk.JFRJEP7B.js +20 -0
- package/cdn/chunks/chunk.JIVPHN7K.js +73 -0
- package/cdn/chunks/{chunk.JESEUS7N.js → chunk.JNOQLPCE.js} +1 -1
- package/cdn/chunks/{chunk.5PAMB4OC.js → chunk.JZMIS7DF.js} +1 -1
- package/cdn/chunks/{chunk.PBH223D4.js → chunk.K6YUVAOE.js} +1 -1
- package/cdn/chunks/chunk.KA7GX6E6.js +68 -0
- package/cdn/chunks/chunk.KBZ32KWP.js +25 -0
- package/cdn/chunks/{chunk.ODSVS3RK.js → chunk.KD3BHBHK.js} +1 -1
- package/cdn/chunks/chunk.KP77TFIK.js +36 -0
- package/cdn/chunks/{chunk.ZJHH7J64.js → chunk.LBRHB47I.js} +1 -1
- package/cdn/chunks/chunk.LLP7EPAY.js +65 -0
- package/cdn/chunks/{chunk.OZSD377J.js → chunk.M5ND6PIZ.js} +1 -1
- package/cdn/chunks/{chunk.ZHE5HDNL.js → chunk.MG447SMO.js} +1 -1
- package/cdn/chunks/chunk.MMVWNVZX.js +1 -0
- package/cdn/chunks/{chunk.NSHYTCO4.js → chunk.MQFH5TMZ.js} +1 -1
- package/cdn/chunks/chunk.MWJXUXK2.js +26 -0
- package/cdn/chunks/{chunk.LZLMA4XO.js → chunk.NAQDAODO.js} +1 -1
- package/cdn/chunks/chunk.NJBAMERR.js +10 -0
- package/cdn/chunks/{chunk.UIFWKAGV.js → chunk.NJOCDP2A.js} +1 -1
- package/cdn/chunks/{chunk.EJVWPDLE.js → chunk.NLFHV3ZO.js} +1 -1
- package/cdn/chunks/{chunk.6PG2RNLF.js → chunk.NTUGYGGF.js} +1 -1
- package/cdn/chunks/chunk.NUGD6UUY.js +20 -0
- package/cdn/chunks/{chunk.GF6YLXJP.js → chunk.O6PQS44E.js} +1 -1
- package/cdn/chunks/{chunk.WY4VZXA6.js → chunk.ODH67RGS.js} +1 -1
- package/cdn/chunks/{chunk.NTJ2Q7C7.js → chunk.ODWKPVI7.js} +1 -1
- package/cdn/chunks/chunk.OFTBMGFJ.js +56 -0
- package/cdn/chunks/{chunk.NSZPQ5ZJ.js → chunk.OJ4FBUS6.js} +1 -1
- package/cdn/chunks/{chunk.4E24Z2WP.js → chunk.ORT3DEGC.js} +1 -1
- package/cdn/chunks/chunk.OU7R32QE.js +51 -0
- package/cdn/chunks/chunk.OUYBHFGA.js +41 -0
- package/cdn/chunks/{chunk.KLFLHNDX.js → chunk.OV7NPMB7.js} +1 -1
- package/cdn/chunks/chunk.P2JWRNFC.js +53 -0
- package/cdn/chunks/chunk.P6BU4NK5.js +62 -0
- package/cdn/chunks/{chunk.YLQZAJP3.js → chunk.PICWAFB5.js} +1 -1
- package/cdn/chunks/{chunk.J3YJSL5B.js → chunk.PIG773U2.js} +1 -1
- package/cdn/chunks/{chunk.TQ3LRTTI.js → chunk.PS32MK6F.js} +6 -6
- package/cdn/chunks/{chunk.UJBDLF4Q.js → chunk.PSFO47C6.js} +1 -1
- package/cdn/chunks/{chunk.LIGGJXC2.js → chunk.PXRWDGEE.js} +6 -6
- package/cdn/chunks/{chunk.KDH2RAG7.js → chunk.PZ34V53E.js} +1 -1
- package/cdn/chunks/chunk.QE5LC4CR.js +44 -0
- package/cdn/chunks/chunk.QQLU3UB4.js +112 -0
- package/cdn/chunks/{chunk.R5KZP5VA.js → chunk.QXMNA43O.js} +2 -2
- package/cdn/chunks/{chunk.TX3ZXE3D.js → chunk.R4AIWMHW.js} +1 -1
- package/cdn/chunks/{chunk.SGR2HWTG.js → chunk.S67Z4LWB.js} +1 -1
- package/cdn/chunks/chunk.SCQFF6RL.js +42 -0
- package/cdn/chunks/{chunk.TUTBC6IK.js → chunk.SEHHEIJU.js} +122 -3
- package/cdn/chunks/chunk.SKA3D63Q.js +50 -0
- package/cdn/chunks/chunk.SSKKBMOK.js +25 -0
- package/cdn/chunks/{chunk.5VPTZHRV.js → chunk.SXMGNTD4.js} +1 -1
- package/cdn/chunks/chunk.TFJB3OT3.js +19 -0
- package/cdn/chunks/{chunk.PZEHCF7A.js → chunk.U2HDZAQO.js} +3 -3
- package/cdn/chunks/chunk.U57FV4DW.js +94 -0
- package/cdn/chunks/{chunk.JBN243CX.js → chunk.U5DYVPGP.js} +1 -1
- package/cdn/chunks/{chunk.EBJMEK7O.js → chunk.UCVFWCJ3.js} +1 -1
- package/cdn/chunks/chunk.UNNWNSLV.js +13 -0
- package/cdn/chunks/chunk.VBIYQ77B.js +45 -0
- package/cdn/chunks/chunk.VL5LPHV3.js +47 -0
- package/cdn/chunks/chunk.VMXJHVRU.js +1 -0
- package/cdn/chunks/chunk.VYPTKC72.js +31 -0
- package/cdn/chunks/{chunk.BF3YQOYM.js → chunk.VZW43GJJ.js} +2 -5
- package/cdn/chunks/{chunk.YT3TTAYO.js → chunk.W6JRTDUG.js} +1 -1
- package/cdn/chunks/{chunk.57GTEVYE.js → chunk.WBYL64GM.js} +1 -1
- package/cdn/chunks/{chunk.DNAYYYKK.js → chunk.WEWRFZAQ.js} +1 -1
- package/cdn/chunks/{chunk.62TMME56.js → chunk.WYKFMOCB.js} +2 -2
- package/cdn/chunks/{chunk.TBBDY4SH.js → chunk.X6RYYYER.js} +1 -1
- package/cdn/chunks/{chunk.Q6KTHJKH.js → chunk.XAIDESV3.js} +2 -2
- package/cdn/chunks/{chunk.23SH73TB.js → chunk.XGUKMUW4.js} +1 -1
- package/cdn/chunks/chunk.XWUH44W4.js +102 -0
- package/cdn/chunks/{chunk.JKTUEHFN.js → chunk.Y2FECEGA.js} +8 -8
- package/cdn/chunks/chunk.Y36RVC3B.js +60 -0
- package/cdn/chunks/chunk.YRFEXBVK.js +56 -0
- package/cdn/chunks/chunk.YUKNXF67.js +62 -0
- package/cdn/chunks/chunk.YY3VAR25.js +75 -0
- package/cdn/chunks/{chunk.3IM3457W.js → chunk.Z4D2D4BF.js} +1 -1
- package/cdn/chunks/{chunk.IIJKTI4Z.js → chunk.Z4V4DU2C.js} +23 -11
- package/cdn/chunks/chunk.ZBQJJV4G.js +73 -0
- package/cdn/chunks/chunk.ZCITPD2M.js +11 -0
- package/cdn/chunks/{chunk.VUP2ER2T.js → chunk.ZE7M7PYK.js} +1 -1
- package/cdn/components/accordion/accordion.d.ts +7 -2
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/alert/alert.d.ts +9 -1
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/alert/alert.styles.js +1 -1
- package/cdn/components/anchor-tag/anchor-tag.js +1 -1
- package/cdn/components/animation/animation.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/avatar-group/avatar-group.d.ts +0 -1
- package/cdn/components/avatar-group/avatar-group.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/badge/badge.styles.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.d.ts +6 -2
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/callout/callout.d.ts +0 -1
- package/cdn/components/callout/callout.js +1 -1
- package/cdn/components/card/card.js +1 -1
- package/cdn/components/card-content/card-content.d.ts +4 -1
- package/cdn/components/card-content/card-content.js +1 -1
- package/cdn/components/card-nav/card-nav.js +1 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/cdn/components/card-nav-accordion/card-nav-accordion.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- package/cdn/components/checkbox/checkbox.d.ts +6 -3
- package/cdn/components/checkbox/checkbox.js +1 -1
- package/cdn/components/checkbox-button/checkbox-button.js +1 -1
- package/cdn/components/checkbox-card/checkbox-card.js +1 -1
- package/cdn/components/checkbox-group/checkbox-group.d.ts +6 -2
- package/cdn/components/checkbox-group/checkbox-group.js +1 -1
- package/cdn/components/combobox/combobox.d.ts +15 -6
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/copy-button/copy-button.d.ts +6 -4
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/dialog/dialog.d.ts +4 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/divider/divider.js +1 -1
- package/cdn/components/download-card/download-card.d.ts +4 -1
- package/cdn/components/download-card/download-card.js +1 -1
- package/cdn/components/download-link/download-link.d.ts +4 -1
- package/cdn/components/download-link/download-link.js +1 -1
- package/cdn/components/drawer/drawer.d.ts +4 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.d.ts +4 -2
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/error-text/error-text.d.ts +4 -1
- package/cdn/components/error-text/error-text.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +22 -3
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/file-upload/file-upload.styles.js +1 -1
- package/cdn/components/file-upload/file-upload.utils.d.ts +1 -0
- package/cdn/components/file-upload/file-upload.utils.js +1 -0
- package/cdn/components/file-upload-item/file-upload-item.js +1 -1
- package/cdn/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/cdn/components/filter-button/filter-button.d.ts +4 -3
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.d.ts +11 -5
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.d.ts +15 -5
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.d.ts +14 -6
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +13 -2
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.d.ts +6 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/cdn/components/format-bytes/format-bytes.js +1 -1
- package/cdn/components/format-date/format-date.js +1 -1
- package/cdn/components/format-number/format-number.js +1 -1
- package/cdn/components/graphic-element/graphic-element.js +1 -1
- package/cdn/components/header/header.d.ts +0 -1
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.d.ts +6 -0
- package/cdn/components/header-external-link/header-external-link.js +1 -1
- package/cdn/components/header-modern/header-modern.d.ts +0 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.d.ts +10 -6
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon/library.js +1 -1
- package/cdn/components/icon/library.system.js +1 -1
- package/cdn/components/icon-button/icon-button.d.ts +4 -1
- package/cdn/components/icon-button/icon-button.js +1 -1
- package/cdn/components/input/input.d.ts +11 -8
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.d.ts +7 -2
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.d.ts +16 -7
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.d.ts +8 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-native/input-native.d.ts +9 -3
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-otp/input-otp.d.ts +1 -2
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +12 -4
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.d.ts +13 -5
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +4 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-label/menu-label.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.d.ts +6 -2
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/pagination/pagination.d.ts +14 -5
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination-button/pagination-button.d.ts +6 -0
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/popup/popup.js +1 -1
- package/cdn/components/profile-button/profile-button.d.ts +8 -3
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/quote/quote.js +1 -1
- package/cdn/components/radio/radio.d.ts +6 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio-button/radio-button.js +1 -1
- package/cdn/components/radio-card/radio-card.js +1 -1
- package/cdn/components/radio-group/radio-group.d.ts +6 -2
- package/cdn/components/radio-group/radio-group.js +1 -1
- package/cdn/components/range-slider/range-slider.d.ts +0 -2
- package/cdn/components/range-slider/range-slider.js +1 -1
- package/cdn/components/relative-time/relative-time.js +1 -1
- package/cdn/components/resize-observer/resize-observer.js +1 -1
- package/cdn/components/search/search.d.ts +7 -4
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/select/select.d.ts +9 -4
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/sidenav/sidenav.d.ts +8 -3
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/skeleton/skeleton.js +1 -1
- package/cdn/components/skip-link-item/skip-link-item.js +1 -1
- package/cdn/components/skip-links/skip-links.js +1 -1
- package/cdn/components/spinner/spinner.js +1 -1
- package/cdn/components/split-panel/split-panel.d.ts +4 -1
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/step/step.d.ts +6 -2
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/stepper/stepper.js +1 -1
- package/cdn/components/success-text/success-text.d.ts +4 -1
- package/cdn/components/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.d.ts +4 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.d.ts +4 -2
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +4 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/table/table.js +1 -1
- package/cdn/components/table-action/table-action.d.ts +8 -2
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-body/table-body.js +1 -1
- package/cdn/components/table-caption/table-caption.d.ts +4 -1
- package/cdn/components/table-caption/table-caption.js +1 -1
- package/cdn/components/table-cell/table-cell.d.ts +4 -1
- package/cdn/components/table-cell/table-cell.js +1 -1
- package/cdn/components/table-container/table-container.d.ts +4 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.js +1 -1
- package/cdn/components/table-head/table-head.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +8 -3
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row.d.ts +6 -4
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/table-single-cell-row/table-single-cell-row.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.js +1 -1
- package/cdn/components/tag/tag.d.ts +8 -3
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tag/tag.styles.js +1 -1
- package/cdn/components/tag-button/tag-button.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.d.ts +4 -2
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.d.ts +8 -3
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/components/visually-hidden/visually-hidden.js +1 -1
- package/cdn/custom-elements.json +816 -43
- package/cdn/design-system.js +2 -2
- package/cdn/internal/components/calendar/calendar.js +0 -2
- package/cdn/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/cdn/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/cdn/internal/components/filter-base/filter-base.d.ts +6 -4
- package/cdn/internal/components/filter-base/filter-base.js +6 -2
- package/cdn/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/cdn/internal/components/form-control/form-control-layout.js +4 -1
- package/cdn/internal/components/form-selectable-card/form-selectable-card.d.ts +8 -3
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +8 -3
- package/cdn/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/cdn/internal/components/input-base/input-base.d.ts +5 -1
- package/cdn/internal/components/input-base/input-base.js +2 -1
- package/cdn/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/cdn/internal/components/radio-icon/radio-icon.js +2 -1
- package/cdn/internal/shoelace-element.d.ts +3 -0
- package/cdn/internal/shoelace-element.js +23 -0
- package/cdn/themes/dsa-wc-theme.css +8 -2
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +8 -2
- package/cdn/translations/en-gb.js +1 -1
- package/cdn/translations/en.js +1 -1
- package/cdn/translations/fr.js +1 -1
- package/cdn/utilities/icon-library.js +1 -1
- package/cdn/utilities/localize.d.ts +2 -0
- package/cdn/utilities/localize.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +11 -1
- package/cdn/web-types.json +466 -10
- package/dist/chunks/{chunk.73ZFCB6R.js → chunk.2E6QIQHU.js} +6 -2
- package/dist/chunks/{chunk.CRHM2CE5.js → chunk.2GKYCE3E.js} +23 -3
- package/dist/chunks/{chunk.NOH4G7Z3.js → chunk.2MJ3TUEC.js} +12 -2
- package/dist/chunks/{chunk.Q6SKCUWC.js → chunk.2RZJMNNG.js} +0 -3
- package/dist/chunks/{chunk.SV42ISYL.js → chunk.2UHD24QX.js} +28 -2
- package/dist/chunks/{chunk.XGXOHXHU.js → chunk.2V4TQXY6.js} +11 -3
- package/dist/chunks/{chunk.OUAQWUW4.js → chunk.3BDFJNQD.js} +6 -2
- package/dist/chunks/{chunk.GWVJL4RF.js → chunk.3MXQLB4L.js} +5 -1
- package/dist/chunks/{chunk.IR2O4TL3.js → chunk.3SAKVK56.js} +5 -1
- package/dist/chunks/{chunk.ML7UI7S7.js → chunk.3XEJ3UQS.js} +6 -2
- package/dist/chunks/{chunk.FAG62NRM.js → chunk.4UFNEXOD.js} +5 -1
- package/dist/chunks/{chunk.IT5CTBH7.js → chunk.4XPBWICF.js} +1 -1
- package/dist/chunks/{chunk.47GFM36Y.js → chunk.54XSLFSC.js} +1 -1
- package/dist/chunks/{chunk.G7WA3OWF.js → chunk.55MXUVNS.js} +12 -2
- package/dist/chunks/{chunk.4U66LKYV.js → chunk.55W7VWHS.js} +23 -6
- package/dist/chunks/{chunk.OXRZH5XZ.js → chunk.5C436DB4.js} +6 -2
- package/dist/chunks/{chunk.255DCWQE.js → chunk.5LUZ76CA.js} +9 -2
- package/dist/chunks/{chunk.AHUS3URN.js → chunk.5NSAEDEE.js} +5 -1
- package/dist/chunks/{chunk.JIXU425U.js → chunk.6FHEIU65.js} +9 -2
- package/dist/chunks/{chunk.PBDKMCCH.js → chunk.6L6NPRUN.js} +16 -2
- package/dist/chunks/{chunk.JAVCUO27.js → chunk.6Q5DARJM.js} +5 -1
- package/dist/chunks/{chunk.BGZYADDV.js → chunk.6QE4MIXY.js} +1 -1
- package/dist/chunks/{chunk.ORDSJDUP.js → chunk.6TDF44UO.js} +5 -1
- package/dist/chunks/{chunk.4APWIIUS.js → chunk.73XRFTV7.js} +4 -4
- package/dist/chunks/{chunk.VFDZ6OTM.js → chunk.7EBWBPAS.js} +16 -2
- package/dist/chunks/{chunk.X4ZCLMAL.js → chunk.AC6UE3V5.js} +1 -1
- package/dist/chunks/{chunk.KONRKBD4.js → chunk.AG4HZDJV.js} +1 -0
- package/dist/chunks/{chunk.Z73F57HS.js → chunk.AICETKP7.js} +2 -2
- package/dist/chunks/{chunk.TZQ3MU6S.js → chunk.ANLC37HJ.js} +18 -2
- package/dist/chunks/{chunk.O4ZVD6ZZ.js → chunk.AUI3QHQQ.js} +6 -2
- package/dist/chunks/{chunk.5JCDRTBY.js → chunk.BASV2VAI.js} +1 -1
- package/dist/chunks/{chunk.LNQM4VDZ.js → chunk.BJ76CXBF.js} +1 -1
- package/dist/chunks/{chunk.HSM5HMUP.js → chunk.BTEEMPDS.js} +1 -1
- package/dist/chunks/{chunk.AUJ2FJE2.js → chunk.BZQMTSEX.js} +2 -2
- package/dist/chunks/{chunk.C2USJPWZ.js → chunk.CEW6LABS.js} +16 -2
- package/dist/chunks/{chunk.2LNBA2FQ.js → chunk.CFBX4SXO.js} +5 -1
- package/dist/chunks/{chunk.EWY2GCPZ.js → chunk.CKJJ4MSU.js} +2 -2
- package/dist/chunks/{chunk.ZVKFVRCK.js → chunk.CNV2KEV4.js} +12 -2
- package/dist/chunks/{chunk.QZXP2757.js → chunk.CRAVJN6L.js} +5 -1
- package/dist/chunks/{chunk.VOUA4OR5.js → chunk.CXWEKXGR.js} +6 -2
- package/dist/chunks/{chunk.VOHUSNGA.js → chunk.ECETHATR.js} +9 -2
- package/dist/chunks/{chunk.76W5QCK5.js → chunk.ECJIGGPC.js} +1 -1
- package/dist/chunks/{chunk.35QYCRYB.js → chunk.ENFXOLGK.js} +28 -2
- package/dist/chunks/{chunk.VHKZOCPL.js → chunk.ERXIZLHH.js} +1 -1
- package/dist/chunks/{chunk.UNN3FKRS.js → chunk.F47D5JTA.js} +6 -2
- package/dist/chunks/{chunk.CULKJQ43.js → chunk.F4SZABJP.js} +2 -2
- package/dist/chunks/{chunk.UDSWI6Y6.js → chunk.F57NYQVS.js} +18 -4
- package/dist/chunks/{chunk.7I4C6CEB.js → chunk.FAFK3STZ.js} +1 -1
- package/dist/chunks/{chunk.YT4HJ3IL.js → chunk.FF67XKLP.js} +1 -1
- package/dist/chunks/{chunk.GY4FLVTL.js → chunk.FNJT4W4I.js} +1 -1
- package/dist/chunks/{chunk.MOQLFC6H.js → chunk.GBZY2OWL.js} +3 -3
- package/dist/chunks/{chunk.RQVGZS26.js → chunk.GSIIWPNB.js} +1 -1
- package/dist/chunks/{chunk.ED25W2OX.js → chunk.GUKOZGE3.js} +9 -1
- package/dist/chunks/{chunk.5EIUAA3U.js → chunk.GYWU4AAB.js} +1 -1
- package/dist/chunks/{chunk.AABUINPL.js → chunk.GZZFBLBE.js} +1 -1
- package/dist/chunks/{chunk.LS7YUONN.js → chunk.HALYTFYA.js} +1 -1
- package/dist/chunks/{chunk.YAVLD645.js → chunk.HKXHM6VA.js} +2 -2
- package/dist/chunks/{chunk.YRCGZJGX.js → chunk.HZPQGJ6B.js} +11 -1
- package/dist/chunks/{chunk.6WEGUWI5.js → chunk.I624JTPY.js} +2 -2
- package/dist/chunks/{chunk.Q6XO7AEM.js → chunk.I7553C2G.js} +2 -2
- package/dist/chunks/{chunk.JVFGYM3B.js → chunk.IAJLX5AF.js} +1 -1
- package/dist/chunks/{chunk.3D22YO3Z.js → chunk.IG5ZIIQI.js} +2 -2
- package/dist/chunks/{chunk.O7HKQMZA.js → chunk.IJUJLGCZ.js} +1 -1
- package/dist/chunks/{chunk.PDXO7ACT.js → chunk.J476JEKY.js} +1 -1
- package/dist/chunks/{chunk.RMCLM44L.js → chunk.JBKNTRA7.js} +1 -1
- package/dist/chunks/{chunk.L7NOS4FR.js → chunk.JDVVXASM.js} +6 -2
- package/dist/chunks/{chunk.6SP7XNBV.js → chunk.JEWVIFAO.js} +5 -1
- package/dist/chunks/{chunk.P6ZIC3SJ.js → chunk.JIN6PGAK.js} +1 -1
- package/dist/chunks/{chunk.G3QPDRD4.js → chunk.JJF4QB3T.js} +6 -2
- package/dist/chunks/{chunk.DKRTICMF.js → chunk.JKNKFWLE.js} +1 -1
- package/dist/chunks/{chunk.WD5PUKCI.js → chunk.K4WJKETZ.js} +6 -2
- package/dist/chunks/{chunk.775FJWON.js → chunk.KRGYVKGG.js} +20 -2
- package/dist/chunks/{chunk.T2M6RDF7.js → chunk.KTSLND6I.js} +19 -3
- package/dist/chunks/{chunk.7O7LNFJW.js → chunk.LE2O6AR5.js} +21 -6
- package/dist/chunks/{chunk.2HARVX2F.js → chunk.LHKUT7UW.js} +5 -1
- package/dist/chunks/{chunk.KOGIJSJ2.js → chunk.LIESRIIK.js} +120 -1
- package/dist/chunks/{chunk.GP75TYQS.js → chunk.LPQTWKYW.js} +2 -2
- package/dist/chunks/{chunk.STWD3IVA.js → chunk.M2YBQINH.js} +15 -3
- package/dist/chunks/{chunk.ZBVZPKHH.js → chunk.MJVWVA7K.js} +14 -2
- package/dist/chunks/{chunk.LJKZZ5Z7.js → chunk.MPV4OPIK.js} +1 -1
- package/dist/chunks/{chunk.BKZKEYEW.js → chunk.N3SOWEHQ.js} +1 -1
- package/dist/chunks/{chunk.ZYP5UA6L.js → chunk.NHF2XMDG.js} +2 -2
- package/dist/chunks/{chunk.F7K75AKP.js → chunk.NTHYV3TN.js} +27 -3
- package/dist/chunks/{chunk.HXC52XCE.js → chunk.NVCEVGBF.js} +2 -2
- package/dist/chunks/{chunk.E4I65Q6Y.js → chunk.NXO27KKG.js} +1 -1
- package/dist/chunks/{chunk.TKIRVUSQ.js → chunk.O67DEHIL.js} +5 -1
- package/dist/chunks/{chunk.42QEV4IV.js → chunk.P6RAYH7K.js} +6 -2
- package/dist/chunks/{chunk.NMTWMSSW.js → chunk.PANCODOV.js} +9 -2
- package/dist/chunks/{chunk.3G3MLJCH.js → chunk.PCLHDZYI.js} +1 -1
- package/dist/chunks/{chunk.YLG5J7YM.js → chunk.PENDUUVT.js} +1 -1
- package/dist/chunks/{chunk.HSU4VAS4.js → chunk.PFNWEDHI.js} +2 -2
- package/dist/chunks/{chunk.364OCK6Y.js → chunk.PZACWPDY.js} +2 -2
- package/dist/chunks/{chunk.6BXNHKYR.js → chunk.Q2XLWXN3.js} +14 -6
- package/dist/chunks/{chunk.ZJHYC5NS.js → chunk.Q7VBTFT2.js} +6 -2
- package/dist/chunks/{chunk.4ODHJQ4O.js → chunk.QGA7WIG4.js} +2 -2
- package/dist/chunks/{chunk.JTG2VILD.js → chunk.QGI766JC.js} +1 -1
- package/dist/chunks/{chunk.XBYDQEMZ.js → chunk.QHNPNQXO.js} +1 -1
- package/dist/chunks/{chunk.664KFSJP.js → chunk.QKT5LLDM.js} +2 -2
- package/dist/chunks/{chunk.5J4LC3T5.js → chunk.QO2BHDXY.js} +5 -1
- package/dist/chunks/{chunk.Z6DP5AUJ.js → chunk.QQTHVDGJ.js} +2 -2
- package/dist/chunks/{chunk.JBEKH5GD.js → chunk.QTPJ4QBU.js} +6 -2
- package/dist/chunks/{chunk.MPR4IZDU.js → chunk.QTVVGVFN.js} +3 -3
- package/dist/chunks/{chunk.CQTA7CG3.js → chunk.RAUXZLKM.js} +2 -2
- package/dist/chunks/{chunk.SO4EEDCJ.js → chunk.RDHPV744.js} +1 -1
- package/dist/chunks/{chunk.FB47DS6G.js → chunk.RG2NQAX7.js} +7 -0
- package/dist/chunks/{chunk.VVRJUTG5.js → chunk.RNLOUIO3.js} +6 -2
- package/dist/chunks/{chunk.RYPGPHI7.js → chunk.RPPERQYB.js} +2 -2
- package/dist/chunks/{chunk.XMRIXYIV.js → chunk.RVUUZ3KA.js} +7 -1
- package/dist/chunks/{chunk.T4R634BF.js → chunk.SA4KYN77.js} +22 -2
- package/dist/chunks/{chunk.OGVBLLDB.js → chunk.SIO6FXBK.js} +19 -7
- package/dist/chunks/{chunk.PEAZPHYW.js → chunk.SJFSACRO.js} +28 -7
- package/dist/chunks/{chunk.SL3DN4BD.js → chunk.SVWU6JW4.js} +24 -0
- package/dist/chunks/{chunk.URFGFMJF.js → chunk.TDKJ4FY5.js} +6 -2
- package/dist/chunks/{chunk.L56KKTTB.js → chunk.TOOML6W3.js} +189 -57
- package/dist/chunks/{chunk.VUF4NZNQ.js → chunk.TVLPPNG4.js} +12 -2
- package/dist/chunks/{chunk.PNKCJUTV.js → chunk.TW7YE6SU.js} +5 -1
- package/dist/chunks/{chunk.QY3AIGLE.js → chunk.TYAQGRNJ.js} +13 -3
- package/dist/chunks/chunk.U5AV7YAS.js +66 -0
- package/dist/chunks/{chunk.SK2SJE2S.js → chunk.U74UUL5R.js} +11 -1
- package/dist/chunks/{chunk.3NFVJZPV.js → chunk.UOLALNTU.js} +2 -2
- package/dist/chunks/{chunk.DV3XUZHI.js → chunk.UUZBFS35.js} +19 -3
- package/dist/chunks/{chunk.ZTQL6LV2.js → chunk.UYPZGXIY.js} +14 -4
- package/dist/chunks/{chunk.23ND2IYT.js → chunk.V3LDWXHK.js} +2 -4
- package/dist/chunks/{chunk.FXFNRADC.js → chunk.VFHBJRGL.js} +16 -2
- package/dist/chunks/{chunk.7ICCANB6.js → chunk.VK44P4XQ.js} +12 -2
- package/dist/chunks/{chunk.XRVDXZ37.js → chunk.VPOPSJUF.js} +15 -1
- package/dist/chunks/{chunk.KVBCYZ63.js → chunk.VPSUIQHG.js} +9 -2
- package/dist/chunks/{chunk.O6JPAHCB.js → chunk.WFACPRM5.js} +1 -1
- package/dist/chunks/{chunk.CEC2UZ2B.js → chunk.WJFVQRWU.js} +9 -1
- package/dist/chunks/{chunk.ZGBHQB4P.js → chunk.WMFEJDPX.js} +10 -2
- package/dist/chunks/{chunk.PBUGRVMQ.js → chunk.WNESPUKK.js} +5 -1
- package/dist/chunks/{chunk.TN4CAFLD.js → chunk.WOZF7EML.js} +2 -2
- package/dist/chunks/{chunk.WWO46GSF.js → chunk.XDW2FM6B.js} +8 -1
- package/dist/chunks/{chunk.V2LO3RHA.js → chunk.XS7X5VMK.js} +2 -2
- package/dist/chunks/{chunk.5WY2ZKV4.js → chunk.XSPIIP5W.js} +20 -8
- package/dist/chunks/{chunk.FTWMMA3O.js → chunk.Y2XMBFRO.js} +12 -2
- package/dist/chunks/{chunk.QRPBHKNM.js → chunk.Y42C4XSY.js} +1 -1
- package/dist/chunks/{chunk.EQBGP5ZK.js → chunk.Y52HRJXK.js} +6 -2
- package/dist/chunks/{chunk.JTKPLTO2.js → chunk.YKL22V4E.js} +1 -1
- package/dist/chunks/{chunk.KJFIJI7X.js → chunk.YROTOHU3.js} +1 -1
- package/dist/chunks/{chunk.DEQ4YOE2.js → chunk.YTT3RNXV.js} +1 -1
- package/dist/chunks/{chunk.SAYXVOCR.js → chunk.ZZ67C4V2.js} +5 -1
- package/dist/components/accordion/accordion.d.ts +7 -2
- package/dist/components/accordion/accordion.js +7 -7
- package/dist/components/accordion-group/accordion-group.js +8 -8
- package/dist/components/alert/alert.d.ts +9 -1
- package/dist/components/alert/alert.js +8 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/anchor-tag/anchor-tag.js +2 -2
- package/dist/components/animation/animation.js +2 -2
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/avatar-group/avatar-group.d.ts +0 -1
- package/dist/components/avatar-group/avatar-group.js +2 -2
- package/dist/components/badge/badge.js +3 -3
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -3
- package/dist/components/breadcrumb/breadcrumb.js +3 -10
- package/dist/components/breadcrumb-item/breadcrumb-item.d.ts +6 -0
- package/dist/components/breadcrumb-item/breadcrumb-item.js +10 -3
- package/dist/components/button/button.d.ts +6 -2
- package/dist/components/button/button.js +7 -7
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/callout/callout.d.ts +0 -1
- package/dist/components/callout/callout.js +2 -13
- package/dist/components/card/card.js +2 -2
- package/dist/components/card-content/card-content.d.ts +4 -1
- package/dist/components/card-content/card-content.js +5 -5
- package/dist/components/card-nav/card-nav.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.d.ts +4 -1
- package/dist/components/card-nav-accordion/card-nav-accordion.js +6 -6
- package/dist/components/card-nav-item/card-nav-item.d.ts +4 -1
- package/dist/components/card-nav-item/card-nav-item.js +5 -5
- package/dist/components/checkbox/checkbox.d.ts +6 -3
- package/dist/components/checkbox/checkbox.js +9 -9
- package/dist/components/checkbox-button/checkbox-button.js +9 -9
- package/dist/components/checkbox-card/checkbox-card.js +8 -8
- package/dist/components/checkbox-group/checkbox-group.d.ts +6 -2
- package/dist/components/checkbox-group/checkbox-group.js +7 -7
- package/dist/components/combobox/combobox.d.ts +15 -6
- package/dist/components/combobox/combobox.js +17 -15
- package/dist/components/copy-button/copy-button.d.ts +6 -4
- package/dist/components/copy-button/copy-button.js +8 -8
- package/dist/components/dialog/dialog.d.ts +4 -1
- package/dist/components/dialog/dialog.js +7 -7
- package/dist/components/divider/divider.js +2 -2
- package/dist/components/download-card/download-card.d.ts +4 -1
- package/dist/components/download-card/download-card.js +5 -5
- package/dist/components/download-link/download-link.d.ts +4 -1
- package/dist/components/download-link/download-link.js +5 -5
- package/dist/components/drawer/drawer.d.ts +4 -1
- package/dist/components/drawer/drawer.js +7 -7
- package/dist/components/dropdown/dropdown.d.ts +4 -2
- package/dist/components/dropdown/dropdown.js +4 -4
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-text/error-text.d.ts +4 -1
- package/dist/components/error-text/error-text.js +5 -5
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/file-upload/file-upload.d.ts +22 -3
- package/dist/components/file-upload/file-upload.js +16 -8
- package/dist/components/file-upload/file-upload.styles.js +1 -1
- package/dist/components/file-upload/file-upload.utils.d.ts +1 -0
- package/dist/components/file-upload/file-upload.utils.js +7 -0
- package/dist/components/file-upload-item/file-upload-item.js +7 -7
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.d.ts +4 -3
- package/dist/components/filter-button/filter-button.js +6 -9
- package/dist/components/filter-counter/filter-counter.d.ts +11 -5
- package/dist/components/filter-counter/filter-counter.js +27 -26
- package/dist/components/filter-date/filter-date.d.ts +15 -5
- package/dist/components/filter-date/filter-date.js +16 -14
- package/dist/components/filter-range/filter-range.d.ts +14 -6
- package/dist/components/filter-range/filter-range.js +30 -29
- package/dist/components/filter-select/filter-select.d.ts +13 -2
- package/dist/components/filter-select/filter-select.js +29 -28
- package/dist/components/footer/footer.d.ts +6 -1
- package/dist/components/footer/footer.js +4 -4
- package/dist/components/footer-content-block/footer-content-block.d.ts +0 -1
- package/dist/components/footer-content-block/footer-content-block.js +2 -4
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.d.ts +4 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +3 -3
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.d.ts +0 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -4
- package/dist/components/format-bytes/format-bytes.js +3 -3
- package/dist/components/format-date/format-date.js +3 -3
- package/dist/components/format-number/format-number.js +3 -3
- package/dist/components/graphic-element/graphic-element.js +1 -1
- package/dist/components/header/header.d.ts +0 -1
- package/dist/components/header/header.js +3 -5
- package/dist/components/header-external-link/header-external-link.d.ts +6 -0
- package/dist/components/header-external-link/header-external-link.js +4 -2
- package/dist/components/header-modern/header-modern.d.ts +0 -1
- package/dist/components/header-modern/header-modern.js +3 -5
- package/dist/components/header-search/header-search.d.ts +10 -6
- package/dist/components/header-search/header-search.js +11 -11
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +4 -1
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.d.ts +11 -8
- package/dist/components/input/input.js +22 -19
- package/dist/components/input-amount/input-amount.d.ts +7 -2
- package/dist/components/input-amount/input-amount.js +12 -12
- package/dist/components/input-date/input-date.d.ts +16 -7
- package/dist/components/input-date/input-date.js +14 -14
- package/dist/components/input-mask/input-mask.d.ts +8 -1
- package/dist/components/input-mask/input-mask.js +12 -10
- package/dist/components/input-native/input-native.d.ts +9 -3
- package/dist/components/input-native/input-native.js +11 -11
- package/dist/components/input-otp/input-otp.d.ts +1 -2
- package/dist/components/input-otp/input-otp.js +9 -11
- package/dist/components/input-phone/input-phone.d.ts +12 -4
- package/dist/components/input-phone/input-phone.js +20 -20
- package/dist/components/input-time/input-time.d.ts +13 -5
- package/dist/components/input-time/input-time.js +13 -13
- package/dist/components/menu-accordion/menu-accordion.d.ts +6 -2
- package/dist/components/menu-accordion/menu-accordion.js +8 -8
- package/dist/components/menu-item/menu-item.d.ts +4 -1
- package/dist/components/menu-item/menu-item.js +5 -5
- package/dist/components/menu-label/menu-label.js +2 -2
- package/dist/components/menu-navigation/menu-navigation.js +6 -6
- package/dist/components/mutation-observer/mutation-observer.js +2 -2
- package/dist/components/navbar/navbar.js +2 -2
- package/dist/components/navbar-link/navbar-link.js +11 -11
- package/dist/components/navbar-menu/navbar-menu.d.ts +6 -4
- package/dist/components/navbar-menu/navbar-menu.js +7 -14
- package/dist/components/option/option.d.ts +6 -2
- package/dist/components/option/option.js +7 -7
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/pagination/pagination.d.ts +14 -5
- package/dist/components/pagination/pagination.js +29 -24
- package/dist/components/pagination-button/pagination-button.d.ts +6 -0
- package/dist/components/pagination-button/pagination-button.js +4 -2
- package/dist/components/popup/popup.js +2 -2
- package/dist/components/profile-button/profile-button.d.ts +8 -3
- package/dist/components/profile-button/profile-button.js +9 -9
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-ring/progress-ring.js +2 -2
- package/dist/components/quote/quote.js +2 -2
- package/dist/components/radio/radio.d.ts +6 -1
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio-button/radio-button.js +9 -9
- package/dist/components/radio-card/radio-card.js +11 -11
- package/dist/components/radio-group/radio-group.d.ts +6 -2
- package/dist/components/radio-group/radio-group.js +7 -7
- package/dist/components/range-slider/range-slider.d.ts +0 -2
- package/dist/components/range-slider/range-slider.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -3
- package/dist/components/resize-observer/resize-observer.js +2 -2
- package/dist/components/search/search.d.ts +7 -4
- package/dist/components/search/search.js +8 -8
- package/dist/components/select/select.d.ts +9 -4
- package/dist/components/select/select.js +14 -14
- package/dist/components/sidenav/sidenav.d.ts +8 -3
- package/dist/components/sidenav/sidenav.js +9 -9
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.d.ts +4 -2
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +9 -9
- package/dist/components/skeleton/skeleton.js +2 -2
- package/dist/components/skip-link-item/skip-link-item.js +2 -2
- package/dist/components/skip-links/skip-links.js +3 -3
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/split-panel/split-panel.d.ts +4 -1
- package/dist/components/split-panel/split-panel.js +6 -6
- package/dist/components/step/step.d.ts +6 -2
- package/dist/components/step/step.js +7 -7
- package/dist/components/stepper/stepper.js +2 -2
- package/dist/components/success-text/success-text.d.ts +4 -1
- package/dist/components/success-text/success-text.js +5 -5
- package/dist/components/switch/switch.d.ts +4 -1
- package/dist/components/switch/switch.js +6 -6
- package/dist/components/tab/tab.d.ts +4 -2
- package/dist/components/tab/tab.js +7 -7
- package/dist/components/tab-group/tab-group.d.ts +4 -1
- package/dist/components/tab-group/tab-group.js +7 -7
- package/dist/components/tab-panel/tab-panel.js +2 -2
- package/dist/components/table/table.js +2 -2
- package/dist/components/table-action/table-action.d.ts +8 -2
- package/dist/components/table-action/table-action.js +18 -4
- package/dist/components/table-body/table-body.js +5 -5
- package/dist/components/table-caption/table-caption.d.ts +4 -1
- package/dist/components/table-caption/table-caption.js +5 -5
- package/dist/components/table-cell/table-cell.d.ts +4 -1
- package/dist/components/table-cell/table-cell.js +4 -4
- package/dist/components/table-container/table-container.d.ts +4 -1
- package/dist/components/table-container/table-container.js +5 -5
- package/dist/components/table-expanded-row/table-expanded-row.js +2 -2
- package/dist/components/table-head/table-head.js +4 -4
- package/dist/components/table-header-cell/table-header-cell.d.ts +6 -3
- package/dist/components/table-header-cell/table-header-cell.js +8 -8
- package/dist/components/table-header-row/table-header-row.d.ts +8 -3
- package/dist/components/table-header-row/table-header-row.js +17 -17
- package/dist/components/table-of-contents/table-of-contents.d.ts +4 -0
- package/dist/components/table-of-contents/table-of-contents.js +9 -3
- package/dist/components/table-row/table-row.d.ts +6 -4
- package/dist/components/table-row/table-row.js +12 -12
- package/dist/components/table-single-cell-row/table-single-cell-row.js +2 -2
- package/dist/components/table-toolbar/table-toolbar.js +2 -2
- package/dist/components/tag/tag.d.ts +8 -3
- package/dist/components/tag/tag.js +11 -11
- package/dist/components/tag/tag.styles.js +1 -1
- package/dist/components/tag-button/tag-button.js +2 -2
- package/dist/components/textarea/textarea.js +7 -7
- package/dist/components/tooltip/tooltip.d.ts +4 -2
- package/dist/components/tooltip/tooltip.js +4 -4
- package/dist/components/tree/tree.js +13 -13
- package/dist/components/tree-item/tree-item.d.ts +8 -3
- package/dist/components/tree-item/tree-item.js +12 -12
- package/dist/components/visually-hidden/visually-hidden.js +2 -2
- package/dist/custom-elements.json +816 -43
- package/dist/design-system.js +181 -180
- package/dist/internal/components/calendar/calendar.js +0 -2
- package/dist/internal/components/checkbox-box/checkbox-box.d.ts +4 -1
- package/dist/internal/components/checkbox-box/checkbox-box.js +2 -1
- package/dist/internal/components/filter-base/filter-base.d.ts +6 -4
- package/dist/internal/components/filter-base/filter-base.js +6 -2
- package/dist/internal/components/form-control/form-control-layout.d.ts +4 -1
- package/dist/internal/components/form-control/form-control-layout.js +4 -1
- package/dist/internal/components/form-selectable-card/form-selectable-card.d.ts +8 -3
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +8 -3
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +4 -1
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +2 -1
- package/dist/internal/components/input-base/input-base.d.ts +5 -1
- package/dist/internal/components/input-base/input-base.js +2 -1
- package/dist/internal/components/radio-icon/radio-icon.d.ts +4 -1
- package/dist/internal/components/radio-icon/radio-icon.js +2 -1
- package/dist/internal/shoelace-element.d.ts +3 -0
- package/dist/internal/shoelace-element.js +23 -0
- package/dist/themes/dsa-wc-theme.css +8 -2
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +8 -2
- package/dist/translations/en-gb.js +1 -1
- package/dist/translations/en.js +1 -1
- package/dist/translations/fr.js +1 -1
- package/dist/utilities/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +4 -4
- package/dist/vscode.html-custom-data.json +11 -1
- package/dist/web-types.json +466 -10
- package/package.json +2 -2
- package/cdn/chunks/chunk.2IDFQMUY.js +0 -173
- package/cdn/chunks/chunk.2OMAP64Q.js +0 -75
- package/cdn/chunks/chunk.32PDY7UK.js +0 -62
- package/cdn/chunks/chunk.4HMGXARV.js +0 -20
- package/cdn/chunks/chunk.4WOVD75K.js +0 -1
- package/cdn/chunks/chunk.656TABWU.js +0 -68
- package/cdn/chunks/chunk.6IF6YOG2.js +0 -72
- package/cdn/chunks/chunk.6NIF5NUR.js +0 -6
- package/cdn/chunks/chunk.7E6YCVBM.js +0 -73
- package/cdn/chunks/chunk.7EFNXSDX.js +0 -62
- package/cdn/chunks/chunk.AFYV7235.js +0 -51
- package/cdn/chunks/chunk.APETMEWE.js +0 -44
- package/cdn/chunks/chunk.AWUKINCE.js +0 -26
- package/cdn/chunks/chunk.BLTJNDSL.js +0 -31
- package/cdn/chunks/chunk.BNGKQNWN.js +0 -20
- package/cdn/chunks/chunk.BNRHJT5Y.js +0 -41
- package/cdn/chunks/chunk.BRWNVT6G.js +0 -15
- package/cdn/chunks/chunk.BUGOUMBK.js +0 -66
- package/cdn/chunks/chunk.BYKNQ7UN.js +0 -35
- package/cdn/chunks/chunk.CEOMZJL3.js +0 -25
- package/cdn/chunks/chunk.CPEZHTWZ.js +0 -94
- package/cdn/chunks/chunk.E4OBJ7XY.js +0 -45
- package/cdn/chunks/chunk.E53LA4B5.js +0 -121
- package/cdn/chunks/chunk.EJRD5ETZ.js +0 -56
- package/cdn/chunks/chunk.ESMXIAXC.js +0 -41
- package/cdn/chunks/chunk.F2P7GHWQ.js +0 -26
- package/cdn/chunks/chunk.FIAFLKBH.js +0 -112
- package/cdn/chunks/chunk.GQ6KYNN7.js +0 -55
- package/cdn/chunks/chunk.GTWDOMYW.js +0 -73
- package/cdn/chunks/chunk.GW7LIL6T.js +0 -14
- package/cdn/chunks/chunk.HN7LULYJ.js +0 -50
- package/cdn/chunks/chunk.HOEECTTJ.js +0 -13
- package/cdn/chunks/chunk.HXKY4TCL.js +0 -42
- package/cdn/chunks/chunk.IQSBJVVT.js +0 -115
- package/cdn/chunks/chunk.ISAALGRC.js +0 -11
- package/cdn/chunks/chunk.J7BHUTIC.js +0 -26
- package/cdn/chunks/chunk.JFLLAQ3M.js +0 -1
- package/cdn/chunks/chunk.JO5OCC2C.js +0 -123
- package/cdn/chunks/chunk.JQHISP6X.js +0 -35
- package/cdn/chunks/chunk.K5JD7GGR.js +0 -8
- package/cdn/chunks/chunk.KL3MAUBF.js +0 -50
- package/cdn/chunks/chunk.KQCEZAEK.js +0 -53
- package/cdn/chunks/chunk.KXZCAPFG.js +0 -51
- package/cdn/chunks/chunk.KYNJPLDI.js +0 -19
- package/cdn/chunks/chunk.L4Z7QLDC.js +0 -7
- package/cdn/chunks/chunk.M4Y6MS6D.js +0 -13
- package/cdn/chunks/chunk.OJFSSNE6.js +0 -19
- package/cdn/chunks/chunk.OS3TEHEN.js +0 -38
- package/cdn/chunks/chunk.QWPUMMAA.js +0 -56
- package/cdn/chunks/chunk.RDMQQGD2.js +0 -68
- package/cdn/chunks/chunk.RLILIS2Y.js +0 -19
- package/cdn/chunks/chunk.RROT6Z42.js +0 -65
- package/cdn/chunks/chunk.SBOY5ZZ2.js +0 -36
- package/cdn/chunks/chunk.T2HPIB56.js +0 -72
- package/cdn/chunks/chunk.TKMEE6QH.js +0 -43
- package/cdn/chunks/chunk.TW5PTRLU.js +0 -20
- package/cdn/chunks/chunk.UJTEHF7B.js +0 -130
- package/cdn/chunks/chunk.VLFAKRJ7.js +0 -27
- package/cdn/chunks/chunk.WPG2N7B5.js +0 -10
- package/cdn/chunks/chunk.WY3M4SRD.js +0 -25
- package/cdn/chunks/chunk.XNHKS4WB.js +0 -60
- package/cdn/chunks/chunk.Y2EQJWZE.js +0 -38
- package/cdn/chunks/chunk.YZCUYRA4.js +0 -47
- package/cdn/chunks/core-js.6QDCQS53.js +0 -8
- package/cdn/chunks/dom.AS2IDUUD.js +0 -25
- package/cdn/chunks/wc-datepicker.entry.6PSI3D65.js +0 -1
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import{a as w}from"./chunk.ZPQE4HH4.js";import{a as v}from"./chunk.DUYCHM7G.js";import{a as p,c as m,d as f}from"./chunk.HHVNQNCC.js";import{a as u,c as b}from"./chunk.TV2TMO2H.js";import{c as C}from"./chunk.4WOVD75K.js";import{d as c}from"./chunk.ZBHHLRFH.js";import{a as s}from"./chunk.BWEPOOQP.js";import{a as g,b as d,c as r,d as n,f as x}from"./chunk.CEOMZJL3.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";function o(h,y,t){return h?y(h):t==null?void 0:t(h)}var e=class extends x{constructor(){super(...arguments);this.localize=new C(this);this.indeterminate=!1;this.isLeaf=!1;this.loading=!1;this.selectable=!1;this.expanded=!1;this.selected=!1;this.disabled=!1;this.lazy=!1}static isTreeItem(t){return t instanceof Element&&t.getAttribute("role")==="treeitem"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","treeitem"),this.setAttribute("tabindex","-1"),this.isNestedItem()&&(this.slot="children")}firstUpdated(){this.childrenContainer.hidden=!this.expanded,this.childrenContainer.style.height=this.expanded?"auto":"0",this.isLeaf=!this.lazy&&this.getChildrenItems().length===0,this.handleExpandedChange()}async animateCollapse(){this.emit("dsa-collapse"),await m(this.childrenContainer);let{keyframes:t,options:a}=b(this,"tree-item.collapse",{dir:this.localize.dir()});await p(this.childrenContainer,f(t,this.childrenContainer.scrollHeight),a),this.childrenContainer.hidden=!0,this.emit("dsa-after-collapse")}isNestedItem(){let t=this.parentElement;return!!t&&e.isTreeItem(t)}handleChildrenSlotChange(){this.loading=!1,this.isLeaf=!this.lazy&&this.getChildrenItems().length===0}willUpdate(t){t.has("selected")&&!t.has("indeterminate")&&(this.indeterminate=!1)}async animateExpand(){this.emit("dsa-expand"),await m(this.childrenContainer),this.childrenContainer.hidden=!1;let{keyframes:t,options:a}=b(this,"tree-item.expand",{dir:this.localize.dir()});await p(this.childrenContainer,f(t,this.childrenContainer.scrollHeight),a),this.childrenContainer.style.height="auto",this.emit("dsa-after-expand")}handleLoadingChange(){this.setAttribute("aria-busy",this.loading?"true":"false"),this.loading||this.animateExpand()}handleDisabledChange(){this.setAttribute("aria-disabled",this.disabled?"true":"false")}handleSelectedChange(){this.setAttribute("aria-selected",this.selected?"true":"false")}handleExpandedChange(){this.isLeaf?this.removeAttribute("aria-expanded"):this.setAttribute("aria-expanded",this.expanded?"true":"false")}handleExpandAnimation(){this.expanded?this.lazy?(this.loading=!0,this.emit("dsa-lazy-load")):this.animateExpand():this.animateCollapse()}handleLazyChange(){this.emit("dsa-lazy-change")}getChildrenItems({includeDisabled:t=!0}={}){return this.childrenSlot?[...this.childrenSlot.assignedElements({flatten:!0})].filter(a=>e.isTreeItem(a)&&(t||!a.disabled)):[]}render(){let t=this.localize.dir()==="rtl",a=!this.loading&&(!this.isLeaf||this.lazy);return l`
|
|
2
|
-
<div
|
|
3
|
-
part="base"
|
|
4
|
-
class="${c({"tree-item":!0,"tree-item--expanded":this.expanded,"tree-item--selected":this.selected,"tree-item--disabled":this.disabled,"tree-item--leaf":this.isLeaf,"tree-item--has-expand-button":a,"tree-item--rtl":this.localize.dir()==="rtl"})}"
|
|
5
|
-
>
|
|
6
|
-
<div
|
|
7
|
-
class="tree-item__item"
|
|
8
|
-
part="
|
|
9
|
-
item
|
|
10
|
-
${this.disabled?"item--disabled":""}
|
|
11
|
-
${this.expanded?"item--expanded":""}
|
|
12
|
-
${this.indeterminate?"item--indeterminate":""}
|
|
13
|
-
${this.selected?"item--selected":""}
|
|
14
|
-
"
|
|
15
|
-
>
|
|
16
|
-
<div class="tree-item__indentation" part="indentation"></div>
|
|
17
|
-
|
|
18
|
-
<div
|
|
19
|
-
part="expand-button"
|
|
20
|
-
class=${c({"tree-item__expand-button":!0,"tree-item__expand-button--visible":a})}
|
|
21
|
-
aria-hidden="true"
|
|
22
|
-
>
|
|
23
|
-
${o(this.loading,()=>l` <dsa-spinner></dsa-spinner> `)}
|
|
24
|
-
<dsa-icon
|
|
25
|
-
class="tree-item__expand-icon"
|
|
26
|
-
name=${t?"chevron_left":"chevron_right"}
|
|
27
|
-
library="system"
|
|
28
|
-
></dsa-icon>
|
|
29
|
-
|
|
30
|
-
<dsa-icon
|
|
31
|
-
class="tree-item__collapse-icon"
|
|
32
|
-
name=${t?"chevron_left":"chevron_right"}
|
|
33
|
-
library="system"
|
|
34
|
-
></dsa-icon>
|
|
35
|
-
</div>
|
|
36
|
-
|
|
37
|
-
${o(this.selectable,()=>l`
|
|
38
|
-
<dsa-checkbox
|
|
39
|
-
tabindex="-1"
|
|
40
|
-
class="tree-item__checkbox"
|
|
41
|
-
?disabled="${this.disabled}"
|
|
42
|
-
?checked="${v(this.selected)}"
|
|
43
|
-
?indeterminate="${this.indeterminate}"
|
|
44
|
-
></dsa-checkbox>
|
|
45
|
-
`)}
|
|
46
|
-
|
|
47
|
-
<slot class="tree-item__label" part="label"></slot>
|
|
48
|
-
|
|
49
|
-
${o(!this.selectable&&this.selected,()=>l` <dsa-icon
|
|
50
|
-
class="tree-item__selected-icon"
|
|
51
|
-
name="check"
|
|
52
|
-
library="system"
|
|
53
|
-
></dsa-icon>`)}
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="tree-item__children" role="group">
|
|
57
|
-
<slot
|
|
58
|
-
name="children"
|
|
59
|
-
part="children"
|
|
60
|
-
@slotchange="${this.handleChildrenSlotChange}"
|
|
61
|
-
></slot>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
`}};e.styles=w,i([r()],e.prototype,"indeterminate",2),i([r()],e.prototype,"isLeaf",2),i([r()],e.prototype,"loading",2),i([r()],e.prototype,"selectable",2),i([d({type:Boolean,reflect:!0})],e.prototype,"expanded",2),i([d({type:Boolean,reflect:!0})],e.prototype,"selected",2),i([d({type:Boolean,reflect:!0})],e.prototype,"disabled",2),i([d({type:Boolean,reflect:!0})],e.prototype,"lazy",2),i([n("slot:not([name])")],e.prototype,"defaultSlot",2),i([n("slot[name=children]")],e.prototype,"childrenSlot",2),i([n(".tree-item__item")],e.prototype,"itemElement",2),i([n(".tree-item__children")],e.prototype,"childrenContainer",2),i([n(".tree-item__expand-button slot")],e.prototype,"expandButtonSlot",2),i([s("loading",{waitUntilFirstUpdate:!0})],e.prototype,"handleLoadingChange",1),i([s("disabled")],e.prototype,"handleDisabledChange",1),i([s("selected")],e.prototype,"handleSelectedChange",1),i([s("expanded",{waitUntilFirstUpdate:!0})],e.prototype,"handleExpandedChange",1),i([s("expanded",{waitUntilFirstUpdate:!0})],e.prototype,"handleExpandAnimation",1),i([s("lazy",{waitUntilFirstUpdate:!0})],e.prototype,"handleLazyChange",1),e=i([g("dsa-tree-item")],e);u("tree-item.expand",{keyframes:[{height:"0",opacity:"0",overflow:"hidden"},{height:"auto",opacity:"1",overflow:"hidden"}],options:{duration:250,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)"}});u("tree-item.collapse",{keyframes:[{height:"auto",opacity:"1",overflow:"hidden"},{height:"0",opacity:"0",overflow:"hidden"}],options:{duration:200,easing:"cubic-bezier(0.4, 0.0, 0.2, 1)"}});export{e as a};
|
|
65
|
-
/*! Bundled license information:
|
|
66
|
-
|
|
67
|
-
lit-html/directives/when.js:
|
|
68
|
-
(**
|
|
69
|
-
* @license
|
|
70
|
-
* Copyright 2021 Google LLC
|
|
71
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
|
72
|
-
*)
|
|
73
|
-
*/
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import{a as n}from"./chunk.IICXN6X7.js";import{c as i}from"./chunk.4WOVD75K.js";import{a as s,b as l,d as r,f as a}from"./chunk.CEOMZJL3.js";import{a as o}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends a{constructor(){super(...arguments);this.localize=new i(this);this.show=!1;this.deselectAllOnClose=!1}handleClose(){this.emit("dsa-table-actions-close"),this.show=!1}render(){return o`
|
|
2
|
-
<slot part="label" name="label"></slot>
|
|
3
|
-
<slot part="action"></slot>
|
|
4
|
-
<dsa-divider vertical></dsa-divider>
|
|
5
|
-
<dsa-button
|
|
6
|
-
id="closeButton"
|
|
7
|
-
variant="tertiary"
|
|
8
|
-
contrasted
|
|
9
|
-
@click=${this.handleClose}
|
|
10
|
-
>
|
|
11
|
-
<dsa-icon slot="prefix" name="close" library="system"></dsa-icon>
|
|
12
|
-
${this.deselectAllOnClose?this.localize.term("deselectAll"):this.localize.term("close")}
|
|
13
|
-
</dsa-button>
|
|
14
|
-
`}};t.styles=n,e([r("#closeButton")],t.prototype,"closeButton",2),e([l({type:Boolean,reflect:!0})],t.prototype,"show",2),e([l({type:Boolean,attribute:"deselect-all-on-close"})],t.prototype,"deselectAllOnClose",2),t=e([s("dsa-table-action")],t);export{t as a};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import{b as C,c as k}from"./chunk.FWTZS7LK.js";import{a as $}from"./chunk.DO7GE2JH.js";import{a as y}from"./chunk.ELL45QD3.js";import{a as h,b as a}from"./chunk.FDMPUSVV.js";import{a as o}from"./chunk.NIRNX67K.js";import{c as v}from"./chunk.4WOVD75K.js";import{d as p}from"./chunk.ZBHHLRFH.js";import{a as s}from"./chunk.2RF4WD6T.js";import{a as g}from"./chunk.BWEPOOQP.js";import{a as f,b as i,c as d,d as m,f as b}from"./chunk.CEOMZJL3.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends b{constructor(){super(...arguments);this.formControlController=new C(this,{form:r=>{if(r.hasAttribute("form")){let n=r.getRootNode(),l=r.getAttribute("form");return n.getElementById(l)}return r.closest("form")},assumeInteractionOn:["click"]});this.hasSlotController=new y(this,"[default]","prefix","suffix");this.localize=new v(this);this.hasFocus=!1;this.invalid=!1;this.title="";this.variant="primary";this.size="medium";this.caret=!1;this.disabled=!1;this.loading=!1;this.floating=!1;this.contrasted=!1;this.toggle=!1;this.pressed=!1;this.type="button";this.name="";this.value="";this.href="";this.rel="noreferrer noopener";this.ariaLabel="";this.description=""}get validity(){return this.isButton()?this.button.validity:k}get validationMessage(){return this.isButton()?this.button.validationMessage:""}connectedCallback(){super.connectedCallback(),this.handleHostClick=this.handleHostClick.bind(this),this.addEventListener("click",this.handleHostClick)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",this.handleHostClick)}firstUpdated(){this.isButton()&&this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("dsa-blur")}handleFocus(){this.hasFocus=!0,this.emit("dsa-focus")}handleClick(){this.type==="submit"&&this.formControlController.submit(this),this.type==="reset"&&this.formControlController.reset(this),this.type==="button"&&this.toggle&&(this.pressed=!this.pressed,this.emit("dsa-change"))}handleHostClick(r){(this.disabled||this.loading)&&(r.preventDefault(),r.stopImmediatePropagation())}handleInvalid(r){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(r)}getSpinnerVariant(){return this.floating?"floating":this.contrasted?"contrasted":"base"}isButton(){return!this.href}isLink(){return!!this.href}handleDisabledChange(){this.isButton()&&this.formControlController.setValidity(this.disabled)}click(){this.button.click()}focus(r){this.button.focus(r)}blur(){this.button.blur()}checkValidity(){return this.isButton()?this.button.checkValidity():!0}getForm(){return this.formControlController.getForm()}reportValidity(){return this.isButton()?this.button.reportValidity():!0}setCustomValidity(r){this.isButton()&&(this.button.setCustomValidity(r),this.formControlController.updateValidity())}render(){var u,c;let r=this.isLink(),n=this.getSpinnerVariant(),l=r?h`a`:h`button`;return a`
|
|
2
|
-
<${l}
|
|
3
|
-
part="base"
|
|
4
|
-
class=${p({button:!0,"button--on-base":!this.floating,"button--on-floating-menu":this.floating,"button--on-contrasted-menu":this.contrasted,"button--navigation":this.variant==="navigation","button--primary":this.variant==="primary","button--secondary":this.variant==="secondary","button--tertiary":this.variant==="tertiary"||this.variant==="tertiary-with-outline","button--tertiary-with-outline":this.variant==="tertiary-with-outline","button--neutral":this.variant==="neutral","button--danger":this.variant==="danger","button--small":this.size==="small","button--medium":this.size==="medium","button--large":this.size==="large","button--caret":this.caret,"button--toggle":this.toggle,"button--pressed":this.toggle&&this.pressed,"button--disabled":this.disabled,"button--focused":this.hasFocus,"button--loading":this.loading,"button--rtl":this.localize.dir()==="rtl","button--has-label":this.hasSlotController.test("[default]"),"button--has-prefix":this.hasSlotController.test("prefix"),"button--has-suffix":this.hasSlotController.test("suffix")})}
|
|
5
|
-
?disabled=${s(r?void 0:this.disabled)}
|
|
6
|
-
type=${s(r?void 0:this.type)}
|
|
7
|
-
title=${o((u=this.accessibleName)!=null?u:this.title)}
|
|
8
|
-
name=${o(r?void 0:this.name)}
|
|
9
|
-
value=${o(r?void 0:this.value)}
|
|
10
|
-
href=${s(r?this.href:void 0)}
|
|
11
|
-
target=${s(r?this.target:void 0)}
|
|
12
|
-
download=${s(r?this.download:void 0)}
|
|
13
|
-
rel=${s(r?this.rel:void 0)}
|
|
14
|
-
aria-label=${o((c=this.accessibleName)!=null?c:this.ariaLabel)}
|
|
15
|
-
aria-describedby="description"
|
|
16
|
-
aria-disabled=${s(this.disabled&&r?"true":void 0)}
|
|
17
|
-
aria-pressed=${s(this.toggle?this.pressed:void 0)}
|
|
18
|
-
tabindex=${s(this.disabled?"-1":void 0)}
|
|
19
|
-
@blur=${this.handleBlur}
|
|
20
|
-
@focus=${this.handleFocus}
|
|
21
|
-
@invalid=${this.isButton()?this.handleInvalid:null}
|
|
22
|
-
@click=${this.handleClick}
|
|
23
|
-
>
|
|
24
|
-
|
|
25
|
-
<slot name="prefix" part="prefix" class="button__prefix">
|
|
26
|
-
${this.toggle&&this.pressed&&this.variant==="secondary"?a` <dsa-icon
|
|
27
|
-
part="pressed-check"
|
|
28
|
-
name="check"
|
|
29
|
-
class="button__icon-check"
|
|
30
|
-
library="system"
|
|
31
|
-
></dsa-icon>`:""}
|
|
32
|
-
</slot>
|
|
33
|
-
<slot part="label" class="button__label"></slot>
|
|
34
|
-
<slot name="suffix" part="suffix" class="button__suffix"></slot>
|
|
35
|
-
${this.caret?a`
|
|
36
|
-
<dsa-icon
|
|
37
|
-
part="caret"
|
|
38
|
-
class="button__caret"
|
|
39
|
-
name="expand_more"
|
|
40
|
-
library="system"
|
|
41
|
-
></dsa-icon>
|
|
42
|
-
`:""}
|
|
43
|
-
${this.loading?a`<dsa-spinner variant=${n}></dsa-spinner>`:""}
|
|
44
|
-
</${l}>
|
|
45
|
-
${this.description!==""?a`
|
|
46
|
-
<p id="description" class="button__description">
|
|
47
|
-
${this.description}
|
|
48
|
-
</p>
|
|
49
|
-
`:""}
|
|
50
|
-
`}};t.styles=$,e([m(".button")],t.prototype,"button",2),e([d()],t.prototype,"hasFocus",2),e([d()],t.prototype,"invalid",2),e([i()],t.prototype,"title",2),e([i({reflect:!0})],t.prototype,"variant",2),e([i({reflect:!0})],t.prototype,"size",2),e([i({type:Boolean,reflect:!0})],t.prototype,"caret",2),e([i({type:Boolean,reflect:!0})],t.prototype,"disabled",2),e([i({type:Boolean,reflect:!0})],t.prototype,"loading",2),e([i({type:Boolean,reflect:!0})],t.prototype,"floating",2),e([i({type:Boolean,reflect:!0})],t.prototype,"contrasted",2),e([i({type:Boolean,reflect:!0})],t.prototype,"toggle",2),e([i({type:Boolean,reflect:!0})],t.prototype,"pressed",2),e([i()],t.prototype,"type",2),e([i()],t.prototype,"name",2),e([i()],t.prototype,"value",2),e([i()],t.prototype,"href",2),e([i()],t.prototype,"target",2),e([i()],t.prototype,"rel",2),e([i()],t.prototype,"download",2),e([i()],t.prototype,"form",2),e([i({attribute:"formaction"})],t.prototype,"formAction",2),e([i({attribute:"formenctype"})],t.prototype,"formEnctype",2),e([i({attribute:"formmethod"})],t.prototype,"formMethod",2),e([i({attribute:"formnovalidate",type:Boolean})],t.prototype,"formNoValidate",2),e([i({attribute:"formtarget"})],t.prototype,"formTarget",2),e([i({attribute:"aria-label"})],t.prototype,"ariaLabel",2),e([i({attribute:"accessible-name",reflect:!0})],t.prototype,"accessibleName",2),e([i({attribute:"description"})],t.prototype,"description",2),e([g("disabled",{waitUntilFirstUpdate:!0})],t.prototype,"handleDisabledChange",1),t=e([f("dsa-button")],t);export{t as a};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import{a as c}from"./chunk.ELL45QD3.js";import{a as t}from"./chunk.KLRPP4NQ.js";import{a as m}from"./chunk.B4KFHYLS.js";import{a as n}from"./chunk.2RF4WD6T.js";import{a,b as s,d as i,f as l}from"./chunk.CEOMZJL3.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as o}from"./chunk.IZ2HVRME.js";var e=class extends l{constructor(){super(...arguments);this.hasSlotController=new c(this,"collapsed-summary","summary");this.open=!1;this.collapsed=!1}handleToggle(){this.open=this.accordion.open}async show(){if(!this.open)return this.open=!0,await t(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await t(this,"dsa-after-hide")}focus(d){this.accordion.focus(d)}blur(){this.accordion.blur()}click(){this.accordion.click()}render(){return!this.summary&&!this.hasSlotController.test("summary")&&m("<dsa-sidenav-info-accordion> requires a summary attribute or a summary slot for accessibility"),r`
|
|
2
|
-
<dsa-menu-accordion
|
|
3
|
-
?open=${this.open}
|
|
4
|
-
?collapsed=${n(this.collapsed)}
|
|
5
|
-
sidenav-info
|
|
6
|
-
@dsa-show=${this.handleToggle}
|
|
7
|
-
@dsa-hide=${this.handleToggle}
|
|
8
|
-
>
|
|
9
|
-
<slot name="collapsed-summary" slot="prefix"></slot>
|
|
10
|
-
<slot name="summary" slot="summary">${this.summary}</slot>
|
|
11
|
-
<slot></slot>
|
|
12
|
-
</dsa-menu-accordion>
|
|
13
|
-
`}};o([i("dsa-menu-accordion")],e.prototype,"accordion",2),o([s({type:Boolean,reflect:!0})],e.prototype,"open",2),o([s()],e.prototype,"summary",2),o([s({type:Boolean,reflect:!0})],e.prototype,"collapsed",2),e=o([a("dsa-sidenav-info-accordion")],e);export{e as a};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import{a as v}from"./chunk.GQY4KTZW.js";import{a as g}from"./chunk.ELL45QD3.js";import{a as l}from"./chunk.KLRPP4NQ.js";import{a as n,c as d,d as h}from"./chunk.HHVNQNCC.js";import{a as c,c as m}from"./chunk.TV2TMO2H.js";import{a as b}from"./chunk.B4KFHYLS.js";import{c as _}from"./chunk.4WOVD75K.js";import{d as u}from"./chunk.ZBHHLRFH.js";import{a as w}from"./chunk.BWEPOOQP.js";import{a as y,b as i,d as o,f}from"./chunk.CEOMZJL3.js";import{a as p}from"./chunk.GP725TPQ.js";import{f as a}from"./chunk.IZ2HVRME.js";var e=class extends f{constructor(){super(...arguments);this.localize=new _(this);this.hasSlotController=new g(this,"summary");this.open=!1;this.role="listitem"}firstUpdated(){this.body.hidden=!this.open,this.body.style.height=this.open?"auto":"0"}handleSummaryClick(){this.open?this.hide():this.show(),this.headerButton.focus()}handleSummaryKeyDown(t){(t.key==="Enter"||t.key===" ")&&(t.preventDefault(),this.open?this.hide():this.show()),(t.key==="ArrowUp"||t.key==="ArrowLeft")&&(t.preventDefault(),this.hide()),(t.key==="ArrowDown"||t.key==="ArrowRight")&&(t.preventDefault(),this.show())}async handleOpenChange(){if(this.open){if(this.emit("dsa-show",{cancelable:!0}).defaultPrevented){this.open=!1;return}await d(this.body),this.body.hidden=!1;let{keyframes:r,options:s}=m(this,"accordion.show",{dir:this.localize.dir()});await n(this.body,h(r,this.body.scrollHeight),s),this.body.style.height="auto",this.emit("dsa-after-show")}else{if(this.emit("dsa-hide",{cancelable:!0}).defaultPrevented){this.open=!0;return}await d(this.body);let{keyframes:r,options:s}=m(this,"accordion.hide",{dir:this.localize.dir()});await n(this.body,h(r,this.body.scrollHeight),s),this.body.hidden=!0,this.body.style.height="auto",this.emit("dsa-after-hide")}}async show(){if(!this.open)return this.open=!0,await l(this,"dsa-after-show")}async hide(){if(this.open)return this.open=!1,await l(this,"dsa-after-hide")}render(){return!this.summary&&!this.hasSlotController.test("summary")&&b("<dsa-card-nav-accordion> requires a summary attribute or a summary slot for accessibility"),p`
|
|
2
|
-
<div
|
|
3
|
-
part="base"
|
|
4
|
-
class=${u({"card-nav-accordion":!0,"card-nav-accordion--open":this.open,"card-nav-accordion--chevron":!0})}
|
|
5
|
-
>
|
|
6
|
-
<div part="header" id="header" class="card-nav-accordion__header">
|
|
7
|
-
<span
|
|
8
|
-
role="button"
|
|
9
|
-
aria-expanded=${this.open?"true":"false"}
|
|
10
|
-
aria-controls="content"
|
|
11
|
-
@click=${this.handleSummaryClick}
|
|
12
|
-
@keydown=${this.handleSummaryKeyDown}
|
|
13
|
-
class="card-nav-accordion__header-button"
|
|
14
|
-
tabindex="0"
|
|
15
|
-
>
|
|
16
|
-
<slot name="summary" class="card-nav-accordion__summary"
|
|
17
|
-
>${this.summary}</slot
|
|
18
|
-
>
|
|
19
|
-
|
|
20
|
-
<span part="summary-icon" class="card-nav-accordion__summary-icon">
|
|
21
|
-
<dsa-icon
|
|
22
|
-
class="card-nav-accordion__expand-icon"
|
|
23
|
-
name="expand_more"
|
|
24
|
-
library="system"
|
|
25
|
-
></dsa-icon>
|
|
26
|
-
</span>
|
|
27
|
-
</span>
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div
|
|
31
|
-
class="card-nav-accordion__body"
|
|
32
|
-
role="list"
|
|
33
|
-
aria-labelledby="header"
|
|
34
|
-
>
|
|
35
|
-
<slot
|
|
36
|
-
part="content"
|
|
37
|
-
id="content"
|
|
38
|
-
class="card-nav-accordion__content"
|
|
39
|
-
></slot>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
`}};e.styles=v,a([o(".card-nav-accordion")],e.prototype,"accordion",2),a([o(".card-nav-accordion__header-button")],e.prototype,"headerButton",2),a([o(".card-nav-accordion__body")],e.prototype,"body",2),a([i({type:Boolean,reflect:!0})],e.prototype,"open",2),a([i()],e.prototype,"summary",2),a([i({reflect:!0})],e.prototype,"role",2),a([w("open",{waitUntilFirstUpdate:!0})],e.prototype,"handleOpenChange",1),e=a([y("dsa-card-nav-accordion")],e);c("accordion.show",{keyframes:[{height:"0",opacity:"0"},{height:"auto",opacity:"1"}],options:{duration:250,easing:"linear"}});c("accordion.hide",{keyframes:[{height:"auto",opacity:"1"},{height:"0",opacity:"0"}],options:{duration:250,easing:"linear"}});export{e as a};
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
import{a as w}from"./chunk.ESMXIAXC.js";import{a as S}from"./chunk.U72UDJIM.js";import{a as y}from"./chunk.DUYCHM7G.js";import{b as $,d as D,e as B,f as u,h as l,i as C}from"./chunk.IFSGAJQ4.js";import{a as v}from"./chunk.B4KFHYLS.js";import{a as m}from"./chunk.NIRNX67K.js";import{d as f}from"./chunk.ZBHHLRFH.js";import{a as h}from"./chunk.2RF4WD6T.js";import{a as g}from"./chunk.BWEPOOQP.js";import{a as I,b as r,c as p,d as o}from"./chunk.CEOMZJL3.js";import{a as d}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends w{constructor(){super(...arguments);this.isIconButtonFocused=!1;this.isStartDateValid=!0;this.isEndDateValid=!0;this.value="";this.buttonLabel="";this.range=!1;this.placeholder="";this.hideCalendarButton=!1}connectedCallback(){super.connectedCallback(),this.handleSelectedDate=this.handleSelectedDate.bind(this),this.shouldDisableDate=this.shouldDisableDate.bind(this),this.handleLangChange(),this.currentLocale=this.lang||this.localize.lang()}firstUpdated(){super.firstUpdated(),this.updateComplete.then(()=>{!this.drawer&&this.filterTrigger&&this.filterTrigger.button.setAttribute("aria-expanded","false")})}handleSelectedDate(a){let{detail:i}=a;(!this.range||i.dates.length!==1)&&(this.value=i.dates.map(s=>B(s)).join(","),this.drawer||(this.hide(),this.filterTrigger.focus()),this.emit("dsa-change"))}addOpenListeners(){super.addOpenListeners(),this.addEventListener("dsa-date-selected",this.handleSelectedDate)}removeOpenListeners(){super.removeOpenListeners(),this.removeEventListener("dsa-date-selected",this.handleSelectedDate)}handleChange(){var b,n;let a="",i="";this.isStartDateValid=this.filterInputStart.validity.valid,this.isEndDateValid=(n=(b=this.filterInputEnd)==null?void 0:b.validity.valid)!=null?n:!0;let s=D(this.filterInputStart.value)&&u(this.filterInputStart.value);if(s&&this.shouldDisableDate(s)&&(this.isStartDateValid=!1),a=this.filterInputStart.value,this.range){let c=D(this.filterInputEnd.value)&&u(this.filterInputEnd.value);(c&&this.shouldDisableDate(c)||s&&c<s)&&(this.isEndDateValid=!1),i=this.filterInputEnd.value}this.errorMessages=[...this.isStartDateValid?[]:[this.localize.term(this.range?"invalidStartDate":"invalidDate")],...this.isEndDateValid?[]:[this.localize.term("invalidEndDate")]],this.value=this.range?C(a,i):a,this.emit("dsa-change")}handleChangeInDrawer(){var a,i;this.value=(i=(a=this.drawerFilter)==null?void 0:a.value)!=null?i:""}handleIconButtonFocus(){this.isIconButtonFocused=!0,this.emit("dsa-focus")}handleIconButtonBlur(){this.isIconButtonFocused=!1,this.emit("dsa-blur")}handleReset(){this.value="",this.drawerFilter.filterInputStart.clear(),this.drawerFilter.filterInputEnd.clear(),this.errorMessages=[],this.drawerFilter.filterInputStart.focus({preventScroll:!0}),this.emit("dsa-change")}getFullDateFromISO(a){return u(a).toLocaleDateString(this.lang||this.localize.lang(),{year:"numeric",month:"long",day:"numeric"})}getDescriptionText(a){let i=this.errorMessages.join(", "),s="";if(this.value!=="")if(a==="calendarButton"&&this.range){let n=l(this.value)[0],c=l(this.value)[1];s=`${this.localize.term("selectedDates")}${this.getFullDateFromISO(n)} - ${this.getFullDateFromISO(c)}`}else{let n="";a==="end"?n=l(this.value)[1]:n=this.range?l(this.value)[0]:this.value,s=`${this.localize.term("selectedDate")}${this.getFullDateFromISO(n)}`}return[...this.errorMessages.length>0?[i]:[],...this.value?[s]:[]].join(", ")}shouldDisableDate(a){let i=typeof this.min=="string"&&a<u(this.min),s=typeof this.max=="string"&&a>u(this.max);return i||s}handleFilterDateOpenChange(){this.drawer||(this.open?this.filterTrigger.button.setAttribute("aria-expanded","true"):this.filterTrigger.button.setAttribute("aria-expanded","false"))}handleLangChange(){this.currentLocale=this.lang||this.localize.lang()}handleHideCalendarButtonChange(){!this.drawer&&this.hideCalendarButton&&this.hide()}renderTrigger(){var i;if(this.label||v("<dsa-filter-date> require a label attribute for accessibility"),this.buttonLabel||v("<dsa-filter-date> require a button-label attribute for accessibility"),this.drawer){let s=this.value?`
|
|
2
|
-
${$(this.range?l(this.value)[0]:this.value,this.currentLocale)}
|
|
3
|
-
${this.range?" - ":""}
|
|
4
|
-
${this.range?$(l(this.value)[1],this.currentLocale):""}`:"";return d` <dsa-filter-button
|
|
5
|
-
slot="anchor"
|
|
6
|
-
class="filter__trigger"
|
|
7
|
-
label=${this.label}
|
|
8
|
-
selected-option=${s}
|
|
9
|
-
selection-count=${this.value!==""?1:0}
|
|
10
|
-
aria-expanded=${this.open?"true":"false"}
|
|
11
|
-
aria-controls="filter__panel"
|
|
12
|
-
?disabled=${this.disabled}
|
|
13
|
-
?readonly=${this.readonly}
|
|
14
|
-
?drawer=${this.drawer}
|
|
15
|
-
@focus=${this.handleFocus}
|
|
16
|
-
@blur=${this.handleBlur}
|
|
17
|
-
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
18
|
-
></dsa-filter-button>`}let a=this.value!=="";return d`
|
|
19
|
-
<fieldset
|
|
20
|
-
slot="anchor"
|
|
21
|
-
part="filter-button"
|
|
22
|
-
class=${f({"filter-button":!0,"filter-button--date-active":a,"filter-button--opened":this.open,"filter-button--readonly":this.readonly,"filter-button--disabled":this.disabled,"filter-button--icon-focused":this.isIconButtonFocused,"filter-button--no-calendar":this.hideCalendarButton})}
|
|
23
|
-
>
|
|
24
|
-
<legend part="filter-label" id="filter-label" class="filter-label">
|
|
25
|
-
${this.label}${" : "}
|
|
26
|
-
</legend>
|
|
27
|
-
|
|
28
|
-
<dsa-internal-date-field
|
|
29
|
-
id="input-start"
|
|
30
|
-
class=${f({"filter-input":!0,"filter-input--invalid":!this.isStartDateValid})}
|
|
31
|
-
.value=${y(this.range?l(this.value)[0]:this.value)}
|
|
32
|
-
@dsa-change=${this.handleChange}
|
|
33
|
-
?disabled=${this.disabled}
|
|
34
|
-
?readonly=${this.readonly}
|
|
35
|
-
parent-name=${this.range?`${this.label} - ${this.localize.term("startDate")}`:this.label}
|
|
36
|
-
description=${this.getDescriptionText("start")}
|
|
37
|
-
lang=${h(this.lang)}
|
|
38
|
-
></dsa-internal-date-field>
|
|
39
|
-
${this.range?d`
|
|
40
|
-
<span class="filter-separator">-</span>
|
|
41
|
-
<dsa-internal-date-field
|
|
42
|
-
id="input-end"
|
|
43
|
-
class=${f({"filter-input":!0,"filter-input--invalid":!this.isEndDateValid})}
|
|
44
|
-
.value=${(i=l(this.value)[1])!=null?i:""}
|
|
45
|
-
@dsa-change=${this.handleChange}
|
|
46
|
-
?disabled=${this.disabled}
|
|
47
|
-
?readonly=${this.readonly}
|
|
48
|
-
parent-name=${`${this.label} - ${this.localize.term("endDate")}`}
|
|
49
|
-
description=${this.getDescriptionText("end")}
|
|
50
|
-
min=${y(l(this.value)[0])}
|
|
51
|
-
lang=${h(this.lang)}
|
|
52
|
-
></dsa-internal-date-field>
|
|
53
|
-
`:""}
|
|
54
|
-
${this.hideCalendarButton?"":d`
|
|
55
|
-
<dsa-icon-button
|
|
56
|
-
part="date-button"
|
|
57
|
-
class="filter__trigger"
|
|
58
|
-
type="button"
|
|
59
|
-
size="small"
|
|
60
|
-
name="calendar_today"
|
|
61
|
-
@focus=${this.handleIconButtonFocus}
|
|
62
|
-
@blur=${this.handleIconButtonBlur}
|
|
63
|
-
label=${m(this.buttonLabel)}
|
|
64
|
-
description=${this.getDescriptionText("calendarButton")}
|
|
65
|
-
?disabled=${this.disabled||this.readonly}
|
|
66
|
-
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
67
|
-
library="system"
|
|
68
|
-
>
|
|
69
|
-
</dsa-icon-button>
|
|
70
|
-
`}
|
|
71
|
-
</fieldset>
|
|
72
|
-
`}renderDrawerPanelContent(){return d`
|
|
73
|
-
<div class="filter__content">
|
|
74
|
-
<dsa-filter-date
|
|
75
|
-
id="drawer__filter"
|
|
76
|
-
button-label=${this.buttonLabel}
|
|
77
|
-
calendar-start-date=${this.calendarStartDate}
|
|
78
|
-
hide-calendar-button=${this.hideCalendarButton}
|
|
79
|
-
hoist
|
|
80
|
-
label=${this.label}
|
|
81
|
-
lang=${this.lang}
|
|
82
|
-
max=${m(this.max)}
|
|
83
|
-
min=${m(this.min)}
|
|
84
|
-
placeholder=${this.placeholder}
|
|
85
|
-
placement="bottom"
|
|
86
|
-
?range=${this.range}
|
|
87
|
-
value=${this.value}
|
|
88
|
-
@dsa-change=${this.handleChangeInDrawer}
|
|
89
|
-
></dsa-filter-date>
|
|
90
|
-
</div>
|
|
91
|
-
<div class="filter__footer">
|
|
92
|
-
<dsa-button
|
|
93
|
-
variant="tertiary"
|
|
94
|
-
size="small"
|
|
95
|
-
class="reset__button"
|
|
96
|
-
@click=${this.handleReset}
|
|
97
|
-
?disabled=${this.value===""}
|
|
98
|
-
>
|
|
99
|
-
<dsa-icon
|
|
100
|
-
name="restart_alt"
|
|
101
|
-
slot="prefix"
|
|
102
|
-
library="system"
|
|
103
|
-
></dsa-icon>
|
|
104
|
-
${this.localize.term("filterReset")}
|
|
105
|
-
</dsa-button>
|
|
106
|
-
</div>
|
|
107
|
-
`}renderPanelContent(){return this.drawer?this.renderDrawerPanelContent():d`
|
|
108
|
-
<dsa-calendar
|
|
109
|
-
class="calendar"
|
|
110
|
-
.value=${h(this.value)}
|
|
111
|
-
?range=${h(this.range)}
|
|
112
|
-
.disableDate=${this.shouldDisableDate}
|
|
113
|
-
start-date=${h(this.calendarStartDate)}
|
|
114
|
-
></dsa-calendar>
|
|
115
|
-
`}};t.styles=S,e([p()],t.prototype,"isIconButtonFocused",2),e([o(".calendar")],t.prototype,"calendar",2),e([o("#input-start")],t.prototype,"filterInputStart",2),e([o("#input-end")],t.prototype,"filterInputEnd",2),e([o(".filter__trigger")],t.prototype,"filterTrigger",2),e([o("#drawer__filter")],t.prototype,"drawerFilter",2),e([p()],t.prototype,"currentLocale",2),e([p()],t.prototype,"isStartDateValid",2),e([p()],t.prototype,"isEndDateValid",2),e([r({reflect:!0})],t.prototype,"value",2),e([r({attribute:"button-label"})],t.prototype,"buttonLabel",2),e([r({type:Boolean,reflect:!0})],t.prototype,"range",2),e([r()],t.prototype,"lang",2),e([r()],t.prototype,"placeholder",2),e([r()],t.prototype,"min",2),e([r()],t.prototype,"max",2),e([r({attribute:"calendar-start-date"})],t.prototype,"calendarStartDate",2),e([r({attribute:"hide-calendar-button",type:Boolean})],t.prototype,"hideCalendarButton",2),e([g("open",{waitUntilFirstUpdate:!0})],t.prototype,"handleFilterDateOpenChange",1),e([g("lang")],t.prototype,"handleLangChange",1),e([g("hideCalendarButton")],t.prototype,"handleHideCalendarButtonChange",1),t=e([I("dsa-filter-date")],t);export{t as a};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{a as p}from"./chunk.YZCUYRA4.js";import{a as h}from"./chunk.U4TME7DS.js";import{b as c}from"./chunk.FWTZS7LK.js";import{a as n}from"./chunk.BWEPOOQP.js";import{b as r,c as a,d as u}from"./chunk.CEOMZJL3.js";import{a as o}from"./chunk.GP725TPQ.js";import{f as i}from"./chunk.IZ2HVRME.js";var e=class extends p{constructor(){super(...arguments);this.hasFocus=!1;this.formControlController=new c(this,{assumeInteractionOn:["dsa-blur","dsa-input"]});this.type="text";this.value="";this.defaultValue="";this.clearable=!1;this.passwordVisible=!1;this.counter=!1;this._autocorrect="off";this.spellcheck=!0}get autocorrect(){return this._autocorrect==="on"}set autocorrect(t){this._autocorrect=t?"on":"off"}get valueAsDate(){var t;return(t=this.input.valueAsDate)!=null?t:null}set valueAsDate(t){let s=document.createElement("input");s.type="date",s.valueAsDate=t,this.value=s.value}get valueAsNumber(){var t;return(t=this.input.valueAsNumber)!=null?t:parseFloat(this.value)}set valueAsNumber(t){let s=document.createElement("input");s.type="number",s.valueAsNumber=t,this.value=s.value}get validity(){var t,s;return(s=(t=this.input)==null?void 0:t.validity)!=null?s:!0}get validationMessage(){return this.input.validationMessage}async firstUpdated(){await this.updateComplete,this.formControlController.updateValidity()}handleBlur(){this.hasFocus=!1,this.emit("dsa-blur")}handleChange(t){this.input.value!==this.value&&(this.value=this.input.value),this.emit("dsa-change")}handleClearClick(t){this.value="",this.emit("dsa-clear"),this.emit("dsa-input"),this.emit("dsa-change"),this.input.focus(),t.stopPropagation()}handleFocus(){this.hasFocus=!0,this.emit("dsa-focus")}handleInput(t){this.value=this.input.value,this.formControlController.updateValidity(),this.emit("dsa-input")}handleInvalid(t){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(t)}handleKeyDown(t){let s=t.metaKey||t.ctrlKey||t.shiftKey||t.altKey;t.key==="Enter"&&!s&&setTimeout(()=>{!t.defaultPrevented&&!t.isComposing&&this.formControlController.submit()})}getDescriptionIds(){let t=["input__prefix","input__suffix"];return this.error&&(t=[...t,"error-text"]),this.success&&(t=[...t,"success-text"]),t=[...t,"help-text"],this.maxlength&&this.counter&&(t=[...t,"counter"]),t=[...t,"description"],t.join(" ")}handleDisabledChange(){this.formControlController.setValidity(this.disabled)}handleStepChange(){this.input.step=String(this.step),this.formControlController.updateValidity()}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity()}focus(t){this.input.focus(t)}blur(){this.input.blur()}select(){this.input instanceof HTMLInputElement&&this.input.select()}setSelectionRange(t,s,l="none"){this.input instanceof HTMLInputElement&&this.input.setSelectionRange(t,s,l)}setRangeText(t,s,l,d){this.input instanceof HTMLInputElement&&(this.input.setRangeText(t,s,l,d),this.value!==this.input.value&&(this.value=this.input.value))}stepUp(t){this.input.stepUp(t),this.value!==this.input.value&&(this.value=this.input.value)}stepDown(t){this.input.stepDown(t),this.value!==this.input.value&&(this.value=this.input.value)}checkValidity(){return this.input.checkValidity()}getForm(){return this.formControlController.getForm()}reportValidity(){return this.input.reportValidity()}setCustomValidity(t){this.input.setCustomValidity(t),this.formControlController.updateValidity()}renderSuccessMessage(){return Array.isArray(this.successMessage)&&this.successMessage.length>1?o` <div
|
|
2
|
-
id="success-text"
|
|
3
|
-
class="form-control__success-text"
|
|
4
|
-
role="list"
|
|
5
|
-
>
|
|
6
|
-
${this.successMessage.map(t=>o`
|
|
7
|
-
<dsa-success-text role="listitem"> ${t} </dsa-success-text>
|
|
8
|
-
`)}
|
|
9
|
-
</div>`:o` <div id="success-text" class="form-control__success-text">
|
|
10
|
-
<dsa-success-text> ${this.successMessage} </dsa-success-text>
|
|
11
|
-
</div>`}};i([a()],e.prototype,"hasFocus",2),i([u("input")],e.prototype,"input",2),i([r({reflect:!0})],e.prototype,"type",2),i([r()],e.prototype,"value",2),i([h()],e.prototype,"defaultValue",2),i([r({type:Boolean})],e.prototype,"clearable",2),i([r({attribute:"password-visible",type:Boolean})],e.prototype,"passwordVisible",2),i([r()],e.prototype,"pattern",2),i([r({type:Number})],e.prototype,"minlength",2),i([r({type:Number})],e.prototype,"maxlength",2),i([r({type:Boolean})],e.prototype,"counter",2),i([r()],e.prototype,"min",2),i([r()],e.prototype,"max",2),i([r()],e.prototype,"step",2),i([r()],e.prototype,"autocapitalize",2),i([r({attribute:"autocorrect"})],e.prototype,"_autocorrect",2),i([r()],e.prototype,"autocomplete",2),i([r({type:Boolean})],e.prototype,"autofocus",2),i([r()],e.prototype,"enterkeyhint",2),i([r({type:Boolean,converter:{fromAttribute:t=>!(!t||t==="false"),toAttribute:t=>t?"true":"false"}})],e.prototype,"spellcheck",2),i([r()],e.prototype,"inputmode",2),i([n("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),i([n("step",{waitUntilFirstUpdate:!0})],e.prototype,"handleStepChange",1),i([n("value",{waitUntilFirstUpdate:!0})],e.prototype,"handleValueChange",1);export{e as a};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk.KJPMO2NG.js";import{a as p}from"./chunk.K747WAAP.js";import{a as n}from"./chunk.ELL45QD3.js";import{c as f}from"./chunk.4WOVD75K.js";import{d as l}from"./chunk.ZBHHLRFH.js";import{a}from"./chunk.2RF4WD6T.js";import{a as r,b as s,f as i}from"./chunk.CEOMZJL3.js";import{a as e}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var o=class extends i{constructor(){super(...arguments);this.hasSlotController=new n(this,"footer-top","footer-center","second-logo");this.localize=new f(this);this.mobile=!1}render(){let c=this.hasSlotController.test("footer-top"),d=this.hasSlotController.test("footer-center");return e`
|
|
2
|
-
<footer
|
|
3
|
-
role="contentinfo"
|
|
4
|
-
id="footer"
|
|
5
|
-
part="base"
|
|
6
|
-
class=${l({"footer--has-top-section":c,"footer--has-center-section":d,"footer--mobile":this.mobile===!0,"footer--desktop":this.mobile===!1})}
|
|
7
|
-
>
|
|
8
|
-
<slot part="footer-top" name="footer-top"> </slot>
|
|
9
|
-
<dsa-divider class="footer-top-divider"></dsa-divider>
|
|
10
|
-
<slot part="footer-center" name="footer-center"> </slot>
|
|
11
|
-
<dsa-divider class="footer-center-divider"></dsa-divider>
|
|
12
|
-
<section part="footer-bottom-container">
|
|
13
|
-
<div class="footer-logos">
|
|
14
|
-
<span class="logo">
|
|
15
|
-
${m(this.localize.term("cnsaFooterLogoLabel"))}
|
|
16
|
-
</span>
|
|
17
|
-
<slot
|
|
18
|
-
name="second-logo"
|
|
19
|
-
class=${a(this.hasSlotController.test("second-logo")?"logo":void 0)}
|
|
20
|
-
></slot>
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
<slot part="footer-bottom" name="footer-bottom"></slot>
|
|
24
|
-
</section>
|
|
25
|
-
</footer>
|
|
26
|
-
`}};o.styles=p,t([s({type:Boolean})],o.prototype,"mobile",2),o=t([r("dsa-footer")],o);export{o as a};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk.YG4POYBS.js";import{a}from"./chunk.N6IYJMR7.js";import{a as i}from"./chunk.BWEPOOQP.js";import{a as o,b as s}from"./chunk.CEOMZJL3.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends a{constructor(){super(...arguments);this.role="cell"}handleLoading(){this.setAttribute("aria-hidden",this.loading.toString())}render(){return this.loading?r`<dsa-skeleton effect=${this.skeletonEffect}></dsa-skeleton>`:r`<slot></slot> `}};t.styles=m,e([s({reflect:!0})],t.prototype,"role",2),e([i("loading")],t.prototype,"handleLoading",1),t=e([o("dsa-table-cell")],t);export{t as a};
|
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
import{a as B}from"./chunk.NLVJBP2P.js";import{a as y,c as H,d as T}from"./chunk.HFRREETM.js";import{a as F}from"./chunk.ISAALGRC.js";import{c as O}from"./chunk.3RLUYXJN.js";import{a as z}from"./chunk.DUYCHM7G.js";import{a as S}from"./chunk.KLRPP4NQ.js";import{a as w,c as $}from"./chunk.HHVNQNCC.js";import{a as U,c as D}from"./chunk.TV2TMO2H.js";import{a as E}from"./chunk.NIRNX67K.js";import{c as _}from"./chunk.4WOVD75K.js";import{d as k}from"./chunk.ZBHHLRFH.js";import{a as f}from"./chunk.2RF4WD6T.js";import{a as v}from"./chunk.BWEPOOQP.js";import{a as C,b,c as M,d as g}from"./chunk.CEOMZJL3.js";import{a as d}from"./chunk.GP725TPQ.js";import{f as h}from"./chunk.IZ2HVRME.js";var a=class extends F{constructor(){super(...arguments);this.localize=new _(this);this.isTimePickerOpen=!1;this.min="00:00";this.max="23:59";this.step=60;this.hoist=!1}connectedCallback(){super.connectedCallback(),this.handleDocumentFocusIn=this.handleDocumentFocusIn.bind(this),this.handleDocumentMouseDown=this.handleDocumentMouseDown.bind(this)}addOpenListeners(){document.addEventListener("focusin",this.handleDocumentFocusIn),document.addEventListener("mousedown",this.handleDocumentMouseDown)}removeOpenListeners(){document.removeEventListener("focusin",this.handleDocumentFocusIn),document.removeEventListener("mousedown",this.handleDocumentMouseDown)}handleDocumentFocusIn(e){let t=e.composedPath();this&&!t.includes(this)&&this.hideTimePicker()}handleDocumentMouseDown(e){let t=e.composedPath();this&&!t.includes(this)&&this.hideTimePicker()}handleDefaultKeyDown(e){this.isTimePickerOpen&&e.key==="Escape"&&(e.preventDefault(),e.stopPropagation(),this.hideTimePicker()),this.isTimePickerOpen&&e.key==="Tab"&&setTimeout(()=>{var c,i;let n=(this==null?void 0:this.getRootNode())instanceof ShadowRoot?(i=(c=document.activeElement)==null?void 0:c.shadowRoot)==null?void 0:i.activeElement:document.activeElement;(!this||(n==null?void 0:n.closest(this.tagName.toLowerCase()))!==this)&&this.hideTimePicker()}),e.composedPath().some(n=>n===this.timePickerButton)&&(e.key==="Enter"||e.key===" ")&&(e.preventDefault(),this.toggleTimePicker())}handleKeyDown(e){super.handleKeyDown(e),e.key===" "&&(e.preventDefault(),this.showTimePicker())}getDescriptionIds(){let e=["input__prefix","input__suffix"];return this.error&&(e=[...e,"error-text"]),e=[...e,"selected-value","help-text","description"],e.join(" ")}async handleValueChange(){await this.updateComplete,this.formControlController.updateValidity(),this.isTimePickerOpen&&this.scrollSelectedTimeUnitsIntoView()}async handleOpenChange(){var e,t;if(this.isTimePickerOpen){this.emit("dsa-show"),this.addOpenListeners(),await $(this),this.popup.active=!0,this.timePickerButton.button.setAttribute("aria-expanded","true");let{keyframes:s,options:n}=D(this,"time-popup.show",{dir:this.localize.dir()});await w(this.popup.popup,s,n),this.emit("dsa-after-show"),this.scrollSelectedTimeUnitsIntoView(),(t=(e=this.popup.querySelector('[aria-selected="true"]'))!=null?e:this.popup.querySelector("li"))==null||t.focus()}else{this.emit("dsa-hide"),this.removeOpenListeners(),await $(this),this.popup.active=!1,this.timePickerButton.button.setAttribute("aria-expanded","false"),this.timePickerButton.focus({preventScroll:!0});let{keyframes:s,options:n}=D(this,"time-popup.hide",{dir:this.localize.dir()});await w(this.popup.popup,s,n),this.emit("dsa-after-hide")}}toggleTimePicker(){this.isTimePickerOpen?this.hideTimePicker():this.showTimePicker()}async showTimePicker(){return this.value===""||T(this.value,this.min)===-1?(this.value=this.min,this.emit("dsa-change")):T(this.value,this.max)===1&&(this.value=this.max,this.emit("dsa-change")),this.isTimePickerOpen=!0,await S(this,"dsa-after-show")}async hideTimePicker(){if(this.isTimePickerOpen)return this.isTimePickerOpen=!1,await S(this,"dsa-after-hide")}scrollSelectedTimeUnitsIntoView(){this.popup.querySelectorAll('[aria-selected="true"]').forEach(t=>{O(t,t.parentElement,"vertical","auto")})}selectTimeUnit(e){let t=this.value,s=H(t,e.dataset.timetype,e.dataset.timevalue);this.emit("dsa-input"),T(s,this.min)===-1?(this.value=this.min,this.emit("dsa-change")):T(s,this.max)===1?(this.value=this.max,this.emit("dsa-change")):this.value!==s&&(this.value=s,this.emit("dsa-change"))}handlePanelKeydown(e){var t,s,n,c;if(["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"," "].includes(e.key)&&e.preventDefault(),e.key==="ArrowUp"){let i=(t=e.target.closest("li"))==null?void 0:t.previousElementSibling;if(!i)return;i.focus(),this.selectTimeUnit(i)}if(e.key==="ArrowDown"){let i=(s=e.target.closest("li"))==null?void 0:s.nextElementSibling;if(!i)return;i.focus(),this.selectTimeUnit(i)}if(e.key==="ArrowLeft"){let i=e.target.closest("ul");if(!(i instanceof HTMLUListElement))return;let o=i.previousElementSibling;if(!(o instanceof HTMLUListElement))return;let l=(n=o.querySelector('li[aria-selected="true"]'))!=null?n:o.querySelector("li");if(!l)return;l.focus(),this.selectTimeUnit(l)}if(e.key==="ArrowRight"){let i=e.target.closest("ul");if(!(i instanceof HTMLUListElement))return;let o=i.nextElementSibling;if(!(o instanceof HTMLUListElement))return;let l=(c=o.querySelector('li[aria-selected="true"]'))!=null?c:o.querySelector("li");if(!l)return;l.focus(),this.selectTimeUnit(l)}e.key==="Enter"&&this.hideTimePicker()}handlePanelClick(e){let t=e.target.closest("li");!(t!=null&&t.dataset.timetype)||!t.dataset.timevalue||this.selectTimeUnit(t)}generateTimeUnitArrays(){var u;let e=y(this.min),t=y(this.max);if(!e||!t)throw new Error("Invalid min or max time values");let s=(u=y(this.value))!=null?u:e,n=this.step>3600?Math.floor(this.step/3600):1,c=Array.from({length:24},(r,p)=>p).filter(r=>r>=e.hours&&r<=t.hours&&r%n===0),i=this.step>60?Math.floor(this.step%3600/60):1,o=Array.from({length:60},(r,p)=>p).filter(r=>s.hours===(e==null?void 0:e.hours)?r>=(e==null?void 0:e.minutes)&&r%i===0:s.hours===(t==null?void 0:t.hours)?r<=(t==null?void 0:t.minutes)&&r%i===0:this.step>60?r%i===0:!0);o.length===0&&(o[0]=0);let l=this.step%60,m=Array.from({length:60},(r,p)=>p).filter(r=>r%l===0);return{displayedHours:c,displayedMinutes:o,displayedSeconds:m}}generateTimeUnitList(e,t){var o,l;let s=y(this.min),c=(l=((o=y(this.value))!=null?o:s)[e])!=null?l:0,i=(m,u)=>{switch(m){case"hours":return this.localize.term("hours",u);case"minutes":return this.localize.term("minutes",u);case"seconds":return this.localize.term("seconds",u);case"milliseconds":return this.localize.term("milliseconds",u);default:return""}};return t.length===0?d``:d`
|
|
2
|
-
<ul
|
|
3
|
-
id="${e}-list"
|
|
4
|
-
class="time-popup--unit-container"
|
|
5
|
-
role="listbox"
|
|
6
|
-
aria-label=${this.localize.term(e,"")}
|
|
7
|
-
tabindex="-1"
|
|
8
|
-
>
|
|
9
|
-
${t.map(m=>d`
|
|
10
|
-
<li
|
|
11
|
-
data-timetype="${e}"
|
|
12
|
-
data-timevalue="${m}"
|
|
13
|
-
role="option"
|
|
14
|
-
aria-selected="${c===m?"true":"false"}"
|
|
15
|
-
tabindex="${m===c?0:-1}"
|
|
16
|
-
class=${k({"time-popup--unit":!0,"time-popup--unit-selected":m===c})}
|
|
17
|
-
>
|
|
18
|
-
<span aria-hidden="true"
|
|
19
|
-
>${m.toString().padStart(2,"0")}</span
|
|
20
|
-
>
|
|
21
|
-
<dsa-visually-hidden
|
|
22
|
-
>${i(e,m)}</dsa-visually-hidden
|
|
23
|
-
>
|
|
24
|
-
</li>
|
|
25
|
-
`)}
|
|
26
|
-
</ul>
|
|
27
|
-
`}renderInput(){var P,L,A,x;let e=this.hasSlotController.test("label"),t=this.hasSlotController.test("prefix"),s=this.hasSlotController.test("suffix"),n=this.label?!0:!!e,c=this.clearable&&!this.disabled&&!this.readonly&&this.value.length>0,{displayedHours:i,displayedMinutes:o,displayedSeconds:l}=this.generateTimeUnitArrays(),m=this.generateTimeUnitList("hours",i),u=this.generateTimeUnitList("minutes",o),r=this.generateTimeUnitList("seconds",l),p=`${this.localize.term("selectedTime")}${this.value}`;return d`
|
|
28
|
-
<div
|
|
29
|
-
part="base"
|
|
30
|
-
class=${k({input:!0,"input--time":!0,"input--small":this.size==="small","input--medium":this.size==="medium","input--large":this.size==="large","input--error":this.error,"input--success":this.success&&!this.error,"input--on-layer":this.variant==="layer","input--on-base":this.variant==="base","input--disabled":this.disabled,"input--readonly":this.readonly,"input--focused":this.hasFocus,"input--empty":!this.value,"form-control--has-prefix-icon":t})}
|
|
31
|
-
@keydown=${this.handleDefaultKeyDown}
|
|
32
|
-
>
|
|
33
|
-
<slot
|
|
34
|
-
name="prefix"
|
|
35
|
-
part="prefix"
|
|
36
|
-
id="input__prefix"
|
|
37
|
-
class="input__prefix"
|
|
38
|
-
></slot>
|
|
39
|
-
|
|
40
|
-
<input
|
|
41
|
-
part="input"
|
|
42
|
-
id="input"
|
|
43
|
-
class="input__control"
|
|
44
|
-
type="time"
|
|
45
|
-
title=${E(n?void 0:(P=this.accessibleName)!=null?P:this.title)}
|
|
46
|
-
name=${E(this.name)}
|
|
47
|
-
?disabled=${this.disabled}
|
|
48
|
-
?readonly=${this.readonly}
|
|
49
|
-
?required=${this.required}
|
|
50
|
-
min=${f(this.min)}
|
|
51
|
-
max=${f(this.max)}
|
|
52
|
-
step=${this.step}
|
|
53
|
-
.value=${z(this.value)}
|
|
54
|
-
autocomplete=${f(this.autocomplete)}
|
|
55
|
-
?autofocus=${this.autofocus}
|
|
56
|
-
enterkeyhint=${f(this.enterkeyhint)}
|
|
57
|
-
inputmode="numeric"
|
|
58
|
-
aria-label=${E(n?void 0:(L=this.accessibleName)!=null?L:this.title)}
|
|
59
|
-
aria-describedby=${this.getDescriptionIds()}
|
|
60
|
-
aria-invalid=${f(this.error?"true":void 0)}
|
|
61
|
-
@change=${this.handleChange}
|
|
62
|
-
@input=${this.handleInput}
|
|
63
|
-
@invalid=${this.handleInvalid}
|
|
64
|
-
@keydown=${this.handleKeyDown}
|
|
65
|
-
@focus=${this.handleFocus}
|
|
66
|
-
@blur=${this.handleBlur}
|
|
67
|
-
/>
|
|
68
|
-
|
|
69
|
-
${s?d`<slot
|
|
70
|
-
name="suffix"
|
|
71
|
-
id="input__suffix"
|
|
72
|
-
class="input__suffix"
|
|
73
|
-
></slot>`:""}
|
|
74
|
-
${c?d`
|
|
75
|
-
<dsa-icon-button
|
|
76
|
-
part="clear-button"
|
|
77
|
-
class="input__action-button"
|
|
78
|
-
name="clear"
|
|
79
|
-
label=${this.localize.term("clearEntry")}
|
|
80
|
-
@click=${this.handleClearClick}
|
|
81
|
-
library="system"
|
|
82
|
-
></dsa-icon-button>
|
|
83
|
-
`:""}
|
|
84
|
-
|
|
85
|
-
<dsa-popup
|
|
86
|
-
class="time-popup"
|
|
87
|
-
part="popup"
|
|
88
|
-
placement="bottom-end"
|
|
89
|
-
distance="12"
|
|
90
|
-
strategy=${this.hoist?"fixed":"absolute"}
|
|
91
|
-
flip
|
|
92
|
-
shift
|
|
93
|
-
auto-size="both"
|
|
94
|
-
auto-size-padding="10"
|
|
95
|
-
>
|
|
96
|
-
<div slot="anchor" class="time-anchor">
|
|
97
|
-
<dsa-icon-button
|
|
98
|
-
part="picker-button"
|
|
99
|
-
class="input__action-button icon-button--time"
|
|
100
|
-
name="schedule"
|
|
101
|
-
label=${`${this.localize.term("selectATime")} - ${(x=(A=this.label)!=null?A:this.accessibleName)!=null?x:this.title}`}
|
|
102
|
-
@click=${this.toggleTimePicker}
|
|
103
|
-
library="system"
|
|
104
|
-
size=${this.size}
|
|
105
|
-
?disabled=${this.disabled||this.readonly}
|
|
106
|
-
description=${f(this.value!==""?p:void 0)}
|
|
107
|
-
></dsa-icon-button>
|
|
108
|
-
</div>
|
|
109
|
-
|
|
110
|
-
<div
|
|
111
|
-
id="time-popup--panel"
|
|
112
|
-
class="time-popup--panel"
|
|
113
|
-
@keydown=${this.handlePanelKeydown}
|
|
114
|
-
@click=${this.handlePanelClick}
|
|
115
|
-
>
|
|
116
|
-
${m} ${u} ${r}
|
|
117
|
-
</div>
|
|
118
|
-
</dsa-popup>
|
|
119
|
-
</div>
|
|
120
|
-
<p id="selected-value" class="input--time-description">
|
|
121
|
-
${this.localize.term("selectedTime")}${this.value}
|
|
122
|
-
</p>
|
|
123
|
-
`}};a.styles=B,h([g(".icon-button--time")],a.prototype,"timePickerButton",2),h([g(".time-popup")],a.prototype,"popup",2),h([M()],a.prototype,"isTimePickerOpen",2),h([b()],a.prototype,"min",2),h([b()],a.prototype,"max",2),h([b({converter:{fromAttribute:e=>e==="any"?60:Number(e)}})],a.prototype,"step",2),h([b({type:Boolean})],a.prototype,"hoist",2),h([v("value",{waitUntilFirstUpdate:!0})],a.prototype,"handleValueChange",1),h([v("isTimePickerOpen",{waitUntilFirstUpdate:!0})],a.prototype,"handleOpenChange",1),a=h([C("dsa-input-time")],a);U("time-popup.show",{keyframes:[{opacity:0,scale:.9},{opacity:1,scale:1}],options:{duration:100,easing:"ease"}});U("time-popup.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.9}],options:{duration:100,easing:"ease"}});export{a};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import{a as m}from"./chunk.FC4RDJJF.js";import{a as z}from"./chunk.JP66XCHO.js";import{c as w}from"./chunk.4WOVD75K.js";import{a as y}from"./chunk.2RF4WD6T.js";import{a as c}from"./chunk.BWEPOOQP.js";import{a as u,b as h,d as g,f as b}from"./chunk.CEOMZJL3.js";import{a as x}from"./chunk.UMC4I57R.js";import{a as f}from"./chunk.GP725TPQ.js";import{f as n}from"./chunk.IZ2HVRME.js";function P(p,r){function e(o){let a=p.getBoundingClientRect(),s=p.ownerDocument.defaultView,v=a.left+s.pageXOffset,d=a.top+s.pageYOffset,l=o.pageX-v,T=o.pageY-d;r!=null&&r.onMove&&r.onMove(l,T)}function t(){document.removeEventListener("pointermove",e),document.removeEventListener("pointerup",t),r!=null&&r.onStop&&r.onStop()}document.addEventListener("pointermove",e,{passive:!0}),document.addEventListener("pointerup",t),(r==null?void 0:r.initialEvent)instanceof PointerEvent&&e(r.initialEvent)}var i=class extends b{constructor(){super(...arguments);this.localize=new w(this);this.position=50;this.vertical=!1;this.disabled=!1;this.snapThreshold=12}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(e=>this.handleResize(e)),this.updateComplete.then(()=>this.resizeObserver.observe(this)),this.detectSize(),this.cachedPositionInPixels=this.percentageToPixels(this.position)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.resizeObserver)==null||e.unobserve(this)}detectSize(){let{width:e,height:t}=this.getBoundingClientRect();this.size=this.vertical?t:e}percentageToPixels(e){return this.size*(e/100)}pixelsToPercentage(e){return e/this.size*100}handleDrag(e){let t=this.localize.dir()==="rtl";this.disabled||(e.cancelable&&e.preventDefault(),P(this,{onMove:(o,a)=>{let s=this.vertical?a:o;this.primary==="end"&&(s=this.size-s),this.snap&&this.snap.split(" ").forEach(d=>{let l;d.endsWith("%")?l=this.size*(parseFloat(d)/100):l=parseFloat(d),t&&!this.vertical&&(l=this.size-l),s>=l-this.snapThreshold&&s<=l+this.snapThreshold&&(s=l)}),this.position=m(this.pixelsToPercentage(s),0,100)},initialEvent:e}))}handleKeyDown(e){if(!this.disabled&&["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=this.position,o=(e.shiftKey?10:1)*(this.primary==="end"?-1:1);e.preventDefault(),(e.key==="ArrowLeft"&&!this.vertical||e.key==="ArrowUp"&&this.vertical)&&(t-=o),(e.key==="ArrowRight"&&!this.vertical||e.key==="ArrowDown"&&this.vertical)&&(t+=o),e.key==="Home"&&(t=this.primary==="end"?100:0),e.key==="End"&&(t=this.primary==="end"?0:100),this.position=m(t,0,100)}}handleResize(e){let{width:t,height:o}=e[0].contentRect;this.size=this.vertical?o:t,(isNaN(this.cachedPositionInPixels)||this.position===1/0)&&(this.cachedPositionInPixels=Number(this.getAttribute("position-in-pixels")),this.positionInPixels=Number(this.getAttribute("position-in-pixels")),this.position=this.pixelsToPercentage(this.positionInPixels)),this.primary&&(this.position=this.pixelsToPercentage(this.cachedPositionInPixels))}handlePositionChange(){this.cachedPositionInPixels=this.percentageToPixels(this.position),this.positionInPixels=this.percentageToPixels(this.position),this.emit("dsa-reposition")}handlePositionInPixelsChange(){this.position=this.pixelsToPercentage(this.positionInPixels)}handleVerticalChange(){this.detectSize()}render(){let e=this.vertical?"gridTemplateRows":"gridTemplateColumns",t=this.vertical?"gridTemplateColumns":"gridTemplateRows",o=this.localize.dir()==="rtl",a=`
|
|
2
|
-
clamp(
|
|
3
|
-
0%,
|
|
4
|
-
clamp(
|
|
5
|
-
var(--min),
|
|
6
|
-
${this.position}% - var(--divider-width) / 2,
|
|
7
|
-
var(--max)
|
|
8
|
-
),
|
|
9
|
-
calc(100% - var(--divider-width))
|
|
10
|
-
)
|
|
11
|
-
`,s="auto";return this.primary==="end"?o&&!this.vertical?this.style[e]=`${a} var(--divider-width) ${s}`:this.style[e]=`${s} var(--divider-width) ${a}`:o&&!this.vertical?this.style[e]=`${s} var(--divider-width) ${a}`:this.style[e]=`${a} var(--divider-width) ${s}`,this.style[t]="",f`
|
|
12
|
-
<slot name="start" part="panel start" class="start"></slot>
|
|
13
|
-
|
|
14
|
-
<div
|
|
15
|
-
part="divider"
|
|
16
|
-
class="divider"
|
|
17
|
-
tabindex=${y(this.disabled?void 0:"0")}
|
|
18
|
-
role="separator"
|
|
19
|
-
aria-valuenow=${this.position}
|
|
20
|
-
aria-valuemin="0"
|
|
21
|
-
aria-valuemax="100"
|
|
22
|
-
aria-label=${this.localize.term("resize")}
|
|
23
|
-
@keydown=${this.handleKeyDown}
|
|
24
|
-
@mousedown=${this.handleDrag}
|
|
25
|
-
@touchstart=${this.handleDrag}
|
|
26
|
-
>
|
|
27
|
-
<dsa-icon
|
|
28
|
-
name="drag_indicator"
|
|
29
|
-
class="drag-icon"
|
|
30
|
-
library="system"
|
|
31
|
-
></dsa-icon>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<slot name="end" part="panel end" class="end"></slot>
|
|
35
|
-
`}};i.styles=[x,z],n([g(".divider")],i.prototype,"divider",2),n([h({type:Number,reflect:!0})],i.prototype,"position",2),n([h({attribute:"position-in-pixels",type:Number})],i.prototype,"positionInPixels",2),n([h({type:Boolean,reflect:!0})],i.prototype,"vertical",2),n([h({type:Boolean,reflect:!0})],i.prototype,"disabled",2),n([h()],i.prototype,"primary",2),n([h()],i.prototype,"snap",2),n([h({type:Number,attribute:"snap-threshold"})],i.prototype,"snapThreshold",2),n([c("position")],i.prototype,"handlePositionChange",1),n([c("positionInPixels")],i.prototype,"handlePositionInPixelsChange",1),n([c("vertical")],i.prototype,"handleVerticalChange",1),i=n([u("dsa-split-panel")],i);export{i as a};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import{a as l}from"./chunk.A4WPNAA5.js";import{a as r,f as o}from"./chunk.CEOMZJL3.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends o{render(){return s`<div class="success-text">
|
|
2
|
-
<dsa-icon
|
|
3
|
-
name="check_circle"
|
|
4
|
-
class="success-text__icon"
|
|
5
|
-
library="system"
|
|
6
|
-
></dsa-icon>
|
|
7
|
-
<slot></slot>
|
|
8
|
-
</div> `}};t.styles=l,t=e([r("dsa-success-text")],t);export{t as a};
|