import { IPublicTypeComponentMetadata, IPublicTypeSnippet } from '@alilc/lowcode-types'; const SelectionMeta: IPublicTypeComponentMetadata = { "componentName": "Selection", "title": "Selection", "docUrl": "", "screenshot": "", "devMode": "proCode", "npm": { "package": "iftide-mobile-visual", "version": "0.0.2", "exportName": "Selection", "main": "src/index.tsx", "destructuring": true, "subName": "" }, "configure": { "props": [ { "title": { "label": { "type": "i18n", "en-US": "title", "zh-CN": "title" } }, "name": "title", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "标题文本" } }, { "title": { "label": { "type": "i18n", "en-US": "titleWidth", "zh-CN": "titleWidth" } }, "name": "titleWidth", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "titleDescription", "zh-CN": "titleDescription" } }, "name": "titleDescription", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "placeholder", "zh-CN": "placeholder" } }, "name": "placeholder", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "输入选择项" } }, { "title": { "label": { "type": "i18n", "en-US": "inputDescription", "zh-CN": "inputDescription" } }, "name": "inputDescription", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "value", "zh-CN": "value" } }, "name": "value", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "disabled", "zh-CN": "disabled" } }, "name": "disabled", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": false } }, { "title": { "label": { "type": "i18n", "en-US": "arrow", "zh-CN": "arrow" } }, "name": "arrow", "setter": { "componentName": "SelectSetter", "props": { "dataSource": [ { "label": "right", "value": "right" }, { "label": "up", "value": "up" }, { "label": "down", "value": "down" }, { "label": "none", "value": "none" } ], "options": [ { "label": "right", "value": "right" }, { "label": "up", "value": "up" }, { "label": "down", "value": "down" }, { "label": "none", "value": "none" } ] }, "initialValue": "right" } }, { "title": { "label": { "type": "i18n", "en-US": "hidebottomline", "zh-CN": "hidebottomline" } }, "name": "hidebottomline", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": false } }, { "title": { "label": { "type": "i18n", "en-US": "inputDescStyle", "zh-CN": "inputDescStyle" } }, "name": "inputDescStyle", "setter": { "componentName": "ObjectSetter", "props": { "config": { "extraSetter": { "componentName": "MixedSetter", "isRequired": false, "props": {} } } }, "isRequired": false, "initialValue": {} } }, { "title": { "label": { "type": "i18n", "en-US": "showTitleIcon", "zh-CN": "showTitleIcon" } }, "name": "showTitleIcon", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": false } }, { "title": { "label": { "type": "i18n", "en-US": "titleIconSrc", "zh-CN": "titleIconSrc" } }, "name": "titleIconSrc", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "titleIconFunc", "zh-CN": "titleIconFunc" } }, "name": "titleIconFunc", "setter": { "componentName": "FunctionSetter", "isRequired": false } }, { "title": { "label": { "type": "i18n", "en-US": "isTitleUp", "zh-CN": "isTitleUp" } }, "name": "isTitleUp", "setter": { "componentName": "BoolSetter", "isRequired": false, "initialValue": false } }, { "title": { "label": { "type": "i18n", "en-US": "error", "zh-CN": "error" } }, "name": "error", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } }, { "title": { "label": { "type": "i18n", "en-US": "inputAriaLabel", "zh-CN": "inputAriaLabel" } }, "name": "inputAriaLabel", "setter": { "componentName": "StringSetter", "isRequired": false, "initialValue": "" } } ], "supports": { "events": [ { "name": "onClick" } ], "style": true }, "component": {} } }; const snippets: IPublicTypeSnippet[] = [ { "title": "Selection", "screenshot": "", "schema": { "componentName": "Selection", "props": {} } } ]; export default { ...SelectionMeta, snippets };