28 lines
1.0 KiB
TypeScript
28 lines
1.0 KiB
TypeScript
|
|
"use client";
|
||
|
|
|
||
|
|
import { createComponentDefinition } from "../../utils/createComponentDefinition";
|
||
|
|
import { ComponentCategory } from "@/types/component";
|
||
|
|
import { ShippingPlanEditorWrapper } from "./ShippingPlanEditorComponent";
|
||
|
|
import { ShippingPlanEditorConfigPanel } from "./ShippingPlanEditorConfigPanel";
|
||
|
|
|
||
|
|
export const V2ShippingPlanEditorDefinition = createComponentDefinition({
|
||
|
|
id: "v2-shipping-plan-editor",
|
||
|
|
name: "출하계획 동시등록",
|
||
|
|
nameEng: "Shipping Plan Editor",
|
||
|
|
description: "수주 선택 후 품목별 그룹핑하여 출하계획을 일괄 등록하는 컴포넌트",
|
||
|
|
category: ComponentCategory.DISPLAY,
|
||
|
|
webType: "text",
|
||
|
|
component: ShippingPlanEditorWrapper,
|
||
|
|
configPanel: ShippingPlanEditorConfigPanel,
|
||
|
|
defaultConfig: {
|
||
|
|
title: "출하계획 등록",
|
||
|
|
},
|
||
|
|
defaultSize: { width: 900, height: 600 },
|
||
|
|
icon: "Truck",
|
||
|
|
tags: ["출하", "계획", "수주", "일괄등록", "v2"],
|
||
|
|
version: "1.0.0",
|
||
|
|
author: "개발팀",
|
||
|
|
});
|
||
|
|
|
||
|
|
export type { ShippingPlanEditorConfig, ItemGroup, PlanDetailRow } from "./types";
|