@ds-autonomie/web-components 2.21.0 → 2.21.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +17 -0
- package/cdn/chunks/{chunk.OZUBIMSO.js → chunk.2ER3NBC5.js} +1 -1
- package/cdn/chunks/{chunk.7T3GRSME.js → chunk.2PBEBWOP.js} +1 -1
- package/cdn/chunks/{chunk.DZNXUAKA.js → chunk.37M4BXLK.js} +1 -1
- package/cdn/chunks/{chunk.3NZ4VRJF.js → chunk.4SRRFJ5K.js} +1 -1
- package/cdn/chunks/{chunk.THBCP6LI.js → chunk.4VPKUUYI.js} +1 -1
- package/cdn/chunks/{chunk.BFOG2B56.js → chunk.5BVWK6K3.js} +1 -1
- package/cdn/chunks/chunk.5KKFNICD.js +121 -0
- package/cdn/chunks/{chunk.JU47KXI6.js → chunk.64XZMZ77.js} +1 -1
- package/cdn/chunks/{chunk.6Y5FKCNR.js → chunk.6B4UFELP.js} +7 -7
- package/cdn/chunks/{chunk.I4AEWSTQ.js → chunk.6EJNSZJR.js} +1 -1
- package/cdn/chunks/{chunk.AHAZYWZF.js → chunk.6VYL37C4.js} +1 -1
- package/cdn/chunks/{chunk.UPUWTQY3.js → chunk.7HT5EWGA.js} +1 -1
- package/cdn/chunks/chunk.7RARSIUW.js +38 -0
- package/cdn/chunks/{chunk.CWRA4UT2.js → chunk.7RM7VDGX.js} +1 -1
- package/cdn/chunks/{chunk.VM2KBACU.js → chunk.AAYMCYCU.js} +1 -1
- package/cdn/chunks/{chunk.LXVTY3UZ.js → chunk.AMOSE5HG.js} +1 -1
- package/cdn/chunks/{chunk.NLFHV3ZO.js → chunk.APXTIKVI.js} +1 -1
- package/cdn/chunks/{chunk.XVTFPCEL.js → chunk.BTHWDYRM.js} +6 -5
- package/cdn/chunks/{chunk.SCA6KI3Y.js → chunk.D52GGKLJ.js} +1 -1
- package/cdn/chunks/chunk.DIMD2VOY.js +23 -0
- package/cdn/chunks/{chunk.GHH7XYKB.js → chunk.DOFWGC23.js} +1 -1
- package/cdn/chunks/chunk.DQCCNCWD.js +56 -0
- package/cdn/chunks/{chunk.6DSY52TF.js → chunk.DYFOZ46Z.js} +1 -1
- package/cdn/chunks/chunk.E2MXTZP6.js +65 -0
- package/cdn/chunks/{chunk.XXFCN6MW.js → chunk.EBMR5RUP.js} +1 -1
- package/cdn/chunks/{chunk.7DI4X2VG.js → chunk.EYRLG5PX.js} +1 -1
- package/cdn/chunks/{chunk.VCAUYLU6.js → chunk.EZJFC4HU.js} +1 -1
- package/cdn/chunks/{chunk.DGEG6HVV.js → chunk.F2JIMT3T.js} +1 -1
- package/cdn/chunks/{chunk.WDYFEO2Q.js → chunk.FAW4PEMU.js} +3 -3
- package/cdn/chunks/{chunk.DBVKBRPG.js → chunk.FWFZG7TN.js} +1 -1
- package/cdn/chunks/{chunk.CT4MJF6T.js → chunk.GI2AQXQB.js} +1 -1
- package/cdn/chunks/{chunk.OR4BPTYF.js → chunk.H56SHMXX.js} +1 -1
- package/cdn/chunks/{chunk.27RSAF7P.js → chunk.H63LC2FP.js} +1 -1
- package/cdn/chunks/{chunk.LPXI2TGU.js → chunk.HN7OEKVB.js} +1 -1
- package/cdn/chunks/{chunk.UB73V5BI.js → chunk.HYHQBG6T.js} +1 -1
- package/cdn/chunks/{chunk.VRETONIU.js → chunk.HYQVCAH7.js} +1 -1
- package/cdn/chunks/{chunk.A7WF23I3.js → chunk.IBACM3KM.js} +1 -1
- package/cdn/chunks/{chunk.XZWROQBU.js → chunk.IDZ2RBHS.js} +5 -2
- package/cdn/chunks/{chunk.CFJ4QXH4.js → chunk.IXAKCI7U.js} +1 -1
- package/cdn/chunks/{chunk.GNP3HUWO.js → chunk.IZFWLGVN.js} +1 -1
- package/cdn/chunks/{chunk.K6LO352V.js → chunk.IZFZSMNL.js} +1 -1
- package/cdn/chunks/{chunk.M4NNGNSF.js → chunk.L4PDR2XQ.js} +1 -1
- package/cdn/chunks/{chunk.N35G45JG.js → chunk.L7V323CK.js} +1 -1
- package/cdn/chunks/{chunk.353PHEPC.js → chunk.LIHGH26S.js} +1 -1
- package/cdn/chunks/chunk.MU332V37.js +42 -0
- package/cdn/chunks/{chunk.POOZWGH5.js → chunk.MYN44Z6S.js} +1 -1
- package/cdn/chunks/chunk.NHMFB7ET.js +1 -0
- package/cdn/chunks/{chunk.IJ4EFTP2.js → chunk.NUADNBQV.js} +1 -1
- package/cdn/chunks/{chunk.BWWABV2J.js → chunk.NVJC2QTS.js} +1 -1
- package/cdn/chunks/{chunk.MIF4MK3R.js → chunk.NYTHY7TB.js} +1 -1
- package/cdn/chunks/{chunk.RMHUEO6M.js → chunk.OB2C6PTR.js} +1 -1
- package/cdn/chunks/{chunk.ELL45QD3.js → chunk.ODDQO2HD.js} +1 -1
- package/cdn/chunks/{chunk.Z33ITBWZ.js → chunk.ONUDFMLG.js} +8 -8
- package/cdn/chunks/{chunk.TBAF2O5H.js → chunk.OTYLTVBL.js} +1 -1
- package/cdn/chunks/chunk.PAYML2WU.js +20 -0
- package/cdn/chunks/{chunk.OE4QGAVP.js → chunk.PRKWQXS3.js} +1 -1
- package/cdn/chunks/{chunk.FASLFYND.js → chunk.Q5SVZYIN.js} +1 -1
- package/cdn/chunks/{chunk.P5OHHVIZ.js → chunk.QRLWNZCU.js} +1 -1
- package/cdn/chunks/{chunk.I6KH3RXW.js → chunk.QTXLNRFI.js} +1 -1
- package/cdn/chunks/{chunk.OHC3KP3N.js → chunk.RC2F2CPY.js} +1 -1
- package/cdn/chunks/{chunk.OSQWNBGB.js → chunk.RCVYUT4P.js} +1 -1
- package/cdn/chunks/{chunk.B6OZRSZK.js → chunk.RSIWBM4T.js} +1 -1
- package/cdn/chunks/chunk.S3CAREPN.js +18 -0
- package/cdn/chunks/{chunk.YG7EIWOO.js → chunk.TLQIAQRC.js} +1 -1
- package/cdn/chunks/{chunk.AWM5EZRY.js → chunk.TMUGGTVF.js} +1 -1
- package/cdn/chunks/{chunk.UIEL566X.js → chunk.TNPDX6EX.js} +1 -1
- package/cdn/chunks/chunk.TY4KYVHJ.js +27 -0
- package/cdn/chunks/{chunk.5VZFKPSK.js → chunk.U4A36HDQ.js} +1 -1
- package/cdn/chunks/{chunk.4HFX2WWN.js → chunk.UKO4J7PG.js} +1 -1
- package/cdn/chunks/{chunk.OX4H5VZP.js → chunk.UUN3KGYB.js} +1 -1
- package/cdn/chunks/{chunk.AGV4A3YT.js → chunk.UXEA6PSC.js} +1 -1
- package/cdn/chunks/{chunk.UQC4FZQO.js → chunk.UXYCUMRZ.js} +1 -1
- package/cdn/chunks/{chunk.QZ7M6OGO.js → chunk.VILF2M2M.js} +1 -1
- package/cdn/chunks/{chunk.UREKS7QR.js → chunk.VPTZFEPZ.js} +1 -1
- package/cdn/chunks/{chunk.ZQPFBR34.js → chunk.WCHNPFSL.js} +1 -1
- package/cdn/chunks/{chunk.XBO6BPEL.js → chunk.XUW6MAEV.js} +1 -1
- package/cdn/chunks/{chunk.YEEGO6X3.js → chunk.YIFMUGSO.js} +1 -1
- package/cdn/chunks/{chunk.VBIJSQJQ.js → chunk.YQETGEXV.js} +1 -1
- package/cdn/chunks/{chunk.GGN6W46J.js → chunk.ZGGW2XG7.js} +1 -1
- package/cdn/chunks/{chunk.6ETSOBAB.js → chunk.ZOGTB7J7.js} +1 -1
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/badge/badge.js +1 -1
- package/cdn/components/banner/banner.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/calendar/calendar.styles.js +1 -1
- package/cdn/components/callout/callout.js +1 -1
- package/cdn/components/callout/callout.styles.js +1 -1
- package/cdn/components/card/card.js +1 -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.js +1 -1
- package/cdn/components/card-nav-item/card-nav-item.js +1 -1
- 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.js +1 -1
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/copy-button/copy-button.styles.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/drawer/drawer.js +1 -1
- package/cdn/components/dropdown/dropdown.js +1 -1
- package/cdn/components/error-message-panel/error-message-panel.js +1 -1
- package/cdn/components/fieldset/fieldset.js +1 -1
- package/cdn/components/file-upload/file-upload.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +0 -1
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer-content-block/footer-content-block.js +1 -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/header/header.js +1 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-mask/input-mask.utils.d.ts +0 -1
- package/cdn/components/input-mask/input-mask.utils.js +1 -1
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/pagination/pagination.js +1 -1
- 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.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.js +1 -1
- package/cdn/components/search/search.js +1 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/table-caption/table-caption.js +1 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/custom-elements.json +260 -326
- package/cdn/design-system.js +1 -1
- package/cdn/internal/slot.d.ts +0 -5
- package/cdn/internal/slot.js +0 -20
- package/cdn/internal/tabbable.d.ts +0 -8
- package/cdn/internal/tabbable.js +0 -12
- package/cdn/utilities/date.d.ts +0 -2
- package/cdn/utilities/date.js +1 -1
- package/cdn/utilities/storybook.js +1 -1
- package/cdn/vscode.html-custom-data.json +41 -41
- package/cdn/web-types.json +144 -163
- package/dist/chunks/{chunk.73XHVQNA.js → chunk.32T5435Z.js} +2 -2
- package/dist/chunks/{chunk.H5G2LRCX.js → chunk.32ZGNEEA.js} +6 -6
- package/dist/chunks/{chunk.TAMFIHNV.js → chunk.4DRUU356.js} +28 -36
- package/dist/chunks/{chunk.IQY2ZVAV.js → chunk.4EG67OAK.js} +2 -2
- package/dist/chunks/{chunk.QHNPNQXO.js → chunk.4TRXHBIO.js} +9 -11
- package/dist/chunks/{chunk.SEMHY47B.js → chunk.5GTWUU56.js} +1 -1
- package/dist/chunks/{chunk.LBLBASKK.js → chunk.623OV6KT.js} +1 -1
- package/dist/chunks/{chunk.X3H6MOUU.js → chunk.6XF7Y5OQ.js} +1 -1
- package/dist/chunks/{chunk.GSRQID3H.js → chunk.7AB3AL2Z.js} +2 -2
- package/dist/chunks/{chunk.M47YUO2L.js → chunk.A63V45OW.js} +1 -1
- package/dist/chunks/{chunk.ZSPNI52I.js → chunk.AEGKKYZ4.js} +1 -1
- package/dist/chunks/{chunk.5DVIZLXZ.js → chunk.AGQDJZXG.js} +2 -2
- package/dist/chunks/{chunk.SYQNO5B4.js → chunk.BADNDBKF.js} +1 -1
- package/dist/chunks/{chunk.ITBFUL7J.js → chunk.BBH5JFVX.js} +1 -1
- package/dist/chunks/{chunk.M347TELO.js → chunk.BJPQ42FM.js} +3 -3
- package/dist/chunks/{chunk.H7TB3KTK.js → chunk.BKW7OOII.js} +1 -1
- package/dist/chunks/{chunk.4IDR4RJI.js → chunk.CP3HQO7Z.js} +1 -1
- package/dist/chunks/{chunk.UBA2H662.js → chunk.DI4J6YRC.js} +1 -1
- package/dist/chunks/{chunk.3D7AGBFQ.js → chunk.DYV7U6UU.js} +0 -2
- package/dist/chunks/{chunk.JBFJWJUF.js → chunk.E6UAGCKS.js} +1 -1
- package/dist/chunks/{chunk.7HMEK2ND.js → chunk.E7CTAIEF.js} +1 -1
- package/dist/chunks/{chunk.PT2BKEDG.js → chunk.EC6ZMNDK.js} +1 -1
- package/dist/chunks/{chunk.RPPERQYB.js → chunk.ECHY7YBZ.js} +1 -1
- package/dist/chunks/{chunk.BZFZTT6Z.js → chunk.EH7ABWD6.js} +1 -1
- package/dist/chunks/{chunk.MOTDL3I3.js → chunk.ENRVP5HO.js} +5 -5
- package/dist/chunks/{chunk.Y4KCVPIC.js → chunk.EWAET5DR.js} +5 -5
- package/dist/chunks/{chunk.GYWU4AAB.js → chunk.EWO55RR2.js} +41 -49
- package/dist/chunks/{chunk.BIB7IJGE.js → chunk.FOZ6VW33.js} +2 -2
- package/dist/chunks/{chunk.AC6UE3V5.js → chunk.FV626ULR.js} +7 -6
- package/dist/chunks/{chunk.DEEMRWEE.js → chunk.H7FCKWK4.js} +11 -23
- package/dist/chunks/{chunk.ZUG2HYP5.js → chunk.HD75OK3X.js} +1 -1
- package/dist/chunks/{chunk.EX63QI6Z.js → chunk.HTBUOA43.js} +3 -3
- package/dist/chunks/{chunk.RJAOB66Y.js → chunk.HTSDHYY3.js} +4 -4
- package/dist/chunks/{chunk.KOO2JWHZ.js → chunk.HTXWT3CI.js} +1 -1
- package/dist/chunks/{chunk.ZDRQOJI6.js → chunk.IRJKFO7O.js} +3 -3
- package/dist/chunks/{chunk.C6BC46KV.js → chunk.JP47EKO5.js} +5 -5
- package/dist/chunks/{chunk.SYZVBVOX.js → chunk.KDDTJP4K.js} +1 -1
- package/dist/chunks/{chunk.ITFYDUMM.js → chunk.KR4VFINH.js} +1 -1
- package/dist/chunks/{chunk.PCTIMH5D.js → chunk.L365K634.js} +3 -3
- package/dist/chunks/{chunk.7PE2PORN.js → chunk.LB3ZEOQX.js} +2 -2
- package/dist/chunks/{chunk.LJ2VCS7Q.js → chunk.LKLBHDXL.js} +5 -2
- package/dist/chunks/{chunk.E2AA6JZR.js → chunk.LN4SRWKC.js} +1 -1
- package/dist/chunks/{chunk.SKY7526Z.js → chunk.LNSYUTNL.js} +1 -1
- package/dist/chunks/{chunk.JMA3VRB4.js → chunk.MMROE4ER.js} +2 -2
- package/dist/chunks/{chunk.RMOUFLCI.js → chunk.N6RV7TJA.js} +1 -1
- package/dist/chunks/{chunk.EPG5ZB4T.js → chunk.OMSTY3Y5.js} +2 -2
- package/dist/chunks/{chunk.BWP55AAX.js → chunk.OYJ4CG6J.js} +1 -1
- package/dist/chunks/{chunk.GOVTNZ72.js → chunk.PPNCR6KJ.js} +2 -2
- package/dist/chunks/{chunk.VTNFE6PI.js → chunk.QHW2OXLX.js} +1 -1
- package/dist/chunks/{chunk.N2V4KI76.js → chunk.QJC7AVKZ.js} +1 -1
- package/dist/chunks/{chunk.F4DMZGND.js → chunk.QM6A2OJ6.js} +2 -2
- package/dist/chunks/{chunk.WQMUNZSA.js → chunk.RANW22ZB.js} +2 -2
- package/dist/chunks/{chunk.Q6GPBRDV.js → chunk.RHRIPLA3.js} +1 -1
- package/dist/chunks/{chunk.U5AWZEM5.js → chunk.RTBQXZDB.js} +1 -1
- package/dist/chunks/{chunk.7WMOPNN5.js → chunk.SKYFDHVP.js} +5 -5
- package/dist/chunks/{chunk.RIJIUMG2.js → chunk.SPVKFHUZ.js} +5 -4
- package/dist/chunks/{chunk.MTRAJSQ5.js → chunk.SWIKAUKG.js} +4 -3
- package/dist/chunks/{chunk.XHZ5CCR7.js → chunk.SYWMXJ3H.js} +20 -18
- package/dist/chunks/{chunk.OYVF3HNG.js → chunk.TIM2RCEB.js} +0 -23
- package/dist/chunks/{chunk.H7QHCUBR.js → chunk.TKJ72YYU.js} +1 -1
- package/dist/chunks/{chunk.XCSAMBUB.js → chunk.TXZ4S7T7.js} +2 -2
- package/dist/chunks/{chunk.RLLACUYR.js → chunk.U73GKQGJ.js} +1 -1
- package/dist/chunks/{chunk.AL6PYL6U.js → chunk.UPMUUECF.js} +1 -1
- package/dist/chunks/{chunk.Y7UR2ZKQ.js → chunk.UR3NX4ST.js} +1 -1
- package/dist/chunks/{chunk.ABXTXNT4.js → chunk.USCIRPV5.js} +22 -19
- package/dist/chunks/{chunk.QLJNW3TZ.js → chunk.UXHQARJW.js} +1 -1
- package/dist/chunks/{chunk.MRGJKLE3.js → chunk.UZZ34Z5W.js} +25 -20
- package/dist/chunks/{chunk.IYGSQFGQ.js → chunk.VCO46TJT.js} +2 -2
- package/dist/chunks/{chunk.7EVHJ2OT.js → chunk.VPAEURPO.js} +40 -25
- package/dist/chunks/{chunk.DZLEAEG5.js → chunk.X7QQZ42A.js} +2 -2
- package/dist/chunks/{chunk.XGEWLFBF.js → chunk.X7RPGUOS.js} +3 -3
- package/dist/chunks/{chunk.N2XNANRE.js → chunk.XEHLIOJ2.js} +1 -1
- package/dist/chunks/{chunk.DJFSPHO4.js → chunk.XQ3BCGWA.js} +1 -1
- package/dist/chunks/{chunk.5ESJXERV.js → chunk.YKBHVARA.js} +1 -1
- package/dist/chunks/{chunk.RDHPV744.js → chunk.YSEIF6AP.js} +1 -1
- package/dist/chunks/{chunk.S4ZCJOC5.js → chunk.ZOFJITKA.js} +1 -1
- package/dist/chunks/{chunk.KGP2JSZ7.js → chunk.ZWZ72KXY.js} +1 -1
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/banner/banner.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/calendar/calendar.js +3 -3
- package/dist/components/calendar/calendar.styles.js +1 -1
- package/dist/components/callout/callout.js +2 -2
- package/dist/components/callout/callout.styles.js +1 -1
- package/dist/components/card/card.js +2 -2
- package/dist/components/card-content/card-content.js +2 -2
- package/dist/components/card-nav/card-nav.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/dist/components/card-nav-item/card-nav-item.js +2 -2
- package/dist/components/checkbox/checkbox.js +3 -3
- package/dist/components/checkbox-button/checkbox-button.js +4 -4
- package/dist/components/checkbox-card/checkbox-card.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.js +2 -2
- package/dist/components/combobox/combobox.js +6 -6
- package/dist/components/copy-button/copy-button.js +4 -4
- package/dist/components/copy-button/copy-button.styles.js +1 -1
- package/dist/components/dialog/dialog.js +3 -3
- package/dist/components/drawer/drawer.js +3 -3
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/fieldset/fieldset.js +2 -2
- package/dist/components/file-upload/file-upload.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +16 -16
- package/dist/components/filter-date/filter-date.js +7 -7
- package/dist/components/filter-range/filter-range.js +16 -16
- package/dist/components/filter-select/filter-select.d.ts +0 -1
- package/dist/components/filter-select/filter-select.js +16 -16
- package/dist/components/footer/footer.js +2 -2
- package/dist/components/footer-content-block/footer-content-block.js +2 -2
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/header/header.js +2 -2
- package/dist/components/header-modern/header-modern.js +2 -2
- package/dist/components/header-search/header-search.js +3 -3
- package/dist/components/input/input.js +14 -14
- package/dist/components/input-amount/input-amount.js +5 -5
- package/dist/components/input-date/input-date.js +9 -9
- package/dist/components/input-mask/input-mask.js +5 -5
- package/dist/components/input-mask/input-mask.utils.d.ts +0 -1
- package/dist/components/input-mask/input-mask.utils.js +1 -3
- package/dist/components/input-native/input-native.js +4 -4
- package/dist/components/input-otp/input-otp.js +4 -4
- package/dist/components/input-phone/input-phone.js +10 -10
- package/dist/components/input-time/input-time.js +5 -5
- package/dist/components/menu-accordion/menu-accordion.js +4 -4
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/menu-navigation/menu-navigation.js +6 -6
- package/dist/components/navbar-link/navbar-link.js +6 -6
- package/dist/components/navbar-menu/navbar-menu.js +3 -3
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/pagination/pagination.js +16 -16
- package/dist/components/pagination-button/pagination-button.js +2 -2
- package/dist/components/popup/popup.js +1 -1
- package/dist/components/profile-button/profile-button.js +4 -4
- package/dist/components/radio-button/radio-button.js +4 -4
- package/dist/components/radio-card/radio-card.js +4 -4
- package/dist/components/radio-group/radio-group.js +2 -2
- package/dist/components/search/search.js +2 -2
- package/dist/components/select/select.js +6 -6
- package/dist/components/sidenav/sidenav.js +4 -4
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -5
- package/dist/components/step/step.js +2 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-header-row/table-header-row.js +8 -8
- package/dist/components/table-row/table-row.js +4 -4
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +2 -2
- package/dist/custom-elements.json +260 -326
- package/dist/design-system.js +117 -117
- package/dist/internal/slot.d.ts +0 -5
- package/dist/internal/slot.js +0 -20
- package/dist/internal/tabbable.d.ts +0 -8
- package/dist/internal/tabbable.js +0 -12
- package/dist/utilities/date.d.ts +0 -2
- package/dist/utilities/date.js +1 -5
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +41 -41
- package/dist/web-types.json +144 -163
- package/package.json +1 -1
- package/cdn/chunks/chunk.6DVHKT6J.js +0 -56
- package/cdn/chunks/chunk.6XSWDZ3K.js +0 -42
- package/cdn/chunks/chunk.AU7QYOWT.js +0 -27
- package/cdn/chunks/chunk.GSE4BYLS.js +0 -38
- package/cdn/chunks/chunk.IFSGAJQ4.js +0 -1
- package/cdn/chunks/chunk.J34FMZ22.js +0 -20
- package/cdn/chunks/chunk.J5KWRJTH.js +0 -121
- package/cdn/chunks/chunk.RUMRXWLX.js +0 -65
- package/cdn/chunks/chunk.SXMGNTD4.js +0 -18
- package/cdn/chunks/chunk.U2HDZAQO.js +0 -23
- package/cdn/components/include/request.d.ts +0 -8
- package/cdn/components/include/request.js +0 -1
- package/cdn/components/table/types.d.ts +0 -5
- package/cdn/components/table/types.js +0 -1
- package/cdn/events/dsa-focus-in.d.ts +0 -7
- package/cdn/events/dsa-focus-in.js +0 -1
- package/cdn/events/dsa-focus-out.d.ts +0 -7
- package/cdn/events/dsa-focus-out.js +0 -1
- package/cdn/translations/en-gb.d.ts +0 -3
- package/cdn/translations/en-gb.js +0 -1
- package/dist/components/include/request.d.ts +0 -8
- package/dist/components/include/request.js +0 -24
- package/dist/components/table/types.d.ts +0 -5
- package/dist/components/table/types.js +0 -12
- package/dist/events/dsa-focus-in.d.ts +0 -7
- package/dist/events/dsa-focus-in.js +0 -1
- package/dist/events/dsa-focus-out.d.ts +0 -7
- package/dist/events/dsa-focus-out.js +0 -1
- package/dist/translations/en-gb.d.ts +0 -3
- package/dist/translations/en-gb.js +0 -21
- package/dist/chunks/{chunk.STZAPPWR.js → chunk.7Y2PLLDT.js} +0 -0
- package/dist/chunks/{chunk.YIY5RM53.js → chunk.XMFD37RX.js} +0 -0
- package/dist/chunks/{chunk.Z4TGH2YA.js → chunk.XSZCCDGA.js} +3 -3
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.TD6AE7FQ.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XMFD37RX.js";
|
|
7
7
|
import {
|
|
8
8
|
a11yWarning
|
|
9
9
|
} from "./chunk.PWL7QCVG.js";
|
|
@@ -51,9 +51,10 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
51
51
|
return this.href ? true : false;
|
|
52
52
|
}
|
|
53
53
|
updateTagsSizes() {
|
|
54
|
+
const { size } = this;
|
|
54
55
|
const slottedTags = this.querySelectorAll("dsa-tag");
|
|
55
56
|
slottedTags.forEach(
|
|
56
|
-
(tag) => tag.setAttribute("size",
|
|
57
|
+
(tag) => tag.setAttribute("size", size === "large" ? "medium" : "small")
|
|
57
58
|
);
|
|
58
59
|
}
|
|
59
60
|
handleTagsSlotChange() {
|
|
@@ -63,11 +64,12 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
63
64
|
this.updateTagsSizes();
|
|
64
65
|
}
|
|
65
66
|
render() {
|
|
67
|
+
const { hasSlotController, layout, size, contrastedBorders } = this;
|
|
66
68
|
const isLink = this.isLink();
|
|
67
69
|
const tag = isLink ? literal`a` : literal`div`;
|
|
68
|
-
const hasSideLinkIcon = isLink && !
|
|
69
|
-
const hasBottomLinkIcon = isLink && !
|
|
70
|
-
if (isLink && !
|
|
70
|
+
const hasSideLinkIcon = isLink && !hasSlotController.test("footer") && layout === "left-align";
|
|
71
|
+
const hasBottomLinkIcon = isLink && !hasSlotController.test("footer") && layout !== "left-align";
|
|
72
|
+
if (isLink && !hasSlotController.test("title")) {
|
|
71
73
|
a11yWarning(
|
|
72
74
|
"<dsa-card-content> requires a title slot for accessibility when used as a link"
|
|
73
75
|
);
|
|
@@ -78,23 +80,23 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
78
80
|
class=${classMap({
|
|
79
81
|
"card-content": true,
|
|
80
82
|
"card-content--link": isLink,
|
|
81
|
-
"card-content--small":
|
|
82
|
-
"card-content--medium":
|
|
83
|
-
"card-content--large":
|
|
84
|
-
"card-content--left-align":
|
|
85
|
-
"card-content--right-align":
|
|
83
|
+
"card-content--small": size === "small",
|
|
84
|
+
"card-content--medium": size === "medium",
|
|
85
|
+
"card-content--large": size === "large",
|
|
86
|
+
"card-content--left-align": layout === "left-align",
|
|
87
|
+
"card-content--right-align": layout === "right-align",
|
|
86
88
|
"card-content--filled": this.variant === "filled",
|
|
87
|
-
"card-content--contrasted-borders":
|
|
89
|
+
"card-content--contrasted-borders": contrastedBorders
|
|
88
90
|
})}
|
|
89
91
|
>
|
|
90
92
|
<slot name="media" class=${ifDefinedAndNotEmpty(
|
|
91
|
-
|
|
93
|
+
hasSlotController.test("media") ? "card-content__media" : void 0
|
|
92
94
|
)}></slot>
|
|
93
95
|
<div part="body" class="card-content__body">
|
|
94
96
|
<div class="card-content__header">
|
|
95
97
|
<div class="card-content__title_block">
|
|
96
98
|
<slot name="title-icon" class=${ifDefinedAndNotEmpty(
|
|
97
|
-
|
|
99
|
+
hasSlotController.test("title-icon") ? "card-content__title-icon" : void 0
|
|
98
100
|
)}></slot>
|
|
99
101
|
<div class="card-content__title-block-text">
|
|
100
102
|
<${tag}
|
|
@@ -106,14 +108,14 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
106
108
|
<slot
|
|
107
109
|
name="title"
|
|
108
110
|
class=${ifDefinedAndNotEmpty(
|
|
109
|
-
|
|
111
|
+
hasSlotController.test("title") ? "card-content__title" : void 0
|
|
110
112
|
)}
|
|
111
113
|
></slot>
|
|
112
114
|
</${tag}>
|
|
113
115
|
<slot
|
|
114
116
|
name="subtitle"
|
|
115
117
|
class=${ifDefinedAndNotEmpty(
|
|
116
|
-
|
|
118
|
+
hasSlotController.test("subtitle") ? "card-content__subtitle" : void 0
|
|
117
119
|
)}>
|
|
118
120
|
</slot>
|
|
119
121
|
</div>
|
|
@@ -122,17 +124,17 @@ var DSACardContent = class extends ShoelaceElement {
|
|
|
122
124
|
name="tags"
|
|
123
125
|
@slotchange=${this.handleTagsSlotChange}
|
|
124
126
|
class=${ifDefinedAndNotEmpty(
|
|
125
|
-
|
|
127
|
+
hasSlotController.test("tags") ? "card-content__tags" : void 0
|
|
126
128
|
)}
|
|
127
129
|
></slot>
|
|
128
130
|
</div>
|
|
129
131
|
|
|
130
|
-
${
|
|
132
|
+
${hasSlotController.test("[default]") ? html` <slot class="card-content__content"></slot> ` : ""}
|
|
131
133
|
<slot
|
|
132
134
|
name="footer"
|
|
133
135
|
part="footer"
|
|
134
136
|
class=${ifDefinedAndNotEmpty(
|
|
135
|
-
|
|
137
|
+
hasSlotController.test("footer") ? "card-content__footer" : void 0
|
|
136
138
|
)}
|
|
137
139
|
tabindex=${ifDefined(isLink ? "-1" : void 0)}
|
|
138
140
|
></slot>
|
|
@@ -1,21 +1,4 @@
|
|
|
1
1
|
// src/utilities/date.ts
|
|
2
|
-
function parseDate(dateString, lang) {
|
|
3
|
-
const dateFormat = new Intl.DateTimeFormat(lang, {
|
|
4
|
-
year: "numeric",
|
|
5
|
-
month: "2-digit",
|
|
6
|
-
day: "2-digit"
|
|
7
|
-
});
|
|
8
|
-
const dateOrder = dateFormat.formatToParts(/* @__PURE__ */ new Date()).filter((part) => ["day", "month", "year"].includes(part.type)).map((part) => part.type);
|
|
9
|
-
const parts = dateString.split(/[-/]/);
|
|
10
|
-
if (parts.length !== 3) return null;
|
|
11
|
-
const dateObj = {};
|
|
12
|
-
dateOrder.forEach((part, index) => {
|
|
13
|
-
dateObj[part] = parseInt(parts[index], 10);
|
|
14
|
-
});
|
|
15
|
-
dateObj.month -= 1;
|
|
16
|
-
const date = new Date(dateObj.year, dateObj.month, dateObj.day);
|
|
17
|
-
return isNaN(date.getTime()) ? null : date;
|
|
18
|
-
}
|
|
19
2
|
function getLocaleDateFromISO(isoDate, lang) {
|
|
20
3
|
if (isoDate === "") {
|
|
21
4
|
return "";
|
|
@@ -23,10 +6,6 @@ function getLocaleDateFromISO(isoDate, lang) {
|
|
|
23
6
|
return getDateFromISO(isoDate).toLocaleDateString(lang !== "" ? lang : "");
|
|
24
7
|
}
|
|
25
8
|
}
|
|
26
|
-
function isISODate(date) {
|
|
27
|
-
const isoDatePattern = /^\d{4}-\d{2}-\d{2}$/;
|
|
28
|
-
return isoDatePattern.test(date);
|
|
29
|
-
}
|
|
30
9
|
function isValidDate(isoDate) {
|
|
31
10
|
const [year, month, day] = isoDate.split("-");
|
|
32
11
|
if ([year, month, day].includes("")) {
|
|
@@ -70,9 +49,7 @@ function formatDateRange(startDate, endDate) {
|
|
|
70
49
|
}
|
|
71
50
|
|
|
72
51
|
export {
|
|
73
|
-
parseDate,
|
|
74
52
|
getLocaleDateFromISO,
|
|
75
|
-
isISODate,
|
|
76
53
|
isValidDate,
|
|
77
54
|
getISOFormattedDate,
|
|
78
55
|
getDateFromISO,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.THC4PF2E.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATooltip
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.DI4J6YRC.js";
|
|
7
7
|
import {
|
|
8
8
|
DSADivider
|
|
9
9
|
} from "./chunk.QGI766JC.js";
|
|
10
10
|
import {
|
|
11
11
|
HasSlotController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.XMFD37RX.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
15
|
} from "./chunk.DVIHNMQQ.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.JIMAJLDU.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.XMFD37RX.js";
|
|
7
7
|
import {
|
|
8
8
|
waitForEvent
|
|
9
9
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -48,8 +48,9 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
48
48
|
this.role = "listitem";
|
|
49
49
|
}
|
|
50
50
|
firstUpdated() {
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
const { body, open } = this;
|
|
52
|
+
body.hidden = !open;
|
|
53
|
+
body.style.height = open ? "auto" : "0";
|
|
53
54
|
}
|
|
54
55
|
handleSummaryClick() {
|
|
55
56
|
if (this.open) {
|
|
@@ -78,23 +79,24 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
async handleOpenChange() {
|
|
82
|
+
const { body, localize } = this;
|
|
81
83
|
if (this.open) {
|
|
82
84
|
const slShow = this.emit("dsa-show", { cancelable: true });
|
|
83
85
|
if (slShow.defaultPrevented) {
|
|
84
86
|
this.open = false;
|
|
85
87
|
return;
|
|
86
88
|
}
|
|
87
|
-
await stopAnimations(
|
|
88
|
-
|
|
89
|
+
await stopAnimations(body);
|
|
90
|
+
body.hidden = false;
|
|
89
91
|
const { keyframes, options } = getAnimation(this, "accordion.show", {
|
|
90
|
-
dir:
|
|
92
|
+
dir: localize.dir()
|
|
91
93
|
});
|
|
92
94
|
await animateTo(
|
|
93
|
-
|
|
94
|
-
shimKeyframesHeightAuto(keyframes,
|
|
95
|
+
body,
|
|
96
|
+
shimKeyframesHeightAuto(keyframes, body.scrollHeight),
|
|
95
97
|
options
|
|
96
98
|
);
|
|
97
|
-
|
|
99
|
+
body.style.height = "auto";
|
|
98
100
|
this.emit("dsa-after-show");
|
|
99
101
|
} else {
|
|
100
102
|
const slHide = this.emit("dsa-hide", { cancelable: true });
|
|
@@ -102,17 +104,17 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
102
104
|
this.open = true;
|
|
103
105
|
return;
|
|
104
106
|
}
|
|
105
|
-
await stopAnimations(
|
|
107
|
+
await stopAnimations(body);
|
|
106
108
|
const { keyframes, options } = getAnimation(this, "accordion.hide", {
|
|
107
|
-
dir:
|
|
109
|
+
dir: localize.dir()
|
|
108
110
|
});
|
|
109
111
|
await animateTo(
|
|
110
|
-
|
|
111
|
-
shimKeyframesHeightAuto(keyframes,
|
|
112
|
+
body,
|
|
113
|
+
shimKeyframesHeightAuto(keyframes, body.scrollHeight),
|
|
112
114
|
options
|
|
113
115
|
);
|
|
114
|
-
|
|
115
|
-
|
|
116
|
+
body.hidden = true;
|
|
117
|
+
body.style.height = "auto";
|
|
116
118
|
this.emit("dsa-after-hide");
|
|
117
119
|
}
|
|
118
120
|
}
|
|
@@ -133,7 +135,8 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
133
135
|
return await waitForEvent(this, "dsa-after-hide");
|
|
134
136
|
}
|
|
135
137
|
render() {
|
|
136
|
-
|
|
138
|
+
const { summary, hasSlotController, open } = this;
|
|
139
|
+
if (!summary && !hasSlotController.test("summary")) {
|
|
137
140
|
a11yWarning(
|
|
138
141
|
"<dsa-card-nav-accordion> requires a summary attribute or a summary slot for accessibility"
|
|
139
142
|
);
|
|
@@ -143,14 +146,14 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
143
146
|
part="base"
|
|
144
147
|
class=${classMap({
|
|
145
148
|
"card-nav-accordion": true,
|
|
146
|
-
"card-nav-accordion--open":
|
|
149
|
+
"card-nav-accordion--open": open,
|
|
147
150
|
"card-nav-accordion--chevron": true
|
|
148
151
|
})}
|
|
149
152
|
>
|
|
150
153
|
<div part="header" id="header" class="card-nav-accordion__header">
|
|
151
154
|
<span
|
|
152
155
|
role="button"
|
|
153
|
-
aria-expanded=${
|
|
156
|
+
aria-expanded=${open ? "true" : "false"}
|
|
154
157
|
aria-controls="content"
|
|
155
158
|
@click=${this.handleSummaryClick}
|
|
156
159
|
@keydown=${this.handleSummaryKeyDown}
|
|
@@ -158,7 +161,7 @@ var DSACardNavAccordion = class extends ShoelaceElement {
|
|
|
158
161
|
tabindex="0"
|
|
159
162
|
>
|
|
160
163
|
<slot name="summary" class="card-nav-accordion__summary"
|
|
161
|
-
>${
|
|
164
|
+
>${summary}</slot
|
|
162
165
|
>
|
|
163
166
|
|
|
164
167
|
<span part="summary-icon" class="card-nav-accordion__summary-icon">
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getDateFromISO,
|
|
3
3
|
getISOFormattedDate
|
|
4
|
-
} from "./chunk.
|
|
4
|
+
} from "./chunk.TIM2RCEB.js";
|
|
5
5
|
import {
|
|
6
6
|
calendar_styles_default
|
|
7
|
-
} from "./chunk.
|
|
7
|
+
} from "./chunk.LKLBHDXL.js";
|
|
8
8
|
import {
|
|
9
9
|
LocalizeController
|
|
10
10
|
} from "./chunk.DVIHNMQQ.js";
|
|
@@ -38,8 +38,9 @@ var DSACalendar = class extends ShoelaceElement {
|
|
|
38
38
|
this.range = false;
|
|
39
39
|
}
|
|
40
40
|
firstUpdated() {
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
const { disableDate, calendar } = this;
|
|
42
|
+
if (disableDate !== void 0) {
|
|
43
|
+
calendar.disableDate = disableDate;
|
|
43
44
|
}
|
|
44
45
|
this.updateCalendarValue();
|
|
45
46
|
}
|
|
@@ -66,39 +67,43 @@ var DSACalendar = class extends ShoelaceElement {
|
|
|
66
67
|
this.emit("dsa-month-year-selected", { detail: { month, year } });
|
|
67
68
|
}
|
|
68
69
|
getLabels() {
|
|
70
|
+
const { localize, range } = this;
|
|
69
71
|
return {
|
|
70
|
-
clearButton:
|
|
71
|
-
monthSelect:
|
|
72
|
-
nextMonthButton:
|
|
73
|
-
nextYearButton:
|
|
74
|
-
picker:
|
|
75
|
-
previousMonthButton:
|
|
76
|
-
previousYearButton:
|
|
77
|
-
todayButton:
|
|
78
|
-
yearSelect:
|
|
72
|
+
clearButton: localize.term("clearButton"),
|
|
73
|
+
monthSelect: localize.term("monthSelect"),
|
|
74
|
+
nextMonthButton: localize.term("nextMonthButton"),
|
|
75
|
+
nextYearButton: localize.term("nextYearButton"),
|
|
76
|
+
picker: localize.term(range ? "pickerRange" : "picker"),
|
|
77
|
+
previousMonthButton: localize.term("previousMonthButton"),
|
|
78
|
+
previousYearButton: localize.term("previousYearButton"),
|
|
79
|
+
todayButton: localize.term("todayButton"),
|
|
80
|
+
yearSelect: localize.term("yearSelect")
|
|
79
81
|
};
|
|
80
82
|
}
|
|
81
83
|
handleDisableDateChange() {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
+
const { disableDate, calendar } = this;
|
|
85
|
+
if (disableDate !== void 0) {
|
|
86
|
+
calendar.disableDate = disableDate;
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
handleValueChange() {
|
|
87
|
-
|
|
88
|
-
|
|
90
|
+
const { value, calendar } = this;
|
|
91
|
+
if (value === "") {
|
|
92
|
+
calendar.value = void 0;
|
|
89
93
|
return;
|
|
90
94
|
}
|
|
91
95
|
this.updateCalendarValue();
|
|
92
96
|
}
|
|
93
97
|
render() {
|
|
98
|
+
const { value, startDate, range, localize } = this;
|
|
94
99
|
return html`
|
|
95
100
|
<dsa-internal-calendar
|
|
96
101
|
class="calendar"
|
|
97
|
-
?range=${ifDefined(
|
|
102
|
+
?range=${ifDefined(range)}
|
|
98
103
|
@selectDate=${this.handleDateSelection}
|
|
99
104
|
@changeMonth=${this.handleMonthSelection}
|
|
100
|
-
start-date=${
|
|
101
|
-
locale=${
|
|
105
|
+
start-date=${value === "" ? startDate : getISOFormattedDate(this.parsedDateValue[0])}
|
|
106
|
+
locale=${localize.lang()}
|
|
102
107
|
.labels=${this.getLabels()}
|
|
103
108
|
first-day-of-week=${CALENDAR_MONDAY_INDEX}
|
|
104
109
|
></dsa-internal-calendar>
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk.VGW52PNG.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAInput
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.JP47EKO5.js";
|
|
13
13
|
import {
|
|
14
14
|
FilterBase
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.HTXWT3CI.js";
|
|
16
16
|
import {
|
|
17
17
|
DSADivider
|
|
18
18
|
} from "./chunk.QGI766JC.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSATooltip
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.DI4J6YRC.js";
|
|
4
4
|
import {
|
|
5
5
|
copy_button_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.SWIKAUKG.js";
|
|
7
7
|
import {
|
|
8
8
|
getAnimation,
|
|
9
9
|
setDefaultAnimation
|
|
@@ -42,21 +42,22 @@ var DSACopyButton = class extends ShoelaceElement {
|
|
|
42
42
|
this.size = "medium";
|
|
43
43
|
}
|
|
44
44
|
async handleCopy() {
|
|
45
|
-
|
|
45
|
+
const { disabled, isCopying, from, value } = this;
|
|
46
|
+
if (disabled || isCopying) {
|
|
46
47
|
return;
|
|
47
48
|
}
|
|
48
49
|
this.isCopying = true;
|
|
49
|
-
let valueToCopy =
|
|
50
|
-
if (
|
|
50
|
+
let valueToCopy = value;
|
|
51
|
+
if (from) {
|
|
51
52
|
const root = this.getRootNode();
|
|
52
|
-
const isProperty =
|
|
53
|
-
const isAttribute =
|
|
54
|
-
let id =
|
|
53
|
+
const isProperty = from.includes(".");
|
|
54
|
+
const isAttribute = from.includes("[") && from.includes("]");
|
|
55
|
+
let id = from;
|
|
55
56
|
let field = "";
|
|
56
57
|
if (isProperty) {
|
|
57
|
-
[id, field] =
|
|
58
|
+
[id, field] = from.trim().split(".");
|
|
58
59
|
} else if (isAttribute) {
|
|
59
|
-
[id, field] =
|
|
60
|
+
[id, field] = from.trim().replace(/\]$/, "").split("[");
|
|
60
61
|
}
|
|
61
62
|
const target = "getElementById" in root ? root.getElementById(id) : null;
|
|
62
63
|
if (target) {
|
|
@@ -91,34 +92,48 @@ var DSACopyButton = class extends ShoelaceElement {
|
|
|
91
92
|
}
|
|
92
93
|
}
|
|
93
94
|
async showStatus(status) {
|
|
94
|
-
const
|
|
95
|
-
|
|
96
|
-
|
|
95
|
+
const {
|
|
96
|
+
successLabel,
|
|
97
|
+
errorLabel,
|
|
98
|
+
successIcon,
|
|
99
|
+
errorIcon,
|
|
100
|
+
copyIcon,
|
|
101
|
+
tooltip,
|
|
102
|
+
localize
|
|
103
|
+
} = this;
|
|
104
|
+
const label = status === "success" ? successLabel || localize.term("copied") : errorLabel || localize.term("copyError");
|
|
105
|
+
const iconToShow = status === "success" ? successIcon : errorIcon;
|
|
97
106
|
const showAnimation = getAnimation(this, "copy.in", { dir: "ltr" });
|
|
98
107
|
const hideAnimation = getAnimation(this, "copy.out", { dir: "ltr" });
|
|
99
|
-
|
|
100
|
-
await
|
|
101
|
-
|
|
108
|
+
tooltip.content = label;
|
|
109
|
+
await copyIcon.animate(hideAnimation.keyframes, hideAnimation.options).finished;
|
|
110
|
+
copyIcon.hidden = true;
|
|
102
111
|
this.status = status;
|
|
103
112
|
iconToShow.hidden = false;
|
|
104
113
|
await iconToShow.animate(showAnimation.keyframes, showAnimation.options).finished;
|
|
105
114
|
this.isCopying = false;
|
|
106
115
|
}
|
|
107
116
|
async resetStatus() {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
117
|
+
const {
|
|
118
|
+
status,
|
|
119
|
+
copyLabel,
|
|
120
|
+
successIcon,
|
|
121
|
+
errorIcon,
|
|
122
|
+
copyIcon,
|
|
123
|
+
tooltip,
|
|
124
|
+
localize
|
|
125
|
+
} = this;
|
|
126
|
+
if (status !== "rest") {
|
|
127
|
+
const label = copyLabel || localize.term("copy");
|
|
128
|
+
const iconToShow = status === "success" ? successIcon : errorIcon;
|
|
111
129
|
const showAnimation = getAnimation(this, "copy.in", { dir: "ltr" });
|
|
112
130
|
const hideAnimation = getAnimation(this, "copy.out", { dir: "ltr" });
|
|
113
131
|
await iconToShow.animate(hideAnimation.keyframes, hideAnimation.options).finished;
|
|
114
132
|
iconToShow.hidden = true;
|
|
115
133
|
this.status = "rest";
|
|
116
|
-
|
|
117
|
-
await
|
|
118
|
-
|
|
119
|
-
showAnimation.options
|
|
120
|
-
).finished;
|
|
121
|
-
this.tooltip.content = copyLabel;
|
|
134
|
+
copyIcon.hidden = false;
|
|
135
|
+
await copyIcon.animate(showAnimation.keyframes, showAnimation.options).finished;
|
|
136
|
+
tooltip.content = label;
|
|
122
137
|
}
|
|
123
138
|
}
|
|
124
139
|
render() {
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk.HAWD2P5K.js";
|
|
4
4
|
import {
|
|
5
5
|
Modal
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.7Y2PLLDT.js";
|
|
7
7
|
import {
|
|
8
8
|
lockBodyScrolling,
|
|
9
9
|
unlockBodyScrolling
|
|
10
10
|
} from "./chunk.EMIT7S33.js";
|
|
11
11
|
import {
|
|
12
12
|
HasSlotController
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.XMFD37RX.js";
|
|
14
14
|
import {
|
|
15
15
|
DSAIconButton
|
|
16
16
|
} from "./chunk.2GTXVMMC.js";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.KC2ZHNPC.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATag
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.UXHQARJW.js";
|
|
7
7
|
import {
|
|
8
8
|
FormControlLayout
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.U73GKQGJ.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAPopup
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.EWO55RR2.js";
|
|
13
13
|
import {
|
|
14
14
|
scrollIntoView
|
|
15
15
|
} from "./chunk.EMIT7S33.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSAAccordion
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.XEHLIOJ2.js";
|
|
4
4
|
import "../../chunks/chunk.QGI766JC.js";
|
|
5
5
|
import "../../chunks/chunk.RY4QCT3T.js";
|
|
6
|
-
import "../../chunks/chunk.
|
|
6
|
+
import "../../chunks/chunk.XMFD37RX.js";
|
|
7
7
|
import "../../chunks/chunk.U4IPKMN6.js";
|
|
8
8
|
import "../../chunks/chunk.B4BZKR24.js";
|
|
9
9
|
import "../../chunks/chunk.D6XRV35U.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSABadge
|
|
3
|
-
} from "../../chunks/chunk.
|
|
3
|
+
} from "../../chunks/chunk.ECHY7YBZ.js";
|
|
4
4
|
import "../../chunks/chunk.2RZJMNNG.js";
|
|
5
|
-
import "../../chunks/chunk.
|
|
5
|
+
import "../../chunks/chunk.XMFD37RX.js";
|
|
6
6
|
import "../../chunks/chunk.SVWU6JW4.js";
|
|
7
7
|
import "../../chunks/chunk.TUVJKY7S.js";
|
|
8
8
|
import "../../chunks/chunk.N3L4GIUO.js";
|