@datagouv/components-next 1.0.2-dev.59 → 1.0.2-dev.60
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/dist/{Datafair.client-f2FP7plo.js → Datafair.client-4zDFMXaE.js} +1 -1
- package/dist/{JsonPreview.client-m3C0XIoF.js → JsonPreview.client-DSKs3Wg7.js} +2 -2
- package/dist/{MapContainer.client-CUGKCZsN.js → MapContainer.client-Cjwpar3k.js} +2 -2
- package/dist/{PdfPreview.client-deTriWNm.js → PdfPreview.client-6H3KMLOL.js} +2 -2
- package/dist/{Pmtiles.client-BQbOKcQX.js → Pmtiles.client-BDAAb3_H.js} +1 -1
- package/dist/{PreviewWrapper.vue_vue_type_script_setup_true_lang-bDZ3XRKG.js → PreviewWrapper.vue_vue_type_script_setup_true_lang-BFSXn0mv.js} +1 -1
- package/dist/{XmlPreview.client-DJL20TEn.js → XmlPreview.client-DnL8nMyL.js} +3 -3
- package/dist/components-next.js +1 -1
- package/dist/{index-Dw2SiLgu.js → index-7yWP5a5K.js} +1 -1
- package/dist/{main-jWuVtc9s.js → main-C-0Gkcks.js} +338 -338
- package/dist/{vue3-xml-viewer.common-lELDJ2z7.js → vue3-xml-viewer.common-xigir_CG.js} +1 -1
- package/package.json +1 -1
- package/src/components/TabularExplorer/TabularExplorer.vue +2 -2
package/package.json
CHANGED
|
@@ -292,7 +292,7 @@
|
|
|
292
292
|
:class="i % 2 === 1 ? 'bg-gray-lowest-2' : 'bg-white'"
|
|
293
293
|
>
|
|
294
294
|
<div
|
|
295
|
-
v-for="col in mobileVisibleFields(
|
|
295
|
+
v-for="col in mobileVisibleFields(i)"
|
|
296
296
|
:key="col"
|
|
297
297
|
class="flex flex-col gap-0.5 min-w-0"
|
|
298
298
|
>
|
|
@@ -751,7 +751,7 @@ const mobileFilterOpen = ref(false)
|
|
|
751
751
|
const mobileExpandedRows = ref(new Set<number>())
|
|
752
752
|
const mobileFilterExpandedCol = ref<string | null>(null)
|
|
753
753
|
|
|
754
|
-
function mobileVisibleFields(
|
|
754
|
+
function mobileVisibleFields(index: number): string[] {
|
|
755
755
|
if (displayedColumns.value.length <= 4 || mobileExpandedRows.value.has(index)) {
|
|
756
756
|
return displayedColumns.value
|
|
757
757
|
}
|