refactor(frontend) : reorganize components into subdirectories and fix imports
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
import type { TaskEffort } from '~/services/dto/task-effort'
|
import type { TaskEffort } from '~/services/dto/task-effort'
|
||||||
import { useTaskEffortService } from '~/services/task-efforts'
|
import { useTaskEffortService } from '~/services/task-efforts'
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'label', label: 'Libellé', primary: true },
|
{ key: 'label', label: 'Libellé', primary: true },
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
import type { TaskPriority } from '~/services/dto/task-priority'
|
import type { TaskPriority } from '~/services/dto/task-priority'
|
||||||
import { useTaskPriorityService } from '~/services/task-priorities'
|
import { useTaskPriorityService } from '~/services/task-priorities'
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'label', label: 'Libellé', primary: true },
|
{ key: 'label', label: 'Libellé', primary: true },
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
import type { TaskStatus } from '~/services/dto/task-status'
|
import type { TaskStatus } from '~/services/dto/task-status'
|
||||||
import { useTaskStatusService } from '~/services/task-statuses'
|
import { useTaskStatusService } from '~/services/task-statuses'
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'label', label: 'Libellé', primary: true },
|
{ key: 'label', label: 'Libellé', primary: true },
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
import type { TaskType } from '~/services/dto/task-type'
|
import type { TaskType } from '~/services/dto/task-type'
|
||||||
import { useTaskTypeService } from '~/services/task-types'
|
import { useTaskTypeService } from '~/services/task-types'
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'label', label: 'Libellé', primary: true },
|
{ key: 'label', label: 'Libellé', primary: true },
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
import type { UserData } from '~/services/dto/user-data'
|
import type { UserData } from '~/services/dto/user-data'
|
||||||
import { useUserService } from '~/services/users'
|
import { useUserService } from '~/services/users'
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'username', label: "Nom d'utilisateur", primary: true },
|
{ key: 'username', label: "Nom d'utilisateur", primary: true },
|
||||||
@@ -51,7 +51,7 @@ const emit = defineEmits<{
|
|||||||
(e: 'updated'): void
|
(e: 'updated'): void
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'title', label: 'Titre', primary: true },
|
{ key: 'title', label: 'Titre', primary: true },
|
||||||
@@ -54,7 +54,7 @@ const props = defineProps<{
|
|||||||
projectId: number
|
projectId: number
|
||||||
}>()
|
}>()
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'label', label: 'Libellé', primary: true },
|
{ key: 'label', label: 'Libellé', primary: true },
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div ref="calendarEl" class="relative overflow-auto rounded-lg border border-neutral-200 bg-white" style="max-height: calc(100vh - 220px);">
|
<div ref="calendarEl" class="relative overflow-auto rounded-lg border border-neutral-200 bg-white" style="max-height: calc(100vh - 280px);">
|
||||||
<!-- Day headers -->
|
<!-- Day headers -->
|
||||||
<div class="sticky top-0 z-20 flex border-b border-neutral-200 bg-white">
|
<div class="sticky top-0 z-20 flex border-b border-neutral-200 bg-white">
|
||||||
<div class="w-16 shrink-0 border-r border-neutral-200" />
|
<div class="w-16 shrink-0 border-r border-neutral-200" />
|
||||||
@@ -44,7 +44,7 @@ import { useClientService } from '~/services/clients'
|
|||||||
|
|
||||||
useHead({ title: 'Clients' })
|
useHead({ title: 'Clients' })
|
||||||
|
|
||||||
import type { DataTableColumn } from '~/components/DataTable.vue'
|
import type { DataTableColumn } from '~/components/ui/DataTable.vue'
|
||||||
|
|
||||||
const columns: DataTableColumn[] = [
|
const columns: DataTableColumn[] = [
|
||||||
{ key: 'name', label: 'Nom', primary: true },
|
{ key: 'name', label: 'Nom', primary: true },
|
||||||
|
|||||||
Reference in New Issue
Block a user