'use client';

import { Truck } from 'lucide-react';
import type { DetailConfig } from '@/components/templates/IntegratedDetailTemplate/types';

/**
 * 배차차량 상세 페이지 Config
 */
export const vehicleDispatchConfig: DetailConfig = {
  title: '배차차량 상세',
  description: '배차차량 정보를 조회합니다',
  icon: Truck,
  basePath: '/outbound/vehicle-dispatches',
  fields: [],
  gridColumns: 2,
  actions: {
    showBack: true,
    showEdit: true,
    showDelete: false,
    backLabel: '목록',
    editLabel: '수정',
  },
};

/**
 * 배차차량 수정 페이지 Config
 */
export const vehicleDispatchEditConfig: DetailConfig = {
  title: '배차차량 수정',
  description: '배차차량 정보를 수정합니다',
  icon: Truck,
  basePath: '/outbound/vehicle-dispatches',
  fields: [],
  actions: {
    showBack: true,
    showEdit: false,
    showDelete: false,
    showSave: true,
    submitLabel: '저장',
  },
};
