@ds-autonomie/web-components 1.7.0 → 1.9.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 +31 -0
- package/dist/chunks/{chunk.Y5M7ZKHX.js → chunk.27JQOQHL.js} +61 -5
- package/dist/chunks/{chunk.AQC66RY2.js → chunk.2AEUQXKH.js} +18 -1
- package/dist/chunks/chunk.2CCVOCSE.js +66 -0
- package/dist/chunks/chunk.2TCYCYJQ.js +187 -0
- package/dist/chunks/chunk.3BOLT7UM.js +168 -0
- package/dist/chunks/{chunk.NIYQMA5Y.js → chunk.3EDVQPST.js} +1 -1
- package/dist/chunks/chunk.47IWI2IO.js +51 -0
- package/dist/chunks/{chunk.YDCBGMSA.js → chunk.4Z3LVWYW.js} +51 -3
- package/dist/chunks/chunk.5L7UO75X.js +17 -0
- package/dist/chunks/{chunk.5MXBL3PY.js → chunk.5QYMKLPJ.js} +1 -1
- package/dist/chunks/{chunk.SL4M42DS.js → chunk.5X3ZLYWR.js} +2 -2
- package/dist/chunks/chunk.65HTBW2L.js +31 -0
- package/dist/chunks/{chunk.5KOTVDN5.js → chunk.66WACVGP.js} +13 -2
- package/dist/chunks/{chunk.HXH4JLAN.js → chunk.6RX5APL3.js} +1 -1
- package/dist/chunks/{chunk.FKKOUYXE.js → chunk.74YBAWFQ.js} +2 -2
- package/dist/chunks/{chunk.XVDH3KHQ.js → chunk.7KYHO6CO.js} +4 -2
- package/dist/chunks/chunk.7NRLP2GK.js +172 -0
- package/dist/chunks/{chunk.5LSEWF5M.js → chunk.7PEABCEV.js} +1 -1
- package/dist/chunks/{chunk.EBCLOXNV.js → chunk.7ZBFOFLF.js} +2 -2
- package/dist/chunks/{chunk.X6ZGA6WS.js → chunk.A5II52AY.js} +20 -6
- package/dist/chunks/chunk.AFFFEIW7.js +154 -0
- package/dist/chunks/chunk.AHPXKIVU.js +24 -0
- package/dist/chunks/{chunk.D5MIBH2P.js → chunk.B3VBH7AS.js} +44 -178
- package/dist/chunks/chunk.BFG2T6XK.js +76 -0
- package/dist/chunks/{chunk.QBPZ6I5Q.js → chunk.BMSQX3ZA.js} +134 -118
- package/dist/chunks/{chunk.IFXLU6P3.js → chunk.BVRGK5ZO.js} +27 -4
- package/dist/chunks/{chunk.MCMUWBT5.js → chunk.BWQBVIRR.js} +6 -1
- package/dist/chunks/{chunk.RC2LGXYT.js → chunk.CFTA3QKA.js} +1 -1
- package/dist/chunks/chunk.CHKVYEHB.js +53 -0
- package/dist/chunks/{chunk.L5HKY6WB.js → chunk.CPEI3G7E.js} +4 -4
- package/dist/chunks/{chunk.IAKOROM4.js → chunk.CURRLKGD.js} +1 -1
- package/dist/chunks/{chunk.R5PR2MDK.js → chunk.CW4YJC4U.js} +1 -1
- package/dist/chunks/{chunk.GXQ7CTJX.js → chunk.D2VOYAK5.js} +9 -3
- package/dist/chunks/{chunk.4ABNA6LY.js → chunk.DAQJDIFW.js} +1 -1
- package/dist/chunks/{chunk.B6CXFMFM.js → chunk.DJDCH3MP.js} +1 -1
- package/dist/chunks/{chunk.ZC74GTBL.js → chunk.DX25IW4S.js} +0 -4
- package/dist/chunks/{chunk.2PVIV5ZH.js → chunk.EETYUDWR.js} +20 -4
- package/dist/chunks/chunk.EFCI6CBB.js +168 -0
- package/dist/chunks/chunk.ESYJVRG3.js +129 -0
- package/dist/chunks/chunk.FWOMF5BY.js +23 -0
- package/dist/chunks/{chunk.AJ4QV4YB.js → chunk.G2S6QEJM.js} +2 -2
- package/dist/chunks/{chunk.ZR7AGQFC.js → chunk.GOSPYXFS.js} +6 -9
- package/dist/chunks/chunk.H4XXY6QB.js +73 -0
- package/dist/chunks/{chunk.PZTXAAW2.js → chunk.H7OOLAC7.js} +1 -1
- package/dist/chunks/chunk.HAJSA7VP.js +53 -0
- package/dist/chunks/chunk.HB7A2UQ7.js +16 -0
- package/dist/chunks/chunk.HW4HC4GP.js +61 -0
- package/dist/chunks/{chunk.CWMR6PEK.js → chunk.HXWTBL6A.js} +1 -1
- package/dist/chunks/{chunk.Z2QW2HUR.js → chunk.ICD5HBUY.js} +5 -2
- package/dist/chunks/{chunk.LSECPSSR.js → chunk.IDMVVAVX.js} +1 -1
- package/dist/chunks/{chunk.K2ICEURU.js → chunk.IEBTPGUT.js} +16 -2
- package/dist/chunks/{chunk.Z6TBD2AC.js → chunk.INLQD4SQ.js} +1 -2
- package/dist/chunks/{chunk.CJIL3BLA.js → chunk.JJ67JVYV.js} +2 -0
- package/dist/chunks/{chunk.7FSWPNRP.js → chunk.KAXMDDPV.js} +1 -1
- package/dist/chunks/chunk.KUC4IPNW.js +229 -0
- package/dist/chunks/{chunk.UTAUMIPE.js → chunk.LG4WLLQM.js} +1 -1
- package/dist/chunks/chunk.LJ7Y3MBX.js +26 -0
- package/dist/chunks/{chunk.5T654YBW.js → chunk.MHEF6WDT.js} +1 -1
- package/dist/chunks/{chunk.ZQQCFKOX.js → chunk.MMHCJ5DA.js} +1 -1
- package/dist/chunks/chunk.N5UMZAXE.js +264 -0
- package/dist/chunks/chunk.N7H2OIPT.js +82 -0
- package/dist/chunks/{chunk.7PKGNYXP.js → chunk.NZK7MHS3.js} +22 -1
- package/dist/chunks/{chunk.AXG2LFB3.js → chunk.O3TGEE3I.js} +2 -1
- package/dist/chunks/chunk.ONIFK4NH.js +156 -0
- package/dist/chunks/{chunk.YZ66DKLU.js → chunk.OQ2AY2BC.js} +1 -1
- package/dist/chunks/chunk.OSR4H2UW.js +17 -0
- package/dist/chunks/{chunk.KG6MIENB.js → chunk.OXPE4AH7.js} +1 -1
- package/dist/chunks/chunk.OZWZRPR2.js +56 -0
- package/dist/chunks/{chunk.WGN7OZLZ.js → chunk.P6TKBTE3.js} +3 -2
- package/dist/chunks/chunk.PFGVYROJ.js +26 -0
- package/dist/chunks/{chunk.GS7HSU6O.js → chunk.POJ5NHBX.js} +1 -1
- package/dist/chunks/{chunk.XRHDURFE.js → chunk.Q255SJAB.js} +1 -1
- package/dist/chunks/chunk.R4Y6XOHR.js +99 -0
- package/dist/chunks/chunk.RB5YRDTE.js +77 -0
- package/dist/chunks/{chunk.TFMB54OO.js → chunk.RFLSIZXC.js} +1 -1
- package/dist/chunks/{chunk.PQD7VKIK.js → chunk.RZ3LYIA4.js} +4 -4
- package/dist/chunks/{chunk.RBJL56T2.js → chunk.S7OQV6LL.js} +1 -1
- package/dist/chunks/chunk.S7VHPQOI.js +239 -0
- package/dist/chunks/chunk.T7VLQ7RI.js +19 -0
- package/dist/chunks/{chunk.ZCKAXIC4.js → chunk.TUWCKMLU.js} +2 -2
- package/dist/chunks/chunk.TWRM2VNQ.js +131 -0
- package/dist/chunks/{chunk.PCJUYERL.js → chunk.UVCXXEVO.js} +1 -1
- package/dist/chunks/{chunk.7RMRIPUN.js → chunk.UXKJPQ6X.js} +1 -1
- package/dist/chunks/{chunk.GENB7E6Z.js → chunk.UXXDCLQD.js} +1 -1
- package/dist/chunks/chunk.V5O2GRVM.js +45 -0
- package/dist/chunks/{chunk.EKWYMXQO.js → chunk.VNAE4DJZ.js} +1 -0
- package/dist/chunks/{chunk.RXBDBWWT.js → chunk.VWZFYMC7.js} +6 -0
- package/dist/chunks/{chunk.ADVUEL4K.js → chunk.WNODOQAI.js} +1 -1
- package/dist/chunks/chunk.XM5ZLNIT.js +32 -0
- package/dist/chunks/chunk.YA5XTUZW.js +76 -0
- package/dist/chunks/{chunk.R4PCVUXB.js → chunk.YAF5P5CP.js} +36 -10
- package/dist/chunks/chunk.YDZQSSJE.js +77 -0
- package/dist/components/accordion/accordion.js +6 -5
- package/dist/components/alert/alert.js +9 -8
- package/dist/components/alert/alert.styles.js +1 -1
- package/dist/components/avatar/avatar.js +4 -4
- package/dist/components/badge/badge.d.ts +3 -0
- package/dist/components/badge/badge.js +3 -2
- package/dist/components/badge/badge.styles.js +1 -1
- package/dist/components/breadcrumb/breadcrumb.js +6 -5
- package/dist/components/breadcrumb-item/breadcrumb-item.js +3 -2
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/button/button.js +7 -6
- package/dist/components/checkbox/checkbox.d.ts +5 -0
- package/dist/components/checkbox/checkbox.js +7 -6
- package/dist/components/checkbox/checkbox.styles.js +2 -2
- package/dist/components/checkbox-button/checkbox-button.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.d.ts +4 -0
- package/dist/components/checkbox-group/checkbox-group.js +3 -3
- package/dist/components/checkbox-group/checkbox-group.styles.js +2 -2
- package/dist/components/combobox/combobox.d.ts +0 -1
- package/dist/components/combobox/combobox.js +12 -11
- package/dist/components/combobox/combobox.styles.js +2 -2
- package/dist/components/dialog/dialog.js +8 -7
- package/dist/components/download-card/download-card.js +3 -3
- package/dist/components/download-link/download-link.js +3 -3
- package/dist/components/drawer/drawer.js +8 -7
- package/dist/components/dropdown/dropdown.js +3 -2
- package/dist/components/error-message-panel/error-message-panel.js +3 -2
- package/dist/components/file-upload/file-upload.js +3 -3
- package/dist/components/file-upload/file-upload.styles.js +2 -2
- package/dist/components/footer-sitemap-item/footer-sitemap-item.js +1 -1
- package/dist/components/format-bytes/format-bytes.js +3 -2
- package/dist/components/format-date/format-date.js +3 -2
- package/dist/components/format-number/format-number.js +3 -2
- package/dist/components/header/header.assets.d.ts +2 -0
- package/dist/components/header/header.assets.js +9 -0
- package/dist/components/header/header.d.ts +37 -0
- package/dist/components/header/header.js +17 -0
- package/dist/components/header/header.styles.d.ts +2 -0
- package/dist/components/header/header.styles.js +8 -0
- package/dist/components/header-external-link/header-external-link.d.ts +18 -0
- package/dist/components/header-external-link/header-external-link.js +9 -0
- package/dist/components/header-external-link/header-external-link.style.d.ts +2 -0
- package/dist/components/header-external-link/header-external-link.style.js +18 -0
- package/dist/components/header-search/header-search.d.ts +45 -0
- package/dist/components/header-search/header-search.js +12 -0
- package/dist/components/header-search/header-search.styles.d.ts +2 -0
- package/dist/components/header-search/header-search.styles.js +8 -0
- package/dist/components/icon/icon.js +3 -3
- package/dist/components/icon-button/icon-button.d.ts +4 -1
- package/dist/components/icon-button/icon-button.js +5 -5
- package/dist/components/icon-button/icon-button.styles.js +1 -1
- package/dist/components/input/input.js +8 -7
- package/dist/components/input/input.styles.js +2 -2
- package/dist/components/input-mask/input-mask.js +5 -4
- package/dist/components/input-mask/input-mask.styles.js +2 -2
- package/dist/components/input-phone/input-phone.configs.d.ts +4 -3
- package/dist/components/input-phone/input-phone.configs.js +3 -3
- package/dist/components/input-phone/input-phone.d.ts +8 -8
- package/dist/components/input-phone/input-phone.js +19 -18
- package/dist/components/input-phone/input-phone.styles.js +2 -2
- package/dist/components/input-phone/input-phone.utils.d.ts +3 -3
- package/dist/components/input-phone/input-phone.utils.js +5 -5
- package/dist/components/menu-item/menu-item.js +3 -3
- package/dist/components/option/option.js +6 -5
- package/dist/components/pagination/pagination.d.ts +33 -0
- package/dist/components/pagination/pagination.js +38 -0
- package/dist/components/pagination/pagination.styles.d.ts +2 -0
- package/dist/components/pagination/pagination.styles.js +8 -0
- package/dist/components/pagination-button/pagination-button.d.ts +27 -0
- package/dist/components/pagination-button/pagination-button.js +12 -0
- package/dist/components/pagination-button/pagination-button.styles.d.ts +2 -0
- package/dist/components/pagination-button/pagination-button.styles.js +9 -0
- package/dist/components/progress-bar/progress-bar.js +3 -2
- package/dist/components/radio/radio.js +5 -5
- package/dist/components/radio/radio.styles.js +1 -1
- package/dist/components/radio-group/radio-group.d.ts +4 -0
- package/dist/components/radio-group/radio-group.js +4 -3
- package/dist/components/radio-group/radio-group.styles.js +2 -2
- package/dist/components/relative-time/relative-time.js +3 -2
- package/dist/components/select/select.js +11 -10
- package/dist/components/select/select.styles.js +2 -2
- package/dist/components/skeleton/skeleton.d.ts +1 -0
- package/dist/components/skeleton/skeleton.js +5 -3
- package/dist/components/skip-link-item/skip-link-item.d.ts +1 -0
- package/dist/components/skip-link-item/skip-link-item.js +1 -1
- package/dist/components/skip-links/skip-links.d.ts +0 -6
- package/dist/components/skip-links/skip-links.js +2 -2
- package/dist/components/skip-links/skip-links.styles.js +1 -1
- package/dist/components/spinner/spinner.js +3 -2
- package/dist/components/step/step.js +7 -6
- package/dist/components/tab/tab.js +3 -2
- package/dist/components/tab-group/tab-group.js +3 -2
- package/dist/components/table/defs.d.ts +6 -0
- package/dist/components/table/defs.js +9 -0
- package/dist/components/table/table-body/table-body.d.ts +24 -0
- package/dist/components/table/table-body/table-body.js +14 -0
- package/dist/components/table/table-body/table-body.styles.d.ts +2 -0
- package/dist/components/table/table-body/table-body.styles.js +8 -0
- package/dist/components/table/table-caption/table-caption.d.ts +25 -0
- package/dist/components/table/table-caption/table-caption.js +17 -0
- package/dist/components/table/table-caption/table-caption.styles.d.ts +2 -0
- package/dist/components/table/table-caption/table-caption.styles.js +8 -0
- package/dist/components/table/table-cell/table-cell.d.ts +23 -0
- package/dist/components/table/table-cell/table-cell.js +14 -0
- package/dist/components/table/table-cell/table-cell.styles.d.ts +2 -0
- package/dist/components/table/table-cell/table-cell.styles.js +8 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.d.ts +17 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.js +47 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.styles.d.ts +2 -0
- package/dist/components/table/table-expanded-row/table-expanded-row.styles.js +8 -0
- package/dist/components/table/table-head/table-head.d.ts +24 -0
- package/dist/components/table/table-head/table-head.js +14 -0
- package/dist/components/table/table-head/table-head.styles.d.ts +2 -0
- package/dist/components/table/table-head/table-head.styles.js +8 -0
- package/dist/components/table/table-header-cell/table-header-cell.d.ts +51 -0
- package/dist/components/table/table-header-cell/table-header-cell.js +18 -0
- package/dist/components/table/table-header-cell/table-header-cell.styles.d.ts +2 -0
- package/dist/components/table/table-header-cell/table-header-cell.styles.js +8 -0
- package/dist/components/table/table-header-row/table-header-row.d.ts +19 -0
- package/dist/components/table/table-header-row/table-header-row.js +15 -0
- package/dist/components/table/table-header-row/table-header-row.styles.d.ts +2 -0
- package/dist/components/table/table-header-row/table-header-row.styles.js +8 -0
- package/dist/components/table/table-row/table-row.d.ts +70 -0
- package/dist/components/table/table-row/table-row.js +13 -0
- package/dist/components/table/table-row/table-row.styles.d.ts +2 -0
- package/dist/components/table/table-row/table-row.styles.js +8 -0
- package/dist/components/table/table.d.ts +52 -0
- package/dist/components/table/table.js +11 -0
- package/dist/components/table/table.styles.d.ts +2 -0
- package/dist/components/table/table.styles.js +8 -0
- package/dist/components/table/types.d.ts +5 -0
- package/dist/components/table/types.js +12 -0
- package/dist/components/table-container/table-container.d.ts +19 -0
- package/dist/components/table-container/table-container.js +12 -0
- package/dist/components/table-container/table-container.styles.d.ts +2 -0
- package/dist/components/table-container/table-container.styles.js +8 -0
- package/dist/components/tag/tag.d.ts +2 -0
- package/dist/components/tag/tag.js +8 -7
- package/dist/components/textarea/textarea.js +3 -3
- package/dist/components/textarea/textarea.styles.js +2 -2
- package/dist/components/tooltip/tooltip.js +3 -2
- package/dist/components/tree/tree.js +13 -11
- package/dist/components/tree-item/tree-item.js +12 -10
- package/dist/components/tree-item/tree-item.styles.js +1 -1
- package/dist/custom-elements.json +10246 -7327
- package/dist/design-system.d.ts +14 -0
- package/dist/design-system.js +165 -92
- package/dist/events/dsa-page-change.d.ts +9 -0
- package/dist/events/dsa-page-change.js +1 -0
- package/dist/events/dsa-submit.d.ts +7 -0
- package/dist/events/dsa-submit.js +1 -0
- package/dist/events/dsa-table-header-cell-sort.d.ts +11 -0
- package/dist/events/dsa-table-header-cell-sort.js +1 -0
- package/dist/events/dsa-table-row-all-change-selection.d.ts +7 -0
- package/dist/events/dsa-table-row-all-change-selection.js +1 -0
- package/dist/events/dsa-table-row-all-selected.d.ts +10 -0
- package/dist/events/dsa-table-row-all-selected.js +1 -0
- package/dist/events/dsa-table-row-change-selection.d.ts +7 -0
- package/dist/events/dsa-table-row-change-selection.js +1 -0
- package/dist/events/dsa-table-row-click.d.ts +7 -0
- package/dist/events/dsa-table-row-click.js +1 -0
- package/dist/events/dsa-table-row-expand-change.d.ts +7 -0
- package/dist/events/dsa-table-row-expand-change.js +1 -0
- package/dist/events/dsa-table-row-selected.d.ts +11 -0
- package/dist/events/dsa-table-row-selected.js +1 -0
- package/dist/events/events.d.ts +8 -0
- package/dist/internal/components/button-group/button-group.js +1 -1
- package/dist/internal/loading-state-element.d.ts +7 -0
- package/dist/internal/loading-state-element.js +23 -0
- package/dist/styles/form-control.styles.js +2 -1
- package/dist/themes/dsa-wc-theme.css +116 -3
- package/dist/themes/dsa-wc-theme.min.css +1 -1
- package/dist/themes/dsa-wc-theme.styles.js +124 -3
- package/dist/translations/en-gb.js +2 -1
- package/dist/translations/en.js +2 -1
- package/dist/translations/fr.js +2 -1
- package/dist/utilities/localize.d.ts +20 -0
- package/dist/utilities/localize.js +2 -1
- package/dist/utilities/storybook.d.ts +1 -0
- package/dist/utilities/storybook.js +12 -0
- package/dist/vscode.html-custom-data.json +649 -273
- package/dist/web-types.json +3949 -2399
- package/package.json +1 -1
- package/dist/chunks/chunk.6ZQ4OQ2C.js +0 -51
- package/dist/chunks/chunk.CHM74JXS.js +0 -74
- package/dist/chunks/chunk.UCJGKOXX.js +0 -10
- package/dist/chunks/{chunk.JOIYVWUG.js → chunk.5MB36CJO.js} +1 -1
- package/dist/chunks/{chunk.V7MYOBN4.js → chunk.QZTW3WMM.js} +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# @ds-autonomie/web-components
|
|
2
2
|
|
|
3
|
+
## 1.9.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- e92bccf: `table-row`, `table-header-row`, `table`: ajout de la sélection d'une ligne d'un tableau.
|
|
8
|
+
`checkbox`: ajout de l'attribut aria-label
|
|
9
|
+
- 25b9f28: `table`, `table-row`, `table-header-row`, `table-expanded-row`: ajout des lignes extensibles au tableau avec l'implémentation du composant `table-expanded-row`.
|
|
10
|
+
- e8b7577: `input-phone` : possibilité d'ajouter un préfix, ajout de codes pays manquant
|
|
11
|
+
- e4a68f5: `badge`, `button`, `icon-button` : ajout d'un attribut `size` au composant badge, et possibilité d'ajouter un badge dans les composants `button` et `icon-button`
|
|
12
|
+
- 26b01fe: `header`, `header-search`, `header-external-link` : ajout du composant en-tête
|
|
13
|
+
- 1348674: `table-container`, `table-caption`, `table-head`, `table-body`, `pagination` : ajout d'un état de chargement pour les éléments du tableau
|
|
14
|
+
- 16a8418: `table-row`, `table-header-row`: ajout d'un évènement au clique sur une ligne du tableau.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- fc4187a: `table-header-cell` : ajout du nom de la colonne à l'attribut aria-label du bouton de tri
|
|
19
|
+
- b35d5fb: `skip-links` : support des `href` dynamiques
|
|
20
|
+
|
|
21
|
+
## 1.8.0
|
|
22
|
+
|
|
23
|
+
### Minor Changes
|
|
24
|
+
|
|
25
|
+
- 528b8e9: `button`: ajout de l'attribut `aria-label` au composant button
|
|
26
|
+
- 30065d7: `table-caption`: implémentation du composant titre d'un tableau
|
|
27
|
+
- 72bf5d4: `icon-button` : ajout d'un attribut `size`
|
|
28
|
+
- 964b78a: `radio`, `checkbox`, `radio-group`, `checkbox-group` : ajout d'un attribut readonly
|
|
29
|
+
- 2e3fbdb: `table`, `table-header-cell`: ajout de la fonctionnalité de tri sur les composants `table` et `table-header-cell`
|
|
30
|
+
- d60a66a: `pagination` : ajout du composant pagination
|
|
31
|
+
- f2db84c: `table-container`: implémentation du composant table-container
|
|
32
|
+
- 5ceccb1: `table`, `table-row`, `table-cell`, `table-head`, `table-body`, `table-header-cell`, `table-header-row`: implémentation du composant `table` et de ses sous-composants
|
|
33
|
+
|
|
3
34
|
## 1.7.0
|
|
4
35
|
|
|
5
36
|
### Minor Changes
|
|
@@ -51,12 +51,40 @@ var translation = {
|
|
|
51
51
|
},
|
|
52
52
|
clearFile: "Retirer le fichier",
|
|
53
53
|
uploadFileProgressBar: "Barre de progression pour le t\xE9l\xE9chargement de fichiers",
|
|
54
|
-
|
|
54
|
+
pagination: "Pagination",
|
|
55
|
+
paginationResults: (from, to, total) => `${from}-${to} sur ${total} r\xE9sultats`,
|
|
56
|
+
paginationResultsAriaLabel: (from, to, total) => `Affichage de ${from} \xE0 ${to} sur ${total} r\xE9sultats`,
|
|
57
|
+
linesPerPage: "Lignes par page",
|
|
58
|
+
page: "page",
|
|
59
|
+
ofTotal: (total) => `sur ${total}`,
|
|
60
|
+
previousPage: "Page pr\xE9c\xE9dente",
|
|
61
|
+
nextPage: "Page suivante",
|
|
62
|
+
nextSortDirection: (direction, label) => {
|
|
63
|
+
switch (direction) {
|
|
64
|
+
case "ascending" /* ASCENDING */:
|
|
65
|
+
return `${label}, activer pour trier vers le haut`;
|
|
66
|
+
case "descending" /* DESCENDING */:
|
|
67
|
+
return `${label}, activer pour trier vers le bas`;
|
|
68
|
+
default:
|
|
69
|
+
return `${label}`;
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
results: "r\xE9sultats",
|
|
73
|
+
goToHomepage: "Aller \xE0 la page d'accueil",
|
|
74
|
+
search: "Rechercher",
|
|
75
|
+
cancel: "Annuler",
|
|
76
|
+
showExpandedTableRow: "Afficher d\xE9tails",
|
|
77
|
+
hideExpandedTableRow: "Masquer d\xE9tails",
|
|
78
|
+
// countries and regions
|
|
55
79
|
fr_FR: "France",
|
|
56
|
-
fr_GP: "Guadeloupe",
|
|
80
|
+
fr_GP: "Guadeloupe, Saint-Barth\xE9lemy et Saint-Martin",
|
|
57
81
|
fr_GF: "Guyane",
|
|
58
82
|
fr_MQ: "Martinique",
|
|
59
|
-
|
|
83
|
+
fr_NC: "Nouvelle-Cal\xE9donie",
|
|
84
|
+
fr_PF: "Polyn\xE9sie fran\xE7aise",
|
|
85
|
+
fr_PM: "Saint-Pierre-et-Miquelon",
|
|
86
|
+
fr_RE: "R\xE9union et Mayotte",
|
|
87
|
+
fr_WF: "Wallis-et-Futuna"
|
|
60
88
|
};
|
|
61
89
|
registerTranslation(translation);
|
|
62
90
|
var fr_default = translation;
|
|
@@ -116,12 +144,40 @@ var translation2 = {
|
|
|
116
144
|
},
|
|
117
145
|
clearFile: "Remove file",
|
|
118
146
|
uploadFileProgressBar: "Upload file progress bar",
|
|
119
|
-
|
|
147
|
+
pagination: "Pagination",
|
|
148
|
+
paginationResults: (from, to, total) => `${from}-${to} of ${total} results`,
|
|
149
|
+
paginationResultsAriaLabel: (from, to, total) => `Showing ${from} to ${to} of ${total} results`,
|
|
150
|
+
linesPerPage: "Lines per page",
|
|
151
|
+
page: "page",
|
|
152
|
+
ofTotal: (total) => `of ${total}`,
|
|
153
|
+
previousPage: "Previous page",
|
|
154
|
+
nextPage: "Next page",
|
|
155
|
+
nextSortDirection: (direction, label) => {
|
|
156
|
+
switch (direction) {
|
|
157
|
+
case "ascending" /* ASCENDING */:
|
|
158
|
+
return `${label}, activate to sort upwards`;
|
|
159
|
+
case "descending" /* DESCENDING */:
|
|
160
|
+
return `${label}, activate to sort downwards`;
|
|
161
|
+
default:
|
|
162
|
+
return `${label}`;
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
results: "results",
|
|
166
|
+
goToHomepage: "Go to Homepage",
|
|
167
|
+
search: "Search",
|
|
168
|
+
cancel: "Cancel",
|
|
169
|
+
showExpandedTableRow: "Show details",
|
|
170
|
+
hideExpandedTableRow: "Hide details",
|
|
171
|
+
// countries and regions
|
|
120
172
|
fr_FR: "France",
|
|
121
173
|
fr_GP: "Guadeloupe",
|
|
122
174
|
fr_GF: "Guiana",
|
|
123
175
|
fr_MQ: "Martinique",
|
|
124
|
-
|
|
176
|
+
fr_NC: "New Caledonia",
|
|
177
|
+
fr_PF: "French Polynesia",
|
|
178
|
+
fr_PM: "Saint-Pierre-et-Miquelon",
|
|
179
|
+
fr_RE: "R\xE9union and Mayotte",
|
|
180
|
+
fr_WF: "Wallis and Futuna"
|
|
125
181
|
};
|
|
126
182
|
registerTranslation(translation2);
|
|
127
183
|
var en_default = translation2;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
form_control_styles_default
|
|
3
|
-
} from "./chunk.
|
|
3
|
+
} from "./chunk.O3TGEE3I.js";
|
|
4
4
|
import {
|
|
5
5
|
component_styles_default
|
|
6
6
|
} from "./chunk.TUVJKY7S.js";
|
|
@@ -275,6 +275,23 @@ var input_styles_default = css`
|
|
|
275
275
|
::-ms-reveal {
|
|
276
276
|
display: none;
|
|
277
277
|
}
|
|
278
|
+
|
|
279
|
+
/* Pagination page number input */
|
|
280
|
+
:host(.pagination__input) input {
|
|
281
|
+
padding-inline: var(--dsa-spacing-4);
|
|
282
|
+
text-align: center;
|
|
283
|
+
}
|
|
284
|
+
/* Hide the browser's up and down arrow in input number for the pagination on mobile */
|
|
285
|
+
@media screen and (max-width: 420px) {
|
|
286
|
+
:host(.pagination__input) input::-webkit-outer-spin-button,
|
|
287
|
+
input::-webkit-inner-spin-button {
|
|
288
|
+
-webkit-appearance: none;
|
|
289
|
+
margin: 0;
|
|
290
|
+
}
|
|
291
|
+
input[type='number'] {
|
|
292
|
+
-moz-appearance: textfield;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
278
295
|
`;
|
|
279
296
|
|
|
280
297
|
export {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/table/table-caption/table-caption.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var table_caption_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: block;
|
|
12
|
+
text-align: left;
|
|
13
|
+
padding: var(--dsa-spacing-8);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:host ::slotted(*) {
|
|
17
|
+
margin: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
:host ::slotted(*:not(:first-child)) {
|
|
21
|
+
margin-top: var(--dsa-spacing-8);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[part~='title']::slotted(*) {
|
|
25
|
+
font: var(--dsa-font-large-bold);
|
|
26
|
+
color: var(--dsa-color-text-on-base-primary);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
[part~='subtitle']::slotted(*) {
|
|
30
|
+
font: var(--dsa-font-small-normal);
|
|
31
|
+
color: var(--dsa-color-text-on-base-primary);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
[part~='total-items'] {
|
|
35
|
+
display: none;
|
|
36
|
+
margin: 0px;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.has-total-items {
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: baseline;
|
|
42
|
+
gap: var(--dsa-spacing-4);
|
|
43
|
+
font: var(--dsa-font-small-bold);
|
|
44
|
+
color: var(--dsa-color-primitives-neutral-650);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
[part~='total-item--indicator'] {
|
|
48
|
+
font: var(--dsa-font-x-small-normal);
|
|
49
|
+
color: var(--dsa-color-text-on-base-secondary);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/* Skeletons */
|
|
53
|
+
dsa-skeleton {
|
|
54
|
+
margin-top: var(--dsa-spacing-8);
|
|
55
|
+
}
|
|
56
|
+
.subtitle-skeleton {
|
|
57
|
+
max-width: 140px;
|
|
58
|
+
}
|
|
59
|
+
.total-items-skeleton {
|
|
60
|
+
max-width: 76px;
|
|
61
|
+
}
|
|
62
|
+
`;
|
|
63
|
+
|
|
64
|
+
export {
|
|
65
|
+
table_caption_styles_default
|
|
66
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import {
|
|
2
|
+
table_row_styles_default
|
|
3
|
+
} from "./chunk.N7H2OIPT.js";
|
|
4
|
+
import {
|
|
5
|
+
LocalizeController
|
|
6
|
+
} from "./chunk.27JQOQHL.js";
|
|
7
|
+
import {
|
|
8
|
+
watch
|
|
9
|
+
} from "./chunk.6IH66JBY.js";
|
|
10
|
+
import {
|
|
11
|
+
ShoelaceElement
|
|
12
|
+
} from "./chunk.YCXTCVAZ.js";
|
|
13
|
+
import {
|
|
14
|
+
__decorateClass
|
|
15
|
+
} from "./chunk.6M63UXML.js";
|
|
16
|
+
|
|
17
|
+
// src/components/table/table-row/table-row.ts
|
|
18
|
+
import { html } from "lit";
|
|
19
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
20
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
21
|
+
var DSATableRow = class extends ShoelaceElement {
|
|
22
|
+
constructor() {
|
|
23
|
+
super(...arguments);
|
|
24
|
+
this.localize = new LocalizeController(this);
|
|
25
|
+
this.showExpandButton = false;
|
|
26
|
+
this.role = "row";
|
|
27
|
+
this.size = "medium";
|
|
28
|
+
this.selected = false;
|
|
29
|
+
this.expandable = false;
|
|
30
|
+
this.expanded = false;
|
|
31
|
+
this.showExpandedLabel = "";
|
|
32
|
+
this.hideExpandedLabel = "";
|
|
33
|
+
this.selectionLabel = "";
|
|
34
|
+
this.selectionName = "";
|
|
35
|
+
this.selectionValue = "";
|
|
36
|
+
this.loading = false;
|
|
37
|
+
}
|
|
38
|
+
connectedCallback() {
|
|
39
|
+
super.connectedCallback();
|
|
40
|
+
this.handleRowClick = this.handleRowClick.bind(this);
|
|
41
|
+
this.handleCheckboxChange = this.handleCheckboxChange.bind(this);
|
|
42
|
+
this.addEventListener("click", this.handleRowClick);
|
|
43
|
+
}
|
|
44
|
+
disconnectedCallback() {
|
|
45
|
+
super.disconnectedCallback();
|
|
46
|
+
this.removeEventListener("click", this.handleRowClick);
|
|
47
|
+
}
|
|
48
|
+
handleRowClick() {
|
|
49
|
+
this.emit("dsa-table-row-click");
|
|
50
|
+
}
|
|
51
|
+
handleCheckboxChange(e) {
|
|
52
|
+
e.stopPropagation();
|
|
53
|
+
this.selected = this.checkbox.checked;
|
|
54
|
+
this.emit("dsa-table-row-change-selection");
|
|
55
|
+
}
|
|
56
|
+
renderFirstCell() {
|
|
57
|
+
return this.selectionName ? html`
|
|
58
|
+
<div role="cell" part="column-checkbox" aria-hidden=${this.loading}>
|
|
59
|
+
<div class="column-checkbox--content">
|
|
60
|
+
<dsa-checkbox
|
|
61
|
+
class="checkbox"
|
|
62
|
+
size="small"
|
|
63
|
+
name=${this.selectionName}
|
|
64
|
+
aria-label=${this.selectionLabel}
|
|
65
|
+
value=${this.selectionValue}
|
|
66
|
+
?checked=${this.selected}
|
|
67
|
+
@click=${(e) => e.stopPropagation()}
|
|
68
|
+
@dsa-change=${this.handleCheckboxChange}
|
|
69
|
+
?disabled=${this.loading}
|
|
70
|
+
></dsa-checkbox>
|
|
71
|
+
</div>
|
|
72
|
+
</div>
|
|
73
|
+
` : html``;
|
|
74
|
+
}
|
|
75
|
+
handleExpandClick(e) {
|
|
76
|
+
e.stopPropagation();
|
|
77
|
+
this.expanded = !this.expanded;
|
|
78
|
+
this.emit("dsa-table-row-expand-change");
|
|
79
|
+
}
|
|
80
|
+
renderExpandButton() {
|
|
81
|
+
const showExpandedLabel = this.showExpandedLabel !== "" ? this.showExpandedLabel : this.localize.term("showExpandedTableRow");
|
|
82
|
+
const hideExpandedLabel = this.hideExpandedLabel !== "" ? this.hideExpandedLabel : this.localize.term("hideExpandedTableRow");
|
|
83
|
+
return html`
|
|
84
|
+
<div
|
|
85
|
+
role="cell"
|
|
86
|
+
class=${classMap({
|
|
87
|
+
"column-expand-button": true,
|
|
88
|
+
"column-expand-button--has-icon": this.showExpandButton
|
|
89
|
+
})}
|
|
90
|
+
aria-hidden=${this.loading}
|
|
91
|
+
>
|
|
92
|
+
<dsa-icon-button
|
|
93
|
+
variant="default"
|
|
94
|
+
name="expand_more"
|
|
95
|
+
size="xlarge"
|
|
96
|
+
class=${classMap({
|
|
97
|
+
"expand-button": true,
|
|
98
|
+
"expand-button--expand-less": this.expanded
|
|
99
|
+
})}
|
|
100
|
+
label=${this.expanded ? hideExpandedLabel : showExpandedLabel}
|
|
101
|
+
@click=${this.handleExpandClick}
|
|
102
|
+
?disabled=${this.loading}
|
|
103
|
+
></dsa-icon-button>
|
|
104
|
+
</div>
|
|
105
|
+
`;
|
|
106
|
+
}
|
|
107
|
+
handleExpandableChange() {
|
|
108
|
+
var _a;
|
|
109
|
+
if (this.expandable && ((_a = this.nextElementSibling) == null ? void 0 : _a.matches(this.selectorExpandedRow))) {
|
|
110
|
+
this.showExpandButton = true;
|
|
111
|
+
} else {
|
|
112
|
+
this.showExpandButton = false;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
handleExpandedChange() {
|
|
116
|
+
var _a;
|
|
117
|
+
if ((_a = this.nextElementSibling) == null ? void 0 : _a.matches(this.selectorExpandedRow)) {
|
|
118
|
+
this.nextElementSibling.expanded = this.expanded;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
render() {
|
|
122
|
+
return html`
|
|
123
|
+
${this.renderFirstCell()}
|
|
124
|
+
<slot></slot>
|
|
125
|
+
${this.expandable ? this.renderExpandButton() : html``}
|
|
126
|
+
`;
|
|
127
|
+
}
|
|
128
|
+
get selectorExpandedRow() {
|
|
129
|
+
return "dsa-table-expanded-row";
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
DSATableRow.styles = table_row_styles_default;
|
|
133
|
+
__decorateClass([
|
|
134
|
+
query(".checkbox")
|
|
135
|
+
], DSATableRow.prototype, "checkbox", 2);
|
|
136
|
+
__decorateClass([
|
|
137
|
+
query(".expand-button")
|
|
138
|
+
], DSATableRow.prototype, "expandedButton", 2);
|
|
139
|
+
__decorateClass([
|
|
140
|
+
state()
|
|
141
|
+
], DSATableRow.prototype, "showExpandButton", 2);
|
|
142
|
+
__decorateClass([
|
|
143
|
+
property({ reflect: true })
|
|
144
|
+
], DSATableRow.prototype, "role", 2);
|
|
145
|
+
__decorateClass([
|
|
146
|
+
property({ reflect: true })
|
|
147
|
+
], DSATableRow.prototype, "size", 2);
|
|
148
|
+
__decorateClass([
|
|
149
|
+
property({ type: Boolean, reflect: true })
|
|
150
|
+
], DSATableRow.prototype, "selected", 2);
|
|
151
|
+
__decorateClass([
|
|
152
|
+
property({ type: Boolean, reflect: true })
|
|
153
|
+
], DSATableRow.prototype, "expandable", 2);
|
|
154
|
+
__decorateClass([
|
|
155
|
+
property({ type: Boolean, reflect: true })
|
|
156
|
+
], DSATableRow.prototype, "expanded", 2);
|
|
157
|
+
__decorateClass([
|
|
158
|
+
property({ attribute: "show-expanded-label" })
|
|
159
|
+
], DSATableRow.prototype, "showExpandedLabel", 2);
|
|
160
|
+
__decorateClass([
|
|
161
|
+
property({ attribute: "hide-expanded-label" })
|
|
162
|
+
], DSATableRow.prototype, "hideExpandedLabel", 2);
|
|
163
|
+
__decorateClass([
|
|
164
|
+
property({ attribute: "selection-label" })
|
|
165
|
+
], DSATableRow.prototype, "selectionLabel", 2);
|
|
166
|
+
__decorateClass([
|
|
167
|
+
property({ attribute: "selection-name", reflect: true })
|
|
168
|
+
], DSATableRow.prototype, "selectionName", 2);
|
|
169
|
+
__decorateClass([
|
|
170
|
+
property({ attribute: "selection-value" })
|
|
171
|
+
], DSATableRow.prototype, "selectionValue", 2);
|
|
172
|
+
__decorateClass([
|
|
173
|
+
property({ type: Boolean, reflect: true })
|
|
174
|
+
], DSATableRow.prototype, "loading", 2);
|
|
175
|
+
__decorateClass([
|
|
176
|
+
watch("expandable")
|
|
177
|
+
], DSATableRow.prototype, "handleExpandableChange", 1);
|
|
178
|
+
__decorateClass([
|
|
179
|
+
watch("expanded")
|
|
180
|
+
], DSATableRow.prototype, "handleExpandedChange", 1);
|
|
181
|
+
DSATableRow = __decorateClass([
|
|
182
|
+
customElement("dsa-table-row")
|
|
183
|
+
], DSATableRow);
|
|
184
|
+
|
|
185
|
+
export {
|
|
186
|
+
DSATableRow
|
|
187
|
+
};
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import {
|
|
2
|
+
header_search_styles_default
|
|
3
|
+
} from "./chunk.N5UMZAXE.js";
|
|
4
|
+
import {
|
|
5
|
+
LocalizeController
|
|
6
|
+
} from "./chunk.27JQOQHL.js";
|
|
7
|
+
import {
|
|
8
|
+
ShoelaceElement
|
|
9
|
+
} from "./chunk.YCXTCVAZ.js";
|
|
10
|
+
import {
|
|
11
|
+
__decorateClass
|
|
12
|
+
} from "./chunk.6M63UXML.js";
|
|
13
|
+
|
|
14
|
+
// src/components/header-search/header-search.ts
|
|
15
|
+
import { html } from "lit";
|
|
16
|
+
import { customElement, property, query, state } from "lit/decorators.js";
|
|
17
|
+
import { classMap } from "lit/directives/class-map.js";
|
|
18
|
+
import { live } from "lit/directives/live.js";
|
|
19
|
+
var DSAHeaderSearch = class extends ShoelaceElement {
|
|
20
|
+
constructor() {
|
|
21
|
+
super(...arguments);
|
|
22
|
+
this.localize = new LocalizeController(this);
|
|
23
|
+
this.hasFocus = false;
|
|
24
|
+
this.value = "";
|
|
25
|
+
this.expanded = false;
|
|
26
|
+
}
|
|
27
|
+
async handleExpandClick() {
|
|
28
|
+
this.emit("dsa-expand");
|
|
29
|
+
this.expanded = true;
|
|
30
|
+
await this.updateComplete;
|
|
31
|
+
this.input.focus();
|
|
32
|
+
}
|
|
33
|
+
handleChange() {
|
|
34
|
+
this.value = this.input.value;
|
|
35
|
+
this.emit("dsa-change");
|
|
36
|
+
}
|
|
37
|
+
handleInput() {
|
|
38
|
+
this.value = this.input.value;
|
|
39
|
+
this.emit("dsa-input");
|
|
40
|
+
}
|
|
41
|
+
handleInputFocus() {
|
|
42
|
+
this.hasFocus = true;
|
|
43
|
+
this.emit("dsa-focus");
|
|
44
|
+
}
|
|
45
|
+
handleInputBlur() {
|
|
46
|
+
this.hasFocus = false;
|
|
47
|
+
this.emit("dsa-blur");
|
|
48
|
+
}
|
|
49
|
+
handleClearClick(event) {
|
|
50
|
+
this.value = "";
|
|
51
|
+
this.emit("dsa-clear");
|
|
52
|
+
this.emit("dsa-input");
|
|
53
|
+
this.emit("dsa-change");
|
|
54
|
+
this.input.focus();
|
|
55
|
+
event.stopPropagation();
|
|
56
|
+
}
|
|
57
|
+
handleKeyDown(event) {
|
|
58
|
+
event.stopPropagation();
|
|
59
|
+
const hasModifier = event.metaKey || event.ctrlKey || event.shiftKey || event.altKey;
|
|
60
|
+
if (event.key === "Enter" && !hasModifier) {
|
|
61
|
+
setTimeout(() => {
|
|
62
|
+
if (!event.defaultPrevented && !event.isComposing) {
|
|
63
|
+
this.handleSubmitClick();
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
handleSubmitClick() {
|
|
69
|
+
this.emit("dsa-submit");
|
|
70
|
+
}
|
|
71
|
+
async handleCancelClick() {
|
|
72
|
+
this.emit("dsa-collapse");
|
|
73
|
+
this.expanded = false;
|
|
74
|
+
await this.updateComplete;
|
|
75
|
+
this.expandButton.focus();
|
|
76
|
+
}
|
|
77
|
+
render() {
|
|
78
|
+
if (!this.expanded) {
|
|
79
|
+
return html`
|
|
80
|
+
<button
|
|
81
|
+
aria-label=${this.localize.term("search")}
|
|
82
|
+
id="expand-button"
|
|
83
|
+
class="button button--navigation"
|
|
84
|
+
@click=${this.handleExpandClick}
|
|
85
|
+
>
|
|
86
|
+
<dsa-icon name="search"></dsa-icon>
|
|
87
|
+
<span class="expand-button__label"
|
|
88
|
+
>${this.localize.term("search")}</span
|
|
89
|
+
>
|
|
90
|
+
</button>
|
|
91
|
+
`;
|
|
92
|
+
}
|
|
93
|
+
return html`
|
|
94
|
+
<div class=${classMap({ input: true, "input--focused": this.hasFocus })}>
|
|
95
|
+
<input
|
|
96
|
+
class="input__control"
|
|
97
|
+
type="search"
|
|
98
|
+
placeholder=${this.localize.term("search")}
|
|
99
|
+
aria-label=${this.localize.term("search")}
|
|
100
|
+
.value=${live(this.value)}
|
|
101
|
+
@change=${this.handleChange}
|
|
102
|
+
@input=${this.handleInput}
|
|
103
|
+
@focus=${this.handleInputFocus}
|
|
104
|
+
@blur=${this.handleInputBlur}
|
|
105
|
+
@keydown=${this.handleKeyDown}
|
|
106
|
+
/>
|
|
107
|
+
${this.value.length > 0 ? html`
|
|
108
|
+
<dsa-icon-button
|
|
109
|
+
id="clear-button"
|
|
110
|
+
part="clear-button"
|
|
111
|
+
name="cancel"
|
|
112
|
+
label=${this.localize.term("clearEntry")}
|
|
113
|
+
@click=${this.handleClearClick}
|
|
114
|
+
></dsa-icon-button>
|
|
115
|
+
` : ""}
|
|
116
|
+
</div>
|
|
117
|
+
|
|
118
|
+
<button
|
|
119
|
+
class="icon-button icon-button--primary"
|
|
120
|
+
id="submit-button"
|
|
121
|
+
@click=${this.handleSubmitClick}
|
|
122
|
+
aria-label=${this.localize.term("search")}
|
|
123
|
+
>
|
|
124
|
+
<dsa-icon name="search"></dsa-icon>
|
|
125
|
+
</button>
|
|
126
|
+
|
|
127
|
+
<button
|
|
128
|
+
class="button button--tertiary"
|
|
129
|
+
id="cancel-button"
|
|
130
|
+
@click=${this.handleCancelClick}
|
|
131
|
+
>
|
|
132
|
+
${this.localize.term("cancel")}
|
|
133
|
+
</button>
|
|
134
|
+
`;
|
|
135
|
+
}
|
|
136
|
+
};
|
|
137
|
+
DSAHeaderSearch.styles = header_search_styles_default;
|
|
138
|
+
__decorateClass([
|
|
139
|
+
query(".input__control")
|
|
140
|
+
], DSAHeaderSearch.prototype, "input", 2);
|
|
141
|
+
__decorateClass([
|
|
142
|
+
query("#expand-button")
|
|
143
|
+
], DSAHeaderSearch.prototype, "expandButton", 2);
|
|
144
|
+
__decorateClass([
|
|
145
|
+
query("#submit-button")
|
|
146
|
+
], DSAHeaderSearch.prototype, "submitButton", 2);
|
|
147
|
+
__decorateClass([
|
|
148
|
+
query("#cancel-button")
|
|
149
|
+
], DSAHeaderSearch.prototype, "cancelButton", 2);
|
|
150
|
+
__decorateClass([
|
|
151
|
+
query("#clear-button")
|
|
152
|
+
], DSAHeaderSearch.prototype, "clearButton", 2);
|
|
153
|
+
__decorateClass([
|
|
154
|
+
state()
|
|
155
|
+
], DSAHeaderSearch.prototype, "hasFocus", 2);
|
|
156
|
+
__decorateClass([
|
|
157
|
+
property()
|
|
158
|
+
], DSAHeaderSearch.prototype, "value", 2);
|
|
159
|
+
__decorateClass([
|
|
160
|
+
property({ reflect: true, type: Boolean })
|
|
161
|
+
], DSAHeaderSearch.prototype, "expanded", 2);
|
|
162
|
+
DSAHeaderSearch = __decorateClass([
|
|
163
|
+
customElement("dsa-header-search")
|
|
164
|
+
], DSAHeaderSearch);
|
|
165
|
+
|
|
166
|
+
export {
|
|
167
|
+
DSAHeaderSearch
|
|
168
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
component_styles_default
|
|
3
|
+
} from "./chunk.TUVJKY7S.js";
|
|
4
|
+
|
|
5
|
+
// src/components/table/table-expanded-row/table-expanded-row.styles.ts
|
|
6
|
+
import { css } from "lit";
|
|
7
|
+
var table_expanded_row_styles_default = css`
|
|
8
|
+
${component_styles_default}
|
|
9
|
+
|
|
10
|
+
:host {
|
|
11
|
+
display: table-row;
|
|
12
|
+
background: var(--dsa-wc-table-expanded-row-background);
|
|
13
|
+
block-size: 0px;
|
|
14
|
+
transition: var(--dsa-wc-table-expanded-row-transition);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
:host([expanded]) {
|
|
18
|
+
block-size: var(--dsa-wc-table-expanded-row-height);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.expanded-row {
|
|
22
|
+
font: var(--dsa-wc-table-row-font);
|
|
23
|
+
color: var(--dsa-wc-table-row-color);
|
|
24
|
+
padding: 0px var(--dsa-wc-table-expanded-row-padding-x);
|
|
25
|
+
|
|
26
|
+
box-shadow: var(--dsa-wc-table-expanded-row-top-shadow),
|
|
27
|
+
var(--dsa-wc-table-expanded-row-bottom-shadow);
|
|
28
|
+
transition: var(--dsa-wc-table-expanded-row-transition);
|
|
29
|
+
inline-size: 100%;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
:host([expanded]) .expanded-row {
|
|
33
|
+
padding: var(--dsa-wc-table-expanded-row-padding-y)
|
|
34
|
+
var(--dsa-wc-table-expanded-row-padding-x);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.expanded-row div {
|
|
38
|
+
display: none;
|
|
39
|
+
overflow: hidden;
|
|
40
|
+
block-size: 0px;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
:host([expanded]) .expanded-row div {
|
|
44
|
+
display: block;
|
|
45
|
+
block-size: auto;
|
|
46
|
+
}
|
|
47
|
+
`;
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
table_expanded_row_styles_default
|
|
51
|
+
};
|