'use client';

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

/**
 * 제품검사 등록 페이지 Config
 */
export const qualityInspectionCreateConfig: DetailConfig = {
  title: '제품검사',
  description: '제품검사를 등록합니다',
  icon: ClipboardCheck,
  basePath: '/quality/inspections',
  fields: [],
  actions: {
    showBack: true,
    showEdit: false,
    showDelete: false,
    showSave: true,
    submitLabel: '등록',
  },
};

/**
 * 제품검사 상세 페이지 Config
 */
export const inspectionConfig: DetailConfig = {
  title: '제품검사 상세',
  description: '제품검사 상세를 관리합니다',
  icon: ClipboardCheck,
  basePath: '/quality/inspections',
  fields: [],
  gridColumns: 2,
  actions: {
    showBack: true,
    showDelete: false,
    showEdit: true,
    backLabel: '목록',
    editLabel: '수정',
    submitLabel: '수정 완료',
    cancelLabel: '취소',
  },
};
