diff --git a/bundle.json b/bundle.json new file mode 100644 index 000000000..e387ca34e --- /dev/null +++ b/bundle.json @@ -0,0 +1,26050 @@ +{ + "data": { + "framework": "Vue", + "materials": { + "components": [ + { + "id": 1, + "version": "2.7.8", + "name": { + "zh_CN": "按钮" + }, + "component": "ElButton", + "icon": "button", + "description": "常用的操作按钮。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElButton", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "size", + "disabled", + "type", + "icon", + "nativeType", + "loading", + "loadingIcon", + "plain", + "text", + "link", + "bg", + "autofocus", + "round", + "circle", + "color", + "dark", + "autoInsertSpace", + "tag" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": { + "zh_CN": "尺寸" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "defaultValue": "default", + "widget": { + "component": "MetaSelect", + "props": { + "options": [ + { + "label": "large", + "value": "large" + }, + { + "label": "default", + "value": "default" + }, + { + "label": "small", + "value": "small" + } + ] + } + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": { + "zh_CN": "类型" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "plain", + "label": { + "text": { + "zh_CN": "plain" + } + }, + "description": { + "zh_CN": "是否为朴素按钮" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "text", + "label": { + "text": { + "zh_CN": "text" + } + }, + "description": { + "zh_CN": "是否为文字按钮" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "bg", + "label": { + "text": { + "zh_CN": "bg" + } + }, + "description": { + "zh_CN": "是否显示文字按钮背景颜色" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "link", + "label": { + "text": { + "zh_CN": "link" + } + }, + "description": { + "zh_CN": "是否为链接按钮" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "round", + "label": { + "text": { + "zh_CN": "round" + } + }, + "description": { + "zh_CN": "是否为圆角按钮" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "circle", + "label": { + "text": { + "zh_CN": "circle" + } + }, + "description": { + "zh_CN": "是否为圆形按钮" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": { + "zh_CN": "是否为加载中状态" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "type": "string", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": { + "zh_CN": "是否禁用" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "top", + "defaultValue": false, + "type": "boolean", + "widget": { + "component": "MetaSwitch", + "props": {} + }, + "device": [] + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "default" + }, + "description": { + "zh_CN": "自定义默认内容" + } + }, + "loading": { + "label": { + "zh_CN": "loading" + }, + "description": { + "zh_CN": "自定义加载中组件" + } + } + } + } + }, + { + "id": 2, + "version": "2.7.8", + "name": { + "zh_CN": "布局容器" + }, + "component": "ElContainer", + "icon": "container", + "description": "用于布局的容器组件,方便快速搭建页面的基本结构:", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElContainer", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "direction" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "子元素的排列方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + } + } + } + }, + { + "id": 3, + "version": "2.7.8", + "name": { + "zh_CN": "图标" + }, + "component": "ElIcon", + "icon": "icon", + "description": "Element Plus 提供了一套常用的图标集合。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElIcon", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "size", + "color" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "SVG 图标的大小,size x size", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "color", + "label": { + "text": { + "zh_CN": "color" + } + }, + "description": "svg 的 fill 颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 4, + "version": "2.7.8", + "name": { + "zh_CN": "链接" + }, + "component": "ElLink", + "icon": "link", + "description": "文字超链接", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElLink", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "type", + "underline", + "disabled", + "href", + "target", + "icon" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "underline", + "label": { + "text": { + "zh_CN": "underline" + } + }, + "description": "是否下划线", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "href", + "label": { + "text": { + "zh_CN": "href" + } + }, + "description": "原生 href 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "target", + "label": { + "text": { + "zh_CN": "target" + } + }, + "description": "同原生 target 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onClick": { + "label": { + "zh_CN": "点击时触发" + }, + "description": { + "zh_CN": "点击时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + }, + "icon": { + "label": { + "zh_CN": "图标组件" + }, + "description": { + "zh_CN": "图标组件" + } + } + } + } + }, + { + "id": 5, + "version": "2.7.8", + "name": { + "zh_CN": "文本2.3.0" + }, + "component": "ElText", + "icon": "text", + "description": "文本的常见操作", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElText", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "type", + "size", + "truncated", + "lineClamp", + "tag" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "truncated", + "label": { + "text": { + "zh_CN": "truncated" + } + }, + "description": "显示省略号", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "lineClamp", + "label": { + "text": { + "zh_CN": "lineClamp" + } + }, + "description": "最大行数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tag", + "label": { + "text": { + "zh_CN": "tag" + } + }, + "description": "自定义元素标签", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 6, + "version": "2.7.8", + "name": { + "zh_CN": "滚动条" + }, + "component": "ElScrollbar", + "icon": "scrollbar", + "description": "用于替换浏览器原生滚动条。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElScrollbar", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "height", + "maxHeight", + "native", + "wrapStyle", + "wrapClass", + "viewClass", + "viewStyle", + "noresize", + "tag", + "always", + "minSize", + "tabindex", + "id", + "role", + "ariaLabel", + "ariaOrientation" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "height", + "label": { + "text": { + "zh_CN": "height" + } + }, + "description": "滚动条高度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "maxHeight", + "label": { + "text": { + "zh_CN": "maxHeight" + } + }, + "description": "滚动条最大高度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "native", + "label": { + "text": { + "zh_CN": "native" + } + }, + "description": "是否使用原生滚动条样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "wrapStyle", + "label": { + "text": { + "zh_CN": "wrapStyle" + } + }, + "description": "包裹容器的自定义样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "wrapClass", + "label": { + "text": { + "zh_CN": "wrapClass" + } + }, + "description": "包裹容器的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "viewClass", + "label": { + "text": { + "zh_CN": "viewClass" + } + }, + "description": "视图的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "viewStyle", + "label": { + "text": { + "zh_CN": "viewStyle" + } + }, + "description": "视图的自定义样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "noresize", + "label": { + "text": { + "zh_CN": "noresize" + } + }, + "description": "不响应容器尺寸变化,如果容器尺寸不会发生变化,最好设置它可以优化性能", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "tag", + "label": { + "text": { + "zh_CN": "tag" + } + }, + "description": "视图的元素标签", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "always", + "label": { + "text": { + "zh_CN": "always" + } + }, + "description": "滚动条总是显示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "minSize", + "label": { + "text": { + "zh_CN": "minSize" + } + }, + "description": "滚动条最小尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "容器的tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "视图ID", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "role", + "label": { + "text": { + "zh_CN": "role" + } + }, + "description": "视图的角色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "视图的 aria-label", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaOrientation", + "label": { + "text": { + "zh_CN": "ariaOrientation" + } + }, + "description": "视图的 aria-orientation", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onScroll": { + "label": { + "zh_CN": "当触发滚动事件时,返回滚动的距离" + }, + "description": { + "zh_CN": "当触发滚动事件时,返回滚动的距离" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 7, + "version": "2.7.8", + "name": { + "zh_CN": "间距" + }, + "component": "ElSpace", + "icon": "space", + "description": "虽然我们拥有 Divider 组件,但很多时候我们需要不是一个被 Divider 组件 分割开的页面结构,因此我们会重复的使用很多的 Divider 组件,这在我们的开发效率上造成了一定的困扰。 间距组件就是为了解决这种困扰应运而生的。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSpace", + "destructuring": true + }, + "group": "Basic 基础组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "direction", + "class", + "style", + "alignment", + "prefixCls", + "spacer", + "wrap", + "fill", + "fillRatio", + "size" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "排列的方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "class", + "label": { + "text": { + "zh_CN": "class" + } + }, + "description": "className", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "style", + "label": { + "text": { + "zh_CN": "style" + } + }, + "description": "额外样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "alignment", + "label": { + "text": { + "zh_CN": "alignment" + } + }, + "description": "对齐的方式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prefixCls", + "label": { + "text": { + "zh_CN": "prefixCls" + } + }, + "description": "给 space-items 的类名前缀", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "spacer", + "label": { + "text": { + "zh_CN": "spacer" + } + }, + "description": "间隔符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "wrap", + "label": { + "text": { + "zh_CN": "wrap" + } + }, + "description": "设置是否自动折行", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "fill", + "label": { + "text": { + "zh_CN": "fill" + } + }, + "description": "子元素是否填充父容器", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "fillRatio", + "label": { + "text": { + "zh_CN": "fillRatio" + } + }, + "description": "填充父容器的比例", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "间隔大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 8, + "version": "2.7.8", + "name": { + "zh_CN": "Provider 全局配置" + }, + "component": "ElConfigProvider", + "icon": "configprovider", + "description": "Config Provider 被用来提供全局的配置选项,让你的配置能够在全局都能够被访问到。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElConfigProvider", + "destructuring": true + }, + "group": "配置组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "a11y", + "locale", + "size", + "button", + "experimentalFeatures", + "keyboardNavigation", + "message", + "zIndex", + "namespace", + "emptyValues", + "valueOnClear" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "a11y", + "label": { + "text": { + "zh_CN": "a11y" + } + }, + "description": "是否启用无障碍", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "locale", + "label": { + "text": { + "zh_CN": "locale" + } + }, + "description": "翻译文本对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "全局组件大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "button", + "label": { + "text": { + "zh_CN": "button" + } + }, + "description": "按钮相关配置,详见下表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "experimentalFeatures", + "label": { + "text": { + "zh_CN": "experimentalFeatures" + } + }, + "description": "将要添加的实验阶段的功能,所有功能都是默认设置为 false", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "keyboardNavigation", + "label": { + "text": { + "zh_CN": "keyboardNavigation" + } + }, + "description": "是否允许用户通过键盘进行导航", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "message", + "label": { + "text": { + "zh_CN": "message" + } + }, + "description": "消息相关配置, 详见下表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "全局初始化 zIndex 的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "namespace", + "label": { + "text": { + "zh_CN": "namespace" + } + }, + "description": "全局组件类名称前缀 (需要配合 $namespace 使用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "输入类组件空值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "输入类组件清空值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 9, + "version": "2.7.8", + "name": { + "zh_CN": "自动补全输入框" + }, + "component": "ElAutocomplete", + "icon": "autocomplete", + "description": "根据输入内容提供对应的输入建议。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElAutocomplete", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "valueKey", + "modelValue", + "debounce", + "placement", + "fetchSuggestions", + "popperClass", + "triggerOnFocus", + "selectWhenUnmatched", + "hideLoading", + "teleported", + "highlightFirstItem", + "fitInputWidth", + "clearable", + "disabled", + "name", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "valueKey", + "label": { + "text": { + "zh_CN": "valueKey" + } + }, + "description": "输入建议对象中用于显示的键名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "debounce", + "label": { + "text": { + "zh_CN": "debounce" + } + }, + "description": "获取输入建议的防抖延时,单位为毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "菜单弹出位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fetchSuggestions", + "label": { + "text": { + "zh_CN": "fetchSuggestions" + } + }, + "description": "获取输入建议的方法, 仅当你的输入建议数据 resolve 时,通过调用 callback(data:[]) 来返回它", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "下拉列表的类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "triggerOnFocus", + "label": { + "text": { + "zh_CN": "triggerOnFocus" + } + }, + "description": "whether show suggestions when input focus", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "selectWhenUnmatched", + "label": { + "text": { + "zh_CN": "selectWhenUnmatched" + } + }, + "description": "在输入没有任何匹配建议的情况下,按下回车是否触发 select 事件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hideLoading", + "label": { + "text": { + "zh_CN": "hideLoading" + } + }, + "description": "是否隐藏远程加载时的加载图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将下拉列表元素插入 append-to 指向的元素下", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "highlightFirstItem", + "label": { + "text": { + "zh_CN": "highlightFirstItem" + } + }, + "description": "是否默认高亮远程搜索结果的第一项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "fitInputWidth", + "label": { + "text": { + "zh_CN": "fitInputWidth" + } + }, + "description": "下拉框的宽度是否与输入框相同", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否可清空", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "自动补全组件是否被禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "等价于原生 input name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "原生 aria-label属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onInput": { + "label": { + "zh_CN": "在 Input 值改变时触发" + }, + "description": { + "zh_CN": "在 Input 值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "在 Input 值改变时触发" + }, + "description": { + "zh_CN": "在 Input 值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "当选择器的输入框获得焦点时触发" + }, + "description": { + "zh_CN": "当选择器的输入框获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "当选择器的输入框失去焦点时触发" + }, + "description": { + "zh_CN": "当选择器的输入框失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClear": { + "label": { + "zh_CN": "在点击由 clearable 属性生成的清空按钮时触发" + }, + "description": { + "zh_CN": "在点击由 clearable 属性生成的清空按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onSelect": { + "label": { + "zh_CN": "点击选中建议项时触发" + }, + "description": { + "zh_CN": "点击选中建议项时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "prepend": { + "label": { + "zh_CN": "输入框前置内容,在 prefix 之前" + }, + "description": { + "zh_CN": "输入框前置内容,在 prefix 之前" + } + }, + "append": { + "label": { + "zh_CN": "输入框后置内容,在 suffix 之后" + }, + "description": { + "zh_CN": "输入框后置内容,在 suffix 之后" + } + }, + "prefix": { + "label": { + "zh_CN": "输入框头部内容" + }, + "description": { + "zh_CN": "输入框头部内容" + } + }, + "suffix": { + "label": { + "zh_CN": "输入框尾部内容" + }, + "description": { + "zh_CN": "输入框尾部内容" + } + } + } + } + }, + { + "id": 10, + "version": "2.7.8", + "name": { + "zh_CN": "级联选择器" + }, + "component": "ElCascader", + "icon": "cascader", + "description": "当一个数据集合有清晰的层级结构时,可通过级联选择器逐级查看并选择。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCascader", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "options", + "props", + "size", + "placeholder", + "disabled", + "clearable", + "filterable", + "filterMethod", + "separator", + "showAllLevels", + "collapseTags", + "maxCollapseTags", + "collapseTagsTooltip", + "debounce", + "beforeFilter", + "placement", + "fallbackPlacements", + "popperClass", + "teleported", + "tagType", + "tagEffect", + "validateEvent", + "persistent", + "emptyValues", + "valueOnClear" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "options", + "label": { + "text": { + "zh_CN": "options" + } + }, + "description": "选项的数据源, value 和 label 可以通过 CascaderProps 自定义.", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "props", + "label": { + "text": { + "zh_CN": "props" + } + }, + "description": "配置选项, 请参阅下面 CascaderProps 表。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "输入框占位文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否支持清空选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "filterable", + "label": { + "text": { + "zh_CN": "filterable" + } + }, + "description": "该选项是否可以被搜索", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "filterMethod", + "label": { + "text": { + "zh_CN": "filterMethod" + } + }, + "description": "自定义搜索逻辑,第一个参数是node,第二个参数是keyword,返回的布尔值表示是否保留该选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "separator", + "label": { + "text": { + "zh_CN": "separator" + } + }, + "description": "用于分隔选项的字符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showAllLevels", + "label": { + "text": { + "zh_CN": "showAllLevels" + } + }, + "description": "输入框中是否显示选中值的完整路径", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "collapseTags", + "label": { + "text": { + "zh_CN": "collapseTags" + } + }, + "description": "多选模式下是否折叠Tag", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "maxCollapseTags", + "label": { + "text": { + "zh_CN": "maxCollapseTags" + } + }, + "description": "需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "collapseTagsTooltip", + "label": { + "text": { + "zh_CN": "collapseTagsTooltip" + } + }, + "description": "当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "debounce", + "label": { + "text": { + "zh_CN": "debounce" + } + }, + "description": "搜索关键词正在输入时的去抖延迟,单位为毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "beforeFilter", + "label": { + "text": { + "zh_CN": "beforeFilter" + } + }, + "description": "过滤函数调用前,所要调用的钩子函数,该函数接收要过滤的值作为参数。 如果该函数的返回值是 false 或者是一个被拒绝的 Promise,那么接下来的过滤逻辑便不会执行。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "下拉框出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "Tooltip 可用的 positions 请查看popper.js 文档", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "弹出内容的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "弹层是否使用 teleport", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "tagType", + "label": { + "text": { + "zh_CN": "tagType" + } + }, + "description": "标签类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tagEffect", + "label": { + "text": { + "zh_CN": "tagEffect" + } + }, + "description": "tag effect", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "输入时是否触发表单的校验", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当下拉框未被激活并且persistent设置为false,下拉框容器会被删除。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "当绑定值变化时触发的事件" + }, + "description": { + "zh_CN": "当绑定值变化时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "当获得焦点时触发" + }, + "description": { + "zh_CN": "当获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "当失去焦点时触发" + }, + "description": { + "zh_CN": "当失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClear": { + "label": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "description": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onVisibleChange": { + "label": { + "zh_CN": "下拉框出现/隐藏时触发" + }, + "description": { + "zh_CN": "下拉框出现/隐藏时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onExpandChange": { + "label": { + "zh_CN": "当展开节点发生变化时触发" + }, + "description": { + "zh_CN": "当展开节点发生变化时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onRemoveTag": { + "label": { + "zh_CN": "在多选模式下,移除Tag时触发" + }, + "description": { + "zh_CN": "在多选模式下,移除Tag时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义备选项的节点内容,分别为当前节点的 Node 对象和数据" + }, + "description": { + "zh_CN": "自定义备选项的节点内容,分别为当前节点的 Node 对象和数据" + } + } + } + } + }, + { + "id": 11, + "version": "2.7.8", + "name": { + "zh_CN": "多选框" + }, + "component": "ElCheckbox", + "icon": "checkbox", + "description": "在一组备选项中进行多选。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCheckbox", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "label", + "value", + "indeterminate", + "disabled", + "checked", + "name", + "trueValue", + "falseValue", + "trueLabel", + "falseLabel", + "id", + "border", + "size", + "tabindex", + "validateEvent", + "ariaControls" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "label", + "label": { + "text": { + "zh_CN": "label" + } + }, + "description": "选中状态的值,只有在绑定对象类型为 array 时有效。 如果没有 value, label则作为value使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "value", + "label": { + "text": { + "zh_CN": "value" + } + }, + "description": "选中状态的值(只有在checkbox-group或者绑定对象类型为array时有效)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "indeterminate", + "label": { + "text": { + "zh_CN": "indeterminate" + } + }, + "description": "设置不确定状态,仅负责样式控制", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "checked", + "label": { + "text": { + "zh_CN": "checked" + } + }, + "description": "当前是否勾选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "原生 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "trueValue", + "label": { + "text": { + "zh_CN": "trueValue" + } + }, + "description": "选中时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "falseValue", + "label": { + "text": { + "zh_CN": "falseValue" + } + }, + "description": "没有选中时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "trueLabel", + "label": { + "text": { + "zh_CN": "trueLabel" + } + }, + "description": "选中时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "falseLabel", + "label": { + "text": { + "zh_CN": "falseLabel" + } + }, + "description": "没有选中时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "input id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "border", + "label": { + "text": { + "zh_CN": "border" + } + }, + "description": "是否显示边框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "Checkbox 的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "输入框的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "输入时是否触发表单的校验", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaControls", + "label": { + "text": { + "zh_CN": "ariaControls" + } + }, + "description": "与 aria-control一致, 当 indeterminate为 true时生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "当绑定值变化时触发的事件" + }, + "description": { + "zh_CN": "当绑定值变化时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + } + } + } + }, + { + "id": 12, + "version": "2.7.8", + "name": { + "zh_CN": "Picker 取色器" + }, + "component": "ElColorPicker", + "icon": "colorpicker", + "description": "用于颜色选择,支持多种格式。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElColorPicker", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "id", + "showAlpha", + "colorFormat", + "disabled", + "size", + "popperClass", + "tabindex", + "teleported", + "predefine", + "validateEvent", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "ColorPicker 的 id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showAlpha", + "label": { + "text": { + "zh_CN": "showAlpha" + } + }, + "description": "是否支持透明度选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "colorFormat", + "label": { + "text": { + "zh_CN": "colorFormat" + } + }, + "description": "写入 v-model 的颜色的格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "ColorPicker 下拉框的类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "ColorPicker 的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将 popover 的下拉列表渲染至 body 下", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "predefine", + "label": { + "text": { + "zh_CN": "predefine" + } + }, + "description": "预定义颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "输入时是否触发表单的校验", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "ColorPicker 的 aria-label", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "当绑定值变化时触发" + }, + "description": { + "zh_CN": "当绑定值变化时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onActiveChange": { + "label": { + "zh_CN": "面板中当前显示的颜色发生改变时触发" + }, + "description": { + "zh_CN": "面板中当前显示的颜色发生改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "当获得焦点时触发" + }, + "description": { + "zh_CN": "当获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "当失去焦点时触发" + }, + "description": { + "zh_CN": "当失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 13, + "version": "2.7.8", + "name": { + "zh_CN": "Picker 日期选择器" + }, + "component": "ElDatePicker", + "icon": "datepicker", + "description": "用于选择或输入日期", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDatePicker", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "id", + "name", + "popperClass", + "format", + "valueFormat", + "dateFormat", + "timeFormat", + "type", + "clearable", + "clearIcon", + "editable", + "prefixIcon", + "size", + "readonly", + "disabled", + "placeholder", + "popperOptions", + "modelValue", + "rangeSeparator", + "startPlaceholder", + "endPlaceholder", + "defaultValue", + "defaultTime", + "isRange", + "disabledHours", + "disabledMinutes", + "disabledSeconds", + "disabledDate", + "cellClassName", + "shortcuts", + "arrowControl", + "tabindex", + "validateEvent", + "unlinkPanels", + "placement", + "fallbackPlacements", + "emptyValues", + "valueOnClear", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "等价于原生 input id 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "等价于原生 input name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "DatePicker 下拉框的类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "format", + "label": { + "text": { + "zh_CN": "format" + } + }, + "description": "显示在输入框中的格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "valueFormat", + "label": { + "text": { + "zh_CN": "valueFormat" + } + }, + "description": "可选,绑定值的格式。 不指定则绑定值为 Date 对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "dateFormat", + "label": { + "text": { + "zh_CN": "dateFormat" + } + }, + "description": "可选,时间选择器下拉列表中显示的日期格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "timeFormat", + "label": { + "text": { + "zh_CN": "timeFormat" + } + }, + "description": "可选,时间选择器下拉列表中显示的时间格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "显示类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否显示清除按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearIcon", + "label": { + "text": { + "zh_CN": "clearIcon" + } + }, + "description": "自定义清除图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "editable", + "label": { + "text": { + "zh_CN": "editable" + } + }, + "description": "文本框可输入", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "prefixIcon", + "label": { + "text": { + "zh_CN": "prefixIcon" + } + }, + "description": "自定义前缀图标 如果 type的值是TimeLikeType,那么就是 Clock,不然就是 Calendar", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "readonly", + "label": { + "text": { + "zh_CN": "readonly" + } + }, + "description": "只读", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "非范围选择时的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "自定义 popper 选项,更多请参考 popper.js", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值,如果它是数组,长度应该是 2", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "rangeSeparator", + "label": { + "text": { + "zh_CN": "rangeSeparator" + } + }, + "description": "选择范围时的分隔符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "startPlaceholder", + "label": { + "text": { + "zh_CN": "startPlaceholder" + } + }, + "description": "范围选择时开始日期的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "endPlaceholder", + "label": { + "text": { + "zh_CN": "endPlaceholder" + } + }, + "description": "范围选择时结束日期的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultValue", + "label": { + "text": { + "zh_CN": "defaultValue" + } + }, + "description": "可选,选择器打开时默认显示的时间", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "defaultTime", + "label": { + "text": { + "zh_CN": "defaultTime" + } + }, + "description": "范围选择时选中日期所使用的当日内具体时刻", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "isRange", + "label": { + "text": { + "zh_CN": "isRange" + } + }, + "description": "设置一个日期范围", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabledHours", + "label": { + "text": { + "zh_CN": "disabledHours" + } + }, + "description": "设置不可选择的小时", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledMinutes", + "label": { + "text": { + "zh_CN": "disabledMinutes" + } + }, + "description": "设置不可选择的分钟", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledSeconds", + "label": { + "text": { + "zh_CN": "disabledSeconds" + } + }, + "description": "设置不可选择的秒钟", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledDate", + "label": { + "text": { + "zh_CN": "disabledDate" + } + }, + "description": "一个用来判断该日期是否被禁用的函数,接受一个 Date 对象作为参数。 应该返回一个 Boolean 值。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "cellClassName", + "label": { + "text": { + "zh_CN": "cellClassName" + } + }, + "description": "设置自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "shortcuts", + "label": { + "text": { + "zh_CN": "shortcuts" + } + }, + "description": "设置快捷选项,需要传入数组对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "arrowControl", + "label": { + "text": { + "zh_CN": "arrowControl" + } + }, + "description": "是否使用箭头进行时间选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "定义元素的键盘导航顺序", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "unlinkPanels", + "label": { + "text": { + "zh_CN": "unlinkPanels" + } + }, + "description": "在范围选择器里取消两个日期面板之间的联动", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "下拉框出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "Tooltip 可用的 positions 请查看popper.js 文档", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "为无障碍支持设置元素的可访问标签", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 14, + "version": "2.7.8", + "name": { + "zh_CN": "表单" + }, + "component": "ElForm", + "icon": "form", + "description": "表单包含 输入框, 单选框, 下拉选择, 多选框 等用户输入的组件。 使用表单,您可以收集、验证和提交数据。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElForm", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "size", + "disabled", + "model", + "rules", + "labelPosition", + "requireAsteriskPosition", + "labelWidth", + "labelSuffix", + "inline", + "inlineMessage", + "statusIcon", + "showMessage", + "validateOnRuleChange", + "hideRequiredAsterisk", + "scrollToError", + "scrollIntoViewOptions" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "用于控制该表单内组件的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用该表单内的所有组件。 如果设置为 true, 它将覆盖内部组件的 disabled 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "model", + "label": { + "text": { + "zh_CN": "model" + } + }, + "description": "表单数据对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "rules", + "label": { + "text": { + "zh_CN": "rules" + } + }, + "description": "表单验证规则", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "labelPosition", + "label": { + "text": { + "zh_CN": "labelPosition" + } + }, + "description": "表单域标签的位置, 当设置为 left 或 right 时,则也需要设置 label-width 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "requireAsteriskPosition", + "label": { + "text": { + "zh_CN": "requireAsteriskPosition" + } + }, + "description": "星号的位置。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "labelWidth", + "label": { + "text": { + "zh_CN": "labelWidth" + } + }, + "description": "标签的长度,例如 '50px'。 作为 Form 直接子元素的 form-item 会继承该值。 可以使用 auto。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "labelSuffix", + "label": { + "text": { + "zh_CN": "labelSuffix" + } + }, + "description": "表单域标签的后缀", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "inline", + "label": { + "text": { + "zh_CN": "inline" + } + }, + "description": "行内表单模式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "inlineMessage", + "label": { + "text": { + "zh_CN": "inlineMessage" + } + }, + "description": "是否以行内形式展示校验信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "statusIcon", + "label": { + "text": { + "zh_CN": "statusIcon" + } + }, + "description": "是否在输入框中显示校验结果反馈图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showMessage", + "label": { + "text": { + "zh_CN": "showMessage" + } + }, + "description": "是否显示校验错误信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "validateOnRuleChange", + "label": { + "text": { + "zh_CN": "validateOnRuleChange" + } + }, + "description": "是否在 rules 属性改变后立即触发一次验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hideRequiredAsterisk", + "label": { + "text": { + "zh_CN": "hideRequiredAsterisk" + } + }, + "description": "是否隐藏必填字段标签旁边的红色星号。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "scrollToError", + "label": { + "text": { + "zh_CN": "scrollToError" + } + }, + "description": "当校验失败时,滚动到第一个错误表单项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "scrollIntoViewOptions", + "label": { + "text": { + "zh_CN": "scrollIntoViewOptions" + } + }, + "description": "当校验有失败结果时,滚动到第一个失败的表单项目 可通过 scrollIntoView 配置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": { + "onValidate": { + "label": { + "zh_CN": "任一表单项被校验后触发" + }, + "description": { + "zh_CN": "任一表单项被校验后触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 15, + "version": "2.7.8", + "name": { + "zh_CN": "输入框" + }, + "component": "ElInput", + "icon": "input", + "description": "通过鼠标或键盘输入字符", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElInput", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "id", + "size", + "disabled", + "modelValue", + "maxlength", + "minlength", + "type", + "resize", + "autosize", + "autocomplete", + "formatter", + "parser", + "placeholder", + "form", + "readonly", + "clearable", + "showPassword", + "showWordLimit", + "suffixIcon", + "prefixIcon", + "containerRole", + "tabindex", + "validateEvent", + "inputStyle", + "autofocus", + "rows", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸,只在 type 不为 'textarea' 时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "maxlength", + "label": { + "text": { + "zh_CN": "maxlength" + } + }, + "description": "同原生 maxlength 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "minlength", + "label": { + "text": { + "zh_CN": "minlength" + } + }, + "description": "原生属性,最小输入长度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "resize", + "label": { + "text": { + "zh_CN": "resize" + } + }, + "description": "控制是否能被用户缩放", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "autosize", + "label": { + "text": { + "zh_CN": "autosize" + } + }, + "description": "textarea 高度是否自适应,仅 type 为 'textarea' 时生效。 可以接受一个对象,比如: { minRows: 2, maxRows: 6 }", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "autocomplete", + "label": { + "text": { + "zh_CN": "autocomplete" + } + }, + "description": "原生 autocomplete 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "formatter", + "label": { + "text": { + "zh_CN": "formatter" + } + }, + "description": "指定输入值的格式。(只有当 type 是\"text\"时才能工作)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "parser", + "label": { + "text": { + "zh_CN": "parser" + } + }, + "description": "指定从格式化器输入中提取的值。(仅当 type 是\"text\"时才起作用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "输入框占位文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "form", + "label": { + "text": { + "zh_CN": "form" + } + }, + "description": "原生属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "readonly", + "label": { + "text": { + "zh_CN": "readonly" + } + }, + "description": "原生 readonly 属性,是否只读", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否显示清除按钮,只有当 type 不是 textarea时生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showPassword", + "label": { + "text": { + "zh_CN": "showPassword" + } + }, + "description": "是否显示切换密码图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showWordLimit", + "label": { + "text": { + "zh_CN": "showWordLimit" + } + }, + "description": "是否显示统计字数, 只在 type 为 'text' 或 'textarea' 的时候生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "suffixIcon", + "label": { + "text": { + "zh_CN": "suffixIcon" + } + }, + "description": "自定义后缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prefixIcon", + "label": { + "text": { + "zh_CN": "prefixIcon" + } + }, + "description": "自定义前缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "containerRole", + "label": { + "text": { + "zh_CN": "containerRole" + } + }, + "description": "容器角色,为选择器组件提供的内部属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "输入框的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "输入时是否触发表单的校验", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "inputStyle", + "label": { + "text": { + "zh_CN": "inputStyle" + } + }, + "description": "input 元素或 textarea 元素的 style", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "autofocus", + "label": { + "text": { + "zh_CN": "autofocus" + } + }, + "description": "原生属性,自动获取焦点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "rows", + "label": { + "text": { + "zh_CN": "rows" + } + }, + "description": "输入框行数,仅 type 为 'textarea' 时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onInput": { + "label": { + "zh_CN": "在 Input 值改变时触发" + }, + "description": { + "zh_CN": "在 Input 值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "仅当 modelValue 改变时,当输入框失去焦点或用户按Enter时触发" + }, + "description": { + "zh_CN": "仅当 modelValue 改变时,当输入框失去焦点或用户按Enter时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "当选择器的输入框获得焦点时触发" + }, + "description": { + "zh_CN": "当选择器的输入框获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "当选择器的输入框失去焦点时触发" + }, + "description": { + "zh_CN": "当选择器的输入框失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClear": { + "label": { + "zh_CN": "在点击由 clearable 属性生成的清空按钮时触发" + }, + "description": { + "zh_CN": "在点击由 clearable 属性生成的清空按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "prepend": { + "label": { + "zh_CN": "输入框前置内容,只对非 type=\"textarea\" 有效" + }, + "description": { + "zh_CN": "输入框前置内容,只对非 type=\"textarea\" 有效" + } + }, + "append": { + "label": { + "zh_CN": "输入框后置内容,只对非 type=\"textarea\" 有效" + }, + "description": { + "zh_CN": "输入框后置内容,只对非 type=\"textarea\" 有效" + } + }, + "prefix": { + "label": { + "zh_CN": "输入框头部内容,只对非 type=\"textarea\" 有效" + }, + "description": { + "zh_CN": "输入框头部内容,只对非 type=\"textarea\" 有效" + } + }, + "suffix": { + "label": { + "zh_CN": "输入框尾部内容,只对非 type=\"textarea\" 有效" + }, + "description": { + "zh_CN": "输入框尾部内容,只对非 type=\"textarea\" 有效" + } + } + } + } + }, + { + "id": 16, + "version": "2.7.8", + "name": { + "zh_CN": "Number 数字输入框" + }, + "component": "ElInputNumber", + "icon": "inputnumber", + "description": "仅允许输入标准的数字值,可定义范围", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElInputNumber", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "id", + "step", + "stepStrictly", + "max", + "min", + "modelValue", + "readonly", + "disabled", + "size", + "controls", + "controlsPosition", + "valueOnClear", + "name", + "placeholder", + "precision", + "validateEvent", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "等价于原生 input id 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "step", + "label": { + "text": { + "zh_CN": "step" + } + }, + "description": "计数器步长", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "stepStrictly", + "label": { + "text": { + "zh_CN": "stepStrictly" + } + }, + "description": "是否只能输入 step 的倍数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "max", + "label": { + "text": { + "zh_CN": "max" + } + }, + "description": "设置计数器允许的最大值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "min", + "label": { + "text": { + "zh_CN": "min" + } + }, + "description": "设置计数器允许的最小值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "readonly", + "label": { + "text": { + "zh_CN": "readonly" + } + }, + "description": "原生 readonly 属性,是否只读", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "计数器尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "controls", + "label": { + "text": { + "zh_CN": "controls" + } + }, + "description": "是否使用控制按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "controlsPosition", + "label": { + "text": { + "zh_CN": "controlsPosition" + } + }, + "description": "控制按钮位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "当输入框被清空时显示的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "等价于原生 input name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "等价于原生 input placeholder 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "precision", + "label": { + "text": { + "zh_CN": "precision" + } + }, + "description": "数值精度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "绑定值被改变时触发" + }, + "description": { + "zh_CN": "绑定值被改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "在组件 Input 失去焦点时触发" + }, + "description": { + "zh_CN": "在组件 Input 失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "在组件 Input 获得焦点时触发" + }, + "description": { + "zh_CN": "在组件 Input 获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "prefix": { + "label": { + "zh_CN": "输入框头部内容" + }, + "description": { + "zh_CN": "输入框头部内容" + } + }, + "suffix": { + "label": { + "zh_CN": "输入框尾部内容" + }, + "description": { + "zh_CN": "输入框尾部内容" + } + } + } + } + }, + { + "id": 17, + "version": "2.7.8", + "name": { + "zh_CN": "提及2.8.0" + }, + "component": "ElMention", + "icon": "mention", + "description": "用于在输入中提及某人或某事。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElMention", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "id", + "size", + "disabled", + "modelValue", + "maxlength", + "minlength", + "type", + "resize", + "autosize", + "autocomplete", + "formatter", + "parser", + "placeholder", + "form", + "readonly", + "clearable", + "showPassword", + "showWordLimit", + "suffixIcon", + "prefixIcon", + "containerRole", + "tabindex", + "validateEvent", + "inputStyle", + "autofocus", + "rows", + "ariaLabel", + "options", + "prefix", + "split", + "filterOption", + "placement", + "showArrow", + "offset", + "whole", + "checkIsWhole", + "loading", + "popperClass", + "popperOptions" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "输入值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "maxlength", + "label": { + "text": { + "zh_CN": "maxlength" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "minlength", + "label": { + "text": { + "zh_CN": "minlength" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "resize", + "label": { + "text": { + "zh_CN": "resize" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "autosize", + "label": { + "text": { + "zh_CN": "autosize" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "autocomplete", + "label": { + "text": { + "zh_CN": "autocomplete" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "formatter", + "label": { + "text": { + "zh_CN": "formatter" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "parser", + "label": { + "text": { + "zh_CN": "parser" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "form", + "label": { + "text": { + "zh_CN": "form" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "readonly", + "label": { + "text": { + "zh_CN": "readonly" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showPassword", + "label": { + "text": { + "zh_CN": "showPassword" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showWordLimit", + "label": { + "text": { + "zh_CN": "showWordLimit" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "suffixIcon", + "label": { + "text": { + "zh_CN": "suffixIcon" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prefixIcon", + "label": { + "text": { + "zh_CN": "prefixIcon" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "containerRole", + "label": { + "text": { + "zh_CN": "containerRole" + } + }, + "description": "容器角色,为选择器组件提供的内部属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "定义元素的键盘导航顺序", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "inputStyle", + "label": { + "text": { + "zh_CN": "inputStyle" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "autofocus", + "label": { + "text": { + "zh_CN": "autofocus" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "rows", + "label": { + "text": { + "zh_CN": "rows" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "为无障碍支持设置元素的可访问标签", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "options", + "label": { + "text": { + "zh_CN": "options" + } + }, + "description": "提及选项列表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "prefix", + "label": { + "text": { + "zh_CN": "prefix" + } + }, + "description": "触发字段的前缀。 字符串长度必须且只能为 1", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "split", + "label": { + "text": { + "zh_CN": "split" + } + }, + "description": "用于拆分提及的字符。 字符串长度必须且只能为 1", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "filterOption", + "label": { + "text": { + "zh_CN": "filterOption" + } + }, + "description": "定制筛选器选项逻辑", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "设置弹出位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showArrow", + "label": { + "text": { + "zh_CN": "showArrow" + } + }, + "description": "下拉菜单的内容是否有箭头", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "下拉面板偏移量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "whole", + "label": { + "text": { + "zh_CN": "whole" + } + }, + "description": "当退格键被按下做删除操作时,是否将提及部分作为整体删除", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "checkIsWhole", + "label": { + "text": { + "zh_CN": "checkIsWhole" + } + }, + "description": "当退格键被按下做删除操作时,检查是否将提及部分作为整体删除", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "提及的下拉面板是否处于加载状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "自定义浮层类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onSearch": { + "label": { + "zh_CN": "按下触发字段时触发" + }, + "description": { + "zh_CN": "按下触发字段时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onSelect": { + "label": { + "zh_CN": "当用户选择选项时触发" + }, + "description": { + "zh_CN": "当用户选择选项时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 18, + "version": "2.7.8", + "name": { + "zh_CN": "单选框" + }, + "component": "ElRadio", + "icon": "radio", + "description": "在一组备选项中进行单选", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElRadio", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "size", + "disabled", + "label", + "value", + "name", + "border" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "单选框的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用单选框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "label", + "label": { + "text": { + "zh_CN": "label" + } + }, + "description": "单选框的 label 如果value没有值, label则作为value使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "value", + "label": { + "text": { + "zh_CN": "value" + } + }, + "description": "单选框的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "原始 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "border", + "label": { + "text": { + "zh_CN": "border" + } + }, + "description": "是否显示边框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "绑定值变化时触发的事件" + }, + "description": { + "zh_CN": "绑定值变化时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 19, + "version": "2.7.8", + "name": { + "zh_CN": "评分" + }, + "component": "ElRate", + "icon": "rate", + "description": "用于评分", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElRate", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "id", + "lowThreshold", + "highThreshold", + "max", + "colors", + "voidColor", + "disabledVoidColor", + "icons", + "voidIcon", + "disabledVoidIcon", + "disabled", + "allowHalf", + "showText", + "showScore", + "textColor", + "texts", + "scoreTemplate", + "size", + "clearable", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "原生 id 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "lowThreshold", + "label": { + "text": { + "zh_CN": "lowThreshold" + } + }, + "description": "低分和中等分数的界限值, 值本身被划分在低分中", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "highThreshold", + "label": { + "text": { + "zh_CN": "highThreshold" + } + }, + "description": "高分和中等分数的界限值, 值本身被划分在高分中", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "max", + "label": { + "text": { + "zh_CN": "max" + } + }, + "description": "最大分值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "colors", + "label": { + "text": { + "zh_CN": "colors" + } + }, + "description": "icon 的颜色。 若传入数组,共有 3 个元素,为 3 个分段所对应的颜色;若传入对象,可自定义分段,键名为分段的界限值,键值为对应的颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "voidColor", + "label": { + "text": { + "zh_CN": "voidColor" + } + }, + "description": "未选中 icon 的颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabledVoidColor", + "label": { + "text": { + "zh_CN": "disabledVoidColor" + } + }, + "description": "只读时未选中 icon 的颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "icons", + "label": { + "text": { + "zh_CN": "icons" + } + }, + "description": "图标组件 若传入数组,则需要传入 3 个元素,分别为 3 个部分所对应的类名;若传入对象,则可自定义分段,键名为分段的界限值,键值为对应的类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "voidIcon", + "label": { + "text": { + "zh_CN": "voidIcon" + } + }, + "description": "未被选中的图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabledVoidIcon", + "label": { + "text": { + "zh_CN": "disabledVoidIcon" + } + }, + "description": "禁用状态的未选择图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否为只读", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "allowHalf", + "label": { + "text": { + "zh_CN": "allowHalf" + } + }, + "description": "是否允许半选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showText", + "label": { + "text": { + "zh_CN": "showText" + } + }, + "description": "是否显示辅助文字,若为真,则会从 texts 数组中选取当前分数对应的文字内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showScore", + "label": { + "text": { + "zh_CN": "showScore" + } + }, + "description": "是否显示当前分数, show-score 和 show-text 不能同时为真", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "textColor", + "label": { + "text": { + "zh_CN": "textColor" + } + }, + "description": "辅助文字的颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "texts", + "label": { + "text": { + "zh_CN": "texts" + } + }, + "description": "辅助文字数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "scoreTemplate", + "label": { + "text": { + "zh_CN": "scoreTemplate" + } + }, + "description": "分数显示模板", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否可以重置值为 0", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "和 Rate 的 aria-label 属性保持一致", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "分值改变时触发" + }, + "description": { + "zh_CN": "分值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 20, + "version": "2.7.8", + "name": { + "zh_CN": "选择器" + }, + "component": "ElSelect", + "icon": "select", + "description": "当选项过多时,使用下拉菜单展示并选择内容。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSelect", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "name", + "id", + "modelValue", + "autocomplete", + "automaticDropdown", + "size", + "effect", + "disabled", + "clearable", + "filterable", + "allowCreate", + "loading", + "popperClass", + "popperOptions", + "remote", + "loadingText", + "noMatchText", + "noDataText", + "remoteMethod", + "filterMethod", + "multiple", + "multipleLimit", + "placeholder", + "defaultFirstOption", + "reserveKeyword", + "valueKey", + "collapseTags", + "collapseTagsTooltip", + "maxCollapseTags", + "teleported", + "persistent", + "clearIcon", + "fitInputWidth", + "suffixIcon", + "tagType", + "tagEffect", + "validateEvent", + "remoteShowSuffix", + "placement", + "fallbackPlacements", + "appendTo", + "emptyValues", + "valueOnClear", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "Select 输入框的原生 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "autocomplete", + "label": { + "text": { + "zh_CN": "autocomplete" + } + }, + "description": "Select 输入框的原生 autocomplete 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "automaticDropdown", + "label": { + "text": { + "zh_CN": "automaticDropdown" + } + }, + "description": "对于不可搜索的 Select,是否在输入框获得焦点后自动弹出选项菜单", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "tooltip 主题,内置了 dark / light 两种", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否可以清空选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "filterable", + "label": { + "text": { + "zh_CN": "filterable" + } + }, + "description": "Select 组件是否可筛选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "allowCreate", + "label": { + "text": { + "zh_CN": "allowCreate" + } + }, + "description": "是否允许用户创建新条目, 只有当 filterable 设置为 true 时才会生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "是否正在从远程获取数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "选择器下拉菜单的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "remote", + "label": { + "text": { + "zh_CN": "remote" + } + }, + "description": "其中的选项是否从服务器远程加载", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "loadingText", + "label": { + "text": { + "zh_CN": "loadingText" + } + }, + "description": "从服务器加载数据时显示的文本,默认为“Loading”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "noMatchText", + "label": { + "text": { + "zh_CN": "noMatchText" + } + }, + "description": "搜索条件无匹配时显示的文字,也可以使用 empty 插槽设置,默认是 “No matching data'”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "noDataText", + "label": { + "text": { + "zh_CN": "noDataText" + } + }, + "description": "无选项时显示的文字,也可以使用 empty 插槽设置自定义内容,默认是 “No data”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "remoteMethod", + "label": { + "text": { + "zh_CN": "remoteMethod" + } + }, + "description": "自定义远程搜索方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterMethod", + "label": { + "text": { + "zh_CN": "filterMethod" + } + }, + "description": "自定义筛选方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "multiple", + "label": { + "text": { + "zh_CN": "multiple" + } + }, + "description": "是否多选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "multipleLimit", + "label": { + "text": { + "zh_CN": "multipleLimit" + } + }, + "description": "multiple 属性设置为 true 时,代表多选场景下用户最多可以选择的项目数, 为 0 则不限制", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "占位符,默认为“Select”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultFirstOption", + "label": { + "text": { + "zh_CN": "defaultFirstOption" + } + }, + "description": "是否在输入框按下回车时,选择第一个匹配项。 需配合 filterable 或 remote 使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "reserveKeyword", + "label": { + "text": { + "zh_CN": "reserveKeyword" + } + }, + "description": "当 multiple 和 filterable被设置为 true 时,是否在选中一个选项后保留当前的搜索关键词", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "valueKey", + "label": { + "text": { + "zh_CN": "valueKey" + } + }, + "description": "作为 value 唯一标识的键名,绑定值为对象类型时必填", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "collapseTags", + "label": { + "text": { + "zh_CN": "collapseTags" + } + }, + "description": "多选时是否将选中值按文字的形式展示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "collapseTagsTooltip", + "label": { + "text": { + "zh_CN": "collapseTagsTooltip" + } + }, + "description": "当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "maxCollapseTags", + "label": { + "text": { + "zh_CN": "maxCollapseTags" + } + }, + "description": "需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将下拉列表插入至 body 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当下拉选择器未被激活并且persistent设置为false,选择器会被删除。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearIcon", + "label": { + "text": { + "zh_CN": "clearIcon" + } + }, + "description": "自定义清除图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fitInputWidth", + "label": { + "text": { + "zh_CN": "fitInputWidth" + } + }, + "description": "下拉框的宽度是否与输入框相同", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "suffixIcon", + "label": { + "text": { + "zh_CN": "suffixIcon" + } + }, + "description": "自定义后缀图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tagType", + "label": { + "text": { + "zh_CN": "tagType" + } + }, + "description": "标签类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tagEffect", + "label": { + "text": { + "zh_CN": "tagEffect" + } + }, + "description": "标签效果", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "remoteShowSuffix", + "label": { + "text": { + "zh_CN": "remoteShowSuffix" + } + }, + "description": "远程搜索方法显示后缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "下拉框出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "dropdown 可用的 positions 请查看popper.js 文档", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "appendTo", + "label": { + "text": { + "zh_CN": "appendTo" + } + }, + "description": "下拉框挂载到哪个 DOM 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "选中值发生变化时触发" + }, + "description": { + "zh_CN": "选中值发生变化时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClear": { + "label": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "description": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "当 input 获得焦点时触发" + }, + "description": { + "zh_CN": "当 input 获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "当 input 失去焦点时触发" + }, + "description": { + "zh_CN": "当 input 失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 21, + "version": "2.7.8", + "name": { + "zh_CN": "滑块" + }, + "component": "ElSlider", + "icon": "slider", + "description": "通过拖动滑块在一个固定区间内进行选择", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSlider", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "id", + "min", + "max", + "step", + "showInput", + "showInputControls", + "size", + "inputSize", + "showStops", + "showTooltip", + "formatTooltip", + "disabled", + "range", + "vertical", + "height", + "debounce", + "rangeStartLabel", + "rangeEndLabel", + "formatValueText", + "tooltipClass", + "placement", + "marks", + "validateEvent", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "min", + "label": { + "text": { + "zh_CN": "min" + } + }, + "description": "最小值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "max", + "label": { + "text": { + "zh_CN": "max" + } + }, + "description": "最大值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "step", + "label": { + "text": { + "zh_CN": "step" + } + }, + "description": "步长", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "showInput", + "label": { + "text": { + "zh_CN": "showInput" + } + }, + "description": "是否显示输入框,仅在非范围选择时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showInputControls", + "label": { + "text": { + "zh_CN": "showInputControls" + } + }, + "description": "在显示输入框的情况下,是否显示输入框的控制按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "slider 包装器的大小,垂直模式下该属性不可用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "inputSize", + "label": { + "text": { + "zh_CN": "inputSize" + } + }, + "description": "输入框的大小,如果设置了 size 属性,默认值自动取 size", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showStops", + "label": { + "text": { + "zh_CN": "showStops" + } + }, + "description": "是否显示间断点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showTooltip", + "label": { + "text": { + "zh_CN": "showTooltip" + } + }, + "description": "是否显示提示信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "formatTooltip", + "label": { + "text": { + "zh_CN": "formatTooltip" + } + }, + "description": "格式化提示信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "range", + "label": { + "text": { + "zh_CN": "range" + } + }, + "description": "是否开启选择范围", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "vertical", + "label": { + "text": { + "zh_CN": "vertical" + } + }, + "description": "垂直模式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "height", + "label": { + "text": { + "zh_CN": "height" + } + }, + "description": "滑块高度,垂直模式必填", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "debounce", + "label": { + "text": { + "zh_CN": "debounce" + } + }, + "description": "输入时的去抖延迟,毫秒,仅在 show-input 等于 true 时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "rangeStartLabel", + "label": { + "text": { + "zh_CN": "rangeStartLabel" + } + }, + "description": "当 range 为true时,屏幕阅读器标签开始的标记", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "rangeEndLabel", + "label": { + "text": { + "zh_CN": "rangeEndLabel" + } + }, + "description": "当 range 为true时,屏幕阅读器标签结尾的标记", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "formatValueText", + "label": { + "text": { + "zh_CN": "formatValueText" + } + }, + "description": "显示屏幕阅读器的 aria-valuenow 属性的格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "tooltipClass", + "label": { + "text": { + "zh_CN": "tooltipClass" + } + }, + "description": "tooltip 的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "Tooltip 出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "marks", + "label": { + "text": { + "zh_CN": "marks" + } + }, + "description": "标记, key 的类型必须为 number 且取值在闭区间 [min, max] 内,每个标记可以单独设置样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "输入时是否触发表单的校验", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "原生 aria-label属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onInput": { + "label": { + "zh_CN": "数据改变时触发(使用鼠标拖曳时,活动过程实时触发)" + }, + "description": { + "zh_CN": "数据改变时触发(使用鼠标拖曳时,活动过程实时触发)" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "值改变时触发(使用鼠标拖曳时,只在松开鼠标后触发)" + }, + "description": { + "zh_CN": "值改变时触发(使用鼠标拖曳时,只在松开鼠标后触发)" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 22, + "version": "2.7.8", + "name": { + "zh_CN": "开关" + }, + "component": "ElSwitch", + "icon": "switch", + "description": "表示两种相互对立的状态间的切换,多用于触发「开/关」。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSwitch", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "disabled", + "loading", + "size", + "width", + "inlinePrompt", + "inactiveActionIcon", + "activeActionIcon", + "activeIcon", + "inactiveIcon", + "activeText", + "inactiveText", + "activeValue", + "inactiveValue", + "name", + "validateEvent", + "beforeChange", + "id", + "tabindex", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值,必须等于 active-value 或 inactive-value,默认为 Boolean 类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "是否显示加载中", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "switch 的大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "switch 的宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "inlinePrompt", + "label": { + "text": { + "zh_CN": "inlinePrompt" + } + }, + "description": "无论图标或文本是否显示在点内,只会呈现文本的第一个字符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "inactiveActionIcon", + "label": { + "text": { + "zh_CN": "inactiveActionIcon" + } + }, + "description": "off状态下显示的图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "activeActionIcon", + "label": { + "text": { + "zh_CN": "activeActionIcon" + } + }, + "description": "on状态下显示的图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "activeIcon", + "label": { + "text": { + "zh_CN": "activeIcon" + } + }, + "description": "switch 状态为 on 时所显示图标,设置此项会忽略 active-text", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "inactiveIcon", + "label": { + "text": { + "zh_CN": "inactiveIcon" + } + }, + "description": "switch 状态为 off 时所显示图标,设置此项会忽略 inactive-text", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "activeText", + "label": { + "text": { + "zh_CN": "activeText" + } + }, + "description": "switch 打开时的文字描述", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "inactiveText", + "label": { + "text": { + "zh_CN": "inactiveText" + } + }, + "description": "switch 的状态为 off 时的文字描述", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "activeValue", + "label": { + "text": { + "zh_CN": "activeValue" + } + }, + "description": "switch 状态为 on 时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "inactiveValue", + "label": { + "text": { + "zh_CN": "inactiveValue" + } + }, + "description": "switch的状态为 off 时的值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "switch 对应的 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "beforeChange", + "label": { + "text": { + "zh_CN": "beforeChange" + } + }, + "description": "switch 状态改变前的钩子, 返回 false 或者返回 Promise 且被 reject 则停止切换", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "input 的 id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "input 的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "switch 状态发生变化时的回调函数" + }, + "description": { + "zh_CN": "switch 状态发生变化时的回调函数" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 23, + "version": "2.7.8", + "name": { + "zh_CN": "Picker 时间选择器" + }, + "component": "ElTimePicker", + "icon": "timepicker", + "description": "用于选择或输入日期", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTimePicker", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "id", + "name", + "popperClass", + "format", + "valueFormat", + "dateFormat", + "timeFormat", + "type", + "clearable", + "clearIcon", + "editable", + "prefixIcon", + "size", + "readonly", + "disabled", + "placeholder", + "popperOptions", + "modelValue", + "rangeSeparator", + "startPlaceholder", + "endPlaceholder", + "defaultValue", + "defaultTime", + "isRange", + "disabledHours", + "disabledMinutes", + "disabledSeconds", + "disabledDate", + "cellClassName", + "shortcuts", + "arrowControl", + "tabindex", + "validateEvent", + "unlinkPanels", + "placement", + "fallbackPlacements", + "emptyValues", + "valueOnClear", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "等价于原生 input id 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "等价于原生 input name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "TimePicker 下拉框的类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "format", + "label": { + "text": { + "zh_CN": "format" + } + }, + "description": "显示在输入框中的格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "valueFormat", + "label": { + "text": { + "zh_CN": "valueFormat" + } + }, + "description": "可选,绑定值的格式。 不指定则绑定值为 Date 对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "dateFormat", + "label": { + "text": { + "zh_CN": "dateFormat" + } + }, + "description": "可选,时间选择器下拉列表中显示的日期格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "timeFormat", + "label": { + "text": { + "zh_CN": "timeFormat" + } + }, + "description": "可选,时间选择器下拉列表中显示的时间格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "显示类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否显示清除按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearIcon", + "label": { + "text": { + "zh_CN": "clearIcon" + } + }, + "description": "自定义清除图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "editable", + "label": { + "text": { + "zh_CN": "editable" + } + }, + "description": "文本框可输入", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "prefixIcon", + "label": { + "text": { + "zh_CN": "prefixIcon" + } + }, + "description": "自定义前缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "readonly", + "label": { + "text": { + "zh_CN": "readonly" + } + }, + "description": "完全只读", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "非范围选择时的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "自定义popper选项,详见[popper.js](https://popper.js.org/docs/v2/)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值,如果它是数组,长度应该是 2", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "rangeSeparator", + "label": { + "text": { + "zh_CN": "rangeSeparator" + } + }, + "description": "选择范围时的分隔符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "startPlaceholder", + "label": { + "text": { + "zh_CN": "startPlaceholder" + } + }, + "description": "范围选择时开始日期的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "endPlaceholder", + "label": { + "text": { + "zh_CN": "endPlaceholder" + } + }, + "description": "范围选择时结束日期的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultValue", + "label": { + "text": { + "zh_CN": "defaultValue" + } + }, + "description": "可选,选择器打开时默认显示的时间", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "defaultTime", + "label": { + "text": { + "zh_CN": "defaultTime" + } + }, + "description": "选择日期后的默认时间值。 如未指定则默认时间值为 00:00:00", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "isRange", + "label": { + "text": { + "zh_CN": "isRange" + } + }, + "description": "是否为时间范围选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabledHours", + "label": { + "text": { + "zh_CN": "disabledHours" + } + }, + "description": "禁止选择部分小时选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledMinutes", + "label": { + "text": { + "zh_CN": "disabledMinutes" + } + }, + "description": "禁止选择部分分钟选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledSeconds", + "label": { + "text": { + "zh_CN": "disabledSeconds" + } + }, + "description": "禁止选择部分秒选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabledDate", + "label": { + "text": { + "zh_CN": "disabledDate" + } + }, + "description": "一个用来判断该日期是否被禁用的函数,接受一个 Date 对象作为参数。 应该返回一个 Boolean 值。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "cellClassName", + "label": { + "text": { + "zh_CN": "cellClassName" + } + }, + "description": "设置自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "shortcuts", + "label": { + "text": { + "zh_CN": "shortcuts" + } + }, + "description": "设置快捷选项,需要传入数组对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "arrowControl", + "label": { + "text": { + "zh_CN": "arrowControl" + } + }, + "description": "是否使用箭头进行时间选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "输入框的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "unlinkPanels", + "label": { + "text": { + "zh_CN": "unlinkPanels" + } + }, + "description": "在范围选择器里取消两个日期面板之间的联动", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 24, + "version": "2.7.8", + "name": { + "zh_CN": "Select 时间选择" + }, + "component": "ElTimeSelect", + "icon": "timeselect", + "description": "用于选择或输入日期", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTimeSelect", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "format", + "modelValue", + "disabled", + "editable", + "effect", + "clearable", + "size", + "placeholder", + "start", + "end", + "step", + "minTime", + "maxTime", + "name", + "prefixIcon", + "clearIcon", + "emptyValues", + "valueOnClear" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "format", + "label": { + "text": { + "zh_CN": "format" + } + }, + "description": "设置时间格式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "禁用状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "editable", + "label": { + "text": { + "zh_CN": "editable" + } + }, + "description": "文本框可输入", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "Tooltip 主题,内置了 dark / light 两种主题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否显示清除按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "非范围选择时的占位内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "start", + "label": { + "text": { + "zh_CN": "start" + } + }, + "description": "开始时间", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "end", + "label": { + "text": { + "zh_CN": "end" + } + }, + "description": "结束时间", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "step", + "label": { + "text": { + "zh_CN": "step" + } + }, + "description": "间隔时间", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "minTime", + "label": { + "text": { + "zh_CN": "minTime" + } + }, + "description": "最早时间点,早于该时间的时间段将被禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "maxTime", + "label": { + "text": { + "zh_CN": "maxTime" + } + }, + "description": "最晚时间点,晚于该时间的时间段将被禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "原生属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prefixIcon", + "label": { + "text": { + "zh_CN": "prefixIcon" + } + }, + "description": "自定义前缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "clearIcon", + "label": { + "text": { + "zh_CN": "clearIcon" + } + }, + "description": "自定义清除图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "用户确认选定的值时触发" + }, + "description": { + "zh_CN": "用户确认选定的值时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onBlur": { + "label": { + "zh_CN": "在组件 Input 失去焦点时触发" + }, + "description": { + "zh_CN": "在组件 Input 失去焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFocus": { + "label": { + "zh_CN": "在组件 Input 获得焦点时触发" + }, + "description": { + "zh_CN": "在组件 Input 获得焦点时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClear": { + "label": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "description": { + "zh_CN": "可清空的单选模式下用户点击清空按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 25, + "version": "2.7.8", + "name": { + "zh_CN": "穿梭框" + }, + "component": "ElTransfer", + "icon": "transfer", + "description": "", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTransfer", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "data", + "titles", + "buttonTexts", + "filterPlaceholder", + "filterMethod", + "leftDefaultChecked", + "rightDefaultChecked", + "renderContent", + "modelValue", + "format", + "filterable", + "props", + "targetOrder", + "validateEvent" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "data", + "label": { + "text": { + "zh_CN": "data" + } + }, + "description": "Transfer 的数据源", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "titles", + "label": { + "text": { + "zh_CN": "titles" + } + }, + "description": "自定义列表标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "buttonTexts", + "label": { + "text": { + "zh_CN": "buttonTexts" + } + }, + "description": "自定义按钮文案", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterPlaceholder", + "label": { + "text": { + "zh_CN": "filterPlaceholder" + } + }, + "description": "搜索框占位符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "filterMethod", + "label": { + "text": { + "zh_CN": "filterMethod" + } + }, + "description": "自定义搜索方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "leftDefaultChecked", + "label": { + "text": { + "zh_CN": "leftDefaultChecked" + } + }, + "description": "初始状态下左侧列表的已勾选项的 key 数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "rightDefaultChecked", + "label": { + "text": { + "zh_CN": "rightDefaultChecked" + } + }, + "description": "初始状态下右侧列表的已勾选项的 key 数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "renderContent", + "label": { + "text": { + "zh_CN": "renderContent" + } + }, + "description": "自定义数据项渲染函数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "format", + "label": { + "text": { + "zh_CN": "format" + } + }, + "description": "列表顶部勾选状态文案", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterable", + "label": { + "text": { + "zh_CN": "filterable" + } + }, + "description": "是否可搜索", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "props", + "label": { + "text": { + "zh_CN": "props" + } + }, + "description": "数据源的字段别名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "targetOrder", + "label": { + "text": { + "zh_CN": "targetOrder" + } + }, + "description": "右侧列表元素的排序策略: 若为 original,则保持与数据源相同的顺序; 若为 push,则新加入的元素排在最后; 若为 unshift,则新加入的元素排在最前", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "右侧列表元素变化时触发" + }, + "description": { + "zh_CN": "右侧列表元素变化时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义数据项的内容, 参数为 { option }" + }, + "description": { + "zh_CN": "自定义数据项的内容, 参数为 { option }" + } + } + } + } + }, + { + "id": 26, + "version": "2.7.8", + "name": { + "zh_CN": "树形选择2.1.8" + }, + "component": "ElTreeSelect", + "icon": "treeselect", + "description": "含有下拉菜单的树形选择器,结合了 el-tree 和 el-select 两个组件的功能。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTreeSelect", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "name", + "id", + "modelValue", + "autocomplete", + "automaticDropdown", + "size", + "effect", + "disabled", + "clearable", + "filterable", + "allowCreate", + "loading", + "popperClass", + "popperOptions", + "remote", + "loadingText", + "noMatchText", + "noDataText", + "remoteMethod", + "filterMethod", + "multiple", + "multipleLimit", + "placeholder", + "defaultFirstOption", + "reserveKeyword", + "valueKey", + "collapseTags", + "collapseTagsTooltip", + "maxCollapseTags", + "teleported", + "persistent", + "clearIcon", + "fitInputWidth", + "suffixIcon", + "tagType", + "tagEffect", + "validateEvent", + "remoteShowSuffix", + "placement", + "fallbackPlacements", + "appendTo", + "emptyValues", + "valueOnClear", + "ariaLabel", + "data", + "emptyText", + "renderAfterExpand", + "nodeKey", + "checkStrictly", + "defaultExpandAll", + "expandOnClickNode", + "checkOnClickNode", + "checkDescendants", + "autoExpandParent", + "defaultCheckedKeys", + "defaultExpandedKeys", + "currentNodeKey", + "renderContent", + "showCheckbox", + "draggable", + "allowDrag", + "allowDrop", + "props", + "lazy", + "highlightCurrent", + "load", + "filterNodeMethod", + "accordion", + "indent", + "icon", + "cacheData" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "Select 输入框的原生 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "autocomplete", + "label": { + "text": { + "zh_CN": "autocomplete" + } + }, + "description": "Select 输入框的原生 autocomplete 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "automaticDropdown", + "label": { + "text": { + "zh_CN": "automaticDropdown" + } + }, + "description": "对于不可搜索的 Select,是否在输入框获得焦点后自动弹出选项菜单", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "输入框尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "tooltip 主题,内置了 dark / light 两种", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearable", + "label": { + "text": { + "zh_CN": "clearable" + } + }, + "description": "是否可以清空选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "filterable", + "label": { + "text": { + "zh_CN": "filterable" + } + }, + "description": "Select 组件是否可筛选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "allowCreate", + "label": { + "text": { + "zh_CN": "allowCreate" + } + }, + "description": "是否允许用户创建新条目, 只有当 filterable 设置为 true 时才会生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "是否正在从远程获取数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "选择器下拉菜单的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "remote", + "label": { + "text": { + "zh_CN": "remote" + } + }, + "description": "其中的选项是否从服务器远程加载", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "loadingText", + "label": { + "text": { + "zh_CN": "loadingText" + } + }, + "description": "从服务器加载数据时显示的文本,默认为“Loading”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "noMatchText", + "label": { + "text": { + "zh_CN": "noMatchText" + } + }, + "description": "搜索条件无匹配时显示的文字,也可以使用 empty 插槽设置,默认是 “No matching data'”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "noDataText", + "label": { + "text": { + "zh_CN": "noDataText" + } + }, + "description": "无选项时显示的文字,也可以使用 empty 插槽设置自定义内容,默认是 “No data”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "remoteMethod", + "label": { + "text": { + "zh_CN": "remoteMethod" + } + }, + "description": "自定义远程搜索方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterMethod", + "label": { + "text": { + "zh_CN": "filterMethod" + } + }, + "description": "自定义筛选方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "multiple", + "label": { + "text": { + "zh_CN": "multiple" + } + }, + "description": "是否多选", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "multipleLimit", + "label": { + "text": { + "zh_CN": "multipleLimit" + } + }, + "description": "multiple 属性设置为 true 时,代表多选场景下用户最多可以选择的项目数, 为 0 则不限制", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "placeholder", + "label": { + "text": { + "zh_CN": "placeholder" + } + }, + "description": "占位符,默认为“Select”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultFirstOption", + "label": { + "text": { + "zh_CN": "defaultFirstOption" + } + }, + "description": "是否在输入框按下回车时,选择第一个匹配项。 需配合 filterable 或 remote 使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "reserveKeyword", + "label": { + "text": { + "zh_CN": "reserveKeyword" + } + }, + "description": "当 multiple 和 filterable被设置为 true 时,是否在选中一个选项后保留当前的搜索关键词", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "valueKey", + "label": { + "text": { + "zh_CN": "valueKey" + } + }, + "description": "作为 value 唯一标识的键名,绑定值为对象类型时必填", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "collapseTags", + "label": { + "text": { + "zh_CN": "collapseTags" + } + }, + "description": "多选时是否将选中值按文字的形式展示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "collapseTagsTooltip", + "label": { + "text": { + "zh_CN": "collapseTagsTooltip" + } + }, + "description": "当鼠标悬停于折叠标签的文本时,是否显示所有选中的标签。 要使用此属性,collapse-tags属性必须设定为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "maxCollapseTags", + "label": { + "text": { + "zh_CN": "maxCollapseTags" + } + }, + "description": "需要显示的 Tag 的最大数量 只有当 collapse-tags 设置为 true 时才会生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将下拉列表插入至 body 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当下拉选择器未被激活并且persistent设置为false,选择器会被删除。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "clearIcon", + "label": { + "text": { + "zh_CN": "clearIcon" + } + }, + "description": "自定义清除图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fitInputWidth", + "label": { + "text": { + "zh_CN": "fitInputWidth" + } + }, + "description": "下拉框的宽度是否与输入框相同", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "suffixIcon", + "label": { + "text": { + "zh_CN": "suffixIcon" + } + }, + "description": "自定义后缀图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tagType", + "label": { + "text": { + "zh_CN": "tagType" + } + }, + "description": "标签类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tagEffect", + "label": { + "text": { + "zh_CN": "tagEffect" + } + }, + "description": "标签效果", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "remoteShowSuffix", + "label": { + "text": { + "zh_CN": "remoteShowSuffix" + } + }, + "description": "远程搜索方法显示后缀图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "下拉框出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "dropdown 可用的 positions 请查看popper.js 文档", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "appendTo", + "label": { + "text": { + "zh_CN": "appendTo" + } + }, + "description": "下拉框挂载到哪个 DOM 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "emptyValues", + "label": { + "text": { + "zh_CN": "emptyValues" + } + }, + "description": "组件的空值配置 参考config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "valueOnClear", + "label": { + "text": { + "zh_CN": "valueOnClear" + } + }, + "description": "清空选项的值 参考 config-provider", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "等价于原生 input aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "data", + "label": { + "text": { + "zh_CN": "data" + } + }, + "description": "展示数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "emptyText", + "label": { + "text": { + "zh_CN": "emptyText" + } + }, + "description": "内容为空的时候展示的文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "renderAfterExpand", + "label": { + "text": { + "zh_CN": "renderAfterExpand" + } + }, + "description": "是否在第一次展开某个树节点后才渲染其子节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "nodeKey", + "label": { + "text": { + "zh_CN": "nodeKey" + } + }, + "description": "每个树节点用来作为唯一标识的属性,整棵树应该是唯一的", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "checkStrictly", + "label": { + "text": { + "zh_CN": "checkStrictly" + } + }, + "description": "在显示复选框的情况下,是否严格的遵循父子不互相关联的做法,默认为 false", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "defaultExpandAll", + "label": { + "text": { + "zh_CN": "defaultExpandAll" + } + }, + "description": "是否默认展开所有节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "expandOnClickNode", + "label": { + "text": { + "zh_CN": "expandOnClickNode" + } + }, + "description": "是否在点击节点的时候展开或者收缩节点, 默认值为 true,如果为 false,则只有点箭头图标的时候才会展开或者收缩节点。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "checkOnClickNode", + "label": { + "text": { + "zh_CN": "checkOnClickNode" + } + }, + "description": "是否在点击节点的时候选中节点,默认值为 false,即只有在点击复选框时才会选中节点。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "autoExpandParent", + "label": { + "text": { + "zh_CN": "autoExpandParent" + } + }, + "description": "展开子节点的时候是否自动展开父节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "defaultCheckedKeys", + "label": { + "text": { + "zh_CN": "defaultCheckedKeys" + } + }, + "description": "默认勾选的节点的 key 的数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "defaultExpandedKeys", + "label": { + "text": { + "zh_CN": "defaultExpandedKeys" + } + }, + "description": "默认展开的节点的 key 的数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "currentNodeKey", + "label": { + "text": { + "zh_CN": "currentNodeKey" + } + }, + "description": "当前选中的节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "renderContent", + "label": { + "text": { + "zh_CN": "renderContent" + } + }, + "description": "树节点的内容区的渲染 Function", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "showCheckbox", + "label": { + "text": { + "zh_CN": "showCheckbox" + } + }, + "description": "节点是否可被选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "draggable", + "label": { + "text": { + "zh_CN": "draggable" + } + }, + "description": "是否开启拖拽节点功能", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "allowDrag", + "label": { + "text": { + "zh_CN": "allowDrag" + } + }, + "description": "判断节点能否被拖拽 如果返回 false ,节点不能被拖动", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "allowDrop", + "label": { + "text": { + "zh_CN": "allowDrop" + } + }, + "description": "拖拽时判定目标节点能否成为拖动目标位置。 如果返回 false ,拖动节点不能被拖放到目标节点。 type 参数有三种情况:'prev'、'inner' 和 'next',分别表示放置在目标节点前、插入至目标节点和放置在目标节点后", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "props", + "label": { + "text": { + "zh_CN": "props" + } + }, + "description": "配置选项,具体看下表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "lazy", + "label": { + "text": { + "zh_CN": "lazy" + } + }, + "description": "是否懒加载子节点,需与 load 方法结合使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "highlightCurrent", + "label": { + "text": { + "zh_CN": "highlightCurrent" + } + }, + "description": "是否高亮当前选中节点,默认值是 false。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "load", + "label": { + "text": { + "zh_CN": "load" + } + }, + "description": "加载子树数据的方法,仅当 lazy 属性为true 时生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterNodeMethod", + "label": { + "text": { + "zh_CN": "filterNodeMethod" + } + }, + "description": "对树节点进行筛选时执行的方法, 返回 false 则表示这个节点会被隐藏", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "accordion", + "label": { + "text": { + "zh_CN": "accordion" + } + }, + "description": "是否每次只打开一个同级树节点展开", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "indent", + "label": { + "text": { + "zh_CN": "indent" + } + }, + "description": "相邻级节点间的水平缩进,单位为像素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "自定义树节点图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "cacheData", + "label": { + "text": { + "zh_CN": "cacheData" + } + }, + "description": "懒加载节点的缓存数据,结构与数据相同,用于获取未加载数据的标签", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 27, + "version": "2.7.8", + "name": { + "zh_CN": "上传" + }, + "component": "ElUpload", + "icon": "upload", + "description": "通过点击或者拖拽上传文件。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElUpload", + "destructuring": true + }, + "group": "Form 表单组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "action", + "headers", + "method", + "data", + "multiple", + "name", + "drag", + "withCredentials", + "showFileList", + "accept", + "fileList", + "autoUpload", + "listType", + "httpRequest", + "disabled", + "limit", + "beforeUpload", + "beforeRemove", + "onRemove", + "onChange", + "onPreview", + "onSuccess", + "onProgress", + "onError", + "onExceed", + "crossorigin" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "action", + "label": { + "text": { + "zh_CN": "action" + } + }, + "description": "请求 URL", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "headers", + "label": { + "text": { + "zh_CN": "headers" + } + }, + "description": "设置上传的请求头部", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "method", + "label": { + "text": { + "zh_CN": "method" + } + }, + "description": "设置上传请求方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "data", + "label": { + "text": { + "zh_CN": "data" + } + }, + "description": "上传时附带的额外参数 从 v2.3.13 支持 Awaitable 数据,和 Function", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "multiple", + "label": { + "text": { + "zh_CN": "multiple" + } + }, + "description": "是否支持多选文件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "上传的文件字段名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "drag", + "label": { + "text": { + "zh_CN": "drag" + } + }, + "description": "是否启用拖拽上传", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "withCredentials", + "label": { + "text": { + "zh_CN": "withCredentials" + } + }, + "description": "支持发送 cookie 凭证信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showFileList", + "label": { + "text": { + "zh_CN": "showFileList" + } + }, + "description": "是否显示已上传文件列表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "accept", + "label": { + "text": { + "zh_CN": "accept" + } + }, + "description": "接受上传的文件类型(thumbnail-mode 模式下此参数无效)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fileList", + "label": { + "text": { + "zh_CN": "fileList" + } + }, + "description": "默认上传文件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "autoUpload", + "label": { + "text": { + "zh_CN": "autoUpload" + } + }, + "description": "是否自动上传文件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "listType", + "label": { + "text": { + "zh_CN": "listType" + } + }, + "description": "文件列表的类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "httpRequest", + "label": { + "text": { + "zh_CN": "httpRequest" + } + }, + "description": "覆盖默认的 Xhr 行为,允许自行实现上传文件的请求", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用上传", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "limit", + "label": { + "text": { + "zh_CN": "limit" + } + }, + "description": "允许上传文件的最大数量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "beforeUpload", + "label": { + "text": { + "zh_CN": "beforeUpload" + } + }, + "description": "上传文件之前的钩子,参数为上传的文件, 若返回false或者返回 Promise 且被 reject,则停止上传。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "beforeRemove", + "label": { + "text": { + "zh_CN": "beforeRemove" + } + }, + "description": "删除文件之前的钩子,参数为上传的文件和文件列表, 若返回 false 或者返回 Promise 且被 reject,则停止删除。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onRemove", + "label": { + "text": { + "zh_CN": "onRemove" + } + }, + "description": "文件列表移除文件时的钩子", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onChange", + "label": { + "text": { + "zh_CN": "onChange" + } + }, + "description": "文件状态改变时的钩子,添加文件、上传成功和上传失败时都会被调用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onPreview", + "label": { + "text": { + "zh_CN": "onPreview" + } + }, + "description": "点击文件列表中已上传的文件时的钩子", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onSuccess", + "label": { + "text": { + "zh_CN": "onSuccess" + } + }, + "description": "文件上传成功时的钩子", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onProgress", + "label": { + "text": { + "zh_CN": "onProgress" + } + }, + "description": "文件上传时的钩子", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onError", + "label": { + "text": { + "zh_CN": "onError" + } + }, + "description": "文件上传失败时的钩子", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "onExceed", + "label": { + "text": { + "zh_CN": "onExceed" + } + }, + "description": "当超出限制时,执行的钩子函数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "crossorigin", + "label": { + "text": { + "zh_CN": "crossorigin" + } + }, + "description": "原生属性 crossorigin", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "trigger": { + "label": { + "zh_CN": "触发文件选择框的内容" + }, + "description": { + "zh_CN": "触发文件选择框的内容" + } + }, + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + }, + "file": { + "label": { + "zh_CN": "缩略图模板的内容" + }, + "description": { + "zh_CN": "缩略图模板的内容" + } + } + } + } + }, + { + "id": 28, + "version": "2.7.8", + "name": { + "zh_CN": "头像" + }, + "component": "ElAvatar", + "icon": "avatar", + "description": "Avatar 组件可以用来代表人物或对象, 支持使用图片、图标或者文字作为 Avatar。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElAvatar", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "size", + "shape", + "icon", + "src", + "alt", + "srcSet", + "fit" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "Avatar 大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "shape", + "label": { + "text": { + "zh_CN": "shape" + } + }, + "description": "Avatar 形状", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "设置 Avatar 的图标类型,具体参考 Icon 组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "src", + "label": { + "text": { + "zh_CN": "src" + } + }, + "description": "Avatar 图片的源地址", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "alt", + "label": { + "text": { + "zh_CN": "alt" + } + }, + "description": "图片 Avatar 的原生 alt 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "srcSet", + "label": { + "text": { + "zh_CN": "srcSet" + } + }, + "description": "图片 Avatar 的原生 srcset 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fit", + "label": { + "text": { + "zh_CN": "fit" + } + }, + "description": "当展示类型为图片的时候,设置图片如何适应容器", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onError": { + "label": { + "zh_CN": "图片加载失败时触发" + }, + "description": { + "zh_CN": "图片加载失败时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 29, + "version": "2.7.8", + "name": { + "zh_CN": "徽章" + }, + "component": "ElBadge", + "icon": "badge", + "description": "按钮和图标上的数字或状态标记。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElBadge", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "value", + "max", + "isDot", + "hidden", + "type", + "showZero", + "color", + "badgeStyle", + "offset", + "badgeClass" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "value", + "label": { + "text": { + "zh_CN": "value" + } + }, + "description": "显示值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "max", + "label": { + "text": { + "zh_CN": "max" + } + }, + "description": "最大值,超过最大值会显示 {max}+。 只有当 value 是数字类型时起作用。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "isDot", + "label": { + "text": { + "zh_CN": "isDot" + } + }, + "description": "是否显示小圆点。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hidden", + "label": { + "text": { + "zh_CN": "hidden" + } + }, + "description": "是否隐藏 Badge。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "badge type.", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showZero", + "label": { + "text": { + "zh_CN": "showZero" + } + }, + "description": "值为零时是否显示 Badge", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "color", + "label": { + "text": { + "zh_CN": "color" + } + }, + "description": "背景色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "badgeStyle", + "label": { + "text": { + "zh_CN": "badgeStyle" + } + }, + "description": "自定义 badge 样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "badge 的偏移量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "badgeClass", + "label": { + "text": { + "zh_CN": "badgeClass" + } + }, + "description": "自定义 badge 类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + } + } + } + }, + { + "id": 30, + "version": "2.7.8", + "name": { + "zh_CN": "日历" + }, + "component": "ElCalendar", + "icon": "calendar", + "description": "显示日期", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCalendar", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "range" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "选中项绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaDatePicker", + "props": {} + } + }, + { + "property": "range", + "label": { + "text": { + "zh_CN": "range" + } + }, + "description": "时间范围,包括开始时间与结束时间。 开始时间必须是周起始日,结束时间必须是周结束日,且时间跨度不能超过两个月。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 31, + "version": "2.7.8", + "name": { + "zh_CN": "卡片" + }, + "component": "ElCard", + "icon": "card", + "description": "将信息聚合在卡片容器中展示。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCard", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "header", + "footer", + "bodyStyle", + "bodyClass", + "shadow" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "header", + "label": { + "text": { + "zh_CN": "header" + } + }, + "description": "卡片的标题 你既可以通过设置 header 来修改标题,也可以通过 slot#header 传入 DOM 节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "footer", + "label": { + "text": { + "zh_CN": "footer" + } + }, + "description": "卡片页脚。 你既可以通过设置 footer 来修改卡片底部内容,也可以通过 slot#footer 传入 DOM 节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "bodyStyle", + "label": { + "text": { + "zh_CN": "bodyStyle" + } + }, + "description": "body 的 CSS 样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "bodyClass", + "label": { + "text": { + "zh_CN": "bodyClass" + } + }, + "description": "body 的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "shadow", + "label": { + "text": { + "zh_CN": "shadow" + } + }, + "description": "卡片阴影显示时机", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "header": { + "label": { + "zh_CN": "卡片的标题 你既可以通过设置 header 来修改标题,也可以通过 slot#header 传入 DOM 节点" + }, + "description": { + "zh_CN": "卡片的标题 你既可以通过设置 header 来修改标题,也可以通过 slot#header 传入 DOM 节点" + } + }, + "footer": { + "label": { + "zh_CN": "卡片页脚。 你既可以通过设置 footer 来修改卡片底部内容,也可以通过 slot#footer 传入 DOM 节点" + }, + "description": { + "zh_CN": "卡片页脚。 你既可以通过设置 footer 来修改卡片底部内容,也可以通过 slot#footer 传入 DOM 节点" + } + } + } + } + }, + { + "id": 32, + "version": "2.7.8", + "name": { + "zh_CN": "走马灯" + }, + "component": "ElCarousel", + "icon": "carousel", + "description": "在有限空间内,循环播放同一类型的图片、文字等内容", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCarousel", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "initialIndex", + "height", + "trigger", + "autoplay", + "interval", + "indicatorPosition", + "arrow", + "type", + "cardScale", + "loop", + "direction", + "pauseOnHover", + "motionBlur" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "initialIndex", + "label": { + "text": { + "zh_CN": "initialIndex" + } + }, + "description": "初始状态激活的幻灯片的索引,从 0 开始", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "height", + "label": { + "text": { + "zh_CN": "height" + } + }, + "description": "carousel 的高度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "trigger", + "label": { + "text": { + "zh_CN": "trigger" + } + }, + "description": "指示器的触发方式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "autoplay", + "label": { + "text": { + "zh_CN": "autoplay" + } + }, + "description": "是否自动切换", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "interval", + "label": { + "text": { + "zh_CN": "interval" + } + }, + "description": "自动切换的时间间隔,单位为毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "indicatorPosition", + "label": { + "text": { + "zh_CN": "indicatorPosition" + } + }, + "description": "指示器的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "arrow", + "label": { + "text": { + "zh_CN": "arrow" + } + }, + "description": "切换箭头的显示时机", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "carousel 的类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "cardScale", + "label": { + "text": { + "zh_CN": "cardScale" + } + }, + "description": "当 type 为 card时,二级卡的缩放大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "loop", + "label": { + "text": { + "zh_CN": "loop" + } + }, + "description": "是否循环显示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "展示的方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "pauseOnHover", + "label": { + "text": { + "zh_CN": "pauseOnHover" + } + }, + "description": "鼠标悬浮时暂停自动切换", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "motionBlur", + "label": { + "text": { + "zh_CN": "motionBlur" + } + }, + "description": "添加动态模糊以给走马灯注入活力和流畅性。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "当前展示的幻灯片切换时触发,它有两个参数, 一个是新幻灯片的索引,另一个是旧幻灯片的索引" + }, + "description": { + "zh_CN": "当前展示的幻灯片切换时触发,它有两个参数, 一个是新幻灯片的索引,另一个是旧幻灯片的索引" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 33, + "version": "2.7.8", + "name": { + "zh_CN": "折叠面板" + }, + "component": "ElCollapse", + "icon": "collapse", + "description": "通过折叠面板收纳内容区域", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElCollapse", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "accordion", + "modelValue" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "accordion", + "label": { + "text": { + "zh_CN": "accordion" + } + }, + "description": "是否手风琴模式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "当前活动面板,在手风琴模式下其类型是string,在其他模式下是array", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "切换当前活动面板,在手风琴模式下其类型是string,在其他模式下是array" + }, + "description": { + "zh_CN": "切换当前活动面板,在手风琴模式下其类型是string,在其他模式下是array" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 34, + "version": "2.7.8", + "name": { + "zh_CN": "描述列表" + }, + "component": "ElDescriptions", + "icon": "descriptions", + "description": "列表形式展示多个字段。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDescriptions", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "border", + "column", + "direction", + "size", + "title", + "extra" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "border", + "label": { + "text": { + "zh_CN": "border" + } + }, + "description": "是否带有边框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "column", + "label": { + "text": { + "zh_CN": "column" + } + }, + "description": "一行 Descriptions Item 的数量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "排列的方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "列表的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "标题文本,显示在左上方", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "extra", + "label": { + "text": { + "zh_CN": "extra" + } + }, + "description": "操作区文本,显示在右上方", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + }, + "title": { + "label": { + "zh_CN": "标题文本,显示在左上方" + }, + "description": { + "zh_CN": "标题文本,显示在左上方" + } + }, + "extra": { + "label": { + "zh_CN": "操作区文本,显示在右上方" + }, + "description": { + "zh_CN": "操作区文本,显示在右上方" + } + } + } + } + }, + { + "id": 35, + "version": "2.7.8", + "name": { + "zh_CN": "空状态" + }, + "component": "ElEmpty", + "icon": "empty", + "description": "空状态时的占位提示。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElEmpty", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "image", + "imageSize", + "description" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "image", + "label": { + "text": { + "zh_CN": "image" + } + }, + "description": "empty 组件的图像地址", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "imageSize", + "label": { + "text": { + "zh_CN": "imageSize" + } + }, + "description": "empty 组件的图像尺寸(宽度)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "description", + "label": { + "text": { + "zh_CN": "description" + } + }, + "description": "empty 组件的描述信息", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "description": { + "label": { + "zh_CN": "empty 组件的描述信息" + }, + "description": { + "zh_CN": "empty 组件的描述信息" + } + }, + "default": { + "label": { + "zh_CN": "作为底部内容的内容" + }, + "description": { + "zh_CN": "作为底部内容的内容" + } + } + } + } + }, + { + "id": 36, + "version": "2.7.8", + "name": { + "zh_CN": "图片" + }, + "component": "ElImage", + "icon": "image", + "description": "图片容器,在保留所有原生 img 的特性下,支持懒加载,自定义占位、加载失败等", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElImage", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "hideOnClickModal", + "src", + "fit", + "loading", + "lazy", + "scrollContainer", + "previewSrcList", + "previewTeleported", + "zIndex", + "initialIndex", + "infinite", + "closeOnPressEscape", + "zoomRate", + "minScale", + "maxScale", + "crossorigin" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "hideOnClickModal", + "label": { + "text": { + "zh_CN": "hideOnClickModal" + } + }, + "description": "当开启 preview 功能时,是否可以通过点击遮罩层关闭 preview", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "src", + "label": { + "text": { + "zh_CN": "src" + } + }, + "description": "图片源地址,同原生属性一致", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fit", + "label": { + "text": { + "zh_CN": "fit" + } + }, + "description": "确定图片如何适应容器框,同原生 object-fit", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "浏览器加载图像的策略,和 浏览器原生能力一致", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "lazy", + "label": { + "text": { + "zh_CN": "lazy" + } + }, + "description": "是否使用懒加载", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "scrollContainer", + "label": { + "text": { + "zh_CN": "scrollContainer" + } + }, + "description": "开启懒加载功能后,监听 scroll 事件的容器 默认情况下,开启懒加载功能后,监听 scroll 事件的容器", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "previewSrcList", + "label": { + "text": { + "zh_CN": "previewSrcList" + } + }, + "description": "开启图片预览功能", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "previewTeleported", + "label": { + "text": { + "zh_CN": "previewTeleported" + } + }, + "description": "image-viewer 是否插入至 body 元素上。 嵌套的父元素属性会发生修改时应该将此属性设置为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "设置图片预览的 z-index", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "initialIndex", + "label": { + "text": { + "zh_CN": "initialIndex" + } + }, + "description": "初始预览图像索引,小于 url-list 的长度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "infinite", + "label": { + "text": { + "zh_CN": "infinite" + } + }, + "description": "是否可以无限循环预览", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeOnPressEscape", + "label": { + "text": { + "zh_CN": "closeOnPressEscape" + } + }, + "description": "是否可以通过按下 ESC 关闭 Image Viewer", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "zoomRate", + "label": { + "text": { + "zh_CN": "zoomRate" + } + }, + "description": "图像查看器缩放事件的缩放速率。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "minScale", + "label": { + "text": { + "zh_CN": "minScale" + } + }, + "description": "图像查看器缩放事件的最小缩放比例", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "maxScale", + "label": { + "text": { + "zh_CN": "maxScale" + } + }, + "description": "图像查看器缩放事件的最大缩放比例", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "crossorigin", + "label": { + "text": { + "zh_CN": "crossorigin" + } + }, + "description": "原生属性 crossorigin", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onLoad": { + "label": { + "zh_CN": "图片加载成功触发" + }, + "description": { + "zh_CN": "图片加载成功触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onError": { + "label": { + "zh_CN": "图片加载失败触发" + }, + "description": { + "zh_CN": "图片加载失败触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onSwitch": { + "label": { + "zh_CN": "切换图像时触发。" + }, + "description": { + "zh_CN": "切换图像时触发。" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClose": { + "label": { + "zh_CN": "当点击 X 按钮或者在hide-on-click-modal为 true 时点击遮罩层时触发" + }, + "description": { + "zh_CN": "当点击 X 按钮或者在hide-on-click-modal为 true 时点击遮罩层时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onShow": { + "label": { + "zh_CN": "当 Viewer 显示时触发" + }, + "description": { + "zh_CN": "当 Viewer 显示时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "viewer": { + "label": { + "zh_CN": "当图像预览时自定义内容" + }, + "description": { + "zh_CN": "当图像预览时自定义内容" + } + } + } + } + }, + { + "id": 37, + "version": "2.7.8", + "name": { + "zh_CN": "Scroll 无限滚动" + }, + "component": "ElInfiniteScroll", + "icon": "infinitescroll", + "description": "滚动至底部时,加载更多数据。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElInfiniteScroll", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 38, + "version": "2.7.8", + "name": { + "zh_CN": "分页" + }, + "component": "ElPagination", + "icon": "pagination", + "description": "当数据量过多时,使用分页分解数据。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElPagination", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "pageSize", + "defaultPageSize", + "total", + "pageCount", + "pagerCount", + "currentPage", + "defaultCurrentPage", + "layout", + "pageSizes", + "popperClass", + "prevText", + "prevIcon", + "nextText", + "nextIcon", + "teleported", + "small", + "size", + "background", + "disabled", + "hideOnSinglePage", + "appendSizeTo" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "pageSize", + "label": { + "text": { + "zh_CN": "pageSize" + } + }, + "description": "每页显示条目个数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "defaultPageSize", + "label": { + "text": { + "zh_CN": "defaultPageSize" + } + }, + "description": "每页默认的条目个数,不设置时默认为10", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "total", + "label": { + "text": { + "zh_CN": "total" + } + }, + "description": "总条目数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "pageCount", + "label": { + "text": { + "zh_CN": "pageCount" + } + }, + "description": "总页数, total 和 page-count 设置任意一个就可以达到显示页码的功能;如果要支持 page-sizes 的更改,则需要使用 total 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "pagerCount", + "label": { + "text": { + "zh_CN": "pagerCount" + } + }, + "description": "设置最大页码按钮数。 页码按钮的数量,当总页数超过该值时会折叠", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "currentPage", + "label": { + "text": { + "zh_CN": "currentPage" + } + }, + "description": "当前页数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "defaultCurrentPage", + "label": { + "text": { + "zh_CN": "defaultCurrentPage" + } + }, + "description": "当前页数的默认初始值,不设置时默认为 1", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "layout", + "label": { + "text": { + "zh_CN": "layout" + } + }, + "description": "组件布局,子组件名用逗号分隔", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "pageSizes", + "label": { + "text": { + "zh_CN": "pageSizes" + } + }, + "description": "每页显示个数选择器的选项设置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "每页显示个数选择器的下拉框类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prevText", + "label": { + "text": { + "zh_CN": "prevText" + } + }, + "description": "替代图标显示的上一页文字", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "prevIcon", + "label": { + "text": { + "zh_CN": "prevIcon" + } + }, + "description": "上一页的图标, 比 prev-text 优先级更高", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "nextText", + "label": { + "text": { + "zh_CN": "nextText" + } + }, + "description": "替代图标显示的下一页文字", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "nextIcon", + "label": { + "text": { + "zh_CN": "nextIcon" + } + }, + "description": "下一页的图标, 比 next-text 优先级更低", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将下拉菜单teleport至 body", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "small", + "label": { + "text": { + "zh_CN": "small" + } + }, + "description": "是否使用小型分页样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "分页大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "background", + "label": { + "text": { + "zh_CN": "background" + } + }, + "description": "是否为分页按钮添加背景色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用分页", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hideOnSinglePage", + "label": { + "text": { + "zh_CN": "hideOnSinglePage" + } + }, + "description": "只有一页时是否隐藏", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "appendSizeTo", + "label": { + "text": { + "zh_CN": "appendSizeTo" + } + }, + "description": "下拉框挂载到哪个 DOM 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "current-page 或 page-size 更改时触发" + }, + "description": { + "zh_CN": "current-page 或 page-size 更改时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义内容 设置文案,需要在 layout 中列出 slot" + }, + "description": { + "zh_CN": "自定义内容 设置文案,需要在 layout 中列出 slot" + } + } + } + } + }, + { + "id": 39, + "version": "2.7.8", + "name": { + "zh_CN": "进度条" + }, + "component": "ElProgress", + "icon": "progress", + "description": "用于展示操作进度,告知用户当前状态和预期。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElProgress", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "type", + "percentage", + "status", + "indeterminate", + "duration", + "strokeWidth", + "strokeLinecap", + "textInside", + "width", + "showText", + "color", + "striped", + "stripedFlow", + "format" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "进度条类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "percentage", + "label": { + "text": { + "zh_CN": "percentage" + } + }, + "description": "percentage", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "status", + "label": { + "text": { + "zh_CN": "status" + } + }, + "description": "进度条当前状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "indeterminate", + "label": { + "text": { + "zh_CN": "indeterminate" + } + }, + "description": "是否为动画进度条", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "duration", + "label": { + "text": { + "zh_CN": "duration" + } + }, + "description": "控制动画进度条速度和条纹进度条流动速度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "strokeWidth", + "label": { + "text": { + "zh_CN": "strokeWidth" + } + }, + "description": "进度条的宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "strokeLinecap", + "label": { + "text": { + "zh_CN": "strokeLinecap" + } + }, + "description": "circle/dashboard 类型路径两端的形状", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "textInside", + "label": { + "text": { + "zh_CN": "textInside" + } + }, + "description": "进度条显示文字内置在进度条内(仅 type 为 'line' 时可用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "环形进度条画布宽度(只在 type 为 circle 或 dashboard 时可用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "showText", + "label": { + "text": { + "zh_CN": "showText" + } + }, + "description": "是否显示进度条文字内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "color", + "label": { + "text": { + "zh_CN": "color" + } + }, + "description": "进度条背景色 (会覆盖 status 状态颜色)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "striped", + "label": { + "text": { + "zh_CN": "striped" + } + }, + "description": "在进度条上增加条纹", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "stripedFlow", + "label": { + "text": { + "zh_CN": "stripedFlow" + } + }, + "description": "让进度条上的条纹流动起来", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "format", + "label": { + "text": { + "zh_CN": "format" + } + }, + "description": "指定进度条文字内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "自定义内容" + }, + "description": { + "zh_CN": "自定义内容" + } + } + } + } + }, + { + "id": 40, + "version": "2.7.8", + "name": { + "zh_CN": "结果" + }, + "component": "ElResult", + "icon": "result", + "description": "用于对用户的操作结果或者异常状态做反馈。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElResult", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "title", + "subTitle", + "icon" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "result 组件的标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "subTitle", + "label": { + "text": { + "zh_CN": "subTitle" + } + }, + "description": "result 组件的副标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "result 组件的图标类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "title": { + "label": { + "zh_CN": "result 组件的标题" + }, + "description": { + "zh_CN": "result 组件的标题" + } + }, + "extra": { + "label": { + "zh_CN": "内容额外区域的内容" + }, + "description": { + "zh_CN": "内容额外区域的内容" + } + } + } + } + }, + { + "id": 41, + "version": "2.7.8", + "name": { + "zh_CN": "骨架屏" + }, + "component": "ElSkeleton", + "icon": "skeleton", + "description": "在需要等待加载内容的位置设置一个骨架屏,某些场景下比 Loading 的视觉效果更好。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSkeleton", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "animated", + "count", + "rows", + "loading", + "throttle" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "animated", + "label": { + "text": { + "zh_CN": "animated" + } + }, + "description": "是否使用动画", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "count", + "label": { + "text": { + "zh_CN": "count" + } + }, + "description": "渲染多少个 template, 建议使用尽可能小的数字", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "rows", + "label": { + "text": { + "zh_CN": "rows" + } + }, + "description": "骨架屏段落数量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "loading", + "label": { + "text": { + "zh_CN": "loading" + } + }, + "description": "是否显示加载结束后的 DOM 结构", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "throttle", + "label": { + "text": { + "zh_CN": "throttle" + } + }, + "description": "渲染延迟(以毫秒为单位)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 42, + "version": "2.7.8", + "name": { + "zh_CN": "表格" + }, + "component": "ElTable", + "icon": "table", + "description": "用于展示多条结构类似的数据, 可对数据进行排序、筛选、对比或其他自定义操作。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTable", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "data", + "size", + "width", + "height", + "maxHeight", + "fit", + "stripe", + "border", + "rowKey", + "showHeader", + "showSummary", + "sumText", + "summaryMethod", + "rowClassName", + "rowStyle", + "cellClassName", + "cellStyle", + "headerRowClassName", + "headerRowStyle", + "headerCellClassName", + "headerCellStyle", + "highlightCurrentRow", + "currentRowKey", + "emptyText", + "expandRowKeys", + "defaultExpandAll", + "defaultSort", + "tooltipEffect", + "tooltipOptions", + "spanMethod", + "selectOnIndeterminate", + "indent", + "treeProps", + "lazy", + "load", + "style", + "className", + "tableLayout", + "scrollbarAlwaysOn", + "flexible", + "showOverflowTooltip", + "appendFilterPanelTo", + "scrollbarTabindex" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "data", + "label": { + "text": { + "zh_CN": "data" + } + }, + "description": "表数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "Table 的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "对应列的宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "height", + "label": { + "text": { + "zh_CN": "height" + } + }, + "description": "table 的高度。 默认为自动高度。 如果 height 为 number 类型,单位 px;如果 height 为 string 类型,则这个高度会设置为 Table 的 style.height 的值,Table 的高度会受控于外部样式。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "maxHeight", + "label": { + "text": { + "zh_CN": "maxHeight" + } + }, + "description": "table 的最大高度。 合法的值为数字或者单位为 px 的高度。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "fit", + "label": { + "text": { + "zh_CN": "fit" + } + }, + "description": "列的宽度是否自撑开", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "stripe", + "label": { + "text": { + "zh_CN": "stripe" + } + }, + "description": "是否为斑马纹 table", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "border", + "label": { + "text": { + "zh_CN": "border" + } + }, + "description": "是否带有纵向边框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "rowKey", + "label": { + "text": { + "zh_CN": "rowKey" + } + }, + "description": "行数据的 Key,用来优化 Table 的渲染; 在使用reserve-selection功能与显示树形数据时,该属性是必填的。 类型为 String 时,支持多层访问:user.info.id,但不支持 user.info[0].id,此种情况请使用 Function。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showHeader", + "label": { + "text": { + "zh_CN": "showHeader" + } + }, + "description": "是否显示表头", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showSummary", + "label": { + "text": { + "zh_CN": "showSummary" + } + }, + "description": "是否在表尾显示合计行", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "sumText", + "label": { + "text": { + "zh_CN": "sumText" + } + }, + "description": "显示摘要行第一列的文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "summaryMethod", + "label": { + "text": { + "zh_CN": "summaryMethod" + } + }, + "description": "自定义的合计计算方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "rowClassName", + "label": { + "text": { + "zh_CN": "rowClassName" + } + }, + "description": "行的 className 的回调方法,也可以使用字符串为所有行设置一个固定的 className。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "rowStyle", + "label": { + "text": { + "zh_CN": "rowStyle" + } + }, + "description": "行的 style 的回调方法,也可以使用一个固定的 Object 为所有行设置一样的 Style。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "cellClassName", + "label": { + "text": { + "zh_CN": "cellClassName" + } + }, + "description": "单元格的 className 的回调方法,也可以使用字符串为所有单元格设置一个固定的 className。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "cellStyle", + "label": { + "text": { + "zh_CN": "cellStyle" + } + }, + "description": "单元格的 style 的回调方法,也可以使用一个固定的 Object 为所有单元格设置一样的 Style。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "headerRowClassName", + "label": { + "text": { + "zh_CN": "headerRowClassName" + } + }, + "description": "表头行的 className 的回调方法,也可以使用字符串为所有表头行设置一个固定的 className。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "headerRowStyle", + "label": { + "text": { + "zh_CN": "headerRowStyle" + } + }, + "description": "表头行的 style 的回调方法,也可以使用一个固定的 Object 为所有表头行设置一样的 Style。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "headerCellClassName", + "label": { + "text": { + "zh_CN": "headerCellClassName" + } + }, + "description": "表头单元格的 className 的回调方法,也可以使用字符串为所有表头单元格设置一个固定的 className。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "headerCellStyle", + "label": { + "text": { + "zh_CN": "headerCellStyle" + } + }, + "description": "表头单元格的 style 的回调方法,也可以使用一个固定的 Object 为所有表头单元格设置一样的 Style。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "highlightCurrentRow", + "label": { + "text": { + "zh_CN": "highlightCurrentRow" + } + }, + "description": "是否要高亮当前行", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "currentRowKey", + "label": { + "text": { + "zh_CN": "currentRowKey" + } + }, + "description": "当前行的 key,只写属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "emptyText", + "label": { + "text": { + "zh_CN": "emptyText" + } + }, + "description": "空数据时显示的文本内容, 也可以通过 #empty 设置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "expandRowKeys", + "label": { + "text": { + "zh_CN": "expandRowKeys" + } + }, + "description": "可以通过该属性设置 Table 目前的展开行,需要设置 row-key 属性才能使用,该属性为展开行的 keys 数组。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "defaultExpandAll", + "label": { + "text": { + "zh_CN": "defaultExpandAll" + } + }, + "description": "是否默认展开所有行,当 Table 包含展开行存在或者为树形表格时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "defaultSort", + "label": { + "text": { + "zh_CN": "defaultSort" + } + }, + "description": "默认的排序列的 prop 和顺序。 它的 prop 属性指定默认的排序的列,order 指定默认排序的顺序", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "tooltipEffect", + "label": { + "text": { + "zh_CN": "tooltipEffect" + } + }, + "description": "溢出的 tooltip 的 effect", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tooltipOptions", + "label": { + "text": { + "zh_CN": "tooltipOptions" + } + }, + "description": "溢出 tooltip 的选项,参见下述 tooltip 组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "spanMethod", + "label": { + "text": { + "zh_CN": "spanMethod" + } + }, + "description": "合并行或列的计算方法", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "selectOnIndeterminate", + "label": { + "text": { + "zh_CN": "selectOnIndeterminate" + } + }, + "description": "在多选表格中,当仅有部分行被选中时,点击表头的多选框时的行为。 若为 true,则选中所有行;若为 false,则取消选择所有行", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "indent", + "label": { + "text": { + "zh_CN": "indent" + } + }, + "description": "展示树形数据时,树节点的缩进", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "treeProps", + "label": { + "text": { + "zh_CN": "treeProps" + } + }, + "description": "渲染嵌套数据的配置选项", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "lazy", + "label": { + "text": { + "zh_CN": "lazy" + } + }, + "description": "是否懒加载子节点数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "load", + "label": { + "text": { + "zh_CN": "load" + } + }, + "description": "加载子节点数据的函数,lazy 为 true 时生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "className", + "label": { + "text": { + "zh_CN": "className" + } + }, + "description": "列的 className", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "tableLayout", + "label": { + "text": { + "zh_CN": "tableLayout" + } + }, + "description": "设置表格单元、行和列的布局方式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "scrollbarAlwaysOn", + "label": { + "text": { + "zh_CN": "scrollbarAlwaysOn" + } + }, + "description": "总是显示滚动条", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "flexible", + "label": { + "text": { + "zh_CN": "flexible" + } + }, + "description": "确保主轴的最小尺寸,以便不超过内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showOverflowTooltip", + "label": { + "text": { + "zh_CN": "showOverflowTooltip" + } + }, + "description": "是否隐藏额外内容并在单元格悬停时使用 Tooltip 显示它们。这将影响全部列的展示,详请参考tooltip-options", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "appendFilterPanelTo", + "label": { + "text": { + "zh_CN": "appendFilterPanelTo" + } + }, + "description": "挂载到哪个 DOM 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "scrollbarTabindex", + "label": { + "text": { + "zh_CN": "scrollbarTabindex" + } + }, + "description": "body 的滚动条的包裹容器 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + } + ] + }, + "events": { + "onSelect": { + "label": { + "zh_CN": "当用户手动勾选数据行的 Checkbox 时触发的事件" + }, + "description": { + "zh_CN": "当用户手动勾选数据行的 Checkbox 时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 43, + "version": "2.7.8", + "name": { + "zh_CN": "标签" + }, + "component": "ElTag", + "icon": "tag", + "description": "用于标记和选择。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTag", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "type", + "closable", + "disableTransitions", + "hit", + "color", + "size", + "effect", + "round" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "Tag 的类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "closable", + "label": { + "text": { + "zh_CN": "closable" + } + }, + "description": "是否可关闭", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disableTransitions", + "label": { + "text": { + "zh_CN": "disableTransitions" + } + }, + "description": "是否禁用渐变动画", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hit", + "label": { + "text": { + "zh_CN": "hit" + } + }, + "description": "是否有边框描边", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "color", + "label": { + "text": { + "zh_CN": "color" + } + }, + "description": "背景色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "Tag 的尺寸", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "Tag 的主题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "round", + "label": { + "text": { + "zh_CN": "round" + } + }, + "description": "Tag 是否为圆形", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onClose": { + "label": { + "zh_CN": "关闭 Tag 时触发的事件" + }, + "description": { + "zh_CN": "关闭 Tag 时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClick": { + "label": { + "zh_CN": "点击时触发" + }, + "description": { + "zh_CN": "点击时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 44, + "version": "2.7.8", + "name": { + "zh_CN": "时间线" + }, + "component": "ElTimeline", + "icon": "timeline", + "description": "可视化地呈现时间流信息。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTimeline", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 45, + "version": "2.7.8", + "name": { + "zh_CN": "漫游式引导2.5.0" + }, + "component": "ElTour", + "icon": "tour", + "description": "用于分步引导用户了解产品功能的气泡组件。 用来引导用户并介绍产品", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTour", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "modelValue", + "current", + "showArrow", + "showClose", + "closeIcon", + "placement", + "contentStyle", + "mask", + "gap", + "zIndex", + "scrollIntoViewOptions", + "type", + "appendTo", + "closeOnPressEscape", + "targetAreaClickable" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "打开引导", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "current", + "label": { + "text": { + "zh_CN": "current" + } + }, + "description": "当前值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "showArrow", + "label": { + "text": { + "zh_CN": "showArrow" + } + }, + "description": "是否显示箭头", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showClose", + "label": { + "text": { + "zh_CN": "showClose" + } + }, + "description": "是否显示关闭按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeIcon", + "label": { + "text": { + "zh_CN": "closeIcon" + } + }, + "description": "自定义关闭图标,默认Close", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "引导卡片相对于目标元素的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "contentStyle", + "label": { + "text": { + "zh_CN": "contentStyle" + } + }, + "description": "为content自定义样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "mask", + "label": { + "text": { + "zh_CN": "mask" + } + }, + "description": "是否启用遮罩,通过自定义属性改变遮罩样式以及填充的颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "Tour 的层级", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "scrollIntoViewOptions", + "label": { + "text": { + "zh_CN": "scrollIntoViewOptions" + } + }, + "description": "是否支持当前元素滚动到视窗内,也可传入配置指定滚动视窗的相关参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "类型,影响底色与文字颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "closeOnPressEscape", + "label": { + "text": { + "zh_CN": "closeOnPressEscape" + } + }, + "description": "是否可以通过按下 ESC 关闭引导", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "targetAreaClickable", + "label": { + "text": { + "zh_CN": "targetAreaClickable" + } + }, + "description": "启用蒙层时,target 元素区域是否可以点击。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClose": { + "label": { + "zh_CN": "关闭引导时的回调函数" + }, + "description": { + "zh_CN": "关闭引导时的回调函数" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onFinish": { + "label": { + "zh_CN": "引导完成时的回调" + }, + "description": { + "zh_CN": "引导完成时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "步骤改变时的回调" + }, + "description": { + "zh_CN": "步骤改变时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 46, + "version": "2.7.8", + "name": { + "zh_CN": "树形控件" + }, + "component": "ElTree", + "icon": "tree", + "description": "用清晰的层级结构展示信息,可展开或折叠。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTree", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "data", + "emptyText", + "renderAfterExpand", + "nodeKey", + "checkStrictly", + "defaultExpandAll", + "expandOnClickNode", + "checkOnClickNode", + "checkDescendants", + "autoExpandParent", + "defaultCheckedKeys", + "defaultExpandedKeys", + "currentNodeKey", + "renderContent", + "showCheckbox", + "draggable", + "allowDrag", + "allowDrop", + "props", + "lazy", + "highlightCurrent", + "load", + "filterNodeMethod", + "accordion", + "indent", + "icon" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "data", + "label": { + "text": { + "zh_CN": "data" + } + }, + "description": "展示数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "emptyText", + "label": { + "text": { + "zh_CN": "emptyText" + } + }, + "description": "内容为空的时候展示的文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "renderAfterExpand", + "label": { + "text": { + "zh_CN": "renderAfterExpand" + } + }, + "description": "是否在第一次展开某个树节点后才渲染其子节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "nodeKey", + "label": { + "text": { + "zh_CN": "nodeKey" + } + }, + "description": "每个树节点用来作为唯一标识的属性,整棵树应该是唯一的", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "checkStrictly", + "label": { + "text": { + "zh_CN": "checkStrictly" + } + }, + "description": "在显示复选框的情况下,是否严格的遵循父子不互相关联的做法,默认为 false", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "defaultExpandAll", + "label": { + "text": { + "zh_CN": "defaultExpandAll" + } + }, + "description": "是否默认展开所有节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "expandOnClickNode", + "label": { + "text": { + "zh_CN": "expandOnClickNode" + } + }, + "description": "是否在点击节点的时候展开或者收缩节点, 默认值为 true,如果为 false,则只有点箭头图标的时候才会展开或者收缩节点。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "checkOnClickNode", + "label": { + "text": { + "zh_CN": "checkOnClickNode" + } + }, + "description": "是否在点击节点的时候选中节点,默认值为 false,即只有在点击复选框时才会选中节点。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "autoExpandParent", + "label": { + "text": { + "zh_CN": "autoExpandParent" + } + }, + "description": "展开子节点的时候是否自动展开父节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "defaultCheckedKeys", + "label": { + "text": { + "zh_CN": "defaultCheckedKeys" + } + }, + "description": "默认勾选的节点的 key 的数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "defaultExpandedKeys", + "label": { + "text": { + "zh_CN": "defaultExpandedKeys" + } + }, + "description": "默认展开的节点的 key 的数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "currentNodeKey", + "label": { + "text": { + "zh_CN": "currentNodeKey" + } + }, + "description": "当前选中的节点", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "renderContent", + "label": { + "text": { + "zh_CN": "renderContent" + } + }, + "description": "树节点的内容区的渲染 Function", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "showCheckbox", + "label": { + "text": { + "zh_CN": "showCheckbox" + } + }, + "description": "节点是否可被选择", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "draggable", + "label": { + "text": { + "zh_CN": "draggable" + } + }, + "description": "是否开启拖拽节点功能", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "allowDrag", + "label": { + "text": { + "zh_CN": "allowDrag" + } + }, + "description": "判断节点能否被拖拽 如果返回 false ,节点不能被拖动", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "allowDrop", + "label": { + "text": { + "zh_CN": "allowDrop" + } + }, + "description": "拖拽时判定目标节点能否成为拖动目标位置。 如果返回 false ,拖动节点不能被拖放到目标节点。 type 参数有三种情况:'prev'、'inner' 和 'next',分别表示放置在目标节点前、插入至目标节点和放置在目标节点后", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "props", + "label": { + "text": { + "zh_CN": "props" + } + }, + "description": "配置选项,具体看下表", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "lazy", + "label": { + "text": { + "zh_CN": "lazy" + } + }, + "description": "是否懒加载子节点,需与 load 方法结合使用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "highlightCurrent", + "label": { + "text": { + "zh_CN": "highlightCurrent" + } + }, + "description": "是否高亮当前选中节点,默认值是 false。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "load", + "label": { + "text": { + "zh_CN": "load" + } + }, + "description": "加载子树数据的方法,仅当 lazy 属性为true 时生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "filterNodeMethod", + "label": { + "text": { + "zh_CN": "filterNodeMethod" + } + }, + "description": "对树节点进行筛选时执行的方法, 返回 false 则表示这个节点会被隐藏", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "accordion", + "label": { + "text": { + "zh_CN": "accordion" + } + }, + "description": "是否每次只打开一个同级树节点展开", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "indent", + "label": { + "text": { + "zh_CN": "indent" + } + }, + "description": "相邻级节点间的水平缩进,单位为像素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "自定义树节点图标组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onCheck": { + "label": { + "zh_CN": "点击节点复选框之后触发" + }, + "description": { + "zh_CN": "点击节点复选框之后触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 47, + "version": "2.7.8", + "name": { + "zh_CN": "统计组件2.2.30" + }, + "component": "ElStatistic", + "icon": "statistic", + "description": "显示统计数据。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElStatistic", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "decimalSeparator", + "groupSeparator", + "precision", + "formatter", + "value", + "prefix", + "suffix", + "title", + "valueStyle" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "decimalSeparator", + "label": { + "text": { + "zh_CN": "decimalSeparator" + } + }, + "description": "设置小数点符号", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "groupSeparator", + "label": { + "text": { + "zh_CN": "groupSeparator" + } + }, + "description": "设置千分位标识符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "precision", + "label": { + "text": { + "zh_CN": "precision" + } + }, + "description": "数字精度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "formatter", + "label": { + "text": { + "zh_CN": "formatter" + } + }, + "description": "自定义数字格式化", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "value", + "label": { + "text": { + "zh_CN": "value" + } + }, + "description": "数字内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "prefix", + "label": { + "text": { + "zh_CN": "prefix" + } + }, + "description": "设置数字的前缀", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "suffix", + "label": { + "text": { + "zh_CN": "suffix" + } + }, + "description": "设置数字的后缀", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "数字标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "valueStyle", + "label": { + "text": { + "zh_CN": "valueStyle" + } + }, + "description": "数字样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "title": { + "label": { + "zh_CN": "数字标题" + }, + "description": { + "zh_CN": "数字标题" + } + }, + "prefix": { + "label": { + "zh_CN": "设置数字的前缀" + }, + "description": { + "zh_CN": "设置数字的前缀" + } + }, + "suffix": { + "label": { + "zh_CN": "设置数字的后缀" + }, + "description": { + "zh_CN": "设置数字的后缀" + } + } + } + } + }, + { + "id": 48, + "version": "2.7.8", + "name": { + "zh_CN": "分段控制器2.7.0" + }, + "component": "ElSegmented", + "icon": "segmented", + "description": "用于展示多个选项并允许用户选择其中单个选项。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSegmented", + "destructuring": true + }, + "group": "Data 数据展示", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "options", + "modelValue", + "block", + "size", + "disabled", + "validateEvent", + "id", + "name", + "ariaLabel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "options", + "label": { + "text": { + "zh_CN": "options" + } + }, + "description": "选项的数据", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "block", + "label": { + "text": { + "zh_CN": "block" + } + }, + "description": "撑满父元素宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "组件大小", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "validateEvent", + "label": { + "text": { + "zh_CN": "validateEvent" + } + }, + "description": "是否触发表单验证", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "原生 id 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "name" + } + }, + "description": "原生 name 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "原生 aria-label 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "当所选值更改时触发,参数是当前选中的值" + }, + "description": { + "zh_CN": "当所选值更改时触发,参数是当前选中的值" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 49, + "version": "2.7.8", + "name": { + "zh_CN": "固钉" + }, + "component": "ElAffix", + "icon": "affix", + "description": "将页面元素固定在特定可视区域。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElAffix", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "zIndex", + "target", + "offset", + "position" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "z-index", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "target", + "label": { + "text": { + "zh_CN": "target" + } + }, + "description": "指定容器(CSS 选择器)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "偏移距离", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "position", + "label": { + "text": { + "zh_CN": "position" + } + }, + "description": "固钉位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onScroll": { + "label": { + "zh_CN": "滚动时触发的事件" + }, + "description": { + "zh_CN": "滚动时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onChange": { + "label": { + "zh_CN": "固钉状态改变时触发的事件" + }, + "description": { + "zh_CN": "固钉状态改变时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 50, + "version": "2.7.8", + "name": { + "zh_CN": "锚点2.6.0" + }, + "component": "ElAnchor", + "icon": "anchor", + "description": "通过锚点,您可以很快找到当前页面上信息内容的位置。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElAnchor", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "container", + "offset", + "bound", + "duration", + "marker", + "type", + "direction" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "container", + "label": { + "text": { + "zh_CN": "container" + } + }, + "description": "滚动的容器", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "设置锚点滚动的偏移量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "bound", + "label": { + "text": { + "zh_CN": "bound" + } + }, + "description": "触发锚点的元素的位置偏移量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "duration", + "label": { + "text": { + "zh_CN": "duration" + } + }, + "description": "设置容器滚动持续时间,单位为毫秒。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "marker", + "label": { + "text": { + "zh_CN": "marker" + } + }, + "description": "是否显示标记", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "设置锚点类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "设置锚点方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onChange": { + "label": { + "zh_CN": "step 改变时的回调" + }, + "description": { + "zh_CN": "step 改变时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClick": { + "label": { + "zh_CN": "点击时触发" + }, + "description": { + "zh_CN": "点击时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 51, + "version": "2.7.8", + "name": { + "zh_CN": "回到顶部" + }, + "component": "ElBacktop", + "icon": "backtop", + "description": "返回页面顶部的操作按钮。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElBacktop", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "visibilityHeight", + "target", + "right", + "bottom" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "visibilityHeight", + "label": { + "text": { + "zh_CN": "visibilityHeight" + } + }, + "description": "滚动高度达到此参数值才出现", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "target", + "label": { + "text": { + "zh_CN": "target" + } + }, + "description": "触发滚动的对象", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "right", + "label": { + "text": { + "zh_CN": "right" + } + }, + "description": "控制其显示位置,距离页面右边距", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "bottom", + "label": { + "text": { + "zh_CN": "bottom" + } + }, + "description": "控制其显示位置,距离页面底部距离", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + } + ] + }, + "events": { + "onClick": { + "label": { + "zh_CN": "点击时触发" + }, + "description": { + "zh_CN": "点击时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 52, + "version": "2.7.8", + "name": { + "zh_CN": "面包屑" + }, + "component": "ElBreadcrumb", + "icon": "breadcrumb", + "description": "显示当前页面的路径,快速返回之前的任意页面。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElBreadcrumb", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "separator", + "separatorIcon" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "separator", + "label": { + "text": { + "zh_CN": "separator" + } + }, + "description": "分隔符", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "separatorIcon", + "label": { + "text": { + "zh_CN": "separatorIcon" + } + }, + "description": "图标分隔符的组件或组件名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 53, + "version": "2.7.8", + "name": { + "zh_CN": "下拉菜单" + }, + "component": "ElDropdown", + "icon": "dropdown", + "description": "将动作或菜单折叠到下拉菜单中。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDropdown", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "trigger", + "effect", + "type", + "placement", + "popperOptions", + "id", + "size", + "splitButton", + "hideOnClick", + "loop", + "showTimeout", + "hideTimeout", + "tabindex", + "maxHeight", + "popperClass", + "disabled", + "role", + "buttonProps", + "teleported" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "trigger", + "label": { + "text": { + "zh_CN": "trigger" + } + }, + "description": "触发下拉的行为", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "菜单按钮类型,同 Button 组件一样,仅在 split-button 为 true 的情况下有效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "菜单弹出位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "菜单尺寸,在 split-button 为 true 的情况下也对触发按钮生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "splitButton", + "label": { + "text": { + "zh_CN": "splitButton" + } + }, + "description": "下拉触发元素呈现为按钮组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hideOnClick", + "label": { + "text": { + "zh_CN": "hideOnClick" + } + }, + "description": "是否在点击菜单项后隐藏菜单", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showTimeout", + "label": { + "text": { + "zh_CN": "showTimeout" + } + }, + "description": "展开下拉菜单的延时,仅在 trigger 为 hover 时有效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "hideTimeout", + "label": { + "text": { + "zh_CN": "hideTimeout" + } + }, + "description": "收起下拉菜单的延时(仅在 trigger 为 hover 时有效)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "Dropdown 组件的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "maxHeight", + "label": { + "text": { + "zh_CN": "maxHeight" + } + }, + "description": "菜单最大高度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "自定义浮层类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "role", + "label": { + "text": { + "zh_CN": "role" + } + }, + "description": "下拉菜单的 ARIA 属性。 根据具体场景,您可能想要将此更改为“navigation”", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将下拉列表插入至 body 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onClick": { + "label": { + "zh_CN": "点击时触发" + }, + "description": { + "zh_CN": "点击时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onCommand": { + "label": { + "zh_CN": "当下拉项被点击时触发,参数是从下拉菜单中发送的命令" + }, + "description": { + "zh_CN": "当下拉项被点击时触发,参数是从下拉菜单中发送的命令" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": {} + } + }, + { + "id": 54, + "version": "2.7.8", + "name": { + "zh_CN": "菜单" + }, + "component": "ElMenu", + "icon": "menu", + "description": "为网站提供导航功能的菜单。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElMenu", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "mode", + "defaultActive", + "defaultOpeneds", + "uniqueOpened", + "router", + "menuTrigger", + "collapse", + "backgroundColor", + "textColor", + "activeTextColor", + "closeOnClickOutside", + "collapseTransition", + "ellipsis", + "popperOffset", + "ellipsisIcon", + "popperEffect", + "popperClass", + "showTimeout", + "hideTimeout" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "mode", + "label": { + "text": { + "zh_CN": "mode" + } + }, + "description": "菜单展示模式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultActive", + "label": { + "text": { + "zh_CN": "defaultActive" + } + }, + "description": "页面加载时默认激活菜单的 index", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "defaultOpeneds", + "label": { + "text": { + "zh_CN": "defaultOpeneds" + } + }, + "description": "默认打开的 sub-menu 的 index 的数组", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "uniqueOpened", + "label": { + "text": { + "zh_CN": "uniqueOpened" + } + }, + "description": "是否只保持一个子菜单的展开", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "router", + "label": { + "text": { + "zh_CN": "router" + } + }, + "description": "是否启用 vue-router 模式。 启用该模式会在激活导航时以 index 作为 path 进行路由跳转 使用 default-active 来设置加载时的激活项。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "menuTrigger", + "label": { + "text": { + "zh_CN": "menuTrigger" + } + }, + "description": "子菜单打开的触发方式,只在 mode 为 horizontal 时有效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "collapse", + "label": { + "text": { + "zh_CN": "collapse" + } + }, + "description": "是否水平折叠收起菜单(仅在 mode 为 vertical 时可用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "backgroundColor", + "label": { + "text": { + "zh_CN": "backgroundColor" + } + }, + "description": "菜单的背景颜色 (十六进制格式) (推荐在样式类中使用 --el-menu-bg-color)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "textColor", + "label": { + "text": { + "zh_CN": "textColor" + } + }, + "description": "菜单的文字颜色 (十六进制格式) (推荐在样式类中使用 --el-menu-text-color)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "activeTextColor", + "label": { + "text": { + "zh_CN": "activeTextColor" + } + }, + "description": "活动菜单项的文本颜色(十六进制格式)(推荐使用 css var --el-menu-active-color)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "closeOnClickOutside", + "label": { + "text": { + "zh_CN": "closeOnClickOutside" + } + }, + "description": "可选,单击外部时是否折叠菜单", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "collapseTransition", + "label": { + "text": { + "zh_CN": "collapseTransition" + } + }, + "description": "是否开启折叠动画", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ellipsis", + "label": { + "text": { + "zh_CN": "ellipsis" + } + }, + "description": "是否省略多余的子项(仅在横向模式生效)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "popperOffset", + "label": { + "text": { + "zh_CN": "popperOffset" + } + }, + "description": "弹出层的偏移量(对所有子菜单有效)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "ellipsisIcon", + "label": { + "text": { + "zh_CN": "ellipsisIcon" + } + }, + "description": "自定义省略图标 (仅在水平模式下可用)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperEffect", + "label": { + "text": { + "zh_CN": "popperEffect" + } + }, + "description": "Tooltip 主题,内置了 dark / light 两种主题,当菜单折叠时生效。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "为 popper 添加类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showTimeout", + "label": { + "text": { + "zh_CN": "showTimeout" + } + }, + "description": "菜单出现前的延迟", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "hideTimeout", + "label": { + "text": { + "zh_CN": "hideTimeout" + } + }, + "description": "菜单消失前的延迟", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + } + ] + }, + "events": { + "onClose": { + "label": { + "zh_CN": "sub-menu 收起的回调" + }, + "description": { + "zh_CN": "sub-menu 收起的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onOpen": { + "label": { + "zh_CN": "sub-menu 展开的回调" + }, + "description": { + "zh_CN": "sub-menu 展开的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onSelect": { + "label": { + "zh_CN": "菜单激活回调" + }, + "description": { + "zh_CN": "菜单激活回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "自定义默认内容" + }, + "description": { + "zh_CN": "自定义默认内容" + } + } + } + } + }, + { + "id": 55, + "version": "2.7.8", + "name": { + "zh_CN": "Header 页头" + }, + "component": "ElPageHeader", + "icon": "pageheader", + "description": "如果页面的路径比较简单,推荐使用页头组件而非面包屑组件。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElPageHeader", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "icon", + "title", + "content" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "Page Header 的图标 Icon 组件", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "Page Header 的主标题,默认是 Back (内置 a11y)", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "content", + "label": { + "text": { + "zh_CN": "content" + } + }, + "description": "Page Header 的内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onBack": { + "label": { + "zh_CN": "点击左侧区域触发" + }, + "description": { + "zh_CN": "点击左侧区域触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "breadcrumb": { + "label": { + "zh_CN": "面包屑导航内容" + }, + "description": { + "zh_CN": "面包屑导航内容" + } + }, + "extra": { + "label": { + "zh_CN": "扩展设置" + }, + "description": { + "zh_CN": "扩展设置" + } + }, + "default": { + "label": { + "zh_CN": "默认内容" + }, + "description": { + "zh_CN": "默认内容" + } + }, + "icon": { + "label": { + "zh_CN": "Page Header 的图标 Icon 组件" + }, + "description": { + "zh_CN": "Page Header 的图标 Icon 组件" + } + } + } + } + }, + { + "id": 56, + "version": "2.7.8", + "name": { + "zh_CN": "步骤条" + }, + "component": "ElSteps", + "icon": "steps", + "description": "引导用户按照流程完成任务的分步导航条, 可根据实际应用场景设定步骤,步骤不得少于 2 步。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElSteps", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "space", + "active", + "direction", + "alignCenter", + "simple", + "finishStatus", + "processStatus" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "space", + "label": { + "text": { + "zh_CN": "space" + } + }, + "description": "每个 step 的间距,不填写将自适应间距。 支持百分比。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "active", + "label": { + "text": { + "zh_CN": "active" + } + }, + "description": "设置当前激活步骤", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "显示方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "alignCenter", + "label": { + "text": { + "zh_CN": "alignCenter" + } + }, + "description": "进行居中对齐", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "simple", + "label": { + "text": { + "zh_CN": "simple" + } + }, + "description": "是否应用简洁风格", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "finishStatus", + "label": { + "text": { + "zh_CN": "finishStatus" + } + }, + "description": "设置结束步骤的状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "processStatus", + "label": { + "text": { + "zh_CN": "processStatus" + } + }, + "description": "设置当前步骤的状态", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": {} + } + }, + { + "id": 57, + "version": "2.7.8", + "name": { + "zh_CN": "标签页" + }, + "component": "ElTabs", + "icon": "tabs", + "description": "分隔内容上有关联但属于不同类别的数据集合。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTabs", + "destructuring": true + }, + "group": "Navigation 导航", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "type", + "closable", + "addable", + "modelValue", + "editable", + "tabPosition", + "beforeLeave", + "stretch" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "风格类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "closable", + "label": { + "text": { + "zh_CN": "closable" + } + }, + "description": "标签是否可关闭", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "addable", + "label": { + "text": { + "zh_CN": "addable" + } + }, + "description": "标签是否可增加", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "绑定值,选中选项卡的 name,默认值是第一个 tab 的 name", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "editable", + "label": { + "text": { + "zh_CN": "editable" + } + }, + "description": "标签是否同时可增加和关闭", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "tabPosition", + "label": { + "text": { + "zh_CN": "tabPosition" + } + }, + "description": "选项卡所在位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "beforeLeave", + "label": { + "text": { + "zh_CN": "beforeLeave" + } + }, + "description": "切换标签之前的钩子函数, 若返回 false 或者返回被 reject 的 Promise,则阻止切换。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "stretch", + "label": { + "text": { + "zh_CN": "stretch" + } + }, + "description": "标签的宽度是否自撑开", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onTabClick": { + "label": { + "zh_CN": "tab 被选中时触发" + }, + "description": { + "zh_CN": "tab 被选中时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onTabChange": { + "label": { + "zh_CN": "activeName 改变时触发" + }, + "description": { + "zh_CN": "activeName 改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onEdit": { + "label": { + "zh_CN": "点击 tab 的新增或移除按钮后触发" + }, + "description": { + "zh_CN": "点击 tab 的新增或移除按钮后触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onTabRemove": { + "label": { + "zh_CN": "点击 tab 移除按钮时触发" + }, + "description": { + "zh_CN": "点击 tab 移除按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onTabAdd": { + "label": { + "zh_CN": "点击 tab 新增按钮时触发" + }, + "description": { + "zh_CN": "点击 tab 新增按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "label": { + "label": { + "zh_CN": "选项卡标题" + }, + "description": { + "zh_CN": "选项卡标题" + } + } + } + } + }, + { + "id": 58, + "version": "2.7.8", + "name": { + "zh_CN": "提示" + }, + "component": "ElAlert", + "icon": "alert", + "description": "用于页面中展示重要的提示信息。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElAlert", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "title", + "description", + "type", + "closable", + "closeText", + "showIcon", + "center", + "effect" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "Alert 标题。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "description", + "label": { + "text": { + "zh_CN": "description" + } + }, + "description": "描述性文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "type", + "label": { + "text": { + "zh_CN": "type" + } + }, + "description": "Alert 类型。", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "closable", + "label": { + "text": { + "zh_CN": "closable" + } + }, + "description": "是否可以关闭", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeText", + "label": { + "text": { + "zh_CN": "closeText" + } + }, + "description": "自定义关闭按钮文本", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "showIcon", + "label": { + "text": { + "zh_CN": "showIcon" + } + }, + "description": "是否显示类型图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "center", + "label": { + "text": { + "zh_CN": "center" + } + }, + "description": "文字是否居中", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "主题样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onClose": { + "label": { + "zh_CN": "关闭 Alert 时触发的事件" + }, + "description": { + "zh_CN": "关闭 Alert 时触发的事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "Alert 内容描述" + }, + "description": { + "zh_CN": "Alert 内容描述" + } + }, + "title": { + "label": { + "zh_CN": "Alert 标题。" + }, + "description": { + "zh_CN": "Alert 标题。" + } + } + } + } + }, + { + "id": 59, + "version": "2.7.8", + "name": { + "zh_CN": "对话框" + }, + "component": "ElDialog", + "icon": "dialog", + "description": "在保留当前页面状态的情况下,告知用户并承载相关操作。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDialog", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "center", + "alignCenter", + "closeIcon", + "draggable", + "overflow", + "fullscreen", + "showClose", + "title", + "ariaLevel", + "appendToBody", + "appendTo", + "beforeClose", + "destroyOnClose", + "closeOnClickModal", + "closeOnPressEscape", + "lockScroll", + "modal", + "openDelay", + "closeDelay", + "top", + "modelValue", + "modalClass", + "width", + "zIndex", + "trapFocus", + "headerAriaLevel" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "center", + "label": { + "text": { + "zh_CN": "center" + } + }, + "description": "是否让 Dialog 的 header 和 footer 部分居中排列", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "alignCenter", + "label": { + "text": { + "zh_CN": "alignCenter" + } + }, + "description": "是否水平垂直对齐对话框", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeIcon", + "label": { + "text": { + "zh_CN": "closeIcon" + } + }, + "description": "自定义关闭图标,默认 Close", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "draggable", + "label": { + "text": { + "zh_CN": "draggable" + } + }, + "description": "为 Dialog 启用可拖拽功能", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "overflow", + "label": { + "text": { + "zh_CN": "overflow" + } + }, + "description": "拖动范围可以超出可视区", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "fullscreen", + "label": { + "text": { + "zh_CN": "fullscreen" + } + }, + "description": "是否为全屏 Dialog", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showClose", + "label": { + "text": { + "zh_CN": "showClose" + } + }, + "description": "是否显示关闭按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "Dialog 对话框 Dialog 的标题, 也可通过具名 slot (见下表)传入", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "appendToBody", + "label": { + "text": { + "zh_CN": "appendToBody" + } + }, + "description": "Dialog 自身是否插入至 body 元素上。 嵌套的 Dialog 必须指定该属性并赋值为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "appendTo", + "label": { + "text": { + "zh_CN": "appendTo" + } + }, + "description": "Dialog 挂载到哪个 DOM 元素 将覆盖 append-to-body", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "beforeClose", + "label": { + "text": { + "zh_CN": "beforeClose" + } + }, + "description": "关闭前的回调,会暂停 Dialog 的关闭. 回调函数内执行 done 参数方法的时候才是真正关闭对话框的时候.", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "destroyOnClose", + "label": { + "text": { + "zh_CN": "destroyOnClose" + } + }, + "description": "当关闭 Dialog 时,销毁其中的元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeOnClickModal", + "label": { + "text": { + "zh_CN": "closeOnClickModal" + } + }, + "description": "是否可以通过点击 modal 关闭 Dialog", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeOnPressEscape", + "label": { + "text": { + "zh_CN": "closeOnPressEscape" + } + }, + "description": "是否可以通过按下 ESC 关闭 Dialog", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "lockScroll", + "label": { + "text": { + "zh_CN": "lockScroll" + } + }, + "description": "是否在 Dialog 出现时将 body 滚动锁定", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modal", + "label": { + "text": { + "zh_CN": "modal" + } + }, + "description": "是否需要遮罩层", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "openDelay", + "label": { + "text": { + "zh_CN": "openDelay" + } + }, + "description": "dialog 打开的延时时间,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "closeDelay", + "label": { + "text": { + "zh_CN": "closeDelay" + } + }, + "description": "dialog 关闭的延时时间,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "top", + "label": { + "text": { + "zh_CN": "top" + } + }, + "description": "dialog CSS 中的 margin-top 值,默认为 15vh", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "是否显示 Dialog", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modalClass", + "label": { + "text": { + "zh_CN": "modalClass" + } + }, + "description": "遮罩的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "对话框的宽度,默认值为 50%", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "和原生的 CSS 的 z-index 相同,改变 z 轴的顺序", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "headerAriaLevel", + "label": { + "text": { + "zh_CN": "headerAriaLevel" + } + }, + "description": "header 的 aria-level 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onOpen": { + "label": { + "zh_CN": "Dialog 打开的回调" + }, + "description": { + "zh_CN": "Dialog 打开的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onOpened": { + "label": { + "zh_CN": "Dialog 打开动画结束时的回调" + }, + "description": { + "zh_CN": "Dialog 打开动画结束时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClose": { + "label": { + "zh_CN": "Dialog 关闭的回调" + }, + "description": { + "zh_CN": "Dialog 关闭的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClosed": { + "label": { + "zh_CN": "Dialog 关闭动画结束时的回调" + }, + "description": { + "zh_CN": "Dialog 关闭动画结束时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onOpenAutoFocus": { + "label": { + "zh_CN": "输入焦点聚焦在 Dialog 内容时的回调" + }, + "description": { + "zh_CN": "输入焦点聚焦在 Dialog 内容时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onCloseAutoFocus": { + "label": { + "zh_CN": "输入焦点从 Dialog 内容失焦时的回调" + }, + "description": { + "zh_CN": "输入焦点从 Dialog 内容失焦时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "title": { + "label": { + "zh_CN": "Dialog 对话框 Dialog 的标题, 也可通过具名 slot (见下表)传入" + }, + "description": { + "zh_CN": "Dialog 对话框 Dialog 的标题, 也可通过具名 slot (见下表)传入" + } + }, + "footer": { + "label": { + "zh_CN": "Dialog 按钮操作区的内容" + }, + "description": { + "zh_CN": "Dialog 按钮操作区的内容" + } + } + } + } + }, + { + "id": 60, + "version": "2.7.8", + "name": { + "zh_CN": "抽屉" + }, + "component": "ElDrawer", + "icon": "drawer", + "description": "有些时候, Dialog 组件并不满足我们的需求, 比如你的表单很长, 亦或是你需要临时展示一些文档, Drawer 拥有和 Dialog 几乎相同的 API, 在 UI 上带来不一样的体验.", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDrawer", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "center", + "alignCenter", + "closeIcon", + "draggable", + "overflow", + "fullscreen", + "showClose", + "title", + "ariaLevel", + "appendToBody", + "appendTo", + "beforeClose", + "destroyOnClose", + "closeOnClickModal", + "closeOnPressEscape", + "lockScroll", + "modal", + "openDelay", + "closeDelay", + "top", + "modelValue", + "modalClass", + "width", + "zIndex", + "trapFocus", + "headerAriaLevel", + "direction", + "size", + "withHeader", + "modalFade" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "showClose", + "label": { + "text": { + "zh_CN": "showClose" + } + }, + "description": "是否显示关闭按钮", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "Drawer 的标题,也可通过具名 slot (见下表)传入", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "appendToBody", + "label": { + "text": { + "zh_CN": "appendToBody" + } + }, + "description": "Drawer 自身是否插入至 body 元素上。嵌套的 Drawer 必须指定该属性并赋值为 true", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "appendTo", + "label": { + "text": { + "zh_CN": "appendTo" + } + }, + "description": "挂载到哪个 DOM 元素 将覆盖 append-to-body", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "beforeClose", + "label": { + "text": { + "zh_CN": "beforeClose" + } + }, + "description": "关闭前的回调,会暂停 Drawer 的关闭", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "destroyOnClose", + "label": { + "text": { + "zh_CN": "destroyOnClose" + } + }, + "description": "控制是否在关闭 Drawer 之后将子元素全部销毁", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeOnClickModal", + "label": { + "text": { + "zh_CN": "closeOnClickModal" + } + }, + "description": "是否可以通过点击 modal 关闭 Drawer", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "closeOnPressEscape", + "label": { + "text": { + "zh_CN": "closeOnPressEscape" + } + }, + "description": "是否可以通过按下 ESC 关闭 Drawer", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "lockScroll", + "label": { + "text": { + "zh_CN": "lockScroll" + } + }, + "description": "是否在 Drawer 出现时将 body 滚动锁定", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modal", + "label": { + "text": { + "zh_CN": "modal" + } + }, + "description": "是否需要遮罩层", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "openDelay", + "label": { + "text": { + "zh_CN": "openDelay" + } + }, + "description": "Drawer 打开的延时时间,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "closeDelay", + "label": { + "text": { + "zh_CN": "closeDelay" + } + }, + "description": "Drawer 关闭的延时时间,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "modelValue", + "label": { + "text": { + "zh_CN": "modelValue" + } + }, + "description": "是否显示 Drawer", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "modalClass", + "label": { + "text": { + "zh_CN": "modalClass" + } + }, + "description": "遮罩层的自定义类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "设置 z-index", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "headerAriaLevel", + "label": { + "text": { + "zh_CN": "headerAriaLevel" + } + }, + "description": "header 的 aria-level 属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "Drawer 打开的方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "size", + "label": { + "text": { + "zh_CN": "size" + } + }, + "description": "Drawer 窗体的大小, 当使用 number 类型时, 以像素为单位, 当使用 string 类型时, 请传入 'x%', 否则便会以 number 类型解释", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "withHeader", + "label": { + "text": { + "zh_CN": "withHeader" + } + }, + "description": "控制是否显示 header 栏, 默认为 true, 当此项为 false 时, title attribute 和 title slot 均不生效", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onOpen": { + "label": { + "zh_CN": "Drawer 打开的回调" + }, + "description": { + "zh_CN": "Drawer 打开的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onOpened": { + "label": { + "zh_CN": "Drawer 打开动画结束时的回调" + }, + "description": { + "zh_CN": "Drawer 打开动画结束时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClose": { + "label": { + "zh_CN": "Drawer 关闭的回调" + }, + "description": { + "zh_CN": "Drawer 关闭的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onClosed": { + "label": { + "zh_CN": "Drawer 关闭动画结束时的回调" + }, + "description": { + "zh_CN": "Drawer 关闭动画结束时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onUpdate:modelValue": { + "label": { + "zh_CN": "双向绑定的值改变时触发" + }, + "description": { + "zh_CN": "双向绑定的值改变时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onOpenAutoFocus": { + "label": { + "zh_CN": "输入焦点聚焦在 Drawer 内容时的回调" + }, + "description": { + "zh_CN": "输入焦点聚焦在 Drawer 内容时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onCloseAutoFocus": { + "label": { + "zh_CN": "输入焦点从 Drawer 内容失焦时的回调" + }, + "description": { + "zh_CN": "输入焦点从 Drawer 内容失焦时的回调" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "title": { + "label": { + "zh_CN": "Drawer 的标题,也可通过具名 slot (见下表)传入" + }, + "description": { + "zh_CN": "Drawer 的标题,也可通过具名 slot (见下表)传入" + } + }, + "footer": { + "label": { + "zh_CN": "Drawer 页脚部分" + }, + "description": { + "zh_CN": "Drawer 页脚部分" + } + } + } + } + }, + { + "id": 61, + "version": "2.7.8", + "name": { + "zh_CN": "加载" + }, + "component": "ElLoading", + "icon": "loading", + "description": "加载数据时显示动效。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElLoading", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 62, + "version": "2.7.8", + "name": { + "zh_CN": "消息提示" + }, + "component": "ElMessage", + "icon": "message", + "description": "常用于主动操作后的反馈提示。 与 Notification 的区别是后者更多用于系统级通知的被动提醒。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElMessage", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 63, + "version": "2.7.8", + "name": { + "zh_CN": "Box 消息弹出框" + }, + "component": "ElMessageBox", + "icon": "messagebox", + "description": "模拟系统的消息提示框而实现的一套模态对话框组件,用于消息提示、确认消息和提交内容。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElMessageBox", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 64, + "version": "2.7.8", + "name": { + "zh_CN": "通知" + }, + "component": "ElNotification", + "icon": "notification", + "description": "悬浮出现在页面角落,显示全局的通知提醒消息。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElNotification", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": [], + "events": {}, + "slots": {} + } + }, + { + "id": 65, + "version": "2.7.8", + "name": { + "zh_CN": "气泡确认框" + }, + "component": "ElPopconfirm", + "icon": "popconfirm", + "description": "点击某个元素弹出一个简单的气泡确认框", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElPopconfirm", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "title", + "confirmButtonText", + "cancelButtonText", + "confirmButtonType", + "cancelButtonType", + "icon", + "iconColor", + "hideIcon", + "hideAfter", + "teleported", + "persistent", + "width" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "confirmButtonText", + "label": { + "text": { + "zh_CN": "confirmButtonText" + } + }, + "description": "确认按钮文字", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "cancelButtonText", + "label": { + "text": { + "zh_CN": "cancelButtonText" + } + }, + "description": "取消按钮文字", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "confirmButtonType", + "label": { + "text": { + "zh_CN": "confirmButtonType" + } + }, + "description": "确认按钮类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "cancelButtonType", + "label": { + "text": { + "zh_CN": "cancelButtonType" + } + }, + "description": "取消按钮类型", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "icon", + "label": { + "text": { + "zh_CN": "icon" + } + }, + "description": "自定义图标", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "iconColor", + "label": { + "text": { + "zh_CN": "iconColor" + } + }, + "description": "Icon 颜色", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "hideIcon", + "label": { + "text": { + "zh_CN": "hideIcon" + } + }, + "description": "是否隐藏 Icon", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "hideAfter", + "label": { + "text": { + "zh_CN": "hideAfter" + } + }, + "description": "关闭时的延迟", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将 popover 的下拉列表插入至 body 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当 popover 组件长时间不触发且 persistent 属性设置为 false 时, popover 将会被删除", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "弹层宽度,最小宽度 150px", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": { + "onConfirm": { + "label": { + "zh_CN": "点击确认按钮时触发" + }, + "description": { + "zh_CN": "点击确认按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onCancel": { + "label": { + "zh_CN": "点击取消按钮时触发" + }, + "description": { + "zh_CN": "点击取消按钮时触发" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "reference": { + "label": { + "zh_CN": "触发 Popconfirm 显示的 HTML 元素" + }, + "description": { + "zh_CN": "触发 Popconfirm 显示的 HTML 元素" + } + } + } + } + }, + { + "id": 66, + "version": "2.7.8", + "name": { + "zh_CN": "弹出框" + }, + "component": "ElPopover", + "icon": "popover", + "description": "", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElPopover", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "trigger", + "placement", + "disabled", + "visible", + "transition", + "popperOptions", + "tabindex", + "content", + "popperStyle", + "popperClass", + "enterable", + "effect", + "teleported", + "title", + "width", + "offset", + "showAfter", + "hideAfter", + "autoClose", + "showArrow", + "persistent", + "onUpdate:visible" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "trigger", + "label": { + "text": { + "zh_CN": "trigger" + } + }, + "description": "触发方式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "出现位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "Popover 是否可用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "visible", + "label": { + "text": { + "zh_CN": "visible" + } + }, + "description": "Popover 是否显示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "transition", + "label": { + "text": { + "zh_CN": "transition" + } + }, + "description": "定义渐变动画,默认是 el-fade-in-linear", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 的参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "tabindex", + "label": { + "text": { + "zh_CN": "tabindex" + } + }, + "description": "Popover 组件的 tabindex", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "content", + "label": { + "text": { + "zh_CN": "content" + } + }, + "description": "显示的内容,也可以通过写入默认 slot 修改显示内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperStyle", + "label": { + "text": { + "zh_CN": "popperStyle" + } + }, + "description": "为 popper 自定义样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "为 popper 添加类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "Tooltip 主题,Element Plus 内置了 dark / light 两种主题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否将 popover 的下拉列表插入至 body 元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "title", + "label": { + "text": { + "zh_CN": "title" + } + }, + "description": "标题", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "浮层偏移量, Popover 是在 Tooltip,基础上开发的, Popover的 offset 是 undefined, 但Tooltip 的 offset 是12", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "showAfter", + "label": { + "text": { + "zh_CN": "showAfter" + } + }, + "description": "在触发后多久显示内容,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "hideAfter", + "label": { + "text": { + "zh_CN": "hideAfter" + } + }, + "description": "延迟关闭,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "autoClose", + "label": { + "text": { + "zh_CN": "autoClose" + } + }, + "description": "tooltip 出现后自动隐藏延时,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "showArrow", + "label": { + "text": { + "zh_CN": "showArrow" + } + }, + "description": "是否显示 Tooltip 箭头, 欲了解更多信息,请参考 ElPopper", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当 popover 组件长时间不触发且 persistent 属性设置为 false 时, popover 将会被删除", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "reference": { + "label": { + "zh_CN": "触发 Popover 显示的 HTML 元素" + }, + "description": { + "zh_CN": "触发 Popover 显示的 HTML 元素" + } + } + } + } + }, + { + "id": 67, + "version": "2.7.8", + "name": { + "zh_CN": "文字提示" + }, + "component": "ElTooltip", + "icon": "tooltip", + "description": "常用于展示鼠标 hover 时的提示信息。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElTooltip", + "destructuring": true + }, + "group": "Feedback 反馈组件", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "role", + "visible", + "onUpdate:visible", + "showAfter", + "hideAfter", + "autoClose", + "boundariesPadding", + "fallbackPlacements", + "gpuAcceleration", + "offset", + "placement", + "popperOptions", + "strategy", + "id", + "style", + "className", + "effect", + "enterable", + "pure", + "focusOnShow", + "trapping", + "popperClass", + "popperStyle", + "referenceEl", + "triggerTargetEl", + "stopPopperMouseEvent", + "virtualTriggering", + "zIndex", + "ariaLabel", + "appendTo", + "content", + "rawContent", + "persistent", + "transition", + "teleported", + "disabled", + "virtualRef", + "onMouseenter", + "onMouseleave", + "onClick", + "onKeydown", + "onFocus", + "onBlur", + "onContextmenu", + "open", + "trigger", + "triggerKeys", + "arrowOffset", + "showArrow" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "role", + "label": { + "text": { + "zh_CN": "role" + } + }, + "description": "容器角色,为选择器组件提供的内部属性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "visible", + "label": { + "text": { + "zh_CN": "visible" + } + }, + "description": "Tooltip 组件可见性", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "showAfter", + "label": { + "text": { + "zh_CN": "showAfter" + } + }, + "description": "在触发后多久显示内容,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "hideAfter", + "label": { + "text": { + "zh_CN": "hideAfter" + } + }, + "description": "延迟关闭,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "autoClose", + "label": { + "text": { + "zh_CN": "autoClose" + } + }, + "description": "tooltip 出现后自动隐藏延时,单位毫秒", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "fallbackPlacements", + "label": { + "text": { + "zh_CN": "fallbackPlacements" + } + }, + "description": "Tooltip 可用的 positions 请查看popper.js 文档", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "出现位置的偏移量", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "placement", + "label": { + "text": { + "zh_CN": "placement" + } + }, + "description": "Tooltip 组件出现的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "popperOptions", + "label": { + "text": { + "zh_CN": "popperOptions" + } + }, + "description": "popper.js 参数", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "id", + "label": { + "text": { + "zh_CN": "id" + } + }, + "description": "本机输入id", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "effect", + "label": { + "text": { + "zh_CN": "effect" + } + }, + "description": "Tooltip 主题,内置了 dark / light 两种", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "enterable", + "label": { + "text": { + "zh_CN": "enterable" + } + }, + "description": "鼠标是否可进入到 tooltip 中", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "popperClass", + "label": { + "text": { + "zh_CN": "popperClass" + } + }, + "description": "为 Tooltip 的 popper 添加类名", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "virtualTriggering", + "label": { + "text": { + "zh_CN": "virtualTriggering" + } + }, + "description": "用来标识虚拟触发是否被启用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "ariaLabel", + "label": { + "text": { + "zh_CN": "ariaLabel" + } + }, + "description": "和 aria-label 属性保持一致", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "appendTo", + "label": { + "text": { + "zh_CN": "appendTo" + } + }, + "description": "指示 Tooltip 的内容将附加在哪一个网页元素上", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "content", + "label": { + "text": { + "zh_CN": "content" + } + }, + "description": "显示的内容,也可被 slot#content 覆盖", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "rawContent", + "label": { + "text": { + "zh_CN": "rawContent" + } + }, + "description": "content 中的内容是否作为 HTML 字符串处理", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "persistent", + "label": { + "text": { + "zh_CN": "persistent" + } + }, + "description": "当 tooltip 组件长时间不触发且 persistent 属性设置为 false 时, popconfirm 将会被删除", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "transition", + "label": { + "text": { + "zh_CN": "transition" + } + }, + "description": "动画名称", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "teleported", + "label": { + "text": { + "zh_CN": "teleported" + } + }, + "description": "是否使用 teleport。设置成 true则会被追加到 append-to 的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "disabled" + } + }, + "description": "Tooltip 组件是否禁用", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + }, + { + "property": "virtualRef", + "label": { + "text": { + "zh_CN": "virtualRef" + } + }, + "description": "标识虚拟触发时的触发元素", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "trigger", + "label": { + "text": { + "zh_CN": "trigger" + } + }, + "description": "如何触发 Tooltip", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "triggerKeys", + "label": { + "text": { + "zh_CN": "triggerKeys" + } + }, + "description": "当鼠标点击或者聚焦在触发元素上时, 可以定义一组键盘按键并且通过它们来控制 Tooltip 的显示", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "showArrow", + "label": { + "text": { + "zh_CN": "showArrow" + } + }, + "description": "tooltip 的内容是否有箭头", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaSwitch", + "props": {} + } + } + ] + }, + "events": { + "onHide": { + "label": { + "zh_CN": "提供 hide 方法" + }, + "description": { + "zh_CN": "提供 hide 方法" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "Tooltip 触发 & 引用的元素" + }, + "description": { + "zh_CN": "Tooltip 触发 & 引用的元素" + } + } + } + } + }, + { + "id": 68, + "version": "2.7.8", + "name": { + "zh_CN": "分割线" + }, + "component": "ElDivider", + "icon": "divider", + "description": "区隔内容的分割线。", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElDivider", + "destructuring": true + }, + "group": "Others 其他", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "direction", + "contentPosition", + "borderStyle" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "direction", + "label": { + "text": { + "zh_CN": "direction" + } + }, + "description": "设置分割线方向", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "contentPosition", + "label": { + "text": { + "zh_CN": "contentPosition" + } + }, + "description": "自定义分隔线内容的位置", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "borderStyle", + "label": { + "text": { + "zh_CN": "borderStyle" + } + }, + "description": "设置分隔符样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + } + ] + }, + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "设置分割线文案的位置" + }, + "description": { + "zh_CN": "设置分割线文案的位置" + } + } + } + } + }, + { + "id": 69, + "version": "2.7.8", + "name": { + "zh_CN": "水印 2.4.0" + }, + "component": "ElWatermark", + "icon": "watermark", + "description": "在页面上添加文本或图片等水印信息", + "doc_url": "", + "screenshot": "", + "tags": "", + "keywords": "", + "dev_mode": "proCode", + "npm": { + "package": "element-plus", + "version": "2.7.8", + "script": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs", + "css": "https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.css", + "dependencies": null, + "exportName": "ElWatermark", + "destructuring": true + }, + "group": "Others 其他", + "category": "element-plus", + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "isPopper": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [ + "zIndex", + "rotate", + "width", + "height", + "image", + "content", + "font", + "gap", + "offset" + ] + }, + "contextMenu": { + "actions": [ + "copy", + "remove", + "insert", + "updateAttr", + "bindEevent", + "createBlock" + ], + "disable": [] + }, + "invalidity": [ + "" + ], + "clickCapture": true, + "framework": "Vue" + }, + "schema": { + "properties": { + "label": { + "zh_CN": "基础信息" + }, + "description": { + "zh_CN": "基础信息" + }, + "collapse": { + "number": 6, + "text": { + "zh_CN": "显示更多" + } + }, + "content": [ + { + "property": "zIndex", + "label": { + "text": { + "zh_CN": "zIndex" + } + }, + "description": "水印元素的z-index值", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "rotate", + "label": { + "text": { + "zh_CN": "rotate" + } + }, + "description": "水印的旋转角度, 单位 °", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "width", + "label": { + "text": { + "zh_CN": "width" + } + }, + "description": "水印的宽度, content 的默认值是它自己的宽度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "height", + "label": { + "text": { + "zh_CN": "height" + } + }, + "description": "水印的高度, content 的默认值是它自己的高度", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaNumber", + "props": {} + } + }, + { + "property": "image", + "label": { + "text": { + "zh_CN": "image" + } + }, + "description": "水印图片,建议使用 2x 或 3x 图像", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "content", + "label": { + "text": { + "zh_CN": "content" + } + }, + "description": "水印文本内容", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaInput", + "props": {} + } + }, + { + "property": "font", + "label": { + "text": { + "zh_CN": "font" + } + }, + "description": "文字样式", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "gap", + "label": { + "text": { + "zh_CN": "gap" + } + }, + "description": "水印之间的间距", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + }, + { + "property": "offset", + "label": { + "text": { + "zh_CN": "offset" + } + }, + "description": "水印从容器左上角的偏移 默认值为 gap/2", + "required": false, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "MetaCodeEditor", + "props": { + "language": "json" + } + } + } + ] + }, + "events": {}, + "slots": {} + } + } + ], + "blocks": [], + "snippets": [ + { + "group": "element-plus", + "children": [ + { + "name": { + "zh_CN": "按钮" + }, + "icon": "button", + "screenshot": "", + "snippetName": "ElButton", + "schema": {} + }, + { + "name": { + "zh_CN": "布局容器" + }, + "icon": "breadcrumb", + "screenshot": "", + "snippetName": "ElContainer", + "schema": {} + }, + { + "name": { + "zh_CN": "图标" + }, + "icon": "icon", + "screenshot": "", + "snippetName": "ElIcon", + "schema": {} + }, + { + "name": { + "zh_CN": "链接" + }, + "icon": "link", + "screenshot": "", + "snippetName": "ElLink", + "schema": {} + }, + { + "name": { + "zh_CN": "文本2.3.0" + }, + "icon": "text", + "screenshot": "", + "snippetName": "ElText", + "schema": {} + }, + { + "name": { + "zh_CN": "滚动条" + }, + "icon": "expand", + "screenshot": "", + "snippetName": "ElScrollbar", + "schema": {} + }, + { + "name": { + "zh_CN": "间距" + }, + "icon": "overflow-scroll", + "screenshot": "", + "snippetName": "ElSpace", + "schema": {} + }, + { + "name": { + "zh_CN": "Provider 全局配置" + }, + "icon": "plugin-icon-language", + "screenshot": "", + "snippetName": "ElConfigProvider", + "schema": {} + }, + { + "name": { + "zh_CN": "自动补全输入框" + }, + "icon": "plus-circle", + "screenshot": "", + "snippetName": "ElAutocomplete", + "schema": {} + }, + { + "name": { + "zh_CN": "级联选择器" + }, + "icon": "transform-origin-center", + "screenshot": "", + "snippetName": "ElCascader", + "schema": {} + }, + { + "name": { + "zh_CN": "多选框" + }, + "icon": "checkbox", + "screenshot": "", + "snippetName": "ElCheckbox", + "schema": {} + }, + { + "name": { + "zh_CN": "Picker 取色器" + }, + "icon": "tablefilter", + "screenshot": "", + "snippetName": "ElColorPicker", + "schema": {} + }, + { + "name": { + "zh_CN": "Picker 日期选择器" + }, + "icon": "datepick", + "screenshot": "", + "snippetName": "ElDatePicker", + "schema": {} + }, + { + "name": { + "zh_CN": "表单" + }, + "icon": "form", + "screenshot": "", + "snippetName": "ElForm", + "schema": {} + }, + { + "name": { + "zh_CN": "输入框" + }, + "icon": "input", + "screenshot": "", + "snippetName": "ElInput", + "schema": {} + }, + { + "name": { + "zh_CN": "Number 数字输入框" + }, + "icon": "numeric", + "screenshot": "", + "snippetName": "ElInputNumber", + "schema": {} + }, + { + "name": { + "zh_CN": "提及2.8.0" + }, + "icon": "text-page-review", + "screenshot": "", + "snippetName": "ElMention", + "schema": {} + }, + { + "name": { + "zh_CN": "单选框" + }, + "icon": "radio", + "screenshot": "", + "snippetName": "ElRadio", + "schema": {} + }, + { + "name": { + "zh_CN": "评分" + }, + "icon": "edit", + "screenshot": "", + "snippetName": "ElRate", + "schema": {} + }, + { + "name": { + "zh_CN": "选择器" + }, + "icon": "select", + "screenshot": "", + "snippetName": "ElSelect", + "schema": {} + }, + { + "name": { + "zh_CN": "滑块" + }, + "icon": "flex-alignbaselinerow", + "screenshot": "", + "snippetName": "ElSlider", + "schema": {} + }, + { + "name": { + "zh_CN": "开关" + }, + "icon": "switch", + "screenshot": "", + "snippetName": "ElSwitch", + "schema": {} + }, + { + "name": { + "zh_CN": "Picker 时间选择器" + }, + "icon": "realtime-flow", + "screenshot": "", + "snippetName": "ElTimePicker", + "schema": {} + }, + { + "name": { + "zh_CN": "Select 时间选择" + }, + "icon": "accordion", + "screenshot": "", + "snippetName": "ElTimeSelect", + "schema": {} + }, + { + "name": { + "zh_CN": "穿梭框" + }, + "icon": "align-content-center", + "screenshot": "", + "snippetName": "ElTransfer", + "schema": {} + }, + { + "name": { + "zh_CN": "树形选择2.1.8" + }, + "icon": "tree", + "screenshot": "", + "snippetName": "ElTreeSelect", + "schema": {} + }, + { + "name": { + "zh_CN": "上传" + }, + "icon": "unfold-outline", + "screenshot": "", + "snippetName": "ElUpload", + "schema": {} + }, + { + "name": { + "zh_CN": "头像" + }, + "icon": "stars", + "screenshot": "", + "snippetName": "ElAvatar", + "schema": {} + }, + { + "name": { + "zh_CN": "徽章" + }, + "icon": "flowchart-rds", + "screenshot": "", + "snippetName": "ElBadge", + "schema": {} + }, + { + "name": { + "zh_CN": "日历" + }, + "icon": "bdlayout", + "screenshot": "", + "snippetName": "ElCalendar", + "schema": {} + }, + { + "name": { + "zh_CN": "卡片" + }, + "icon": "dialogbox", + "screenshot": "", + "snippetName": "ElCard", + "schema": {} + }, + { + "name": { + "zh_CN": "走马灯" + }, + "icon": "carousel", + "screenshot": "", + "snippetName": "ElCarousel", + "schema": {} + }, + { + "name": { + "zh_CN": "折叠面板" + }, + "icon": "collapse", + "screenshot": "", + "snippetName": "ElCollapse", + "schema": {} + }, + { + "name": { + "zh_CN": "描述列表" + }, + "icon": "grid-row-auto", + "screenshot": "", + "snippetName": "ElDescriptions", + "schema": {} + }, + { + "name": { + "zh_CN": "空状态" + }, + "icon": "empty", + "screenshot": "", + "snippetName": "ElEmpty", + "schema": {} + }, + { + "name": { + "zh_CN": "图片" + }, + "icon": "image", + "screenshot": "", + "snippetName": "ElImage", + "schema": {} + }, + { + "name": { + "zh_CN": "Scroll 无限滚动" + }, + "icon": "full-screen", + "screenshot": "", + "snippetName": "ElInfiniteScroll", + "schema": {} + }, + { + "name": { + "zh_CN": "分页" + }, + "icon": "flex-justifyspace-betweenrow", + "screenshot": "", + "snippetName": "ElPagination", + "schema": {} + }, + { + "name": { + "zh_CN": "进度条" + }, + "icon": "tile-x", + "screenshot": "", + "snippetName": "ElProgress", + "schema": {} + }, + { + "name": { + "zh_CN": "结果" + }, + "icon": "flow-success", + "screenshot": "", + "snippetName": "ElResult", + "schema": {} + }, + { + "name": { + "zh_CN": "骨架屏" + }, + "icon": "chat-minimize", + "screenshot": "", + "snippetName": "ElSkeleton", + "schema": {} + }, + { + "name": { + "zh_CN": "表格" + }, + "icon": "table", + "screenshot": "", + "snippetName": "ElTable", + "schema": {} + }, + { + "name": { + "zh_CN": "标签" + }, + "icon": "tag", + "screenshot": "", + "snippetName": "ElTag", + "schema": {} + }, + { + "name": { + "zh_CN": "时间线" + }, + "icon": "timeline", + "screenshot": "", + "snippetName": "ElTimeline", + "schema": {} + }, + { + "name": { + "zh_CN": "漫游式引导2.5.0" + }, + "icon": "checkout", + "screenshot": "", + "snippetName": "ElTour", + "schema": {} + }, + { + "name": { + "zh_CN": "树形控件" + }, + "icon": "tree-shape", + "screenshot": "", + "snippetName": "ElTree", + "schema": {} + }, + { + "name": { + "zh_CN": "统计组件2.2.30" + }, + "icon": "plugin-icon-data", + "screenshot": "", + "snippetName": "ElStatistic", + "schema": {} + }, + { + "name": { + "zh_CN": "分段控制器2.7.0" + }, + "icon": "align-content-space-around", + "screenshot": "", + "snippetName": "ElSegmented", + "schema": {} + }, + { + "name": { + "zh_CN": "固钉" + }, + "icon": "cancel-full-screen", + "screenshot": "", + "snippetName": "ElAffix", + "schema": {} + }, + { + "name": { + "zh_CN": "锚点2.6.0" + }, + "icon": "clock-small", + "screenshot": "", + "snippetName": "ElAnchor", + "schema": {} + }, + { + "name": { + "zh_CN": "回到顶部" + }, + "icon": "unfold-outline", + "screenshot": "", + "snippetName": "ElBacktop", + "schema": {} + }, + { + "name": { + "zh_CN": "面包屑" + }, + "icon": "breadcrumb", + "screenshot": "", + "snippetName": "ElBreadcrumb", + "schema": {} + }, + { + "name": { + "zh_CN": "下拉菜单" + }, + "icon": "dropdown", + "screenshot": "", + "snippetName": "ElDropdown", + "schema": {} + }, + { + "name": { + "zh_CN": "菜单" + }, + "icon": "menu", + "screenshot": "", + "snippetName": "ElMenu", + "schema": {} + }, + { + "name": { + "zh_CN": "Header 页头" + }, + "icon": "text-page-common", + "screenshot": "", + "snippetName": "ElPageHeader", + "schema": {} + }, + { + "name": { + "zh_CN": "步骤条" + }, + "icon": "position-top", + "screenshot": "", + "snippetName": "ElSteps", + "schema": {} + }, + { + "name": { + "zh_CN": "标签页" + }, + "icon": "tabs", + "screenshot": "", + "snippetName": "ElTabs", + "schema": {} + }, + { + "name": { + "zh_CN": "提示" + }, + "icon": "alert", + "screenshot": "", + "snippetName": "ElAlert", + "schema": {} + }, + { + "name": { + "zh_CN": "对话框" + }, + "icon": "chat-maximize", + "screenshot": "", + "snippetName": "ElDialog", + "schema": {} + }, + { + "name": { + "zh_CN": "抽屉" + }, + "icon": "collection", + "screenshot": "", + "snippetName": "ElDrawer", + "schema": {} + }, + { + "name": { + "zh_CN": "加载" + }, + "icon": "loading", + "screenshot": "", + "snippetName": "ElLoading", + "schema": {} + }, + { + "name": { + "zh_CN": "消息提示" + }, + "icon": "chat-message", + "screenshot": "", + "snippetName": "ElMessage", + "schema": {} + }, + { + "name": { + "zh_CN": "Box 消息弹出框" + }, + "icon": "cloud-shell", + "screenshot": "", + "snippetName": "ElMessageBox", + "schema": {} + }, + { + "name": { + "zh_CN": "通知" + }, + "icon": "warning", + "screenshot": "", + "snippetName": "ElNotification", + "schema": {} + }, + { + "name": { + "zh_CN": "气泡确认框" + }, + "icon": "flowchart-evs", + "screenshot": "", + "snippetName": "ElPopconfirm", + "schema": {} + }, + { + "name": { + "zh_CN": "弹出框" + }, + "icon": "popover", + "screenshot": "", + "snippetName": "ElPopover", + "schema": {} + }, + { + "name": { + "zh_CN": "文字提示" + }, + "icon": "tooltip", + "screenshot": "", + "snippetName": "ElTooltip", + "schema": {} + }, + { + "name": { + "zh_CN": "分割线" + }, + "icon": "border-style-solid", + "screenshot": "", + "snippetName": "ElDivider", + "schema": {} + }, + { + "name": { + "zh_CN": "水印 2.4.0" + }, + "icon": "carouselitem", + "screenshot": "", + "snippetName": "ElWatermark", + "schema": {} + } + ] + } + ] + } + } +} \ No newline at end of file diff --git a/scripts/genMaterial.js b/scripts/genMaterial.js index 99d0f8fff..175d8d68b 100644 --- a/scripts/genMaterial.js +++ b/scripts/genMaterial.js @@ -5,545 +5,7 @@ const cheerio = require('cheerio') const fs = require('fs') const ElementPlus = require('element-plus') const EMPTY_VALUE = "" -const SCRIPT = 'https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs'; -const ElementPlusIconsVue = require('@element-plus/icons-vue'); -// let componentCount = 0; -// 遍历 ElementPlusIconsVue 并根据映射表注册组件及其对应的图标 -/* for (const [key, component] of Object.entries(ElementPlusIconsVue)) { - console.log(key) - componentCount++; -} -console.log(`导出的组件个数: ${componentCount}`); */ - -/* const map = {AddLocation :'AddLocation图标',Aim :'Aim图标',AlarmClock :'AlarmClock图标',Apple :'Apple图标',ArrowDown :'ArrowDown图标',ArrowDownBold :'ArrowDownBold图标', - ArrowLeft :'ArrowLeft图标',ArrowLeftBold :'ArrowLeftBold图标',ArrowRight :'ArrowRight图标',ArrowRightBold :'ArrowRightBold图标',ArrowUp :'ArrowUp图标', - ArrowUpBold :'ArrowUpBold图标',Avatar :'Avatar图标',Back :'Back图标',Baseball :'Baseball图标',Basketball :'Basketball图标',Bell :'Bell图标', - BellFilled :'BellFilled图标',Bicycle :'Bicycle图标',Bottom :'Bottom图标',BottomLeft :'BottomLeft图标',BottomRight :'BottomRight图标',Bowl :'Bowl图标', - Box : - 'Box图标', - Briefcase : - 'Briefcase图标', - Brush : - 'Brush图标', - BrushFilled : - 'BrushFilled图标', - Burger : - 'Burger图标', - Calendar : - 'Calendar图标', - Camera : - 'Camera图标', - CameraFilled : - 'CameraFilled图标', - CaretBottom : - 'CaretBottom图标', - CaretLeft : - 'CaretLeft图标', - CameraFilled : - 'CameraFilled图标', - CaretBottom : - 'CaretBottom图标', - CaretLeft : - 'CaretLeft图标', - CaretRight : - 'CaretRight图标', - CaretTop : - 'CaretTop图标', - Cellphone : - 'Cellphone图标', - ChatDotRound : - 'ChatDotRound图标', - ChatDotSquare : - 'ChatDotSquare图标', - ChatLineRound : - 'ChatLineRound图标', - ChatLineSquare : - 'ChatLineSquare图标', - ChatRound : - 'ChatRound图标', - ChatSquare : - 'ChatSquare图标', - Check : - 'Check图标', - Checked : - 'Checked图标', - Cherry : - 'Cherry图标', - Chicken : - 'Chicken图标', - ChromeFilled : - 'ChromeFilled图标', - CircleCheck : - 'CircleCheck图标', - CircleCheckFilled : - 'CircleCheckFilled图标', - CircleClose : - 'CircleClose图标', - CircleCloseFilled : - 'CircleCloseFilled图标', - CirclePlus : - 'CirclePlus图标', - CirclePlusFilled : - 'CirclePlusFilled图标', - Clock : - 'Clock图标', - Close : - 'Close图标', - CloseBold : - 'CloseBold图标', - Cloudy : - 'Cloudy图标', - Coffee : - 'Coffee图标', - CoffeeCup : - 'CoffeeCup图标', - Coin : - 'Coin图标', - Comment : - 'Comment图标', - Compass : - 'Compass图标', - Connection : - 'Connection图标', - Coordinate : - 'Coordinate图标', - CopyDocument : - 'CopyDocument图标', - Cpu : - 'Cpu图标', - CreditCard : - 'CreditCard图标', - Crop : - 'Crop图标', - DArrowLeft : - 'DArrowLeft图标', - DArrowRight : - 'DArrowRight图标', - DataAnalysis : - 'DataAnalysis图标', - DataBoard : - 'DataBoard图标', - DataLine : - 'DataLine图标', - DCaret : - 'DCaret图标', - Delete : - 'Delete图标', - DeleteFilled : - 'DeleteFilled图标', - DeleteLocation : - 'DeleteLocation图标', - Dessert : - 'Dessert图标', - Discount : - 'Discount图标', - Dish : - 'Dish图标', - DishDot : - 'DishDot图标', - Document : - 'Document图标', - DocumentAdd : - 'DocumentAdd图标', - DocumentChecked : - 'DocumentChecked图标', - DocumentCopy : - 'DocumentCopy图标', - DocumentDelete : - 'DocumentDelete图标', - DocumentRemove : - 'DocumentRemove图标', - Download : - 'Download图标', - Drizzling : - 'Drizzling图标', - Edit : - 'Edit图标', - EditPen : - 'EditPen图标', - Eleme : - 'Eleme图标', - ElemeFilled : - 'ElemeFilled图标', - ElementPlus : - 'ElementPlus图标', - Expand : - 'Expand图标', - Female : - 'Female图标', - Files : - 'Files图标', - Film : - 'Film图标', - Filter : - 'Filter图标', - Finished : - 'Finished图标', - FirstAidKit : - 'FirstAidKit图标', - Flag : - 'Flag图标', - Fold : - 'Fold图标', - Folder : - 'Folder图标', - FolderAdd : - 'FolderAdd图标', - FolderChecked : - 'FolderChecked图标', - FolderDelete : - 'FolderDelete图标', - FolderOpened : - 'FolderOpened图标', - FolderRemove : - 'FolderRemove图标', - Food : - 'Food图标', - Football : - 'Football图标', - ForkSpoon : - 'ForkSpoon图标', - Fries : - 'Fries图标', - FullScreen : - 'FullScreen图标', - Goblet : - 'Goblet图标', - GobletFull : - 'GobletFull图标', - GobletSquare : - 'GobletSquare图标', - GobletSquareFull : - 'GobletSquareFull图标', - GoldMedal : - 'GoldMedal图标', - Goods : - 'Goods图标', - GoodsFilled : - 'GoodsFilled图标', - Grape : - 'Grape图标', - Grid : - 'Grid图标', - Guide : - 'Guide图标', - Handbag : - 'Handbag图标', - Headset : - 'Headset图标', - Help : - 'Help图标', - HelpFilled : - 'HelpFilled图标', - Hide : - 'Hide图标', - IceCream : - 'IceCream图标', - IceCreamRound : - 'IceCreamRound图标', - IceCreamSquare : - 'IceCreamSquare图标', - IceDrink : - 'IceDrink图标', - IceTea : - 'IceTea图标', - InfoFilled : - 'InfoFilled图标', - Iphone : - 'Iphone图标', - Key : - 'Key图标', - KnifeFork : - 'KnifeFork图标', - Lightning : - 'Lightning图标', - Link : - 'Link图标', - List : - 'List图标', - Loading : - 'Loading图标', - Location : - 'Location图标', - LocationFilled : - 'LocationFilled图标', - LocationInformation : - 'LocationInformation图标', - Lock : - 'Lock图标', - Lollipop : - 'Lollipop图标', - MagicStick : - 'MagicStick图标', - Magnet : - 'Magnet图标', - Male : - 'Male图标', - Management : - 'Management图标', - MapLocation : - 'MapLocation图标', - Medal : - 'Medal图标', - Memo : - 'Memo图标', - Menu : - 'Menu图标', - Message : - 'Message图标', - MessageBox : - 'MessageBox图标', - Mic : - 'Mic图标', - Microphone : - 'Microphone图标', - MilkTea : - 'MilkTea图标', - Minus : - 'Minus图标', - Money : - 'Money图标', - Monitor : - 'Monitor图标', - Moon : - 'Moon图标', - MostlyCloudy : - 'MostlyCloudy图标', - Mouse : - 'Mouse图标', - Mug : - 'Mug图标', - Mute : - 'Mute图标', - MuteNotification : - 'MuteNotification图标', - NoSmoking : - 'NoSmoking图标', - Notebook : - 'Notebook图标', - Notification : - 'Notification图标', - Odometer : - 'Odometer图标', - OfficeBuilding : - 'OfficeBuilding图标', - Open : - 'Open图标', - Operation : - 'Operation图标', - Opportunity : - 'Opportunity图标', - Orange : - 'Orange图标', - Paperclip : - 'Paperclip图标', - PartlyCloudy : - 'PartlyCloudy图标', - Pear : - 'Pear图标', - Phone : - 'Phone图标', - PhoneFilled : - 'PhoneFilled图标', - Picture : - 'Picture图标', - PictureFilled : - 'PictureFilled图标', - PictureRounded : - 'PictureRounded图标', - PieChart : - 'PieChart图标', - Place : - 'Place图标', - Platform : - 'Platform图标', - Plus : - 'Plus图标', - Pointer : - 'Pointer图标', - Position : - 'Position图标', - Postcard : - 'Postcard图标', - Pouring : - 'Pouring图标', - Present : - 'Present图标', - PriceTag : - 'PriceTag图标', - Printer : - 'Printer图标', - Promotion : - 'Promotion图标', - QuartzWatch : - 'QuartzWatch图标', - QuestionFilled : - 'QuestionFilled图标', - Rank : - 'Rank图标', - Reading : - 'Reading图标', - ReadingLamp : - 'ReadingLamp图标', - Refresh : - 'Refresh图标', - RefreshLeft : - 'RefreshLeft图标', - RefreshRight : - 'RefreshRight图标', - Refrigerator : - 'Refrigerator图标', - Remove : - 'Remove图标', - RemoveFilled : - 'RemoveFilled图标', - Right : - 'Right图标', - ScaleToOriginal : - 'ScaleToOriginal图标', - School : - 'School图标', - Scissor : - 'Scissor图标', - Search : - 'Search图标', - Select : - 'Select图标', - Sell : - 'Sell图标', - SemiSelect : - 'SemiSelect图标', - Service : - 'Service图标', - Setting : - 'Setting图标', - SetUp : - 'SetUp图标', - Share : - 'Share图标', - Ship : - 'Ship图标', - Shop : - 'Shop图标', - ShoppingBag : - 'ShoppingBag图标', - ShoppingCart : - 'ShoppingCart图标', - ShoppingCartFull : - 'ShoppingCartFull图标', - ShoppingTrolley : - 'ShoppingTrolley图标', - Smoking : - 'Smoking图标', - Soccer : - 'Soccer图标', - SoldOut : - 'SoldOut图标', - Sort : - 'Sort图标', - SortDown : - 'SortDown图标', - SortUp : - 'SortUp图标', - Stamp : - 'Stamp图标', - Star : - 'Star图标', - StarFilled : - 'StarFilled图标', - Stopwatch : - 'Stopwatch图标', - SuccessFilled : - 'SuccessFilled图标', - Sugar : - 'Sugar图标', - Suitcase : - 'Suitcase图标', - SuitcaseLine : - 'SuitcaseLine图标', - Sunny : - 'Sunny图标', - Sunrise : - 'Sunrise图标', - Sunset : - 'Sunset图标', - Switch : - 'Switch图标', - SwitchButton : - 'SwitchButton图标', - SwitchFilled : - 'SwitchFilled图标', - TakeawayBox : - 'TakeawayBox图标', - Ticket : - 'Ticket图标', - Tickets : - 'Tickets图标', - Timer : - 'Timer图标', - ToiletPaper : - 'ToiletPaper图标', - Tools : - 'Tools图标', - Top : - 'Top图标', - TopLeft : - 'TopLeft图标', - TopRight : - 'TopRight图标', - TrendCharts : - 'TrendCharts图标', - Trophy : - 'Trophy图标', - TrophyBase : - 'TrophyBase图标', - TurnOff : - 'TurnOff图标', - Umbrella : - 'Umbrella图标', - Unlock : - 'Unlock图标', - Upload : - 'Upload图标', - UploadFilled : - 'UploadFilled图标', - User : - 'User图标', - UserFilled : - 'UserFilled图标', - Van : - 'Van图标', - VideoCamera : - 'VideoCamera图标', - VideoCameraFilled : - 'VideoCameraFilled图标', - VideoPause : - 'VideoPause图标', - VideoPlay : - 'VideoPlay图标', - View : - 'View图标', - Wallet : - 'Wallet图标', - WalletFilled : - 'WalletFilled图标', - Warning : - 'Warning图标', - WarningFilled : - 'WarningFilled图标', - WarnTriangleFilled : - 'WarnTriangleFilled图标', - Watch : - 'Watch图标', - Watermelon : - 'Watermelon图标', - WindPower : - 'WindPower图标', - ZoomIn : - 'ZoomIn图标', - ZoomOut : - 'ZoomOut图标', -} */ +const SCRIPT = 'https://npm.onmicrosoft.cn/element-plus@2.4.2/dist/index.full.mjs' const getName = (str) => { function isAllEnglishLetters(str) { @@ -618,6 +80,7 @@ function createWidget(type, key) { if (Array.isArray(type) && type.length > 0) { type = type[0] } + let props = {} switch (type) { case String: component = "MetaInput" @@ -627,12 +90,15 @@ function createWidget(type, key) { break; case Function: component = "MetaCodeEditor" + props = {language: "json"} break; case Object: component = "MetaCodeEditor" + props = {language: "json"} break; case Array: component = "MetaCodeEditor" + props = {language: "json"} break; case Number: component = "MetaNumber" @@ -649,7 +115,7 @@ function createWidget(type, key) { } return { component, - props: {} + props, } } @@ -820,11 +286,13 @@ async function createSchema(params) { const contentObject = { property: key, - label: { text: { zh_CN: labelName } }, + label: { text: { zh_CN: key } }, + description: labelName, required, readOnly: false, disabled: false, cols: 12, + type, widget: createWidget(type, key), } if (defaultValue != undefined) {