fix: correct HTML syntax and improve accessibility in various components
This commit is contained in:
@@ -1244,7 +1244,7 @@
|
||||
<div class="relative h-1.5 w-full overflow-hidden rounded-full bg-muted/70">
|
||||
<div
|
||||
class="csv-upload-indeterminate-bar absolute top-0 h-full w-2/5 rounded-full bg-primary"
|
||||
/>
|
||||
></div>
|
||||
</div>
|
||||
{:else}
|
||||
<Progress
|
||||
|
||||
@@ -137,8 +137,8 @@ const canOpenAcuse = $derived(selectedItem?.status === 'success' && !!selectedIt
|
||||
selectedIds = [...selectedIds, item.id];
|
||||
}
|
||||
|
||||
function handleSelectedIdsChange(ids: number[]) {
|
||||
selectedIds = ids;
|
||||
function handleSelectedIdsChange(ids: (string | number)[]) {
|
||||
selectedIds = ids.map((id) => (typeof id === 'number' ? id : Number(id)));
|
||||
}
|
||||
|
||||
async function handleDigitalizar(item: ExpedienteArchivo) {
|
||||
@@ -530,6 +530,7 @@ async function handleDownloadArtifact(
|
||||
<div class="mx-auto max-w-[1400px] px-4 py-4">
|
||||
<div
|
||||
role="toolbar"
|
||||
tabindex="0"
|
||||
aria-label="Acciones de digitalización"
|
||||
data-digitalizacion-footer-toolbar
|
||||
class="flex w-full items-center justify-end gap-2"
|
||||
|
||||
@@ -46,6 +46,7 @@
|
||||
let showDelete = $state(false);
|
||||
let showDetails = $state(false);
|
||||
|
||||
|
||||
const columns = createColumns();
|
||||
|
||||
// --- Lifecycle ---
|
||||
|
||||
@@ -774,7 +774,7 @@
|
||||
onsubmit={(e) => {
|
||||
e.preventDefault();
|
||||
handleSubmit();
|
||||
}
|
||||
}}
|
||||
class="space-y-6 pb-48"
|
||||
>
|
||||
<Card.Root>
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
onsubmit={(e) => {
|
||||
e.preventDefault();
|
||||
handleSubmit();
|
||||
}
|
||||
}}
|
||||
class="space-y-6"
|
||||
>
|
||||
{#if error}
|
||||
|
||||
Reference in New Issue
Block a user