ERP-node/frontend/lib/registry/components/v2-item-routing/index.ts

58 lines
1.9 KiB
TypeScript
Raw Normal View History

"use client";
import React from "react";
import { createComponentDefinition } from "../../utils/createComponentDefinition";
import { ComponentCategory } from "@/types/component";
import { ItemRoutingComponent } from "./ItemRoutingComponent";
import { ItemRoutingConfigPanel } from "./ItemRoutingConfigPanel";
import { defaultConfig } from "./config";
export const V2ItemRoutingDefinition = createComponentDefinition({
id: "v2-item-routing",
name: "품목별 라우팅",
nameEng: "Item Routing",
description: "품목별 라우팅 버전과 공정 순서를 관리하는 3단계 계층 컴포넌트",
category: ComponentCategory.INPUT,
webType: "component",
component: ItemRoutingComponent,
defaultConfig: defaultConfig,
defaultSize: {
width: 1400,
height: 800,
gridColumnSpan: "12",
},
configPanel: ItemRoutingConfigPanel,
icon: "ListOrdered",
tags: ["라우팅", "공정", "품목", "버전", "제조", "생산"],
version: "1.0.0",
author: "개발팀",
documentation: `
.
##
- 좌측: 품목
- 상단: 라우팅 (Badge ) /
- 하단: 선택된 (//)
- (1613, 1614, 1615)
##
- /
- ID
- /
- , ,
-
`,
});
export type {
ItemRoutingConfig,
ItemRoutingComponentProps,
ItemRoutingDataSource,
ItemRoutingModals,
ProcessColumnDef,
} from "./types";
export { ItemRoutingComponent } from "./ItemRoutingComponent";
export { ItemRoutingRenderer } from "./ItemRoutingRenderer";
export { ItemRoutingConfigPanel } from "./ItemRoutingConfigPanel";