@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
1,654 lines • 151 kB
JSON
{
"a-affix/offsetBottom": {
"type": "number",
"description": "距离窗口底部达到指定偏移量后触发, Default: "
},
"a-affix/offsetTop": {
"type": "number",
"description": "距离窗口顶部达到指定偏移量后触发, Default: "
},
"a-affix/target": {
"type": "() => HTMLElement",
"description": "设置 `Affix` 需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数, Default: () => window"
},
"a-alert/afterClose": {
"type": "() => void",
"description": "关闭动画结束后触发的回调函数, Default: -"
},
"a-alert/banner": {
"type": "boolean",
"description": "是否用作顶部公告, Default: false"
},
"a-alert/closable": {
"type": "boolean",
"description": "默认不显示关闭按钮, Default: 无"
},
"a-alert/closeText": {
"type": "string|slot",
"description": "自定义关闭按钮, Default: 无"
},
"a-alert/description": {
"type": "string|slot",
"description": "警告提示的辅助性文字介绍, Default: 无"
},
"a-alert/icon": {
"type": "vnode | slot",
"description": "自定义图标,`showIcon` 为 `true` 时有效, Default: -"
},
"a-alert/message": {
"type": "string|slot",
"description": "警告提示内容, Default: 无"
},
"a-alert/showIcon": {
"type": "boolean",
"description": "是否显示辅助图标, Default: false,`banner` 模式下默认值为 true"
},
"a-alert/type": {
"type": "string",
"description": "指定警告提示的样式,有四种选择 `success`、`info`、`warning`、`error`, Default: `info`,`banner` 模式下默认值为 `warning`"
},
"a-anchor/affix": {
"type": "boolean",
"description": "固定模式, Default: true"
},
"a-anchor/bounds": {
"type": "number",
"description": "锚点区域边界, Default: 5(px)"
},
"a-anchor/getContainer": {
"type": "() => HTMLElement",
"description": "指定滚动的容器, Default: () => window"
},
"a-anchor/offsetBottom": {
"type": "number",
"description": "距离窗口底部达到指定偏移量后触发, Default: "
},
"a-anchor/offsetTop": {
"type": "number",
"description": "距离窗口顶部达到指定偏移量后触发, Default: "
},
"a-anchor/showInkInFixed": {
"type": "boolean",
"description": "固定模式是否显示小圆点, Default: false"
},
"a-anchor/wrapperClass": {
"type": "string",
"description": "容器的类名, Default: -"
},
"a-anchor/wrapperStyle": {
"type": "object",
"description": "容器样式, Default: -"
},
"a-anchor/getCurrentAnchor": {
"type": "() => string",
"description": "自定义高亮的锚点, Default: -"
},
"a-anchor/targetOffset": {
"type": "number",
"description": "锚点滚动偏移量,默认与 offsetTop 相同,[例子](#components-anchor-demo-targetOffset), Default: `offsetTop`"
},
"a-avatar/icon": {
"type": "string | VNode ",
"description": "设置头像的图标类型,可设为 Icon 的 `type` 或 VNode, Default: slot"
},
"a-avatar/shape": {
"type": "Enum{ 'circle', 'square' }",
"description": "指定头像的形状, Default: `circle`"
},
"a-avatar/size": {
"type": "number | Enum{ 'large', 'small', 'default' }",
"description": "设置头像的大小, Default: `default`"
},
"a-avatar/src": {
"type": "string",
"description": "图片类头像的资源地址, Default: -"
},
"a-avatar/srcSet": {
"type": "string",
"description": "设置图片类头像响应式资源地址, Default: -"
},
"a-avatar/alt": {
"type": "string",
"description": "图像无法显示时的替代文本, Default: -"
},
"a-avatar/loadError": {
"type": "() => boolean",
"description": "图片加载失败的事件,返回 false 会关闭组件默认的 fallback 行为, Default: -"
},
"a-backtop/target": {
"type": "Function",
"description": "设置需要监听其滚动事件的元素,值为一个返回对应 DOM 元素的函数, Default: () => window"
},
"a-backtop/visibilityHeight": {
"type": "number",
"description": "滚动高度达到此参数值才出现 `BackTop`, Default: 400"
},
"a-autocomplete/allowClear": {
"type": "boolean",
"description": "支持清除, 单选模式有效, Default: false"
},
"a-autocomplete/autoFocus": {
"type": "boolean",
"description": "自动获取焦点, Default: false"
},
"a-autocomplete/backfill": {
"type": "boolean",
"description": "使用键盘选择选项的时候把选中项回填到输入框中, Default: false"
},
"a-autocomplete/slot=\"default\" (自定义输入框)": {
"type": "HTMLInputElement / HTMLTextAreaElement",
"description": "自定义输入框, Default: `<Input />`"
},
"a-autocomplete/options": {
"type": "slot | [DataSourceItemType](https://github.com/vueComponent/ant-design-vue/blob/724d53b907e577cf5880c1e6742d4c3f924f8f49/components/auto-complete/index.vue#L9)[]",
"description": "自动完成的数据源, Default: "
},
"a-autocomplete/dropdownMenuStyle": {
"type": "object",
"description": "dropdown 菜单自定义样式, Default: "
},
"a-autocomplete/defaultActiveFirstOption": {
"type": "boolean",
"description": "是否默认高亮第一个选项。, Default: true"
},
"a-autocomplete/defaultValue": {
"type": "string|string[]",
"description": "指定默认选中的条目, Default: 无"
},
"a-autocomplete/disabled": {
"type": "boolean",
"description": "是否禁用, Default: false"
},
"a-autocomplete/filterOption": {
"type": "boolean or function(inputValue, option)",
"description": "是否根据输入项进行筛选。当其为一个函数时,会接收 `inputValue` `option` 两个参数,当 `option` 符合筛选条件时,应返回 `true`,反之则返回 `false`。, Default: true"
},
"a-autocomplete/optionLabelProp": {
"type": "string",
"description": "回填到选择框的 Option 的属性值,默认是 Option 的子元素。比如在子元素需要高亮效果时,此值可以设为 `value`。, Default: `children`"
},
"a-autocomplete/placeholder": {
"type": "string | slot",
"description": "输入框提示, Default: -"
},
"a-autocomplete/value(v-model)": {
"type": "string|string[]",
"description": "指定当前选中的条目, Default: { key: string, label: string\\"
},
"a-autocomplete/defaultOpen": {
"type": "boolean",
"description": "是否默认展开下拉菜单, Default: -"
},
"a-autocomplete/open": {
"type": "boolean",
"description": "是否展开下拉菜单, Default: -"
},
"a-badge/color": {
"type": "string",
"description": "自定义小圆点的颜色, Default: -"
},
"a-badge/count": {
"type": "number | string ",
"description": "展示的数字,大于 overflowCount 时显示为 `${overflowCount}+`,为 0 时隐藏, Default: slot"
},
"a-badge/dot": {
"type": "boolean",
"description": "不展示数字,只有一个小红点, Default: false"
},
"a-badge/offset": {
"type": "[number|string, number",
"description": "设置状态点的位置偏移,格式为 [x, y], Default: string]"
},
"a-badge/overflowCount": {
"type": "number",
"description": "展示封顶的数字值, Default: 99"
},
"a-badge/showZero": {
"type": "boolean",
"description": "当数值为 0 时,是否展示 Badge, Default: false"
},
"a-badge/status": {
"type": "Enum{ 'success', 'processing, 'default', 'error', 'warning' }",
"description": "设置 Badge 为状态点, Default: ''"
},
"a-badge/text": {
"type": "string",
"description": "在设置了 `status` 的前提下有效,设置状态点的文本, Default: ''"
},
"a-badge/numberStyle": {
"type": "object",
"description": "设置状态点的样式, Default: ''"
},
"a-badge/title": {
"type": "string",
"description": "设置鼠标放在状态点上时显示的文字, Default: `count`"
},
"a-basic-arrow/expand": {
"type": "boolean",
"description": "向下方向, Default: "
},
"a-basic-arrow/top": {
"type": "boolean",
"description": "向上方向, Default: "
},
"a-basic-arrow/bottom": {
"type": "boolean",
"description": "向下方向, Default: "
},
"a-basic-arrow/inset": {
"type": "boolean",
"description": "向右, Default: "
},
"a-basic-arrow/helpMessage": {
"type": "string",
"description": "文字提示, Default: "
},
"a-basic-help/maxWidth": {
"type": "string",
"description": "最大宽度, Default: "
},
"a-basic-help/text": {
"type": "string | string[]",
"description": "提示文字, Default: "
},
"a-basic-help/showIndex": {
"type": "boolean",
"description": "当 `text 是 array` 是否显示, Default: "
},
"a-basic-help/color": {
"type": "string",
"description": "内容的文字颜色, Default: "
},
"a-basic-help/fontSize": {
"type": "string",
"description": "内容的文字大小, Default: "
},
"a-basic-help/placement": {
"type": "string",
"description": "参照 [tooltip](./tooltip-cn), Default: "
},
"a-basic-title/helpMessage": {
"type": "string",
"description": "感叹号的文字提示的文案,有就显示, Default: "
},
"a-basic-title/span": {
"type": "boolean",
"description": "显示左侧竖线, Default: "
},
"a-basic-title/title": {
"type": "string",
"description": "内容, Default: "
},
"a-breadcrumb/itemRender": {
"type": "({route, params, routes, paths, h}) => vNode",
"description": "自定义链接函数,和 vue-router 配置使用, 也可使用 slot=\"itemRender\" 和 slot-scope=\"props\", Default: "
},
"a-breadcrumb/params": {
"type": "object",
"description": "路由的参数, Default: "
},
"a-breadcrumb/routes": {
"type": "[routes[]](#routes)",
"description": "router 的路由栈信息, Default: "
},
"a-breadcrumb/separator": {
"type": "string|slot",
"description": "分隔符自定义, Default: "
},
"a-breadcrumb-item/href": {
"type": "string",
"description": "链接的目的地, Default: -"
},
"a-breadcrumb-item/overlay": {
"type": "[Menu](/components/menu) | () => Menu",
"description": "下拉菜单的内容, Default: -"
},
"a-button/disabled": {
"type": "boolean",
"description": "按钮失效状态, Default: `false`"
},
"a-button/ghost": {
"type": "boolean",
"description": "幽灵属性,使按钮背景透明, Default: false"
},
"a-button/htmlType": {
"type": "string",
"description": "设置 `button` 原生的 `type` 值,可选值请参考 [HTML 标准](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-type), Default: `button`"
},
"a-button/icon": {
"type": "v-slot",
"description": "设置按钮的图标类型, Default: -"
},
"a-button/loading": {
"type": "boolean | { delay: number }",
"description": "设置按钮载入状态, Default: `false`"
},
"a-button/shape": {
"type": "string",
"description": "设置按钮形状,可选值为 `circle`、 `round` 或者不设, Default: -"
},
"a-button/color": {
"type": "string",
"description": "当 type=link 的时候字体颜色设置,可选值为 `default` `danger`, Default: `default`"
},
"a-button/size": {
"type": "string",
"description": "设置按钮大小,可选值为 `small` `large` 或者不设, Default: `default`"
},
"a-button/type": {
"type": "string",
"description": "设置按钮类型,可选值为 `primary` `dashed` `danger` `link` 或者不设, Default: `default`"
},
"a-button/block": {
"type": "boolean",
"description": "将按钮宽度调整为其父宽度的选项, Default: `false`"
},
"a-calendar/dateCellRender": {
"type": "function(date: moment)",
"description": "作用域插槽,用来自定义渲染日期单元格,返回内容会被追加到单元格,, Default: 无"
},
"a-calendar/dateFullCellRender": {
"type": "function(date: moment)",
"description": "作用域插槽,自定义渲染日期单元格,返回内容覆盖单元格, Default: 无"
},
"a-calendar/defaultValue": {
"type": "[moment](http://momentjs.com/)",
"description": "默认展示的日期, Default: 默认日期"
},
"a-calendar/disabledDate": {
"type": "(currentDate: moment) => boolean",
"description": "不可选择的日期, Default: 无"
},
"a-calendar/fullscreen": {
"type": "boolean",
"description": "是否全屏显示, Default: true"
},
"a-calendar/locale": {
"type": "object",
"description": "国际化配置, Default: [默认配置](https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json)"
},
"a-calendar/mode": {
"type": "string",
"description": "初始模式,`month/year`, Default: month"
},
"a-calendar/monthCellRender": {
"type": "function(date: moment)",
"description": "作用域插槽,自定义渲染月单元格,返回内容会被追加到单元格, Default: 无"
},
"a-calendar/monthFullCellRender": {
"type": "function(date: moment)",
"description": "作用域插槽,自定义渲染月单元格,返回内容覆盖单元格, Default: 无"
},
"a-calendar/validRange": {
"type": "[[moment](http://momentjs.com/), [moment](http://momentjs.com/)]",
"description": "设置可以显示的日期, Default: 无"
},
"a-calendar/value(v-model)": {
"type": "[moment](http://momentjs.com/)",
"description": "展示日期, Default: 当前日期"
},
"a-calendar/headerRender": {
"type": "function(object:{value: moment, type: string, onChange: f(), onTypeChange: f()}) | slot-scope",
"description": "自定义头部内容, Default: -"
},
"a-calendar/valueFormat": {
"type": "string,[具体格式](https://momentjs.com/docs/#/displaying/format/)",
"description": "可选,绑定值的格式,对 value、defaultValue 起作用。不指定则绑定值为 moment 对象, Default: -"
},
"a-card/actions": {
"type": "slots",
"description": "卡片操作组,位置在卡片底部, Default: -"
},
"a-card/activeTabKey": {
"type": "string",
"description": "当前激活页签的 key, Default: -"
},
"a-card/headStyle": {
"type": "object",
"description": "自定义标题区域样式, Default: -"
},
"a-card/bodyStyle": {
"type": "object",
"description": "内容区域自定义样式, Default: -"
},
"a-card/bordered": {
"type": "boolean",
"description": "是否有边框, Default: true"
},
"a-card/cover": {
"type": "slot",
"description": "卡片封面, Default: -"
},
"a-card/defaultActiveTabKey": {
"type": "string",
"description": "初始化选中页签的 key,如果没有设置 activeTabKey, Default: 第一个页签"
},
"a-card/extra": {
"type": "string|slot",
"description": "卡片右上角的操作区域, Default: -"
},
"a-card/hoverable": {
"type": "boolean",
"description": "鼠标移过时可浮起, Default: false"
},
"a-card/loading": {
"type": "boolean",
"description": "当卡片内容还在加载中时,可以用 loading 展示一个占位, Default: false"
},
"a-card/tabList": {
"type": "Array<{key: string, tab: any, scopedSlots: {tab: 'XXX'}}>",
"description": "页签标题列表, 可以通过 scopedSlots 属性自定义 tab, Default: -"
},
"a-card/tabBarExtraContent": {
"type": "slot",
"description": "tab bar 上额外的元素, Default: 无"
},
"a-card/size": {
"type": "`default` | `small`",
"description": "card 的尺寸, Default: `default`"
},
"a-card/theme": {
"type": "`default` | `gray`",
"description": "card 的主题, Default: 3.15.0"
},
"a-card/title": {
"type": "string|slot",
"description": "卡片标题, Default: -"
},
"a-card/type": {
"type": "string",
"description": "卡片类型,可设置为 `inner` 或 不设置, Default: -"
},
"a-card/headPlacement": {
"type": "`top` | `bottom`",
"description": "头部的位置, Default: `top`"
},
"a-card-meta/avatar": {
"type": "slot",
"description": "头像/图标, Default: -"
},
"a-card-meta/description": {
"type": "string|slot",
"description": "描述内容, Default: -"
},
"a-card-meta/title": {
"type": "string|slot",
"description": "标题内容, Default: -"
},
"a-carousel/afterChange": {
"type": "function(current)",
"description": "切换面板的回调, Default: 无"
},
"a-carousel/autoplay": {
"type": "boolean",
"description": "是否自动切换, Default: false"
},
"a-carousel/beforeChange": {
"type": "function(from, to)",
"description": "切换面板的回调, Default: 无"
},
"a-carousel/dotPosition": {
"type": "string",
"description": "面板指示点位置,可选 `top` `bottom` `left` `right`, Default: bottom"
},
"a-carousel/dots": {
"type": "boolean",
"description": "是否显示面板指示点, Default: true"
},
"a-carousel/dotsClass": {
"type": "string",
"description": "面板指示点类名, Default: `slick-dots`"
},
"a-carousel/easing": {
"type": "string",
"description": "动画效果, Default: linear"
},
"a-carousel/effect": {
"type": "string",
"description": "动画效果函数,可取 scrollx, fade, Default: scrollx"
},
"a-carousel/imgList": {
"type": "string[]",
"description": "图片的列表, Default: -"
},
"a-carousel/preivewPageable": {
"type": "boolean",
"description": "是否显示下面预览小图, Default: -"
},
"a-carousel/preivewable": {
"type": "boolean",
"description": "是否放大主图预览, Default: true"
},
"a-cascader/allowClear": {
"type": "boolean",
"description": "是否支持清除, Default: true"
},
"a-cascader/autoFocus": {
"type": "boolean",
"description": "自动获取焦点, Default: false"
},
"a-cascader/changeOnSelect": {
"type": "boolean",
"description": "当此项为 true 时,点选每级菜单选项值都会发生变化,具体见上面的演示, Default: false"
},
"a-cascader/defaultValue": {
"type": "string[] | number[]",
"description": "默认的选中项, Default: \\[]"
},
"a-cascader/disabled": {
"type": "boolean",
"description": "禁用, Default: false"
},
"a-cascader/displayRender": {
"type": "`({labels, selectedOptions}) => vNode`",
"description": "选择后展示的渲染函数,可使用 slot=\"displayRender\" 和 slot-scope=\"{labels, selectedOptions}\", Default: `labels => labels.join(' / ')`"
},
"a-cascader/expandTrigger": {
"type": "string",
"description": "次级菜单的展开方式,可选 'click' 和 'hover', Default: 'click'"
},
"a-cascader/fieldNames": {
"type": "object",
"description": "自定义 options 中 label name children 的字段, Default: `{ label: 'label', value: 'value', children: 'children' }`"
},
"a-cascader/getPopupContainer": {
"type": "Function(triggerNode)",
"description": "菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。, Default: () => document.body"
},
"a-cascader/loadData": {
"type": "`(selectedOptions) => void`",
"description": "用于动态加载选项,无法与 `showSearch` 一起使用, Default: -"
},
"a-cascader/notFoundContent": {
"type": "string",
"description": "当下拉列表为空时显示的内容, Default: 'Not Found'"
},
"a-cascader/options": {
"type": "object",
"description": "可选项数据源, Default: -"
},
"a-cascader/placeholder": {
"type": "string",
"description": "输入框占位文本, Default: '请选择'"
},
"a-cascader/popupClassName": {
"type": "string",
"description": "自定义浮层类名, Default: -"
},
"a-cascader/popupStyle": {
"type": "object",
"description": "自定义浮层样式, Default: {}"
},
"a-cascader/popupPlacement": {
"type": "Enum",
"description": "浮层预设位置:`bottomLeft` `bottomRight` `topLeft` `topRight`, Default: `bottomLeft`"
},
"a-cascader/popupVisible": {
"type": "boolean",
"description": "控制浮层显隐, Default: -"
},
"a-cascader/showSearch": {
"type": "boolean",
"description": "在选择框中显示搜索框, Default: false"
},
"a-cascader/size": {
"type": "string",
"description": "输入框大小,可选 `large` `default` `small`, Default: `default`"
},
"a-cascader/suffixIcon": {
"type": "string | VNode ",
"description": "自定义的选择框后缀图标, Default: slot"
},
"a-cascader/value(v-model)": {
"type": "string[] | number[]",
"description": "指定选中项, Default: -"
},
"a-cascaderapi/api": {
"type": "`(...arg: any) => Promise<any>`",
"description": "接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-cascaderapi/apiParams": {
"type": "object",
"description": "接口附带的参数, Default: {}"
},
"a-cascaderapi/loopGetOptions": {
"type": "boolean",
"description": "是否循环请求 api ,获取下拉选项, Default: false"
},
"a-cascaderapi/value(v-model)": {
"type": "string|string[]",
"description": "指定当前选中的条目, Default: number\\"
},
"a-checkbox/autoFocus": {
"type": "boolean",
"description": "自动获取焦点, Default: false"
},
"a-checkbox/checked(v-model)": {
"type": "boolean",
"description": "指定当前是否选中, Default: false"
},
"a-checkbox/defaultChecked": {
"type": "boolean",
"description": "初始是否选中, Default: false"
},
"a-checkbox/disabled": {
"type": "boolean",
"description": "整组失效, Default: false"
},
"a-checkbox/indeterminate": {
"type": "boolean",
"description": "设置 indeterminate 状态,只负责样式控制, Default: false"
},
"a-checkbox/value(v-model)": {
"type": "string[]",
"description": "指定选中的选项, Default: \\[]"
},
"a-checkbox/name": {
"type": "string",
"description": "CheckboxGroup 下所有 `input[type=\"checkbox\"]` 的 `name` 属性, Default: -"
},
"a-checkbox/options": {
"type": "string[] | Array<{ label: string value: string disabled?: boolean, indeterminate?: boolean, onChange?: function }>",
"description": "指定可选项,可以通过 slot=\"label\" slot-scope=\"option\" 定制`label`, Default: \\[]"
},
"a-checkbox/value": {
"type": "string[]",
"description": "指定选中的选项, Default: \\[]"
},
"a-checkbox/blur()": {
"type": "",
"description": "移除焦点, Default: undefined"
},
"a-checkbox/focus()": {
"type": "",
"description": "获取焦点, Default: undefined"
},
"a-collapse/activeKey(v-model)": {
"type": "string[]|string",
"description": "当前激活 tab 面板的 key, Default: 默认无,accordion 模式下默认第一个元素"
},
"a-collapse/defaultActiveKey": {
"type": "string",
"description": "初始化选中面板的 key, Default: 无"
},
"a-collapse/bordered": {
"type": "boolean",
"description": "带边框风格的折叠面板, Default: `true`"
},
"a-collapse/accordion": {
"type": "boolean",
"description": "手风琴模式, Default: `false`"
},
"a-collapse/expandIcon": {
"type": "Function(props):VNode | slot=\"expandIcon\" slot-scope=\"props\"",
"description": "自定义切换图标, Default: #expandIcon=\"props\""
},
"a-collapse/expandIconPosition": {
"type": "`left`",
"description": "设置图标位置: `left`, `right`, Default: -"
},
"a-collapse/destroyInactivePanel": {
"type": "boolean",
"description": "销毁折叠隐藏的面板, Default: `false`"
},
"a-collapse-panel/disabled": {
"type": "boolean",
"description": "禁用后的面板展开与否将无法通过用户交互改变, Default: false"
},
"a-collapse-panel/forceRender": {
"type": "boolean",
"description": "被隐藏时是否渲染 DOM 结构, Default: false"
},
"a-collapse-panel/header": {
"type": "string|slot",
"description": "面板头内容, Default: 无"
},
"a-collapse-panel/key": {
"type": "string",
"description": "对应 activeKey, Default: 无"
},
"a-collapse-panel/showArrow": {
"type": "boolean",
"description": "是否展示当前面板上的箭头, Default: `true`"
},
"a-collapse-panel/extra": {
"type": "VNode | slot",
"description": "自定义渲染每个面板右上角的内容, Default: -"
},
"a-colorpicker/value(v-model)": {
"type": "string",
"description": "用于设置当前选中的值, Default: -"
},
"a-colorpicker/disabled": {
"type": "boolean",
"description": "禁选颜色选器, Default: false"
},
"a-colorpicker/size": {
"type": "`large` | `default` ",
"description": "大小,只对按钮样式生效, Default: `small`"
},
"a-colorpicker/alpha": {
"type": "boolean",
"description": "是否支持透明度选择, Default: false"
},
"a-colorpicker/hue": {
"type": "boolean",
"description": "是否显示色调滑块, Default: true"
},
"a-colorpicker/format": {
"type": "`hsl` | `hsv` ",
"description": "写入 v-model 的颜色的格式, Default: `hex` \\"
},
"a-colorpicker/predefine": {
"type": "array",
"description": "预定义颜色, Default: ['rgba(244, 67, 54, 1)','rgba(233, 30, 99, 0.95)','rgba(156, 39, 176, 0.9)','rgba(103, 58, 183, 0.85)','rgba(63, 81, 181, 0.8)','rgba(33, 150, 243, 0.75)','rgba(3, 169, 244, 0.7)','rgba(0, 188, 212, 0.7)','rgba(0, 150, 136, 0.75)','rgba(76, 175, 80, 0.8)','rgba(139, 195, 74, 0.85)','rgba(205, 220, 57, 0.9)','rgba(255, 235, 59, 0.95)','rgba(255, 193, 7, 1)']"
},
"a-colorpicker/config": {
"type": "object",
"description": "picker 的配置,具体参照 [@simonwep/pickr](https://www.npmjs.com/package/@simonwep/pickr), Default: -"
},
"a-colorpicker/locale": {
"type": "object",
"description": "picker 的多语言配置, Default: -"
},
"a-colorpicker/colorRounded": {
"type": "number",
"description": "颜色数值保留几位小数, Default: -"
},
"a-colorpicker/padding": {
"type": "number",
"description": "弹框间距, Default: 16"
},
"a-colorpicker/getPopupContainer": {
"type": "function",
"description": "指定渲染容器, Default: -"
},
"a-comment/actions": {
"type": "Array|slot",
"description": "在评论内容下面呈现的操作项列表, Default: -"
},
"a-comment/author": {
"type": "string|slot",
"description": "要显示为注释作者的元素, Default: -"
},
"a-comment/avatar": {
"type": "string|slot",
"description": "要显示为评论头像的元素 - 通常是 antd `Avatar` 或者 src, Default: -"
},
"a-comment/content": {
"type": "string|slot",
"description": "评论的主要内容, Default: -"
},
"a-comment/datetime": {
"type": "string|slot",
"description": "展示时间描述, Default: -"
},
"a-configprovider/autoInsertSpaceInButton": {
"type": "boolean",
"description": "设置为 `false` 时,移除按钮中 2 个汉字之间的空格, Default: true"
},
"a-configprovider/csp": {
"type": "{ nonce: string }",
"description": "设置 [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) 配置, Default: -"
},
"a-configprovider/renderEmpty": {
"type": "slot-scope | Function(componentName: string): VNode",
"description": "自定义组件空状态。参考 [空状态](./empty-cn), Default: -"
},
"a-configprovider/getPopupContainer": {
"type": "Function(triggerNode, dialogContext)",
"description": "弹出框(Select, Tooltip, Menu 等等)渲染父节点,默认渲染到 body 上。, Default: () => document.body"
},
"a-configprovider/locale": {
"type": "object",
"description": "语言包配置,语言包可到 [locale](http://unpkg.com/@fe6/water-pro/components/locale/) 目录下寻找, Default: -"
},
"a-configprovider/pageHeader": {
"type": "{ ghost: boolean }",
"description": "统一设置 pageHeader 的 ghost,参考 [pageHeader](<(/components/page-header)>), Default: 'true'"
},
"a-configprovider/transformCellText": {
"type": "Function({ text, column, record, index }) => any",
"description": "Table 数据渲染前可以再次改变,一般用户空数据的默认配置, Default: -"
},
"a-container-collapse/value(v-model)": {
"type": "boolean",
"description": "是否显示内容, Default: false"
},
"a-container-collapse/title": {
"type": "string",
"description": "标题, Default: -"
},
"a-container-collapse/text": {
"type": "string",
"description": "帮助提示。, Default: -"
},
"a-container-collapse/expanable": {
"type": "boolean",
"description": "是否可展开内容, Default: true"
},
"a-container-collapse/triggerWindowResize": {
"type": "boolean",
"description": "是否监听窗口改变, Default: -"
},
"a-container-collapse/loading": {
"type": "boolean",
"description": "是否加载中, Default: -"
},
"a-container-collapse/lazy": {
"type": "boolean",
"description": "是否延迟加载, Default: -"
},
"a-container-collapse/titleLevel": {
"type": "number",
"description": "标题字号, Default: 5"
},
"a-container-collapse/mode": {
"type": "设置展开展示类型,可选 `simple` , `default`",
"description": "类型, Default: default"
},
"a-datepicker/allowClear": {
"type": "boolean",
"description": "是否显示清除按钮, Default: true"
},
"a-datepicker/autoFocus": {
"type": "boolean",
"description": "自动获取焦点, Default: false"
},
"a-datepicker/dateRender": {
"type": "slot=\"dateRender\" slot-scope=\"current, today\"",
"description": "作用域插槽,自定义日期单元格的内容, Default: -"
},
"a-datepicker/disabled": {
"type": "boolean",
"description": "禁用, Default: false"
},
"a-datepicker/disabledDate": {
"type": "(currentDate: moment) => boolean",
"description": "不可选择的日期, Default: 无"
},
"a-datepicker/getCalendarContainer": {
"type": "function(trigger)",
"description": "定义浮层的容器,默认为 body 上新建 div, Default: 无"
},
"a-datepicker/locale": {
"type": "object",
"description": "国际化配置, Default: [默认配置](https://github.com/vueComponent/ant-design-vue/blob/master/components/date-picker/locale/example.json)"
},
"a-datepicker/mode": {
"type": "`time",
"description": "日期面板的状态([设置后无法选择年份/月份?](/docs/vue/faq#当我指定了-DatePicker/RangePicker-的-mode-属性后,点击后无法选择年份/月份?)), Default: date"
},
"a-datepicker/open": {
"type": "boolean",
"description": "控制弹层是否展开, Default: -"
},
"a-datepicker/placeholder": {
"type": "string|RangePicker[]",
"description": "输入框提示文字, Default: -"
},
"a-datepicker/popupStyle": {
"type": "object",
"description": "额外的弹出日历样式, Default: {}"
},
"a-datepicker/dropdownClassName": {
"type": "string",
"description": "额外的弹出日历 className, Default: -"
},
"a-datepicker/size": {
"type": "string",
"description": "输入框大小,`large` 高度为 40px,`small` 为 24px,默认是 32px, Default: 无"
},
"a-datepicker/suffixIcon": {
"type": "VNode | slot",
"description": "自定义的选择框后缀图标, Default: -"
},
"a-datepicker/inputReadOnly": {
"type": "boolean",
"description": "设置输入框为只读(避免在移动设备上打开虚拟键盘), Default: -"
},
"a-datepicker/align": {
"type": "Object",
"description": "该值将合并到 placement 的配置中,设置参考 [dom-align](https://github.com/yiminghe/dom-align), Default: 无"
},
"a-datepicker/valueFormat": {
"type": "string,[具体格式](https://momentjs.com/docs/#/displaying/format/)",
"description": "可选,绑定值的格式,对 value、defaultValue、defaultPickerValue 起作用。不指定则绑定值为 moment 对象, Default: -"
},
"a-datepicker/type": {
"type": "string",
"description": "选择类型,可选参数: 'multiple' 。 type=\"multiple\" 是多选不支持 showTime 属性, Default: -"
},
"a-datepicker/multipleMaxTagCount": {
"type": "number",
"description": "type=\"multiple\" 时候 最大展示的标签数, Default: 1"
},
"a-datepicker/multipleMaxTagTextLength": {
"type": "number",
"description": "type=\"multiple\" 时候 每个标签最大展示的文字长度, Default: 11"
},
"a-datepicker/multipleClosable": {
"type": "boolean",
"description": "type=\"multiple\" 时候 标签是否直接删除, Default: true"
},
"a-datepicker/disabledSelectYear": {
"type": "boolean",
"description": "禁止头部选择年, Default: false"
},
"a-descriptions/title": {
"type": "string | VNode ",
"description": "描述列表的标题,显示在最顶部, Default: v-slot:title"
},
"a-descriptions/bordered": {
"type": "boolean",
"description": "是否展示边框, Default: false"
},
"a-descriptions/column": {
"type": "number",
"description": "一行的 `DescriptionItems` 数量,可以写成像素值或支持响应式的对象写法 `{ xs: 8, sm: 16, md: 24}`, Default: 3"
},
"a-descriptions/size": {
"type": "`default",
"description": "设置列表的大小。可以设置为 `middle` 、`small`, 或不填(只有设置 `bordered={true}` 生效), Default: middle"
},
"a-descriptions/layout": {
"type": "`horizontal",
"description": "描述布局, Default: vertical`"
},
"a-descriptions/colon": {
"type": "boolean",
"description": "配置 `Descriptions.Item` 的 `colon` 的默认值, Default: true"
},
"a-descriptions/extra": {
"type": "string | VNode ",
"description": "描述列表的操作区域,显示在右上方, Default: #extra"
},
"a-classify/value(v-model)": {
"type": "string|string[]",
"description": "指定当前选中的条目, Default: number\\"
},
"a-classify/api": {
"type": "`(...arg: any) => Promise<any>`",
"description": "下拉接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/apiParams": {
"type": "object",
"description": "下拉接口附带的参数, Default: {}"
},
"a-classify/removeApi": {
"type": "`(...arg: any) => Promise<any>`",
"description": "删除接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/removeApiParams": {
"type": "object",
"description": "删除接口附带的参数, Default: {}"
},
"a-classify/removeTip": {
"type": "string",
"description": "删除接口提示, Default: -"
},
"a-classify/removeKey": {
"type": "string",
"description": "删除的默认唯一索引,用于loading, Default: id"
},
"a-classify/editApi": {
"type": "`(...arg: any) => Promise<any>`",
"description": "编辑接口请求,自动传递 id ,数据列表必须有个id,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/editApiParams": {
"type": "object",
"description": "编辑接口附带的参数, Default: {}"
},
"a-classify/createApi": {
"type": "`(...arg: any) => Promise<any>`",
"description": "创建接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/createApiParams": {
"type": "object",
"description": "创建接口附带的参数, Default: {}"
},
"a-classify/createFormConfig": {
"type": "[FormSchema](https://github.com/fe6/water-pro/blob/next/components/form-pro/src/types/form.ts#L126)",
"description": "添加弹框的表单配置, Default: {}"
},
"a-classify/createTitle": {
"type": "string",
"description": "添加的弹框标题, Default: 添加"
},
"a-classify/editTitle": {
"type": "string",
"description": "编辑的弹框标题, Default: 编辑"
},
"a-classify/drawerTitle": {
"type": "string",
"description": "添加的抽屉标题, Default: 管理"
},
"a-classify/drawerWidth": {
"type": "number",
"description": "添加的抽屉宽度, Default: 650"
},
"a-classify/drawerZIndex": {
"type": "number",
"description": "添加的抽屉层级高度, Default: 1000"
},
"a-classify/drawerCreateButtonText": {
"type": "string",
"description": "抽屉添加的文案, Default: 添加"
},
"a-classify/drawerTableApi": {
"type": "`(...arg: any) => Promise<any>`",
"description": "抽屉接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/drawerTableApiParams": {
"type": "object",
"description": "抽屉接口附带的参数, Default: {}"
},
"a-classify/drawerTableColumns": {
"type": "[BasicColumn](https://github.com/fe6/water-pro/blob/next/components/table-pro/src/types/table.ts#414)",
"description": "抽屉表格列的配置, Default: -"
},
"a-classify/drawerTableDraggable": {
"type": "boolean",
"description": "是否拖拽排序, Default: -"
},
"a-classify/drawerTableDragKey": {
"type": "string",
"description": "会返回所有排好序的 id 值的数组, Default: id"
},
"a-classify/drawerTableDragApi": {
"type": "`(...arg: any) => Promise<any>`",
"description": "拖拽排序接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-classify/subLabelKey": {
"type": "string",
"description": "子选项的描述字段,当设置才会显示, Default: -"
},
"a-classify/labelKey": {
"type": "string",
"description": "文字的字段, Default: label"
},
"a-classify/valueKey": {
"type": "string",
"description": "值的字段, Default: value"
},
"a-classify/selectOptions": {
"type": "array<{value, label, [subLabel]}>",
"description": "selectOptions 数据, Default: -"
},
"a-classify/showDropdownAdd": {
"type": "boolean",
"description": "是否显示下拉中的添加按钮, Default: true"
},
"a-classify/showDropdownManger": {
"type": "boolean",
"description": "是否显示下拉中的管理按钮, Default: true"
},
"a-classify/subClassify": {
"type": "boolean",
"description": "是否存在子分类,操作会有点不一样, Default: false"
},
"a-classify/isAllClassify": {
"type": "Fucntion",
"description": "是否是全部分类, Default: (params: any)=>false"
},
"a-classify/isOneClassify": {
"type": "Fucntion",
"description": "是否一级分类, Default: (params: any)=>params.parentId === 0"
},
"a-classify/drawerTableActionWidth": {
"type": "Number",
"description": "管理操作的宽度, Default: 200"
},
"a-classify/drawerTableDraggableBtn": {
"type": "boolean",
"description": "是否按钮排序, Default: -"
},
"a-classify/showOneFirstSortBtn": {
"type": "Fucntion",
"description": "是否二级第一行, Default: (arg: any, table: any)=>arg.index > 1"
},
"a-classify/showOneLastSortBtn": {
"type": "Fucntion",
"description": "是否二级最后行, Default: ({index, record}: any, table: any) => { const theParent = table.getDataSource().find(({id}: any) => id === record.parentId) return theParent && index < theParent.children.length - 1;}"
},
"a-divider/dashed": {
"type": "Boolean",
"description": "是否虚线, Default: false"
},
"a-divider/orientation": {
"type": "enum: `left` `right`",
"description": "分割线标题的位置, Default: `center`"
},
"a-divider/type": {
"type": "enum: `horizontal` `vertical`",
"description": "水平还是垂直类型, Default: `horizontal`"
},
"a-drawer/closable": {
"type": "boolean",
"description": "是否显示右上角的关闭按钮, Default: true"
},
"a-drawer/destroyOnClose": {
"type": "boolean",
"description": "关闭时销毁 Drawer 里的子元素, Default: false"
},
"a-drawer/getContainer": {
"type": "HTMLElement | `() => HTMLElement` ",
"description": "指定 Drawer 挂载的 HTML 节点, Default: Selectors"
},
"a-drawer/maskClosable": {
"type": "boolean",
"description": "点击蒙层是否允许关闭, Default: true"
},
"a-drawer/mask": {
"type": "Boolean",
"description": "是否展示遮罩, Default: true"
},
"a-drawer/maskStyle": {
"type": "object",
"description": "遮罩样式, Default: {}"
},
"a-drawer/title": {
"type": "string | slot",
"description": "标题, Default: -"
},
"a-drawer/visible(v-model)": {
"type": "boolean",
"description": "Drawer 是否可见, Default: -"
},
"a-drawer/wrapClassName": {
"type": "string",
"description": "对话框外层容器的类名, Default: -"
},
"a-drawer/wrapStyle": {
"type": "object",
"description": "可用于设置 Drawer 最外层容器的样式,和 `drawerStyle` 的区别是作用节点包括 `mask`, Default: -"
},
"a-drawer/drawerStyle": {
"type": "object",
"description": "用于设置 Drawer 弹出层的样式, Default: -"
},
"a-drawer/headerStyle": {
"type": "object",
"description": "用于设置 Drawer 头部的样式, Default: -"
},
"a-drawer/bodyStyle": {
"type": "object",
"description": "可用于设置 Drawer 内容部分的样式, Default: -"
},
"a-drawer/width": {
"type": "string | number",
"description": "宽度, Default: 256"
},
"a-drawer/height": {
"type": "string | number",
"description": "高度, 在 `placement` 为 `top` 或 `bottom` 时使用, Default: 256"
},
"a-drawer/zIndex": {
"type": "Number",
"description": "设置 Drawer 的 `z-index`, Default: 1000"
},
"a-drawer/placement": {
"type": "'top' | 'right' ",
"description": "抽屉的方向, Default: 'bottom' \\"
},
"a-drawer/handle": {
"type": "VNode | slot",
"description": "设置后抽屉直接挂载到 DOM 上,你可以通过该 handle 控制抽屉打开关闭, Default: -"
},
"a-drawer/afterVisibleChange": {
"type": "function(visible)",
"description": "切换抽屉时动画结束后的回调, Default: 无"
},
"a-drawer/keyboard": {
"type": "boolean",
"description": "是否支持键盘 esc 关闭, Default: true"
},
"a-dropdown/disabled": {
"type": "boolean",
"description": "菜单是否禁用, Default: -"
},
"a-dropdown/getPopupContainer": {
"type": "Function(triggerNode)",
"description": "菜单渲染父节点。默认渲染到 body 上,如果你遇到菜单滚动定位问题,试试修改为滚动的区域,并相对其定位。, Default: `() => document.body`"
},
"a-dropdown/overlay(v-slot)": {
"type": "[Menu](/components/menu-cn)",
"description": "菜单, Default: -"
},
"a-dropdown/overlayClassName": {
"type": "string",
"description": "下拉根元素的类名称, Default: -"
},
"a-dropdown/overlayStyle": {
"type": "object",
"description": "下拉根元素的样式, Default: -"
},
"a-dropdown/placement": {
"type": "String",
"description": "菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight`, Default: `bottomLeft`"
},
"a-dropdown/trigger": {
"type": "Array<`click`|`hover`",
"description": "触发下拉的行为, 移动端不支持 hover, Default: `contextmenu`>"
},
"a-dropdown/visible(v-model)": {
"type": "boolean",
"description": "菜单是否显示, Default: -"
},
"a-dropdown-button/disabled": {
"type": "boolean",
"description": "菜单是否禁用, Default: -"
},
"a-dropdown-button/icon": {
"type": "VNode | slot",
"description": "右侧的 icon, Default: -"
},
"a-dropdown-button/overlay(v-slot)": {
"type": "[Menu](/components/menu-cn/)",
"description": "菜单, Default: -"
},
"a-dropdown-button/placement": {
"type": "String",
"description": "菜单弹出位置:`bottomLeft` `bottomCenter` `bottomRight` `topLeft` `topCenter` `topRight`, Default: `bottomLeft`"
},
"a-dropdown-button/size": {
"type": "string",
"description": "按钮大小,和 [Button](/components/button-cn/) 一致, Default: 'default'"
},
"a-dropdown-button/trigger": {
"type": "Array<`click`|`hover`",
"description": "触发下拉的行为, Default: `contextmenu`>"
},
"a-dropdown-button/type": {
"type": "string",
"description": "按钮类型,和 [Button](/components/button-cn/) 一致, Default: 'default'"
},
"a-dropdown-button/visible(v-model)": {
"type": "boolean",
"description": "菜单是否显示, Default: -"
},
"a-dropdown-button/click": {
"type": "Function",
"description": "点击左侧按钮的回调,和 [Button](/components/button-cn/) 一致, Default: undefined"
},
"a-dropdown-button/visibleChange": {
"type": "function(visible)",
"description": "菜单显示状态改变时调用,参数为 visible, Default: undefined"
},
"a-empty/description": {
"type": "string | v-slot",
"description": "自定义描述内容, Default: -"
},
"a-empty/imageStyle": {
"type": "CSSProperties",
"description": "图片样式, Default: -"
},
"a-empty/image": {
"type": "string | v-slot",
"description": "设置显示图片,为 string 时表示自定义图片地址, Default: false"
},
"a-form/model": {
"type": "object",
"description": "表单数据对象, Default: "
},
"a-form/rules": {
"type": "object",
"description": "表单验证规则, Default: 无"
},
"a-form/hideRequiredMark": {
"type": "Boolean",
"description": "隐藏所有表单项的必选标记, Default: false"
},
"a-form/labelAlign": {
"type": "'left' | 'right'",
"description": "label 标签的文本对齐方式, Default: 'right'"
},
"a-form/layout": {
"type": "'horizontal'|'vertical'",
"description": "表单布局, Default: 'inline'"
},
"a-form/labelCol": {
"type": "[object](/components/grid-cn/#Col)",
"description": "label 标签布局,同 `<Col>` 组件,设置 `span` `offset` 值,如 `{span: 3, offset: 12}` 或 `sm: {span: 3, offset: 12}`, Default: "
},
"a-form/wrapperCol": {
"type": "[object](/components/grid-cn/#Col)",
"description": "需要为输入控件设置布局样式时,使用该属性,用法同 labelCol, Default: "
},
"a-form/colon": {
"type": "boolean",
"description": "配置 Form.Item 的 colon 的默认值 (只有在属性 layout 为 horizontal 时有效), Default: true"
},
"a-form/validateOnRuleChange": {
"type": "boolean",
"description": "是否在 rules 属性改变后立即触发一次验证, Default: true"
},
"a-form/scrollToFirstError": {
"type": "boolean",
"description": "提交失败自动滚动到第一个错误字段, Default: boolean | [options](https://github.com/stipsan/scroll-into-view-if-needed/#options)"
},
"a-form/name": {
"type": "string",
"description": "表单名称,会作为表单字段 `id` 前缀使用, Default: "
},
"a-form/validateTrigger": {
"type": "string",
"description": "统一设置字段校验规则, Default: string[]"
},
"a-form-item/name": {
"type": "string",
"description": "表单域 model 字段,在使用 validate、resetFields 方法的情况下,该属性是必填的, Default: "
},
"a-form-item/rules": {
"type": "object | array",
"description": "表单验证规则, Default: "
},
"a-form-item/autoLink": {
"type": "boolean",
"description": "是否自动关联表单域,对于大部分情况都可以使用自动关联,如果不满足自动关联的条件,可以手动关联,参见下方注意事项, Default: true"
},
"a-form-item/colon": {
"type": "boolean",
"description": "配合 label 属性使用,表示是否显示 label 后面的冒号, Default: true"
},
"a-form-item/extra": {
"type": "string|slot",
"description": "额外的提示信息,和 help 类似,当需要错误信息和提示文案同时出现时,可以使用这个。, Default: "
},
"a-form-item/hasFeedback": {
"type": "boolean",
"description": "配合 validateStatus 属性使用,展示校验状态图标,建议只配合 Input 组件使用, Default: false"
},
"a-form-item/help": {
"type": "string|slot",
"description": "提示信息,如不设置,则会根据校验规则自动生成, Default: "
},
"a-form-item/htmlFor": {
"type": "string",
"description": "设置子元素 label `htmlFor` 属性, Default: "
},
"a-form-item/label": {
"type": "string|slot",
"description": "label 标签的文本, Default: "
},
"a-form-item/labelCol": {
"type": "[object](/components/grid-cn/#Col)",
"description": "label 标签布局,同 `<Col>` 组件,设置 `span` `offset` 值,如 `{span: 3, offset: 12}` 或 `sm: {span: 3, offset: 12}`, Default: "
},
"a-form-item/labelAlign": {
"type": "'left' | 'right'",
"description": "标签文本对齐方式, Default: 'right'"
},
"a-form-item/required": {
"type": "boolean",
"description": "是否必填,如不设置,则会根据校验规则自动生成, Default: false"
},
"a-form-item/validateStatus": {
"type": "string",
"description": "校验状态,如不设置,则会根据校验规则自动生成,可选:'success' 'warning' 'error' 'validating', Default: "
},
"a-form-item/wrapperCol": {
"type": "[object](/components/grid-cn/#Col)",
"description": "需要为输入控件设置布局样式时,使用该属性,用法同 labelCol, Default: "
},
"a-form-item/validateFirst": {
"type": "boolean",
"description": "当某一规则校验不通过时,是否停止剩下的规则的校验。, Default: false"
},
"a-form-item/validateTrigger": {
"type": "string | string[]",
"description": "设置字段校验的时机, Default: change"
},
"a-image/alt": {
"type": "string",
"description": "图像描述, Default: "
},
"a-image/fallback": {
"type": "string",
"description": "加载失败容错地址, Default: "
},
"a-image/height": {
"type": "string | number",
"description": "图像高度, Default: "
},
"a-image/placeholder": {
"type": "boolean | slot",
"description": "加载占位, 为 `true` 时使用默认占位, Default: "
},
"a-image/preview": {
"type": "boolean | [previewType](https://2x.antdv.com/components/image-cn#previewType)",
"description": "预览参数,为 `false` 时禁用, Default: true"
},
"a-image/src": {
"type": "string",
"description": "图片地址, Default: "
},
"a-image/width": {
"type": "string | number",
"description": "图像宽度, Default: "
},
"a-image/bordered": {
"type": "boolean",
"description": "图像边框, Default: true"
},
"a-input/addonAfter": {
"type": "string|slot",
"description": "带标签的 input,设置后置标签, Default: "
},
"a-input/addonBefore": {
"type": "string|slot",
"description": "带标签的 input,设置前置标签, Default: "
},
"a-input/defaultValue": {
"type": "string",
"description": "输入框默认内容, Default: "
},
"a-input/disabled": {
"type": "boolean",
"description": "是否禁用状态,默认为 false, Default: false"
},
"a-input/id": {
"type": "string",
"description": "输入框的 id, Default: "
},
"a-input/maxLength": {
"type": "number",
"description": "最大长度, Default: "
},
"a-input/prefix": {
"type": "string|slot",
"description": "带有前缀图标的 input, Default: "
},
"a-input/size": {
"type": "string",
"description": "控件大小。注:标准表单内的输入框大小限制为 `large`。可选 `large` `default` `small`, Default: `default`"
},
"a-input/suffix": {
"type": "string|slot",
"description": "带有后缀图标的 input, Default: "
},
"a-input/type": {
"type": "string",
"description": "声明 input 类型,同原生 input 标签的 type 属性,见:[MDN](https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#属性)(请直接使用 `Input.TextArea` 代替 `type=\"textarea\"`)。, Default: `text`"
},
"a-input/value(v-model)": {
"type": "string",
"description": "输入框内容, Default: "
},
"a-input/allowClear": {
"type": "boolean",
"description": "可以点击清除图标删除内容, Default: "
},
"a-input/change": {
"type": "function(e)",
"description": "输入框内容变化时的回调, Default: "
},
"a-input/pressEnter": {
"type": "function(e)",
"description": "按下回车的回调, Default: undefined"
},
"a-input-text-area/autosize": {
"type": "false` 或对象:`{ minRows: 2, maxRows: 6 }`",
"description": "自适应内容高度,可设置为 `true, Default: boolean|object"
},
"a-input-text-area/defaultValue": {
"type": "string",
"description": "输入框默认内容, Default: "
},
"a-input-text-area/value(v-model)": {
"type": "string",
"description": "输入框内容, Default: "
},
"a-input-text-area/allowClear": {
"type": "boolean",
"description": "可以点击清除图标删除内容, Default: "
},
"a-input-text-area/pressEnter": {
"type": "function(e)",
"description": "按下回车的回调, Default: undefined"
},
"a-input-search/enterButton": {
"type": "boolean|slot",
"description": "是否有确认按钮,可设为按钮文字。该属性会与 addon 冲突。, Default: false"
},
"a-input-search/loading": {
"type": "boolean",
"description": "搜索 loading, Default: "
},
"a-input-search/search": {
"type": "function(value, event)",
"description": "点击搜索或按下回车键时的回调, Default: undefined"
},
"a-input-group/compact": {
"type": "boolean",
"description": "是否用紧凑模式, Default: false"
},
"a-input-group/size": {
"type": "string",
"description": "`Input.Group` 中所有的 `Input` 的大小,可选 `large` `default` `small`, Default: `default`"
},
"a-input-password/visibilityToggle": {
"type": "boolean",
"description": "是否显示切换按钮, Default: true"
},
"a-input-sms-code/api": {
"type": "`(...arg: any) => Promise<any>`",
"description": "接口请求,不支持 async 和 Promise ,只支持回调, Default: -"
},
"a-input-sms-code/buttonOptions": {
"type": "object",
"description": "[按钮配置](./button-cn), Default: -"
},
"a-input-sms-code/btnText": {
"type": "object",
"description": "发送验证码默认的文案, Default: 发送验证码"
},
"a-input-sms-code/before": {
"type": "Function",
"description": "发送之前的回调,用于图形验证码的接入, Default: () => {}"
},
"a-input-sms-code/ajaxParams": {
"type": "Function",
"description": "发送接口伴随的参数, Default: () => {}"
},
"a-input-search/on-enter": {
"type": "-",
"description": "回车的回调, Default: undefined"
},
"a-input-search/change": {
"type": "Event",
"description": "验证码输入改变的回调, Default: undefined"
},
"a-inputnumber/autoFocus": {
"type": "boolean",
"description": "自动获取焦点, Default: false"
},
"a-inputnumber/defaultValue": {
"type": "number",
"description": "初始值, Default: "
},
"a-inputnumber/disabled": {
"type": "boolean",
"description": "禁用, Default: false"
},
"a-inputnumber/formatter": {
"type": "function(value: number | string): string",
"description": "指定输入框展示值的格式, Default: -"
},
"a-inputnumber/max": {
"type": "number",
"description": "最大值, Default: Infinity"
},
"a-inputnumber/min": {
"type": "number",
"description": "最小值, Default: -Infinity"
},
"a-inputnumber/parser": {
"type": "function( string): number",
"description": "指定从 formatter 里转换回数字的方式,和 formatter 搭配使用, Default: -"
},
"a-inputnumber/precision": {
"type": "number",
"description": "数值精度, Default: -"
},
"a-inputnumber/decimalSeparator": {
"type": "string",
"description": "小数点, Default: -"
},
"a-inputnumber/size": {
"type": "string",
"description": "输入框大小, Default: 无"
},
"a-inputnumber/step": {
"type": "number|string",
"description": "每次改变步数,可以为小数, Default: 1"
},
"a-inputnumber/value(v-model)": {
"type": "number",
"description": "当前值, Default: "
},
"a-layout/class": {
"type": "string",
"description": "容器 class, Default: -"
},
"a-layout/style": {
"type": "object",
"description": "指定样式, Default: -"
},
"a-layout/hasSider": {
"type": "boolean",
"description": "表示子元素里有 Sider,一般不用指定。可用于服务端渲染时避免样式闪动, Default: -"
},
"a-layout-sider/breakpoint": {
"type": "Enum { 'xs', 'sm', 'md', 'lg', 'xl', 'xxl' }",
"description": "触发响应式布局的[断点](/components/grid#API), Default: -"
},
"a-layout-sider/class": {
"type": "string",
"description": "容器 class, Default: -"
},
"a-layout-sider/collapsed(v-model)": {
"type": "boolean",
"description": "当前收起状态, Default: -"
},
"a-layout-sider/collapsedWidth": {
"type": "number",
"description": "收缩宽度,设置为 0 会出现特殊 trigger, Default: 80"
},
"a-layout-sider/collapsible": {
"type": "boolean",
"description": "是否可收起, Default: false"
},
"a-layout-sider/defaultCollapsed": {
"type": "boolean",
"description": "是否默认收起, Default: false"
},
"a-layout-sider/reverseArrow": {
"type": "boolean",
"description": "翻转折叠提示箭头的方向,当 Sider 在右边时可以使用, Default: false"
},
"a-layout-sider/style": {
"type": "object|string",
"description": "指定样式, Default: -"
},
"a-layou