diff --git a/designer-demo/package.json b/designer-demo/package.json index 597cb0090..38d58df32 100644 --- a/designer-demo/package.json +++ b/designer-demo/package.json @@ -1,7 +1,7 @@ { "name": "designer-demo", "private": true, - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "type": "module", "scripts": { "dev": "cross-env vite", diff --git a/mockServer/package.json b/mockServer/package.json index 5e861d801..5da2e2820 100644 --- a/mockServer/package.json +++ b/mockServer/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-mock", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/block-compiler/package.json b/packages/block-compiler/package.json index 1526657b4..61c07fa49 100644 --- a/packages/block-compiler/package.json +++ b/packages/block-compiler/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-block-compiler", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/build/vite-config/package.json b/packages/build/vite-config/package.json index 2c0cdd25e..0f03e990a 100644 --- a/packages/build/vite-config/package.json +++ b/packages/build/vite-config/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-vite-config", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "type": "module", "main": "./index.js", diff --git a/packages/build/vite-plugin-meta-comments/package.json b/packages/build/vite-plugin-meta-comments/package.json index d65ca9735..00cd921dd 100644 --- a/packages/build/vite-plugin-meta-comments/package.json +++ b/packages/build/vite-plugin-meta-comments/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-vite-plugin-meta-comments", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "type": "module", "main": "dist/index.cjs", diff --git a/packages/builtinComponent/package.json b/packages/builtinComponent/package.json index c575d3c6c..4a08ffefe 100644 --- a/packages/builtinComponent/package.json +++ b/packages/builtinComponent/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-builtin-component", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "main": "dist/index.mjs", "module": "dist/index.mjs", diff --git a/packages/canvas/container/src/components/CanvasAIChat.vue b/packages/canvas/container/src/components/CanvasAIChat.vue index 75bce3508..a2961fe23 100644 --- a/packages/canvas/container/src/components/CanvasAIChat.vue +++ b/packages/canvas/container/src/components/CanvasAIChat.vue @@ -45,27 +45,24 @@ export default { diff --git a/packages/canvas/container/src/components/CanvasAction.vue b/packages/canvas/container/src/components/CanvasAction.vue index f3cd4a50e..2a9188337 100644 --- a/packages/canvas/container/src/components/CanvasAction.vue +++ b/packages/canvas/container/src/components/CanvasAction.vue @@ -1289,7 +1289,7 @@ export default { transform: translateY(10px); } } -.ai-popper.ai-popper.tiny-popper.tiny-popover { +.tiny-popover.tiny-popover.tiny-popper[x-placement].ai-popper { padding: 0; border-radius: 40px; } diff --git a/packages/canvas/package.json b/packages/canvas/package.json index cbb5fcb51..fd3e7f3f6 100644 --- a/packages/canvas/package.json +++ b/packages/canvas/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-canvas", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/common/component/PluginBlockItemImg.vue b/packages/common/component/PluginBlockItemImg.vue index 1d1b1383d..07b14ab46 100644 --- a/packages/common/component/PluginBlockItemImg.vue +++ b/packages/common/component/PluginBlockItemImg.vue @@ -86,7 +86,7 @@ const handleCheck = (v: any) => { overflow: hidden; object-fit: cover; } -.item-default-img { +.item-default-img.svg-icon { width: 84px; height: 50px; color: var(--te-component-common-bg-color); diff --git a/packages/common/js/import-map.json b/packages/common/js/import-map.json index 088450afc..1b9fb412e 100644 --- a/packages/common/js/import-map.json +++ b/packages/common/js/import-map.json @@ -9,7 +9,7 @@ "@vueuse/shared": "${VITE_CDN_DOMAIN}/@vueuse/shared${versionDelimiter}9.6.0${fileDelimiter}/index.mjs", "axios": "${VITE_CDN_DOMAIN}/axios${versionDelimiter}1.0.0${fileDelimiter}/dist/esm/axios.js", "@opentiny/tiny-engine-i18n-host": "${VITE_CDN_DOMAIN}/@opentiny/tiny-engine-i18n-host${versionDelimiter}^2${fileDelimiter}/dist/lowcode-design-i18n-host.es.js", - "@opentiny/tiny-engine-builtin-component": "${VITE_CDN_DOMAIN}/@opentiny/tiny-engine-builtin-component${versionDelimiter}^2.11.0-rc.0${fileDelimiter}/dist/index.mjs", + "@opentiny/tiny-engine-builtin-component": "${VITE_CDN_DOMAIN}/@opentiny/tiny-engine-builtin-component${versionDelimiter}^2.11.0-rc.1${fileDelimiter}/dist/index.mjs", "vue-demi": "${VITE_CDN_DOMAIN}/vue-demi${versionDelimiter}0.13.11${fileDelimiter}/lib/index.mjs", "pinia": "${VITE_CDN_DOMAIN}/pinia${versionDelimiter}2.0.22${fileDelimiter}/dist/pinia.esm-browser.js", "@opentiny/vue": "${VITE_CDN_DOMAIN}/@opentiny/vue-runtime${versionDelimiter}~3.20${fileDelimiter}/dist3/tiny-vue-pc.mjs", diff --git a/packages/common/package.json b/packages/common/package.json index 16490086d..8bed5a475 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-common", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/configurator/package.json b/packages/configurator/package.json index fd42c0738..82c72ee4a 100644 --- a/packages/configurator/package.json +++ b/packages/configurator/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-configurator", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "main": "dist/index.js", "module": "dist/index.js", diff --git a/packages/design-core/package.json b/packages/design-core/package.json index 4238a3954..1218cbd15 100644 --- a/packages/design-core/package.json +++ b/packages/design-core/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "type": "module", "description": "TinyEngine enables developers to customize low-code platforms, build low-bit platforms online in real time, and support secondary development or integration of low-bit platform capabilities.", "homepage": "https://opentiny.design/tiny-engine", diff --git a/packages/engine-cli/package.json b/packages/engine-cli/package.json index 9fa677a3e..197f3fd6f 100644 --- a/packages/engine-cli/package.json +++ b/packages/engine-cli/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-cli", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "main": "dist/index.js", "scripts": { diff --git a/packages/engine-cli/template/designer/package.json b/packages/engine-cli/template/designer/package.json index ec21341ef..357ebc468 100644 --- a/packages/engine-cli/template/designer/package.json +++ b/packages/engine-cli/template/designer/package.json @@ -12,9 +12,9 @@ "serve:mock": "node node_modules/@opentiny/tiny-engine-mock/dist/app.js" }, "dependencies": { - "@opentiny/tiny-engine": "^2.11.0-rc.0", - "@opentiny/tiny-engine-meta-register": "^2.11.0-rc.0", - "@opentiny/tiny-engine-utils": "^2.11.0-rc.0", + "@opentiny/tiny-engine": "^2.11.0-rc.1", + "@opentiny/tiny-engine-meta-register": "^2.11.0-rc.1", + "@opentiny/tiny-engine-utils": "^2.11.0-rc.1", "@opentiny/vue": "~3.20.0", "@opentiny/vue-design-smb": "~3.20.0", "@opentiny/vue-icon": "~3.20.0", @@ -25,8 +25,8 @@ "vue": "^3.4.21" }, "devDependencies": { - "@opentiny/tiny-engine-mock": "^2.11.0-rc.0", - "@opentiny/tiny-engine-vite-config": "^2.11.0-rc.0", + "@opentiny/tiny-engine-mock": "^2.11.0-rc.1", + "@opentiny/tiny-engine-vite-config": "^2.11.0-rc.1", "@vitejs/plugin-vue": "^5.1.2", "cross-env": "^7.0.3", "vite": "^5.4.2", diff --git a/packages/engine-cli/template/designer/public/mock/bundle.json b/packages/engine-cli/template/designer/public/mock/bundle.json index 36f92ca30..35344b4bd 100644 --- a/packages/engine-cli/template/designer/public/mock/bundle.json +++ b/packages/engine-cli/template/designer/public/mock/bundle.json @@ -3,6 +3,3758 @@ "framework": "Vue", "materials": { "components": [ + { + "version": "3.22.0", + "name": { + "zh_CN": "抽屉" + }, + "component": "TinyDrawer", + "icon": "drawer", + "description": "从页面侧边弹出的内容容器。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyDrawer", + "destructuring": true + }, + "group": "component", + "category": "抽屉", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "property": "title", + "label": { + "text": { + "zh_CN": "标题" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "InputConfigurator", + "props": {} + }, + "description": { + "zh_CN": "抽屉标题" + }, + "labelPosition": "left" + }, + { + "property": "dragable", + "label": { + "text": { + "zh_CN": "拖拽" + } + }, + "description": { + "zh_CN": "是否开启抽屉的宽度拖拽功能" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "mask", + "label": { + "text": { + "zh_CN": "遮罩" + } + }, + "description": { + "zh_CN": "是否显示遮罩层" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "mask-closable", + "label": { + "text": { + "zh_CN": "单击遮罩层关闭" + } + }, + "description": { + "zh_CN": "默认情况下,弹窗打开后,可以单击遮罩层关闭弹窗,设置 mask-closable 为 false 后将禁用该功能" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "方向" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "left", + "value": "left" + }, + { + "label": "right", + "value": "right" + }, + { + "label": "top", + "value": "top" + }, + { + "label": "bottom", + "value": "bottom" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "placement", + "readOnly": false, + "required": false, + "description": "设置抽屉的方向", + "defaultValue": "right", + "labelPosition": "left" + }, + { + "property": "show-close", + "label": { + "text": { + "zh_CN": "关闭图标" + } + }, + "description": { + "zh_CN": "是否显示关闭图标" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "show-footer", + "label": { + "text": { + "zh_CN": "显示底部" + } + }, + "description": { + "zh_CN": "是否显示底部" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "show-header", + "label": { + "text": { + "zh_CN": "显示头部" + } + }, + "description": { + "zh_CN": "是否显示头部" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "显隐状态" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "visible", + "readOnly": false, + "required": false, + "description": "控制抽屉的显示与关闭", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "宽度" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "width", + "readOnly": false, + "required": false, + "description": "设置抽屉的宽度", + "defaultValue": "500px", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "高度" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "height", + "readOnly": false, + "required": false, + "description": "设置抽屉的高度", + "defaultValue": "100vh", + "labelPosition": "left" + }, + { + "property": "z-index", + "label": { + "text": { + "zh_CN": "堆叠顺序" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "自定义堆叠顺序(对于某些特殊场景,比如被遮挡时可能会用到)" + }, + "labelPosition": "left" + }, + { + "property": "tips-props", + "label": { + "text": { + "zh_CN": "自定义数据" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "可自定义标题帮助提示信息" + }, + "labelPosition": "top" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": { + "onClose": { + "label": { + "zh_CN": "关闭抽屉时触发" + }, + "description": { + "zh_CN": "关闭抽屉事件,参数 force 指定是否强制关闭" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onConfirm": { + "label": { + "zh_CN": "确认事件" + }, + "description": { + "zh_CN": "确认事件,设置 show-footer 为 true 时有效" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + }, + "onShow": { + "label": { + "zh_CN": "抽屉显示事件" + }, + "description": { + "zh_CN": "抽屉显示事件" + }, + "type": "event", + "functionInfo": { + "params": [], + "returns": {} + }, + "defaultValue": "" + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "默认插槽" + }, + "description": { + "zh_CN": "" + } + }, + "footer": { + "label": { + "zh_CN": "底部插槽" + }, + "description": { + "zh_CN": "" + } + }, + "header": { + "label": { + "zh_CN": "头部插槽" + }, + "description": { + "zh_CN": "" + } + }, + "header-right": { + "label": { + "zh_CN": "头部右侧插槽" + }, + "description": { + "zh_CN": "" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": true, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "容器布局" + }, + "component": "TinyContainer", + "icon": "container", + "description": "内置 5 种常见布局版型,方便快速搭建页面。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyContainer", + "destructuring": true + }, + "group": "component", + "category": "容器布局", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "property": "aside-width", + "label": { + "text": { + "zh_CN": "左侧宽度" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "" + }, + "labelPosition": "left" + }, + { + "property": "footer-height", + "label": { + "text": { + "zh_CN": "底部高度" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "" + }, + "labelPosition": "left" + }, + { + "property": "header-height", + "label": { + "text": { + "zh_CN": "头部高度" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "" + }, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "版型类型" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "默认", + "value": "default" + }, + { + "label": "简约", + "value": "simple" + }, + { + "label": "传奇", + "value": "legend" + }, + { + "label": "经典", + "value": "classic" + }, + { + "label": "时尚", + "value": "fashion" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "pattern", + "readOnly": false, + "required": false, + "description": "", + "defaultValue": "default", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "主要内容插槽" + }, + "description": { + "zh_CN": "" + } + }, + "footer": { + "label": { + "zh_CN": "底部内容插槽" + }, + "description": { + "zh_CN": "" + } + }, + "header": { + "label": { + "zh_CN": "头部内容插槽" + }, + "description": { + "zh_CN": "" + } + }, + "aside": { + "label": { + "zh_CN": "侧边内容插槽" + }, + "description": { + "zh_CN": "" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": true, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "文件上传" + }, + "component": "TinyFileUpload", + "icon": "file-upload", + "description": "可通过点击、拖拽或粘贴实现文件上传。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyFileUpload", + "destructuring": true + }, + "group": "component", + "category": "文件上传", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "property": "accept", + "label": { + "text": { + "zh_CN": "文件类型" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "InputConfigurator", + "props": {} + }, + "description": { + "zh_CN": "限制文件类型(thumbnail-mode 模式下此参数无效)" + }, + "labelPosition": "left" + }, + { + "property": "action", + "label": { + "text": { + "zh_CN": "地址" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "InputConfigurator", + "props": {} + }, + "description": { + "zh_CN": "上传的地址,必填参数" + }, + "labelPosition": "left" + }, + { + "property": "auto-upload", + "label": { + "text": { + "zh_CN": "立即上传" + } + }, + "description": { + "zh_CN": "是否在选取文件后立即进行上传" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "before-add-file", + "label": { + "text": { + "zh_CN": "文件选择之前的钩子" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "文件选择之前的钩子,若返回 false 或者返回 Promise 且被 reject,则停止添加文件。如果不用以上 2 种方式,也可以通过执行参数中的回调函数继续进行上传" + }, + "labelPosition": "top" + }, + { + "property": "before-remove", + "label": { + "text": { + "zh_CN": "删除文件前的钩子" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "删除文件前的钩子,参数为上传的文件和文件列表,若返回 false 或者返回 Promise 且被 reject,则停止删除" + }, + "labelPosition": "top" + }, + { + "property": "before-upload", + "label": { + "text": { + "zh_CN": "上传文件之前的钩子" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "上传文件之前的钩子,参数为上传的文件,若返回 false 或者返回 Promise 且被 reject,则停止上传" + }, + "labelPosition": "top" + }, + { + "property": "data", + "label": { + "text": { + "zh_CN": "额外参数" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "上传时附带的额外参数,参数自定义" + }, + "labelPosition": "top" + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "禁用" + } + }, + "description": { + "zh_CN": "是否禁用" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "drag", + "label": { + "text": { + "zh_CN": "拖拽上传" + } + }, + "description": { + "zh_CN": "是否启用拖拽上传" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "encrypt-config", + "label": { + "text": { + "zh_CN": "水印和加密弹窗" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "设置水印和加密弹窗" + }, + "labelPosition": "top" + }, + { + "property": "file-list", + "label": { + "text": { + "zh_CN": "文件列表" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "上传的文件列表" + }, + "labelPosition": "top" + }, + { + "property": "file-size", + "label": { + "text": { + "zh_CN": "文件大小" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "限制文件大小,单位为 KB;当为 Number 类型时,小于该值停止上传;为数组时[min,max] 设置上传范围" + }, + "labelPosition": "top" + }, + { + "property": "headers", + "label": { + "text": { + "zh_CN": "请求头部" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "设置上传的请求头部;通过设置 headers 为头部请求信息" + }, + "labelPosition": "top" + }, + { + "property": "http-request", + "label": { + "text": { + "zh_CN": "上传行为" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "覆盖默认的上传行为,可以自定义上传的实现; 由于 TinyVue 官网为 Mock 上传不能执行上传" + }, + "labelPosition": "top" + }, + { + "property": "is-hidden", + "label": { + "text": { + "zh_CN": "隐藏按钮" + } + }, + "description": { + "zh_CN": "达到最大上传个数时,是否隐藏上传按钮,默认不隐藏" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "limit", + "label": { + "text": { + "zh_CN": "最大上传个数" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "最大允许上传个数" + }, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "类型" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "text", + "value": "text" + }, + { + "label": "picture", + "value": "picture" + }, + { + "label": "picture-card", + "value": "picture-card" + }, + { + "label": "thumb", + "value": "thumb" + }, + { + "label": "saas", + "value": "saas" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "list-type", + "readOnly": false, + "required": false, + "description": "文件列表的类型", + "defaultValue": "text", + "labelPosition": "left" + }, + { + "property": "max-name-length", + "label": { + "text": { + "zh_CN": "文件名最大长度" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "列表项的文件名最大字符数,默认超出20个字符隐藏" + }, + "labelPosition": "left" + }, + { + "property": "merge-service", + "label": { + "text": { + "zh_CN": "合并服务上传" + } + }, + "description": { + "zh_CN": "配置 merge-service 为 true 且开启多文件上传走默认服务会将多个上传服务合并为一个服务上传" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "multiple", + "label": { + "text": { + "zh_CN": "多选" + } + }, + "description": { + "zh_CN": "是否支持多选文件" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "name", + "label": { + "text": { + "zh_CN": "字段名" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "InputConfigurator", + "props": {} + }, + "description": { + "zh_CN": "上传的文件字段名" + }, + "labelPosition": "left" + }, + { + "property": "open-download-file", + "label": { + "text": { + "zh_CN": "下载文件" + } + }, + "description": { + "zh_CN": "是否开启点击下载文件,默认不开启" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "paste-upload", + "label": { + "text": { + "zh_CN": "粘贴键" + } + }, + "description": { + "zh_CN": "是否启用粘贴键快捷上传功能" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "prompt-tip", + "label": { + "text": { + "zh_CN": "tip 类型" + } + }, + "description": { + "zh_CN": "设置提示是否为 tip 类型,悬浮图标时显示 tip 提示" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "re-uploadable", + "label": { + "text": { + "zh_CN": "重新上传" + } + }, + "description": { + "zh_CN": "是否启用重新上传功能" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "show-file-list", + "label": { + "text": { + "zh_CN": "已上传列表" + } + }, + "description": { + "zh_CN": "是否显示已上传文件列表" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "with-credentials", + "label": { + "text": { + "zh_CN": "凭证信息" + } + }, + "description": { + "zh_CN": "支持发送 cookie 凭证信息" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "re-upload-tip", + "label": { + "text": { + "zh_CN": "自定义重新上传提示" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "自定义重新上传的左侧提示文字,需要与 re-uploadable 搭配使用" + }, + "labelPosition": "top" + }, + { + "property": "thumb-option", + "label": { + "text": { + "zh_CN": "thumb配置" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "文件列表的显示类型为 thumb 时的相关配置" + }, + "labelPosition": "top" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": { + "onChange": { + "type": "event", + "label": { + "zh_CN": "文件状态改变时触发" + }, + "description": { + "zh_CN": "文件状态改变时触发的事件,添加文件、上传成功和上传失败时都会被触发" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + }, + { + "name": "fileList", + "type": "IFile[]", + "description": { + "zh_CN": "文件列表" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onDropError": { + "type": "event", + "label": { + "zh_CN": "拖拽文件失败时触发" + }, + "description": { + "zh_CN": "拖拽文件失败时触发的事件,开启拖拽时有效; file 为上传失败文件信息" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onError": { + "type": "event", + "label": { + "zh_CN": "文件上传失败时触发" + }, + "description": { + "zh_CN": "文件上传失败时触发的事件; message 为错误信息事件对象,file 为当前上传失败文件信息,fileList 为上传成功 file 数组" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "message", + "type": "Object", + "description": { + "zh_CN": "错误信息事件对象" + }, + "defaultValue": "" + }, + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + }, + { + "name": "fileList", + "type": "IFile[]", + "description": { + "zh_CN": "文件列表" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onExceed": { + "type": "event", + "label": { + "zh_CN": "文件超出个数限制时触发" + }, + "description": { + "zh_CN": "文件超出个数限制时触发的事件; files 为上传的文件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + }, + { + "name": "fileList", + "type": "IFile[]", + "description": { + "zh_CN": "文件列表" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onHashProgress": { + "type": "event", + "label": { + "zh_CN": "文件上传生成 hash 值时触发" + }, + "description": { + "zh_CN": "文件上传生成 hash 值触发的事件; percentage 为生成的进度值" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "percentage", + "type": "number", + "description": { + "zh_CN": "进度值" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onPreview": { + "type": "event", + "label": { + "zh_CN": "点击文件列表中已上传的文件时触发" + }, + "description": { + "zh_CN": "点击文件列表中已上传的文件时触发的事件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onProgress": { + "type": "event", + "label": { + "zh_CN": "文件上传时触发" + }, + "description": { + "zh_CN": "文件上传时触发的事件; message 为进度条事件对象" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "message", + "type": "Object", + "description": { + "zh_CN": "进度条事件对象" + }, + "defaultValue": "" + }, + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onRemove": { + "type": "event", + "label": { + "zh_CN": "从文件列表移除文件时触发" + }, + "description": { + "zh_CN": "从文件列表移除文件时触发的事件; file 为当前移除的文件信息" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + }, + "onSuccess": { + "type": "event", + "label": { + "zh_CN": "文件上传成功时触发" + }, + "description": { + "zh_CN": "文件上传成功时触发的事件; res 为上传成功后的响应信息事件对象,file 为当前上传的文件,fileList 为所有上传文件数组" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "res", + "type": "Object", + "description": { + "zh_CN": "上传成功后的响应信息事件对象" + }, + "defaultValue": "" + }, + { + "name": "file", + "type": "Object", + "description": { + "zh_CN": "文件数据" + }, + "defaultValue": "" + }, + { + "name": "fileList", + "type": "IFile[]", + "description": { + "zh_CN": "文件列表" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + } + }, + "slots": { + "file": { + "label": { + "zh_CN": "文件内容" + }, + "description": { + "zh_CN": "定义文件显示内容" + } + }, + "tip": { + "label": { + "zh_CN": "提示" + }, + "description": { + "zh_CN": "提示说明文字" + } + }, + "trigger": { + "label": { + "zh_CN": "选择框内容" + }, + "description": { + "zh_CN": "触发文件选择框的内容" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "锚点" + }, + "component": "TinyAnchor", + "icon": "anchor", + "description": "用于页内导航。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyAnchor", + "destructuring": true + }, + "group": "component", + "category": "锚点", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "容器id" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "container-id", + "readOnly": false, + "required": false, + "description": "用于单页面 hash 路由模式时指定滚动容器的 id 值,id 为空时则滚动容器默认为 HTML 文档的根节点 body 元素", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "元素类名" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "mark-class", + "readOnly": false, + "required": false, + "description": "自定义滚动的目标元素类名", + "defaultValue": "", + "labelPosition": "left" + }, + { + "property": "offset-top", + "label": { + "text": { + "zh_CN": "顶部偏移量" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "NumberConfigurator", + "props": {} + }, + "description": { + "zh_CN": "锚点距离顶部的偏移量,用于调整滚动定位的位置" + }, + "labelPosition": "left" + }, + { + "property": "is-affix", + "label": { + "text": { + "zh_CN": "固定模式" + } + }, + "description": { + "zh_CN": "" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "类型" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "line", + "value": "line" + }, + { + "label": "dot", + "value": "dot" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "type", + "readOnly": false, + "required": false, + "description": "锚点类型", + "defaultValue": "line", + "labelPosition": "left" + }, + { + "property": "links", + "label": { + "text": { + "zh_CN": "选项数据" + } + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "widget": { + "component": "CodeConfigurator", + "props": { + "language": "json" + } + }, + "description": { + "zh_CN": "导航数据配置项,可通过 children 嵌套" + }, + "labelPosition": "top" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "默认插槽" + }, + "description": { + "zh_CN": "" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "警告" + }, + "component": "TinyAlert", + "icon": "alert", + "description": "Alert 警告,非浮层的静态展现形式,始终展现,不会自动消失,用户可以点击关闭。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyAlert", + "destructuring": true + }, + "group": "component", + "category": "警告", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "提示内容" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "description", + "readOnly": false, + "required": false, + "description": "警告的提示内容", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "关闭按钮文本" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "close-text", + "readOnly": false, + "required": false, + "description": "关闭按钮自定义文本", + "defaultValue": "", + "labelPosition": "left" + }, + { + "property": "center", + "label": { + "text": { + "zh_CN": "居中" + } + }, + "description": { + "zh_CN": "文字是否居中" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "closable", + "label": { + "text": { + "zh_CN": "可以关闭" + } + }, + "description": { + "zh_CN": "警告是否可以关闭" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "show-icon", + "label": { + "text": { + "zh_CN": "图标" + } + }, + "description": { + "zh_CN": "是否显示图标" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "尺寸" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "normal", + "value": "normal" + }, + { + "label": "large", + "value": "large" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "size", + "readOnly": false, + "required": false, + "description": "警告的尺寸大小", + "defaultValue": "normal", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "类型" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "success", + "value": "success" + }, + { + "label": "warning", + "value": "warning" + }, + { + "label": "info", + "value": "info" + }, + { + "label": "error", + "value": "error" + }, + { + "label": "simple", + "value": "simple" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "type", + "readOnly": false, + "required": false, + "description": "警告的类型", + "defaultValue": "", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": { + "onClose": { + "type": "event", + "label": { + "zh_CN": "点击关闭按钮时触发" + }, + "description": { + "zh_CN": "点击关闭按钮时触发的事件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "event", + "type": "Event", + "description": { + "zh_CN": "事件对象" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + } + }, + "slots": { + "close": { + "label": { + "zh_CN": "关闭内容" + }, + "description": { + "zh_CN": "自定义关闭内容,当 closable 属性为 false 时有效" + } + }, + "default": { + "label": { + "zh_CN": "默认插槽" + }, + "description": { + "zh_CN": "组件默认插槽,当 size 设置为 large 时有效,显示在 description下方" + } + }, + "description": { + "label": { + "zh_CN": "内容插槽" + }, + "description": { + "zh_CN": "提示内容插槽" + } + }, + "title": { + "label": { + "zh_CN": "标题" + }, + "description": { + "zh_CN": "标题的内容,当 size 设置为 large 后有效" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "链接" + }, + "component": "TinyLink", + "icon": "link", + "description": "文字超链接", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyLink", + "destructuring": true + }, + "group": "component", + "category": "链接", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "href属性" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "href", + "readOnly": false, + "required": false, + "description": "原生href属性", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "显示内容" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "value", + "readOnly": false, + "required": false, + "description": "显示内容", + "defaultValue": "", + "labelPosition": "left" + }, + { + "property": "disabled", + "label": { + "text": { + "zh_CN": "禁用" + } + }, + "description": { + "zh_CN": "是否禁用" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": false, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "property": "underline", + "label": { + "text": { + "zh_CN": "下划线" + } + }, + "description": { + "zh_CN": "是否下划线" + }, + "required": true, + "readOnly": false, + "disabled": false, + "cols": 12, + "labelPosition": "left", + "type": "boolean", + "defaultValue": true, + "widget": { + "component": "CheckBoxConfigurator", + "props": {} + } + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "打开方式" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "_self", + "value": "_self" + }, + { + "label": "_blank", + "value": "_blank" + }, + { + "label": "_parent", + "value": "_parent" + }, + { + "label": "_top", + "value": "_top" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "target", + "readOnly": false, + "required": false, + "description": "链接打开方式", + "defaultValue": "_self", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "链接类型" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "primary", + "value": "primary" + }, + { + "label": "success", + "value": "success" + }, + { + "label": "warning", + "value": "warning" + }, + { + "label": "danger", + "value": "danger" + }, + { + "label": "info", + "value": "info" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "type", + "readOnly": false, + "required": false, + "description": "文本链接类型", + "defaultValue": "", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": { + "onClick": { + "type": "event", + "label": { + "zh_CN": "点击链接时触发" + }, + "description": { + "zh_CN": "点击链接时触发的事件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "event", + "type": "Event", + "description": { + "zh_CN": "事件对象" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "" + }, + "defaultValue": "" + } + } + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "默认内容" + }, + "description": { + "zh_CN": "" + } + }, + "icon": { + "label": { + "zh_CN": "图标" + }, + "description": { + "zh_CN": "" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "分割线" + }, + "component": "TinyDivider", + "icon": "hr", + "description": "Divider 分割线组件,用于对不同内容的分隔。", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyDivider", + "destructuring": true + }, + "group": "component", + "category": "分割线", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "颜色" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "color", + "readOnly": false, + "required": false, + "description": "设置分隔线的颜色", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "文案背景色" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "content-background-color", + "readOnly": false, + "required": false, + "description": "设置分割线文案的背景颜色", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "文案颜色" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "content-color", + "readOnly": false, + "required": false, + "description": "设置分隔线文案的颜色", + "defaultValue": "", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "样式" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "solid", + "value": "solid" + }, + { + "label": "dashed", + "value": "dashed" + }, + { + "label": "dotted", + "value": "dotted" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "border-style", + "readOnly": false, + "required": false, + "description": "设置分隔线的样式", + "defaultValue": "solid", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "文案位置" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "left", + "value": "left" + }, + { + "label": "center", + "value": "center" + }, + { + "label": "right", + "value": "right" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "content-position", + "readOnly": false, + "required": false, + "description": "设置分隔线文案的位置", + "defaultValue": "center", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "方向" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "horizontal", + "value": "horizontal" + }, + { + "label": "vertical", + "value": "vertical" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "direction", + "readOnly": false, + "required": false, + "description": "设置分隔线的方向", + "defaultValue": "horizontal", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "" + } + } + ], + "events": {}, + "slots": { + "default": { + "label": { + "zh_CN": "默认插槽" + }, + "description": { + "zh_CN": "" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "动作菜单" + }, + "component": "TinyActionMenu", + "icon": "action-menu", + "description": "动作菜单", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyActionMenu", + "destructuring": true + }, + "group": "component", + "category": "动作菜单", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "object", + "label": { + "text": { + "zh_CN": "绑定值" + } + }, + "widget": { + "props": { + "height": 150, + "language": "json" + }, + "component": "CodeConfigurator" + }, + "disabled": false, + "property": "options", + "readOnly": false, + "required": true, + "description": { + "zh_CN": "菜单项列表的数据" + }, + "defaultValue": null, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "number", + "label": { + "text": { + "zh_CN": "最大显示数量" + } + }, + "widget": { + "props": { + "step": 2 + }, + "component": "NumberConfigurator" + }, + "disabled": false, + "property": "maxShowNum", + "readOnly": false, + "required": false, + "description": "最多显示菜单按钮的个数,其他菜单在下拉弹框显示", + "defaultValue": 2, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "按钮模式" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "default", + "value": "default" + }, + { + "label": "card", + "value": "card" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "mode", + "readOnly": false, + "required": false, + "description": "菜单按钮模式", + "defaultValue": "default", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "下拉按钮文本" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "moreText", + "readOnly": false, + "required": false, + "description": "下拉按钮文本", + "defaultValue": "更多", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "二级下拉面板的显示位置" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "bottom-start", + "value": "bottom-start" + }, + { + "label": "bottom-end", + "value": "bottom-end" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "placement", + "readOnly": false, + "required": false, + "description": "二级下拉面板的显示位置", + "defaultValue": "bottom-end", + "labelPosition": "top" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "show-icon" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "showIcon", + "readOnly": false, + "required": false, + "description": "是否显示下拉触发源图标", + "defaultValue": true, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "text-field" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "textField", + "readOnly": false, + "required": false, + "description": "菜单按钮文本的键值", + "defaultValue": "label", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件核心功能相关的配置,包括 name、size、type 等核心属性" + } + }, + { + "name": "1", + "label": { + "zh_CN": "样式属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "按钮间距" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "spacing", + "readOnly": false, + "required": false, + "description": "菜单按钮之间的间距", + "defaultValue": "5px", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件外观、颜色、尺寸相关的配置,包括 width、height、backgroundColor、color 等与视觉呈现相关的属性" + } + } + ], + "events": { + "onItemClick": { + "type": "event", + "label": { + "zh_CN": "菜单项点击" + }, + "description": { + "zh_CN": "监听点击菜单项事件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "data", + "type": "IItemClickParam", + "description": { + "zh_CN": "点击的菜单项参数数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + }, + "onButtonClick": { + "type": "event", + "label": { + "zh_CN": "左侧按钮点击" + }, + "description": { + "zh_CN": "监听左侧按钮点击事件,仅 split-button 为 true 时生效" + }, + "defaultValue": "", + "functionInfo": { + "params": [], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + }, + "onVisibleChange": { + "type": "event", + "label": { + "zh_CN": "显隐状态变化" + }, + "description": { + "zh_CN": "监听下拉框的显示或隐藏状态" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "status", + "type": "boolean", + "description": { + "zh_CN": "下拉框的显示或隐藏状态" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "默认内容" + }, + "description": { + "zh_CN": "自定义触发源文本区域。 注意: 必须是一个元素或者或者组件" + } + }, + "dropdown": { + "label": { + "zh_CN": "下拉列表" + }, + "description": { + "zh_CN": "自定义下拉列表区域,通常使用 tiny-dropdown-menu 组件" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, + { + "version": "3.22.0", + "name": { + "zh_CN": "下拉菜单" + }, + "component": "TinyDropdown", + "icon": "dropdown", + "description": "下拉菜单", + "docUrl": "", + "screenshot": "", + "tags": "", + "keywords": "", + "devMode": "proCode", + "npm": { + "package": "@opentiny/vue", + "exportName": "TinyDropdown", + "destructuring": true + }, + "group": "component", + "category": "下拉菜单", + "priority": 2, + "schema": { + "properties": [ + { + "name": "0", + "label": { + "zh_CN": "基础属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "尺寸" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "medium", + "value": "medium" + }, + { + "label": "small", + "value": "small" + }, + { + "label": "mini", + "value": "mini" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "size", + "readOnly": false, + "required": false, + "description": "菜单尺寸。注意:只在 split-button为 true 的情况下生效", + "defaultValue": null, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "分割按钮" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "split-button", + "readOnly": false, + "required": false, + "description": "下拉触发元素呈现为按钮", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "ibuttontype", + "label": { + "text": { + "zh_CN": "按钮类型" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "type", + "readOnly": false, + "required": false, + "description": "按钮类型。注意:只在 split-button 为 true 的情况下有效", + "defaultValue": null, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "触发方式" + } + }, + "widget": { + "props": { + "options": [ + { + "label": "hover", + "value": "hover" + }, + { + "label": "click", + "value": "click" + }, + { + "label": "contextmenu", + "value": "contextmenu" + } + ] + }, + "component": "SelectConfigurator" + }, + "disabled": false, + "property": "trigger", + "readOnly": false, + "required": false, + "description": "触发下拉的方式", + "defaultValue": "hover", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "iplacementtype", + "label": { + "text": { + "zh_CN": "弹出位置" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "placement", + "readOnly": false, + "required": false, + "description": "菜单弹出位置", + "defaultValue": "bottom-end", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "显隐状态" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "visible", + "readOnly": false, + "required": false, + "description": "手动控制下拉弹框显隐,优先级高于trigger", + "defaultValue": false, + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件核心功能相关的配置,包括 name、size、type 等核心属性" + } + }, + { + "name": "1", + "label": { + "zh_CN": "样式属性" + }, + "content": [ + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "标题" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "title", + "readOnly": false, + "required": false, + "description": "自定义触发源的文本", + "defaultValue": "下拉菜单", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "显示图标" + } + }, + "widget": { + "props": {}, + "component": "SwitchConfigurator" + }, + "disabled": false, + "property": "show-icon", + "readOnly": false, + "required": false, + "description": "是否显示下拉触发源图标", + "defaultValue": true, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "component", + "label": { + "text": { + "zh_CN": "图标" + } + }, + "widget": { + "props": { + "placeholder": "请输入图标名称" + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "suffix-icon", + "readOnly": false, + "required": false, + "description": "下拉触发源图标", + "defaultValue": null, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "继承宽度" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "inherit-width", + "readOnly": false, + "required": false, + "description": "下拉弹框的最小宽度是否继承触发源的宽度,默认不继承", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "显示箭头" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "visible-arrow", + "readOnly": false, + "required": false, + "description": "下拉弹框是否显示箭头,默认不显示", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "弹框类名" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "popper-class", + "readOnly": false, + "required": false, + "description": "下拉弹框的类名,用于自定义样式", + "defaultValue": null, + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件外观、颜色、尺寸相关的配置,包括 width、height、backgroundColor、color 等与视觉呈现相关的属性" + } + }, + { + "name": "2", + "label": { + "zh_CN": "行为属性" + }, + "content": [ + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "禁用" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "disabled", + "readOnly": false, + "required": false, + "description": "是否禁用", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "点击收起" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "hide-on-click", + "readOnly": false, + "required": false, + "description": "点击菜单项后是否收起菜单。默认点击后收起", + "defaultValue": true, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "number", + "label": { + "text": { + "zh_CN": "收起延时" + } + }, + "widget": { + "props": { + "step": 1 + }, + "component": "NumberConfigurator" + }, + "disabled": false, + "property": "hide-timeout", + "readOnly": false, + "required": false, + "description": "延时多久收起下拉菜单,单位毫秒。注意:仅在 trigger 为 hover 时有效", + "defaultValue": 150, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "number", + "label": { + "text": { + "zh_CN": "展开延时" + } + }, + "widget": { + "props": { + "step": 1 + }, + "component": "NumberConfigurator" + }, + "disabled": false, + "property": "show-timeout", + "readOnly": false, + "required": false, + "description": "延时多久展开下拉菜单,单位毫秒。注意:仅在 trigger 为 hover 时有效", + "defaultValue": 250, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "number", + "label": { + "text": { + "zh_CN": "Tab索引" + } + }, + "widget": { + "props": { + "step": 1 + }, + "component": "NumberConfigurator" + }, + "disabled": false, + "property": "tabindex", + "readOnly": false, + "required": false, + "description": "初始化触发元素的原生属性 tabindex", + "defaultValue": 0, + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件交互、事件、状态相关的配置,包括 disabled、loading、onClick 等与用户操作和状态相关的属性" + } + }, + { + "name": "3", + "label": { + "zh_CN": "高级属性" + }, + "content": [ + { + "cols": 12, + "type": "boolean", + "label": { + "text": { + "zh_CN": "懒加载" + } + }, + "widget": { + "props": {}, + "component": "CheckBoxConfigurator" + }, + "disabled": false, + "property": "lazy-show-popper", + "readOnly": false, + "required": false, + "description": "是否懒加载下拉菜单及内部的项,以优化性能,默认初始全加载菜单及内部项。", + "defaultValue": false, + "labelPosition": "left" + }, + { + "cols": 12, + "type": "imenuoption", + "label": { + "text": { + "zh_CN": "菜单配置" + } + }, + "widget": { + "props": { + "height": 150, + "language": "json" + }, + "component": "CodeConfigurator" + }, + "disabled": false, + "property": "menu-options", + "readOnly": false, + "required": false, + "description": "配置式且只使用 tiny-dropdown 组件时使用", + "defaultValue": "{ options:[], textField:\"label\", popperClass:\"\", placement:\"bottom-end\" }", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "iitemdata[]", + "label": { + "text": { + "zh_CN": "菜单项配置" + } + }, + "widget": { + "props": { + "height": 150, + "language": "json" + }, + "component": "CodeConfigurator" + }, + "disabled": false, + "property": "options", + "readOnly": false, + "required": false, + "description": "通过配置式设置菜单项的属性", + "defaultValue": "[]", + "labelPosition": "left" + }, + { + "cols": 12, + "type": "string", + "label": { + "text": { + "zh_CN": "文本字段" + } + }, + "widget": { + "props": { + "placeholder": "请输入..." + }, + "component": "InputConfigurator" + }, + "disabled": false, + "property": "text-field", + "readOnly": false, + "required": false, + "description": "菜单项文本的字段,结合 options 属性使用", + "defaultValue": "label", + "labelPosition": "left" + } + ], + "description": { + "zh_CN": "组件可选的专业配置项,包括复杂对象配置、高级功能选项等不常用的特殊配置" + } + } + ], + "events": { + "onItemClick": { + "type": "event", + "label": { + "zh_CN": "菜单项点击" + }, + "description": { + "zh_CN": "监听点击菜单项事件" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "data", + "type": "IItemClickParam", + "description": { + "zh_CN": "点击的菜单项参数数据" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + }, + "onButtonClick": { + "type": "event", + "label": { + "zh_CN": "左侧按钮点击" + }, + "description": { + "zh_CN": "监听左侧按钮点击事件,仅 split-button 为 true 时生效" + }, + "defaultValue": "", + "functionInfo": { + "params": [], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + }, + "onVisibleChange": { + "type": "event", + "label": { + "zh_CN": "显隐状态变化" + }, + "description": { + "zh_CN": "监听下拉框的显示或隐藏状态" + }, + "defaultValue": "", + "functionInfo": { + "params": [ + { + "name": "status", + "type": "boolean", + "description": { + "zh_CN": "下拉框的显示或隐藏状态" + }, + "defaultValue": "" + } + ], + "returns": { + "type": "", + "description": { + "zh_CN": "事件返回值的描述文字" + }, + "defaultValue": "" + } + } + } + }, + "slots": { + "default": { + "label": { + "zh_CN": "默认内容" + }, + "description": { + "zh_CN": "自定义触发源文本区域。 注意: 必须是一个元素或者或者组件" + } + }, + "dropdown": { + "label": { + "zh_CN": "下拉列表" + }, + "description": { + "zh_CN": "自定义下拉列表区域,通常使用 tiny-dropdown-menu 组件" + } + } + } + }, + "configure": { + "loop": true, + "condition": true, + "styles": true, + "isContainer": false, + "isModal": false, + "nestingRule": { + "childWhitelist": "", + "parentWhitelist": "", + "descendantBlacklist": "", + "ancestorWhitelist": "" + }, + "isNullNode": false, + "isLayout": false, + "rootSelector": "", + "shortcuts": { + "properties": [] + }, + "contextMenu": { + "actions": ["create symbol"], + "disable": ["copy", "remove"] + } + } + }, { "version": "3.22.0", "name": { @@ -24203,6 +27955,103 @@ } ] } + }, + { + "name": { + "zh_CN": "容器布局" + }, + "icon": "container", + "screenshot": "", + "snippetName": "TinyContainer", + "schema": { + "componentName": "TinyContainer", + "props": { + "pattern": "default", + "style": "position: relative; min-height: 240px; display: block;" + }, + "children": [ + { + "componentName": "div", + "props": { + "style": "background: #ffebd1; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;" + }, + "children": [ + { + "componentName": "Text", + "props": { + "text": "Main内容" + } + } + ] + }, + { + "componentName": "Template", + "props": { + "slot": "header" + }, + "children": [ + { + "componentName": "div", + "props": { + "style": "background: #deecff; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;" + }, + "children": [ + { + "componentName": "Text", + "props": { + "text": "header内容" + } + } + ] + } + ] + }, + { + "componentName": "Template", + "props": { + "slot": "aside" + }, + "children": [ + { + "componentName": "div", + "props": { + "style": "background: #fce3e1; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;" + }, + "children": [ + { + "componentName": "Text", + "props": { + "text": "aside内容" + } + } + ] + } + ] + }, + { + "componentName": "Template", + "props": { + "slot": "footer" + }, + "children": [ + { + "componentName": "div", + "props": { + "style": "background: #e6f2d5; width: 100%; height: 100%; display: flex; justify-content: center; align-items: center;" + }, + "children": [ + { + "componentName": "Text", + "props": { + "text": "footer内容" + } + } + ] + } + ] + } + ] + } } ] }, @@ -24369,6 +28218,32 @@ "placeholder": "输入关键词" } } + }, + { + "name": { + "zh_CN": "链接(组件)" + }, + "icon": "link", + "screenshot": "", + "snippetName": "TinyLink", + "schema": { + "componentName": "TinyLink", + "props": { + "value": "默认链接" + } + } + }, + { + "name": { + "zh_CN": "分割线" + }, + "icon": "hr", + "screenshot": "", + "snippetName": "TinyDivider", + "schema": { + "componentName": "TinyDivider", + "props": {} + } } ] }, @@ -24809,6 +28684,40 @@ "placeholder": "请选择" } } + }, + { + "name": { + "zh_CN": "文件上传" + }, + "icon": "file-upload", + "screenshot": "", + "snippetName": "TinyFileUpload", + "schema": { + "componentName": "TinyFileUpload", + "props": { + "action": "http://localhost:8090/api/upload", + "data": { + "id": "123" + } + }, + "children": [ + { + "componentName": "Template", + "props": { + "slot": "trigger" + }, + "children": [ + { + "componentName": "TinyButton", + "props": { + "text": "点击上传", + "style": "margin: 0 5px 0 5px;" + } + } + ] + } + ] + } } ] }, @@ -24966,6 +28875,26 @@ ] } }, + { + "name": { + "zh_CN": "抽屉" + }, + "screenshot": "", + "snippetName": "TinyDrawer", + "icon": "drawer", + "schema": { + "componentName": "TinyDrawer", + "props": { + "visible": true, + "title": "drawer title" + }, + "children": [ + { + "componentName": "div" + } + ] + } + }, { "name": { "zh_CN": "折叠面板" @@ -25360,6 +29289,21 @@ "precision": 2 } } + }, + { + "name": { + "zh_CN": "警告" + }, + "icon": "alert", + "screenshot": "", + "snippetName": "TinyAlert", + "schema": { + "componentName": "TinyAlert", + "props": { + "description": "这是一个警告", + "type": "warning" + } + } } ] }, @@ -25530,6 +29474,117 @@ "node-key": "id" } } + }, + { + "name": { + "zh_CN": "下拉菜单" + }, + "icon": "dropdown", + "screenshot": "", + "snippetName": "TinyDropdown", + "schema": { + "componentName": "TinyDropdown", + "props": { + "menu-options": { + "options": [ + { + "name": "老友粉", + "disabled": true + }, + { + "name": "狮子头", + "divided": true + }, + { + "name": "黄金糕", + "divided": true + } + ], + "textField": "name" + } + } + } + }, + { + "name": { + "zh_CN": "动作菜单" + }, + "icon": "action-menu", + "screenshot": "", + "snippetName": "TinyActionMenu", + "schema": { + "componentName": "TinyActionMenu", + "props": { + "options": [ + { + "label": "远程登录" + }, + { + "label": "开机" + }, + { + "label": "关机" + }, + { + "label": "重启", + "divided": true + }, + { + "label": "网络设置", + "children": [ + { + "label": "更改安全组" + }, + { + "label": "切换 VPC", + "divided": true + } + ] + } + ] + } + } + }, + { + "name": { + "zh_CN": "锚点" + }, + "icon": "anchor", + "screenshot": "", + "snippetName": "TinyAnchor", + "schema": { + "componentName": "TinyAnchor", + "props": { + "links": [ + { + "key": "basic-usage", + "link": "#basic-usage", + "title": "基本用法" + }, + { + "key": "is-affix", + "link": "#is-affix", + "title": "固定模式" + }, + { + "key": "set-container", + "link": "#set-container", + "title": "滚动容器" + }, + { + "key": "offset-top", + "link": "#offset-top", + "title": "顶部偏移量" + }, + { + "key": "on-change", + "link": "#change", + "title": "change 事件" + } + ], + "type": "dot" + } + } } ] }, diff --git a/packages/i18n/package.json b/packages/i18n/package.json index a26564d20..b84abc998 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-i18n-host", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/layout/package.json b/packages/layout/package.json index a017aa2b0..e93e0c4ec 100644 --- a/packages/layout/package.json +++ b/packages/layout/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-layout", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "scripts": { "build": "vite build" }, diff --git a/packages/plugins/block/package.json b/packages/plugins/block/package.json index 6634d5299..a75874ba1 100644 --- a/packages/plugins/block/package.json +++ b/packages/plugins/block/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-block", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/bridge/package.json b/packages/plugins/bridge/package.json index a82b2ab10..1e39ff147 100644 --- a/packages/plugins/bridge/package.json +++ b/packages/plugins/bridge/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-bridge", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/datasource/package.json b/packages/plugins/datasource/package.json index f666f5e56..87da26824 100644 --- a/packages/plugins/datasource/package.json +++ b/packages/plugins/datasource/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-datasource", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/help/package.json b/packages/plugins/help/package.json index 9a7abd999..896b7ef0c 100644 --- a/packages/plugins/help/package.json +++ b/packages/plugins/help/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-help", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/i18n/package.json b/packages/plugins/i18n/package.json index 4427292f6..2b1ce8d39 100644 --- a/packages/plugins/i18n/package.json +++ b/packages/plugins/i18n/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-i18n", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/materials/package.json b/packages/plugins/materials/package.json index 6cad9e7b4..38b341825 100644 --- a/packages/plugins/materials/package.json +++ b/packages/plugins/materials/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-materials", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/model-manager/package.json b/packages/plugins/model-manager/package.json index 3002a9ecc..a00718ecd 100644 --- a/packages/plugins/model-manager/package.json +++ b/packages/plugins/model-manager/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-model-manager", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/page/package.json b/packages/plugins/page/package.json index 665672a35..2efd481bb 100644 --- a/packages/plugins/page/package.json +++ b/packages/plugins/page/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-page", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/resource/package.json b/packages/plugins/resource/package.json index 0121fc91a..231f36a6d 100644 --- a/packages/plugins/resource/package.json +++ b/packages/plugins/resource/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-resource", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/robot/package.json b/packages/plugins/robot/package.json index 937807d42..afa219101 100644 --- a/packages/plugins/robot/package.json +++ b/packages/plugins/robot/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-robot", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/robot/src/Main.vue b/packages/plugins/robot/src/Main.vue index 237beb982..7bb2f1b1e 100644 --- a/packages/plugins/robot/src/Main.vue +++ b/packages/plugins/robot/src/Main.vue @@ -357,7 +357,7 @@ onMounted(async () => { cursor: pointer; } -.operations-setting { +.operations-setting.svg-icon { font-size: 28px; padding: 4px; } @@ -372,7 +372,7 @@ onMounted(async () => { height: auto; } } - .operations-setting { + .operations-setting.svg-icon { font-size: 20px; } &::-webkit-scrollbar { diff --git a/packages/plugins/schema/package.json b/packages/plugins/schema/package.json index c0b13b28c..d7e80a1fa 100644 --- a/packages/plugins/schema/package.json +++ b/packages/plugins/schema/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-schema", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/script/package.json b/packages/plugins/script/package.json index 301227644..2ce1e5b42 100644 --- a/packages/plugins/script/package.json +++ b/packages/plugins/script/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-script", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/state/package.json b/packages/plugins/state/package.json index 1b5943d66..c88523b27 100644 --- a/packages/plugins/state/package.json +++ b/packages/plugins/state/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-state", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/tree/package.json b/packages/plugins/tree/package.json index ef9fe7341..de68f82bd 100644 --- a/packages/plugins/tree/package.json +++ b/packages/plugins/tree/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-tree", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/plugins/tutorial/package.json b/packages/plugins/tutorial/package.json index 478e99bcc..c406518f7 100644 --- a/packages/plugins/tutorial/package.json +++ b/packages/plugins/tutorial/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-plugin-tutorial", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/register/package.json b/packages/register/package.json index e3e8a8d37..3d3be6b23 100644 --- a/packages/register/package.json +++ b/packages/register/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-meta-register", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "description": "", "type": "module", "main": "dist/index.js", diff --git a/packages/settings/design/package.json b/packages/settings/design/package.json index 846c116cf..e8714017b 100644 --- a/packages/settings/design/package.json +++ b/packages/settings/design/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-design", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/settings/events/package.json b/packages/settings/events/package.json index e1e3bb043..7908b0f74 100644 --- a/packages/settings/events/package.json +++ b/packages/settings/events/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-events", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/settings/panel/package.json b/packages/settings/panel/package.json index be4cf7170..e2d1d3493 100644 --- a/packages/settings/panel/package.json +++ b/packages/settings/panel/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-settings-panel", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/settings/props/package.json b/packages/settings/props/package.json index e3f97c647..35524b29b 100644 --- a/packages/settings/props/package.json +++ b/packages/settings/props/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-props", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/settings/styles/package.json b/packages/settings/styles/package.json index ba67ce3de..e46052b49 100644 --- a/packages/settings/styles/package.json +++ b/packages/settings/styles/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-setting-styles", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/svgs/package.json b/packages/svgs/package.json index e3ba8bce4..183228f63 100644 --- a/packages/svgs/package.json +++ b/packages/svgs/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-svgs", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/theme/base/package.json b/packages/theme/base/package.json index 98e5b9ffd..08530bba8 100644 --- a/packages/theme/base/package.json +++ b/packages/theme/base/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-theme-base", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/breadcrumb/package.json b/packages/toolbars/breadcrumb/package.json index 5aa18fa7f..b98621491 100644 --- a/packages/toolbars/breadcrumb/package.json +++ b/packages/toolbars/breadcrumb/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-breadcrumb", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/clean/package.json b/packages/toolbars/clean/package.json index 233bf7130..601745ec8 100644 --- a/packages/toolbars/clean/package.json +++ b/packages/toolbars/clean/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-clean", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/collaboration/package.json b/packages/toolbars/collaboration/package.json index 83b265b29..1952ab14c 100644 --- a/packages/toolbars/collaboration/package.json +++ b/packages/toolbars/collaboration/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-collaboration", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/fullscreen/package.json b/packages/toolbars/fullscreen/package.json index 0bfa5c98b..ef319d17f 100644 --- a/packages/toolbars/fullscreen/package.json +++ b/packages/toolbars/fullscreen/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-fullscreen", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/generate-code/package.json b/packages/toolbars/generate-code/package.json index 91cd08b8d..a9014bd3e 100644 --- a/packages/toolbars/generate-code/package.json +++ b/packages/toolbars/generate-code/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-generate-code", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/lang/package.json b/packages/toolbars/lang/package.json index 7bc87357f..11ff290a9 100644 --- a/packages/toolbars/lang/package.json +++ b/packages/toolbars/lang/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-lang", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/lock/package.json b/packages/toolbars/lock/package.json index 3b24c3271..7420d0de9 100644 --- a/packages/toolbars/lock/package.json +++ b/packages/toolbars/lock/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-lock", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/logo/package.json b/packages/toolbars/logo/package.json index fa8d97145..3f80c3933 100644 --- a/packages/toolbars/logo/package.json +++ b/packages/toolbars/logo/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-logo", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/media/package.json b/packages/toolbars/media/package.json index f5371d1c2..41d6e40ac 100644 --- a/packages/toolbars/media/package.json +++ b/packages/toolbars/media/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-media", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/preview/package.json b/packages/toolbars/preview/package.json index 684c4b822..99293e642 100644 --- a/packages/toolbars/preview/package.json +++ b/packages/toolbars/preview/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-preview", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/redoundo/package.json b/packages/toolbars/redoundo/package.json index 9784a335e..f0c8574f9 100644 --- a/packages/toolbars/redoundo/package.json +++ b/packages/toolbars/redoundo/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-redoundo", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/refresh/package.json b/packages/toolbars/refresh/package.json index 7786e65c8..fa365e18c 100644 --- a/packages/toolbars/refresh/package.json +++ b/packages/toolbars/refresh/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-refresh", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/save/package.json b/packages/toolbars/save/package.json index fae598e5b..0461ffaa5 100644 --- a/packages/toolbars/save/package.json +++ b/packages/toolbars/save/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-save", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/setting/package.json b/packages/toolbars/setting/package.json index f65542c73..ec36e0e9a 100644 --- a/packages/toolbars/setting/package.json +++ b/packages/toolbars/setting/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-setting", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/themeSwitch/package.json b/packages/toolbars/themeSwitch/package.json index 6d1874df9..3cef4171c 100644 --- a/packages/toolbars/themeSwitch/package.json +++ b/packages/toolbars/themeSwitch/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-theme-switch", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/upload/package.json b/packages/toolbars/upload/package.json index fdfb96f8b..09e76b7c9 100644 --- a/packages/toolbars/upload/package.json +++ b/packages/toolbars/upload/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-upload", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/user/package.json b/packages/toolbars/user/package.json index efe726f8a..6a3ee343c 100644 --- a/packages/toolbars/user/package.json +++ b/packages/toolbars/user/package.json @@ -1,6 +1,6 @@ { "name": "@opentiny/tiny-engine-toolbar-user", - "version": "2.11.0-rc.0", + "version": "2.11.0-rc.1", "publishConfig": { "access": "public" }, diff --git a/packages/toolbars/user/src/Main.vue b/packages/toolbars/user/src/Main.vue index 9e8d32264..84e9c4237 100644 --- a/packages/toolbars/user/src/Main.vue +++ b/packages/toolbars/user/src/Main.vue @@ -133,7 +133,7 @@ export default { }