@ds-autonomie/web-components 2.19.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 +26 -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.AZVWRRFP.js → chunk.3YXGLEPK.js} +1 -1
- package/cdn/chunks/{chunk.YDZQVGSP.js → chunk.44RPMYBZ.js} +2 -2
- 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.KOU7YZ7Z.js → chunk.56JDCX3P.js} +1 -1
- package/cdn/chunks/{chunk.SN7BDOHN.js → chunk.57RCXLSL.js} +12 -35
- package/cdn/chunks/{chunk.YZO4H6DD.js → chunk.5Z62TASD.js} +1 -1
- 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.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.EZQSKUPG.js → chunk.6UXK7G4D.js} +1 -1
- 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.WWRGGVFZ.js → chunk.7NBAEATD.js} +1 -1
- package/cdn/chunks/chunk.7Y54WEHT.js +85 -0
- package/cdn/chunks/{chunk.6GC5ODVL.js → chunk.AIMBA5HQ.js} +6 -6
- package/cdn/chunks/{chunk.F4EQPWW4.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.2EC2JS5U.js → chunk.BMNZ4YMI.js} +1 -1
- package/cdn/chunks/{chunk.JP66XCHO.js → chunk.BNTHEAJN.js} +8 -9
- package/cdn/chunks/{chunk.CWT6MEMU.js → chunk.BZT2GJNM.js} +19 -23
- package/cdn/chunks/{chunk.RGBTVRRP.js → chunk.CDESACOR.js} +10 -12
- package/cdn/chunks/{chunk.3URUFDPU.js → chunk.CNAZZZJL.js} +1 -1
- package/cdn/chunks/{chunk.GPW6JCHZ.js → chunk.CR7CW7MM.js} +1 -1
- package/cdn/chunks/{chunk.ZCITPD2M.js → chunk.DBXX64Q4.js} +1 -1
- package/cdn/chunks/{chunk.TS5WHKH6.js → chunk.DS2JXBOZ.js} +1 -1
- 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.IMDJ7GD2.js → chunk.EV7HZRUS.js} +1 -1
- package/cdn/chunks/chunk.EXQPVGOS.js +1 -0
- package/cdn/chunks/{chunk.KWBL3MII.js → chunk.F4AQSIUW.js} +1 -1
- package/cdn/chunks/{chunk.2MY5TX6M.js → chunk.FDMQXEYE.js} +1 -2
- package/cdn/chunks/{chunk.JLB52ESL.js → chunk.FEPCSTZT.js} +1 -1
- package/cdn/chunks/{chunk.K747WAAP.js → chunk.FSDHPRBJ.js} +9 -13
- package/cdn/chunks/{chunk.2J6VNJAV.js → chunk.FUN7B2IQ.js} +1 -1
- package/cdn/chunks/chunk.G46A6S6B.js +40 -0
- package/cdn/chunks/{chunk.YBVIKP5F.js → chunk.G5H2VKPM.js} +2 -2
- package/cdn/chunks/{chunk.F6P3DA77.js → chunk.GA4W656I.js} +3 -4
- package/cdn/chunks/{chunk.J7MFL7JZ.js → chunk.GEX7B2RZ.js} +1 -1
- 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.GVL377SN.js → chunk.GWF5GFSQ.js} +1 -1
- package/cdn/chunks/chunk.H4I7G2EQ.js +3 -0
- package/cdn/chunks/{chunk.7ZYAJWHQ.js → chunk.H6456THW.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.JEOSRXCU.js +123 -0
- package/cdn/chunks/{chunk.A5DTG2XB.js → chunk.JU47KXI6.js} +3 -3
- package/cdn/chunks/{chunk.DR6FOTG4.js → chunk.JUMQSXMT.js} +1 -1
- package/cdn/chunks/{chunk.5PWPU25F.js → chunk.JVEPCKCT.js} +5 -5
- package/cdn/chunks/{chunk.COMV5MJ5.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.MRVUEYXZ.js → chunk.KM72KRA4.js} +1 -1
- package/cdn/chunks/chunk.KVJWSAR3.js +173 -0
- package/cdn/chunks/{chunk.63UE4VAO.js → chunk.LYLTFAFC.js} +4 -4
- package/cdn/chunks/{chunk.AYT5ORA7.js → chunk.M57VWWNA.js} +1 -1
- package/cdn/chunks/{chunk.BDRT5OOU.js → chunk.M66L2D2H.js} +1 -1
- package/cdn/chunks/{chunk.HW5UT2FF.js → chunk.MU36LMLD.js} +3 -3
- package/cdn/chunks/{chunk.2QQVNGQU.js → chunk.NG2DZYRR.js} +1 -1
- package/cdn/chunks/{chunk.JFT7O46L.js → chunk.NH327H72.js} +1 -1
- package/cdn/chunks/{chunk.4VP4RPNY.js → chunk.NVG5W3ED.js} +1 -1
- package/cdn/chunks/chunk.NZKPTTUJ.js +121 -0
- package/cdn/chunks/chunk.O52WFAX7.js +64 -0
- package/cdn/chunks/{chunk.77YRGKFQ.js → chunk.OH7GC6EG.js} +1 -1
- package/cdn/chunks/{chunk.AGA6W4U2.js → chunk.OSB2X3QH.js} +4 -4
- package/cdn/chunks/{chunk.E2GQJ6JW.js → chunk.OSQWNBGB.js} +1 -1
- package/cdn/chunks/{chunk.THWI644G.js → chunk.OSR6DVXB.js} +2 -2
- package/cdn/chunks/{chunk.4IWXGSUM.js → chunk.OTNIMSDB.js} +2 -2
- package/cdn/chunks/{chunk.2JTZGBMF.js → chunk.P7SG42IM.js} +1 -1
- package/cdn/chunks/{chunk.PIWF5VEN.js → chunk.PNTZLR2X.js} +1 -1
- package/cdn/chunks/{chunk.7OMTHUFI.js → chunk.Q2GIRDX3.js} +1 -1
- package/cdn/chunks/{chunk.4A2SP2JA.js → chunk.Q2IGZDBA.js} +1 -1
- package/cdn/chunks/{chunk.LLP7EPAY.js → chunk.Q7GZ4AMX.js} +1 -1
- package/cdn/chunks/chunk.QHQUGZAC.js +1 -0
- package/cdn/chunks/{chunk.43ZUOVN3.js → chunk.QPMWIVIV.js} +8 -5
- package/cdn/chunks/{chunk.7WZQFRLE.js → chunk.QSMVLQKG.js} +1 -1
- package/cdn/chunks/chunk.QXHK62F7.js +1 -0
- package/cdn/chunks/{chunk.VOJKFSPN.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.AB4OF3RS.js → chunk.SLWQRYAW.js} +1 -1
- package/cdn/chunks/{chunk.NJBAMERR.js → chunk.TFTJUTCH.js} +1 -1
- package/cdn/chunks/{chunk.CMPRHBFO.js → chunk.TO3SON22.js} +1 -1
- package/cdn/chunks/{chunk.5OGTGPR7.js → chunk.UDLR3IFA.js} +1 -1
- package/cdn/chunks/{chunk.H6KRGKOT.js → chunk.UFUMCCGR.js} +1 -1
- package/cdn/chunks/{chunk.3FMDB6AF.js → chunk.UPTGFHYO.js} +1 -1
- 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.WYKFMOCB.js → chunk.WNYKZ5NJ.js} +1 -1
- 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.6HXGZFOB.js → chunk.XOR6B7CF.js} +1 -1
- package/cdn/chunks/{chunk.M7BLJVGV.js → chunk.XZTHZM2O.js} +1 -1
- package/cdn/chunks/chunk.YCHSWY7W.js +4 -0
- package/cdn/chunks/chunk.YKDQ56UZ.js +27 -0
- package/cdn/chunks/{chunk.RMI7CBAO.js → chunk.YL7QS24Y.js} +4 -4
- package/cdn/chunks/{chunk.WXQKHJC3.js → chunk.YMSC6K32.js} +2 -2
- package/cdn/chunks/{chunk.BS2OSSAE.js → chunk.YOPYBUGE.js} +1 -1
- package/cdn/chunks/{chunk.5KCVCUSX.js → chunk.YQURDTCI.js} +1 -1
- package/cdn/chunks/{chunk.U6OE2WNY.js → chunk.YUIUEJ5Y.js} +5 -5
- package/cdn/chunks/{chunk.FYJYTPOV.js → chunk.ZMRIQCNQ.js} +2 -3
- package/cdn/chunks/chunk.ZNP3XUGI.js +9 -0
- package/cdn/chunks/{chunk.HEWKH2LT.js → chunk.ZZBJJF7J.js} +2 -2
- 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-item/breadcrumb-item.js +1 -1
- package/cdn/components/button/button.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-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/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/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/header/header.js +1 -1
- package/cdn/components/header-external-link/header-external-link.js +1 -1
- package/cdn/components/header-modern/header-modern.js +1 -1
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/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.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-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/select/select.js +1 -1
- package/cdn/components/sidenav/sidenav.js +1 -1
- package/cdn/components/sidenav-info-accordion/sidenav-info-accordion.js +1 -1
- package/cdn/components/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/success-text/success-text.js +1 -1
- package/cdn/components/switch/switch.js +1 -1
- package/cdn/components/tab/tab.js +1 -1
- package/cdn/components/tab-group/tab-group.js +1 -1
- package/cdn/components/table-action/table-action.js +1 -1
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-header-cell/table-header-cell.js +1 -1
- package/cdn/components/table-header-row/table-header-row.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-row/table-row.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/textarea/textarea.js +1 -1
- package/cdn/components/textarea/textarea.styles.js +1 -1
- 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 +639 -258
- package/cdn/design-system.js +1 -1
- 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/input-base/input-base.styles.js +6 -6
- package/cdn/templates/utilities/decorator.js +1 -1
- package/cdn/vscode.html-custom-data.json +36 -26
- package/cdn/web-types.json +353 -142
- package/dist/chunks/{chunk.SP2SVH7K.js → chunk.25TWOP6P.js} +15 -9
- package/dist/chunks/{chunk.JKNKFWLE.js → chunk.2I4VZQYC.js} +5 -6
- 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.V3LWOWUB.js → chunk.4FZPTWZ7.js} +1 -1
- package/dist/chunks/{chunk.7MY3WW7C.js → chunk.4JMXY2WI.js} +2 -2
- package/dist/chunks/{chunk.RZRBWZ7K.js → chunk.5S6P5V3F.js} +1 -1
- package/dist/chunks/{chunk.LH65ZIEN.js → chunk.5WXGUCD2.js} +6 -6
- package/dist/chunks/{chunk.RG7MUNLM.js → chunk.6DUG6A52.js} +6 -5
- package/dist/chunks/{chunk.ZFGRB56M.js → chunk.6EOZYFCK.js} +4 -4
- package/dist/chunks/{chunk.K27SKJCO.js → chunk.74CLWWSO.js} +3 -2
- package/dist/chunks/{chunk.ERMNNF77.js → chunk.7I4SBUOE.js} +2 -2
- package/dist/chunks/{chunk.PENDUUVT.js → chunk.A4X3GH4U.js} +46 -41
- package/dist/chunks/{chunk.HYAC2WLH.js → chunk.AAHDC2DF.js} +3 -2
- package/dist/chunks/{chunk.4NY2E4AU.js → chunk.AAZSI6N4.js} +4 -4
- 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.33P7XYHC.js → chunk.B3DDBDEC.js} +1 -1
- package/dist/chunks/{chunk.SXFVCR7O.js → chunk.B6XSS23Y.js} +2 -2
- package/dist/chunks/{chunk.6TDF44UO.js → chunk.BEK4DVCN.js} +1 -1
- package/dist/chunks/{chunk.ZS3JNRJE.js → chunk.BIMSZQRS.js} +2 -2
- package/dist/chunks/{chunk.JTPMSU67.js → chunk.BITIOZGG.js} +6 -6
- package/dist/chunks/{chunk.V26NK6TM.js → chunk.BKCIRG2P.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.72FKNFBS.js → chunk.C6Q4Y7HY.js} +3 -4
- package/dist/chunks/{chunk.6LLDVH7Y.js → chunk.C7XR6TIW.js} +1 -1
- package/dist/chunks/{chunk.7BBNETYY.js → chunk.CRWYFYCK.js} +5 -5
- package/dist/chunks/{chunk.RVUUZ3KA.js → chunk.CY25FZDP.js} +1 -1
- package/dist/chunks/{chunk.QKUUHXNR.js → chunk.CZC3DHY6.js} +5 -5
- 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.WMFEJDPX.js → chunk.DE3HY2DW.js} +2 -2
- package/dist/chunks/{chunk.5R7OHVIP.js → chunk.DM5A44VN.js} +5 -5
- 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.KPVDLRVV.js → chunk.EE3XCTKZ.js} +1 -1
- package/dist/chunks/{chunk.47AQXN3U.js → chunk.EGXFCQMV.js} +50 -29
- 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.2WW7OJZT.js → chunk.ER5S4DQ4.js} +1 -1
- package/dist/chunks/{chunk.RU7L7OSM.js → chunk.ESWLZEFC.js} +12 -15
- package/dist/chunks/{chunk.U4W57NV6.js → chunk.F7XLQM3I.js} +2 -2
- package/dist/chunks/{chunk.TW7OE55S.js → chunk.FA4NHQF4.js} +1 -1
- package/dist/chunks/{chunk.I522XZAV.js → chunk.GMHIXRUV.js} +1 -2
- package/dist/chunks/{chunk.M47KXEXM.js → chunk.HCKPLZT3.js} +28 -6
- 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.VOKBXFKF.js → chunk.I7MPPCZN.js} +4 -4
- 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.SGRSRDWP.js → chunk.IJLBJ37U.js} +6 -6
- package/dist/chunks/{chunk.SRLGPXHB.js → chunk.IJYHCSO5.js} +1 -1
- package/dist/chunks/{chunk.QUEYKUIS.js → chunk.IRBKALXJ.js} +5 -5
- package/dist/chunks/{chunk.4VSGAJJL.js → chunk.IRPNCLE5.js} +1 -1
- package/dist/chunks/{chunk.Q7YCE4UA.js → chunk.ISEFZON7.js} +7 -2
- package/dist/chunks/{chunk.6RXEQKWZ.js → chunk.ISXV5IHB.js} +1 -1
- package/dist/chunks/{chunk.R3PD3TNK.js → chunk.IWCSAXJN.js} +2 -2
- package/dist/chunks/{chunk.VPBDM3F2.js → chunk.IYAYPQEC.js} +1 -1
- package/dist/chunks/{chunk.WSQ2ZYD4.js → chunk.JC4UHPES.js} +2 -2
- package/dist/chunks/{chunk.UC5S2IUH.js → chunk.JLAQUWWF.js} +1 -1
- package/dist/chunks/{chunk.T6OAGTAP.js → chunk.JTUO6EOR.js} +1 -1
- package/dist/chunks/{chunk.LYVWDO7O.js → chunk.K43LRQVK.js} +8 -7
- package/dist/chunks/{chunk.WFACPRM5.js → chunk.K64V2XZO.js} +5 -1
- package/dist/chunks/{chunk.2AMILV3O.js → chunk.KNXPRETW.js} +30 -5
- package/dist/chunks/{chunk.6Q5DARJM.js → chunk.L5HLKFQW.js} +1 -1
- package/dist/chunks/{chunk.6BCJJGLC.js → chunk.LKSUU7CF.js} +1 -1
- package/dist/chunks/{chunk.5SH25FOL.js → chunk.LN7NDCQU.js} +1 -1
- 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.GSSDOCVR.js → chunk.M5L3DDVW.js} +4 -4
- 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.XMBQRPGX.js → chunk.NGEL5LW3.js} +7 -7
- package/dist/chunks/{chunk.TCW77JY3.js → chunk.NIBZO5CG.js} +47 -38
- package/dist/chunks/{chunk.CKJJ4MSU.js → chunk.NJQ6BFQQ.js} +10 -6
- package/dist/chunks/{chunk.SAQFLKP7.js → chunk.NPMNFNR7.js} +5 -5
- package/dist/chunks/{chunk.34BCRRRT.js → chunk.NTKYNRVQ.js} +8 -3
- package/dist/chunks/{chunk.4E2FKC3C.js → chunk.ORK75RRY.js} +1 -1
- package/dist/chunks/{chunk.UQ7ZIOBO.js → chunk.OUUFQTMX.js} +1 -1
- package/dist/chunks/{chunk.JBKNTRA7.js → chunk.PFPVUCRD.js} +20 -7
- package/dist/chunks/{chunk.HRZVG552.js → chunk.PPNCOBIW.js} +26 -19
- package/dist/chunks/{chunk.EMPEBDHH.js → chunk.Q76VY2W2.js} +7 -9
- package/dist/chunks/{chunk.GTO6NACR.js → chunk.QAA45XK3.js} +1 -1
- 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.SGPAUD26.js → chunk.RPOIITDC.js} +1 -1
- package/dist/chunks/{chunk.JATRBE3H.js → chunk.RRR5BCCP.js} +39 -17
- package/dist/chunks/{chunk.FBY2IM6R.js → chunk.SC6ST3JE.js} +18 -13
- package/dist/chunks/{chunk.CFBX4SXO.js → chunk.SEMHY47B.js} +1 -1
- package/dist/chunks/{chunk.E6D32GY2.js → chunk.SUX4XQKB.js} +2 -2
- 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.YI6BUIUL.js → chunk.TGQQJI2E.js} +24 -8
- package/dist/chunks/{chunk.KIN7BJ2S.js → chunk.TILFUJJ2.js} +3 -4
- package/dist/chunks/{chunk.IMZ2EJ3J.js → chunk.TJ5TUGGE.js} +83 -83
- package/dist/chunks/{chunk.4XPBWICF.js → chunk.TNWA2A3X.js} +1 -1
- package/dist/chunks/{chunk.SAKI57GG.js → chunk.TTV3MIRK.js} +45 -21
- package/dist/chunks/{chunk.CFUNT7FK.js → chunk.TXX2YIZA.js} +6 -7
- package/dist/chunks/{chunk.UESIZCBP.js → chunk.UF7CYOQ4.js} +46 -46
- package/dist/chunks/{chunk.FZFK3D6L.js → chunk.UGLMODK6.js} +21 -30
- package/dist/chunks/{chunk.SZDGGP2Y.js → chunk.UIZ6FPK7.js} +12 -35
- package/dist/chunks/{chunk.KW762SFE.js → chunk.UO6FYSWX.js} +6 -10
- package/dist/chunks/{chunk.EWMFHVNW.js → chunk.UOJ4QKLP.js} +6 -6
- package/dist/chunks/{chunk.PSWGNIVT.js → chunk.UYMQI7J5.js} +2 -2
- package/dist/chunks/{chunk.FLI47BNN.js → chunk.VFJEGCDO.js} +3 -3
- 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.LT44CVRV.js → chunk.WL6AJERE.js} +4 -8
- package/dist/chunks/{chunk.VYX5ZSFI.js → chunk.XM237MHQ.js} +2 -2
- package/dist/chunks/{chunk.XZU6MLWO.js → chunk.XSQDJNFR.js} +14 -8
- package/dist/chunks/{chunk.V4SDZV6L.js → chunk.YBX4TUQG.js} +4 -4
- package/dist/chunks/{chunk.4535HZ7L.js → chunk.YGUB43LS.js} +5 -5
- package/dist/chunks/{chunk.H4WJ64X5.js → chunk.YTAYYSIR.js} +58 -53
- package/dist/chunks/{chunk.5TBGCNJD.js → chunk.Z7QD3YXZ.js} +24 -9
- package/dist/chunks/{chunk.WEPA3NJG.js → chunk.ZJ6WYIG2.js} +1 -1
- package/dist/chunks/{chunk.Q4BEX42U.js → chunk.ZKBTNXGE.js} +3 -3
- package/dist/chunks/{chunk.LFCY7UUJ.js → chunk.ZKCBJ5YM.js} +30 -34
- package/dist/components/accordion/accordion.js +3 -2
- package/dist/components/accordion-group/accordion-group.js +5 -4
- package/dist/components/alert/alert.js +5 -4
- package/dist/components/avatar/avatar.js +3 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -2
- package/dist/components/button/button.js +5 -4
- package/dist/components/card-content/card-content.js +3 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +3 -2
- package/dist/components/card-nav-item/card-nav-item.js +3 -2
- package/dist/components/checkbox/checkbox.js +6 -6
- package/dist/components/checkbox-button/checkbox-button.js +6 -6
- package/dist/components/checkbox-card/checkbox-card.js +6 -6
- 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 +11 -11
- package/dist/components/copy-button/copy-button.js +3 -2
- package/dist/components/dialog/dialog.js +5 -4
- 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 +5 -4
- 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 +8 -7
- 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 +3 -2
- package/dist/components/filter-counter/filter-counter.d.ts +2 -0
- package/dist/components/filter-counter/filter-counter.js +26 -25
- package/dist/components/filter-date/filter-date.js +12 -11
- package/dist/components/filter-date/filter-date.styles.js +1 -1
- package/dist/components/filter-range/filter-range.js +27 -26
- package/dist/components/filter-select/filter-select.d.ts +3 -0
- package/dist/components/filter-select/filter-select.js +27 -27
- package/dist/components/footer/footer.js +2 -2
- 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 +1 -1
- package/dist/components/header/header.js +2 -2
- package/dist/components/header-external-link/header-external-link.js +2 -2
- package/dist/components/header-modern/header-modern.js +2 -2
- package/dist/components/header-search/header-search.js +10 -9
- 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 +20 -19
- package/dist/components/input-amount/input-amount.js +12 -11
- 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 +12 -11
- 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 +12 -11
- 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 +11 -10
- 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 +14 -14
- 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 +11 -10
- 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 +4 -3
- 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 +2 -2
- package/dist/components/menu-item/menu-item.styles.js +1 -1
- package/dist/components/menu-navigation/menu-navigation.js +3 -3
- 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 +6 -5
- package/dist/components/navbar-menu/navbar-menu.d.ts +3 -0
- package/dist/components/navbar-menu/navbar-menu.js +3 -2
- package/dist/components/option/option.js +3 -3
- 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 +23 -22
- 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 +4 -3
- package/dist/components/progress-bar/progress-bar.js +2 -2
- 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 +4 -4
- package/dist/components/radio-button/radio-button.js +6 -6
- package/dist/components/radio-card/radio-card.js +8 -8
- package/dist/components/radio-group/radio-group.js +4 -4
- 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 +1 -1
- package/dist/components/resize-observer/resize-observer.js +1 -1
- package/dist/components/search/search.js +6 -5
- package/dist/components/select/select.js +8 -7
- package/dist/components/sidenav/sidenav.js +3 -3
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +5 -4
- package/dist/components/spinner/spinner.js +2 -2
- 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 +4 -3
- package/dist/components/split-panel/split-panel.styles.js +1 -1
- package/dist/components/step/step.js +3 -3
- package/dist/components/success-text/success-text.js +3 -2
- package/dist/components/switch/switch.js +3 -2
- package/dist/components/tab/tab.js +5 -5
- package/dist/components/tab-group/tab-group.js +5 -5
- package/dist/components/table-action/table-action.js +6 -5
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.js +3 -2
- package/dist/components/table-header-row/table-header-row.js +11 -11
- package/dist/components/table-of-contents/table-of-contents.js +3 -2
- package/dist/components/table-row/table-row.js +9 -9
- package/dist/components/tag/tag.js +5 -4
- package/dist/components/textarea/textarea.js +6 -5
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/components/tree/tree.js +8 -23
- package/dist/components/tree-item/tree-item.d.ts +1 -2
- package/dist/components/tree-item/tree-item.js +7 -22
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +639 -258
- package/dist/design-system.js +126 -126
- 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/input-base/input-base.styles.js +6 -6
- package/dist/templates/utilities/decorator.js +1 -1
- package/dist/vscode.html-custom-data.json +36 -26
- package/dist/web-types.json +353 -142
- package/package.json +1 -1
- package/cdn/chunks/chunk.4NE2V6DW.js +0 -9
- package/cdn/chunks/chunk.5MXBS7CA.js +0 -62
- package/cdn/chunks/chunk.7TKKYYU2.js +0 -112
- package/cdn/chunks/chunk.7Y7CQMR6.js +0 -3
- package/cdn/chunks/chunk.BOCMAV5D.js +0 -51
- package/cdn/chunks/chunk.DFIOQK4K.js +0 -108
- package/cdn/chunks/chunk.EAWHOXCM.js +0 -24
- package/cdn/chunks/chunk.GDNVDKSZ.js +0 -4
- package/cdn/chunks/chunk.H7CICKO6.js +0 -173
- package/cdn/chunks/chunk.IYPKQQOD.js +0 -35
- package/cdn/chunks/chunk.KD3BHBHK.js +0 -19
- package/cdn/chunks/chunk.KH2JVAEZ.js +0 -3
- package/cdn/chunks/chunk.KTJAW66F.js +0 -73
- package/cdn/chunks/chunk.KVPC6DC4.js +0 -121
- package/cdn/chunks/chunk.MN7GWB3J.js +0 -66
- package/cdn/chunks/chunk.PICWAFB5.js +0 -1
- package/cdn/chunks/chunk.PVV7WADS.js +0 -121
- package/cdn/chunks/chunk.RGOPSYRZ.js +0 -1
- package/cdn/chunks/chunk.RTVNV4IL.js +0 -27
- package/cdn/chunks/chunk.S5XJPLVO.js +0 -51
- package/cdn/chunks/chunk.TPKY6SO3.js +0 -94
- package/cdn/chunks/chunk.U5DYVPGP.js +0 -1
- package/cdn/chunks/chunk.ULWBK7T7.js +0 -40
- package/cdn/chunks/chunk.UXV7IG5J.js +0 -1
- package/cdn/chunks/chunk.VVOUCVXZ.js +0 -123
- package/cdn/chunks/chunk.WFR7MSMI.js +0 -1
- package/cdn/chunks/chunk.XGUKMUW4.js +0 -25
- package/cdn/chunks/chunk.YWOAIOEZ.js +0 -75
- package/cdn/chunks/chunk.Z226LHQY.js +0 -64
- package/dist/chunks/{chunk.WJU4UHF5.js → chunk.24VWWARJ.js} +3 -3
- package/dist/chunks/{chunk.XAYOMJ4X.js → chunk.LWTEEWEF.js} +4 -4
- package/dist/chunks/{chunk.VJMPU2K5.js → chunk.UBVYU5GL.js} +4 -4
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSASelect
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZKBTNXGE.js";
|
|
4
4
|
import {
|
|
5
5
|
frenchNumberPrefix,
|
|
6
6
|
phonePrefixOptions
|
|
@@ -10,27 +10,29 @@ import {
|
|
|
10
10
|
} from "./chunk.YKKP7YAT.js";
|
|
11
11
|
import {
|
|
12
12
|
input_phone_styles_default
|
|
13
|
-
} from "./chunk.
|
|
13
|
+
} from "./chunk.AI3RKI3P.js";
|
|
14
14
|
import {
|
|
15
|
+
buildValidityState,
|
|
15
16
|
maskedValueToRawValue,
|
|
16
17
|
rawValueToMaskedValue,
|
|
18
|
+
renderMaskOverlay,
|
|
17
19
|
stripSpecialChars
|
|
18
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.3D7AGBFQ.js";
|
|
19
21
|
import {
|
|
20
22
|
InputBase
|
|
21
|
-
} from "./chunk.
|
|
23
|
+
} from "./chunk.DE3HY2DW.js";
|
|
22
24
|
import {
|
|
23
25
|
DSAOption
|
|
24
|
-
} from "./chunk.
|
|
26
|
+
} from "./chunk.NPMNFNR7.js";
|
|
25
27
|
import {
|
|
26
28
|
DSAIconButton
|
|
27
|
-
} from "./chunk.
|
|
29
|
+
} from "./chunk.MWPOWC6N.js";
|
|
28
30
|
import {
|
|
29
31
|
ifDefinedAndNotEmpty
|
|
30
32
|
} from "./chunk.ZQJVCRB2.js";
|
|
31
33
|
import {
|
|
32
34
|
DSAIcon
|
|
33
|
-
} from "./chunk.
|
|
35
|
+
} from "./chunk.NJQ6BFQQ.js";
|
|
34
36
|
import {
|
|
35
37
|
watch
|
|
36
38
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -47,12 +49,15 @@ import { classMap } from "lit/directives/class-map.js";
|
|
|
47
49
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
48
50
|
import { live } from "lit/directives/live.js";
|
|
49
51
|
import { LocalizeController } from "@shoelace-style/localize";
|
|
52
|
+
var defaultPhoneConfig = getPhoneConfig("+33");
|
|
50
53
|
var DSAInputPhone = class extends InputBase {
|
|
51
54
|
constructor() {
|
|
52
55
|
super(...arguments);
|
|
53
56
|
this.localize = new LocalizeController(this);
|
|
57
|
+
this.phonePattern = new RegExp(defaultPhoneConfig.pattern);
|
|
58
|
+
this.placeholderLength = stripSpecialChars(defaultPhoneConfig.placeholder).length;
|
|
54
59
|
this.maskedNumber = "";
|
|
55
|
-
this.phoneConfig =
|
|
60
|
+
this.phoneConfig = defaultPhoneConfig;
|
|
56
61
|
this.placeholder = this.phoneConfig.placeholder;
|
|
57
62
|
this.pattern = this.phoneConfig.pattern;
|
|
58
63
|
this._isSyncing = false;
|
|
@@ -64,34 +69,14 @@ var DSAInputPhone = class extends InputBase {
|
|
|
64
69
|
}
|
|
65
70
|
/** Gets the validity state object */
|
|
66
71
|
get validity() {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
const matches = this.value.match(this.pattern);
|
|
70
|
-
patternMatch = matches !== null;
|
|
71
|
-
}
|
|
72
|
-
const validityState = {
|
|
73
|
-
badInput: this.input.validity.badInput,
|
|
74
|
-
customError: this.input.validity.customError,
|
|
75
|
-
patternMismatch: !patternMatch,
|
|
76
|
-
rangeOverflow: this.input.validity.rangeOverflow,
|
|
77
|
-
rangeUnderflow: this.input.validity.rangeUnderflow,
|
|
78
|
-
stepMismatch: this.input.validity.stepMismatch,
|
|
79
|
-
tooLong: this.input.validity.tooLong,
|
|
80
|
-
tooShort: this.input.validity.tooShort,
|
|
81
|
-
typeMismatch: this.input.validity.typeMismatch,
|
|
82
|
-
valid: patternMatch !== void 0 ? patternMatch : this.input.validity.valid,
|
|
83
|
-
valueMissing: this.input.validity.valueMissing
|
|
84
|
-
};
|
|
85
|
-
return validityState;
|
|
72
|
+
const patternMatch = this.phoneNumber.length > 0 ? this.phonePattern.test(this.value) : void 0;
|
|
73
|
+
return buildValidityState(this.input.validity, patternMatch);
|
|
86
74
|
}
|
|
87
75
|
connectedCallback() {
|
|
88
76
|
super.connectedCallback();
|
|
89
77
|
this.defaultValue = this.value;
|
|
90
78
|
this.setPhoneFromValue(this.value);
|
|
91
|
-
this.
|
|
92
|
-
this.phoneNumber,
|
|
93
|
-
this.placeholder
|
|
94
|
-
);
|
|
79
|
+
this.syncMaskedNumber();
|
|
95
80
|
}
|
|
96
81
|
willUpdate(changedProperties) {
|
|
97
82
|
if (changedProperties.has("phonePrefix") && !frenchNumberPrefix.includes(this.phonePrefix)) {
|
|
@@ -101,16 +86,34 @@ var DSAInputPhone = class extends InputBase {
|
|
|
101
86
|
/*
|
|
102
87
|
* Event handlers
|
|
103
88
|
*/
|
|
104
|
-
|
|
105
|
-
const
|
|
89
|
+
syncMaskedNumber() {
|
|
90
|
+
const maskedNumber = rawValueToMaskedValue(
|
|
91
|
+
this.phoneNumber,
|
|
92
|
+
this.placeholder
|
|
93
|
+
);
|
|
94
|
+
if (this.maskedNumber !== maskedNumber) {
|
|
95
|
+
this.maskedNumber = maskedNumber;
|
|
96
|
+
}
|
|
97
|
+
if (this.input && this.input.value !== maskedNumber) {
|
|
98
|
+
this.input.value = maskedNumber;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
handleInputValueChange() {
|
|
102
|
+
const input = this.input;
|
|
103
|
+
const strippedValue = stripSpecialChars(input.value);
|
|
106
104
|
const newValue = maskedValueToRawValue(
|
|
107
105
|
strippedValue,
|
|
108
106
|
this.phoneConfig.mask
|
|
109
107
|
);
|
|
110
|
-
const
|
|
108
|
+
const maskedNumber = rawValueToMaskedValue(newValue, this.placeholder);
|
|
109
|
+
if (this.phoneNumber === newValue && this.maskedNumber === maskedNumber && input.value === maskedNumber) {
|
|
110
|
+
return;
|
|
111
|
+
}
|
|
111
112
|
this.phoneNumber = newValue;
|
|
112
|
-
this.maskedNumber =
|
|
113
|
-
|
|
113
|
+
this.maskedNumber = maskedNumber;
|
|
114
|
+
if (input.value !== maskedNumber) {
|
|
115
|
+
input.value = maskedNumber;
|
|
116
|
+
}
|
|
114
117
|
this.updateValue();
|
|
115
118
|
this.formControlController.updateValidity();
|
|
116
119
|
this.emit("dsa-input");
|
|
@@ -135,7 +138,13 @@ var DSAInputPhone = class extends InputBase {
|
|
|
135
138
|
}
|
|
136
139
|
handleClearIconClick(event) {
|
|
137
140
|
this.phonePrefix = "+33";
|
|
141
|
+
this.applyPhoneConfig(this.phonePrefix);
|
|
138
142
|
this.phoneNumber = "";
|
|
143
|
+
this.maskedNumber = "";
|
|
144
|
+
this.value = "";
|
|
145
|
+
if (this.input.value !== "") {
|
|
146
|
+
this.input.value = "";
|
|
147
|
+
}
|
|
139
148
|
this.emit("dsa-clear");
|
|
140
149
|
this.emit("dsa-input");
|
|
141
150
|
this.emit("dsa-change");
|
|
@@ -151,34 +160,42 @@ var DSAInputPhone = class extends InputBase {
|
|
|
151
160
|
if (this.phoneNumber.length === 0) {
|
|
152
161
|
this.value = "";
|
|
153
162
|
} else {
|
|
154
|
-
const placeholderLength = stripSpecialChars(this.placeholder).length;
|
|
155
163
|
this.value = `${this.phonePrefix}${this.phoneNumber.substring(
|
|
156
164
|
0,
|
|
157
|
-
placeholderLength
|
|
165
|
+
this.placeholderLength
|
|
158
166
|
)}`;
|
|
159
167
|
}
|
|
160
168
|
this._isSyncing = false;
|
|
161
169
|
}
|
|
162
|
-
|
|
163
|
-
this.phoneConfig = getPhoneConfig(
|
|
170
|
+
applyPhoneConfig(phonePrefix) {
|
|
171
|
+
this.phoneConfig = getPhoneConfig(phonePrefix);
|
|
164
172
|
this.placeholder = this.phoneConfig.placeholder;
|
|
165
173
|
this.pattern = this.phoneConfig.pattern;
|
|
174
|
+
this.placeholderLength = stripSpecialChars(this.placeholder).length;
|
|
175
|
+
this.phonePattern = new RegExp(this.pattern);
|
|
176
|
+
}
|
|
177
|
+
getPhonePrefixFromValue(value) {
|
|
178
|
+
for (const prefix of frenchNumberPrefix) {
|
|
179
|
+
if (value.startsWith(prefix)) {
|
|
180
|
+
return prefix;
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
return "+33";
|
|
166
184
|
}
|
|
167
185
|
setPhoneFromValue(value) {
|
|
168
|
-
if (
|
|
186
|
+
if (value === "") {
|
|
169
187
|
this.phonePrefix = "+33";
|
|
188
|
+
this.applyPhoneConfig(this.phonePrefix);
|
|
170
189
|
this.phoneNumber = "";
|
|
190
|
+
this.value = "";
|
|
191
|
+
return;
|
|
171
192
|
}
|
|
172
|
-
const
|
|
173
|
-
const
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
const number = value.replace(prefix, "").substring(0, placeholderLength);
|
|
179
|
-
this.phonePrefix = prefix;
|
|
180
|
-
this.phoneNumber = number;
|
|
181
|
-
}
|
|
193
|
+
const phonePrefix = this.getPhonePrefixFromValue(value);
|
|
194
|
+
const phoneConfig = getPhoneConfig(phonePrefix);
|
|
195
|
+
const placeholderLength = stripSpecialChars(phoneConfig.placeholder).length;
|
|
196
|
+
this.phonePrefix = phonePrefix;
|
|
197
|
+
this.applyPhoneConfig(phonePrefix);
|
|
198
|
+
this.phoneNumber = value.replace(phonePrefix, "").substring(0, placeholderLength);
|
|
182
199
|
}
|
|
183
200
|
getDescriptionIds() {
|
|
184
201
|
let ids = ["input-phone"];
|
|
@@ -187,30 +204,27 @@ var DSAInputPhone = class extends InputBase {
|
|
|
187
204
|
return ids.join(" ");
|
|
188
205
|
}
|
|
189
206
|
handleDisabledChange() {
|
|
190
|
-
if (this.disabled) {
|
|
191
|
-
this.phonePrefixEl.setAttribute("disabled", "");
|
|
192
|
-
} else {
|
|
193
|
-
this.phonePrefixEl.removeAttribute("disabled");
|
|
194
|
-
}
|
|
195
207
|
this.formControlController.setValidity(this.disabled);
|
|
196
208
|
}
|
|
197
209
|
async handleValueChange() {
|
|
198
210
|
if (this._isSyncing) return;
|
|
199
211
|
this._isSyncing = true;
|
|
200
212
|
this.setPhoneFromValue(this.value);
|
|
201
|
-
this.
|
|
202
|
-
this.phoneNumber,
|
|
203
|
-
this.placeholder
|
|
204
|
-
);
|
|
213
|
+
this.syncMaskedNumber();
|
|
205
214
|
await this.updateComplete;
|
|
206
215
|
this.formControlController.updateValidity();
|
|
207
216
|
this._isSyncing = false;
|
|
208
217
|
}
|
|
209
218
|
handlePhonePrefixChange() {
|
|
210
|
-
this.
|
|
219
|
+
this.applyPhoneConfig(this.phonePrefix);
|
|
220
|
+
if (this.phoneNumber.length > this.placeholderLength) {
|
|
221
|
+
this.phoneNumber = this.phoneNumber.substring(0, this.placeholderLength);
|
|
222
|
+
}
|
|
223
|
+
this.syncMaskedNumber();
|
|
211
224
|
this.updateValue();
|
|
212
225
|
}
|
|
213
226
|
handlePhoneNumberChange() {
|
|
227
|
+
this.syncMaskedNumber();
|
|
214
228
|
this.updateValue();
|
|
215
229
|
}
|
|
216
230
|
/*
|
|
@@ -222,9 +236,7 @@ var DSAInputPhone = class extends InputBase {
|
|
|
222
236
|
if (this.phoneNumber.length === 0) {
|
|
223
237
|
return isValidInput != null ? isValidInput : false;
|
|
224
238
|
}
|
|
225
|
-
|
|
226
|
-
const patternMatch = matches !== null;
|
|
227
|
-
return patternMatch;
|
|
239
|
+
return this.phonePattern.test(this.value);
|
|
228
240
|
}
|
|
229
241
|
reportValidity() {
|
|
230
242
|
var _a;
|
|
@@ -232,18 +244,13 @@ var DSAInputPhone = class extends InputBase {
|
|
|
232
244
|
if (this.phoneNumber.length === 0) {
|
|
233
245
|
return isValidInput != null ? isValidInput : false;
|
|
234
246
|
}
|
|
235
|
-
|
|
236
|
-
const patternMatch = matches !== null;
|
|
237
|
-
return patternMatch;
|
|
247
|
+
return this.phonePattern.test(this.value);
|
|
238
248
|
}
|
|
239
249
|
renderInput() {
|
|
240
250
|
var _a, _b, _c;
|
|
241
251
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
242
252
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
243
253
|
const hasClearIcon = this.clearable && !this.disabled && !this.readonly && (typeof this.phoneNumber === "number" || ((_a = this.phoneNumber) == null ? void 0 : _a.length) > 0);
|
|
244
|
-
const placeholder = this.placeholder.substring(
|
|
245
|
-
this.maskedNumber.length || 0
|
|
246
|
-
);
|
|
247
254
|
return html`
|
|
248
255
|
<div part="base" class="input-phone__input form-control__field">
|
|
249
256
|
<dsa-select
|
|
@@ -299,18 +306,11 @@ var DSAInputPhone = class extends InputBase {
|
|
|
299
306
|
<span>${this.inputPrefix}</span>
|
|
300
307
|
|
|
301
308
|
<div class="input-phone__mask">
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
aria-hidden="true"
|
|
308
|
-
>
|
|
309
|
-
<span class="input-phone__value" aria-hidden="true">
|
|
310
|
-
${this.maskedNumber}</span
|
|
311
|
-
>
|
|
312
|
-
${placeholder}
|
|
313
|
-
</div>
|
|
309
|
+
${renderMaskOverlay(
|
|
310
|
+
this.maskedNumber,
|
|
311
|
+
this.placeholder,
|
|
312
|
+
"input-phone"
|
|
313
|
+
)}
|
|
314
314
|
|
|
315
315
|
<input
|
|
316
316
|
part="input"
|
|
@@ -342,7 +342,7 @@ var DSAInputPhone = class extends InputBase {
|
|
|
342
342
|
aria-describedby=${this.getDescriptionIds()}
|
|
343
343
|
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
344
344
|
@change=${this.handleInputChange}
|
|
345
|
-
@
|
|
345
|
+
@input=${this.handleInputValueChange}
|
|
346
346
|
@keydown=${this.handleKeyDown}
|
|
347
347
|
@focus=${this.handleFocus}
|
|
348
348
|
@blur=${this.handleBlur}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
file_upload_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.ZKCBJ5YM.js";
|
|
4
4
|
import {
|
|
5
5
|
collectMultipleDroppedFiles
|
|
6
6
|
} from "./chunk.U5AV7YAS.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk.CMJ2SRTL.js";
|
|
10
10
|
import {
|
|
11
11
|
DSAErrorText
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.M2QIFDAP.js";
|
|
13
13
|
import {
|
|
14
14
|
renderFormElementErrors
|
|
15
15
|
} from "./chunk.6QDM5FUA.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
} from "./chunk.DJLJEQST.js";
|
|
22
22
|
import {
|
|
23
23
|
DSAAlert
|
|
24
|
-
} from "./chunk.
|
|
24
|
+
} from "./chunk.7I4SBUOE.js";
|
|
25
25
|
import {
|
|
26
26
|
a11yWarning
|
|
27
27
|
} from "./chunk.PWL7QCVG.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk.34HS7ICN.js";
|
|
34
34
|
import {
|
|
35
35
|
DSAIcon
|
|
36
|
-
} from "./chunk.
|
|
36
|
+
} from "./chunk.NJQ6BFQQ.js";
|
|
37
37
|
import {
|
|
38
38
|
watch
|
|
39
39
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -65,6 +65,7 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
65
65
|
);
|
|
66
66
|
this.localize = new LocalizeController(this);
|
|
67
67
|
this.storedFiles = [];
|
|
68
|
+
this.acceptedTypesCache = [];
|
|
68
69
|
this.internalError = "";
|
|
69
70
|
this.size = "medium";
|
|
70
71
|
this.label = "";
|
|
@@ -76,6 +77,7 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
76
77
|
this.required = false;
|
|
77
78
|
this.accept = "";
|
|
78
79
|
this.multiple = false;
|
|
80
|
+
this.appendFiles = false;
|
|
79
81
|
this.error = false;
|
|
80
82
|
this.directory = false;
|
|
81
83
|
this.name = "";
|
|
@@ -119,16 +121,14 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
119
121
|
/** Remove a previously selected file */
|
|
120
122
|
removeFile(index) {
|
|
121
123
|
this.storedFiles.splice(index, 1);
|
|
122
|
-
|
|
123
|
-
this.storedFiles.forEach((f) => dt.items.add(f));
|
|
124
|
-
this.fileUploadInput.files = dt.files;
|
|
124
|
+
this.syncInputFilesFromStore();
|
|
125
125
|
this.value = this.fileUploadInput.value;
|
|
126
126
|
this.emit("dsa-file-upload", { detail: { files: this.storedFiles } });
|
|
127
127
|
}
|
|
128
128
|
connectedCallback() {
|
|
129
129
|
super.connectedCallback();
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
this.acceptedTypesCache = this.accept ? this.accept.split(",").map((type) => type.trim()) : [];
|
|
131
|
+
this.updateFileItemsSize();
|
|
132
132
|
}
|
|
133
133
|
firstUpdated() {
|
|
134
134
|
this.formControlController.updateValidity();
|
|
@@ -148,9 +148,18 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
148
148
|
...this.querySelectorAll("dsa-file-upload-item")
|
|
149
149
|
];
|
|
150
150
|
}
|
|
151
|
+
updateFileItemsSize() {
|
|
152
|
+
this.getAllFileElements().forEach(
|
|
153
|
+
(el) => el.setAttribute("size", this.size)
|
|
154
|
+
);
|
|
155
|
+
}
|
|
156
|
+
syncInputFilesFromStore() {
|
|
157
|
+
const dataTransfer = new DataTransfer();
|
|
158
|
+
this.storedFiles.forEach((file) => dataTransfer.items.add(file));
|
|
159
|
+
this.fileUploadInput.files = dataTransfer.files;
|
|
160
|
+
}
|
|
151
161
|
handleDefaultSlotChange() {
|
|
152
|
-
|
|
153
|
-
allFiles.forEach((el) => el.setAttribute("size", this.size));
|
|
162
|
+
this.updateFileItemsSize();
|
|
154
163
|
}
|
|
155
164
|
handleBlur() {
|
|
156
165
|
this.emit("dsa-blur");
|
|
@@ -162,13 +171,15 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
162
171
|
this.internalError = "";
|
|
163
172
|
const filteredFiles = this.filterValidFiles(newFiles);
|
|
164
173
|
if (this.multiple) {
|
|
165
|
-
|
|
174
|
+
if (this.appendFiles) {
|
|
175
|
+
this.storedFiles = [...this.storedFiles, ...filteredFiles];
|
|
176
|
+
} else {
|
|
177
|
+
this.storedFiles = filteredFiles;
|
|
178
|
+
}
|
|
166
179
|
} else {
|
|
167
180
|
this.storedFiles = filteredFiles;
|
|
168
181
|
}
|
|
169
|
-
|
|
170
|
-
this.storedFiles.forEach((file) => dataTransfer.items.add(file));
|
|
171
|
-
this.fileUploadInput.files = dataTransfer.files;
|
|
182
|
+
this.syncInputFilesFromStore();
|
|
172
183
|
this.value = this.fileUploadInput.value;
|
|
173
184
|
this.formControlController.updateValidity();
|
|
174
185
|
this.emit("dsa-file-upload", { detail: { files: this.storedFiles } });
|
|
@@ -176,7 +187,7 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
176
187
|
isAcceptedFileType(file) {
|
|
177
188
|
var _a;
|
|
178
189
|
if (!this.accept) return true;
|
|
179
|
-
const acceptedTypes = this.
|
|
190
|
+
const acceptedTypes = this.acceptedTypesCache;
|
|
180
191
|
const fileType = file.type;
|
|
181
192
|
const fileExtension = `.${(_a = file.name.split(".").pop()) != null ? _a : ""}`;
|
|
182
193
|
return acceptedTypes.some((type) => {
|
|
@@ -237,7 +248,9 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
237
248
|
}
|
|
238
249
|
async handleDrop(e) {
|
|
239
250
|
e.preventDefault();
|
|
240
|
-
this.dropzone.classList.
|
|
251
|
+
if (this.dropzone.classList.contains("dropzone--dragover")) {
|
|
252
|
+
this.dropzone.classList.remove("dropzone--dragover");
|
|
253
|
+
}
|
|
241
254
|
const dt = e.dataTransfer;
|
|
242
255
|
if (!dt) return;
|
|
243
256
|
const items = dt.items;
|
|
@@ -266,12 +279,14 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
266
279
|
e.preventDefault();
|
|
267
280
|
const draggedItems = (_a = e.dataTransfer) == null ? void 0 : _a.items;
|
|
268
281
|
if (!draggedItems) return;
|
|
269
|
-
if (this.multiple || draggedItems.length === 1) {
|
|
282
|
+
if ((this.multiple || draggedItems.length === 1) && !this.dropzone.classList.contains("dropzone--dragover")) {
|
|
270
283
|
this.dropzone.classList.add("dropzone--dragover");
|
|
271
284
|
}
|
|
272
285
|
}
|
|
273
286
|
handleDropzoneDragleave() {
|
|
274
|
-
this.dropzone.classList.
|
|
287
|
+
if (this.dropzone.classList.contains("dropzone--dragover")) {
|
|
288
|
+
this.dropzone.classList.remove("dropzone--dragover");
|
|
289
|
+
}
|
|
275
290
|
}
|
|
276
291
|
handleInternalErrorHide() {
|
|
277
292
|
this.internalError = "";
|
|
@@ -282,9 +297,11 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
282
297
|
ids = [...ids, "description", "help-text", "slot_files"];
|
|
283
298
|
return ids.join(" ");
|
|
284
299
|
}
|
|
300
|
+
handleAcceptChange() {
|
|
301
|
+
this.acceptedTypesCache = this.accept ? this.accept.split(",").map((type) => type.trim()) : [];
|
|
302
|
+
}
|
|
285
303
|
handleSizeChange() {
|
|
286
|
-
|
|
287
|
-
allFiles.forEach((el) => el.setAttribute("size", this.size));
|
|
304
|
+
this.updateFileItemsSize();
|
|
288
305
|
}
|
|
289
306
|
handleValueChange() {
|
|
290
307
|
if (this.value === "" && this.fileUploadInput) {
|
|
@@ -365,6 +382,7 @@ var DSAFileUpload = class extends ShoelaceElement {
|
|
|
365
382
|
<fieldset
|
|
366
383
|
part="base"
|
|
367
384
|
class=${classMap({
|
|
385
|
+
"file-upload": true,
|
|
368
386
|
"form-control": true,
|
|
369
387
|
"form-control--error": this.error && !this.disabled,
|
|
370
388
|
"form-control--disabled": this.disabled,
|
|
@@ -492,6 +510,9 @@ __decorateClass([
|
|
|
492
510
|
__decorateClass([
|
|
493
511
|
property({ type: Boolean, reflect: true })
|
|
494
512
|
], DSAFileUpload.prototype, "multiple", 2);
|
|
513
|
+
__decorateClass([
|
|
514
|
+
property({ type: Boolean, reflect: true, attribute: "append-files" })
|
|
515
|
+
], DSAFileUpload.prototype, "appendFiles", 2);
|
|
495
516
|
__decorateClass([
|
|
496
517
|
property({ type: Boolean })
|
|
497
518
|
], DSAFileUpload.prototype, "error", 2);
|
|
@@ -525,6 +546,9 @@ __decorateClass([
|
|
|
525
546
|
__decorateClass([
|
|
526
547
|
property({ type: Number, attribute: "file-size-limit" })
|
|
527
548
|
], DSAFileUpload.prototype, "fileSizeLimit", 2);
|
|
549
|
+
__decorateClass([
|
|
550
|
+
watch("accept")
|
|
551
|
+
], DSAFileUpload.prototype, "handleAcceptChange", 1);
|
|
528
552
|
__decorateClass([
|
|
529
553
|
watch("size")
|
|
530
554
|
], DSAFileUpload.prototype, "handleSizeChange", 1);
|
|
@@ -37,9 +37,7 @@ var split_panel_styles_default = css`
|
|
|
37
37
|
outline: none;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
:host(:not([disabled])) .divider:focus-visible
|
|
41
|
-
outline: var(--dsa-wc-focus-ring);
|
|
42
|
-
}
|
|
40
|
+
:host(:not([disabled])) .divider:focus-visible,
|
|
43
41
|
:host(:not([disabled])) .divider:focus-visible .drag-icon {
|
|
44
42
|
outline: var(--dsa-wc-focus-ring);
|
|
45
43
|
}
|
|
@@ -53,10 +51,13 @@ var split_panel_styles_default = css`
|
|
|
53
51
|
cursor: col-resize;
|
|
54
52
|
}
|
|
55
53
|
|
|
56
|
-
|
|
57
|
-
display: flex;
|
|
54
|
+
.divider::after {
|
|
58
55
|
content: '';
|
|
59
56
|
position: absolute;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
:host(:not([vertical])) .divider::after {
|
|
60
|
+
display: flex;
|
|
60
61
|
height: 100%;
|
|
61
62
|
left: calc(var(--divider-hit-area) / -2 + var(--divider-width) / 2);
|
|
62
63
|
width: var(--divider-hit-area);
|
|
@@ -76,8 +77,6 @@ var split_panel_styles_default = css`
|
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
:host([vertical]) .divider::after {
|
|
79
|
-
content: '';
|
|
80
|
-
position: absolute;
|
|
81
80
|
width: 100%;
|
|
82
81
|
top: calc(var(--divider-hit-area) / -2 + var(--divider-width) / 2);
|
|
83
82
|
height: var(--divider-hit-area);
|