@ds-autonomie/web-components 1.22.2 → 1.23.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 +24 -0
- package/dist/chunks/{chunk.BPEI35FP.js → chunk.2JIPPL3I.js} +1 -1
- package/dist/chunks/{chunk.5X4QTZAP.js → chunk.2LWUWDHO.js} +5 -2
- package/dist/chunks/{chunk.KCJKFLMI.js → chunk.2TQJGNLG.js} +1 -1
- package/dist/chunks/{chunk.4CA7E26P.js → chunk.33HY22NK.js} +77 -189
- package/dist/chunks/{chunk.7KYHO6CO.js → chunk.35CKPBLE.js} +1 -1
- package/dist/chunks/{chunk.BUDRSMFF.js → chunk.3EZTOQNV.js} +2 -2
- package/dist/chunks/{chunk.FPXW7ZMC.js → chunk.3KY7QTZE.js} +13 -5
- package/dist/chunks/{chunk.YXVKJQFH.js → chunk.3PHQ4BLH.js} +4 -1
- package/dist/chunks/{chunk.PQR2GAOE.js → chunk.3XIJ443Y.js} +1 -1
- package/dist/chunks/{chunk.YQX6XBXO.js → chunk.43G4V4JA.js} +7 -6
- package/dist/chunks/{chunk.DMX6VF2L.js → chunk.47JHZBMB.js} +1 -1
- package/dist/chunks/{chunk.GAC47LAL.js → chunk.4P45LB2J.js} +6 -4
- package/dist/chunks/{chunk.5MBTOZ4X.js → chunk.4ZYXTXB5.js} +6 -2
- package/dist/chunks/{chunk.GBFSCUF6.js → chunk.52QZ25CM.js} +5 -5
- package/dist/chunks/{chunk.M3FN3PFT.js → chunk.5OBDCB7I.js} +1 -1
- package/dist/chunks/{chunk.5DJID6VS.js → chunk.5RR67NIN.js} +1 -1
- package/dist/chunks/{chunk.TOWCNBTG.js → chunk.5SPPXRRA.js} +1 -1
- package/dist/chunks/{chunk.HRKZRSEX.js → chunk.5W2ADPTV.js} +1 -1
- package/dist/chunks/{chunk.GUSO7ZX7.js → chunk.66WACVGP.js} +1 -1
- package/dist/chunks/{chunk.FCXJCZEG.js → chunk.6AMOVQMF.js} +3 -3
- package/dist/chunks/{chunk.FUDAY7X2.js → chunk.6QHJJ6HQ.js} +1 -1
- package/dist/chunks/{chunk.EEKMHAZ5.js → chunk.7CXSHK4V.js} +6 -2
- package/dist/chunks/{chunk.NZSU3FNO.js → chunk.7NKRGNGW.js} +22 -6
- package/dist/chunks/{chunk.6YV75XW5.js → chunk.AF3ZNLUV.js} +3 -2
- package/dist/chunks/{chunk.F4QJBOMR.js → chunk.AYYW4GA7.js} +88 -197
- package/dist/chunks/{chunk.YGFOBU5R.js → chunk.BLOOH4O7.js} +2 -2
- package/dist/chunks/{chunk.QUB3Z4YN.js → chunk.BSUMGQ4B.js} +1 -1
- package/dist/chunks/{chunk.RC7QZSCE.js → chunk.CABS34UZ.js} +3 -3
- package/dist/chunks/{chunk.A5FZ3ZP6.js → chunk.COCN62Q7.js} +116 -231
- package/dist/chunks/{chunk.ZBZTILB6.js → chunk.CQHOJJEI.js} +1 -1
- package/dist/chunks/{chunk.4MDEHTR2.js → chunk.DC7PUODY.js} +2 -2
- package/dist/chunks/{chunk.2YCECXQ4.js → chunk.DDBVITXE.js} +2 -2
- package/dist/chunks/{chunk.XOAAGTHU.js → chunk.DE4CISVH.js} +1 -1
- package/dist/chunks/{chunk.75JDBBOQ.js → chunk.DKPTGNVN.js} +4 -3
- package/dist/chunks/{chunk.OOD25N36.js → chunk.E7D46GR5.js} +3 -2
- package/dist/chunks/{chunk.BTIJON33.js → chunk.EEGNWUXW.js} +4 -3
- package/dist/chunks/{chunk.DKATFHVQ.js → chunk.EG62SZ5F.js} +2 -1
- package/dist/chunks/{chunk.46QRHHLQ.js → chunk.ELSWDQF7.js} +124 -246
- package/dist/chunks/{chunk.YTRQPTZ3.js → chunk.EP7LLKJN.js} +1 -1
- package/dist/chunks/{chunk.PIL5B5ND.js → chunk.FAWAATV6.js} +2 -2
- package/dist/chunks/chunk.FJI3P5RX.js +158 -0
- package/dist/chunks/{chunk.42I2CPKY.js → chunk.FQMS24GI.js} +1 -1
- package/dist/chunks/{chunk.QBK6A3R2.js → chunk.GDOUDNZH.js} +1 -1
- package/dist/chunks/{chunk.5NEMV7VX.js → chunk.GN5K7Y37.js} +22 -5
- package/dist/chunks/{chunk.LKXJNHSQ.js → chunk.GNPJFQU2.js} +1 -1
- package/dist/chunks/{chunk.YAXCH4J7.js → chunk.HBUDYFQQ.js} +2 -2
- package/dist/chunks/{chunk.BETV66IR.js → chunk.HKVZJ7FV.js} +5 -5
- package/dist/chunks/{chunk.4JK743ZT.js → chunk.IPPHRX7W.js} +3 -1
- package/dist/chunks/{chunk.GM4DVAZJ.js → chunk.IPUOJRFA.js} +1 -1
- package/dist/chunks/{chunk.HR3WCXZI.js → chunk.IXDXQH27.js} +3 -1
- package/dist/chunks/{chunk.E3B2D5KE.js → chunk.IZBHR7GP.js} +0 -1
- package/dist/chunks/{chunk.4QQ5B4IL.js → chunk.JLVXPL5R.js} +1 -1
- package/dist/chunks/{chunk.AO6LCWR7.js → chunk.JUFWKPKA.js} +1 -1
- package/dist/chunks/{chunk.HOATJHQQ.js → chunk.KADIEJEA.js} +17 -1
- package/dist/chunks/{chunk.PGUC3I5F.js → chunk.KDQ7QGKG.js} +50 -168
- package/dist/chunks/{chunk.SMB4Q2LK.js → chunk.L64R3324.js} +1 -1
- package/dist/chunks/{chunk.GL4GU5DO.js → chunk.MJ3ZLDHO.js} +1 -1
- package/dist/chunks/{chunk.SDJYJZWB.js → chunk.MOXUFEWV.js} +80 -201
- package/dist/chunks/{chunk.KSSPTHJA.js → chunk.NILDQYHY.js} +2 -2
- package/dist/chunks/{chunk.W45NKAQM.js → chunk.NVCV74RN.js} +154 -275
- package/dist/chunks/{chunk.MKM7ZZA3.js → chunk.O52CMQXZ.js} +10 -23
- package/dist/chunks/{chunk.Q62BRBYD.js → chunk.PVNTVHSM.js} +4 -1
- package/dist/chunks/{chunk.EOWQAIDU.js → chunk.QDKQMUIQ.js} +4 -11
- package/dist/chunks/{chunk.XJU66OLS.js → chunk.QDMCHM32.js} +2 -2
- package/dist/chunks/{chunk.75SMDXL6.js → chunk.QPVOW5Y7.js} +1 -1
- package/dist/chunks/chunk.QTUCYPM5.js +61 -0
- package/dist/chunks/{chunk.WUZDHRQQ.js → chunk.QZ743FPY.js} +2 -2
- package/dist/chunks/{chunk.D6LJAMJM.js → chunk.RJQHPU3G.js} +10 -4
- package/dist/chunks/{chunk.BYTDEMP3.js → chunk.RPQWUBXM.js} +5 -3
- package/dist/chunks/{chunk.YKMMYGAJ.js → chunk.RS4JPM7N.js} +1 -1
- package/dist/chunks/{chunk.RKHCGLX6.js → chunk.RS7HNQVM.js} +3 -1
- package/dist/chunks/{chunk.SYXHGIMC.js → chunk.RWGL6D5U.js} +1 -1
- package/dist/chunks/{chunk.36WWRNIP.js → chunk.SHETMEY4.js} +3 -2
- package/dist/chunks/{chunk.HQKKL7C7.js → chunk.SJBAMGV4.js} +8 -2
- package/dist/chunks/chunk.SPSOTQ3Q.js +268 -0
- package/dist/chunks/{chunk.UPDUFREI.js → chunk.SX2NHC2D.js} +2 -1
- package/dist/chunks/{chunk.PSAB4UIG.js → chunk.SXCNBPZV.js} +5 -1
- package/dist/chunks/{chunk.5KFYZRQZ.js → chunk.TB3WT3D4.js} +2 -39
- package/dist/chunks/{chunk.LE6KR6YZ.js → chunk.TRPN2KWP.js} +28 -4
- package/dist/chunks/{chunk.O2PIWM25.js → chunk.UCR5H4HY.js} +3 -3
- package/dist/chunks/chunk.UTM2OEQ6.js +40 -0
- package/dist/chunks/{chunk.MAFEZZTX.js → chunk.UZEXRPNC.js} +2 -1
- package/dist/chunks/{chunk.L4BDK6WG.js → chunk.VBCRFPTQ.js} +6 -2
- package/dist/chunks/{chunk.LWJY5VKB.js → chunk.VMJ6DIIE.js} +6 -2
- package/dist/chunks/{chunk.KCKFUT7W.js → chunk.VNFFOE7Z.js} +2 -1
- package/dist/chunks/{chunk.KVWD6T4L.js → chunk.VOOE2BQV.js} +1 -1
- package/dist/chunks/{chunk.OMS37ACU.js → chunk.VT3IWNRD.js} +1 -1
- package/dist/chunks/{chunk.SG6IR57O.js → chunk.W635ZS25.js} +1 -1
- package/dist/chunks/{chunk.3KCZS7CR.js → chunk.WFXH625U.js} +1 -1
- package/dist/chunks/chunk.WOZTYBTC.js +38 -0
- package/dist/chunks/{chunk.CPXD6UYZ.js → chunk.WQQM4ALY.js} +5 -1
- package/dist/chunks/{chunk.5DAITYVK.js → chunk.XCRMRJG6.js} +3 -2
- package/dist/chunks/{chunk.OEYZ3CTB.js → chunk.XTFOV6IO.js} +10 -4
- package/dist/chunks/{chunk.7YZDEXJY.js → chunk.Y4AZARNM.js} +13 -5
- package/dist/chunks/{chunk.FN3YT4DB.js → chunk.Y7CSNRKE.js} +1 -1
- package/dist/chunks/{chunk.DA6UU6UL.js → chunk.YIY5RM53.js} +0 -17
- package/dist/chunks/{chunk.IE34DJRP.js → chunk.YPDQVYQD.js} +1 -1
- package/dist/chunks/{chunk.POBERW54.js → chunk.ZJSZJA26.js} +2 -1
- package/dist/components/accordion/accordion.js +6 -6
- package/dist/components/alert/alert.js +7 -7
- package/dist/components/avatar/avatar.js +5 -5
- package/dist/components/badge/badge.js +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +6 -6
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -3
- package/dist/components/button/button.d.ts +5 -0
- package/dist/components/button/button.js +9 -9
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/calendar/calendar.js +2 -2
- package/dist/components/callout/callout.js +5 -5
- package/dist/components/card/card.js +2 -2
- package/dist/components/checkbox/checkbox.js +10 -10
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.d.ts +4 -34
- package/dist/components/checkbox-button/checkbox-button.js +7 -8
- package/dist/components/checkbox-group/checkbox-group.js +6 -6
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +3 -36
- package/dist/components/combobox/combobox.js +15 -14
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +8 -8
- package/dist/components/download-card/download-card.d.ts +2 -0
- package/dist/components/download-card/download-card.js +5 -5
- package/dist/components/download-link/download-link.d.ts +2 -0
- package/dist/components/download-link/download-link.js +5 -5
- package/dist/components/drawer/drawer.js +8 -8
- package/dist/components/dropdown/dropdown.js +2 -2
- package/dist/components/error-message-panel/error-message-panel.js +3 -3
- package/dist/components/error-text/error-text.js +1 -1
- package/dist/components/error-text/error-text.utils.js +1 -1
- package/dist/components/file-upload/file-upload.d.ts +3 -1
- package/dist/components/file-upload/file-upload.js +6 -6
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/file-upload-item/file-upload-item.js +3 -3
- package/dist/components/filter/filter-base/filter-base.js +3 -3
- package/dist/components/filter/filter-button/filter-button.js +8 -8
- package/dist/components/filter/filter-counter/filter-counter.js +4 -4
- package/dist/components/filter/filter-date/filter-date.js +12 -12
- package/dist/components/filter/filter-range/filter-range.js +21 -20
- package/dist/components/filter/filter-select/filter-select.js +19 -18
- package/dist/components/footer/footer.js +3 -3
- package/dist/components/footer-content-block/footer-content-block.js +2 -2
- package/dist/components/footer-mandatory-mentions/footer-mandatory-mentions.js +2 -2
- package/dist/components/footer-sitemap/footer-sitemap.js +2 -2
- package/dist/components/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.js +4 -4
- package/dist/components/header-search/header-search.js +2 -2
- package/dist/components/icon/icon.js +4 -4
- package/dist/components/icon/library.js +2 -2
- package/dist/components/icon/library.system.js +1 -1
- package/dist/components/icon-button/icon-button.d.ts +5 -0
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/input/input.d.ts +4 -35
- package/dist/components/input/input.js +16 -15
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-date/input-date.d.ts +3 -36
- package/dist/components/input-date/input-date.js +15 -14
- package/dist/components/input-date/input-date.styles.js +3 -3
- package/dist/components/input-mask/input-mask.d.ts +3 -37
- package/dist/components/input-mask/input-mask.js +8 -7
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-phone/input-phone.d.ts +3 -33
- package/dist/components/input-phone/input-phone.js +22 -21
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/menu-accordion/menu-accordion.js +6 -6
- package/dist/components/menu-item/menu-item.js +6 -6
- package/dist/components/navbar/navbar-link/navbar-link.js +4 -4
- package/dist/components/navbar/navbar-menu/navbar-menu.js +7 -7
- package/dist/components/option/option.js +6 -6
- package/dist/components/pagination/pagination.js +20 -19
- package/dist/components/pagination-button/pagination-button.js +4 -4
- package/dist/components/pagination-button/pagination-button.styles.js +2 -2
- package/dist/components/profile-button/profile-button.js +9 -9
- package/dist/components/progress-bar/progress-bar.js +2 -2
- package/dist/components/quote/quote.js +5 -5
- package/dist/components/radio/radio.js +6 -6
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-button/radio-button.d.ts +4 -32
- package/dist/components/radio-button/radio-button.js +17 -9
- package/dist/components/radio-group/radio-group.js +6 -6
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +2 -2
- package/dist/components/select/select.d.ts +3 -35
- package/dist/components/select/select.js +14 -13
- package/dist/components/select/select.styles.js +2 -2
- 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 +6 -6
- package/dist/components/step/step.d.ts +1 -0
- package/dist/components/step/step.js +7 -7
- package/dist/components/tab/tab.d.ts +0 -6
- package/dist/components/tab/tab.js +3 -4
- package/dist/components/tab/tab.styles.js +1 -1
- package/dist/components/tab-group/tab-group.js +2 -2
- package/dist/components/table/table-action/table-action.js +2 -2
- package/dist/components/table/table-caption/table-caption.js +3 -3
- package/dist/components/table/table-header-cell/table-header-cell.js +2 -2
- package/dist/components/table/table-header-row/table-header-row.js +3 -3
- package/dist/components/table/table-row/table-row.js +2 -2
- package/dist/components/table-container/table-container.js +2 -2
- package/dist/components/table-of-contents/table-of-contents.js +1 -1
- package/dist/components/tag/tag.js +7 -7
- package/dist/components/textarea/textarea.d.ts +6 -37
- package/dist/components/textarea/textarea.js +7 -6
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +2 -2
- package/dist/components/tree/tree.js +14 -14
- package/dist/components/tree-item/tree-item.js +13 -13
- package/dist/custom-elements.json +259 -2206
- package/dist/design-system.js +145 -145
- package/dist/internal/components/form-control/form-control-layout.d.ts +41 -0
- package/dist/internal/components/form-control/form-control-layout.js +166 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button-stories.d.ts +86 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button-stories.js +62 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button.d.ts +32 -0
- package/dist/internal/components/form-toggle-button/form-toggle-button.js +129 -0
- package/dist/{chunks/chunk.LP7HSAS3.js → internal/components/form-toggle-button/form-toggle-button.styles.js} +30 -24
- package/dist/styles/form-control.styles.js +4 -11
- package/dist/themes/dsa-wc-theme.css +8 -4
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +8 -4
- 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/icon-library.js +2 -2
- package/dist/utilities/localize.d.ts +1 -1
- package/dist/utilities/localize.js +1 -1
- package/dist/vscode.html-custom-data.json +43 -537
- package/dist/web-types.json +212 -1578
- package/package.json +1 -1
- package/dist/chunks/chunk.EJ4VOCOO.js +0 -150
- package/dist/chunks/chunk.M4JDLOFR.js +0 -167
- package/dist/chunks/chunk.PCO6EOKB.js +0 -156
- package/dist/chunks/chunk.RB6TMBWW.js +0 -127
- package/dist/components/checkbox-button/checkbox-button.styles.js +0 -9
- package/dist/components/radio-button/radio-button.styles.d.ts +0 -2
- package/dist/components/radio-button/radio-button.styles.js +0 -9
- /package/dist/{components/checkbox-button/checkbox-button.styles.d.ts → internal/components/form-toggle-button/form-toggle-button.styles.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 1.23.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- d72ea56: `file-upload`: ajout de la possibilité d'importer un dossier complet
|
|
8
|
+
- 3f12bad: `link css class`: ajout d'une classe css pour les icones en suffixe
|
|
9
|
+
- 1e7e67c: `download-card`: ajout d'un attribut permettant de renommer le document téléchargé
|
|
10
|
+
`download-link`: ajout d'un attribut permettant de renommer le document téléchargé
|
|
11
|
+
- 6657b26: `button` : ajout d'un mode "toggle" (bouton à basculement)
|
|
12
|
+
`icon-button` : ajout d'un mode "toggle" (bouton à basculement)
|
|
13
|
+
- ef5fce3: `divers composants`: utilisation de la librairie système pour les icônes
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- cba1830: `input-mask`: `patternMismatch` à `false` quand aucune valeur n'est saisie
|
|
18
|
+
- d171346: `radio`: correction d'une couleur rendant le bouton invisible en contraste élevé
|
|
19
|
+
- e3b59b9: `tab` : correction de la largeur d'onglet avec un contenu custom
|
|
20
|
+
- 1367806: `step` : (a11y) amélioration de la restitution des étapes cliquables
|
|
21
|
+
- 498ea04: Communalisation de code pour les éléments de formulaire
|
|
22
|
+
- ef44b36: `select`: ne pas sélectionner une option si son attribut `value` est vide
|
|
23
|
+
- 02bd2c2: `radio-group`, `checkbox-group`: communalisation du code
|
|
24
|
+
- 3f84296: `tab` : (a11y) déplacement du tabindex sur le host
|
|
25
|
+
- 6a17f31: `input-phone`: mise à jour de la valeur après chaque entrée
|
|
26
|
+
|
|
3
27
|
## 1.22.2
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -11,6 +11,10 @@ var tab_styles_default = css`
|
|
|
11
11
|
display: inline-block;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
+
:host(:focus) {
|
|
15
|
+
outline: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
14
18
|
.tab {
|
|
15
19
|
display: inline-flex;
|
|
16
20
|
align-items: center;
|
|
@@ -29,7 +33,6 @@ var tab_styles_default = css`
|
|
|
29
33
|
align-items: center;
|
|
30
34
|
}
|
|
31
35
|
.tab__width-placeholder {
|
|
32
|
-
content: attr(data-label);
|
|
33
36
|
font-weight: 700;
|
|
34
37
|
visibility: hidden;
|
|
35
38
|
display: inline-block;
|
|
@@ -49,7 +52,7 @@ var tab_styles_default = css`
|
|
|
49
52
|
color: var(--dsa-wc-tab-color-active-tab);
|
|
50
53
|
}
|
|
51
54
|
|
|
52
|
-
|
|
55
|
+
:host(:focus-visible) .tab {
|
|
53
56
|
outline: var(--dsa-wc-focus-ring);
|
|
54
57
|
outline-offset: calc(
|
|
55
58
|
-1 * var(--dsa-wc-focus-ring-width) - var(--dsa-wc-focus-ring-offset)
|
|
@@ -5,31 +5,25 @@ import {
|
|
|
5
5
|
} from "./chunk.7OLEA3GQ.js";
|
|
6
6
|
import {
|
|
7
7
|
input_mask_styles_default
|
|
8
|
-
} from "./chunk.
|
|
8
|
+
} from "./chunk.47JHZBMB.js";
|
|
9
|
+
import {
|
|
10
|
+
FormControlLayout
|
|
11
|
+
} from "./chunk.FJI3P5RX.js";
|
|
9
12
|
import {
|
|
10
13
|
defaultValue
|
|
11
14
|
} from "./chunk.CMJ2SRTL.js";
|
|
12
|
-
import {
|
|
13
|
-
renderFormElementErrors
|
|
14
|
-
} from "./chunk.E3B2D5KE.js";
|
|
15
15
|
import {
|
|
16
16
|
FormControlController
|
|
17
17
|
} from "./chunk.KIFBWPW5.js";
|
|
18
|
-
import {
|
|
19
|
-
HasSlotController
|
|
20
|
-
} from "./chunk.DA6UU6UL.js";
|
|
21
18
|
import {
|
|
22
19
|
LocalizeController
|
|
23
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.4ZYXTXB5.js";
|
|
24
21
|
import {
|
|
25
22
|
watch
|
|
26
23
|
} from "./chunk.6IH66JBY.js";
|
|
27
24
|
import {
|
|
28
25
|
ifDefinedAndNotEmpty
|
|
29
26
|
} from "./chunk.ZQJVCRB2.js";
|
|
30
|
-
import {
|
|
31
|
-
ShoelaceElement
|
|
32
|
-
} from "./chunk.YCXTCVAZ.js";
|
|
33
27
|
import {
|
|
34
28
|
__decorateClass
|
|
35
29
|
} from "./chunk.6M63UXML.js";
|
|
@@ -40,43 +34,24 @@ import { customElement, property, query, state } from "lit/decorators.js";
|
|
|
40
34
|
import { classMap } from "lit/directives/class-map.js";
|
|
41
35
|
import { ifDefined } from "lit/directives/if-defined.js";
|
|
42
36
|
import { live } from "lit/directives/live.js";
|
|
43
|
-
var DSAInputMask = class extends
|
|
37
|
+
var DSAInputMask = class extends FormControlLayout {
|
|
44
38
|
constructor() {
|
|
45
39
|
super(...arguments);
|
|
46
40
|
this.formControlController = new FormControlController(this, {
|
|
47
41
|
assumeInteractionOn: ["dsa-blur", "dsa-input"]
|
|
48
42
|
});
|
|
49
|
-
this.hasSlotController = new HasSlotController(
|
|
50
|
-
this,
|
|
51
|
-
"help-text",
|
|
52
|
-
"label",
|
|
53
|
-
"prefix"
|
|
54
|
-
);
|
|
55
43
|
this.localize = new LocalizeController(this);
|
|
56
44
|
this.hasFocus = false;
|
|
57
45
|
this.maskedValue = "";
|
|
58
|
-
this.title = "";
|
|
59
|
-
this.name = "";
|
|
60
46
|
this.value = "";
|
|
61
47
|
this.defaultValue = "";
|
|
62
|
-
this.size = "medium";
|
|
63
|
-
this.variant = "base";
|
|
64
|
-
this.label = "";
|
|
65
|
-
this.helpText = "";
|
|
66
48
|
this.clearable = false;
|
|
67
|
-
this.disabled = false;
|
|
68
|
-
this.placeholder = "";
|
|
69
|
-
this.readonly = false;
|
|
70
|
-
this.error = false;
|
|
71
|
-
this.errorMessage = "";
|
|
72
|
-
this.form = "";
|
|
73
|
-
this.required = false;
|
|
74
49
|
this.pattern = "";
|
|
75
50
|
this.mask = "";
|
|
76
51
|
}
|
|
77
52
|
/** Gets the validity state object */
|
|
78
53
|
get validity() {
|
|
79
|
-
let patternMatch =
|
|
54
|
+
let patternMatch = true;
|
|
80
55
|
if (this.value.length > 0 && this.pattern.length > 0) {
|
|
81
56
|
const strippedValue = stripSpecialChars(this.value);
|
|
82
57
|
const matches = strippedValue.match(this.pattern);
|
|
@@ -92,7 +67,7 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
92
67
|
tooLong: this.input.validity.tooLong,
|
|
93
68
|
tooShort: this.input.validity.tooShort,
|
|
94
69
|
typeMismatch: this.input.validity.typeMismatch,
|
|
95
|
-
valid:
|
|
70
|
+
valid: this.value.length > 0 && this.pattern.length > 0 ? patternMatch : this.input.validity.valid,
|
|
96
71
|
valueMissing: this.input.validity.valueMissing
|
|
97
72
|
};
|
|
98
73
|
return validityState;
|
|
@@ -223,44 +198,17 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
223
198
|
this.input.setCustomValidity(message);
|
|
224
199
|
this.formControlController.updateValidity();
|
|
225
200
|
}
|
|
226
|
-
|
|
201
|
+
renderInput() {
|
|
227
202
|
const hasLabelSlot = this.hasSlotController.test("label");
|
|
228
|
-
const hasHelpTextSlot = this.hasSlotController.test("help-text");
|
|
229
203
|
const hasPrefixIcon = this.hasSlotController.test("prefix");
|
|
230
204
|
const hasSuffixIcon = this.hasSlotController.test("suffix");
|
|
231
205
|
const hasLabel = this.label ? true : !!hasLabelSlot;
|
|
232
|
-
const hasHelpText = this.helpText ? true : !!hasHelpTextSlot;
|
|
233
206
|
const hasClearIcon = this.clearable && !this.disabled && !this.readonly && (typeof this.value === "number" || this.value.length > 0);
|
|
234
207
|
const placeholder = this.placeholder.substring(this.maskedValue.length);
|
|
235
208
|
return html`
|
|
236
209
|
<div
|
|
237
|
-
part="
|
|
210
|
+
part="base"
|
|
238
211
|
class=${classMap({
|
|
239
|
-
"form-control": true,
|
|
240
|
-
"form-control--error": this.error,
|
|
241
|
-
"form-control--small": this.size === "small",
|
|
242
|
-
"form-control--medium": this.size === "medium",
|
|
243
|
-
"form-control--large": this.size === "large",
|
|
244
|
-
"form-control--has-label": hasLabel,
|
|
245
|
-
"form-control--has-help-text": hasHelpText
|
|
246
|
-
})}
|
|
247
|
-
>
|
|
248
|
-
<label
|
|
249
|
-
part="form-control-label"
|
|
250
|
-
class='form-control__label'
|
|
251
|
-
for="input-mask"
|
|
252
|
-
aria-hidden=${hasLabel ? "false" : "true"}
|
|
253
|
-
|
|
254
|
-
>
|
|
255
|
-
${this.required ? html`<span class="form-control__label-required">*</span>` : ""}
|
|
256
|
-
<slot name="label">${this.label}</slot>
|
|
257
|
-
</label>
|
|
258
|
-
<slot name="tooltip" class="form-control__tooltip"></slot>
|
|
259
|
-
|
|
260
|
-
<div part="form-control-input" class="form-control-input form-control__field">
|
|
261
|
-
<div
|
|
262
|
-
part="base"
|
|
263
|
-
class=${classMap({
|
|
264
212
|
"input-mask": true,
|
|
265
213
|
// Sizes
|
|
266
214
|
"input-mask--small": this.size === "small",
|
|
@@ -275,89 +223,80 @@ var DSAInputMask = class extends ShoelaceElement {
|
|
|
275
223
|
"input-mask--focused": this.hasFocus,
|
|
276
224
|
"input-mask--empty": !this.value
|
|
277
225
|
})}
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
226
|
+
>
|
|
227
|
+
<slot
|
|
228
|
+
name="prefix"
|
|
229
|
+
part="prefix"
|
|
230
|
+
id="input__prefix"
|
|
231
|
+
class="input-mask__prefix"
|
|
232
|
+
></slot>
|
|
281
233
|
|
|
282
|
-
|
|
234
|
+
<div
|
|
235
|
+
class=${classMap({
|
|
283
236
|
"input-mask__placeholder": true
|
|
284
|
-
})}
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
237
|
+
})}
|
|
238
|
+
aria-placeholder=${placeholder}
|
|
239
|
+
aria-hidden="true"
|
|
240
|
+
>
|
|
241
|
+
<span class="input-mask__value" aria-hidden="true"
|
|
242
|
+
>${this.maskedValue}</span
|
|
243
|
+
>
|
|
244
|
+
${placeholder}
|
|
245
|
+
</div>
|
|
288
246
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
247
|
+
<input
|
|
248
|
+
part="input"
|
|
249
|
+
id="input"
|
|
250
|
+
class=${classMap({
|
|
293
251
|
"input-mask__control": true,
|
|
294
252
|
"input-mask__control-with-prefix": hasPrefixIcon
|
|
295
253
|
})}
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
@blur=${this.handleBlur}
|
|
324
|
-
/>
|
|
325
|
-
|
|
326
|
-
${hasSuffixIcon ? html`<slot
|
|
327
|
-
name="suffix"
|
|
328
|
-
id="input__suffix"
|
|
329
|
-
class="input-mask__suffix"
|
|
330
|
-
></slot>` : ""}
|
|
331
|
-
|
|
332
|
-
${hasClearIcon ? html`
|
|
333
|
-
<button
|
|
334
|
-
part="clear-button"
|
|
335
|
-
class="input-mask__clear"
|
|
336
|
-
type="button"
|
|
337
|
-
aria-label=${this.localize.term("clearEntry")}
|
|
338
|
-
@click=${this.handleClearClick}
|
|
339
|
-
>
|
|
340
|
-
<slot name="clear-icon">
|
|
341
|
-
<dsa-icon name="close"></dsa-icon>
|
|
342
|
-
</slot>
|
|
343
|
-
</button>
|
|
344
|
-
` : ""}
|
|
345
|
-
|
|
346
|
-
</div>
|
|
347
|
-
</div>
|
|
348
|
-
|
|
349
|
-
<slot
|
|
350
|
-
name="help-text"
|
|
351
|
-
part="form-control-help-text"
|
|
352
|
-
id="help-text"
|
|
353
|
-
class="form-control__help-text"
|
|
354
|
-
aria-hidden=${hasHelpText ? "false" : "true"}
|
|
355
|
-
>
|
|
356
|
-
${this.helpText}
|
|
357
|
-
</slot>
|
|
254
|
+
type="text"
|
|
255
|
+
title=${ifDefinedAndNotEmpty(hasLabel ? void 0 : this.title)}
|
|
256
|
+
name=${ifDefinedAndNotEmpty(this.name)}
|
|
257
|
+
?disabled=${this.disabled}
|
|
258
|
+
?readonly=${this.readonly}
|
|
259
|
+
?required=${this.required}
|
|
260
|
+
minlength=${ifDefined(this.minlength)}
|
|
261
|
+
maxlength=${ifDefined(this.placeholder.length)}
|
|
262
|
+
size=${ifDefined(this.placeholder.length)}
|
|
263
|
+
placeholder=${ifDefined(this.placeholder)}
|
|
264
|
+
.value=${live(this.maskedValue)}
|
|
265
|
+
autocomplete=${ifDefined(this.autocomplete)}
|
|
266
|
+
autocorrect=${ifDefined(this.autocorrect)}
|
|
267
|
+
?autofocus=${this.autofocus}
|
|
268
|
+
spellcheck=${this.spellcheck}
|
|
269
|
+
enterkeyhint=${ifDefined(this.enterkeyhint)}
|
|
270
|
+
inputmode=${this.inputmode}
|
|
271
|
+
aria-label=${ifDefinedAndNotEmpty(hasLabel ? void 0 : this.title)}
|
|
272
|
+
aria-describedby=${this.getDescriptionIds()}
|
|
273
|
+
aria-invalid=${ifDefined(this.error ? "true" : void 0)}
|
|
274
|
+
@change=${this.handleChange}
|
|
275
|
+
@invalid=${this.handleInvalid}
|
|
276
|
+
@keyup=${this.handleDocumentKeyUp}
|
|
277
|
+
@keydown=${this.handleKeyDown}
|
|
278
|
+
@focus=${this.handleFocus}
|
|
279
|
+
@blur=${this.handleBlur}
|
|
280
|
+
/>
|
|
358
281
|
|
|
359
|
-
${
|
|
360
|
-
|
|
282
|
+
${hasSuffixIcon ? html`<slot
|
|
283
|
+
name="suffix"
|
|
284
|
+
id="input__suffix"
|
|
285
|
+
class="input-mask__suffix"
|
|
286
|
+
></slot>` : ""}
|
|
287
|
+
${hasClearIcon ? html`
|
|
288
|
+
<button
|
|
289
|
+
part="clear-button"
|
|
290
|
+
class="input-mask__clear"
|
|
291
|
+
type="button"
|
|
292
|
+
aria-label=${this.localize.term("clearEntry")}
|
|
293
|
+
@click=${this.handleClearClick}
|
|
294
|
+
>
|
|
295
|
+
<slot name="clear-icon">
|
|
296
|
+
<dsa-icon name="close" library="system"></dsa-icon>
|
|
297
|
+
</slot>
|
|
298
|
+
</button>
|
|
299
|
+
` : ""}
|
|
361
300
|
</div>
|
|
362
301
|
`;
|
|
363
302
|
}
|
|
@@ -372,69 +311,18 @@ __decorateClass([
|
|
|
372
311
|
__decorateClass([
|
|
373
312
|
state()
|
|
374
313
|
], DSAInputMask.prototype, "maskedValue", 2);
|
|
375
|
-
__decorateClass([
|
|
376
|
-
property()
|
|
377
|
-
], DSAInputMask.prototype, "title", 2);
|
|
378
|
-
__decorateClass([
|
|
379
|
-
property()
|
|
380
|
-
], DSAInputMask.prototype, "name", 2);
|
|
381
314
|
__decorateClass([
|
|
382
315
|
property()
|
|
383
316
|
], DSAInputMask.prototype, "value", 2);
|
|
384
317
|
__decorateClass([
|
|
385
318
|
defaultValue()
|
|
386
319
|
], DSAInputMask.prototype, "defaultValue", 2);
|
|
387
|
-
__decorateClass([
|
|
388
|
-
property({ reflect: true })
|
|
389
|
-
], DSAInputMask.prototype, "size", 2);
|
|
390
|
-
__decorateClass([
|
|
391
|
-
property({ reflect: true })
|
|
392
|
-
], DSAInputMask.prototype, "variant", 2);
|
|
393
|
-
__decorateClass([
|
|
394
|
-
property()
|
|
395
|
-
], DSAInputMask.prototype, "label", 2);
|
|
396
|
-
__decorateClass([
|
|
397
|
-
property({ attribute: "help-text" })
|
|
398
|
-
], DSAInputMask.prototype, "helpText", 2);
|
|
399
320
|
__decorateClass([
|
|
400
321
|
property({ type: Boolean })
|
|
401
322
|
], DSAInputMask.prototype, "clearable", 2);
|
|
402
|
-
__decorateClass([
|
|
403
|
-
property({ type: Boolean, reflect: true })
|
|
404
|
-
], DSAInputMask.prototype, "disabled", 2);
|
|
405
|
-
__decorateClass([
|
|
406
|
-
property()
|
|
407
|
-
], DSAInputMask.prototype, "placeholder", 2);
|
|
408
|
-
__decorateClass([
|
|
409
|
-
property({ type: Boolean, reflect: true })
|
|
410
|
-
], DSAInputMask.prototype, "readonly", 2);
|
|
411
|
-
__decorateClass([
|
|
412
|
-
property({ type: Boolean })
|
|
413
|
-
], DSAInputMask.prototype, "error", 2);
|
|
414
|
-
__decorateClass([
|
|
415
|
-
property({
|
|
416
|
-
attribute: "error-message",
|
|
417
|
-
converter: {
|
|
418
|
-
fromAttribute: (value) => value ? value.split("|") : "",
|
|
419
|
-
toAttribute: (value) => {
|
|
420
|
-
if (typeof value === "string") {
|
|
421
|
-
return value;
|
|
422
|
-
} else {
|
|
423
|
-
return value.join("|");
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
}
|
|
427
|
-
})
|
|
428
|
-
], DSAInputMask.prototype, "errorMessage", 2);
|
|
429
323
|
__decorateClass([
|
|
430
324
|
property()
|
|
431
325
|
], DSAInputMask.prototype, "inputmode", 2);
|
|
432
|
-
__decorateClass([
|
|
433
|
-
property({ reflect: true })
|
|
434
|
-
], DSAInputMask.prototype, "form", 2);
|
|
435
|
-
__decorateClass([
|
|
436
|
-
property({ type: Boolean, reflect: true })
|
|
437
|
-
], DSAInputMask.prototype, "required", 2);
|
|
438
326
|
__decorateClass([
|
|
439
327
|
property()
|
|
440
328
|
], DSAInputMask.prototype, "pattern", 2);
|
|
@@ -50,7 +50,7 @@ var radio_styles_default = css`
|
|
|
50
50
|
border: solid var(--dsa-wc-radio-border-width) var(--dsa-wc-radio-color);
|
|
51
51
|
border-radius: 50%;
|
|
52
52
|
background-color: none;
|
|
53
|
-
color:
|
|
53
|
+
color: var(--dsa-wc-radio-color);
|
|
54
54
|
transition: var(--dsa-wc-transition-fast) border-color,
|
|
55
55
|
var(--dsa-wc-transition-fast) background-color,
|
|
56
56
|
var(--dsa-wc-transition-fast) color,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk.PFGVYROJ.js";
|
|
7
7
|
import {
|
|
8
8
|
HasSlotController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.YIY5RM53.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalizeController
|
|
12
|
-
} from "./chunk.
|
|
12
|
+
} from "./chunk.4ZYXTXB5.js";
|
|
13
13
|
import {
|
|
14
14
|
watch
|
|
15
15
|
} from "./chunk.6IH66JBY.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk.UYGZPSDY.js";
|
|
4
4
|
import {
|
|
5
5
|
HasSlotController
|
|
6
|
-
} from "./chunk.
|
|
6
|
+
} from "./chunk.YIY5RM53.js";
|
|
7
7
|
import {
|
|
8
8
|
waitForEvent
|
|
9
9
|
} from "./chunk.B4BZKR24.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk.V7RJROLH.js";
|
|
18
18
|
import {
|
|
19
19
|
LocalizeController
|
|
20
|
-
} from "./chunk.
|
|
20
|
+
} from "./chunk.4ZYXTXB5.js";
|
|
21
21
|
import {
|
|
22
22
|
watch
|
|
23
23
|
} from "./chunk.6IH66JBY.js";
|
|
@@ -176,7 +176,9 @@ var DSANavbarMenu = class extends ShoelaceElement {
|
|
|
176
176
|
})}
|
|
177
177
|
tabindex="0"
|
|
178
178
|
>
|
|
179
|
-
${this.open ? html`
|
|
179
|
+
${this.open ? html`
|
|
180
|
+
<dsa-icon name="chevron_left" library="system"></dsa-icon>
|
|
181
|
+
` : ""}
|
|
180
182
|
|
|
181
183
|
<span class="navbar-menu__button__label">
|
|
182
184
|
<slot name="label" class="navbar-menu__button__label"
|
|
@@ -184,7 +186,9 @@ var DSANavbarMenu = class extends ShoelaceElement {
|
|
|
184
186
|
>
|
|
185
187
|
</span>
|
|
186
188
|
|
|
187
|
-
${!this.open ? html`
|
|
189
|
+
${!this.open ? html`
|
|
190
|
+
<dsa-icon name="chevron_right" library="system"></dsa-icon>
|
|
191
|
+
` : ""}
|
|
188
192
|
</button>
|
|
189
193
|
|
|
190
194
|
${this.open ? html`
|
|
@@ -228,7 +232,11 @@ var DSANavbarMenu = class extends ShoelaceElement {
|
|
|
228
232
|
<slot name="label">${this.label}</slot>
|
|
229
233
|
</span>
|
|
230
234
|
|
|
231
|
-
<dsa-icon
|
|
235
|
+
<dsa-icon
|
|
236
|
+
class="navbar-menu__icon"
|
|
237
|
+
name="expand_more"
|
|
238
|
+
library="system"
|
|
239
|
+
></dsa-icon>
|
|
232
240
|
</button>
|
|
233
241
|
|
|
234
242
|
<div id="menu__panel" class="menu__panel">
|
|
@@ -44,7 +44,7 @@ var DSADownloadLink = class extends ShoelaceElement {
|
|
|
44
44
|
"link--on-contrasted": this.variant === "contrasted",
|
|
45
45
|
"link--floating-menu": this.variant === "floating"
|
|
46
46
|
})}
|
|
47
|
-
download
|
|
47
|
+
download=${this.filename}
|
|
48
48
|
href=${this.href}
|
|
49
49
|
@focus=${this.handleFocus}
|
|
50
50
|
@blur=${this.handleBlur}
|
|
@@ -83,6 +83,9 @@ __decorateClass([
|
|
|
83
83
|
__decorateClass([
|
|
84
84
|
property()
|
|
85
85
|
], DSADownloadLink.prototype, "size", 2);
|
|
86
|
+
__decorateClass([
|
|
87
|
+
property()
|
|
88
|
+
], DSADownloadLink.prototype, "filename", 2);
|
|
86
89
|
DSADownloadLink = __decorateClass([
|
|
87
90
|
customElement("dsa-download-link")
|
|
88
91
|
], DSADownloadLink);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
formatDateRange,
|
|
3
|
-
parseDateRange
|
|
4
|
-
} from "./chunk.BY3RW35M.js";
|
|
5
1
|
import {
|
|
6
2
|
FilterBase
|
|
7
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.BLOOH4O7.js";
|
|
8
4
|
import {
|
|
9
5
|
filter_date_styles_default
|
|
10
6
|
} from "./chunk.BNG3ZOCY.js";
|
|
7
|
+
import {
|
|
8
|
+
formatDateRange,
|
|
9
|
+
parseDateRange
|
|
10
|
+
} from "./chunk.BY3RW35M.js";
|
|
11
11
|
import {
|
|
12
12
|
getDateFromISO,
|
|
13
13
|
getISOFormattedDate,
|
|
@@ -278,6 +278,7 @@ var DSAFilterDate = class extends FilterBase {
|
|
|
278
278
|
description=${this.getDescriptionText("calendarButton")}
|
|
279
279
|
?disabled=${this.disabled || this.readonly}
|
|
280
280
|
@mousedown=${this.handleFilterTriggerMouseDown}
|
|
281
|
+
library="system"
|
|
281
282
|
>
|
|
282
283
|
</dsa-icon-button>
|
|
283
284
|
</fieldset>
|
|
@@ -310,7 +311,7 @@ var DSAFilterDate = class extends FilterBase {
|
|
|
310
311
|
@click=${this.handleReset}
|
|
311
312
|
?disabled=${this.value === ""}
|
|
312
313
|
>
|
|
313
|
-
<dsa-icon name="restart_alt" slot="prefix"></dsa-icon>
|
|
314
|
+
<dsa-icon name="restart_alt" slot="prefix" library="system"></dsa-icon>
|
|
314
315
|
${this.localize.term("filterReset")}
|
|
315
316
|
</dsa-button>
|
|
316
317
|
</div>
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk.EMIT7S33.js";
|
|
7
7
|
import {
|
|
8
8
|
LocalizeController
|
|
9
|
-
} from "./chunk.
|
|
9
|
+
} from "./chunk.4ZYXTXB5.js";
|
|
10
10
|
import {
|
|
11
11
|
watch
|
|
12
12
|
} from "./chunk.6IH66JBY.js";
|
|
@@ -187,7 +187,7 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
187
187
|
this.tabs.map((el) => {
|
|
188
188
|
const isActive = el === this.activeTab;
|
|
189
189
|
el.active = isActive;
|
|
190
|
-
el.
|
|
190
|
+
el.tabIndex = isActive ? 0 : -1;
|
|
191
191
|
return el;
|
|
192
192
|
});
|
|
193
193
|
this.panels.map((el) => {
|
|
@@ -258,9 +258,9 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
258
258
|
this.panels = this.getAllPanels();
|
|
259
259
|
let activeIndex = -1;
|
|
260
260
|
this.tabs.forEach((tab, index) => {
|
|
261
|
-
tab.
|
|
261
|
+
tab.tabIndex = -1;
|
|
262
262
|
if (tab.active) {
|
|
263
|
-
tab.
|
|
263
|
+
tab.tabIndex = 0;
|
|
264
264
|
activeIndex = index;
|
|
265
265
|
}
|
|
266
266
|
});
|
|
@@ -318,6 +318,7 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
318
318
|
name=${isRtl ? "chevron_right" : "chevron_left"}
|
|
319
319
|
label=${this.localize.term("scrollToStart")}
|
|
320
320
|
@click=${this.handleScrollToStart}
|
|
321
|
+
library="system"
|
|
321
322
|
></dsa-icon-button>
|
|
322
323
|
` : ""}
|
|
323
324
|
|
|
@@ -339,6 +340,7 @@ var DSATabGroup = class extends ShoelaceElement {
|
|
|
339
340
|
name=${isRtl ? "chevron_left" : "chevron_right"}
|
|
340
341
|
label=${this.localize.term("scrollToEnd")}
|
|
341
342
|
@click=${this.handleScrollToEnd}
|
|
343
|
+
library="system"
|
|
342
344
|
></dsa-icon-button>
|
|
343
345
|
` : ""}
|
|
344
346
|
</div>
|
|
@@ -38,7 +38,9 @@ var translation = {
|
|
|
38
38
|
stepError: "\xC9tape en erreur",
|
|
39
39
|
skipLinksAriaLabel: `Liens d'acc\xE8s rapide`,
|
|
40
40
|
errorMessagePanelCodePrefix: "Code d'erreur: ",
|
|
41
|
-
fileSelect: (multiple) => {
|
|
41
|
+
fileSelect: (directory, multiple) => {
|
|
42
|
+
if (directory)
|
|
43
|
+
return "S\xE9lect. dossier";
|
|
42
44
|
if (multiple)
|
|
43
45
|
return "S\xE9lect. fichiers";
|
|
44
46
|
return "Choisir un fichier";
|
|
@@ -193,7 +195,9 @@ var translation2 = {
|
|
|
193
195
|
stepError: "Step in error",
|
|
194
196
|
skipLinksAriaLabel: `Skip links`,
|
|
195
197
|
errorMessagePanelCodePrefix: "Error code: ",
|
|
196
|
-
fileSelect: (multiple) => {
|
|
198
|
+
fileSelect: (directory, multiple) => {
|
|
199
|
+
if (directory)
|
|
200
|
+
return "Select a directory";
|
|
197
201
|
if (multiple)
|
|
198
202
|
return "Select files";
|
|
199
203
|
return "Choose a file";
|