import { ComponentMetadata, Snippet } from '@alilc/lowcode-types'; const BatchEditorMeta: ComponentMetadata = { "componentName": "BatchEditor", "title": "BatchEditor", "docUrl": "", "screenshot": "", "devMode": "proCode", "npm": { "package": "@pisell/materials", "version": "1.0.1", "exportName": "BatchEditor", "main": "src/index.ts", "destructuring": true, "subName": "" }, "configure": { "props": [ { "title": { "label": { "type": "i18n", "en-US": "columns", "zh-CN": "columns" } }, "name": "columns", "setter": ["JsonSetter", "VariableSetter"], }, { "title": { "label": { "type": "i18n", "en-US": "dataSource", "zh-CN": "dataSource" } }, "name": "dataSource", "setter": ["JsonSetter", "VariableSetter"], }, { "title": { "label": { "type": "i18n", "en-US": "rowKey", "zh-CN": "rowKey" } }, "name": "rowKey", "setter": { "componentName": "StringSetter", "initialValue": "id" } }, { "title": { "label": { "type": "i18n", "en-US": "otherTableProps", "zh-CN": "otherTableProps" } }, "name": "otherTableProps", "setter": ["JsonSetter", "VariableSetter"], }, ], "supports": { "style": true, "events": [{ "name": "onChange" }] }, "component": {} } }; const snippets: Snippet[] = [ { "title": "BatchEditor", "screenshot": "", "schema": { "componentName": "BatchEditor", "props": {} } } ]; export default { ...BatchEditorMeta, snippets };