@ds-autonomie/web-components 2.18.0 → 2.20.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 +45 -0
- package/cdn/chunks/chunk.2FAAI4ZJ.js +112 -0
- package/cdn/chunks/{chunk.RNR6P3VA.js → chunk.2MGX3JTR.js} +1 -1
- package/cdn/chunks/chunk.37TJAUZA.js +47 -0
- package/cdn/chunks/chunk.3D5VBTZM.js +6 -0
- package/cdn/chunks/{chunk.2MLSQPMY.js → chunk.3YXGLEPK.js} +1 -1
- package/cdn/chunks/chunk.44RPMYBZ.js +47 -0
- package/cdn/chunks/{chunk.JR3UZ7RV.js → chunk.4DONSG7S.js} +5 -4
- package/cdn/chunks/{chunk.GFXPRQI6.js → chunk.4IZELNZN.js} +4 -4
- package/cdn/chunks/chunk.4XCZGVYA.js +121 -0
- package/cdn/chunks/{chunk.EFCT4GFV.js → chunk.52THFY6J.js} +1 -0
- package/cdn/chunks/{chunk.QLA42ORC.js → chunk.535I3ZDX.js} +6 -6
- package/cdn/chunks/chunk.56JDCX3P.js +32 -0
- package/cdn/chunks/{chunk.SN7BDOHN.js → chunk.57RCXLSL.js} +12 -35
- package/cdn/chunks/{chunk.23QXZAWH.js → chunk.5V6ZBY2X.js} +1 -1
- package/cdn/chunks/chunk.5Z62TASD.js +57 -0
- package/cdn/chunks/{chunk.WRM72LHH.js → chunk.5ZXHNMZU.js} +1 -1
- package/cdn/chunks/{chunk.IDWQZLCM.js → chunk.67T75VHN.js} +8 -8
- package/cdn/chunks/{chunk.VE5CSYN4.js → chunk.67UP3FZD.js} +1 -1
- package/cdn/chunks/{chunk.CEKPJB4F.js → chunk.6B4U6EHI.js} +7 -13
- package/cdn/chunks/chunk.6JL6NMDO.js +80 -0
- package/cdn/chunks/{chunk.6MYWUUAG.js → chunk.6QUNPG2K.js} +11 -12
- package/cdn/chunks/chunk.6UXK7G4D.js +20 -0
- package/cdn/chunks/{chunk.NEWW6U6M.js → chunk.6WO7QCUB.js} +2 -0
- package/cdn/chunks/{chunk.CIFSYLTI.js → chunk.74Q4P5NY.js} +1 -1
- package/cdn/chunks/chunk.7JVAXVTA.js +1 -0
- package/cdn/chunks/{chunk.OTNGFYHL.js → chunk.7NBAEATD.js} +1 -1
- package/cdn/chunks/{chunk.FHS54ZO7.js → chunk.7RWZ2YNR.js} +1 -1
- package/cdn/chunks/chunk.7Y54WEHT.js +85 -0
- package/cdn/chunks/{chunk.TM7AGXEU.js → chunk.7YNQVYS2.js} +1 -1
- package/cdn/chunks/chunk.AGX2JVB6.js +1 -0
- package/cdn/chunks/{chunk.6GC5ODVL.js → chunk.AIMBA5HQ.js} +6 -6
- package/cdn/chunks/{chunk.QJLFNSIA.js → chunk.ALDKYE6L.js} +1 -1
- package/cdn/chunks/{chunk.QXMNA43O.js → chunk.BBVHFT7Q.js} +1 -1
- package/cdn/chunks/chunk.BKSG5KWK.js +108 -0
- package/cdn/chunks/{chunk.HJUAHLY6.js → chunk.BMNZ4YMI.js} +1 -1
- package/cdn/chunks/{chunk.JP66XCHO.js → chunk.BNTHEAJN.js} +8 -9
- package/cdn/chunks/{chunk.2S76L6WY.js → chunk.BXY7ZIT5.js} +5 -5
- package/cdn/chunks/{chunk.ZWCO2GBI.js → chunk.BZT2GJNM.js} +19 -23
- package/cdn/chunks/{chunk.2DV64XU7.js → chunk.CCKFL63L.js} +1 -1
- package/cdn/chunks/{chunk.RGBTVRRP.js → chunk.CDESACOR.js} +10 -12
- package/cdn/chunks/{chunk.4HSGYXFW.js → chunk.CLIKZB5P.js} +8 -14
- package/cdn/chunks/chunk.CNAZZZJL.js +44 -0
- package/cdn/chunks/chunk.CR7CW7MM.js +13 -0
- package/cdn/chunks/{chunk.THOSFGWY.js → chunk.CWHPCCQQ.js} +3 -1
- package/cdn/chunks/{chunk.ZCITPD2M.js → chunk.DBXX64Q4.js} +1 -1
- package/cdn/chunks/{chunk.A45JZ63N.js → chunk.DRNNBI43.js} +1 -1
- package/cdn/chunks/{chunk.TS5WHKH6.js → chunk.DS2JXBOZ.js} +1 -1
- package/cdn/chunks/{chunk.V3N4CMN7.js → chunk.DY5MCIEV.js} +3 -3
- package/cdn/chunks/chunk.E2BYQFB7.js +11 -0
- package/cdn/chunks/{chunk.FX5UP23Z.js → chunk.EFB2SY45.js} +1 -1
- package/cdn/chunks/{chunk.M5ND6PIZ.js → chunk.EQQUOYXA.js} +6 -6
- package/cdn/chunks/{chunk.GYURCDPD.js → chunk.EV7HZRUS.js} +1 -1
- package/cdn/chunks/chunk.EXQPVGOS.js +1 -0
- package/cdn/chunks/{chunk.GHHMVWM2.js → chunk.F4AQSIUW.js} +4 -4
- package/cdn/chunks/{chunk.2MY5TX6M.js → chunk.FDMQXEYE.js} +1 -2
- package/cdn/chunks/chunk.FEPCSTZT.js +130 -0
- package/cdn/chunks/{chunk.K747WAAP.js → chunk.FSDHPRBJ.js} +9 -13
- package/cdn/chunks/{chunk.3G5TZAEL.js → chunk.FUN7B2IQ.js} +2 -2
- package/cdn/chunks/chunk.G46A6S6B.js +40 -0
- package/cdn/chunks/chunk.G5H2VKPM.js +41 -0
- package/cdn/chunks/{chunk.F6P3DA77.js → chunk.GA4W656I.js} +3 -4
- package/cdn/chunks/chunk.GEX7B2RZ.js +11 -0
- package/cdn/chunks/{chunk.7IFO43EM.js → chunk.GHH7XYKB.js} +1 -1
- package/cdn/chunks/{chunk.CIKTPEVX.js → chunk.GLMWJUWZ.js} +2 -0
- package/cdn/chunks/{chunk.VE2TTZQA.js → chunk.GQ75QMJG.js} +12 -4
- package/cdn/chunks/{chunk.KC2NESXB.js → chunk.GWF5GFSQ.js} +1 -1
- package/cdn/chunks/chunk.H4I7G2EQ.js +3 -0
- package/cdn/chunks/{chunk.3TFD5K7U.js → chunk.H6456THW.js} +1 -1
- package/cdn/chunks/{chunk.ZFWCNYR2.js → chunk.HGNNGE53.js} +1 -1
- package/cdn/chunks/chunk.HR3DGR2Y.js +35 -0
- package/cdn/chunks/{chunk.MK2QCBNO.js → chunk.I2SFPZRT.js} +13 -13
- package/cdn/chunks/{chunk.NIH3WB32.js → chunk.IDTMD6WQ.js} +1 -1
- package/cdn/chunks/{chunk.3FHGJRJ3.js → chunk.IMVLXBHS.js} +9 -10
- package/cdn/chunks/{chunk.YRJIHG6T.js → chunk.IUOHXTHC.js} +1 -1
- package/cdn/chunks/chunk.JEOSRXCU.js +123 -0
- package/cdn/chunks/{chunk.GEV6DKVB.js → chunk.JFLIH5L5.js} +2 -22
- package/cdn/chunks/{chunk.A5DTG2XB.js → chunk.JU47KXI6.js} +3 -3
- package/cdn/chunks/chunk.JUMQSXMT.js +1 -0
- package/cdn/chunks/{chunk.W3ZGFMS3.js → chunk.JVEPCKCT.js} +5 -5
- package/cdn/chunks/{chunk.QSJXNN7N.js → chunk.K3JAYUBA.js} +1 -1
- package/cdn/chunks/{chunk.EJ5DXQU3.js → chunk.KIBXAWKS.js} +1 -0
- package/cdn/chunks/{chunk.LOZ2JZLU.js → chunk.KLTVL4KH.js} +12 -15
- package/cdn/chunks/{chunk.F3UE7567.js → chunk.KM72KRA4.js} +1 -1
- package/cdn/chunks/{chunk.3LUZLW6F.js → chunk.KSJJM4LY.js} +3 -3
- package/cdn/chunks/chunk.KVJWSAR3.js +173 -0
- package/cdn/chunks/{chunk.YRQ4GUXM.js → chunk.KX5QV54N.js} +1 -1
- package/cdn/chunks/{chunk.GM4KTNXL.js → chunk.LBAIMDY3.js} +1 -1
- package/cdn/chunks/{chunk.63UE4VAO.js → chunk.LYLTFAFC.js} +4 -4
- package/cdn/chunks/{chunk.LSD5NIU2.js → chunk.M57VWWNA.js} +1 -1
- package/cdn/chunks/{chunk.AOPSMRYY.js → chunk.M66L2D2H.js} +1 -1
- package/cdn/chunks/chunk.MC7ZQO6Z.js +1 -0
- package/cdn/chunks/{chunk.2LF6OMUV.js → chunk.MU36LMLD.js} +15 -15
- package/cdn/chunks/{chunk.2QQVNGQU.js → chunk.NG2DZYRR.js} +1 -1
- package/cdn/chunks/{chunk.NEWNV55I.js → chunk.NH327H72.js} +1 -1
- package/cdn/chunks/chunk.NVG5W3ED.js +25 -0
- package/cdn/chunks/chunk.NZKPTTUJ.js +121 -0
- package/cdn/chunks/chunk.O52WFAX7.js +64 -0
- package/cdn/chunks/{chunk.F5LRDLVV.js → chunk.OH7GC6EG.js} +1 -1
- package/cdn/chunks/chunk.OSB2X3QH.js +26 -0
- package/cdn/chunks/{chunk.E2GQJ6JW.js → chunk.OSQWNBGB.js} +1 -1
- package/cdn/chunks/chunk.OSR6DVXB.js +54 -0
- package/cdn/chunks/{chunk.2RZZILUX.js → chunk.OTNIMSDB.js} +7 -7
- package/cdn/chunks/chunk.P7SG42IM.js +1 -0
- package/cdn/chunks/{chunk.PIWF5VEN.js → chunk.PNTZLR2X.js} +1 -1
- package/cdn/chunks/{chunk.VO4NFG2W.js → chunk.Q2GIRDX3.js} +1 -1
- package/cdn/chunks/chunk.Q2IGZDBA.js +68 -0
- package/cdn/chunks/{chunk.LLP7EPAY.js → chunk.Q7GZ4AMX.js} +1 -1
- package/cdn/chunks/chunk.QEODND2O.js +8 -0
- package/cdn/chunks/chunk.QHQUGZAC.js +1 -0
- package/cdn/chunks/chunk.QOIUR37X.js +1 -0
- package/cdn/chunks/{chunk.43ZUOVN3.js → chunk.QPMWIVIV.js} +8 -5
- package/cdn/chunks/{chunk.LFI7CMVX.js → chunk.QSMVLQKG.js} +1 -1
- package/cdn/chunks/chunk.QTD6NQFL.js +1 -0
- package/cdn/chunks/chunk.QXHK62F7.js +1 -0
- package/cdn/chunks/{chunk.PSXSWQCS.js → chunk.RDYBSHLC.js} +1 -1
- package/cdn/chunks/{chunk.C2H2IJ5N.js → chunk.RX76YMGL.js} +1 -1
- package/cdn/chunks/{chunk.BARZKNDN.js → chunk.RXX4NY67.js} +5 -10
- package/cdn/chunks/{chunk.U7X2EV5T.js → chunk.S47ZNKH7.js} +119 -91
- package/cdn/chunks/{chunk.H46NZIZH.js → chunk.S7OUYCK4.js} +1 -1
- package/cdn/chunks/chunk.SBGRTAIJ.js +62 -0
- package/cdn/chunks/{chunk.YXR5X3ZH.js → chunk.SLWQRYAW.js} +1 -1
- package/cdn/chunks/{chunk.UAGWSEWC.js → chunk.STCKZYIM.js} +6 -6
- package/cdn/chunks/{chunk.NJBAMERR.js → chunk.TFTJUTCH.js} +1 -1
- package/cdn/chunks/chunk.TO3SON22.js +1 -0
- package/cdn/chunks/chunk.UDLR3IFA.js +1 -0
- package/cdn/chunks/{chunk.JO6IBXF3.js → chunk.UFUMCCGR.js} +1 -1
- package/cdn/chunks/chunk.UPTGFHYO.js +19 -0
- package/cdn/chunks/chunk.URE4SVTS.js +24 -0
- package/cdn/chunks/chunk.V2HF2VKY.js +59 -0
- package/cdn/chunks/chunk.V6G6DQFY.js +25 -0
- package/cdn/chunks/chunk.VBCBEOZG.js +66 -0
- package/cdn/chunks/{chunk.EG6MMAM3.js → chunk.VM2KBACU.js} +1 -1
- package/cdn/chunks/chunk.VQCDCQ2A.js +3 -0
- package/cdn/chunks/{chunk.VL5LPHV3.js → chunk.VRIJXOVW.js} +1 -1
- package/cdn/chunks/chunk.VZAYP3SG.js +19 -0
- package/cdn/chunks/{chunk.U72UDJIM.js → chunk.WADWJFMR.js} +1 -1
- package/cdn/chunks/chunk.WDYFEO2Q.js +6 -0
- package/cdn/chunks/{chunk.UWBADC7U.js → chunk.WMOV27WV.js} +5 -2
- package/cdn/chunks/{chunk.WYKFMOCB.js → chunk.WNYKZ5NJ.js} +1 -1
- package/cdn/chunks/chunk.WQIMDJJX.js +101 -0
- package/cdn/chunks/{chunk.HCFW7RW4.js → chunk.WRMXCZIL.js} +33 -37
- package/cdn/chunks/{chunk.JOY25RSZ.js → chunk.X4AWEYYO.js} +0 -5
- package/cdn/chunks/chunk.XHVUNCDG.js +64 -0
- package/cdn/chunks/{chunk.WEWRFZAQ.js → chunk.XKWU5ZJA.js} +1 -1
- package/cdn/chunks/chunk.XOR6B7CF.js +68 -0
- package/cdn/chunks/chunk.XZTHZM2O.js +28 -0
- package/cdn/chunks/chunk.YCHSWY7W.js +4 -0
- package/cdn/chunks/chunk.YKDQ56UZ.js +27 -0
- package/cdn/chunks/{chunk.FEXCFMDC.js → chunk.YL7QS24Y.js} +6 -6
- package/cdn/chunks/chunk.YMSC6K32.js +5 -0
- package/cdn/chunks/{chunk.BS2OSSAE.js → chunk.YOPYBUGE.js} +1 -1
- package/cdn/chunks/{chunk.ZPW2DSUP.js → chunk.YQURDTCI.js} +1 -1
- package/cdn/chunks/chunk.YUIUEJ5Y.js +51 -0
- package/cdn/chunks/{chunk.2QOKOUSD.js → chunk.ZMEW7RFS.js} +1 -1
- package/cdn/chunks/{chunk.FYJYTPOV.js → chunk.ZMRIQCNQ.js} +2 -3
- package/cdn/chunks/chunk.ZNP3XUGI.js +9 -0
- package/cdn/chunks/chunk.ZZBJJF7J.js +44 -0
- package/cdn/components/accordion/accordion.js +1 -1
- package/cdn/components/accordion-group/accordion-group.js +1 -1
- package/cdn/components/alert/alert.js +1 -1
- package/cdn/components/avatar/avatar.js +1 -1
- package/cdn/components/breadcrumb/breadcrumb.js +1 -1
- package/cdn/components/breadcrumb-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.js +1 -1
- package/cdn/components/calendar/calendar.js +1 -1
- package/cdn/components/card-content/card-content.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/checkbox.styles.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.d.ts +3 -0
- package/cdn/components/combobox/combobox.js +1 -1
- package/cdn/components/combobox/combobox.styles.js +1 -1
- package/cdn/components/copy-button/copy-button.js +1 -1
- package/cdn/components/dialog/dialog.js +1 -1
- package/cdn/components/download-card/download-card.js +1 -1
- package/cdn/components/download-link/download-link.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/error-text/error-text.js +1 -1
- package/cdn/components/file-upload/file-upload.d.ts +10 -0
- 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-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.js +1 -1
- package/cdn/components/filter-counter/filter-counter.d.ts +2 -0
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-date/filter-date.styles.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.d.ts +3 -0
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.js +1 -1
- package/cdn/components/footer/footer.styles.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.js +1 -1
- package/cdn/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.js +1 -1
- package/cdn/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/cdn/components/footer-sitemap-item/footer-sitemap-item.styles.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/header/header.d.ts +1 -0
- package/cdn/components/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.js +1 -1
- package/cdn/components/header-modern/header-modern.d.ts +1 -0
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/icon/icon.js +1 -1
- package/cdn/components/icon-button/icon-button.js +1 -1
- package/cdn/components/icon-button/icon-button.styles.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-amount/input-amount.styles.js +1 -1
- package/cdn/components/input-amount/input-amount.utils.js +1 -1
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-date/input-date.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.configs.js +1 -1
- package/cdn/components/input-mask/input-mask.d.ts +6 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-mask/input-mask.styles.js +1 -1
- package/cdn/components/input-mask/input-mask.utils.d.ts +3 -0
- 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-native/input-native.styles.js +1 -1
- package/cdn/components/input-otp/input-otp.js +1 -1
- package/cdn/components/input-otp/input-otp.styles.js +1 -1
- package/cdn/components/input-phone/input-phone.d.ts +6 -2
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-phone/input-phone.styles.js +1 -1
- package/cdn/components/input-time/input-time.d.ts +2 -0
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/input-time/input-time.styles.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.d.ts +7 -2
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/cdn/components/menu-item/menu-item.d.ts +1 -0
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-item/menu-item.styles.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/cdn/components/mutation-observer/mutation-observer.js +1 -1
- package/cdn/components/navbar/navbar.d.ts +4 -5
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar/navbar.styles.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.d.ts +3 -0
- package/cdn/components/navbar-menu/navbar-menu.js +1 -1
- package/cdn/components/option/option.d.ts +2 -0
- package/cdn/components/option/option.js +1 -1
- package/cdn/components/option/option.styles.js +1 -1
- package/cdn/components/page-header/page-header.js +1 -1
- package/cdn/components/page-header/page-header.styles.js +1 -1
- package/cdn/components/pagination/pagination.d.ts +3 -1
- package/cdn/components/pagination/pagination.js +1 -1
- package/cdn/components/pagination/pagination.styles.js +1 -1
- package/cdn/components/pagination-button/pagination-button.js +1 -1
- package/cdn/components/profile-button/profile-button.js +1 -1
- package/cdn/components/progress-bar/progress-bar.js +1 -1
- package/cdn/components/progress-bar/progress-bar.styles.js +1 -1
- package/cdn/components/progress-ring/progress-ring.d.ts +2 -0
- package/cdn/components/progress-ring/progress-ring.js +1 -1
- package/cdn/components/progress-ring/progress-ring.styles.js +1 -1
- package/cdn/components/radio/radio.js +1 -1
- package/cdn/components/radio/radio.styles.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/range-slider/range-slider.d.ts +1 -0
- 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.js +1 -1
- package/cdn/components/search/search.styles.js +1 -1
- package/cdn/components/select/select.d.ts +3 -1
- package/cdn/components/select/select.js +1 -1
- package/cdn/components/select/select.styles.js +1 -1
- package/cdn/components/sidenav/sidenav.d.ts +4 -1
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.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/spinner/spinner.styles.js +1 -1
- package/cdn/components/split-panel/split-panel.d.ts +2 -0
- package/cdn/components/split-panel/split-panel.js +1 -1
- package/cdn/components/split-panel/split-panel.styles.js +1 -1
- package/cdn/components/step/step.js +1 -1
- package/cdn/components/step/step.styles.js +1 -1
- package/cdn/components/stepper/stepper.d.ts +4 -1
- package/cdn/components/stepper/stepper.js +1 -1
- package/cdn/components/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/switch/switch.styles.js +1 -1
- package/cdn/components/tab/tab.d.ts +3 -0
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab/tab.styles.js +1 -1
- package/cdn/components/tab-group/tab-group.d.ts +1 -0
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/tab-group/tab-group.styles.js +1 -1
- package/cdn/components/tab-panel/tab-panel.js +1 -1
- package/cdn/components/table/table.d.ts +29 -0
- package/cdn/components/table/table.js +1 -1
- 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.js +1 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-head/table-head.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +1 -0
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-header-row/table-header-row.styles.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row-base.styles.js +1 -1
- package/cdn/components/table-row/table-row.d.ts +20 -0
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/table-row/table-row.styles.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/textarea/textarea.styles.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.d.ts +4 -0
- package/cdn/components/tree/tree.js +1 -1
- package/cdn/components/tree-item/tree-item.d.ts +1 -2
- package/cdn/components/tree-item/tree-item.js +1 -1
- package/cdn/components/tree-item/tree-item.styles.js +1 -1
- package/cdn/custom-elements.json +1703 -429
- package/cdn/design-system.js +1 -1
- package/cdn/events/dsa-table-row-reordered.d.ts +14 -0
- package/cdn/events/dsa-table-row-reordered.js +1 -0
- package/cdn/events/events.d.ts +1 -0
- package/cdn/internal/components/date-field/date-field.d.ts +1 -0
- package/cdn/internal/components/date-field/date-field.js +24 -8
- package/cdn/internal/components/form-selectable-card/form-selectable-card.js +3 -2
- package/cdn/internal/components/form-selectable-card/form-selectable-card.styles.js +4 -4
- package/cdn/internal/components/form-toggle-button/form-toggle-button.js +3 -2
- package/cdn/internal/components/form-toggle-button/form-toggle-button.styles.js +2 -2
- package/cdn/internal/components/input-base/input-base.styles.js +6 -6
- package/cdn/templates/utilities/decorator.js +1 -1
- 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/helpers.d.ts +2 -0
- package/cdn/utilities/helpers.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 +78 -28
- package/cdn/web-types.json +840 -181
- package/dist/chunks/{chunk.JEWVIFAO.js → chunk.24VWWARJ.js} +4 -1
- package/dist/chunks/{chunk.JFAQ5QOI.js → chunk.25TWOP6P.js} +15 -9
- package/dist/chunks/{chunk.TZZRAR42.js → chunk.2GJ46J7Q.js} +1 -1
- package/dist/chunks/{chunk.JKNKFWLE.js → chunk.2I4VZQYC.js} +5 -6
- package/dist/chunks/{chunk.WHHYA5VY.js → chunk.34HS7ICN.js} +4 -0
- package/dist/chunks/{chunk.7OLEA3GQ.js → chunk.3D7AGBFQ.js} +55 -28
- package/dist/chunks/{chunk.QEXDSP5Y.js → chunk.47CX6JJX.js} +0 -5
- package/dist/chunks/{chunk.CQR34TNY.js → chunk.4AUOO4K2.js} +9 -13
- package/dist/chunks/{chunk.VHSA53PH.js → chunk.4FZPTWZ7.js} +2 -2
- package/dist/chunks/{chunk.AFSUKPIV.js → chunk.4JMXY2WI.js} +5 -3
- package/dist/chunks/{chunk.MPV4OPIK.js → chunk.4K6WZ7K7.js} +9 -3
- package/dist/chunks/{chunk.ZZ67C4V2.js → chunk.5S6P5V3F.js} +15 -6
- package/dist/chunks/chunk.5WXGUCD2.js +412 -0
- package/dist/chunks/{chunk.XJCHW2GZ.js → chunk.6DUG6A52.js} +29 -18
- package/dist/chunks/{chunk.VKBTTWXW.js → chunk.6EOZYFCK.js} +95 -39
- package/dist/chunks/{chunk.K27SKJCO.js → chunk.74CLWWSO.js} +3 -2
- package/dist/chunks/{chunk.FF67XKLP.js → chunk.75USPA7U.js} +26 -18
- package/dist/chunks/{chunk.M5X6QE4H.js → chunk.7I4SBUOE.js} +3 -3
- package/dist/chunks/{chunk.PENDUUVT.js → chunk.A4X3GH4U.js} +46 -41
- package/dist/chunks/{chunk.PEWNJNAP.js → chunk.AAHDC2DF.js} +4 -3
- package/dist/chunks/{chunk.D6D5UTHQ.js → chunk.AAZSI6N4.js} +11 -7
- package/dist/chunks/{chunk.767V7QP2.js → chunk.ADV67KWS.js} +5 -10
- package/dist/chunks/{chunk.2DYEXJNV.js → chunk.AI3RKI3P.js} +116 -88
- package/dist/chunks/{chunk.PFQ6NGY7.js → chunk.B3DDBDEC.js} +2 -2
- package/dist/chunks/{chunk.EHGHV3EE.js → chunk.B3QEXOQE.js} +2 -1
- package/dist/chunks/{chunk.UNDVQ2N3.js → chunk.B6XSS23Y.js} +3 -3
- package/dist/chunks/{chunk.6TDF44UO.js → chunk.BEK4DVCN.js} +1 -1
- package/dist/chunks/{chunk.HBYJN6RA.js → chunk.BIMSZQRS.js} +4 -4
- package/dist/chunks/{chunk.XGZ4IJ57.js → chunk.BITIOZGG.js} +52 -34
- package/dist/chunks/{chunk.2K5QPKBA.js → chunk.BKCIRG2P.js} +5 -4
- package/dist/chunks/{chunk.ANOLAL4B.js → chunk.BUGXYS34.js} +1 -1
- package/dist/chunks/{chunk.BJ76CXBF.js → chunk.BWP55AAX.js} +1 -1
- package/dist/chunks/{chunk.O65OOIT6.js → chunk.BZFZTT6Z.js} +4 -2
- package/dist/chunks/{chunk.P2KNRWE5.js → chunk.C6Q4Y7HY.js} +4 -5
- package/dist/chunks/{chunk.6LLDVH7Y.js → chunk.C7XR6TIW.js} +1 -1
- package/dist/chunks/{chunk.V5GAH4HU.js → chunk.CRWYFYCK.js} +6 -6
- package/dist/chunks/{chunk.RVUUZ3KA.js → chunk.CY25FZDP.js} +1 -1
- package/dist/chunks/{chunk.ABJLUGLR.js → chunk.CZC3DHY6.js} +66 -26
- package/dist/chunks/{chunk.XL3HVVDK.js → chunk.CZWS5IXY.js} +1 -1
- package/dist/chunks/{chunk.LHKUT7UW.js → chunk.D4VA4USZ.js} +1 -1
- package/dist/chunks/chunk.D5YUY5BG.js +608 -0
- package/dist/chunks/{chunk.WMFEJDPX.js → chunk.DE3HY2DW.js} +2 -2
- package/dist/chunks/{chunk.TF4MJ3XV.js → chunk.DM5A44VN.js} +5 -5
- package/dist/chunks/{chunk.5A6XLOZY.js → chunk.DN3K2GHZ.js} +1 -1
- package/dist/chunks/{chunk.6QE4MIXY.js → chunk.E6D26DI7.js} +2 -5
- package/dist/chunks/{chunk.TURUUPFG.js → chunk.EDEPWRFC.js} +1 -1
- package/dist/chunks/{chunk.A6WS4GML.js → chunk.EE3XCTKZ.js} +3 -3
- package/dist/chunks/{chunk.MGW4E3VW.js → chunk.EGXFCQMV.js} +52 -31
- package/dist/chunks/{chunk.KAG2EIKO.js → chunk.EH2DQIPN.js} +9 -10
- package/dist/chunks/{chunk.EGJGLON7.js → chunk.EJUYB3MH.js} +6 -3
- package/dist/chunks/{chunk.TP5XEQ2O.js → chunk.ELOLGOFM.js} +1 -1
- package/dist/chunks/{chunk.C6UENJ2Y.js → chunk.ER5S4DQ4.js} +2 -2
- package/dist/chunks/{chunk.RU7L7OSM.js → chunk.ESWLZEFC.js} +12 -15
- package/dist/chunks/{chunk.ZQ56PQ6F.js → chunk.F7XLQM3I.js} +6 -3
- package/dist/chunks/{chunk.TW7OE55S.js → chunk.FA4NHQF4.js} +1 -1
- package/dist/chunks/{chunk.3WHBR6ML.js → chunk.FLRNIL37.js} +1 -1
- package/dist/chunks/chunk.FOZRSNGL.js +111 -0
- package/dist/chunks/{chunk.I522XZAV.js → chunk.GMHIXRUV.js} +1 -2
- package/dist/chunks/{chunk.CABJDFOO.js → chunk.GMHRN23H.js} +6 -6
- package/dist/chunks/{chunk.WRFA56CD.js → chunk.H26XMOUA.js} +1 -1
- package/dist/chunks/{chunk.6JFNUOJL.js → chunk.HCKPLZT3.js} +29 -7
- package/dist/chunks/{chunk.WO56WJXU.js → chunk.HG526A44.js} +1 -0
- package/dist/chunks/{chunk.6WPKFGU3.js → chunk.HIABUXVS.js} +13 -13
- package/dist/chunks/{chunk.3NOR7Y4Y.js → chunk.HKP752UH.js} +2 -1
- package/dist/chunks/{chunk.FQZVV2TO.js → chunk.I7MPPCZN.js} +9 -5
- package/dist/chunks/{chunk.JVIWPP43.js → chunk.IEYQPZRM.js} +1 -0
- package/dist/chunks/{chunk.3SAKVK56.js → chunk.IIT2FS67.js} +1 -1
- package/dist/chunks/{chunk.7WQZIM7N.js → chunk.IJLBJ37U.js} +18 -10
- package/dist/chunks/{chunk.SRLGPXHB.js → chunk.IJYHCSO5.js} +1 -1
- package/dist/chunks/{chunk.T3CLPVPE.js → chunk.IRBKALXJ.js} +5 -5
- package/dist/chunks/{chunk.X6SEIMM4.js → chunk.IRPNCLE5.js} +2 -2
- package/dist/chunks/{chunk.HPAWBSR5.js → chunk.ISEFZON7.js} +8 -3
- package/dist/chunks/{chunk.RKKRGVJW.js → chunk.ISXV5IHB.js} +13 -3
- package/dist/chunks/{chunk.R3PD3TNK.js → chunk.IWCSAXJN.js} +2 -2
- package/dist/chunks/{chunk.2SQ6UBOQ.js → chunk.IYAYPQEC.js} +11 -4
- package/dist/chunks/{chunk.O3SPGNIU.js → chunk.JC4UHPES.js} +9 -5
- package/dist/chunks/{chunk.UC5S2IUH.js → chunk.JLAQUWWF.js} +1 -1
- package/dist/chunks/{chunk.2O3KAV2X.js → chunk.JTUO6EOR.js} +3 -3
- package/dist/chunks/{chunk.6K3AZQXP.js → chunk.K43LRQVK.js} +9 -8
- package/dist/chunks/{chunk.WFACPRM5.js → chunk.K64V2XZO.js} +5 -1
- package/dist/chunks/{chunk.JUOYMIGK.js → chunk.KD27MP6C.js} +5 -2
- package/dist/chunks/{chunk.5NUD3TZO.js → chunk.KD5YM72X.js} +12 -4
- package/dist/chunks/{chunk.TNZEC73D.js → chunk.KNXPRETW.js} +31 -6
- package/dist/chunks/{chunk.6Q5DARJM.js → chunk.L5HLKFQW.js} +1 -1
- package/dist/chunks/{chunk.TRVKPMDO.js → chunk.LKSUU7CF.js} +2 -2
- package/dist/chunks/{chunk.7NJP4D2X.js → chunk.LLOSO7FC.js} +5 -5
- package/dist/chunks/{chunk.NMU6DWUH.js → chunk.LN7NDCQU.js} +28 -7
- package/dist/chunks/{chunk.4NZ25HB6.js → chunk.LWTEEWEF.js} +27 -17
- package/dist/chunks/{chunk.5NSAEDEE.js → chunk.M2QIFDAP.js} +1 -1
- package/dist/chunks/{chunk.UHF3BDIM.js → chunk.M2RDCDKZ.js} +1 -2
- package/dist/chunks/{chunk.ZBTNV3E7.js → chunk.M5L3DDVW.js} +43 -15
- package/dist/chunks/{chunk.GUKOZGE3.js → chunk.MJ6DIYWF.js} +1 -1
- package/dist/chunks/{chunk.WNESPUKK.js → chunk.MWPOWC6N.js} +3 -3
- package/dist/chunks/{chunk.YKL22V4E.js → chunk.N2V4KI76.js} +1 -1
- package/dist/chunks/{chunk.YMBSK45L.js → chunk.NBEDK6M4.js} +2 -0
- package/dist/chunks/{chunk.WJFVQRWU.js → chunk.NC6NNDYD.js} +1 -1
- package/dist/chunks/{chunk.SOF3BQCV.js → chunk.NGEL5LW3.js} +13 -9
- package/dist/chunks/{chunk.BO3GUSFS.js → chunk.NIBZO5CG.js} +48 -39
- package/dist/chunks/{chunk.CKJJ4MSU.js → chunk.NJQ6BFQQ.js} +10 -6
- package/dist/chunks/{chunk.H7L4YNKB.js → chunk.NPMNFNR7.js} +41 -17
- package/dist/chunks/{chunk.34BCRRRT.js → chunk.NTKYNRVQ.js} +8 -3
- package/dist/chunks/{chunk.EXHYWKQB.js → chunk.ORK75RRY.js} +2 -2
- package/dist/chunks/{chunk.LZOGVU7B.js → chunk.OUUFQTMX.js} +2 -2
- package/dist/chunks/{chunk.JBKNTRA7.js → chunk.PFPVUCRD.js} +20 -7
- package/dist/chunks/{chunk.GBBK2LRH.js → chunk.PPNCOBIW.js} +27 -20
- package/dist/chunks/{chunk.FLRB45SF.js → chunk.PSYTLBRK.js} +12 -0
- package/dist/chunks/{chunk.2LWUWDHO.js → chunk.Q3SL7AWD.js} +3 -3
- package/dist/chunks/{chunk.EMPEBDHH.js → chunk.Q76VY2W2.js} +7 -9
- package/dist/chunks/{chunk.LQAWGV5K.js → chunk.QAA45XK3.js} +2 -2
- package/dist/chunks/{chunk.ODOHKR6J.js → chunk.QHEMM3XC.js} +18 -16
- package/dist/chunks/{chunk.64EGGLHL.js → chunk.QWPEXQZX.js} +7 -13
- package/dist/chunks/{chunk.6NRREKDF.js → chunk.RK2WN36C.js} +1 -1
- package/dist/chunks/{chunk.UKH2D4DL.js → chunk.RPOIITDC.js} +33 -15
- package/dist/chunks/{chunk.RIMN7NRW.js → chunk.RRR5BCCP.js} +39 -17
- package/dist/chunks/{chunk.5T4IWZR2.js → chunk.SC6ST3JE.js} +19 -14
- package/dist/chunks/{chunk.CFBX4SXO.js → chunk.SEMHY47B.js} +1 -1
- package/dist/chunks/{chunk.6TDKZD7U.js → chunk.SUX4XQKB.js} +15 -3
- package/dist/chunks/{chunk.QKT5LLDM.js → chunk.T4XADGK3.js} +1 -1
- package/dist/chunks/{chunk.J476JEKY.js → chunk.T7O6NKFH.js} +1 -1
- package/dist/chunks/{chunk.63ACYDSJ.js → chunk.TGQQJI2E.js} +26 -10
- package/dist/chunks/{chunk.KIN7BJ2S.js → chunk.TILFUJJ2.js} +3 -4
- package/dist/chunks/{chunk.DT6Y5ZUB.js → chunk.TJ5TUGGE.js} +83 -83
- package/dist/chunks/{chunk.4XPBWICF.js → chunk.TNWA2A3X.js} +1 -1
- package/dist/chunks/{chunk.IAJLX5AF.js → chunk.TPO64PVN.js} +11 -5
- package/dist/chunks/{chunk.QZC7F7NX.js → chunk.TTV3MIRK.js} +46 -22
- package/dist/chunks/{chunk.CFUNT7FK.js → chunk.TXX2YIZA.js} +6 -7
- package/dist/chunks/{chunk.BHEY6E7D.js → chunk.UBVYU5GL.js} +24 -26
- package/dist/chunks/{chunk.DMSUKPJE.js → chunk.UF7CYOQ4.js} +47 -47
- package/dist/chunks/{chunk.OAJEHJJO.js → chunk.UGLMODK6.js} +22 -31
- package/dist/chunks/{chunk.SZDGGP2Y.js → chunk.UIZ6FPK7.js} +12 -35
- package/dist/chunks/{chunk.ZU3DGID3.js → chunk.UO6FYSWX.js} +7 -11
- package/dist/chunks/{chunk.EWMFHVNW.js → chunk.UOJ4QKLP.js} +6 -6
- package/dist/chunks/{chunk.PGXKP7ME.js → chunk.UYMQI7J5.js} +20 -8
- package/dist/chunks/{chunk.APWZSSG6.js → chunk.V2HQ7IVJ.js} +1 -1
- package/dist/chunks/{chunk.N2SYQR7M.js → chunk.VFJEGCDO.js} +4 -4
- package/dist/chunks/{chunk.XSXVVUKP.js → chunk.VILH76T7.js} +2 -0
- package/dist/chunks/{chunk.IER4ZBFV.js → chunk.VNBYO53K.js} +2 -1
- package/dist/chunks/{chunk.HFTU6LUQ.js → chunk.VNGKMC5T.js} +1 -1
- package/dist/chunks/{chunk.WLP7MATK.js → chunk.VO73SGIU.js} +1 -1
- package/dist/chunks/{chunk.LZPAAWTZ.js → chunk.VPZ2H23V.js} +0 -20
- package/dist/chunks/{chunk.ACM36IFE.js → chunk.WAEFCPAX.js} +6 -6
- package/dist/chunks/{chunk.ZJEACN47.js → chunk.WL6AJERE.js} +4 -8
- package/dist/chunks/{chunk.BSSSDSVK.js → chunk.XM237MHQ.js} +3 -3
- package/dist/chunks/{chunk.XZU6MLWO.js → chunk.XSQDJNFR.js} +14 -8
- package/dist/chunks/{chunk.YC2VYNCD.js → chunk.XTVVSORU.js} +1 -1
- package/dist/chunks/{chunk.WDPZ4NSH.js → chunk.YBX4TUQG.js} +5 -5
- package/dist/chunks/{chunk.6RDA3XLH.js → chunk.YF2V46J3.js} +9 -10
- package/dist/chunks/{chunk.SLXERY4H.js → chunk.YGUB43LS.js} +9 -5
- package/dist/chunks/{chunk.H4WJ64X5.js → chunk.YTAYYSIR.js} +58 -53
- package/dist/chunks/{chunk.FB4KLQQL.js → chunk.YYKAI7FO.js} +6 -12
- package/dist/chunks/{chunk.EXGB2DIR.js → chunk.Z7QD3YXZ.js} +64 -28
- package/dist/chunks/{chunk.MVDMKWDN.js → chunk.ZHPIA4F4.js} +3 -1
- package/dist/chunks/{chunk.UHSLPBTG.js → chunk.ZJ6WYIG2.js} +2 -2
- package/dist/chunks/{chunk.AECIJYFZ.js → chunk.ZKBTNXGE.js} +51 -35
- package/dist/chunks/{chunk.LFCY7UUJ.js → chunk.ZKCBJ5YM.js} +30 -34
- package/dist/chunks/{chunk.ATUDHG2E.js → chunk.ZYGCOBUE.js} +1 -1
- package/dist/components/accordion/accordion.js +4 -3
- package/dist/components/accordion-group/accordion-group.js +7 -6
- package/dist/components/alert/alert.js +6 -5
- package/dist/components/avatar/avatar.js +3 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +4 -3
- package/dist/components/button/button.js +6 -5
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/card-content/card-content.js +3 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +4 -3
- package/dist/components/card-nav-item/card-nav-item.js +3 -2
- package/dist/components/checkbox/checkbox.js +7 -6
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/checkbox-button/checkbox-button.js +6 -5
- package/dist/components/checkbox-card/checkbox-card.js +6 -5
- package/dist/components/checkbox-group/checkbox-group.js +4 -3
- package/dist/components/combobox/combobox.d.ts +3 -0
- package/dist/components/combobox/combobox.js +15 -15
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/copy-button/copy-button.js +5 -4
- package/dist/components/dialog/dialog.js +6 -5
- package/dist/components/download-card/download-card.js +3 -2
- package/dist/components/download-link/download-link.js +3 -2
- package/dist/components/drawer/drawer.js +6 -5
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/error-text/error-text.js +3 -2
- package/dist/components/file-upload/file-upload.d.ts +10 -0
- package/dist/components/file-upload/file-upload.js +9 -8
- package/dist/components/file-upload/file-upload.styles.js +1 -1
- package/dist/components/file-upload-item/file-upload-item.js +5 -4
- package/dist/components/file-upload-item/file-upload-item.styles.js +1 -1
- package/dist/components/filter-button/filter-button.js +4 -3
- package/dist/components/filter-counter/filter-counter.d.ts +2 -0
- package/dist/components/filter-counter/filter-counter.js +28 -27
- package/dist/components/filter-date/filter-date.js +14 -13
- package/dist/components/filter-date/filter-date.styles.js +1 -1
- package/dist/components/filter-range/filter-range.js +29 -28
- package/dist/components/filter-select/filter-select.d.ts +3 -0
- package/dist/components/filter-select/filter-select.js +30 -30
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/footer/footer.styles.js +1 -1
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.styles.js +1 -1
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.styles.js +1 -1
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.styles.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +2 -2
- package/dist/components/format-date/format-date.js +2 -2
- package/dist/components/format-number/format-number.js +2 -2
- package/dist/components/header/header.d.ts +1 -0
- package/dist/components/header/header.js +3 -2
- package/dist/components/header-external-link/header-external-link.js +2 -1
- package/dist/components/header-modern/header-modern.d.ts +1 -0
- package/dist/components/header-modern/header-modern.js +3 -2
- package/dist/components/header-search/header-search.js +12 -11
- package/dist/components/icon/icon.js +2 -1
- package/dist/components/icon-button/icon-button.js +4 -3
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.js +22 -21
- package/dist/components/input-amount/input-amount.js +13 -12
- package/dist/components/input-amount/input-amount.styles.js +2 -2
- package/dist/components/input-amount/input-amount.utils.js +1 -1
- package/dist/components/input-date/input-date.js +14 -13
- package/dist/components/input-date/input-date.styles.js +2 -2
- package/dist/components/input-mask/input-mask.configs.js +1 -1
- package/dist/components/input-mask/input-mask.d.ts +6 -1
- package/dist/components/input-mask/input-mask.js +13 -12
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-mask/input-mask.utils.d.ts +3 -0
- package/dist/components/input-mask/input-mask.utils.js +5 -1
- package/dist/components/input-native/input-native.js +12 -11
- package/dist/components/input-native/input-native.styles.js +2 -2
- package/dist/components/input-otp/input-otp.js +8 -7
- package/dist/components/input-otp/input-otp.styles.js +1 -1
- package/dist/components/input-phone/input-phone.d.ts +6 -2
- package/dist/components/input-phone/input-phone.js +18 -17
- package/dist/components/input-phone/input-phone.styles.js +1 -1
- package/dist/components/input-time/input-time.d.ts +2 -0
- package/dist/components/input-time/input-time.js +12 -11
- package/dist/components/input-time/input-time.styles.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.d.ts +7 -2
- package/dist/components/menu-accordion/menu-accordion.js +6 -5
- package/dist/components/menu-accordion/menu-accordion.styles.js +1 -1
- package/dist/components/menu-item/menu-item.d.ts +1 -0
- package/dist/components/menu-item/menu-item.js +4 -4
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +5 -5
- package/dist/components/mutation-observer/mutation-observer.d.ts +1 -1
- package/dist/components/mutation-observer/mutation-observer.js +1 -1
- package/dist/components/navbar/navbar.d.ts +4 -5
- package/dist/components/navbar/navbar.js +2 -2
- package/dist/components/navbar/navbar.styles.js +1 -1
- package/dist/components/navbar-link/navbar-link.js +8 -7
- package/dist/components/navbar-menu/navbar-menu.d.ts +3 -0
- package/dist/components/navbar-menu/navbar-menu.js +4 -3
- package/dist/components/option/option.d.ts +2 -0
- package/dist/components/option/option.js +5 -4
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/page-header/page-header.js +2 -2
- package/dist/components/page-header/page-header.styles.js +1 -1
- package/dist/components/pagination/pagination.d.ts +3 -1
- package/dist/components/pagination/pagination.js +25 -24
- package/dist/components/pagination/pagination.styles.js +1 -1
- package/dist/components/pagination-button/pagination-button.js +1 -1
- package/dist/components/profile-button/profile-button.js +6 -5
- package/dist/components/progress-bar/progress-bar.js +3 -3
- package/dist/components/progress-bar/progress-bar.styles.js +1 -1
- package/dist/components/progress-ring/progress-ring.d.ts +2 -0
- package/dist/components/progress-ring/progress-ring.js +2 -2
- package/dist/components/progress-ring/progress-ring.styles.js +1 -1
- package/dist/components/radio/radio.js +5 -4
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +6 -5
- package/dist/components/radio-card/radio-card.js +8 -7
- package/dist/components/radio-group/radio-group.js +4 -3
- package/dist/components/range-slider/range-slider.d.ts +1 -0
- package/dist/components/range-slider/range-slider.js +1 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/resize-observer/resize-observer.js +1 -1
- package/dist/components/search/search.js +8 -7
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.d.ts +3 -1
- package/dist/components/select/select.js +11 -10
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/sidenav/sidenav.d.ts +4 -1
- package/dist/components/sidenav/sidenav.js +5 -5
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +7 -6
- package/dist/components/skip-link-item/skip-link-item.js +2 -1
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/spinner/spinner.js +3 -3
- package/dist/components/spinner/spinner.styles.js +1 -1
- package/dist/components/split-panel/split-panel.d.ts +2 -0
- package/dist/components/split-panel/split-panel.js +5 -4
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/step/step.js +5 -4
- package/dist/components/step/step.styles.js +1 -1
- package/dist/components/stepper/stepper.d.ts +4 -1
- package/dist/components/stepper/stepper.js +1 -1
- package/dist/components/success-text/success-text.js +3 -2
- package/dist/components/switch/switch.js +5 -4
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.d.ts +3 -0
- package/dist/components/tab/tab.js +7 -6
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.d.ts +1 -0
- package/dist/components/tab-group/tab-group.js +7 -6
- package/dist/components/tab-group/tab-group.styles.js +1 -1
- package/dist/components/tab-panel/tab-panel.js +2 -1
- package/dist/components/table/table.d.ts +29 -0
- package/dist/components/table/table.js +2 -1
- package/dist/components/table-action/table-action.js +7 -6
- package/dist/components/table-body/table-body.js +3 -2
- package/dist/components/table-caption/table-caption.js +2 -2
- package/dist/components/table-container/table-container.js +3 -2
- package/dist/components/table-head/table-head.js +3 -2
- package/dist/components/table-header-cell/table-header-cell.js +3 -2
- package/dist/components/table-header-row/table-header-row.d.ts +1 -0
- package/dist/components/table-header-row/table-header-row.js +16 -15
- package/dist/components/table-header-row/table-header-row.styles.js +2 -2
- package/dist/components/table-of-contents/table-of-contents.js +4 -3
- package/dist/components/table-row/table-row-base.styles.js +1 -1
- package/dist/components/table-row/table-row.d.ts +20 -0
- package/dist/components/table-row/table-row.js +13 -12
- package/dist/components/table-row/table-row.styles.js +2 -2
- package/dist/components/tag/tag.js +7 -6
- package/dist/components/textarea/textarea.js +6 -5
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.d.ts +4 -0
- package/dist/components/tree/tree.js +9 -23
- package/dist/components/tree-item/tree-item.d.ts +1 -2
- package/dist/components/tree-item/tree-item.js +8 -22
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +1703 -429
- package/dist/design-system.js +156 -156
- package/dist/events/dsa-table-row-reordered.d.ts +14 -0
- package/dist/events/dsa-table-row-reordered.js +1 -0
- package/dist/events/events.d.ts +1 -0
- package/dist/internal/components/date-field/date-field.d.ts +1 -0
- package/dist/internal/components/date-field/date-field.js +24 -8
- package/dist/internal/components/form-selectable-card/form-selectable-card.js +3 -2
- package/dist/internal/components/form-selectable-card/form-selectable-card.styles.js +4 -4
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +3 -2
- package/dist/internal/components/form-toggle-button/form-toggle-button.styles.js +2 -2
- package/dist/internal/components/input-base/input-base.styles.js +6 -6
- package/dist/templates/utilities/decorator.js +1 -1
- 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/helpers.d.ts +2 -0
- package/dist/utilities/helpers.js +7 -3
- package/dist/utilities/localize.d.ts +2 -0
- package/dist/utilities/localize.js +1 -1
- package/dist/utilities/storybook.js +2 -2
- package/dist/vscode.html-custom-data.json +78 -28
- package/dist/web-types.json +840 -181
- package/package.json +1 -1
- package/cdn/chunks/chunk.23NGYECZ.js +0 -94
- package/cdn/chunks/chunk.2PN56GC6.js +0 -1
- package/cdn/chunks/chunk.4NE2V6DW.js +0 -9
- package/cdn/chunks/chunk.4RIUPE2O.js +0 -1
- package/cdn/chunks/chunk.63QVJAPP.js +0 -11
- package/cdn/chunks/chunk.67MZYN3N.js +0 -37
- package/cdn/chunks/chunk.6AGU5DOT.js +0 -1
- package/cdn/chunks/chunk.6GAHBGOF.js +0 -47
- package/cdn/chunks/chunk.7Y7CQMR6.js +0 -3
- package/cdn/chunks/chunk.A6JUKRCA.js +0 -38
- package/cdn/chunks/chunk.AEBG7WOW.js +0 -20
- package/cdn/chunks/chunk.AKVKEBPE.js +0 -13
- package/cdn/chunks/chunk.AZWPWL5D.js +0 -44
- package/cdn/chunks/chunk.CJZS4FSB.js +0 -26
- package/cdn/chunks/chunk.D3BOAL4N.js +0 -75
- package/cdn/chunks/chunk.DYSLQ6GC.js +0 -68
- package/cdn/chunks/chunk.E6XLVREY.js +0 -11
- package/cdn/chunks/chunk.EHLI2NSG.js +0 -26
- package/cdn/chunks/chunk.FGDBYD7N.js +0 -41
- package/cdn/chunks/chunk.H5VVBPCR.js +0 -112
- package/cdn/chunks/chunk.H5XLHNHE.js +0 -123
- package/cdn/chunks/chunk.HO6LFH7Z.js +0 -5
- package/cdn/chunks/chunk.IJNUBDIJ.js +0 -1
- package/cdn/chunks/chunk.ILCY7FNR.js +0 -108
- package/cdn/chunks/chunk.IYKXS5B3.js +0 -66
- package/cdn/chunks/chunk.J5EBYKBM.js +0 -1
- package/cdn/chunks/chunk.JNOQLPCE.js +0 -8
- package/cdn/chunks/chunk.K6YUVAOE.js +0 -6
- package/cdn/chunks/chunk.KD3BHBHK.js +0 -19
- package/cdn/chunks/chunk.KH2JVAEZ.js +0 -3
- package/cdn/chunks/chunk.L7SDBPGB.js +0 -62
- package/cdn/chunks/chunk.MTXJMWYM.js +0 -64
- package/cdn/chunks/chunk.N4VN25E6.js +0 -44
- package/cdn/chunks/chunk.OTTGEQF6.js +0 -51
- package/cdn/chunks/chunk.PFU2C3OZ.js +0 -1
- package/cdn/chunks/chunk.PICWAFB5.js +0 -1
- package/cdn/chunks/chunk.PZ6VFJYI.js +0 -24
- package/cdn/chunks/chunk.QO3O2UNB.js +0 -68
- package/cdn/chunks/chunk.QQLTDM2A.js +0 -27
- package/cdn/chunks/chunk.QVF2D4NC.js +0 -1
- package/cdn/chunks/chunk.RGOPSYRZ.js +0 -1
- package/cdn/chunks/chunk.S5XJPLVO.js +0 -51
- package/cdn/chunks/chunk.SDPQMM4W.js +0 -4
- package/cdn/chunks/chunk.SIT3GCR7.js +0 -173
- package/cdn/chunks/chunk.SLTCOGOD.js +0 -35
- package/cdn/chunks/chunk.TFJB3OT3.js +0 -19
- package/cdn/chunks/chunk.TGVZIOKS.js +0 -121
- package/cdn/chunks/chunk.U5DYVPGP.js +0 -1
- package/cdn/chunks/chunk.UEYALIC7.js +0 -25
- package/cdn/chunks/chunk.ULWBK7T7.js +0 -40
- package/cdn/chunks/chunk.W7AY6BP2.js +0 -130
- package/cdn/chunks/chunk.W7S553SV.js +0 -50
- package/cdn/chunks/chunk.WFR7MSMI.js +0 -1
- package/cdn/chunks/chunk.WJLFKSRJ.js +0 -51
- package/cdn/chunks/chunk.X2G2BFIN.js +0 -1
- package/cdn/chunks/chunk.X4U7WI77.js +0 -28
- package/cdn/chunks/chunk.XGUKMUW4.js +0 -25
- package/cdn/chunks/chunk.YUUDCDMZ.js +0 -1
- package/cdn/chunks/chunk.YZK4IVQW.js +0 -73
- package/cdn/chunks/chunk.ZKKBL76K.js +0 -121
- package/dist/chunks/chunk.DMQJ4GLL.js +0 -209
- package/dist/chunks/chunk.DYZHSPWO.js +0 -48
- package/dist/chunks/chunk.RFJJRWWT.js +0 -282
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import{a as M}from"./chunk.II4JQ433.js";import{a as V}from"./chunk.PIG773U2.js";import{a as x}from"./chunk.TFTJUTCH.js";import{a as E}from"./chunk.SWEIVB73.js";import{a as y}from"./chunk.ELL45QD3.js";import{b as g,c as C,d as v,e as k}from"./chunk.FWTZS7LK.js";import{a as u}from"./chunk.B4KFHYLS.js";import{d as p}from"./chunk.ZBHHLRFH.js";import{a as h}from"./chunk.BWEPOOQP.js";import{a as f,b as i,c as d,d as c,f as b}from"./chunk.KBZ32KWP.js";import{a as r}from"./chunk.GP725TPQ.js";import{f as l}from"./chunk.IZ2HVRME.js";var s=class extends b{constructor(){super(...arguments);this.formControlController=new g(this);this.hasSlotController=new y(this,"help-text","label");this.customValidityMessage="";this.hasCheckboxButtons=!1;this.hasCheckboxCards=!1;this.defaultValue=[];this.label="";this.helpText="";this.description="";this.name="option";this.value=[];this.form="";this.required=!1;this.disabled=!1;this.readonly=!1;this.horizontal=!1;this.error=!1;this.errorMessage="";this.hideLabel=!1}get validity(){let e=this.required&&this.value.length===0;return this.customValidityMessage!==""?k:e?v:C}get validationMessage(){let e=this.required&&!this.value;return this.customValidityMessage!==""?this.customValidityMessage:e?this.validationInput.validationMessage:""}connectedCallback(){super.connectedCallback(),this.defaultValue=this.value}firstUpdated(){this.formControlController.updateValidity()}getAllCheckboxes(){return[...this.querySelectorAll("dsa-checkbox, dsa-checkbox-button, dsa-checkbox-card")]}handleCheckboxClick(e){if(e.target.tagName.toLowerCase()==="a")return;let t=e.target.closest("dsa-checkbox, dsa-checkbox-button, dsa-checkbox-card");if(e.preventDefault(),e.stopPropagation(),!t||t.disabled||t.readonly||this.disabled||this.readonly)return;this.value.includes(t.value)?this.value=this.value.filter(n=>n!==t.value):this.value=[...this.value,t.value],this.getAllCheckboxes().forEach(n=>{let m=this.value.includes(n.value);n.checked!==m&&(n.checked=m)}),this.emit("dsa-change"),this.emit("dsa-input")}handleKeyDown(e){if(e.target.tagName.toLowerCase()==="a")return;let t=e.target;if(e.key===" "){if(e.preventDefault(),this.disabled||this.readonly||t.disabled||t.readonly)return;t.checked=!t.checked;let a=this.getAllCheckboxes().filter(o=>o.checked);this.value=a.map(o=>o.value),this.emit("dsa-input"),this.emit("dsa-change")}e.key==="Enter"&&(this.disabled||this.readonly||t.disabled||t.readonly)&&e.preventDefault()}handleLabelClick(){this.focus()}handleSlotChange(){if(customElements.get("dsa-checkbox")||customElements.get("dsa-checkbox-button")||customElements.get("dsa-checkbox-card")){let e=this.getAllCheckboxes();e.forEach(t=>{let a=this.value.includes(t.value);t.checked!==a&&(t.checked=a),t.parentDisabled!==this.disabled&&(t.parentDisabled=this.disabled),t.parentReadonly!==this.readonly&&(t.parentReadonly=this.readonly)}),this.hasCheckboxButtons=e.some(t=>t.tagName.toLowerCase()==="dsa-checkbox-button"),this.hasCheckboxCards=e.some(t=>t.tagName.toLowerCase()==="dsa-checkbox-card")}else customElements.whenDefined("dsa-checkbox").then(()=>this.handleSlotChange()),customElements.whenDefined("dsa-checkbox-button").then(()=>this.handleSlotChange()),customElements.whenDefined("dsa-checkbox-card").then(()=>this.handleSlotChange())}handleInvalid(e){this.formControlController.setValidity(!1),this.formControlController.emitInvalidEvent(e),setTimeout(()=>{this.focus()},0)}getDescriptionIds(){let e=[];return this.error&&(e=["error-text"]),e=[...e,"help-text","description"],e.join(" ")}handleValueChange(){this.getAllCheckboxes().forEach(e=>{let t=this.value.includes(e.value);e.checked!==t&&(e.checked=t)}),this.formControlController.setValidity(this.validity.valid)}handleDisabledChange(){this.getAllCheckboxes().forEach(e=>{e.parentDisabled!==this.disabled&&(e.parentDisabled=this.disabled)})}handleReadonlyChange(){this.getAllCheckboxes().forEach(e=>{e.parentReadonly!==this.readonly&&(e.parentReadonly=this.readonly)})}checkValidity(){let e=this.required&&this.value.length===0,t=this.customValidityMessage!=="";return e||t?(this.formControlController.emitInvalidEvent(),!1):!0}getForm(){return this.formControlController.getForm()}reportValidity(){let e=this.validity.valid;return this.formControlController.setValidity(e),this.validationInput.hidden=!0,clearTimeout(this.validationTimeout),e||(this.validationInput.hidden=!1,this.validationInput.reportValidity(),this.validationTimeout=setTimeout(()=>this.validationInput.hidden=!0,1e4)),e}setCustomValidity(e=""){this.customValidityMessage=e,this.validationInput.setCustomValidity(e),this.formControlController.updateValidity()}focus(e){let t=this.getAllCheckboxes().filter(o=>!o.disabled&&!o.readonly),a=t.find(o=>o.checked)||t[0];a&&a.focus(e)}render(){let e=this.hasSlotController.test("label"),t=this.hasSlotController.test("help-text"),a=this.label?!0:!!e,o=this.helpText?!0:!!t;return a||u("<dsa-checkbox-group> requires a label attribute or a label slot for accessibility"),this.error&&!this.errorMessage&&u("<dsa-checkbox-group> requires an error-message attribute for accessibility when the error attribute is set"),r`
|
|
2
|
+
<fieldset
|
|
3
|
+
part="form-control"
|
|
4
|
+
class=${p({"form-control":!0,"form-control--error":this.error,"form-control--medium":!0,"form-control--checkbox-group":!0,"form-control--has-label":a,"form-control--has-help-text":o,"form-control--has-buttons":this.hasCheckboxButtons,"form-control--has-cards":this.hasCheckboxCards,"form-control--options-horizontal":!!this.horizontal})}
|
|
5
|
+
role="group"
|
|
6
|
+
aria-labelledby="label ${this.getDescriptionIds()}"
|
|
7
|
+
>
|
|
8
|
+
${this.hideLabel?r`<dsa-visually-hidden id="label"
|
|
9
|
+
><slot name="label">${this.label}</slot></dsa-visually-hidden
|
|
10
|
+
>`:r`
|
|
11
|
+
<span
|
|
12
|
+
part="form-control-label"
|
|
13
|
+
id="label"
|
|
14
|
+
class="form-control__label"
|
|
15
|
+
aria-hidden=${a?"false":"true"}
|
|
16
|
+
@click=${this.handleLabelClick}
|
|
17
|
+
>
|
|
18
|
+
${this.required?r`<span class="form-control__label-required">*</span>`:""}
|
|
19
|
+
<slot name="label">${this.label}</slot>
|
|
20
|
+
</span>
|
|
21
|
+
`}
|
|
22
|
+
|
|
23
|
+
<slot name="tooltip" class="form-control__tooltip"></slot>
|
|
24
|
+
|
|
25
|
+
<div
|
|
26
|
+
part="form-control-input"
|
|
27
|
+
class="form-control-input form-control__field"
|
|
28
|
+
>
|
|
29
|
+
<dsa-visually-hidden>
|
|
30
|
+
<label class="checkbox-group__validation">
|
|
31
|
+
<input
|
|
32
|
+
class="checkbox-group__validation-input"
|
|
33
|
+
type="text"
|
|
34
|
+
?required=${this.required}
|
|
35
|
+
tabindex="-1"
|
|
36
|
+
hidden
|
|
37
|
+
@invalid=${this.handleInvalid}
|
|
38
|
+
/>
|
|
39
|
+
</label>
|
|
40
|
+
</dsa-visually-hidden>
|
|
41
|
+
|
|
42
|
+
<div
|
|
43
|
+
role="list"
|
|
44
|
+
class="form-control__options"
|
|
45
|
+
@click=${this.handleCheckboxClick}
|
|
46
|
+
@keydown=${this.handleKeyDown}
|
|
47
|
+
>
|
|
48
|
+
<slot @slotchange=${this.handleSlotChange}></slot>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
<div
|
|
52
|
+
id="help-text"
|
|
53
|
+
class="form-control__help-text"
|
|
54
|
+
aria-hidden=${o?"false":"true"}
|
|
55
|
+
>
|
|
56
|
+
<slot name="help-text" part="form-control-help-text">
|
|
57
|
+
${this.helpText}
|
|
58
|
+
</slot>
|
|
59
|
+
</div>
|
|
60
|
+
|
|
61
|
+
${this.error?E(this.errorMessage):""}
|
|
62
|
+
${this.description?r`
|
|
63
|
+
<p id="description" class="form-control__description">
|
|
64
|
+
${this.description}
|
|
65
|
+
</p>
|
|
66
|
+
`:""}
|
|
67
|
+
</fieldset>
|
|
68
|
+
`}};s.styles=M,s.dependencies={"dsa-error-text":x,"dsa-visually-hidden":V},l([c("slot:not([name])")],s.prototype,"defaultSlot",2),l([c(".checkbox-group__validation-input")],s.prototype,"validationInput",2),l([d()],s.prototype,"hasCheckboxButtons",2),l([d()],s.prototype,"hasCheckboxCards",2),l([d()],s.prototype,"defaultValue",2),l([i()],s.prototype,"label",2),l([i({attribute:"help-text"})],s.prototype,"helpText",2),l([i({attribute:"description"})],s.prototype,"description",2),l([i()],s.prototype,"name",2),l([i({converter:{fromAttribute:e=>e.split(","),toAttribute:e=>typeof e=="string"?e:e.join(",")}})],s.prototype,"value",2),l([i({reflect:!0})],s.prototype,"form",2),l([i({type:Boolean,reflect:!0})],s.prototype,"required",2),l([i({type:Boolean,reflect:!0})],s.prototype,"disabled",2),l([i({type:Boolean,reflect:!0})],s.prototype,"readonly",2),l([i({type:Boolean})],s.prototype,"horizontal",2),l([i({type:Boolean})],s.prototype,"error",2),l([i({attribute:"error-message",converter:{fromAttribute:e=>e?e.split("|"):"",toAttribute:e=>typeof e=="string"?e:e.join("|")}})],s.prototype,"errorMessage",2),l([i({type:Boolean,attribute:"hide-label"})],s.prototype,"hideLabel",2),l([h("value",{waitUntilFirstUpdate:!0})],s.prototype,"handleValueChange",1),l([h("disabled")],s.prototype,"handleDisabledChange",1),l([h("readonly")],s.prototype,"handleReadonlyChange",1),s=l([f("dsa-checkbox-group")],s);export{s as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as p}from"./chunk.6D7W2ERA.js";import{a as g}from"./chunk.ELL45QD3.js";import{a as u}from"./chunk.B4KFHYLS.js";import{a as n,b as a}from"./chunk.FDMPUSVV.js";import{a as o}from"./chunk.NIRNX67K.js";import{c as f}from"./chunk.
|
|
1
|
+
import{a as p}from"./chunk.6D7W2ERA.js";import{a as g}from"./chunk.ELL45QD3.js";import{a as u}from"./chunk.B4KFHYLS.js";import{a as n,b as a}from"./chunk.FDMPUSVV.js";import{a as o}from"./chunk.NIRNX67K.js";import{c as f}from"./chunk.VZAYP3SG.js";import{a as l}from"./chunk.2RF4WD6T.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as m}from"./chunk.BWEPOOQP.js";import{a as c,b as i,f as h}from"./chunk.KBZ32KWP.js";import{f as s}from"./chunk.IZ2HVRME.js";var t=class extends h{constructor(){super(...arguments);this.hasSlotController=new g(this,"media","tags","title-icon","title","subtitle","footer");this.href="";this.rel="noreferrer noopener";this.variant="outlined";this.layout="vertical";this.size="large";this.contrastedBorders=!1}isLink(){return!!this.href}updateTagsSizes(){this.querySelectorAll("dsa-tag").forEach(r=>r.setAttribute("size",this.size==="large"?"medium":"small"))}handleTagsSlotChange(){this.updateTagsSizes()}handleSizeChange(){this.updateTagsSizes()}render(){let e=this.isLink(),r=e?n`a`:n`div`,_=e&&!this.hasSlotController.test("footer")&&this.layout==="left-align",v=e&&!this.hasSlotController.test("footer")&&this.layout!=="left-align";return e&&!this.hasSlotController.test("title")&&u("<dsa-card-content> requires a title slot for accessibility when used as a link"),a`
|
|
2
2
|
<article
|
|
3
3
|
part="base"
|
|
4
4
|
class=${d({"card-content":!0,"card-content--link":e,"card-content--small":this.size==="small","card-content--medium":this.size==="medium","card-content--large":this.size==="large","card-content--left-align":this.layout==="left-align","card-content--right-align":this.layout==="right-align","card-content--filled":this.variant==="filled","card-content--contrasted-borders":this.contrastedBorders})}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import{a as m}from"./chunk.YQPLXJOH.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as i}from"./chunk.BWEPOOQP.js";import{a as n,b as s,d as h,f as c}from"./chunk.KBZ32KWP.js";import{a as p}from"./chunk.GP725TPQ.js";import{f as t}from"./chunk.IZ2HVRME.js";var r="dsa-step",e=class extends c{constructor(){super(...arguments);this.allSteps=[];this.hideLabel=!1;this.vertical=!1}connectedCallback(){super.connectedCallback()}refreshAllSteps(){this.allSteps=this.defaultSlot?this.defaultSlot.assignedElements({flatten:!0}).filter(l=>l.tagName.toLowerCase()===r).map(l=>l):[]}applyStepProps(l){l.forEach((a,f)=>{let o=this.hideLabel?void 0:f;a.index!==o&&(a.index=o),a.vertical!==this.vertical&&(a.vertical=this.vertical)})}handleDefaultSlotChange(){this.refreshAllSteps(),customElements.get(r)?this.applyStepProps(this.allSteps):customElements.whenDefined(r).then(()=>{this.refreshAllSteps(),this.applyStepProps(this.allSteps)})}handleHideLabelChange(){this.applyStepProps(this.allSteps)}handleVerticalChange(){this.applyStepProps(this.allSteps)}render(){return p`
|
|
2
|
+
<div
|
|
3
|
+
role="list"
|
|
4
|
+
class=${d({stepper:!0,stepper__vertical:this.vertical})}
|
|
5
|
+
>
|
|
6
|
+
<slot @slotchange=${this.handleDefaultSlotChange}> </slot>
|
|
7
|
+
</div>
|
|
8
|
+
`}};e.styles=m,t([h("slot")],e.prototype,"defaultSlot",2),t([s({type:Boolean,attribute:"hide-label"})],e.prototype,"hideLabel",2),t([s({type:Boolean})],e.prototype,"vertical",2),t([i("hideLabel",{waitUntilFirstUpdate:!0})],e.prototype,"handleHideLabelChange",1),t([i("vertical",{waitUntilFirstUpdate:!0})],e.prototype,"handleVerticalChange",1),e=t([n("dsa-stepper")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as h}from"./chunk.LIW5XWXL.js";import{a as d}from"./chunk.BWEPOOQP.js";import{a,b as o,f as n}from"./chunk.KBZ32KWP.js";import{a as l}from"./chunk.GP725TPQ.js";import{f as s}from"./chunk.IZ2HVRME.js";var e=class extends n{constructor(){super(...arguments);this.observedElements=[];this.disabled=!1}connectedCallback(){super.connectedCallback(),this.resizeObserver=new ResizeObserver(t=>{this.emit("dsa-resize",{detail:{entries:t}})}),this.disabled||this.startObserver()}disconnectedCallback(){super.disconnectedCallback(),this.stopObserver()}handleSlotChange(){this.disabled||this.startObserver()}startObserver(){let t=this.shadowRoot.querySelector("slot");if(t!==null){let i=t.assignedElements({flatten:!0});this.observedElements.forEach(r=>this.resizeObserver.unobserve(r)),this.observedElements=i,i.forEach(r=>this.resizeObserver.observe(r))}}stopObserver(){this.resizeObserver.disconnect()}handleDisabledChange(){this.disabled?this.stopObserver():this.startObserver()}render(){return l` <slot @slotchange=${this.handleSlotChange}></slot> `}};e.styles=h,s([o({type:Boolean,reflect:!0})],e.prototype,"disabled",2),s([d("disabled",{waitUntilFirstUpdate:!0})],e.prototype,"handleDisabledChange",1),e=s([a("dsa-resize-observer")],e);export{e as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as S}from"./chunk.V75PDQVT.js";import{b as s,c as d}from"./chunk.QTD6NQFL.js";import{a as w}from"./chunk.BWEPOOQP.js";import{a as f,b as R,f as m}from"./chunk.KBZ32KWP.js";import{a as v}from"./chunk.GP725TPQ.js";import{f as n}from"./chunk.IZ2HVRME.js";var l=class extends m{constructor(){super(...arguments);this.suppressHoverClass="reordering-no-hover";this.draggingRow=null;this.dropTargetRow=null;this.rearrangingRow=null;this.role="table";this.size="medium";this.alignment="left"}connectedCallback(){super.connectedCallback(),this.handleRowSelect=this.handleRowSelect.bind(this),this.handleAllRowsSelect=this.handleAllRowsSelect.bind(this),this.handleRowReorderToggle=this.handleRowReorderToggle.bind(this),this.handleRowReorderMove=this.handleRowReorderMove.bind(this),this.handleRowReorderDragStart=this.handleRowReorderDragStart.bind(this),this.handleRowReorderDragEnd=this.handleRowReorderDragEnd.bind(this),this.handleDragOver=this.handleDragOver.bind(this),this.handleWindowDragOver=this.handleWindowDragOver.bind(this),this.handleDrop=this.handleDrop.bind(this),this.handleMouseMoveAfterReorder=this.handleMouseMoveAfterReorder.bind(this)}disconnectedCallback(){super.disconnectedCallback(),this.removeRowSelectionListeners(),this.removeRowReorderListeners(),this.enableRowHover(),this.clearReorderState()}async firstUpdated(){if(!this.selectable)return;let t=this.querySelector(this.selectorHeaderRow);if(t){await t.updateComplete;let e=[...this.querySelectorAll(this.selectorAllRows)];if(t!=null&&t.selected)e.forEach(r=>r.selected=t.selected);else{let o=e.filter(i=>i.selected).length,a=o===e.length;t.checkbox.checked=o>0&&a,t.checkbox.indeterminate=o>0&&!a}}}addRowSelectionListeners(){this.addEventListener("dsa-table-row-change-selection",this.handleRowSelect),this.addEventListener("dsa-table-row-all-change-selection",this.handleAllRowsSelect)}removeRowSelectionListeners(){this.removeEventListener("dsa-table-row-change-selection",this.handleRowSelect),this.removeEventListener("dsa-table-row-all-change-selection",this.handleAllRowsSelect)}addRowReorderListeners(){this.addEventListener("dsa-table-row-reorder-toggle",this.handleRowReorderToggle),this.addEventListener("dsa-table-row-reorder-move",this.handleRowReorderMove),this.addEventListener("dsa-table-row-reorder-drag-start",this.handleRowReorderDragStart),this.addEventListener("dsa-table-row-reorder-drag-end",this.handleRowReorderDragEnd),this.addEventListener("dragover",this.handleDragOver),this.addEventListener("drop",this.handleDrop),window.addEventListener("dragover",this.handleWindowDragOver,!0)}removeRowReorderListeners(){this.removeEventListener("dsa-table-row-reorder-toggle",this.handleRowReorderToggle),this.removeEventListener("dsa-table-row-reorder-move",this.handleRowReorderMove),this.removeEventListener("dsa-table-row-reorder-drag-start",this.handleRowReorderDragStart),this.removeEventListener("dsa-table-row-reorder-drag-end",this.handleRowReorderDragEnd),this.removeEventListener("dragover",this.handleDragOver),this.removeEventListener("drop",this.handleDrop),window.removeEventListener("dragover",this.handleWindowDragOver,!0)}clearDropTarget(){this.dropTargetRow&&(d(this.dropTargetRow,"drop-target"),d(this.dropTargetRow,"drop-target-position"),this.dropTargetRow=null)}clearReorderState(){this.rearrangingRow&&(this.rearrangingRow.rearranging=!1,this.rearrangingRow=null),this.draggingRow&&(d(this.draggingRow,"dragging"),this.draggingRow=null),this.dropTargetRow&&this.clearDropTarget()}handleWindowDragOver(t){!this.reorderable||!this.draggingRow||t.composedPath().includes(this)||this.clearDropTarget()}getRows(){return[...this.querySelectorAll(this.selectorAllRows)]}getRowBlock(t){let e=t.nextElementSibling,r=e!=null&&e.matches(this.selectorAllExpandedRows)?e:null;return{row:t,expandedRow:r}}getNodeAfterRowBlock(t){var r;let{expandedRow:e}=this.getRowBlock(t);return(r=e==null?void 0:e.nextSibling)!=null?r:t.nextSibling}moveRowToIndex(t,e,r){var b,u;let o=this.getRows(),a=o.indexOf(t);if(a<0)return;let i=o.length-1,h=Math.max(0,Math.min(e,i));if(h===a)return;let c=o[h],{expandedRow:g}=this.getRowBlock(t),E=a<h?this.getNodeAfterRowBlock(c):c;(b=t.parentNode)==null||b.insertBefore(t,E),g&&((u=t.parentNode)==null||u.insertBefore(g,t.nextSibling));let p=this.getRows(),A=p.indexOf(t);this.disableRowHoverUntilMouseMove(),this.emit("dsa-table-row-reordered",{detail:{movedRow:t,oldIndex:a,newIndex:A,rows:p,source:r}})}handleMouseMoveAfterReorder(){this.enableRowHover()}disableRowHoverUntilMouseMove(){this.getRows().forEach(t=>{t.classList.contains(this.suppressHoverClass)||t.classList.add(this.suppressHoverClass)}),window.removeEventListener("mousemove",this.handleMouseMoveAfterReorder),window.addEventListener("mousemove",this.handleMouseMoveAfterReorder,{once:!0})}enableRowHover(){this.getRows().forEach(t=>{t.classList.contains(this.suppressHoverClass)&&t.classList.remove(this.suppressHoverClass)}),window.removeEventListener("mousemove",this.handleMouseMoveAfterReorder)}findRowFromEvent(t){let e=t.composedPath().find(r=>{var o;return r instanceof HTMLElement&&((o=r.matches)==null?void 0:o.call(r,this.selectorAllRows))});return e!=null?e:null}handleRowReorderToggle(t){var o;if(!this.reorderable)return;let{row:e}=t.detail;t.stopPropagation();let r=this.rearrangingRow!==e;this.rearrangingRow&&(this.rearrangingRow.rearranging=!1),this.rearrangingRow=r?e:null,e.rearranging=r,(o=e.reorderButton)==null||o.focus()}handleRowReorderMove(t){var h;if(!this.reorderable)return;let{row:e,direction:r}=t.detail;if(t.stopPropagation(),this.rearrangingRow!==e)return;let o=this.getRows(),a=o.indexOf(e);if(a<0)return;let i=r==="up"?Math.max(0,a-1):Math.min(o.length-1,a+1);this.moveRowToIndex(e,i,"keyboard"),(h=e.reorderButton)==null||h.focus()}handleRowReorderDragStart(t){if(!this.reorderable)return;let{row:e}=t.detail;t.stopPropagation(),this.draggingRow=e,s(e,"dragging","true"),this.rearrangingRow&&this.rearrangingRow!==e&&(this.rearrangingRow.rearranging=!1),this.rearrangingRow=e}handleRowReorderDragEnd(){this.clearReorderState()}handleDragOver(t){if(!this.reorderable||!this.draggingRow)return;let e=this.findRowFromEvent(t);if(!e||e===this.draggingRow){this.clearDropTarget();return}t.preventDefault(),t.dataTransfer&&(t.dataTransfer.dropEffect="move"),this.dropTargetRow&&this.dropTargetRow!==e&&(d(this.dropTargetRow,"drop-target"),d(this.dropTargetRow,"drop-target-position")),this.dropTargetRow!==e&&(this.dropTargetRow=e,s(e,"drop-target","true"));let r=e.getBoundingClientRect(),a=t.clientY>r.top+r.height/2?"after":"before";e.getAttribute("drop-target-position")!==a&&s(e,"drop-target-position",a)}handleDrop(t){var g;if(!this.reorderable||!this.draggingRow)return;let e=this.findRowFromEvent(t);if(t.preventDefault(),!e||e===this.draggingRow){this.clearReorderState();return}let r=this.getRows(),o=r.indexOf(this.draggingRow),a=r.indexOf(e);if(o<0||a<0){this.clearReorderState();return}let i=e.getBoundingClientRect(),h=t.clientY>i.top+i.height/2,c=a+(h?1:0);o<c&&(c-=1),this.moveRowToIndex(this.draggingRow,c,"pointer"),(g=this.draggingRow.reorderButton)==null||g.focus(),this.clearReorderState()}handleAllRowsSelect(){let t=this.querySelector(this.selectorHeaderRow);if(t===null)return;let e=[...this.querySelectorAll(this.selectorAllRows)];e.forEach(o=>o.selected=t.selected);let r=e.filter(o=>o.selected);this.emit("dsa-table-row-all-selected",{detail:{selectedRows:r}})}handleRowSelect(t){let{target:e}=t,r=[...this.querySelectorAll(this.selectorAllRows)],o=r.filter(c=>c.selected),a=o.length,i=this.querySelector(this.selectorHeaderRow),h=a===r.length;i!==null&&(i.checkbox.checked=a>0&&h,i.checkbox.indeterminate=a>0&&!h),this.emit("dsa-table-row-selected",{detail:{selectedRow:e,selectedRows:o}})}handleRowExpandable(){[...this.querySelectorAll(this.selectorAllRows)].forEach(e=>{this.expandable?s(e,"expandable","true"):d(e,"expandable")})}handleHeaderRowExpandable(){let t=this.querySelector(this.selectorHeaderRow);t!==null&&(this.expandable?s(t,"expandable","true"):d(t,"expandable"))}handleRowReorderable(){[...this.querySelectorAll(this.selectorAllRows)].forEach(e=>{this.reorderable?(s(e,"reorderable","true"),s(e,"draggable","true")):(d(e,"reorderable"),d(e,"draggable"),e.rearranging=!1)})}handleHeaderRowReorderable(){let t=this.querySelector(this.selectorHeaderRow);t&&(this.reorderable?s(t,"reorderable","true"):d(t,"reorderable"))}handleRowSelectable(){[...this.querySelectorAll(this.selectorAllRows)].forEach((e,r)=>{this.selectable===!0&&e.getAttribute("selection-name")===""?s(e,"selection-name",`row-${r}`):this.selectable||s(e,"selection-name","")})}handleHeaderRowSelectable(){let t=this.querySelector(this.selectorHeaderRow);t&&s(t,"selection-name",this.selectable?"header":"")}handleSizeChange(){[...this.querySelectorAll(this.selectorAllRows),...this.querySelectorAll(this.selectorHeaderRow)].forEach(e=>{s(e,"size",this.size)})}handleExpandableChange(){this.handleRowExpandable(),this.handleHeaderRowExpandable()}handleHeaderCellsCount(){let e=[...this.querySelectorAll(this.selectorHeaderCell)].length+ +!!this.expandable+ +!!this.selectable+ +!!this.reorderable;[...this.querySelectorAll(this.selectorAllExpandedRows)].forEach(a=>{s(a,"colspan",String(e))}),[...this.querySelectorAll(this.selectorAllSingleCellRows)].forEach(a=>{s(a,"colspan",String(e))})}handleSortableChange(){this.querySelectorAll(this.selectorHeaderCell).forEach(e=>{this.sortable?s(e,"sortable","true"):d(e,"sortable")})}handleSelectableChange(){this.selectable?this.addRowSelectionListeners():this.removeRowSelectionListeners(),this.handleRowSelectable(),this.handleHeaderRowSelectable()}handleReorderableChange(){this.reorderable?this.addRowReorderListeners():(this.removeRowReorderListeners(),this.clearReorderState()),this.handleRowReorderable(),this.handleHeaderRowReorderable()}handleAlignmentChange(){this.querySelectorAll(this.selectorHeaderCell).forEach(e=>{s(e,"alignment",this.alignment)})}render(){return v` <slot></slot> `}get selectorHeaderCell(){return"dsa-table-header-cell"}get selectorHeaderRow(){return"dsa-table-header-row"}get selectorAllRows(){return"dsa-table-row"}get selectorAllExpandedRows(){return"dsa-table-expanded-row"}get selectorAllSingleCellRows(){return"dsa-table-single-cell-row"}};l.styles=S,n([R({reflect:!0})],l.prototype,"role",2),n([R({reflect:!0})],l.prototype,"size",2),n([R({type:Boolean,reflect:!0})],l.prototype,"sortable",2),n([R({type:Boolean,reflect:!0})],l.prototype,"selectable",2),n([R({type:Boolean,reflect:!0})],l.prototype,"expandable",2),n([R({type:Boolean,reflect:!0})],l.prototype,"reorderable",2),n([R()],l.prototype,"alignment",2),n([w("size",{waitUntilFirstUpdate:!0})],l.prototype,"handleSizeChange",1),n([w("expandable")],l.prototype,"handleExpandableChange",1),n([w(["expandable","selectable","reorderable"])],l.prototype,"handleHeaderCellsCount",1),n([w("sortable")],l.prototype,"handleSortableChange",1),n([w("selectable")],l.prototype,"handleSelectableChange",1),n([w("reorderable")],l.prototype,"handleReorderableChange",1),n([w("alignment",{waitUntilFirstUpdate:!0})],l.prototype,"handleAlignmentChange",1),l=n([f("dsa-table")],l);export{l as a};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a}from"./chunk.KHGWE5IX.js";import{a
|
|
2
|
-
${r}
|
|
1
|
+
import{a as r}from"./chunk.KHGWE5IX.js";import{a}from"./chunk.UMC4I57R.js";import{a as e}from"./chunk.6G2FNLAV.js";var l=e`
|
|
3
2
|
${a}
|
|
3
|
+
${r}
|
|
4
4
|
|
|
5
5
|
:host {
|
|
6
6
|
display: block;
|
|
@@ -156,18 +156,21 @@ import{a}from"./chunk.KHGWE5IX.js";import{a as r}from"./chunk.UMC4I57R.js";impor
|
|
|
156
156
|
* Size modifiers
|
|
157
157
|
*/
|
|
158
158
|
|
|
159
|
-
.textarea--small
|
|
159
|
+
.textarea--small,
|
|
160
|
+
.textarea--medium,
|
|
161
|
+
.textarea--large {
|
|
160
162
|
border-radius: var(--dsa-wc-input-border-radius);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.textarea--small {
|
|
161
166
|
font: var(--dsa-wc-input-text-field-font-small);
|
|
162
167
|
}
|
|
163
168
|
|
|
164
169
|
.textarea--medium {
|
|
165
|
-
border-radius: var(--dsa-wc-input-border-radius);
|
|
166
170
|
font: var(--dsa-wc-input-text-field-font);
|
|
167
171
|
}
|
|
168
172
|
|
|
169
173
|
.textarea--large {
|
|
170
|
-
border-radius: var(--dsa-wc-input-border-radius);
|
|
171
174
|
font: var(--dsa-wc-input-text-field-font-large);
|
|
172
175
|
}
|
|
173
176
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as C,b as I}from"./chunk.LEYHHYW4.js";import{a as w}from"./chunk.
|
|
1
|
+
import{a as C,b as I}from"./chunk.LEYHHYW4.js";import{a as w}from"./chunk.H4I7G2EQ.js";import{a as c}from"./chunk.DBXX64Q4.js";import{a as _}from"./chunk.EFB2SY45.js";import{a as v}from"./chunk.LYLTFAFC.js";import{a as r}from"./chunk.NIRNX67K.js";import{c as x}from"./chunk.LBAIMDY3.js";import{c as g}from"./chunk.VZAYP3SG.js";import{a as t}from"./chunk.2RF4WD6T.js";import{d}from"./chunk.ZBHHLRFH.js";import{a as b,d as y}from"./chunk.KBZ32KWP.js";import{a as e}from"./chunk.GP725TPQ.js";import{a as f,b as $,f as h}from"./chunk.IZ2HVRME.js";var i=class extends c{constructor(){super(...arguments);this.localize=new x(this)}handlePasswordToggle(){this.passwordVisible=!this.passwordVisible}renderInput(){var p,m;let n=this.hasSlotController.test("label"),s=C(this.type)?I(this.type):void 0,a=s!==void 0||this.hasSlotController.test("prefix"),o=this.hasSlotController.test("suffix"),u=this.label?!0:!!n,z=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.value=="number"||this.value.length>0),k=this.type==="password"&&!this.disabled,l;return this.type==="password"&&this.passwordVisible?l="text":l=this.type,e`
|
|
2
2
|
<div
|
|
3
3
|
part="base"
|
|
4
4
|
class=${d({input:!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--on-floating-menu":this.variant==="floating","input--disabled":this.disabled,"input--readonly":this.readonly,"input--focused":this.hasFocus,"input--empty":!this.value,"form-control--has-prefix-icon":a})}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function o(t){return t.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/œ/g,"oe").replace(/-/g," ").toLowerCase().replace(/\s+/g," ").trim()}function s(t,e,r){t.getAttribute(e)!==r&&t.setAttribute(e,r)}function a(t,e){t.hasAttribute(e)&&t.removeAttribute(e)}function c(){return navigator.userAgentData?navigator.userAgentData.platform==="macOS":/Mac|iPod|iPhone|iPad/.test(navigator.userAgent)}export{o as a,s as b,a as c,c as d};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{c as n}from"./chunk.LBAIMDY3.js";import{a as l,b as a,f as r}from"./chunk.KBZ32KWP.js";import{f as e}from"./chunk.IZ2HVRME.js";var u=["","kilo","mega","giga","tera"],p=["","kilo","mega","giga","tera","peta"],t=class extends r{constructor(){super(...arguments);this.localize=new n(this);this.value=0;this.unit="byte";this.display="short"}render(){if(isNaN(this.value))return"";let i=this.unit==="bit"?u:p,o=Math.max(0,Math.min(Math.floor(Math.log10(this.value)/3),i.length-1)),s=i[o]+this.unit,h=parseFloat((this.value/Math.pow(1e3,o)).toPrecision(3));return this.localize.number(h,{style:"unit",unit:s,unitDisplay:this.display})}};e([a({type:Number})],t.prototype,"value",2),e([a()],t.prototype,"unit",2),e([a()],t.prototype,"display",2),t=e([l("dsa-format-bytes")],t);export{t as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as b}from"./chunk.VMFX2PWY.js";import{a as f}from"./chunk.
|
|
1
|
+
import{a as b}from"./chunk.VMFX2PWY.js";import{a as f}from"./chunk.KX5QV54N.js";import{a as h}from"./chunk.XKWU5ZJA.js";import{a as d}from"./chunk.ELL45QD3.js";import{a as l}from"./chunk.NIRNX67K.js";import{c}from"./chunk.LBAIMDY3.js";import{c as u}from"./chunk.VZAYP3SG.js";import{a as p}from"./chunk.BWEPOOQP.js";import{a as r,b as a,c as o,d as m,f as n}from"./chunk.KBZ32KWP.js";import{a as i}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var y=20,t=class extends n{constructor(){super(...arguments);this.hasSlotController=new d(this,"icon");this.localize=new c(this);this.fullName="";this.displayMode="full";this.firstName="";this.familyName="";this.image="";this.initials=""}handleBlur(){this.emit("dsa-blur")}handleFocus(){this.emit("dsa-focus")}getDisplayedName(){return this.fullName.length<=y?this.fullName:`${this.firstName.charAt(0)}. ${this.familyName}`}click(){this.button.click()}focus(s){this.button.focus(s)}blur(){this.button.blur()}updateFullName(){this.fullName=`${this.firstName} ${this.familyName}`}renderButton(){var s;return i`
|
|
2
2
|
<button
|
|
3
3
|
part="base"
|
|
4
4
|
class="profile-button"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as n}from"./chunk.WWTHUDXI.js";import{c as m}from"./chunk.
|
|
1
|
+
import{a as n}from"./chunk.WWTHUDXI.js";import{c as m}from"./chunk.VZAYP3SG.js";import{a as r,b as i,f as o}from"./chunk.KBZ32KWP.js";import{a as s}from"./chunk.GP725TPQ.js";import{f as e}from"./chunk.IZ2HVRME.js";var t=class extends o{constructor(){super(...arguments);this.href=""}handleFocus(){this.emit("dsa-focus")}handleBlur(){this.emit("dsa-blur")}render(){return s`
|
|
2
2
|
<a
|
|
3
3
|
part="link"
|
|
4
4
|
download=${this.filename}
|
|
@@ -7,7 +7,7 @@ import{a as e}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";
|
|
|
7
7
|
|
|
8
8
|
.progress-bar {
|
|
9
9
|
position: relative;
|
|
10
|
-
background
|
|
10
|
+
background: var(--dsa-wc-progress-bar-track-color);
|
|
11
11
|
height: var(--dsa-wc-progress-bar-height);
|
|
12
12
|
border-radius: var(--dsa-wc-progress-bar-border-radius);
|
|
13
13
|
box-shadow: inset var(--dsa-wc-shadow-small);
|
|
@@ -17,15 +17,13 @@ import{a as e}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";
|
|
|
17
17
|
.progress-bar__indicator {
|
|
18
18
|
height: 100%;
|
|
19
19
|
font: var(--dsa-wc-progress-bar-font);
|
|
20
|
-
background
|
|
20
|
+
background: var(--dsa-wc-progress-bar-indicator-color);
|
|
21
21
|
color: var(--dsa-wc-progress-bar-indicator-label-color);
|
|
22
22
|
text-align: center;
|
|
23
23
|
line-height: var(--dsa-wc-progress-bar-height);
|
|
24
24
|
white-space: nowrap;
|
|
25
25
|
overflow: hidden;
|
|
26
|
-
transition:
|
|
27
|
-
400ms width,
|
|
28
|
-
400ms background-color;
|
|
26
|
+
transition: width 400ms;
|
|
29
27
|
user-select: none;
|
|
30
28
|
}
|
|
31
29
|
|
|
@@ -35,7 +33,6 @@ import{a as e}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";
|
|
|
35
33
|
animation: indeterminate 2.5s var(--dsa-wc-no-animations-duration, infinite)
|
|
36
34
|
cubic-bezier(0.37, 0, 0.63, 1);
|
|
37
35
|
}
|
|
38
|
-
|
|
39
36
|
.progress-bar--indeterminate.progress-bar--rtl .progress-bar__indicator {
|
|
40
37
|
animation-name: indeterminate-rtl;
|
|
41
38
|
}
|
|
@@ -43,12 +40,11 @@ import{a as e}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";
|
|
|
43
40
|
@media (forced-colors: active) {
|
|
44
41
|
.progress-bar {
|
|
45
42
|
outline: solid 1px SelectedItem;
|
|
46
|
-
background
|
|
43
|
+
background: var(--dsa-wc-progress-bar-indicator-label-color);
|
|
47
44
|
}
|
|
48
|
-
|
|
49
45
|
.progress-bar__indicator {
|
|
50
46
|
outline: solid 1px SelectedItem;
|
|
51
|
-
background
|
|
47
|
+
background: SelectedItem;
|
|
52
48
|
}
|
|
53
49
|
}
|
|
54
50
|
|
|
@@ -63,7 +59,6 @@ import{a as e}from"./chunk.UMC4I57R.js";import{a as r}from"./chunk.6G2FNLAV.js";
|
|
|
63
59
|
width: 50%;
|
|
64
60
|
}
|
|
65
61
|
}
|
|
66
|
-
|
|
67
62
|
@keyframes indeterminate-rtl {
|
|
68
63
|
0% {
|
|
69
64
|
right: -50%;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
${e}
|
|
1
|
+
import{a as n}from"./chunk.KHGWE5IX.js";import{a as r}from"./chunk.UMC4I57R.js";import{a as o}from"./chunk.6G2FNLAV.js";var l=o`
|
|
3
2
|
${r}
|
|
3
|
+
${n}
|
|
4
4
|
|
|
5
5
|
:host {
|
|
6
6
|
display: block;
|
|
@@ -8,6 +8,49 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.input-phone {
|
|
11
|
+
--input-phone-background-color-internal: var(
|
|
12
|
+
--dsa-wc-input-on-base-background-color
|
|
13
|
+
);
|
|
14
|
+
--input-phone-background-color-disabled-internal: var(
|
|
15
|
+
--dsa-wc-input-on-base-background-color-disabled
|
|
16
|
+
);
|
|
17
|
+
--input-phone-background-color-error-internal: var(
|
|
18
|
+
--dsa-wc-input-on-base-background-color-error
|
|
19
|
+
);
|
|
20
|
+
--input-phone-background-color-readonly-internal: var(
|
|
21
|
+
--dsa-wc-input-on-base-read-only-background-color
|
|
22
|
+
);
|
|
23
|
+
--input-phone-border-color-internal: var(
|
|
24
|
+
--dsa-wc-input-on-base-border-color
|
|
25
|
+
);
|
|
26
|
+
--input-phone-border-color-disabled-internal: var(
|
|
27
|
+
--dsa-wc-input-on-base-border-color-disabled
|
|
28
|
+
);
|
|
29
|
+
--input-phone-border-color-error-internal: var(
|
|
30
|
+
--dsa-wc-input-on-base-border-color-error
|
|
31
|
+
);
|
|
32
|
+
--input-phone-border-color-error-hover-internal: var(
|
|
33
|
+
--dsa-wc-input-on-base-border-color-error-hover
|
|
34
|
+
);
|
|
35
|
+
--input-phone-border-color-hover-internal: var(
|
|
36
|
+
--dsa-wc-input-on-base-border-color-hover
|
|
37
|
+
);
|
|
38
|
+
--input-phone-border-color-readonly-internal: var(
|
|
39
|
+
--dsa-wc-input-on-base-read-only-border-color
|
|
40
|
+
);
|
|
41
|
+
--input-phone-input-color-internal: var(
|
|
42
|
+
--dsa-wc-input-on-base-text-field-input-color
|
|
43
|
+
);
|
|
44
|
+
--input-phone-input-color-disabled-internal: var(
|
|
45
|
+
--dsa-wc-input-label-color-disabled
|
|
46
|
+
);
|
|
47
|
+
--input-phone-placeholder-color-internal: var(
|
|
48
|
+
--dsa-wc-input-on-base-text-field-placeholder-color
|
|
49
|
+
);
|
|
50
|
+
--input-phone-placeholder-color-disabled-internal: var(
|
|
51
|
+
--input-phone-placeholder-color-internal
|
|
52
|
+
);
|
|
53
|
+
|
|
11
54
|
position: relative;
|
|
12
55
|
display: flex;
|
|
13
56
|
flex-direction: row;
|
|
@@ -25,8 +68,12 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
25
68
|
var(--dsa-wc-transition-fast) border,
|
|
26
69
|
var(--dsa-wc-transition-fast) box-shadow,
|
|
27
70
|
var(--dsa-wc-transition-fast) background-color;
|
|
71
|
+
border: solid var(--dsa-wc-input-border-width)
|
|
72
|
+
var(--input-phone-border-color-internal);
|
|
28
73
|
border-radius: var(--dsa-wc-input-phone-border-radius);
|
|
29
74
|
border-left-width: 0.5px;
|
|
75
|
+
background-color: var(--input-phone-background-color-internal);
|
|
76
|
+
color: var(--input-phone-input-color-internal);
|
|
30
77
|
height: auto;
|
|
31
78
|
line-height: 1;
|
|
32
79
|
}
|
|
@@ -36,124 +83,107 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
36
83
|
outline-offset: var(--dsa-wc-focus-ring-offset);
|
|
37
84
|
}
|
|
38
85
|
|
|
39
|
-
.input-phone--disabled .input-phone__control,
|
|
40
|
-
.input-phone--disabled .input-phone__placeholder {
|
|
41
|
-
color: var(--dsa-wc-input-label-color-disabled);
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
/* On Layer inputs */
|
|
45
86
|
.input-phone--on-layer {
|
|
46
|
-
background-color: var(
|
|
47
|
-
|
|
48
|
-
|
|
87
|
+
--input-phone-background-color-internal: var(
|
|
88
|
+
--dsa-wc-input-on-layer-background-color
|
|
89
|
+
);
|
|
90
|
+
--input-phone-background-color-disabled-internal: var(
|
|
91
|
+
--dsa-wc-input-on-layer-background-color-disabled
|
|
92
|
+
);
|
|
93
|
+
--input-phone-background-color-error-internal: var(
|
|
94
|
+
--dsa-wc-input-on-layer-background-color-error
|
|
95
|
+
);
|
|
96
|
+
--input-phone-background-color-readonly-internal: var(
|
|
97
|
+
--dsa-wc-input-on-layer-read-only-background-color
|
|
98
|
+
);
|
|
99
|
+
--input-phone-border-color-internal: var(
|
|
100
|
+
--dsa-wc-input-on-layer-border-color
|
|
101
|
+
);
|
|
102
|
+
--input-phone-border-color-disabled-internal: var(
|
|
103
|
+
--dsa-wc-input-on-layer-border-color-disabled
|
|
104
|
+
);
|
|
105
|
+
--input-phone-border-color-error-internal: var(
|
|
106
|
+
--dsa-wc-input-on-layer-border-color-error
|
|
107
|
+
);
|
|
108
|
+
--input-phone-border-color-error-hover-internal: var(
|
|
109
|
+
--dsa-wc-input-on-layer-border-color-error-hover
|
|
110
|
+
);
|
|
111
|
+
--input-phone-border-color-hover-internal: var(
|
|
112
|
+
--dsa-wc-input-on-layer-border-color-hover
|
|
113
|
+
);
|
|
114
|
+
--input-phone-border-color-readonly-internal: var(
|
|
115
|
+
--dsa-wc-input-on-layer-read-only-border-color
|
|
116
|
+
);
|
|
117
|
+
--input-phone-input-color-disabled-internal: var(
|
|
118
|
+
--dsa-wc-input-on-layer-text-field-input-color-disabled
|
|
119
|
+
);
|
|
120
|
+
--input-phone-placeholder-color-internal: var(
|
|
121
|
+
--dsa-wc-input-on-layer-text-field-placeholder-color
|
|
122
|
+
);
|
|
123
|
+
--input-phone-placeholder-color-disabled-internal: var(
|
|
124
|
+
--dsa-wc-input-on-layer-text-field-placeholder-color-disabled
|
|
125
|
+
);
|
|
49
126
|
}
|
|
50
127
|
|
|
51
|
-
.input-phone
|
|
52
|
-
|
|
53
|
-
) {
|
|
54
|
-
border-color: var(--dsa-wc-input-on-layer-border-color-hover);
|
|
128
|
+
.input-phone:hover:not(.input-phone--disabled):not(.input-phone--readonly) {
|
|
129
|
+
border-color: var(--input-phone-border-color-hover-internal);
|
|
55
130
|
}
|
|
56
131
|
|
|
57
132
|
.input-phone--on-layer.input-phone--focused:not(.input-phone--disabled):not(
|
|
58
133
|
.input-phone--readonly
|
|
59
134
|
)
|
|
60
135
|
.input-phone__control {
|
|
61
|
-
color: var(--
|
|
136
|
+
color: var(--input-phone-input-color-internal);
|
|
62
137
|
}
|
|
63
138
|
|
|
64
|
-
.input-phone--
|
|
65
|
-
background-color: var(--
|
|
66
|
-
border-color: var(--
|
|
139
|
+
.input-phone--disabled {
|
|
140
|
+
background-color: var(--input-phone-background-color-disabled-internal);
|
|
141
|
+
border-color: var(--input-phone-border-color-disabled-internal);
|
|
67
142
|
cursor: not-allowed;
|
|
68
143
|
}
|
|
69
144
|
|
|
70
|
-
.input-phone--
|
|
71
|
-
background-color: var(--
|
|
72
|
-
border-color: var(--
|
|
145
|
+
.input-phone--readonly {
|
|
146
|
+
background-color: var(--input-phone-background-color-readonly-internal);
|
|
147
|
+
border-color: var(--input-phone-border-color-readonly-internal);
|
|
73
148
|
}
|
|
74
149
|
|
|
75
150
|
.input-phone__control::placeholder {
|
|
76
151
|
visibility: hidden;
|
|
77
152
|
}
|
|
78
153
|
|
|
79
|
-
.input-
|
|
80
|
-
color: var(--
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.input-phone--on-layer.input-phone--disabled
|
|
88
|
-
.input-phone__control::placeholder {
|
|
89
|
-
color: var(--dsa-wc-input-on-layer-text-field-placeholder-color-disabled);
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
.input-phone--error.input-phone--on-layer:not(.input-phone--disabled):not(
|
|
93
|
-
.input-phone--readonly
|
|
94
|
-
) {
|
|
95
|
-
background-color: var(--dsa-wc-input-on-layer-background-color-error);
|
|
96
|
-
border-color: var(--dsa-wc-input-on-layer-border-color-error);
|
|
97
|
-
}
|
|
98
|
-
.input-phone--error.input-phone--on-layer:hover:not(
|
|
99
|
-
.input-phone--disabled
|
|
100
|
-
):not(.input-phone--readonly) {
|
|
101
|
-
border-color: var(--dsa-wc-input-on-layer-border-color-error-hover);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.input-phone--success.input-phone--on-layer {
|
|
105
|
-
background-color: var(--dsa-wc-input-success-background-color);
|
|
106
|
-
border-color: var(--dsa-wc-input-success-border-color);
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/* On Base inputs */
|
|
110
|
-
.input-phone--on-base {
|
|
111
|
-
border: solid var(--dsa-wc-input-border-width)
|
|
112
|
-
var(--dsa-wc-input-on-base-border-color);
|
|
113
|
-
background-color: var(--dsa-wc-input-on-base-background-color);
|
|
114
|
-
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
154
|
+
.input-phone__placeholder {
|
|
155
|
+
color: var(--input-phone-placeholder-color-internal);
|
|
156
|
+
user-select: none;
|
|
157
|
+
pointer-events: none;
|
|
158
|
+
width: 100%;
|
|
159
|
+
white-space: nowrap;
|
|
115
160
|
}
|
|
116
161
|
|
|
117
|
-
.input-phone--
|
|
118
|
-
|
|
119
|
-
)
|
|
120
|
-
border-color: var(--dsa-wc-input-on-base-border-color-hover);
|
|
162
|
+
.input-phone--disabled .input-phone__control,
|
|
163
|
+
.input-phone--disabled .input-phone__placeholder {
|
|
164
|
+
color: var(--dsa-wc-input-label-color-disabled);
|
|
121
165
|
}
|
|
122
166
|
|
|
123
|
-
.input-phone--
|
|
124
|
-
|
|
125
|
-
background-color: var(--dsa-wc-input-on-base-background-color-disabled);
|
|
126
|
-
cursor: not-allowed;
|
|
127
|
-
}
|
|
128
|
-
.input-phone--on-base.input-phone--readonly {
|
|
129
|
-
background-color: var(--dsa-wc-input-on-base-read-only-background-color);
|
|
130
|
-
border-color: var(--dsa-wc-input-on-base-read-only-border-color);
|
|
167
|
+
.input-phone--disabled .input-phone__control {
|
|
168
|
+
color: var(--input-phone-input-color-disabled-internal);
|
|
131
169
|
}
|
|
132
170
|
|
|
133
|
-
.input-phone--
|
|
134
|
-
color: var(--
|
|
171
|
+
.input-phone--disabled .input-phone__control::placeholder {
|
|
172
|
+
color: var(--input-phone-placeholder-color-disabled-internal);
|
|
135
173
|
}
|
|
136
174
|
|
|
137
|
-
.input-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
width: 100%;
|
|
141
|
-
white-space: nowrap;
|
|
175
|
+
.input-phone--error:not(.input-phone--disabled):not(.input-phone--readonly) {
|
|
176
|
+
background-color: var(--input-phone-background-color-error-internal);
|
|
177
|
+
border-color: var(--input-phone-border-color-error-internal);
|
|
142
178
|
}
|
|
143
179
|
|
|
144
|
-
.input-phone--error
|
|
180
|
+
.input-phone--error:hover:not(.input-phone--disabled):not(
|
|
145
181
|
.input-phone--readonly
|
|
146
182
|
) {
|
|
147
|
-
|
|
148
|
-
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
149
|
-
}
|
|
150
|
-
.input-phone--error.input-phone--on-base:hover:not(
|
|
151
|
-
.input-phone--disabled
|
|
152
|
-
):not(.input-phone--readonly) {
|
|
153
|
-
border-color: var(--dsa-wc-input-on-base-border-color-error-hover);
|
|
183
|
+
border-color: var(--input-phone-border-color-error-hover-internal);
|
|
154
184
|
}
|
|
155
185
|
|
|
156
|
-
.input-phone--success
|
|
186
|
+
.input-phone--success {
|
|
157
187
|
background-color: var(--dsa-wc-input-success-background-color);
|
|
158
188
|
border-color: var(--dsa-wc-input-success-border-color);
|
|
159
189
|
}
|
|
@@ -199,7 +229,7 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
199
229
|
|
|
200
230
|
.input-phone:hover:not(.input-phone--disabled):not(.input-phone--readonly)
|
|
201
231
|
.input-phone__control {
|
|
202
|
-
color: var(--
|
|
232
|
+
color: var(--input-phone-input-color-internal);
|
|
203
233
|
}
|
|
204
234
|
|
|
205
235
|
.input-phone__control:focus {
|
|
@@ -345,9 +375,7 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
345
375
|
.form-control--large {
|
|
346
376
|
--input-phone__select__min-width: 68px;
|
|
347
377
|
}
|
|
348
|
-
.form-control--large
|
|
349
|
-
.input-phone___input.form-control--large
|
|
350
|
-
dsa-select::part(combobox) {
|
|
378
|
+
.form-control--large .input-phone__input dsa-select::part(combobox) {
|
|
351
379
|
font: var(--dsa-wc-input-text-field-font-large);
|
|
352
380
|
height: var(--dsa-wc-input-phone-large-height);
|
|
353
381
|
}
|
|
@@ -389,4 +417,4 @@ import{a as r}from"./chunk.KHGWE5IX.js";import{a as e}from"./chunk.UMC4I57R.js";
|
|
|
389
417
|
display: flex;
|
|
390
418
|
align-items: center;
|
|
391
419
|
}
|
|
392
|
-
`;export{
|
|
420
|
+
`;export{l as a};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as r}from"./chunk.FDMPUSVV.js";import{c as s}from"./chunk.
|
|
1
|
+
import{b as r}from"./chunk.FDMPUSVV.js";import{c as s}from"./chunk.VZAYP3SG.js";import{d as l}from"./chunk.ZBHHLRFH.js";import{a,b as c,f as i}from"./chunk.KBZ32KWP.js";import{a as t}from"./chunk.6G2FNLAV.js";import{f as e}from"./chunk.IZ2HVRME.js";var d=t`
|
|
2
2
|
:host {
|
|
3
3
|
display: contents;
|
|
4
4
|
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import{a as m,b as C,c as f,d as h,e as b}from"./chunk.EXQPVGOS.js";import{a as d}from"./chunk.DBXX64Q4.js";import{a as V}from"./chunk.VQCDCQ2A.js";import{a as N}from"./chunk.EFB2SY45.js";import{a as w}from"./chunk.LYLTFAFC.js";import{a as p}from"./chunk.NIRNX67K.js";import{c as g}from"./chunk.LBAIMDY3.js";import{a as r}from"./chunk.2RF4WD6T.js";import{d as S}from"./chunk.ZBHHLRFH.js";import{a as $,d as x}from"./chunk.KBZ32KWP.js";import{a as u}from"./chunk.GP725TPQ.js";import{a as y,b as v,f as c}from"./chunk.IZ2HVRME.js";var l=class extends d{constructor(){super(...arguments);this.localize=new g(this)}get valueAsNumber(){return parseFloat(this.value.replace(",","."))}set valueAsNumber(t){super.valueAsNumber=t}handleChange(){let t=this.input.value;if(t===""||t==="-"){this.input.value="";return}let e=this.getSafeStep(),a=f(t),i=parseFloat(`${this.min}`),s=parseFloat(`${this.max}`),n=b(a,e);!isNaN(i)&&n<i?n=i:!isNaN(s)&&n>s&&(n=s);let o=h(n);this.input.value=o,this.value=o.replace(",","."),this.emit("dsa-change")}handleInput(){this.value=this.input.value.replace(",","."),this.formControlController.updateValidity(),this.emit("dsa-input")}handleKeyDown(t){let e=t.key;e==="Dead"&&(this.input.blur(),setTimeout(()=>this.input.focus()));let a=this.input.selectionStart;if(C(t)||e==="-"&&a!==null&&a>0||e===","&&this.input.value.includes(",")){t.preventDefault();return}let i=e==="ArrowDown",s=e==="ArrowUp";i?this.stepDown():s&&this.stepUp(),(i||s)&&(this.input.dispatchEvent(new Event("input",{bubbles:!0})),this.input.dispatchEvent(new Event("change",{bubbles:!0}))),super.handleKeyDown(t)}getSafeStep(){if(this.step==="any")return this.step;let t=parseFloat(`${this.step}`);return isNaN(t)||t===0?1:t}adjustAmountValue(t){let e=this.getSafeStep(),a=new m(e==="any"?1:e),i=new m(f(this.input.value)),s=(t==="up"?i.plus(a):i.minus(a)).toNumber(),n=h(s);this.input.value=n,this.value=n.replace(",",".")}stepUp(){this.adjustAmountValue("up")}stepDown(){this.adjustAmountValue("down")}checkValidity(){return this.input.checkValidity()&&this.checkAmountValidity()}reportValidity(){return this.input.reportValidity()&&this.checkAmountValidity()}checkAmountValidity(){let t=this.value;if(t==="")return!0;let e=parseFloat(t);if(isNaN(e))return!1;let a=parseFloat(`${this.min}`);if(!isNaN(a)&&e<a)return!1;let i=parseFloat(`${this.max}`);if(!isNaN(i)&&e>i)return!1;let s=this.getSafeStep();return s==="any"||b(e,s)===e}renderInput(){var n,o;let t=this.hasSlotController.test("label"),e=this.hasSlotController.test("prefix"),a=this.hasSlotController.test("suffix"),i=this.label?!0:!!t,s=this.clearable&&!this.disabled&&!this.readonly&&(typeof this.value=="number"||this.value.length>0);return u`
|
|
2
|
+
<div
|
|
3
|
+
part="base"
|
|
4
|
+
class=${S({input:!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":e})}
|
|
5
|
+
>
|
|
6
|
+
<slot
|
|
7
|
+
name="prefix"
|
|
8
|
+
part="prefix"
|
|
9
|
+
id="input__prefix"
|
|
10
|
+
class="input__prefix"
|
|
11
|
+
></slot>
|
|
12
|
+
|
|
13
|
+
<input
|
|
14
|
+
part="input"
|
|
15
|
+
id="input"
|
|
16
|
+
class="input__control"
|
|
17
|
+
type=${"text"}
|
|
18
|
+
title=${p(i?void 0:(n=this.accessibleName)!=null?n:this.title)}
|
|
19
|
+
name=${p(this.name)}
|
|
20
|
+
?disabled=${this.disabled}
|
|
21
|
+
?readonly=${this.readonly}
|
|
22
|
+
?required=${this.required}
|
|
23
|
+
placeholder=${r(this.placeholder)}
|
|
24
|
+
minlength=${r(this.minlength)}
|
|
25
|
+
maxlength=${r(this.maxlength)}
|
|
26
|
+
min=${r(this.min)}
|
|
27
|
+
max=${r(this.max)}
|
|
28
|
+
step=${r(this.step)}
|
|
29
|
+
.value=${N(h(this.value))}
|
|
30
|
+
autocomplete=${r(this.autocomplete)}
|
|
31
|
+
?autofocus=${this.autofocus}
|
|
32
|
+
pattern=${r(this.pattern)}
|
|
33
|
+
enterkeyhint=${r(this.enterkeyhint)}
|
|
34
|
+
inputmode="decimal"
|
|
35
|
+
aria-label=${p(i?void 0:(o=this.accessibleName)!=null?o:this.title)}
|
|
36
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
37
|
+
aria-invalid=${r(this.error?"true":void 0)}
|
|
38
|
+
@change=${this.handleChange}
|
|
39
|
+
@input=${this.handleInput}
|
|
40
|
+
@invalid=${this.handleInvalid}
|
|
41
|
+
@keydown=${this.handleKeyDown}
|
|
42
|
+
@focus=${this.handleFocus}
|
|
43
|
+
@blur=${this.handleBlur}
|
|
44
|
+
/>
|
|
45
|
+
|
|
46
|
+
${a?u`<slot
|
|
47
|
+
name="suffix"
|
|
48
|
+
id="input__suffix"
|
|
49
|
+
class="input__suffix"
|
|
50
|
+
></slot>`:""}
|
|
51
|
+
${s?u`
|
|
52
|
+
<dsa-icon-button
|
|
53
|
+
part="clear-button"
|
|
54
|
+
class="input__action-button"
|
|
55
|
+
name="clear"
|
|
56
|
+
label=${this.localize.term("clearEntry")}
|
|
57
|
+
@click=${this.handleClearClick}
|
|
58
|
+
library="system"
|
|
59
|
+
></dsa-icon-button>
|
|
60
|
+
`:""}
|
|
61
|
+
</div>
|
|
62
|
+
`}};l.styles=V,l.dependencies=v(y({},d.dependencies),{"dsa-icon-button":w}),c([x("input")],l.prototype,"input",2),l=c([$("dsa-input-amount")],l);export{l as a};
|