- {{ documentIcon(document).icon }}
+
{{ document.name }}
@@ -277,6 +279,7 @@ import { useDocuments } from '~/composables/useDocuments'
import { getFileIcon } from '~/utils/fileIcons'
import { canPreviewDocument } from '~/utils/documentPreview'
import DocumentPreviewModal from '~/components/DocumentPreviewModal.vue'
+import IconLucideChevronRight from '~icons/lucide/chevron-right'
const props = defineProps({
component: {
diff --git a/app/components/ConstructeurSelect.vue b/app/components/ConstructeurSelect.vue
index 699fe8b..f34bcc6 100644
--- a/app/components/ConstructeurSelect.vue
+++ b/app/components/ConstructeurSelect.vue
@@ -16,9 +16,7 @@
class="absolute right-2 top-1/2 -translate-y-1/2 btn btn-ghost btn-xs"
@click="ensureOptionsLoaded(true)"
>
-
+
import { ref, watch, computed, onMounted, onBeforeUnmount } from 'vue'
import { useConstructeurs } from '~/composables/useConstructeurs'
+import IconLucideChevronsUpDown from '~icons/lucide/chevrons-up-down'
const props = defineProps({
modelValue: {
diff --git a/app/components/DocumentUpload.vue b/app/components/DocumentUpload.vue
index e14809e..b0537c5 100644
--- a/app/components/DocumentUpload.vue
+++ b/app/components/DocumentUpload.vue
@@ -7,9 +7,7 @@
@drop.prevent="onDrop"
>
-
+
{{ title }}
@@ -35,7 +33,12 @@
-
-
{{ getIcon(file).icon }}
+
{{ file.name }}
{{ formatSize(file.size) }} • {{ file.type || 'Type inconnu' }}
@@ -54,6 +57,7 @@
import { ref, computed, watch } from 'vue'
import { useToast } from '~/composables/useToast'
import { getFileIcon } from '~/utils/fileIcons'
+import IconLucideCloudUpload from '~icons/lucide/cloud-upload'
const props = defineProps({
title: {
diff --git a/app/components/PieceItem.vue b/app/components/PieceItem.vue
index f555d0a..6d37fd4 100644
--- a/app/components/PieceItem.vue
+++ b/app/components/PieceItem.vue
@@ -8,9 +8,10 @@
-
+
- {{ documentIcon(document).icon }}
+
{{ document.name }}
@@ -250,6 +255,7 @@ import { canPreviewDocument } from '~/utils/documentPreview'
import DocumentUpload from '~/components/DocumentUpload.vue'
import DocumentPreviewModal from '~/components/DocumentPreviewModal.vue'
import ConstructeurSelect from './ConstructeurSelect.vue'
+import IconLucidePackage from '~icons/lucide/package'
const props = defineProps({
piece: {
diff --git a/app/components/ToastContainer.vue b/app/components/ToastContainer.vue
index f604625..5049d90 100644
--- a/app/components/ToastContainer.vue
+++ b/app/components/ToastContainer.vue
@@ -17,18 +17,26 @@
-
-
-
-
+
+
+
+
@@ -41,9 +49,7 @@
@click="removeToast(toast.id)"
class="btn btn-ghost btn-xs"
>
-
+
@@ -54,6 +60,10 @@