feature: a minor refactor in folder structure done.

This commit is contained in:
2026-05-07 03:46:18 +03:30
parent a70cbc7860
commit 58cb35e26d
9 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ import {
resolveStaffFeatureLabel, resolveStaffFeatureLabel,
formatAccessSummary, formatAccessSummary,
type FeaturePermState, type FeaturePermState,
} from './staff-permission-form'; } from '../../../components/staff/staff-permission-form';
import { Pencil, Trash2, Copy, Check, X } from 'lucide-react'; import { Pencil, Trash2, Copy, Check, X } from 'lucide-react';
import { useAuth } from '@/lib/hooks/useAuth'; import { useAuth } from '@/lib/hooks/useAuth';
import { staffApi, type StaffMemberDto } from '@/lib/api/staff'; import { staffApi, type StaffMemberDto } from '@/lib/api/staff';

View File

@@ -1,6 +1,6 @@
'use client'; 'use client';
import { TreatmentWorkspace } from '@/components/treatment/TreatmentWorkspace'; import { TreatmentWorkspace } from '@/components/ui/treatment/TreatmentWorkspace';
import { useAuth } from '@/lib/hooks/useAuth'; import { useAuth } from '@/lib/hooks/useAuth';
export default function TreatmentPage() { export default function TreatmentPage() {

View File

@@ -2,7 +2,7 @@
import { useId } from 'react'; import { useId } from 'react';
import { FDI_LOWER_LEFT_TO_RIGHT, FDI_UPPER_LEFT_TO_RIGHT, getToothShapeKind } from '@/components/treatment/fdiToothMeta'; import { FDI_LOWER_LEFT_TO_RIGHT, FDI_UPPER_LEFT_TO_RIGHT, getToothShapeKind } from '@/components/treatment/fdiToothMeta';
import { ToothGlyph } from '@/components/treatment/ToothGlyph'; import { ToothGlyph } from '@/components/ui/treatment/ToothGlyph';
import type { FdiToothId } from '@/types/treatment'; import type { FdiToothId } from '@/types/treatment';
function quadrantMirrored(fdi: FdiToothId): boolean { function quadrantMirrored(fdi: FdiToothId): boolean {

View File

@@ -1,9 +1,9 @@
'use client'; 'use client';
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { AppointmentsStrip } from '@/components/treatment/AppointmentsStrip'; import { AppointmentsStrip } from '@/components/ui/treatment/AppointmentsStrip';
import { FdiToothChart } from '@/components/treatment/FdiToothChart'; import { FdiToothChart } from '@/components/ui/treatment/FdiToothChart';
import { PastTreatmentsPanel } from '@/components/treatment/PastTreatmentsPanel'; import { PastTreatmentsPanel } from '@/components/ui/treatment/PastTreatmentsPanel';
import { Checkbox } from '@/components/ui/common/Checkbox'; import { Checkbox } from '@/components/ui/common/Checkbox';
import { Button } from '@/components/ui/common/Button'; import { Button } from '@/components/ui/common/Button';
import { isSameLocalCalendarDay, startOfLocalDay } from '@/lib/appointmentTime'; import { isSameLocalCalendarDay, startOfLocalDay } from '@/lib/appointmentTime';