@ds-autonomie/web-components 2.17.0 → 2.19.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 +34 -0
- package/cdn/chunks/chunk.2EC2JS5U.js +60 -0
- package/cdn/chunks/{chunk.3G5TZAEL.js → chunk.2J6VNJAV.js} +2 -2
- package/cdn/chunks/chunk.2JTZGBMF.js +1 -0
- package/cdn/chunks/chunk.3D5VBTZM.js +6 -0
- package/cdn/chunks/chunk.3FMDB6AF.js +19 -0
- package/cdn/chunks/{chunk.SPZ3HJLD.js → chunk.3FYOZ6BI.js} +5 -5
- package/cdn/chunks/chunk.3URUFDPU.js +44 -0
- package/cdn/chunks/chunk.4A2SP2JA.js +68 -0
- package/cdn/chunks/{chunk.2RZZILUX.js → chunk.4IWXGSUM.js} +7 -7
- package/cdn/chunks/chunk.4NE2V6DW.js +9 -0
- package/cdn/chunks/chunk.4VP4RPNY.js +25 -0
- package/cdn/chunks/{chunk.QLA42ORC.js → chunk.535I3ZDX.js} +6 -6
- package/cdn/chunks/{chunk.ZPW2DSUP.js → chunk.5KCVCUSX.js} +1 -1
- package/cdn/chunks/{chunk.L7SDBPGB.js → chunk.5MXBS7CA.js} +1 -1
- package/cdn/chunks/chunk.5OGTGPR7.js +1 -0
- package/cdn/chunks/{chunk.S5TQGB4V.js → chunk.5PWPU25F.js} +1 -1
- package/cdn/chunks/{chunk.W25NCUPA.js → chunk.5V6ZBY2X.js} +7 -8
- package/cdn/chunks/{chunk.VE5CSYN4.js → chunk.67UP3FZD.js} +1 -1
- package/cdn/chunks/chunk.6HXGZFOB.js +68 -0
- package/cdn/chunks/{chunk.F5LRDLVV.js → chunk.77YRGKFQ.js} +1 -1
- package/cdn/chunks/{chunk.VO4NFG2W.js → chunk.7OMTHUFI.js} +1 -1
- package/cdn/chunks/{chunk.FHS54ZO7.js → chunk.7RWZ2YNR.js} +1 -1
- package/cdn/chunks/{chunk.N7EFYGZ6.js → chunk.7TKKYYU2.js} +13 -13
- package/cdn/chunks/{chunk.LFI7CMVX.js → chunk.7WZQFRLE.js} +1 -1
- package/cdn/chunks/chunk.7YNQVYS2.js +13 -0
- package/cdn/chunks/{chunk.D5S2YDML.js → chunk.7ZYAJWHQ.js} +1 -1
- package/cdn/chunks/{chunk.YXR5X3ZH.js → chunk.AB4OF3RS.js} +1 -1
- package/cdn/chunks/{chunk.CJZS4FSB.js → chunk.AGA6W4U2.js} +1 -1
- package/cdn/chunks/chunk.AGX2JVB6.js +1 -0
- package/cdn/chunks/{chunk.LSD5NIU2.js → chunk.AYT5ORA7.js} +1 -1
- package/cdn/chunks/{chunk.2MLSQPMY.js → chunk.AZVWRRFP.js} +1 -1
- package/cdn/chunks/{chunk.465G6RHI.js → chunk.BDRT5OOU.js} +1 -1
- package/cdn/chunks/{chunk.OTTGEQF6.js → chunk.BOCMAV5D.js} +1 -1
- package/cdn/chunks/{chunk.M2JVAL5G.js → chunk.BRP4WPSN.js} +5 -5
- package/cdn/chunks/{chunk.2S76L6WY.js → chunk.BXY7ZIT5.js} +5 -5
- package/cdn/chunks/{chunk.2DV64XU7.js → chunk.CCKFL63L.js} +1 -1
- package/cdn/chunks/{chunk.4HSGYXFW.js → chunk.CLIKZB5P.js} +8 -14
- package/cdn/chunks/chunk.CMPRHBFO.js +1 -0
- package/cdn/chunks/{chunk.QSJXNN7N.js → chunk.COMV5MJ5.js} +1 -1
- package/cdn/chunks/chunk.CWHPCCQQ.js +33 -0
- package/cdn/chunks/{chunk.LA5W25UC.js → chunk.CWT6MEMU.js} +1 -1
- package/cdn/chunks/{chunk.ILCY7FNR.js → chunk.DFIOQK4K.js} +1 -1
- package/cdn/chunks/chunk.DR6FOTG4.js +1 -0
- package/cdn/chunks/{chunk.A45JZ63N.js → chunk.DRNNBI43.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.PZ6VFJYI.js → chunk.EAWHOXCM.js} +1 -1
- package/cdn/chunks/{chunk.ZPQE4HH4.js → chunk.EJ5DXQU3.js} +1 -9
- package/cdn/chunks/chunk.EZQSKUPG.js +20 -0
- package/cdn/chunks/{chunk.3HXQ2XPS.js → chunk.F4EQPWW4.js} +4 -4
- package/cdn/chunks/{chunk.A6MZKELV.js → chunk.F6YFQ3GB.js} +1 -2
- package/cdn/chunks/{chunk.MWGVWSH3.js → chunk.GDNVDKSZ.js} +2 -2
- package/cdn/chunks/chunk.GPW6JCHZ.js +13 -0
- package/cdn/chunks/{chunk.VE2TTZQA.js → chunk.GQ75QMJG.js} +12 -4
- package/cdn/chunks/{chunk.KC2NESXB.js → chunk.GVL377SN.js} +1 -1
- package/cdn/chunks/{chunk.JO6IBXF3.js → chunk.H6KRGKOT.js} +1 -1
- package/cdn/chunks/chunk.H7CICKO6.js +173 -0
- package/cdn/chunks/chunk.HEWKH2LT.js +44 -0
- package/cdn/chunks/{chunk.ZFWCNYR2.js → chunk.HGNNGE53.js} +1 -1
- package/cdn/chunks/chunk.HLG5HGVW.js +11 -0
- package/cdn/chunks/{chunk.2LF6OMUV.js → chunk.HW5UT2FF.js} +15 -15
- package/cdn/chunks/{chunk.NIH3WB32.js → chunk.IDTMD6WQ.js} +1 -1
- package/cdn/chunks/{chunk.GYURCDPD.js → chunk.IMDJ7GD2.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.SLTCOGOD.js → chunk.IYPKQQOD.js} +1 -1
- package/cdn/chunks/chunk.J7MFL7JZ.js +11 -0
- package/cdn/chunks/{chunk.GEV6DKVB.js → chunk.JFLIH5L5.js} +2 -22
- package/cdn/chunks/{chunk.NEWNV55I.js → chunk.JFT7O46L.js} +1 -1
- package/cdn/chunks/chunk.JLB52ESL.js +130 -0
- package/cdn/chunks/chunk.KOU7YZ7Z.js +32 -0
- package/cdn/chunks/{chunk.3LUZLW6F.js → chunk.KSJJM4LY.js} +3 -3
- package/cdn/chunks/{chunk.YZK4IVQW.js → chunk.KTJAW66F.js} +1 -1
- package/cdn/chunks/{chunk.IKPDLLWM.js → chunk.KVPC6DC4.js} +1 -1
- package/cdn/chunks/{chunk.GHHMVWM2.js → chunk.KWBL3MII.js} +4 -4
- 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.M7BLJVGV.js +28 -0
- package/cdn/chunks/chunk.MC7ZQO6Z.js +1 -0
- package/cdn/chunks/chunk.MN7GWB3J.js +66 -0
- package/cdn/chunks/{chunk.F3UE7567.js → chunk.MRVUEYXZ.js} +1 -1
- package/cdn/chunks/{chunk.LLKFUARE.js → chunk.OFITABL5.js} +10 -10
- package/cdn/chunks/{chunk.X4UXKXMO.js → chunk.PVV7WADS.js} +6 -6
- package/cdn/chunks/chunk.QEODND2O.js +8 -0
- package/cdn/chunks/chunk.QOIUR37X.js +1 -0
- package/cdn/chunks/chunk.QTD6NQFL.js +1 -0
- package/cdn/chunks/{chunk.FEXCFMDC.js → chunk.RMI7CBAO.js} +5 -5
- package/cdn/chunks/{chunk.AAEIE3M2.js → chunk.RNR6P3VA.js} +3 -4
- package/cdn/chunks/{chunk.QQLTDM2A.js → chunk.RTVNV4IL.js} +1 -1
- package/cdn/chunks/{chunk.ZKV4BJLY.js → chunk.S4UDOENW.js} +3 -3
- package/cdn/chunks/{chunk.UAGWSEWC.js → chunk.STCKZYIM.js} +6 -6
- package/cdn/chunks/chunk.THWI644G.js +54 -0
- package/cdn/chunks/{chunk.23NGYECZ.js → chunk.TPKY6SO3.js} +1 -1
- package/cdn/chunks/chunk.U6OE2WNY.js +51 -0
- package/cdn/chunks/{chunk.J5EBYKBM.js → chunk.UXV7IG5J.js} +1 -1
- package/cdn/chunks/{chunk.NE525Q3J.js → chunk.VMY3LI3D.js} +8 -8
- package/cdn/chunks/{chunk.PSXSWQCS.js → chunk.VOJKFSPN.js} +1 -1
- package/cdn/chunks/{chunk.H5XLHNHE.js → chunk.VVOUCVXZ.js} +1 -1
- package/cdn/chunks/{chunk.UWBADC7U.js → chunk.WMOV27WV.js} +5 -2
- package/cdn/chunks/chunk.WQIMDJJX.js +101 -0
- package/cdn/chunks/{chunk.OTNGFYHL.js → chunk.WWRGGVFZ.js} +1 -1
- package/cdn/chunks/{chunk.HO6LFH7Z.js → chunk.WXQKHJC3.js} +1 -1
- package/cdn/chunks/chunk.YBVIKP5F.js +41 -0
- package/cdn/chunks/chunk.YDZQVGSP.js +47 -0
- package/cdn/chunks/{chunk.D3BOAL4N.js → chunk.YWOAIOEZ.js} +1 -1
- package/cdn/chunks/chunk.YZO4H6DD.js +57 -0
- package/cdn/chunks/chunk.Z226LHQY.js +64 -0
- package/cdn/chunks/{chunk.2QOKOUSD.js → chunk.ZMEW7RFS.js} +1 -1
- 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/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-nav-accordion/card-nav-accordion.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.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/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/file-upload/file-upload.js +1 -1
- package/cdn/components/filter-button/filter-button.js +1 -1
- package/cdn/components/filter-counter/filter-counter.js +1 -1
- package/cdn/components/filter-date/filter-date.js +1 -1
- package/cdn/components/filter-range/filter-range.js +1 -1
- package/cdn/components/filter-select/filter-select.js +1 -1
- package/cdn/components/footer/footer.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.d.ts +2 -0
- package/cdn/components/header-search/header-search.js +1 -1
- package/cdn/components/input/input.js +1 -1
- package/cdn/components/input-amount/input-amount.js +1 -1
- package/cdn/components/input-date/input-date.d.ts +3 -0
- package/cdn/components/input-date/input-date.js +1 -1
- package/cdn/components/input-mask/input-mask.js +1 -1
- package/cdn/components/input-native/input-native.js +1 -1
- package/cdn/components/input-phone/input-phone.js +1 -1
- package/cdn/components/input-time/input-time.js +1 -1
- package/cdn/components/menu-accordion/menu-accordion.js +1 -1
- package/cdn/components/menu-item/menu-item.js +1 -1
- package/cdn/components/menu-navigation/menu-navigation.d.ts +0 -4
- package/cdn/components/menu-navigation/menu-navigation.js +1 -1
- package/cdn/components/navbar/navbar.d.ts +0 -4
- package/cdn/components/navbar/navbar.js +1 -1
- package/cdn/components/navbar-link/navbar-link.js +1 -1
- package/cdn/components/navbar-menu/navbar-menu.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/pagination/pagination.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/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/relative-time/relative-time.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/split-panel/split-panel.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/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-action/table-action.styles.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-caption/table-caption.styles.js +1 -1
- package/cdn/components/table-container/table-container.d.ts +2 -0
- package/cdn/components/table-container/table-container.js +1 -1
- package/cdn/components/table-container/table-container.styles.js +1 -1
- package/cdn/components/table-expanded-row/table-expanded-row.d.ts +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-cell/table-header-cell.styles.js +1 -1
- package/cdn/components/table-header-row/table-header-row.d.ts +2 -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.d.ts +4 -5
- package/cdn/components/table-of-contents/table-of-contents.js +1 -1
- package/cdn/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/cdn/components/table-row/table-row-base.styles.d.ts +2 -0
- package/cdn/components/table-row/table-row-base.styles.js +1 -0
- package/cdn/components/table-row/table-row.d.ts +22 -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/table-toolbar/table-toolbar.js +1 -1
- package/cdn/components/table-toolbar/table-toolbar.styles.js +1 -1
- package/cdn/components/tag/tag.js +1 -1
- package/cdn/components/tooltip/tooltip.js +1 -1
- package/cdn/components/tree/tree.d.ts +4 -4
- package/cdn/components/tree/tree.js +1 -1
- 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 +1058 -122
- 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.styles.js +2 -2
- 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/themes/dsa-wc-theme.css +20 -45
- package/cdn/themes/dsa-wc-theme.min.css +1 -1
- package/cdn/themes/dsa-wc-theme.styles.js +20 -46
- 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 +60 -10
- package/cdn/web-types.json +537 -49
- package/dist/chunks/{chunk.TNZEC73D.js → chunk.2AMILV3O.js} +1 -1
- package/dist/chunks/{chunk.TZZRAR42.js → chunk.2GJ46J7Q.js} +1 -1
- package/dist/chunks/{chunk.C6UENJ2Y.js → chunk.2WW7OJZT.js} +1 -1
- package/dist/chunks/{chunk.3W6ROVW2.js → chunk.33P7XYHC.js} +32 -4
- package/dist/chunks/{chunk.WHHYA5VY.js → chunk.34HS7ICN.js} +4 -0
- package/dist/chunks/{chunk.SLXERY4H.js → chunk.4535HZ7L.js} +8 -4
- package/dist/chunks/{chunk.MGW4E3VW.js → chunk.47AQXN3U.js} +2 -2
- package/dist/chunks/{chunk.EXHYWKQB.js → chunk.4E2FKC3C.js} +1 -1
- package/dist/chunks/{chunk.MPV4OPIK.js → chunk.4K6WZ7K7.js} +9 -3
- package/dist/chunks/{chunk.2VZ4MMR5.js → chunk.4NY2E4AU.js} +14 -5
- package/dist/chunks/{chunk.X6SEIMM4.js → chunk.4VSGAJJL.js} +2 -2
- package/dist/chunks/{chunk.ANV74452.js → chunk.5R7OHVIP.js} +3 -3
- package/dist/chunks/{chunk.NMU6DWUH.js → chunk.5SH25FOL.js} +27 -6
- package/dist/chunks/{chunk.EXGB2DIR.js → chunk.5TBGCNJD.js} +46 -25
- package/dist/chunks/{chunk.TRVKPMDO.js → chunk.6BCJJGLC.js} +1 -1
- package/dist/chunks/{chunk.OKTHM7J2.js → chunk.6RXEQKWZ.js} +15 -45
- package/dist/chunks/{chunk.P2KNRWE5.js → chunk.72FKNFBS.js} +1 -1
- package/dist/chunks/{chunk.FF67XKLP.js → chunk.75USPA7U.js} +26 -18
- package/dist/chunks/{chunk.V5GAH4HU.js → chunk.7BBNETYY.js} +3 -3
- package/dist/chunks/{chunk.AFSUKPIV.js → chunk.7MY3WW7C.js} +5 -3
- package/dist/chunks/{chunk.BTEEMPDS.js → chunk.A42VA6HE.js} +8 -4
- package/dist/chunks/{chunk.73XRFTV7.js → chunk.B3QEXOQE.js} +2 -1
- package/dist/chunks/{chunk.ANOLAL4B.js → chunk.BUGXYS34.js} +1 -1
- package/dist/chunks/chunk.D5YUY5BG.js +608 -0
- package/dist/chunks/{chunk.5A6XLOZY.js → chunk.DN3K2GHZ.js} +1 -1
- package/dist/chunks/{chunk.SN5JW345.js → chunk.E6D32GY2.js} +20 -8
- package/dist/chunks/{chunk.TP5XEQ2O.js → chunk.ELOLGOFM.js} +1 -1
- package/dist/chunks/{chunk.M5X6QE4H.js → chunk.ERMNNF77.js} +1 -1
- package/dist/chunks/{chunk.ORFYYGB2.js → chunk.FBY2IM6R.js} +3 -3
- package/dist/chunks/{chunk.N2SYQR7M.js → chunk.FLI47BNN.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.OAJEHJJO.js → chunk.FZFK3D6L.js} +1 -1
- package/dist/chunks/{chunk.CABJDFOO.js → chunk.GMHRN23H.js} +6 -6
- package/dist/chunks/{chunk.ZBTNV3E7.js → chunk.GSSDOCVR.js} +42 -14
- package/dist/chunks/{chunk.LQAWGV5K.js → chunk.GTO6NACR.js} +1 -1
- package/dist/chunks/{chunk.WRFA56CD.js → chunk.H26XMOUA.js} +1 -1
- package/dist/chunks/{chunk.LPQTWKYW.js → chunk.HKP752UH.js} +2 -1
- package/dist/chunks/{chunk.3RFVW3FP.js → chunk.HRZVG552.js} +2 -2
- package/dist/chunks/{chunk.PEWNJNAP.js → chunk.HYAC2WLH.js} +1 -1
- package/dist/chunks/{chunk.5FNJFIAP.js → chunk.IDBAIF3R.js} +8 -8
- package/dist/chunks/{chunk.DT6Y5ZUB.js → chunk.IMZ2EJ3J.js} +2 -2
- package/dist/chunks/{chunk.VA2ASBUR.js → chunk.JATRBE3H.js} +7 -7
- package/dist/chunks/{chunk.XGZ4IJ57.js → chunk.JTPMSU67.js} +51 -33
- 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.A6WS4GML.js → chunk.KPVDLRVV.js} +2 -2
- package/dist/chunks/{chunk.QOW4B54V.js → chunk.KW762SFE.js} +8 -19
- package/dist/chunks/chunk.LH65ZIEN.js +412 -0
- package/dist/chunks/{chunk.7NJP4D2X.js → chunk.LLOSO7FC.js} +5 -5
- package/dist/chunks/{chunk.ZJEACN47.js → chunk.LT44CVRV.js} +1 -1
- package/dist/chunks/{chunk.6K3AZQXP.js → chunk.LYVWDO7O.js} +1 -1
- package/dist/chunks/{chunk.6JFNUOJL.js → chunk.M47KXEXM.js} +1 -1
- package/dist/chunks/{chunk.MXQ5RSBS.js → chunk.MDQDWJCR.js} +1 -2
- package/dist/chunks/{chunk.QBVIZ55Q.js → chunk.POR4SJ2I.js} +5 -5
- package/dist/chunks/{chunk.PGXKP7ME.js → chunk.PSWGNIVT.js} +18 -6
- 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.AECIJYFZ.js → chunk.Q4BEX42U.js} +49 -33
- package/dist/chunks/{chunk.HPAWBSR5.js → chunk.Q7YCE4UA.js} +1 -1
- package/dist/chunks/{chunk.ABJLUGLR.js → chunk.QKUUHXNR.js} +65 -25
- package/dist/chunks/{chunk.VBUVNNMA.js → chunk.QUEYKUIS.js} +4 -4
- package/dist/chunks/{chunk.XJCHW2GZ.js → chunk.RG7MUNLM.js} +27 -17
- package/dist/chunks/{chunk.6NRREKDF.js → chunk.RK2WN36C.js} +1 -1
- package/dist/chunks/{chunk.ZZ67C4V2.js → chunk.RZRBWZ7K.js} +14 -5
- package/dist/chunks/{chunk.QZC7F7NX.js → chunk.SAKI57GG.js} +2 -2
- package/dist/chunks/{chunk.H7L4YNKB.js → chunk.SAQFLKP7.js} +40 -16
- package/dist/chunks/{chunk.UKH2D4DL.js → chunk.SGPAUD26.js} +32 -14
- package/dist/chunks/{chunk.7WQZIM7N.js → chunk.SGRSRDWP.js} +17 -9
- package/dist/chunks/{chunk.57DTA5ZP.js → chunk.SP2SVH7K.js} +3 -3
- package/dist/chunks/{chunk.UNDVQ2N3.js → chunk.SXFVCR7O.js} +2 -2
- package/dist/chunks/{chunk.2O3KAV2X.js → chunk.T6OAGTAP.js} +2 -2
- package/dist/chunks/{chunk.BO3GUSFS.js → chunk.TCW77JY3.js} +1 -1
- package/dist/chunks/{chunk.IAJLX5AF.js → chunk.TPO64PVN.js} +11 -5
- package/dist/chunks/{chunk.XDW2FM6B.js → chunk.TURUUPFG.js} +3 -3
- package/dist/chunks/{chunk.ZQ56PQ6F.js → chunk.U4W57NV6.js} +6 -3
- package/dist/chunks/{chunk.DMSUKPJE.js → chunk.UESIZCBP.js} +1 -1
- package/dist/chunks/{chunk.LZOGVU7B.js → chunk.UQ7ZIOBO.js} +1 -1
- package/dist/chunks/{chunk.SGKW2DOH.js → chunk.UXJPFBV5.js} +3 -3
- package/dist/chunks/{chunk.2K5QPKBA.js → chunk.V26NK6TM.js} +5 -4
- package/dist/chunks/{chunk.APWZSSG6.js → chunk.V2HQ7IVJ.js} +1 -1
- package/dist/chunks/{chunk.VHSA53PH.js → chunk.V3LWOWUB.js} +1 -1
- package/dist/chunks/{chunk.WDPZ4NSH.js → chunk.V4SDZV6L.js} +1 -1
- package/dist/chunks/{chunk.DC6KKJOX.js → chunk.VJMPU2K5.js} +65 -33
- package/dist/chunks/{chunk.HFTU6LUQ.js → chunk.VNGKMC5T.js} +1 -1
- package/dist/chunks/chunk.VO73SGIU.js +23 -0
- package/dist/chunks/{chunk.FQZVV2TO.js → chunk.VOKBXFKF.js} +8 -4
- package/dist/chunks/{chunk.2SQ6UBOQ.js → chunk.VPBDM3F2.js} +11 -4
- package/dist/chunks/{chunk.LZPAAWTZ.js → chunk.VPZ2H23V.js} +0 -20
- package/dist/chunks/{chunk.MXDGKTTH.js → chunk.VYX5ZSFI.js} +5 -5
- package/dist/chunks/{chunk.ACM36IFE.js → chunk.WAEFCPAX.js} +6 -6
- package/dist/chunks/{chunk.UHSLPBTG.js → chunk.WEPA3NJG.js} +1 -1
- package/dist/chunks/{chunk.JEWVIFAO.js → chunk.WJU4UHF5.js} +4 -1
- package/dist/chunks/{chunk.UEVTKGMG.js → chunk.WO56WJXU.js} +1 -9
- package/dist/chunks/{chunk.O3SPGNIU.js → chunk.WSQ2ZYD4.js} +9 -5
- package/dist/chunks/{chunk.LAPA4KOO.js → chunk.WYLT5ZNJ.js} +2 -2
- package/dist/chunks/{chunk.4NZ25HB6.js → chunk.XAYOMJ4X.js} +27 -17
- package/dist/chunks/{chunk.SOF3BQCV.js → chunk.XMBQRPGX.js} +10 -6
- package/dist/chunks/{chunk.YC2VYNCD.js → chunk.XTVVSORU.js} +1 -1
- package/dist/chunks/{chunk.6RDA3XLH.js → chunk.YF2V46J3.js} +9 -10
- package/dist/chunks/{chunk.HHVXZJUU.js → chunk.YI6BUIUL.js} +35 -4
- package/dist/chunks/{chunk.OW6RUTZA.js → chunk.YS4HYV3F.js} +3 -3
- package/dist/chunks/{chunk.FB4KLQQL.js → chunk.YYKAI7FO.js} +6 -12
- package/dist/chunks/{chunk.VKBTTWXW.js → chunk.ZFGRB56M.js} +94 -38
- package/dist/chunks/chunk.ZHPIA4F4.js +43 -0
- package/dist/chunks/{chunk.HBYJN6RA.js → chunk.ZS3JNRJE.js} +2 -2
- package/dist/chunks/{chunk.NCN4I6KX.js → chunk.ZYGCOBUE.js} +6 -6
- package/dist/components/accordion/accordion.js +2 -2
- package/dist/components/accordion-group/accordion-group.js +4 -4
- package/dist/components/alert/alert.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +2 -2
- package/dist/components/breadcrumb-item/breadcrumb-item.js +2 -2
- package/dist/components/button/button.js +3 -3
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/card-nav-accordion/card-nav-accordion.js +2 -2
- package/dist/components/checkbox/checkbox.js +4 -3
- package/dist/components/checkbox/checkbox.styles.js +1 -1
- package/dist/components/checkbox-button/checkbox-button.js +4 -3
- package/dist/components/checkbox-card/checkbox-card.js +3 -2
- package/dist/components/checkbox-group/checkbox-group.js +1 -1
- package/dist/components/combobox/combobox.js +9 -9
- package/dist/components/combobox/combobox.styles.js +1 -1
- package/dist/components/copy-button/copy-button.js +3 -3
- package/dist/components/dialog/dialog.js +2 -2
- package/dist/components/drawer/drawer.js +2 -2
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +2 -2
- package/dist/components/file-upload/file-upload.js +3 -3
- package/dist/components/filter-button/filter-button.js +2 -2
- package/dist/components/filter-counter/filter-counter.js +13 -13
- package/dist/components/filter-date/filter-date.js +8 -8
- package/dist/components/filter-range/filter-range.js +13 -13
- package/dist/components/filter-select/filter-select.js +16 -16
- package/dist/components/footer/footer.js +2 -2
- 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.d.ts +2 -0
- package/dist/components/header-search/header-search.js +6 -6
- package/dist/components/input/input.js +8 -8
- package/dist/components/input-amount/input-amount.js +2 -2
- package/dist/components/input-date/input-date.d.ts +3 -0
- package/dist/components/input-date/input-date.js +4 -4
- package/dist/components/input-mask/input-mask.js +2 -2
- package/dist/components/input-native/input-native.js +2 -2
- package/dist/components/input-phone/input-phone.js +9 -8
- package/dist/components/input-time/input-time.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.js +3 -3
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/menu-navigation/menu-navigation.d.ts +0 -4
- package/dist/components/menu-navigation/menu-navigation.js +4 -4
- package/dist/components/navbar/navbar.d.ts +0 -4
- package/dist/components/navbar-link/navbar-link.js +4 -4
- package/dist/components/navbar-menu/navbar-menu.js +2 -2
- package/dist/components/option/option.d.ts +2 -0
- package/dist/components/option/option.js +4 -3
- package/dist/components/option/option.styles.js +1 -1
- package/dist/components/pagination/pagination.js +9 -9
- package/dist/components/profile-button/profile-button.js +3 -3
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/radio/radio.js +3 -2
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.js +4 -3
- package/dist/components/radio-card/radio-card.js +4 -3
- package/dist/components/radio-group/radio-group.js +2 -1
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/search/search.js +3 -3
- package/dist/components/search/search.styles.js +1 -1
- package/dist/components/select/select.d.ts +3 -1
- package/dist/components/select/select.js +5 -5
- package/dist/components/select/select.styles.js +1 -1
- package/dist/components/sidenav/sidenav.d.ts +4 -1
- package/dist/components/sidenav/sidenav.js +4 -4
- package/dist/components/sidenav-info-accordion/sidenav-info-accordion.js +4 -4
- 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 +2 -2
- package/dist/components/split-panel/split-panel.js +2 -2
- package/dist/components/step/step.js +4 -3
- 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/switch/switch.js +3 -3
- package/dist/components/switch/switch.styles.js +1 -1
- package/dist/components/tab/tab.d.ts +3 -0
- package/dist/components/tab/tab.js +4 -3
- 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 +4 -3
- 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 +5 -5
- package/dist/components/table-action/table-action.styles.js +1 -1
- package/dist/components/table-body/table-body.js +3 -2
- package/dist/components/table-caption/table-caption.js +3 -3
- package/dist/components/table-caption/table-caption.styles.js +1 -1
- package/dist/components/table-container/table-container.d.ts +2 -0
- package/dist/components/table-container/table-container.js +4 -3
- package/dist/components/table-container/table-container.styles.js +1 -1
- package/dist/components/table-expanded-row/table-expanded-row.d.ts +1 -1
- package/dist/components/table-head/table-head.js +3 -2
- package/dist/components/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table-header-cell/table-header-cell.styles.js +1 -1
- package/dist/components/table-header-row/table-header-row.d.ts +2 -0
- package/dist/components/table-header-row/table-header-row.js +12 -10
- package/dist/components/table-header-row/table-header-row.styles.js +2 -1
- package/dist/components/table-of-contents/table-of-contents.d.ts +4 -5
- package/dist/components/table-of-contents/table-of-contents.js +3 -3
- package/dist/components/table-of-contents/table-of-contents.styles.js +1 -1
- package/dist/components/table-row/table-row-base.styles.d.ts +2 -0
- package/dist/components/table-row/table-row-base.styles.js +8 -0
- package/dist/components/table-row/table-row.d.ts +22 -0
- package/dist/components/table-row/table-row.js +13 -6
- package/dist/components/table-row/table-row.styles.js +2 -1
- package/dist/components/table-toolbar/table-toolbar.js +2 -2
- package/dist/components/table-toolbar/table-toolbar.styles.js +1 -1
- package/dist/components/tag/tag.js +3 -3
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.d.ts +4 -4
- package/dist/components/tree/tree.js +9 -8
- package/dist/components/tree-item/tree-item.js +8 -7
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +1058 -122
- package/dist/design-system.js +110 -109
- 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.styles.js +2 -2
- 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/themes/dsa-wc-theme.css +20 -45
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +20 -46
- 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 +60 -10
- package/dist/web-types.json +537 -49
- package/package.json +1 -1
- package/cdn/chunks/chunk.2PN56GC6.js +0 -1
- package/cdn/chunks/chunk.2UUQJVQI.js +0 -1
- package/cdn/chunks/chunk.4RIUPE2O.js +0 -1
- package/cdn/chunks/chunk.63QVJAPP.js +0 -11
- package/cdn/chunks/chunk.6GAHBGOF.js +0 -47
- package/cdn/chunks/chunk.6TFK3HZG.js +0 -43
- package/cdn/chunks/chunk.ABNF7OWB.js +0 -11
- package/cdn/chunks/chunk.ADTGGBWH.js +0 -72
- package/cdn/chunks/chunk.AEBG7WOW.js +0 -20
- package/cdn/chunks/chunk.AKVKEBPE.js +0 -13
- package/cdn/chunks/chunk.BXV6H4J7.js +0 -1
- package/cdn/chunks/chunk.CBNY3KDR.js +0 -60
- package/cdn/chunks/chunk.DYSLQ6GC.js +0 -68
- package/cdn/chunks/chunk.EL4NZRIR.js +0 -26
- package/cdn/chunks/chunk.FGDBYD7N.js +0 -41
- package/cdn/chunks/chunk.GGGLGLGP.js +0 -38
- package/cdn/chunks/chunk.IJNUBDIJ.js +0 -1
- package/cdn/chunks/chunk.IOIBAXOU.js +0 -9
- package/cdn/chunks/chunk.IYKXS5B3.js +0 -66
- package/cdn/chunks/chunk.JNOQLPCE.js +0 -8
- package/cdn/chunks/chunk.JZMIS7DF.js +0 -7
- package/cdn/chunks/chunk.K6YUVAOE.js +0 -6
- package/cdn/chunks/chunk.LIYDVH7Q.js +0 -48
- package/cdn/chunks/chunk.MQFH5TMZ.js +0 -1
- package/cdn/chunks/chunk.N4VN25E6.js +0 -44
- package/cdn/chunks/chunk.QNAPY67H.js +0 -73
- package/cdn/chunks/chunk.QO3O2UNB.js +0 -68
- package/cdn/chunks/chunk.QVF2D4NC.js +0 -1
- package/cdn/chunks/chunk.RVQUT7ZY.js +0 -26
- package/cdn/chunks/chunk.SIT3GCR7.js +0 -173
- package/cdn/chunks/chunk.TFJB3OT3.js +0 -19
- package/cdn/chunks/chunk.UEYALIC7.js +0 -25
- package/cdn/chunks/chunk.W7AY6BP2.js +0 -130
- package/cdn/chunks/chunk.W7S553SV.js +0 -50
- package/cdn/chunks/chunk.WJLFKSRJ.js +0 -51
- package/cdn/chunks/chunk.X2G2BFIN.js +0 -1
- package/dist/chunks/chunk.7S4HUOC7.js +0 -206
- package/dist/chunks/chunk.GI3JNOHH.js +0 -58
- package/dist/chunks/chunk.HALYTFYA.js +0 -282
- package/dist/chunks/chunk.SHNAUO5J.js +0 -82
|
@@ -3,13 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk.73T7TU6S.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATreeItem
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.KW762SFE.js";
|
|
7
7
|
import {
|
|
8
8
|
clamp
|
|
9
9
|
} from "./chunk.HF7GESMZ.js";
|
|
10
|
-
import {
|
|
11
|
-
LocalizeController
|
|
12
|
-
} from "./chunk.WHHYA5VY.js";
|
|
13
10
|
import {
|
|
14
11
|
watch
|
|
15
12
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -58,24 +55,11 @@ var DSATree = class extends ShoelaceElement {
|
|
|
58
55
|
constructor() {
|
|
59
56
|
super(...arguments);
|
|
60
57
|
this.selection = "single";
|
|
61
|
-
this.
|
|
58
|
+
this.disableCheckboxSync = false;
|
|
62
59
|
this.clickTarget = null;
|
|
63
60
|
// Initializes new items by setting the `selectable` property, the expanded/collapsed icons if any, and adding aria-disabled to leaves if the selection mode is 'parent'
|
|
64
61
|
this.initTreeItem = (item) => {
|
|
65
62
|
item.selectable = this.selection === "multiple";
|
|
66
|
-
["expand", "collapse"].filter((status) => !!this.querySelector(`[slot="${status}-icon"]`)).forEach((status) => {
|
|
67
|
-
const existingIcon = item.querySelector(`[slot="${status}-icon"]`);
|
|
68
|
-
if (existingIcon === null) {
|
|
69
|
-
item.append(
|
|
70
|
-
this.getExpandButtonIcon(status)
|
|
71
|
-
);
|
|
72
|
-
} else if (existingIcon.hasAttribute("data-default")) {
|
|
73
|
-
existingIcon.replaceWith(
|
|
74
|
-
this.getExpandButtonIcon(status)
|
|
75
|
-
);
|
|
76
|
-
} else {
|
|
77
|
-
}
|
|
78
|
-
});
|
|
79
63
|
if (this.selection === "parent" && item.isLeaf) {
|
|
80
64
|
item.setAttribute("aria-disabled", "true");
|
|
81
65
|
}
|
|
@@ -102,21 +86,6 @@ var DSATree = class extends ShoelaceElement {
|
|
|
102
86
|
this.removeEventListener("focusout", this.handleFocusOut);
|
|
103
87
|
this.removeEventListener("dsa-lazy-change", this.handleSlotChange);
|
|
104
88
|
}
|
|
105
|
-
// Generates a clone of the expand icon element to use for each tree item
|
|
106
|
-
getExpandButtonIcon(status) {
|
|
107
|
-
const slot = status === "expand" ? this.expandedIconSlot : this.collapsedIconSlot;
|
|
108
|
-
const icon = slot.assignedElements({ flatten: true })[0];
|
|
109
|
-
if (icon) {
|
|
110
|
-
const clone = icon.cloneNode(true);
|
|
111
|
-
[clone, ...clone.querySelectorAll("[id]")].forEach(
|
|
112
|
-
(el) => el.removeAttribute("id")
|
|
113
|
-
);
|
|
114
|
-
clone.setAttribute("data-default", "");
|
|
115
|
-
clone.slot = `${status}-icon`;
|
|
116
|
-
return clone;
|
|
117
|
-
}
|
|
118
|
-
return null;
|
|
119
|
-
}
|
|
120
89
|
handleTreeChanged(mutations) {
|
|
121
90
|
for (const mutation of mutations) {
|
|
122
91
|
const addedNodes = [...mutation.addedNodes].filter(
|
|
@@ -139,7 +108,9 @@ var DSATree = class extends ShoelaceElement {
|
|
|
139
108
|
if (selectedItem.lazy) {
|
|
140
109
|
selectedItem.expanded = true;
|
|
141
110
|
}
|
|
142
|
-
|
|
111
|
+
if (!this.disableCheckboxSync) {
|
|
112
|
+
syncCheckboxes(selectedItem);
|
|
113
|
+
}
|
|
143
114
|
} else if (this.selection === "single" || this.selection === "leaf" && selectedItem.isLeaf || this.selection === "parent" && !selectedItem.isLeaf) {
|
|
144
115
|
const items = this.getAllTreeItems();
|
|
145
116
|
for (const item of items) {
|
|
@@ -185,8 +156,6 @@ var DSATree = class extends ShoelaceElement {
|
|
|
185
156
|
return;
|
|
186
157
|
}
|
|
187
158
|
const items = this.getFocusableItems();
|
|
188
|
-
const isLtr = this.localize.dir() === "ltr";
|
|
189
|
-
const isRtl = this.localize.dir() === "rtl";
|
|
190
159
|
if (items.length > 0) {
|
|
191
160
|
event.preventDefault();
|
|
192
161
|
const activeItemIndex = items.findIndex((item) => item.matches(":focus"));
|
|
@@ -202,13 +171,13 @@ var DSATree = class extends ShoelaceElement {
|
|
|
202
171
|
focusItemAt(activeItemIndex + 1);
|
|
203
172
|
} else if (event.key === "ArrowUp") {
|
|
204
173
|
focusItemAt(activeItemIndex - 1);
|
|
205
|
-
} else if (
|
|
174
|
+
} else if (event.key === "ArrowRight") {
|
|
206
175
|
if (!activeItem || activeItem.disabled || activeItem.expanded || activeItem.isLeaf && !activeItem.lazy) {
|
|
207
176
|
focusItemAt(activeItemIndex + 1);
|
|
208
177
|
} else {
|
|
209
178
|
toggleExpand(true);
|
|
210
179
|
}
|
|
211
|
-
} else if (
|
|
180
|
+
} else if (event.key === "ArrowLeft") {
|
|
212
181
|
if (!activeItem || activeItem.disabled || activeItem.isLeaf || !activeItem.expanded) {
|
|
213
182
|
focusItemAt(activeItemIndex - 1);
|
|
214
183
|
} else {
|
|
@@ -288,7 +257,7 @@ var DSATree = class extends ShoelaceElement {
|
|
|
288
257
|
item.disabled || (item.isLeaf && this.selection) === "parent" ? "true" : "false"
|
|
289
258
|
);
|
|
290
259
|
}
|
|
291
|
-
if (isSelectionMultiple) {
|
|
260
|
+
if (isSelectionMultiple && !this.disableCheckboxSync) {
|
|
292
261
|
await this.updateComplete;
|
|
293
262
|
[...this.querySelectorAll(":scope > dsa-tree-item")].forEach(
|
|
294
263
|
(treeItem) => {
|
|
@@ -337,15 +306,16 @@ DSATree.styles = tree_styles_default;
|
|
|
337
306
|
__decorateClass([
|
|
338
307
|
query("slot:not([name])")
|
|
339
308
|
], DSATree.prototype, "defaultSlot", 2);
|
|
340
|
-
__decorateClass([
|
|
341
|
-
query("slot[name=expand-icon]")
|
|
342
|
-
], DSATree.prototype, "expandedIconSlot", 2);
|
|
343
|
-
__decorateClass([
|
|
344
|
-
query("slot[name=collapse-icon]")
|
|
345
|
-
], DSATree.prototype, "collapsedIconSlot", 2);
|
|
346
309
|
__decorateClass([
|
|
347
310
|
property()
|
|
348
311
|
], DSATree.prototype, "selection", 2);
|
|
312
|
+
__decorateClass([
|
|
313
|
+
property({
|
|
314
|
+
type: Boolean,
|
|
315
|
+
reflect: true,
|
|
316
|
+
attribute: "disable-checkbox-sync"
|
|
317
|
+
})
|
|
318
|
+
], DSATree.prototype, "disableCheckboxSync", 2);
|
|
349
319
|
__decorateClass([
|
|
350
320
|
watch("selection")
|
|
351
321
|
], DSATree.prototype, "handleSelectionChange", 1);
|
|
@@ -13,44 +13,49 @@ import {
|
|
|
13
13
|
|
|
14
14
|
// src/components/stepper/stepper.ts
|
|
15
15
|
import { html } from "lit";
|
|
16
|
-
import { customElement, property } from "lit/decorators.js";
|
|
16
|
+
import { customElement, property, query } from "lit/decorators.js";
|
|
17
17
|
import { classMap } from "lit/directives/class-map.js";
|
|
18
18
|
var STEP_TAG = "dsa-step";
|
|
19
19
|
var DSAStepper = class extends ShoelaceElement {
|
|
20
20
|
constructor() {
|
|
21
21
|
super(...arguments);
|
|
22
|
+
this.allSteps = [];
|
|
22
23
|
this.hideLabel = false;
|
|
23
24
|
this.vertical = false;
|
|
24
25
|
}
|
|
25
26
|
connectedCallback() {
|
|
26
27
|
super.connectedCallback();
|
|
27
28
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
refreshAllSteps() {
|
|
30
|
+
this.allSteps = this.defaultSlot ? this.defaultSlot.assignedElements({ flatten: true }).filter((element) => element.tagName.toLowerCase() === STEP_TAG).map((element) => element) : [];
|
|
31
|
+
}
|
|
32
|
+
applyStepProps(steps) {
|
|
33
|
+
steps.forEach((step, index) => {
|
|
34
|
+
const stepIndex = this.hideLabel ? void 0 : index;
|
|
35
|
+
if (step.index !== stepIndex) {
|
|
36
|
+
step.index = stepIndex;
|
|
37
|
+
}
|
|
38
|
+
if (step.vertical !== this.vertical) {
|
|
39
|
+
step.vertical = this.vertical;
|
|
40
|
+
}
|
|
41
|
+
});
|
|
31
42
|
}
|
|
32
43
|
handleDefaultSlotChange() {
|
|
33
|
-
|
|
44
|
+
this.refreshAllSteps();
|
|
34
45
|
if (customElements.get(STEP_TAG)) {
|
|
35
|
-
|
|
36
|
-
step.index = this.hideLabel ? void 0 : index;
|
|
37
|
-
step.vertical = this.vertical;
|
|
38
|
-
});
|
|
46
|
+
this.applyStepProps(this.allSteps);
|
|
39
47
|
} else {
|
|
40
|
-
customElements.whenDefined(STEP_TAG).then(() =>
|
|
48
|
+
customElements.whenDefined(STEP_TAG).then(() => {
|
|
49
|
+
this.refreshAllSteps();
|
|
50
|
+
this.applyStepProps(this.allSteps);
|
|
51
|
+
});
|
|
41
52
|
}
|
|
42
53
|
}
|
|
43
54
|
handleHideLabelChange() {
|
|
44
|
-
|
|
45
|
-
allSteps.forEach((step, index) => {
|
|
46
|
-
step.index = this.hideLabel ? void 0 : index;
|
|
47
|
-
});
|
|
55
|
+
this.applyStepProps(this.allSteps);
|
|
48
56
|
}
|
|
49
57
|
handleVerticalChange() {
|
|
50
|
-
|
|
51
|
-
allSteps.forEach((step) => {
|
|
52
|
-
step.vertical = this.vertical;
|
|
53
|
-
});
|
|
58
|
+
this.applyStepProps(this.allSteps);
|
|
54
59
|
}
|
|
55
60
|
render() {
|
|
56
61
|
return html`
|
|
@@ -67,6 +72,9 @@ var DSAStepper = class extends ShoelaceElement {
|
|
|
67
72
|
}
|
|
68
73
|
};
|
|
69
74
|
DSAStepper.styles = stepper_styles_default;
|
|
75
|
+
__decorateClass([
|
|
76
|
+
query("slot")
|
|
77
|
+
], DSAStepper.prototype, "defaultSlot", 2);
|
|
70
78
|
__decorateClass([
|
|
71
79
|
property({ type: Boolean, attribute: "hide-label" })
|
|
72
80
|
], DSAStepper.prototype, "hideLabel", 2);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FilterBase
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.4VSGAJJL.js";
|
|
4
4
|
import {
|
|
5
5
|
filter_date_styles_default
|
|
6
6
|
} from "./chunk.SRLGPXHB.js";
|
|
7
7
|
import {
|
|
8
8
|
DSACalendar
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.DN3K2GHZ.js";
|
|
10
10
|
import {
|
|
11
11
|
formatDateRange,
|
|
12
12
|
getDateFromISO,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.OYVF3HNG.js";
|
|
18
18
|
import {
|
|
19
19
|
DSAButton
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.SXFVCR7O.js";
|
|
21
21
|
import {
|
|
22
22
|
DSAIconButton
|
|
23
23
|
} from "./chunk.WNESPUKK.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DSARadioGroup
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.QKUUHXNR.js";
|
|
4
4
|
import {
|
|
5
5
|
FormToggleButton
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.4535HZ7L.js";
|
|
7
7
|
import {
|
|
8
8
|
watch
|
|
9
9
|
} from "./chunk.QB2NJE2Y.js";
|
|
@@ -22,7 +22,9 @@ var DSARadioButton = class extends FormToggleButton {
|
|
|
22
22
|
if (this.disabled || this.readonly || this.parentDisabled || this.parentReadonly) {
|
|
23
23
|
return;
|
|
24
24
|
}
|
|
25
|
-
this.checked
|
|
25
|
+
if (!this.checked) {
|
|
26
|
+
this.checked = true;
|
|
27
|
+
}
|
|
26
28
|
}
|
|
27
29
|
handleDeactivatedChange() {
|
|
28
30
|
const parent = this.parentElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
table_toolbar_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.WYLT5ZNJ.js";
|
|
4
4
|
import {
|
|
5
5
|
ShoelaceElement
|
|
6
6
|
} from "./chunk.SVWU6JW4.js";
|
|
@@ -14,10 +14,14 @@ import { customElement } from "lit/decorators.js";
|
|
|
14
14
|
var DSATableToolbar = class extends ShoelaceElement {
|
|
15
15
|
render() {
|
|
16
16
|
return html`
|
|
17
|
-
<slot part="filters" name="filters"></slot>
|
|
17
|
+
<slot class="slot-filters" part="filters" name="filters"></slot>
|
|
18
18
|
<div class="table-toolbar__right">
|
|
19
|
-
<slot
|
|
20
|
-
|
|
19
|
+
<slot
|
|
20
|
+
class="slot-columns-filter"
|
|
21
|
+
part="columns-filter"
|
|
22
|
+
name="columns-filter"
|
|
23
|
+
></slot>
|
|
24
|
+
<slot class="slot-search" part="search" name="search"></slot>
|
|
21
25
|
</div>
|
|
22
26
|
`;
|
|
23
27
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.CJ6WHQAI.js";
|
|
4
4
|
import {
|
|
5
5
|
DSATable
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.D5YUY5BG.js";
|
|
7
7
|
import {
|
|
8
8
|
LoadingStateElement
|
|
9
9
|
} from "./chunk.YROTOHU3.js";
|
|
@@ -28,6 +28,7 @@ var DSATableBody = class extends LoadingStateElement {
|
|
|
28
28
|
if (customElements.get("dsa-table")) {
|
|
29
29
|
parent.handleRowExpandable();
|
|
30
30
|
parent.handleRowSelectable();
|
|
31
|
+
parent.handleRowReorderable();
|
|
31
32
|
parent.handleHeaderCellsCount();
|
|
32
33
|
parent.handleSizeChange();
|
|
33
34
|
} else {
|