|
|
@ -6,8 +6,6 @@ import { |
|
|
|
ActiveCellInj, |
|
|
|
ActiveCellInj, |
|
|
|
CurrentCellInj, |
|
|
|
CurrentCellInj, |
|
|
|
DropZoneRef, |
|
|
|
DropZoneRef, |
|
|
|
IsGalleryInj, |
|
|
|
|
|
|
|
IsKanbanInj, |
|
|
|
|
|
|
|
iconMap, |
|
|
|
iconMap, |
|
|
|
inject, |
|
|
|
inject, |
|
|
|
isImage, |
|
|
|
isImage, |
|
|
@ -29,14 +27,10 @@ interface Emits { |
|
|
|
(event: 'update:modelValue', value: string | Record<string, any>[]): void |
|
|
|
(event: 'update:modelValue', value: string | Record<string, any>[]): void |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
const { modelValue, rowIndex } = defineProps<Props>() |
|
|
|
const { modelValue } = defineProps<Props>() |
|
|
|
|
|
|
|
|
|
|
|
const emits = defineEmits<Emits>() |
|
|
|
const emits = defineEmits<Emits>() |
|
|
|
|
|
|
|
|
|
|
|
const isGallery = inject(IsGalleryInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const isKanban = inject(IsKanbanInj, ref(false)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const dropZoneInjection = inject(DropZoneRef, ref()) |
|
|
|
const dropZoneInjection = inject(DropZoneRef, ref()) |
|
|
|
|
|
|
|
|
|
|
|
const attachmentCellRef = ref<HTMLDivElement>() |
|
|
|
const attachmentCellRef = ref<HTMLDivElement>() |
|
|
|