UNPKG

cloud-ui.vusion

Version:
2,407 lines (2,406 loc) 249 kB
{ "e-ripple/color": { "type": "string", "options": [ { "name": "浅色", "value": "light" }, { "name": "深色", "value": "dark" } ], "description": "波纹颜色" }, "e-watermark/image": { "type": "CanvasImageSource", "description": "水印图案。如果没有,则默认按文本绘制" }, "e-watermark/text": { "type": "string", "description": "水印文本显示内容" }, "e-watermark/opacity": { "type": "number", "description": "0-1之间的小数,0代表完全透明,1代表完全不透明" }, "f-draggable/value": { "type": "any", "description": "需要传递的值" }, "f-draggable/transfer": { "type": "string, Element", "options": [ "clone", "self" ], "description": "拖拽时的移动元素。可选值:`'clone'`表示拖拽时拖起自身的一个拷贝,`'self'`表示拖拽时拖起自身,也可以直接传入一个元素,或者用slot来设置。" }, "f-draggable/immediate": { "type": "boolean", "description": "是否在鼠标按下时立即拖拽。默认为`false`,是为了防止鼠标单击等事件频繁触发拖拽操作。" }, "f-draggable/disabled": { "type": "boolean", "description": "是否禁用" }, "f-draggable/constraint": { "type": "function", "description": "拖拽时移动路径的约束函数。需要传入一个对象,至少要包含:`startLeft`、`startTop`、`dragX`、`dragY`几个字段" }, "f-dragger/axis": { "type": "string", "description": "拖拽时移动路径的约束轴向。可选值:`both`表示可以在任意方向上移动、`horizontal`表示限制在水平方向上移动、`vertical`表示限制在垂直方向上移动。" }, "f-dragger/grid": { "type": "object", "description": "f拖拽时移动路径的约束网格。值为一个{x,y}格式的对象,表示水平方向和垂直方向网格的大小。" }, "f-dragger/range": { "type": "string, object", "description": "拖拽范围。值可以为一个{left,top,right,bottom}格式的对象,表示代理元素移动的上下左右边界。当值为`offset-parent`,代理元素限制在offsetParent中移动,仅适用于`position`为`absolute`的情况。" }, "f-dragger/range-mode": { "type": "string", "description": "拖拽范围模式。可选值:`inside`表示在拖拽范围内侧移动,`center`表示在拖拽范围边缘及内侧移动,`outside`表示在拖拽范围外侧及内侧移动。" }, "f-dragger/value": { "type": "any", "description": "需要传递的值" }, "f-dragger/transfer": { "type": "string, Element", "description": "拖拽时的移动元素。可选值:`'clone'`表示拖拽时拖起自身的一个拷贝,`'self'`表示拖拽时拖起自身,也可以直接传入一个元素,或者用slot来设置。" }, "f-dragger/immediate": { "type": "boolean", "description": "是否在鼠标按下时立即拖拽。默认为`false`,是为了防止鼠标单击等事件频繁触发拖拽操作。" }, "f-dragger/disabled": { "type": "boolean", "description": "是否禁用" }, "f-droppable/disabled": { "type": "boolean", "description": "是否禁用" }, "f-forbidden/contextmenu": { "type": "boolean", "description": "是否禁止弹出右键菜单" }, "f-forbidden/select": { "type": "boolean", "description": "是否禁止选择文本" }, "f-forbidden/copy": { "type": "boolean", "description": "是否禁止复制" }, "f-forbidden/save-key": { "type": "boolean", "description": "是否禁止另存为键" }, "f-forbidden/devtools-key": { "type": "boolean", "description": "是否禁止开发者工具键" }, "f-forbidden/senderVM": { "type": "FForbidden", "description": "" }, "f-render/vnode": { "type": "VNode", "description": "需要渲染的 VNode 节点" }, "f-scroll-view/native": { "type": "Boolean", "description": "是否启用原生滚动条" }, "f-slot/vm": { "type": "Vue", "description": "实例" }, "f-slot/name": { "type": "string", "description": "Slot 名称" }, "f-slot/props": { "type": "object", "description": "需要传给作用域插槽的属性" }, "f-slot/catchError": { "type": "boolean", "description": "是否捕获异常,防止报错终止整体渲染" }, "f-virtual-list/list": { "type": "Array<Object>", "description": "含有全部数据的列表。用于获取渲染的长度和位置等信息。" }, "f-virtual-list/item-height": { "type": "number", "description": "默认可以不填,会自动计算和缓存每个列表项的高度,用于处理列表项高度不确定的情形。如果每个列表项的高度是个固定值,可以设置该属性,能够减少由获取高度产生的性能开销。" }, "f-virtual-list/virtual": { "type": "boolean", "description": "是否开启虚拟列表" }, "f-virtual-list/virtual-count": { "type": "number", "description": "虚拟列表实际渲染的节点数。该数字不宜过大,一般在 200 以内为好。" }, "f-virtual-list/throttle": { "type": "number", "description": "滚动截流的毫秒数。在该时间内最多更新一次虚拟列表。" }, "f-virtual-list/tag-name": { "type": "string", "description": "设置列表容器的标签名" }, "f-virtual-list/list-key": { "type": "string", "description": "列表的键。一般用于 mixin 方式,修改全部数据的列表来源。" }, "i-ico/name": { "type": "icon", "description": "" }, "i-ico/icotype": { "type": "string", "options": [ { "value": "only", "title": "仅图标" }, { "value": "top", "title": "组合图标-上下" }, { "value": "left", "title": "组合图标-左右" } ], "description": "图标和文本的布局方式" }, "i-ico/linkType": { "type": "string", "options": [ { "value": "destination", "title": "页面跳转" }, { "value": "download", "title": "下载链接" } ], "description": "" }, "i-ico/hrefAndTo": { "type": "string", "description": "" }, "i-ico/target": { "type": "string", "options": [ { "value": "_blank", "title": "新窗口" }, { "value": "_self", "title": "当前窗口" }, { "value": "_parent", "title": "父级窗口", "advanced": true }, { "value": "_top", "title": "顶级窗口", "advanced": true } ], "description": "链接跳转的打开方式,父级窗口和顶级窗口仅适用于iframe组件嵌套的情况,若不存在嵌套,则其打开方式同当前窗口。" }, "i-icon/name": { "type": "string", "options": [ { "value": "arrow-down", "title": "arrow-down" }, { "value": "arrow-up", "title": "arrow-up" }, { "value": "arrow-left", "title": "arrow-left" }, { "value": "arrow-right", "title": "arrow-right" }, { "value": "angle-up", "title": "angle-up" }, { "value": "angle-down", "title": "angle-down" }, { "value": "angle-left", "title": "angle-left" }, { "value": "angle-right", "title": "angle-right" }, { "value": "close", "title": "close" }, { "value": "close-solid", "title": "close-solid" }, { "value": "filter", "title": "filter" }, { "value": "github", "title": "github" } ], "description": "图标名称" }, "m-complex/value": { "type": "any", "description": "当前选择的值" }, "m-complex/auto-select": { "type": "boolean", "description": "是否自动选择第一个非禁用的项" }, "m-complex/cancelable": { "type": "boolean", "description": "是否可以取消选择" }, "m-complex/multiple": { "type": "boolean", "description": "是否切换为多选模式" }, "m-complex/readonly": { "type": "boolean", "description": "是否只读" }, "m-complex/disabled": { "type": "boolean", "description": "是否禁用" }, "m-complex-item/text": { "type": "string", "description": "文本内容" }, "m-complex-item/value": { "type": "any", "description": "此项的值" }, "m-complex-item/selected": { "type": "boolean", "description": "是否选中此项" }, "m-complex-item/disabled": { "type": "boolean", "description": "禁用此项" }, "m-complex-item/item": { "type": "object", "description": "相关对象。当选择此项时,抛出的事件会传递该对象,便于开发" }, "m-dynamic/data": { "type": "Array", "description": "数据" }, "m-dynamic/dynamic": { "type": "boolean", "description": "是否可以动态添加/删除项" }, "m-dynamic/get-default-item": { "type": "Function", "description": "传入获取默认项的方法" }, "m-dynamic/initial-add": { "type": "boolean", "description": "是否自动补充项,如果初始时`data`中的项目数少于`min-count`" }, "m-dynamic/min-count": { "type": "number", "description": "最小项目数" }, "m-dynamic/max-count": { "type": "number", "description": "最大项目数" }, "m-group-parent/collapsible": { "type": "boolean", "description": "分组是否可以折叠" }, "m-group-parent/accordion": { "type": "boolean", "description": "是否每次只会展开一个分组" }, "m-group-parent/expand-trigger": { "type": "string", "description": "展开/折叠的触发方式。可选值:`'click'`表示整行点击均可触发、`'click-expander'`表示仅点击小箭头时触发" }, "m-group/title": { "type": "string", "description": "显示的标题" }, "m-group/collapsible": { "type": "boolean", "description": "`false`" }, "m-group/expanded": { "type": "boolean", "description": "展开/折叠状态" }, "m-group/disabled": { "type": "boolean", "description": "是否禁用。禁用时无法展开/折叠" }, "m-modal/value": { "type": "number", "description": "需要传入的值" }, "m-multiplex/value": { "type": "Array", "description": "所有选中项的值" }, "m-multiplex/readonly": { "type": "boolean", "description": "是否只读" }, "m-multiplex/disabled": { "type": "boolean", "description": "是否禁用" }, "m-multiplex-item/text": { "type": "string", "description": "文本内容" }, "m-multiplex-item/value": { "type": "any", "description": "此项的值" }, "m-multiplex-item/selected": { "type": "boolean", "description": "是否选择此项" }, "m-multiplex-item/disabled": { "type": "boolean", "description": "禁用此项" }, "m-multiplex-item/item": { "type": "object", "description": "相关对象。当选择此项时,抛出的事件会传递该对象,便于开发" }, "m-popper/opened": { "type": "boolean", "description": "弹出/关闭状态" }, "m-popper/trigger": { "type": "string", "options": [ { "value": "click", "title": "点击" }, { "value": "hover", "title": "悬浮" }, { "value": "right-click", "title": "右击" }, { "value": "double-click", "title": "双击" }, { "value": "manual", "title": "手动" } ], "description": "触发方式。" }, "m-popper/placement": { "type": "string", "options": [ { "value": "top", "name": "上" }, { "value": "bottom", "name": "下" }, { "value": "left", "name": "左" }, { "value": "right", "name": "右" }, { "value": "top-start", "name": "上左" }, { "value": "top-end", "name": "上右" }, { "value": "bottom-start", "name": "下左" }, { "value": "bottom-end", "name": "下右" }, { "value": "left-start", "name": "左上" }, { "value": "left-end", "name": "左下" }, { "value": "right-start", "name": "右上" }, { "value": "right-end", "name": "右下" } ], "description": "弹出方向。" }, "m-popper/reference": { "type": "string | HTMLElement | Function", "description": "参考元素。可选值:`'parent'`表示父元素,`'prev'`表示上一个元素,`'next'`表示下一个元素。也可以传一个 HTML 元素,或用于返回元素的方法。" }, "m-popper/hover-delay": { "type": "number", "description": "当 trigger 为 `'hover'` 时的延迟时间。" }, "m-popper/hide-delay": { "type": "number", "description": "当 trigger 为 `'hover'` 时的消失延迟时间,单位是 ms。" }, "m-popper/append-to": { "type": "string", "description": "设置添加到哪个元素。可选值:`'body'`表示添加到 document.body,`'reference'`表示添加到参考元素中" }, "m-popper/boundaries-element": { "type": "Element | string", "description": "边际元素。用于定义弹出层的边际,默认为首个滚动的父级元素" }, "m-popper/escape-with-reference": { "type": "boolean", "description": "当触发元素离开边际时,弹出层离开/保留在边际元素内" }, "m-popper/follow-cursor": { "type": "boolean | number | object", "description": "是否跟随鼠标" }, "m-popper/offset": { "type": "string", "description": "弹出层偏移,如:'10', '10px 10px', '10% 10%', 第一个值表示水平偏移,第二个值表示垂直位移, 默认单位是`px`" }, "m-popper/options": { "type": "object", "description": "补充 popper.js 的选项" }, "m-popper/disabled": { "type": "boolean", "description": "是否禁用" }, "m-singlex/value": { "type": "any", "description": "当前选择的值" }, "m-singlex/auto-select": { "type": "boolean", "description": "是否自动选择第一个非禁用的项" }, "m-singlex/cancelable": { "type": "boolean", "description": "是否可以取消选择" }, "m-singlex/router": { "type": "boolean", "description": "是否开启路由模式" }, "m-singlex/readonly": { "type": "boolean", "description": "是否只读" }, "m-singlex/disabled": { "type": "boolean", "description": "是否禁用" }, "m-singlex-item/text": { "type": "string", "description": "文本内容" }, "m-singlex-item/value": { "type": "any", "description": "此项的值" }, "m-singlex-item/disabled": { "type": "boolean", "description": "禁用此项" }, "m-singlex-item/item": { "type": "object", "description": "相关对象。当选择此项时,抛出的事件会传递该对象,便于开发" }, "u-actions/max-count": { "type": "number", "description": "一列最多显示链接个数" }, "u-actions/menu-title": { "type": "string", "description": "菜单标题" }, "u-actions/placement": { "type": "string", "options": [ { "value": "top", "title": "上" }, { "value": "bottom", "title": "下" }, { "value": "left", "title": "左" }, { "value": "right", "title": "右" }, { "value": "top-start", "title": "上左" }, { "value": "top-end", "title": "上右" }, { "value": "bottom-start", "title": "下左" }, { "value": "bottom-end", "title": "下右" }, { "value": "left-start", "title": "左上" }, { "value": "left-end", "title": "左下" }, { "value": "right-start", "title": "右上" }, { "value": "right-end", "title": "右下" } ], "description": "菜单的弹出方向" }, "u-action/hidden": { "type": "boolean", "description": "自定义显示/隐藏条件" }, "u-action/color": { "type": "string", "options": [ { "value": "default", "title": "默认" }, { "value": "light", "title": "浅色" }, { "value": "success", "title": "成功色" }, { "value": "warning", "title": "警告色" }, { "value": "error", "title": "错误色" }, { "value": "danger", "title": "危险色" } ], "description": "设置颜色" }, "u-action/linkType": { "type": "string", "options": [ { "value": "destination", "title": "页面跳转" }, { "value": "href", "title": "普通链接" }, { "value": "download", "title": "下载链接" } ], "description": "链接类型" }, "u-action/hrefAndTo": { "type": "string", "description": "链接地址" }, "u-action/target": { "type": "string", "options": [ { "value": "_blank", "title": "新窗口" }, { "value": "_self", "title": "当前窗口" }, { "value": "_parent", "title": "父级窗口", "advanced": true }, { "value": "_top", "title": "顶级窗口", "advanced": true } ], "description": "父级窗口和顶级窗口仅适用于iframe组件嵌套的情况,若不存在嵌套,则打开方式同当前窗口。" }, "u-action/decoration": { "type": "boolean", "description": "是否显示下划线" }, "u-action/disabled": { "type": "boolean", "description": "是否禁用。禁用后不会响应点击事件。" }, "u-action/display": { "type": "string", "options": [ { "value": "inline", "title": "行内展示" }, { "value": "block", "title": "块级展示,宽度会充满父元素" } ], "description": "展示方式" }, "u-alert/title": { "type": "string", "description": "公告标题" }, "u-alert/desc": { "type": "string", "description": "公告辅助文本" }, "u-alert/horizontal": { "type": "string", "options": [ { "value": "left", "title": "左对齐" }, { "value": "center", "title": "居中对齐" } ], "description": "选择对齐方式" }, "u-alert/type": { "type": "string", "options": [ { "value": "info", "title": "信息" }, { "value": "success", "title": "成功" }, { "value": "warning", "title": "警告" }, { "value": "error", "title": "错误" } ], "description": "" }, "u-alert/showIcon": { "type": "boolean", "description": "" }, "u-alert/closeable": { "type": "boolean", "description": "是否可手动关闭公告" }, "u-alert/bordered": { "type": "boolean", "description": "" }, "u-anchor/label": { "type": "string", "description": "锚点的唯一标识,用于跳转链接,如“/page#linkname”" }, "u-auto-complete/value": { "type": "string", "description": "输入框的值" }, "u-auto-complete/clearable": { "type": "boolean", "description": "开启并在输入框有内容时会显示清除按钮。" }, "u-auto-complete/placeholder": { "type": "string", "description": "原生属性。对 IE9 做了兼容。" }, "u-auto-complete/minlength": { "type": "number", "description": "原生属性" }, "u-auto-complete/maxlength": { "type": "number", "description": "原生属性" }, "u-auto-complete/spellcheck": { "type": "boolean", "description": "原生属性" }, "u-auto-complete/autofocus": { "type": "boolean", "description": "是否自动获取焦点" }, "u-auto-complete/readonly": { "type": "boolean", "description": "是否只读" }, "u-auto-complete/disabled": { "type": "boolean", "description": "是否禁用" }, "u-auto-complete/size": { "type": "size", "options": [ "mini", "small", "normal", "medium", "large", "huge", "full" ], "description": "大小扩展,支持一个值:`'mini'`, `'small'`, `'normal'`, `'medium'`, `'large'`, `'huge'`, `'full'`,或两个值的组合,前者表示高度,后者表示宽度,类似CSS的padding书写格式" }, "u-auto-complete/maxlengthMessage": { "type": "string", "description": "\b\b输入内容达到上限时的错误提示,且被 [FormItem](#/components/u-form) 包裹时生效" }, "u-avatar/type": { "type": "enum", "options": [ "0", "1", "2", "3", "4", "5", "6" ], "description": "头像类型。请参考上面的示例" }, "u-avatar/shape": { "type": "enum", "options": [ "circle", "square" ], "description": "形状。可选值:`circle`, `square` 两种类型" }, "u-avatar/size": { "type": "enum", "options": [ "mini", "small", "normal", "large", "huge" ], "description": "头像大小。可选值:`'mini'`、`'small'`、`'normal'`、`'large'`、`'huge'`。如需自定义大小,可以直接设置`style=\"width: 40px; height: 40px;\"`" }, "u-badge/dot": { "type": "boolean", "description": "是否显示为小圆点" }, "u-badge/value": { "type": "number | string", "description": "用于标识的值" }, "u-badge/max": { "type": "number", "description": "最大值,超过最大值会显示为“最大值+”的形式,当最大值是数字类型时生效" }, "u-badge/corner": { "type": "boolean", "description": "开启时提醒角标位置显示在右上角,关闭时提醒角标显示在组件右侧。" }, "u-button/to": { "type": "string, Location", "description": "需要 vue-router,与`<router-link>`的`to`属性相同。可以是一个字符串或者是描述目标位置的对象。" }, "u-button/replace": { "type": "boolean", "description": "需要 vue-router,与`<router-link>`的`replace`属性相同。如果为`true`,当点击时,会调用`router.replace()`而不是`router.push()`,于是导航后不会留下`history `记录。" }, "u-button/append": { "type": "boolean", "description": "需要 vue-router,与`<router-link>`的`append`属性相同。如果为`true`,则在当前路径后追加`to`的路径。" }, "u-button/text": { "type": "string", "description": "显示文本内容" }, "u-button/color": { "type": "string", "options": [ { "value": "primary", "title": "主要按钮" }, { "value": "primary_secondary", "title": "次要按钮" }, { "value": "default", "title": "普通按钮" }, { "value": "danger", "title": "危险操作按钮" }, { "value": "danger_secondary", "title": "次要危险操作按钮" } ], "description": "设置主题颜色和按钮样式类型" }, "u-button/display": { "type": "string", "options": [ { "value": "inline", "title": "行内展示" }, { "value": "block", "title": "块级展示,宽度会充满父元素" } ], "description": "行内展示,或块级换行展示" }, "u-button/icon": { "type": "icon", "description": "" }, "u-button/icon-position": { "type": "string", "options": [ { "value": "left", "title": "左" }, { "value": "right", "title": "右" } ], "description": "设置图标居左或居右显示" }, "u-button/linkType": { "type": "string", "options": [ { "value": "destination", "title": "页面跳转" }, { "value": "download", "title": "下载链接" } ], "description": "" }, "u-button/hrefAndTo": { "type": "string", "description": "" }, "u-button/target": { "type": "string", "options": [ { "value": "_blank", "title": "新窗口" }, { "value": "_self", "title": "当前窗口" }, { "value": "_parent", "title": "父级窗口", "advanced": true }, { "value": "_top", "title": "顶级窗口", "advanced": true } ], "description": "链接跳转的打开方式,父级窗口和顶级窗口仅适用于iframe组件嵌套的情况,若不存在嵌套,则其打开方式同当前窗口。" }, "u-button/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-button/loading": { "type": "boolean", "description": "设置加载中状态的触发条件" }, "u-button/dashed": { "type": "boolean", "description": "设置是否显示虚线边框" }, "u-button/size": { "type": "string", "options": [ { "value": "huge", "title": "巨大" }, { "value": "large", "title": "大" }, { "value": "medium", "title": "中型" }, { "value": "normal", "title": "正常" }, { "value": "small", "title": "小" }, { "value": "mini", "title": "迷你" } ], "description": "设置按钮大小" }, "u-button/shape": { "type": "string", "options": [ { "value": "default", "title": "默认" }, { "value": "square", "title": "方形" }, { "value": "round", "title": "圆角" }, { "value": "circle", "title": "圆形" } ], "description": "设置按钮形状" }, "u-calendar-view/data-source": { "type": "Array<Item> | Function | object", "description": "展示数据的输入源,可设置为数据集对象或者返回数据集的逻辑" }, "u-calendar-view/data-schema": { "type": "schema", "description": "数据源返回的数据结构的类型,自动识别类型进行展示说明" }, "u-calendar-view/start-key": { "type": "string", "description": "数据内表示开始时间的字段" }, "u-calendar-view/end-key": { "type": "string", "description": "数据内表示结束时间的字段" }, "u-calendar-view/value": { "type": "Date | string | number", "description": "当前选中的日期" }, "u-calendar-view/min-date": { "type": "Date | string | number", "description": "最小可选的日期值,默认为10年前,日期填写格式为“yyyy-mm-dd”" }, "u-calendar-view/max-date": { "type": "Date | string | number", "description": "最大可选的日期值,默认为9年后,日期填写格式为“yyyy-mm-dd”" }, "u-calendar-view/show-week-days": { "type": "boolean", "description": "" }, "u-calendar-view/show-weeks": { "type": "boolean", "description": "" }, "u-calendar-view/show-basic": { "type": "boolean", "description": "是否展示顶部左侧的 \"<\" \"今天\" \">\" 等基础配置功能" }, "u-calendar-view/show-advance": { "type": "boolean", "description": "是否展示顶部右侧的年份、月份选项高级配置" }, "u-calendar-view/first-day-of-week": { "type": "number", "description": "填写数字1~7,分别表示周一~周日" }, "u-calendar-view/multiple": { "type": "boolean", "description": "开启可多选后,可通过ctrl/command+鼠标多选" }, "u-calendar/date": { "type": "Date | string", "description": "当前选择的日期" }, "u-calendar/min-date": { "type": "Date | string", "description": "最小日期,如果为空则不限制" }, "u-calendar/max-date": { "type": "Date | string", "description": "最大日期,如果为空则不限制" }, "u-calendar/year-diff": { "type": "string | number", "description": "当前年份往前展示的年数,例:当前为`2018`年,则从`2015`年开始展示" }, "u-calendar/year-add": { "type": "string | number", "description": "当前年份往后展示的年数,例:当前为`2018`年,则展示至`2019`年" }, "u-calendar/readonly": { "type": "boolean", "description": "是否只读" }, "u-calendar/disabled": { "type": "boolean", "description": "是否禁用" }, "u-capsules/value": { "type": "any", "description": "当前选中的值" }, "u-capsules/auto-select": { "type": "boolean", "description": "是否自动选择第一个非禁用的项" }, "u-capsules/cancelable": { "type": "boolean", "description": "是否可以取消选择" }, "u-capsules/multiple": { "type": "boolean", "description": "是否可以多选" }, "u-capsules/readonly": { "type": "boolean", "description": "正常显示,但禁止选择/输入" }, "u-capsules/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-capsule/item": { "type": "object", "description": "相关对象。当选择此项时,抛出的事件会传递该对象,便于开发" }, "u-capsule/value": { "type": "any", "description": "此项的值" }, "u-capsule/label": { "type": "string", "description": "顶部自定义提示文本" }, "u-capsule/flag": { "type": "boolean", "description": "是否右上角有flag标志" }, "u-capsule/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-capsule/size": { "type": "string", "options": [ { "value": "small", "title": "小" }, { "value": "normal", "title": "正常" } ], "description": "胶囊大小" }, "u-card/title": { "type": "string", "description": "" }, "u-card/width": { "type": "string", "description": "设置卡片宽度,可设置为像素或百分比" }, "u-card/shadow": { "type": "string", "options": [ { "value": "always", "title": "一直显示" }, { "value": "hover", "title": "hover时显示" }, { "value": "never", "title": "不显示" } ], "description": "卡片阴影显示时机" }, "u-card/border": { "type": "boolean", "description": "" }, "u-card/split": { "type": "boolean", "description": "" }, "u-card-group/title": { "type": "string", "description": "" }, "u-carousel/loop": { "type": "boolean", "description": "是否循环播放" }, "u-carousel/direction": { "type": "string", "description": "幻灯片播放方向" }, "u-carousel/animation": { "type": "string", "description": "幻灯片过渡动画" }, "u-carousel/data-source": { "type": "Array<Item> | Function", "description": "展示数据的输入源,可设置为集合类型变量(List<T>)或输出参数为集合类型的逻辑。" }, "u-carousel/data-schema": { "type": "schema", "description": "数据源返回的数据结构的类型,自动识别类型进行展示说明" }, "u-carousel/value": { "type": "any", "description": "播放位置" }, "u-carousel/autoplay": { "type": "boolean", "description": "" }, "u-carousel/interval": { "type": "number", "description": "单位:毫秒,幻灯片切换时间,如果设置值小于动画时长,会在动画完成后切换" }, "u-carousel-item/title": { "type": "string", "description": "该项的标题" }, "u-carousel-item/value": { "type": "any", "description": "该项的值" }, "u-cascade-capsules/data": { "type": "Array<{ text, value }>", "description": "数据列表" }, "u-cascade-capsules/value": { "type": "any", "description": "当前选择的值" }, "u-cascade-capsules/label-size": { "type": "string", "options": [ { "value": "small", "title": "小" }, { "value": "normal", "title": "正常" }, { "value": "large", "title": "大" } ], "description": "标签 的大小" }, "u-cascade-capsules/categories": { "type": "Array<{ label, key, tip }>", "description": "多级分类,其中`label`为标签名,`tip`为该标签的提示" }, "u-cascade-capsules/auto-select": { "type": "boolean", "description": "是否可自动选择" }, "u-cascade-capsules/converter": { "type": "string", "options": [ { "value": "join", "title": "以','连接" }, { "value": "join:|", "title": "以'|'连接" }, { "value": "join:;", "title": "以';'连接" }, { "value": "json", "title": "json" } ], "description": "value 与 values 的转换器。可选值:`'join'`表示将 values 数组 join 之后变成 value,`'join.number'`与`join`类似,只是会考虑它为数字的情况。也可以用`:`修改分隔符,类似 Vue 的指令参数,`'last-value'`表示以最后一项的值作为 value。也可以传入一个包含 { get, set } 的一个对象" }, "u-cascade-capsules/field": { "type": "string", "description": "显示文本字段" }, "u-cascade-capsules/cancelable": { "type": "boolean", "description": "是否可以取消选择" }, "u-cascade-capsules/readonly": { "type": "boolean", "description": "是否只读" }, "u-cascade-capsules/disabled": { "type": "boolean", "description": "是否禁用" }, "u-cascade-select/data": { "type": "Array<{ text, value }>", "description": "数据列表" }, "u-cascade-select/value": { "type": "any", "description": "" }, "u-cascade-select/categories": { "type": "Array<{ label, key, placeholder }>", "description": "多级分类" }, "u-cascade-select/hide-empty": { "type": "boolean", "description": "是否隐藏空列表" }, "u-cascade-select/converter": { "type": "string", "options": [ { "value": "join", "title": "以','连接" }, { "value": "join:|", "title": "以'|'连接" }, { "value": "join:;", "title": "以';'连接" }, { "value": "json", "title": "json" } ], "description": "将选中的值以选择的符号作为连接符,转为字符串格式;选择“json”则转为JSON字符串格式" }, "u-cascade-select/field": { "type": "string", "description": "显示文本字段" }, "u-cascade-select/readonly": { "type": "boolean", "description": "" }, "u-cascade-select/disabled": { "type": "boolean", "description": "" }, "u-cascader/data-source": { "type": "Array<{ text, value }>", "description": "展示数据的输入源,可设置为数据集对象或者返回数据集的逻辑" }, "u-cascader/data-schema": { "type": "schema", "description": "数据源返回的数据结构的类型,自动识别类型进行展示说明" }, "u-cascader/field": { "type": "string", "description": "集合的元素类型中,用于显示文本的属性名称" }, "u-cascader/value-field": { "type": "string", "description": "集合的元素类型中,用于标识选中值的属性" }, "u-cascader/children-field": { "type": "string", "description": "树形数据子节点字段名,默认为children" }, "u-cascader/parent-field": { "type": "string", "description": "当数据源为平铺数据时自动生成级联数据的节点字段名,重要:值字段名需要一起配置" }, "u-cascader/value": { "type": "any", "description": "" }, "u-cascader/useArrayLikeValue": { "type": "boolean", "description": "" }, "u-cascader/filterable": { "type": "boolean", "description": "设置是否可以筛选,开启将会显示搜索框。" }, "u-cascader/placeholder": { "type": "string", "description": "为空时显示的占位符文本" }, "u-cascader/showFinalValue": { "type": "boolean", "description": "定义是否显示完整的路径,ture时只显示最后一项" }, "u-cascader/autofocus": { "type": "boolean", "description": "设置是否自动获取焦点" }, "u-cascader/trigger": { "type": "string", "options": [ { "value": "click", "title": "点击" }, { "value": "hover", "title": "悬浮" } ], "description": "" }, "u-cascader/clearable": { "type": "boolean", "description": "设置是否可以清空搜索框,开启后将在有内容时显示清除按钮。" }, "u-cascader/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-cascader/opened": { "type": "boolean", "description": "弹出状态分为“True(弹出)/False(关闭)”,默认为“弹出”" }, "u-cascader/width": { "type": "string", "options": [ { "value": "full", "title": "占满" }, { "value": "huge", "title": "巨大" }, { "value": "large", "title": "大" }, { "value": "medium", "title": "中型" }, { "value": "normal", "title": "正常" }, { "value": "small", "title": "小" }, { "value": "mini", "title": "迷你" } ], "description": "设置级联框宽度大小" }, "u-cascader/height": { "type": "string", "options": [ { "value": "full", "title": "占满" }, { "value": "huge", "title": "巨大" }, { "value": "large", "title": "大" }, { "value": "medium", "title": "中型" }, { "value": "normal", "title": "正常" }, { "value": "small", "title": "小" }, { "value": "mini", "title": "迷你" } ], "description": "设置级联框高度大小" }, "u-cascader/join": { "type": "string", "options": [ { "value": ",", "title": "以','连接" }, { "value": "|", "title": "以'|'连接" }, { "value": " / ", "title": "以' / '连接" } ], "description": "将选中的值以选择的符号作为连接符,转为字符串格式,不可为空值" }, "u-checkbox-card/data": { "type": "array", "description": "可供选择的数据" }, "u-checkbox-card/value": { "type": "Array", "description": "被选中数据" }, "u-checkbox-card/placeholder": { "type": "string", "description": "没有数据时的占位显示" }, "u-checkbox-card/size": { "type": "enum", "options": [ "normal" ], "description": "卡片尺寸" }, "u-checkbox-card/column": { "type": "number", "description": "一行固定多少个选择项,如果不传则固定单项宽度为158px,每行个数自适应行宽" }, "u-checkbox-card/converter": { "type": "string", "options": [ { "value": "join", "title": "以','连接" }, { "value": "join:|", "title": "以'|'连接" }, { "value": "join:;", "title": "以';'连接" }, { "value": "json", "title": "json" } ], "description": "value 与 values 的转换器。可选值:`'join'`表示将 values 数组 join 之后变成 value。也可以用`:`修改分隔符,类似 Vue 的指令参数。也可以传入一个包含 { get, set } 的一个对象" }, "u-checkbox/text": { "type": "string", "description": "显示文本内容" }, "u-checkbox/value": { "type": "boolean, null", "description": "标志选中状态的值,`null`表示不确定状态" }, "u-checkbox/label": { "type": "any", "description": "用于标识选项的值" }, "u-checkbox/readonly": { "type": "boolean", "description": "正常显示,但禁止选择/输入" }, "u-checkbox/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-checkbox/autofocus": { "type": "boolean", "description": "" }, "u-checkboxes/data-source": { "type": "Array<Item> | Function", "description": "展示数据的输入源,可设置为集合类型变量(List<T>)或输出参数为集合类型的逻辑。" }, "u-checkboxes/data-schema": { "type": "schema", "description": "数据源返回的数据结构的类型,自动识别类型进行展示说明" }, "u-checkboxes/text-field": { "type": "string", "description": "集合的元素类型中,用于显示文本的属性名称" }, "u-checkboxes/value-field": { "type": "string", "description": "用于标识选中值的字段" }, "u-checkboxes/value": { "type": "Array", "description": "当前选中的值" }, "u-checkboxes/check-all": { "type": "boolean", "description": "是否进行全选" }, "u-checkboxes/check-all-text": { "type": "string", "description": "全选功能展示的文案内容" }, "u-checkboxes/check-all-display": { "type": "string", "options": [ { "value": "inline", "title": "同行展示" }, { "value": "block", "title": "分行展示" } ], "description": "选择展开方式" }, "u-checkboxes/min": { "type": "number", "description": "可以勾选多选框的最小数量" }, "u-checkboxes/max": { "type": "number", "description": "可以勾选多选框的最大数量" }, "u-checkboxes/converter": { "type": "string", "options": [ { "value": "join", "title": "以','连接" }, { "value": "join:|", "title": "以'|'连接" }, { "value": "join:;", "title": "以';'连接" }, { "value": "json", "title": "json" }, { "value": "", "title": "无" } ], "description": "将选中的值以选择的符号作为连接符,转为字符串格式;选择“json”则转为JSON字符串格式" }, "u-checkboxes/readonly": { "type": "boolean", "description": "正常显示,但禁止选择/输入" }, "u-checkboxes/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-circular-progress/percent": { "type": "number", "description": "进度条显示的进度百分比,1-100之间的数字" }, "u-circular-progress/size": { "type": "string", "options": [ { "value": "small", "title": "小" }, { "value": "normal", "title": "正常" }, { "value": "large", "title": "大" }, { "value": "huge", "title": "巨大" } ], "description": "进度条大小" }, "u-collapse/appear": { "type": "string", "options": [ { "value": "default", "title": "默认模式" }, { "value": "simple", "title": "简洁模式" } ], "description": "" }, "u-collapse/fill": { "type": "string", "options": [ { "value": "head", "title": "头部填充" }, { "value": "content", "title": "内容填充" }, { "value": "none", "title": "无填充" } ], "description": "" }, "u-collapse/accordion": { "type": "boolean", "description": "设置是否每次只展开一个" }, "u-collapse/expand-trigger": { "type": "string", "options": [ { "value": "click", "title": "整行点击均可触发" }, { "value": "click-expander", "title": "仅点击小箭头时触发" } ], "description": "展开/折叠操作的触发方式" }, "u-collapse/disabled": { "type": "boolean", "description": "置灰显示,且禁止展开/折叠操作" }, "u-collapse-item/title": { "type": "string", "description": "显示的标题" }, "u-collapse-item/expanded": { "type": "boolean", "description": "展开状态分为“True(展开)/False(折叠)”,默认为“展开”" }, "u-collapse-item/disabled": { "type": "boolean", "description": "置灰显示,且禁止展开/折叠操作" }, "u-combo-slider/tip": { "type": "string", "description": "" }, "u-combo-slider/value": { "type": "number, Array<number>", "description": "" }, "u-combo-slider/min": { "type": "number", "description": "" }, "u-combo-slider/max": { "type": "number", "description": "" }, "u-combo-slider/step": { "type": "number", "description": "间隔,`0`表示连续" }, "u-combo-slider/precision": { "type": "number", "description": "精度,表示数字要保留的最小单位,整数、小数均可" }, "u-combo-slider/range": { "type": "Array", "description": "进一步对`value`限制,通常传入一个数组,第一个值表示范围开始值,第二个值表示范围的结束值" }, "u-combo-slider/formatter": { "type": "string, object", "description": "格式化字符串,具体参见示例。也可以传入一个包含`get`和`set`方法的格式化对象" }, "u-combo-slider/multiple": { "type": "boolean", "description": "设置是否展示双滑块" }, "u-combo-slider/unit": { "type": "string", "description": "" }, "u-combo-slider/sync-on": { "type": "string", "options": [ { "value": "input", "title": "输入时同步" }, { "value": "blur", "title": "失焦时同步" } ], "description": "" }, "u-combo-slider/hide-buttons": { "type": "boolean", "description": "" }, "u-combo-slider/show-tooltip": { "type": "boolean", "description": "鼠标悬浮时展示Tooltip提示信息" }, "u-combo-slider/tooltip": { "type": "string", "description": "Tooltip提示信息设置。在展示提示信息开关打开的情况下才会生效" }, "u-combo-slider/readonly": { "type": "boolean", "description": "正常显示,但禁止选择/输入" }, "u-combo-slider/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-copy/text": { "type": "string", "description": "默认显示的文本" }, "u-copy/success-text": { "type": "string", "description": "复制成功提示文本" }, "u-copy/feedback": { "type": "string", "options": [ { "value": "tooltip", "title": "工具提示" }, { "value": "toast", "title": "弹框提示" }, { "value": "none", "title": "无反馈" } ], "description": "复制提示反馈方式" }, "u-copy/placement": { "type": "string", "options": [ { "value": "top", "title": "上" }, { "value": "bottom", "title": "下" }, { "value": "left", "title": "左" }, { "value": "right", "title": "右" }, { "value": "top-start", "title": "上左" }, { "value": "top-end", "title": "上右" }, { "value": "bottom-start", "title": "下左" }, { "value": "bottom-end", "title": "下右" }, { "value": "left-start", "title": "左上" }, { "value": "left-end", "title": "左下" }, { "value": "right-start", "title": "右上" }, { "value": "right-end", "title": "右下" } ], "description": "tooltip 提示框位置" }, "u-copy/hide-delay": { "type": "number", "description": "提示框显示时长" }, "u-copy/value": { "type": "string", "description": "需要复制的值" }, "u-copy/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-count-down/timer": { "type": "number", "description": "设置定时时间" }, "u-count-down/reverse": { "type": "string", "options": [ { "value": "positive", "title": "正计时" }, { "value": "negative", "title": "倒计时" } ], "description": "设置计时器计时方式" }, "u-count-down/autostart": { "type": "boolean", "description": "设置是否自动开始计时" }, "u-count-up/start": { "type": "number", "description": "渐变开始数值" }, "u-count-up/end": { "type": "number", "description": "渐变结束数值" }, "u-count-up/duration": { "type": "number", "description": "渐变时间间隔,时间单位为秒" }, "u-count-up/isEasing": { "type": "boolean", "description": "是否使用 动画函数`easingFn`处理数据" }, "u-count-up/isGroup": { "type": "boolean", "description": "是否分组,默认分组分隔符`'separator'`属性值为`','`" }, "u-count-up/separator": { "type": "string", "description": "分组分隔符" }, "u-count-up/decimals": { "type": "number", "description": "小数点后几位" }, "u-count-up/easingFn": { "type": "Function", "description": "自定义渐变动画,默认使用 `Robert Penner's easeOutExpo`函数" }, "u-count-up/simplify": { "type": "boolean", "description": "是否使用自定义单位简化数据" }, "u-count-up/unit": { "type": "Array", "description": "配合`'simplify'`属性使用的自定义单位" }, "u-count-up/prefix": { "type": "string", "description": "前缀内容" }, "u-count-up/suffix": { "type": "string", "description": "后缀内容" }, "u-count-up/endCallback": { "type": "Function", "description": "渐变结束后的回调函数" }, "u-count-up/autoStart": { "type": "boolean", "description": "是否开启渐变" }, "u-crumb/auto": { "type": "boolean", "description": "是否自动根据子页面配置的面包屑属性自动生成" }, "u-crumb/separator": { "type": "string", "options": [ { "value": "arrow", "title": "基础样式" }, { "value": "slash", "title": "分隔符样式" } ], "description": "设置面包屑分隔样式类型,基础样式为箭头,分隔符样式为斜杠" }, "u-crumb/icon": { "type": "boolean", "description": "" }, "u-crumb-item/text": { "type": "string", "description": "文本内容" }, "u-crumb-item/replace": { "type": "boolean", "description": "需要 vue-router,与`<router-link>`的`replace`属性相同。如果为`true`,当点击时,会调用`router.replace()`而不是`router.push()`,于是导航后不会留下`history `记录。" }, "u-crumb-item/append": { "type": "boolean", "description": "需要 vue-router,与`<router-link>`的`append`属性相同。如果为`true`,则在当前路径后追加`to`的路径。" }, "u-crumb-item/icon": { "type": "icon", "description": "" }, "u-crumb-item/type": { "type": "string", "options": [ { "value": "link", "title": "链接" }, { "value": "text", "title": "显示为默认颜色文本,不可点" } ], "description": "" }, "u-crumb-item/linkType": { "type": "string", "options": [ { "value": "destination", "title": "页面跳转" }, { "value": "download", "title": "下载链接" } ], "description": "" }, "u-crumb-item/hrefAndTo": { "type": "string", "description": "" }, "u-crumb-item/target": { "type": "string", "options": [ { "value": "_blank", "title": "新窗口" }, { "value": "_self", "title": "当前窗口" }, { "value": "_parent", "title": "父级窗口", "advanced": true }, { "value": "_top", "title": "顶级窗口", "advanced": true } ], "description": "链接打开后的展示方式,父级窗口和顶级窗口仅适用于iframe组件嵌套的情况,若不存在嵌套,则其打开方式同当前窗口。" }, "u-crumb-item/disabled": { "type": "boolean", "description": "置灰显示,且禁止任何交互(焦点、点击、选择、输入等)" }, "u-date-picker/picker": { "type": "string", "options": [ { "title": "日期", "value": "date" }, { "title": "周", "value": "week" }, { "title": "月份", "value": "month" }, { "title": "季度", "value": "quarter" }, { "title": "年份", "value": "year" } ], "description": "日期格式设置" }, "u-date-picker/range": { "type": "boolean", "description": "是否支持进行日期区间选择,关闭则为日期点选择" }, "u-date-picker/value": { "type": "string,number,Date", "description": "默认显示的日期值,格式如2018-08-08" }, "u-date-picker/startDate": { "type": "string,number,Date", "description": "默认显示的起始日期值,格式如2018-08-08" }, "u-date-picker/endDate": { "type": "string,number,Date", "description": "默认显示的结束日期值,格式如2018-08-08" }, "u-date-picker/minDate": { "type": "string,number,Date", "description": "最小可选的日期值,默认为10年前,日期填写格式为“yyyy-mm-dd”" }, "u-date-picker/maxDate": { "type": "string,number,Date", "description": "最大可选的日期值,默认为9年后,日期填写格式为“yyyy-mm-dd”" }, "u-date-picker/time": { "type": "string, number", "description": "输入对应格式的字符串(8:00:00)即可" }, "u-date-picker/yearDiff": { "type": "number", "description": "最小可选年份值与当前年份值的差值" }, "u-date-picker/yearAdd": { "type": "number", "description": "最大可选年份值与当前年份值的差值" }, "u-date-picker/advanced-format": { "type": "{ enable: boolean, value: string }", "description": "" }, "u-date-picker/show-formatter": { "type": "string", "options": [ { "value": "YYYY年M月D日", "title": "中国(2023年7月26日)", "dependency": [ { "picker": "date" } ] }, { "value": "YYYY-MM-DD", "title": "ISO(2023-07-26)", "dependency": [ { "picker": "date" } ] }, { "value": "M/D/YYYY", "title": "US(7/26/2023)", "dependency": [ { "picker": "date" } ] }, { "value": "D/M/YYYY", "title": "EU(26/7/2023)", "dependency": [ { "picker": "date" } ] }, { "value": "GGGG-W周", "title": "2023-28周", "dependency": [ { "picker": "week" } ] }, { "value": "GGGG年第W周", "title": "2023年第28周", "dependency": [ { "picker": "week" } ] }, { "value": "GGGG-WWWW", "title": "2023-W28", "dependency": [ { "picker": "week" } ] }, { "value": "YYYY年M月", "title": "中国(2023年7月)", "dependency": [ { "picker": "month" } ] }, { "value": "YYYY-MM", "title": "ISO(2023-07)", "dependency": [ { "picker": "month" } ] }, { "value": "M/YYYY", "title": "US/EU(7/2023)", "dependency": [ { "picker": "month" } ] }, { "value": "YYYY年第Q季度", "title": "2023年第3季度", "dependency": [ { "picker": "quarter" } ] }, { "value": "YYYY年QQ", "title": "2023年Q3", "dependency": [ { "picker": "quarter" } ] }, { "value": "YYYY-QQ", "title": "2023-Q3", "dependency": [ { "picker": "quarter" } ] }, { "value": "YYYY年", "title": "中国(2023年)", "dependency": [ { "picker": "year" } ] }, { "value": "YYYY", "title": "ISO(2023)", "dependency": [ { "picker": "year" } ] } ], "description": "" }, "u-date-picker/autofocus": { "type": "boolean", "description": "设置是否自动获取焦点" }, "u-date-picker/placeholder": { "type": "string", "description": "为空时显示的占位符文本" }, "u-date-picker/placeholderRight": { "type": "string", "description": "为空时显示的占位符文本(右侧)" }, "u-date-picker/alignment": { "type": "string", "options": [ { "value": "left", "title": "左对齐" }, { "value": "right", "title": "右对齐" } ], "description": "日历弹窗对齐方式" }, "u-date-picker/converter": { "type": "string", "options": [ { "title": "JSON", "value": "json"