@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
|
@@ -12,7 +12,11 @@ import {
|
|
|
12
12
|
} from "./chunk.YIY5RM53.js";
|
|
13
13
|
import {
|
|
14
14
|
LocalizeController
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.34HS7ICN.js";
|
|
16
|
+
import {
|
|
17
|
+
removeAttributeIfPresent,
|
|
18
|
+
setAttributeIfDifferent
|
|
19
|
+
} from "./chunk.PSYTLBRK.js";
|
|
16
20
|
import {
|
|
17
21
|
watch
|
|
18
22
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -115,35 +119,25 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
115
119
|
if (!tableCaption || !tableElement || tableCaption.id || tableElement.getAttribute("aria-labelledby"))
|
|
116
120
|
return;
|
|
117
121
|
const randomId = Math.floor(Math.random() * 999999999).toString();
|
|
118
|
-
tableCaption
|
|
119
|
-
tableElement
|
|
122
|
+
setAttributeIfDifferent(tableCaption, "id", randomId);
|
|
123
|
+
setAttributeIfDifferent(tableElement, "aria-labelledby", randomId);
|
|
120
124
|
}
|
|
121
125
|
handleShowTableActions() {
|
|
122
126
|
const { actionBar, toolbar } = this.getActionBarAndToolbar();
|
|
123
127
|
if (actionBar !== null) {
|
|
124
128
|
if (this.showTableActions) {
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
} else if (actionBar.hasAttribute("show")) {
|
|
129
|
-
actionBar.removeAttribute("show");
|
|
129
|
+
setAttributeIfDifferent(actionBar, "show", "true");
|
|
130
|
+
} else {
|
|
131
|
+
removeAttributeIfPresent(actionBar, "show");
|
|
130
132
|
}
|
|
131
133
|
}
|
|
132
134
|
if (toolbar !== null) {
|
|
133
135
|
if (this.showTableActions) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
}
|
|
137
|
-
if (toolbar.getAttribute("aria-hidden") !== "true") {
|
|
138
|
-
toolbar.setAttribute("aria-hidden", "true");
|
|
139
|
-
}
|
|
136
|
+
setAttributeIfDifferent(toolbar, "tabindex", "-1");
|
|
137
|
+
setAttributeIfDifferent(toolbar, "aria-hidden", "true");
|
|
140
138
|
} else {
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
}
|
|
144
|
-
if (toolbar.hasAttribute("aria-hidden")) {
|
|
145
|
-
toolbar.removeAttribute("aria-hidden");
|
|
146
|
-
}
|
|
139
|
+
removeAttributeIfPresent(toolbar, "tabindex");
|
|
140
|
+
removeAttributeIfPresent(toolbar, "aria-hidden");
|
|
147
141
|
}
|
|
148
142
|
}
|
|
149
143
|
}
|
|
@@ -151,14 +145,14 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
151
145
|
const childrenElements = this.getLoadingTargets();
|
|
152
146
|
if (this.loading) {
|
|
153
147
|
childrenElements.forEach((element) => {
|
|
154
|
-
if (element
|
|
155
|
-
element
|
|
148
|
+
if (element) {
|
|
149
|
+
setAttributeIfDifferent(element, "loading", "true");
|
|
156
150
|
}
|
|
157
151
|
});
|
|
158
152
|
} else {
|
|
159
153
|
childrenElements.forEach((element) => {
|
|
160
|
-
if (element
|
|
161
|
-
element
|
|
154
|
+
if (element) {
|
|
155
|
+
removeAttributeIfPresent(element, "loading");
|
|
162
156
|
}
|
|
163
157
|
});
|
|
164
158
|
}
|
|
@@ -166,8 +160,12 @@ var DSATableContainer = class extends LoadingStateElement {
|
|
|
166
160
|
handleSkeletonEffectChange() {
|
|
167
161
|
const childrenElements = this.getLoadingTargets();
|
|
168
162
|
childrenElements.forEach((element) => {
|
|
169
|
-
if (element
|
|
170
|
-
|
|
163
|
+
if (element) {
|
|
164
|
+
setAttributeIfDifferent(
|
|
165
|
+
element,
|
|
166
|
+
"skeleton-effect",
|
|
167
|
+
this.skeletonEffect
|
|
168
|
+
);
|
|
171
169
|
}
|
|
172
170
|
});
|
|
173
171
|
}
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_mask_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UIZ6FPK7.js";
|
|
4
4
|
import {
|
|
5
|
+
buildValidityState,
|
|
5
6
|
maskedValueToRawValue,
|
|
6
7
|
rawValueToMaskedValue,
|
|
8
|
+
renderMaskOverlay,
|
|
7
9
|
stripSpecialChars
|
|
8
|
-
} from "./chunk.
|
|
10
|
+
} from "./chunk.3D7AGBFQ.js";
|
|
9
11
|
import {
|
|
10
12
|
InputBase
|
|
11
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.DE3HY2DW.js";
|
|
12
14
|
import {
|
|
13
15
|
DSAIconButton
|
|
14
|
-
} from "./chunk.
|
|
16
|
+
} from "./chunk.MWPOWC6N.js";
|
|
15
17
|
import {
|
|
16
18
|
ifDefinedAndNotEmpty
|
|
17
19
|
} from "./chunk.ZQJVCRB2.js";
|
|
18
20
|
import {
|
|
19
21
|
LocalizeController
|
|
20
|
-
} from "./chunk.
|
|
22
|
+
} from "./chunk.34HS7ICN.js";
|
|
21
23
|
import {
|
|
22
24
|
watch
|
|
23
25
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -37,35 +39,19 @@ var DSAInputMask = class extends InputBase {
|
|
|
37
39
|
constructor() {
|
|
38
40
|
super(...arguments);
|
|
39
41
|
this.localize = new LocalizeController(this);
|
|
42
|
+
this.effectiveMask = "";
|
|
40
43
|
this.maskedValue = "";
|
|
41
44
|
this.pattern = "";
|
|
42
45
|
this.mask = "";
|
|
43
46
|
}
|
|
44
47
|
/** Gets the validity state object */
|
|
45
48
|
get validity() {
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
const strippedValue = stripSpecialChars(this.value);
|
|
49
|
-
const matches = strippedValue.match(this.pattern);
|
|
50
|
-
patternMatch = matches !== null;
|
|
51
|
-
}
|
|
52
|
-
const validityState = {
|
|
53
|
-
badInput: this.input.validity.badInput,
|
|
54
|
-
customError: this.input.validity.customError,
|
|
55
|
-
patternMismatch: !patternMatch,
|
|
56
|
-
rangeOverflow: this.input.validity.rangeOverflow,
|
|
57
|
-
rangeUnderflow: this.input.validity.rangeUnderflow,
|
|
58
|
-
stepMismatch: this.input.validity.stepMismatch,
|
|
59
|
-
tooLong: this.input.validity.tooLong,
|
|
60
|
-
tooShort: this.input.validity.tooShort,
|
|
61
|
-
typeMismatch: this.input.validity.typeMismatch,
|
|
62
|
-
valid: this.value.length > 0 && this.pattern.length > 0 ? patternMatch : this.input.validity.valid,
|
|
63
|
-
valueMissing: this.input.validity.valueMissing
|
|
64
|
-
};
|
|
65
|
-
return validityState;
|
|
49
|
+
const patternMatch = this.value.length > 0 && this.patternRegExp ? this.patternRegExp.test(stripSpecialChars(this.value)) : void 0;
|
|
50
|
+
return buildValidityState(this.input.validity, patternMatch);
|
|
66
51
|
}
|
|
67
52
|
connectedCallback() {
|
|
68
53
|
super.connectedCallback();
|
|
54
|
+
this.updateMaskConfig();
|
|
69
55
|
if (this.mask.length > 0 && this.mask.length !== this.placeholder.length) {
|
|
70
56
|
console.warn(
|
|
71
57
|
"For correct usage: add `mask` attribute. It should have the same format than the placeholder."
|
|
@@ -73,16 +59,32 @@ var DSAInputMask = class extends InputBase {
|
|
|
73
59
|
}
|
|
74
60
|
this.maskedValue = this.rawValueToMaskedValue(this.value);
|
|
75
61
|
}
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
);
|
|
62
|
+
updateMaskConfig() {
|
|
63
|
+
this.effectiveMask = this.mask || this.placeholder;
|
|
64
|
+
this.patternRegExp = this.pattern ? new RegExp(this.pattern) : void 0;
|
|
65
|
+
}
|
|
66
|
+
syncMaskedValue() {
|
|
67
|
+
const maskedValue = this.rawValueToMaskedValue(this.value);
|
|
68
|
+
if (this.maskedValue !== maskedValue) {
|
|
69
|
+
this.maskedValue = maskedValue;
|
|
70
|
+
}
|
|
71
|
+
if (this.input && this.input.value !== maskedValue) {
|
|
72
|
+
this.input.value = maskedValue;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
handleInputValueChange() {
|
|
76
|
+
const input = this.input;
|
|
77
|
+
const strippedValue = stripSpecialChars(input.value);
|
|
78
|
+
const newValue = maskedValueToRawValue(strippedValue, this.effectiveMask);
|
|
82
79
|
const maskedValue = this.rawValueToMaskedValue(newValue);
|
|
80
|
+
if (this.value === newValue && this.maskedValue === maskedValue && input.value === maskedValue) {
|
|
81
|
+
return;
|
|
82
|
+
}
|
|
83
83
|
this.value = newValue;
|
|
84
84
|
this.maskedValue = maskedValue;
|
|
85
|
-
|
|
85
|
+
if (input.value !== maskedValue) {
|
|
86
|
+
input.value = maskedValue;
|
|
87
|
+
}
|
|
86
88
|
this.formControlController.updateValidity();
|
|
87
89
|
this.emit("dsa-input");
|
|
88
90
|
}
|
|
@@ -93,10 +95,15 @@ var DSAInputMask = class extends InputBase {
|
|
|
93
95
|
this.emit("dsa-change");
|
|
94
96
|
}
|
|
95
97
|
async handleValueChange() {
|
|
96
|
-
this.
|
|
98
|
+
this.syncMaskedValue();
|
|
97
99
|
await this.updateComplete;
|
|
98
100
|
this.formControlController.updateValidity();
|
|
99
101
|
}
|
|
102
|
+
handleMaskConfigChange() {
|
|
103
|
+
this.updateMaskConfig();
|
|
104
|
+
this.syncMaskedValue();
|
|
105
|
+
this.formControlController.updateValidity();
|
|
106
|
+
}
|
|
100
107
|
/** Replaces a range of text with a new string. */
|
|
101
108
|
setRangeText(replacement, start, end, selectMode) {
|
|
102
109
|
this.input.setRangeText(replacement, start, end, selectMode);
|
|
@@ -111,7 +118,6 @@ var DSAInputMask = class extends InputBase {
|
|
|
111
118
|
const hasSuffixIcon = this.hasSlotController.test("suffix");
|
|
112
119
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
113
120
|
const hasClearIcon = this.clearable && !this.disabled && !this.readonly && (typeof this.value === "number" || this.value.length > 0);
|
|
114
|
-
const placeholder = this.placeholder.substring(this.maskedValue.length);
|
|
115
121
|
return html`
|
|
116
122
|
<div
|
|
117
123
|
part="base"
|
|
@@ -139,18 +145,7 @@ var DSAInputMask = class extends InputBase {
|
|
|
139
145
|
class="input-mask__prefix"
|
|
140
146
|
></slot>
|
|
141
147
|
|
|
142
|
-
|
|
143
|
-
class=${classMap({
|
|
144
|
-
"input-mask__placeholder": true
|
|
145
|
-
})}
|
|
146
|
-
aria-placeholder=${placeholder}
|
|
147
|
-
aria-hidden="true"
|
|
148
|
-
>
|
|
149
|
-
<span class="input-mask__value" aria-hidden="true"
|
|
150
|
-
>${this.maskedValue}</span
|
|
151
|
-
>
|
|
152
|
-
${placeholder}
|
|
153
|
-
</div>
|
|
148
|
+
${renderMaskOverlay(this.maskedValue, this.placeholder, "input-mask")}
|
|
154
149
|
|
|
155
150
|
<input
|
|
156
151
|
part="input"
|
|
@@ -185,7 +180,7 @@ var DSAInputMask = class extends InputBase {
|
|
|
185
180
|
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
186
181
|
@change=${this.handleChange}
|
|
187
182
|
@invalid=${this.handleInvalid}
|
|
188
|
-
@
|
|
183
|
+
@input=${this.handleInputValueChange}
|
|
189
184
|
@keydown=${this.handleKeyDown}
|
|
190
185
|
@focus=${this.handleFocus}
|
|
191
186
|
@blur=${this.handleBlur}
|
|
@@ -233,6 +228,11 @@ __decorateClass([
|
|
|
233
228
|
__decorateClass([
|
|
234
229
|
watch("value", { waitUntilFirstUpdate: true })
|
|
235
230
|
], DSAInputMask.prototype, "handleValueChange", 1);
|
|
231
|
+
__decorateClass([
|
|
232
|
+
watch("mask", { waitUntilFirstUpdate: true }),
|
|
233
|
+
watch("pattern", { waitUntilFirstUpdate: true }),
|
|
234
|
+
watch("placeholder", { waitUntilFirstUpdate: true })
|
|
235
|
+
], DSAInputMask.prototype, "handleMaskConfigChange", 1);
|
|
236
236
|
DSAInputMask = __decorateClass([
|
|
237
237
|
customElement("dsa-input-mask")
|
|
238
238
|
], DSAInputMask);
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk.HF7GESMZ.js";
|
|
4
4
|
import {
|
|
5
5
|
split_panel_styles_default
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.TXX2YIZA.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.34HS7ICN.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAIcon
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.NJQ6BFQQ.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -56,15 +56,27 @@ function drag(container, options) {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
// src/components/split-panel/split-panel.ts
|
|
59
|
+
var ARROW_KEYS = /* @__PURE__ */ new Set([
|
|
60
|
+
"ArrowLeft",
|
|
61
|
+
"ArrowRight",
|
|
62
|
+
"ArrowUp",
|
|
63
|
+
"ArrowDown",
|
|
64
|
+
"Home",
|
|
65
|
+
"End"
|
|
66
|
+
]);
|
|
59
67
|
var DSASplitPanel = class extends ShoelaceElement {
|
|
60
68
|
constructor() {
|
|
61
69
|
super(...arguments);
|
|
62
70
|
this.localize = new LocalizeController(this);
|
|
71
|
+
this.snapValues = [];
|
|
63
72
|
this.position = 50;
|
|
64
73
|
this.vertical = false;
|
|
65
74
|
this.disabled = false;
|
|
66
75
|
this.snapThreshold = 12;
|
|
67
76
|
}
|
|
77
|
+
handleSnapChange() {
|
|
78
|
+
this.snapValues = this.snap ? this.snap.split(" ") : [];
|
|
79
|
+
}
|
|
68
80
|
connectedCallback() {
|
|
69
81
|
super.connectedCallback();
|
|
70
82
|
this.resizeObserver = new ResizeObserver(
|
|
@@ -90,7 +102,6 @@ var DSASplitPanel = class extends ShoelaceElement {
|
|
|
90
102
|
return value / this.size * 100;
|
|
91
103
|
}
|
|
92
104
|
handleDrag(event) {
|
|
93
|
-
const isRtl = this.localize.dir() === "rtl";
|
|
94
105
|
if (this.disabled) {
|
|
95
106
|
return;
|
|
96
107
|
}
|
|
@@ -104,17 +115,13 @@ var DSASplitPanel = class extends ShoelaceElement {
|
|
|
104
115
|
newPositionInPixels = this.size - newPositionInPixels;
|
|
105
116
|
}
|
|
106
117
|
if (this.snap) {
|
|
107
|
-
|
|
108
|
-
snaps.forEach((value) => {
|
|
118
|
+
this.snapValues.forEach((value) => {
|
|
109
119
|
let snapPoint;
|
|
110
120
|
if (value.endsWith("%")) {
|
|
111
121
|
snapPoint = this.size * (parseFloat(value) / 100);
|
|
112
122
|
} else {
|
|
113
123
|
snapPoint = parseFloat(value);
|
|
114
124
|
}
|
|
115
|
-
if (isRtl && !this.vertical) {
|
|
116
|
-
snapPoint = this.size - snapPoint;
|
|
117
|
-
}
|
|
118
125
|
if (newPositionInPixels >= snapPoint - this.snapThreshold && newPositionInPixels <= snapPoint + this.snapThreshold) {
|
|
119
126
|
newPositionInPixels = snapPoint;
|
|
120
127
|
}
|
|
@@ -133,14 +140,7 @@ var DSASplitPanel = class extends ShoelaceElement {
|
|
|
133
140
|
if (this.disabled) {
|
|
134
141
|
return;
|
|
135
142
|
}
|
|
136
|
-
if (
|
|
137
|
-
"ArrowLeft",
|
|
138
|
-
"ArrowRight",
|
|
139
|
-
"ArrowUp",
|
|
140
|
-
"ArrowDown",
|
|
141
|
-
"Home",
|
|
142
|
-
"End"
|
|
143
|
-
].includes(event.key)) {
|
|
143
|
+
if (ARROW_KEYS.has(event.key)) {
|
|
144
144
|
let newPosition = this.position;
|
|
145
145
|
const incr = (event.shiftKey ? 10 : 1) * (this.primary === "end" ? -1 : 1);
|
|
146
146
|
event.preventDefault();
|
|
@@ -187,7 +187,6 @@ var DSASplitPanel = class extends ShoelaceElement {
|
|
|
187
187
|
render() {
|
|
188
188
|
const gridTemplate = this.vertical ? "gridTemplateRows" : "gridTemplateColumns";
|
|
189
189
|
const gridTemplateAlt = this.vertical ? "gridTemplateColumns" : "gridTemplateRows";
|
|
190
|
-
const isRtl = this.localize.dir() === "rtl";
|
|
191
190
|
const primary = `
|
|
192
191
|
clamp(
|
|
193
192
|
0%,
|
|
@@ -200,19 +199,8 @@ var DSASplitPanel = class extends ShoelaceElement {
|
|
|
200
199
|
)
|
|
201
200
|
`;
|
|
202
201
|
const secondary = "auto";
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
this.style[gridTemplate] = `${primary} var(--divider-width) ${secondary}`;
|
|
206
|
-
} else {
|
|
207
|
-
this.style[gridTemplate] = `${secondary} var(--divider-width) ${primary}`;
|
|
208
|
-
}
|
|
209
|
-
} else {
|
|
210
|
-
if (isRtl && !this.vertical) {
|
|
211
|
-
this.style[gridTemplate] = `${secondary} var(--divider-width) ${primary}`;
|
|
212
|
-
} else {
|
|
213
|
-
this.style[gridTemplate] = `${primary} var(--divider-width) ${secondary}`;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
202
|
+
const invertPanels = this.primary === "end";
|
|
203
|
+
this.style[gridTemplate] = invertPanels ? `${secondary} var(--divider-width) ${primary}` : `${primary} var(--divider-width) ${secondary}`;
|
|
216
204
|
this.style[gridTemplateAlt] = "";
|
|
217
205
|
return html`
|
|
218
206
|
<slot name="start" part="panel start" class="start"></slot>
|
|
@@ -264,6 +252,9 @@ __decorateClass([
|
|
|
264
252
|
__decorateClass([
|
|
265
253
|
property()
|
|
266
254
|
], DSASplitPanel.prototype, "snap", 2);
|
|
255
|
+
__decorateClass([
|
|
256
|
+
watch("snap")
|
|
257
|
+
], DSASplitPanel.prototype, "handleSnapChange", 1);
|
|
267
258
|
__decorateClass([
|
|
268
259
|
property({ type: Number, attribute: "snap-threshold" })
|
|
269
260
|
], DSASplitPanel.prototype, "snapThreshold", 2);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
input_base_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.UOJ4QKLP.js";
|
|
4
4
|
|
|
5
5
|
// src/components/input-mask/input-mask.styles.ts
|
|
6
6
|
import { css } from "lit";
|
|
@@ -12,6 +12,8 @@ var input_mask_styles_default = css`
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.input-mask {
|
|
15
|
+
--input-mask-placeholder-color-internal: inherit;
|
|
16
|
+
|
|
15
17
|
position: relative;
|
|
16
18
|
display: inline-flex;
|
|
17
19
|
flex-direction: row;
|
|
@@ -45,17 +47,20 @@ var input_mask_styles_default = css`
|
|
|
45
47
|
color: var(--dsa-wc-input-label-color-disabled);
|
|
46
48
|
}
|
|
47
49
|
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
50
|
+
.input--on-layer:not(.input--disabled) {
|
|
51
|
+
--input-mask-placeholder-color-internal: var(
|
|
52
|
+
--dsa-wc-input-on-layer-text-field-placeholder-color
|
|
53
|
+
);
|
|
51
54
|
}
|
|
52
55
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
+
.input--on-base:not(.input--disabled) {
|
|
57
|
+
--input-mask-placeholder-color-internal: var(
|
|
58
|
+
--dsa-wc-input-on-base-text-field-placeholder-color
|
|
59
|
+
);
|
|
56
60
|
}
|
|
57
61
|
|
|
58
62
|
.input-mask__placeholder {
|
|
63
|
+
color: var(--input-mask-placeholder-color-internal);
|
|
59
64
|
flex: 1;
|
|
60
65
|
user-select: none;
|
|
61
66
|
pointer-events: none;
|
|
@@ -111,38 +116,10 @@ var input_mask_styles_default = css`
|
|
|
111
116
|
caret-color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
112
117
|
}
|
|
113
118
|
|
|
114
|
-
.input-mask:hover:not(.input-mask--disabled):not(.input-mask--readonly)
|
|
115
|
-
.input-mask__control {
|
|
116
|
-
color: var(--dsa-wc-input-on-base-text-field-input-color);
|
|
117
|
-
}
|
|
118
|
-
|
|
119
119
|
.input-mask__control:focus {
|
|
120
120
|
outline: none;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
/*
|
|
124
|
-
* Size modifiers
|
|
125
|
-
*/
|
|
126
|
-
.input--small .input-mask__control {
|
|
127
|
-
height: calc(
|
|
128
|
-
var(--dsa-wc-form-input-height-small) - var(--dsa-wc-input-border-width) *
|
|
129
|
-
2
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
.input-mask--medium .input-mask__control {
|
|
134
|
-
height: calc(
|
|
135
|
-
var(--dsa-wc-form-input-height) - var(--dsa-wc-input-border-width) * 2
|
|
136
|
-
);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.input-mask--large .input-mask__control {
|
|
140
|
-
height: calc(
|
|
141
|
-
var(--dsa-wc-form-input-height-large) - var(--dsa-wc-input-border-width) *
|
|
142
|
-
2
|
|
143
|
-
);
|
|
144
|
-
}
|
|
145
|
-
|
|
146
123
|
.input-mask__prefix::slotted(*),
|
|
147
124
|
.input-mask__suffix::slotted(*) {
|
|
148
125
|
flex-shrink: 0;
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
tree_item_styles_default
|
|
3
|
-
} from "./chunk.
|
|
4
|
-
import {
|
|
5
|
-
DSACheckbox
|
|
6
|
-
} from "./chunk.7WQZIM7N.js";
|
|
3
|
+
} from "./chunk.HG526A44.js";
|
|
7
4
|
import {
|
|
8
5
|
DSASpinner
|
|
9
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.ER5S4DQ4.js";
|
|
10
7
|
import {
|
|
11
8
|
animateTo,
|
|
12
9
|
shimKeyframesHeightAuto,
|
|
@@ -18,10 +15,10 @@ import {
|
|
|
18
15
|
} from "./chunk.HPDCOGLH.js";
|
|
19
16
|
import {
|
|
20
17
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
18
|
+
} from "./chunk.34HS7ICN.js";
|
|
22
19
|
import {
|
|
23
20
|
DSAIcon
|
|
24
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.NJQ6BFQQ.js";
|
|
25
22
|
import {
|
|
26
23
|
watch
|
|
27
24
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -196,13 +193,13 @@ var DSATreeItem = class extends ShoelaceElement {
|
|
|
196
193
|
${when(
|
|
197
194
|
this.selectable,
|
|
198
195
|
() => html`
|
|
199
|
-
<dsa-checkbox
|
|
200
|
-
|
|
196
|
+
<dsa-internal-checkbox-box
|
|
197
|
+
aria-hidden="true"
|
|
201
198
|
class="tree-item__checkbox"
|
|
202
199
|
?disabled="${this.disabled}"
|
|
203
200
|
?checked="${live(this.selected)}"
|
|
204
201
|
?indeterminate="${this.indeterminate}"
|
|
205
|
-
></dsa-checkbox>
|
|
202
|
+
></dsa-internal-checkbox-box>
|
|
206
203
|
`
|
|
207
204
|
)}
|
|
208
205
|
|
|
@@ -232,7 +229,6 @@ var DSATreeItem = class extends ShoelaceElement {
|
|
|
232
229
|
DSATreeItem.styles = tree_item_styles_default;
|
|
233
230
|
DSATreeItem.dependencies = {
|
|
234
231
|
"dsa-icon": DSAIcon,
|
|
235
|
-
"dsa-checkbox": DSACheckbox,
|
|
236
232
|
"dsa-spinner": DSASpinner
|
|
237
233
|
};
|
|
238
234
|
__decorateClass([
|
|
@@ -73,11 +73,11 @@ var input_base_styles_default = css`
|
|
|
73
73
|
color: var(--dsa-wc-input-on-layer-text-field-input-color-disabled);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
.input--
|
|
76
|
+
.input--on-layer.input--error:not(.input--disabled):not(.input--readonly) {
|
|
77
77
|
background-color: var(--dsa-wc-input-on-layer-background-color-error);
|
|
78
78
|
border-color: var(--dsa-wc-input-on-layer-border-color-error);
|
|
79
79
|
}
|
|
80
|
-
.input--
|
|
80
|
+
.input--on-layer.input--error:hover:not(.input--disabled):not(
|
|
81
81
|
.input--readonly
|
|
82
82
|
) {
|
|
83
83
|
border-color: var(--dsa-wc-input-on-layer-border-color-error-hover);
|
|
@@ -116,11 +116,11 @@ var input_base_styles_default = css`
|
|
|
116
116
|
border-color: var(--dsa-wc-input-on-base-read-only-border-color);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
.input--
|
|
119
|
+
.input--on-base.input--error:not(.input--disabled):not(.input--readonly) {
|
|
120
120
|
background-color: var(--dsa-wc-input-on-base-background-color-error);
|
|
121
121
|
border-color: var(--dsa-wc-input-on-base-border-color-error);
|
|
122
122
|
}
|
|
123
|
-
.input--
|
|
123
|
+
.input--on-base.input--error:hover:not(.input--disabled):not(
|
|
124
124
|
.input--readonly
|
|
125
125
|
) {
|
|
126
126
|
border-color: var(--dsa-wc-input-on-base-border-color-error-hover);
|
|
@@ -160,13 +160,13 @@ var input_base_styles_default = css`
|
|
|
160
160
|
border-color: var(--dsa-wc-input-on-floating-read-only-border-color);
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
-
.input--
|
|
163
|
+
.input--on-floating-menu.input--error:not(.input--disabled):not(
|
|
164
164
|
.input--readonly
|
|
165
165
|
) {
|
|
166
166
|
background-color: var(--dsa-wc-input-on-floating-background-color-error);
|
|
167
167
|
border-color: var(--dsa-wc-input-on-floating-border-color-error);
|
|
168
168
|
}
|
|
169
|
-
.input--
|
|
169
|
+
.input--on-floating-menu.input--error:hover:not(.input--disabled):not(
|
|
170
170
|
.input--readonly
|
|
171
171
|
) {
|
|
172
172
|
border-color: var(--dsa-wc-input-on-floating-border-color-error-hover);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
search_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.GMHRN23H.js";
|
|
4
4
|
import {
|
|
5
5
|
DSAErrorText
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.M2QIFDAP.js";
|
|
7
7
|
import {
|
|
8
8
|
renderFormElementErrors
|
|
9
9
|
} from "./chunk.6QDM5FUA.js";
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
} from "./chunk.YIY5RM53.js";
|
|
13
13
|
import {
|
|
14
14
|
DSAIconButton
|
|
15
|
-
} from "./chunk.
|
|
15
|
+
} from "./chunk.MWPOWC6N.js";
|
|
16
16
|
import {
|
|
17
17
|
ifDefinedAndNotEmpty
|
|
18
18
|
} from "./chunk.ZQJVCRB2.js";
|
|
19
19
|
import {
|
|
20
20
|
LocalizeController
|
|
21
|
-
} from "./chunk.
|
|
21
|
+
} from "./chunk.34HS7ICN.js";
|
|
22
22
|
import {
|
|
23
23
|
ShoelaceElement
|
|
24
24
|
} from "./chunk.SVWU6JW4.js";
|
|
@@ -49,22 +49,34 @@ var DSASearch = class extends ShoelaceElement {
|
|
|
49
49
|
this.errorMessage = "";
|
|
50
50
|
}
|
|
51
51
|
handleChange() {
|
|
52
|
-
this.value
|
|
52
|
+
if (this.value !== this.input.value) {
|
|
53
|
+
this.value = this.input.value;
|
|
54
|
+
}
|
|
53
55
|
this.emit("dsa-change");
|
|
54
56
|
}
|
|
55
57
|
handleInput() {
|
|
56
|
-
this.value
|
|
58
|
+
if (this.value !== this.input.value) {
|
|
59
|
+
this.value = this.input.value;
|
|
60
|
+
}
|
|
57
61
|
this.emit("dsa-input");
|
|
58
62
|
}
|
|
59
63
|
handleInputFocus() {
|
|
60
|
-
this.hasFocus
|
|
64
|
+
if (!this.hasFocus) {
|
|
65
|
+
this.hasFocus = true;
|
|
66
|
+
}
|
|
61
67
|
this.emit("dsa-focus");
|
|
62
68
|
}
|
|
63
69
|
handleInputBlur() {
|
|
64
|
-
this.hasFocus
|
|
70
|
+
if (this.hasFocus) {
|
|
71
|
+
this.hasFocus = false;
|
|
72
|
+
}
|
|
65
73
|
this.emit("dsa-blur");
|
|
66
74
|
}
|
|
67
75
|
handleClearClick(event) {
|
|
76
|
+
if (this.value === "") {
|
|
77
|
+
event.stopPropagation();
|
|
78
|
+
return;
|
|
79
|
+
}
|
|
68
80
|
this.value = "";
|
|
69
81
|
this.emit("dsa-clear");
|
|
70
82
|
this.emit("dsa-input");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocalizeController
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.34HS7ICN.js";
|
|
4
4
|
import {
|
|
5
5
|
ShoelaceElement
|
|
6
6
|
} from "./chunk.SVWU6JW4.js";
|
|
@@ -10,6 +10,8 @@ import {
|
|
|
10
10
|
|
|
11
11
|
// src/components/format-bytes/format-bytes.ts
|
|
12
12
|
import { customElement, property } from "lit/decorators.js";
|
|
13
|
+
var BIT_PREFIXES = ["", "kilo", "mega", "giga", "tera"];
|
|
14
|
+
var BYTE_PREFIXES = ["", "kilo", "mega", "giga", "tera", "peta"];
|
|
13
15
|
var DSAFormatBytes = class extends ShoelaceElement {
|
|
14
16
|
constructor() {
|
|
15
17
|
super(...arguments);
|
|
@@ -22,9 +24,7 @@ var DSAFormatBytes = class extends ShoelaceElement {
|
|
|
22
24
|
if (isNaN(this.value)) {
|
|
23
25
|
return "";
|
|
24
26
|
}
|
|
25
|
-
const
|
|
26
|
-
const bytePrefixes = ["", "kilo", "mega", "giga", "tera", "peta"];
|
|
27
|
-
const prefix = this.unit === "bit" ? bitPrefixes : bytePrefixes;
|
|
27
|
+
const prefix = this.unit === "bit" ? BIT_PREFIXES : BYTE_PREFIXES;
|
|
28
28
|
const index = Math.max(
|
|
29
29
|
0,
|
|
30
30
|
Math.min(Math.floor(Math.log10(this.value) / 3), prefix.length - 1)
|